/* ============================================================
   Kolashanpan — estilos del sitio (HTML plano, sin build)
   ============================================================ */

@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Agrandir"; src: url("../fonts/Agrandir-GrandHeavy.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Agrandir"; src: url("../fonts/Agrandir-TextBold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Agrandir"; src: url("../fonts/Agrandir-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }

:root {
  --font-display: "Agrandir", "Segoe UI", sans-serif;
  --font-sans: "Segoe UI", system-ui, sans-serif;

  --sky: #1ba9e0;
  --sky-deep: #0d7fb0;
  --sun: #ff7a00;
  --sun-deep: #e86a00;
  --sun-ring: #ffd447;
  --cherry: #e0202f;
  --cherry-deep: #b0101d;
  --leaf: #86c440;
  --leaf-deep: #5b9b25;
  --royal: #1d4fa6;
  --royal-deep: #163e85;
  --cream: #fff8ea;
  --ink: #16233a;

  --radius-card: 1.75rem;
  --maxw: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.font-display { font-family: var(--font-display); }
.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;
}
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }

/* ---------- Fondo: colores sólidos de la lata (azul y naranja), alternados por sección ---------- */
body { background: var(--sky); }

/* ---------- Reveal al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(2.5rem); transition: opacity .7s ease-out, transform .7s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Navbar ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  /* vidrio (glass), igual que los recuadros de texto */
  background: rgba(22,35,58,.38);
  border-bottom: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 10px 30px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
/* páginas de fondo claro (eventos): un poco de tinte oscuro para que el texto blanco se lea */
.site-header.is-solid { background: rgba(22,35,58,.38); }
.nav {
  position: relative; max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; justify-content: flex-start;
  min-height: 3.25rem; padding: .75rem 1.25rem;
}
.nav-logo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: .25rem .5rem; text-decoration: none;
  font-family: var(--font-title); font-weight: 400; font-size: 1.5rem;
  letter-spacing: .03em; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.35);
}
.nav-drawer a {
  position: relative; text-decoration: none;
  font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em;
  color: #fff; transition: color .2s;
}
.nav-drawer a:hover { background: rgba(255,255,255,.14); }
.nav-drawer a.is-active { background: rgba(255,255,255,.24); }

.nav-toggle {
  position: relative; z-index: 1; display: flex; align-items: center; padding: 0; background: none; border: 0; cursor: pointer;
}
.nav-toggle img {
  height: 2.5rem; width: auto; transform-origin: 50% 90%;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); transition: transform .3s;
}
.nav-toggle:hover img { transform: rotate(-8deg); }
.nav-toggle[aria-expanded="true"] img { transform: rotate(-16deg) scale(1.08); }

.nav-drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease-in-out; }
.nav-drawer.is-open { grid-template-rows: 1fr; }
.nav-drawer ul {
  overflow: hidden; list-style: none; margin: 0; padding: 0;
  background: rgba(22,35,58,.28); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.nav-drawer.is-open ul { border-top: 1px solid rgba(255,255,255,.18); }
.nav-drawer a { text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.nav-drawer a { display: block; padding: .75rem 1.25rem; }

/* ---------- Redes sociales (lateral) y volver arriba ---------- */
.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: 50%; background: var(--cherry); color: #fff;
  box-shadow: 0 10px 15px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(.75rem); pointer-events: none;
  transition: opacity .3s, transform .3s, background-color .2s;
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--cherry-deep); }
.back-to-top svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 768px) { .back-to-top { right: 2rem; bottom: 2rem; } }

/* ---------- Hero (solo video) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; min-height: 88vh; padding-top: 4rem;
}
@media (min-width: 768px) { .hero { padding-top: 5rem; } }
.hero video { position: absolute; inset: 0; z-index: -10; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -10;
  background: linear-gradient(to bottom, rgba(22,35,58,.4), transparent, rgba(22,35,58,.5));
}
.hero-sound {
  position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 10;
  display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: 50%; color: #fff; background: rgba(22,35,58,.4);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .2s;
}
.hero-sound:hover { background: rgba(22,35,58,.6); }
.hero-sound svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 768px) { .hero-sound { right: 2rem; bottom: 2rem; } }

/* ---------- Sabor que nos identifica ---------- */
.sabor {
  position: relative; overflow: hidden; padding: 4rem 0;
  background: linear-gradient(to bottom, var(--sky), var(--sky-deep), var(--leaf-deep));
}
@media (min-width: 768px) { .sabor { padding: 5rem 0; } }
.sabor-grid { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr; align-items: center; gap: 1.5rem; }
@media (min-width: 768px) { .sabor-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.sabor-can { position: relative; display: flex; justify-content: center; }
@media (min-width: 768px) { .sabor-can { justify-content: flex-start; } }
.sabor-glow {
  position: absolute; width: 24rem; height: 24rem; border-radius: 50%;
  background: rgba(255,255,255,.2); filter: blur(40px);
}
@media (min-width: 768px) { .sabor-glow { width: 36rem; height: 36rem; } }
.float { animation: float 4.5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.can-wrap { position: relative; transform: rotate(-6deg); transition: transform .5s; }
.can-wrap:hover { transform: rotate(0); }
.can-wrap img { position: relative; width: 24rem; filter: drop-shadow(0 35px 35px rgba(0,0,0,.4)); }
@media (min-width: 640px) { .can-wrap img { width: 28rem; } }
@media (min-width: 768px) { .can-wrap img { width: 34rem; } }
@media (min-width: 1024px) { .can-wrap img { width: 38rem; } }
.droplets { position: absolute; inset: 0; pointer-events: none; }
.droplets span {
  position: absolute; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 22%, rgba(200,235,250,.25) 45%, rgba(120,180,210,.15) 70%, rgba(80,140,180,.05) 100%);
  box-shadow: 0 1px 2px rgba(0,40,70,.25);
}
.sabor-card {
  position: relative; text-align: left; padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-card);
  background: rgba(255,255,255,.1); box-shadow: 0 25px 50px rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
@media (min-width: 768px) { .sabor-card { padding: 1.75rem; } }
.badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .25rem 1rem; border-radius: 9999px;
  background: var(--cherry); color: #fff; box-shadow: 0 4px 6px rgba(0,0,0,.2);
  font-family: var(--font-display); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
}
.sabor-card h2 {
  margin-top: 1rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 800;
  line-height: .95; letter-spacing: -.025em; color: #fff; text-shadow: 0 3px 6px rgba(0,0,0,.3);
}
@media (min-width: 768px) { .sabor-card h2 { font-size: 2.25rem; } }
.sabor-card p.lead { margin-top: 1rem; font-size: 1rem; line-height: 1.625; color: rgba(255,255,255,.9); }
.sabor-flag {
  margin-top: 1.25rem; display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border-radius: 1rem; background: rgba(22,35,58,.2);
}
.sabor-flag svg { width: 3rem; height: 2rem; flex-shrink: 0; border-radius: 3px; box-shadow: inset 0 2px 4px rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.4); }
.sabor-flag p { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--sun); }

/* ---------- 2.º video: ocupa todo el ancho ---------- */
.video-full { position: relative; overflow: hidden; height: 100vh; height: 100svh; background: #000; }
@media (orientation: portrait) { .video-full { height: auto; aspect-ratio: 16 / 9; } }
.video-full video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Títulos de sección ---------- */
.section-title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(2rem, 10.5vw, 3rem); line-height: 1; text-align: center; overflow-wrap: break-word;
}
.eyebrow {
  display: block; text-align: center; font-family: var(--font-display); font-size: .875rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .3em; color: var(--cherry);
}
@media (min-width: 768px) { .section-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .section-title { font-size: 4.5rem; } }

/* ---------- Actividades (calendario) ---------- */
.actividades {
  padding: 5rem 0; background: rgba(13,127,176,.7);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.actividades .section-title { color: #fff; }
.act-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .act-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.act-col { display: flex; flex-direction: column; }
.cal {
  padding: 1rem; border-radius: 1rem; background: rgba(255,255,255,.1);
  box-shadow: 0 4px 6px rgba(0,0,0,.15); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.cal-nav {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 1.75rem; height: 1.75rem;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background-color .2s;
}
.cal-nav:hover { background: rgba(255,255,255,.25); }
.cal-title { font-family: var(--font-display); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--sun); text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem; }
.cal-dow { text-align: center; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.5); }
.cal-day {
  position: relative; display: flex; align-items: center; justify-content: center; height: 2.25rem;
  border: 0; border-radius: .5rem; background: transparent; color: rgba(255,255,255,.85);
  font-size: .875rem; cursor: default; transition: background-color .2s;
}
@media (min-width: 768px) { .cal-day { height: 2.5rem; } }
.cal-day.is-empty { visibility: hidden; }
.cal-day.has-event { cursor: pointer; font-family: var(--font-display); font-weight: 700; background: var(--cherry); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.cal-day.has-event:hover { background: var(--cherry-deep); }
.cal-day.is-selected { background: var(--sun); color: var(--ink); box-shadow: 0 4px 6px rgba(0,0,0,.2); }
.cal-day.is-today { box-shadow: 0 0 0 2px var(--sun); }
.cal-day.is-today.has-event { box-shadow: 0 0 0 2px #fff; }
.cal-day.is-today.is-selected { box-shadow: 0 0 0 2px #fff, 0 4px 6px rgba(0,0,0,.2); }
.cal-day .star { position: absolute; right: -4px; top: -4px; width: .875rem; height: .875rem; color: var(--sun); filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
.cal-day.is-selected .star { color: var(--cherry); }
.cal-day .today-dot { position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: #fff; }

.cal-detail {
  margin-top: 1rem; flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 1.25rem; border-radius: 1rem; text-align: left; background: rgba(255,255,255,.1);
  box-shadow: 0 4px 6px rgba(0,0,0,.15); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.cal-detail .hint { font-size: .875rem; color: rgba(255,255,255,.6); }
.cal-detail .ev-title { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: #fff; }
.cal-detail .ev-title .star-ico { color: var(--sun); }
.cal-detail .ev-place { margin-top: .25rem; font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; color: var(--sun); }
.cal-detail .ev-desc { margin-top: .75rem; font-size: .875rem; line-height: 1.625; color: rgba(255,255,255,.85); }
.ev-actions { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ev-how { display: flex; align-items: center; gap: .5rem; }
.ev-how span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; color: rgba(255,255,255,.6); }
.ev-how a { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; transition: background-color .2s, filter .2s; }
.ev-how a img { width: 1.25rem; height: 1.25rem; }
.ev-how a.gmaps { background: rgba(255,255,255,.9); }
.ev-how a.gmaps:hover { background: #fff; }
.ev-how a.waze { background: #4dc7f0; }
.ev-how a.waze:hover { filter: brightness(1.1); }
.btn-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 0; border-radius: 9999px;
  background: var(--sun); color: var(--ink); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em;
  text-decoration: none; transition: background-color .2s;
}
.btn-pill:hover { background: #fff; }

.video-col { display: flex; align-items: center; justify-content: center; }
.video-box {
  position: relative; width: 100%; max-width: 320px; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: var(--radius-card); box-shadow: 0 25px 50px rgba(0,0,0,.25);
}
.video-box video, .video-box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
.video-play .veil { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(22,35,58,.2); }
.video-play .btn {
  display: flex; align-items: center; justify-content: center; width: 5rem; height: 5rem; border-radius: 50%;
  background: var(--cherry); color: #fff; box-shadow: 0 20px 25px rgba(0,0,0,.25); transition: transform .2s;
}
@media (min-width: 768px) { .video-play .btn { width: 6rem; height: 6rem; } }
.video-play:hover .btn { transform: scale(1.1); }
.video-play .btn svg { width: 2.25rem; height: 2.25rem; margin-left: .25rem; }

/* ---------- Ruta Kolashanpan (blog) ---------- */
.ruta-teaser, .ruta-page { background: #2c28d7; }
.ruta-teaser { padding: 5rem 0; }
.ruta-teaser .container { max-width: 80rem; }
.ruta-teaser .intro-card { max-width: none; }
.ruta-row { margin-top: 2.5rem; }
.ruta-row .post-car { margin-top: 0; }
.ruta-page { min-height: 100vh; padding: 7rem 0 5rem; }

/* Intro de la ruta: un solo recuadro con el texto y el video de la lata */
.intro-card.has-video { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: center; max-width: 66rem; }
.intro-card.has-video > * { min-width: 0; }
@media (min-width: 900px) { .intro-card.has-video { grid-template-columns: minmax(0, 1fr) 17rem; gap: 2.25rem; } }
.intro-card .video-box video { pointer-events: none; -webkit-user-select: none; user-select: none; }
.intro-card .video-box { max-width: 17rem; border-radius: 1.25rem; box-shadow: 0 15px 30px rgba(0,0,0,.3); }
.intro-card .video-play .btn { width: 4rem; height: 4rem; }
.intro-card .video-play .btn svg { width: 1.75rem; height: 1.75rem; }

/* Recuadro tipo glass (mismo estilo que el de "Sabor que nos identifica") */
.intro-card {
  max-width: 50rem; margin-inline: auto; padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-card);
  background: rgba(255,255,255,.12); box-shadow: 0 25px 50px rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
@media (min-width: 768px) { .intro-card { padding: 2.25rem 2.5rem; } }
.intro-card .eyebrow { color: #fff; opacity: .9; }

/* Página de la ruta: título en blanco sobre el azul y recuadro blanco con el texto */
.ruta-page .container { max-width: 80rem; }
.ruta-head { margin: 0 auto 2rem; text-align: center; }
.ruta-page .intro-card.has-video { max-width: none; }
.ruta-head .eyebrow { color: #fff; opacity: .95; }
.ruta-head .ruta-title { color: #fff; text-shadow: 0 3px 8px rgba(0,0,0,.25); font-size: clamp(1.75rem, 7vw, 6rem); }
@media (min-width: 640px) { .ruta-head .ruta-title { white-space: nowrap; } }
.intro-card.is-white {
  background: #fff; border-color: transparent; box-shadow: 0 20px 40px rgba(0,0,0,.18);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.intro-card.is-white .ruta-intro { margin-top: 0; }
.intro-card.is-white .ruta-intro p { color: var(--ink); font-size: clamp(1.0625rem, 1.55vw, 1.5rem); line-height: 1.65; }
.intro-card.is-white .ruta-intro .cta { font-size: clamp(1.15rem, 1.7vw, 1.65rem); }
.intro-card.is-white .intro-text { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
.intro-card.is-white .intro-text .ruta-intro { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.intro-card.is-white .ruta-intro p { margin: 0; }
.intro-card.is-white .ruta-intro .cta { color: var(--royal); }
.intro-card .ruta-title {
  color: #fff; text-shadow: 0 3px 8px rgba(0,0,0,.25);
  font-size: clamp(1.9rem, 9vw, 2.75rem); overflow-wrap: normal; word-break: normal;
}
@media (min-width: 1100px) { .intro-card .ruta-title { font-size: 3.25rem; } }
.ruta-sub { margin-top: .75rem; text-align: center; white-space: nowrap; font-size: clamp(.8rem, 3.7vw, 1.5rem) !important; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: #fff; }
.ruta-intro { margin-top: 1.5rem; }
.ruta-intro p { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.7; color: #fff; text-align: justify; hyphens: manual; }
.ruta-intro .cta { margin-top: 1.5rem; text-align: center; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: #fff; }

.post-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; background: #fff;
  border-radius: var(--radius-card); box-shadow: 0 10px 25px rgba(0,0,0,.12); transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 35px rgba(0,0,0,.18); }
.post-card .thumb { position: relative; height: 14rem; overflow: hidden; background: linear-gradient(135deg, var(--sky), var(--royal)); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .5s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .thumb .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.post-card .thumb .ph img { width: auto; height: 85%; object-fit: contain; filter: drop-shadow(0 10px 15px rgba(0,0,0,.3)); transform: rotate(-8deg); }
.post-card:hover .thumb .ph img { transform: rotate(-8deg) scale(1.05); }
.post-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.post-cat {
  align-self: flex-start; padding: .25rem .75rem; border-radius: 9999px; background: var(--cherry); color: #fff;
  font-family: var(--font-display); font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em;
}
.post-card h3 { margin-top: .75rem; font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: var(--royal); }
.post-card p { margin-top: .75rem; flex: 1; font-size: .9375rem; line-height: 1.6; color: rgba(22,35,58,.75); }
.post-link { margin-top: 1rem; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--cherry); }
.empty-msg { grid-column: 1 / -1; padding: 3rem 0; text-align: center; color: rgba(22,35,58,.6); }
.teaser-more { margin-top: 2.5rem; text-align: center; }
.teaser-more .btn-pill { padding: .75rem 1.5rem; font-size: .875rem; background: var(--cherry); color: #fff; }
.teaser-more .btn-pill:hover { background: var(--cherry-deep); }

.post-wrap { max-width: 48rem; margin-inline: auto; }
.post-back { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; font-weight: 700; text-decoration: none; color: #fff; }
.post-back::before { content: "←"; }
.post-back:hover { opacity: .8; }
.post-article { padding: 1.5rem; border-radius: var(--radius-card); background: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.12); }
@media (min-width: 768px) { .post-article { padding: 2.5rem; } }
.post-article h1 { margin-top: 1rem; font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--royal); }
@media (min-width: 768px) { .post-article h1 { font-size: 3rem; } }
.post-meta { margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .875rem; color: rgba(22,35,58,.6); }
.post-video { position: relative; margin: 1.5rem auto 0; width: min(100%, 24rem); }
.post-video .post-sound { right: .75rem; bottom: 4.5rem; }
.post-video iframe { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 80vh; border: 0; border-radius: 1rem; background: #000; }
.post-cover { width: 100%; margin-top: 1.5rem; border-radius: 1rem; max-height: 28rem; object-fit: cover; object-position: center 25%; }
.post-content { margin-top: 1.75rem; font-size: 1.0625rem; line-height: 1.85; }
.post-content p { margin: 0 0 1.1rem; text-align: justify; hyphens: manual; }
.post-content h2 { margin: 2rem 0 .75rem; font-family: var(--font-display); font-size: 1.625rem; font-weight: 800; line-height: 1.15; color: var(--sky-deep); }
.post-content h3 { margin: 1.5rem 0 .5rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--royal); }
.post-content img { max-width: 100%; height: auto; border-radius: 1rem; margin: 1rem 0; }
.post-content ul, .post-content ol { margin: 0 0 1.1rem; padding-left: 1.5rem; }
.post-content strong { color: var(--royal); }
.post-content a { color: var(--cherry); }
.post-nav { margin-top: 2rem; display: flex; justify-content: center; }
.btn-next {
  display: inline-flex; align-items: center; padding: .875rem 2rem; border-radius: 9999px; text-decoration: none;
  background: var(--cherry); color: #fff; font-family: var(--font-display); font-size: .9375rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; box-shadow: 0 10px 20px rgba(224,32,47,.3); transition: background-color .2s, transform .2s;
}
.btn-next:hover { background: var(--cherry-deep); transform: translateY(-2px); }
.post-gallery-wrap h2 { margin: 2rem 0 .75rem; font-family: var(--font-display); font-size: 1.625rem; font-weight: 800; line-height: 1.15; color: var(--sky-deep); }
.carousel { position: relative; }
.car-track { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
.car-track img {
  flex: 0 0 78%; aspect-ratio: 3 / 4; width: 78%; height: auto; object-fit: cover; object-position: center 25%;
  border-radius: .875rem; cursor: zoom-in; scroll-snap-align: start; box-shadow: 0 4px 6px rgba(0,0,0,.15);
}
@media (min-width: 640px) { .car-track img { flex-basis: calc((100% - 1.5rem) / 3); width: calc((100% - 1.5rem) / 3); } }
.car-btn {
  position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; padding: 0 0 .2rem; border: 0; border-radius: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.92); color: var(--royal); font-size: 1.75rem; line-height: 1;
  box-shadow: 0 6px 12px rgba(0,0,0,.25); transition: background-color .2s, color .2s;
}
.car-btn:hover { background: var(--cherry); color: #fff; }
/* Videos de YouTube (Shorts): sustituyen a la foto de la card */
.post-card .thumb.is-video { height: 24rem; background: #000; }
.post-card .card-sound { right: .75rem; bottom: .75rem; z-index: 3; }
.yt-box { position: absolute; inset: 0; overflow: hidden; background: #000 center / cover no-repeat; }
.yt-box iframe {
  position: absolute; top: 38%; left: 50%; width: 100%; aspect-ratio: 9 / 16; height: auto; min-height: 100%;
  transform: translate(-50%, -38%); border: 0; pointer-events: none;
}

/* Tarjetas de la ruta en el home */
.post-car { margin-top: 3rem; }
.car-track.cards { gap: 1.5rem; padding: .75rem .25rem 1.75rem; }
.car-track.cards .post-card { flex: 0 0 82%; scroll-snap-align: start; }
@media (min-width: 640px) { .car-track.cards .post-card { flex-basis: calc((100% - 1.5rem) / 2.2); } }
@media (min-width: 1024px) { .car-track.cards .post-card { flex-basis: calc((100% - 3rem) / 3); } }
.post-car .car-btn { top: calc(50% - .5rem); }
.post-car .car-btn.prev { left: -.75rem; }
.post-car .car-btn.next { right: -.75rem; }
.car-btn.prev { left: -.5rem; }
.car-btn.next { right: -.5rem; }

/* ---------- Eventos (galería) ---------- */
.eventos-page { min-height: 100vh; padding: 7rem 0 5rem; background: rgba(255,248,234,.75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.eventos-page .section-title { color: var(--sky-deep); }
.tabs { margin-top: 2rem; display: flex; justify-content: center; }
.tabs-inner { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: 9999px; background: #fff; box-shadow: 0 4px 6px rgba(0,0,0,.15); }
.tab {
  padding: .5rem 1.5rem; border: 0; border-radius: 9999px; background: transparent; color: rgba(22,35,58,.6);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .025em; transition: color .2s, background-color .2s;
}
.tab:hover { color: var(--cherry); }
.tab.is-active { background: var(--cherry); color: #fff; box-shadow: 0 4px 6px rgba(224,32,47,.3); }
.gal-info { margin-top: 1.5rem; text-align: center; }
.gal-info .tag { font-family: var(--font-display); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .25em; color: var(--sun-deep); }
.gal-info p.blurb { max-width: 42rem; margin: .5rem auto 0; color: rgba(22,35,58,.75); }
.gallery { margin-top: 2.5rem; column-count: 2; column-gap: .75rem; }
@media (min-width: 640px) { .gallery { column-count: 3; } }
@media (min-width: 768px) { .gallery { column-count: 4; } }
.gallery button { display: block; width: 100%; margin: 0 0 .75rem; padding: 0; border: 0; overflow: hidden; border-radius: .75rem; box-shadow: 0 4px 6px rgba(0,0,0,.15); break-inside: avoid; background: none; }
.gallery img { width: 100%; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,.9); }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: .5rem; object-fit: contain; }
.lightbox-close { position: absolute; right: 1.25rem; top: 1.25rem; border: 0; background: none; color: rgba(255,255,255,.8); font-size: 2.25rem; line-height: 1; }
.lightbox-close:hover { color: #fff; }

/* ---------- Contáctanos ---------- */
.contacto { padding: 3rem 0 3.5rem; background: var(--sun); text-align: center; }
.ct-tag { font-family: var(--font-title); font-size: clamp(1.1rem, 2.2vw, 1.6rem); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.ct-title {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 0 .2em; margin: 1rem 0 2.25rem;
  font-family: var(--font-title); font-weight: 400; text-transform: uppercase; line-height: 1; white-space: nowrap;
  font-size: min(6.3vw, 6.5rem);
}
.ct-white { color: #f1f4f5; }
.ct-blue { color: #0a4fe0; }
.ct-can { height: 1.9em; width: auto; flex-shrink: 0; filter: drop-shadow(0 12px 14px rgba(0,0,0,.28)); }
.ct-cols { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 4rem; text-align: left; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.c-icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 3.25rem; height: 3.25rem;
  border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink);
  box-shadow: 0 10px 15px rgba(0,0,0,.2); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.c-icon svg { width: 1.4rem; height: 1.4rem; }
.c-text strong { display: block; font-size: 1.125rem; font-weight: 800; color: #fff; }
.c-text span { display: block; color: rgba(255,255,255,.95); line-height: 1.6; overflow-wrap: anywhere; }

/* ---------- Pie ---------- */
.site-footer { padding: 1.5rem 0; text-align: center; font-size: .75rem; color: rgba(255,255,255,.8); background: #2c28d7; border-top: 1px solid rgba(255,255,255,.3); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .float { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Videos de YouTube a todo el ancho ---------- */
.yt-bg-frame { position: absolute; inset: 0; z-index: -10; overflow: hidden; background: #000; container-type: size; }
.yt-bg-frame iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 0; pointer-events: none;
  /* un poco más grande que el cuadro para dejar fuera los rótulos de YouTube */
  width: calc(max(100cqw, 177.78cqh) * 1.15); height: calc(max(100cqh, 56.25cqw) * 1.15);
}
.video-full .yt-bg-frame { z-index: 0; }
.video-full .hero-sound { z-index: 10; }

/* ---------- Títulos en Anton ---------- */
:root { --font-title: "Anton", Impact, "Arial Narrow", sans-serif; }
.section-title, .ruta-head h1, .post-card h3, .post-article h1, .post-content h2, .post-content h3, .post-gallery-wrap h2 {
  font-family: var(--font-title); font-weight: 400; letter-spacing: .01em;
}

/* Contáctanos en móvil: título apilado y datos alineados */
@media (max-width: 767px) {
  .ct-title { flex-direction: column; gap: .15em; font-size: 15vw; margin: .75rem 0 1.5rem; }
  .ct-can { height: 5.5rem; }
  .ct-cols { flex-direction: column; align-items: flex-start; width: fit-content; max-width: 100%; margin: 0 auto; gap: 1.25rem; }
}
@media (max-width: 767px) {
  .ct-cols { flex-direction: row; flex-wrap: nowrap; align-items: flex-start; justify-content: center; width: 100%; gap: .75rem; }
  .ct-cols .contact-info-item { flex: 1 1 0; min-width: 0; flex-direction: column; align-items: center; text-align: center; gap: .6rem; }
  .ct-cols .c-icon { width: 2.75rem; height: 2.75rem; }
  .ct-cols .c-text strong { font-size: 1rem; }
  .ct-cols .c-text span { font-size: .8125rem; }
}
@media (max-width: 767px) {
  .ct-can { height: 9.5rem; }
  .ct-cols { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; width: fit-content; max-width: 100%; margin: 0 auto; gap: 1.25rem; }
  .ct-cols .contact-info-item { flex: none; flex-direction: row; align-items: center; text-align: left; gap: 1rem; min-width: 0; }
  .ct-cols .c-icon { width: 3rem; height: 3rem; }
  .ct-cols .c-text strong { font-size: 1.0625rem; }
  .ct-cols .c-text span { font-size: .9rem; overflow-wrap: anywhere; }
}

/* ---------- Síguenos en redes sociales ---------- */
.follow { padding: 4rem 0; background: #2c28d7; text-align: center; color: #fff; }
.follow .section-title { color: #fff; }
.follow-sub { margin-top: .75rem; font-weight: 700; }
.follow-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.follow-links a {
  display: inline-flex; align-items: center; gap: .6rem; min-width: 11.5rem; justify-content: center; padding: .85rem 1.5rem;
  border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 700;
  text-decoration: none; transition: background-color .2s, transform .2s;
}
.follow-links a:hover { background: rgba(255,255,255,.32); transform: translateY(-2px); }
.follow-links svg { width: 1.25rem; height: 1.25rem; }
.follow .ct-cols { margin-top: 1.75rem; }
@media (max-width: 767px) { .follow .ct-cols { margin: 1.5rem auto 0; } }
.contacto .follow-links { margin-top: 0; }
