/* ============================================================
   VARIABLES GLOBALES & DESIGN TOKENS
   ============================================================ */
:root {
  --gold: #cfa968;
  --gold-glow: rgba(207, 169, 104, 0.35);
  --rose: #e3b3bd;
  --ink: #14102a;
  --ink2: #1f193f;
  --mist: #ece6f5;
  --dim: #b5aec4;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #14102a;
  }
}
:root[data-theme="dark"] {
  --ink: #14102a;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background: var(--ink);
  color: var(--mist);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.3rem, 5.4vw, 4.3rem);
}

p, blockquote, li {
  text-wrap: pretty;
}

p {
  max-width: 56ch;
  color: var(--dim);
}

section {
  position: relative;
  padding: clamp(4.8rem, 9vw, 8rem) clamp(1.25rem, 6vw, 5rem);
}

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

/* Efecto Reveal de texto */
.bw {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(.35em);
  transition: opacity 1.1s ease, filter 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--w) * 55ms);
}
.in .bw, .bw.in {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
.sp {
  display: inline;
}

/* Botones Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .82rem 1.75rem;
  border: 1px solid var(--gold);
  border-radius: 99px;
  font-size: .88rem;
  color: var(--mist);
  background: #cfa9681f;
  cursor: pointer;
  font-family: var(--sans);
  transition: background .35s, color .35s, border-color .35s, transform .2s ease;
  white-space: nowrap;
}
.btn:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: #ece6f545;
  background: #ffffff0d;
}
.btn-ghost:hover {
  background: #ece6f5;
  color: var(--ink);
  border-color: #ece6f5;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: .01ms !important;
    animation: none !important;
  }
  .bw {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
