/* Estilo inspirado en sitios de destino turístico: fotos grandes, títulos en mayúsculas condensadas,
   fondo blanco, texto gris y botones verdes con contorno. */
:root {
  --ink: #2b2b2b;
  --ink2: #555;
  --muted: #7a7a7a;
  --paper: #fff;
  --soft: #f6f4ef;
  --sand: #ece7dc;
  --line: #e4dfd4;
  --green: #5e8a37;
  --green2: #4b7029;
  --green-l: #779f4f;
  --terra: #c2502e;
  --ochre: #e3a72f;
  --wa: #1fae55;
  --wa2: #168a43;
  --ok: #2c7a4f;
  --err: #b3261e;
  --warn: #9a6400;
  --radius: 6px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: Oswald, "Arial Narrow", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 18px rgba(0, 0, 0, .06);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .06), 0 16px 36px rgba(0, 0, 0, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink2);
  font: 15px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px 16px 56px; }
main.wide { max-width: none; padding: 0; }
main.narrow { max-width: 480px; padding-top: 48px; }
main.narrow-lg { max-width: 820px; }
img { max-width: 100%; display: block; }
a { color: var(--green2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; letter-spacing: .01em; color: var(--ink); }
h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 10px; }
h2 { font-size: 24px; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; justify-content: center; }
.lead { font-size: 17px; color: var(--ink2); }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i.fill { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 4px; border: 2px solid var(--green);
  background: var(--green); color: #fff; font: 600 14px/1.2 var(--font); letter-spacing: .04em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s var(--ease);
}
.btn:hover { background: var(--green2); border-color: var(--green2); }
.btn:active { transform: scale(.97); }
.btn.small { padding: 7px 14px; font-size: 13px; }
.btn.big { padding: 15px 28px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.outline { background: transparent; color: var(--green); text-transform: uppercase; }
.btn.outline:hover { background: var(--green); color: #fff; }
.btn.outline.light { color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn.outline.light:hover { background: #fff; color: var(--ink); }
.btn.wa { background: var(--wa); border-color: var(--wa); }
.btn.wa:hover { background: var(--wa2); border-color: var(--wa2); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink2); }
.btn.light { background: #fff; color: var(--green2); border-color: #fff; }
.btn.light:hover { background: var(--soft); }
.btn.danger { background: var(--err); border-color: var(--err); }
.btn.danger.ghost { background: transparent; color: var(--err); border-color: rgba(179, 38, 30, .35); }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink2); cursor: pointer;
  text-decoration: none; transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn.on { color: var(--ochre); border-color: var(--ochre); background: #fff8e6; }
.icon-btn.on .i { fill: currentColor; }
.icon-btn.danger:hover { color: var(--err); border-color: rgba(179, 38, 30, .4); }
:focus-visible { outline: 3px solid rgba(119, 159, 79, .6); outline-offset: 2px; }

/* ---------- Barra superior ---------- */
.top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: background .25s, border-color .25s, box-shadow .25s; }
.top-in { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font: 500 22px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; }
.brand small { font-size: 11px; font-weight: 600; color: var(--terra); text-transform: uppercase; letter-spacing: .12em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; color: var(--ink2); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a.on { color: var(--green); border-bottom-color: var(--green-l); }
.is-admin .nav a:not(.btn) { text-transform: none; letter-spacing: 0; font-size: 14px; border-radius: 6px; border-bottom: 0; }
.is-admin .nav a:not(.btn):hover { background: var(--soft); }
.nav .btn { margin-left: 10px; }
.menu-btn { display: none; }
.pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--terra); color: #fff; font-size: 12px; }

/* Encabezado transparente sobre la foto de portada. */
.has-overlay .top.overlay { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(0, 0, 0, .45), transparent); border-color: transparent; }
.top.overlay .brand, .top.overlay .nav a:not(.btn) { color: #fff; }
.top.overlay .brand small { color: #ffd9a8; }
.top.overlay.scrolled .brand small { color: var(--terra); }
.top.overlay .nav a:not(.btn):hover, .top.overlay .nav a.on { color: #fff; border-bottom-color: #fff; }
.top.overlay .btn.outline { color: #fff; border-color: rgba(255, 255, 255, .85); }
.top.overlay .menu-btn { background: rgba(255, 255, 255, .15); color: #fff; border-color: transparent; }
.top.overlay.scrolled { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.top.overlay.scrolled .brand, .top.overlay.scrolled .nav a:not(.btn) { color: var(--ink2); }
.top.overlay.scrolled .brand { color: var(--ink); }
.top.overlay.scrolled .nav a:not(.btn):hover, .top.overlay.scrolled .nav a.on { color: var(--green); border-bottom-color: var(--green-l); }
.top.overlay.scrolled .btn.outline { color: var(--green); border-color: var(--green); }
.top.overlay.scrolled .menu-btn { background: #fff; color: var(--ink2); border-color: var(--line); }

@media (max-width: 1080px) {
  .menu-btn { display: inline-grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .top.overlay .nav a:not(.btn), .top.overlay .nav a.on { color: var(--ink2); border-bottom-color: var(--line); }
  .top.overlay .nav .btn.outline { color: var(--green); border-color: var(--green); }
  .nav .btn { margin: 12px 0 0; }
}

/* ---------- Avisos ---------- */
.toasts { position: fixed; z-index: 100; top: 76px; right: 16px; left: 16px; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 10px 10px 10px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: toastIn .3s var(--ease); }
.toast p { margin: 0; flex: 1; font-size: 14px; }
.toast.ok .i:first-child { color: var(--ok); }
.toast.err { border-color: rgba(179, 38, 30, .35); }
.toast.err .i:first-child { color: var(--err); }
.toast .icon-btn { width: 30px; height: 30px; border: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }
.alert { padding: 12px 16px; border-radius: 8px; margin: 0 0 16px; font-size: 15px; }
.alert p { margin: 0; }
.alert.err { background: #fdecea; color: var(--err); border: 1px solid #f5c6c2; }
.alert.warn { background: #fff5dc; color: #6d4a00; border: 1px solid #f0d99a; }

/* ---------- Portada (hero) ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; place-items: center; color: #fff; overflow: hidden; background: #2c3a22; }
.hero-sm { min-height: min(62vh, 520px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .55) 100%); }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-in { position: relative; z-index: 1; width: 100%; max-width: 920px; padding: 120px 16px 90px; text-align: center; }
.hero-sm .hero-in { padding: 120px 16px 56px; }
.eyebrow { display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .9); }
.eyebrow .i { width: 16px; height: 16px; }
.hero-title { display: inline-flex; flex-direction: column; align-items: center; margin: 0 0 18px; padding: 18px 34px 22px; background: rgba(20, 20, 20, .45); backdrop-filter: blur(2px); color: #fff; }
.hero-title span { font: 500 clamp(46px, 9vw, 104px)/1 var(--font-head); text-transform: uppercase; letter-spacing: .05em; }
.hero-title small { margin-top: 8px; font: 400 clamp(16px, 2.4vw, 26px)/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .92); max-width: 700px; }
.hero-sm .hero-title span { font-size: clamp(36px, 6vw, 68px); }
.hero .lead { color: rgba(255, 255, 255, .92); max-width: 640px; margin: 0 auto 26px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.hero-down { position: absolute; z-index: 1; bottom: 22px; left: 50%; transform: translateX(-50%) rotate(90deg); color: #fff; opacity: .85; animation: bob 2s ease-in-out infinite; }
.hero-down .i { width: 28px; height: 28px; }
@keyframes bob { 50% { margin-bottom: -6px; } }

.weather { position: absolute; z-index: 2; top: 84px; right: 24px; color: #fff; display: flex; gap: 16px; align-items: center; padding: 10px 16px; border-radius: 6px; background: rgba(20, 20, 20, .35); backdrop-filter: blur(4px); font-size: 12px; text-align: center; }
.weather .w-now { display: flex; align-items: center; gap: 8px; padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, .3); }
.weather .w-now b { font: 500 26px/1 var(--font-head); }
.weather .w-ico { font-size: 22px; line-height: 1; }
.weather .w-day { line-height: 1.3; white-space: nowrap; }
.weather .w-day span { display: block; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
@media (max-width: 760px) { .weather { top: 74px; right: 12px; padding: 6px 10px; } .weather .w-now { padding: 0; border: 0; } .weather .w-now b { font-size: 20px; } .weather .w-day { display: none; } }

.search { position: relative; display: flex; align-items: center; max-width: 640px; margin: 0 auto; background: #fff; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.search .i { position: absolute; left: 18px; color: var(--muted); width: 20px; height: 20px; pointer-events: none; }
.search input { flex: 1; min-width: 0; padding: 17px 12px 17px 50px; border: 0; background: transparent; font: 500 16px var(--font); color: var(--ink); }
.search input:focus { outline: none; }
.search .btn { margin: 6px; text-transform: uppercase; }
.search.sm { max-width: 260px; margin: 0; box-shadow: none; border: 1px solid var(--line); flex: none; }
.search.sm .i { left: 12px; width: 17px; height: 17px; }
.search.sm input { padding: 9px 12px 9px 38px; font-size: 14px; }
@media (max-width: 560px) { .search .btn { padding: 10px 12px; } }

/* ---------- Secciones ---------- */
.sec { max-width: 1180px; margin: 0 auto; padding: 56px 16px 8px; scroll-margin-top: 70px; }
.sec-head { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-title { margin: 0; font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; letter-spacing: .08em; text-align: center; color: var(--ink); }
.sec-title::after { content: ""; display: block; width: 56px; height: 3px; margin: 12px auto 0; background: var(--green-l); }
.sec-head .btn { position: absolute; right: 0; }
@media (max-width: 700px) { .sec-head { flex-direction: column; } .sec-head .btn { position: static; } }
.sec-intro { text-align: center; max-width: 720px; margin: -10px auto 24px; }

.intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; }
.intro-text p { font-size: 16.5px; line-height: 1.85; }
.intro-text p:first-child::first-letter { float: left; font: 500 64px/.85 var(--font-head); color: var(--green); margin: 6px 10px 0 0; }
.intro-stats { display: grid; gap: 14px; }
.intro-stats div { display: flex; align-items: baseline; gap: 12px; padding: 16px 20px; border-left: 3px solid var(--green-l); background: var(--soft); }
.intro-stats b { font: 500 38px/1 var(--font-head); color: var(--ink); min-width: 52px; }
.intro-stats span { text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; gap: 24px; } }

/* Experiencias: mosaico de fotos con título en mayúsculas */
.exp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.exp-tile { position: relative; grid-column: span 2; aspect-ratio: 4 / 3; overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: #333; }
.exp-tile:nth-child(4), .exp-tile:nth-child(5) { grid-column: span 3; aspect-ratio: 16 / 8; }
.exp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.exp-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .7)); transition: background .3s; }
.exp-tile:hover img { transform: scale(1.06); }
.exp-name, .exp-text { position: relative; z-index: 1; }
.exp-name { font: 500 clamp(22px, 2.6vw, 30px)/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; }
.exp-name::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 10px; background: var(--green-l); transition: width .3s var(--ease); }
.exp-tile:hover .exp-name::after { width: 80px; }
.exp-text { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .88); max-width: 380px; }
@media (max-width: 860px) { .exp-grid { grid-template-columns: 1fr 1fr; } .exp-tile, .exp-tile:nth-child(4), .exp-tile:nth-child(5) { grid-column: span 1; aspect-ratio: 4 / 3; } .exp-tile:nth-child(5) { grid-column: span 2; aspect-ratio: 16 / 8; } }
@media (max-width: 520px) { .exp-grid { grid-template-columns: 1fr; } .exp-tile:nth-child(5) { grid-column: span 1; aspect-ratio: 4 / 3; } }

/* Rutas */
.route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.route-tile { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 24px; color: #fff; text-decoration: none; background: #333; border-bottom: 5px solid var(--terra); }
.route-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .6s var(--ease); }
.route-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .72)); }
.route-tile:hover img { transform: scale(1.05); }
.route-name, .route-tag, .route-stops { position: relative; z-index: 1; }
.route-name { font: 500 clamp(26px, 3vw, 36px)/1.05 var(--font-head); text-transform: uppercase; letter-spacing: .05em; }
.route-tag { margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.route-stops { margin-top: 10px; padding: 3px 10px; background: var(--terra); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* Eventos */
.event-feature { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #222; }
.event-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .1) 100%); }
.event-feature-in { position: relative; z-index: 1; max-width: 620px; padding: 40px; }
.event-feature h3 { color: #fff; font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; letter-spacing: .03em; margin: 6px 0 10px; }
.event-feature .event-desc { color: rgba(255, 255, 255, .88); }
.event-date { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green-l); }
.event-feature .event-date { color: var(--ochre); }
.event-place { display: flex; align-items: center; gap: 6px; margin: 4px 0 8px; font-size: 14px; }
.event-place .i { width: 15px; height: 15px; }
.event-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 18px; }
.event-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.event-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.event-media img { width: 100%; height: 100%; object-fit: cover; }
.event-badge { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 56px; padding: 6px 0; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; box-shadow: var(--shadow); }
.event-badge b { font: 500 24px/1 var(--font-head); color: var(--terra); }
.event-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.event-body h3 { margin: 2px 0; }
.event-body .event-desc { font-size: 14px; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.event-body .btn { margin-top: auto; }
@media (max-width: 640px) { .event-feature-in { padding: 24px; } .event-feature { min-height: 420px; } }

/* ---------- Directorio ---------- */
.dir { max-width: 1180px; margin: 0 auto; padding: 64px 16px 48px; scroll-margin-top: 60px; }
.dir-bar { position: sticky; top: 60px; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px 0; margin-bottom: 12px; background: #fff; border-bottom: 1px solid var(--line); }
.has-overlay .dir-bar { top: 64px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 14px; border-radius: 4px; border: 1px solid var(--line); background: #fff; color: var(--ink2); font: 600 13px var(--font); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--green-l); color: var(--green); }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.seg { flex: none; display: flex; padding: 3px; border-radius: 6px; background: var(--soft); }
.seg button { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: 4px; background: none; color: var(--ink2); font: 600 13px var(--font); cursor: pointer; }
.seg button.on { background: #fff; color: var(--green); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.seg .i { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .dir-bar { flex-wrap: wrap; }
  .search.sm { flex: 1; max-width: none; }
  .chips { order: 3; flex-basis: 100%; }
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.ph { font-size: 54px; }
.badge-feat { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: var(--ochre); color: var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.badge-feat .i, .badge-inline .i { width: 13px; height: 13px; fill: currentColor; }
.badge-inline { display: inline-flex; align-items: center; gap: 3px; color: #8a5f00; font-weight: 600; }
.card-body { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px 18px; flex: 1; }
.card-cat { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--terra); }
.card-cat a { color: inherit; text-decoration: none; }
.price { color: var(--green); letter-spacing: 1px; }
.card h3 { font-size: 21px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card-actions { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.card-actions .btn { flex: 1; padding: 8px 6px; letter-spacing: 0; font-size: 13px; }
.card-tag { margin: 0; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.rating { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; }
.rating b { font-weight: 700; color: var(--ink); }
.rating.big { font-size: 15px; margin: 6px 0 10px; }
.rating.big b { font-size: 20px; }
.stars { position: relative; display: inline-block; width: 80px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 15'%3E%3Cpath d='M8 0l2.4 4.9 5.4.8-3.9 3.8.9 5.4L8 12.4 3.2 14.9l.9-5.4L.2 5.7l5.4-.8z' fill='%23e4dfd4'/%3E%3C/svg%3E") repeat-x; background-size: 16px 15px; }
.stars-fill { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 15'%3E%3Cpath d='M8 0l2.4 4.9 5.4.8-3.9 3.8.9 5.4L8 12.4 3.2 14.9l.9-5.4L.2 5.7l5.4-.8z' fill='%23e3a72f'/%3E%3C/svg%3E") repeat-x; background-size: 16px 15px; }
.stars.sm { width: 64px; height: 12px; background-size: 12.8px 12px; }
.stars.sm .stars-fill { background-size: 12.8px 12px; }

.empty { text-align: center; padding: 56px 16px; }
.empty-ico { font-size: 52px; margin: 0 0 8px; }

.map { overflow: hidden; border: 1px solid var(--line); background: var(--sand); z-index: 0; }
.map.big { height: min(70vh, 620px); margin-bottom: 10px; }
.map.small { height: 220px; margin: -4px -4px 16px; }
.map.picker { height: 300px; margin-bottom: 10px; cursor: crosshair; border-radius: 6px; }
.pin-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--green); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.pin-ico span { transform: rotate(45deg); font-size: 17px; line-height: 1; color: #fff; font-weight: 700; font-family: var(--font-head); }
.pin-ico.num { background: var(--terra); }
.leaflet-popup-content { margin: 12px 14px; font: 14px/1.4 var(--font); }
.leaflet-popup-content b { display: block; font: 500 16px var(--font-head); margin-bottom: 2px; }
.leaflet-popup-content a { font-weight: 600; }

.cta { padding: 24px 16px 64px; }
.cta-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 44px; background: var(--green2) url("img/hero.jpg") center / cover; background-blend-mode: multiply; color: #fff; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: 30px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.cta p { margin: 0; max-width: 620px; color: rgba(255, 255, 255, .9); }

/* ---------- Ruta ---------- */
.route-layout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 36px; align-items: start; }
.route-layout aside { position: sticky; top: 80px; }
.route-map { height: min(75vh, 640px); }
.route-desc { font-size: 16.5px; margin-bottom: 16px; }
.stops { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.stop { position: relative; padding-left: 58px; }
.stop::before { content: ""; position: absolute; left: 20px; top: 44px; bottom: -22px; border-left: 2px dashed var(--line); }
.stop:last-child::before { display: none; }
.stop-n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--terra); color: #fff; font: 500 20px var(--font-head); }
.stop-n.sm { position: static; width: 32px; height: 32px; font-size: 16px; flex: none; }
.stop .card { flex-direction: row; }
.stop .card-media { width: 220px; flex: none; aspect-ratio: auto; }
.stop-note { margin: 8px 0 0; padding: 8px 12px; background: var(--soft); border-left: 3px solid var(--terra); font-size: 14px; }
@media (max-width: 980px) { .route-layout { grid-template-columns: 1fr; } .route-layout aside { position: static; order: -1; } .route-map { height: 320px; } }
@media (max-width: 600px) { .stop { padding-left: 0; padding-top: 50px; } .stop::before { display: none; } .stop .card { flex-direction: column; } .stop .card-media { width: auto; aspect-ratio: 4 / 3; } }

/* ---------- Ficha del comercio ---------- */
.biz-page { padding-top: 16px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--ink2); font-weight: 600; text-decoration: none; font-size: 14px; }
.back:hover { color: var(--green); }
.gallery { display: grid; gap: 6px; overflow: hidden; height: clamp(240px, 46vw, 460px); margin-bottom: 28px; }
.gallery.n1 { grid-template-columns: 1fr; }
.gallery.n2 { grid-template-columns: 2fr 1fr; }
.gallery.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.n3 .g-item:first-child { grid-row: span 2; }
.gallery.n4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.n4 .g-item:first-child { grid-row: span 2; }
.gallery.n4 .g-item:last-child { grid-column: span 2; }
.gallery.n5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.n5 .g-item:first-child { grid-row: span 2; }
.g-item { position: relative; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; min-height: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.g-item:hover img { transform: scale(1.03); }
.g-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; font-weight: 700; font-size: 18px; }
.gallery-empty { display: grid; place-items: center; height: 160px; background: var(--soft); font-size: 64px; margin-bottom: 28px; }
@media (max-width: 640px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 280px; scrollbar-width: none; margin: 0 -16px 22px; }
  .gallery .g-item { flex: 0 0 88%; scroll-snap-align: start; }
  .gallery.n1 .g-item { flex-basis: 100%; }
  .g-more { display: none; }
}

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 10, 10, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lb-close { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, .15); color: #fff; border: 0; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); margin: 0; }

.biz { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .biz { grid-template-columns: 1fr; gap: 24px; } }
.biz-head h1 { margin: 6px 0 4px; font-size: clamp(32px, 4.5vw, 48px); text-transform: uppercase; letter-spacing: .03em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 32px; }
.block { padding: 28px 0; border-top: 1px solid var(--line); }
.block h2 { text-transform: uppercase; letter-spacing: .06em; font-size: 22px; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.block-head h2 { margin: 0; }
.prose { font-size: 16px; }
.link-g { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.reviews { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.review { margin: 0; padding: 18px; background: var(--soft); border-left: 3px solid var(--green-l); }
.review-top { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.review-top strong { display: block; font-size: 15px; color: var(--ink); }
.review-top small { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; flex: none; }
.review blockquote { margin: 8px 0 0; font-size: 15px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.panel.info { padding: 4px; position: sticky; top: 80px; }
.info-list { list-style: none; margin: 0; padding: 4px 16px 8px; }
.info-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-list li:last-child { border-bottom: 0; }
.info-list .i { color: var(--green); margin-top: 3px; }
.socials { display: flex; gap: 8px; padding: 0 16px 16px; }

.related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.related h2 { text-transform: uppercase; letter-spacing: .06em; }

.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .sticky-cta .btn { flex: 1; }
  .biz-page + .foot { padding-bottom: 90px; }
}

/* Créditos */
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.credit { margin: 0; font-size: 13px; }
.credit img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 6px; }
.credit strong { display: block; color: var(--ink); }

/* ---------- Formularios ---------- */
.form label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form label small { font-weight: 400; color: var(--muted); }
.form input:not([type=checkbox]):not([type=file]):not([type=hidden]), .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d6d0c4; border-radius: 4px;
  background: #fff; color: var(--ink); font: 400 15px var(--font); transition: border-color .15s, box-shadow .15s;
}
.form input[type=file] { display: block; margin-top: 6px; font-size: 13px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(94, 138, 55, .15); }
.form textarea { resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.form legend { font: 500 21px var(--font-head); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; color: var(--ink); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form .check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-items: end; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; align-items: end; }
@media (max-width: 600px) { .row2, .row3 { grid-template-columns: 1fr; } }
.hint { font-size: 13px; color: var(--muted); margin: -4px 0 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.drop { position: relative; display: block; border: 2px dashed #d6d0c4; padding: 26px 16px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover { border-color: var(--green); background: var(--soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.drop .i { width: 30px; height: 30px; color: var(--green); }
.drop small { font-weight: 400; color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.reg-head { margin-bottom: 22px; }
.reg-head h1 { text-transform: uppercase; letter-spacing: .03em; }
.panel.done { text-align: center; padding: 48px 24px; }
.panel.login { padding: 32px 28px; }
.mini-preview { width: 100%; max-width: 240px; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 14px; }

/* ---------- Panel de administración ---------- */
.admin { max-width: 1180px; }
.is-admin { background: var(--soft); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 34px; margin: 0; }
.page-head p { margin: 4px 0 0; }
.page-head .back { margin-bottom: 6px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr 1fr; } }
.kpi { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.kpi small { display: block; color: var(--muted); font-weight: 600; }
.kpi b { font: 500 30px var(--font-head); color: var(--ink); }
.kpi.attn { border-color: var(--terra); background: #fff4ef; }
.kpi.attn b { color: var(--terra); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--sand); border-radius: 8px; overflow-x: auto; }
.tabs a { padding: 7px 14px; border-radius: 6px; color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.tabs a span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.rows { display: grid; gap: 10px; }
.row-item { display: flex; align-items: center; gap: 14px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.row-item.past { opacity: .6; }
.row-thumb { flex: none; width: 72px; height: 72px; border-radius: 4px; overflow: hidden; background: var(--sand); display: grid; place-items: center; font-size: 30px; text-decoration: none; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-main { flex: 1; min-width: 0; }
.row-main p { margin: 0; }
.row-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 16px; }
.row-title a { color: var(--ink); text-decoration: none; }
.row-stats { display: flex; gap: 14px; margin-top: 4px !important; color: var(--muted); }
.row-stats span { display: inline-flex; align-items: center; gap: 4px; }
.row-stats .i { width: 15px; height: 15px; }
.row-actions { display: flex; align-items: center; gap: 6px; }
.row-actions form { display: flex; gap: 6px; }
@media (max-width: 680px) { .row-item { flex-wrap: wrap; } .row-actions { width: 100%; justify-content: flex-end; } }
.status { display: inline-flex; align-items: center; gap: 3px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.status.pending { background: #fff1d6; color: #8a5a00; }
.status.published { background: #e2f3e8; color: var(--ok); }
.status.hidden { background: #ece8e1; color: var(--muted); }
.status.feat { background: #fff4d1; color: #8a5f00; }
.status .i { width: 12px; height: 12px; fill: currentColor; }
.warn-txt { color: var(--warn); font-weight: 600; }

.edit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
@media (max-width: 900px) { .edit-grid { grid-template-columns: 1fr; } .edit-side { order: -1; } }
.panel.sticky { position: sticky; top: 80px; }
.photo-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 14px; }
.photo-admin figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.photo-admin img { width: 100%; height: 100%; object-fit: cover; }
.photo-admin figcaption { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 4px; }
.photo-admin .icon-btn { width: 32px; height: 32px; }
.cover-tag { position: absolute; top: 6px; left: 6px; padding: 2px 8px; background: var(--ochre); font-size: 11px; font-weight: 700; }
.review-admin { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.review-admin p { margin: 4px 0 0; font-size: 14px; }
.review-form { margin-top: 18px; }
.danger-zone { margin: 8px 0 0; text-align: right; }
.cat-rows { margin-bottom: 16px; }
.cat-row { display: grid; grid-template-columns: 64px 1fr 180px 70px 100px; gap: 10px; align-items: center; padding: 4px 0; }
.cat-row.head { font-size: 13px; color: var(--muted); font-weight: 600; }
.cat-row input, .cat-row select { margin-top: 0 !important; }
.cat-row span { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.cat-row.add { grid-template-columns: 64px 1fr 180px auto; }
@media (max-width: 700px) { .cat-row, .cat-row.add { grid-template-columns: 56px 1fr; } .cat-row.head { display: none; } }
.stop-rows { display: grid; gap: 10px; margin-bottom: 14px; }
.stop-row { display: grid; grid-template-columns: auto 1fr 90px auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stop-row label { margin: 0; }
.stop-add { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 18px; }
@media (max-width: 700px) { .stop-row { grid-template-columns: auto 1fr; } .stop-add { grid-template-columns: 1fr; } }
.img-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 16px; }
.img-slot { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.img-slot img { width: 110px; aspect-ratio: 4 / 3; object-fit: cover; flex: none; }
.img-slot .check { margin: 6px 0 0; font-size: 13px; }
.plain { list-style: none; padding: 0; margin: 0 0 16px; }
.admin-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- Pie ---------- */
.foot { background: #1f241b; color: rgba(255, 255, 255, .7); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 44px 16px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; font-size: 14px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand strong { color: #fff; font: 500 20px var(--font-head); text-transform: uppercase; letter-spacing: .05em; }
.foot-brand p { margin: 6px 0 0; max-width: 360px; }
.foot h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; }
.foot-nav { display: flex; flex-direction: column; gap: 6px; }
.foot-nav a, .foot-by a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.foot-nav a:hover, .foot-by a:hover { color: #fff; }
.foot-by { max-width: 1180px; margin: 0 auto; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

main.wide > .sec:last-child, .route-page { padding-bottom: 64px; }
.hero { grid-template-columns: minmax(0, 1fr); }
.hero-title { max-width: 100%; }
@media (max-width: 560px) { .hero-title { padding: 14px 16px 16px; } .hero-title span { font-size: clamp(40px, 13vw, 60px); } }

/* ---------- Guía turística: imperdibles, galería, videos, datos ---------- */
.prose-lg { max-width: 820px; margin: 0 auto; font-size: 16.5px; line-height: 1.85; }
.prose-lg p:first-child::first-letter { float: left; font: 500 64px/.85 var(--font-head); color: var(--green); margin: 6px 10px 0 0; }
.places { display: grid; gap: 22px; }
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: #fff; border: 1px solid var(--line); }
.place:nth-child(even) .place-media { order: 2; }
.place-media { position: relative; min-height: 320px; background: var(--sand); }
.place-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place-body { padding: 28px 30px; display: flex; flex-direction: column; gap: 6px; }
.place-body h3 { font-size: 26px; text-transform: uppercase; letter-spacing: .04em; }
.place-body h3::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 10px; background: var(--green-l); }
.place-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 6px 0 10px; }
.place-info div { padding: 8px 12px; background: var(--soft); border-left: 3px solid var(--terra); }
.place-info dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.place-info dd { margin: 0; font-size: 14px; color: var(--ink); font-weight: 600; }
.place-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
@media (max-width: 760px) { .place { grid-template-columns: 1fr; } .place:nth-child(even) .place-media { order: 0; } .place-media { min-height: 0; aspect-ratio: 16 / 10; } .place-body { padding: 20px; } }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; gap: 8px; }
.mosaic-item { padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.mosaic-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mosaic-item:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.videos.one { grid-template-columns: minmax(0, 860px); justify-content: center; }
.video { margin: 0; }
.video-facade, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; cursor: pointer; overflow: hidden; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .5s var(--ease); }
.video-facade:hover img { opacity: 1; transform: scale(1.03); }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-play svg { width: 68px; height: 48px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .4)); }
.video figcaption { padding: 10px 2px 0; font-size: 14px; color: var(--muted); }
.video figcaption strong { color: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { padding: 22px 20px; background: #fff; text-align: center; }
.fact b { display: block; font: 500 30px/1.1 var(--font-head); color: var(--ink); }
.fact span { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fact small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink2); }

.trips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.trip { padding: 22px; background: var(--soft); border-top: 4px solid var(--green-l); display: flex; flex-direction: column; gap: 6px; }
.trip h3 { text-transform: uppercase; letter-spacing: .05em; }
.trip b { font: 500 26px var(--font-head); color: var(--green2); }
.trip p { margin: 0; font-size: 14px; }
.trip .btn { margin-top: auto; align-self: flex-start; }

.calendar { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cal-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.cal-row b { font: 500 18px var(--font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--terra); }
.cal-row h3 { font-size: 19px; margin-bottom: 4px; }
.cal-row p { margin: 0; font-size: 14.5px; }
@media (max-width: 600px) { .cal-row { grid-template-columns: 1fr; gap: 4px; } }

.tips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.tips li { display: flex; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; }
.tips li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 13px; }
.sources { max-width: 820px; margin: 24px auto 0; font-size: 12.5px; color: var(--muted); }
.sources a { color: var(--muted); }
.guide-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 860px) { .guide-teaser { grid-template-columns: 1fr; } }
.guide-teaser > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.place.no-media { grid-template-columns: 1fr; }
.place.no-media .place-body { border-left: 4px solid var(--green-l); }
.sec-title.left { text-align: left; }
.sec-title.left::after { margin-left: 0; }

/* ---------- Evento destacado ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: #1f241b; color: rgba(255, 255, 255, .86); border-bottom: 5px solid var(--ochre); box-shadow: var(--shadow-lg); }
.spotlight-media { display: flex; align-items: center; background: #111; }
.spotlight-media img { width: 100%; height: auto; transition: opacity .2s; }
.spotlight-media[href]:hover img { opacity: .92; }
.spotlight-body { padding: 32px 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.spotlight-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; background: var(--ochre); color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.spotlight-badge .i { width: 14px; height: 14px; fill: currentColor; }
.spotlight h3 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); text-transform: uppercase; letter-spacing: .03em; margin: 10px 0 4px; }
.spotlight .event-date { color: var(--ochre); font-size: 14px; }
.spotlight .event-place { color: rgba(255, 255, 255, .85); }
.spotlight-desc p { font-size: 15px; margin: 0 0 8px; }
.countdown { display: flex; gap: 10px; margin: 10px 0 12px; }
.countdown div { min-width: 74px; padding: 8px 10px; text-align: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.countdown b { display: block; font: 500 30px/1 var(--font-head); color: #fff; }
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
.spotlight-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.spotlight .btn.outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.spotlight .btn.outline:hover { background: #fff; color: var(--ink); }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } .spotlight-media img { aspect-ratio: 1200 / 630; height: auto; } .spotlight-body { padding: 24px 20px; } }
