/* Generado por tools/design-system/build.py desde design-system/ — NO editar a mano. */

/* ===== design-system/fonts.css ===== */
/* PATAPERROS · Design system · Fuentes (autoalojadas; ver PATAPERROS_DESIGN_SYSTEM.md) */
/* Fuentes autoalojadas (fontsource, licencia SIL OFL 1.1). Sin llamadas a Google Fonts. */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/sitio/cormorant-garamond-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/sitio/cormorant-garamond-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/sitio/cormorant-garamond-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:500;font-display:swap;src:url(/fonts/sitio/cormorant-garamond-latin-500-italic.woff2) format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:100 1000;font-display:swap;src:url(/fonts/sitio/dm-sans-latin-wght-normal.woff2) format("woff2")}
@font-face{font-family:"DM Sans";font-style:italic;font-weight:100 1000;font-display:swap;src:url(/fonts/sitio/dm-sans-latin-wght-italic.woff2) format("woff2")}
@font-face{font-family:"Courier Prime";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/sitio/courier-prime-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Courier Prime";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/sitio/courier-prime-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/sitio/cormorant-garamond-latin-500-normal.woff2) format("woff2")}

/* ===== design-system/tokens.css ===== */
/* =====================================================================================================
   PATAPERROS · DESIGN SYSTEM · TOKENS — FUENTE UNICA
   Ningun otro archivo define variables de diseno (lo verifica tools/design-system/build.py).
   Origen: sitio publico aprobado (final-client-review). Paleta oficial del cliente + derivados SOLO para
   contraste (WCAG AA). Tres contextos del MISMO producto: data-ui="public" | "portal" | "admin" (<body>).
   ===================================================================================================== */
:root {
  /* ---------- Paleta oficial (no cambiar sin el cliente) ---------- */
  --color-primary: #18392B;
  --color-secondary: #7E9278;
  --color-accent: #C99A4A;
  --color-background: #F5F1E8;
  --color-white: #FFFFFF;
  --color-text: #171A18;

  /* ---------- Derivados de la misma paleta (contraste) ---------- */
  --color-primary-deep: #10281E;
  --color-primary-soft: #21483A;
  --color-secondary-ink: #55684F;   /* 5.3:1 sobre crema */
  --color-secondary-soft: #B9C4B5;  /* 7:1 sobre verde profundo */
  --color-accent-ink: #7A581E;      /* 5.6:1 sobre crema, 4.8:1 sobre arena */
  --color-accent-soft: #D9B57A;     /* 6.5:1 sobre verde profundo */
  --color-accent-light: #F1DDB4;    /* texto claro sobre foto/verde */
  --color-accent-hover: #D6AA5E;
  --color-accent-wash: #FBF4E6;     /* fondo dorado muy suave (zona de carga, demo) */
  --color-accent-cream: #F1E7D2;    /* aviso destacado sobre crema */
  --color-muted: #4E5A4F;           /* 6.4:1 sobre crema */
  --color-surface: #FBF9F4;
  --color-sand: #EAE3D3;
  --color-line: rgba(23, 26, 24, .14);
  --color-line-strong: rgba(23, 26, 24, .35);
  --color-line-input: rgba(23, 26, 24, .28);
  --color-line-light: rgba(245, 241, 232, .18);
  --color-on-photo: rgba(255, 255, 255, .75);
  --color-on-photo-line: rgba(255, 255, 255, .6);
  --color-on-photo-strong: rgba(255, 255, 255, .82);
  --color-glass: rgba(245, 241, 232, .92);
  --color-glass-strong: rgba(245, 241, 232, .96);
  --color-scrim: rgba(16, 40, 30, .72);
  --color-backdrop: rgba(16, 40, 30, .55);
  --color-danger: #9A2A1F;
  --color-ok: #2F6B45;
  --focus-ring: rgba(201, 154, 74, .45);
  --color-accent-disabled: rgba(201, 154, 74, .35);

  /* CTA de reserva premium (gradiente del dorado oficial) */
  --reserve-from: #D4A85B; --reserve-to: #C3923F; --reserve-border: #B98935; --reserve-ink: #16130D;
  --reserve-hover-from: #DDB46A; --reserve-hover-to: #CB9B48;
  /* The Journey (mapa) */
  --map-sea: #1E4434; --map-land: #234C3C; --map-coast: #2E5C49;

  /* ---------- SISTEMA DE ESTADOS (tonos). Etiquetas y mapeo en App\View\Ui\StatusCatalog ---------- */
  /*   bg: fondo · ink: texto/punto del badge · fg: texto de avisos (mas oscuro) · line: borde      */
  --tone-success-bg: #DCEADF; --tone-success-ink: var(--color-ok);        --tone-success-fg: #1F4B30; --tone-success-line: rgba(47, 107, 69, .35);
  --tone-warning-bg: #F3E6CC; --tone-warning-ink: #6E4E14;                --tone-warning-fg: #5A3F10; --tone-warning-line: rgba(122, 88, 30, .35);
  --tone-danger-bg:  #F3DCD8; --tone-danger-ink:  var(--color-danger);    --tone-danger-fg:  #6E1D15; --tone-danger-line:  rgba(154, 42, 31, .35);
  --tone-info-bg:    #E4EAE2; --tone-info-ink:    var(--color-secondary-ink); --tone-info-fg: #34432F; --tone-info-line:    rgba(85, 104, 79, .35);
  --tone-neutral-bg: var(--color-sand); --tone-neutral-ink: var(--color-muted); --tone-neutral-fg: var(--color-text); --tone-neutral-line: var(--color-line);
  --tone-brand-bg:   var(--color-primary); --tone-brand-ink: var(--color-background); --tone-brand-dot: var(--color-accent);
  --tone-full-bg:    #3A1E17; --tone-full-ink: #F6E3DA; --tone-full-dot: #E07A5F; --tone-full-scrim: rgba(58, 30, 23, .9);
  --tone-soon-line:  rgba(85, 104, 79, .35); --tone-inquiry-line: rgba(122, 88, 30, .45); --tone-inquiry-line-dark: rgba(217, 181, 122, .45);

  /* ---------- Tipografia ---------- */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;   /* editorial: titulos, bienvenida, marca */
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* interfaz: tablas, formularios, filtros */
  --font-mono: "Courier Prime", "Courier New", monospace;                      /* rotulos (eyebrow), codigos */
  --weight-body: 430; --weight-display: 500; --weight-strong: 600; --weight-ui: 650;
  --text-xs: .74rem; --text-sm: .875rem; --text-md: 1rem; --text-lg: 1.125rem;

  /* ---------- Espaciado ---------- */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1320px;
  --container-wide: 1560px;
  --section-y: clamp(5rem, 10vw, 9.5rem);

  /* ---------- Radios, bordes, sombras ---------- */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-input: 10px;
  --radius-pill: 999px;
  --border: 1px solid var(--color-line);
  --shadow-soft: 0 24px 60px -28px rgba(16, 40, 30, .35);
  --shadow-card: 0 1px 2px rgba(16, 40, 30, .06), 0 10px 26px -18px rgba(16, 40, 30, .28);
  --shadow-pop: 0 18px 44px -18px rgba(16, 40, 30, .45);
  --shadow-reserve: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 30px -16px rgba(122, 88, 30, .75);
  --shadow-reserve-hover: inset 0 1px 0 rgba(255, 255, 255, .4), 0 18px 34px -16px rgba(122, 88, 30, .8);

  /* ---------- Controles (alto minimo tactil) ---------- */
  --control-h: 52px; --control-h-sm: 44px; --touch-min: 44px; --control-pad-y: .8rem; --control-pad-x: 1rem;

  /* ---------- Capas y movimiento ---------- */
  --z-sticky: 20; --z-header: 50; --z-drawer: 90; --z-toast: 120; --z-dialog: 150;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* ---------- Encabezado del sitio (el logo grande de R6) ---------- */
  --header-h: 96px;
}
@media (max-width: 767px) { :root { --header-h: 74px; } }

/* ---------- Contextos (mismo sistema, distinta densidad) ---------- */
/* PORTAL: misma marca que el sitio publico, un poco mas compacto para tareas. */
[data-ui="portal"] { --section-y: clamp(3.5rem, 7vw, 6rem); }
/* ADMIN: eficiencia y densidad. Verde profundo en la navegacion, crema/blanco en superficies, dorado solo de enfasis. */
[data-ui="admin"] {
  --admin-nav-bg: var(--color-primary);
  --admin-nav-ink: var(--color-secondary-soft);
  --admin-nav-ink-strong: var(--color-background);
  --admin-nav-hover: rgba(245, 241, 232, .08);
  --admin-nav-current: rgba(201, 154, 74, .16);
  --admin-surface: var(--color-white);
  --admin-canvas: var(--color-background);
  --admin-row-hover: var(--color-surface);
  --admin-head-bg: var(--color-surface);
  --admin-sidebar-w: 264px;
  --admin-topbar-h: 60px;
  --control-h: 40px; --control-h-sm: 34px; --control-pad-y: .45rem; --control-pad-x: .75rem;
  --radius: 12px;
}
@media (pointer: coarse) { [data-ui="admin"] { --control-h: 44px; --control-h-sm: 44px; } }

/* ===== design-system/base.css ===== */
/* PATAPERROS · Design system · Base (reset + tipografia editorial compartida) */
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.nav-open, html.is-locked { overflow: hidden; }
body {
  margin: 0; background: var(--color-background); color: var(--color-text);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--color-accent-soft); }
::selection { background: var(--color-accent); color: var(--color-text); }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--color-primary); color: var(--color-background); padding: .75rem 1.25rem; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute !important; top: 0; left: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--surface { background: var(--color-surface); }
.section--sand { background: var(--color-sand); }
.on-dark { background: var(--color-primary); color: var(--color-background); }
.on-dark .muted { color: var(--color-secondary-soft); }

/* ---------- Tipografía editorial ---------- */
.eyebrow { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--color-secondary-ink); margin: 0 0 1.25rem; display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow, .hero .eyebrow, .media-band .eyebrow { color: var(--color-accent-soft); }
.display { font-size: clamp(2.9rem, 7.4vw, 7.25rem); line-height: .94; letter-spacing: -.02em; font-weight: var(--weight-display); }
.h2 { font-size: clamp(2.3rem, 4.8vw, 4.5rem); }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.08; }
.serif-i { font-style: italic; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; }
.muted { color: var(--color-muted); }
.small { font-size: .875rem; }
.mono { font-family: var(--font-mono); letter-spacing: .04em; }
.accent { color: var(--color-accent-ink); }
.on-dark .accent { color: var(--color-accent-soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head__text { max-width: 760px; }
.section-head__text .lead { margin-top: 1.25rem; }

/* ===== design-system/components/buttons.css ===== */
/* PATAPERROS · Design system · Botones (identidad del sitio publico aprobado) */
/* ---------- Botones ---------- */
.btn {
  --b-bg: transparent; --b-fg: currentColor; --b-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: var(--control-h); padding: .8rem 1.75rem;
  border-radius: var(--radius-pill); border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { --b-bg: var(--color-accent); --b-fg: var(--color-text); --b-bd: var(--color-accent); }
.btn--gold:hover { --b-bg: var(--color-accent-hover); --b-bd: var(--color-accent-hover); }
.btn--green { --b-bg: var(--color-primary); --b-fg: var(--color-background); --b-bd: var(--color-primary); }
.btn--green:hover { --b-bg: var(--color-primary-soft); --b-bd: var(--color-primary-soft); }
.btn--ghost { --b-bd: var(--color-line-strong); --b-fg: var(--color-text); }
.btn--ghost:hover { --b-bg: var(--color-text); --b-fg: var(--color-background); --b-bd: var(--color-text); }
.btn--light { --b-bd: var(--color-on-photo-line); --b-fg: var(--color-white); }
.btn--light:hover { --b-bg: var(--color-white); --b-fg: var(--color-text); --b-bd: var(--color-white); }
.btn--sm { min-height: var(--control-h-sm); padding: .55rem 1.2rem; font-size: .74rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding-block: .5rem; border-bottom: 1px solid currentColor; min-height: 44px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; padding: 0; transition: background-color .25s, color .25s; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: currentColor; }
.icon-btn:hover svg { color: var(--color-background); }
.on-dark .icon-btn:hover svg { color: var(--color-primary); }

/* ---------- CTA de reserva: premium y prominente (sin neón, sin parpadeo, sin destellos) ---------- */
.btn--reserve {
  --b-bg: linear-gradient(180deg, var(--reserve-from) 0%, var(--reserve-to) 100%); --b-fg: var(--reserve-ink); --b-bd: var(--reserve-border);
  background: var(--b-bg); min-height: 58px; padding: .9rem 2rem; font-size: .84rem; letter-spacing: .15em; font-weight: 700;
  box-shadow: var(--shadow-reserve);
}
.btn--reserve:hover { --b-bg: linear-gradient(180deg, var(--reserve-hover-from) 0%, var(--reserve-hover-to) 100%); transform: translateY(-1px); box-shadow: var(--shadow-reserve-hover); }
.btn--reserve:active { transform: none; }
.btn--reserve.btn--sm { min-height: 46px; padding: .55rem 1.3rem; font-size: .76rem; }
.btn--reserve[aria-disabled="true"], .btn--reserve:disabled { --b-bg: var(--color-accent-disabled); box-shadow: none; transform: none; }
.btn--full { width: 100%; }
.btn-note { margin: .6rem 0 0; font-size: .85rem; color: var(--color-muted); }
.on-dark .btn-note, .page-hero .btn-note { color: var(--color-on-photo-strong); }

/* ===== design-system/components/badges.css ===== */
/* PATAPERROS · Design system · Estados (badges) */
/* ---------- Estados de viaje ---------- */
.status { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 999px; line-height: 1; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--available { background: var(--tone-brand-bg); color: var(--tone-brand-ink); }
.status--available::before { background: var(--tone-brand-dot); }
.status--soon { background: var(--color-glass); color: var(--color-secondary-ink); border: 1px solid var(--tone-soon-line); }
.status--placeholder { background: transparent; color: var(--color-accent-ink); border: 1px solid var(--tone-inquiry-line); }
.on-dark .status--placeholder { color: var(--color-accent-soft); border-color: var(--tone-inquiry-line-dark); }
.status--pending { background: var(--tone-warning-bg); color: var(--tone-warning-ink); }
.status--ok { background: var(--tone-success-bg); color: var(--tone-success-ink); }
.status--no { background: var(--tone-danger-bg); color: var(--tone-danger-ink); }
.ref-tag { position: absolute; left: .75rem; bottom: .75rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; background: var(--color-scrim); color: var(--color-background); padding: .3rem .55rem; border-radius: 4px; }
/* Estados publicos de un viaje (nunca cupos numericos) */
.status--full { background: var(--tone-full-bg); color: var(--tone-full-ink); }
.status--full::before { background: var(--tone-full-dot); }
.status--inquiry { background: var(--color-glass); color: var(--color-accent-ink); border: 1px solid var(--tone-inquiry-line); }
.status--coming_soon { background: var(--color-glass); color: var(--color-secondary-ink); border: 1px solid var(--tone-soon-line); }

/* ---------- STATUS SYSTEM (StatusBadge) ----------------------------------------------------------------
   Un solo componente para sitio, portal y panel. El tono y la etiqueta salen de App\View\Ui\StatusCatalog
   (element ui/status): success · warning · danger · info · neutral · brand · full. Nunca colores por modulo.
   Los modificadores historicos (--ok, --pending, --no, --available, --soon) son alias del mismo tono. */
.status--success { background: var(--tone-success-bg); color: var(--tone-success-ink); }
.status--warning { background: var(--tone-warning-bg); color: var(--tone-warning-ink); }
.status--danger  { background: var(--tone-danger-bg);  color: var(--tone-danger-ink); }
.status--info    { background: var(--tone-info-bg);    color: var(--tone-info-ink); }
.status--neutral { background: var(--tone-neutral-bg); color: var(--tone-neutral-ink); }
.status--brand   { background: var(--tone-brand-bg);   color: var(--tone-brand-ink); }
.status--brand::before { background: var(--tone-brand-dot); }
.status--sm { font-size: .64rem; padding: .3rem .6rem; letter-spacing: .14em; }
/* Codigo de reserva / referencia (mismo lenguaje mono del sitio) */
.code { font-family: var(--font-mono); font-size: .95rem; padding: .2rem .5rem; border-radius: 4px; background: var(--color-sand); }

/* ===== design-system/components/forms.css ===== */
/* PATAPERROS · Design system · Formularios */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field legend, .label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.field .hint { font-size: .82rem; color: var(--color-muted); }
.input, .select, .textarea,
.field :where(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=range]), select, textarea) { width: 100%; min-height: var(--control-h); padding: var(--control-pad-y) var(--control-pad-x); border-radius: var(--radius-input); border: 1px solid var(--color-line-input); background: var(--color-white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.textarea, .field :where(textarea) { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus, .field :where(input, select, textarea):focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--focus-ring); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"], .field--error :where(input, select, textarea), .field :where([aria-invalid="true"]) { border-color: var(--color-danger); }
.field__error { font-size: .84rem; color: var(--color-danger); }
.field__error:empty { display: none; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--color-primary); flex: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Campos sin clase propia dentro de .field (panel, portal) comparten la regla de .input de arriba. */
.field--error > label { color: var(--color-danger); }
.field input[type=file] { font-size: .9rem; max-width: 100%; }
.form__grid { display: grid; gap: 1rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
/* FormSection: bloque de formulario con titulo (fieldset + legend) */
.form-section { border: var(--border); border-radius: var(--radius); background: var(--color-white); padding: var(--space-5) var(--space-5) var(--space-6); margin: 0 0 var(--space-5); }
.form-section > legend, .form-section__title { font-family: var(--font-sans); font-weight: var(--weight-ui); font-size: 1rem; padding: 0 .4rem; }
.form-section__help { color: var(--color-muted); font-size: var(--text-sm); margin: 0 0 var(--space-3); }
/* Barra de acciones fija al pie de un formulario largo */
.form-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.form-actions--sticky { position: sticky; bottom: 0; z-index: var(--z-sticky); padding: var(--space-3) var(--space-4); background: var(--color-white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-pop); }
.form__grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.form-section--off { opacity: .72; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: .1rem 1rem; }

/* ===== design-system/components/alerts.css ===== */
/* PATAPERROS · Design system · Avisos (Alert) y avisos flash
   .alert es el componente; .message es la clase historica de los avisos flash de CakePHP (se descartan con un clic,
   sin manejadores en linea: core.js / panel.js). Tonos del sistema de estados. */
.message, .alert { margin: 0 0 1rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); }
.message { cursor: pointer; }
.message.success, .alert--success { background: var(--tone-success-bg); color: var(--tone-success-fg); box-shadow: inset 0 0 0 1px var(--tone-success-line); }
.message.error, .alert--danger { background: var(--tone-danger-bg); color: var(--tone-danger-fg); box-shadow: inset 0 0 0 1px var(--tone-danger-line); }
.message.warning, .message.info, .alert--warning { background: var(--tone-warning-bg); color: var(--tone-warning-fg); }
.alert--info { background: var(--tone-info-bg); color: var(--tone-info-fg); box-shadow: inset 0 0 0 1px var(--tone-info-line); }
.message.hidden { display: none; }
.alert > :last-child { margin-bottom: 0; }
.alert strong:first-child { display: block; margin-bottom: .2rem; }

/* ===== design-system/components/cards.css ===== */
/* PATAPERROS · Design system · Tarjetas, metricas, pares clave-valor y estado vacio
   Card = superficie de contenido; MetricCard = dato operativo; EmptyState = "todavia no hay nada" con una salida. */
.card { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.25rem, 2.4vw, 1.75rem); border-radius: var(--radius); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); min-width: 0; }
.card--white { background: var(--color-white); }
.card--dark { background: var(--color-primary); color: var(--color-background); box-shadow: none; }
.card--dark .muted, .card--dark dt, .card--dark .kv dt { color: var(--color-secondary-soft); }
.card h2, .card h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.card .btn-row { margin-top: auto; padding-top: .5rem; }
.card__img { margin: calc(clamp(1.25rem, 2.4vw, 1.75rem) * -1) calc(clamp(1.25rem, 2.4vw, 1.75rem) * -1) .5rem; aspect-ratio: 16 / 7; max-height: 260px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--color-primary); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); list-style: none; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .9rem 1.25rem; margin: .25rem 0 0; }
.kv dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); }
.kv dd { margin: .25rem 0 0; font-size: 1rem; }
.kv dd strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--color-primary); font-variant-numeric: lining-nums tabular-nums; }
.card--dark .kv dd strong { color: var(--color-accent-soft); }
.bar { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border: 0; border-radius: var(--radius-pill); background: var(--color-sand); overflow: hidden; }
.bar::-webkit-progress-bar { background: var(--color-sand); border-radius: var(--radius-pill); }
.bar::-webkit-progress-value { background: var(--color-accent); border-radius: var(--radius-pill); }
.bar::-moz-progress-bar { background: var(--color-accent); border-radius: var(--radius-pill); }
/* MetricCard */
.metrics { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); list-style: none; margin: 0 0 var(--space-8); }
.metric { display: flex; flex-direction: column; gap: .2rem; padding: var(--space-4) var(--space-5); border-radius: var(--radius); background: var(--color-white); box-shadow: inset 0 0 0 1px var(--color-line); color: inherit; text-decoration: none; min-width: 0; }
a.metric:hover, a.metric:focus-visible { box-shadow: inset 0 0 0 1px var(--color-primary); }
.metric__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); }
.metric__value { font-family: var(--font-display); font-weight: var(--weight-strong); font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.05; color: var(--color-primary); font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
.metric__note { font-size: var(--text-sm); color: var(--color-muted); }
.metric--alert .metric__value { color: var(--tone-danger-ink); }
.metric--good .metric__value { color: var(--tone-success-ink); }
.metric--brand { background: var(--color-primary); box-shadow: none; color: var(--color-background); }
.metric--brand .metric__label, .metric--brand .metric__note { color: var(--color-secondary-soft); }
.metric--brand .metric__value { color: var(--color-accent-soft); }
/* EmptyState (definicion del sitio publico aprobado) */
.empty-state { padding: clamp(3rem, 7vw, 5rem); border-radius: var(--radius); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); text-align: center; }
.empty-state h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .75rem; }
.empty-state p { max-width: 36rem; margin-inline: auto; color: var(--color-muted); }
.empty-state .btn-row { justify-content: center; margin-top: 1.5rem; }
.empty-state__title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; margin: 0 0 .75rem; }
.empty-state--compact { padding: var(--space-6) var(--space-5); text-align: left; }
.empty-state--compact p { margin-inline: 0; }
.empty-state--compact .btn-row { justify-content: flex-start; }
/* LinkCard: acceso a un modulo (titulo + descripcion) */
.link-card { display: flex; flex-direction: column; gap: .3rem; padding: var(--space-4) var(--space-5); border-radius: var(--radius); background: var(--color-white); box-shadow: inset 0 0 0 1px var(--color-line); text-decoration: none; color: inherit; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.link-card:hover, .link-card:focus-visible { box-shadow: inset 0 0 0 1px var(--color-primary), var(--shadow-card); }
.link-card b { font-family: var(--font-display); font-size: 1.35rem; font-weight: var(--weight-display); line-height: 1.1; color: var(--color-primary); font-variant-numeric: lining-nums; }
.link-card span { color: var(--color-muted); font-size: var(--text-sm); }
/* Barra de progreso (sitio: --p; panel: ancho calculado) */
.progress { height: 4px; border-radius: 4px; background: var(--color-sand); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--color-accent); width: var(--p, 0%); transition: width .4s var(--ease); }
.progress--lg { height: 8px; border-radius: var(--radius-pill); }

/* ===== design-system/components/tables.css ===== */
/* PATAPERROS · Design system · Tablas (DataTable)
   Tipografia de INTERFAZ (nunca serif) y cifras tabulares. En moviles, .table--stack convierte cada fila en una
   tarjeta (data-label en cada celda): no se comprime una tabla, se transforma. */
.table-wrap { overflow-x: auto; background: var(--color-white); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--color-line); }
.table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: .92rem; }
.table th, .table td { padding: .75rem .8rem; border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.table th { font-family: var(--font-mono); font-size: .68rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table--rows tbody tr:hover { background: var(--color-surface); }
.table-scroll { overflow-x: auto; }
@media (max-width: 699px) {
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack, .table--stack tbody { display: block; }
  .table--stack tr { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; padding: 1rem; border-bottom: 1px solid var(--color-line); }
  .table--stack td { border: 0; padding: .1rem 0; min-width: 0; overflow-wrap: anywhere; }
  .table--stack td.num { text-align: left; }
  .table--stack td::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }
  .table--stack td[data-label=""]::before { display: none; }
  .table--stack td.cell--full { grid-column: 1 / -1; }
  /* enlaces de accion de la fila (ver cliente, ver detalle): area tactil comoda en movil */
  .table--stack td > a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ===== design-system/components/navigation.css ===== */
/* PATAPERROS · Design system · Navegacion
   Tabs (secciones de una misma area), SideNavigation (panel), TopNavigation (barra superior compacta),
   Breadcrumbs. Lenguaje del sitio: mayusculas espaciadas + subrayado dorado en la seccion actual. */
.tabs { border-bottom: 1px solid var(--color-line); }
.tabs ul { display: flex; gap: 1.5rem; list-style: none; overflow-x: auto; scrollbar-width: none; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { display: inline-flex; align-items: center; min-height: var(--touch-min); padding: .55rem 0; font-size: var(--text-xs); font-weight: var(--weight-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--color-muted); border-bottom: 2px solid transparent; }
.tabs a[aria-current="page"], .tabs a:hover { color: var(--color-text); border-bottom-color: var(--color-accent); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--color-text); }
/* SideNavigation */
.side-nav { display: flex; flex-direction: column; gap: .1rem; }
.side-nav__group { margin: var(--space-5) 0 var(--space-1); padding: 0 .75rem; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent-soft); }
.side-nav__group:first-child { margin-top: 0; }
.side-nav a { display: flex; align-items: center; gap: .65rem; min-height: 38px; padding: .45rem .75rem; border-radius: var(--radius-sm); color: var(--admin-nav-ink, var(--color-secondary-soft)); text-decoration: none; font-size: .92rem; border-left: 3px solid transparent; }
.side-nav a svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.side-nav a:hover { background: var(--admin-nav-hover, transparent); color: var(--admin-nav-ink-strong, var(--color-background)); }
.side-nav a[aria-current="page"] { background: var(--admin-nav-current, transparent); color: var(--admin-nav-ink-strong, var(--color-background)); border-left-color: var(--color-accent); font-weight: var(--weight-strong); }
.side-nav :focus-visible { outline-color: var(--color-accent-soft); }
/* TopNavigation */
.topnav { display: flex; align-items: center; gap: var(--space-3); min-height: var(--admin-topbar-h, 60px); padding: 0 var(--space-4); }
.topnav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; margin-right: auto; }
.topnav__brand img { width: 40px; height: 40px; border-radius: 50%; background: var(--color-background); }
.topnav__brand span { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }

/* ===== design-system/components/dialogs.css ===== */
/* PATAPERROS · Design system · Dialogos y notificaciones
   ConfirmDialog = <dialog class="dialog"> nativo (foco atrapado, Escape, ::backdrop); lo abre panel.js para los
   formularios con data-confirm (sin confirm() del navegador ni manejadores en linea).
   Toast = aviso flash flotante del panel (role=status/alert; se descarta con un clic o el boton cerrar). */
.dialog { width: min(92vw, 30rem); padding: 0; border: 0; border-radius: var(--radius); background: var(--color-white); color: var(--color-text); box-shadow: var(--shadow-pop); }
.dialog::backdrop { background: var(--color-backdrop); }
.dialog__body { padding: var(--space-6) var(--space-6) var(--space-4); }
.dialog__title { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; margin: 0 0 var(--space-2); }
.dialog__text { color: var(--color-muted); margin: 0; }
.dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-3); padding: var(--space-4) var(--space-6) var(--space-6); }
.dialog--danger .dialog__title { color: var(--tone-danger-fg); }
.toasts { position: fixed; z-index: var(--z-toast); right: max(1rem, env(safe-area-inset-right)); top: calc(var(--admin-topbar-h, 0px) + 1rem); display: grid; gap: var(--space-3); width: min(26rem, calc(100vw - 2rem)); pointer-events: none; }
.toasts .message, .toast { pointer-events: auto; margin: 0; box-shadow: var(--shadow-pop); background: var(--color-white); border-left: 4px solid var(--color-primary); padding-right: 2.75rem; position: relative; }
.toasts .message.success { border-left-color: var(--tone-success-ink); }
.toasts .message.error { border-left-color: var(--tone-danger-ink); }
.toasts .message.warning, .toasts .message.info { border-left-color: var(--color-accent); }
.toasts .message::after { content: "×"; position: absolute; right: .9rem; top: .7rem; font-size: 1.3rem; line-height: 1; opacity: .6; }
@media (prefers-reduced-motion: no-preference) { .toasts .message { animation: toast-in .35s var(--ease); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ===== design-system/components/icons.css ===== */
/* PATAPERROS · Design system · Iconos (SVG en linea con trazo de 1.6, heredan el color del texto) */
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 14px; height: 14px; }
.icon--lg { width: 24px; height: 24px; }
.icon--fill { fill: currentColor; stroke: none; }

/* ===== design-system/components/layout.css ===== */
/* PATAPERROS · Design system · Composicion (PageHeader, pilas y grupos) */
.page-header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4) var(--space-8); margin-bottom: var(--space-6); }
.page-header__text { min-width: 0; max-width: 72ch; }
.page-header__title { margin: 0; }
.page-header__lead { color: var(--color-muted); margin: .45rem 0 0; }
.page-header__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.stack { display: grid; gap: var(--space-4); }
.cluster { display: flex; flex-direction: row; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
/* Rejilla adaptable: columnas de al menos 280px que caen a una sola en movil */
.auto-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.split { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
/* FilterBar: filtros arriba de un listado (sitio: chips; panel: campos, ver capa ADMIN) */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }

/* ===== design-system/layers/public.css ===== */
/* PATAPERROS · Capa PUBLIC (sitio publico aprobado; no se redisena) */
/* =====================================================================================================
   HEADER
   ===================================================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); color: var(--color-white); transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), height .35s var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 16, .45), rgba(10, 22, 16, 0)); opacity: 1; transition: opacity .45s var(--ease); pointer-events: none; }
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 50%; }
.brand img { width: 64px; height: 64px; transition: width .35s var(--ease), height .35s var(--ease); }
.brand__logo--dark { display: none; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); }
.site-nav__list { display: flex; gap: clamp(1rem, 2vw, 2rem); list-style: none; }
.site-nav__link { position: relative; display: inline-block; padding: .65rem 0; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.site-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .3rem; height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: .65rem; min-height: 44px; padding: .4rem .2rem .4rem .9rem; background: none; border: 0; color: inherit; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.nav-toggle__bars { position: relative; width: 26px; height: 12px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }
/* Estado al hacer scroll (o páginas sin hero oscuro): fondo crema y logo oscuro */
.site-header.is-solid { color: var(--color-text); background: rgba(245, 241, 232, .94); box-shadow: 0 1px 0 var(--color-line); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-solid .brand__logo--light { display: none; }
.site-header.is-solid .brand__logo--dark { display: block; }
.site-header.is-solid .btn--light { --b-bd: var(--color-primary); --b-bg: var(--color-primary); --b-fg: var(--color-background); }
.site-header.is-compact { --header-h: 70px; }
.site-header.is-compact .brand img { width: 54px; height: 54px; }
@media (max-width: 1079px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
}
@media (max-width: 767px) {
  .brand img { width: 52px; height: 52px; }
  .site-header.is-compact { --header-h: 62px; }
  .site-header.is-compact .brand img { width: 46px; height: 46px; }
}

/* Menú móvil */
.mobile-nav { position: fixed; inset: 0; z-index: 80; background: var(--color-primary-deep); color: var(--color-background); display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
html.nav-open .mobile-nav { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; min-height: calc(var(--header-h) - 1rem); }
.mobile-nav__top img { width: 52px; height: 52px; }
.mobile-nav__close { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; background: none; border: 0; color: inherit; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: .4rem .2rem; }
.mobile-nav__close svg { width: 22px; height: 22px; }
.mobile-nav__list { list-style: none; margin: clamp(1.5rem, 6vh, 3.5rem) 0 2rem; counter-reset: mn; }
.mobile-nav__list li { border-bottom: 1px solid var(--color-line-light); counter-increment: mn; }
.mobile-nav__list a { display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0; font-family: var(--font-display); font-size: clamp(2.1rem, 9vw, 3rem); line-height: 1.1; text-decoration: none; }
.mobile-nav__list a::before { content: "0" counter(mn); font-family: var(--font-mono); font-size: .8rem; color: var(--color-accent-soft); letter-spacing: .1em; }
.mobile-nav__list a[aria-current="page"] { color: var(--color-accent-soft); }
.mobile-nav__foot { margin-top: auto; display: grid; gap: 1rem; }
.mobile-nav__foot .btn { width: 100%; }
.mobile-nav__contact { font-size: .95rem; color: var(--color-secondary-soft); display: grid; gap: .25rem; }
.mobile-nav__contact a { text-decoration: none; color: var(--color-background); }
@media (min-width: 1080px) { .mobile-nav { display: none; } }

/* =====================================================================================================
   HERO (video)
   ===================================================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 1200px; color: var(--color-white); overflow: hidden; background: var(--color-primary-deep); }
.hero__media, .hero__media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img, .hero__media video { object-fit: cover; object-position: 50% 50%; }
.hero__media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero.is-playing .hero__media video { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8, 20, 14, .5) 0%, rgba(8, 20, 14, 0) 26%, rgba(8, 20, 14, 0) 46%, rgba(8, 20, 14, .78) 100%),
  radial-gradient(120% 80% at 0% 100%, rgba(8, 20, 14, .55), rgba(8, 20, 14, 0) 60%); }
.hero__content { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(3.5rem, 9vh, 7rem); }
.hero__title { max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero__title span { display: block; }
.hero__title span + span { font-style: italic; color: var(--color-accent-light); }
.hero__sub { max-width: 34rem; margin: 1.5rem 0 2.25rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .9); }
.hero__controls { position: absolute; right: var(--gutter); bottom: clamp(7.5rem, 16vh, 10rem); display: flex; align-items: center; gap: .75rem; }
.hero__controls .icon-btn { border-color: rgba(255, 255, 255, .55); color: var(--color-white); backdrop-filter: blur(6px); background: rgba(8, 20, 14, .25); }
.hero__controls .icon-btn:hover { background: var(--color-white); }
.hero__controls .icon-btn:hover svg { color: var(--color-text); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: 1px; height: 46px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--color-white); animation: scrollcue 2.6s var(--ease) infinite; }
@keyframes scrollcue { to { top: 110%; } }
@media (max-width: 767px) {
  .hero { min-height: 560px; }
  .hero__content { padding-bottom: 6.5rem; }
  .hero__title { font-size: clamp(2.65rem, 12vw, 3.6rem); }
  .hero__sub { margin: 1rem 0 1.75rem; font-size: 1rem; }
  .hero .btn-row { flex-direction: column; align-items: stretch; max-width: 360px; }
  .hero__controls { bottom: auto; top: calc(var(--header-h) + .5rem); }
  .hero__scroll { display: none; }
}

/* Hero de páginas internas */
.page-hero { position: relative; min-height: min(78svh, 820px); display: flex; align-items: flex-end; color: var(--color-white); background: var(--color-primary-deep); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 14, .55) 0%, rgba(8, 20, 14, 0) 30%, rgba(8, 20, 14, .1) 50%, rgba(8, 20, 14, .82) 100%); }
.page-hero__content { position: relative; z-index: 1; width: 100%; padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 7vh, 5.5rem); }
.page-hero__content .lead { max-width: 40rem; margin-top: 1.25rem; color: rgba(255, 255, 255, .9); }
.page-hero--short { min-height: min(62svh, 640px); }
.page-intro { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-intro .lead { max-width: 44rem; margin-top: 1.5rem; }

/* =====================================================================================================
   HOME · Introducción de marca
   ===================================================================================================== */
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.intro__statement { grid-column: 1 / span 7; font-size: clamp(2.2rem, 4.4vw, 4.1rem); line-height: 1.04; }
.intro__statement em { color: var(--color-accent-ink); }
.intro__body { grid-column: 9 / span 4; padding-top: .75rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--color-line); list-style: none; }
.facts strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: var(--color-primary); }
.facts span { display: block; margin-top: .5rem; font-size: .85rem; line-height: 1.4; color: var(--color-muted); }
.intro__images { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(3rem, 7vw, 6rem); align-items: end; }
.intro__img { position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__img--a { grid-column: 1 / span 7; aspect-ratio: 16 / 11; }
.intro__img--b { grid-column: 9 / span 4; aspect-ratio: 4 / 5; transform: translateY(var(--py, 0)); }
.intro__caption { grid-column: 9 / span 4; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--color-muted); margin: 0; align-self: start; }
@media (max-width: 899px) {
  .intro__statement, .intro__body { grid-column: 1 / -1; }
  .intro__img--a { grid-column: 1 / -1; }
  .intro__img--b { grid-column: 4 / -1; margin-top: -3rem; }
  .intro__caption { grid-column: 1 / -1; }
}
@media (max-width: 479px) { .facts { grid-template-columns: 1fr 1fr; } .facts li:last-child { grid-column: 1 / -1; } }

/* =====================================================================================================
   VIAJES (home + listado)
   ===================================================================================================== */
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 3.5vw, 4rem); align-items: center; }
.feature__media { grid-column: 1 / span 7; position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-sm); overflow: hidden; display: block; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature__media:hover img { transform: scale(1.03); }
.feature__media .status { position: absolute; top: 1.25rem; left: 1.25rem; }
.feature__body { grid-column: 8 / span 5; }
.feature__name { font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: .95; margin: .75rem 0 .5rem; }
.feature__route { font-family: var(--font-mono); font-size: .85rem; letter-spacing: .1em; color: var(--color-secondary-ink); margin-bottom: 1.5rem; }
.meta-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; margin: 2rem 0; border-top: 1px solid var(--color-line); }
.meta-list > div { padding: 1rem 0; border-bottom: 1px solid var(--color-line); }
.meta-list dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); }
.meta-list dd { margin: .3rem 0 0; font-size: 1.02rem; line-height: 1.35; }
.meta-list dd strong { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--color-primary); }
.on-dark .meta-list, .on-dark .meta-list > div { border-color: var(--color-line-light); }
.on-dark .meta-list dt { color: var(--color-secondary-soft); }
.on-dark .meta-list dd strong { color: var(--color-accent-soft); }
@media (max-width: 899px) {
  .feature__media, .feature__body { grid-column: 1 / -1; }
  .feature__media { aspect-ratio: 4 / 5; }
}
.soon-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: clamp(4rem, 8vw, 7rem) 0 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-line); }
.soon-head h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.soon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); list-style: none; }
.soon { display: flex; flex-direction: column; }
.soon__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-primary); }
.soon__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.soon__media .status { position: absolute; top: 1rem; left: 1rem; }
.soon__name { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin: 1.25rem 0 .4rem; }
.soon__text { color: var(--color-muted); font-size: .98rem; }
.soon .link-arrow { margin-top: auto; align-self: flex-start; }
.soon__teaser { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--color-secondary-ink); margin-bottom: .75rem; }
.soon--placeholder .soon__media { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--color-primary-soft), var(--color-primary-deep)); color: var(--color-accent-soft); }
.soon--placeholder .soon__media svg { width: 34%; opacity: .9; fill: currentColor; }
.soon--placeholder .soon__media .ph-label { position: absolute; bottom: 1.25rem; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--color-secondary-soft); }
@media (max-width: 899px) {
  .soon-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 1rem; scrollbar-width: none; }
  .soon-grid::-webkit-scrollbar { display: none; }
  .soon { flex: 0 0 min(76vw, 340px); scroll-snap-align: start; }
}

/* Listado editorial de viajes */
.trip-index { list-style: none; counter-reset: ti; }
.trip-row { display: grid; grid-template-columns: 4.5rem minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.25rem, 3vw, 3.5rem); padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--color-line); align-items: center; counter-increment: ti; }
.trip-row:last-child { border-bottom: 1px solid var(--color-line); }
.trip-row__n { font-family: var(--font-mono); font-size: .85rem; color: var(--color-accent-ink); align-self: start; padding-top: .5rem; }
.trip-row__n::before { content: "0" counter(ti); }
.trip-row__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-primary); }
.trip-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.trip-row__media:hover img { transform: scale(1.03); }
.trip-row__name { font-size: clamp(2.2rem, 4vw, 3.6rem); margin: .9rem 0 .35rem; }
.trip-row__name a { text-decoration: none; }
.trip-row__claim { max-width: 34rem; color: var(--color-muted); }
.trip-row .meta-list { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1.5rem 0; }
.trip-row .meta-list dd strong { font-size: 1.35rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--color-line); background: transparent; font-size: .85rem; font-weight: 500; color: var(--color-text); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-background); }
.chip:hover { border-color: var(--color-primary); }
.chip .count { font-family: var(--font-mono); font-size: .75rem; opacity: .75; }
@media (max-width: 899px) {
  .trip-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .trip-row__n { display: none; }
  .trip-row .meta-list { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================================================
   THE JOURNEY
   ===================================================================================================== */
.journey { background: var(--color-primary); color: var(--color-background); position: relative; overflow: hidden; }
.journey::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 30%, rgba(201, 154, 74, .08), transparent 70%); pointer-events: none; }
.journey__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.journey__head .lead { color: var(--color-secondary-soft); max-width: 40rem; margin-top: 1.25rem; }
.journey__title em { color: var(--color-accent-soft); }
.dep-switch { display: flex; flex-direction: column; gap: .6rem; }
.dep-switch__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-secondary-soft); }
.dep-switch__opts { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--color-line-light); }
.dep-switch button { min-height: 40px; padding: .4rem 1rem; border-radius: 999px; border: 0; background: transparent; color: var(--color-background); font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.dep-switch button[aria-pressed="true"] { background: var(--color-accent); color: var(--color-text); }
.journey__stage { position: relative; display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) clamp(320px, 28vw, 400px); gap: clamp(1rem, 2vw, 1.75rem); align-items: stretch; }
.jmap { position: relative; height: clamp(520px, 74vh, 780px); border-radius: var(--radius); overflow: hidden; background: radial-gradient(120% 90% at 60% 30%, var(--map-sea) 0%, var(--color-primary-deep) 70%); box-shadow: inset 0 0 0 1px var(--color-line-light); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.jmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.jmap__land { fill: var(--map-land); stroke: var(--map-coast); stroke-width: .35; vector-effect: non-scaling-stroke; }
.jmap__grat { fill: none; stroke: rgba(245, 241, 232, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.jmap__base { fill: none; stroke: rgba(217, 181, 122, .42); stroke-linecap: round; }
.jmap__base.is-return { stroke: rgba(185, 196, 181, .3); }
.jmap__prog { fill: none; stroke: var(--color-accent); stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(201, 154, 74, .45)); }
.jmap__layer { position: absolute; inset: 0; pointer-events: none; }
.jstop { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--color-background); display: grid; place-items: center; border-radius: 50%; }
.jstop.is-merged { pointer-events: none; }
.jstop__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--color-primary-deep); border: 2px solid var(--color-secondary-soft); transition: transform .35s var(--ease), background-color .35s, border-color .35s; }
.jstop.is-reached .jstop__dot { background: var(--color-background); border-color: var(--color-accent); }
.jstop:hover .jstop__dot, .jstop.is-hover .jstop__dot { transform: scale(1.35); border-color: var(--color-accent); }
.jstop.is-active .jstop__dot { background: var(--color-accent); border-color: var(--color-background); transform: scale(1.35); }
.jstop.is-active .jstop__label { padding: .2rem .55rem; border-radius: 999px; background: rgba(16, 40, 30, .88); text-shadow: none; box-shadow: 0 0 0 1px rgba(201, 154, 74, .45); }
.jmap.has-sel .jstop:not(.is-active):not(.is-hover) .jstop__label { opacity: .42; }
.jmap.has-sel .jstop:not(.is-active):not(.is-hover) .jstop__dot { opacity: .75; }
.jstop__ring { position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--color-accent); opacity: 0; }
.jstop.is-active .jstop__ring { animation: ring 2.8s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.jstop__label { position: absolute; white-space: nowrap; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-background); text-shadow: 0 1px 8px rgba(8, 20, 14, .9), 0 0 2px rgba(8, 20, 14, .9); pointer-events: none; transition: opacity .3s; }
.jstop__label b { font-family: var(--font-mono); font-weight: 400; color: var(--color-accent-soft); margin-right: .35em; }
.jstop[data-lp="r"] .jstop__label { left: 34px; }
.jstop[data-lp="l"] .jstop__label { right: 34px; }
.jstop[data-lp="t"] .jstop__label { bottom: 34px; }
.jstop[data-lp="b"] .jstop__label { top: 34px; }
.jpaw { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; color: var(--color-accent); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); pointer-events: none; transition: opacity .4s; }
.jpaw svg { width: 100%; height: 100%; fill: currentColor; }
.jpaw.is-hidden { opacity: 0; }
.jpaw { transition: opacity .4s, translate .4s var(--ease); }
.jpaw.is-docked[data-dock="up"] { translate: 0 -26px; }
.jpaw.is-docked[data-dock="down"] { translate: 0 26px; }
.jmap__hint { position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .95rem .55rem .75rem; border-radius: 999px; background: rgba(16, 40, 30, .78); border: 1px solid var(--color-line-light); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-background); backdrop-filter: blur(6px); transition: opacity .5s, transform .5s; }
.jmap__hint i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 0 rgba(201, 154, 74, .6); animation: pulse 2.2s infinite; }
.jmap__hint.is-gone { opacity: 0; transform: translateY(-6px); pointer-events: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 154, 74, .6); } 80%, 100% { box-shadow: 0 0 0 12px rgba(201, 154, 74, 0); } }
.jmap__tools { position: absolute; left: 1rem; bottom: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.jmap__tool { min-height: 40px; padding: .45rem .9rem; border-radius: 999px; background: rgba(16, 40, 30, .78); border: 1px solid var(--color-line-light); color: var(--color-background); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(6px); }
.jmap__tool:hover { border-color: var(--color-accent); }
.jtip { position: absolute; z-index: 3; width: 210px; pointer-events: none; background: var(--color-background); color: var(--color-text); border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.jtip.is-on { opacity: 1; transform: none; }
.jtip img { width: 100%; height: 110px; object-fit: cover; }
.jtip div { padding: .7rem .85rem .8rem; }
.jtip strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.05; }
.jtip span { font-family: var(--font-mono); font-size: .72rem; color: var(--color-muted); letter-spacing: .06em; }
/* Panel lateral de la parada */
.jpanel { position: relative; height: clamp(520px, 74vh, 780px); min-height: 0; border-radius: var(--radius); background: rgba(8, 20, 14, .35); box-shadow: inset 0 0 0 1px var(--color-line-light); display: flex; flex-direction: column; overflow: hidden; }
.jpanel__empty { padding: clamp(1.5rem, 2.5vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.jpanel__empty h3 + p { margin: 0; }
.jpanel__empty h3 { font-size: 2rem; }
.jpanel__empty .paw-icon { width: 46px; height: 46px; color: var(--color-accent); }
.jpanel__empty .paw-icon svg { fill: currentColor; }
.jpanel__list { list-style: none; margin-top: auto; border-top: 1px solid var(--color-line-light); }
.jpanel__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--color-line-light); font-size: .92rem; }
.jpanel__list span { color: var(--color-secondary-soft); }
.jcard { display: flex; flex-direction: column; height: 100%; }
.jcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--color-primary-deep); flex: none; overflow: hidden; }
.jcard__media img { width: 100%; height: 100%; object-fit: cover; animation: fadein .6s var(--ease); }
.jcard__play { position: absolute; right: .9rem; bottom: .9rem; display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .4rem .9rem .4rem .5rem; border-radius: 999px; border: 0; background: rgba(245, 241, 232, .94); color: var(--color-text); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.jcard__play svg { width: 26px; height: 26px; }
.jcard__body { padding: 1.4rem clamp(1.25rem, 2vw, 1.75rem) 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.jcard__kicker { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-soft); }
.jcard__name { font-size: clamp(2rem, 2.6vw, 2.5rem); line-height: 1; }
.jcard__country { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-secondary-soft); }
.jcard__title { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.25; color: var(--color-accent-soft); margin: .4rem 0 0; }
.jcard__text { font-size: .98rem; color: rgba(245, 241, 232, .88); }
.jcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: auto; padding-top: 1rem; }
.jcard__nav { display: flex; gap: .5rem; margin-left: auto; }
.jcard__nav .icon-btn { width: 40px; height: 40px; border-color: var(--color-line-light); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
/* Riel de paradas */
.jrail { display: flex; gap: .5rem; list-style: none; margin-top: 1rem; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--color-primary-soft) transparent; padding-bottom: .5rem; }
.jrail button { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; min-width: 112px; min-height: 64px; padding: .7rem .95rem; border-radius: 10px; border: 1px solid var(--color-line-light); background: transparent; color: var(--color-background); text-align: left; transition: background-color .25s, border-color .25s; }
.jrail button:hover { border-color: var(--color-accent); }
.jrail button[aria-current="true"] { background: var(--color-background); color: var(--color-text); border-color: var(--color-background); }
.jrail small { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; color: var(--color-accent-soft); white-space: nowrap; }
.jrail button[aria-current="true"] small { color: var(--color-accent-ink); }
.jrail strong { font-size: .95rem; font-weight: 600; white-space: nowrap; }
.journey__note { margin-top: 1.25rem; font-size: .85rem; color: var(--color-secondary-soft); }
/* Hoja inferior (móvil) */
.jsheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 62vh; max-height: 62svh; margin: 0; padding: 0; border: 0; border-radius: 20px 20px 0 0; background: var(--color-primary-deep); color: var(--color-background); box-shadow: 0 -20px 50px rgba(0, 0, 0, .35); overflow: hidden; }
.jsheet[open] { display: flex; flex-direction: column; animation: sheetup .4s var(--ease); }
.jsheet::backdrop { background: rgba(8, 20, 14, .45); }
@keyframes sheetup { from { transform: translateY(40%); opacity: .4; } to { transform: none; opacity: 1; } }
.jsheet__bar { display: flex; justify-content: space-between; align-items: center; padding: .6rem .75rem .6rem 1.25rem; border-bottom: 1px solid var(--color-line-light); flex: none; }
.jsheet__bar::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(245, 241, 232, .3); }
.jsheet__bar span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-secondary-soft); }
.jsheet__scroll { overflow-y: auto; overscroll-behavior: contain; }
.jsheet .jcard__media { aspect-ratio: 16 / 8; }
.jsheet .jcard__body { gap: .35rem; }
.jsheet .jcard__body { overflow: visible; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
@media (max-width: 1023px) {
  .journey__head { grid-template-columns: 1fr; }
  .journey__stage { grid-template-columns: 1fr; }
  .jpanel { display: none; }
  .jmap { height: clamp(380px, 62svh, 560px); border-radius: 12px; }
  .jmap__hint { top: .75rem; left: .75rem; font-size: .7rem; }
  .jmap__tools { left: .75rem; bottom: .75rem; }
  .jstop__label { font-size: .66rem; }
}
@media (min-width: 1024px) { .jsheet { display: none !important; } }

/* Itinerario sincronizado */
.itin { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.itin__aside { position: sticky; top: calc(var(--header-h) + 4.5rem); }   /* encabezado + subnavegación del viaje */
.itin__photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-primary); }
.itin__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease); }
.itin__mini { position: relative; height: 230px; margin-top: 1rem; border-radius: var(--radius-sm); overflow: hidden; }
.itin__mini.jmap { height: 230px; }
.itin__mini .jstop { width: 30px; height: 30px; }
.itin__mini .jstop__dot { width: 10px; height: 10px; }
.itin__mini .jstop__label { font-size: .62rem; }
.itin__mini .jpaw { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.itin__now { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--color-muted); }
.itin__now strong { color: var(--color-text); font-family: var(--font-sans); letter-spacing: .02em; }
.days { list-style: none; }
.day { position: relative; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--color-line); transition: opacity .4s; }
.day:last-child { border-bottom: 1px solid var(--color-line); }
.day__n { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; color: var(--color-muted); }
.day__n strong { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 400; line-height: 1; color: var(--color-primary); letter-spacing: 0; }
.day__title { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: .5rem; }
.day__place { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-secondary-ink); margin-bottom: .75rem; }
.day__opt { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; list-style: none; }
.day__opt li { font-size: .78rem; padding: .3rem .65rem; border-radius: 999px; background: var(--color-sand); color: var(--color-muted); }
.day.is-current .day__n strong { color: var(--color-accent-ink); }
.day.is-current::before { content: ""; position: absolute; left: -1.25rem; top: 2rem; bottom: 2rem; width: 2px; background: var(--color-accent); }
.itin-bar { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 40; background: var(--color-primary); color: var(--color-background); padding: .6rem var(--gutter); display: none; align-items: center; gap: .75rem; font-size: .85rem; transform: translateY(calc(-100% - var(--header-h))); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
.itin-bar.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.itin-bar svg { width: 18px; height: 18px; fill: var(--color-accent); flex: none; }
.itin-bar strong { font-weight: 600; }
.itin-bar span { color: var(--color-secondary-soft); font-family: var(--font-mono); font-size: .75rem; margin-left: auto; }
.itin-bar__track { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--color-accent); width: var(--p, 0%); transition: width .4s var(--ease); }
@media (max-width: 1023px) {
  .itin { grid-template-columns: 1fr; }
  .itin__aside { display: none; }
  .itin-bar { display: flex; }
  .day { grid-template-columns: 3.75rem minmax(0, 1fr); gap: 1rem; padding: 1.6rem 0; }
  .day__n strong { font-size: 2rem; }
  .day.is-current::before { left: -.75rem; }
}

/* =====================================================================================================
   GALERÍA (masonry por filas de grid) + LIGHTBOX
   ===================================================================================================== */
.masonry { --cols: 4; --row: 8px; --gap: clamp(.6rem, 1.2vw, 1rem); display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: var(--row); column-gap: var(--gap); list-style: none; }
.masonry--3 { --cols: 3; }
@media (max-width: 1023px) { .masonry { --cols: 3; } }
@media (max-width: 699px) { .masonry, .masonry--3 { --cols: 2; } }
.tile { position: relative; margin-bottom: var(--gap); }
.tile__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--color-sand); border-radius: var(--radius-sm); overflow: hidden; color: var(--color-white); text-align: left; }
.tile__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s; opacity: 0; }
.tile__btn img.is-loaded { opacity: 1; }
.tile__btn:hover img { transform: scale(1.035); }
.tile__cap { position: absolute; inset: auto 0 0 0; padding: 2.5rem .9rem .8rem; font-size: .8rem; line-height: 1.35; background: linear-gradient(180deg, transparent, rgba(8, 20, 14, .75)); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.tile__btn:hover .tile__cap, .tile__btn:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile__badge { position: absolute; top: .7rem; left: .7rem; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem .3rem .4rem; border-radius: 999px; background: rgba(8, 20, 14, .65); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(4px); }
.tile__badge svg { width: 16px; height: 16px; fill: currentColor; }
@media (hover: none) { .tile__cap { display: none; } }
.gallery-more { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-top: 2rem; }
.gallery-more p { font-family: var(--font-mono); font-size: .8rem; color: var(--color-muted); }
.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(8, 16, 12, .96); color: var(--color-background); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgba(8, 16, 12, .9); }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: .75rem var(--gutter); }
.lightbox__count { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; color: var(--color-secondary-soft); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(.5rem, 5vw, 5rem); }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox__stage video { max-height: 100%; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); color: var(--color-background); background: rgba(8, 16, 12, .5); border-color: rgba(245, 241, 232, .4); }
.lightbox__prev { left: clamp(.5rem, 2vw, 1.5rem); }
.lightbox__next { right: clamp(.5rem, 2vw, 1.5rem); }
.lightbox__cap { padding: 1rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom)); text-align: center; font-size: .95rem; color: rgba(245, 241, 232, .9); }
.lightbox__cap small { display: block; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-soft); margin-top: .25rem; }
.lightbox .icon-btn { color: var(--color-background); border-color: rgba(245, 241, 232, .4); }
@media (max-width: 699px) { .lightbox__prev, .lightbox__next { top: auto; bottom: -3.75rem; transform: none; } .lightbox__stage { padding: 0; } .lightbox[open] { grid-template-rows: auto minmax(0, 1fr) auto; } .lightbox__cap { padding-top: 4rem; } }

/* Mosaico editorial (selección de la portada) */
.mosaic { --gap: clamp(.6rem, 1.2vw, 1rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 17vw, 280px); gap: var(--gap); list-style: none; }
.mosaic .tile { margin: 0; }
.mosaic .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic .tile:nth-child(3) { grid-row: span 2; }
.mosaic .tile:nth-child(6) { grid-column: span 2; }
@media (max-width: 699px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 46vw; }
  .mosaic .tile:nth-child(1) { grid-row: span 1; }
  .mosaic .tile:nth-child(3) { grid-row: span 2; }
  .mosaic .tile:nth-child(n+7) { display: none; }
}

/* Colecciones de experiencias */
.collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); list-style: none; }
.collection { position: relative; }
.collection a { display: block; text-decoration: none; }
.collection__media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-sand); }
.collection__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collection a:hover img { transform: scale(1.04); }
.collection__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 20, 14, .7)); }
.collection__count { position: absolute; z-index: 1; left: 1rem; bottom: .9rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; color: var(--color-background); }
.collection h3 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); margin-top: .9rem; }
.collection p { font-size: .82rem; color: var(--color-muted); margin-top: .25rem; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 1023px) {
  .collections { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .75rem; scrollbar-width: none; }
  .collections::-webkit-scrollbar { display: none; }
  .collection { flex: 0 0 min(62vw, 280px); scroll-snap-align: start; }
}
.trip-tabs { display: flex; gap: .5rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--color-line); margin-bottom: 2.5rem; }
.trip-tab { position: relative; flex: none; white-space: nowrap; display: inline-flex; align-items: baseline; gap: .6rem; min-height: 56px; padding: .9rem .25rem; margin-right: 1.5rem; border: 0; background: none; font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--color-muted); }
.trip-tab small { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; }
.trip-tab[aria-selected="true"] { color: var(--color-text); }
.trip-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--color-accent); }
.edition { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; margin-bottom: 2rem; }
.edition h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.edition p { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .08em; color: var(--color-muted); margin: 0; }
.testimonial-ph { margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(2rem, 4vw, 3rem); border: 1px dashed rgba(85, 104, 79, .5); border-radius: var(--radius); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.testimonial-ph__q { font-family: var(--font-display); font-size: 5rem; line-height: .6; color: var(--color-accent); }
.testimonial-ph p { margin: 0; color: var(--color-muted); }
.ph-tag { display: inline-block; font-family: var(--font-mono); font-size: .7rem; font-weight: 700; letter-spacing: .16em; padding: .25rem .55rem; border-radius: 4px; background: var(--color-sand); color: var(--color-accent-ink); margin-bottom: .5rem; }

/* =====================================================================================================
   PROPUESTA DE VALOR · CTA EMOCIONAL · BANDAS
   ===================================================================================================== */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; border-top: 1px solid var(--color-line); }
.value { padding: 2rem clamp(1rem, 2vw, 2rem) 0 0; }
.value + .value { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--color-line); }
.value__n { font-family: var(--font-mono); font-size: .8rem; color: var(--color-accent-ink); }
.value h3 { font-size: clamp(1.5rem, 2.1vw, 1.95rem); margin: 1.5rem 0 .85rem; }
.value p { color: var(--color-muted); font-size: .98rem; }
@media (max-width: 1023px) { .values { grid-template-columns: 1fr 1fr; } .value:nth-child(3) { border-left: 0; padding-left: 0; } .value { padding-bottom: 2rem; } }
@media (max-width: 599px) { .values { grid-template-columns: 1fr; } .value + .value { border-left: 0; padding-left: 0; border-top: 1px solid var(--color-line); } }
.media-band { position: relative; min-height: min(92svh, 900px); display: grid; place-items: center; text-align: center; color: var(--color-white); overflow: hidden; background: var(--color-primary-deep); }
.media-band__img { position: absolute; inset: -6% 0; }
.media-band__img img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)); }
.media-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(8, 20, 14, .55), rgba(8, 20, 14, .2)), linear-gradient(180deg, rgba(8, 20, 14, .2), rgba(8, 20, 14, .6)); }
.media-band__content { position: relative; z-index: 1; max-width: 900px; padding: 6rem var(--gutter); }
.media-band__content .eyebrow { justify-content: center; }
.media-band__content .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.media-band__content .lead { max-width: 38rem; margin: 1.5rem auto 2.25rem; color: rgba(255, 255, 255, .9); }
.media-band .btn-row { justify-content: center; }

/* =====================================================================================================
   FOOTER · WHATSAPP
   ===================================================================================================== */
.site-footer { background: var(--color-primary-deep); color: var(--color-background); padding: clamp(4rem, 8vw, 6.5rem) 0 2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 2.5rem; }
.footer__brand img { width: 120px; height: 120px; margin-bottom: 1.5rem; }
.footer__brand p { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; max-width: 18rem; }
.footer__col h2 { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--color-accent-soft); margin-bottom: 1.25rem; }
.footer__col ul { list-style: none; display: grid; gap: .25rem; }
.footer__col a { display: inline-block; padding: .3rem 0; color: rgba(245, 241, 232, .88); overflow-wrap: anywhere; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--color-line-light); font-size: .82rem; color: var(--color-secondary-soft); }
.footer__credit { display: inline-block; margin-left: .35rem; }
.footer__credit-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--color-secondary-soft); text-decoration: none; }
.footer__credit-link img { width: auto; height: 16px; opacity: .7; transition: opacity .25s; }
.footer__credit-name { font-weight: 600; letter-spacing: .02em; }
.footer__credit-link:hover, .footer__credit-link:focus-visible { color: var(--color-background); text-decoration: underline; }
.footer__credit-link:hover img, .footer__credit-link:focus-visible img { opacity: 1; }
.footer__credit-link:focus-visible { outline: 2px solid var(--color-accent-soft); outline-offset: 3px; border-radius: 2px; }
@media (max-width: 699px) { .footer__credit { display: block; margin: .4rem 0 0; } .footer__credit > span[aria-hidden] { display: none; } }
@media (max-width: 1099px) { .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 699px) { .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 479px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }
.wa-float { position: fixed; right: clamp(1rem, 2vw, 1.5rem); bottom: calc(clamp(1rem, 2vw, 1.5rem) + env(safe-area-inset-bottom)); z-index: 55; display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: .45rem 1.1rem .45rem .5rem; border-radius: 999px; background: var(--color-primary); color: var(--color-background); border: 1px solid rgba(201, 154, 74, .55); box-shadow: 0 14px 34px -14px rgba(8, 20, 14, .65); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: transform .35s var(--ease), opacity .35s, background-color .3s; }
.wa-float:hover { background: var(--color-primary-soft); transform: translateY(-2px); }
.wa-float__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--color-accent); color: var(--color-primary-deep); }
.wa-float__icon svg { width: 20px; height: 20px; fill: currentColor; }
html.nav-open .wa-float, html.is-locked .wa-float, html.sheet-open .wa-float, .wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 767px) { .wa-float { padding: 6px; min-height: 0; } .wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .wa-float__icon { width: 42px; height: 42px; } }

/* =====================================================================================================
   PÁGINA DE VIAJE
   ===================================================================================================== */
.keydata { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-block: 1px solid var(--color-line); }
.keydata > div { padding: 1.5rem 1.25rem 1.5rem 0; }
.keydata > div + div { padding-left: 1.25rem; border-left: 1px solid var(--color-line); }
.keydata dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); }
.keydata dd { margin: .5rem 0 0; font-size: 1.05rem; line-height: 1.35; }
.keydata dd strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--color-primary); line-height: 1; }
@media (max-width: 1023px) { .keydata { grid-template-columns: repeat(3, minmax(0, 1fr)); } .keydata > div:nth-child(4) { border-left: 0; padding-left: 0; } .keydata > div:nth-child(n+4) { border-top: 1px solid var(--color-line); } }
@media (max-width: 599px) { .keydata { grid-template-columns: 1fr 1fr; } .keydata > div { padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid var(--color-line); } .keydata > div:nth-child(-n+2) { border-top: 0; } .keydata > div:nth-child(even) { padding-left: 1rem !important; border-left: 1px solid var(--color-line) !important; } }
.keydata--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .keydata--4 { grid-template-columns: 1fr 1fr; } .keydata--4 > div:nth-child(odd) { border-left: 0; padding-left: 0; } .keydata--4 > div:nth-child(n+3) { border-top: 1px solid var(--color-line); } .keydata--4 > div:nth-child(4) { border-left: 1px solid var(--color-line); padding-left: 1.25rem; } }
.summary { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.summary__lead { grid-column: 1 / span 6; font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.12; }
.summary__text { grid-column: 8 / span 5; }
@media (max-width: 899px) { .summary__lead, .summary__text { grid-column: 1 / -1; } }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.75rem) clamp(1rem, 2vw, 2rem); list-style: none; margin-top: clamp(3rem, 6vw, 5rem); counter-reset: hl; }
.highlight { counter-increment: hl; }
.highlight__img { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-sand); }
.highlight__img img { width: 100%; height: 100%; object-fit: cover; }
.highlight h3 { font-size: 1.6rem; margin: 1rem 0 .4rem; display: flex; gap: .65rem; align-items: baseline; }
.highlight h3::before { content: "0" counter(hl); font-family: var(--font-mono); font-size: .78rem; color: var(--color-accent-ink); }
.highlight p { color: var(--color-muted); font-size: .96rem; }
@media (max-width: 899px) { .highlights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .highlights { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .75rem; scrollbar-width: none; } .highlight { flex: 0 0 78vw; scroll-snap-align: start; } }
.strip { display: flex; gap: clamp(.6rem, 1.2vw, 1rem); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--strip-pad); list-style: none; --strip-pad: max(var(--gutter), calc((100% - var(--container-wide)) / 2 + var(--gutter))); padding: 0 var(--strip-pad) 1rem; scrollbar-width: thin; scrollbar-color: var(--color-secondary) transparent; }
.strip li { flex: none; scroll-snap-align: start; }
.strip .tile__btn { height: clamp(300px, 46vh, 460px); width: auto; }
.strip .tile__btn img { height: 100%; width: auto; }
.strip .tile__btn img { opacity: 1; }
.strip-nav { display: flex; gap: .5rem; }
.deps { list-style: none; border-top: 1px solid var(--color-line); }
.dep { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr) auto; gap: 1.5rem; align-items: center; padding: 1.75rem 0; border-bottom: 1px solid var(--color-line); }
.dep.is-picked { background: linear-gradient(90deg, rgba(201, 154, 74, .12), transparent 60%); box-shadow: inset 3px 0 0 var(--color-accent); padding-left: 1.25rem; }
.dep__dates { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; }
.dep__label { display: block; font-family: var(--font-sans); font-size: .9rem; color: var(--color-muted); margin-top: .25rem; }
.dep__k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); display: block; margin-bottom: .25rem; }
.dep__price strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--color-primary); }
@media (max-width: 899px) { .dep { grid-template-columns: 1fr 1fr; } .dep__dates { grid-column: 1 / -1; } .dep .btn { grid-column: 1 / -1; } }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); list-style: none; margin-top: 2.5rem; }
.room { padding: 1.75rem; border-radius: var(--radius); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); }
.room__icons { display: flex; gap: .3rem; margin-bottom: 1.25rem; color: var(--color-secondary-ink); }
.room__icons svg { width: 22px; height: 22px; fill: currentColor; }
.room h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.room__price { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; color: var(--color-accent-ink); margin-bottom: .5rem; }
.room p { color: var(--color-muted); font-size: .95rem; }
@media (max-width: 767px) { .rooms { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 899px) { .two-col { grid-template-columns: minmax(0, 1fr) !important; } }
.check-list { list-style: none; }
.check-list li { position: relative; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--color-line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 14px; height: 8px; border-left: 2px solid var(--color-ok); border-bottom: 2px solid var(--color-ok); transform: rotate(-45deg); }
.check-list--no li::before { width: 14px; height: 2px; border: 0; background: var(--color-muted); transform: none; top: 1.45rem; }
.list-title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 1.25rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: .85rem 0; border-bottom: 1px solid var(--color-line); text-align: left; font-weight: 400; }
.price-table td:last-child { text-align: right; font-family: var(--font-mono); white-space: nowrap; }
.price-table caption { text-align: left; }
.note { font-size: .88rem; color: var(--color-muted); margin-top: 1rem; }
.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start; padding: 1.5rem 1.75rem; border-radius: var(--radius); background: var(--color-accent-cream); box-shadow: inset 0 0 0 1px rgba(138, 100, 36, .25); }
.callout svg { width: 28px; height: 28px; color: var(--color-accent-ink); fill: none; stroke: currentColor; stroke-width: 1.6; }
.callout strong { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.2; margin-bottom: .25rem; }
.callout p { margin: 0; color: var(--color-muted); font-size: .95rem; }
.req { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; }
.req li { padding-top: 1.25rem; border-top: 2px solid var(--color-primary); }
.req h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.req p { color: var(--color-muted); font-size: .95rem; }
@media (max-width: 899px) { .req { grid-template-columns: 1fr; } }
.climate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin-top: 1.5rem; }
.climate li { padding: 1.25rem; border-radius: var(--radius-sm); background: var(--color-primary); color: var(--color-background); }
.climate span { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-secondary-soft); }
.climate strong { display: block; font-family: var(--font-display); font-size: 1.5rem; white-space: nowrap; font-weight: 400; margin-top: .4rem; }
@media (max-width: 767px) { .climate { grid-template-columns: 1fr 1fr; } }
.faq { border-top: 1px solid var(--color-line); }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 1.5rem; max-width: 46rem; color: var(--color-muted); }
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(245, 241, 232, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-line); }
.subnav ul { display: flex; gap: 1.75rem; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav ul a { display: inline-block; padding: 1rem 0; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--color-muted); border-bottom: 2px solid transparent; }
.subnav ul a.is-active, .subnav ul a:hover { color: var(--color-text); border-bottom-color: var(--color-accent); }
.subnav__cta { margin-left: auto; flex: none; }
.subnav .container { display: flex; align-items: center; gap: 1.5rem; }
@media (max-width: 1023px) { .subnav { display: none; } }

/* =====================================================================================================
   FORMULARIOS · RESERVA · AGENDA
   ===================================================================================================== */
.option-cards { display: grid; gap: .75rem; }
.option { position: relative; display: block; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option__box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; border-radius: var(--radius); border: 1px solid rgba(23, 26, 24, .2); background: var(--color-white); transition: border-color .2s, box-shadow .2s; }
.option__radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--color-muted); display: grid; place-items: center; }
.option input:checked + .option__box { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.option input:checked + .option__box .option__radio { border-color: var(--color-primary); }
.option input:checked + .option__box .option__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--color-primary); }
.option input:focus-visible + .option__box { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.option input:disabled + .option__box { opacity: .55; cursor: not-allowed; }
.option__title { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; }
.option__sub { font-size: .88rem; color: var(--color-muted); }
.option__aside { text-align: right; font-size: .88rem; }
.option__aside strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--color-primary); }
.stepper { display: flex; gap: .25rem; list-style: none; counter-reset: st; margin-bottom: 2.5rem; }
.stepper li { flex: 1; counter-increment: st; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); padding-top: .75rem; border-top: 3px solid var(--color-sand); }
.stepper li::before { content: counter(st) ". "; font-family: var(--font-mono); }
.stepper li.is-done { border-top-color: var(--color-secondary); color: var(--color-secondary-ink); }
.stepper li[aria-current="step"] { border-top-color: var(--color-accent); color: var(--color-text); }
.stepper-mobile { display: none; margin-bottom: 1.75rem; }
.stepper-mobile p { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.stepper-mobile p span { font-family: var(--font-mono); color: var(--color-muted); font-weight: 400; }
@media (max-width: 899px) { .stepper { display: none; } .stepper-mobile { display: block; } }
.book { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.book__main h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: .6rem; }
.book__main > section > .muted { margin-bottom: 2rem; }
.book__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.book__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-line); }
.summary-card { border-radius: var(--radius); background: var(--color-primary); color: var(--color-background); overflow: hidden; }
.summary-card__img { aspect-ratio: 16 / 9; }
.summary-card__img img { width: 100%; height: 100%; object-fit: cover; }
.summary-card__body { padding: 1.5rem 1.75rem 1.75rem; }
.summary-card h3 { font-size: 2rem; }
.summary-card dl { margin: 1.25rem 0 0; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--color-line-light); font-size: .92rem; }
.summary-card dt { color: var(--color-secondary-soft); }
.summary-card dd { margin: 0; text-align: right; }
.summary-card .total dd { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--color-accent-soft); }
.summary-card .note { color: var(--color-secondary-soft); }
.summary-toggle { display: none; }
@media (max-width: 899px) {
  .book { grid-template-columns: minmax(0, 1fr); }
  .book__aside { position: static; order: -1; }
  .summary-toggle { display: block; border-radius: var(--radius); background: var(--color-primary); color: var(--color-background); }
  .summary-toggle summary { display: flex; justify-content: space-between; padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; list-style: none; }
  .summary-toggle summary::-webkit-details-marker { display: none; }
  .summary-toggle summary span { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-accent-soft); }
  .summary-card--desktop { display: none; }
  .summary-toggle .summary-card { border-radius: 0 0 var(--radius) var(--radius); }
}
.counter { display: inline-flex; align-items: center; gap: 1rem; padding: .35rem; border-radius: 999px; border: 1px solid rgba(23, 26, 24, .22); background: var(--color-white); }
.counter output { min-width: 2ch; text-align: center; font-family: var(--font-display); font-size: 1.8rem; line-height: 1; }
.counter .icon-btn { border-color: transparent; background: var(--color-sand); }
.counter .icon-btn:hover { background: var(--color-primary); }
.panel { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); }
.panel + .panel { margin-top: 1.25rem; }
.panel h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.dropzone { position: relative; display: grid; place-items: center; gap: .5rem; text-align: center; padding: 2.25rem 1.5rem; border: 1.5px dashed rgba(85, 104, 79, .6); border-radius: var(--radius); background: var(--color-white); transition: border-color .2s, background-color .2s; }
.dropzone.is-over { border-color: var(--color-accent); background: var(--color-accent-wash); }
.dropzone svg { width: 34px; height: 34px; stroke: var(--color-secondary-ink); fill: none; stroke-width: 1.5; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__file { font-family: var(--font-mono); font-size: .85rem; color: var(--color-primary); }
.timeline { list-style: none; position: relative; margin-top: 1.5rem; }
.timeline li { position: relative; padding: 0 0 1.75rem 2.5rem; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--color-sand); }
.timeline li:last-child::before { display: none; }
.timeline__dot { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--color-sand); background: var(--color-white); display: grid; place-items: center; }
.timeline li.is-done .timeline__dot { background: var(--color-ok); border-color: var(--color-ok); }
.timeline li.is-done .timeline__dot::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--color-white); border-bottom: 2px solid var(--color-white); transform: rotate(-45deg) translate(1px, -1px); }
.timeline li.is-done::before { background: var(--color-ok); }
.timeline li.is-current .timeline__dot { border-color: var(--color-accent); }
.timeline li.is-current .timeline__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); animation: pulse 2.2s infinite; }
.timeline li.is-no .timeline__dot { background: var(--color-danger); border-color: var(--color-danger); }
.timeline strong { display: block; font-weight: 600; }
.timeline span { font-size: .9rem; color: var(--color-muted); }
.demo-controls { margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: 10px; border: 1px dashed var(--color-accent-ink); background: var(--color-accent-wash); }
.demo-controls p { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-ink); margin-bottom: .75rem; }
.result-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.result-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
/* Agenda */
.agenda { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 899px) { .agenda { grid-template-columns: minmax(0, 1fr); } }
.agenda > * { min-width: 0; }
.days-strip { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; list-style: none; }
.day-btn { position: relative; flex: none; display: grid; justify-items: center; gap: .1rem; width: 74px; min-height: 88px; padding: .6rem .25rem; border-radius: 12px; border: 1px solid rgba(23, 26, 24, .2); background: var(--color-white); }
.day-btn small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
.day-btn strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.day-btn[aria-pressed="true"] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-background); }
.day-btn[aria-pressed="true"] small { color: var(--color-secondary-soft); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; list-style: none; }
.slot-group { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); margin: 1rem 0 .5rem; }
.slot-btn { width: 100%; min-height: 52px; border-radius: 10px; border: 1px solid rgba(23, 26, 24, .2); background: var(--color-white); font-weight: 600; font-size: .95rem; }
.slot-btn small { display: block; font-weight: 400; font-size: .72rem; color: var(--color-muted); }
.slot-btn[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); }
.slot-btn[aria-pressed="true"] small { color: var(--color-text); }
.slot-btn:disabled { background: transparent; color: var(--color-muted); text-decoration: line-through; cursor: not-allowed; opacity: .7; }
@media (max-width: 479px) { .slots { grid-template-columns: 1fr 1fr; } }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); list-style: none; }
.contact-card { display: flex; flex-direction: column; gap: .5rem; padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); }
.contact-card svg { width: 30px; height: 30px; color: var(--color-accent-ink); fill: none; stroke: currentColor; stroke-width: 1.5; margin-bottom: .75rem; }
.contact-card h3 { font-size: 1.7rem; }
.contact-card p { color: var(--color-muted); font-size: .95rem; }
.contact-card .link-arrow, .contact-card .btn { margin-top: auto; align-self: flex-start; }
.contact-card--dark { background: var(--color-primary); color: var(--color-background); box-shadow: none; }
.contact-card--dark p { color: var(--color-secondary-soft); }
.contact-card--dark svg { color: var(--color-accent-soft); }
@media (max-width: 899px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }
.contact-card .btn { white-space: normal; text-align: left; }
.toast { position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom)); z-index: 120; transform: translate(-50%, 20px); max-width: min(92vw, 520px); padding: .9rem 1.25rem; border-radius: 12px; background: var(--color-text); color: var(--color-background); font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================================================
   NOSOTROS
   ===================================================================================================== */
.story { list-style: none; position: relative; }
.story__item { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 5fr); gap: clamp(1.5rem, 3vw, 3rem); padding: clamp(2rem, 4vw, 3.5rem) 0; border-top: 1px solid var(--color-line); align-items: center; }
.story__year { font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: 1; color: var(--color-accent-ink); }
.story__item h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: .5rem; }
.story__item p { color: var(--color-muted); }
.story__img { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-sand); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__img--empty { display: grid; place-items: center; color: var(--color-secondary); }
.story__img--empty svg { width: 54px; fill: currentColor; opacity: .5; }
@media (max-width: 899px) { .story__item { grid-template-columns: 1fr; } }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.mv h3 { font-size: 2rem; margin-bottom: 1rem; }
.mv p:not(.eyebrow) { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.35; }
@media (max-width: 767px) { .mv { grid-template-columns: 1fr; } }

/* =====================================================================================================
   MOVIMIENTO (reveal) — solo si el usuario no pidió reducir movimiento
   ===================================================================================================== */
.js-motion [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__scroll { display: none; }
}

/* =====================================================================================================
   CONVERSION POLISH (ronda final) — mismos tokens y componentes; solo piezas comerciales nuevas
   ===================================================================================================== */
/* Precio total + reserva inicial en el hero del viaje */
.price-box { margin-top: 1.75rem; max-width: 36rem; }
.price-box__dates { margin: 0 0 1rem; font-size: .8rem; letter-spacing: .1em; color: var(--color-accent-light); }
.price-box__dates .is-chosen { color: var(--color-white); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: .35em; }
.price-box__grid { display: grid; grid-template-columns: auto auto; justify-content: start; margin: 0; border-block: 1px solid rgba(255, 255, 255, .28); }
.price-box__item { padding: .95rem 2rem .95rem 0; }
.price-box__item + .price-box__item { padding-left: 2rem; border-left: 1px solid rgba(255, 255, 255, .28); }
.price-box dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.price-box dd { margin: .4rem 0 0; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.price-box dd strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1; color: var(--color-white); margin-right: .2rem; }
.price-box__item--dep dd strong { color: var(--color-accent-light); }
.price-box__line { margin: .9rem 0 0; font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.page-hero--trip .btn svg { flex: none; }
.hero-tertiary { margin: 1rem 0 0; }
.hero-tertiary .link-arrow { color: var(--color-white); border-bottom-color: rgba(255, 255, 255, .5); }
@media (max-width: 599px) {
  .page-hero--trip .btn-row .btn { flex: 1 1 100%; }
  .price-box__item { padding-right: 1.1rem; }
  .price-box__item + .price-box__item { padding-left: 1.1rem; }
}
/* Desktop: el botón de la subnavegación reemplaza al del encabezado cuando la subnavegación queda fija */
.header-cta { transition: opacity .3s var(--ease), visibility 0s linear 0s; }
html.subnav-stuck .site-header .header-cta { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
.subnav__cta { margin-block: .45rem; }
/* Móvil: barra inferior de reserva (fuera de menú, lightbox y hoja del Journey) */
.buybar { display: none; }
@media (max-width: 1023px) {
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 56; align-items: center; gap: .75rem; padding: .55rem var(--gutter) calc(.55rem + env(safe-area-inset-bottom)); background: rgba(16, 40, 30, .97); color: var(--color-background); border-top: 1px solid rgba(201, 154, 74, .35); box-shadow: 0 -12px 30px -14px rgba(0, 0, 0, .45); transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
  .buybar.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  html.nav-open .buybar, html.is-locked .buybar, html.sheet-open .buybar { transform: translateY(110%); visibility: hidden; }
  .buybar__price { margin: 0; flex: 1; min-width: 0; display: grid; line-height: 1.2; }
  .buybar__price span { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; white-space: nowrap; }
  .buybar__price span small { font-family: var(--font-sans); font-size: .72rem; font-weight: 400; color: var(--color-secondary-soft); }
  .buybar__price > small { font-size: .74rem; color: var(--color-accent-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar__wa { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(245, 241, 232, .35); color: var(--color-background); }
  .buybar__wa svg { width: 20px; height: 20px; fill: currentColor; }
  .buybar__cta { flex: none; }
  html.buybar-on .wa-float { opacity: 0; pointer-events: none; visibility: hidden; }
  html.buybar-on .toast { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .has-buybar .site-footer { padding-bottom: calc(2rem + 4.5rem + env(safe-area-inset-bottom)); }
}
/* Prueba social: "Así se vive este viaje" */
.proof { background: var(--color-surface); border-block: 1px solid var(--color-line); }
.proof__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.proof__text .lead { margin: 1rem 0 .6rem; }
.proof__meta { font-size: .78rem; color: var(--color-muted); margin-bottom: 1.1rem; }
.proof__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.4rem, 1vw, .75rem); list-style: none; }
.proof__tiles .tile__btn { aspect-ratio: 1 / 1; }
.proof__tiles .tile__btn img { opacity: 1; }
@media (max-width: 899px) { .proof__grid { grid-template-columns: minmax(0, 1fr); } }
/* Salidas: consulta por salida */
.dep__ctas { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.dep__consult { font-size: .72rem; min-height: 40px; }
@media (max-width: 899px) { .dep__ctas { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; } }
.media-band__alt { margin: 1.25rem 0 0; font-size: .95rem; }
.media-band__alt a { color: rgba(255, 255, 255, .88); }
/* "Quién te acompaña" (oculto hasta tener contenido autorizado) */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); list-style: none; }
.guide__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-sand); display: grid; place-items: center; color: var(--color-secondary-ink); margin-bottom: 1rem; }
.guide__photo img { width: 100%; height: 100%; object-fit: cover; }
.guide--pending .guide__photo { border: 1px dashed rgba(85, 104, 79, .5); }
.guide--pending .guide__photo svg { width: 28%; fill: currentColor; opacity: .45; }
.guide h3 { font-size: 1.6rem; margin-bottom: .2rem; }
.guide__role { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-ink); margin-bottom: .6rem; }
@media (max-width: 767px) { .guides { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Journey: jerarquía del panel (qué sucede aquí → día → foto → descripción → itinerario → experiencias) */
.jcard__head { padding: 1.4rem clamp(1.25rem, 2vw, 1.75rem) 1rem; display: grid; gap: .35rem; flex: none; }
.jcard__place { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-secondary-soft); }
.jcard__headline { font-size: clamp(1.6rem, 2vw, 2rem); line-height: 1.08; }
.jcard__head .jcard__kicker { margin: .2rem 0 0; }
.jpanel .jcard__media { aspect-ratio: 16 / 10; }
.jcard__actions .btn { flex: none; }
.jcard__exp { font-size: .74rem; }
/* Hoja inferior móvil: estado compacto (~40%) y expandido */
.jsheet { max-height: 46svh; }
.jsheet.is-full { max-height: 86svh; }
.jsheet__bar span { font-family: var(--font-mono); }
.jsheet__tools { display: flex; gap: .35rem; }
.jsheet__tools .icon-btn { width: 40px; height: 40px; border-color: var(--color-line-light); }
.jcard--sheet .jcard__top { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: .9rem; align-items: center; padding: .9rem var(--gutter) 0; }
.jcard__thumb { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--color-primary); }
.jcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.jcard--sheet .jcard__kicker { margin: 0; }
.jcard--sheet .jcard__place { margin: .15rem 0 .2rem; }
.jcard--sheet .jcard__headline { font-size: 1.35rem; }
.jcard--sheet .jcard__body { padding: .8rem var(--gutter) calc(1rem + env(safe-area-inset-bottom)); gap: .6rem; }
.jcard--sheet .jcard__text { margin: 0; }
.jcard--sheet .jcard__actions { margin-top: 0; padding-top: .2rem; gap: .6rem; }
.jsheet:not(.is-full) .jcard__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jsheet:not(.is-full) .jcard__full { display: none; }
.jsheet.is-full .jcard__top { grid-template-columns: minmax(0, 1fr); }
.jsheet.is-full .jcard__thumb { display: none; }
.jsheet.is-full .jcard__full .jcard__media { aspect-ratio: 16 / 9; margin-top: .9rem; }
.jsheet .jcard__full .jcard__exp { align-self: flex-start; }
/* Reserva con menos fricción */
.picked { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); }
.picked p { margin: 0; }
.picked .label { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); font-weight: 400; }
.picked strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; }
.picked .link-arrow { background: none; border-width: 0 0 1px; padding: .5rem 0; font: inherit; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-text); }
.option__aside small { display: block; font-size: .76rem; color: var(--color-accent-ink); margin-top: .2rem; }
.pax-total { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--color-line); font-size: .98rem; }
.pax-total strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--color-primary); }
.later { margin-top: 1.25rem; border-radius: var(--radius); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); padding: 0 1.25rem; }
.later summary { cursor: pointer; padding: 1rem 0; font-weight: 600; font-size: .95rem; }
.later .check-list { padding-bottom: .75rem; }
.summary-card .total dt small { color: var(--color-secondary-soft); font-size: .78rem; }

/* Botón flotante: en la página de viaje se aparta mientras hay un CTA de consulta visible (hero o CTA final) */
html.trip-cta-on .wa-float { opacity: 0; pointer-events: none; visibility: hidden; }
@media (max-width: 599px) {
  .price-box dt { letter-spacing: .12em; }
  .price-box dd strong { display: block; margin: 0 0 .15rem; }
}

/* Reserva · paso Pago inicial: dos acciones largas → en móvil se apilan (primaria arriba), sin desbordar */
.book__nav { flex-wrap: wrap; }
@media (max-width: 599px) {
  .book__nav--pay > * { flex: 1 1 100%; justify-content: center; }
  .book__nav--pay [type=submit] { order: -1; }
}
.guide .ph-tag { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
/* Barra inferior en pantallas angostas (≤419px): precio, WhatsApp y Reservar sin solaparse */
@media (max-width: 419px) {
  .buybar { gap: .5rem; }
  .buybar__price span { font-size: 1.2rem; }
  .buybar__price span small { font-size: .68rem; }
  .buybar__price > small { font-size: .69rem; }
  .buybar__cta { padding-inline: 1.1rem; }
}
/* Hoja del Journey: en pantallas táctiles "Ver más / Ver menos" no queda pintado en estado hover tras tocarlo */
@media (hover: none) { .jsheet__more:hover { --b-bg: transparent; --b-fg: var(--color-white); --b-bd: rgba(255, 255, 255, .6); } }
/* Hoja del Journey · vista corta ≈ 40–45 % del alto: un poco más de imagen y texto, sin tapar el mapa */
.jsheet:not(.is-full) { min-height: 40svh; }
.jcard--sheet .jcard__top { grid-template-columns: 96px minmax(0, 1fr); }
.jsheet:not(.is-full) .jcard__text { -webkit-line-clamp: 3; }
@media (max-height: 720px) {
  .jcard--sheet .jcard__top { grid-template-columns: 72px minmax(0, 1fr); padding-top: .7rem; }
  .jcard--sheet .jcard__headline { font-size: 1.2rem; }
  .jcard--sheet .jcard__body { padding-top: .6rem; gap: .45rem; }
  .jsheet:not(.is-full) .jcard__text { -webkit-line-clamp: 2; }
}
.jcard--sheet .jcard__thumb { width: 100%; height: auto; aspect-ratio: 1; }
@media (max-width: 399px) {
  .jcard--sheet .jcard__actions { flex-wrap: nowrap; gap: .5rem; }
  .jcard--sheet .jcard__actions .btn { padding-inline: .95rem; letter-spacing: .1em; white-space: nowrap; }
}

/* =====================================================================================================
   R6 · INTEGRACIÓN CMS + CRM (mismos tokens y componentes del prototipo final aprobado; sin rediseño)
   Ajustes pedidos: logo más grande, tipografía levemente más pesada, CTA de reserva premium,
   WhatsApp persistente (se reacomoda, no se oculta), The Journey más grande con onda en la huella activa,
   estados públicos (Disponible / Viaje lleno / Próximamente) y componentes administrables
   (reseñas, videos de viajeros, equipo, historia). CSP estricta: cero estilos en línea → utilidades.
   ===================================================================================================== */

/* ---------- Tipografía: mismas familias, un punto más de peso ---------- */
body { font-weight: var(--weight-body); }
h1, h2, h3, h4, .trip-tab, .mobile-nav__list a, .facts strong, .day__n strong, .climate strong, .summary__lead,
.footer__brand p, .mv p:not(.eyebrow), .faq summary, .story__year, .dep__dates, .option__title, .counter output { font-weight: 500; }
.meta-list dd strong, .keydata dd strong, .dep__price strong, .price-box dd strong, .summary-card .total dd, .option__aside strong { font-weight: 600; }
.btn, .link-arrow, .site-nav__link { font-weight: 650; }

/* ---------- Logo: más grande y responsivo ---------- */
.brand img { width: 80px; height: 80px; }
.site-header.is-compact { --header-h: 76px; }
.site-header.is-compact .brand img { width: 62px; height: 62px; }
@media (max-width: 767px) {
  .brand img { width: 60px; height: 60px; }
  .site-header.is-compact { --header-h: 64px; }
  .site-header.is-compact .brand img { width: 50px; height: 50px; }
}
.mobile-nav__top img { width: 60px; height: 60px; }
.footer__brand img { width: 150px; height: 150px; }
@media (max-width: 479px) { .footer__brand img { width: 120px; height: 120px; } }

/* ---------- Estados públicos (nunca cupos numéricos) ---------- */
.full-note { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--tone-full-scrim); color: var(--tone-full-ink); max-width: 36rem; }
.full-note strong { display: block; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.full-note p { margin: .25rem 0 0; font-size: .95rem; }

/* ---------- WhatsApp persistente: se reacomoda en vez de ocultarse ---------- */
.wa-float.is-hidden, html.trip-cta-on .wa-float, html.sheet-open .wa-float { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }
.wa-float.is-compact { padding: 6px; min-height: 0; }
.wa-float.is-compact .wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html.sheet-open .wa-float { top: calc(var(--header-h) + .75rem); bottom: auto; padding: 6px; min-height: 0; }
html.sheet-open .wa-float .wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 1023px) {
  html.buybar-on .wa-float { opacity: 1; pointer-events: auto; visibility: visible; bottom: calc(5.4rem + env(safe-area-inset-bottom)); padding: 6px; min-height: 0; }
  html.buybar-on .wa-float .wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.has-portal-nav .wa-float { bottom: calc(5.4rem + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .has-portal-nav .wa-float { bottom: calc(clamp(1rem, 2vw, 1.5rem) + env(safe-area-inset-bottom)); } }

/* ---------- The Journey: más grande; huella con onda en la parada activa ---------- */
.jmap, .jpanel { height: clamp(600px, 82vh, 900px); }
.journey__stage { grid-template-columns: minmax(0, 1fr) clamp(340px, 27vw, 420px); }
@media (max-width: 1023px) { .jmap { height: clamp(440px, 70svh, 660px); } }
.jpaw { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.jpaw::before, .jpaw::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid var(--color-accent); opacity: 0; pointer-events: none; }
.jpaw.is-docked::before { animation: pawripple 2.6s var(--ease) infinite; }
.jpaw.is-docked::after { animation: pawripple 2.6s var(--ease) 1.3s infinite; }
@keyframes pawripple { 0% { transform: scale(.7); opacity: .75; } 75%, 100% { transform: scale(2.4); opacity: 0; } }
.jpaw svg { position: relative; z-index: 1; }
.itin__mini .jpaw { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.itin__mini .jpaw::before, .itin__mini .jpaw::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .jpaw::before, .jpaw::after, .jstop__ring { display: none !important; animation: none !important; }
}
.journey-list { list-style: none; display: grid; gap: .5rem; margin-top: 1rem; counter-reset: js; }
.journey-list li { counter-increment: js; display: flex; gap: .75rem; align-items: baseline; padding: .6rem 0; border-bottom: 1px solid var(--color-line-light); }
.journey-list li::before { content: counter(js, decimal-leading-zero); font-family: var(--font-mono); font-size: .75rem; color: var(--color-accent-soft); }
.js .journey-list { display: none; }

/* ---------- Habitaciones según reglas del CRM (dobles / viajero solo / individual cotizada) ---------- */
.room__icons svg { fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---------- Reseñas (solo aprobadas y con consentimiento) ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); list-style: none; }
.review { display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.5rem, 2.5vw, 2rem); border-radius: var(--radius); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); }
.review__q { font-family: var(--font-display); font-size: 3.6rem; line-height: .5; color: var(--color-accent); height: 1.6rem; }
.review__title { font-size: 1.45rem; }
.review__text { color: var(--color-text); font-size: 1rem; margin: 0; }
.review__meta { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--color-line); font-size: .88rem; color: var(--color-muted); }
.review__meta strong { display: block; color: var(--color-text); font-weight: 650; }
.review__stars { display: inline-flex; gap: .15rem; color: var(--color-accent-ink); }
.review__stars svg { width: 15px; height: 15px; fill: currentColor; }
@media (max-width: 1023px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 699px) { .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .75rem; scrollbar-width: none; } .review { flex: 0 0 min(84vw, 360px); scroll-snap-align: start; } }

/* ---------- Videos de viajeros (verticales, sin autoplay con sonido, carga al reproducir) ---------- */
.vtestis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); list-style: none; }
.vtesti { display: flex; flex-direction: column; gap: .6rem; }
.vtesti__frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--color-primary-deep); }
.vtesti__frame--horizontal { aspect-ratio: 16 / 9; }
.vtesti__frame--square { aspect-ratio: 1 / 1; }
.vtesti__frame img, .vtesti__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vtesti__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 20, 14, .65)); color: var(--color-white); }
.vtesti__play svg { width: 64px; height: 64px; }
.vtesti__play span { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; text-align: left; font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.vtesti h3 { font-size: 1.35rem; }
.vtesti p { margin: 0; font-size: .88rem; color: var(--color-muted); }
@media (max-width: 1023px) { .vtestis { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .75rem; scrollbar-width: none; } .vtesti { flex: 0 0 min(58vw, 260px); scroll-snap-align: start; } }

/* ---------- Equipo: lista dinámica, todos los campos opcionales (sin huecos ni marcadores vacíos) ---------- */
.team-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2.25rem); list-style: none; }
.team-grid--one { grid-template-columns: minmax(0, 420px); }
.team-grid--few { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-grid--many { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-grid--lots { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1023px) { .team-grid--many, .team-grid--lots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .team-grid--few, .team-grid--many, .team-grid--lots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team-grid--one { grid-template-columns: minmax(0, 1fr); } }
.team-card { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.team-card__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-sand); margin-bottom: .6rem; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card--text { padding: clamp(1.25rem, 2vw, 1.75rem); border-radius: var(--radius); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); }
.team-card__initials { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--color-primary); color: var(--color-accent-soft); font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: .5rem; }
.team-card__name { font-size: 1.6rem; overflow-wrap: anywhere; }
.team-card__role { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-ink); margin: 0; }
.team-card__bio { margin: .2rem 0 0; color: var(--color-muted); font-size: .95rem; }
.team-card__contacts { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .4rem; }
.team-card__contacts a { font-size: .85rem; overflow-wrap: anywhere; }

/* ---------- Historia de la empresa (al final del contenido) ---------- */
.history .story__item:first-child { border-top: 0; }

/* ---------- Destinos ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); list-style: none; }
@media (max-width: 899px) { .dest-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .dest-grid { grid-template-columns: 1fr; } }

/* ---------- Avisos (flash) y bloques de formulario en el sitio ---------- */
.flash-zone { padding-top: calc(var(--header-h) + 1rem); }
.flash-zone + main .page-intro, .flash-zone + main .page-hero__content { padding-top: 2rem; }
.form-error { color: var(--color-danger); font-size: .88rem; margin: .35rem 0 0; }
.field--error .input, .field--error .select { border-color: var(--color-danger); }
.legal-small { font-size: .82rem; color: var(--color-muted); }
.pax-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 599px) { .pax-grid { grid-template-columns: 1fr; } }
.room-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding: .9rem 0; border-top: 1px solid var(--color-line); }
.room-row:first-of-type { border-top: 0; }
@media (max-width: 699px) { .room-row { grid-template-columns: 1fr; } }
.room-row[hidden] { display: none; }
.book-section + .book-section { margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--color-line); }
.book-section h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .5rem; }


/* Hero: el póster dentro de <picture> cubre todo el alto mientras el video no corre */
.hero__media picture img { width: 100%; height: 100%; object-fit: cover; }
/* Tarjetas sin imagen: huella (sin imágenes rotas ni cajas vacías) */
.trip-row__media--ph { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--color-primary-soft), var(--color-primary-deep)); color: var(--color-accent-soft); }
.trip-row__media--ph svg { width: 30%; fill: currentColor; opacity: .9; }
.price-tag strong { font-weight: 600; }
.contact-card .link-arrow svg, .contact-card .btn svg { width: 16px; height: 16px; margin: 0; stroke-width: 1.6; }
.turnstile-note { font-size: .82rem; color: var(--color-muted); }
/* Agenda real (horarios del servidor): mismos botones del prototipo como enlaces/radios */
a.day-btn { text-decoration: none; color: inherit; }
a.day-btn[aria-pressed="true"] { color: var(--color-background); }
.slot-radio { display: grid; place-items: center; gap: .1rem; cursor: pointer; padding: .5rem; position: relative; }
.slot-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot-radio:has(input:checked) { background: var(--color-accent); border-color: var(--color-accent); }
.slot-radio:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.choice-list { list-style: none; display: grid; gap: .6rem; }
.choice { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; justify-content: space-between; padding: 1rem 1.25rem; border-radius: var(--radius); border: 1px solid rgba(23, 26, 24, .2); background: var(--color-white); text-decoration: none; color: inherit; }
.choice[aria-current="true"] { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.choice strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.choice span { font-size: .9rem; color: var(--color-muted); }

/* ---------- Reserva, vista previa del CMS y ajustes R6/R6.1 ---------- */
/* Reserva: el botón de WhatsApp queda compacto para no tapar el resumen fijo */
body[data-page="reservar"] .wa-float { padding: 6px; min-height: 0; }
body[data-page="reservar"] .wa-float .wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* R6 · botones con textos largos (p. ej. "Continuar: crear cuenta o ingresar") nunca desbordan en móvil */
@media (max-width: 600px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }

/* R6 · CMS: barra de vista previa del borrador (solo personal) */
.preview-bar { position: sticky; top: 0; z-index: 60; padding: .55rem 1rem; text-align: center; font-size: .85rem; background: var(--reserve-to); color: var(--reserve-ink); }

/* R6.1 · habitaciones dinamicas en la reserva: el atributo hidden manda sobre el display del boton */
[data-room-add][hidden], .room-row__remove[hidden] { display: none !important; }
.room-row__remove { background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; color: inherit; cursor: pointer; justify-self: start; align-self: end; font: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* ===== design-system/layers/portal.css ===== */
/* PATAPERROS · Capa PORTAL (Mi cuenta + ingreso/registro): mismo sistema, adaptado a funcion */
/* ---------- Ingreso / registro / MFA ---------- */
.auth-card { max-width: 30rem; }
.auth-card .btn { width: 100%; }
.auth-card .btn-row .btn { flex: 1 1 100%; }
.mfa-steps { padding-left: 1.2rem; }
.mfa-qr { display: flex; justify-content: center; margin: 1rem 0; }
.mfa-codes { columns: 2; list-style: none; padding: 0; font-family: var(--font-mono); font-size: 1.05rem; margin: 1rem 0 1.5rem; }
/* =====================================================================================================
   MI CUENTA (portal del cliente): mismo sistema visual del sitio; tarjetas, no tablas de ERP
   ===================================================================================================== */
.portal { padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)); padding-bottom: var(--section-y); }
.portal-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.portal-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.portal-nav { position: sticky; top: var(--header-h); z-index: var(--z-sticky); background: var(--color-glass-strong); backdrop-filter: blur(10px); margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.p-section { margin-top: clamp(2.5rem, 5vw, 4rem); }
.p-section > h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.status--pending, .status--ok, .status--no { border: 0; }
.list-plain { list-style: none; display: grid; gap: .5rem; }
.list-plain li { padding: .75rem 0; border-bottom: 1px solid var(--color-line); }
.dropzone--simple { padding: 1.25rem; }
.dropzone--simple input { position: static; opacity: 1; }

/* ---------- Encabezado del portal: acciones (volver a viajes, WhatsApp, salir); sin opciones administrativas ---------- */
@media (min-width: 1080px) { .portal-actions { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); } }
.portal-actions .site-nav__link { display: inline-flex; align-items: center; gap: .45rem; }
.portal-actions svg { width: 16px; height: 16px; flex: none; }
.portal-actions .btn svg { width: 16px; height: 16px; }

/* ---------- Resumen: "Tu proxima aventura" (el viaje antes que las cifras) ---------- */
.trip-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.trip-hero__media { position: relative; min-height: 340px; background: var(--color-primary); }
.trip-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trip-hero__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--color-accent-soft); }
.trip-hero__ph svg { width: 26%; fill: currentColor; opacity: .85; }
.trip-hero__body { display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.trip-hero__body .eyebrow { margin-bottom: 0; }
.trip-hero__title { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; }
.trip-hero__dates { font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.5rem); margin: 0; font-variant-numeric: lining-nums; }
.trip-hero__facts { list-style: none; display: grid; gap: 0; margin: .25rem 0; border-top: 1px solid var(--color-line); }
.trip-hero__facts li { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; padding: .7rem 0; border-bottom: 1px solid var(--color-line); font-size: .95rem; }
.trip-hero__label { flex: 0 0 9.5rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); }
.trip-hero .btn-row { margin-top: .5rem; }
@media (max-width: 899px) {
  .trip-hero { grid-template-columns: minmax(0, 1fr); }
  .trip-hero__media { min-height: 0; aspect-ratio: 16 / 9; }
  .trip-hero__label { flex-basis: 100%; }
}
.portal-metrics { margin-top: 0; }

/* ---------- Mis pagos: estado de cuenta por reserva ---------- */
.statement__lines { display: grid; gap: 0; margin: .25rem 0 0; }
.statement__lines > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--color-line); }
.statement__lines dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); }
.statement__lines dd { margin: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; text-align: right; }
.statement__total dd strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: var(--weight-strong); color: var(--color-primary); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Mis documentos: checklist con estados ---------- */
.checklist { list-style: none; display: grid; gap: 0; margin: .25rem 0; }
.checklist__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--color-line); }
.checklist__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .85rem; font-weight: 700; background: var(--tone-neutral-bg); color: var(--tone-neutral-ink); }
.checklist__item--success .checklist__icon { background: var(--tone-success-bg); color: var(--tone-success-ink); }
.checklist__item--warning .checklist__icon { background: var(--tone-warning-bg); color: var(--tone-warning-ink); }
.checklist__item--danger .checklist__icon { background: var(--tone-danger-bg); color: var(--tone-danger-ink); }
.checklist__item--info .checklist__icon { background: var(--tone-info-bg); color: var(--tone-info-ink); }
.checklist__label { font-weight: var(--weight-strong); }
.checklist__meta { display: block; font-weight: var(--weight-body); font-size: .85rem; color: var(--color-muted); }
@media (max-width: 479px) { .checklist__item { grid-template-columns: auto minmax(0, 1fr); } .checklist__item .status { grid-column: 2; justify-self: start; } }

/* ---------- Ingreso / registro: "sigo en Pataperros" (formulario + foto de marca) ---------- */
.auth { padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(3rem, 6vw, 5rem); }
.auth__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: stretch; }
.auth__main { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.auth .page-intro { padding: 0; }
.auth .page-intro > .container { padding: 0; max-width: none; }
.auth__aside { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 560px; display: flex; align-items: flex-end; }
.auth__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth__aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, var(--color-scrim) 100%); }
.auth__brand { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.auth__brand img { width: 96px; height: 96px; flex: none; }
.auth__claim { font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.1; color: var(--color-background); margin: 0; max-width: 22ch; }
@media (max-width: 899px) {
  .auth__grid { grid-template-columns: minmax(0, 1fr); }
  .auth__aside { min-height: 0; order: -1; aspect-ratio: 16 / 7; }
  .auth__brand img { width: 64px; height: 64px; }
  .auth__claim { font-size: 1.3rem; }
}

/* ---------- Pie simplificado (portal e ingreso) ---------- */
.site-footer--min { padding-block: clamp(2rem, 4vw, 2.75rem); }
.footer-min { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.footer-min__brand img { width: 64px; height: 64px; }
.footer-min__links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; list-style: none; }
.footer-min__links a { text-decoration: none; }
.footer-min__links a:hover { text-decoration: underline; }
.footer-min__legal { margin: 0 0 0 auto; font-size: .82rem; color: var(--color-secondary-soft); }
@media (max-width: 699px) { .footer-min__legal { margin-left: 0; width: 100%; } }

/* Etiquetas de estado largas ("Pendiente de reserva inicial") bajan de linea en pantallas angostas en vez de cortarse */
[data-ui="portal"] .status { white-space: normal; line-height: 1.25; max-width: 100%; }

/* ===== design-system/utilities.css ===== */
/* PATAPERROS · Design system · Utilidades (van AL FINAL de cada hoja: ganan a los componentes) */
/* ---------- Utilidades (reemplazan estilos en línea del prototipo) ---------- */
.u-span-all { grid-column: 1 / -1; }
.u-m-0 { margin: 0; }
.u-mt-0 { margin-top: 0; } .u-mt-05 { margin-top: .5rem; } .u-mt-1 { margin-top: 1rem; } .u-mt-15 { margin-top: 1.5rem; } .u-mt-2 { margin-top: 2rem; } .u-mt-25 { margin-top: 2.5rem; }
.u-mt-xl { margin-top: clamp(3rem, 6vw, 5rem); } .u-mt-lg { margin-top: clamp(3rem, 6vw, 4.5rem); } .u-mt-35 { margin-top: 3.5rem; }
.u-mb-05 { margin-bottom: .5rem; } .u-mb-1 { margin-bottom: 1rem; }
.u-pt-0 { padding-top: 0; } .u-pb-0 { padding-bottom: 0; } .u-pt-sm { padding-top: clamp(2rem, 4vw, 3rem); } .u-pt-15 { padding-top: 1.5rem; } .u-pb-15 { padding-bottom: 1.5rem; }
.u-ml-auto { margin-left: auto; }
.u-text-center { text-align: center; }
.u-center-x { justify-content: center; }
.u-align-end { align-items: end; }
.u-maxw-44 { max-width: 44rem; } .u-maxw-46 { max-width: 46rem; }
.u-nw { font-weight: 400; }
.display--md { font-size: clamp(2.6rem, 6vw, 5.6rem); }
.display--sm { font-size: clamp(2.6rem, 6.4vw, 6rem); }
.h3--md { font-size: 1.7rem; } .h3--sm { font-size: 1.5rem; margin-bottom: .5rem; } .h3--room { font-size: 1.6rem; margin-bottom: .5rem; }
.two-col--4-7 { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.hero-facts { margin: 1.25rem 0 0; color: var(--color-accent-light); letter-spacing: .12em; }
.ref-note { margin-top: 1.5rem; color: var(--color-on-photo); }
.jexp-note { color: var(--color-secondary-soft); margin-top: .5rem; }
.d-1 { --delay: .08s; } .d-2 { --delay: .12s; } .d-3 { --delay: .16s; } .d-4 { --delay: .24s; }
.ar-16-10 { aspect-ratio: 16 / 10; }
.fig-0 { margin: 0; }
.soon__media--fill { height: 100%; aspect-ratio: auto; }
.thumb-hidden { display: none; }
/* R6.2 · utilidades del panel (reemplazan estilos en linea frecuentes) */
.u-mb-0 { margin-bottom: 0; } .u-text-right { text-align: right; } .u-nowrap { white-space: nowrap; }
.u-break { word-break: break-all; }

/* Punto focal de la biblioteca (object-position) en pasos de 10 % */
.op-0-0{object-position:0% 0%}.op-10-0{object-position:10% 0%}.op-20-0{object-position:20% 0%}.op-30-0{object-position:30% 0%}.op-40-0{object-position:40% 0%}.op-50-0{object-position:50% 0%}.op-60-0{object-position:60% 0%}.op-70-0{object-position:70% 0%}.op-80-0{object-position:80% 0%}.op-90-0{object-position:90% 0%}.op-100-0{object-position:100% 0%}
.op-0-10{object-position:0% 10%}.op-10-10{object-position:10% 10%}.op-20-10{object-position:20% 10%}.op-30-10{object-position:30% 10%}.op-40-10{object-position:40% 10%}.op-50-10{object-position:50% 10%}.op-60-10{object-position:60% 10%}.op-70-10{object-position:70% 10%}.op-80-10{object-position:80% 10%}.op-90-10{object-position:90% 10%}.op-100-10{object-position:100% 10%}
.op-0-20{object-position:0% 20%}.op-10-20{object-position:10% 20%}.op-20-20{object-position:20% 20%}.op-30-20{object-position:30% 20%}.op-40-20{object-position:40% 20%}.op-50-20{object-position:50% 20%}.op-60-20{object-position:60% 20%}.op-70-20{object-position:70% 20%}.op-80-20{object-position:80% 20%}.op-90-20{object-position:90% 20%}.op-100-20{object-position:100% 20%}
.op-0-30{object-position:0% 30%}.op-10-30{object-position:10% 30%}.op-20-30{object-position:20% 30%}.op-30-30{object-position:30% 30%}.op-40-30{object-position:40% 30%}.op-50-30{object-position:50% 30%}.op-60-30{object-position:60% 30%}.op-70-30{object-position:70% 30%}.op-80-30{object-position:80% 30%}.op-90-30{object-position:90% 30%}.op-100-30{object-position:100% 30%}
.op-0-40{object-position:0% 40%}.op-10-40{object-position:10% 40%}.op-20-40{object-position:20% 40%}.op-30-40{object-position:30% 40%}.op-40-40{object-position:40% 40%}.op-50-40{object-position:50% 40%}.op-60-40{object-position:60% 40%}.op-70-40{object-position:70% 40%}.op-80-40{object-position:80% 40%}.op-90-40{object-position:90% 40%}.op-100-40{object-position:100% 40%}
.op-0-50{object-position:0% 50%}.op-10-50{object-position:10% 50%}.op-20-50{object-position:20% 50%}.op-30-50{object-position:30% 50%}.op-40-50{object-position:40% 50%}.op-50-50{object-position:50% 50%}.op-60-50{object-position:60% 50%}.op-70-50{object-position:70% 50%}.op-80-50{object-position:80% 50%}.op-90-50{object-position:90% 50%}.op-100-50{object-position:100% 50%}
.op-0-60{object-position:0% 60%}.op-10-60{object-position:10% 60%}.op-20-60{object-position:20% 60%}.op-30-60{object-position:30% 60%}.op-40-60{object-position:40% 60%}.op-50-60{object-position:50% 60%}.op-60-60{object-position:60% 60%}.op-70-60{object-position:70% 60%}.op-80-60{object-position:80% 60%}.op-90-60{object-position:90% 60%}.op-100-60{object-position:100% 60%}
.op-0-70{object-position:0% 70%}.op-10-70{object-position:10% 70%}.op-20-70{object-position:20% 70%}.op-30-70{object-position:30% 70%}.op-40-70{object-position:40% 70%}.op-50-70{object-position:50% 70%}.op-60-70{object-position:60% 70%}.op-70-70{object-position:70% 70%}.op-80-70{object-position:80% 70%}.op-90-70{object-position:90% 70%}.op-100-70{object-position:100% 70%}
.op-0-80{object-position:0% 80%}.op-10-80{object-position:10% 80%}.op-20-80{object-position:20% 80%}.op-30-80{object-position:30% 80%}.op-40-80{object-position:40% 80%}.op-50-80{object-position:50% 80%}.op-60-80{object-position:60% 80%}.op-70-80{object-position:70% 80%}.op-80-80{object-position:80% 80%}.op-90-80{object-position:90% 80%}.op-100-80{object-position:100% 80%}
.op-0-90{object-position:0% 90%}.op-10-90{object-position:10% 90%}.op-20-90{object-position:20% 90%}.op-30-90{object-position:30% 90%}.op-40-90{object-position:40% 90%}.op-50-90{object-position:50% 90%}.op-60-90{object-position:60% 90%}.op-70-90{object-position:70% 90%}.op-80-90{object-position:80% 90%}.op-90-90{object-position:90% 90%}.op-100-90{object-position:100% 90%}
.op-0-100{object-position:0% 100%}.op-10-100{object-position:10% 100%}.op-20-100{object-position:20% 100%}.op-30-100{object-position:30% 100%}.op-40-100{object-position:40% 100%}.op-50-100{object-position:50% 100%}.op-60-100{object-position:60% 100%}.op-70-100{object-position:70% 100%}.op-80-100{object-position:80% 100%}.op-90-100{object-position:90% 100%}.op-100-100{object-position:100% 100%}
