:root {
  --terracotta: #b66a4e;
  --terracotta-dark: #8e4b36;
  --cream: #f8e4c6;
  --ink: #3d2922;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--terracotta);
  color: var(--cream);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 48px 24px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(125deg, rgba(108, 49, 33, .82), rgba(182, 106, 78, .70)), url("assets/palenque115-fachada.png") center/cover no-repeat;
  filter: saturate(.82);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, transparent 0 30%, rgba(51, 24, 17, .22) 100%);
}

.architecture {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(248, 228, 198, .35);
  pointer-events: none;
}

.content {
  width: min(760px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand { margin-bottom: 46px; }

.project-logo {
  width: clamp(250px, 45vw, 390px);
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: screen;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1 {
  font-size: clamp(2.35rem, 7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: .95;
  margin: 0;
}

.location {
  margin: 16px 0 5px;
  font-size: clamp(.88rem, 2vw, 1.15rem);
  letter-spacing: .48em;
  padding-left: .48em;
}

.descriptor {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.05rem;
  margin: 0;
}

.announcement { margin-bottom: 30px; }

.eyebrow {
  font-size: .76rem;
  letter-spacing: .22em;
  margin: 0 0 12px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 400;
  font-style: italic;
  margin: 0 0 12px;
}

.announcement > p:last-child {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0;
}

.whatsapp {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  border: 1px solid var(--cream);
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.whatsapp:hover, .whatsapp:focus-visible {
  transform: translateY(-2px);
  background: transparent;
  color: var(--cream);
  outline: none;
}

.commercializer {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 1;
}

.commercializer span {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.commercializer img {
  width: min(170px, 42vw);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .88;
}

footer {
  min-height: 68px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--cream);
  color: var(--ink);
  font-size: .78rem;
}

footer nav { display: flex; gap: 20px; }
footer a { color: inherit; text-decoration: none; }
footer a:hover, footer a:focus-visible { text-decoration: underline; }

.legal {
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  padding: 56px 24px;
}

.legal article { width: min(760px, 100%); margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.7rem); letter-spacing: .02em; line-height: 1.05; }
.legal h2 { font-family: inherit; font-style: normal; font-size: 1.25rem; margin-top: 32px; }
.legal p, .legal li { font-size: 1rem; line-height: 1.75; }
.legal .back { display: inline-block; margin-bottom: 34px; color: var(--terracotta-dark); }

@media (max-width: 640px) {
  .hero { padding: 36px 22px; }
  .brand { margin-bottom: 38px; }
  footer { flex-direction: column; text-align: center; }
  footer nav { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp { transition: none; }
}
