:root {
  --teal-deep: #1c4a44;
  --teal-mid: #3f8577;
  --sea-light: #8fcdbb;
  --sand: #ede1c6;
  --cream: #fbfaf6;
  --ink: #12302c;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 130px;
  --radius: 18px;
  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--teal-deep); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 var(--space-3); }
:focus-visible { outline: 2px solid var(--teal-mid); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 246, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(28, 74, 68, 0.12); }
.nav .container { display: flex; align-items: center; justify-content: space-between; padding-top: var(--space-2); padding-bottom: var(--space-2); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.25rem; color: var(--teal-deep); font-weight: 600; }
.brand img { height: 38px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: var(--space-4); font-size: 0.88rem; letter-spacing: 0.02em; }
.nav-links a { opacity: 0.8; transition: opacity 0.2s ease; }
.nav-links a:hover { opacity: 1; }

/* ---------- nav "Tours" dropdown ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 5px; background: none; border: none; padding: 0; margin: 0; font: inherit; letter-spacing: inherit; color: inherit; opacity: 0.8; cursor: pointer; }
.nav-dropdown-trigger:hover, .nav-dropdown.open .nav-dropdown-trigger { opacity: 1; }
.nav-dropdown-caret { font-size: 0.65em; transition: transform 0.2s ease; }
.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); min-width: 250px; background: #fff; border: 1px solid rgba(28,74,68,0.1); border-radius: 14px; box-shadow: 0 14px 34px rgba(18,48,44,0.16); padding: 8px; display: none; flex-direction: column; z-index: 60; }
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a { display: block; padding: 10px 14px; border-radius: 9px; font-size: 0.88rem; color: var(--teal-deep); opacity: 1; }
.nav-dropdown-menu a:hover { background: rgba(63,133,119,0.1); }
.nav-dropdown-sep { height: 1px; background: rgba(28,74,68,0.1); margin: 6px 6px; }
.nav-dropdown-menu a.nav-dropdown-all { font-weight: 600; }
.btn-whatsapp { background: var(--teal-deep); color: var(--cream); padding: 10px 20px; border-radius: 999px; font-size: 0.82rem; font-weight: 500; white-space: nowrap; transition: background 0.2s ease, transform 0.2s ease; }
.btn-whatsapp:hover { background: var(--teal-mid); transform: translateY(-1px); }

/* ---------- mobile nav (hamburger + panel) ---------- */
.nav-right { display: flex; align-items: center; gap: var(--space-2); }
/* ES/EN switcher — the active language is never conveyed by color alone:
   it also gets a filled pill background (a shape/contrast change) plus
   aria-current="true" for assistive tech. */
.lang-switch { display: flex; align-items: center; gap: 2px; border: 1px solid rgba(28,74,68,0.18); border-radius: 999px; padding: 2px; flex-shrink: 0; }
.lang-link { padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; color: var(--teal-mid); }
.lang-link.active { background: var(--teal-deep); color: var(--cream); }
.lang-link:hover:not(.active) { color: var(--teal-deep); }
.lang-link:focus-visible { outline: 2px solid var(--teal-mid); outline-offset: 2px; }
.mobile-menu .lang-switch { margin: var(--space-3) 0; align-self: flex-start; }
/* MXN/USD display-currency switcher — same visual language as .lang-switch
   above (filled-pill active state, never color alone) since it's the same
   kind of control, just a client-side preference instead of a real link. */
.currency-switch { display: flex; align-items: center; gap: 2px; border: 1px solid rgba(28,74,68,0.18); border-radius: 999px; padding: 2px; flex-shrink: 0; }
.currency-link { padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; color: var(--teal-mid); background: none; border: none; cursor: pointer; font-family: inherit; }
.currency-link.active { background: var(--teal-deep); color: var(--cream); }
.currency-link:hover:not(.active) { color: var(--teal-deep); }
.currency-link:focus-visible { outline: 2px solid var(--teal-mid); outline-offset: 2px; }
.mobile-menu .currency-switch { margin: var(--space-2) 0 0; align-self: flex-start; }
/* rgba(...,0.7), not the lighter 0.5 a first pass used — 0.5 measured at
   ~3:1 against the cream background, below WCAG AA's 4.5:1 for
   normal-size text; 0.7 clears it (~5.3:1). */
.mc-currency-note { font-size: 0.72rem; color: rgba(18,48,44,0.7); margin: 4px 0 0; }
.mobile-menu .mc-currency-note { align-self: flex-start; margin-bottom: var(--space-2); }
.nav-burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 34px; height: 34px; padding: 0; border: none; background: none; cursor: pointer; flex-shrink: 0; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--teal-deep); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; }
.mobile-menu[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero { padding: var(--space-6) 0 var(--space-6); }
.hero .container { display: grid; grid-template-columns: 1fr 0.85fr; gap: var(--space-5); align-items: center; }
.hero-eyebrow { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-mid); margin-bottom: var(--space-2); font-weight: 500; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.1; }
.hero p.lede { margin-top: var(--space-3); font-size: 1.08rem; max-width: 46ch; color: rgba(18, 48, 44, 0.78); }
.hero-actions { margin-top: var(--space-4); display: flex; gap: var(--space-2); flex-wrap: wrap; }
.btn-primary { background: var(--teal-deep); color: var(--cream); padding: 15px 28px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; display: inline-block; border: none; cursor: pointer; font-family: inherit; }
.btn-secondary { border: 1.5px solid var(--teal-deep); color: var(--teal-deep); padding: 14px 27px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; display: inline-block; background: none; cursor: pointer; font-family: inherit; }
.btn-primary:hover, .btn-secondary:hover { opacity: 0.85; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.hero-signal { margin-top: var(--space-3); font-size: 0.85rem; color: var(--teal-mid); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(18,48,44,0.18); }

section { padding: var(--space-6) 0; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-mid); margin-bottom: var(--space-2); font-weight: 500; }
.section-head { max-width: 62ch; margin-bottom: var(--space-5); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { margin-top: var(--space-2); color: rgba(18, 48, 44, 0.7); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); flex-wrap: wrap; }
.section-head-row .section-head { margin-bottom: 0; }
.see-all { font-size: 0.85rem; font-weight: 500; color: var(--teal-deep); border-bottom: 1.5px solid var(--teal-mid); padding-bottom: 2px; white-space: nowrap; }

/* ---------- "¿Qué querés vivir?" path selector ---------- */
.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.path-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.path-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.path-tile:hover img { transform: scale(1.04); }
.path-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,48,44,0.75), rgba(18,48,44,0) 55%); }
.path-tile-label { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-3); z-index: 1; color: var(--cream); }
.path-tile-label h3 { color: var(--cream); font-size: 1.25rem; }
.path-tile-label span { display: inline-block; margin-top: 4px; font-size: 0.85rem; opacity: 0.9; }
.path-tile-whatsapp { background: var(--teal-deep); display: flex; align-items: center; justify-content: center; text-align: center; }
.path-tile-whatsapp .path-tile-label { position: static; padding: var(--space-3); }
.path-tile-whatsapp .path-tile-label h3 { font-size: 1.15rem; }

/* ---------- breadcrumb ---------- */
.breadcrumb { font-size: 0.8rem; color: rgba(18,48,44,0.55); padding: var(--space-3) 0 0; }
.breadcrumb a { color: var(--teal-mid); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- tour cards ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-3); }

/* ---------- horizontal drag carousel (infinite loop) ---------- */
.tour-carousel-wrap { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; margin: 0 calc(-1 * var(--space-3)); padding: 4px var(--space-3) var(--space-2); user-select: none; }
.tour-carousel-wrap::-webkit-scrollbar { display: none; }
.tour-carousel-wrap.dragging { cursor: grabbing; }
.tour-carousel-wrap.dragging .tour-card { pointer-events: none; }
.tour-carousel { display: flex; gap: var(--space-3); }
.tour-carousel .tour-card { flex: 0 0 260px; }

/* ---------- "todos los tours" page ---------- */
.all-tours-group { margin-top: var(--space-6); }
.all-tours-group:first-child { margin-top: 0; }
.all-tours-group h2 { font-size: 1.4rem; margin-bottom: var(--space-3); }
.tour-card { background: #fff; border: 1px solid rgba(28, 74, 68, 0.12); border-radius: var(--radius); padding: var(--space-3); box-shadow: 0 1px 2px rgba(18,48,44,0.04); transition: transform 0.25s ease, box-shadow 0.25s ease; overflow: hidden; display: flex; flex-direction: column; }
.tour-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(18,48,44,0.1); }
.tour-card svg { width: 44px; height: 44px; margin-bottom: var(--space-2); }
.tour-card-photo { display: block; width: calc(100% + 2 * var(--space-3)); height: 170px; object-fit: cover; margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) var(--space-2); }
.tour-card-body { display: flex; flex-direction: column; flex: 1; }
.tour-card h3 { font-size: 1.1rem; }
.tour-card p.desc { margin-top: 6px; font-size: 0.88rem; color: rgba(18,48,44,0.68); flex: 1; }
.tour-card .card-meta { font-size: 0.76rem; color: var(--teal-mid); font-weight: 500; margin-top: var(--space-2); text-transform: uppercase; letter-spacing: 0.04em; }
.card-meta-row { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: var(--space-2); font-size: 0.78rem; color: rgba(18,48,44,0.6); }
.card-tag { display: inline-block; margin-top: 8px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--teal-mid); background: rgba(63,133,119,0.1); padding: 4px 10px; border-radius: 999px; align-self: flex-start; }
.tour-card .card-price { margin-top: var(--space-2); font-size: 0.95rem; font-weight: 600; color: var(--teal-deep); }
.tour-card .card-price small { font-weight: 400; color: rgba(18,48,44,0.55); font-size: 0.75rem; }
.tour-card .tour-link { display: inline-block; margin-top: var(--space-2); font-size: 0.82rem; color: var(--teal-deep); font-weight: 500; border: none; border-bottom: 1.5px solid var(--teal-mid); padding: 0 0 2px 0; background: none; font-family: inherit; cursor: pointer; align-self: flex-start; }
.quote-badge { display: inline-block; margin-top: var(--space-2); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--teal-mid); background: rgba(63,133,119,0.1); padding: 4px 10px; border-radius: 999px; align-self: flex-start; }

/* ---------- Google reviews (home) ---------- */
/* Discreet rating line near the section title — same idea as .hero-signal
   (small icon + text), kept as its own class since it lives in a
   different section. */
.review-summary { display: flex; align-items: center; gap: 6px; margin-top: var(--space-2); font-size: 0.85rem; color: var(--teal-mid); font-weight: 500; }
.review-cta { margin-top: var(--space-3); }

/* Same native-scrollLeft technique as .tour-carousel-wrap (real scroll
   position, triple clone set for a silent infinite loop) — see
   initReviewsCarousel in site.js. A requestAnimationFrame loop nudges
   scrollLeft forward on its own; drag, touch and keyboard all move that
   same scrollLeft, so pausing/resuming the autoplay is never a jump.
   user-select:none avoids the browser starting a text selection mid-drag
   (a real risk here, since review cards are full of quoted text). No
   nav arrows by design — swipe/drag is the only interaction affordance. */
.review-carousel-wrap { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(-1 * var(--space-3)); padding: 4px var(--space-3) var(--space-2); cursor: grab; user-select: none; }
.review-carousel-wrap::-webkit-scrollbar { display: none; }
.review-carousel-wrap.dragging { cursor: grabbing; }
.review-carousel-wrap.dragging .tour-card { pointer-events: none; }
.review-carousel-wrap:focus-visible { outline: 2px solid var(--teal-mid); outline-offset: 2px; }
.review-carousel { display: flex; align-items: stretch; gap: var(--space-3); }
.review-carousel .tour-card { flex: 0 0 280px; }

/* Tarjeta de reseña: mismo look que .tour-card (fondo, borde, radio,
   sombra) pero sin el efecto hover "elevado" — estas tarjetas no son
   links, así que no deben sugerir que se puede hacer click. Sin límite
   de líneas ni recorte: el texto completo de la reseña siempre se
   muestra, y las tarjetas de una misma fila se estiran a la altura de
   la más alta (align-items: stretch) para no verse desparejas. */
.review-card:hover { transform: none; box-shadow: 0 1px 2px rgba(18,48,44,0.04); }
.review-stars { color: #d88c34; font-size: 0.95rem; letter-spacing: 3px; }
.review-quote { margin-top: var(--space-2); font-size: 0.92rem; color: rgba(18,48,44,0.78); flex: 1; }
.review-toggle { align-self: flex-start; margin-top: 8px; padding: 0; border: none; background: none; color: var(--teal-mid); font-size: 0.78rem; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.review-toggle:hover { color: var(--teal-deep); }
.review-footer { display: flex; align-items: center; gap: 10px; margin-top: var(--space-3); }
.review-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(63,133,119,0.14); color: var(--teal-deep); font-weight: 600; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.review-name { display: block; font-size: 0.86rem; font-weight: 600; color: var(--teal-deep); }
.review-source { display: block; font-size: 0.74rem; color: rgba(18,48,44,0.55); }

/* ---------- category page header ---------- */
.category-hero { padding: var(--space-5) 0 var(--space-4); }
.category-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.category-hero p { margin-top: var(--space-2); color: rgba(18,48,44,0.72); max-width: 62ch; }

/* ---------- "Guías del Caribe" (blog base) ---------- */
/* Empty state is intentional, not a loading/broken look — a dashed
   frame reads as "reserved for future content", not empty-by-accident. */
.guides-empty { text-align: center; padding: var(--space-6) var(--space-3); color: rgba(18,48,44,0.62); font-size: 1.05rem; border: 1px dashed rgba(28,74,68,0.28); border-radius: var(--radius); }
.guide-meta { margin-top: var(--space-2); font-size: 0.8rem; color: var(--teal-mid); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.guide-article { max-width: 72ch; margin: 0 auto; }
.guide-hero-photo { width: 100%; height: min(48vh, 420px); object-fit: cover; border-radius: var(--radius); margin-bottom: var(--space-4); }
.guide-article p { margin-top: var(--space-3); color: rgba(18,48,44,0.82); }

/* ---------- tour page ---------- */
.tour-hero-photo { width: 100%; height: min(48vh, 460px); object-fit: cover; border-radius: var(--radius); margin-top: var(--space-3); }
.tour-page-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-5); align-items: start; margin-top: var(--space-5); }
.tour-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.tour-meta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-2); font-size: 0.85rem; color: rgba(18,48,44,0.65); }
.tour-meta-row span { display: flex; align-items: center; gap: 6px; }
.tour-longdesc { margin-top: var(--space-3); font-size: 1.02rem; color: rgba(18,48,44,0.82); max-width: 62ch; }
.tour-section-title { font-size: 1.15rem; margin-top: var(--space-5); margin-bottom: var(--space-2); }
.includes-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px var(--space-3); }
.includes-list li { display: flex; gap: 10px; font-size: 0.94rem; align-items: flex-start; }
.includes-list li::before { content: '✓'; color: var(--teal-mid); font-weight: 700; flex-shrink: 0; }
.info-note { margin-top: var(--space-3); font-size: 0.88rem; color: rgba(18,48,44,0.65); background: rgba(63,133,119,0.08); border-radius: 12px; padding: var(--space-2) var(--space-3); }
.info-note.warn { background: rgba(216,155,64,0.12); }

/* ---------- booking widget ---------- */
.booking-widget { position: sticky; top: calc(64px + var(--space-3)); background: #fff; border: 1px solid rgba(28,74,68,0.12); border-radius: var(--radius); padding: var(--space-4); box-shadow: 0 4px 20px rgba(18,48,44,0.06); }
.booking-widget h3 { font-size: 1.1rem; }
.booking-price { font-size: 1.6rem; font-weight: 700; color: var(--teal-deep); margin-top: 4px; }
.booking-price small { font-size: 0.8rem; font-weight: 400; color: rgba(18,48,44,0.55); }
.booking-field { margin-top: var(--space-3); }
.booking-field-row { display: flex; gap: 10px; margin-top: var(--space-3); }
.booking-field-row .booking-field { margin-top: 0; flex: 1; }
.booking-field-row .booking-field-narrow { flex: 0 0 92px; }
.booking-field label { display: block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: rgba(18,48,44,0.6); margin-bottom: 6px; }
.booking-field input[type="date"], .booking-field input[type="text"], .booking-field input[type="email"], .booking-field input[type="tel"], .booking-field input[type="month"], .booking-field select, .booking-field textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid rgba(28,74,68,0.18); font-family: inherit; font-size: 0.92rem; color: var(--ink); background: #fff; }
.booking-field input:focus, .booking-field select:focus, .booking-field textarea:focus { border-color: var(--teal-mid); outline: none; }
.booking-field textarea { resize: vertical; }
.booking-field input.field-invalid, .booking-field select.field-invalid { border-color: #b0473f; }
.payment-note { font-size: 0.76rem; color: rgba(18,48,44,0.55); margin-top: 6px; }

/* ---------- custom calendar (only real operating days are clickable) ---------- */
.mc-datepicker { position: relative; }
.mc-dp-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid rgba(28,74,68,0.18); background: #fff; font-family: inherit; font-size: 0.92rem; color: var(--ink); cursor: pointer; text-align: left; }
.mc-dp-trigger:hover, .mc-dp-trigger[aria-expanded="true"] { border-color: var(--teal-mid); }
.mc-dp-trigger-icon { flex-shrink: 0; }
.mc-datepicker.field-invalid .mc-dp-trigger { border-color: #b0473f; }
.mc-dp-panel { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: 280px; max-width: calc(100vw - 2 * var(--space-3)); border: 1.5px solid rgba(28,74,68,0.18); border-radius: 12px; padding: 12px; background: #fff; box-shadow: 0 14px 34px rgba(18,48,44,0.16); }
.mc-dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mc-dp-month { font-size: 0.88rem; font-weight: 600; color: var(--teal-deep); text-transform: capitalize; }
.mc-dp-nav { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(28,74,68,0.18); background: #fff; color: var(--teal-deep); font-size: 1rem; line-height: 1; cursor: pointer; }
.mc-dp-nav:hover:not(:disabled) { border-color: var(--teal-mid); }
.mc-dp-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.mc-dp-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 0.7rem; font-weight: 600; color: rgba(18,48,44,0.45); margin-bottom: 4px; }
.mc-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mc-dp-day, .mc-dp-blank { aspect-ratio: 1; }
.mc-dp-day { border: none; background: none; border-radius: 8px; font-size: 0.85rem; font-family: inherit; color: var(--ink); cursor: pointer; }
.mc-dp-day:hover[aria-disabled="false"] { background: rgba(63,133,119,0.12); }
.mc-dp-day:focus-visible { outline: 2px solid var(--teal-mid); outline-offset: 1px; }
.mc-dp-day[aria-disabled="true"] { color: rgba(18,48,44,0.22); cursor: not-allowed; text-decoration: line-through; }
.mc-dp-day.today { font-weight: 700; }
/* "Today" is always blocked now (no same-day booking, see dp_blocked_today)
   but must still read as "today" — not just another greyed-out past/
   non-operative day. Its own tint + a small dot (no strikethrough) keeps
   it visually distinct from a plain past/non-operative blocked day, from
   a date occupied by another tour (below), and from .selected. */
.mc-dp-day.today[aria-disabled="true"] { color: var(--teal-deep); text-decoration: none; background: rgba(63,133,119,0.12); position: relative; }
.mc-dp-day.today[aria-disabled="true"]::after { content: ''; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--teal-mid); }
/* A date already taken by another tour in the same cart — distinct amber
   tint (no strikethrough) so it reads as "reserved elsewhere", not "past"
   or "not operating". See occupiedDatesExcluding()/dp_blocked_occupied. */
/* #8a4a10 (not the lighter #a86a22 a first pass used) keeps this at
   ~5.7:1 contrast against its own tinted background — WCAG AA (4.5:1)
   for this normal-size text, verified against the actual blended
   background color, not just eyeballed. */
.mc-dp-day.occupied[aria-disabled="true"] { color: #8a4a10; text-decoration: none; background: rgba(216,140,52,0.16); }
.mc-dp-day.selected { background: var(--teal-deep); color: #fff; }
.mc-dp-blocked-msg { margin-top: 8px; font-size: 0.78rem; color: #b0473f; font-weight: 600; }
.mc-dp-blocked-msg a, .contact-form-status.error a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tier-options { display: flex; flex-direction: column; gap: 8px; }
/* .booking-field label {text-transform:uppercase} also matches these —
   they're <label> elements too, just nested one level deeper — so this
   needs to win on specificity, not just come later in the file. */
.booking-field .tier-option, .booking-field .payment-group-option, .booking-field .contact-form-nodate { text-transform: none; }
.tier-option { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); border: 1.5px solid rgba(28,74,68,0.14); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-size: 0.88rem; transition: border-color 0.15s ease, background 0.15s ease; }
.tier-option:hover { border-color: var(--teal-mid); }
.tier-option.selected { border-color: var(--teal-mid); background: rgba(63,133,119,0.08); }
.tier-option input { accent-color: var(--teal-mid); }
.tier-option .tier-price { font-weight: 600; color: var(--teal-deep); white-space: nowrap; }

/* ---------- payment method picker (pagar el día del tour / transferencia
   / criptomonedas) — same "card" visual language as .tier-option above,
   plus a badge for the featured/recommended group and a blurb line. ---------- */
.payment-groups { display: flex; flex-direction: column; gap: 8px; }
.payment-group-option { display: flex; flex-direction: column; gap: 4px; border: 1.5px solid rgba(28,74,68,0.14); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-size: 0.88rem; transition: border-color 0.15s ease, background 0.15s ease; }
.payment-group-option:hover { border-color: var(--teal-mid); }
.payment-group-option.selected { border-color: var(--teal-mid); background: rgba(63,133,119,0.08); }
.payment-group-option.featured { border-color: rgba(216,140,52,0.5); }
.payment-group-option.featured.selected { border-color: #d88c34; background: rgba(216,140,52,0.08); }
.payment-group-head { display: flex; align-items: center; gap: 8px; }
.payment-group-head input { accent-color: var(--teal-mid); }
.payment-group-badge { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #fff; background: #d88c34; padding: 2px 8px; border-radius: 999px; }
.payment-group-blurb { margin-left: 24px; font-size: 0.8rem; color: rgba(18,48,44,0.62); }
.payment-groups.field-invalid .payment-group-option { border-color: #b0473f; }
.payment-conditions { margin-top: 8px; padding-left: 18px; font-size: 0.8rem; color: rgba(18,48,44,0.65); }
.payment-conditions li { margin-top: 4px; }
#mc-payment-suboptions { margin-top: var(--space-2); }
.mc-zone-supplement { color: var(--teal-mid); font-weight: 500; }
.mc-cart-item-zone, .mc-zone-supplement { font-size: 0.78rem; }
.counter-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.counter-row + .counter-row { margin-top: 10px; }
.counter-label { font-size: 0.92rem; }
.counter-label small { display: block; font-size: 0.74rem; color: rgba(18,48,44,0.55); font-weight: 400; }
.counter-controls { display: flex; align-items: center; gap: 10px; }
.counter-btn { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--teal-mid); background: #fff; color: var(--teal-deep); font-size: 1.1rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease; }
.counter-btn:hover { background: rgba(63,133,119,0.1); }
.counter-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.counter-value { min-width: 20px; text-align: center; font-weight: 600; }
.booking-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid rgba(28,74,68,0.12); }
.booking-total-row .label { font-size: 0.85rem; color: rgba(18,48,44,0.65); }
.booking-total-row .total { font-size: 1.5rem; font-weight: 700; color: var(--teal-deep); }
.booking-widget .btn-primary { width: 100%; text-align: center; margin-top: var(--space-3); }
.booking-fineprint { font-size: 0.72rem; color: rgba(18,48,44,0.5); margin-top: var(--space-2); text-align: center; }
.booking-widget .btn-secondary { width: 100%; text-align: center; }
.mc-loc-btn { margin-top: 6px; padding: 10px 16px; font-size: 0.85rem; }
.mc-loc-status { font-size: 0.76rem; color: var(--teal-mid); margin-top: 6px; min-height: 1em; }
.bw-added { margin-top: var(--space-3); text-align: center; }
.bw-added p { color: var(--teal-deep); font-weight: 600; margin-bottom: var(--space-2); }
.bw-added .btn-primary, .bw-added .btn-secondary { width: 100%; margin-top: 8px; }

/* ---------- floating cart ---------- */
#mc-cart-btn { position: fixed; bottom: 24px; right: 24px; z-index: 200; width: 56px; height: 56px; border-radius: 50%; background: var(--teal-deep); color: #fff; border: none; font-size: 1.4rem; cursor: pointer; box-shadow: 0 6px 20px rgba(18,48,44,0.3); display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
#mc-cart-btn:hover { transform: scale(1.06); }
.mc-cart-badge { position: absolute; top: -4px; right: -4px; background: #d88c34; color: #fff; font-size: 0.68rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

.mc-cart-overlay { position: fixed; inset: 0; background: rgba(18,48,44,0.5); backdrop-filter: blur(3px); z-index: 300; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; display: flex; justify-content: flex-end; }
.mc-cart-overlay.open { opacity: 1; pointer-events: auto; }
.mc-cart-drawer { background: var(--cream); width: 100%; max-width: 480px; height: 100%; overflow-y: auto; padding: var(--space-4); transform: translateX(16px); transition: transform 0.25s ease; box-shadow: -8px 0 30px rgba(18,48,44,0.15); }
.mc-cart-overlay.open .mc-cart-drawer { transform: translateX(0); }
.mc-cart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.mc-cart-head h3 { font-size: 1.2rem; }
#mc-cart-close { background: none; border: none; font-size: 1.6rem; color: var(--teal-deep); cursor: pointer; line-height: 1; padding: 4px 10px; border-radius: 8px; }
#mc-cart-close:hover { background: rgba(28,74,68,0.08); }
.mc-cart-empty { font-size: 0.9rem; color: rgba(18,48,44,0.65); }
.mc-cart-item { display: flex; gap: 12px; align-items: flex-start; padding: var(--space-2) 0; border-top: 1px solid rgba(28,74,68,0.1); }
.mc-cart-item:first-child { border-top: none; }
.mc-cart-item img, .mc-cart-item-noimg { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: rgba(28,74,68,0.08); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.mc-cart-item-info { flex: 1; min-width: 0; }
.mc-cart-item-name { font-size: 0.9rem; font-weight: 500; }
.mc-cart-item-detail { font-size: 0.76rem; color: rgba(18,48,44,0.6); margin-top: 2px; }
.mc-cart-item-price { font-size: 0.85rem; font-weight: 600; color: var(--teal-deep); margin-top: 3px; }
.mc-cart-edit { display: inline-block; margin-top: 4px; background: none; border: none; padding: 0; font-size: 0.76rem; font-weight: 500; color: var(--teal-mid); text-decoration: underline; cursor: pointer; font-family: inherit; }
.mc-cart-remove { background: none; border: none; color: rgba(18,48,44,0.4); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 2px 6px; flex-shrink: 0; }
.mc-cart-remove:hover { color: #b0473f; }
.mc-cart-checkout { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid rgba(28,74,68,0.14); }
/* gap guarantees breathing room between the label and the amount even
   when the amount text is long enough to wrap (e.g. "+ items to quote"
   at the larger .mc-checkout-total font-size below) — without it,
   space-between can pack both flex items edge-to-edge with zero gap
   once there's no leftover row width left to distribute. */
.mc-cart-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-1); }
.mc-cart-total-row strong { font-size: 1.3rem; color: var(--teal-deep); }
.mc-cart-persons { font-size: 0.8rem; color: rgba(18,48,44,0.6); margin: 4px 0 var(--space-2); }
.mc-cart-checkout .btn-primary, .mc-cart-checkout .btn-secondary { width: 100%; text-align: center; }
.mc-clear-cart { display: block; margin: 10px auto 0; background: none; border: none; font-size: 0.78rem; color: rgba(18,48,44,0.5); text-decoration: underline; cursor: pointer; }

/* ---------- checkout sections (TU RESERVA / Tours agregados / TOTAL /
   MÉTODO DE PAGO / zona / datos del huésped, each its own clearly
   separated block — see renderCartDrawer in site.js) ---------- */
.mc-checkout-section { padding: var(--space-3) 0; border-top: 1px solid rgba(28,74,68,0.1); }
.mc-checkout-section:first-child { padding-top: 0; border-top: none; }
.mc-checkout-heading { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: rgba(18,48,44,0.6); margin: 0 0 var(--space-2); }
#mc-cart-items .mc-checkout-heading { margin-bottom: var(--space-2); }
/* The total gets extra visual weight — it's the single most important
   number in the drawer, ahead of payment method and guest details. */
.mc-checkout-total { padding-top: 0; }
.mc-checkout-total .mc-cart-total-row strong { font-size: 1.7rem; }
.mc-loc-optional-note { font-size: 0.76rem; color: rgba(18,48,44,0.55); margin-top: 4px; }

/* ---------- checkout review step ---------- */
.mc-review-label { font-size: 0.85rem; font-weight: 600; color: var(--teal-deep); margin-bottom: var(--space-2); }
.mc-review-summary { margin-top: var(--space-3); font-size: 0.88rem; }
.mc-review-summary p { margin-top: 6px; }
.mc-review-summary p:first-child { margin-top: 0; }
.mc-payment-hint { font-size: 0.78rem; color: rgba(18,48,44,0.55); margin-top: 2px; }
.mc-next-steps { background: rgba(18,90,80,0.06); border-radius: 10px; padding: 12px 14px; margin-top: var(--space-3); }
.mc-next-steps-title { font-size: 0.8rem; font-weight: 600; color: var(--teal-deep); margin: 0 0 6px; }
.mc-next-steps ol { margin: 0; padding-left: 18px; font-size: 0.82rem; color: rgba(18,48,44,0.75); }
.mc-next-steps li { margin-top: 3px; }
.mc-next-steps li:first-child { margin-top: 0; }

/* ---------- "editing this cart item" banner (tour booking widget) ---------- */
.mc-editing-banner { background: rgba(216,155,64,0.14); color: var(--teal-deep); font-size: 0.85rem; font-weight: 500; padding: 10px 14px; border-radius: 10px; margin-bottom: var(--space-3); }
.mc-editing-banner a { text-decoration: underline; font-weight: 600; }

/* ---------- FAQ accordion (home) ---------- */
.faq-list { max-width: 720px; margin: 0 auto; border-top: 1px solid rgba(28,74,68,0.12); }
.faq-item { border-bottom: 1px solid rgba(28,74,68,0.12); }
.faq-question { margin: 0; }
.faq-trigger { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; padding: 18px 4px; background: none; border: none; text-align: left; font-family: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.faq-trigger span:first-child { flex: 1; }
.faq-icon { flex: none; position: relative; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--teal-deep); transform: translate(-50%, -50%); transition: transform 0.2s ease; }
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-trigger[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }
.faq-answer { padding: 0 4px var(--space-3); }
.faq-answer p { color: rgba(18,48,44,0.72); font-size: 0.94rem; max-width: 62ch; }
.faq-cta { text-align: center; margin-top: var(--space-4); }
.faq-cta a { font-size: 0.92rem; color: var(--teal-deep); font-weight: 500; border-bottom: 1.5px solid var(--teal-mid); padding-bottom: 2px; }
.faq-cta a:hover { border-color: var(--teal-deep); }

/* ---------- contact / footer ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 22ch; margin: 0 auto; }
.cta-final p { margin-top: var(--space-2); color: rgba(18,48,44,0.7); }
.cta-final .btn-primary { margin-top: var(--space-4); padding: 17px 34px; font-size: 0.98rem; }
.handles { margin-top: var(--space-4); display: flex; justify-content: center; gap: var(--space-3); flex-wrap: wrap; font-size: 0.85rem; color: rgba(18,48,44,0.6); }
.handles a { color: var(--teal-deep); font-weight: 500; border-bottom: 1.5px solid transparent; transition: border-color 0.15s ease; }
.handles a:hover { border-color: var(--teal-mid); }

.contact-form-card { max-width: 560px; margin: var(--space-6) auto 0; background: #fff; border: 1px solid rgba(28,74,68,0.12); border-radius: var(--radius); padding: var(--space-4); box-shadow: 0 4px 20px rgba(18,48,44,0.06); text-align: left; }
.contact-form-card h3 { font-size: 1.15rem; text-align: center; }
.contact-form-card > p { font-size: 0.9rem; color: rgba(18,48,44,0.7); text-align: center; margin-top: 6px; }
.contact-form-nodate { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.82rem; font-weight: 400; color: rgba(18,48,44,0.7); cursor: pointer; }
.contact-form-nodate input { width: auto; accent-color: var(--teal-mid); }
.contact-form { margin-top: var(--space-3); }
.contact-form .btn-primary { width: 100%; text-align: center; margin-top: var(--space-3); }
.contact-form-status { font-size: 0.85rem; margin-top: var(--space-2); text-align: center; min-height: 1.2em; }
.contact-form-status.ok { color: var(--teal-deep); font-weight: 600; }
.contact-form-status.error { color: #b0473f; }

footer { border-top: 1px solid rgba(28,74,68,0.14); padding: var(--space-4) 0; font-size: 0.8rem; color: rgba(18,48,44,0.55); }
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- "Conocé a Agustín" story viewer ---------- */
.mc-story-entry-section { padding: var(--space-3) 0; }
.mc-story-entry { display: flex; align-items: center; gap: var(--space-2); margin: 0 auto; background: none; border: none; cursor: pointer; padding: var(--space-2) 0; }
.mc-story-ring { flex: none; width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--teal-deep), var(--sand)); }
.mc-story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; background: var(--cream); border: 3px solid var(--cream); }
.mc-story-entry-label { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--teal-deep); }
@media (prefers-reduced-motion: no-preference) {
  .mc-story-ring { animation: mc-story-pulse 2.4s ease-in-out infinite; }
}
@keyframes mc-story-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63,133,119,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(63,133,119,0); }
}

/* Full-viewport, single-story surface. `.mc-story-media` is the ONLY
   place a photo/video ever paints, and it always fills 100% of the
   overlay with `overflow: hidden` — there is no flex row, grid, or
   track anywhere in here that could leave a neighboring story visible
   beside the active one. The active photo/video is `position: absolute;
   inset: 0` with `object-fit: contain`, so it always occupies exactly
   the full media area (letterboxed, never cropped) regardless of its
   own intrinsic size — nothing shrink-wraps or gets centered by a
   flex/box calculation that could go wrong across browsers. */
.mc-story-overlay { position: fixed; inset: 0; width: 100vw; height: 100dvh; z-index: 400; background: #0b0b0b; }
.mc-story-overlay[hidden] { display: none; }
.mc-story-bars { position: absolute; top: var(--space-2); left: var(--space-2); right: var(--space-2); display: flex; gap: 4px; z-index: 3; }
.mc-story-bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.3); overflow: hidden; }
.mc-story-bar-fill { height: 100%; width: 0%; background: #fff; }
.mc-story-header { position: absolute; top: 30px; left: var(--space-2); right: var(--space-2); display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.mc-story-header-name { color: #fff; font-weight: 600; font-size: 0.9rem; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.mc-story-close { background: none; border: none; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.mc-story-media { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: none; }
.mc-story-media img, .mc-story-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-select: none; }

/* Desktop-only prev/next arrows — hidden by default, revealed on hover
   over the photo/video itself (never on touch: `hover: hover` +
   `pointer: fine` excludes touchscreens, which navigate by tap/swipe
   instead). Kept reachable by keyboard via :focus-visible regardless. */
.mc-story-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(0,0,0,0.35); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.15s ease, background 0.15s ease; }
.mc-story-nav-prev { left: 14px; }
.mc-story-nav-next { right: 14px; }
.mc-story-nav:focus-visible { opacity: 1; pointer-events: auto; outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .mc-story-media:hover .mc-story-nav { opacity: 1; pointer-events: auto; }
  .mc-story-nav:hover { background: rgba(0,0,0,0.55); }
}
/* Invisible tap target laid exactly over a photo's OWN original sticker
   (location pin / mention) — no chip, no pill, no extra text drawn on
   top. Position/size come from that story's `pos` (JS sets left/top/
   width/height in px, computed against the actual rendered photo). */
.mc-story-hit { position: absolute; z-index: 4; cursor: pointer; }
.mc-story-hit:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 640px) {
  .mc-story-ring { width: 64px; height: 64px; }
  .mc-story-entry-label { font-size: 1rem; }
  .mc-story-header { top: 26px; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .tour-page-grid { grid-template-columns: 1fr; }
  .booking-widget { position: static; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  /* The top bar is already tight (brand + WhatsApp button + burger) on a
     phone width — the ES/EN switcher moves into the mobile menu panel
     instead of fighting for space here (see .mobile-menu .lang-switch),
     where render_nav() already renders a second, independent copy. */
  .nav-right .lang-switch, .nav-right .currency-switch, .nav-right .mc-currency-note { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu { border-bottom: 1px solid rgba(28,74,68,0.12); background: var(--cream); }
  .mobile-menu .container { display: flex; flex-direction: column; padding-top: 4px; padding-bottom: var(--space-3); }
  .mobile-menu-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-mid); font-weight: 600; margin-top: var(--space-2); }
  .mobile-menu-cats { display: flex; flex-direction: column; }
  .mobile-menu-cats a, .mobile-menu-all, .mobile-menu-link { padding: 12px 2px; font-size: 1rem; color: var(--teal-deep); border-bottom: 1px solid rgba(28,74,68,0.08); }
  .mobile-menu-all { font-weight: 600; }
  .mobile-menu-wa { margin-top: var(--space-3); text-align: center; }
  section { padding: var(--space-5) 0; }
  .hero { padding: var(--space-5) 0; }
  /* text first, photo second (below the fold) — title/lede/CTA must be
     visible without scrolling on a phone, which a full-height photo
     would otherwise push down */
  .hero .container { gap: var(--space-4); }
  .hero-photo img { aspect-ratio: 16 / 10; }
  /* one big, easy-to-tap tile per row instead of a cramped 2x2 grid */
  .path-grid { grid-template-columns: 1fr; }
  .path-tile { aspect-ratio: 16 / 10; }
  .path-tile-whatsapp { aspect-ratio: auto; padding: var(--space-3) 0; }
  /* Tighter side padding so the cart drawer's content area isn't cramped
     on a narrow phone (e.g. ~375px) — the drawer itself already spans
     the full viewport width there (see .mc-cart-drawer width:100%). */
  .mc-cart-drawer { padding: var(--space-3); }
}
