/* ============================================================
   ALTARA BRIDAL SUITE — Landing
   Paleta y tipografías oficiales: BRANDING/BRANDBOARD ALTARA.pdf
   ============================================================ */
/* Clasima solo cubre letras (sin í/Í — su glifo sale sin tilde — y sin dígitos,
   que son decorativos ilegibles); todo lo demás cae a Cormorant Garamond. */
@font-face {
  font-family: 'Clasima';
  src: url('../fonts/Clasima.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0041-005A, U+0061-007A, U+00C0-00CC, U+00CE-00EC, U+00EE-00FF;
}
@font-face {
  font-family: 'Exmouth';
  src: url('../fonts/Exmouth.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --bg:      #F4EFE4;  /* IVORY */
  --bg-2:    #EAE1D4;
  --blush:   #D8C8BC;  /* GREY */
  --gold:    #B19977;  /* GOLD */
  --gold-d:  #736357;  /* COFFEE */
  --velvet:  #B9A88C;  /* VELVET */
  --ink:     #3D352F;
  --muted:   #857767;
  --line:    rgba(61, 53, 47, .14);
  --serif:   'Clasima', 'Cormorant Garamond', Georgia, serif;
  --script:  'Exmouth', 'Snell Roundhand', cursive;
  --sans:    'Montserrat', system-ui, sans-serif;
  --maxw:    1180px;
  --ease:    cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-d);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.section-head { max-width: var(--maxw); margin: 0 auto 3.5rem; text-align: center; }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: .01em;
}
.section-sub { color: var(--muted); margin-top: 1.1rem; font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1.05em 2.2em;
  border-radius: 999px;
  transition: all .4s var(--ease);
  cursor: pointer;
}
.btn--solid { background: var(--gold); color: #fff; }
.btn--solid:hover { background: var(--gold-d); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-d); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem clamp(1.2rem, 4vw, 3.2rem);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
  mix-blend-mode: difference;
}
.nav.is-stuck {
  background: rgba(250, 246, 241, .92);
  backdrop-filter: blur(10px);
  mix-blend-mode: normal;
  padding-top: 1rem; padding-bottom: 1rem;
  box-shadow: 0 1px 0 var(--line);
}
.nav__brand {
  position: relative; display: block;
  width: clamp(98px, 10vw, 134px);
}
.nav__brand img {
  display: block; width: 100%; height: auto; object-fit: contain;
  transition: opacity .45s var(--ease);
}
.nav__brand .brand-gold { position: absolute; inset: 0; opacity: 0; }
.nav.is-stuck .brand-white { opacity: 0; }
.nav.is-stuck .brand-gold { opacity: 1; }
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; font-weight: 400; opacity: .92;
}
.nav.is-stuck .nav__links a { color: var(--ink); }
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  border: 1px solid currentColor; border-radius: 999px;
  padding: .65em 1.4em;
}
.nav.is-stuck .nav__cta { border-color: var(--gold); color: var(--gold-d) !important; }

/* ---------- Menú móvil (hamburguesa) ---------- */
.nav__burger {
  display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  width: 40px; height: 40px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.nav__burger span {
  display: block; width: 24px; height: 1.5px;
  background: #fff;
  transition: transform .35s var(--ease);
}
.nav.is-stuck .nav__burger span { background: var(--ink); }
body.menu-open .nav__burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
body.menu-open .nav__burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.nav__menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(61, 53, 47, .96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s .45s;
}
body.menu-open .nav__menu {
  opacity: 1; visibility: visible;
  transition: opacity .45s var(--ease);
}
.nav__menu a {
  font-family: var(--serif); font-size: 1.9rem;
  color: #fff; letter-spacing: .03em;
}
.nav__menu a:hover { color: var(--gold); }
.nav__menu a.nav__menu-cta {
  margin-top: 1.4rem;
  font-family: var(--sans); font-size: .8rem;
  letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold);
  border-radius: 999px; padding: .9em 2em;
}

@media (max-width: 760px) {
  .nav { justify-content: flex-start; }
  .nav__links { margin-left: auto; margin-right: 1.1rem; }
  .nav__links a:not(.nav__cta) { display: none; }
  .nav__burger { display: flex; }
}

/* ============================================================
   HERO — video scroll-scrubbing
   ============================================================ */
.hero { position: relative; height: 260vh; background: var(--ink); }
.hero__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh; width: 100%;
  overflow: hidden;
  display: grid; place-items: center;
}
.hero__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
  /* Invisible hasta confirmar que el navegador pintó un frame real;
     mientras tanto se ve la foto (.hero__poster) de respaldo. */
  opacity: 0; transition: opacity .5s ease;
}
.hero__video.is-live { opacity: 1; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(30,24,20,.45) 0%, rgba(30,24,20,.15) 35%, rgba(30,24,20,.5) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 0 1.5rem;
  will-change: transform, opacity;
}
.hero__content--2 { position: absolute; opacity: 0; }
.hero__emblem {
  display: block;
  width: clamp(52px, 6vw, 74px);
  height: auto;
  margin: 0 auto 1.4rem;
  opacity: .95;
  filter: drop-shadow(0 2px 12px rgba(30, 24, 20, .5));
}
.hero__kicker {
  font-size: .8rem; letter-spacing: .42em; text-transform: uppercase;
  font-weight: 400; margin-bottom: 1.1rem; opacity: .9;
}
.hero__title { line-height: 0; }
.hero__title img {
  display: block; width: clamp(300px, 44vw, 620px); height: auto;
  object-fit: contain; margin: 0 auto;
  filter: drop-shadow(0 3px 18px rgba(30, 24, 20, .35));
}
.hero__tagline {
  font-family: var(--script);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  margin-top: 1.4rem; opacity: .96;
}
.hero__line {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: 1.05; font-weight: 500;
}
.hero__line--it { font-family: var(--script); font-size: 1.12em; color: var(--blush); }
.hero__cue {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #fff;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  opacity: .85;
}
.hero__cue-line {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, rgba(255,255,255,.9), rgba(255,255,255,0));
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   INTRO
   ============================================================ */
.intro { padding: clamp(7rem, 16vw, 13rem) 1.5rem; text-align: center; background: var(--bg); }
.intro__inner { max-width: 760px; margin: 0 auto; }
.intro__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05;
  margin-bottom: 1.8rem;
}
.intro__title em { font-family: var(--script); font-style: normal; font-size: 1.14em; color: var(--gold-d); }
.intro__text { color: var(--muted); font-size: 1.12rem; max-width: 560px; margin: 0 auto; }

/* ============================================================
   POEM — Antes de todo, estás tú
   ============================================================ */
.poem {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: stretch; gap: 0;
  background: var(--bg-2);
}
.poem__media { min-height: 78vh; overflow: hidden; }
.poem__media img { transition: transform 1.4s var(--ease); }
.poem__text {
  padding: clamp(3rem, 8vw, 7rem);
  display: flex; flex-direction: column; justify-content: center; gap: 1.3rem;
}
.poem__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05;
  margin-bottom: .6rem;
}
.poem__text p { color: var(--muted); font-size: 1.08rem; max-width: 38ch; }
@media (max-width: 820px) {
  .poem { grid-template-columns: 1fr; }
  .poem__media { min-height: 60vh; }
}

/* ============================================================
   INCLUYE
   ============================================================ */
.includes { padding: clamp(6rem, 13vw, 11rem) clamp(1.2rem, 5vw, 4rem); }
.includes__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.feature {
  background: #fff; border: 1px solid var(--line);
  border-radius: 4px; padding: 2.4rem 2rem;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(61,53,47,.4); }
.feature__num {
  font-family: var(--serif); font-size: 1.2rem; font-style: italic;
  color: var(--gold); display: block; margin-bottom: 1.2rem;
}
.feature h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 1.55rem; margin-bottom: .6rem; }
.feature p { color: var(--muted); font-size: .98rem; }
.price {
  grid-column: span 1;
  background: var(--ink); color: #fff;
  border-radius: 4px; padding: 2.6rem 2rem;
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
}
.price__label { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--blush); }
.price__amount {
  font-family: var(--serif); font-size: clamp(3rem, 7vw, 4.2rem); font-weight: 500; line-height: 1;
}
.price__amount span { font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; margin-left: .5em; opacity: .7; }
.price__meta { list-style: none; margin: 1rem 0 1.8rem; color: rgba(255,255,255,.75); font-size: .92rem; }
.price__meta li { padding: .2rem 0; }
.price .btn--solid { text-align: center; }
@media (max-width: 900px) { .includes__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .includes__grid { grid-template-columns: 1fr; } }

/* ============================================================
   BARRA DE CAFÉ
   ============================================================ */
.bar { padding: clamp(6rem, 13vw, 11rem) clamp(1.2rem, 5vw, 4rem); background: var(--bg-2); }
.bar__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.bar__card { background: var(--bg-2); padding: 2.4rem 1.6rem; }
.bar__card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 1.45rem;
  margin-bottom: .9rem; color: var(--gold-d);
}
.bar__card p { color: var(--muted); font-size: .92rem; }
.bar__media { max-width: var(--maxw); margin: 0 auto 3.2rem; padding: 0 1.5rem; }
.bar__media img {
  width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover;
}
@media (max-width: 980px) { .bar__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bar__grid { grid-template-columns: 1fr; } }

/* ============================================================
   EXTRAS
   ============================================================ */
.extras { padding: clamp(6rem, 13vw, 11rem) clamp(1.2rem, 5vw, 4rem); }
.extras__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem;
}
.extra {
  border: 1px solid var(--line); border-radius: 4px;
  padding: 2.4rem; background: #fff;
  transition: border-color .4s var(--ease);
}
.extra:hover { border-color: var(--gold); }
.extra__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.extra__top h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 1.6rem; }
.extra__price {
  font-family: var(--serif); font-size: 1.5rem; font-style: italic;
  color: var(--gold-d); white-space: nowrap;
}
.extra p { color: var(--muted); font-size: .98rem; }
@media (max-width: 720px) { .extras__grid { grid-template-columns: 1fr; } }

/* ============================================================
   EL ESPACIO
   ============================================================ */
.space { padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4rem); }
.space__row {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.space__row--rev { direction: rtl; }
.space__row--rev > * { direction: ltr; }
.space__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.space__media img { transition: transform 1.6s var(--ease); }
.space__media:hover img { transform: scale(1.05); }
.space__gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  max-width: var(--maxw); margin: 4.5rem auto 0; padding: 0 1.5rem;
}
.space__gallery figure { overflow: hidden; }
.space__gallery img {
  width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.space__gallery figure:hover img { transform: scale(1.04); }
/* En vertical la galería se vuelve carrusel deslizable: una foto grande
   con asomo de la siguiente, en lugar de tres fotos apiladas. */
@media (max-width: 760px) {
  .space__gallery {
    display: flex; gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-top: 3rem;
    padding: 0 1.2rem;
  }
  .space__gallery::-webkit-scrollbar { display: none; }
  .space__gallery figure {
    flex: 0 0 76vw;
    scroll-snap-align: center;
    border-radius: 4px;
  }
}
.space__text p { color: var(--muted); font-size: 1.08rem; margin-top: 1.4rem; max-width: 46ch; }
@media (max-width: 820px) {
  .space__row, .space__row--rev { grid-template-columns: 1fr; direction: ltr; }
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
  padding: clamp(7rem, 15vw, 12rem) 1.5rem;
  background: var(--ink); color: #fff; text-align: center;
}
.contact .eyebrow { color: var(--gold); }
.contact__inner { max-width: 720px; margin: 0 auto; }
.contact__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.08;
}
.contact__text { color: rgba(255,255,255,.72); margin: 1.4rem auto 2.6rem; max-width: 480px; }
.contact__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.contact .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.contact .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.contact__addr {
  font-style: normal; color: rgba(255,255,255,.6);
  margin-top: 3rem; font-size: .95rem; letter-spacing: .04em; line-height: 1.9;
}

/* ---------- Footer ---------- */
.footer { background: #2C2620; color: #fff; text-align: center; padding: 4rem 1.5rem 3rem; }
.footer__brand img { display: inline-block; width: 148px; height: auto; object-fit: contain; }
.footer__tag { font-family: var(--script); font-size: 1.3rem; color: var(--blush); margin: .9rem 0 1.6rem; }
.footer__small { font-size: .76rem; letter-spacing: .08em; color: rgba(255,255,255,.45); }

/* ---------- Reveal animation base ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero { height: 100vh; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__cue-line { animation: none; }
  * { scroll-behavior: auto !important; }
}
