/* ============================================================
   LAST MINUTE OUTDOORS — Shared Component Library
   "Departure board meets rubber stamp."
   All shared classes. No per-page overrides allowed.
   Requires: css/tokens.css loaded first.
   ============================================================ */


/* ============================================================
   1. LAYOUT UTILITIES
   ============================================================ */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gap);
  padding-right: var(--gap);
}

/* Section vertical rhythm */
.section {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.section--sm {
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(24px, 4vw, 48px);
}

.section--board {
  background: var(--board);
  color: var(--board-text);
}

/* Generic flex helpers */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: calc(var(--gap) * 0.5); }
.gap { gap: var(--gap); }
.gap-lg { gap: calc(var(--gap) * 1.5); }
.gap-xl { gap: calc(var(--gap) * 2.5); }

/* Stack (vertical flex) */
.stack { display: flex; flex-direction: column; gap: var(--gap); }
.stack--sm { display: flex; flex-direction: column; gap: calc(var(--gap) * 0.5); }
.stack--lg { display: flex; flex-direction: column; gap: calc(var(--gap) * 2); }

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Sidebar layout: main content + right rail */
.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--gap) * 2);
  align-items: start;
}
@media (min-width: 960px) {
  .layout-sidebar {
    grid-template-columns: 1fr 340px;
  }
}

/* Text utilities */
.text-center { text-align: center; }
.text-mono  { font-family: var(--font-mono); }
.text-display { font-family: var(--font-display); }
.text-muted  { color: var(--muted); }
.text-naranja { color: var(--naranja-ink); }
.text-board  { color: var(--board-text); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-lg { font-size: var(--text-lg); }
.uppercase { text-transform: uppercase; letter-spacing: 0.06em; }
.strike { text-decoration: line-through; }
.bold { font-weight: 700; }

/* Divider with notch — ticket-stub feel */
.notch-divider {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  margin: var(--gap) 0;
}
.notch-divider::before,
.notch-divider::after {
  content: '';
  flex: 1;
  border-top: 1.5px dashed var(--linea);
  opacity: 0.4;
}
.notch-divider__circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--linea);
  flex-shrink: 0;
  margin: 0 -10px;
  z-index: 1;
}


/* ============================================================
   2. SITE HEADER — public pages
   ============================================================ */

.site-header {
  background: var(--paper-2);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  height: 60px;
}

/* Logo lockup */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.site-logo__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-logo__line1 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-transform: uppercase;
}

.site-logo__line2 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--naranja);
  text-transform: uppercase;
}

/* Nav */
.site-nav {
  display: none;
  align-items: center;
  gap: calc(var(--gap) * 1.5);
}

@media (min-width: 768px) {
  .site-nav { display: flex; }
}

.site-nav__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--naranja-ink);
  border-bottom-color: var(--naranja);
}

/* Header right cluster */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 0.75);
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 3px 8px;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  white-space: nowrap;
}
.lang-pill:hover {
  background: var(--ink);
  color: var(--paper);
}

.mi-reserva-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  display: none;
}
@media (min-width: 768px) {
  .mi-reserva-link { display: inline; }
}

/* Hamburger (static, no JS needed for wireframe) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  flex-shrink: 0;
}
.hamburger__bar {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}
@media (min-width: 768px) {
  .hamburger { display: none; }
}


/* ============================================================
   3. SITE HEADER — Agency panel variant
   ============================================================ */

.site-header--panel {
  background: var(--board);
  border-bottom: 2px solid var(--naranja);
}

.site-header--panel .site-logo__line1 {
  color: var(--board-text);
  font-size: 11px;
}

.site-header--panel .site-logo__line2 {
  color: var(--naranja);
  font-size: 11px;
}

.site-header--panel .site-nav__link {
  color: var(--board-text);
  border-bottom-color: transparent;
}

.site-header--panel .site-nav__link:hover,
.site-header--panel .site-nav__link[aria-current="page"] {
  color: var(--naranja);
  border-bottom-color: var(--naranja);
}

.site-header--panel .lang-pill {
  border-color: var(--board-text);
  color: var(--board-text);
}

.site-header--panel .lang-pill:hover {
  background: var(--board-text);
  color: var(--board);
}

.site-header--panel .hamburger__bar {
  background: var(--board-text);
}

.site-header--panel .mi-reserva-link {
  color: var(--board-text);
}

/* Panel logo badge */
.panel-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--naranja);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 2px 6px;
  margin-left: 4px;
}


/* ============================================================
   3b. SITE HEADER — Documentation variant (internal, noindex)
   Same chrome as the public header so the docs can't drift from
   the real app, but the nav is a doc switcher and an orange
   under-rule + "Docs" badge mark the page as internal reference.
   ============================================================ */

.site-header--docs {
  border-bottom-color: var(--naranja);
}

.docs-badge {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--naranja);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 2px 6px;
  margin-left: 8px;
}


/* ============================================================
   4. SITE FOOTER
   ============================================================ */

.site-footer {
  background: var(--board);
  color: var(--board-text);
  border-top: 3px solid var(--naranja);
  padding: clamp(40px, 6vw, 72px) 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--gap) * 2);
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--gap);
  }
}

.site-footer__slogan {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  color: var(--paper);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.site-footer__tagline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--board-text);
  opacity: 0.7;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.site-footer__col-head {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__link {
  font-size: var(--text-sm);
  color: var(--board-text);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.site-footer__link:hover {
  opacity: 1;
  color: var(--paper);
}

.site-footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--verde);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.site-footer__bottom {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--board-text);
  opacity: 0.6;
  font-family: var(--font-mono);
}


/* ============================================================
   4b. DOC FOOTER — slim internal footer for documentation pages.
   Replaces the public marketing footer so docs don't read as
   public pages; carries only the doc switcher + a noindex note.
   ============================================================ */

.doc-footer {
  margin-top: 56px;
  border-top: 2px solid var(--ink);
  background: var(--paper-2);
  padding: 28px 0;
}

.doc-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.doc-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.doc-footer__nav a {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.doc-footer__nav a:hover {
  color: var(--naranja-ink);
}

.doc-footer__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--muted);
}


/* ============================================================
   5. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  color: var(--ink);
  transition: box-shadow 0.1s, transform 0.1s;
  white-space: nowrap;
  position: relative;
  line-height: 1.2;
}

.btn:hover {
  box-shadow: var(--shadow-hard);
  transform: translate(-2px, -2px);
  color: var(--ink);
}

.btn:active {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(1px, 1px);
}

/* Primary — naranja fill */
.btn--primary {
  background: var(--naranja);
  border-color: var(--naranja-ink);
  color: var(--paper);
}
.btn--primary:hover {
  box-shadow: var(--shadow-naranja);
  color: var(--paper);
}

/* Ghost — ink outline only */
.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

/* Ghost button for dark backgrounds (e.g. image hero) */
.btn--ghost-light {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}

/* Board — dark background */
.btn--board {
  background: var(--board);
  border-color: var(--board);
  color: var(--board-text);
}
.btn--board:hover {
  box-shadow: var(--shadow-board);
  color: var(--board-text);
}

/* Sizes */
.btn--lg {
  font-size: var(--text-base);
  padding: 14px 28px;
}

.btn--sm {
  font-size: 12px;
  padding: 6px 14px;
  letter-spacing: 0.06em;
}

/* Block / full width */
.btn--block {
  display: flex;
  width: 100%;
}

/* Icon-only */
.btn--icon {
  padding: 10px;
  aspect-ratio: 1;
}


/* ============================================================
   6. BADGES, STAMPS & TAGS
   ============================================================ */

/* Rubber stamp discount badge */
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--naranja);
  border: 2.5px solid var(--naranja);
  border-radius: 3px;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: rotate(-6deg);
  background: rgba(251, 247, 239, 0.85);
  /* Slight grunge effect — double border illusion */
  box-shadow: 0 0 0 1px rgba(255, 90, 30, 0.3);
  white-space: nowrap;
  line-height: 1;
}

.stamp--lg {
  font-size: 22px;
  padding: 6px 14px;
  border-width: 3px;
}

.stamp--dark {
  background: rgba(27, 26, 22, 0.85);
  color: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(255, 180, 0, 0.3);
}

/* Availability tags — flip board style */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  line-height: 1.3;
  white-space: nowrap;
}

.tag--hoy {
  background: var(--board);
  color: var(--amber);
  border-color: var(--amber);
}

.tag--manana {
  background: var(--board);
  color: var(--board-text);
  border-color: var(--board-text);
}

.tag--finde {
  background: var(--board);
  color: var(--naranja);
  border-color: var(--naranja);
}

/* Difficulty pills */
.tag--dif-facil {
  background: rgba(46, 111, 78, 0.12);
  color: var(--verde);
  border-color: var(--verde);
}

.tag--dif-media {
  background: rgba(255, 180, 0, 0.12);
  color: #8B6500;
  border-color: var(--amber);
}

.tag--dif-dificil {
  background: rgba(192, 52, 29, 0.12);
  color: var(--danger);
  border-color: var(--danger);
}

.tag--dif-alta {
  background: rgba(192, 52, 29, 0.12);
  color: var(--danger);
  border-color: var(--danger);
}

/* Generic pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1.5px solid currentColor;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* Rating pill */
.pill--rating {
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--ink);
  color: var(--amber);
  border-color: var(--ink);
  border-radius: var(--radius);
  font-size: 12px;
}

/* Spots-left urgent pill */
.pill--spots {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--danger);
  border-color: var(--danger);
  background: rgba(192, 52, 29, 0.07);
  border-radius: var(--radius);
}


/* ============================================================
   7. DEAL CARD  (THE atomic unit)
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--gap) * 1.25);
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card base */
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: box-shadow 0.12s, transform 0.12s;
}

.card:hover {
  box-shadow: var(--shadow-hard);
  transform: translate(-3px, -3px);
}

/* Photo wrapper with duotone overlay */
.photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--board);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Base: slightly desaturated */
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.3s;
}

.card:hover .photo img {
  transform: scale(1.04);
}

/* Duotone warmth overlay — naranja/ink multiply */
.photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255, 90, 30, 0.18) 0%,
    rgba(23, 21, 15, 0.35) 100%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Category tile (no photo) */
.photo--tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--board);
}

.photo--tile__label {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--board-text);
  text-align: center;
  letter-spacing: 0.04em;
  z-index: 1;
  padding: 16px;
}

/* Overlay badges on photo */
.photo__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 2;
}

/* Heart wishlist */
.photo__heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(251, 247, 239, 0.9);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.photo__heart:hover {
  background: var(--naranja);
}

/* Card body */
.card__body {
  padding: 14px 14px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Agency byline */
.card__agency {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Tour title */
.card__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

/* Meta line: icon + difficulty + distance + altitude */
.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  line-height: 1.3;
}

.card__meta-sep {
  opacity: 0.4;
}

/* Incluye strip */
.card__incluye {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.card__incl-item {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Rating + spots row */
.card__social {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

/* Price row */
.card__footer {
  padding: 12px 14px 14px;
  border-top: 1.5px dashed var(--linea);
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.card__price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card__reserva-until {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 4px;
}


/* ============================================================
   8. PRICE BLOCK
   ============================================================ */

.price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price__old {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--muted);
  text-decoration: line-through;
  letter-spacing: 0.02em;
}

.price__now {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--naranja-ink);
  line-height: 1;
  letter-spacing: -0.01em;
}

.price__now--hero {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  color: var(--naranja);
}

.price__unit {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Inline price row variant */
.price--row {
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
}


/* ============================================================
   9. META CAPSULE
   ============================================================ */

.capsule {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.capsule__chip {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--linea);
  border-radius: var(--radius);
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.capsule__chip--board {
  background: var(--board);
  color: var(--board-text);
  border-color: var(--board);
}

.capsule__sep {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  opacity: 0.5;
}


/* ============================================================
   10. INCLUYE STRIP
   ============================================================ */

.incluye {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.incluye__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 52px;
  text-align: center;
}

.incluye__icon {
  font-size: 22px;
  line-height: 1;
}

.incluye__label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* Inline row variant */
.incluye--row {
  flex-direction: row;
  flex-wrap: wrap;
}

.incluye--row .incluye__item {
  flex-direction: row;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.incluye--row .incluye__label {
  font-size: 12px;
}


/* ============================================================
   11. FORM COMPONENTS
   ============================================================ */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

.label--required::after {
  content: ' *';
  color: var(--naranja-ink);
}

.input,
.select {
  width: 100%;
  padding: 11px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input:focus,
.select:focus {
  outline: none;
  border-color: var(--naranja);
  box-shadow: 0 0 0 3px rgba(255, 90, 30, 0.2);
}

.input::placeholder {
  color: var(--muted);
  font-style: italic;
}

/* Select wrapper for custom arrow */
.select-wrap {
  position: relative;
}

.select-wrap .select {
  padding-right: 36px;
}

.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--ink);
  font-size: 14px;
}

/* Textarea */
.textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.textarea:focus {
  outline: none;
  border-color: var(--naranja);
  box-shadow: 0 0 0 3px rgba(255, 90, 30, 0.2);
}

/* Form hint */
.hint {
  font-size: var(--text-xs);
  color: var(--muted);
  font-style: italic;
}

/* Error state */
.input--error {
  border-color: var(--danger);
}

.error-msg {
  font-size: var(--text-xs);
  color: var(--danger);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Stepper: − value + */
.stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.stepper__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  border: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.12s;
  flex-shrink: 0;
}

.stepper__btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.stepper__val {
  min-width: 44px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--text-base);
  padding: 0 8px;
  border-left: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  line-height: 40px;
}

/* Radio card — selectable date slots / payment options */
.radio-card-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card__face {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 2px solid var(--linea);
  border-radius: var(--radius);
  background: var(--paper-2);
  transition: border-color 0.12s, box-shadow 0.12s, background 0.12s;
  text-align: center;
}

.radio-card__input:checked + .radio-card__face {
  border-color: var(--naranja);
  background: rgba(255, 90, 30, 0.06);
  box-shadow: inset 0 0 0 1px var(--naranja);
}

.radio-card__face:hover {
  border-color: var(--naranja-ink);
}

.radio-card__day {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.radio-card__date {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  line-height: 1;
}

.radio-card__time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--naranja-ink);
  font-weight: 700;
}

.radio-card__spots {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--danger);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* OTP boxes */
.otp {
  display: flex;
  gap: 8px;
  align-items: center;
}

.otp__box {
  width: 48px;
  height: 56px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  caret-color: var(--naranja);
}

.otp__box:focus {
  outline: none;
  border-color: var(--naranja);
  box-shadow: 0 0 0 3px rgba(255, 90, 30, 0.2);
}

/* Checkbox */
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-field__input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--naranja);
  border: 2px solid var(--ink);
  cursor: pointer;
}

.checkbox-field__label {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ink);
}


/* ============================================================
   12. TRUST LINE
   ============================================================ */

.trustline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.trustline__icon {
  font-size: 14px;
  flex-shrink: 0;
}


/* ============================================================
   13. STICKY BOOKING WIDGET & BOOKING BAR
   ============================================================ */

.booking-widget {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Sticky behavior on desktop via layout-sidebar */
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow-hard);
}

.booking-widget__head {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.booking-widget__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 16px;
  border-bottom: 1.5px dashed var(--linea);
}

/* Mobile: booking bar becomes a sticky bottom strip */
.booking-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--paper-2);
  border-top: 2px solid var(--ink);
  padding: 12px var(--gap);
  gap: var(--gap);
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 0 var(--ink);
}

@media (max-width: 959px) {
  .booking-bar {
    display: flex;
  }
  /* Give page bottom padding so content isn't hidden behind bar */
  body.has-booking-bar {
    padding-bottom: 80px;
  }
}

.booking-bar__price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.booking-bar__old {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}

.booking-bar__now {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--naranja-ink);
  letter-spacing: -0.01em;
}


/* ============================================================
   14. NOTICE / CALLOUT
   ============================================================ */

.notice {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 5px solid var(--amber);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notice--board {
  background: var(--board);
  border-color: var(--board-text);
  border-left-color: var(--naranja);
  color: var(--board-text);
}

.notice--ok {
  border-left-color: var(--verde);
}

.notice__icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.4;
}

.notice__body {
  flex: 1;
}

.notice__title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: inherit;
}

.notice__text {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: inherit;
  margin: 0;
}

/* UNLOCK panel — confirmation reveal */
.unlock {
  background: var(--board);
  border: 3px solid var(--naranja);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.unlock::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(255, 90, 30, 0.04) 8px,
    rgba(255, 90, 30, 0.04) 16px
  );
  pointer-events: none;
}

.unlock__emoji {
  font-size: 40px;
  line-height: 1;
  position: relative;
}

.unlock__heading {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--paper);
  letter-spacing: 0.02em;
  position: relative;
  margin: 0;
}

.unlock__sub {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--board-text);
  position: relative;
  margin: 0;
}

.unlock__detail {
  background: var(--paper-2);
  border: 2px solid var(--naranja);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: left;
  width: 100%;
  max-width: 360px;
  position: relative;
}

.unlock__detail-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(23,21,15,0.2);
}

.unlock__detail-row:last-child {
  border-bottom: none;
}

.unlock__detail-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  width: 90px;
  flex-shrink: 0;
}

.unlock__detail-val {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

/* Verde unlock variant */
.unlock--verde {
  border-color: var(--verde);
}
.unlock--verde::before {
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(46, 111, 78, 0.05) 8px,
    rgba(46, 111, 78, 0.05) 16px
  );
}


/* ============================================================
   15. STEPS / PROGRESS BAR
   ============================================================ */

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  counter-reset: step;
  margin-bottom: calc(var(--gap) * 2);
  overflow-x: auto;
  padding-bottom: 4px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 70px;
  position: relative;
}

/* Connector line between steps */
.step::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--linea);
  opacity: 0.2;
  z-index: 0;
}
.step:last-child::after {
  display: none;
}

.step__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--linea);
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.step--done .step__dot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.step--active .step__dot {
  background: var(--naranja);
  border-color: var(--naranja-ink);
  color: var(--paper);
  box-shadow: 0 0 0 3px rgba(255, 90, 30, 0.2);
}

.step--done::after,
.step--active::after {
  opacity: 0.6;
}

.step__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
  line-height: 1.2;
}

.step--done .step__label,
.step--active .step__label {
  color: var(--ink);
}


/* ============================================================
   16. TIMELINE — itinerary with transport legs
   ============================================================ */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--linea);
  opacity: 0.15;
}

.timeline__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 0 0 20px 0;
  position: relative;
}

.timeline__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--linea);
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.timeline__time {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--naranja-ink);
  width: 44px;
  flex-shrink: 0;
  padding-top: 7px;
  text-align: right;
}

.timeline__content {
  flex: 1;
  padding-top: 6px;
}

.timeline__title {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink);
  margin-bottom: 2px;
}

.timeline__desc {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.timeline__item--transport .timeline__icon {
  background: var(--board);
  color: var(--board-text);
  border-color: var(--board);
}


/* ============================================================
   17. SECTION HEAD
   ============================================================ */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap);
  margin-bottom: calc(var(--gap) * 1.25);
  flex-wrap: wrap;
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
}

.section-head__link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--naranja-ink);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  white-space: nowrap;
  flex-shrink: 0;
}

.section-head__link:hover {
  color: var(--naranja);
}

/* Board variant (on dark sections) */
.section-head--board .section-head__title {
  color: var(--board-text);
}
.section-head--board .section-head__link {
  color: var(--naranja);
}


/* ============================================================
   18. FILTER BAR + FILTER GROUP
   ============================================================ */

.filterbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: var(--gap);
}

.filterbar::-webkit-scrollbar {
  display: none;
}

.filterbar__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border: 1.5px solid var(--linea);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s, border-color 0.12s;
  text-decoration: none;
  flex-shrink: 0;
}

.filterbar__chip:hover {
  border-color: var(--naranja-ink);
  color: var(--naranja-ink);
}

.filterbar__chip[aria-pressed="true"],
.filterbar__chip--active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Sidebar filter group */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group__head {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(23,21,15,0.15);
  margin-bottom: 2px;
}

.filter-group__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  cursor: pointer;
}

.filter-group__item input[type="checkbox"] {
  accent-color: var(--naranja);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.filter-group__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}

/* Range slider (price) */
.range-slider {
  width: 100%;
  accent-color: var(--naranja);
}


/* ============================================================
   19. EMPTY STATE
   ============================================================ */

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 20px;
  text-align: center;
  border: 2px dashed var(--linea);
  border-radius: var(--radius);
  opacity: 0.7;
}

.empty__icon {
  font-size: 48px;
  line-height: 1;
}

.empty__title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  margin: 0;
}

.empty__text {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
  max-width: 300px;
  line-height: 1.6;
}


/* ============================================================
   20. COUNTDOWN / URGENCY
   ============================================================ */

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--board-text);
  background: var(--board);
  border: 2px solid var(--amber);
  border-radius: var(--radius);
  padding: 8px 16px;
  letter-spacing: 0.04em;
}

.countdown__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--amber);
  margin-right: 4px;
}

.countdown__sep {
  color: var(--amber);
  opacity: 0.5;
}


/* ============================================================
   21. DATA TABLE
   ============================================================ */

.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--linea);
  border-radius: var(--radius);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 560px;
}

.table th {
  background: var(--board);
  color: var(--board-text);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--linea);
}

.table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(23,21,15,0.1);
  vertical-align: middle;
  color: var(--ink);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:nth-child(even) td {
  background: rgba(23,21,15,0.03);
}

.table tr:hover td {
  background: rgba(255, 90, 30, 0.04);
}

.table td.mono {
  font-family: var(--font-mono);
  font-size: 13px;
}

.table__status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--radius);
  border: 1.5px solid;
}

.table__status--ok {
  color: var(--ok);
  border-color: var(--ok);
  background: rgba(46, 111, 78, 0.08);
}

.table__status--pending {
  color: #8B6500;
  border-color: var(--amber);
  background: rgba(255, 180, 0, 0.08);
}

.table__status--danger {
  color: var(--danger);
  border-color: var(--danger);
  background: rgba(192, 52, 29, 0.08);
}


/* ============================================================
   22. STAT TILES — agency dashboard KPIs
   ============================================================ */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

@media (min-width: 640px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.stat__value {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--ink);
  line-height: 1;
}

.stat__value--naranja {
  color: var(--naranja-ink);
}

.stat__delta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

.stat__delta--up {
  color: var(--verde);
}

.stat__delta--down {
  color: var(--danger);
}

.stat__sub {
  font-size: var(--text-xs);
  color: var(--muted);
}


/* ============================================================
   23. HERO SECTION
   ============================================================ */

.hero {
  background: var(--board);
  color: var(--paper);
  border-bottom: 3px solid var(--naranja);
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.hero--has-bg {
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.7) contrast(1.1);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(27, 26, 22, 0.85) 0%,
    rgba(27, 26, 22, 0.5) 60%,
    rgba(255, 90, 30, 0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 12px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  color: var(--paper);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
}

.hero__sub {
  font-size: var(--text-lg);
  color: rgba(244, 238, 226, 0.8);
  max-width: 500px;
  margin: 0 0 28px;
  line-height: 1.5;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}


/* ============================================================
   24. HOW IT WORKS — Step cards
   ============================================================ */

.how-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 2px solid var(--linea);
  border-radius: var(--radius);
  background: var(--paper-2);
  position: relative;
}

.how-step__num {
  font-family: var(--font-display);
  font-size: 56px;
  color: rgba(23,21,15,0.08);
  line-height: 1;
  position: absolute;
  top: 10px;
  right: 16px;
  user-select: none;
}

.how-step__icon {
  font-size: 28px;
  line-height: 1;
}

.how-step__title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin: 0;
}

.how-step__text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}


/* ============================================================
   25. TOUR DETAIL — Gallery, Tabs, Policy
   ============================================================ */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 600px) {
  .gallery {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    height: 440px;
  }
  .gallery__main {
    grid-row: 1 / span 3;
  }
}

.gallery__thumb, .gallery__main {
  overflow: hidden;
  background: var(--board);
  position: relative;
}

.gallery__thumb img, .gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  display: block;
}

.gallery__thumb::after, .gallery__main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255, 90, 30, 0.12) 0%,
    rgba(23, 21, 15, 0.25) 100%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--linea);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 10px 18px;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s;
  text-decoration: none;
}

.tab:hover {
  color: var(--ink);
}

.tab[aria-selected="true"],
.tab--active {
  color: var(--naranja-ink);
  border-bottom-color: var(--naranja);
}

/* Policy row */
.policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(23,21,15,0.2);
}

.policy:last-child {
  border-bottom: none;
}

.policy__icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.policy__label {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink);
  margin-bottom: 2px;
}

.policy__text {
  font-size: var(--text-xs);
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}


/* ============================================================
   26. PAGE BREADCRUMB
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  padding: 12px 0;
}

.breadcrumb__link {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb__link:hover {
  color: var(--naranja-ink);
}

.breadcrumb__sep {
  opacity: 0.4;
}

.breadcrumb__current {
  color: var(--ink);
  font-weight: 700;
}


/* ============================================================
   27. MANIFESTO / ABOUT section
   ============================================================ */

.manifesto {
  text-align: center;
  padding: clamp(48px, 7vw, 96px) 0;
}

.manifesto__slogan {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 88px);
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.manifesto__slogan span {
  color: var(--naranja);
}

.manifesto__text {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
}


/* ============================================================
   28. MISC UTILITIES
   ============================================================ */

/* Skip to content (a11y) */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 16px;
  padding: 8px 16px;
  background: var(--naranja);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  z-index: 9999;
}
.skip-link:focus {
  top: 16px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Divider line */
.divider {
  border: none;
  border-top: 2px solid var(--linea);
  opacity: 0.15;
  margin: calc(var(--gap) * 1.5) 0;
}

/* Card -- for non-deal generic cards / how-it-works / info boxes */
.box {
  background: var(--paper-2);
  border: 2px solid var(--linea);
  border-radius: var(--radius);
  padding: var(--gap);
}

.box--board {
  background: var(--board);
  border-color: var(--board);
  color: var(--board-text);
}

.box--naranja {
  background: var(--naranja);
  border-color: var(--naranja-ink);
  color: var(--paper);
}

/* Ticket summary — checkout summary with notched edges */
.ticket {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  position: relative;
  overflow: visible;
}

.ticket::before,
.ticket::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.ticket::before {
  left: -12px;
}

.ticket::after {
  right: -12px;
}

.ticket__top {
  padding: 18px;
}

.ticket__bottom {
  padding: 18px;
  border-top: 1.5px dashed var(--linea);
}

/* Wrapper for tickets — keep overflow visible so the side notch
   pseudo-elements (.ticket::before/::after) can punch into the edges. */
.ticket-wrap {
  border-radius: var(--radius);
}

/* Logo SVG mark colors accessible from CSS */
.logo-peak { fill: var(--ink); }
.logo-line  { stroke: var(--naranja); }

/* Agency logo band */
.agency-band {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(23,21,15,0.05);
  border-radius: var(--radius);
  border: 1.5px solid rgba(23,21,15,0.1);
}

.agency-band__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--naranja);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.agency-band__name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink);
}

.agency-band__meta {
  font-size: var(--text-xs);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}


/* ============================================================
   29. RESPONSIVE VISIBILITY
   ============================================================ */

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

/* Print */
@media print {
  .site-header,
  .site-footer,
  .booking-bar,
  .filterbar {
    display: none;
  }
}


/* ============================================================
   30. FLOW — user-journey flowcharts (documentation/user-journeys.html)
   A journey = a labelled block containing a horizontal track of
   step nodes joined by connector arrows. Reuses .box/.tag/.btn.
   ============================================================ */

.flow {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow-hard);
  margin-bottom: calc(var(--gap) * 2.25);
  overflow: hidden;
}

.flow__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 16px 18px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.flow__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 3px;
  padding: 2px 8px;
  letter-spacing: 0.05em;
}

.flow__title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.05;
  margin: 0;
}

.flow__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin: 0;
}

.flow__meta--accent { color: var(--naranja-ink); }

/* Canvas: holds one inline-SVG flowchart. The SVG keeps its natural pixel
   width so the diagram never shrinks below legibility; the canvas scrolls
   horizontally on screens narrower than the chart. */
.flow__canvas {
  padding: 18px 16px 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.flow__canvas svg {
  display: block;
  height: auto;
  max-width: none;     /* don't shrink — scroll instead */
}

/* Tap targets: links wrapping a node group lift slightly on hover */
.flow__canvas a { cursor: pointer; }
.flow__canvas a:focus-visible { outline: 2px solid var(--naranja); outline-offset: 2px; }
