/* ============================================================================
   COLBÚN STRIP · Hoja de estilos
   Identidad: verde cordillera · azul lago · madera y tierra · crema papel
   Tipografía: Fraunces (titulares editoriales) + Manrope (texto e interfaz)
   ============================================================================ */

:root {
  /* Paleta (base del dossier: #17372E, #7E9B88, #F4F2EA, #D9C9A8, #4D8391) */
  --pine: #17372e;
  --pine-2: #1f4a3d;
  --pine-3: #0f2620;
  --sage: #7e9b88;
  --mist: #dde6df;
  --cream: #f4f2ea;
  --paper: #fbfaf5;
  --sand: #d9c9a8;
  --sand-2: #efe6d2;
  --lake: #4d8391;
  --lake-deep: #1e4b5a;
  --lake-soft: #7fb4c1;
  --earth: #3a2a20;
  --earth-2: #4b3628;
  --clay: #b4492a;
  --clay-dark: #8f3719;
  --ink: #12211c;
  --ink-2: #3b4a44;
  --ink-3: #5a6963;
  --line: rgba(23, 55, 46, .16);
  --line-light: rgba(244, 242, 234, .22);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow-1: 0 1px 2px rgba(15, 38, 32, .08), 0 8px 24px -12px rgba(15, 38, 32, .22);
  --shadow-2: 0 2px 4px rgba(15, 38, 32, .1), 0 30px 60px -28px rgba(15, 38, 32, .42);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
abbr[title] { text-decoration: none; color: var(--clay); }
::selection { background: var(--lake-soft); color: var(--pine-3); }

:focus-visible { outline: 3px solid var(--lake); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .on-dark :focus-visible { outline-color: var(--sand); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-2); font-weight: 700; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: min(1240px, 100% - 2 * clamp(20px, 4vw, 48px)); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: .95em; height: .95em; vertical-align: -.1em; }
.ico-lg { width: 2.2em; height: 2.2em; }

/* ------------------------------------------------------------------ progreso */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--lake-soft), var(--sand), var(--clay)); }

/* ------------------------------------------------------------------ tipografía */
.display {
  font-family: var(--f-display);
  font-weight: 450;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.display em, .h2 em, .hero-lede em { font-style: italic; font-weight: 400; color: var(--clay); }
.section-head-light .display em, .taste .display em, .join .display em, .heritage .display em, .tourism .display em { color: var(--sand); }
.h2 { font-family: var(--f-display); font-weight: 450; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -.01em; }
.h3-light { color: var(--cream); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lake-deep); }
.eyebrow-light { color: var(--sand); }
.strip-dash { display: inline-block; width: 38px; height: 10px; background:
  linear-gradient(var(--lake-soft) 0 0) 0 0 / 100% 2px no-repeat,
  linear-gradient(var(--sage) 0 0) 0 4px / 78% 2px no-repeat,
  linear-gradient(var(--sand) 0 0) 0 8px / 54% 2px no-repeat; }
.fine { font-size: .86rem; line-height: 1.5; color: var(--ink-3); max-width: 70ch; }
.fine a { color: inherit; }
.fine-light { color: rgba(244, 242, 234, .72); }
.muted { color: rgba(244, 242, 234, .62); }

/* ------------------------------------------------------------------ botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 46px; padding: 0 1.4em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .96rem; letter-spacing: .005em; text-decoration: none; line-height: 1; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; white-space: nowrap; }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: 0 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-clay { background: var(--clay); color: #fff; box-shadow: 0 10px 24px -12px rgba(180, 73, 42, .8); }
.btn-clay:hover { background: var(--clay-dark); }
.btn-light { background: var(--cream); color: var(--pine); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--cream); border-color: rgba(244, 242, 234, .5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: var(--cream); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--cream); }
.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .18em; font: inherit; cursor: pointer; text-align: left; }
.link:hover { color: var(--sand); }
.prose .link:hover, .check .link:hover { color: var(--clay); }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--pine); background: transparent; color: var(--pine); display: grid; place-items: center; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.round:hover { background: var(--pine); color: var(--cream); }
.round:active { transform: scale(.94); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 8px 20px; }
.chip { min-height: 44px; padding: 0 1.15em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .5em; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--pine); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--pine); border-color: var(--pine); color: var(--cream); }
.chip .n { font-size: .78rem; opacity: .7; font-variant-numeric: tabular-nums; }
.chips-light .chip { background: transparent; border-color: var(--line-light); color: var(--cream); }
.chips-light .chip:hover { border-color: var(--cream); }
.chips-light .chip[aria-pressed="true"] { background: var(--cream); color: var(--pine); border-color: var(--cream); }

/* ------------------------------------------------------------------ cabecera */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--cream); transition: background-color .35s, box-shadow .35s, color .35s, transform .4s var(--ease); }
.site-header.is-solid { background: rgba(244, 242, 234, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-row { height: 100%; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 40px; height: 40px; color: currentColor; }
.brand-word { font-family: var(--f-display); font-size: 1.12rem; letter-spacing: .14em; font-weight: 400; }
.brand-word b { font-weight: 700; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: clamp(8px, 1.6vw, 26px); }
.primary-nav a { position: relative; display: block; padding: 10px 4px; font-size: .9rem; font-weight: 600; text-decoration: none; opacity: .92; }
.primary-nav a::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.header-cta { min-height: 42px; font-size: .88rem; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; place-items: center; margin-left: auto; }
.menu-btn .ico { width: 24px; height: 24px; }
body.menu-open .site-header { background: var(--pine-3); color: var(--cream); box-shadow: none; backdrop-filter: none; }

.drawer { position: fixed; inset: 0; z-index: 90; background: var(--pine-3); color: var(--cream); padding: calc(var(--header-h) + 24px) clamp(20px, 6vw, 48px) 32px; overflow-y: auto; overscroll-behavior: contain; }
.drawer-inner { max-width: 520px; margin-inline: auto; display: grid; gap: 22px; }
.drawer ul { display: grid; }
.drawer li a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-family: var(--f-display); font-size: 1.55rem; text-decoration: none; border-bottom: 1px solid var(--line-light); min-height: 56px; }

@media (max-width: 1060px) {
  .primary-nav, .header-cta { display: none; }
  .menu-btn { display: grid; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: max(100svh, 680px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--cream); isolation: isolate; overflow: hidden; background: var(--pine-3); }
.hero-media { position: absolute; inset: -6% 0 -6% 0; z-index: -3; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.12); animation: kenburns 24s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(180deg, rgba(15, 38, 32, .55) 0%, rgba(15, 38, 32, .05) 26%, rgba(15, 38, 32, .1) 46%, rgba(15, 38, 32, .78) 84%, rgba(15, 38, 32, .94) 100%),
  radial-gradient(120% 80% at 0% 100%, rgba(15, 38, 32, .65), transparent 60%); }
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .16; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(24px, 4vw, 40px); display: grid; gap: clamp(14px, 2vw, 22px); }
.hero-title { font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 50; font-size: clamp(3.4rem, 12.6vw, 10.6rem); line-height: .86; letter-spacing: -.035em; margin-block: .06em .02em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line:nth-child(2) { padding-left: clamp(0px, 7vw, 120px); font-style: italic; font-weight: 300; color: var(--sand); }
.hero-title .word { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .14s); }
@keyframes rise { to { transform: none; } }
.hero-lede { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.35rem, 2.9vw, 2.2rem); line-height: 1.2; max-width: 22ch; letter-spacing: -.01em; text-wrap: balance; }
.hero-lede em { color: var(--sand); }

.hero-search { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) auto; gap: 6px; padding: 6px; max-width: 800px; border-radius: 999px; background: rgba(251, 250, 245, .96); color: var(--ink); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.hs-field { display: flex; align-items: center; gap: 10px; padding-inline: 18px; min-height: 52px; position: relative; }
.hs-field + .hs-field { border-left: 1px solid var(--line); }
.hs-field .ico { color: var(--lake-deep); }
.hs-field input, .hs-field select { width: 100%; border: 0; background: transparent; outline: none; min-height: 48px; font-size: 1rem; text-overflow: ellipsis; }
.hs-field input::placeholder { color: var(--ink-3); opacity: 1; }
.hs-field input::-webkit-search-cancel-button { display: none; }
.hs-field:focus-within { background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--lake); }
.hs-select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 8px; }
.hero-search .btn { min-height: 52px; }

.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 20; background: var(--paper); color: var(--ink); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 8px; max-height: min(60vh, 460px); overflow: auto; text-align: left; }
.suggest .grp { padding: 10px 12px 4px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.suggest li[role="option"] { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; min-height: 48px; }
.suggest li[role="option"]:hover, .suggest li[aria-selected="true"] { background: var(--sand-2); }
.suggest .s-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--mist); color: var(--pine); display: grid; place-items: center; flex: none; }
.suggest .s-main { display: grid; line-height: 1.25; min-width: 0; }
.suggest .s-main b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest .s-main small { color: var(--ink-3); font-size: .82rem; }
.suggest .none { padding: 16px; color: var(--ink-3); }

.hero-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: rgba(244, 242, 234, .86); }
.hero-quick button { min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(244, 242, 234, .12); border: 1px solid rgba(244, 242, 234, .3); color: var(--cream); font-weight: 600; font-size: .85rem; backdrop-filter: blur(6px); transition: background-color .25s; }
.hero-quick button:hover { background: rgba(244, 242, 234, .26); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero-foot { position: relative; border-top: 1px solid var(--line-light); background: linear-gradient(180deg, rgba(15, 38, 32, 0), rgba(15, 38, 32, .5)); }
.hero-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.hero-facts { display: flex; gap: clamp(18px, 4vw, 56px); flex-wrap: wrap; }
.hero-facts li { display: grid; line-height: 1.2; }
.hero-facts b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--sand); letter-spacing: -.01em; }
.hero-facts span { font-size: .78rem; opacity: .85; max-width: 20ch; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.scroll-cue .ico { animation: bob 2.2s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.hero-credit { position: absolute; right: clamp(20px, 4vw, 48px); bottom: calc(100% + 10px); font-size: .7rem; letter-spacing: .02em; color: rgba(244, 242, 234, .78); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); max-width: 60ch; text-align: right; }
.hero-credit a { color: inherit; }

@media (max-width: 760px) {
  .hero-search { grid-template-columns: 1fr; border-radius: 26px; padding: 8px; }
  .hs-field + .hs-field { border-left: 0; border-top: 1px solid var(--line); }
  .hero-search .btn { width: 100%; }
  .scroll-cue { display: none; }
  .hero-credit { right: auto; left: clamp(20px, 4vw, 48px); text-align: left; bottom: calc(100% + 6px); }
  .hero-title { font-size: clamp(3.6rem, 18.5vw, 6.4rem); }
  .hero-title .line:nth-child(2) { padding-left: 6vw; }
  .hero-shade { background: linear-gradient(180deg, rgba(15, 38, 32, .6) 0%, rgba(15, 38, 32, .25) 24%, rgba(15, 38, 32, .55) 52%, rgba(15, 38, 32, .92) 100%); }
  .hero-facts { gap: 14px 22px; }
}

/* ------------------------------------------------------------------ strip */
.strip { background: var(--pine); color: var(--sand); overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .06); }
.strip-track { display: flex; align-items: center; gap: 28px; width: max-content; padding-block: 16px; font-family: var(--f-display); font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-style: italic; font-weight: 300; white-space: nowrap; animation: marquee 48s linear infinite; }
.strip-track i { width: 46px; height: 8px; flex: none; background:
  linear-gradient(var(--lake-soft) 0 0) 0 0 / 100% 2px no-repeat,
  linear-gradient(var(--sage) 0 0) 0 3px / 78% 2px no-repeat,
  linear-gradient(var(--sand) 0 0) 0 6px / 54% 2px no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ secciones */
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); max-width: 880px; }
.section-head-light { color: var(--cream); }
.section-head-light .lead { color: rgba(244, 242, 234, .82); }
.ridge { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: clamp(40px, 6vw, 90px); transform: translateY(-99%); fill: var(--pine); pointer-events: none; }
.tourism, .heritage { background: var(--pine); color: var(--cream); }
.tourism .ridge-top { fill: var(--pine); }
.discover .toponyms { margin-top: clamp(48px, 7vw, 96px); }

/* Descubre */
.discover { background: var(--cream); }
.discover-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.discover-copy { display: grid; gap: 22px; }
.discover-copy p:not(.eyebrow):not(.lead) { color: var(--ink-2); max-width: 58ch; }
.pull { padding: 18px 0 0; margin-block: 6px; position: relative; }
.pull::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--clay); }
.pull p { font-family: var(--f-display); font-style: italic; font-weight: 350; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.35; color: var(--pine); }
.pull cite { display: block; margin-top: 10px; font-style: normal; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.locality-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.locality-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--mist); color: var(--pine); font-weight: 700; font-size: .88rem; text-decoration: none; transition: background-color .25s, color .25s; }
.locality-chips a:hover { background: var(--pine); color: var(--cream); }

.collage { position: relative; aspect-ratio: 1 / 1.12; }
.collage figure { position: absolute; overflow: hidden; border-radius: var(--r-md); box-shadow: var(--shadow-2); margin: 0; background: var(--mist); will-change: transform; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; font-size: .64rem; color: rgba(255, 255, 255, .92); background: linear-gradient(transparent, rgba(0, 0, 0, .6)); opacity: 0; transition: opacity .3s; }
.collage figure:hover figcaption, .collage figure:focus-within figcaption { opacity: 1; }
.collage figcaption a { color: inherit; }
.collage-a { inset: 0 24% 38% 0; }
.collage-b { inset: 34% 0 6% 34%; border-radius: 160px 160px var(--r-md) var(--r-md); }
.collage-c { inset: 56% 62% 0 0; border-radius: var(--r-md) var(--r-md) 100px var(--r-md); }

.toponyms { border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); }
.toponyms-head { display: grid; gap: 10px; align-content: start; }
.toponyms-head p { color: var(--ink-3); font-size: .95rem; }
.toponym-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.toponym-list li { padding: 18px 18px 16px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, background-color .35s; }
.toponym-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); background: #fff; }
.toponym-list b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; color: var(--pine); }
.toponym-list em { display: block; font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lake-deep); margin-bottom: 6px; }
.toponym-list span { font-size: .92rem; color: var(--ink-2); line-height: 1.45; display: block; }

@media (max-width: 900px) {
  .discover-grid { grid-template-columns: 1fr; }
  .collage { aspect-ratio: 1 / 1; max-width: 560px; }
  .toponyms { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ turismo (bento) */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(210px, 22vw, 300px); gap: clamp(12px, 1.6vw, 20px); }
.attr { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--pine-2); color: #fff; isolation: isolate; cursor: pointer; text-align: left; border: 0; padding: 0; width: 100%; transition: transform .5s var(--ease), box-shadow .5s; }
.attr:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -36px rgba(0, 0, 0, .8); }
.attr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.attr:hover img { transform: scale(1.06); }
.attr::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 38, 32, .12) 30%, rgba(15, 38, 32, .86) 100%); }
.attr-in { position: absolute; inset: auto 0 0 0; padding: clamp(18px, 2.2vw, 30px); display: grid; gap: 6px; }
.attr-k { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.attr-t { font-family: var(--f-display); font-weight: 450; font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
.attr-l { font-size: .92rem; line-height: 1.45; color: rgba(255, 255, 255, .86); max-width: 46ch; display: none; }
.attr-go { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: rgba(251, 250, 245, .92); color: var(--pine); display: grid; place-items: center; transform: scale(.8) rotate(-45deg); opacity: 0; transition: all .45s var(--ease); }
.attr:hover .attr-go, .attr:focus-visible .attr-go { transform: none; opacity: 1; }
.attr-loc { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255, 255, 255, .82); }
.attr-loc .ico { width: 1em; height: 1em; }
.attr-tag { position: absolute; top: 18px; left: 18px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(15, 38, 32, .55); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .22); }

.attr.a0 { grid-column: span 7; grid-row: span 2; }
.attr.a0 .attr-l, .attr.a6 .attr-l { display: block; }
.attr.a1 { grid-column: span 5; }
.attr.a2 { grid-column: span 5; }
.attr.a3, .attr.a4, .attr.a5 { grid-column: span 4; }
.attr.a6 { grid-column: span 8; }
.bento-cta { grid-column: span 4; border-radius: var(--r-lg); background: var(--clay); color: #fff; padding: clamp(22px, 3vw, 36px); display: grid; align-content: space-between; gap: 14px; text-decoration: none; transition: transform .5s var(--ease), background-color .3s; }
.bento-cta:hover { transform: translateY(-4px); background: var(--clay-dark); }
.bento-cta h3 { font-family: var(--f-display); font-weight: 450; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; }
.bento-cta p { font-size: .95rem; opacity: .92; }
.bento-cta .btn { justify-self: start; background: #fff; color: var(--clay-dark); min-height: 44px; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 40vw, 300px); }
  .attr.a0 { grid-column: span 2; grid-row: span 1; }
  .attr.a1, .attr.a2, .attr.a3, .attr.a4, .attr.a5 { grid-column: span 1; }
  .attr.a6, .bento-cta { grid-column: span 2; }
  .attr-l { display: none !important; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .attr.a0, .attr.a1, .attr.a2, .attr.a3, .attr.a4, .attr.a5, .attr.a6, .bento-cta { grid-column: span 1; }
  .bento-cta { min-height: 220px; }
  .attr-go { opacity: 1; transform: none; }
}

.subhead { margin-top: clamp(56px, 8vw, 96px); margin-bottom: 22px; }
.exp-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.exp-row li { }
.exp { width: 100%; height: 100%; text-align: left; padding: 22px 20px; border-radius: var(--r-md); border: 1px solid var(--line-light); background: rgba(255, 255, 255, .04); color: var(--cream); display: grid; gap: 10px; align-content: start; transition: background-color .3s, transform .4s var(--ease), border-color .3s; }
.exp:hover { background: rgba(255, 255, 255, .1); border-color: var(--sand); transform: translateY(-3px); }
.exp .ico { width: 30px; height: 30px; color: var(--sand); }
.exp b { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; }
.exp span { font-size: .9rem; color: rgba(244, 242, 234, .78); line-height: 1.45; }
@media (max-width: 1000px) { .exp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .exp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.plan { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: var(--pine-3); border: 1px solid rgba(255, 255, 255, .08); }
.plan-col { display: grid; gap: 18px; align-content: start; }
.route-list, .season-list { display: grid; gap: 0; }
.route-list li, .season-list li { padding: 14px 0; border-top: 1px solid var(--line-light); display: grid; gap: 3px; }
.route-list li:first-child, .season-list li:first-child { border-top: 0; padding-top: 0; }
.route-list b, .season-list b { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.route-list b em { font-style: normal; font-family: var(--f-body); font-size: .8rem; font-weight: 700; color: var(--sand); white-space: nowrap; }
.route-list span, .season-list span { font-size: .93rem; color: rgba(244, 242, 234, .8); line-height: 1.5; }
.season-list i { font-style: normal; font-size: .85rem; color: var(--sand); font-weight: 600; }
@media (max-width: 860px) { .plan { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ modal de atractivo */
.modal { width: min(1040px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .7); overflow: hidden; }
.modal-sm { width: min(680px, calc(100% - 24px)); }
.modal::backdrop { background: rgba(10, 24, 20, .72); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .45s var(--ease); }
.modal[open]::backdrop { animation: fade .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 10; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(251, 250, 245, .95); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.modal-close:hover { transform: rotate(90deg); }
.modal-body { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.modal-sm .modal-body { padding: clamp(24px, 4vw, 44px); }
.prose { display: grid; gap: 12px; align-content: start; }
.prose h2 small { font-family: var(--f-body); font-size: .45em; font-weight: 700; color: var(--clay); letter-spacing: .08em; text-transform: uppercase; }
.prose h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; margin-top: 8px; color: var(--pine); }
.prose p { color: var(--ink-2); font-size: .98rem; }
.credit-list { display: grid; gap: 6px; font-size: .85rem; color: var(--ink-2); max-height: 44vh; overflow: auto; padding-right: 6px; }
.credit-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.credit-list a { color: var(--lake-deep); }
.credit-list .muted-i { color: var(--ink-3); }

.am-hero { position: relative; aspect-ratio: 16 / 7; background: var(--pine-2); }
.am-hero img { width: 100%; height: 100%; object-fit: cover; }
.am-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 38, 32, .8)); }
.am-hero-in { position: absolute; z-index: 2; left: clamp(20px, 3vw, 40px); right: 70px; bottom: clamp(16px, 2.4vw, 30px); color: #fff; }
.am-hero-in h2 { font-family: var(--f-display); font-weight: 450; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
.am-hero-in .attr-k { display: block; margin-bottom: 8px; }
.am-hero .credit { position: absolute; z-index: 2; right: 12px; bottom: 6px; font-size: .62rem; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 6px #000; }
.am-hero .credit a { color: inherit; }
.am-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(22px, 3.4vw, 48px); padding: clamp(22px, 3.4vw, 44px); }
.am-main { display: grid; gap: 16px; align-content: start; }
.am-main .lead { font-family: var(--f-display); font-style: italic; font-weight: 350; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--pine); line-height: 1.35; }
.am-main p { color: var(--ink-2); }
.am-act { display: flex; flex-wrap: wrap; gap: 8px; }
.am-act li { padding: 7px 14px; border-radius: 999px; background: var(--mist); color: var(--pine); font-weight: 600; font-size: .86rem; }
.am-side { display: grid; gap: 18px; align-content: start; }
.am-facts { border-radius: var(--r-md); background: var(--cream); border: 1px solid var(--line); padding: 6px 18px; }
.am-facts div { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.am-facts div:first-child { border-top: 0; }
.am-facts dt { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lake-deep); }
.am-facts dd { margin: 0; font-size: .95rem; }
.am-pending { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: #fbf0dc; border: 1px solid #ecd6a6; color: #5b4310; font-size: .88rem; line-height: 1.5; }
.am-pending .ico { margin-top: 2px; }
.am-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.am-actions .btn { min-height: 44px; font-size: .88rem; }
.am-src { font-size: .82rem; color: var(--ink-3); display: grid; gap: 4px; }
.am-src a { color: var(--lake-deep); }
.am-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 8px; overflow-x: auto; padding: 0 clamp(22px, 3.4vw, 44px) clamp(22px, 3.4vw, 36px); scrollbar-width: thin; }
.am-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); transition: border-color .25s, transform .25s; }
.am-thumbs button[aria-current="true"] { border-color: var(--clay); }
.am-thumbs button:hover { transform: translateY(-2px); }
.am-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .am-grid { grid-template-columns: 1fr; } .am-hero { aspect-ratio: 4 / 3; } }

/* ------------------------------------------------------------------ directorio */
.directory { background: var(--paper); }
.dir-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 12px; margin-bottom: 16px; }
.dir-search, .dir-loc { position: relative; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding-inline: 18px; min-height: 54px; transition: border-color .25s, box-shadow .25s; }
.dir-search:focus-within, .dir-loc:focus-within { border-color: var(--lake); box-shadow: 0 0 0 4px rgba(77, 131, 145, .18); }
.dir-search .ico { color: var(--lake-deep); margin-right: 10px; }
.dir-search input, .dir-loc select { width: 100%; border: 0; background: transparent; outline: none; min-height: 50px; }
.dir-loc select { cursor: pointer; }
@media (max-width: 640px) { .dir-tools { grid-template-columns: 1fr; } }
.dir-count { font-size: .88rem; color: var(--ink-3); margin-bottom: 20px; min-height: 1.4em; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.biz { display: grid; grid-template-rows: auto 1fr auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.biz:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: transparent; }
.biz-top { position: relative; aspect-ratio: 16 / 8; background: var(--c1, var(--pine-2)); overflow: hidden; display: grid; place-items: center; color: rgba(255, 255, 255, .92); }
.biz-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.biz:hover .biz-top img { transform: scale(1.06); }
.biz-top .pat { position: absolute; inset: 0; opacity: .5; }
.biz-top .mono { position: relative; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -.02em; }
.biz-cat { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(251, 250, 245, .95); color: var(--pine); }
.biz-body { padding: 20px 22px 8px; display: grid; gap: 8px; align-content: start; }
.biz h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; line-height: 1.15; letter-spacing: -.01em; }
.biz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .82rem; color: var(--ink-3); }
.biz-meta span { display: inline-flex; align-items: center; gap: 5px; }
.biz-meta .ico { width: 1em; height: 1em; }
.biz p { font-size: .94rem; color: var(--ink-2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.biz-tags li { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--pine); }
.biz-act { padding: 14px 22px 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ab { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--pine); background: #fff; text-decoration: none; transition: all .25s var(--ease); }
.ab:hover { background: var(--pine); color: var(--cream); border-color: var(--pine); transform: translateY(-2px); }
.ab.wa { background: #1c6b46; color: #fff; border-color: #1c6b46; }
.ab.wa:hover { background: #14523a; }
.biz-src { margin-left: auto; font-size: .7rem; color: var(--ink-3); text-align: right; line-height: 1.3; max-width: 14ch; }
.biz.is-ref .biz-src { color: #7a5a14; font-weight: 700; }
.dir-more { display: flex; justify-content: center; margin-top: 32px; }
.dir-empty { grid-column: 1 / -1; padding: 48px 20px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r-lg); color: var(--ink-2); display: grid; gap: 12px; justify-items: center; }
.dir-note { margin-top: 36px; display: flex; gap: 14px; padding: 18px 22px; border-radius: var(--r-md); background: var(--sand-2); color: var(--earth); font-size: .9rem; line-height: 1.55; }
.dir-note .ico { margin-top: 3px; flex: none; }
.dir-note a { color: var(--clay-dark); font-weight: 700; }

/* ------------------------------------------------------------------ emprendedores */
.makers { background: var(--sand-2); overflow: hidden; }
.maker-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-2); }
.mf-photo { position: relative; min-height: 420px; }
.mf-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mf-photo figcaption { position: absolute; left: 12px; bottom: 8px; font-size: .64rem; color: #fff; text-shadow: 0 1px 6px #000; }
.mf-photo figcaption a { color: inherit; }
.mf-copy { padding: clamp(24px, 4vw, 56px); display: grid; gap: 16px; align-content: center; }
.mf-copy p:not(.eyebrow) { color: var(--ink-2); }
.mf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mf-tags li { font-size: .78rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--clay); color: var(--clay-dark); }
.mf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (max-width: 860px) { .maker-feature { grid-template-columns: 1fr; } .mf-photo { min-height: 280px; } }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 84%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.story { scroll-snap-align: start; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .45s var(--ease), box-shadow .45s; }
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.story-top { position: relative; aspect-ratio: 16 / 9; background: var(--c1); display: grid; place-items: center; overflow: hidden; color: #fff; }
.story-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-top .pat { position: absolute; inset: 0; opacity: .55; }
.story-top .ph { position: relative; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .6); }
.story-body { padding: 20px 22px 22px; display: grid; gap: 10px; align-content: start; }
.story-body .eyebrow { font-size: .68rem; }
.story-body h4 { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; line-height: 1.15; }
.story-body p { font-size: .94rem; color: var(--ink-2); }
.story-body .btn { justify-self: start; min-height: 42px; font-size: .86rem; margin-top: 4px; }
.rail-ctrl { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.maker-cta { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 3.4vw, 40px); border-radius: var(--r-lg); background: var(--pine); color: var(--cream); }
.maker-cta p { color: rgba(244, 242, 234, .82); max-width: 54ch; margin-top: 6px; }

/* ------------------------------------------------------------------ gastronomía */
.taste { background: var(--earth); color: var(--cream); }
.taste .ridge-top { fill: var(--earth); }
.taste-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.taste-head { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.taste .lead { color: rgba(244, 242, 234, .84); }
.taste-tradition { padding: 22px 24px; border-radius: var(--r-md); border: 1px solid var(--line-light); background: rgba(255, 255, 255, .04); display: grid; gap: 8px; }
.taste-tradition p { color: rgba(244, 242, 234, .8); font-size: .95rem; }
.badge { justify-self: start; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--sand); color: var(--earth); }
.menu-card { background: var(--cream); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 52px); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); position: relative; }
.menu-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(58, 42, 32, .28); border-radius: calc(var(--r-lg) - 8px); pointer-events: none; }
.menu-title { text-align: center; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--earth); margin-bottom: 4px; }
.menu-sub { text-align: center; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 26px; }
.menu-sec + .menu-sec { margin-top: 26px; }
.menu-sec h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; color: var(--clay-dark); display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.menu-sec h3::after { content: ""; flex: 1; height: 1px; background: rgba(58, 42, 32, .28); }
.m-item { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 8px; width: 100%; text-align: left; background: none; border: 0; padding: 12px 6px; border-radius: 10px; transition: background-color .25s, padding .3s var(--ease); }
.m-item:hover { background: var(--sand-2); padding-inline: 12px; }
.m-item b { font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; }
.m-item i { align-self: end; height: 1px; margin-bottom: .45em; border-bottom: 1.5px dotted rgba(58, 42, 32, .45); }
.m-item small { font-size: .78rem; color: var(--ink-3); text-align: right; }
.m-item span { grid-column: 1 / -1; font-size: .86rem; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
@media (max-width: 900px) { .taste-grid { grid-template-columns: 1fr; } .taste-head { position: static; } }

/* ------------------------------------------------------------------ alojamiento */
.stay { background: var(--cream); }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.stay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.stay-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; transition: transform .45s var(--ease), box-shadow .45s; }
.stay-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.stay-card .biz-top { aspect-ratio: 4 / 3; }
.stay-body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.stay-body h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; line-height: 1.15; }
.stay-body p { font-size: .92rem; color: var(--ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.stay-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.stay-row .btn { min-height: 42px; font-size: .85rem; padding-inline: 1.1em; }

/* ------------------------------------------------------------------ cultura */
.heritage .ridge-top { fill: var(--pine); }
.timeline { position: relative; display: grid; gap: 0; margin-top: 12px; padding-left: clamp(26px, 5vw, 80px); }
.timeline::before { content: ""; position: absolute; left: clamp(6px, 1.4vw, 20px); top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--lake-soft), var(--sand) 50%, var(--clay)); transform-origin: top; transform: scaleY(var(--tl, 0)); }
.tl { position: relative; display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) minmax(0, 220px); gap: clamp(14px, 3vw, 40px); align-items: start; padding-block: clamp(18px, 2.6vw, 30px); border-bottom: 1px solid var(--line-light); }
.tl::before { content: ""; position: absolute; left: calc(-1 * clamp(26px, 5vw, 80px) + clamp(6px, 1.4vw, 20px) - 7px); top: calc(clamp(18px, 2.6vw, 30px) + .75rem); width: 16px; height: 16px; border-radius: 50%; background: var(--pine); border: 2px solid var(--sand); transition: background-color .4s, transform .4s var(--ease); }
.tl.is-in::before { background: var(--sand); transform: scale(1.15); }
.tl-y { font-family: var(--f-display); font-weight: 350; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.03em; color: var(--sand); font-variant-numeric: lining-nums; }
.tl-y small { display: block; font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 242, 234, .7); margin-top: 6px; }
.tl h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.15; margin-bottom: 6px; }
.tl p { color: rgba(244, 242, 234, .82); max-width: 58ch; font-size: .98rem; }
.tl-src { display: block; margin-top: 8px; font-size: .74rem; letter-spacing: .06em; color: rgba(244, 242, 234, .55); }
.tl-ph { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--pine-2); }
.tl-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tl:hover .tl-ph img { transform: scale(1.06); }
@media (max-width: 860px) { .tl { grid-template-columns: 1fr; gap: 8px; } .tl-ph { max-width: 280px; } }

.heritage-split { margin-top: clamp(56px, 8vw, 110px); }
.rari-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); background: var(--pine-3); border: 1px solid rgba(255, 255, 255, .08); }
.rf-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.rf-photos img { width: 100%; border-radius: var(--r-md); object-fit: cover; }
.rf-photos img:first-child { aspect-ratio: 3 / 4; }
.rf-photos img:last-child { aspect-ratio: 1 / 1; margin-bottom: 12%; }
.rf-copy { display: grid; gap: 16px; }
.rf-copy p:not(.eyebrow):not(.fine) { color: rgba(244, 242, 234, .84); }
@media (max-width: 860px) { .rari-feature { grid-template-columns: 1fr; } }
.fiestas { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 22px; }
.fiesta-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.fiesta-list li { padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line-light); display: grid; gap: 6px; background: rgba(255, 255, 255, .03); transition: background-color .3s, transform .4s var(--ease); }
.fiesta-list li:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.fiesta-list time { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.fiesta-list b { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; line-height: 1.2; }
.fiesta-list span { font-size: .88rem; color: rgba(244, 242, 234, .74); }

/* ------------------------------------------------------------------ galería */
.gallery { background: var(--pine-3); color: var(--cream); }
.masonry { columns: 3 300px; column-gap: 14px; }
.m-ph { position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; break-inside: avoid; background: var(--pine-2); cursor: zoom-in; transition: opacity .4s, transform .5s var(--ease); }
.m-ph.is-out { display: none; }
.m-ph img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s; }
.m-ph:hover img { transform: scale(1.05); }
.m-ph::after { content: attr(data-label); position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; text-align: left; font-size: .78rem; font-weight: 600; line-height: 1.35; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.m-ph:hover::after, .m-ph:focus-visible::after { opacity: 1; transform: none; }
.gallery-call { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 22px; border-radius: var(--r-md); border: 1.5px dashed var(--line-light); color: rgba(244, 242, 234, .86); }
.gallery-call .ico { width: 30px; height: 30px; color: var(--sand); }
.gallery-call a { color: var(--sand); }

.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; border: 0; padding: 0; background: rgba(8, 18, 15, .96); color: #fff; margin: 0; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; animation: fade .3s ease; }
.lightbox figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; height: 100dvh; padding: 56px 0 24px; min-width: 0; }
.lb-stage { min-height: 0; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; animation: pop .5s var(--ease); }
.lightbox figcaption { text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .82); padding-inline: 12px; line-height: 1.45; }
.lightbox figcaption a { color: var(--sand); }
.lb-nav { width: 48px; height: 48px; margin-inline: auto; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background-color .25s; }
.lb-nav:hover { background: rgba(255, 255, 255, .22); }
@media (max-width: 640px) { .lightbox[open] { grid-template-columns: 1fr; } .lb-nav { position: fixed; bottom: 18px; z-index: 5; } .lb-prev { left: 18px; margin: 0; } .lb-next { right: 18px; margin: 0; } .lightbox figure { padding-bottom: 84px; } }

/* ------------------------------------------------------------------ mapa */
.mapsec { background: var(--paper); }
.map-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-2); background: #fff; }
#map { height: clamp(460px, 62vw, 640px); background: var(--mist); z-index: 1; }
.map-list { max-height: clamp(460px, 62vw, 640px); overflow-y: auto; border-left: 1px solid var(--line); background: var(--paper); }
.ml-item { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 14px 18px; background: none; border: 0; border-bottom: 1px solid var(--line); transition: background-color .25s; min-height: 64px; }
.ml-item:hover, .ml-item.is-on { background: var(--sand-2); }
.ml-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 6px; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.ml-item b { display: block; font-weight: 700; line-height: 1.25; }
.ml-item small { color: var(--ink-3); font-size: .82rem; line-height: 1.35; display: block; }
.ml-empty { padding: 24px 18px; color: var(--ink-3); font-size: .92rem; }
.pin { width: 34px; height: 42px; display: block; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); }
.pin path { fill: var(--c); stroke: #fff; stroke-width: 1.5; }
.pin circle { fill: #fff; }
.pin-num { position: absolute; top: 5px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 800; color: var(--c); line-height: 1; pointer-events: none; }
.leaflet-container { font-family: var(--f-body); }
.leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: var(--shadow-2); }
.leaflet-popup-content { margin: 14px 16px; line-height: 1.45; min-width: 190px; }
.pop h4 { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; margin-bottom: 2px; }
.pop small { color: var(--ink-3); display: block; margin-bottom: 8px; }
.pop ul { display: grid; gap: 3px; margin: 0 0 10px; max-height: 140px; overflow: auto; font-size: .86rem; }
.pop button { background: var(--pine); color: var(--cream); border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .8rem; min-height: 36px; }
.map-fallback { display: grid; place-items: center; height: 100%; padding: 24px; text-align: center; color: var(--ink-2); }
@media (max-width: 900px) { .map-shell { grid-template-columns: 1fr; } .map-list { border-left: 0; border-top: 1px solid var(--line); max-height: 320px; } #map { height: 440px; } }

/* ------------------------------------------------------------------ agenda */
.agenda { background: var(--cream); }
.year { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-bottom: 36px; }
.mo { position: relative; padding: 14px 4px 12px; border-radius: 14px; text-align: center; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 6px; justify-items: center; transition: all .3s var(--ease); }
.mo b { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mo i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.mo.has { background: var(--pine); border-color: var(--pine); }
.mo.has b { color: var(--sand); }
.mo.has i { background: var(--sand); }
.mo.has[data-n="2"] i { box-shadow: 14px 0 0 var(--sand), -14px 0 0 var(--lake-soft); }
.mo.now { outline: 3px solid var(--clay); outline-offset: 3px; }
.mo.now::after { content: "ahora"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--clay); color: #fff; padding: 2px 8px; border-radius: 999px; }
@media (max-width: 760px) { .year { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 14px; } }
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.ev { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.ev:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.ev.is-now { background: var(--pine); color: var(--cream); border-color: var(--pine); }
.ev-d { display: grid; place-items: center; align-content: center; border-radius: 18px; background: var(--mist); color: var(--pine); padding: 10px 4px; text-align: center; line-height: 1.1; }
.ev.is-now .ev-d { background: var(--sand); }
.ev-d b { font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; }
.ev-d small { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ev h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; line-height: 1.15; margin-bottom: 4px; }
.ev p { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.ev.is-now p { color: rgba(244, 242, 234, .84); }
.ev-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .78rem; font-weight: 700; color: var(--lake-deep); }
.ev.is-now .ev-meta { color: var(--sand); }
.ev-meta span { display: inline-flex; gap: 5px; align-items: center; }
.ev-now { display: inline-block; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--clay); color: #fff; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }

/* ------------------------------------------------------------------ participa */
.join { background: linear-gradient(160deg, var(--lake-deep), var(--pine) 55%, var(--pine-3)); color: var(--cream); }
.join .ridge-top { fill: var(--lake-deep); }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.join-copy { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.join .lead { color: rgba(244, 242, 234, .84); }
.levels { display: grid; gap: 14px; counter-reset: lv; }
.levels li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line-light); background: rgba(255, 255, 255, .04); }
.levels .lv { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 1.3rem; background: var(--sand); color: var(--pine); }
.levels h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; margin-bottom: 2px; }
.levels p { font-size: .92rem; color: rgba(244, 242, 234, .78); line-height: 1.5; }
.join-form { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); display: grid; gap: 18px; }
.form-intro { font-size: .85rem; color: var(--ink-3); margin-top: -10px; }
.f-row { display: grid; gap: 18px; }
.f-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.f label, .f legend { font-size: .86rem; font-weight: 700; color: var(--ink); padding: 0; }
.f input[type="text"], .f input[type="email"], .f input[type="tel"], .f select, .f textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid rgba(23, 55, 46, .28); background: #fff; transition: border-color .25s, box-shadow .25s; }
.f textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.f input:hover, .f select:hover, .f textarea:hover { border-color: var(--pine); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--lake); box-shadow: 0 0 0 4px rgba(77, 131, 145, .22); }
.f [aria-invalid="true"] { border-color: #b3261e; background: #fff8f7; }
.err { font-size: .82rem; color: #a3221b; font-weight: 600; }
.count { font-size: .76rem; color: var(--ink-3); text-align: right; }
.levels-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.levels-pick legend { width: 100%; margin-bottom: 6px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.pick span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(23, 55, 46, .28); font-size: .88rem; font-weight: 600; transition: all .25s; }
.pick input:checked + span { background: var(--pine); color: var(--cream); border-color: var(--pine); }
.pick input:focus-visible + span { outline: 3px solid var(--lake); outline-offset: 3px; }
.check label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-weight: 500; font-size: .88rem; line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--pine); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { padding: 14px 16px; border-radius: 14px; background: #fdecea; color: #7a1712; font-size: .9rem; border: 1px solid #f3c1bc; }
.form-errors ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.form-done { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 24px 12px 6px; border-top: 1px solid var(--line); }
.form-done:focus { outline: none; }
.form-done .ico { color: var(--pine); background: var(--mist); border-radius: 50%; padding: 12px; box-sizing: content-box; width: 1.4em; height: 1.4em; }
.form-done h4 { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; }
.form-done p { color: var(--ink-2); max-width: 44ch; font-size: .95rem; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
@media (max-width: 960px) { .join-grid { grid-template-columns: 1fr; } .join-copy { position: static; } }
@media (max-width: 560px) { .f-2 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: var(--cream); padding-top: clamp(56px, 8vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); }
.f-brand { display: grid; gap: 18px; align-content: start; }
.brand-light { color: var(--cream); }
.f-tag { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.3; }
.f-tag em { color: var(--sand); }
.f-col { display: grid; gap: 10px; align-content: start; }
.f-col h4 { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: 4px; }
.h4-gap { margin-top: 16px; }
.f-col ul { display: grid; gap: 4px; }
.f-col a, .f-col .link { display: inline-block; padding: 5px 0; text-decoration: none; font-size: .94rem; color: rgba(244, 242, 234, .86); }
.f-col a:hover, .f-col .link:hover { color: var(--sand); text-decoration: underline; }
.f-col .muted { font-size: .88rem; line-height: 1.4; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 72px); padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(244, 242, 234, .66); }
.to-top { color: inherit; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.to-top .ico { transform: rotate(-90deg); }
.to-top:hover { color: var(--sand); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; background: var(--ink); color: var(--cream); padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow-2); font-size: .92rem; font-weight: 600; max-width: calc(100% - 32px); text-align: center; animation: pop .4s var(--ease); }
.noscript { padding: 16px; text-align: center; background: var(--sand-2); }

/* ------------------------------------------------------------------ alianza con la Municipalidad */
.hero-alliance { display: inline-flex; align-items: center; gap: 14px; justify-self: start; max-width: 100%; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(15, 38, 32, .5); border: 1px solid rgba(244, 242, 234, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--cream); text-decoration: none; font-size: .88rem; line-height: 1.25; transition: background-color .3s, border-color .3s, transform .35s var(--ease); }
.hero-alliance:hover { background: rgba(15, 38, 32, .72); border-color: var(--sand); transform: translateY(-2px); }
.al-shield { display: grid; place-items: center; width: 44px; height: 54px; flex: none; background: #fff; border-radius: 12px; padding: 4px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.al-shield img { width: 100%; height: 100%; object-fit: contain; }
.al-text b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; color: var(--sand); }
.al-gente { height: 38px; width: auto; flex: none; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .55)); }
@media (max-width: 520px) { .hero-alliance .al-gente { display: none; } .hero-alliance { padding-right: 16px; } }

.f-alliance { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.f-alliance .al-shield { width: 52px; height: 64px; }
.f-alliance .al-gente { height: 46px; }

/* ------------------------------------------------------------------ municipalidad y alcalde */
.muni { background: var(--paper); overflow: hidden; }
.muni::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; background: radial-gradient(60% 100% at 18% 0%, var(--sand-2), transparent 70%); pointer-events: none; }
.muni-grid { position: relative; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.mayor { position: relative; margin: 0; }
.mayor-frame { position: relative; border-radius: 220px 220px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); box-shadow: var(--shadow-2); }
.mayor-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); pointer-events: none; }
.mayor-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.mayor::before { content: ""; position: absolute; top: -14px; left: -14px; width: 100%; aspect-ratio: 4 / 5; border: 1.5px solid var(--clay); border-radius: 234px 234px calc(var(--r-lg) + 6px) calc(var(--r-lg) + 6px); z-index: 0; opacity: .55; pointer-events: none; }
.mayor-frame { z-index: 1; }
.mayor-badge { position: absolute; z-index: 2; right: -18px; bottom: 74px; width: 78px; height: 96px; padding: 7px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-2); display: grid; place-items: center; }
.mayor-badge img { width: 100%; height: 100%; object-fit: contain; }
.mayor figcaption { margin-top: 18px; display: grid; gap: 2px; position: relative; z-index: 1; }
.mayor figcaption b { font-family: var(--f-display); font-weight: 500; font-size: 1.55rem; line-height: 1.15; color: var(--pine); }
.mayor figcaption span { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-dark); }
.mayor figcaption small { font-size: .7rem; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }
.mayor figcaption small a { color: inherit; }
.muni-copy { display: grid; gap: 20px; }
.muni-copy p:not(.eyebrow):not(.lead) { color: var(--ink-2); max-width: 60ch; }
.src { font-size: .82rem; font-weight: 700; color: var(--lake-deep); white-space: nowrap; margin-left: 4px; }
.src:hover { color: var(--clay-dark); }
.muni-id { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); max-width: 460px; }
.muni-id img { height: 56px; width: auto; flex: none; }
.muni-id p { font-size: .88rem !important; color: var(--ink-3) !important; line-height: 1.45; }
@media (max-width: 900px) { .muni-grid { grid-template-columns: 1fr; } .mayor { max-width: 420px; margin-inline: auto; } .mayor-badge { right: -8px; } }

.prog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.prog { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.prog:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.prog { grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.prog > * { grid-column: 1 / -1; }
.prog > .prog-ico { grid-column: 1; grid-row: 1; width: auto; height: auto; display: inline-flex; background: none; color: var(--clay); }
.prog > h4 { grid-column: 2; grid-row: 1; }
.prog-ico .ico { width: 30px; height: 30px; }
.prog h4 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.prog > p { color: var(--ink-2); font-size: .95rem; }
.prog ul { display: grid; gap: 7px; font-size: .9rem; color: var(--ink-2); }
.prog li { position: relative; padding-left: 22px; line-height: 1.45; }
.prog li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 2px; background: var(--clay); border-radius: 2px; }
.prog .src { margin: 6px 0 0; }
@media (max-width: 960px) { .prog-grid { grid-template-columns: 1fr; } }

.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.works li { display: grid; gap: 8px; align-content: start; padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); }
.works li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.works li:not(:nth-child(3n+1)) { padding-left: 28px; }
.works time { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-dark); }
.works h4 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.works p { font-size: .93rem; color: var(--ink-2); line-height: 1.55; }
.works .src { margin: 0; }
@media (max-width: 960px) { .works { grid-template-columns: 1fr 1fr; } .works li, .works li:not(:nth-child(3n)), .works li:not(:nth-child(3n+1)) { border-right: 0; padding: 24px 0; } }
@media (max-width: 600px) { .works { grid-template-columns: 1fr; } }

.suma { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); padding: clamp(26px, 4.4vw, 60px); border-radius: var(--r-lg); background: linear-gradient(150deg, var(--pine) 0%, var(--pine-3) 100%); color: var(--cream); position: relative; overflow: hidden; }
.suma::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(127, 180, 193, .28), transparent 70%); pointer-events: none; }
.suma-head { display: grid; gap: 14px; align-content: start; }
.suma-head p:not(.eyebrow) { color: rgba(244, 242, 234, .82); }
.suma-list { display: grid; gap: 0; counter-reset: s; }
.suma-list li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 16px 0; border-top: 1px solid var(--line-light); }
.suma-list li:first-child { border-top: 0; padding-top: 0; }
.suma-list li::before { content: counter(s); grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 1.1rem; background: var(--sand); color: var(--pine); }
.suma-list b { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; }
.suma-list span { font-size: .93rem; color: rgba(244, 242, 234, .78); line-height: 1.5; }
.suma-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 860px) { .suma { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ patrones de relleno (sin foto) */
.pat-lines { background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .13) 0 2px, transparent 2px 16px); }
.pat-dots { background-image: radial-gradient(rgba(255, 255, 255, .22) 1.6px, transparent 1.8px); background-size: 18px 18px; }
.pat-waves { background-image: repeating-radial-gradient(circle at 0 120%, rgba(255, 255, 255, .14) 0 2px, transparent 2px 22px); }
.pat-weave { background-image: linear-gradient(45deg, rgba(255, 255, 255, .1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .1) 75%), linear-gradient(45deg, rgba(255, 255, 255, .1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .1) 75%); background-size: 24px 24px; background-position: 0 0, 12px 12px; }

/* ------------------------------------------------------------------ revelado al scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
.js .stagger.is-in > * { opacity: 1; transform: none; }

/* Leaflet (rutas de imágenes locales) */
.leaflet-default-icon-path { background-image: url(../vendor/leaflet/images/marker-icon.png); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero-media img { transform: none; }
  .hero-title .word { transform: none; }
  .strip-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .timeline::before { transform: none; }
}
@media print { .site-header, .drawer, .progress, .strip, .toast { display: none !important; } }
