/* ==========================================================================
   My Tour EC — app.css
   Capa de presentación sobre theme.json: header sticky, hero full-bleed,
   tarjetas, footer y microinteracciones. Vanilla, sin dependencias.
   ========================================================================== */

:root {
  --slate: #3A535F;
  --slate-ink: #2C3F49;
  --arena: #EADECB;
  --cream: #FBF8F2;
  --gold: #EFBB2F;
  --gold-deep: #E0A91C;
  --green-sage: #899F7D;
  --header-h: 134px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
[hidden] { display: none !important; }
/* Mata los gaps blancos entre bloques de nivel raíz (header / main / footer) */
.wp-site-blocks { padding-top: 0 !important; }
.wp-site-blocks > * { margin-block: 0 !important; }
main { display: block; }

/* --- Eyebrow / kicker ---------------------------------------------------- */
.eyebrow,
.is-style-eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--gold); }

/* Hairline rule */
.hairline { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 1.25rem 0; }
.hairline--center { margin-inline: auto; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: .5rem 0;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 240%;
  background: linear-gradient(180deg, rgba(20,30,36,.6) 0%, rgba(20,30,36,0) 100%);
  pointer-events: none; z-index: -1; transition: opacity .3s var(--ease);
}
.site-header.is-stuck::before { opacity: 0; }
.site-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: .75rem clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-header__logo { display: flex; align-items: center; line-height: 0; }
.site-header__logo img { height: 106px; width: auto; transition: height .3s var(--ease); }

.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; text-decoration: none; padding: .5rem 0; position: relative;
  transition: color .2s var(--ease);
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list > li:hover > a::after,
.nav-list > li:focus-within > a::after { transform: scaleX(1); }
.caret { font-size: .65em; opacity: .8; }

/* Puente invisible: no se pierde el hover al bajar al panel */
.has-sub::after { content: ""; position: absolute; left: -16px; right: -16px; top: 100%; height: 28px; }

/* Dropdown */
.subnav {
  list-style: none; margin: 0; padding: .55rem 0;
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px; background: var(--slate); border-top: 2px solid var(--gold);
  box-shadow: 0 18px 44px rgba(44,63,73,.30);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease) .15s, transform .25s var(--ease) .15s, visibility 0s linear .5s;
  z-index: 120;
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
}
.subnav li a {
  display: block; padding: .55rem 1.4rem; color: rgba(255,255,255,.85); text-decoration: none;
  font-family: "Montserrat", sans-serif; font-size: .8rem; letter-spacing: .04em;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.subnav li a:hover { background: rgba(239,187,47,.14); color: var(--gold); }

.site-header__cta {
  margin-left: .5rem;
  flex: none;
}

/* Header al hacer scroll: pizarra sólida */
.site-header.is-stuck {
  background: var(--slate);
  box-shadow: 0 6px 24px rgba(44,63,73,.14);
  padding: 0;
}
.site-header.is-stuck .site-header__logo img { height: 70px; }
/* Páginas sin hero oscuro: header pizarra desde el inicio */
.no-hero .site-header { background: var(--slate); }

/* Botón mobile */
.site-nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.site-nav__toggle span { display: block; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.site-nav__mobile {
  position: fixed; inset: 0;
  background: var(--slate);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 1rem; padding: 5rem 2rem 2rem;
  z-index: 99; overflow-y: auto;
}
.m-nav { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 420px; display: grid; gap: .1rem; }
.m-nav > li > a,
.m-sub-toggle {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff; text-decoration: none; cursor: pointer;
  font-family: "Montserrat", sans-serif; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  font-size: 1rem; padding: .85rem 0;
}
.m-sub-toggle span { font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.m-has-sub.open .m-sub-toggle span { transform: rotate(45deg); }
.m-sub { list-style: none; margin: 0; padding: 0 0 .4rem .6rem; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.m-has-sub.open .m-sub { max-height: 460px; }
.m-sub li a { display: block; padding: .55rem 0; color: rgba(255,255,255,.82); text-decoration: none; font-size: .92rem; letter-spacing: .03em; }
.site-nav__mobile > .btn { margin-top: 1.5rem; width: 100%; max-width: 420px; text-align: center; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  text-decoration: none;
  padding: .95rem 2.1rem;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--slate-ink); }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--gold); color: var(--slate-ink); border-color: var(--gold); }
.btn--ghost-dark { background: transparent; color: var(--slate-ink); border-color: var(--slate-ink); }
.btn--ghost-dark:hover { background: var(--slate-ink); color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--slate);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,40,47,.3) 0%, rgba(28,40,47,0) 36%, rgba(18,28,34,.6) 100%);
  z-index: 1;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; border: 0; pointer-events: none;
}
@media (max-width: 820px) { .hero__video { display: none; } }
.hero__inner {
  position: relative; z-index: 2;
  max-width: 1400px; width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem,4vw,3rem) clamp(3.5rem,8vw,7rem);
}
.hero__title {
  font-family: "Bon Vivant", serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: #fff;
  max-width: 16ch;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.hero__sub {
  font-size: clamp(1.05rem,1rem + .4vw,1.3rem);
  max-width: 46ch;
  color: rgba(255,255,255,.92);
  margin: 0 0 2rem;
  line-height: 1.6;
}

/* ==========================================================================
   SECTIONS / BANDS
   ========================================================================== */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.band--cream { background: var(--cream); }
.band--arena { background: var(--arena); }
.band--slate { background: var(--slate); color: #fff; }
.band--slate :is(h1,h2,h3) { color: #fff; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: clamp(1rem,4vw,3rem); }
.wrap--wide { max-width: 1400px; }
.measure { max-width: 60ch; }
.center { text-align: center; }
.section__head { margin-bottom: clamp(2rem,4vw,3.25rem); }
.section__title { font-size: clamp(2rem,1.5rem + 2.2vw,3rem); margin: 0; }

/* ==========================================================================
   CARDS
   ========================================================================== */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { display: flex; flex-direction: column; background: transparent; }
.card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
}
.card--wide .card__media { aspect-ratio: 3 / 2; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,63,73,0) 45%, rgba(44,63,73,.62) 100%);
}
.card__label {
  position: absolute; z-index: 2; left: 1.25rem; bottom: 1.1rem; right: 1.25rem;
  color: #fff;
}
.card__title { font-family: "Bon Vivant", serif; font-size: 1.5rem; margin: .25rem 0 0; color: #fff; }
.card__eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.card__body { padding: 1.1rem 0 0; }
.card__excerpt { color: #4f5b62; margin: .5rem 0 0; font-size: .95rem; }
.badge {
  position: absolute; z-index: 2; top: 1rem; right: 1rem;
  font-family: "Montserrat", sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .05em;
  color: #fff; border: 1px solid var(--gold); border-radius: 2px; padding: .3rem .55rem;
  background: rgba(44,63,73,.35); backdrop-filter: blur(2px);
}

/* ==========================================================================
   QUOTE / TESTIMONIAL
   ========================================================================== */
.quote { max-width: 52ch; margin-inline: auto; text-align: center; }
.quote__text { font-family: "Bon Vivant", serif; font-size: clamp(1.4rem,1.1rem + 1.2vw,2rem); line-height: 1.4; font-style: italic; color: var(--slate-ink); }
.band--slate .quote__text { color: #fff; }
.quote__author { font-family: "Montserrat", sans-serif; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-top: 1.25rem; }
.band--slate .quote__author { color: var(--gold); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7.5rem);
  text-align: center; color: #fff;
  background: var(--slate); background-size: cover; background-position: center;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(44,63,73,.6); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--slate); color: rgba(255,255,255,.82); font-size: .92rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: clamp(3rem,6vw,5rem) clamp(1rem,4vw,3rem) 2.5rem; max-width: 1400px; margin: 0 auto; }
.site-footer__logo img { height: 128px; width: auto; margin-bottom: 1.25rem; }
.site-footer h4 { font-family: "Montserrat", sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer__contact p { margin: .35rem 0; line-height: 1.55; }
.site-footer__legal {
  border-top: 1px solid rgba(239,187,47,.35);
  max-width: 1400px; margin: 0 auto;
  padding: 1.4rem clamp(1rem,4vw,3rem);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.6);
}
.site-footer__credit a { color: var(--gold); }

/* ==========================================================================
   PAGE / POST HERO (banda pizarra bajo el header fijo)
   ========================================================================== */
.page-hero,
.post-hero {
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.page-hero .wp-block-post-title,
.page-hero h1,
.post-hero .wp-block-post-title { margin: 0; }
.post-hero .wp-block-post-date { color: rgba(255,255,255,.7); font-family: "Montserrat", sans-serif; font-size: .85rem; margin-top: .75rem; }

/* Lead paragraph */
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.6; color: #3f4b52; }

/* Feature cards (texto, sin foto) */
.feature { padding-top: 1.5rem; border-top: 2px solid var(--gold); }
.feature__eyebrow { font-family: "Montserrat", sans-serif; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green-deep); margin: 0 0 .6rem; }
.feature__title { font-family: "Bon Vivant", serif; font-size: 1.6rem; margin: 0 0 .75rem; }
.feature p { color: #4f5b62; margin: 0 0 1.1rem; }

/* Link dorado con flecha */
.link-gold {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep);
  text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s var(--ease);
}
.link-gold:hover { border-color: var(--gold-deep); }

/* Four worlds */
.world {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: 1.5rem;
  background: var(--slate); background-size: cover; background-position: center;
  color: #fff; text-decoration: none;
  border-radius: 2px; position: relative; overflow: hidden;
  box-shadow: 0 12px 34px rgba(28,40,47,.22);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.world::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,40,47,.05) 30%, rgba(18,28,34,.74) 100%); transition: opacity .4s var(--ease); }
.world:hover { transform: translateY(-6px); box-shadow: 0 22px 52px rgba(28,40,47,.34); }
.world:hover::before { opacity: .88; }
.world > * { position: relative; z-index: 2; }
.world__name { font-family: "Bon Vivant", serif; font-size: 1.5rem; }
.world__note { font-family: "Montserrat", sans-serif; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: .35rem; }

/* Anchors bajo header fijo */
[id] { scroll-margin-top: 96px; }

/* Stats */
.stat { text-align: center; }
.stat__num { display: block; font-family: "Bon Vivant", serif; font-size: clamp(2.2rem,1.5rem + 2vw,3.2rem); color: var(--gold-deep); line-height: 1; }
.band--slate .stat__num { color: var(--gold); }
.stat__label { display: block; margin-top: .5rem; font-family: "Montserrat", sans-serif; font-size: .85rem; letter-spacing: .05em; color: #5a666d; }
.band--slate .stat__label { color: rgba(255,255,255,.82); }

/* FAQ accordion */
.faq details { border-bottom: 1px solid rgba(58,83,95,.18); padding: 1.15rem 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: "Bon Vivant", serif; font-size: 1.25rem; color: var(--slate-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-family: "Montserrat", sans-serif; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { margin: .9rem 0 0; color: #4f5b62; }

/* Info cards (contacto / datos) */
.info-card { padding: 1.6rem; background: #fff; border: 1px solid rgba(58,83,95,.12); border-radius: 2px; }
.info-card h3 { font-size: 1.25rem; margin: 0 0 .6rem; }
.info-card p { margin: .3rem 0; }

/* Formularios */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: "Montserrat", sans-serif; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #5a666d; }
.form-field input, .form-field textarea, .form-field select { font-family: "Montserrat", sans-serif; font-size: 1rem; padding: .85rem 1rem; border: 1px solid rgba(58,83,95,.25); border-radius: 2px; background: #fff; color: var(--slate-ink); width: 100%; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.map-embed { width: 100%; aspect-ratio: 16/7; border: 1px solid rgba(58,83,95,.2); border-radius: 2px; }

/* Alias para formularios/contacto generados */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: "Montserrat", sans-serif; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #5a666d; }
.field input, .field textarea, .field select { font-family: "Montserrat", sans-serif; font-size: 1rem; padding: .85rem 1rem; border: 1px solid rgba(58,83,95,.25); border-radius: 2px; background: #fff; color: var(--slate-ink); width: 100%; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-consent { font-size: .82rem; color: #6a757b; margin: .4rem 0 1.2rem; }
.info-list { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .55rem; }
.info-list li { display: flex; gap: .75rem; align-items: baseline; }
.info-list__label { font-family: "Montserrat", sans-serif; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a949a; min-width: 56px; }

/* Card con cuerpo claro (título oscuro) */
.card--light .card__title { color: var(--slate-ink); }
.card--light .card__media::after { display: none; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   REVEAL + REDUCED MOTION
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .site-nav, .site-header__cta { display: none; }
  .site-nav__toggle { display: flex; }
  .grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero { min-height: 88vh; }
}

/* ============================================================
   UPGRADE: buscador, X móvil, hero controls, galería expandible,
   animación de fotos (refs: Wilderness + Neotropic)
   ============================================================ */

/* --- Buscador en header --- */
.site-search-toggle {
  background: none; border: 0; color: #fff; cursor: pointer;
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  margin-left: .25rem; flex: none; transition: color .2s var(--ease);
}
.site-search-toggle:hover { color: var(--gold); }
.site-search-toggle svg { width: 20px; height: 20px; }
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(18,28,34,.97); display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.search-overlay form { display: flex; align-items: center; gap: .75rem; width: min(680px,92vw); border-bottom: 2px solid var(--gold); }
.search-overlay input { flex: 1; background: none; border: 0; color: #fff; font-family: "Bon Vivant", serif; font-size: clamp(1.6rem,4vw,2.6rem); padding: .5rem 0; outline: none; }
.search-overlay input::placeholder { color: rgba(255,255,255,.35); }
.search-overlay button[type="submit"] { background: none; border: 0; color: var(--gold); font-size: 1.8rem; cursor: pointer; }
.search-close {
  position: absolute; top: 1.75rem; right: 1.75rem; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); background: none; color: #fff; font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s;
}
.search-close:hover { border-color: var(--gold); color: var(--gold); }

/* --- X para cerrar menú móvil --- */
.site-nav__close {
  position: absolute; top: 1.25rem; right: 1.25rem; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); background: none; color: #fff; font-size: 1.4rem; cursor: pointer;
  align-items: center; justify-content: center; display: none; line-height: 1;
}
.site-nav__close:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 820px) { .site-nav__close { display: flex; } }

/* --- Hero controls estilo Wilderness (líneas + play/pause + coords) --- */
.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 1.75rem; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  padding: 0 clamp(1rem,4vw,3rem); pointer-events: none;
}
.hero__playline { display: flex; align-items: center; gap: 1.5rem; width: min(880px,82vw); }
.hero__line { flex: 1; height: 1px; background: rgba(255,255,255,.38); }
.hero__play {
  pointer-events: auto; flex: none; width: 62px; height: 62px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); background: rgba(28,40,47,.22); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: border-color .3s, background .3s;
}
.hero__play:hover { border-color: var(--gold); background: rgba(28,40,47,.5); }
.hero__play::before { content: ""; display: block; width: 6px; height: 16px; border-left: 4px solid var(--gold); border-right: 4px solid var(--gold); }
.hero__play.is-paused::before { width: 0; height: 0; border: 0; border-left: 14px solid var(--gold); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.hero__coords { font-family: "Montserrat", sans-serif; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7); }
@media (max-width: 600px) { .hero__play { width: 52px; height: 52px; } }

/* --- Galería expandible estilo Neotropic --- */
.expand-gallery { display: flex; gap: 4px; height: 520px; }
.ex-panel { position: relative; flex: 1; min-width: 0; overflow: hidden; text-decoration: none; transition: flex .6s var(--ease); }
.ex-panel__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); filter: saturate(.92) brightness(.74); transition: transform 1.3s var(--ease), filter .6s var(--ease); }
.ex-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,28,34,.08) 40%, rgba(18,28,34,.82) 100%); }
.ex-panel__label { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.6rem 1.25rem; color: #fff; text-align: center; }
.ex-panel__eyebrow { display: block; font-family: "Montserrat", sans-serif; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .45rem; }
.ex-panel__title { display: block; font-family: "Bon Vivant", serif; font-size: 1.55rem; line-height: 1.08; }
.ex-panel__cta { display: inline-block; margin-top: .85rem; font-family: "Montserrat", sans-serif; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.expand-gallery:hover .ex-panel { flex: .72; }
.expand-gallery .ex-panel:hover { flex: 2.6; }
.ex-panel:hover .ex-panel__bg { transform: scale(1); filter: saturate(1.05) brightness(1); }
.ex-panel:hover .ex-panel__cta { opacity: 1; transform: none; }
@media (max-width: 820px) {
  .expand-gallery { flex-direction: column; height: auto; }
  .ex-panel { height: 210px; }
  .expand-gallery:hover .ex-panel, .expand-gallery .ex-panel:hover { flex: 1; }
  .ex-panel__bg { transform: scale(1); filter: saturate(1) brightness(.82); }
  .ex-panel__cta { opacity: 1; transform: none; }
}

/* --- Animación de fotos al aparecer (wipe + zoom) --- */
.js .reveal-img { clip-path: inset(0 0 102% 0); opacity: 0; transition: clip-path 1.05s var(--ease), opacity 1.05s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); opacity: 1; }
