/* ============ Asunción City — sistema visual ============ */
:root {
  color-scheme: light;
  /* paleta clara y luminosa: papel blanco, franjas de color suave */
  --paper: #FFFFFF;
  --paper-2: #F2F5F8;
  --card: #FFFFFF;
  --ink: #1C2B36;             /* azul pizarra, más amable que el negro */
  --ink-2: #3A4B57;
  --muted: #677885;
  --line: rgba(28, 43, 54, .11);
  --line-2: rgba(28, 43, 54, .2);
  --accent: #E0356F;          /* lapacho rosado */
  --accent-2: #C21F58;
  --accent-soft: #FDE8F0;
  --on-accent: #FFFFFF;
  --sun: #FFB81C;             /* tajy amarillo */
  --sun-soft: #FFF4D6;
  --river: #1C87C9;           /* celeste de río */
  --river-soft: #E6F3FB;
  --monte: #23A15C;           /* verde monte */
  --monte-soft: #E6F6EC;
  --tierra: #EB6A2E;          /* tierra colorada */
  --ok: #1F9D55; --warn: #D98A0B; --bad: #D64545;
  --tint-sky: #EAF5FC; --tint-pink: #FDF0F5; --tint-sun: #FFF7E0; --tint-mint: #EAF7EF;
  --map-land: #EEF2EC;
  --map-land-2: #E1E8DD;
  --map-out: #E6F2F9;
  --map-stroke: #FFFFFF;
  --map-water: #5FB0DF;
  --shadow: 0 1px 2px rgba(28,43,54,.05), 0 10px 28px -14px rgba(28,43,54,.25);
  --shadow-lg: 0 26px 60px -22px rgba(28,43,54,.38);
  --r: 18px; --r-sm: 12px; --r-lg: 26px;
  --display: "Bricolage Grotesque", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --top-h: 62px;
  --tab-h: 64px;
  --gut: clamp(16px, 4vw, 40px);
  /* colores de región */
  --rg-asuncion: #E0356F; --rg-lago: #1C87C9; --rg-cordillera: #23A15C; --rg-misiones: #EB6A2E;
  --rg-este: #0FA3A0; --rg-guaira: #8A5CE6; --rg-norte: #F0A112; --rg-chaco: #C4873A;
}
/* El sitio es claro por defecto (turismo = luz). El modo oscuro es una elección manual. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111A22; --paper-2: #18242E; --card: #1A2731; --ink: #EAF0F4; --ink-2: #C7D3DB; --muted: #95A6B2;
  --line: rgba(234,240,244,.12); --line-2: rgba(234,240,244,.22);
  --accent: #FF6B9C; --accent-2: #FF93B6; --accent-soft: #3B1C2A; --on-accent: #1A0A10;
  --sun: #FFC845; --sun-soft: #3A3014; --river: #5CB8EE; --river-soft: #133246; --monte: #5FD08E; --monte-soft: #173526; --tierra: #FF8A57;
  --ok: #5FD08E; --warn: #FFC845; --bad: #FF7B7B;
  --tint-sky: #142C3B; --tint-pink: #2E1822; --tint-sun: #2E2812; --tint-mint: #14301F;
  --map-land: #22323D; --map-land-2: #2A3C48; --map-out: #16222B; --map-stroke: #111A22; --map-water: #3D8FC2;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 70px -20px rgba(0,0,0,.7);
  --rg-asuncion: #FF6B9C; --rg-lago: #5CB8EE; --rg-cordillera: #5FD08E; --rg-misiones: #FF8A57;
  --rg-este: #3FD1CB; --rg-guaira: #B093F5; --rg-norte: #FFC845; --rg-chaco: #E0A95E;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 10px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0; text-wrap: balance; font-variation-settings: "wdth" 88; }
h1 { font-size: clamp(2.5rem, 7.2vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); letter-spacing: -.01em; font-variation-settings: "wdth" 92; }
p { margin: 0; }
.gn { font-style: italic; }
.eyebrow { font: 600 .74rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
.prose { max-width: 66ch; }
.prose p + p { margin-top: .8em; }

/* ---------- barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; height: calc(var(--top-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { height: var(--top-h); display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand svg { width: 34px; height: 34px; }
.brand b { display: block; font: 800 1.02rem/1 var(--display); letter-spacing: -.02em; font-variation-settings: "wdth" 85; }
.brand small { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.mainnav { display: none; gap: 2px; margin-left: 8px; }
.mainnav a { text-decoration: none; padding: 8px 11px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.mainnav a:hover { background: var(--paper-2); }
.mainnav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.iconbtn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid transparent; background: transparent; position: relative; flex: 0 0 auto; }
.iconbtn:hover { background: var(--paper-2); }
.iconbtn svg { width: 20px; height: 20px; }
.iconbtn .dot { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font: 700 .68rem/18px var(--body); text-align: center; }
.searchbtn { display: none; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--muted); font-size: .9rem; min-width: 210px; }
.searchbtn svg { width: 17px; height: 17px; }
.searchbtn kbd { margin-left: auto; font: 600 .7rem var(--body); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 6px; }
.langsel { height: 36px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); padding: 0 10px; font-weight: 600; font-size: .82rem; }
@media (min-width: 1100px) { .mainnav { display: flex; } }
@media (min-width: 900px) { .searchbtn { display: inline-flex; } .only-mobile { display: none !important; } }
@media (max-width: 899px) { .only-desktop { display: none !important; } }
@media (max-width: 1099px) and (min-width: 900px) { .searchbtn { min-width: 0; } .searchbtn span, .searchbtn kbd { display: none; } }

/* ---------- barra de pestañas móvil ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.tabbar a, .tabbar button { height: var(--tab-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: .68rem; font-weight: 600; color: var(--muted); background: none; border: 0; position: relative; }
.tabbar svg { width: 22px; height: 22px; }
.tabbar [aria-current="page"] { color: var(--accent); }
.tabbar [aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
.tabbar .dot { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 16px; height: 16px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font: 700 .62rem/16px var(--body); padding: 0 4px; }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- botones, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .15s ease, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: .85rem; }
.btn.full { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.linkbtn svg { width: 16px; height: 16px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); font-size: .88rem; font-weight: 500; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; text-decoration: none; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"], .chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .sw { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--accent)); flex: 0 0 auto; }
.chip svg { width: 16px; height: 16px; }
.chip small { font-size: .74rem; opacity: .7; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
.chips.scroll::-webkit-scrollbar { display: none; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font: 700 .68rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.badge svg { width: 13px; height: 13px; }
.badge.unesco { background: var(--river); color: #fff; }
.badge.top { background: var(--accent); color: var(--on-accent); }
.badge.sun { background: var(--sun); color: #2A1E00; }
.badge.soft { background: color-mix(in srgb, var(--c, var(--accent)) 16%, var(--card)); color: var(--ink); }
.kv { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--muted); }
.kv span { display: inline-flex; align-items: center; gap: 6px; }
.kv svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* ---------- secciones ---------- */
.section { padding-block: clamp(40px, 7vw, 84px); }
.section.tight { padding-block: clamp(28px, 4vw, 48px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(18px, 3vw, 30px); flex-wrap: wrap; }
.sec-head > div { display: grid; gap: 8px; max-width: 760px; }
.sec-head p.muted { max-width: 60ch; }
.band { background: var(--tint-sky); }
.band.pink { background: var(--tint-pink); }
.band.sun { background: var(--tint-sun); }
.band.mint { background: var(--tint-mint); }
.band-ink { background: linear-gradient(135deg, var(--tint-pink), var(--tint-sun)); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 28px; padding-block: clamp(26px, 5vw, 64px) clamp(30px, 5vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-top: 18px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 480px); aspect-ratio: 1; }
.hero-art svg.nanduti { width: 100%; height: 100%; }
@media (max-width: 979px) { .hero-art { position: absolute; right: -32%; top: -6%; width: 88vw; max-width: 520px; opacity: .22; pointer-events: none; z-index: 0; } .hero-text { position: relative; z-index: 1; } }
.live { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.live .pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .82rem; font-weight: 500; }
.live .pill svg { width: 16px; height: 16px; }
.live .pill b { font-weight: 700; }
.ask { margin-top: 26px; padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 680px; }
.ask h2 { font-size: 1.3rem; margin-bottom: 12px; }
.ask .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.mood { --c: var(--accent); }
.mood .ic { font-size: 1rem; line-height: 1; }

/* ---------- cartas ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid.g3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid.g2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); padding-bottom: 6px; scroll-padding-inline: var(--gut); }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
@media (min-width: 700px) { .hscroll { grid-auto-columns: minmax(280px, 42%); } }
@media (min-width: 1100px) { .hscroll.to-grid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }

.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; text-align: left; padding: 0; width: 100%; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; max-width: 100%; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .media img { transform: scale(1.04); }
.card .media .flags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.card .body { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; flex: 1; }
.card .kicker { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.card .kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); display: inline-block; }
.card h3 { font-size: 1.2rem; }
.card p.sum { color: var(--ink-2); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .kv { margin-top: 4px; }
.favbtn { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.9); color: #13221A; box-shadow: 0 2px 10px rgba(0,0,0,.15); z-index: 2; }
.favbtn svg { width: 19px; height: 19px; }
.favbtn[aria-pressed="true"] { color: #C92F66; }
.favbtn[aria-pressed="true"] svg { fill: currentColor; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--accent)) 14%, var(--paper-2)); }
.ph svg { width: 78%; height: 78%; opacity: .9; }
.credit { position: absolute; right: 8px; bottom: 6px; font-size: .62rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.8); max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* carta compacta (fila) */
.row-card { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; text-align: left; width: 100%; position: relative; }
.row-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.row-card .media { position: relative; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.row-card .media img { width: 100%; height: 100%; object-fit: cover; }
.row-card h3 { font-size: 1.05rem; }
.row-card .sum { font-size: .86rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-card .kicker { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.list { display: grid; gap: 10px; }

/* verbos */
.verbs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.verb { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 250px; padding: 18px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; background: #213; isolation: isolate; }
.verb img, .verb .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.verb::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(8,14,10,.82)); }
.verb b { font: 800 2rem/1 var(--display); letter-spacing: -.03em; font-variation-settings: "wdth" 80; }
.verb span { font-size: .92rem; opacity: .95; }
.verb small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* región */
.rcard { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); text-decoration: none; min-height: 100%; }
.rcard .media { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--paper-2); max-width: 100%; }
.rcard .media img { width: 100%; height: 100%; object-fit: cover; }
.rcard .body { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; border-top: 5px solid var(--c); }
.rcard .tag { font: 600 .95rem/1.35 var(--body); color: var(--ink-2); }
.rcard .kv { margin-top: 6px; }
.rcard .minimap { position: absolute; right: 10px; bottom: 10px; width: 64px; height: 68px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }

/* ---------- mes ---------- */
.month-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(64px, 1fr); gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.month-strip::-webkit-scrollbar { display: none; }
.mbtn { display: grid; gap: 6px; justify-items: center; padding: 10px 4px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); font-size: .8rem; font-weight: 600; }
.mbtn .bar { width: 70%; height: 36px; display: flex; align-items: flex-end; justify-content: center; }
.mbtn .bar i { width: 100%; border-radius: 4px 4px 2px 2px; background: var(--c); opacity: .85; min-height: 3px; }
.mbtn .temp { font-size: .7rem; color: var(--muted); font-weight: 500; }
.mbtn[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.mbtn[aria-pressed="true"] .temp { color: inherit; opacity: .75; }
.mbtn.now { box-shadow: inset 0 -3px 0 var(--accent); }
.month-panel { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 900px) { .month-panel { grid-template-columns: 340px 1fr; } }
.facts { display: grid; gap: 12px; }
.fact { padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 4px; }
.fact .eyebrow { display: flex; gap: 7px; align-items: center; }
.fact .eyebrow svg { width: 15px; height: 15px; }
.evt { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 12px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-align: left; width: 100%; align-items: start; }
.evt:hover { border-color: var(--line-2); }
.evt .date { display: grid; place-items: center; align-content: center; height: 58px; border-radius: 12px; background: color-mix(in srgb, var(--c, var(--accent)) 14%, var(--card)); font-weight: 700; line-height: 1; text-align: center; }
.evt .date b { font: 800 1.35rem/1 var(--display); }
.evt .date small { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.evt h3 { font-size: 1.02rem; }
.evt p { font-size: .86rem; color: var(--ink-2); }
.evt .kv { font-size: .78rem; margin-top: 4px; }

/* ---------- mapa ---------- */
.mapbox { position: relative; width: 100%; height: 100%; min-height: 320px; background: var(--map-out); border-radius: var(--r-lg); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; border: 1px solid var(--line); }
.mapbox svg.geo { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.mapbox svg.geo:active { cursor: grabbing; }
.mapbox .dept { stroke: var(--map-stroke); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: fill .2s; }
.mapbox .dept:hover { filter: brightness(.96); }
.mapbox .neighbor { fill: var(--map-land-2); opacity: .45; stroke: none; }
.mapbox .river { fill: none; stroke: var(--map-water); stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.mapbox .river.major { stroke-width: 2.4; }
.mapbox .outline { fill: none; stroke: var(--ink-2); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .55; }
.mapbox .route { fill: none; stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 6 5; stroke-linecap: round; }
.mapbox .overlay { position: absolute; inset: 0; pointer-events: none; }
.mk { position: absolute; left: 0; top: 0; pointer-events: auto; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid #fff; background: var(--c, var(--accent)); box-shadow: 0 2px 6px rgba(0,0,0,.35); display: grid; place-items: center; color: #fff; padding: 0; transition: width .15s, height .15s; }
.mk svg { width: 13px; height: 13px; }
.mk.sm { width: 14px; height: 14px; border-width: 2px; }
.mk.sm svg { display: none; }
.mk.top { width: 30px; height: 30px; }
.mk:hover, .mk.sel { z-index: 3; width: 34px; height: 34px; }
.mk.sel { outline: 3px solid var(--ink); outline-offset: 2px; }
.mk.num { font: 800 .8rem/1 var(--body); }
.mk.cluster { background: var(--ink); color: var(--paper); font: 700 .74rem/1 var(--body); width: 32px; height: 32px; border-color: var(--paper); }
.mlabel { position: absolute; transform: translate(-50%, 10px); font: 600 .7rem/1.1 var(--body); color: var(--ink); text-shadow: 0 0 3px var(--map-out), 0 0 3px var(--map-out), 0 0 3px var(--map-out); white-space: nowrap; pointer-events: none; }
.dlabel { position: absolute; transform: translate(-50%, -50%); font: 700 .62rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); opacity: .55; pointer-events: none; white-space: nowrap; }
.mapctl { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; z-index: 4; }
.mapctl button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow); }
.mapctl svg { width: 18px; height: 18px; }
.maptip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: var(--paper); padding: 6px 10px; border-radius: 8px; font-size: .78rem; font-weight: 600; transform: translate(-50%, calc(-100% - 16px)); white-space: nowrap; }
.maplegend { position: absolute; left: 12px; bottom: 12px; z-index: 4; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 80px); }
.maplegend .chip { min-height: 30px; font-size: .74rem; padding: 0 10px; box-shadow: var(--shadow); }

/* ---------- explorar ---------- */
.explore { display: grid; grid-template-columns: 1fr; min-height: calc(100dvh - var(--top-h)); }
@media (min-width: 900px) { .explore { grid-template-columns: minmax(380px, 470px) 1fr; } }
.ex-side { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); }
.ex-head { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--paper); padding: 14px var(--gut) 12px; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .ex-head { padding-inline: 20px; } .ex-list { padding-inline: 20px !important; } }
.field { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--card); }
.field:focus-within { border-color: var(--ink); }
.field svg { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; }
.field input, .field select { border: 0; background: transparent; outline: none; width: 100%; height: 100%; font-size: 1rem; min-width: 0; }
.seg { display: inline-grid; grid-auto-flow: column; gap: 2px; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.seg button svg { width: 15px; height: 15px; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.ex-list { padding: 14px var(--gut) 28px; display: grid; gap: 10px; align-content: start; }
.ex-count { font-size: .84rem; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.ex-map { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); height: calc(100dvh - var(--top-h) - env(safe-area-inset-top, 0px)); padding: 12px; }
.ex-map .mapbox { border-radius: 20px; }
@media (max-width: 899px) {
  .ex-map { position: fixed; inset: calc(var(--top-h) + env(safe-area-inset-top, 0px)) 0 calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)) 0; height: auto; z-index: 20; padding: 0; background: var(--paper); }
  .ex-map .mapbox { border-radius: 0; border: 0; }
  .explore:not(.show-map) .ex-map { display: none; }
}
.fab { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 14px); z-index: 30; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .fab { display: none; } }
.peek { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 6; }
.peek .row-card { box-shadow: var(--shadow-lg); }
.peek .x { position: absolute; top: -12px; right: -6px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); border: 0; display: grid; place-items: center; }
.peek .x svg { width: 15px; height: 15px; }
@media (min-width: 900px) { .peek { left: auto; width: 420px; } }
.filters { display: grid; gap: 14px; }
.fgroup { display: grid; gap: 8px; }
.fgroup > b { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.range { display: flex; align-items: center; gap: 12px; }
.range input[type=range] { flex: 1; accent-color: var(--accent); }
.empty { padding: 36px 18px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--r); color: var(--muted); display: grid; gap: 12px; justify-items: center; }

/* ---------- hoja de detalle ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(8,14,10,.5); opacity: 0; transition: opacity .25s; }
.scrim.open { opacity: 1; }
.sheet { position: fixed; z-index: 61; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); outline: none;
  left: 0; right: 0; bottom: 0; max-height: calc(100dvh - 28px - env(safe-area-inset-top, 0px)); border-radius: 24px 24px 0 0; transform: translateY(104%); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.sheet.open { transform: none; }
@media (min-width: 900px) {
  .sheet { left: auto; top: 0; bottom: 0; width: min(620px, 52vw); max-height: none; border-radius: 0; transform: translateX(104%); }
  .sheet.open { transform: none; }
}
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 9px auto 0; flex: 0 0 auto; }
@media (min-width: 900px) { .sheet .grab { display: none; } }
.sheet-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #13221A; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.sheet-close svg { width: 18px; height: 18px; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; flex: 1; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.d-hero { position: relative; aspect-ratio: 16/10; max-height: 46vh; width: 100%; background: var(--paper-2); overflow: hidden; }
.d-hero img { width: 100%; height: 100%; object-fit: cover; }
.d-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,.35)); pointer-events: none; }
.d-hero .credit { z-index: 2; }
.d-in { padding: 20px 22px 8px; display: grid; gap: 16px; }
@media (min-width: 900px) { .d-in { padding: 24px 30px 8px; } }
.d-in h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.d-sum { font-size: 1.1rem; color: var(--ink-2); }
.d-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.d-sec { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.d-sec h3 { font-size: 1.1rem; display: flex; gap: 8px; align-items: center; }
.d-sec h3 svg { width: 18px; height: 18px; color: var(--accent); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.ticks li::before { content: ""; width: 9px; height: 9px; margin: 8px 0 0 5px; border-radius: 50%; background: var(--c, var(--accent)); }
.didyou { display: grid; gap: 10px; }
.didyou p { padding: 14px 16px; border-radius: 14px; background: var(--sun-soft); border: 1px solid color-mix(in srgb, var(--sun) 35%, transparent); font-size: .95rem; }
.lodge { display: grid; gap: 8px; }
.lodge .it { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.lodge .it b { display: block; font-size: .95rem; }
.lodge .it small { color: var(--muted); font-size: .82rem; }
.price { font-weight: 700; letter-spacing: .08em; color: var(--ink); white-space: nowrap; }
.price i { font-style: normal; color: var(--line-2); }
.sources { font-size: .76rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.sources a { color: var(--muted); overflow-wrap: anywhere; }

/* ---------- paleta de búsqueda ---------- */
.palette { position: fixed; inset: 0; z-index: 80; display: grid; align-items: start; justify-items: center; padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 12px; background: rgba(8,14,10,.55); }
@media (min-width: 900px) { .palette { padding-top: 10vh; } }
.pal { width: min(680px, 100%); max-height: min(78dvh, 720px); display: flex; flex-direction: column; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.pal .field { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; height: 60px; background: transparent; }
.pal .field input { font-size: 1.1rem; }
.pal .res { overflow-y: auto; padding: 8px; }
.pal .grp { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 10px 6px; }
.pal .it { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 8px 10px; border-radius: 12px; border: 0; background: transparent; text-align: left; }
.pal .it[aria-selected="true"], .pal .it:hover { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.pal .it .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--accent)) 16%, var(--card)); color: var(--c, var(--accent)); }
.pal .it .ico svg { width: 18px; height: 18px; }
.pal .it b { display: block; font-size: .96rem; font-weight: 600; }
.pal .it small { color: var(--muted); font-size: .8rem; }
.pal .it mark { background: var(--sun-soft); color: inherit; border-radius: 3px; }
.pal .foot { border-top: 1px solid var(--line); padding: 8px 14px; font-size: .74rem; color: var(--muted); display: flex; gap: 14px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 18px); transform: translate(-50%, 20px); z-index: 90; background: var(--ink); color: var(--paper); padding: 11px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 28px; } }

/* ---------- onboarding / historias ---------- */
.modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; background: rgba(8,14,10,.6); }
.modal-card { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--paper); border-radius: 26px; padding: 26px 22px 22px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.modal-card .x { position: absolute; top: 12px; right: 12px; }
.choice { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--card); width: 100%; }
.choice:hover { border-color: var(--ink); }
.choice .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.choice .ic svg { width: 22px; height: 22px; }
.choice b { display: block; font-size: 1.02rem; }
.choice small { color: var(--muted); font-size: .86rem; }
.stories { position: fixed; inset: 0; z-index: 88; background: #0B120E; color: #fff; display: grid; grid-template-rows: auto 1fr auto; }
.stories .bars { display: flex; gap: 4px; padding: calc(env(safe-area-inset-top, 0px) + 12px) 14px 8px; }
.stories .bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.stories .bars i b { display: block; height: 100%; width: 0; background: #fff; }
.stories .bars i.done b { width: 100%; }
.stories .bars i.cur b { animation: fillbar 7s linear forwards; }
@keyframes fillbar { to { width: 100%; } }
.stories .slide { position: relative; display: grid; align-content: end; gap: 14px; padding: 24px 24px 20px; max-width: 640px; width: 100%; margin: 0 auto; overflow: hidden; }
.stories .slide .art { position: absolute; inset: 0; display: grid; place-items: center; opacity: .55; z-index: 0; }
.stories .slide .art svg { width: min(120%, 700px); height: auto; }
.stories .slide > *:not(.art) { position: relative; z-index: 1; }
.stories .big { font: 800 clamp(3rem, 14vw, 6rem)/.95 var(--display); letter-spacing: -.04em; color: var(--sun); font-variation-settings: "wdth" 80; }
.stories h2 { color: #fff; font-size: clamp(1.8rem, 6vw, 2.6rem); }
.stories p { font-size: 1.08rem; color: #D8E4DB; max-width: 46ch; }
.stories .nav { display: flex; gap: 10px; padding: 12px 20px calc(env(safe-area-inset-bottom, 0px) + 18px); max-width: 640px; width: 100%; margin: 0 auto; }
.stories .nav .btn.ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.stories .tapzone { position: absolute; top: 0; bottom: 0; width: 35%; z-index: 2; background: transparent; border: 0; }
.stories .tapzone.l { left: 0; } .stories .tapzone.r { right: 0; }
.stories .closex { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 22px); right: 14px; z-index: 3; color: #fff; }

/* ---------- planificador ---------- */
.wizard { display: grid; gap: 22px; max-width: 820px; }
.steps { display: flex; gap: 6px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); }
.steps i.on { background: var(--accent); }
.opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.opt { display: grid; gap: 4px; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--card); text-align: left; min-height: 92px; align-content: start; }
.opt b { font: 700 1.05rem/1.2 var(--display); }
.opt small { color: var(--muted); font-size: .82rem; }
.opt .ic { font-size: 1.4rem; line-height: 1; }
.opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.plan-day { display: grid; grid-template-columns: 48px 1fr; gap: 14px; position: relative; }
.plan-day::before { content: ""; position: absolute; left: 23px; top: 50px; bottom: -14px; width: 2px; background: repeating-linear-gradient(var(--line-2) 0 6px, transparent 6px 11px); }
.plan-day:last-child::before { display: none; }
.plan-day .dn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--accent)); color: #fff; font: 800 1.1rem/1 var(--display); }
.plan-day .dc { display: grid; gap: 10px; padding-bottom: 22px; min-width: 0; }
.plan-day h3 { font-size: 1.2rem; padding-top: 10px; }
.stop { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.stop .media { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.stop .media img { width: 100%; height: 100%; object-fit: cover; }
.stop b { font-size: .98rem; display: block; }
.stop small { color: var(--muted); font-size: .8rem; }
.stop .rm { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; }
.stop .rm svg { width: 15px; height: 15px; }
.stop button.open { all: unset; cursor: pointer; display: block; min-width: 0; }

/* ---------- varios ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 0; background: none; padding: 12px 14px; font-weight: 600; font-size: .95rem; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 2px; font-weight: 600; font-size: 1.02rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-left: auto; font: 400 1.5rem/1 var(--body); color: var(--muted); transition: transform .2s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc .in { padding: 0 2px 18px; color: var(--ink-2); display: grid; gap: 12px; max-width: 72ch; }
.acc .in h4 { font: 700 1rem/1.3 var(--body); letter-spacing: 0; color: var(--ink); }
.phr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); align-items: start; }
.phr .gnw { font: 700 1.2rem/1.2 var(--display); color: var(--accent); }
.phr .pr { font-size: .8rem; color: var(--muted); }
.phr .tr { grid-column: 1 / -1; font-size: .95rem; }
.phr .ctx { grid-column: 1 / -1; font-size: .78rem; color: var(--muted); }
.timeline { display: grid; gap: 0; position: relative; }
.tl { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding-bottom: 22px; position: relative; }
.tl::before { content: ""; position: absolute; left: 97px; top: 6px; bottom: 0; width: 2px; background: var(--line-2); }
.tl::after { content: ""; position: absolute; left: 92px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--paper); }
.tl .y { font: 800 1.15rem/1.2 var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.tl .tx { padding-left: 16px; display: grid; gap: 4px; }
.tl .tx b { font-size: 1rem; }
.tl .tx p { color: var(--ink-2); font-size: .93rem; }
.flip { perspective: 900px; min-height: 190px; border: 0; background: none; padding: 0; text-align: left; }
.flip .fi { position: relative; width: 100%; height: 100%; min-height: 190px; transition: transform .6s; transform-style: preserve-3d; }
.flip.on .fi { transform: rotateY(180deg); }
.flip .ff, .flip .fb { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r); padding: 18px; display: grid; align-content: space-between; gap: 8px; }
.flip .ff { background: linear-gradient(140deg, var(--accent), var(--tierra)); color: #fff; }
.flip .ff b { font: 800 1.35rem/1.1 var(--display); }
.flip .fb { background: var(--card); border: 1px solid var(--line); transform: rotateY(180deg); font-size: .93rem; overflow-y: auto; }
.flip .ff small, .flip .fb small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.qf { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.qf .fact b { font: 700 1.05rem/1.3 var(--body); }
.qf .fact .ic { font-size: 1.3rem; line-height: 1; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tbl td.num { white-space: nowrap; }
.tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.conv { display: grid; gap: 10px; grid-template-columns: 1fr auto 1fr; align-items: end; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.conv label { display: grid; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.conv input { height: 48px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--paper); padding: 0 12px; font-size: 1.1rem; font-variant-numeric: tabular-nums; width: 100%; min-width: 0; }
.conv .sw { height: 48px; display: grid; place-items: center; color: var(--muted); }
.conv .note { grid-column: 1 / -1; font-size: .76rem; color: var(--muted); }
.menu-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.mtile { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.mtile:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.mtile .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--accent)) 15%, var(--card)); color: var(--c, var(--accent)); }
.mtile .ic svg { width: 24px; height: 24px; }
.mtile b { font: 700 1.1rem/1.2 var(--display); display: block; }
.mtile small { color: var(--muted); font-size: .84rem; }
.pagehead { padding-block: clamp(26px, 5vw, 56px) clamp(18px, 3vw, 30px); display: grid; gap: 12px; }
.pagehead .lede { margin-top: 4px; }
.crumbs { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.split { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: 1fr; }
@media (min-width: 960px) { .split { grid-template-columns: 1.1fr .9fr; align-items: start; } .split .stick { position: sticky; top: calc(var(--top-h) + 20px); } }
.mapframe { height: clamp(360px, 60vh, 640px); }
.cone { position: relative; }
.cone svg { width: 100%; height: auto; display: block; }
.cone .land { fill: var(--map-land); stroke: var(--map-stroke); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cone .land.py { fill: color-mix(in srgb, var(--accent) 22%, var(--map-land)); }
.cone .riv { fill: none; stroke: var(--map-water); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.cone .thread { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cone .city circle { fill: var(--sun); stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.cone .city text { font: 600 13px var(--body); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 3.5px; stroke-linejoin: round; }
.cone .city.off { opacity: .12; }
.cone .asu circle { fill: var(--accent); stroke: #fff; stroke-width: 2.5; }
.cone .asu text { font: 800 15px var(--display); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
.yearbox { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.yearbox .yr { font: 800 clamp(2.4rem, 6vw, 3.6rem)/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; min-width: 3.2ch; }
.yearbox input { flex: 1; min-width: 160px; accent-color: var(--accent); }
.foot { border-top: 1px solid var(--line); padding-block: 40px 30px; font-size: .86rem; color: var(--muted); }
.foot .cols { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.foot b { color: var(--ink); display: block; margin-bottom: 6px; }
.foot a { color: var(--muted); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.note-demo { margin-top: 22px; font-size: .78rem; }
.status { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 22px; padding: 0 7px; border-radius: 6px; font: 700 .68rem/1 var(--body); color: #fff; background: var(--muted); }
.status.LC { background: var(--ok); } .status.NT { background: #6E8B3D; } .status.VU { background: var(--warn); } .status.EN { background: #C8612F; } .status.CR { background: var(--bad); }
.mini-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.tile { padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; text-align: left; width: 100%; }
.tile h3 { font-size: 1.08rem; }
.tile p { font-size: .9rem; color: var(--ink-2); }
button.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.dish .media { aspect-ratio: 1; }
.steps-list { counter-reset: s; display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.steps-list li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--monte); color: #fff; font: 800 1rem/1 var(--display); }
.hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--sun) 55%, transparent) 62%); }
.notice { padding: 12px 16px; border-radius: 12px; background: var(--river-soft); color: var(--ink); font-size: .88rem; display: flex; gap: 10px; align-items: start; }
.notice svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: var(--river); }

/* ñandutí */
svg.nanduti .th { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.draw svg.nanduti .th { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.4,0,.2,1) forwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spin-slow { animation: spin 160s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in { animation: fadein .35s ease both; }
@keyframes fadein { from { opacity: .001; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .draw svg.nanduti .th { stroke-dashoffset: 0; }
}
.media img, .d-hero img { position: relative; z-index: 1; }
.stretch { text-decoration: none; color: inherit; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: inherit; }
.card .favbtn, .row-card .favbtn { z-index: 3; }
.card .media .flags { z-index: 2; }
/* filas desplazables dentro de grillas: que no ensanchen la pista */
.chips.scroll, .month-strip, .hscroll, .tabs { min-width: 0; }
.ex-head { grid-template-columns: minmax(0, 1fr); }
.seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; justify-self: start; }
.seg::-webkit-scrollbar { display: none; }
.month-panel > * { min-width: 0; }
.crumbs svg { width: 13px; height: 13px; flex: 0 0 auto; }
@media (max-width: 699px) {
  .verbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .verbs::-webkit-scrollbar { display: none; }
  .verb { scroll-snap-align: start; min-height: 300px; }
  .ask { padding: 16px; }
  .ask .row .btn { flex: 1 1 auto; }
}
@media (max-width: 899px) { .month-panel.ag > :last-child { order: -1; } }
@media (hover: none) { .pal .foot { display: none; } }

/* ---------- portada con fotos reales ---------- */
.hero-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 640px; border-radius: 30px; overflow: visible; }
.hero-photo .hslide { position: absolute; inset: 0; margin: 0; border-radius: 30px; overflow: hidden; opacity: 0; transition: opacity 1.1s ease; box-shadow: var(--shadow-lg); background: var(--paper-2); }
.hero-photo .hslide.on { opacity: 1; }
.hero-photo .hslide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s ease-out; }
.hero-photo .hslide.on img { transform: scale(1); }
.hero-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.hero-photo .credit { position: static; max-width: 45%; text-align: right; }
.hcap { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 11px; border-radius: 16px; background: rgba(255,255,255,.94); color: #1C2B36; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.18); max-width: 70%; }
.hcap svg { width: 20px; height: 20px; color: var(--accent); flex: 0 0 auto; }
.hcap b { display: block; font: 700 .95rem/1.15 var(--display); }
.hcap small { display: block; font-size: .74rem; color: #677885; }
.hdots { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.hdots button { width: 8px; height: 8px; padding: 0; border-radius: 4px; border: 0; background: rgba(255,255,255,.6); transition: width .3s, background .3s; }
.hdots button[aria-pressed="true"] { width: 22px; background: #fff; }
.hbadge { position: absolute; left: -34px; top: 38px; width: 104px; height: 104px; border-radius: 50%; background: var(--card); padding: 8px; box-shadow: var(--shadow); color: var(--accent); z-index: 3; }
.hbadge svg { width: 100%; height: 100%; }
@media (max-width: 979px) {
  .hero-photo { order: -1; aspect-ratio: 4 / 3; max-height: 420px; }
  .hbadge { left: auto; right: 12px; top: auto; bottom: -30px; width: 76px; height: 76px; padding: 6px; }
  .hero .wrap { padding-top: 16px; gap: 22px; }
}
/* historias con foto de fondo */
.stories > .bg { position: absolute; inset: 0; z-index: 0; }
.stories .bars, .stories .slide, .stories .nav { position: relative; z-index: 1; }
.stories > .bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.stories > .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,26,.15) 0%, rgba(10,18,26,.25) 40%, rgba(10,18,26,.88) 100%); }
.stories > .bg .credit { z-index: 2; top: auto; bottom: 8px; }
.stories { background: #0E1820; }
.stories .slide { max-width: none; padding-inline: max(24px, calc((100vw - 640px) / 2)); }
.stories .big { color: #FFD166; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.stories h2, .stories p { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.stories p { color: #F1F5F8; }
/* actividades */
.acts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.act { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.act:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.act .ic { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, var(--card)); color: var(--c); }
.act .ic svg { width: 22px; height: 22px; }
.act b { font: 700 .98rem/1.2 var(--body); }
.act small { font-size: .76rem; color: var(--muted); }
@media (max-width: 520px) { .acts { grid-template-columns: 1fr 1fr; } .act { grid-template-columns: 38px 1fr; padding: 10px; column-gap: 10px; } .act .ic { width: 38px; height: 38px; } .act b { font-size: .88rem; } }
/* regiones: mapa + tarjetas */
.reg-split { display: grid; gap: 22px; }
.reg-split .mapframe { height: 380px; }
@media (min-width: 980px) { .reg-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; } .reg-split .mapframe { position: sticky; top: calc(var(--top-h) + 20px); height: min(680px, 78vh); } }
.reg-split .rcard .media { aspect-ratio: 2 / 1; }
.live .pill { white-space: nowrap; }
@media (max-width: 520px) { .live .pill .wxd { display: none; } .live .pill { font-size: .78rem; height: 32px; } }
@media (max-width: 979px) { .hbadge { bottom: -18px; width: 64px; height: 64px; } .hero .wrap { gap: 30px; } }
.facts { align-content: start; }
.month-panel { align-items: start; }

/* ===== Robustez de maquetación (nada se superpone, nada se corta) ===== */
.grid > *, .list > *, .facts > *, .split > *, .reg-split > *, .month-panel > *, .qf > *, .acts > *, .menu-grid > *, .verbs > * { min-width: 0; }
/* chips de contenido: se parten en líneas; los de filtros siguen en una fila desplazable */
.tile .chip, .fact .chip, .d-sec .chip, .prose .chip, .rcard .chip { white-space: normal; height: auto; min-height: 34px; padding-block: 6px; line-height: 1.25; text-align: left; }
.chips:not(.scroll) { min-width: 0; }
h1, h2, h3, h4, p, li, b, small, span, a { overflow-wrap: anywhere; }
.chips.scroll .chip, .seg button, .tabs button, .mbtn { overflow-wrap: normal; }
/* bloque del mes: siempre apilado */
.month-panel { grid-template-columns: minmax(0, 1fr) !important; }
.month-panel .facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.month-panel .list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); align-items: start; }
.month-panel .list > p, .month-panel .list > h3, .month-panel .list > .empty, .month-panel .list > .btn, .month-panel .list > .chips { grid-column: 1 / -1; }
@media (max-width: 899px) { .month-panel.ag > :last-child { order: 0; } }
/* caja de fecha: solo fecha, sin textos largos */
.evt { grid-template-columns: 56px minmax(0, 1fr); }
.evt .date { height: 56px; width: 56px; padding: 4px; overflow: hidden; }
.evt .date small { font-size: .6rem; letter-spacing: .06em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.stick, .wizard, .d-in, .facts, .list { grid-template-columns: minmax(0, 1fr); }
.month-panel .list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); }

/* ===== Brújula ===== */
.bj { display: grid; gap: 12px; margin-top: 24px; max-width: 720px; }
.bj-label { font: 700 clamp(1.15rem, 2vw, 1.35rem)/1.2 var(--display); letter-spacing: -.01em; }
.bj-field { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 8px 8px 18px; border-radius: 20px; background: var(--card); border: 2px solid var(--line-2); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.bj-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.bj-field > svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; }
.bj-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.08rem; height: 46px; }
.bj-field .btn { min-height: 48px; width: 48px; padding: 0; border-radius: 14px; flex: 0 0 auto; }
.bj-ex { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .86rem; }
.bj-ex .chip { min-height: 34px; font-size: .84rem; }
.bj-out { margin-top: 4px; }
.bj-res { display: grid; gap: 14px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bj-res .chip.on { background: color-mix(in srgb, var(--c, var(--accent)) 14%, var(--card)); color: var(--ink); border-color: color-mix(in srgb, var(--c, var(--accent)) 45%, transparent); padding-right: 6px; }
.bj-res .chip.on svg { width: 16px; height: 16px; }
.bj-x { width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); padding: 0; }
.bj-x:hover { background: var(--paper-2); color: var(--ink); }
.bj-x svg { width: 14px !important; height: 14px !important; }
.bj-answer { padding: 14px 16px; border-radius: 14px; background: var(--river-soft); display: grid; gap: 6px; }
.bj-answer .eyebrow { display: flex; gap: 6px; align-items: center; color: var(--river); }
.bj-answer .eyebrow svg { width: 15px; height: 15px; }
.bj-list { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.bj-list .row-card { grid-template-columns: 64px minmax(0, 1fr); padding: 8px; }
.bj-list .row-card .media { width: 64px; height: 64px; }
.bj-list .row-card .sum { display: none; }
@media (max-width: 600px) { .bj-field { min-height: 58px; padding-left: 14px; } .bj-field input { font-size: 1rem; } }

/* ===== Rediseño UX: portada por intención ===== */
.welcome-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 10px 10px 14px; margin-bottom: 18px; border-radius: 16px; background: var(--tint-pink); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.welcome-bar > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.welcome-bar > span:first-child svg { width: 18px; height: 18px; color: var(--accent); }
.welcome-bar .wl-langs { display: flex; gap: 6px; flex-wrap: wrap; }
.welcome-bar .wl-langs .chip { min-height: 32px; font-size: .8rem; padding: 0 10px; }
.welcome-bar .iconbtn { margin-left: auto; }
.hero .lede { max-width: 54ch; }
.hpause { position: absolute; top: 10px; right: 12px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #1C2B36; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.hpause svg { width: 15px; height: 15px; }

/* tres dudas universales */
.doubts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); padding-block: 6px 10px; }
.doubt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.doubt h2 { font-size: 1.2rem; margin-bottom: 6px; }
.doubt p { font-size: .93rem; color: var(--ink-2); }
.doubt .linkbtn { margin-top: 8px; font-size: .9rem; }
.doubt .dic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--river-soft); color: var(--river); }
.doubt .dic svg { width: 22px; height: 22px; }
.doubt .where-map { width: 72px; height: 86px; }
.where-map .land { fill: var(--map-land-2); stroke: var(--card); stroke-width: 3; }
.where-map .land.py { fill: var(--accent); }
.where-map .asu-dot { fill: var(--sun); stroke: var(--card); stroke-width: 4; }
.costs { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; }
.costs li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 5px; }
.costs li span { color: var(--ink-2); min-width: 0; }
.costs li b { white-space: nowrap; font-weight: 700; }
.curx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: .8rem; }
.curx .chip { min-height: 30px; padding: 0 10px; font-size: .78rem; }

/* puertas de entrada */
.doors { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.door { display: grid; gap: 6px; align-content: start; text-align: left; padding: 20px; border-radius: 22px; background: color-mix(in srgb, var(--c) 9%, var(--card)); border: 1.5px solid color-mix(in srgb, var(--c) 28%, transparent); text-decoration: none; color: var(--ink); min-height: 170px; transition: transform .15s, box-shadow .15s; }
a.door:hover, button.door:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.door .dic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--c); color: #fff; margin-bottom: 6px; }
.door .dic svg { width: 22px; height: 22px; }
.door b { font: 700 1.2rem/1.2 var(--display); }
.door small { color: var(--ink-2); font-size: .9rem; }
.door .chips { margin-top: 8px; }
.door .chip { min-height: 36px; }

/* mes compacto */
.month-mini { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-bottom: 14px; }
.evgrid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }

/* colecciones */
.cols { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.coltile { position: relative; display: flex; align-items: flex-end; min-height: 220px; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; background: var(--paper-2); }
.coltile .ph, .coltile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.coltile:hover img { transform: scale(1.05); }
.coltile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,18,26,0) 25%, rgba(10,18,26,.82)); }
.coltile .ct-in { display: grid; gap: 4px; padding: 16px; }
.coltile b { font: 800 1.35rem/1.1 var(--display); letter-spacing: -.02em; }
.coltile small { font-size: .86rem; opacity: .95; }
.coltile .ct-n { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.col-hero { position: relative; min-height: clamp(260px, 42vh, 440px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.col-hero > .ph, .col-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.col-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,18,26,.1), rgba(10,18,26,.8)); }
.col-hero .credit { z-index: 1; }
.col-in { padding-block: 30px; display: grid; gap: 8px; width: 100%; }
.col-in h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.8rem); }
.col-in .lede, .col-in .eyebrow, .col-in .eyebrow a { color: #F1F5F8; }

/* estoy acá */
.here-pick { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 6px; }
.here-pick .field select { font-size: 1rem; }
.here { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.here h2 { font-size: 1.5rem; margin-bottom: 12px; }

/* temas, preferencias, confianza */
.h-sub { font-size: 1.5rem; margin: 30px 0 14px; }
.prefs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.pref { padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; }
.trust { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--monte-soft); margin-bottom: 10px; }
.trust > svg { width: 22px; height: 22px; color: var(--monte); }
.trust b { font-size: .92rem; }
.trust p { font-size: .84rem; color: var(--ink-2); }

/* comodidad: objetivos táctiles y texto */
.chip, .btn, .iconbtn, .tabbar a { min-height: 44px; }
.chip.sm, .curx .chip, .welcome-bar .chip, .maplegend .chip { min-height: 32px; }
.muted { color: var(--muted); }
@media (max-width: 600px) {
  .costs li { flex-direction: column; gap: 2px; }
  .doubt { padding: 16px; gap: 12px; }
  .doubt .where-map { width: 56px; height: 68px; }
  .doubt .dic { width: 40px; height: 40px; }
  .door { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; min-height: 0; padding: 16px; align-items: center; }
  .door .dic { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .door b { font-size: 1.08rem; }
  .door .chips { grid-column: 1 / -1; }
}

/* ===================== Inicio tipo red social ===================== */
.feed-wrap { max-width: 1060px; margin-inline: auto; padding: 8px var(--gut) 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 1000px) { .feed-wrap { grid-template-columns: minmax(0, 600px) 360px; justify-content: center; } .only-narrow { display: none !important; } }
.feed-main { min-width: 0; display: grid; gap: 14px; align-content: start; }
.feed { display: grid; gap: 22px; }
.feed-side { display: none; }
@media (min-width: 1000px) { .feed-side { display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--top-h) + 18px); max-height: calc(100vh - var(--top-h) - 30px); overflow-y: auto; scrollbar-width: none; padding-top: 10px; } .feed-side .bj { margin-top: 0; } }
.side-card { padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; }
.side-card .eyebrow { display: flex; gap: 6px; align-items: center; }
.side-card .eyebrow svg { width: 15px; height: 15px; }
.feed-sentinel { height: 1px; }

/* historias */
.stbar { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 12px 2px 6px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-snap-type: x proximity; }
.stbar::-webkit-scrollbar { display: none; }
.stc { flex: 0 0 auto; width: 76px; display: grid; justify-items: center; gap: 6px; background: none; border: 0; padding: 0; scroll-snap-align: start; }
.stc .ring { width: 70px; height: 70px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--accent), var(--sun), var(--tierra), var(--accent)); display: grid; }
.stc.seen .ring { background: var(--line-2); }
.stc .av { border-radius: 50%; border: 3px solid var(--paper); overflow: hidden; background: var(--paper-2); display: block; }
.stc .av img { width: 100%; height: 100%; object-fit: cover; }
.stc .lbl { font-size: .72rem; font-weight: 600; color: var(--ink-2); width: 100%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-top { display: grid; gap: 12px; }
.feed-top .bj { margin-top: 0; }
.feed-top .bj-label { display: none; }
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .86rem; font-weight: 600; line-height: 1.2; text-align: left; }
.sc svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--accent); }
.sc:hover { border-color: var(--line-2); }

/* publicación */
.post { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
@media (max-width: 599px) { .feed-wrap { padding-inline: 0; } .feed-main > .stbar, .feed-top, #feed-end { margin-inline: 0; padding-inline: var(--gut); } .post { border-radius: 0; border-left: 0; border-right: 0; } .feed { gap: 10px; } }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.ph-av { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; padding: 2px; background: var(--c); display: grid; overflow: hidden; }
.ph-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--card); }
.ph-av:empty::after { content: ""; border-radius: 50%; border: 2px solid var(--card); background: color-mix(in srgb, var(--c) 60%, #fff); }
.ph-t { display: grid; min-width: 0; line-height: 1.25; }
.ph-t b { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-t small { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-media { position: relative; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; user-select: none; -webkit-user-select: none; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-media .ph { position: absolute; inset: 0; color: var(--accent); }
.ph-media .credit { z-index: 2; }
.burst { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; color: #fff; }
.burst svg { width: 96px; height: 96px; fill: #fff; filter: drop-shadow(0 4px 20px rgba(0,0,0,.35)); }
.ph-media.pop .burst { animation: burst .8s ease both; }
@keyframes burst { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1.1); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.ph-acts { display: flex; align-items: center; gap: 2px; padding: 6px 8px 0; }
.pa { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; color: var(--ink); }
.pa svg { width: 24px; height: 24px; }
.pa:hover { background: var(--paper-2); }
.pa[aria-pressed="true"] { color: var(--accent); }
.pa[aria-pressed="true"] svg { fill: currentColor; }
.pa-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; min-height: 40px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--accent); text-decoration: none; }
.pa-more svg { width: 16px; height: 16px; }
.ph-cap { padding: 6px 16px 16px; display: grid; gap: 6px; }
.ph-cap p { font-size: .95rem; color: var(--ink-2); }
.ph-cap p b { color: var(--ink); }
.ph-meta { font-size: .8rem !important; color: var(--muted) !important; }
.post-h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); line-height: 1.05; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* carrusel */
.car { position: relative; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.car figure { position: relative; margin: 0; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.car.tall figure { aspect-ratio: 4 / 5; }
.car figure img, .car figure .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.car figcaption a { display: inline-grid; gap: 1px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.94); color: #1C2B36; text-decoration: none; font-size: .88rem; font-weight: 700; max-width: 100%; }
.car.tall figcaption a { display: inline-flex; align-items: center; gap: 6px; }
.car figcaption a svg { width: 16px; height: 16px; color: var(--accent); }
.car figcaption small { font-weight: 500; color: #677885; font-size: .76rem; }
.car figure .credit { bottom: auto; top: 8px; right: 10px; }
.car-dots { display: flex; justify-content: center; gap: 5px; padding: 10px 0 2px; }
.car-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background .2s, transform .2s; }
.car-dots i.on { background: var(--accent); transform: scale(1.25); }
.car-n { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: rgba(20,28,34,.65); color: #fff; font: 700 .72rem/1.4 var(--body); }
.info-slide { aspect-ratio: 1; padding: clamp(18px, 5vw, 30px); display: grid; align-content: center; gap: 10px; background: color-mix(in srgb, var(--c) 13%, var(--card)); }
.info-slide h3 { font-size: 1.5rem; }
.info-slide p { font-size: 1rem; color: var(--ink-2); }
.info-slide .where-map { width: 96px; height: 112px; }
.info-slide .big-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--c); color: #fff; }
.info-slide .big-ic svg { width: 26px; height: 26px; }
.info-slide .costs { font-size: .9rem; }
.info-slide .btn { justify-self: start; }
.car.info .car-slide { overflow-y: auto; }
.cur-seg { justify-self: start; }
.cur-seg button { min-height: 36px; }

/* sugerencias */
.sugg { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 0 14px 16px; }
.sugg::-webkit-scrollbar { display: none; }
.sg { flex: 0 0 150px; display: grid; gap: 6px; text-decoration: none; color: var(--ink); font-size: .86rem; }
.sg > .ph, .sg > img { position: relative; inset: auto; width: 150px; height: 150px; border-radius: 14px; object-fit: cover; }
.sg > .ph { display: grid; }

/* eventos compactos */
.evmini { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; text-decoration: none; color: var(--ink); padding: 6px; border-radius: 12px; }
.evmini:hover { background: var(--paper-2); }
.evmini .d { height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--sun-soft); font: 800 .82rem/1 var(--display); text-align: center; }
.evmini b { display: block; font-size: .9rem; line-height: 1.25; }
.evmini small { color: var(--muted); font-size: .78rem; }

/* etiquetas más calmas */
.badge { text-transform: none; letter-spacing: 0; font-size: .74rem; font-weight: 600; height: 24px; }
.card .media .flags .badge { box-shadow: 0 1px 4px rgba(0,0,0,.2); }
/* visor de historias: encabezado */
.sv-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 4px 16px 0; color: #fff; }
.sv-av { width: 32px; height: 32px; border-radius: 50%; background: #fff center/cover; border: 2px solid #fff; }
.ph-av.brand { padding: 0; background: none; }
.ph-av.brand svg { width: 38px; height: 38px; }
.bj-ex { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); padding-bottom: 2px; }
.bj-ex::-webkit-scrollbar { display: none; }
.bj-ex > .muted { flex: 0 0 auto; }
.bj-ex .chip { flex: 0 0 auto; }
.feed-side .bj-ex { margin: 0; padding: 0; }
.sv-head { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 26px); left: 0; right: 60px; padding: 0 16px; }
.sv-head b { font-size: .95rem; text-shadow: 0 1px 6px rgba(0,0,0,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stories > .bg .credit { top: calc(env(safe-area-inset-top, 0px) + 70px); bottom: auto; right: 12px; }
.stories .closex { top: calc(env(safe-area-inset-top, 0px) + 18px); }

@media (min-width: 600px) { .feed-main > .stbar { margin-inline: 0; padding-inline: 2px; } }
.feed-main { overflow-x: clip; }
.feed-side .bj-label { font-size: 1.1rem; }

/* ===================== El Hilo ===================== */
.mhero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 20px; border-radius: 26px; background: linear-gradient(135deg, var(--tint-pink), var(--tint-sun) 60%, var(--tint-sky)); overflow: hidden; margin-top: 10px; }
.mh-text { display: grid; gap: 12px; min-width: 0; }
.mhero h1 { font-size: clamp(1.7rem, 5.4vw, 2.6rem); line-height: 1.04; }
.mhero h1 em { font-style: normal; color: var(--accent); }
.mhero .lede { font-size: 1rem; }
.hello { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.hello .gn { color: var(--accent); cursor: help; }
.deck-prev { position: relative; width: 132px; height: 168px; flex: 0 0 auto; }
.deck-prev .dp { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow); background: var(--paper-2); transition: transform .4s; }
.deck-prev .dp img { width: 100%; height: 100%; object-fit: cover; }
.deck-prev .dp0 { transform: rotate(8deg) translate(14px, 4px); z-index: 1; }
.deck-prev .dp1 { transform: rotate(-6deg) translate(-10px, 2px); z-index: 2; }
.deck-prev .dp2 { transform: rotate(1deg); z-index: 3; }
.mhero:hover .dp0 { transform: rotate(14deg) translate(26px, 4px); }
.mhero:hover .dp1 { transform: rotate(-12deg) translate(-22px, 2px); }
@media (max-width: 520px) { .mhero { grid-template-columns: 1fr; padding: 20px 16px; } .deck-prev { position: absolute; right: -14px; top: 16px; width: 92px; height: 118px; opacity: .9; } .mh-text > .hello, .mh-text > h1 { padding-right: 96px; } .mhero .d-actions .btn { flex: 1 1 auto; } }
@media (max-width: 599px) { .mhero { border-radius: 0; margin-inline: 0; } .feed-main > .mhero, .feed-main > .post { margin-inline: 0; } }

.hilo-head { display: grid; gap: 12px; padding: 14px 2px 4px; }
@media (max-width: 599px) { .hilo-head { padding-inline: var(--gut); } }
.hilo-head h2 { font-size: 1.7rem; }
.lens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: var(--paper-2); }
.lens button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 0; border-radius: 12px; background: transparent; font-weight: 700; font-size: .86rem; color: var(--muted); padding: 0 6px; }
.lens button svg { width: 17px; height: 17px; flex: 0 0 auto; }
.lens button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 6px rgba(0,0,0,.1); }
@media (max-width: 380px) { .lens button svg { display: none; } }
.rchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
@media (min-width: 600px) { .rchips { margin-inline: 0; padding-inline: 0; } }
.rchips::-webkit-scrollbar { display: none; }
.rchip { flex: 0 0 auto; display: grid; justify-items: center; gap: 4px; width: 84px; padding: 8px 4px 6px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); font-size: .72rem; font-weight: 700; color: var(--ink-2); }
.rchip span { width: 100%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rchip .rsil { width: 40px; height: 42px; }
.rchip[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }

/* el hilo: una línea que cose las publicaciones */
.feed.hilo { position: relative; gap: 18px; padding-left: 26px; }
.feed.hilo::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--accent) 55%, transparent) 0 8px, transparent 8px 13px); }
.knot { position: relative; min-width: 0; }
.knot::before { content: ""; position: absolute; left: -22px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 3px solid var(--accent); }
.knot.soft::before { border-color: var(--sun); }
.band-div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0 2px; }
.knot:has(.band-div)::before { display: none; }
.band-div .knotbig { width: 54px; height: 54px; margin-left: -48px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); display: grid; place-items: center; color: var(--accent); padding: 4px; position: relative; z-index: 1; }
.band-div .knotbig svg { width: 100%; height: 100%; }
.band-div .knotbig.m b { font: 800 .9rem/1 var(--display); color: var(--accent); }
.band-div h2 { font-size: 1.45rem; }
.band-div p { font-size: .9rem; color: var(--ink-2); }
.band-div small { font-size: .74rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.band-div { margin-left: 0; }
.il-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px 2px; }
.il-tag svg { width: 14px; height: 14px; color: var(--sun); }
@media (max-width: 599px) { .feed.hilo { padding-left: 22px; padding-right: 0; } .feed.hilo::before { left: 8px; } .knot::before { left: -19px; } .band-div { padding-right: var(--gut); } .band-div .knotbig { margin-left: -44px; width: 50px; height: 50px; } .knot > .post { border-right: 0; } }

/* cuentakilómetros */
.odo { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top, 0px) + 8px); z-index: 20; justify-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .84rem; font-weight: 700; box-shadow: var(--shadow-lg); margin: 0 auto -38px; width: max-content; max-width: calc(100% - 32px); }
.odo svg { width: 16px; height: 16px; color: var(--sun); flex: 0 0 auto; }
.odo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ubicación en cada publicación */
.ph-loc { margin-left: auto; display: grid; justify-items: end; gap: 1px; flex: 0 0 auto; max-width: 42%; }
.ph-loc small { font-size: .7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.loc { width: 30px; height: 32px; }
.loc-py { fill: var(--map-land-2); stroke: var(--line-2); stroke-width: 14; }
.loc-asu { fill: var(--ink-2); }
.loc-dot { fill: var(--accent); stroke: var(--card); stroke-width: 22; }
.loc.on-dark .loc-py { fill: rgba(255,255,255,.3); stroke: rgba(255,255,255,.7); }
.loc.on-dark .loc-asu { fill: #fff; }
.loc.on-dark .loc-dot { stroke: rgba(0,0,0,.4); }

/* ===================== Mazo «Tu Paraguay» ===================== */
.match { position: fixed; inset: 0; z-index: 70; background: #0F1820; color: #fff; display: grid; grid-template-rows: auto 1fr auto; padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px calc(env(safe-area-inset-bottom, 0px) + 14px); }
.m-top { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.m-top .iconbtn { color: #fff; }
.m-top .linkbtn { color: #fff; opacity: .85; padding: 8px; }
.m-prog { display: flex; gap: 4px; }
.m-prog i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); }
.m-prog i.on { background: var(--sun); }
.m-stage { position: relative; margin: 14px auto; width: min(100%, 460px); }
.m-card { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: #22313C; box-shadow: 0 20px 60px rgba(0,0,0,.5); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; will-change: transform; }
.m-card:active { cursor: grabbing; }
.m-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.m-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(8,14,20,.9)); pointer-events: none; }
.m-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: end; }
.m-info .loc { width: 48px; height: 52px; }
.m-info h2 { color: #fff; font-size: clamp(1.6rem, 6vw, 2.2rem); margin: 4px 0 6px; }
.m-info p { color: #E8EEF2; font-size: .98rem; }
.m-info .eyebrow { color: #FFD166; }
.m-where { display: flex; gap: 6px; align-items: center; margin-top: 8px; font-size: .86rem !important; font-weight: 600; }
.m-where svg { width: 15px; height: 15px; flex: 0 0 auto; }
.m-card .credit { z-index: 3; top: 10px; bottom: auto; }
.m-stamp { position: absolute; top: 28px; z-index: 3; padding: 6px 14px; border: 3px solid; border-radius: 10px; font: 800 1.2rem/1 var(--display); text-transform: uppercase; opacity: 0; transition: opacity .15s; }
.m-stamp.yes { left: 22px; color: #6BE39A; transform: rotate(-12deg); }
.m-stamp.no { right: 22px; color: #FF8A8A; transform: rotate(12deg); }
.m-card.yes .m-stamp.yes, .m-card.no .m-stamp.no { opacity: 1; }
.m-btns { display: flex; align-items: center; justify-content: center; gap: 22px; }
.m-btns p { color: rgba(255,255,255,.7); font-size: .8rem; text-align: center; max-width: 12ch; }
.m-yes, .m-no { width: 68px; height: 68px; border-radius: 50%; border: 0; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .15s; }
.m-yes:active, .m-no:active { transform: scale(.92); }
.m-yes { background: var(--accent); color: #fff; }
.m-no { background: #fff; color: #1C2B36; }
.m-yes svg, .m-no svg { width: 30px; height: 30px; }
.m-yes svg { fill: #fff; }
.tp-hero { background: linear-gradient(135deg, var(--tint-pink), var(--tint-sun)); padding-block: clamp(28px, 6vw, 60px); }
.tp-hero .wrap { display: grid; gap: 16px; }
.tp-hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.tp-hero h1 em { font-style: normal; color: var(--accent); }
.tp-plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding: 16px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); max-width: 640px; }
.tp-plan label { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; }
.tp-plan input { width: 100%; accent-color: var(--accent); height: 30px; }
.tp-months { display: flex; gap: 8px; align-items: center; font-size: .95rem; }
.tp-months svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
.ph-av.ic { place-items: center; color: #fff; padding: 0; }
.ph-av.ic svg { width: 19px; height: 19px; }
.ph-av.ic:empty::after { display: none; }
@media (max-width: 520px) { .deck-prev { right: 12px; top: 18px; width: 78px; height: 100px; } .mh-text > .hello, .mh-text > h1 { padding-right: 92px; } }
/* cuentakilómetros flotante (no tapa contenido) */
.odo { position: fixed; top: auto; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 14px); left: 50%; transform: translateX(-50%); margin: 0; z-index: 35; transition: opacity .25s, transform .25s; pointer-events: none; }
.odo.away { opacity: 0; transform: translate(-50%, 10px); }
@media (min-width: 900px) { .odo { bottom: 24px; } }
@media (min-width: 1000px) { .odo { left: calc(50% - 190px); } }
/* nudo centrado sobre el hilo */
.band-div .knotbig { margin-left: -43px; }
@media (max-width: 599px) { .band-div { grid-template-columns: 40px minmax(0, 1fr); } .band-div .knotbig { width: 40px; height: 40px; margin-left: -33px; padding: 3px; } }
@media (max-width: 440px) { .lens button { font-size: .8rem; gap: 4px; } .lens button svg { width: 15px; height: 15px; } }
@media (max-width: 599px) {
  .feed.hilo { padding-left: 36px; }
  .feed.hilo::before { left: 17px; }
  .knot::before { left: -25px; }
  .band-div .knotbig { margin-left: -39px; }
}
@media (max-width: 440px) { .lens { grid-template-columns: auto auto auto; } .lens button svg { display: none; } .lens button { font-size: .84rem; padding: 0 8px; white-space: nowrap; } }
.tp-hero .chip.on { background: color-mix(in srgb, var(--c, var(--accent)) 16%, var(--card)); color: var(--ink); border-color: color-mix(in srgb, var(--c, var(--accent)) 45%, transparent); }
.info-slide { aspect-ratio: auto; min-height: 340px; align-content: center; }
@media (min-width: 600px) { .info-slide { min-height: 300px; padding: 30px 36px; } }
.mk.cluster { background: color-mix(in srgb, var(--accent) 88%, transparent); color: #fff; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent), 0 3px 10px rgba(0,0,0,.25); font: 800 .8rem/1 var(--body); }
.mk.cluster:hover { width: auto; height: auto; transform: translate(-50%, -50%) scale(1.08); }
@media (max-width: 899px) { .ex-list { padding-bottom: 96px !important; } }
/* ficha: título primero, datos clave, índice */
.d-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.d-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.loc.big { width: 58px; height: 62px; }
.d-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); gap: 8px; }
.d-facts > div { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--paper-2); }
.d-facts svg { grid-row: span 2; width: 20px; height: 20px; color: var(--c, var(--accent)); }
.d-facts b { font-size: .92rem; line-height: 1.2; }
.d-facts small { font-size: .74rem; color: var(--muted); }
.d-toc { position: sticky; top: -1px; z-index: 3; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -22px; padding: 10px 22px; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .d-toc { margin: 0 -30px; padding-inline: 30px; } }
.d-toc::-webkit-scrollbar { display: none; }
.d-toc a { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.d-sec { scroll-margin-top: 64px; }
.sheet:focus { outline: none; }
.d-facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 98px), 1fr)); }
.d-facts > div { padding: 10px; column-gap: 6px; }
.d-facts svg { width: 18px; height: 18px; }
/* agenda: meses legibles, eventos primero */
.month-strip { grid-auto-columns: minmax(78px, 1fr); }
.mbtn { gap: 4px; padding: 12px 6px 10px; }
.mbtn b { font: 800 1.05rem/1 var(--display); }
.mbtn .temp { display: inline-flex; align-items: center; gap: 2px; font-size: .74rem; }
.mbtn .temp svg { width: 12px; height: 12px; }
.mbtn .evn { font-size: .7rem; font-weight: 700; color: var(--c); }
.mbtn[aria-pressed="true"] .evn { color: var(--sun); }
.ag-head { margin-top: 18px; padding: 18px; border-radius: 20px; background: color-mix(in srgb, var(--c) 12%, var(--card)); display: grid; gap: 6px; justify-items: start; }
.ag-head h2 { font-size: 2rem; }
.ag-head p { color: var(--ink-2); }
.ag-body { display: grid; gap: 14px; margin-top: 18px; }
.ag-body h3 { font-size: 1.2rem; margin-top: 6px; }
.ag-facts summary { font-size: 1rem; }
.ag-facts summary svg { width: 18px; height: 18px; color: var(--accent); }
.facts-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); padding-bottom: 16px; }
.evt p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.evt .kv { gap: 6px 10px; }
.pagehead .linkbtn { justify-self: start; }
@media (max-width: 599px) {
  .cols { grid-template-columns: 1fr 1fr; gap: 10px; }
  .coltile { min-height: 170px; border-radius: 18px; }
  .coltile .ct-in { padding: 12px; }
  .coltile b { font-size: 1.05rem; }
  .coltile small { display: none; }
}
@media (max-width: 599px) {
  .qf { grid-template-columns: 1fr 1fr; gap: 8px; }
  .qf .fact { padding: 12px; }
  .qf .fact b { font-size: .88rem; font-weight: 600; line-height: 1.3; }
  .qf .fact .eyebrow { font-size: .64rem; }
}
@media (max-width: 959px) { details.acc.stick:not([data-user]) { } }
.mlabel { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.acc summary svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
.facts > .acc { border-top: 1px solid var(--line); }
@media (max-width: 599px) {
  .feed.hilo { padding-left: 42px; }
  .feed.hilo::before { left: 21px; }
  .knot::before { left: -27px; }
  .band-div .knotbig { margin-left: -40px; }
}
@media (max-width: 520px) { .deck-prev { right: 20px; } .deck-prev .dp0 { transform: rotate(6deg) translate(4px, 4px); } .deck-prev .dp1 { transform: rotate(-5deg) translate(-6px, 2px); } }
@media (min-width: 600px) and (max-width: 999px) { .feed-wrap { grid-template-columns: minmax(0, 640px); justify-content: center; } }

/* ===== Tres respuestas rápidas (antes de venir) ===== */
.before { display: grid; gap: 14px; padding: 4px 0; }
@media (max-width: 599px) { .before { padding-inline: var(--gut); } }
.bf-head h2 { font-size: 1.5rem; margin-top: 4px; }
.bf-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.bf-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bf-vis { position: relative; width: 96px; height: 96px; border-radius: 16px; overflow: hidden; background: var(--tint-sky); }
.bf-vis img, .bf-vis svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-txt { display: grid; gap: 6px; min-width: 0; align-content: start; }
.bf-txt h3 { font-size: 1.12rem; }
.bf-txt p { font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.bf-txt .linkbtn { font-size: .86rem; }
.bf-costs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .86rem; }
.bf-costs li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.bf-costs li span { color: var(--ink-2); min-width: 0; }
.bf-costs li b { white-space: nowrap; }
.bf-card .cur-seg { justify-self: start; margin-top: 4px; }
.bf-card .cur-seg button { min-height: 32px; padding: 0 10px; font-size: .8rem; }
.bf-land { fill: #DCE6DF; stroke: #fff; stroke-width: 3; }
.bf-land.py { fill: var(--accent); }
.bf-asu { fill: var(--sun); stroke: #fff; stroke-width: 5; }
.bf-pulse { fill: none; stroke: var(--sun); stroke-width: 4; opacity: .6; transform-origin: center; transform-box: fill-box; animation: bfpulse 2.4s ease-out infinite; }
@keyframes bfpulse { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@media (min-width: 600px) { .bf-card { grid-template-columns: 132px minmax(0, 1fr); gap: 18px; padding: 14px; } .bf-vis { width: 132px; height: 132px; } }


/* ===== Política de filas: en escritorio nunca se recortan ===== */
@media (min-width: 900px) {
  .chips.scroll, .bj-ex, .rchips, .tabs, .d-toc, .sugg { flex-wrap: wrap; overflow: visible; margin-inline: 0 !important; padding-inline: 0 !important; }
  .tabs { row-gap: 0; }
  .d-toc { margin: 0 -30px !important; padding: 10px 30px !important; }
  .sugg { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); padding: 0 14px 16px !important; }
  .sg { flex: none; }
  .sg > .ph, .sg > img { width: 100%; height: auto; aspect-ratio: 1; }
  .month-strip { grid-auto-flow: row; grid-template-columns: repeat(12, minmax(0, 1fr)); overflow: visible; }
  .mbtn { min-width: 0; padding-inline: 2px; }
  .feed-side .bj-ex .chip:nth-of-type(n+5) { display: none; }
  .ex-quick, .ex-panel .chips { flex-wrap: wrap; }
}
@media (min-width: 700px) { .hscroll { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.ex-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.ex-panel { padding: 14px; border-radius: 16px; background: var(--paper-2); }
/* ===== En celular: filas desplazables con aviso de «hay más» ===== */
[data-more="r"] { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
[data-more="l"] { -webkit-mask-image: linear-gradient(to left, #000 82%, transparent); mask-image: linear-gradient(to left, #000 82%, transparent); }
[data-more="lr"] { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.bf-card .cur-seg { display: flex; flex-wrap: wrap; overflow: visible; }
.rchip { width: 92px; }
.rchip span { white-space: normal; text-overflow: clip; overflow: visible; line-height: 1.15; min-height: 2.3em; display: grid; align-items: center; }
@media (max-width: 599px) {
  .bf-costs { gap: 8px; }
  .bf-costs li { flex-direction: column; align-items: flex-start; gap: 0; }
  .bf-costs li b { font-size: .95rem; }
  .bf-card { grid-template-columns: 84px minmax(0, 1fr); }
  .bf-vis { width: 84px; height: 84px; }
}

/* ===== Hilo sin línea lateral: ancho completo y barra de progreso arriba ===== */
.feed.hilo, .feed.hilo:is(*) { padding-left: 0 !important; }
.feed.hilo::before, .knot::before { display: none !important; }
.band-div { grid-template-columns: 46px minmax(0, 1fr) !important; gap: 14px; padding: 22px 0 6px; }
.band-div .knotbig, .band-div .knotbig.m { margin-left: 0 !important; width: 46px !important; height: 46px !important; }
@media (max-width: 599px) { .band-div { padding-inline: var(--gut); } }
/* cuentakilómetros: barra fija bajo el encabezado, nunca sobre el contenido */
.odo { position: sticky !important; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)) !important; bottom: auto !important; left: auto !important; transform: none !important; margin: 0 !important; width: auto !important; max-width: none !important; justify-self: stretch; z-index: 25; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 0 0 14px 14px; background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); border: 1px solid var(--line); border-top: 0; box-shadow: 0 6px 16px -12px rgba(0,0,0,.3); font-size: .84rem; pointer-events: auto; }
.odo svg { color: var(--accent); }
.odo span { flex: 1; min-width: 0; }
.odo.away { opacity: 1; transform: none; }
.odo-dots { display: inline-flex; gap: 4px; flex: 0 0 auto; }
.odo-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.odo-dots i.on { background: var(--accent); }
.odo.nodots .odo-dots { display: none; }
@media (max-width: 599px) { .odo { border-radius: 0; border-left: 0; border-right: 0; } }
/* barra de distancia: no ocupa lugar; aparece solo cuando queda fija bajo el encabezado */
.odo { margin-bottom: -40px !important; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.odo.stuck { opacity: 1; visibility: visible; }
/* subtítulo de la publicación: se parte en dos líneas en vez de cortarse con «…» */
.ph-t small { white-space: normal !important; overflow: hidden; text-overflow: clip !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
.feed-main { grid-template-columns: minmax(0, 1fr); }
.odo { min-width: 0; }
.odo-asu { font-style: normal; }
@media (max-width: 400px) { .odo-asu { display: none; } }
/* Celular: cada publicación es una tarjeta con bordes redondeados, igual que en escritorio */
@media (max-width: 599px) {
  .feed, .feed.hilo { padding-inline: var(--gut) !important; gap: 14px; }
  .post { border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(28, 43, 54, .04); }
  .feed .band-div { padding-inline: 0; }
}
/* Portada en celular: bloque «Descubrí tu Paraguay» más compacto */
@media (max-width: 599px) {
  .mhero { padding: 14px 16px 16px; gap: 10px; }
  .mhero .hello { font-size: .8rem; margin: 0; }
  .mhero h1 { font-size: 1.4rem; line-height: 1.1; margin: 4px 0 0; }
  .mhero .lede { font-size: .9rem; line-height: 1.4; margin: 6px 0 0; }
  .mhero .d-actions { margin-top: 10px; gap: 8px; flex-wrap: nowrap; }
  .mhero .d-actions .btn { min-height: 42px; padding: 8px 14px; font-size: .88rem; white-space: nowrap; }
  .deck-prev { right: -10px !important; top: 12px !important; width: 68px !important; height: 88px !important; }
  .mh-text > .hello, .mh-text > h1 { padding-right: 70px !important; }
}

/* ===== Carretes (celular): grillas y listas pasan a filas deslizables ===== */
.rgroup { display: grid; gap: 10px; min-width: 0; }
.rgroup + .rgroup { margin-top: 26px; }
.rg-h { display: flex; align-items: center; gap: 8px; font-size: 1.12rem; }
.rg-h .sw { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--accent)); flex: 0 0 auto; }
.rg-n { font-family: var(--ff-body, inherit); font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--bg-2, rgba(28,43,54,.06)); border-radius: 999px; padding: 2px 8px; }
.rail-nav { display: none; }
@media (max-width: 599px) {
  .rail { display: grid !important; grid-auto-flow: column !important; grid-template-columns: none !important; grid-template-rows: none !important; grid-auto-columns: 82% !important; gap: 12px !important; overflow-x: auto !important; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut) * -1) !important; padding: 2px var(--gut) 4px !important; scroll-padding-inline: var(--gut); align-items: stretch; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; min-width: 0; margin: 0 !important; }
  .rail > [hidden] { display: none !important; }
  .rail:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  /* fichas chicas (datos, eventos, filas): más angostas para que se vean 1,5 por vez */
  .rail.facts-grid, .rail.qf { grid-auto-columns: 58% !important; }
  .rail.evgrid, .rail.list, .rail.g2 { grid-auto-columns: 86% !important; }
  .sheet-body .rail { margin-inline: 0 !important; padding-inline: 0 !important; scroll-padding-inline: 0; }
  .rail-nav { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
  .rail-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; flex: 0 0 auto; }
  .rail-nav button svg { width: 18px; height: 18px; }
  .rail-nav .rn-prev svg { transform: scaleX(-1); }
  .rail-nav button:disabled { opacity: .35; }
  .rn-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
  .rn-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); transition: transform .15s; }
  .rn-c { font-size: .8rem; font-weight: 700; color: var(--muted); min-width: 44px; text-align: center; }
}
@media (max-width: 599px) {
  .rail > .card .media, .rail > .card > .media { aspect-ratio: 4 / 3; height: auto; }
  .rail > .card .media img { height: 100%; }
}
@media (max-width: 599px) { .rail:has(> :only-child) { grid-auto-columns: 100% !important; } }
/* «Tres respuestas rápidas» en celular: tarjetas de 120 px con texto corto que entra completo */
.bf-s { display: none; }
@media (max-width: 599px) {
  .bf-l { display: none; }
  .bf-s { display: block; }
  .bf-card { height: 120px; grid-template-columns: 76px minmax(0, 1fr) !important; gap: 12px; padding: 12px; align-items: stretch; overflow: hidden; }
  .bf-vis { width: 76px !important; height: 96px !important; border-radius: 14px; }
  .bf-txt { gap: 3px; align-content: space-between; grid-template-rows: auto 1fr auto; }
  .bf-txt h3 { font-size: 1rem; line-height: 1.2; white-space: nowrap; }
  .bf-txt .bf-s { font-size: .82rem; line-height: 1.35; margin: 0; }
  .bf-txt .linkbtn { font-size: .8rem; min-height: 0; padding: 0; }
  .bf-costs { gap: 1px; font-size: .8rem; }
  .bf-costs li { flex-direction: row !important; justify-content: space-between; align-items: baseline; gap: 8px; }
  .bf-costs li:nth-child(n+3) { display: none; }
  .bf-costs li span { white-space: nowrap; overflow: hidden; text-overflow: clip; }
  .bf-costs li b { font-size: .82rem !important; }
  .bf-card .cur-seg { margin-top: 0; flex-wrap: nowrap; gap: 4px; }
  .bf-card .cur-seg button { min-height: 26px; padding: 0 8px; font-size: .74rem; }
}
/* accesos rápidos: fila compacta deslizable en celular */
@media (max-width: 599px) {
  .rail.rail-mini { grid-auto-columns: max-content !important; gap: 8px !important; }
  .rail-mini .sc { white-space: nowrap; }
}
/* Mapa: «Solo imperdibles» y «Más filtros» viven dentro del buscador (sin fila extra) */
.field .fbtn { position: relative; flex: 0 0 auto; width: 38px; height: 38px; margin-right: -6px; border-radius: 12px; border: 0; background: transparent; color: var(--ink-2); display: grid; place-items: center; }
.field .fbtn + .fbtn { margin-left: -4px; }
.field .fbtn svg { width: 19px; height: 19px; color: currentColor; }
.field .fbtn:hover { background: var(--paper-2); }
.field .fbtn[aria-pressed="true"] { background: var(--tint-sun, #FFF3D1); color: #9A6A00; }
.field .fbtn[aria-pressed="true"] svg { fill: currentColor; }
.field .fbtn[aria-expanded="true"], .field .fbtn.on { background: var(--ink); color: var(--paper); }
.fb-n { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .66rem; font-weight: 800; line-height: 16px; text-align: center; }
/* botones y estados vacíos: nunca más anchos que su caja (textos largos en inglés o portugués) */
.empty { grid-template-columns: minmax(0, 1fr); }
.empty > * { max-width: 100%; }
.btn { max-width: 100%; }
.empty .btn, .d-actions .btn { white-space: normal; text-align: center; height: auto; min-height: 44px; line-height: 1.25; padding-block: 10px; }

/* ===== Guías de viaje (SEO) ===== */
.guide .g-hero .media { position: relative; width: 100%; height: 46vh; max-height: 460px; overflow: hidden; border-radius: 0; }
.g-body { display: grid; gap: 30px; max-width: 820px; }
.g-intro p { font-size: 1.12rem; line-height: 1.65; }
.g-intro p:first-child { font-size: 1.22rem; color: var(--ink); }
.g-date { font-size: .82rem; margin-top: 10px; }
.g-sec { display: grid; gap: 14px; min-width: 0; }
.g-sec h2 { font-size: clamp(1.35rem, 3.4vw, 1.8rem); }
.g-sec .prose { max-width: 70ch; }
.g-sec .prose p, .g-list li { line-height: 1.65; }
.g-list { display: grid; gap: 6px; padding-left: 1.2em; }
.g-items { margin-top: 6px; }
.g-cta { max-width: none; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.g-card .sum { -webkit-line-clamp: 3; }
.g-home { margin-top: 8px; }
.g-hero .media .ph, .g-hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-hero .media .credit { position: absolute; right: 10px; bottom: 8px; font-size: .7rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }

/* página estática (antes de que cargue la app) */
.sheet-static{max-width:780px;margin:0 auto;padding:18px var(--gut, 16px) 40px;overflow:visible}
