/* ============================================================================
   site.css — Hotel Sierra Clara · componentes FIRMA
   Corona + monograma HS + filete de oro + pluma/tagline "Momentos que perduran".
   ========================================================================== */

/* ---- Marca / logo original ----------------------------------------------- */
.brand{display:inline-flex;align-items:center;gap:.7rem}
.brand__logo{display:block;height:48px;width:auto;transition:height var(--dur)}
.nav.scrolled .brand__logo{height:40px}
.brand__logo--light{display:none}
.nav--over:not(.scrolled) .brand__logo--dark{display:none}
.nav--over:not(.scrolled) .brand__logo--light{display:block}
@media (max-width:520px){.brand__logo,.nav.scrolled .brand__logo{height:36px}}
.brand__tag{display:flex;flex-direction:column;justify-content:center;line-height:1.1;
  padding-left:.7rem;margin-left:.1rem;border-left:1px solid var(--line-strong)}
.brand__tag b{font-family:var(--font-body);font-size:.7rem;text-transform:uppercase;letter-spacing:.22em;font-weight:700;color:var(--text)}
.brand__tag>span{font-size:.58rem;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin-top:.22rem}
.nav--over:not(.scrolled) .brand__tag{border-color:rgba(255,255,255,.35)}
.nav--over:not(.scrolled) .brand__tag b{color:#fff}
.nav--over:not(.scrolled) .brand__tag>span{color:rgba(255,255,255,.78)}
@media (max-width:560px){.brand__tag{display:none}}
.brand__crown{width:30px;height:24px;color:var(--gold);flex:none}
.brand__crown svg{width:100%;height:100%}
.brand__text{display:flex;flex-direction:column;line-height:1}
.brand__name{font-family:var(--font-display);font-weight:700;font-size:1.5rem;letter-spacing:.06em;
  text-transform:uppercase;color:var(--text)}
.brand__stars{font-size:.62rem;letter-spacing:.18em;color:var(--gold-deep);margin-top:.2rem;display:flex;gap:.25rem;align-items:center}
.brand__stars svg{width:11px;height:11px;color:var(--gold)}
.brand__stars b{font-weight:600;color:var(--muted);letter-spacing:.2em;margin-left:.35rem;text-transform:uppercase}
.nav--over:not(.scrolled) .brand__stars b{color:rgba(255,255,255,.7)}
.brand--lg .brand__crown{width:54px;height:42px}
.brand--lg .brand__name{font-size:2.4rem}

/* ---- Hero ----------------------------------------------------------------- */
.hero{position:relative;min-height:100svh;display:flex;align-items:flex-end;overflow:hidden;color:#fff}
.hero__media{position:absolute;inset:0;z-index:0}
.hero__media img{width:100%;height:100%;object-fit:cover}
.hero__media::after{content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(8,15,28,.55) 0%,rgba(8,15,28,.12) 30%,rgba(8,15,28,.40) 62%,rgba(6,12,24,.93) 100%),
    linear-gradient(90deg,rgba(6,12,24,.66) 0%,rgba(6,12,24,.20) 42%,transparent 72%)}
.hero__inner{position:relative;z-index:2;padding-block:clamp(2.5rem,7vh,6rem) clamp(3rem,9vh,7rem)}
.hero__crown{display:block;width:44px;height:34px;color:var(--gold);margin-bottom:1rem}
.hero__crown svg{width:100%;height:100%}
.hero .eyebrow{margin-bottom:.7rem}
.hero .eyebrow::before{background:var(--gold)}
.hero h1{font-size:clamp(3.2rem,9.5vw,8rem);font-weight:600;letter-spacing:.01em;margin:0 0 .3rem;
  text-shadow:0 2px 40px rgba(0,0,0,.45)}
.hero .btn--ghost{border-color:rgba(255,255,255,.55);color:#fff}
.hero .btn--ghost:hover{border-color:var(--gold);color:var(--gold)}
@media (max-width:720px){
  .hero__crown{display:none}
  .hero .eyebrow{letter-spacing:.16em;font-size:.7rem}
  .hero h1{font-size:clamp(2.9rem,15vw,4.2rem)}
  .hero__tagline{font-size:1.3rem}
  .hero .lead{font-size:1.02rem}
  .hero__cta .btn{flex:1}
  .hero__meta{gap:.5rem 1.1rem;margin-top:1.6rem;font-size:.66rem}
}
.hero__tagline{font-family:var(--font-display);font-style:italic;font-weight:500;
  font-size:clamp(1.3rem,2.6vw,2rem);color:var(--gold);margin-bottom:1.4rem}
.hero .lead{color:rgba(255,255,255,.92);max-width:46ch;margin-bottom:2rem;font-size:var(--fs-600)}
.hero__cta{display:flex;gap:.9rem;flex-wrap:wrap}
.hero__meta{display:flex;gap:1.6rem;flex-wrap:wrap;margin-top:2.4rem;
  font-size:var(--fs-300);text-transform:uppercase;letter-spacing:.2em;color:rgba(255,255,255,.78)}
.hero__meta span{display:inline-flex;align-items:center;gap:.55rem}
.hero__meta svg{width:16px;height:16px;color:var(--gold)}
.scrollcue{position:absolute;left:50%;bottom:1.4rem;transform:translateX(-50%);z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:.5rem;color:rgba(255,255,255,.7);
  font-size:.66rem;letter-spacing:.3em;text-transform:uppercase}
.scrollcue i{width:1px;height:42px;background:linear-gradient(var(--gold),transparent);animation:cue 2.4s var(--ease) infinite}
@keyframes cue{0%{transform:scaleY(0);transform-origin:top}40%{transform:scaleY(1);transform-origin:top}
  60%{transform:scaleY(1);transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}
@media (prefers-reduced-motion:reduce){.scrollcue i{animation:none}}

/* ---- Cabecera de sección (eyebrow + título + filete oro) ------------------ */
.sec-head{max-width:62ch}
.sec-head.center{margin-inline:auto;text-align:center}
.sec-head h2{margin-top:.7rem}
.sec-head .lead{margin-top:1rem}
.sec-head.center .lead{margin-inline:auto}
.gold-rule{height:1px;width:0;background:linear-gradient(90deg,var(--gold),transparent);margin-top:1.3rem;
  transition:width 1.1s var(--ease)}
.center .gold-rule{margin-inline:auto;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.reveal.in .gold-rule,.sec-head.in .gold-rule{width:120px}

/* ---- Datos / amenities en banda ------------------------------------------ */
.amen-strip{display:flex;flex-wrap:wrap;gap:.7rem 2.2rem;justify-content:center;align-items:center}
.amen{display:inline-flex;align-items:center;gap:.6rem;font-size:var(--fs-400);color:var(--text)}
.amen svg{width:22px;height:22px;color:var(--gold-deep);flex:none;stroke-width:1.3}

/* ---- Feature split (foto + texto, alternado) ----------------------------- */
.feature{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,5rem);align-items:center}
.feature--rev .feature__media{order:2}
.feature__media{position:relative}
.feature__media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius)}
.feature__media .seal{position:absolute;right:-26px;bottom:-26px}
.feature__body .lead{margin-block:1rem 1.4rem}
@media (max-width:860px){.feature{grid-template-columns:1fr;gap:2rem}.feature--rev .feature__media{order:0}
  .feature__media .seal{right:12px;bottom:-22px}}

/* sello monograma (corona + HS) */
.seal{width:104px;height:104px;display:grid;place-items:center;background:var(--green);color:var(--gold);
  border-radius:50%;box-shadow:var(--shadow);border:1px solid rgba(194,161,77,.45);position:relative}
.seal::after{content:"";position:absolute;inset:7px;border:1px solid rgba(194,161,77,.35);border-radius:50%}
.seal__in{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--gold)}
.seal__in .crown{width:30px;height:23px}
.seal__in .crown svg{width:100%;height:100%}
.seal__in b{font-family:var(--font-display);font-weight:600;font-size:1.75rem;letter-spacing:.1em;line-height:1}
.seal--sm{width:70px;height:70px}.seal--sm::after{inset:5px}
.seal--sm .seal__in .crown{width:22px;height:17px}.seal--sm .seal__in b{font-size:1.25rem}

/* ---- Banda tagline con pluma --------------------------------------------- */
.tagband{background:var(--green);color:var(--surface);text-align:center;padding-block:clamp(3.5rem,8vw,6rem);position:relative;overflow:hidden}
.tagband::before{content:"";position:absolute;inset:0;background:
  radial-gradient(60% 120% at 50% 0%,rgba(194,161,77,.10),transparent 70%);pointer-events:none}
.tagband__quill{display:block;width:54px;height:54px;color:var(--gold);margin:0 auto 1.2rem}
.tagband__quill svg{width:100%;height:100%}
.tagband h2{font-style:italic;font-weight:500;font-size:clamp(2rem,5vw,3.6rem);color:#fff}
.tagband p{color:rgba(255,255,255,.72);max-width:48ch;margin:1.1rem auto 0}
.tagband .gold-line{width:90px;height:1px;background:var(--gold);margin:1.6rem auto 0}

/* ---- Habitaciones --------------------------------------------------------- */
.rooms{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-4)}
.rooms--2{grid-template-columns:repeat(2,1fr)}
@media (max-width:900px){.rooms{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.rooms,.rooms--2{grid-template-columns:1fr}}
.room{background:var(--surface);border:var(--border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;
  transition:transform var(--dur) var(--ease),box-shadow var(--dur),border-color var(--dur)}
.room:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--gold) 50%,var(--line))}
.room__media{position:relative;aspect-ratio:3/2;overflow:hidden}
.room__media img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.room:hover .room__media img{transform:scale(1.05)}
.room__tag{position:absolute;top:.9rem;left:.9rem;background:rgba(20,41,74,.86);color:var(--gold);
  font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;padding:.4rem .7rem;border-radius:2px;backdrop-filter:blur(4px)}
.room__body{padding:1.5rem 1.5rem 1.7rem;display:flex;flex-direction:column;gap:.7rem;flex:1}
.room__body h3{font-size:1.85rem}
.room__body p{color:var(--muted);font-size:var(--fs-400);flex:1}
.pills{display:flex;flex-wrap:wrap;gap:.45rem}
.pill{display:inline-flex;align-items:center;gap:.4rem;font-size:.74rem;color:var(--text);
  background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-pill);padding:.32rem .7rem}
.pill svg{width:14px;height:14px;color:var(--gold-deep)}
.room__foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:1rem;margin-top:.3rem}
.room__price{font-family:var(--font-display);font-size:1.2rem;color:var(--text)}
.room__price b{font-weight:600}
.linklike{display:inline-flex;align-items:center;gap:.4rem;color:var(--gold-deep);font-weight:600;font-size:var(--fs-400)}
.linklike svg{width:16px;height:16px;transition:transform var(--dur-fast)}
.linklike:hover svg{transform:translateX(4px)}

/* ---- Galería editorial + filtro + lightbox ------------------------------- */
.gal-filter{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;margin-bottom:var(--space-4)}
.gal-filter button{background:transparent;border:1px solid var(--line-strong);border-radius:var(--radius-pill);
  padding:.5rem 1.1rem;font-size:var(--fs-400);color:var(--muted);cursor:pointer;transition:all var(--dur-fast)}
.gal-filter button:hover{border-color:var(--gold-deep);color:var(--text)}
.gal-filter button.active{background:var(--green);border-color:var(--green);color:var(--surface)}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-3)}
@media (max-width:860px){.gallery{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.gallery{grid-template-columns:1fr}}
.gallery figure{margin:0;aspect-ratio:4/3;position:relative;overflow:hidden;border-radius:var(--radius);cursor:pointer}
.gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s var(--ease)}
.gallery figure::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%,rgba(9,16,28,.5));opacity:0;transition:opacity var(--dur)}
.gallery figcaption{position:absolute;left:1rem;bottom:.9rem;z-index:2;color:#fff;font-family:var(--font-display);
  font-size:1.2rem;opacity:0;transform:translateY(8px);transition:all var(--dur);text-shadow:0 1px 12px rgba(0,0,0,.5)}
.gallery figure:hover img{transform:scale(1.06)}
.gallery figure:hover::after,.gallery figure:hover figcaption{opacity:1;transform:none}
.gallery figure.hide{display:none}

.lightbox{position:fixed;inset:0;z-index:var(--z-modal);background:rgba(8,15,28,.94);display:none;
  align-items:center;justify-content:center;padding:clamp(1rem,4vw,3rem)}
.lightbox.open{display:flex}
.lightbox img{max-width:92vw;max-height:86vh;width:auto;border-radius:var(--radius);box-shadow:var(--shadow-lg)}
.lightbox__close,.lightbox__nav{position:absolute;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);
  color:#fff;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;cursor:pointer;transition:background var(--dur-fast)}
.lightbox__close:hover,.lightbox__nav:hover{background:rgba(194,161,77,.35)}
.lightbox__close{top:1.3rem;right:1.3rem}
.lightbox__close svg,.lightbox__nav svg{width:24px;height:24px}
.lightbox__nav{top:50%;transform:translateY(-50%)}
.lightbox__nav--prev{left:1.3rem}.lightbox__nav--next{right:1.3rem}
@media (max-width:600px){.lightbox__nav{top:auto;bottom:1.3rem;transform:none}.lightbox__nav--prev{left:30%}.lightbox__nav--next{right:30%}}

/* ---- Stats / cifras ------------------------------------------------------- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-3);text-align:center}
@media (max-width:700px){.stats{grid-template-columns:repeat(2,1fr);gap:var(--space-4)}}
.stat__num{font-family:var(--font-display);font-size:clamp(2.6rem,5vw,3.8rem);font-weight:600;line-height:1;color:var(--text)}
.section--green .stat__num{color:var(--gold)}
.stat__label{font-size:var(--fs-300);text-transform:uppercase;letter-spacing:.18em;color:var(--muted);margin-top:.6rem}
.section--green .stat__label{color:rgba(255,255,255,.7)}
.stat + .stat{position:relative}

/* ---- Celebraciones / lista de eventos ------------------------------------ */
.evgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-3)}
.evgrid--2{grid-template-columns:repeat(2,1fr)}
@media (max-width:840px){.evgrid{grid-template-columns:1fr}}
@media (max-width:680px){.evgrid--2{grid-template-columns:1fr}}
.ev{background:var(--surface);border:var(--border);border-radius:var(--radius);padding:2rem 1.7rem;position:relative;overflow:hidden}
.ev__ic{display:inline-block;width:42px;height:42px;color:var(--gold-deep);margin-bottom:1rem}
.ev__ic svg{width:100%;height:100%;stroke-width:1.2}
.ev h3{font-size:1.7rem;margin-bottom:.5rem}
.ev p{color:var(--muted);font-size:var(--fs-400)}
.ev::before{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,var(--gold),transparent);transform:scaleX(0);transform-origin:0;transition:transform var(--dur-slow) var(--ease)}
.ev.in::before,.reveal.in .ev::before{transform:scaleX(1)}

/* ---- Contacto / ubicación ------------------------------------------------ */
.contact{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2rem,5vw,4rem);align-items:stretch}
@media (max-width:840px){.contact{grid-template-columns:1fr}}
.contact__list{display:flex;flex-direction:column;gap:1.3rem;margin-top:1.6rem}
.contact__row{display:flex;gap:1rem;align-items:flex-start}
.contact__row svg{width:24px;height:24px;color:var(--gold-deep);flex:none;margin-top:2px;stroke-width:1.3}
.contact__row b{display:block;font-family:var(--font-display);font-size:1.25rem;font-weight:600}
.contact__row a,.contact__row span{color:var(--muted)}
.contact__row a:hover{color:var(--gold-deep)}
.map{border-radius:var(--radius);overflow:hidden;border:var(--border);min-height:340px;box-shadow:var(--shadow-sm)}
.map iframe{width:100%;height:100%;min-height:340px;border:0;display:block;filter:grayscale(.2) sepia(.06)}

/* ---- Page hero (subpáginas) ---------------------------------------------- */
.phero{position:relative;min-height:54svh;display:flex;align-items:flex-end;overflow:hidden;color:#fff;margin-top:0}
.phero__media{position:absolute;inset:0;z-index:0}
.phero__media img{width:100%;height:100%;object-fit:cover}
.phero__media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,16,28,.4),rgba(8,15,28,.82))}
.phero__inner{position:relative;z-index:2;padding-block:clamp(2.5rem,8vh,5rem)}
.phero h1{font-size:clamp(2.8rem,8vw,5.5rem);font-weight:600}
.phero .crumbs{font-size:var(--fs-300);text-transform:uppercase;letter-spacing:.22em;color:rgba(255,255,255,.78);margin-bottom:1rem;display:flex;gap:.6rem;align-items:center}
.phero .crumbs a:hover{color:var(--gold)}
.phero .crumbs svg{width:13px;height:13px;color:var(--gold)}
.phero .lead{color:rgba(255,255,255,.9);margin-top:.8rem;max-width:50ch}

/* ---- Mosaico instalaciones (bento asimétrico) ---------------------------- */
.bento{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:200px;gap:var(--space-3)}
.bento figure{position:relative;overflow:hidden;border-radius:var(--radius);margin:0}
.bento img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.bento figure:hover img{transform:scale(1.06)}
.bento figcaption{position:absolute;left:1.1rem;bottom:.9rem;color:#fff;font-family:var(--font-display);font-size:1.4rem;
  z-index:2;text-shadow:0 1px 14px rgba(0,0,0,.6)}
.bento figure::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,rgba(9,16,28,.6))}
.bento .b-tall{grid-row:span 2}.bento .b-wide{grid-column:span 2}.bento .b-big{grid-column:span 2;grid-row:span 2}
@media (max-width:820px){.bento{grid-template-columns:repeat(2,1fr);grid-auto-rows:160px}.bento .b-big{grid-column:span 2}}
@media (max-width:480px){.bento .b-wide,.bento .b-big{grid-column:span 2}}

/* ---- CTA final band ------------------------------------------------------- */
.cta-band{text-align:center;max-width:48rem;margin-inline:auto}
.cta-band .seal{margin:0 auto 1.5rem}

/* ---- WhatsApp móvil sticky (sobrio, con identidad — no FAB genérico) ------ */
.mobile-call{display:none}
@media (max-width:720px){
  .mobile-call{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:var(--z-nav);
    background:var(--green);border-top:1px solid rgba(194,161,77,.35)}
  .mobile-call a{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.95rem;
    color:#fff;font-weight:600;font-size:var(--fs-400)}
  .mobile-call a + a{border-left:1px solid rgba(255,255,255,.14)}
  .mobile-call svg{width:18px;height:18px;color:var(--gold)}
  body{padding-bottom:54px}
}

/* ---- Checklist (servicios incluidos) ------------------------------------- */
.checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:.9rem 1.6rem;list-style:none;padding:0}
@media (max-width:560px){.checklist{grid-template-columns:1fr}}
.checklist li{display:flex;gap:.7rem;align-items:center;font-size:var(--fs-400)}
.checklist svg{width:20px;height:20px;color:var(--gold-deep);flex:none}

/* ---- Formulario ----------------------------------------------------------- */
.form{display:grid;gap:1.1rem;background:var(--surface);border:var(--border);border-radius:var(--radius);padding:clamp(1.5rem,4vw,2.4rem)}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
@media (max-width:560px){.form .row{grid-template-columns:1fr}}
.field{display:flex;flex-direction:column;gap:.4rem}
.field label{font-size:var(--fs-300);text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-weight:600}
.field input,.field select,.field textarea{background:var(--bg);border:1px solid var(--line-strong);border-radius:var(--radius-sm);
  padding:.8rem .9rem;font-size:var(--fs-400);color:var(--text);transition:border-color var(--dur-fast)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--gold-deep)}
.field textarea{resize:vertical;min-height:120px}

/* ---- Cómo llegar (columnas) ---------------------------------------------- */
.dircols{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-3)}
@media (max-width:760px){.dircols{grid-template-columns:1fr}}
.dircol{border-left:2px solid var(--gold);padding-left:1.1rem}
.dircol b{font-family:var(--font-display);font-size:1.3rem;color:var(--green);display:block;margin-bottom:.3rem}

/* ---- util ---------------------------------------------------------------- */
.note{font-size:var(--fs-400);color:var(--muted)}
.divider{height:1px;background:var(--line);border:0;margin-block:var(--space-5)}
.text-green{color:var(--green)}
.subpage main{display:block}
