/* ==========================================================================
   Autor de la plataforma: Dr. Mauricio Rodríguez Herrera · Director de Desarrollo Tecnológico
   Espontáneos Travel — World-class travel site
   Author: Dr. Mauricio Rodríguez Herrera
   Design system: light/dark tokens, fluid type, motion, responsive grid
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  color-scheme: light;
  /* Brand palette (from logo) */
  --forest-900: #272E19;   /* verde oscuro del logo */
  --forest-800: #2f3820;
  --forest-700: #3a4630;
  --forest-600: #4A5C3A;   /* verde oliva de marca */
  --olive-500:  #70882A;   /* verde claro del logo */
  --olive-400:  #86a33a;
  --sun-500:    #FF8F2F;   /* sol del logo */
  --sun-400:    #FFA552;
  --sun-300:    #FFB067;
  --sand-50:    #fbf7ef;
  --sand-100:   #f4ecdd;
  --sand-200:   #e9dcc3;

  /* Semantic — light theme (default) */
  --bg:          #F7F5EE;   /* crema */
  --bg-elev:     #ffffff;
  --bg-soft:     #EEF2EC;   /* crema verdoso de marca */
  --bg-contrast: #272E19;
  --text:        #23291a;
  --text-soft:   #4a5440;
  --text-muted:  #646e5a;
  --border:      #dde2d4;
  --border-soft: #e8ebe1;
  --brand:       #4A5C3A;
  --brand-ink:   #272E19;
  --accent:      #FF8F2F;   /* relleno de CTAs: texto #272E19 encima (AA) */
  --accent-strong: #E07A1F; /* hover y textos grandes */
  --accent-text: #A65308;   /* texto naranja pequeño sobre fondo claro (AA 4.5:1) */
  --on-accent:   #272E19;
  --accent-soft: #FFF0E0;
  --on-brand:    #ffffff;
  --card:        #ffffff;
  --shadow-sm: 0 1px 2px rgba(31,42,20,.06), 0 2px 6px rgba(31,42,20,.06);
  --shadow-md: 0 6px 18px rgba(31,42,20,.10), 0 2px 6px rgba(31,42,20,.06);
  --shadow-lg: 0 24px 60px rgba(31,42,20,.16), 0 8px 24px rgba(31,42,20,.10);
  --ring: 0 0 0 3px rgba(112,136,42,.4);
  --hero-overlay: linear-gradient(180deg, rgba(39,46,25,.35) 0%, rgba(39,46,25,.55) 55%, rgba(39,46,25,.85) 100%);

  /* Fluid spacing & radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;
  --maxw: 1200px;
  --gutter: clamp(1rem, 4vw, 2.25rem);
  --section-y: clamp(3.5rem, 9vw, 7rem);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:          #12160d;
  --bg-elev:     #1a2013;
  --bg-soft:     #1d2416;
  --bg-contrast: #0c0f08;
  --text:        #eef2e6;
  --text-soft:   #c5cdb7;
  --text-muted:  #9aa58c;
  --border:      #2e3824;
  --border-soft: #242c1b;
  --brand:       #A9C25A;
  --brand-ink:   #c4d97f;
  --accent:      #FF8F2F;
  --accent-strong: #FFA552;
  --accent-text: #FFB067;
  --on-accent:   #272E19;
  --accent-soft: #2b2012;
  --on-brand:    #12160d;
  --card:        #1a2013;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 28px 70px rgba(0,0,0,.6);
  --ring: 0 0 0 3px rgba(169,194,90,.45);
  --hero-overlay: linear-gradient(180deg, rgba(6,10,4,.35) 0%, rgba(6,10,4,.6) 55%, rgba(6,10,4,.9) 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg:          #12160d;
    --bg-elev:     #1a2013;
    --bg-soft:     #1d2416;
    --bg-contrast: #0c0f08;
    --text:        #eef2e6;
    --text-soft:   #c5cdb7;
    --text-muted:  #9aa58c;
    --border:      #2e3824;
    --border-soft: #242c1b;
    --brand:       #A9C25A;
    --brand-ink:   #c4d97f;
    --accent:      #FF8F2F;
    --accent-strong: #FFA552;
    --accent-text: #FFB067;
    --on-accent:   #272E19;
    --accent-soft: #2b2012;
    --on-brand:    #12160d;
    --card:        #1a2013;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 8px 24px rgba(0,0,0,.45);
    --shadow-lg: 0 28px 70px rgba(0,0,0,.6);
    --ring: 0 0 0 3px rgba(169,194,90,.45);
    --hero-overlay: linear-gradient(180deg, rgba(6,10,4,.35) 0%, rgba(6,10,4,.6) 55%, rgba(6,10,4,.9) 100%);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 86px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--sun-400); color: #20261b; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; color: var(--text); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin: .6rem 0 .75rem; }
.section-sub { color: var(--text-soft); font-size: 1.05rem; max-width: 60ch; }
.section-head.center .section-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s;
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px rgba(255,143,47,.28); }
:root[data-theme="dark"] .btn--primary { color: var(--on-accent); }
.btn--primary:hover { transform: translateY(-2px); background: var(--accent-strong); box-shadow: 0 16px 32px rgba(255,143,47,.4); }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border: 1.5px solid var(--border); color: var(--text); background: var(--bg-elev); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn--light:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn--wa { background: #25d366; color: #0a3d1e; box-shadow: 0 10px 24px rgba(37,211,102,.3); }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37,211,102,.42); }
.btn--sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.header.scrolled {
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-soft);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--text); letter-spacing: -.01em; }
.brand__tag { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-top: 3px; }
.header:not(.scrolled):not(.header--solid) .brand__name,
.header:not(.scrolled):not(.header--solid) .nav__link { color: #fff; }
.header:not(.scrolled):not(.header--solid) .icon-btn { color: #fff; border-color: rgba(255,255,255,.35); }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav__link {
  position: relative; padding: .55rem .85rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; color: var(--text-soft);
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--brand); }
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 0; height: 2px;
  background: var(--accent); border-radius: 2px; transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav__link:hover::after, .nav__link.active::after { width: 20px; }

.header__actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--r-pill); border: 1.5px solid var(--border);
  color: var(--text); background: color-mix(in srgb, var(--bg-elev) 60%, transparent);
  transition: transform .25s var(--ease), border-color .25s, color .25s, background .25s;
}
.icon-btn:hover { transform: translateY(-2px) scale(1.04); border-color: var(--brand); color: var(--brand); }
.icon-btn svg { width: 20px; height: 20px; }

/* Language dropdown */
.lang { position: relative; }
.lang__btn { gap: .4rem; width: auto; padding-inline: .8rem; font-weight: 600; font-size: .9rem; }
.lang__btn .flag { font-size: 1.05rem; line-height: 1; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: .4rem; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
  transform-origin: top right; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 50;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.lang__item {
  display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px;
  font-size: .92rem; font-weight: 600; color: var(--text); transition: background .18s, color .18s; width: 100%; text-align: left;
}
.lang__item:hover { background: var(--bg-soft); }
.lang__item.active { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.lang__item .flag { font-size: 1.15rem; }

/* Mobile menu */
.burger { display: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 101; background: var(--bg);
  transform: translateX(100%); transition: transform .4s var(--ease-out);
  display: flex; flex-direction: column; padding: 6rem var(--gutter) 2rem; gap: .25rem; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
/* Con el menú móvil abierto, los botones flotantes no tapan los idiomas ni las redes */
body:has(.mobile-menu.open) .espo-launch, body:has(.mobile-menu.open) .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.6rem; padding: .7rem 0; border-bottom: 1px solid var(--border-soft); color: var(--text); }
.mobile-menu a.btn--primary { color: var(--on-accent); }
.mobile-menu .btn { font-family: var(--font-sans); margin-top: 1.2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 78svh; display: grid; align-items: center; overflow: hidden; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease), transform 8s linear; background-size: cover; background-position: center; transform: scale(1.08); }
.hero__slide.active { opacity: 1; transform: scale(1); }
.hero__inner { padding-block: 6rem 3.5rem; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-pill); font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(8px); margin-bottom: 1.5rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun-400); box-shadow: 0 0 0 4px rgba(245,153,46,.3); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 4px rgba(245,153,46,.3);} 50%{ box-shadow: 0 0 0 9px rgba(245,153,46,0);} }
.hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); color: #fff; margin-bottom: 1.25rem; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero h1 .accent { color: var(--sun-300); font-style: italic; }
.hero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 60ch; color: rgba(255,255,255,.92); margin-bottom: 2rem; text-shadow: 0 1px 14px rgba(0,0,0,.4); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem,5vw,3rem); margin-top: 3.2rem; }
.hero__stat b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem,1.2rem+1.6vw,2.4rem); color: #fff; line-height: 1; }
.hero__stat span { font-size: .85rem; letter-spacing: .04em; color: rgba(255,255,255,.82); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: grid; place-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.85); z-index: 2; }
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; background: #fff; border-radius: 3px; transform: translateX(-50%); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0%{opacity:0; transform: translate(-50%,0);} 40%{opacity:1;} 80%{opacity:0; transform: translate(-50%,10px);} 100%{opacity:0;} }

/* ---------- Trust strip ---------- */
.trust { background: var(--brand); color: var(--on-brand); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.2rem, 4vw, 3rem); padding-block: 1.1rem; text-align: center; }
.trust__item { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.trust__item svg { width: 22px; height: 22px; flex: none; opacity: .95; }

/* ---------- Feature / About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__media .badge-card {
  position: absolute; bottom: -24px; left: -24px; background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: var(--r-md); padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .85rem; max-width: 250px;
}
.badge-card .ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.badge-card b { font-family: var(--font-display); font-size: 1.15rem; display: block; }
.badge-card span { font-size: .8rem; color: var(--text-muted); }
.about__values { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.value { display: flex; gap: 1rem; }
.value__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.value__icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.value p { color: var(--text-soft); font-size: .96rem; }

/* ---------- Tours / Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter {
  padding: .55rem 1.15rem; border-radius: var(--r-pill); border: 1.5px solid var(--border);
  font-weight: 600; font-size: .9rem; color: var(--text-soft); background: var(--bg-elev);
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.active { background: var(--brand); color: var(--on-brand); border-color: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.tours-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.tour-card {
  position: relative; background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  display: flex; flex-direction: column; cursor: pointer;
}
.tour-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.tour-card__media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--bg-soft); }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tour-card:hover .tour-card__media img { transform: scale(1.09); }
.tour-card__cat {
  position: absolute; top: 12px; left: 12px; padding: .35rem .75rem; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  background: color-mix(in srgb, var(--bg-elev) 85%, transparent); color: var(--brand); backdrop-filter: blur(6px);
}
.tour-card__fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.85); color: var(--accent); backdrop-filter: blur(4px); opacity: 0; transform: translateY(-6px); transition: all .3s var(--ease); }
.tour-card:hover .tour-card__fav { opacity: 1; transform: translateY(0); }
.tour-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.tour-card__meta { display: flex; gap: 1rem; font-size: .82rem; color: var(--text-muted); margin-bottom: .55rem; }
.tour-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.tour-card__meta svg { width: 15px; height: 15px; }
.tour-card h3 { font-size: 1.28rem; margin-bottom: .45rem; }
.tour-card__desc { color: var(--text-soft); font-size: .93rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--border-soft); }
.tour-card__price small { display: block; font-size: .72rem; color: var(--text-muted); }
.tour-card__price b { font-family: var(--font-display); font-size: 1.35rem; color: var(--text); }
.tour-card__price .cur { font-size: .85rem; color: var(--text-muted); font-weight: 500; }
.tour-card__more { display: inline-flex; align-items: center; gap: .35rem; color: var(--brand); font-weight: 600; font-size: .9rem; }
.tour-card__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.tour-card:hover .tour-card__more svg { transform: translateX(4px); }
.tours-empty { text-align: center; color: var(--text-muted); padding: 3rem 0; grid-column: 1/-1; }
.tour-card__count { position: absolute; bottom: 10px; right: 10px; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .55rem; border-radius: var(--r-pill); font-size: .74rem; font-weight: 600; background: color-mix(in srgb, var(--bg-contrast) 72%, transparent); color: #fff; backdrop-filter: blur(4px); }
.tour-card__count svg { width: 13px; height: 13px; }
.tour-card__price .quote { font-family: var(--font-sans); font-size: .92rem; font-weight: 600; color: var(--accent-text); display: inline-flex; align-items: center; gap: .35rem; }
.tour-card__price .quote::before { content: "✦"; color: var(--accent-text); }

/* Modal gallery strip */
.modal__gallery { display: flex; gap: .55rem; overflow-x: auto; padding-bottom: .6rem; margin-bottom: 1.4rem; scrollbar-width: thin; }
.modal__gallery::-webkit-scrollbar { height: 6px; } .modal__gallery::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.modal__thumb { flex: 0 0 auto; width: 120px; height: 88px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; transition: border-color .2s, transform .2s; cursor: zoom-in; padding: 0; background: var(--bg-soft); }
.modal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal__thumb:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Gallery ---------- */
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--r-md); overflow: hidden; position: relative; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; transition: transform .7s var(--ease), filter .4s; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,28,13,.55)); opacity: 0; transition: opacity .4s; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__cap { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 600; font-size: .92rem; opacity: 0; transform: translateY(8px); transition: all .4s; z-index: 2; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.gallery__item:hover .gallery__cap { opacity: 1; transform: translateY(0); }

/* ---------- Accessibility feature (Turismo sin barreras) ---------- */
.access { position: relative; overflow: hidden; background:
  radial-gradient(120% 120% at 100% 0%, rgba(245,153,46,.14), transparent 55%), var(--bg-soft); }
.access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,4rem); align-items: center; }
.access__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.access__list { display: grid; gap: .9rem; margin-top: 1.6rem; }
.access__list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-soft); }
.access__list svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }

/* ---------- Steps / How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 2.2rem 1.4rem 1.6rem; background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__num { counter-increment: step; position: absolute; top: -20px; left: 1.4rem; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; box-shadow: 0 8px 18px rgba(229,131,26,.35); }
.step__num::before { content: counter(step,decimal-leading-zero); }
.step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.step p { font-size: .92rem; color: var(--text-soft); }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; }
.testi-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi {
  flex: 0 0 min(430px, 85%); scroll-snap-align: center; background: var(--card);
  border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow-sm);
}
.testi__stars { color: var(--sun-500); display: flex; gap: 3px; margin-bottom: 1rem; }
.testi__stars svg { width: 18px; height: 18px; }
.testi__text { font-size: 1.05rem; color: var(--text); font-family: var(--font-display); font-style: italic; line-height: 1.5; margin-bottom: 1.4rem; }
.testi__who { display: flex; align-items: center; gap: .85rem; }
.testi__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); }
.testi__who b { display: block; font-size: .98rem; }
.testi__who span { font-size: .82rem; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2.5rem,7vw,4.5rem); text-align: center; background-size: cover; background-position: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(38,51,26,.92), rgba(63,90,43,.78)); z-index: 0; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem,1.3rem+2.4vw,2.9rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 55ch; margin: 0 auto 1.8rem; }
.cta-band .hero__cta { justify-content: center; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,6vw,4rem); }
.contact__info { display: grid; gap: 1.1rem; align-content: start; }
.contact__card { display: flex; gap: 1rem; padding: 1.2rem 1.3rem; background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s; }
.contact__card:hover { transform: translateY(-3px); border-color: var(--brand); }
.contact__card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.contact__card .ic svg { width: 22px; height: 22px; }
.contact__card b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .2rem; }
.contact__card a, .contact__card p { font-size: 1.02rem; color: var(--text); font-weight: 600; }
.form { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: clamp(1.5rem,4vw,2.4rem); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--bg); color: var(--text); font: inherit; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: var(--ring); outline: none; }
.form__note { font-size: .82rem; color: var(--text-muted); margin-top: .9rem; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-900); color: #d7e0c9; padding-block: clamp(3rem,7vw,4.5rem) 2rem; }
:root[data-theme="dark"] .footer { background: #0a0e06; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: #a9b79a; margin-top: 1rem; font-size: .95rem; max-width: 34ch; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: .6rem; }
.footer__links a { color: #b9c6a8; font-size: .95rem; transition: color .2s, padding .2s; min-height: 24px; display: inline-flex; align-items: center; }
.footer__links a:hover { color: var(--sun-300); padding-left: 4px; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .25s var(--ease); }
.footer__social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__rnt { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; padding: .5rem .9rem; background: rgba(255,255,255,.07); border-radius: var(--r-pill); font-size: .82rem; color: #cdd8bd; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: .85rem; color: #9aa98a; }
.footer__bottom a { color: #b9c6a8; }
.footer__bottom a:hover { color: var(--sun-300); }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .3s var(--ease); animation: wafloat 3s ease-in-out infinite; }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes wafloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }

/* Back to top */
.totop { position: fixed; right: 22px; bottom: 90px; z-index: 89; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); }
.totop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.totop svg { width: 20px; height: 20px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,11,5,.94); display: grid; place-items: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 85vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255,255,255,.26); }
.lightbox__prev { left: 24px; } .lightbox__next { right: 24px; }
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox svg { width: 22px; height: 22px; }
.lightbox__cap { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; background: rgba(0,0,0,.4); padding: .5rem 1.1rem; border-radius: var(--r-pill); font-size: .92rem; }

/* ---------- Tour modal ---------- */
.modal { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: clamp(1rem,4vw,2.5rem); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8,11,5,.72); backdrop-filter: blur(4px); }
.modal.open { opacity: 1; visibility: visible; }
.modal__panel { position: relative; background: var(--bg-elev); border-radius: var(--r-lg); max-width: 920px; width: 100%; max-height: 90vh; overflow: hidden; box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.98); transition: transform .4s var(--ease-out); display: grid; grid-template-rows: auto 1fr; }
.modal.open .modal__panel { transform: translateY(0) scale(1); }
.modal__hero { position: relative; height: 240px; background-size: cover; background-position: center; }
.modal__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.6)); }
.modal__hero h2 { position: absolute; left: clamp(1.3rem,4vw,2.2rem); bottom: 1.2rem; color: #fff; z-index: 2; font-size: clamp(1.5rem,1.1rem+1.6vw,2.2rem); max-width: 80%; }
.modal__cat { position: absolute; top: 18px; left: clamp(1.3rem,4vw,2.2rem); z-index: 2; padding: .35rem .8rem; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); color: #222; display: grid; place-items: center; transition: transform .25s; }
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 22px; height: 22px; }
.modal__body { padding: clamp(1.4rem,4vw,2.2rem); overflow-y: auto; }
.modal__meta { display: flex; flex-wrap: wrap; gap: 1.3rem; margin-bottom: 1.3rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--border-soft); }
.modal__meta .m { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--text-soft); }
.modal__meta svg { width: 18px; height: 18px; color: var(--brand); }
.modal__meta .price b { font-family: var(--font-display); font-size: 1.25rem; color: var(--text); }
.modal__desc { color: var(--text-soft); margin-bottom: 1.5rem; }
.modal__sec h4 { font-size: 1.05rem; margin-bottom: .7rem; }
.modal__incl { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-bottom: 1.6rem; }
.modal__incl li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: var(--text-soft); }
.modal__incl svg { width: 18px; height: 18px; color: #3e9d4e; flex: none; margin-top: 2px; }
.modal__actions { display: flex; flex-wrap: wrap; gap: .8rem; position: sticky; bottom: 0; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120%); z-index: 210; background: var(--forest-800); color: #fff; padding: .9rem 1.4rem; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); font-weight: 600; display: flex; align-items: center; gap: .6rem; transition: transform .45s var(--ease-out); }
.toast.show { transform: translate(-50%, 0); }
/* Oculto del todo: antes asomaba una franja abajo al centro (28px de margen > el 120% de su alto) */
.toast:not(.show) { transform: translate(-50%, calc(100% + 60px)); opacity: 0; visibility: hidden; pointer-events: none; }
.toast { transition: transform .45s var(--ease-out), opacity .3s, visibility 0s linear .45s; }
.toast.show { opacity: 1; visibility: visible; transition: transform .45s var(--ease-out), opacity .2s, visibility 0s; }
.toast svg { width: 20px; height: 20px; color: var(--sun-400); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about__grid, .access__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2,1fr); row-gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .nav, .header__actions .lang, .header__actions .btn { display: none; }
  .burger { display: inline-grid; }
  .header:not(.scrolled):not(.header--solid) .brand__name { color: #fff; }
  .hero__inner { padding-block: 7rem 6rem; }
  .form__row { grid-template-columns: 1fr; }
  .modal__incl { grid-template-columns: 1fr; }
  .gallery { columns: 2 150px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero__stats { gap: 1.5rem; }
  .brand__tag { display: none; }
}

/* ---------- Espo chat assistant ---------- */
.espo-launch {
  position: fixed; right: 20px; bottom: 86px; z-index: 999;
  display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .55rem;
  background: var(--brand); color: var(--on-brand); border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), background .3s;
}
.espo-launch:hover { transform: translateY(-3px) scale(1.02); }
.espo-launch__ava { width: 38px; height: 38px; border-radius: 50%; background: var(--sun-500); color: #3a2402; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; flex: none; position: relative; }
.espo-launch__ava::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #25d366; border: 2px solid var(--brand); }
.espo-launch__txt { font-weight: 600; font-size: .9rem; padding-right: .5rem; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .4s var(--ease), opacity .3s, padding .3s; }
.espo-launch:hover .espo-launch__txt { max-width: 160px; opacity: 1; }
.espo-launch.hide { transform: scale(0); opacity: 0; pointer-events: none; }
@media (max-width: 480px) { .espo-launch:hover .espo-launch__txt { max-width: 0; opacity: 0; padding: 0; } }

.espo-badge { position: absolute; top: -4px; left: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; display: grid; place-items: center; box-shadow: var(--shadow-sm); animation: pulse 2.4s infinite; }

.espo-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 1000;
  width: min(340px, calc(100vw - 32px)); height: min(500px, calc(100vh - 120px));
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(24px) scale(.96); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .35s var(--ease-out), visibility .3s;
}
.espo-panel.open { opacity: 1; visibility: visible; transform: none; }
.espo-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: linear-gradient(135deg, var(--forest-700), var(--forest-600)); color: #fff; flex: none; }
:root[data-theme="dark"] .espo-head { background: linear-gradient(135deg, #1a2213, #26331a); }
.espo-head__ava { width: 42px; height: 42px; border-radius: 50%; background: var(--sun-500); color: #3a2402; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; flex: none; }
.espo-head__t { flex: 1; line-height: 1.2; }
.espo-head__t b { font-size: .98rem; display: block; }
.espo-head__t span { font-size: .76rem; opacity: .85; display: inline-flex; align-items: center; gap: .35rem; }
.espo-head__t span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.espo-head__close { color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.espo-head__close:hover { background: rgba(255,255,255,.18); }
.espo-head__close svg { width: 20px; height: 20px; }

.espo-body { flex: 1; overflow-y: auto; padding: 1rem; background: var(--bg-soft); display: flex; flex-direction: column; gap: .6rem; scroll-behavior: smooth; }
.espo-body::-webkit-scrollbar { width: 6px; } .espo-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.espo-msg { max-width: 85%; padding: .7rem .9rem; border-radius: 16px; font-size: .92rem; line-height: 1.5; animation: espoIn .35s var(--ease-out) both; white-space: pre-line; }
.espo-msg.bot { align-self: flex-start; background: var(--card); color: var(--text); border: 1px solid var(--border-soft); border-bottom-left-radius: 5px; box-shadow: var(--shadow-sm); }
.espo-msg.user { align-self: flex-end; background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 5px; }
.espo-msg b { font-weight: 600; }
.espo-msg .ln { display: block; }
@keyframes espoIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.espo-typing { align-self: flex-start; background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; border-bottom-left-radius: 5px; padding: .8rem 1rem; display: inline-flex; gap: 4px; }
.espo-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: espoDot 1.2s infinite; }
.espo-typing span:nth-child(2){ animation-delay:.2s; } .espo-typing span:nth-child(3){ animation-delay:.4s; }
@keyframes espoDot { 0%,60%,100%{ transform: translateY(0); opacity:.4; } 30%{ transform: translateY(-5px); opacity:1; } }

.espo-quick { flex: none; padding: .7rem; border-top: 1px solid var(--border-soft); background: var(--bg-elev); display: flex; flex-wrap: wrap; gap: .4rem; max-height: 40%; overflow-y: auto; }
.espo-chip {
  padding: .5rem .85rem; border-radius: var(--r-pill); border: 1.5px solid var(--border);
  background: var(--bg); color: var(--text); font-size: .85rem; font-weight: 600;
  transition: all .2s var(--ease); display: inline-flex; align-items: center; gap: .4rem;
}
.espo-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.espo-chip--wa { background: #25d366; color: #0a3d1e; border-color: #25d366; }
.espo-chip--wa:hover { color: #0a3d1e; filter: brightness(1.05); }
.espo-chip--wa svg { width: 15px; height: 15px; }
.espo-chip--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.espo-chip--primary:hover { color: #fff; }
.espo-foot { flex: none; padding: .45rem; text-align: center; font-size: .68rem; color: var(--text-muted); background: var(--bg-elev); border-top: 1px solid var(--border-soft); }

/* Formulario de datos dentro del chat de Jenny */
.espo-form { align-self: stretch; display: grid; gap: .5rem; padding: .8rem; background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; box-shadow: var(--shadow-sm); animation: espoIn .35s var(--ease-out) both; }
.espo-form label { display: grid; gap: .2rem; font-size: .78rem; font-weight: 600; color: var(--text-soft); }
.espo-form input:not([type="checkbox"]) { width: 100%; min-width: 0; padding: .5rem .6rem; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: inherit; font-size: .9rem; font-weight: 400; }
.espo-form input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.espo-form__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: .5rem; }
.espo-form .espo-form__chk { display: flex; align-items: flex-start; gap: .45rem; font-weight: 500; line-height: 1.35; }
.espo-form__chk input { margin-top: .15rem; accent-color: var(--brand); flex: none; }
.espo-form__err { color: #c0392b; font-size: .8rem; }
.espo-form .btn { justify-self: start; }

/* Lector de QR (cámara) */
.qr-ov { position: fixed; inset: 0; z-index: 1100; background: rgba(8,11,5,.88); display: grid; place-items: center; padding: 16px; }
.qr-box { width: min(380px, 100%); background: var(--card); color: var(--text); border-radius: var(--r-lg); padding: 1rem; display: grid; gap: .7rem; box-shadow: var(--shadow-lg); }
.qr-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.qr-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); font-size: 1rem; cursor: pointer; }
.qr-cam { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: #000; }
.qr-cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.qr-frame { position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.25); }
.qr-nocam .qr-cam { display: none; }
.qr-hint { font-size: .88rem; color: var(--text-soft); text-align: center; }
.qr-file { justify-self: center; cursor: pointer; }

@media (max-width: 480px) {
  .espo-panel { right: 8px; bottom: 8px; height: calc(100vh - 16px); height: calc(100dvh - 16px); width: calc(100vw - 16px); }
  .wa-float { width: 52px; height: 52px; } .wa-float svg { width: 26px; height: 26px; }
  .espo-launch { bottom: 80px; }
}

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: .75rem; }
.faq-item { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; color: var(--accent); flex: none; transition: transform .3s var(--ease); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--brand); }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--text-soft); line-height: 1.6; }

/* ==========================================================================
   Conserje "Espo" (viaje.html)
   ========================================================================== */
.c-body { background: var(--bg); min-height: 100vh; padding-bottom: 84px; }
.c-top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .6rem clamp(1rem, 4vw, 1.5rem); background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-soft); }
.c-top .brand img { width: 40px; height: 40px; }
.c-top .brand__name { font-size: 1rem; }
.c-top__actions { display: flex; align-items: center; gap: .5rem; }
.c-langs { display: flex; gap: 2px; background: var(--bg-soft); border-radius: var(--r-pill); padding: 3px; }
.c-lang { padding: .3rem .5rem; border-radius: var(--r-pill); font-size: .78rem; font-weight: 600; color: var(--text-muted); transition: all .2s; }
.c-lang.active { background: var(--brand); color: var(--on-brand); }

.c-app, .c-gate { max-width: 640px; margin-inline: auto; padding: 84px clamp(1rem, 4vw, 1.25rem) 0; display: grid; gap: 1rem; }
.c-gate { min-height: 100vh; align-content: center; justify-items: center; text-align: center; gap: .8rem; }
.c-gate img { border-radius: 16px; }
.c-gate h2 { font-size: 1.4rem; }
.c-gate .c-err { color: #c0392b; background: #fdecea; padding: .6rem 1rem; border-radius: var(--r-sm); font-size: .9rem; }
:root[data-theme="dark"] .c-gate .c-err { background: #3a1e1a; color: #ffb4a6; }
.c-gate-form { display: flex; gap: .5rem; width: 100%; max-width: 340px; }
.c-gate-form input { flex: 1; padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--bg-elev); color: var(--text); font: inherit; text-transform: uppercase; }
.c-gate-wa { color: var(--brand); font-weight: 600; font-size: .95rem; }

.c-welcome { background: linear-gradient(135deg, var(--forest-700), var(--forest-600)); color: #fff; border-radius: var(--r-lg); padding: clamp(1.2rem, 4vw, 1.6rem); box-shadow: var(--shadow-md); }
:root[data-theme="dark"] .c-welcome { background: linear-gradient(135deg, #1a2213, #26331a); }
.c-welcome .c-hello { font-size: .9rem; opacity: .9; margin-bottom: .2rem; }
.c-welcome h1 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2rem); margin: 0 0 .3rem; }
.c-region { color: rgba(255,255,255,.9); font-size: .95rem; margin-bottom: .9rem; }
.c-chips-info { display: flex; flex-wrap: wrap; gap: .4rem; }
.c-pill { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill); padding: .35rem .7rem; font-size: .8rem; }
.c-pill b { font-weight: 600; }

.c-next { background: var(--accent-soft); border: 1.5px solid var(--accent); border-radius: var(--r-lg); padding: 1rem 1.2rem; }
.c-next__label { font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.c-next__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .4rem; }
.c-next__row b { font-family: var(--font-display); font-size: 1.15rem; display: block; color: var(--text); }
.c-next__row span { font-size: .85rem; color: var(--text-muted); }
.c-mini { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.c-mini svg { width: 20px; height: 20px; }

.c-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: clamp(1.1rem, 4vw, 1.4rem); box-shadow: var(--shadow-sm); }
.c-card__title { font-size: 1.2rem; margin-bottom: 1rem; }
.c-itin-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.c-itin-head .c-card__title { margin: 0; }
.c-cal-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .9rem; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--bg-elev); color: var(--brand); font-weight: 600; font-size: .85rem; cursor: pointer; }
.c-cal-btn:hover { border-color: var(--brand); background: var(--bg-soft); }
.c-pending { margin-top: .5rem; font-size: .88rem; font-weight: 600; }
.c-review { border: 1.5px solid var(--accent); }
.c-review__txt { color: var(--text-soft); margin-bottom: .9rem; line-height: 1.55; }
.c-review__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.c-pack__days { list-style: none; display: grid; gap: .45rem; margin-bottom: .6rem; }
.c-pack__days li { display: grid; gap: .1rem; padding: .55rem .8rem; background: var(--bg-soft); border-radius: var(--r-sm); }
.c-pack__days li span { font-size: .85rem; color: var(--text-muted); }
.c-pack__note { font-size: .8rem; color: var(--text-muted); margin-bottom: .6rem; }
.c-pack__items { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.c-pack__items li { padding: .4rem .75rem; border: 1px solid var(--border); border-radius: var(--r-pill); font-size: .86rem; background: var(--bg-elev); }
.c-pack__tips { display: grid; gap: .35rem; font-size: .88rem; color: var(--text-soft); line-height: 1.5; }
.c-pack__tips b { color: var(--text); }

.c-itin { display: grid; gap: 0; }
.c-step { display: grid; grid-template-columns: 70px 20px 1fr; align-items: start; gap: .5rem; padding-bottom: 1.1rem; position: relative; }
.c-step__time { font-size: .8rem; font-weight: 600; color: var(--text); text-align: right; line-height: 1.2; }
.c-step__time small { display: block; font-weight: 500; color: var(--text-muted); font-size: .72rem; }
.c-step__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--bg-elev); border: 3px solid var(--border); margin-top: 2px; z-index: 1; justify-self: center; }
.c-step:not(:last-child)::after { content: ""; position: absolute; left: calc(70px + .5rem + 10px - 1px); top: 16px; bottom: 0; width: 2px; background: var(--border-soft); }
.c-step.now .c-step__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.c-step.now .c-step__body b { color: var(--accent); }
.c-step__body b { font-size: 1rem; display: block; }
.c-step__map { font-size: .82rem; color: var(--brand); font-weight: 600; }

.c-assistant { padding: 0; overflow: hidden; }
.c-assistant__head { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: var(--bg-soft); border-bottom: 1px solid var(--border-soft); }
.c-assistant__ava { width: 38px; height: 38px; border-radius: 50%; background: var(--sun-500); color: #3a2402; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.c-assistant__head b { font-size: .98rem; } .c-assistant__status { font-size: .78rem; color: #2e9e4f; }
.c-chat { padding: 1rem; display: flex; flex-direction: column; gap: .6rem; max-height: 420px; overflow-y: auto; background: var(--bg); }
.c-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .8rem; border-top: 1px solid var(--border-soft); background: var(--bg-elev); max-height: 230px; overflow-y: auto; }
.c-ask { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--border-soft); background: var(--bg-elev); }
.c-ask input { flex: 1; padding: .65rem .95rem; border: 1.5px solid var(--border); border-radius: var(--r-pill); background: var(--bg); color: var(--text); font: inherit; }
.c-ask input:focus { border-color: var(--brand); outline: none; box-shadow: var(--ring); }
.c-ask button { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; flex: none; transition: transform .2s; }
.c-ask button:hover { transform: scale(1.06); }
.c-ask button svg { width: 19px; height: 19px; }
.c-foot { padding: .5rem; text-align: center; font-size: .72rem; color: var(--text-muted); background: var(--bg-elev); border-top: 1px solid var(--border-soft); }

.c-actions { position: fixed; inset: auto 0 0 0; z-index: 50; display: flex; gap: .6rem; justify-content: center;
  padding: .7rem clamp(1rem, 4vw, 1.25rem); background: color-mix(in srgb, var(--bg-elev) 94%, transparent);
  backdrop-filter: blur(12px); border-top: 1px solid var(--border-soft); }
.c-actions .btn { flex: 1; max-width: 260px; }

@media (max-width: 420px) {
  .c-step { grid-template-columns: 56px 18px 1fr; }
  .c-step:not(:last-child)::after { left: calc(56px + .5rem + 9px - 1px); }
  .c-lang { padding: .28rem .4rem; font-size: .72rem; }
}

/* Reduced-motion: disable auto hero zoom */
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transform: none !important; }
  .wa-float { animation: none; }
}

/* ==========================================================================
   Rediseño 2026 (brief): jerarquía más contenida, producto antes, sostenibilidad
   ========================================================================== */
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--bg-elev); color: var(--text); padding: .6rem 1rem; border-radius: var(--r-sm); box-shadow: var(--shadow-md); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
p, li { text-align: left; }
.section-head.center p, .section-head.center h2 { text-align: center; }

/* Logo: versión clara sobre el hero, versión a color cuando el encabezado es sólido */
.brand__logo { height: 56px; width: auto; transition: opacity .3s var(--ease); }
.brand { position: relative; }
.brand__logo--dark { position: absolute; left: 0; top: 0; opacity: 0; }
.header.scrolled .brand__logo--light, .header--solid .brand__logo--light { opacity: 0; }
.header.scrolled .brand__logo--dark, .header--solid .brand__logo--dark { opacity: 1; }
:root[data-theme="dark"] .header.scrolled .brand__logo--light { opacity: 1; }
:root[data-theme="dark"] .header.scrolled .brand__logo--dark { opacity: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .header.scrolled .brand__logo--light { opacity: 1; } :root:not([data-theme="light"]) .header.scrolled .brand__logo--dark { opacity: 0; } }
.brand--footer img { height: 96px; width: auto; }   /* logo claro, fondo transparente sobre el pie oscuro */

/* Hero más bajo: el siguiente bloque se asoma */
.hero h1 span { display: inline; }
.hero h1 .accent { font-style: italic; font-weight: 500; }
.hero__badge { font-size: .78rem; margin-bottom: 1.1rem; }
.hero__lead { margin-bottom: 1.6rem; }

/* Franja de confianza delgada */
.trust__inner { padding-block: .65rem; gap: clamp(.8rem, 3vw, 2rem); }
.trust__item { font-size: .86rem; font-weight: 600; }
.trust__item svg { width: 17px; height: 17px; }
a.trust__item { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
a.trust__item:hover { text-decoration-color: currentColor; }

/* Barra de herramientas de experiencias */
.toolbar { display: grid; gap: .8rem; margin: 0 auto 1rem; max-width: 980px; }
.toolbar__search { display: flex; align-items: center; gap: .6rem; background: var(--bg-elev); border: 1.5px solid var(--border); border-radius: var(--r-pill); padding: .35rem .5rem .35rem 1rem; transition: border-color .2s, box-shadow .2s; }
.toolbar__search:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.toolbar__search svg { width: 20px; height: 20px; color: var(--text-muted); flex: none; }
.toolbar__search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; padding: .55rem 0; outline: none; }
.toolbar__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.seg { display: inline-flex; flex-wrap: wrap; gap: .3rem; background: var(--bg-elev); border: 1px solid var(--border-soft); border-radius: var(--r-pill); padding: .25rem; }
.seg__btn { padding: .45rem .9rem; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: var(--text-soft); transition: background .2s, color .2s; }
.seg__btn:hover { color: var(--brand); }
.seg__btn.active { background: var(--brand); color: var(--on-brand); }
.filters { margin-bottom: 1rem; }
.tours-count { text-align: center; font-size: .9rem; color: var(--text-muted); margin-bottom: 1.6rem; }
.linkbtn { color: var(--brand); text-decoration: underline; font-weight: 600; }
.tours-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); background: var(--card); }

/* Tarjeta: duración y horario visibles */
.tour-card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.tour-card__facts { display: grid; gap: .3rem; margin-bottom: .65rem; }
.tour-card__facts li { display: flex; align-items: center; gap: .45rem; font-size: .86rem; color: var(--text-soft); font-weight: 600; }
.tour-card__facts svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.tour-card__desc { -webkit-line-clamp: 2; line-clamp: 2; font-size: .9rem; }
.tour-card__price small { font-size: .7rem; }
.tour-card__price b:not(.quote) { font-family: var(--font-sans); font-size: .98rem; font-weight: 600; }

/* Planes */
.plans__sub { font-size: 1.15rem; margin: 1.6rem 0 1rem; }
.plans__sub:first-child { margin-top: 0; }
.plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }
.plan-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 1.3rem 1.3rem 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .6rem; }
.plan-card--soft { background: var(--bg-soft); box-shadow: none; }
.plan-card h4 { font-size: 1.12rem; }
.plan-card p { color: var(--text-soft); font-size: .9rem; flex: 1; }
.plan-card .btn { align-self: flex-start; }
.plan-card__tag { align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-soft); border-radius: var(--r-pill); padding: .25rem .65rem; }
.plan-card__stops { padding-left: 1.1rem; display: grid; gap: .25rem; font-size: .88rem; color: var(--text-soft); flex: 1; list-style: decimal; }
.plans__note { font-size: .85rem; color: var(--text-muted); margin-top: .9rem; }

/* Cómo funciona compacto */
.steps { list-style: none; padding: 0; gap: 1.1rem; }
.step { padding: 1.9rem 1.2rem 1.3rem; }

/* Nosotros corto: 1 párrafo + 3 valores en fila */
.about-short .section-head { max-width: 760px; margin-bottom: 1.8rem; }
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }

/* Sostenibilidad */
.sust { background: radial-gradient(110% 90% at 0% 0%, rgba(112,136,42,.12), transparent 60%), var(--bg); }
.sust__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sust__pillar { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm); }
.sust__icon { font-size: 1.8rem; line-height: 1; display: block; margin-bottom: .6rem; }
.sust__kind { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.sust__pillar h3 { font-size: 1.15rem; margin: .35rem 0 .8rem; }
.sust__pillar ul { display: grid; gap: .55rem; }
.sust__pillar li { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; color: var(--text-soft); }
.sust__pillar li svg { width: 17px; height: 17px; color: var(--olive-500); flex: none; margin-top: 3px; }
.sust__sub { font-size: 1.15rem; margin: 2.2rem 0 1rem; }
.sust__stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.story { display: flex; gap: .85rem; padding: 1.1rem; background: var(--bg-soft); border-radius: var(--r-md); }
.story__avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; }
.story b { display: block; font-size: 1rem; }
.story__role { display: block; font-size: .8rem; color: var(--accent-text); font-weight: 600; margin-bottom: .3rem; }
.story p { font-size: .88rem; color: var(--text-soft); }
.escnna { display: flex; gap: .9rem; align-items: flex-start; margin-top: 2rem; padding: 1.1rem 1.3rem; border: 1.5px solid var(--border); border-left: 4px solid var(--brand); border-radius: var(--r-md); background: var(--card); }
.escnna__icon { font-size: 1.5rem; line-height: 1; }
.escnna b { display: block; margin-bottom: .2rem; }
.escnna p { font-size: .9rem; color: var(--text-soft); }
.sust__cta { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.8rem; }

/* Contacto + CTA fusionados */
.contact-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; margin-bottom: 2rem; padding: clamp(1.4rem, 4vw, 2rem); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); }
.contact-cta .section-title { margin-top: .4rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--text-soft); margin: .2rem 0 1rem; }
.consent input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.consent a { color: var(--brand); text-decoration: underline; }

/* Ficha de experiencia ampliada */
.modal__panel { overflow-y: auto; }
.modal__cat { color: var(--on-accent); }
.modal__meta .m--code { font-size: .82rem; color: var(--text-muted); }
.modal__cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.6rem; align-items: start; }
.modal__incl { grid-template-columns: 1fr; margin-bottom: .6rem; }
.modal__noincl { font-size: .84rem; color: var(--text-muted); margin-bottom: 1.4rem; }
.modal__tips { background: var(--accent-soft); border-radius: var(--r-md); padding: 1rem 1.1rem; }
.modal__tips-t { font-weight: 600; margin-bottom: .45rem; }
.modal__tips ul { display: grid; gap: .35rem; font-size: .9rem; color: var(--text-soft); }
.modal__notes { display: grid; gap: .35rem; font-size: .9rem; color: var(--text-soft); margin-bottom: 1.4rem; list-style: disc; padding-left: 1.2rem; }
.modal__map { min-height: 260px; border-radius: var(--r-md); overflow: hidden; margin-bottom: 1.4rem; }
.modal__actions { background: var(--bg-elev); padding-top: .8rem; }

/* Pie */
.footer__h { color: #fff; font-family: var(--font-sans); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.footer__muted { color: #a9b79a; font-size: .95rem; }
.footer__escnna { margin-top: 1.6rem; font-size: .84rem; color: #c9d4bb; max-width: 80ch; }

@media (max-width: 1024px) {
  .sust__pillars { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .header__actions .btn--primary { display: inline-flex; }
  .brand__logo { height: 46px; }
  .hero__inner { padding-block: 6rem 3rem; }
  .toolbar__row { flex-direction: column; align-items: stretch; }
  .seg { justify-content: center; }
  .modal__cols { grid-template-columns: 1fr; }
  .contact-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .seg__btn { padding: .45rem .7rem; font-size: .8rem; }
  .header__actions .btn--primary { padding: .5rem .8rem; }
}

/* Jenny: campo de pregunta libre y selector de idioma del guía */
.espo-ask { flex: none; display: flex; gap: .4rem; padding: .5rem .6rem; border-top: 1px solid var(--border-soft); background: var(--bg-elev); }
.espo-ask input { flex: 1; min-width: 0; padding: .55rem .8rem; border: 1.5px solid var(--border); border-radius: var(--r-pill); background: var(--bg); color: var(--text); font: inherit; font-size: .9rem; }
.espo-ask input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.espo-ask button { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); }
.espo-ask button svg { width: 18px; height: 18px; }
.espo-form select { width: 100%; padding: .5rem .6rem; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: inherit; font-size: .9rem; font-weight: 400; }
.espo-launch__ava { color: var(--on-accent); }

/* Conserje: datos oficiales por parada, recomendaciones de la víspera y mapa del recorrido */
.c-step__facts { display: block; font-size: .78rem; color: var(--text-muted); font-weight: 600; margin-top: .15rem; }
.c-next__tips { margin-top: .8rem; padding-top: .7rem; border-top: 1px dashed var(--accent); font-size: .88rem; }
.c-next__tips b { display: block; margin-bottom: .3rem; color: var(--text); }
.c-next__tips ul { display: grid; gap: .2rem; color: var(--text-soft); }
.c-route__map { min-height: 300px; border-radius: var(--r-md); overflow: hidden; }

/* Páginas legales (términos, privacidad) */
.legal-page .header { background: var(--bg-elev); }
.legal { max-width: 780px; padding-top: 110px; padding-bottom: 4rem; }
.legal h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); margin-bottom: .5rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--text-soft); line-height: 1.65; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .4rem; }
.legal a { color: var(--brand); text-decoration: underline; }
.legal__meta { font-size: .9rem; color: var(--text-muted) !important; }
.legal__escnna { margin-top: .8rem; padding: .8rem 1rem; border-left: 4px solid var(--brand); background: var(--bg-soft); border-radius: var(--r-sm); }
.footer--slim { padding-block: 1.5rem; }
.footer--slim .footer__bottom { padding-top: 0; }

/* Jenny: consentimiento de datos en el formulario del chat */
.espo-form__consent { font-size: .78rem; }
.espo-form__consent a { color: var(--brand); text-decoration: underline; }

/* Revisión previa a publicar */
.totop { bottom: 152px; right: 26px; }                        /* no queda debajo del botón de Jenny */
@media (max-width: 480px) { .totop { bottom: 142px; } }
.toast__link { color: var(--sun-300); text-decoration: underline; font-weight: 600; margin-left: .3rem; }
@media (max-width: 420px) { .c-top .brand__text { display: none; } }   /* encabezado del conserje a 360 px */

/* Reseñas de Google (index.html#resenas; datos en data/jenny.json → resenas) */
.reviews__summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem .8rem; margin-bottom: 1.6rem; }
.reviews__score { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--text); }
.reviews__stars, .review__stars { color: var(--accent-strong); letter-spacing: .08em; font-size: 1.25rem; line-height: 1; }
.reviews__count { color: var(--text-soft); font-weight: 600; }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1rem; }
.review { margin: 0; display: flex; flex-direction: column; gap: .7rem; padding: 1.2rem 1.25rem; background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.review__stars { font-size: 1rem; }
.review blockquote { margin: 0; color: var(--text); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.review figcaption { display: flex; align-items: center; gap: .55rem; margin-top: auto; color: var(--text-muted); font-size: .9rem; }
.review figcaption b { color: var(--text); font-weight: 600; }
.review figcaption span:last-child:not(.review__ava)::before { content: "·"; margin-right: .5rem; }
.review__ava { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-weight: 600; }
.reviews__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.6rem; }
.reviews__note { text-align: center; color: var(--text-muted); font-size: .85rem; margin-top: .9rem; }

.faq-a { white-space: pre-line; }   /* respuestas con viñetas (p. ej. medios de pago) */

/* Jenny: panel compacto que no tapa la página + modo ampliado (botón ⤢ en el encabezado).
   La conversación gana espacio: encabezado y opciones más compactos; las opciones ocupan como máximo ~2 filas. */
.espo-panel { width: min(360px, calc(100vw - 32px)); height: min(520px, calc(100vh - 110px)); transition: opacity .3s var(--ease), transform .35s var(--ease-out), visibility .3s, width .3s var(--ease), height .3s var(--ease); }
.espo-panel--max { width: min(760px, calc(100vw - 40px)); height: calc(100vh - 40px); height: calc(100dvh - 40px); }
.espo-head { padding: .6rem .7rem .6rem .9rem; gap: .55rem; }
.espo-head__ava { width: 36px; height: 36px; font-size: 1.05rem; }
.espo-head__btn { color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; flex: none; }
.espo-head__btn:hover { background: rgba(255,255,255,.18); }
.espo-head__max svg { width: 18px; height: 18px; }
.espo-head__max .i-min, .espo-panel--max .espo-head__max .i-max { display: none; }
.espo-panel--max .espo-head__max .i-min { display: block; }
.espo-body { position: relative; padding: .85rem; }
.espo-panel--max .espo-body { padding: 1.1rem 1.4rem; }
.espo-panel--max .espo-msg { max-width: 78%; font-size: .95rem; }
.espo-quick { padding: .5rem .6rem; gap: .35rem; max-height: 6.6rem; }
.espo-panel--max .espo-quick { max-height: 30%; }
.espo-quick .espo-chip, .c-chips .espo-chip { padding: .38rem .7rem; font-size: .8rem; }
.espo-ask { padding: .45rem .55rem; }
.espo-foot { padding: .25rem .5rem; font-size: .64rem; }
@media (max-width: 480px) {
  .espo-panel, .espo-panel--max { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 16px); height: calc(100dvh - 16px); }
  .espo-head__max { display: none; }   /* en el celular ya ocupa toda la pantalla */
  .espo-quick { max-height: 7.4rem; }
}

/* Páginas legales: botón "Descargar en PDF" e impresión limpia */
.legal__print { margin: .4rem 0 1rem; }
@media print {
  .legal-page .header, .legal-page .footer, .legal__print, .wa-float, .totop { display: none !important; }
  .legal { padding-top: 0; max-width: none; }
  .legal p, .legal li { color: #222; }
  .legal a { color: #222; text-decoration: none; }
}

/* "Somos parte de": gremios y redes */
.allies { padding-block: 2rem; background: var(--bg); border-top: 1px solid var(--border-soft); }
.allies__t { text-align: center; font-size: .95rem; font-family: var(--font-body, inherit); font-weight: 600; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.1rem; }
.allies__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 2.4rem; }
.allies__item { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-md); padding: .4rem .6rem; transition: transform .2s; }
.allies__item:hover { transform: translateY(-2px); }
.allies__item img { height: 64px; width: auto; max-width: 180px; object-fit: contain; }   /* a todo color, sin alterar las marcas */
:root[data-theme="dark"] .allies__item { background: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .allies__item { background: #fff; } }

/* ===== Densidad y ancho (12-oct-2026): más ancho útil y menos espacio vacío (la letra se mantiene en 16 px) ===== */
:root { --maxw: 1440px; --gutter: clamp(1rem, 3vw, 2rem); --section-y: clamp(2.5rem, 6vw, 4.5rem); }
.section--tight { padding-block: clamp(2rem, 4.5vw, 3.25rem); }
.section-head { margin-bottom: clamp(1.25rem, 3vw, 2.25rem); }

/* Reseñas compactas: 3 columnas, tarjetas más bajas */
.reviews__summary { margin-bottom: 1rem; }
.reviews__score { font-size: 2rem; }
.reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 1024px) { .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .reviews__grid { grid-template-columns: 1fr; } }
.review { padding: .85rem 1rem; gap: .45rem; }
.review__stars { font-size: .85rem; }
.review blockquote { font-size: .92rem; line-height: 1.5; -webkit-line-clamp: 5; }
.review figcaption { font-size: .85rem; }
.review__ava { width: 26px; height: 26px; font-size: .8rem; }
.reviews__cta { margin-top: 1rem; }
.reviews__note { margin-top: .5rem; }

/* Pie de página compacto */
.footer { padding-block: clamp(2rem, 4vw, 2.75rem) 1.25rem; }
.footer__grid { gap: 1.25rem 2rem; padding-bottom: 1.5rem; }
.brand--footer img { height: 72px; }
.footer__brand p { margin-top: .6rem; }
.footer__h, .footer h4 { margin-bottom: .6rem; }
.footer__links { gap: .3rem; }
.footer__social { margin-top: .8rem; }
.footer__social a { width: 38px; height: 38px; }
.footer__rnt { margin-top: .8rem; }
.footer__escnna { margin-top: 1rem; }
.footer__bottom { padding-top: 1.1rem; }

/* Franja "Somos parte de" más baja */
.allies { padding-block: 1.25rem; }
.allies__t { margin-bottom: .75rem; }
.allies__item img { height: 56px; }

/* Más contenido por pantalla en escritorio */
.gallery { columns: 4 230px; column-gap: .75rem; }
.gallery__item { margin-bottom: .75rem; }
/* Preguntas frecuentes: 3 columnas en escritorio, 2 en tableta, 1 en celular; preguntas más compactas */
@media (min-width: 760px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (min-width: 1100px) { .faq { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.faq-item summary { padding: .8rem 1rem; font-size: 1rem; line-height: 1.3; }

/* Aviso ESCNNA: único aviso en la página (sección de sostenibilidad), centrado */
.escnna { max-width: 900px; margin: 1.75rem auto 0; flex-direction: column; align-items: center; text-align: center; gap: .5rem; border-left-width: 1.5px; border-top: 4px solid var(--brand); padding: 1.1rem 1.5rem; }
.escnna__icon { font-size: 1.7rem; }

/* ===== Ficha de experiencia (12-oct-2026): foto a un lado, información al otro ===== */
.modal__title { font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.9rem); line-height: 1.15; margin: 0 0 .7rem; padding-right: 2.6rem; }
.modal__hero { cursor: zoom-in; }
.modal__hero:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.modal__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-size: 1rem; pointer-events: none; }
.modal__thumb.active { border-color: var(--accent); }
.modal__desc { margin-bottom: 1rem; white-space: pre-line; }
.modal__meta { gap: .6rem 1.1rem; margin-bottom: .9rem; padding-bottom: .9rem; }
.modal__body .modal__actions { position: static; padding: 0 0 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--border-soft); }
/* Ficha casi a pantalla completa: dos columnas desde 760 px (también con el navegador ampliado), una en celular */
.modal { padding: 2vh 2vw; }
.modal__close { top: 12px; right: 12px; }
.modal__body p, .modal__body li { overflow-wrap: break-word; }
@media (min-width: 760px) {
  .modal__panel { width: min(1320px, 96vw); max-width: none; height: 92vh; max-height: 92vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; }
  .modal__media { position: relative; min-height: 0; display: flex; flex-direction: column; background: #10140c; }
  .modal__hero { flex: 1 1 auto; height: auto; min-height: 0; }
  .modal__hero::after { background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 22%, transparent 72%, rgba(0,0,0,.6)); }
  .modal__gallery { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: .6rem 3.2rem .6rem .6rem; gap: .45rem; }
  .modal__thumb { width: 72px; height: 52px; border-radius: 8px; border-width: 2px; }
  .modal__body { min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 1.5rem 1.6rem 1.2rem; }
  .modal__cols { grid-template-columns: 1fr; gap: .9rem; }
}
@media (max-width: 759.98px) {
  .modal { padding: 0; }
  .modal__panel { display: block; width: 100vw; max-width: none; height: 100dvh; max-height: 100dvh; border-radius: 0; overflow-y: auto; overflow-x: hidden; }
  .modal__hero { height: 42vh; min-height: 220px; }
  .modal__gallery { margin: .5rem 1rem 0; }
  .modal__thumb { width: 76px; height: 54px; }
  .modal__body { padding: 1rem 1rem 1.4rem; }
  .modal__cols { grid-template-columns: 1fr; }
}

/* ===== Pie de página más compacto: enlaces legales en la línea final ===== */
@media (min-width: 1101px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }   /* solo en pantallas grandes: en tableta y celular mandan las reglas de arriba */
.footer__brand .brand--footer img { height: 60px; }
.footer__brand p { font-size: .88rem; line-height: 1.5; margin-top: .5rem; }
.footer__links a, .footer__muted { font-size: .9rem; line-height: 1.45; }
.footer__links { gap: .15rem; }
.footer__h, .footer h4 { margin-bottom: .45rem; font-size: .78rem; }
.footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .7rem; }
.footer__badges .footer__social { margin-top: 0; }
.footer__badges .footer__rnt { margin-top: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.footer { padding-block: clamp(1.6rem, 3.5vw, 2.25rem) 1rem; }
.footer__grid { padding-bottom: 1.1rem; }
.footer__bottom { padding-top: .9rem; gap: .5rem 1rem; }

/* Capas: la ficha y el visor de fotos quedan por encima de Jenny y de los botones flotantes */
.modal { z-index: 1050; }
.lightbox { z-index: 1060; }
.toast { z-index: 1070; }

/* ===== Reseñas en una sola fila que se desplaza (banner) ===== */
.reviews__marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.reviews__track { display: flex; gap: .75rem; width: max-content; padding-block: .25rem; animation: reviews-scroll 55s linear infinite; }
.reviews__marquee:hover .reviews__track, .reviews__marquee:focus-within .reviews__track { animation-play-state: paused; }
.reviews__track .review { flex: 0 0 min(340px, 82vw); }
.reviews__track .review blockquote { -webkit-line-clamp: 4; }
@keyframes reviews-scroll { to { transform: translateX(calc(-50% - .375rem)); } }
@media (prefers-reduced-motion: reduce) {
  .reviews__track { animation: none; }
  .reviews__marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ===== Cierre de Sostenibilidad más compacto: aviso ESCNNA y botones ===== */
#sostenibilidad { padding-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.escnna { margin-top: 1.25rem; padding: .8rem 1.2rem; gap: .2rem; display: grid; grid-template-columns: auto auto; justify-content: center; column-gap: .5rem; align-items: center; text-align: center; max-width: 820px; }
.escnna__icon { font-size: 1.3rem; grid-row: span 1; }
.escnna b { margin-bottom: 0; }
.escnna p { grid-column: 1 / -1; font-size: .86rem; line-height: 1.45; }
.sust__cta { margin-top: 1rem; gap: .6rem; }
.sust__cta .btn { padding: .6rem 1.15rem; font-size: .92rem; }
/* ESCNNA centrado: escudo y título en una línea, texto debajo */
.escnna { display: block; text-align: center; }
.escnna__icon { display: inline; font-size: 1.15rem; vertical-align: -2px; margin-right: .3rem; }
.escnna > div { display: inline; }
.escnna b { display: inline; }
.escnna p { display: block; margin-top: .25rem; text-align: center; }

/* ===== Itinerarios sugeridos: por día, alineados arriba ===== */
.plan-card__days { display: grid; gap: .55rem; align-content: start; flex: 1; margin: .1rem 0 .4rem; }
.plan-day { display: grid; gap: .2rem; }
.plan-day__n { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.plan-day ul { display: grid; gap: .15rem; }
.plan-day li { position: relative; padding-left: .95rem; font-size: .88rem; line-height: 1.35; color: var(--text-soft); }
.plan-day li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
:root[data-theme="dark"] .plan-day__n { color: var(--sun-300); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan-day__n { color: var(--sun-300); } }

/* Nosotros centrado */
.about-short .section-head { margin-inline: auto; text-align: center; }
.plans__grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }   /* 7 itinerarios: filas de 4 + 3 */

/* ===== Aviso de idioma (navegador en otro idioma; el sitio abre en español) ===== */
.lang-hint { position: fixed; left: 16px; bottom: 16px; z-index: 1000; max-width: min(420px, calc(100vw - 104px)); display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; padding: .65rem .6rem .65rem .9rem; border-radius: 14px; background: var(--forest-800); color: #fff; box-shadow: var(--shadow-lg); font-size: .88rem; line-height: 1.35; }
.lang-hint a { color: var(--sun-300); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.lang-hint__x { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.lang-hint__x:hover { background: rgba(255,255,255,.22); }

/* ===== Menú principal: más compacto en pantallas medianas; botón de menú cuando no cabe ===== */
@media (max-width: 1260px) { .nav { gap: 0; } .nav__link { padding: .5rem .6rem; font-size: .9rem; } }
@media (max-width: 1100px) { .nav { display: none; } .burger { display: inline-grid; } }
.nav__link { white-space: nowrap; }
@media (max-width: 1180px) { .nav { display: none; } .burger { display: inline-grid; } }

/* ===== Banderas de idioma (SVG: los emojis de bandera no se ven en Windows) ===== */
.flag-i { display: inline-block; flex: 0 0 auto; width: 24px; height: 16px; border-radius: 3px; background: #ddd center / cover no-repeat; box-shadow: 0 0 0 1px rgba(0,0,0,.14); vertical-align: middle; }
.flag-i--es { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><path fill='%23FCD116' d='M0 0h3v1H0z'/><path fill='%23003893' d='M0 1h3v.5H0z'/><path fill='%23CE1126' d='M0 1.5h3v.5H0z'/></svg>"); }
.flag-i--en { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'><clipPath id='t'><path d='M30 15h30v15zv15h-30zh-30v-15zv-15h30z'/></clipPath><path fill='%23012169' d='M0 0h60v30H0z'/><path stroke='%23fff' stroke-width='6' d='M0 0l60 30m0-30L0 30'/><path stroke='%23C8102E' stroke-width='4' clip-path='url(%23t)' d='M0 0l60 30m0-30L0 30'/><path stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/><path stroke='%23C8102E' stroke-width='6' d='M30 0v30M0 15h60'/></svg>"); }
.flag-i--fr { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><path fill='%23002654' d='M0 0h1v2H0z'/><path fill='%23fff' d='M1 0h1v2H1z'/><path fill='%23CE1126' d='M2 0h1v2H2z'/></svg>"); }
.flag-i--de { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'><path d='M0 0h5v1H0z'/><path fill='%23DD0000' d='M0 1h5v1H0z'/><path fill='%23FFCE00' d='M0 2h5v1H0z'/></svg>"); }
.flag-i--pt { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'><path fill='%23009C3B' d='M0 0h20v14H0z'/><path fill='%23FFDF00' d='M10 1.6 18.4 7 10 12.4 1.6 7z'/><circle cx='10' cy='7' r='3.4' fill='%23002776'/><path d='M6.7 6.2c2.2-.5 4.6 0 6.6 1.3' stroke='%23fff' stroke-width='.55' fill='none'/></svg>"); }
.flag-i--it { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><path fill='%23009246' d='M0 0h1v2H0z'/><path fill='%23fff' d='M1 0h1v2H1z'/><path fill='%23CE2B37' d='M2 0h1v2H2z'/></svg>"); }
.lang__btn { padding-inline: .7rem; }
.lang__btn .flag-i { width: 26px; height: 18px; }
.lang__item .flag-i { width: 24px; height: 16px; }
.mm-lang .flag-i { width: 20px; height: 14px; margin-right: .2rem; }
.xp-langs .flag-i { width: 22px; height: 15px; }
.xp-langs span[aria-current] { background: var(--bg-soft); box-shadow: inset 0 0 0 2px var(--brand); }
.xp-langs a, .xp-langs span { display: inline-grid; place-items: center; padding: .35rem .4rem; }

/* ===== Experiencias por categoría: una foto + lista desplegable (vista general, sin filtros) ===== */
.tours-grid--cats { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
@media (max-width: 1100px) { .tours-grid--cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tours-grid--cats { grid-template-columns: 1fr; gap: .7rem; } }
.cat-tile { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s, border-color .25s; }
.cat-tile > summary { list-style: none; cursor: pointer; display: block; }
.cat-tile > summary::-webkit-details-marker { display: none; }
.cat-tile > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: var(--r-lg); }
.cat-tile:hover, .cat-tile[open] { box-shadow: var(--shadow-md); border-color: var(--brand); }
.cat-tile__media { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg, var(--olive-500, #6b7f4e), var(--forest-800, #272e19)); }
.cat-tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out, ease); }
.cat-tile:hover .cat-tile__media img { transform: scale(1.04); }
.cat-tile__body { display: grid; gap: .15rem; padding: .85rem 1rem 1rem; }
.cat-tile__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; color: var(--text); }
.cat-tile__count { color: var(--brand); font-weight: 650; font-size: .85rem; }
.cat-tile__peek { color: var(--text-soft); font-size: .88rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-tile__more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .4rem; font-weight: 650; font-size: .92rem; color: var(--accent-text, #a8521a); }
.cat-tile__more svg { width: 18px; height: 18px; transition: transform .25s var(--ease, ease); }
.cat-tile[open] .cat-tile__more svg { transform: rotate(180deg); }
.cat-tile__list { list-style: none; margin: 0; padding: .45rem .5rem .2rem; display: grid; gap: .1rem; border-top: 1px solid var(--border-soft); }
.cat-tile__list a { display: flex; align-items: center; gap: .7rem; padding: .4rem .45rem; border-radius: 12px; color: var(--text); text-decoration: none; min-height: 52px; }
.cat-tile__list a:hover, .cat-tile__list a:focus-visible { background: var(--bg-soft); }
.cat-tile__list img, .cat-tile__nothumb { flex: 0 0 64px; width: 64px; height: 44px; object-fit: cover; border-radius: 8px; display: grid; place-items: center; background: var(--bg-soft); font-size: 1.2rem; }
.cat-tile__list b { display: block; font-weight: 600; font-size: .93rem; line-height: 1.25; }
.cat-tile__list small { color: var(--text-soft); font-size: .8rem; }
.cat-tile__cards { margin: .1rem 1rem .9rem; font: inherit; font-weight: 600; font-size: .9rem; color: var(--brand); background: none; border: 0; padding: .3rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .cat-tile > summary { display: grid; grid-template-columns: 124px 1fr; }
  .cat-tile__media { aspect-ratio: auto; min-height: 112px; }
  .cat-tile__body { padding: .65rem .8rem .7rem; }
  .cat-tile__name { font-size: 1.12rem; }
  .cat-tile__peek { -webkit-line-clamp: 1; }
}

/* Conserje: «Volver a la web» y banderas en el selector de idioma */
.c-back { gap: .35rem; white-space: nowrap; }
.c-lang { display: inline-grid; place-items: center; }
.c-lang .flag-i { width: 22px; height: 15px; }
.c-lang.active { box-shadow: inset 0 0 0 2px var(--brand); }
@media (max-width: 600px) { .c-back__txt { display: none; } .c-back { padding-inline: .7rem; } .c-lang .flag-i { width: 18px; height: 12px; } }

/* ===== Pies de página: la información legal va centrada en todas las páginas ===== */
.footer__bottom { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .35rem; }
.footer__bottom .footer__legal { justify-content: center; }
.xp-foot__in, .xp-foot__legal { text-align: center; }

/* ===== Celular: bandera de idioma visible arriba, pie centrado y «Volver a la web» legible ===== */
@media (max-width: 760px) {
  .header__actions .lang { display: block; }
  .header__actions .lang__btn { padding-inline: .5rem; }
  .footer__grid { text-align: center; }
  .footer__links { align-items: center; }
  .footer__badges { justify-content: center; }
  .footer__brand .brand { justify-content: center; }
}
@media (max-width: 600px) { .c-back::after { content: "Web"; font-weight: 600; } }

/* ===== Redes sociales: logos con sus colores (Contacto, menú del celular, páginas de experiencias) ===== */
.soc-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .35rem; }
a.soc { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .85rem .42rem .5rem; border: 0; border-radius: 999px;
  font-family: var(--font-sans); font-size: .88rem; font-weight: 650; line-height: 1; color: #fff; text-decoration: none; transition: transform .2s, filter .2s; }
a.soc svg { width: 20px; height: 20px; flex: 0 0 20px; }
a.soc:hover, a.soc:focus-visible { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.soc--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.soc--fb { background: #166fe5; }   /* azul de Facebook con contraste AA para el texto blanco */
.contact__card--social:hover { transform: none; }
.mm-social { margin-top: 1rem; }
.xp-foot .soc-row { justify-content: center; margin-top: .5rem; }

/* Ficha 2027: «Combínalo con» */
.modal__combo-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.modal__combo-list .filter { font-size: .85rem; padding: .4rem .8rem; }
.modal__combo-all { font-size: .9rem; color: var(--text-soft); margin-top: .4rem; }

/* Cotiza con Jenny: gancho discreto del beneficio por convenio */
.modal__hook { font-size: .9rem; color: var(--text-soft); margin: .7rem 0 1.1rem; }
.espo-form--code { gap: .5rem; }
.espo-form--code input { text-transform: uppercase; letter-spacing: .06em; }
