:root {
  --bg: #0b0b10;
  --bg-alt: #101018;
  --surface: #15151f;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f1ede4;
  --muted: #a9a6b3;
  --gold: #d9b872;
  --gold-soft: #f0dcaa;
  --rose: #c9879b;
  --radius: 18px;
  --display: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.01em; }
h1 em { color: var(--gold-soft); font-style: italic; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.lead { color: var(--muted); font-size: 1.125rem; max-width: 52ch; margin-top: 1.4rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #1a1408; }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--gold); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(11, 11, 16, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.nav__mark {
  width: 14px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: linear-gradient(160deg, rgba(240,220,170,.35), transparent 60%);
}
.nav__links { display: flex; gap: 1.8rem; font-size: .9rem; color: var(--muted); }
.nav__links a:hover { color: var(--gold-soft); }
.nav__right { display: flex; align-items: center; gap: .8rem; }

/* Selector de idioma */
.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.lang button {
  font: inherit;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .38rem .7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang button:hover { color: var(--text); }
.lang button.is-active { background: var(--gold); color: #1a1408; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 6vw, 6rem) clamp(3rem, 8vw, 6rem);
  min-height: calc(100svh - 70px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201,135,155,.16), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(217,184,114,.10), transparent 50%);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero__mirror { display: grid; place-items: center; }
.hero__banner { grid-column: 1 / -1; display: flex; justify-content: center; }
.hero__banner img {
  width: min(100%, 760px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(217,184,114,.16));
}

.mirror {
  position: relative;
  width: min(100%, 460px);
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)) drop-shadow(0 0 40px rgba(217,184,114,.22));
}
.mirror__logo { width: 100%; height: auto; display: block; }
.spark {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--gold-soft);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 3.2s ease-in-out infinite;
}
.s1 { top: 18%; left: -6%; animation-delay: .2s; }
.s2 { top: 55%; right: -8%; width: 12px; height: 12px; animation-delay: 1.2s; }
.s3 { bottom: 8%; left: 12%; animation-delay: 2s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sweep { 0% { left: -60%; } 55%,100% { left: 130%; } }
@keyframes twinkle { 0%,100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.2); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 6rem); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { max-width: 62ch; margin-bottom: 3rem; }
.section__sub { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(217,184,114,.5); }
.card__icon { color: var(--gold); font-size: 1.6rem; display: block; margin-bottom: 1.2rem; }
.card p { color: var(--muted); margin-top: .7rem; }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.step { padding-top: 1.2rem; border-top: 1px solid var(--gold); }
.step__n { font-family: var(--display); color: var(--gold); font-size: 1.1rem; display: block; margin-bottom: .6rem; }
.step p { color: var(--muted); margin-top: .5rem; font-size: .95rem; }

/* ---------- Gallery ---------- */
.filters { display: flex; gap: .6rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.chip {
  font: inherit; font-size: .85rem; font-weight: 600;
  padding: .55rem 1.2rem; border-radius: 999px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); cursor: pointer;
  transition: all .2s ease;
}
.chip:hover { color: var(--text); border-color: var(--gold); }
.chip.is-active { background: var(--gold); color: #1a1408; border-color: var(--gold); }

.gallery {
  columns: 3 260px;
  column-gap: 1rem;
}
.tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  color: inherit;
  font: inherit;
  text-align: left;
}
.tile img, .tile video { width: 100%; height: auto; transition: transform .5s ease; }
.tile:hover img, .tile:hover video { transform: scale(1.04); }
.tile__badge {
  position: absolute; top: .7rem; left: .7rem;
  background: rgba(0,0,0,.6); backdrop-filter: blur(6px);
  padding: .25rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
}
.tile__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  font-size: .9rem;
}
.tile--ph { aspect-ratio: 4 / 5; display: grid; place-items: center; cursor: default; color: var(--muted); text-align: center; padding: 1rem; }
.tile--ph:nth-child(2n) { aspect-ratio: 1 / 1; }
.tile--ph:nth-child(3n) { aspect-ratio: 3 / 4; }
.tile--ph { background: repeating-linear-gradient(135deg, #15151f, #15151f 14px, #181826 14px, #181826 28px); }
.tile--ph span { font-size: .85rem; max-width: 18ch; }

/* ---------- Packages ---------- */
.packages { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.packages__actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---------- Social ---------- */
.social { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.social__item {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}
.social__item:hover { transform: translateY(-3px); border-color: var(--gold); }
.social__name { font-family: var(--display); font-size: 1.5rem; }
.social__hint { color: var(--muted); font-size: .88rem; }

/* ---------- Footer / floating ---------- */
.footer {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 2rem clamp(1rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .88rem;
}
.footer a:hover { color: var(--gold-soft); }

.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: 94vw; max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(5,5,8,.92); backdrop-filter: blur(4px); }
.lightbox__body img, .lightbox__body video { max-width: 94vw; max-height: 88vh; border-radius: 12px; margin-inline: auto; }
.lightbox__close {
  position: absolute; top: -2.6rem; right: 0;
  background: none; border: 0; color: var(--text);
  font-size: 2.2rem; line-height: 1; cursor: pointer;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { display: grid; place-items: center; min-height: 100vh; text-align: center; }
.notfound__box { display: grid; gap: 1.4rem; justify-items: center; padding: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: left; min-height: auto; }
  .mirror { width: min(86%, 340px); }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .social { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards, .steps, .social { grid-template-columns: 1fr; }
  .gallery { columns: 2 140px; }
}
@media (max-width: 480px) {
  .nav__book { display: none; } /* en celular queda el botón flotante de WhatsApp */
  .nav__brand span:last-child { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
