/* OD-LAYOUT-PRIMITIVES v1 — structure only: display, flex/grid, overflow, wrapping, ratio.
   Put this @layer first; product CSS outside the layer always wins. */
@layer od-layout {
  :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile) > :where(*) { min-width: 0; }

  /* containers */
  .od-stack   { display: flex; flex-direction: column; gap: var(--od-gap, 8px); }
  .od-row     { display: flex; align-items: center; gap: var(--od-gap, 8px); }
  .od-row-top { display: flex; align-items: flex-start; gap: var(--od-gap, 8px); }
  .od-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--od-gap, 8px); }
  .od-fill    { flex: 1 1 0; min-width: 0; }
  .od-fixed   { flex: none; }
  .od-grid    { display: grid; gap: var(--od-gap, 12px); grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr)); }

  /* stacked information: each piece is its own line — never sibling inline spans */
  .od-stat, .od-field, .od-cell { display: grid; gap: var(--od-gap, 2px); }
  :where(.od-stat,.od-field,.od-cell) > :where(*) { display: block; }
  .od-tile { display: grid; grid-template-rows: auto 1fr; }
  :where(.od-tile) > :where(*) { display: block; }

  /* media keeps its intrinsic ratio by default; never a distorted or cropped
     cover by accident. height:auto lets the ratio win over an <img height="…">
     attribute. Cropping to a uniform box is an explicit opt-in: set --od-ratio
     AND add .od-media-cover together (per the core rule, only where a crop is
     deliberate — tile thumbs, decorative fills — never on full-frame content). */
  .od-media { display: block; width: 100%; height: auto; aspect-ratio: var(--od-ratio, auto); }
  .od-media-cover { object-fit: cover; }

  /* data text only — authored copy is rewritten to its budget instead */
  .od-truncate { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .od-clamp-2, .od-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .od-clamp-2 { -webkit-line-clamp: 2; }
  .od-clamp-3 { -webkit-line-clamp: 3; }
  .od-lines-2 { min-height: calc(2 * 1.4em); }   /* block-level reservation for a shared baseline */
  .od-nowrap  { white-space: nowrap; }           /* 数字+单位 · 价格+起 · 日期+星期 */
  .od-keep    { word-break: keep-all; overflow-wrap: anywhere; } /* CJK labels break at spaces / <wbr> first */

  /* screen skeleton (optional): bars take their own space, the middle scrolls — no padding guessed for chrome */
  .od-screen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
  .od-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }

  /* horizontal rail: the next item peeks at the edge; trailing room survives overflow */
  .od-rail { display: flex; gap: var(--od-gap, 8px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
             padding-inline: var(--od-rail-pad, 16px); scroll-padding-inline: var(--od-rail-pad, 16px); }
  .od-rail::-webkit-scrollbar { display: none; }
  :where(.od-rail) > :where(*) { flex: none; scroll-snap-align: start; }
  :where(.od-rail) > :where(:last-child) { margin-inline-end: var(--od-rail-pad, 16px); }

  .od-spacer { flex: none; visibility: hidden; pointer-events: none; }
  .od-touch  { min-width: 44px; min-height: 44px; }
}
/* /OD-LAYOUT-PRIMITIVES v1 */


/* =========================================================================
   Like Xplorer Perú — sistema de diseño
   Paleta derivada del logotipo de la marca. Estructura de secciones heredada
   de la referencia. Tipografía, tarjeta de tour y menú rediseñados.
   ========================================================================= */

:root {
  /* — color — */
  --ink:        #1C2949;
  --ink-900:    #101B33;
  --ink-700:    #243560;
  --brand:      #5DBA9E;
  --brand-700:  #2C7861;
  --brand-050:  #E8F5F0;
  --accent:     #F8B33F;
  --accent-050: #FDF1DA;
  --accent-700: #8A5E06;
  --alert:      #C63A2B;
  --muted:      #5A6478;
  --surface:    #F4F8F6;
  --white:      #FFFFFF;
  --on-dark:    #C3CBDA;
  --line:       rgba(28, 41, 73, .10);
  --line-2:     rgba(28, 41, 73, .18);
  --line-dark:  rgba(255, 255, 255, .14);

  /* — tipografía — */
  --ff-display: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-ui: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* — ritmo de 8 px — */
  --s-1: 4px;  --s-2: 8px;  --s-3: 16px; --s-4: 24px;
  --s-5: 32px; --s-6: 48px; --s-7: 64px; --s-8: 96px;
  --pad: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);

  /* — forma — */
  --r-card: 20px;
  --r-media: 16px;
  --r-input: 14px;
  --r-pill: 999px;
  --sh-card: 0 18px 40px -24px rgba(28, 41, 73, .25);
  --sh-lift: 0 26px 56px -26px rgba(28, 41, 73, .34);
  --sh-nav:  0 10px 30px -18px rgba(28, 41, 73, .35);

  /* — movimiento — */
  --t-micro: 180ms;
  --t-panel: 260ms;
  --t-exit:  126ms;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in:  cubic-bezier(.4, 0, 1, 1);

  --header-h: 72px;
  --header-h-stuck: 64px;
}
@media (max-width: 1080px) { :root { --header-h: 68px; --header-h-stuck: 62px; } }

/* — reset — */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  font-family: var(--ff-ui);
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
:focus-visible {
  outline: 3px solid var(--brand-700);
  outline-offset: 3px;
  border-radius: 6px;
}
.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;
}
.skip-link {
  position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 200;
  transform: translateY(-160%);
  background: var(--ink); color: var(--white);
  padding: 12px 20px; border-radius: var(--r-pill); font-weight: 700;
}
.skip-link:focus-visible { transform: none; }

/* — tipografía — */
h1, h2, h3, h4, .display {
  font-family: var(--ff-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.08; letter-spacing: -.03em; }
h2, .h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3, .h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
h4, .h4 { font-size: 1.1875rem; line-height: 1.3; }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 700; }
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; }
.eyebrow {
  font-family: var(--ff-ui);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-700);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; inline-size: 26px; block-size: 2px;
  background: var(--accent); border-radius: 2px;
}
.eyebrow--center { display: flex; justify-content: center; }
.script {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--brand-700);
}

/* — estructura — */
.container { width: min(100% - (var(--pad) * 2), 1240px); margin-inline: auto; }
.container--wide { width: min(100% - (var(--pad) * 2), 1440px); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--surface { background: var(--surface); }
.section--mint { background: var(--brand-050); }
.section--ink { background: var(--ink-900); color: var(--on-dark); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }

.section-head { --od-gap: 20px; margin-block-end: var(--s-6); }
.section-head__top { --od-gap: 24px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.section-head p { max-width: 54ch; }
.section-head--center { text-align: center; align-items: center; }
.section-head--center p { margin-inline: auto; }

/* — fondos de sección — */
/* Como la referencia: blanco y un gris verdoso muy claro que se alternan,
   y un degradado suave para las cifras. */
.section--soft { background: #F7F9F9; }
.section--pt0 { padding-block-start: 0; }
.section--counters {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #F7F9F9 0%, #E8FAFA 100%);
}
.section--counters::before, .section--counters::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.section--counters::before { inline-size: 420px; block-size: 420px; inset-block-start: -220px; inset-inline-end: -120px; background: rgba(93, 186, 158, .12); }
.section--counters::after { inline-size: 260px; block-size: 260px; inset-block-end: -150px; inset-inline-start: -80px; background: rgba(248, 179, 63, .12); }
.section--counters > .container { position: relative; z-index: 1; }
.photo-title {
  color: var(--ink); text-align: center; margin-inline: auto; margin-block-end: clamp(36px, 4vw, 56px);
  font-size: clamp(1.875rem, 3.6vw, 2.75rem); max-inline-size: 22ch;
}
.section--counters .counter {
  padding: 28px 16px; border-radius: 20px; background: var(--white);
  box-shadow: 0 16px 40px -30px rgba(16, 27, 51, .35);
}
.section--counters .counter b { color: var(--brand-700); }
.section--counters .counter span { color: var(--muted); }
.eyebrow--light { color: var(--brand); }
.section-head__aside { max-inline-size: 34ch; font-size: .9375rem; }

/* =========================== componentes base =========================== */

.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--ff-ui); font-size: .9375rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  transition: transform var(--t-micro) var(--ease-out),
              background-color var(--t-micro) var(--ease-out),
              color var(--t-micro) var(--ease-out),
              border-color var(--t-micro) var(--ease-out),
              box-shadow var(--t-micro) var(--ease-out);
}
.btn svg { inline-size: 18px; block-size: 18px; flex: none; }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--ink); }
.btn--brand  { --btn-bg: var(--brand);  --btn-fg: var(--ink); }
.btn--ink    { --btn-bg: var(--ink);    --btn-fg: var(--white); }
.btn--ghost  { --btn-bg: transparent;   --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: var(--line-dark); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 16px 34px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .5; cursor: not-allowed; pointer-events: none;
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--sh-card); }
  .btn--accent:hover { --btn-bg: #F6A521; }
  .btn--brand:hover  { --btn-bg: #4FAE92; }
  .btn--ink:hover    { --btn-bg: var(--ink-700); }
  .btn--ghost:hover  { --btn-bd: var(--ink); background: var(--ink); --btn-fg: var(--white); }
  .btn--ghost-light:hover { background: var(--white); --btn-fg: var(--ink); }
}
.btn:active { transform: translateY(0); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-block-end: 2px;
  transition: gap var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
.link-arrow svg { inline-size: 16px; block-size: 16px; }
@media (hover: hover) { .link-arrow:hover { gap: 14px; color: var(--brand-700); } }
.link-arrow--light { color: var(--white); border-bottom-color: var(--accent); }
@media (hover: hover) { .link-arrow--light:hover { color: var(--accent); } }

/* avatar tipográfico: monograma de marca mientras no hay retrato real */
.avatar-mono {
  inline-size: 48px; block-size: 48px; border-radius: var(--r-pill); flex: none;
  display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand-700);
  font-family: var(--ff-display); font-weight: 700; font-size: 1rem;
}
.avatar-mono--brand  { background: var(--brand);  color: var(--ink); }
.avatar-mono--accent { background: var(--accent); color: var(--ink); }
.avatar-mono--ink    { background: var(--ink);    color: var(--white); }

/* nota de contenido de ejemplo */
.note { text-align: center; margin-block-start: 24px; font-size: .8125rem; color: var(--muted); }
.section--ink .note { color: var(--on-dark); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .8125rem; font-weight: 600; color: var(--ink);
  white-space: nowrap;
}
.chip svg { inline-size: 14px; block-size: 14px; color: var(--brand-700); flex: none; }
.chip--ghost { background: transparent; }
.chip--onmedia {
  background: rgba(255, 255, 255, .94);
  border-color: transparent;
  box-shadow: 0 4px 14px -6px rgba(16, 27, 51, .5);
  backdrop-filter: blur(6px);
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-pill);
  font-size: .8125rem; font-weight: 800; letter-spacing: .01em;
  background: var(--accent); color: var(--ink);
  white-space: nowrap;
}
.badge--brand { background: var(--brand); color: var(--ink); }
.badge--ink   { background: var(--ink); color: var(--white); }
.badge--alert { background: var(--alert); color: var(--white); }

.rating { --od-gap: 6px; font-size: .875rem; font-weight: 700; color: var(--ink); }
.rating svg { inline-size: 16px; block-size: 16px; color: var(--accent); }
.rating span { font-weight: 500; color: var(--muted); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 44px; block-size: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white); color: var(--ink);
  transition: background-color var(--t-micro) var(--ease-out),
              color var(--t-micro) var(--ease-out),
              transform var(--t-micro) var(--ease-out);
}
.icon-btn svg { inline-size: 20px; block-size: 20px; }
@media (hover: hover) { .icon-btn:hover { background: var(--ink); color: var(--white); } }

/* iconos — una sola familia outline de 1.5 px, controlada por CSS */
.ico {
  inline-size: 20px; block-size: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--solid { fill: currentColor; stroke: none; }
.ico--sm { inline-size: 16px; block-size: 16px; }
.ico--lg { inline-size: 26px; block-size: 26px; }

/* campos de formulario */
.field { --od-gap: 6px; display: grid; gap: var(--od-gap); align-content: start; }
.field--row { display: flex; align-items: center; gap: 10px; }
.field > label, .field__label {
  font-size: .8125rem; font-weight: 700; color: var(--ink);
  letter-spacing: .02em;
}
.field__hint { font-size: .8125rem; color: var(--muted); }
.field__error {
  display: none;
  font-size: .8125rem; font-weight: 600; color: var(--alert);
}
.field__error::before { content: "⚠ "; font-weight: 800; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--alert); }
.input, .select, .textarea {
  inline-size: 100%; min-height: 48px;
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid var(--line-2); border-radius: var(--r-input);
  color: var(--ink); font-weight: 600;
  transition: border-color var(--t-micro) var(--ease-out), box-shadow var(--t-micro) var(--ease-out);
}
.input::placeholder { color: var(--muted); font-weight: 500; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand-700);
  box-shadow: 0 0 0 4px var(--brand-050);
  outline: none;
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2949' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-inline-end: 42px;
}

/* =============================== cabecera =============================== */
/* Barra blanca translúcida de 72 px: logo y menú a la izquierda; buscador,
   reserva y cuenta a la derecha. Al bajar gana sombra y se retira; al subir vuelve. */

.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 90;
  isolation: isolate;
  transition: transform 420ms var(--ease-out);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(28, 41, 73, .06);
  transition: box-shadow var(--t-panel) var(--ease-out), background-color var(--t-panel) var(--ease-out);
}
.site-header.is-stuck::before,
.site-header.is-open::before,
.site-header.is-menu::before { background: var(--white); box-shadow: 0 2px 6px rgba(19, 19, 22, .06), 0 14px 30px -24px rgba(16, 27, 51, .35); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-hidden .mega { visibility: hidden; }

.header-bar { position: relative; }
.hdr {
  display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px);
  block-size: var(--header-h);
  transition: block-size var(--t-panel) var(--ease-out);
}
.is-stuck .hdr { block-size: var(--header-h-stuck); }

.brand { flex: none; display: inline-flex; align-items: center; text-decoration: none; border-radius: 8px; }
.brand img { block-size: 40px; inline-size: auto; transition: block-size var(--t-panel) var(--ease-out); }
.is-stuck .brand img { block-size: 36px; }
.brand--footer { background: var(--white); padding: 14px 22px; border-radius: var(--r-pill); }
.brand--footer img { block-size: 52px; }

/* menú: texto limpio con subrayado que crece desde el centro */
.primary-nav { position: relative; }
.primary-nav__list { display: flex; align-items: center; gap: clamp(2px, .6vw, 10px); }
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 10px; min-block-size: 44px;
  font-size: .9375rem; font-weight: 500; color: var(--ink);
  text-decoration: none; white-space: nowrap;
  transition: color var(--t-micro) var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; inset-inline: 10px; inset-block-end: 6px; block-size: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0);
  transition: transform var(--t-panel) var(--ease-out);
}
.nav-link svg { inline-size: 15px; block-size: 15px; opacity: .55; transition: transform var(--t-panel) var(--ease-out), opacity var(--t-micro); }
.nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { color: var(--brand-700); font-weight: 600; }
.nav-link[aria-current="page"]::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); opacity: 1; }
@media (hover: hover) {
  .nav-link:hover { color: var(--brand-700); }
  .nav-link:hover::after { transform: scaleX(1); }
  .nav-link:hover svg { opacity: 1; }
}

/* acciones */
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; margin-inline-start: auto; }

/* buscador del header */
.hsearch { position: relative; }
.hsearch__field {
  display: flex; align-items: center; gap: 10px;
  inline-size: clamp(220px, 20vw, 300px); block-size: 44px; padding-inline: 16px 8px;
  border-radius: var(--r-pill);
  background: #F2F5F4; box-shadow: inset 0 0 0 1px transparent;
  transition: background-color var(--t-micro) var(--ease-out), box-shadow var(--t-micro) var(--ease-out), inline-size var(--t-panel) var(--ease-out);
}
.hsearch__field:focus-within { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--brand), 0 10px 24px -16px rgba(16, 27, 51, .4); }
.hsearch__ico { color: var(--muted); flex: none; }
.hsearch input {
  flex: 1 1 auto; min-inline-size: 0; block-size: 100%;
  border: 0; background: none; outline: none;
  font-size: .875rem; font-weight: 500; color: var(--ink);
}
.hsearch input::placeholder { color: var(--muted); }
.hsearch input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hsearch__kbd {
  display: grid; place-items: center; inline-size: 26px; block-size: 26px; border-radius: 8px;
  background: var(--white); box-shadow: 0 0 0 1px var(--line);
  font: 600 .75rem/1 var(--ff-ui); color: var(--muted);
}
.hsearch__field:focus-within .hsearch__kbd { display: none; }
.hsearch__panel {
  position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: 0; z-index: 30;
  inline-size: max(100%, 360px);
  background: var(--white); border-radius: 20px; padding: 8px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(16, 27, 51, .45);
  max-block-size: min(70vh, 460px); overflow-y: auto;
}
.hsearch__panel[hidden] { display: none; }
.hsearch__group { padding: 10px 12px 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-700); }
.hsearch__opt {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 14px;
  color: var(--ink); text-decoration: none; font-size: .9063rem; font-weight: 600; line-height: 1.3;
}
.hsearch__opt img { inline-size: 42px; block-size: 42px; border-radius: 10px; object-fit: cover; flex: none; }
.hsearch__opt small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.hsearch__opt mark { background: none; color: var(--brand-700); }
.hsearch__opt .hsearch__price { margin-inline-start: auto; font-size: .8125rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.hsearch__opt:hover, .hsearch__opt.is-active { background: #F2F5F4; }
.hsearch__empty { padding: 16px 12px; font-size: .875rem; color: var(--muted); }
.hsearch__all {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 6px 4px 2px; min-block-size: 44px; border-radius: 12px;
  background: var(--ink); color: var(--white); text-decoration: none; font-size: .875rem; font-weight: 600;
}
/* variante en bloque (menú móvil) */
.hsearch--block { margin-block: 8px 12px; }
.hsearch--block .hsearch__field { inline-size: 100%; block-size: 52px; }
.hsearch--block .hsearch__panel { position: static; inline-size: 100%; margin-block-start: 8px; box-shadow: 0 0 0 1px var(--line); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 12px;
  min-block-size: 44px; padding: 4px 4px 4px 18px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--ink);
  font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-micro) var(--ease-out), transform var(--t-micro) var(--ease-out);
}
.nav-cta__ico {
  display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 50%;
  background: var(--ink); color: var(--white);
}
.nav-cta__ico svg { transition: transform var(--t-panel) var(--ease-out); }
@media (hover: hover) {
  .nav-cta:hover { background: #F6A521; }
  .nav-cta:hover .nav-cta__ico svg { transform: rotate(45deg); }
}
.nav-cta:active { transform: scale(.98); }
.nav-account {
  display: grid; place-items: center; flex: none;
  inline-size: 44px; block-size: 44px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink);
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out), box-shadow var(--t-micro);
}
.nav-account svg { inline-size: 20px; block-size: 20px; }
@media (hover: hover) { .nav-account:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); } }

/* hamburguesa: dos trazos que se cruzan en una X */
.nav-burger {
  display: none; place-items: center; flex: none;
  inline-size: 46px; block-size: 46px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  transition: background-color var(--t-micro) var(--ease-out), transform var(--t-micro) var(--ease-out);
}
.nav-burger__lines { position: relative; inline-size: 18px; block-size: 12px; }
.nav-burger__lines i {
  position: absolute; inset-inline-end: 0; block-size: 2px; border-radius: 2px; background: currentColor;
  transition: transform 320ms var(--ease-out), inset-block-start 320ms var(--ease-out), inline-size 320ms var(--ease-out);
}
.nav-burger__lines i:nth-child(1) { inset-block-start: 1px; inline-size: 18px; }
.nav-burger__lines i:nth-child(2) { inset-block-start: 9px; inline-size: 11px; }
.nav-burger[aria-expanded="true"] .nav-burger__lines i { inset-block-start: 5px; inline-size: 18px; }
.nav-burger[aria-expanded="true"] .nav-burger__lines i:nth-child(1) { transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger__lines i:nth-child(2) { transform: rotate(-45deg); }
@media (hover: hover) {
  .nav-burger:hover { background: var(--ink-700); }
  .nav-burger:hover .nav-burger__lines i:nth-child(2) { inline-size: 18px; }
}
.nav-burger:active { transform: scale(.94); }

/* mega menú: panel flotante con esquinas amplias bajo la barra */
.mega {
  position: absolute; inset-inline: 0; inset-block-start: 100%;
  padding-block-start: 8px;
  opacity: 0; transform: translateY(-8px);
  transition: opacity var(--t-exit) var(--ease-in), transform var(--t-exit) var(--ease-in);
}
.mega > .container {
  background: var(--white);
  border-radius: 28px;
  padding: clamp(24px, 2.4vw, 36px);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -36px rgba(16, 27, 51, .42);
}
.mega[hidden] { display: none; }
.mega.is-open { opacity: 1; transform: none; transition: opacity var(--t-panel) var(--ease-out), transform var(--t-panel) var(--ease-out); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 340px; gap: var(--s-5); align-items: start; }
.mega__col h3 {
  font-family: var(--ff-ui); font-size: .6875rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700);
  margin-block-end: 12px; padding-block-end: 12px; border-block-end: 1px solid var(--line);
}
.mega__list { display: grid; gap: 2px; }
.mega__item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; margin-inline: -10px;
  border-radius: 14px; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: .9063rem; line-height: 1.3;
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
.mega__item > svg {
  inline-size: 40px; block-size: 40px; padding: 10px; flex: none;
  border-radius: 12px; background: var(--surface); color: var(--brand-700);
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
.mega__item img {
  inline-size: 44px; block-size: 44px; border-radius: 12px; object-fit: cover; flex: none;
  transition: transform var(--t-panel) var(--ease-out);
}
.mega__item small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); margin-block-start: 1px; }
@media (hover: hover) {
  .mega__item:hover { background: var(--surface); }
  .mega__item:hover > svg { background: var(--brand); color: var(--ink); }
  .mega__item:hover img { transform: scale(1.06); }
}
.mega__feature {
  position: relative; border-radius: 20px; overflow: hidden;
  text-decoration: none; color: var(--white); display: block;
}
.mega__feature img { aspect-ratio: 4 / 3.4; object-fit: cover; inline-size: 100%; block-size: auto; transition: transform 700ms var(--ease-out); }
@media (hover: hover) { .mega__feature:hover img { transform: scale(1.05); } }
.mega__feature-body {
  position: absolute; inset-block-end: 0; inset-inline: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(16, 27, 51, .9), rgba(16, 27, 51, 0));
}
.mega__feature-body h4 { color: var(--white); margin-block: 8px 4px; }
.mega__feature-body p { font-size: .8125rem; color: rgba(255, 255, 255, .85); }

/* menú móvil: panel a pantalla completa bajo la barra; el botón se convierte en X */
.mobile-nav {
  position: fixed; inset: 0; z-index: 85;
  padding-block-start: var(--header-h);
  background: var(--white);
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden; pointer-events: none;
  transition: clip-path 380ms var(--ease-in), visibility 0s linear 380ms;
}
.mobile-nav.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible; pointer-events: auto;
  transition: clip-path 520ms cubic-bezier(.7, 0, .2, 1), visibility 0s;
}
.mobile-nav__body { overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--pad) var(--s-5); }
.mobile-nav__eyebrow {
  font-size: .6875rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-700); padding-block: 8px 4px;
}
.m-link {
  inline-size: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-block-size: 62px; padding: 12px 0;
  font-family: var(--ff-display); font-size: clamp(1.5rem, 6vw, 1.875rem); font-weight: 600; letter-spacing: -.02em;
  color: var(--ink); text-align: start; text-decoration: none;
  border-block-end: 1px solid var(--line);
}
.m-link > svg { inline-size: 20px; block-size: 20px; color: var(--muted); transition: transform var(--t-micro) var(--ease-out), color var(--t-micro); }
.m-link[aria-current="page"] { color: var(--brand-700); }
.m-link[aria-current="page"] > svg { color: var(--brand-700); }
.m-link__ico {
  display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 50%;
  background: var(--surface); color: var(--ink); flex: none;
  transition: background-color var(--t-micro) var(--ease-out);
}
.m-link__ico svg { inline-size: 18px; block-size: 18px; transition: transform var(--t-panel) var(--ease-out); }
.m-link[aria-expanded="true"] .m-link__ico { background: var(--ink); color: var(--white); }
.m-link[aria-expanded="true"] .m-link__ico svg { transform: rotate(180deg); }
@media (hover: hover) { .m-link:hover > svg { transform: translateX(4px); color: var(--ink); } }

.m-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-block: 14px 18px; }
.m-panel[hidden] { display: none; }
@media (min-width: 640px) { .m-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.m-tile { display: grid; gap: 8px; text-decoration: none; color: var(--ink); font-size: .9375rem; font-weight: 700; line-height: 1.25; }
.m-tile img { inline-size: 100%; block-size: auto; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 14px; }
.m-tile small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); margin-block-start: 2px; }
.m-all {
  grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-block-size: 48px; border-radius: var(--r-pill); background: var(--surface);
  font-weight: 700; font-size: .9375rem; color: var(--ink); text-decoration: none;
}
.m-contact { display: grid; gap: 4px; padding-block-start: 24px; }
.m-contact > a {
  display: inline-flex; align-items: center; gap: 10px; min-block-size: 40px;
  font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none;
}
.m-contact svg { color: var(--brand-700); }
.m-social { display: flex; gap: 8px; padding-block-start: 10px; }
.m-social a {
  display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%;
  background: var(--surface); color: var(--ink);
}
.mobile-nav__foot {
  display: flex; gap: 10px;
  padding: 14px var(--pad) calc(14px + env(safe-area-inset-bottom));
  border-block-start: 1px solid var(--line); background: var(--white);
}

.nav-scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(16, 27, 51, .32);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-panel) var(--ease-out);
}
.nav-scrim.is-on { opacity: 1; pointer-events: auto; }
body.is-locked { overflow: hidden; }

/* el header flota sobre la primera sección: se le suma su altura como aire superior */
main > .page-head:first-child { padding-block-start: calc(var(--header-h) + clamp(40px, 6vw, 72px)); }

/* — responsive de la cabecera — */
@media (max-width: 1360px) {
  .hsearch__field { inline-size: 200px; }
  .nav-link { padding-inline: 8px; }
  .nav-link::after { inset-inline: 8px; }
}
@media (max-width: 1240px) {
  /* el buscador se pliega en un círculo y se despliega al enfocarlo */
  .hsearch { inline-size: 44px; block-size: 44px; }
  .hsearch__field { position: absolute; inset-block-start: 0; inset-inline-end: 0; inline-size: 44px; padding-inline: 14px; justify-content: center; z-index: 5; cursor: text; }
  .hsearch__field input { flex: 0 0 0; inline-size: 0; }
  .hsearch__kbd { display: none; }
  .hsearch__field:focus-within { inline-size: 320px; justify-content: flex-start; }
  .hsearch__field:focus-within input { flex: 1 1 auto; }
  .nav-cta__more { display: none; }
}
@media (max-width: 1080px) {
  .primary-nav, .hsearch, .nav-account { display: none; }
  .nav-burger { display: grid; }
  .nav-cta__more { display: inline; }
  .mega { display: none !important; }
}
@media (max-width: 480px) {
  .hdr { gap: 8px; }
  .brand img, .is-stuck .brand img { block-size: 30px; }
  .nav-cta { display: none; }
  .nav-cta__more { display: none; }
  .nav-cta__ico { inline-size: 34px; block-size: 34px; }
  .nav-burger { margin-inline-start: auto; }
  .nav-burger { inline-size: 44px; block-size: 44px; }
}
@media (max-width: 350px) {
  .nav-cta__ico { display: none; }
  .nav-cta { padding-inline: 16px; }
}

/* =============================== modal ================================= */

.modal {
  position: fixed; inset: 0; z-index: 130;
  display: grid; place-items: center; padding: var(--pad);
  background: rgba(16, 27, 51, .52);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity var(--t-exit) var(--ease-in),
              visibility 0s linear var(--t-exit);
}
.modal.is-open {
  opacity: 1; pointer-events: auto; visibility: visible;
  transition: opacity var(--t-panel) var(--ease-out), visibility 0s;
}
.modal__card {
  inline-size: min(100%, 420px);
  background: var(--white); border-radius: var(--r-card);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--sh-lift);
  max-block-size: calc(100vh - (var(--pad) * 2));
  overflow-y: auto;
  transform: translateY(14px) scale(.985);
  transition: transform var(--t-panel) var(--ease-out);
}
.modal.is-open .modal__card { transform: none; }
.modal__head { justify-content: space-between; }
.modal__head h2 { font-size: 1.5rem; }
.modal__alt { font-size: .8125rem; text-align: center; }
.modal__alt a { color: var(--brand-700); font-weight: 700; }

/* ============================ preguntas ================================ */

.faq { --od-gap: 12px; display: grid; gap: 12px; max-inline-size: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-media); background: var(--white); overflow: hidden; }
.faq__head {
  inline-size: 100%; display: flex; align-items: center; gap: 16px; justify-content: space-between;
  padding: 20px 24px; min-block-size: 64px; text-align: start;
  font-family: var(--ff-display); font-size: 1.0625rem; font-weight: 600; color: var(--ink);
}
.faq__head svg { color: var(--brand-700); flex: none; transition: transform var(--t-micro) var(--ease-out); }
.faq__head[aria-expanded="true"] { background: var(--surface); }
.faq__head[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__body { padding: 0 24px 22px; max-inline-size: 68ch; }
.faq__body[hidden] { display: none; }

/* ================================ hero ================================= */
/* Composición centrada: titular, buscador y un collage de fotos que flota
   a ambos lados y se corta en los bordes, con los Andes en las esquinas. */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: calc(var(--header-h) + clamp(56px, 7vw, 96px)) clamp(96px, 11vw, 150px);
  background:
    radial-gradient(40% 60% at 50% 38%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(60% 80% at 100% 0%, var(--brand-050) 0%, transparent 60%),
    radial-gradient(50% 70% at 0% 100%, var(--accent-050) 0%, transparent 60%),
    var(--white);
}
main > .hero:first-child { padding-block-start: calc(var(--header-h) + clamp(56px, 7vw, 96px)); }

.hero__center { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 18px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: var(--r-pill);
  background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 8px 20px -14px rgba(16, 27, 51, .35);
  font-size: .8125rem; font-weight: 700; color: var(--ink);
}
.hero__eyebrow::before {
  content: ""; inline-size: 22px; block-size: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2949' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 19 7-12 4 6.5 2-3 5 8.5z'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 700;
  max-inline-size: 15ch;
}
.hero__hl { position: relative; display: inline-block; font-weight: 700; color: var(--brand-700); }
.hero__hl svg {
  position: absolute; inset-inline: 2% 0; inset-block-end: -.12em; inline-size: 98%; block-size: .22em;
  color: var(--accent); z-index: -1;
}
.hero__sub { font-size: clamp(1rem, 1.3vw, 1.1875rem); color: var(--muted); max-inline-size: 46ch; }
.hero__sub b { color: var(--ink); }
.hero .searchbar { inline-size: min(100%, 980px); margin-block-start: 14px; text-align: start; }
.hero__popular {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  margin: 26px auto 0; padding-block-start: 22px; inline-size: min(100%, 720px);
  border-block-start: 1px dashed var(--line-2);
  font-size: .875rem;
}
.hero__popular b { color: var(--ink); font-weight: 600; margin-inline-end: 4px; }
.hero__chip {
  display: inline-flex; align-items: center; min-block-size: 38px; padding: 6px 16px; border-radius: var(--r-pill);
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2);
  font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out), box-shadow var(--t-micro);
}
@media (hover: hover) { .hero__chip:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1px var(--ink); } }

/* collage lateral */
.hero__tiles {
  position: absolute; z-index: 1; inset-block-start: calc(var(--header-h) + 36px);
  inline-size: 360px; block-size: 280px;
  transform-origin: top left;
}
.hero__tiles--left { inset-inline-start: 0; }
.hero__tiles--right { inset-inline-end: 0; transform-origin: top right; }
.hero__tile {
  position: absolute; margin: 0; inset-block-start: var(--y);
  inline-size: var(--w); block-size: var(--h);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 34px -20px rgba(16, 27, 51, .45);
  will-change: transform;
}
.hero__tiles--left .hero__tile { inset-inline-start: var(--x); }
.hero__tiles--right .hero__tile { inset-inline-end: var(--x); }
.hero__tile img { inline-size: 100%; block-size: 100%; object-fit: cover; }

.hero__route {
  position: absolute; z-index: 0; inset-block-start: calc(var(--header-h) + 318px); inset-inline-start: 4%;
  inline-size: 200px; color: rgba(28, 41, 73, .28);
}
.hero__andes {
  position: absolute; z-index: 0; inset-block-end: 0; inline-size: min(34vw, 460px); block-size: 150px;
  color: var(--brand); opacity: .22;
}
.hero__andes--left { inset-inline-start: 0; }
.hero__andes--right { inset-inline-end: 0; color: var(--accent); opacity: .28; }

@media (max-width: 1360px) { .hero__tiles { transform: scale(.84); } .hero__route { inset-block-start: calc(var(--header-h) + 270px); } }
@media (max-width: 1200px) { .hero__tiles { transform: scale(.7); } .hero__route { display: none; } }
@media (max-width: 1040px) {
  .hero { padding-block-start: calc(var(--header-h) + 196px) !important; }
  .hero__tiles { inset-block-start: calc(var(--header-h) + 20px); transform: scale(.62); }
  .hero__tiles--left .hero__tile:nth-child(n+4), .hero__tiles--right .hero__tile:nth-child(n+4) { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-block-start: calc(var(--header-h) + 150px) !important; }
  .hero__tiles { transform: scale(.48); }
  .hero__andes { block-size: 90px; inline-size: 60vw; }
}

/* buscador */
.searchbar { position: relative; z-index: 3; }
.searchbar__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: clamp(20px, 3vw, 28px);
  box-shadow: 0 30px 60px -34px rgba(16, 27, 51, .4);
  padding: 12px;
}
.searchbar__row { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto auto; gap: 8px; align-items: stretch; }
.searchbar__cell {
  --od-gap: 2px;
  position: relative;
  padding: 12px 18px; border-radius: var(--r-input);
  transition: background-color var(--t-micro) var(--ease-out);
}
.searchbar__cell + .searchbar__cell { box-shadow: inset 1px 0 0 var(--line); }
.searchbar__cell:focus-within { background: var(--surface); box-shadow: none; }
.searchbar__cell label, .searchbar__cell .field__label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.searchbar__cell .bare {
  inline-size: 100%; border: 0; padding: 2px 0; background: none;
  font-weight: 700; color: var(--ink); font-size: .9375rem;
}
.searchbar__cell .bare::placeholder { color: var(--muted); font-weight: 600; }
.searchbar__cell .bare:focus { outline: none; }
.searchbar__submit { align-self: stretch; }
.searchbar__submit .btn { block-size: 100%; }
.searchbar__popular { --od-gap: 8px; padding: 12px 14px 4px; font-size: .8125rem; justify-content: center; }
.searchbar__popular b { color: var(--ink); font-weight: 700; }
.searchbar__popular a { text-decoration: none; }

.suggest {
  position: absolute; inset-inline: 0; inset-block-start: calc(100% + 8px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-input);
  box-shadow: var(--sh-lift); padding: 8px; z-index: 20;
  max-block-size: 320px; overflow-y: auto;
}
.suggest[hidden] { display: none; }
.suggest button {
  inline-size: 100%; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px; text-align: start;
  font-weight: 600; color: var(--ink); font-size: .9375rem;
}
.suggest img { inline-size: 36px; block-size: 36px; border-radius: 8px; object-fit: cover; flex: none; }
.suggest small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.suggest button:hover, .suggest button.is-active { background: var(--brand-050); }

/* ========================= tarjeta de tour (2026) ======================= */
/* Imagen protagonista con marco interior, etiquetas de vidrio, cuerpo sin
   bordes y un pie de precio + CTA pensado para convertir. */

.tours-grid { --od-cols: 4; --od-gap: clamp(16px, 1.8vw, 28px); }
@media (max-width: 1319px) { .tours-grid { --od-cols: 3; } }
@media (max-width: 860px)  { .tours-grid { --od-cols: 2; } }
@media (max-width: 560px)  { .tours-grid { --od-cols: 1; } }

.tour-card {
  --tc-r: 26px;
  --tc-pad: 8px;
  position: relative;
  background: var(--white);
  border-radius: var(--tc-r);
  box-shadow: 0 1px 2px rgba(16, 27, 51, .04), 0 12px 32px -22px rgba(16, 27, 51, .22);
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.tour-card[hidden] { display: none; }
.tour-card__link {
  display: grid; grid-template-rows: auto 1fr;
  block-size: 100%; padding: var(--tc-pad);
  color: inherit; text-decoration: none;
  border-radius: inherit;
}
.tour-card__link:focus-visible { outline-offset: 4px; border-radius: var(--tc-r); }

/* imagen */
.tour-card__media {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: calc(var(--tc-r) - var(--tc-pad));
  aspect-ratio: 5 / 4;
  background: var(--surface);
}
.tour-card__img {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 900ms cubic-bezier(.16, 1, .3, 1);
}
.tour-card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(16, 27, 51, .28) 0%, rgba(16, 27, 51, 0) 32%),
    linear-gradient(to top, rgba(16, 27, 51, .55) 0%, rgba(16, 27, 51, 0) 42%);
}
.tour-card__badges {
  position: absolute; z-index: 2; inset-block-start: 12px; inset-inline: 12px 64px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px 6px 9px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .75rem; font-weight: 700; letter-spacing: .01em; color: var(--ink); line-height: 1.2;
  white-space: nowrap;
}
.tc-tag svg { inline-size: 14px; block-size: 14px; color: var(--brand-700); }
.tc-tag--hot { background: var(--accent); }
.tc-tag--hot svg { color: var(--ink); }
.tour-card__loc {
  position: absolute; z-index: 2; inset-block-end: 12px; inset-inline: 14px 14px;
  display: flex; align-items: center; gap: 6px;
  font-size: .8125rem; font-weight: 700; color: var(--white);
  text-shadow: 0 1px 8px rgba(16, 27, 51, .45);
}
.tour-card__loc svg { inline-size: 15px; block-size: 15px; flex: none; }

/* favorito */
.tour-card__fav {
  position: absolute; z-index: 3;
  inset-block-start: calc(var(--tc-pad) + 10px); inset-inline-end: calc(var(--tc-pad) + 10px);
  display: grid; place-items: center;
  inline-size: 42px; block-size: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out), transform var(--t-micro) var(--ease-out);
}
.tour-card__fav .ico { inline-size: 19px; block-size: 19px; fill: none; transition: fill var(--t-micro) var(--ease-out); }
.tour-card__fav[aria-pressed="true"] { background: var(--white); color: var(--alert); }
.tour-card__fav[aria-pressed="true"] .ico { fill: currentColor; }
.tour-card__fav:active { transform: scale(.9); }

/* cuerpo */
.tour-card__body {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 12px 8px;
}
.tour-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tc-rating { display: inline-flex; align-items: center; gap: 5px; font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.tc-rating svg { inline-size: 15px; block-size: 15px; color: var(--accent); }
.tc-rating b { font-weight: 800; color: var(--ink); }
.tc-dur {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--r-pill); background: var(--brand-050);
  font-size: .75rem; font-weight: 700; color: var(--brand-700); white-space: nowrap;
}
.tc-dur svg { inline-size: 14px; block-size: 14px; }
.tour-card__title {
  font-size: 1.1875rem; line-height: 1.28; letter-spacing: -.01em;
  min-block-size: calc(2 * 1.28em);
  transition: color var(--t-micro) var(--ease-out);
}
.tour-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.tour-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.tour-card__meta svg { inline-size: 15px; block-size: 15px; color: var(--muted); opacity: .8; }

/* pie: precio + CTA */
.tour-card__foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin-block-start: auto; padding-block-start: 14px;
}
.tc-price { display: grid; gap: 2px; min-width: 0; }
.tc-price__label {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: .75rem; font-weight: 600; color: var(--muted);
}
.tc-price__old { font-weight: 600; text-decoration-thickness: 1px; }
.tc-price__off {
  padding: 1px 7px; border-radius: var(--r-pill);
  background: rgba(198, 58, 43, .1); color: var(--alert); font-weight: 800; font-size: .6875rem;
}
.tc-price__value {
  display: flex; align-items: baseline; gap: 4px; white-space: nowrap;
  font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink);
}
.tc-price__value small { font-family: var(--ff-ui); font-size: .75rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.tour-card__cta {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-block-size: 44px; padding: 4px 4px 4px 16px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--white);
  font-size: .8438rem; font-weight: 700; white-space: nowrap;
  transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out), padding 400ms var(--ease-out);
}
.tour-card__cta-ico {
  display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); overflow: hidden;
  transition: background-color 400ms var(--ease-out);
}
.tour-card__cta-ico svg { inline-size: 16px; block-size: 16px; transition: transform 400ms var(--ease-out); }

@media (hover: hover) {
  .tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1px 2px rgba(16, 27, 51, .04), 0 30px 60px -30px rgba(16, 27, 51, .38);
  }
  .tour-card:hover .tour-card__img { transform: scale(1.07); }
  .tour-card:hover .tour-card__title { color: var(--brand-700); }
  .tour-card:hover .tour-card__cta { background: var(--accent); color: var(--ink); padding-inline-start: 20px; }
  .tour-card:hover .tour-card__cta-ico { background: var(--ink); color: var(--white); }
  .tour-card:hover .tour-card__cta-ico svg { animation: tc-arrow 600ms var(--ease-out); }
  .tour-card__fav:hover { background: var(--white); color: var(--alert); transform: scale(1.06); }
}
@keyframes tc-arrow {
  0%   { transform: translateX(0); }
  45%  { transform: translateX(140%); }
  46%  { transform: translateX(-140%); }
  100% { transform: translateX(0); }
}
.tour-card:focus-within { box-shadow: 0 1px 2px rgba(16, 27, 51, .04), 0 30px 60px -30px rgba(16, 27, 51, .38); }

@media (max-width: 560px) {
  .tour-card__media { aspect-ratio: 16 / 11; }
  .tour-card__title { min-block-size: 0; }
}

/* precio genérico (reserva en el detalle del tour) */
.price { --od-gap: 0; }
.price__label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price__value { font-family: var(--ff-display); font-size: 1.375rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.price__value small { font-family: var(--ff-ui); font-size: .8125rem; font-weight: 600; color: var(--muted); }
.price__old { font-size: .8125rem; font-weight: 600; color: var(--muted); text-decoration: line-through; text-transform: none; letter-spacing: 0; }

/* filtros de categoría */
.catfilter { --od-gap: 10px; --od-rail-pad: 0px; }
.catfilter button {
  padding: 10px 20px; min-block-size: 44px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); background: var(--white);
  font-weight: 700; font-size: .875rem; color: var(--ink); white-space: nowrap;
  transition: background-color var(--t-micro) var(--ease-out), border-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
.catfilter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (hover: hover) { .catfilter button:hover { border-color: var(--ink); } }

/* ============================== ofertas ================================ */

.offers { --od-cols: 2; --od-gap: 24px; }
@media (max-width: 860px) { .offers { --od-cols: 1; } }
.offer {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  min-block-size: 340px; display: flex; align-items: flex-end;
  color: var(--white); text-decoration: none;
}
.offer img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.offer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 27, 51, .9) 12%, rgba(16, 27, 51, .25) 62%, rgba(16, 27, 51, .05));
}
.offer__body { position: relative; z-index: 1; padding: clamp(24px, 3vw, 36px); --od-gap: 12px; }
.offer__body h3 { color: var(--white); max-width: 16ch; }
.offer__body p { color: rgba(255, 255, 255, .88); max-width: 34ch; font-size: .9375rem; }
.offer__pct {
  font-family: var(--ff-display); font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1; color: var(--accent); font-weight: 700;
}
@media (hover: hover) { .offer:hover img { transform: scale(1.05); } }

/* ============================= destinos ================================ */

.dest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dest-grid > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dest-grid > :nth-child(1) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 520px) { .dest-grid { grid-template-columns: 1fr; } }
.dest {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-card); min-block-size: 220px;
  color: var(--white); text-decoration: none;
}
.dest-grid > :nth-child(1).dest { min-block-size: 460px; }
@media (max-width: 900px) { .dest-grid > :nth-child(1).dest { min-block-size: 300px; } }
.dest img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.dest::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 27, 51, .88) 5%, rgba(16, 27, 51, .15) 55%, transparent);
}
.dest__body { position: absolute; inset-block-end: 0; inset-inline: 0; z-index: 1; padding: 20px; --od-gap: 4px; }
.dest__body h3 { color: var(--white); font-size: 1.375rem; }
.dest__body span { font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .86); }
.dest__go {
  position: absolute; inset-block-start: 16px; inset-inline-end: 16px; z-index: 1;
  inline-size: 40px; block-size: 40px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px);
  transition: background-color var(--t-micro) var(--ease-out), transform var(--t-micro) var(--ease-out);
}
.dest__go svg { inline-size: 18px; block-size: 18px; }
@media (hover: hover) {
  .dest:hover img { transform: scale(1.06); }
  .dest:hover .dest__go { background: var(--accent); color: var(--ink); transform: rotate(-45deg); }
}

.dest__alt {
  position: absolute; z-index: 1; inset-block-start: 16px; inset-inline-start: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(16, 27, 51, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .75rem; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums;
}
.dest__alt svg { inline-size: 14px; block-size: 14px; color: var(--accent); }

/* ============================ contadores =============================== */

.counters { --od-cols: 4; --od-gap: 24px; }
@media (max-width: 800px) { .counters { --od-cols: 2; } }
.counter { --od-gap: 6px; text-align: center; padding: 8px; }
.counter b {
  font-family: var(--ff-display); font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700; color: var(--white); line-height: 1;
}
.counter span { font-size: .875rem; font-weight: 600; color: var(--on-dark); }
.section--ink .counter b { color: var(--accent); }

/* ============================== aliados ================================ */

.partners { --od-gap: 16px; justify-content: center; }
.partner {
  --od-gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  border: 1px dashed var(--line-2); background: var(--white);
  font-family: var(--ff-display); font-size: 1.0625rem; font-weight: 600; color: var(--ink);
  letter-spacing: -.01em;
}
.partner svg { color: var(--brand-700); }

/* ============================ testimonios ============================== */

.testi-grid { --od-cols: 3; --od-gap: 24px; align-items: start; }
@media (max-width: 960px) { .testi-grid { --od-cols: 1; } }
.testi {
  --od-gap: 18px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: clamp(24px, 3vw, 32px);
}
.testi blockquote { font-family: var(--ff-display); font-size: 1.125rem; line-height: 1.5; color: var(--ink); }
.testi__who { --od-gap: 12px; }
.testi__who img { inline-size: 48px; block-size: 48px; border-radius: var(--r-pill); object-fit: cover; }
.testi__who div b { display: block; color: var(--ink); font-size: .9375rem; }
.testi__who div span { display: block; font-size: .8125rem; color: var(--muted); }
.score {
  --od-gap: 16px;
  display: inline-flex; align-items: center;
  background: var(--ink); color: var(--white);
  border-radius: var(--r-pill); padding: 14px 26px 14px 20px;
}
.score b { font-family: var(--ff-display); font-size: 2rem; line-height: 1; color: var(--accent); }
.score span { font-size: .8125rem; color: var(--on-dark); display: block; }
.score .stars { --od-gap: 2px; }
.score .stars svg { inline-size: 15px; block-size: 15px; color: var(--accent); }

/* ============================== sobre =================================== */

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about__media { position: relative; }
.about__media img { border-radius: var(--r-card); inline-size: 100%; }
.about__badge {
  position: absolute; inset-block-end: -20px; inset-inline-start: -12px;
  background: var(--accent); color: var(--ink);
  border-radius: var(--r-card); padding: 18px 24px;
  box-shadow: var(--sh-lift); max-inline-size: 220px; --od-gap: 4px;
}
.about__badge b { font-family: var(--ff-display); font-size: 1.75rem; line-height: 1; }
.about__badge span { font-size: .8125rem; font-weight: 700; }
.about__copy { --od-gap: 24px; }
.feature-list { --od-gap: 18px; }
.feature { --od-gap: 14px; }
.feature__ico {
  inline-size: 48px; block-size: 48px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand-700);
}
.feature h4 { margin-block-end: 2px; }
.feature p { font-size: .9375rem; }

/* ============================== guías ================================== */

.guides { --od-cols: 4; --od-gap: 24px; }
@media (max-width: 960px) { .guides { --od-cols: 2; } }
@media (max-width: 520px) { .guides { --od-cols: 1; } }
.guide { --od-gap: 14px; text-align: center; }
.guide__avatar {
  position: relative; aspect-ratio: 1; border-radius: var(--r-card);
  display: grid; place-items: center; overflow: hidden;
  background: var(--brand-050);
  font-family: var(--ff-display); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700;
  color: var(--brand-700);
  border: 1px solid var(--line);
}
.guide:nth-child(2n) .guide__avatar { background: var(--accent-050); color: var(--accent-700); }
.guide__avatar span[aria-hidden="true"] { letter-spacing: .02em; }
.guide h4 { margin-block-end: 0; }
.guide p { font-size: .875rem; }
.guide__social { --od-gap: 8px; justify-content: center; }
.guide__social a {
  inline-size: 36px; block-size: 36px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink);
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
.guide__social svg { inline-size: 16px; block-size: 16px; }
@media (hover: hover) { .guide__social a:hover { background: var(--brand); color: var(--ink); } }

/* =============================== blog ================================== */

.posts { --od-cols: 3; --od-gap: 24px; }
@media (max-width: 900px) { .posts { --od-cols: 1; } }
.post { --od-gap: 0; color: inherit; text-decoration: none; display: block; }
.post__media { position: relative; border-radius: var(--r-card); overflow: hidden; }
.post__media img { transition: transform 500ms var(--ease-out); }
.post__date {
  position: absolute; inset-block-start: 14px; inset-inline-start: 14px;
  background: var(--white); border-radius: 12px; padding: 8px 14px;
  text-align: center; box-shadow: var(--sh-card);
}
.post__date b { display: block; font-family: var(--ff-display); font-size: 1.25rem; line-height: 1; color: var(--ink); }
.post__date span { display: block; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.post__body { --od-gap: 10px; padding-block-start: 18px; }
.post__tags { --od-gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--brand-700); }
.post h3 { font-size: 1.25rem; transition: color var(--t-micro) var(--ease-out); }
@media (hover: hover) {
  .post:hover img { transform: scale(1.05); }
  .post:hover h3 { color: var(--brand-700); }
}

/* ============================ newsletter =============================== */

.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(16, 27, 51, .94) 0%, rgba(16, 27, 51, .8) 45%, rgba(16, 27, 51, .35) 100%),
    url("../img/tours/machu-picchu.jpg") center 40% / cover no-repeat,
    var(--ink-900);
  color: var(--on-dark);
  min-block-size: 340px;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-5); align-items: center;
}
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band h2 { color: var(--white); max-width: 18ch; font-size: clamp(2rem, 3.8vw, 3.25rem); }
.cta-band .newsletter { background: rgba(255, 255, 255, .1); padding: 14px; border-radius: 20px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cta-band label { color: var(--white); }
.newsletter { --od-gap: 10px; }
.newsletter .input { min-inline-size: 260px; }
.newsletter__note { font-size: .8125rem; margin-block-start: 10px; }

/* ============================== footer ================================= */
/* Claro, como la referencia: franja de marca arriba, columnas y barra inferior. */

.site-footer { background: var(--brand-050); color: var(--muted); padding-block: clamp(56px, 7vw, 88px) 0; border-block-start: 1px solid rgba(44, 120, 97, .22); }
.site-footer h4 {
  font-family: var(--ff-ui); font-size: .8125rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  margin-block-end: 18px;
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  padding-block-end: clamp(32px, 4vw, 48px); margin-block-end: clamp(32px, 4vw, 48px);
  border-block-end: 1px solid var(--line);
}
.footer-top .brand img { block-size: 48px; }
.footer-top__claim { flex: 1 1 320px; max-inline-size: 48ch; font-size: .9688rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: var(--s-5); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { --od-gap: 20px; max-inline-size: 320px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { text-decoration: none; font-size: .9375rem; color: var(--muted); transition: color var(--t-micro) var(--ease-out); }
@media (hover: hover) { .footer-links a:hover { color: var(--brand-700); } }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.footer-contact a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer-contact svg { color: var(--brand-700); margin-block-start: 4px; flex: none; }
.social { display: flex; gap: 10px; }
.social a {
  inline-size: 42px; block-size: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
.social svg { inline-size: 17px; block-size: 17px; }
@media (hover: hover) { .social a:hover { background: var(--ink); color: var(--white); } }
.footer-bottom {
  --od-gap: 20px; flex-wrap: wrap; justify-content: space-between;
  margin-block-start: clamp(40px, 5vw, 64px);
  padding-block: 24px calc(24px + env(safe-area-inset-bottom));
  border-block-start: 1px solid var(--line);
  font-size: .8125rem;
}
.pay { --od-gap: 8px; }
.pay li { display: grid; place-items: center; block-size: 40px; padding-inline: 14px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.pay img { block-size: 20px; inline-size: auto; max-inline-size: 96px; object-fit: contain; }
.pay li:has(img[alt="Yape"]) { padding-inline: 8px; }
.pay img[alt="Yape"] { block-size: 26px; }
.pay img[alt="PagoEfectivo"] { block-size: 14px; }
.pay img[alt="Visa"] { block-size: 16px; }
.pay img[alt="Mastercard"] { block-size: 26px; }
.credits { font-size: .75rem; line-height: 1.7; color: var(--muted); padding-block-end: 32px; }
.credits a { color: inherit; }

/* ======================== listado de tours ============================= */

.page-head {
  background:
    radial-gradient(70% 90% at 90% 10%, var(--brand-050) 0%, transparent 62%),
    var(--surface);
  padding-block: clamp(40px, 6vw, 72px);
  border-block-end: 1px solid var(--line);
}
.crumbs { --od-gap: 8px; font-size: .8125rem; font-weight: 600; margin-block-end: 16px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs svg { inline-size: 14px; block-size: 14px; color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }

.listing { display: grid; grid-template-columns: 296px minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
@media (max-width: 1000px) { .listing { grid-template-columns: 1fr; } }

.filters {
  position: sticky; inset-block-start: calc(var(--header-h) + 16px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 24px;
  --od-gap: 26px; display: grid;
}
@media (max-width: 1000px) {
  .filters { position: static; }
  .filters[hidden] { display: none; }
}
.filters__group { --od-gap: 12px; display: grid; }
.filters__group > h3 {
  font-family: var(--ff-ui); font-size: .75rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.check { display: flex; align-items: center; gap: 12px; min-block-size: 36px; cursor: pointer; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.check input { inline-size: 20px; block-size: 20px; accent-color: var(--brand-700); flex: none; }
.check span.count { margin-inline-start: auto; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.range-out { --od-gap: 8px; justify-content: space-between; font-size: .875rem; font-weight: 700; color: var(--ink); }
input[type="range"] { inline-size: 100%; accent-color: var(--brand-700); }

.listing__bar {
  --od-gap: 16px; justify-content: space-between;
  padding: 14px 18px; margin-block-end: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
}
.listing__count { font-size: .9375rem; font-weight: 600; }
.listing__count b { color: var(--ink); }
.viewtoggle { --od-gap: 4px; padding: 4px; background: var(--white); border-radius: var(--r-pill); border: 1px solid var(--line); }
.viewtoggle button {
  inline-size: 40px; block-size: 36px; border-radius: var(--r-pill);
  display: grid; place-items: center; color: var(--muted);
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
.viewtoggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.results { --od-cols: 3; --od-gap: 24px; }
@media (max-width: 1280px) { .results { --od-cols: 2; } }
@media (max-width: 620px)  { .results { --od-cols: 1; } }

/* vista lista */
.results.is-list { --od-cols: 1; }
.results.is-list .tour-card__link { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); grid-template-rows: auto; column-gap: 12px; }
.results.is-list .tour-card__media { aspect-ratio: auto; min-block-size: 240px; }
.results.is-list .tour-card__body { padding: 16px 16px 12px; }
.results.is-list .tour-card__title { font-size: 1.375rem; min-block-size: 0; }
.results.is-list .tour-card__top { padding-inline-end: 52px; }
@media (max-width: 680px) {
  .results.is-list .tour-card__link { grid-template-columns: 1fr; }
  .results.is-list .tour-card__media { aspect-ratio: 16 / 11; min-block-size: 0; }
}

.empty {
  --od-gap: 16px; text-align: center;
  display: grid; justify-items: center;
  padding: clamp(40px, 6vw, 72px) var(--s-4);
  background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-card);
}
.empty[hidden] { display: none; }
.empty__ico { inline-size: 64px; block-size: 64px; border-radius: var(--r-pill); display: grid; place-items: center; background: var(--white); color: var(--brand-700); }
.empty p { max-width: 42ch; margin-inline: auto; }

.pager { --od-gap: 8px; justify-content: center; margin-block-start: var(--s-6); }
.pager button, .pager a {
  min-inline-size: 44px; min-block-size: 44px; padding: 0 14px;
  display: inline-grid; place-items: center; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--white);
  font-weight: 700; color: var(--ink); text-decoration: none;
}
.pager [aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pager button[disabled] { opacity: .4; }

.filters-open { display: none; }
@media (max-width: 1000px) { .filters-open { display: inline-flex; } }

/* ========================== detalle de tour ============================ */

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 12px; }
.gallery > * { border-radius: var(--r-media); overflow: hidden; margin: 0; position: relative; }
.gallery > :first-child { grid-row: span 2; }
.gallery img { inline-size: 100%; block-size: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery > :first-child img { aspect-ratio: 4 / 3.2; }
@media (max-width: 780px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > :first-child { grid-column: span 2; grid-row: auto; }
}
.gallery__more {
  position: absolute; inset-block-end: 14px; inset-inline-end: 14px;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  border-radius: var(--r-pill); padding: 10px 18px; font-size: .8125rem; font-weight: 700;
}

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 1020px) { .detail { grid-template-columns: 1fr; } }

.tabs { border-block-end: 1px solid var(--line); margin-block-end: var(--s-5); --od-rail-pad: 0px; }
.tabs button {
  padding: 16px 4px; margin-inline-end: 28px; min-block-size: 52px;
  font-weight: 700; font-size: .9375rem; color: var(--muted);
  border-block-end: 3px solid transparent; margin-block-end: -1px;
  transition: color var(--t-micro) var(--ease-out), border-color var(--t-micro) var(--ease-out);
}
.tabs button[aria-selected="true"] { color: var(--ink); border-block-end-color: var(--accent); }
@media (hover: hover) { .tabs button:hover { color: var(--ink); } }
.tabpanel[hidden] { display: none; }
.tabpanel { --od-gap: 24px; display: grid; }
.prose { --od-gap: 16px; display: grid; }
.prose h3 { font-size: 1.375rem; }
.prose ul { --od-gap: 10px; display: grid; }
.prose ul li { display: flex; gap: 12px; align-items: flex-start; }
.prose ul svg { color: var(--brand-700); margin-block-start: 5px; flex: none; }
.prose ul.is-excluded svg { color: var(--alert); }

.itinerary { --od-gap: 12px; display: grid; }
.day { border: 1px solid var(--line); border-radius: var(--r-media); overflow: hidden; background: var(--white); }
.day__head {
  inline-size: 100%; display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; min-block-size: 64px; text-align: start;
}
.day__n {
  inline-size: 40px; block-size: 40px; border-radius: var(--r-pill); flex: none;
  display: grid; place-items: center; background: var(--brand-050); color: var(--brand-700);
  font-family: var(--ff-display); font-weight: 700;
}
.day__head b { flex: 1 1 auto; color: var(--ink); font-size: 1rem; }
.day__head svg { color: var(--muted); transition: transform var(--t-micro) var(--ease-out); }
.day__head[aria-expanded="true"] { background: var(--surface); }
.day__head[aria-expanded="true"] svg { transform: rotate(180deg); }
.day__head[aria-expanded="true"] .day__n { background: var(--accent); color: var(--ink); }
.day__body { padding: 4px 20px 22px 76px; }
.day__body[hidden] { display: none; }

.booking {
  position: sticky; inset-block-start: calc(var(--header-h) + 16px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--sh-card);
  padding: 24px; --od-gap: 20px; display: grid;
}
@media (max-width: 1020px) { .booking { position: static; } }
.booking__price { --od-gap: 4px; padding-block-end: 20px; border-block-end: 1px solid var(--line); }
.booking__price .price__value { font-size: 2rem; }
.stepper { --od-gap: 12px; }
.stepper button {
  inline-size: 40px; block-size: 40px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--ink);
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
.stepper button[disabled] { opacity: .4; cursor: not-allowed; }
.stepper output { min-inline-size: 32px; text-align: center; font-weight: 800; color: var(--ink); }
@media (hover: hover) { .stepper button:not([disabled]):hover { background: var(--ink); color: var(--white); } }
.summary { --od-gap: 10px; display: grid; padding-block-start: 20px; border-block-start: 1px solid var(--line); }
.summary__row { display: flex; justify-content: space-between; gap: 16px; font-size: .9375rem; }
.summary__row b { color: var(--ink); }
.summary__total { padding-block-start: 12px; margin-block-start: 4px; border-block-start: 1px solid var(--line); font-size: 1.0625rem; }
.summary__total b { font-family: var(--ff-display); font-size: 1.5rem; }
.booking__ok {
  --od-gap: 10px; padding: 14px 16px; border-radius: var(--r-media);
  background: var(--brand-050); color: var(--brand-700); font-weight: 700; font-size: .875rem;
}
.booking__ok[hidden] { display: none; }
.booking__ok svg { color: var(--brand-700); }
.trust { --od-gap: 8px; display: grid; font-size: .8125rem; }
.trust li { display: flex; gap: 10px; align-items: center; }
.trust svg { color: var(--brand-700); }

.factbar { --od-cols: 4; --od-gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
@media (max-width: 760px) { .factbar { --od-cols: 2; } }
.fact { --od-gap: 2px; background: var(--white); padding: 20px; }
.fact span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact b { font-family: var(--ff-display); font-size: 1.125rem; color: var(--ink); font-weight: 600; }

.map-embed {
  aspect-ratio: 16 / 9; border-radius: var(--r-media); overflow: hidden;
  background: var(--brand-050); display: grid; place-items: center; text-align: center;
  border: 1px solid var(--line); padding: var(--s-4);
}
.map-embed .od-stat { --od-gap: 8px; justify-items: center; }
.map-embed svg { inline-size: 40px; block-size: 40px; color: var(--brand-700); margin-inline: auto; }

.reviewbar { --od-gap: 24px; flex-wrap: wrap; }
.reviewbar__score { --od-gap: 4px; text-align: center; padding-inline-end: 24px; border-inline-end: 1px solid var(--line); }
.reviewbar__score b { font-family: var(--ff-display); font-size: 3rem; line-height: 1; color: var(--ink); }
.bars { --od-gap: 8px; display: grid; flex: 1 1 260px; }
.bar { --od-gap: 12px; font-size: .8125rem; font-weight: 600; }
.bar__track { flex: 1 1 auto; block-size: 8px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.bar__fill { block-size: 100%; background: var(--accent); border-radius: 99px; }

.review { --od-gap: 12px; padding-block: 24px; border-block-start: 1px solid var(--line); }
.review__who { --od-gap: 12px; }
.review__who .avatar {
  inline-size: 44px; block-size: 44px; border-radius: var(--r-pill); flex: none;
  display: grid; place-items: center; background: var(--brand-050); color: var(--brand-700);
  font-family: var(--ff-display); font-weight: 700;
}
.review__who div b { display: block; color: var(--ink); font-size: .9375rem; }
.review__who div span { display: block; font-size: .8125rem; color: var(--muted); }

/* ====================== portada: estructura nueva ====================== */

/* cabecera de sección: título a la izquierda, herramientas o texto a la derecha */
.xhead {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px; margin-block-end: clamp(28px, 3.4vw, 48px);
}
.xhead__title { display: grid; gap: 12px; }
.xhead__title h2 { max-inline-size: 18ch; }
.xhead__text { max-inline-size: 42ch; font-size: .9688rem; }
.xhead__tools { display: flex; align-items: center; gap: 12px; min-inline-size: 0; }
.note--start { text-align: start; margin-block-start: 0; }

/* — carrusel de tours — */
.rail { position: relative; }
.rail__track {
  --per: 4; --gap: clamp(16px, 1.8vw, 24px);
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-block: 8px 28px; margin-block: -8px -28px;
  padding-inline: 4px; margin-inline: -4px;
  scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > .tour-card { scroll-snap-align: start; }
.rail__track:focus-visible { outline-offset: 6px; border-radius: 26px; }
@media (max-width: 1319px) { .rail__track { --per: 3; } }
@media (max-width: 900px)  { .rail__track { --per: 2; } }
@media (max-width: 600px)  { .rail__track { --per: 1.15; } }
.rail__foot { display: flex; align-items: center; gap: 20px; margin-block-start: 32px; }
.rail__progress { flex: 1 1 auto; block-size: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rail__progress span { display: block; block-size: 100%; inline-size: 25%; border-radius: inherit; background: var(--ink); transform-origin: left; transition: transform 200ms linear; }
.rail__nav { display: flex; gap: 8px; }
.rail__btn {
  display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 50%;
  background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out), box-shadow var(--t-micro), opacity var(--t-micro);
}
.rail__btn svg { inline-size: 20px; block-size: 20px; }
.rail__btn[disabled] { opacity: .35; cursor: default; }
@media (hover: hover) { .rail__btn:not([disabled]):hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); } }
@media (max-width: 600px) { .rail__foot { flex-wrap: wrap; } .rail__progress { flex-basis: 100%; } .rail__foot .link-arrow { margin-inline-start: auto; } }

/* — ofertas: banner dividido + oferta lateral — */
.deals { display: grid; grid-template-columns: 1.75fr 1fr; gap: clamp(16px, 1.8vw, 24px); }
@media (max-width: 1000px) { .deals { grid-template-columns: 1fr; } }
.deal { position: relative; overflow: hidden; border-radius: 28px; text-decoration: none; color: inherit; isolation: isolate; }
.deal--main {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--brand-050);
}
@media (max-width: 700px) { .deal--main { grid-template-columns: 1fr; } }
.deal__media { position: relative; overflow: hidden; min-block-size: 300px; }
.deal__media img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.16, 1, .3, 1); }
.deal__stamp {
  position: absolute; inset-block-start: 20px; inset-inline-start: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  inline-size: 108px; block-size: 108px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(138, 94, 6, .7);
  transform: rotate(-10deg);
}
.deal__stamp b { font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.deal__stamp small { font-size: .5625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; line-height: 1.2; max-inline-size: 8ch; }
.deal__body { display: grid; align-content: center; gap: 14px; padding: clamp(24px, 3.4vw, 48px); }
.deal__body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.deal__facts { display: grid; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--ink); }
.deal__facts li { display: flex; align-items: center; gap: 8px; }
.deal__facts svg { color: var(--brand-700); }
.deal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block-start: 10px; border-block-start: 1px solid rgba(44, 120, 97, .18); }
.deal__price { display: flex; align-items: baseline; gap: 8px; }
.deal__price s { font-size: .875rem; color: var(--muted); }
.deal__price b { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.deal__price small { font-size: .8125rem; color: var(--muted); }
.deal--side { min-block-size: 380px; display: flex; align-items: flex-end; color: var(--white); }
.deal--side > img { position: absolute; inset: 0; z-index: -2; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.16, 1, .3, 1); }
.deal--side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(16, 27, 51, .9) 10%, rgba(16, 27, 51, .15) 70%); }
.deal__overlay { display: grid; gap: 10px; padding: clamp(24px, 3vw, 36px); }
.deal__overlay h3 { color: var(--white); font-size: 1.5rem; }
.deal__overlay p { color: rgba(255, 255, 255, .86); font-size: .9375rem; max-inline-size: 32ch; }
.deal__pct { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.deal__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--white); }
@media (hover: hover) {
  .deal:hover img { transform: scale(1.05); }
  .deal:hover .deal__go svg { transform: rotate(45deg); }
}
.deal__go svg { transition: transform var(--t-panel) var(--ease-out); }

/* — destinos: paneles que se expanden — */
.panels { display: flex; gap: 12px; block-size: clamp(420px, 44vw, 540px); }
.panel {
  position: relative; flex: 1 1 0; min-inline-size: 0; overflow: hidden; isolation: isolate;
  border-radius: 24px; color: var(--white); text-decoration: none;
  transition: flex-grow 700ms cubic-bezier(.65, 0, .25, 1);
}
.panel.is-active { flex-grow: 4.2; }
.panel img { position: absolute; inset: 0; z-index: -2; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(16, 27, 51, .85) 0%, rgba(16, 27, 51, .2) 55%, rgba(16, 27, 51, .35) 100%);
  transition: background-color 500ms;
}
.panel__tab {
  position: absolute; inset-block-end: 24px; inset-inline-start: 50%;
  transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-size: 1.125rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  transition: opacity 300ms var(--ease-out);
}
.panel.is-active .panel__tab { opacity: 0; }
.panel__body {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  display: grid; gap: 8px; justify-items: start;
  padding: clamp(20px, 2.4vw, 32px);
  opacity: 0; transform: translateY(16px);
  transition: opacity 300ms var(--ease-in), transform 300ms var(--ease-in);
  min-inline-size: 280px;
}
.panel.is-active .panel__body { opacity: 1; transform: none; transition: opacity 500ms var(--ease-out) 250ms, transform 500ms var(--ease-out) 250ms; }
.panel__body h3 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.panel__body p { color: rgba(255, 255, 255, .88); font-size: .9375rem; }
.panel__alt, .panel__count {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.panel__alt { background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.panel__alt svg { color: var(--accent); }
.panel__count { background: var(--white); color: var(--ink); }
@media (max-width: 860px) {
  .panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); block-size: auto; gap: 12px; }
  .panel { aspect-ratio: 4 / 5; }
  .panel.is-active { flex-grow: 1; }
  .panel__tab { display: none; }
  .panel__body { opacity: 1; transform: none; min-inline-size: 0; padding: 16px; }
  .panel__body p { display: none; }
}
@media (max-width: 480px) { .panels { grid-template-columns: 1fr; } .panel { aspect-ratio: 16 / 11; } .panel__body p { display: block; } }

/* — nosotros + cifras — */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 960px) { .story { grid-template-columns: 1fr; } }
.story__media { position: relative; padding-block-end: 64px; padding-inline-end: 64px; }
.story__main { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.story__main img, .story__second img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.story__second {
  position: absolute; margin: 0; inset-block-end: 0; inset-inline-end: 0;
  inline-size: 46%; aspect-ratio: 1; border-radius: 24px; overflow: hidden;
  border: 8px solid var(--white); box-shadow: 0 24px 50px -30px rgba(16, 27, 51, .5);
}
.story__badge {
  position: absolute; inset-block-start: 28px; inset-inline-start: -16px;
  display: grid; gap: 2px; padding: 16px 22px; border-radius: 20px;
  background: var(--accent); color: var(--ink); box-shadow: 0 18px 40px -20px rgba(138, 94, 6, .7);
}
.story__badge b { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.story__badge span { font-size: .8125rem; font-weight: 600; }
.story__copy { display: grid; gap: 22px; justify-items: start; }
.story__list { display: grid; gap: 16px; }
.story__list li { display: flex; gap: 14px; align-items: flex-start; }
.story__list h4 { font-size: 1.0625rem; margin-block-end: 2px; }
.story__list p { font-size: .9375rem; }
.story__ico { display: grid; place-items: center; inline-size: 46px; block-size: 46px; border-radius: 14px; flex: none; background: var(--brand-050); color: var(--brand-700); }
.story__stats {
  inline-size: 100%;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 20px; background: #F7F9F9; padding: 6px;
}
.story__stats li { display: grid; gap: 2px; padding: 16px 14px; text-align: center; }
.story__stats li + li { box-shadow: inset 1px 0 0 var(--line); }
.story__stats b { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -.03em; color: var(--brand-700); line-height: 1.1; font-variant-numeric: tabular-nums; }
.story__stats span { font-size: .8125rem; font-weight: 500; color: var(--muted); }
@media (max-width: 560px) {
  .story__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story__stats li:nth-child(3) { box-shadow: none; }
  .story__media { padding-block-end: 40px; padding-inline-end: 40px; }
}

/* — opiniones: resumen + slider — */
.reviews { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; } }
.reviews__side { display: grid; gap: 20px; justify-items: start; }
.reviews__score {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px 16px 18px; border-radius: 20px; background: var(--white);
  box-shadow: 0 16px 36px -28px rgba(16, 27, 51, .4);
}
.reviews__score > b { font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.reviews__score span { display: block; font-size: .8125rem; color: var(--muted); margin-block-start: 4px; }
.stars { display: flex; gap: 2px; }
.stars svg { inline-size: 16px; block-size: 16px; color: var(--accent); }
.reviews__nav { display: flex; align-items: center; gap: 14px; }
.reviews__count { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.reviews__count b { color: var(--ink); }
.reviews__stage { display: grid; }
.reviews__stage .review { border: 0; padding: 0; gap: 0; }
.reviews__stage .review {
  grid-area: 1 / 1; margin: 0;
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 500ms var(--ease-out), visibility 0s 500ms;
}
.reviews__stage .review.is-active { opacity: 1; visibility: visible; transition: opacity 500ms var(--ease-out); }
.review__photo { inline-size: 100%; block-size: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; }
.review__card {
  display: grid; gap: 18px; margin-inline-start: -48px;
  padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--white);
  box-shadow: 0 30px 60px -36px rgba(16, 27, 51, .45);
  position: relative;
}
.review__card::before {
  content: "“"; position: absolute; inset-block-start: -8px; inset-inline-end: 24px;
  font-size: 6rem; font-weight: 800; line-height: 1; color: var(--brand-050);
}
.reviews__stage .review blockquote { position: relative; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; font-weight: 500; color: var(--ink); }
@media (max-width: 640px) {
  .reviews__stage .review { grid-template-columns: 1fr; }
  .review__photo { aspect-ratio: 16 / 10; }
  .review__card { margin-inline-start: 0; margin-block-start: -40px; margin-inline: 12px; }
}

/* aliados en cinta continua */
.marquee { margin-block-start: clamp(48px, 6vw, 80px); display: grid; gap: 18px; }
.marquee__title { text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee__mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 16px; inline-size: max-content; animation: marquee 32s linear infinite; }
.marquee__track li {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  padding: 14px 26px; border-radius: var(--r-pill); background: var(--white);
  font-size: 1.0625rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.marquee__track svg { color: var(--brand-700); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* — guías: título fijo + fichas — */
.crew { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .crew { grid-template-columns: 1fr; } }
.crew__head { display: grid; gap: 16px; position: sticky; inset-block-start: calc(var(--header-h) + 32px); }
@media (max-width: 960px) { .crew__head { position: static; } }
.crew__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .crew__grid { grid-template-columns: 1fr; } }
.mate {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px;
  padding: 18px; border-radius: 24px; background: #F7F9F9;
  transition: background-color var(--t-panel) var(--ease-out), box-shadow var(--t-panel) var(--ease-out), transform var(--t-panel) var(--ease-out);
}
.mate__avatar {
  display: grid; place-items: center; inline-size: 76px; block-size: 76px; border-radius: 22px;
  background: var(--brand-050); color: var(--brand-700);
  font-size: 1.5rem; font-weight: 800; letter-spacing: .02em;
}
.mate__avatar--gold { background: var(--accent-050); color: var(--accent-700); }
.mate__info { display: grid; gap: 4px; justify-items: start; }
.mate__info h4 { font-size: 1.125rem; }
.mate__info p { font-size: .875rem; }
.mate__tag { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--brand-700); }
.mate__social { grid-column: 1 / -1; display: flex; gap: 8px; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
.mate__social a {
  display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
@media (hover: hover) {
  .mate:hover { background: var(--white); box-shadow: 0 24px 50px -30px rgba(16, 27, 51, .4); transform: translateY(-4px); }
  .mate__social a:hover { background: var(--ink); color: var(--white); }
}

/* — blog: destacado + lista — */
.journal { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(16px, 2vw, 28px); }
@media (max-width: 960px) { .journal { grid-template-columns: 1fr; } }
.journal__list { display: grid; gap: clamp(16px, 2vw, 28px); }
.story-post {
  display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center;
  padding: 12px; border-radius: 24px; background: var(--white);
  color: inherit; text-decoration: none;
  transition: box-shadow var(--t-panel) var(--ease-out);
}
.story-post img { inline-size: 100%; block-size: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.story-post__body { display: grid; gap: 8px; padding-inline-end: 12px; }
.story-post__body h3 { font-size: 1.1875rem; transition: color var(--t-micro) var(--ease-out); }
.story-post__body p:last-child { font-size: .9063rem; }
.story-post__meta { display: flex; align-items: center; gap: 10px; font-size: .8125rem; color: var(--muted); }
.story-post__tag { padding: 3px 10px; border-radius: var(--r-pill); background: var(--brand-050); color: var(--brand-700); font-weight: 600; }
.story-post--lead { grid-template-columns: 1fr; align-content: start; }
.story-post--lead img { aspect-ratio: 16 / 10; }
.story-post--lead .story-post__body { padding: 8px 12px 12px; }
.story-post--lead h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
@media (hover: hover) {
  .story-post:hover { box-shadow: 0 24px 50px -30px rgba(16, 27, 51, .4); }
  .story-post:hover h3 { color: var(--brand-700); }
}
@media (max-width: 560px) {
  .story-post { grid-template-columns: 1fr; }
  .story-post img { aspect-ratio: 16 / 10; }
  .story-post__body { padding: 4px 8px 8px; }
}

/* — preguntas: ayuda + acordeón — */
.help { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .help { grid-template-columns: 1fr; } }
.help__side { display: grid; gap: 20px; }
.help__card {
  display: grid; gap: 12px; justify-items: start; margin-block-start: 8px;
  padding: 28px; border-radius: 24px; background: var(--ink); color: var(--on-dark);
}
.help__card h3 { color: var(--white); font-size: 1.375rem; }
.help__ico { display: grid; place-items: center; inline-size: 52px; block-size: 52px; border-radius: 16px; background: var(--brand); color: var(--ink); }
.help__phone { font-size: 1.375rem; font-weight: 700; color: var(--white); user-select: all; letter-spacing: -.01em; }
.help .faq { max-inline-size: none; margin: 0; }
.help .faq__item { border: 0; background: #F7F9F9; border-radius: 18px; }
.help .faq__head[aria-expanded="true"] { background: transparent; }
.help .faq__item:has(.faq__head[aria-expanded="true"]) { background: var(--brand-050); }
.help .faq__head { font-family: var(--ff-ui); font-weight: 600; }

/* — boletín: banner centrado — */
.cta-band { grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 28px; }
.cta-band__copy { display: grid; gap: 12px; justify-items: center; }
.cta-band__copy h2 { margin-inline: auto; }
.cta-band__form { inline-size: min(100%, 560px); }
.cta-band .newsletter { display: flex; gap: 8px; align-items: flex-start; background: var(--white); padding: 8px; border-radius: var(--r-pill); }
.cta-band .newsletter .input { border: 0; background: transparent; min-inline-size: 0; block-size: 48px; padding-inline: 16px; }
.cta-band .newsletter .input:focus { outline: none; }
.cta-band .newsletter .btn { min-block-size: 48px; }
.cta-band .field__error { text-align: start; padding-inline: 16px; }
@media (max-width: 480px) { .cta-band .newsletter { flex-direction: column; border-radius: 20px; } .cta-band .newsletter .btn { inline-size: 100%; } }

/* ============================ utilidades =============================== */

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}

@media (max-width: 900px) {
  .searchbar__row { grid-template-columns: 1fr 1fr; }
  .searchbar__cell + .searchbar__cell { box-shadow: none; }
  .searchbar__submit { grid-column: span 2; }
}
@media (max-width: 640px) {
  .searchbar__row { grid-template-columns: 1fr; }
  .searchbar__submit { grid-column: auto; }
  .footer-bottom { justify-content: flex-start; }
}

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

@media print {
  .site-header, .mobile-nav, .nav-scrim, .searchbar, .site-footer { display: none; }
}

/* franja legal del pie */
.footer-legal { border-block-start: 1px solid rgba(44, 120, 97, .18); padding-block: 20px 32px; display: grid; gap: 8px; font-size: .75rem; line-height: 1.7; color: var(--muted); }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-block-start: 6px; }

/* sellos y franja legal del pie: centrados, tarjetas blancas como .pay */
.footer-bottom { justify-content: center; text-align: center; flex-direction: column; --od-gap: 16px; }
.footer-seals { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px clamp(32px, 6vw, 72px); padding-block: 32px; border-block-start: 1px solid rgba(44, 120, 97, .18); text-align: center; }
.footer-seals__item { display: grid; justify-items: center; gap: 12px; }
.footer-seals__item h4 { margin: 0; }
.footer-seals__item img { display: block; block-size: 56px; inline-size: auto; box-sizing: content-box; padding: 10px 16px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.footer-legal { border-block-start: 1px solid rgba(44, 120, 97, .18); padding-block: 28px 40px; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .8125rem; line-height: 1.7; color: var(--muted); }
.footer-legal p { max-inline-size: 70ch; }
.footer-legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-block-start: 8px; }
.footer-legal__links a { display: inline-block; padding-block: 6px; font-weight: 500; text-decoration: none; }
@media (hover: hover) { .footer-legal__links a:hover { color: var(--brand-700); text-decoration: underline; } }
