/* =========================
FUENTES Y RESET
========================= */

html, body {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
img, svg {
  max-width: 100%;
  height: auto;
}
body {
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  padding-top: var(--headerH);
}
::selection {
  background: rgba(201, 164, 106, 0.18);
}

/* =========================
LAYOUT TOKENS
========================= */
:root {
  --max:     1440px;
  --pad:     clamp(18px, 3.5vw, 48px);
  --headerH: 76px;
}

/* =========================
SAFE AREAS (iOS notch)
========================= */
@supports (padding-top: env(safe-area-inset-top)) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .nav {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  footer {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: clamp(52px, 8vw, 96px) 0;
}

/* =========================
TIPOGRAFÍA
========================= */
.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--menu-muted);
}
h1, h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
}
h1 {
  line-height: 1.1;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  text-align: center;
}
h1 .line1 {
  display: block;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
h1 .line2 {
  display: block;
  color: var(--gold-soft);
  font-size: 0.96em;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-style: italic;
  margin-top: 0.08em;
  white-space: nowrap;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.muted {
  color: var(--muted);
}

/* =========================
ACCESIBILIDAD
========================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================
INTERACCIÓN TÁCTIL
========================= */
button,
a.btn,
.cta,
.cta-mini {
  min-height: 44px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

/* =========================
RESPONSIVE
========================= */
@media (max-width: 480px) {
  :root {
    --pad: 16px;
  }

  .micro {
    font-size: 0.78rem;
  }

  .section {
    padding: clamp(40px, 6vw, 72px) 0;
  }
}
