/* ==========================================================================
   CronoFaro — estilos
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #f1eee7;
  --ink: #16150f;
  --ink-2: #54514a;
  --muted: #77736a;
  --line: #e3dfd5;
  --brand: #b93d0b;
  --brand-hover: #96300a;
  --brand-soft: #fcebe1;
  --focus: #2a78d6;

  /* gráfico (una sola serie: azul) */
  --bar: #2a78d6;
  --bar-sel: #104281;
  --grid: #e1e0d9;
  --axis: #c3c2b7;

  /* veredictos (siempre con ícono + texto) */
  --good: #0ca30c;
  --warn: #fab219;
  --bad: #d03b3b;
  --good-bg: #e9f6e9;
  --warn-bg: #fff4d9;
  --bad-bg: #fbeaea;
  --good-ink: #075f07;
  --warn-ink: #7a5300;
  --bad-ink: #9e2424;
  --eco-bg: #e8f1fd;
  --eco-ink: #184f95;
  --eco-line: #cde2fb;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 21, 15, .05), 0 6px 24px rgba(22, 21, 15, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f0f0e;
    --surface: #1a1a19;
    --surface-2: #242422;
    --ink: #f0efec;
    --ink-2: #c3c2b7;
    --muted: #9a968c;
    --line: #2f2f2c;
    --brand: #f2884f;
    --brand-hover: #f6a374;
    --brand-soft: #2c1c12;
    --focus: #86b6ef;
    --bar: #3987e5;
    --bar-sel: #9ec5f4;
    --grid: #2c2c2a;
    --axis: #383835;
    --good-bg: #142814;
    --warn-bg: #2d2511;
    --bad-bg: #301717;
    --good-ink: #7fd47f;
    --warn-ink: #f5c95c;
    --bad-ink: #f08f8f;
    --eco-bg: #13233a;
    --eco-ink: #9ec5f4;
    --eco-line: #1c3a63;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 24px rgba(0, 0, 0, .3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0f0e;
  --surface: #1a1a19;
  --surface-2: #242422;
  --ink: #f0efec;
  --ink-2: #c3c2b7;
  --muted: #9a968c;
  --line: #2f2f2c;
  --brand: #f2884f;
  --brand-hover: #f6a374;
  --brand-soft: #2c1c12;
  --focus: #86b6ef;
  --bar: #3987e5;
  --bar-sel: #9ec5f4;
  --grid: #2c2c2a;
  --axis: #383835;
  --good-bg: #142814;
  --warn-bg: #2d2511;
  --bad-bg: #301717;
  --good-ink: #7fd47f;
  --warn-ink: #f5c95c;
  --bad-ink: #f08f8f;
  --eco-bg: #13233a;
  --eco-ink: #9ec5f4;
  --eco-line: #1c3a63;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 24px rgba(0, 0, 0, .3);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
.signos { white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.dim { opacity: .28; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- aviso de prototipo ---------- */
.proto {
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-size: .85rem;
  text-align: center;
  padding: 6px 16px;
}

/* ---------- encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: .95rem; font-weight: 800;
}
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .92rem; padding: 6px 10px; border-radius: 8px; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.logo { white-space: nowrap; }
.nav { flex-wrap: nowrap; }
.nav a { white-space: nowrap; }
@media (max-width: 560px) {
  .nav a.opt { display: none; }
  .nav a { padding: 6px 8px; font-size: .88rem; }
  .hero { padding-block: 32px 20px; }
}

/* ---------- héroe ---------- */
.hero { padding-block: 56px 28px; }
.hero h1 { max-width: 21ch; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink-2); max-width: 58ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: 10px; }

/* ---------- selector de mes ---------- */
.picker-label { font-weight: 650; margin: 24px 0 10px; }
.month-picker {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px;
}
.month-picker button {
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink-2);
  background: transparent; border: 0; border-radius: 9px; padding: 9px 0; cursor: pointer;
}
.month-picker button:hover { background: var(--surface-2); color: var(--ink); }
.month-picker button[aria-checked="true"] { background: var(--brand); color: #fff; }
@media (max-width: 720px) { .month-picker { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- secciones ---------- */
section { padding-block: 36px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head p { margin: 0; color: var(--ink-2); max-width: 60ch; }

/* ---------- tarjeta genérica ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- veredicto ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: .82rem; font-weight: 700; padding: 4px 10px 4px 6px; border-radius: 999px;
  border: 1px solid transparent;
}
.chip-ico {
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 900; color: #fff; line-height: 1;
}
.v-conviene .chip-ico, .chip.v-conviene .chip-ico { background: var(--good); }
.v-cuidado .chip-ico, .chip.v-cuidado .chip-ico { background: var(--warn); color: #0b0b0b; }
.v-evitar .chip-ico, .chip.v-evitar .chip-ico { background: var(--bad); }
.chip.v-conviene { background: var(--good-bg); color: var(--good-ink); }
.chip.v-cuidado { background: var(--warn-bg); color: var(--warn-ink); }
.chip.v-evitar { background: var(--bad-bg); color: var(--bad-ink); }

/* ---------- tarjetas de destino (inicio) ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.dest-card {
  display: flex; flex-direction: column; gap: 12px; padding: 20px;
  color: var(--ink); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.dest-card:hover { color: var(--ink); transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.dest-top { display: flex; align-items: center; gap: 12px; }
.dest-top h3 { margin: 0; }
.dest-top p { margin: 0; font-size: .88rem; }
.dest-top .chip { margin-left: auto; }
.cc {
  flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: var(--ink-2); letter-spacing: .03em;
}
.dest-tit { font-weight: 650; font-size: 1.05rem; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.facts li { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.facts li > span { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.facts strong { font-size: .95rem; font-variant-numeric: tabular-nums; }
.dest-risk { margin: 0; font-size: .92rem; color: var(--ink-2); }
.latam { margin: 0; font-size: .88rem; color: var(--ink-2); background: var(--brand-soft); border-radius: 10px; padding: 8px 10px; }
.latam b { color: var(--ink); }
.dest-cta { margin-top: auto; font-weight: 650; color: var(--brand); font-size: .95rem; }

/* ---------- diferenciales ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.why .card { padding: 20px; box-shadow: none; }
.why .ico { font-size: 1.5rem; margin-bottom: 8px; }
.why p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* ---------- pasos del veredicto ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; counter-reset: paso; }
.steps li { counter-increment: paso; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 16px 52px; position: relative; }
.steps li::before {
  content: counter(paso); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .85rem;
}
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: var(--ink-2); font-size: .93rem; }

/* ---------- canales ---------- */
.cta-band { padding: 28px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--ink-2); margin: 0; }
.canales { display: grid; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  padding: 11px 16px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink);
}
.btn:hover { background: var(--surface-2); color: var(--ink); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn.off { opacity: .55; pointer-events: none; }
.btn small { font-weight: 500; color: inherit; opacity: .8; }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; padding: 20px; } }

/* ---------- página de destino ---------- */
.crumbs { font-size: .88rem; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); }
.dest-hero { padding: 14px 0 8px; }
.dest-hero .title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dest-hero .cc { width: 46px; height: 46px; font-size: .95rem; }
.dest-hero h1 { margin: 0; font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.dest-hero .region { color: var(--muted); margin: 6px 0 12px; }
.dest-hero .resumen { color: var(--ink-2); max-width: 70ch; font-size: 1.05rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.kpi { padding: 14px 16px; box-shadow: none; }
.kpi > span { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kpi strong { font-size: 1.1rem; }
.kpi small { display: block; color: var(--ink-2); font-size: .85rem; }

.anio { padding: 20px; }
.anio-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.anio-head h2 { margin: 0; }
.leyenda { display: flex; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--ink-2); align-items: center; }
.leyenda .chip { font-size: .78rem; }

/* gráfico de precio */
.chart { position: relative; margin: 14px 0 6px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.cal .vv { line-height: 1.2; }
.chart .bar { fill: var(--bar); transition: fill .12s ease; }
.chart .bar.sel { fill: var(--bar-sel); }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; }
.chart .baseline { stroke: var(--axis); stroke-width: 1; }
.chart .tick { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.chart .tick.sel { fill: var(--ink); font-weight: 700; }
.chart .ylab { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart-caption { font-size: .82rem; color: var(--muted); margin: 0 0 14px; }
.tt {
  position: absolute; pointer-events: none; z-index: 5; min-width: 170px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
  padding: 8px 10px; font-size: .85rem; line-height: 1.35; transform: translate(-50%, -100%); white-space: nowrap;
}
.tt b { display: block; }
.tt[hidden] { display: none; }

/* calendario */
.cal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 760px) { .cal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cal button {
  font: inherit; color: var(--ink); text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 10px 9px; display: grid; gap: 3px; position: relative; overflow: hidden;
}
.cal button::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.cal button.v-conviene::before { background: var(--good); }
.cal button.v-cuidado::before { background: var(--warn); }
.cal button.v-evitar::before { background: var(--bad); }
.cal button:hover { background: var(--surface-2); }
.cal button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cal .m { font-weight: 750; }
.cal .vv { font-size: .8rem; font-weight: 650; display: flex; align-items: center; gap: 5px; color: var(--ink-2); }
.cal .vv .chip-ico { width: 15px; height: 15px; font-size: .62rem; }
.cal .row { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
.cal .ri { font-size: .9rem; letter-spacing: 1px; min-height: 1.2em; }

/* detalle del mes */
.detalle { padding: 22px; margin-top: 16px; }
.det-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.det-head h3 { margin: 0; font-size: 1.35rem; }
.det-tit { font-size: 1.15rem; font-weight: 650; margin: 10px 0 6px; }
.det-porque { color: var(--ink-2); font-size: 1rem; max-width: 75ch; }
.kv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 18px; }
@media (max-width: 760px) { .kv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kv { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.kv > span { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kv strong { display: block; font-variant-numeric: tabular-nums; }
.kv small { color: var(--ink-2); font-size: .8rem; }
.det-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
@media (max-width: 860px) { .det-cols { grid-template-columns: 1fr; } }
.riesgos li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.riesgos li:first-child { border-top: 0; padding-top: 0; }
.riesgos .ico { font-size: 1.25rem; line-height: 1.2; }
.riesgos b { margin-right: 6px; }
.nivel { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 1px 7px; border-radius: 999px; vertical-align: 1px; }
.nivel.alto { background: var(--bad-bg); color: var(--bad-ink); }
.nivel.medio { background: var(--warn-bg); color: var(--warn-ink); }
.nivel.bajo { background: var(--surface-2); color: var(--ink-2); }
.riesgos p { margin: 2px 0 0; color: var(--ink-2); font-size: .93rem; }
.eventos li { padding: 6px 0 6px 18px; position: relative; color: var(--ink-2); font-size: .95rem; }
.eventos li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* reservas */
.reservas { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.reservas-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.reservas-head p { margin: 0; font-size: .82rem; color: var(--muted); max-width: 60ch; }
.af-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 12px; }
.af { background: var(--surface-2); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.af h4 { margin: 0; display: flex; align-items: center; gap: 8px; }
.af p { margin: 0; color: var(--ink-2); font-size: .9rem; }
.af .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.af .links a {
  text-decoration: none; font-weight: 650; font-size: .88rem; padding: 7px 11px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.af .links a:hover { border-color: var(--brand); color: var(--brand); }
.af.destacado { background: var(--brand-soft); outline: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.af .alerta { font-size: .85rem; color: var(--ink); font-weight: 600; }
.mapa-stay22 { width: 100%; height: 360px; border: 0; border-radius: 14px; margin-top: 12px; background: var(--surface-2); }

/* revisión de links (?revisar) */
.rev-ok { outline: 2px solid var(--good) !important; }
.rev-off { outline: 2px dashed var(--bad) !important; }
.rev-banner { background: var(--surface); border: 2px dashed var(--bad); border-radius: 12px; padding: 10px 14px; margin: 16px 0 0; font-size: .9rem; }

/* circuito del país */
.circ-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.circ { padding: 20px; box-shadow: none; }
.circ h3 { display: flex; align-items: center; gap: 8px; }
.circ ul li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.circ ul li:first-child { border-top: 0; padding-top: 0; }
.circ ul li b { color: var(--ink); }
.circ ul li a { font-weight: 650; }
.tag-af { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-left: 4px; }
.circ.alerta-box { border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); }
.nr { display: flex; gap: 10px; align-items: flex-start; }
.nr .chip { flex: none; margin-top: 1px; }

/* fuentes */
.fuentes li { padding: 6px 0; color: var(--ink-2); font-size: .92rem; }

/* páginas de texto */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin: .3em 0; }

/* ---------- pie ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: .88rem; }
.site-footer .wrap { display: grid; gap: 10px; }
.site-footer a { color: var(--ink-2); }

/* ---------- v2: más económico, ideal si, filtros, advertencias ---------- */
.dest-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; margin-left: auto; }
.dest-top .dest-tags .chip { margin-left: 0; }
.badge-eco {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--eco-bg); color: var(--eco-ink); border: 1px solid var(--eco-line);
}
.eco-dot { font-size: .8rem; }
.ideal { margin: 0; font-size: .9rem; color: var(--ink-2); background: var(--surface-2); border-left: 3px solid var(--good); border-radius: 0 10px 10px 0; padding: 8px 10px; }
.ideal b { color: var(--ink); }
.detalle .ideal { margin: 0 0 10px; max-width: 75ch; }
.eco-box { background: var(--eco-bg); border: 1px solid var(--eco-line); color: var(--ink); border-radius: 12px; padding: 10px 12px; font-size: .93rem; max-width: 75ch; margin-bottom: 4px; }
.cal .vv .chip-ico { background: var(--good); }
.cal button.v-cuidado .vv .chip-ico { background: var(--warn); color: #0b0b0b; }

.controles { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0 0 16px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button { font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink-2); background: transparent; border: 0; border-radius: 8px; padding: 6px 11px; cursor: pointer; }
.seg button:hover { background: var(--surface-2); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.controles .lbl { font-size: .85rem; color: var(--muted); font-weight: 600; margin-right: -8px; }

.zona-grupo { padding: 6px 0; }
.zona-grupo h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0; }
.zona-grupo li { padding: 4px 0; }

.nr-tag { flex: none; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-top: 2px; white-space: nowrap; }
.nr-evitar { background: var(--bad-bg); color: var(--bad-ink); }
.nr-cuidado { background: var(--warn-bg); color: var(--warn-ink); }

.kpi.adv strong { font-size: 1rem; }
.kpi.adv-1 { border-left: 4px solid var(--good); }
.kpi.adv-2 { border-left: 4px solid var(--warn); }
.kpi.adv-3, .kpi.adv-4 { border-left: 4px solid var(--bad); }

/* ---------- fotos ---------- */
.dest-card { padding: 0 0 18px; overflow: hidden; }
.dest-card > *:not(.dest-foto) { margin-left: 20px; margin-right: 20px; }
.dest-foto { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.dest-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dest-card:hover .dest-foto img { transform: scale(1.03); }
.dest-foto.sin-foto { display: grid; place-items: end start; padding: 14px 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 70%, #000), color-mix(in srgb, var(--bar) 60%, #000)); }
.dest-foto.sin-foto span { color: #fff; font-weight: 800; font-size: 1.4rem; letter-spacing: -.01em; }
.hero-foto { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; margin: 6px 0 4px; background: var(--surface-2); }
@media (max-width: 640px) { .hero-foto { aspect-ratio: 4 / 3; } }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; }
.credito { font-size: .75rem; color: var(--muted); margin: 0 0 12px; }
.credito a { color: var(--muted); }
/* ---------- v3: lupa, buscador, calendario, guía, mis viajes ---------- */
.lupa { font: inherit; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.lupa:hover { border-color: var(--ink-2); }
.nav-count { display: inline-block; min-width: 1em; margin-left: 4px; font-weight: 700; color: var(--brand); }
@media (max-width: 560px) { .lupa-txt { display: none; } .lupa { padding: 7px 9px; } }

.busq-capa { position: fixed; inset: 0; z-index: 50; background: rgba(10, 10, 9, .55); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.busq-capa[hidden] { display: none; }
.busq-caja { width: 100%; max-width: 560px; background: var(--surface); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.35); overflow: hidden; }
.busq-caja input { width: 100%; font: inherit; font-size: 1.1rem; padding: 16px 18px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); outline: none; }
.busq-res { max-height: 55vh; overflow: auto; }
.busq-res a { display: grid; padding: 10px 18px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.busq-res a:hover, .busq-res a:focus { background: var(--surface-2); }
.busq-res span { color: var(--muted); font-size: .88rem; }
.busq-res em { font-style: normal; font-size: .82rem; color: var(--ink-2); }
.busq-res .vacio { padding: 14px 18px; color: var(--muted); }
.busq-pie { margin: 0; padding: 8px 18px; font-size: .78rem; color: var(--muted); }

.buscador { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 0; margin-top: 26px; padding: 6px; border-radius: 18px; box-shadow: var(--shadow); }
.campo { display: grid; gap: 2px; padding: 8px 14px; border-right: 1px solid var(--line); }
.campo span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.campo input { font: inherit; font-size: 1rem; border: 0; background: transparent; color: var(--ink); padding: 2px 0; outline: none; min-width: 0; width: 100%; }
.btn-buscar { border-radius: 13px; padding: 0 22px; }
@media (max-width: 760px) {
  .buscador { grid-template-columns: 1fr 1fr; }
  .campo-dest { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .campo:nth-child(3) { border-right: 0; }
  .btn-buscar { grid-column: 1 / -1; padding: 12px; margin-top: 4px; }
}

.novedades { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.nov { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); text-decoration: none; color: var(--ink); }
.nov span { color: var(--ink-2); font-size: .92rem; }
.nov-viaje { border-left-color: var(--brand); }
.nov-alerta { border-left-color: var(--bad); }
.nov-ok { border-left-color: var(--good); }
.nov-eco { border-left-color: var(--bar); }

.cal-global { padding: 10px 6px 14px; }
.cg-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cg-tabla { border-collapse: separate; border-spacing: 3px; width: 100%; min-width: 640px; font-size: .88rem; }
.cg-tabla thead th { font-weight: 600; color: var(--muted); font-size: .8rem; padding: 4px 0; }
.cg-tabla thead th.hoy { color: var(--ink); }
.cg-tabla tbody th { text-align: left; font-weight: 600; white-space: nowrap; padding-right: 8px; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.cg-tabla tbody th a { color: var(--ink); text-decoration: none; }
.cg-tabla tbody th a:hover { color: var(--brand); }
.cg-tabla .zona-fila th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 10px; }
.cg a { display: flex; align-items: center; justify-content: center; gap: 2px; height: 30px; border-radius: 7px; text-decoration: none; position: relative; }
.cg.v-conviene a { background: var(--good-bg); }
.cg.v-cuidado a { background: var(--warn-bg); }
.cg a:hover { outline: 2px solid var(--ink); }
.cg .chip-ico { width: 16px; height: 16px; font-size: .62rem; }
.cg.v-conviene .chip-ico { background: var(--good); }
.cg.v-cuidado .chip-ico { background: var(--warn); color: #0b0b0b; }
.cg-eco { font-size: .72rem; font-weight: 800; color: var(--eco-ink); }
.cg.hoy a { box-shadow: inset 0 0 0 2px var(--ink-2); }
.cg-ley { margin: 10px 8px 0; }

.acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0 6px; }
@media (max-width: 760px) { .acciones { grid-template-columns: 1fr; } }
.guardar-viaje, .seguir { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.guardar-viaje label { display: grid; font-size: .75rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.guardar-viaje input { font: inherit; text-transform: none; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; }
.seguir .btn[aria-pressed="true"] { background: var(--good-bg); color: var(--good-ink); border-color: transparent; }

.guia { padding: 18px 20px; }
.guia-intro p { color: var(--ink-2); max-width: 80ch; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 6px 0 14px; }
.tabs button { font: inherit; font-weight: 600; font-size: .92rem; white-space: nowrap; color: var(--ink-2); background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.tab-panel h3 { font-size: 1.05rem; }
.tab-panel p, .tab-panel li { color: var(--ink-2); }
.tab-panel ul { list-style: disc; padding-left: 1.2em; }
.tabla { overflow-x: auto; margin: 8px 0 16px; }
.tabla table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.tabla th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 1px solid var(--line); padding: 8px 10px; }
.tabla td { border-bottom: 1px solid var(--line); padding: 9px 10px; vertical-align: top; color: var(--ink-2); }
.tabla td:first-child { color: var(--ink); font-weight: 600; }
.tabla a { word-break: break-word; }
@media (max-width: 640px) {
  .tabla thead { display: none; }
  .tabla tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .tabla td { display: block; border: 0; padding: 3px 0; }
  .tabla td::before { content: attr(data-col) ": "; font-weight: 700; color: var(--muted); font-size: .78rem; text-transform: uppercase; }
  .tabla td:first-child::before { content: none; }
}
.ver { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .04em; padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
.ver-ok { background: var(--good-bg); color: var(--good-ink); }
.ver-sec { background: var(--eco-bg); color: var(--eco-ink); }
.ver-nv { background: var(--warn-bg); color: var(--warn-ink); }
.guia-ley { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.mv-head { padding: 36px 0 10px; }
.mis-viajes { display: grid; gap: 18px; padding-bottom: 20px; }
.vacio-mv { padding: 28px; text-align: center; }
.vacio-mv p { color: var(--ink-2); max-width: 60ch; margin-inline: auto; }
.viaje { overflow: hidden; }
.viaje-foto { height: 160px; overflow: hidden; }
.viaje-foto img { width: 100%; height: 100%; object-fit: cover; }
.viaje-cuerpo { padding: 18px 20px; }
.viaje-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; }
.viaje-head h2 { margin: 0; }
.viaje-head h2 a { color: var(--ink); text-decoration: none; }
.viaje-head p { margin: 2px 0 0; }
.cuenta { font-size: 1.05rem; background: var(--brand-soft); padding: 8px 14px; border-radius: 12px; }
.cuenta b { font-size: 1.4rem; color: var(--brand); }
.viaje-mes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--ink-2); }
.viaje-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .viaje-cols { grid-template-columns: 1fr; } }
.check li { padding: 5px 0; }
.check label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; color: var(--ink-2); font-size: .93rem; }
.check input { margin-top: 4px; accent-color: var(--brand); }
.check input:checked + span { text-decoration: line-through; opacity: .6; }
.reservas-mv li { padding: 3px 0; }
.add-res { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; }
.add-res input, .viaje textarea { font: inherit; font-size: .9rem; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; flex: 1 1 140px; }
.viaje textarea { width: 100%; resize: vertical; }
.viaje-pie { display: flex; justify-content: space-between; margin: 14px 0 0; }
.link-x { font: inherit; font-size: .85rem; color: var(--muted); background: none; border: 0; cursor: pointer; text-decoration: underline; }

.pasaporte { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.pasaporte select { font: inherit; font-weight: 500; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; }
.para-vos { background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; font-size: .93rem; color: var(--ink); }

.itin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .itin { grid-template-columns: 1fr; } }
.dia { padding: 18px; box-shadow: none; }
.dia-n { margin: 0; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.dia h3 { margin: 4px 0 10px; }
.dia dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; }
.dia dt { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.dia dd { margin: 0; color: var(--ink-2); font-size: .93rem; }
.dia-r { margin: 12px 0 0; font-size: .88rem; background: var(--surface-2); border-radius: 10px; padding: 8px 10px; color: var(--ink-2); }

/* ---------- v4: baratos, radar, comparador ---------- */
.baratos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.barato { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--ink); }
.barato:hover { color: var(--ink); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.barato img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.barato-cuerpo { padding: 14px 16px 16px; display: grid; gap: 8px; }
.barato-cuerpo p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.barato-cuerpo p b { color: var(--ink); }
.barato-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 1.1rem; }
.barato-cuerpo .barato-tit { font-weight: 650; color: var(--ink); font-size: 1rem; }
.barato-riesgo { background: var(--warn-bg); border-radius: 10px; padding: 8px 10px; }
.radar { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.radar-t { padding: 16px; box-shadow: none; }
.radar-t h3 { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.radar-t li { padding: 7px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.radar-t li:first-child { border-top: 0; }
.radar-t li a { font-weight: 650; }
.radar-t li span:not(.nivel) { color: var(--ink-2); }
.comparar { padding: 16px 18px; }
.comparar-selects { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 8px; }
.comparar-selects label { display: grid; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); gap: 3px; }
.comparar-selects select { font: inherit; text-transform: none; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; min-width: 180px; }
.cmp td { vertical-align: top; }
.cmp td:first-child { white-space: nowrap; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }


/* ---------- v5: propuesta ---------- */
.confianza { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; color: var(--ink-2); font-size: .9rem; }
.confianza li { display: flex; align-items: center; gap: 6px; }
.confianza li::before { content: "\2713"; color: var(--good); font-weight: 900; }
.confianza b { color: var(--ink); }
.argentina { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding: 26px; background: linear-gradient(135deg, var(--surface), color-mix(in srgb, #75aadb 14%, var(--surface))); }
@media (max-width: 760px) { .argentina { grid-template-columns: 1fr; padding: 20px; } }
.argentina h2 { margin-bottom: .4em; }
.argentina-txt p { color: var(--ink-2); }
.argentina-lista { display: grid; gap: 6px; align-content: start; }
.argentina-lista a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.argentina-lista a:hover { border-color: var(--brand); }
.nos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.nos-grid .card { padding: 18px; box-shadow: none; }
.nos-grid h3 { margin-bottom: 6px; }
.nos-grid p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.vs { width: 100%; border-collapse: collapse; margin: 14px 0 24px; font-size: .93rem; }
.vs th, .vs td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.vs th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.vs td:first-child { font-weight: 600; }
.vs .si { color: var(--good-ink); font-weight: 700; }
.vs .no { color: var(--muted); }

.lang-link { font-weight: 700; font-size: .82rem; letter-spacing: .04em; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px !important; }

/* ---------- v6: pestañas de sección, feriados ---------- */
[data-panel][hidden] { display: none !important; }
.secciones { position: sticky; top: 60px; z-index: 15; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  background: var(--bg); border-bottom: 1px solid var(--line); margin: 18px 0 22px; padding-top: 4px; }
.secciones::-webkit-scrollbar { display: none; }
.secciones button { font: inherit; font-weight: 650; font-size: .95rem; white-space: nowrap; color: var(--ink-2); background: none; border: 0;
  border-bottom: 3px solid transparent; padding: 11px 14px; cursor: pointer; }
.secciones button:hover { color: var(--ink); }
.secciones button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.secciones button[hidden] { display: none; }
.explorar { margin-top: 36px; }
.explorar-tit { margin: 0; }
.explorar .secciones { margin-bottom: 0; }
.ver-mas { grid-column: 1 / -1; text-align: center; margin: 6px 0 0; }

.feriados { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.fer { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); border-left: 3px solid var(--line); }
.fer b { font-size: .95rem; }
.fer p { margin: 4px 0 0; color: var(--ink-2); font-size: .9rem; }
.fer-fecha { font-weight: 700; font-size: .85rem; color: var(--ink); line-height: 1.3; }
.fer-tag { display: block; margin-top: 4px; font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.fer-pais { display: inline-block; font-size: .75rem; font-weight: 650; padding: 1px 7px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.fer-tuyo { background: var(--eco-bg); border-color: var(--eco-line); color: var(--eco-ink); }
.fer-fiesta, .fer-tranquilo { border-left-color: var(--good); }
.fer-fiesta .fer-tag, .fer-tranquilo .fer-tag { color: var(--good-ink); }
.fer-lleno, .fer-visitas { border-left-color: var(--warn); }
.fer-lleno .fer-tag, .fer-visitas .fer-tag { color: var(--warn-ink); }
.fer-viaje { outline: 2px solid var(--eco-line); }
.fer-sub { font-weight: 650; margin: 10px 0 2px; font-size: .92rem; }
@media (max-width: 520px) { .fer { grid-template-columns: 1fr; gap: 2px; } .secciones { top: 56px; } }

/* ---------- v7: los mejores del mes, filtros por país ---------- */
.mejores { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.mejor { display: flex; flex-direction: column; overflow: hidden; padding: 0; color: inherit; text-decoration: none; }
.mejor:hover { border-color: var(--brand); }
.mejor-foto { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.mejor-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mejor-n { position: absolute; top: 10px; left: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 800; display: grid; place-items: center; }
.mejor-cuerpo { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mejor-tit { font-weight: 700; margin: 0; }
.motivos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.motivos li { font-size: .82rem; font-weight: 600; background: var(--surface-2); border-radius: 99px; padding: 4px 10px; color: var(--ink-2); }
.mejor-porque { margin: 0; font-size: .92rem; color: var(--ink-2); }
.mejor .dest-cta { margin-top: auto; }
.filtro-pais { display: inline-flex; align-items: center; gap: 8px; }
.filtro-pais select { font: inherit; font-size: .88rem; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.filtro-geo[hidden] { display: none !important; }

/* ---------- v8: compras y ofertas ---------- */
.compras { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.compras li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--eco-bg); border-left: 3px solid var(--bar); }
.compras b { font-size: .95rem; }
.compras p { margin: 4px 0 0; color: var(--ink-2); font-size: .9rem; }
.compra-tip { font-style: normal; }
.compra-nota { margin: 0 0 8px; font-size: .92rem; }
@media (max-width: 520px) { .compras li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- v9: detalle del mes en bloques parejos ---------- */
.det-bloques { columns: 2 340px; column-gap: 16px; }
.det-b { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.det-b > h4:first-child { margin-top: 0 !important; }
.det-b .feriados:last-child, .det-b ul:last-child { margin-bottom: 0; }
.mas { margin: 4px 0 8px; }
.mas summary { cursor: pointer; font-weight: 650; font-size: .9rem; color: var(--brand); padding: 6px 0; }
.mas[open] summary { margin-bottom: 8px; }

/* selector de idioma con bandera */
.lang-link { display: inline-flex; align-items: center; gap: 5px; }
.lang-link .flag { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); flex: none; }
.lang-actual { opacity: 1; font-weight: 750; border-color: var(--ink) !important; cursor: default; }
@media (max-width: 520px) { .lang-link > span { display: none; } .lang-link { padding-inline: 6px; } }

/* ---------- v9: buscador de vuelos ---------- */
.vuelos { padding: 16px 18px; margin-top: 16px; }
.vuelos-tit { margin: 0 0 10px; }
.vuelos-form { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr .7fr auto; gap: 10px; align-items: end; }
.vuelos-form .campo { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 650; color: var(--ink-2); }
.vuelos-form input, .vuelos-form select { font: inherit; font-size: .95rem; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 0; }
.vuelos-form .btn { height: 42px; }
@media (max-width: 900px) { .vuelos-form { grid-template-columns: 1fr 1fr; } .vuelos-form .btn { grid-column: 1 / -1; } }
.av { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); }
.av-tit { margin: 0 0 6px; font-weight: 700; }
.av ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.av-mes .chip { margin-right: 4px; }
.vuelos-nota { margin: 10px 0 0; }

.vuelos-form input, .vuelos-form select { width: 100%; }
.vuelos-form { grid-template-columns: minmax(150px, 2fr) minmax(150px, 2fr) minmax(130px, 1.3fr) minmax(130px, 1.3fr) minmax(70px, .7fr) auto; }
@media (max-width: 900px) { .vuelos-form { grid-template-columns: 1fr 1fr; } }

/* detalle: dos columnas fijas y compras a todo el ancho */
.det-bloques { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.det-col { display: grid; gap: 16px; }
.det-col .det-b { margin: 0; }
.det-ancho { margin-top: 16px; }
.det-ancho .compras { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.det-ancho .compras li { grid-template-columns: 1fr; gap: 2px; }
@media (max-width: 860px) { .det-bloques { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .vuelos-form { grid-template-columns: 1fr 1fr 1fr; } .vuelos-form .btn { grid-column: auto; } }
@media (max-width: 620px) { .vuelos-form { grid-template-columns: 1fr 1fr; } .vuelos-form .btn { grid-column: 1 / -1; } }

/* ---------- v10: llegar y moverse ---------- */
.lleg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.lleg { padding: 16px 18px; }
.lleg h3 { margin: 0 0 8px; font-size: 1.05rem; }
.lleg h4 { margin: 12px 0 4px; font-size: .95rem; }
.lleg ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.lleg p { margin: 6px 0; }
.lleg-taxi { grid-row: span 2; }
.lleg-precio { font-weight: 700; font-size: 1.02rem; }
.lleg-oficial { background: var(--good-bg); border-color: transparent; color: var(--good-ink); }
.lleg-estimado { background: var(--warn-bg); border-color: transparent; color: var(--warn-ink); }
.lleg-local { background: var(--surface-2); }
.lleg-nota { grid-column: 1 / -1; }
.lleg .alerta { background: var(--warn-bg); color: var(--warn-ink); padding: 8px 10px; border-radius: 8px; font-size: .9rem; font-weight: 600; }

/* ---------- v11: oportunidades ---------- */
.opo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.opo { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; color: inherit; text-decoration: none; border-left: 3px solid var(--line); }
.opo:hover { border-color: var(--brand); }
.opo-tag { font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.opo-vuelo, .opo-barato { border-left-color: var(--good); }
.opo-evento { border-left-color: var(--brand); }
.opo-compras { border-left-color: var(--bar); }
.opo-evitar, .opo-alerta { border-left-color: var(--warn); }

/* ---------- v12: franja de oportunidades ---------- */
.opo-tira { display: flex; align-items: center; gap: 10px; margin-top: 18px; margin-bottom: 6px; }
.opo-tira[hidden] { display: none; }
.opo-tira-tit { font-weight: 800; white-space: nowrap; }
.opo-tira-items { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.opo-tira-items::-webkit-scrollbar { display: none; }
.opo-chip { white-space: nowrap; font-size: .86rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); text-decoration: none; border-left-width: 3px; }
.opo-chip:hover { border-color: var(--brand); }
.opo-tira-mas { white-space: nowrap; font-weight: 700; font-size: .88rem; }
@media (max-width: 620px) { .opo-tira { flex-wrap: wrap; } .opo-tira-items { order: 3; flex-basis: 100%; } .opo-tira-mas { margin-left: auto; } }

/* ==========================================================================
   v13 — REDISEÑO: más editorial y menos "plantilla"
   Tipografía serif para títulos, menos sombras y redondeces, jerarquía clara.
   ========================================================================== */
:root {
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-tit: "Fraunces", Georgia, "Times New Roman", serif;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow: none;
}
body { font-size: 16.5px; }
h1, h2, h3, .logo { font-family: var(--font-tit); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-weight: 650; }
h4 { font-family: var(--font); font-weight: 700; }
.card { box-shadow: none; }
.logo-mark { border-radius: 6px; font-family: var(--font-tit); }
.eyebrow { color: var(--muted); letter-spacing: .06em; }
section { padding-block: 32px; }
.section-head { display: block; margin-bottom: 16px; }
.section-head h2 { margin-bottom: 4px; }
.section-head p { color: var(--muted); }
.btn { border-radius: var(--radius-sm); }
.chip { border-radius: 6px; }

/* portada: el mes primero */
.portada { padding-block: 40px 8px; }
.portada-tit { font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 20ch; margin-bottom: .25em; }
.portada .lead { color: var(--ink-2); font-size: 1.1rem; margin-bottom: 22px; max-width: 60ch; }
@media (max-width: 560px) { .portada { padding-block: 24px 4px; } }

/* una sola barra con solapas */
.barra { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.barra-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); padding: 0 8px; overflow-x: auto; scrollbar-width: none; }
.barra-tabs::-webkit-scrollbar { display: none; }
.barra-tabs button { font: inherit; font-weight: 600; font-size: .93rem; color: var(--muted); background: none; border: 0;
  border-bottom: 2px solid transparent; padding: 12px 12px 10px; cursor: pointer; white-space: nowrap; }
.barra-tabs button:hover { color: var(--ink); }
.barra-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.barra-panel { padding: 10px; }
.barra-panel[hidden] { display: none; }
.barra .month-picker { border: 0; padding: 0; background: none; gap: 4px; }
.barra .month-picker button { border-radius: 6px; padding: 10px 0; }
.barra .buscador { border: 0; box-shadow: none; background: none; padding: 0; margin: 0; }
.barra .vuelos { border: 0; padding: 4px; margin: 0; background: none; }

/* los mejores del mes: uno destacado, dos al costado */
.mejores { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
.mejores .mejor:first-child { grid-row: span 2; }
.mejores .mejor:first-child .mejor-foto { aspect-ratio: 4 / 3; }
.mejores .mejor:first-child .mejor-tit { font-family: var(--font-tit); font-size: 1.35rem; }
.mejores .mejor:not(:first-child) { flex-direction: row; }
.mejores .mejor:not(:first-child) .mejor-foto { flex: 0 0 38%; aspect-ratio: auto; }
.mejores .mejor:not(:first-child) .mejor-porque { display: none; }
.mejor-n { border-radius: 6px; }
@media (max-width: 760px) {
  .mejores { grid-template-columns: 1fr; }
  .mejores .mejor:first-child { grid-row: auto; }
  .mejores .mejor:not(:first-child) { flex-direction: column; }
  .mejores .mejor:not(:first-child) .mejor-foto { aspect-ratio: 16 / 9; }
}
.motivos li { border-radius: 5px; background: transparent; border: 1px solid var(--line); }

/* pie con los datos de confianza */
.pie-datos { color: var(--muted); font-size: .85rem; }
.secciones button { font-weight: 600; }

.motivos-txt { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.mejores .mejor:not(:first-child) .motivos-txt { font-size: .85rem; }
.mejor .barato-top b { font-family: var(--font-tit); font-size: 1.15rem; }
/* encabezado en celular: que entre todo sin desbordar */
@media (max-width: 560px) {
  .site-header .lupa, .lang-actual { display: none; }
  .logo { font-size: .98rem; gap: 8px; }
  .logo-mark { width: 26px; height: 26px; font-size: .85rem; }
  .nav { gap: 2px; }
  .lang-link { padding: 5px 7px !important; }
}
@media (max-width: 620px) {
  .vuelos-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vuelos-form .campo, .vuelos-form input, .vuelos-form select { min-width: 0; }
}

/* ---------- v14: destinos abiertos y fichas básicas ---------- */
.busq-res em.ficha-completa { color: var(--good-ink); font-style: normal; font-weight: 700; }
.busq-res em.ficha-basica, .busq-res em.ficha-pais { color: var(--muted); font-style: normal; }
.campo-dest { position: relative; }
.sugerencias { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin-top: 4px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); max-height: 360px; overflow: auto; padding: 4px; }
.sugerencias[hidden] { display: none; }
.sugerencias a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.sugerencias a:hover { background: var(--surface-2); }
.sugerencias a span { grid-column: 1; color: var(--muted); font-size: .85rem; }
.sugerencias a em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: .78rem; }
.lugar-head { padding-block: 24px 8px; }
.ficha-aviso { background: var(--surface-2); border-left: 3px solid var(--warn); padding: 10px 12px; border-radius: 6px; font-size: .92rem; max-width: 70ch; }
.lugar-sec { padding-block: 20px; }
.clima-tabla { width: 100%; border-collapse: collapse; font-size: .88rem; }
.clima-tabla th, .clima-tabla td { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--line); }
.clima-tabla tbody th { text-align: left; color: var(--muted); font-weight: 600; }
.lugar-arma { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.lugar-ciudades { columns: 3 180px; column-gap: 20px; }
.lugar-ciudades li { padding: 4px 0; break-inside: avoid; }

.tambien .dest-grid { margin-top: 8px; }
.tambien-km { display: block; font-size: .85rem; font-weight: 600; color: var(--good-ink); margin: 6px 0 2px; }

/* ---------- v15: página de destino más editorial ---------- */
.dest-hero { padding-top: 6px; }
.dest-hero .hero-foto { position: relative; aspect-ratio: 21 / 8; max-height: 440px; border-radius: var(--radius); }
.dest-hero .hero-foto.sin-foto { aspect-ratio: auto; min-height: 160px; background: var(--surface-2); }
.dest-hero .hero-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0) 55%); }
.dest-hero .hero-foto.sin-foto::after { display: none; }
.hero-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 22px; color: #fff; }
.hero-foto.sin-foto .hero-txt { color: var(--ink); }
.hero-txt h1 { margin: 0; font-size: clamp(2.1rem, 5.5vw, 3.6rem); color: inherit; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-txt .region { margin: 0 0 2px; color: inherit; opacity: .9; font-size: .95rem; }
.dest-hero .resumen { font-size: 1.12rem; margin: 14px 0 10px; max-width: 68ch; }
.datos-clave { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 28px; margin: 0 0 8px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.datos-clave div { padding: 6px 0; }
.datos-clave dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.datos-clave dd { margin: 2px 0 0; font-size: .95rem; color: var(--ink-2); }
.datos-clave dd b { color: var(--ink); }
.datos-clave .adv-2 dt, .datos-clave .adv-3 dt, .datos-clave .adv-4 dt { color: var(--warn-ink); }
@media (max-width: 560px) { .dest-hero .hero-foto { aspect-ratio: 4 / 3; } .hero-txt { padding: 14px 16px; } }

/* año: gráfico más chico y calendario sin bordes de colores */
.chart svg { max-height: none; }
.chart .bar { fill: color-mix(in srgb, var(--bar) 45%, var(--surface)); }
.chart .bar.sel { fill: var(--bar); }
.cal { gap: 6px; }
.cal button { border-radius: 8px; border: 1px solid var(--line); background: transparent; box-shadow: none; }
.cal button::before { top: 0; left: 10px; right: 10px; bottom: auto; width: auto; height: 3px; border-radius: 0 0 3px 3px; }
.cal button[aria-pressed="true"] { border-color: var(--ink); box-shadow: none; background: var(--surface-2); }
.anio { box-shadow: none; }
.anio-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

/* ---------- v16: detalle del mes más sobrio ---------- */
.detalle { padding: 26px 28px; }
.det-head h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.det-tit { font-family: var(--font-tit); font-weight: 600; font-size: 1.25rem; }
.det-porque { font-size: 1.05rem; line-height: 1.6; }
.ideal, .detalle .ideal { background: none; border-left: 2px solid var(--good); border-radius: 0; padding: 2px 0 2px 12px; font-size: .98rem; }
.eco-box { background: none; border: 0; border-left: 2px solid var(--bar); border-radius: 0; padding: 2px 0 2px 12px; }
/* los cuatro datos del mes: una fila de texto entre líneas, sin cajitas */
.kv-grid { gap: 0 24px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kv { background: none; border-radius: 0; padding: 4px 0; }
.kv strong { font-size: 1.1rem; }
/* bloques: separados por líneas finas, sin recuadros */
.det-b { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 14px 0 0; }
.det-col { gap: 8px; }
.det-ancho { margin-top: 18px; }
.det-b h4 { font-family: var(--font-tit); font-weight: 600; font-size: 1.12rem; }
/* feriados y compras: lista limpia con una rayita de color, sin fondos */
.fer, .compras li { background: none; border-radius: 0; padding: 8px 0 8px 12px; border-left: 2px solid var(--line); }
.fer-fecha { color: var(--muted); font-weight: 600; }
.compras li { border-left-color: var(--bar); }
.fer-tag { font-weight: 600; }
/* reservas */
.af { background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.af .links a { border-radius: 6px; }
@media (max-width: 560px) { .detalle { padding: 18px 16px; } }

/* ---------- v17: tarjetas, logo y pie ---------- */
.logo { gap: 8px; font-size: 1.12rem; color: var(--ink); }
.logo-sol { width: 26px; height: 26px; color: var(--brand); flex: none; }
.dest-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.dest-card .dest-foto { position: relative; margin: 0; border-radius: 0; aspect-ratio: 16 / 10; }
.dest-card .dest-foto img { width: 100%; height: 100%; object-fit: cover; }
.dest-card .dest-tags { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.dest-card .dest-tags .chip, .dest-card .dest-tags .badge-eco { backdrop-filter: blur(6px); background: rgba(15,15,14,.72); color: #fff; border: 0; }
.dc-cuerpo { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dc-pais { margin: 0; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dc-cuerpo h3 { margin: 0; font-size: 1.3rem; }
.dc-cuerpo .dest-tit { margin: 2px 0 0; font-family: var(--font-tit); font-weight: 500; font-size: 1.02rem; color: var(--ink-2); }
.dc-datos { margin: 2px 0 0; font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dc-cuerpo .dest-risk { margin: 0; font-size: .86rem; color: var(--muted); }
.dc-cuerpo .dest-cta { margin-top: auto; padding-top: 6px; font-weight: 650; }
.site-footer { margin-top: 56px; padding: 36px 0 28px; }
.pie { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; }
.pie-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-tit); font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; }
.pie-tit { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.pie-lista li { padding: 3px 0; }
.pie-lista a { color: var(--ink-2); text-decoration: none; }
.pie-lista a:hover { color: var(--brand); }
.pie-legal { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; }
@media (max-width: 760px) { .pie { grid-template-columns: 1fr 1fr; } .pie-marca { grid-column: 1 / -1; } }
@media (max-width: 560px) { .logo { font-size: .95rem; gap: 6px; } .logo-sol { width: 22px; height: 22px; } .nav a { padding: 6px 6px; } }

/* ---------- v18: blog y videos ---------- */
.blog-lista { display: grid; gap: 14px; margin-bottom: 40px; }
.nota-item { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 0; overflow: hidden; color: inherit; text-decoration: none; }
.nota-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.nota-item > div { padding: 14px 16px 14px 0; }
.nota-item:not(:has(img)) { grid-template-columns: 1fr; }
.nota-item:not(:has(img)) > div { padding: 14px 16px; }
.nota-item h2 { margin: 2px 0 6px; font-size: 1.3rem; }
.nota-item p { margin: 0; color: var(--ink-2); }
.nota-fecha { color: var(--muted); font-size: .85rem; margin: 0; }
.nota { padding-bottom: 40px; }
.nota article { max-width: 720px; }
.nota-foto { width: 100%; border-radius: var(--radius); margin: 10px 0 18px; }
.nota-cuerpo { font-size: 1.08rem; line-height: 1.7; }
.nota-cuerpo h2 { margin-top: 1.4em; }
.nota-cuerpo ul { list-style: disc; padding-left: 22px; }
.nota-destino { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.video { padding: 0; overflow: hidden; }
.video-play { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; aspect-ratio: 16 / 9; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video-btn { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; display: grid; place-items: center; font-size: 1.4rem; }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-link { display: block; padding: 28px 16px; text-align: center; font-weight: 700; background: var(--surface-2); }
.video-txt { padding: 12px 14px; }
.video-txt p { margin: 4px 0 0; color: var(--ink-2); font-size: .92rem; }
.sello-verif { display: inline-block; margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--good-ink); }
.cont-sub { margin-top: 22px; }
.notas-dest li { padding: 8px 0; border-top: 1px solid var(--line); }
.notas-dest a { display: grid; gap: 2px; text-decoration: none; color: var(--ink); }
.notas-dest span { color: var(--muted); font-size: .9rem; }
@media (max-width: 620px) { .nota-item { grid-template-columns: 1fr; } .nota-item > div { padding: 12px 14px; } }

/* ==========================================================================
   v19 — IDENTIDAD CRONOFARO (manual de marca 1.1)
   Papel crema, tinta marina, 5 tintas planas, sin rojo semáforo ni sombras borrosas.
   Space Grotesk (títulos) · Plus Jakarta Sans (interfaz) · Newsreader (lectura) · Space Mono (datos)
   ========================================================================== */
:root {
  --bg: #F8F4EC;          /* crema afiche */
  --surface: #FCF9F3;     /* tarjetas */
  --surface-2: #EFE9DC;   /* franjas y barras */
  --ink: #10253B;         /* azul noche marino */
  --ink-2: #243240;
  --muted: #5A6774;
  --line: #DDD5C5;
  --brand: #BD5419;       /* naranja faro apto para texto */
  --brand-hover: #9A4312;
  --brand-soft: #FBECE2;
  --faro: #E06D2B;
  --focus: #E06D2B;
  --bar: #233E59;
  --bar-sel: #E06D2B;
  --grid: #E9E4D8;
  --axis: #C9BFAC;
  --good: #1F6E5C;  --good-bg: #E3F1EC;  --good-ink: #155143;
  --warn: #E06D2B;  --warn-bg: #FBECE2;  --warn-ink: #9A4312;
  --bad: #863124;   --bad-bg: #F7E6E2;   --bad-ink: #863124;
  --eco-bg: #FDF5DF; --eco-ink: #7D590E; --eco-line: #E5C470;
  --sun: #E8B84B;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 2px 0 rgba(16, 37, 59, .08);
  --shadow-poster: 4px 4px 0 rgba(16, 37, 59, .14);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-tit: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-edit: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1E30; --surface: #17314B; --surface-2: #132940; --line: #264361;
    --ink: #F8F4EC; --ink-2: #E4DFD4; --muted: #9DB0C2;
    --brand: #F0874A; --brand-hover: #F6A374; --brand-soft: #442718;
    --bar: #4F7398; --bar-sel: #F0874A; --grid: #1E3A57; --axis: #2E4D6C;
    --good-bg: #153D34; --good-ink: #9FE2CD; --warn-bg: #442718; --warn-ink: #FFB98A;
    --bad-bg: #40201C; --bad-ink: #F2A89C; --eco-bg: #3F3214; --eco-ink: #F4D37C; --eco-line: #6B5520;
    --shadow: none; --shadow-poster: 4px 4px 0 rgba(0, 0, 0, .25);
  }
}
:root[data-theme="dark"] {
  --bg: #0D1E30; --surface: #17314B; --surface-2: #132940; --line: #264361;
  --ink: #F8F4EC; --ink-2: #E4DFD4; --muted: #9DB0C2;
  --brand: #F0874A; --brand-hover: #F6A374; --brand-soft: #442718;
  --bar: #4F7398; --bar-sel: #F0874A; --grid: #1E3A57; --axis: #2E4D6C;
  --good-bg: #153D34; --good-ink: #9FE2CD; --warn-bg: #442718; --warn-ink: #FFB98A;
  --bad-bg: #40201C; --bad-ink: #F2A89C; --eco-bg: #3F3214; --eco-ink: #F4D37C; --eco-line: #6B5520;
  --shadow: none; --shadow-poster: 4px 4px 0 rgba(0, 0, 0, .25);
}
body { background: var(--bg); color: var(--ink-2); font-family: var(--font); font-size: 16px; }
h1, h2, h3, .logo, .pie-logo { font-family: var(--font-tit); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
h1 { letter-spacing: -0.035em; }
.portada-tit { font-size: clamp(2.1rem, 5vw, 3.25rem); line-height: 1.02; }
.logo, .pie-logo { letter-spacing: -0.035em; font-size: 1.28rem; }
.logo-iso { display: block; width: 34px; height: 34px; flex: none; }
.pie-logo .logo-iso { width: 30px; height: 30px; }
.site-header { background: var(--bg); border-bottom: 2px solid var(--ink); }
.site-footer { background: var(--surface-2); border-top: 2px solid var(--ink); }
.eyebrow, .dc-pais, .nota-fecha, .datos-clave dt { font-family: var(--font-mono); font-weight: 400; letter-spacing: .06em; }
.eyebrow { color: var(--brand); }
/* datos duros en mono: meses, precios, temperaturas */
.month-picker button, .dc-datos, .lleg-precio, .fer-tag, .badge-eco, .opo-tag { font-family: var(--font-mono); }
.month-picker button { text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; }
.month-picker button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
/* tarjetas: papel con borde de imprenta, sombra sólida corta */
.card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dest-card:hover, .mejor:hover { transform: none; border-color: var(--ink); box-shadow: var(--shadow-poster); }
.mejor-n { background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-weight: 700; border-radius: 50%; }
/* botones */
.btn { border-radius: var(--radius-sm); font-family: var(--font-tit); font-weight: 600; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #FCF9F3; }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #FCF9F3; }
/* solapas: tinta marina, subrayado naranja faro */
.tabs button, .barra-tabs button { font-family: var(--font-tit); font-weight: 600; }
.tabs button[aria-selected="true"], .barra-tabs button[aria-selected="true"] { color: var(--ink); border-bottom: 3px solid var(--faro); }
.barra { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-poster); }
/* veredictos: Conviene (verde bosque) y Con cuidado (naranja); nunca rojo */
.chip { border-radius: 9999px; font-family: var(--font-tit); font-weight: 600; border: 1px solid transparent; }
.chip.v-conviene { background: var(--good-bg); color: var(--good-ink); border-color: #9BC8B9; }
.chip.v-cuidado { background: var(--warn-bg); color: var(--warn-ink); border-color: #EAB28E; }
.chip.v-evitar { background: var(--bad-bg); color: var(--bad-ink); border-color: #D6A095; }
.badge-eco { background: var(--eco-bg); color: var(--eco-ink); border-color: var(--eco-line); }
/* lectura larga: blog y páginas editoriales en Newsreader */
.nota-cuerpo, .nota .lead, .prose p, .portada .lead { font-family: var(--font-edit); }
.nota-cuerpo { font-size: 1.125rem; line-height: 1.7; color: var(--ink-2); }
.nota article { max-width: 700px; }
.portada .lead { font-size: 1.2rem; }
.sello-verif { font-family: var(--font-mono); font-weight: 400; }
::selection { background: #E8B84B; color: #10253B; }
:focus-visible { outline: 3px solid rgba(224, 109, 43, .55); outline-offset: 2px; }
@media (max-width: 560px) { .logo { font-size: 1.1rem; } .logo-iso { width: 30px; height: 30px; } }

/* ---------- v20: ajustes de marca y detalles de imprenta ---------- */
/* Space Mono solo para datos cortos; las frases vuelven a la letra de interfaz */
.dc-datos, .lleg-precio, .fer-tag, .badge-eco, .opo-tag { font-family: var(--font); }
.dc-datos { font-variant-numeric: tabular-nums; }
.fer-tag, .opo-tag { font-family: var(--font-tit); font-weight: 600; letter-spacing: 0; }
.lleg-precio { font-family: var(--font-tit); font-weight: 700; color: var(--ink); }
/* íconos propios */
.ico-cf { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; display: inline-block; }
.riesgos .ico { color: var(--warn-ink); display: inline-grid; place-items: center; }
.riesgos .ico .ico-cf { width: 22px; height: 22px; }
.ri { color: var(--warn-ink); display: inline-flex; gap: 3px; }
.dest-risk .ico-cf, .fer-tag .ico-cf, .opo-tag .ico-cf { color: var(--brand); }
.badge-eco .ico-cf, .eco-box .ico-cf { color: #C7932A; fill: #E8B84B; }
/* chips sobre las fotos: tintas planas de la marca, sin vidrio esmerilado */
.dest-card .dest-tags .chip, .dest-card .dest-tags .badge-eco { backdrop-filter: none; border: 1px solid transparent; }
.dest-card .dest-tags .chip.v-conviene { background: #E3F1EC; color: #155143; }
.dest-card .dest-tags .chip.v-cuidado { background: #FBECE2; color: #9A4312; }
.dest-card .dest-tags .chip.v-evitar { background: #F7E6E2; color: #863124; }
.dest-card .dest-tags .badge-eco { background: #FDF5DF; color: #7D590E; }
.chip-ico { background: var(--good); color: #FCF9F3; }
.v-cuidado .chip-ico, .chip.v-cuidado .chip-ico, .cal button.v-cuidado .vv .chip-ico, .cg.v-cuidado .chip-ico { background: var(--faro); color: #FCF9F3; }
/* sombras y velos en azul marino, nunca negro puro */
.dest-hero .hero-foto::after { background: linear-gradient(to top, rgba(16,37,59,.72), rgba(16,37,59,0) 58%); }
.hero-txt { color: #F8F4EC; }
.hero-txt h1 { text-shadow: none; }
.hero-txt .region { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.dest-foto.sin-foto, .hero-foto.sin-foto { background: #10253B; }
.busq-capa { background: rgba(16, 37, 59, .55); }
.busq-caja { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-poster); }
.video-play { background: #10253B; }
.video-btn { background: #E06D2B; color: #FCF9F3; }
/* estampilla argentina sobre la foto del destino */
.hero-foto { position: relative; }
.hero-sello { position: absolute; top: 14px; right: 16px; z-index: 2; width: 84px; height: auto; transform: rotate(4deg); filter: drop-shadow(2px 2px 0 rgba(16,37,59,.25)); }
@media (max-width: 560px) { .hero-sello { width: 62px; top: 10px; right: 10px; } }
/* medallas del mes */
.medallas { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 4px 0 14px; }
.medalla { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-tit); font-size: .88rem; color: var(--ink); }
.medalla img { width: 34px; height: auto; display: block; transition: transform .16s ease; }
.medalla:hover img { transform: translateY(-2px) rotate(-3deg); }
/* sellos de tinta sobre el papel */
.sello-tinta { float: right; width: 112px; height: auto; margin: 0 0 10px 18px; mix-blend-mode: multiply; opacity: .88; transform: rotate(-5deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sello-tinta { mix-blend-mode: normal; opacity: .95; } }
:root[data-theme="dark"] .sello-tinta { mix-blend-mode: normal; opacity: .95; }
@media (max-width: 560px) { .sello-tinta { width: 80px; } }
/* portada: grilla náutica muy sutil, como papel de carta */
.portada { background-image: url("brand/details/pattern-nautical-grid.svg"); background-size: 96px 96px; background-position: center top; }
/* títulos de sección con un filete corto de naranja faro */
.section-head h2::after, .mv-head h1::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 10px; background: var(--faro); }
/* lectura larga en Newsreader: Transparencia, Nosotros y blog */
.prose p, .prose li { font-family: var(--font-edit); font-size: 1.1rem; line-height: 1.65; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.site-footer { color: var(--ink-2); }
.dest-hero .hero-foto img.hero-sello { position: absolute; inset: 14px 16px auto auto; width: 84px; height: auto; object-fit: contain; z-index: 2; }
@media (max-width: 560px) { .dest-hero .hero-foto img.hero-sello { width: 60px; inset: 10px 10px auto auto; } }
.eco-dot { color: #C7932A; font-size: .85rem; }

/* ---------- v21: solapas que se ven como solapas, más aire en los textos largos, lista de destinos compacta ---------- */
/* solapas de la barra de portada: botones con recuadro; la elegida, llena en azul marino */
.barra-tabs { gap: 8px; padding: 10px 10px 0; border-bottom: 0; }
.barra-tabs button { border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink-2); padding: 9px 16px; }
.barra-tabs button:hover { border-color: var(--ink); color: var(--ink); }
.barra-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.barra-panel { padding: 12px 10px 10px; }
/* solapas de la ficha del destino: mismo lenguaje */
.secciones { gap: 6px; padding: 8px 0; background: var(--bg); border-bottom: 2px solid var(--ink); }
.secciones button { border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 7px 14px; color: var(--ink-2); }
.secciones button:hover { border-color: var(--ink); color: var(--ink); }
.secciones button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
/* grupo segmentado genérico (lista de destinos) */
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.seg button { font: inherit; font-family: var(--font-tit); font-weight: 600; font-size: .93rem; cursor: pointer; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-2); padding: 8px 14px; }
.seg button:hover { border-color: var(--ink); color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg-n { font-family: var(--font-mono); font-size: .75rem; opacity: .7; margin-left: 2px; }
.mini-dest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.mini-dest[hidden] { display: none; }
.mini-dest a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-decoration: none; }
.mini-dest a:hover { border-color: var(--ink); box-shadow: var(--shadow-poster); }
.mini-dest b { font-family: var(--font-tit); font-weight: 600; font-size: .98rem; line-height: 1.25; }
.mini-meses { display: flex; gap: 12px; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; color: var(--muted); }
.mini-meses span:first-child .ico-cf { color: var(--good); }
.mini-meses span:last-child .ico-cf { color: #C7932A; fill: #E8B84B; }
.mini-ley { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.mini-ley .ico-cf:first-child { color: var(--good); }
.mini-ley .ico-cf:last-of-type { color: #C7932A; fill: #E8B84B; }
/* detalle del mes: cada bloque se separa claramente */
.det-bloques { gap: 0 36px; }
.det-col { gap: 0; }
.det-b { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.det-b h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1.08rem; }
.det-b h4::before { content: ""; width: 4px; height: 1em; background: var(--faro); border-radius: 1px; flex: none; }
.det-ancho { margin-top: 6px; border-top: 2px solid var(--ink); }
@media (min-width: 761px) { .det-bloques > .det-col + .det-col { border-left: 1px solid var(--line); padding-left: 36px; margin-left: -18px; } }
/* feriados, eventos y compras: tarjetas separadas, fecha como etiqueta */
.feriados, .compras { gap: 12px; }
.fer, .compras li { padding: 12px 14px; background: var(--surface-2); border-left: 3px solid var(--line); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.fer-fiesta, .fer-tranquilo { border-left-color: var(--good); }
.fer-lleno, .fer-visitas { border-left-color: var(--faro); }
.compras li { border-left-color: var(--sun); }
.fer-fecha, .compras li > span:first-child { font-family: var(--font-mono); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.fer p, .compras p { line-height: 1.55; margin-top: 6px; }
.fer b, .compras b { font-family: var(--font-tit); font-size: 1rem; }
.fer-tag { margin-top: 3px; }
.mas summary { margin-top: 10px; display: inline-block; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; color: var(--ink); }
.mas summary:hover { border-color: var(--ink); }
/* listas con viñetas: un poco más de aire entre ítems */
.det-b ul:not(.feriados):not(.compras):not(.riesgos) li { margin-bottom: 8px; line-height: 1.5; }
.riesgos li { padding: 4px 0 10px; }
@media (max-width: 520px) { .barra-tabs button, .secciones button { padding: 7px 11px; font-size: .88rem; } }
.fer, .compras li { grid-template-columns: 1fr; gap: 2px; }
.fer-fecha, .compras li > span:first-child { color: var(--brand); }

/* ---------- v22: aviso de afiliados junto a los botones, sereno ---------- */
.aviso-af { margin: 6px 0 0; font-size: .86rem; color: var(--muted); padding-left: 10px; border-left: 2px solid var(--sun); }
.aviso-af a { color: var(--ink-2); font-weight: 600; white-space: nowrap; }

/* ---------- v23: Mis viajes como pase de embarque ---------- */
.pase { position: relative; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-poster); margin-bottom: 26px; overflow: visible; }
.pase-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #10253B; color: #F8F4EC; padding: 12px 20px; border-radius: 5px 5px 0 0;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.pase-head .cuenta { font-size: .8rem; color: #E8B84B; }
.pase-head .cuenta b { color: #F8F4EC; }
.pase-datos { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; }
.pase-datos small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.pase-datos b { font-family: var(--font-mono); font-size: 1.05rem; color: var(--ink); }
.pase-dest h2 { margin: 0; font-size: 1.6rem; line-height: 1.1; }
.pase-dest h2 a { color: var(--ink); text-decoration: none; }
.pase-pais { font-size: .88rem; color: var(--muted); }
.pase-foto img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); display: block; border: 1px solid var(--line); }
.pase-corte { position: relative; border-top: 2px dashed var(--line); margin: 0 18px; }
.pase-corte::before, .pase-corte::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.pase-corte::before { left: -31px; clip-path: inset(0 0 0 50%); }
.pase-corte::after { right: -31px; clip-path: inset(0 50% 0 0); }
.pase-talon { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 20px; background: var(--surface-2); }
.pase-talon > span:first-child { display: flex; gap: 6px; flex-wrap: wrap; }
.pase-listo { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.pase .viaje-cuerpo { padding: 6px 20px 18px; border-top: 1px solid var(--line); }
@media (max-width: 620px) {
  .pase-datos { grid-template-columns: 1fr 1fr; }
  .pase-dest { grid-column: 1 / -1; }
  .pase-foto { display: none; }
  .pase-dest h2 { font-size: 1.35rem; }
}

/* ---------- v24: dial de 12 meses en la ficha ---------- */
.hero-intro { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; align-items: center; }
.dial-box { text-align: center; }
.dial { width: 100%; max-width: 250px; height: auto; display: block; margin: 0 auto; }
.dial-fondo { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.dial-s { cursor: pointer; opacity: .88; transition: opacity .15s ease; }
.dial-s:hover { opacity: 1; }
.dial-s.sel { opacity: 1; stroke: var(--ink); stroke-width: 3.5; }
.dial-m { font-family: var(--font-mono); font-size: 11px; font-weight: 700; fill: #F8F4EC; pointer-events: none; text-transform: uppercase; }
.dial-sol { fill: #E8B84B; stroke: #10253B; stroke-width: 1.2; }
.dial-sol-t { font-size: 9px; fill: #10253B; pointer-events: none; }
.dial-c1 { font-family: var(--font-tit); font-weight: 700; font-size: 30px; fill: var(--ink); text-transform: uppercase; letter-spacing: -.5px; }
.dial-c2 { font-family: var(--font-mono); font-size: 11px; fill: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.dial-ley { margin: 6px 0 0; font-size: .78rem; color: var(--muted); display: flex; gap: 6px 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.dial-ley i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: -4px; }
.dl-ok { background: #1F6E5C; } .dl-cu { background: #E06D2B; }
.dial-ley span { color: #C7932A; }
@media (max-width: 760px) { .hero-intro { grid-template-columns: 1fr; gap: 6px; } .dial { max-width: 220px; } }

.pase-head .cuenta { background: none; padding: 0; border-radius: 0; font-size: .8rem; }
.pase-head .cuenta b { font-size: 1rem; color: #F8F4EC; }
.pase-mes { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); font-weight: 700; }
