/* =========================================================
   FMCOF · Movimiento Cultural Oriente Firme
   Hoja de estilos pública
   ========================================================= */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-900.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --paper: #f3f1ec;
  --sand: #e8e3d8;
  --white: #ffffff;
  --ink: #141414;
  --ink-2: #1e1e1e;
  --muted: #5a5650;
  --line: rgba(20, 20, 20, .14);
  --line-light: rgba(255, 255, 255, .18);
  --purple: #8b2fc9;
  --purple-deep: #5c1c88;
  --purple-soft: #efe3f7;
  --yellow: #ffe100;
  --sky: #7fc8f8;
  --blue: #1b3fd1;
  --red: #d0121b;
  --river: #0c3a3e;
  --river-2: #145a5f;
  --mint: #a6ead0;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-hard: 8px 8px 0 var(--ink);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .section--purple :focus-visible, .section--river :focus-visible, .footer :focus-visible { outline-color: var(--yellow); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--big { width: 44px; height: 44px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .95em 1.4em; border-radius: 999px; border: 2px solid var(--ink); font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; white-space: nowrap; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--small { padding: .7em 1.1em; font-size: .9rem; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--purple); border-color: var(--purple); }
.btn--purple { background: var(--purple); border-color: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.btn--purple:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.section--ink .btn--ghost, .section--purple .btn--ghost { color: var(--white); border-color: var(--white); }
.section--ink .btn--ink { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.section--ink .btn--ink:hover { background: var(--white); border-color: var(--white); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cabecera ---------- */
/* El desenfoque va en un pseudoelemento: así el menú móvil (position: fixed) se coloca respecto a la ventana */
.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s; }
.topbar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(243, 241, 236, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: background .3s; }
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar.is-scrolled::before { background: rgba(243, 241, 236, .96); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand img { width: auto; height: 46px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; gap: 4px; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
.nav ul a:hover { background: var(--ink); color: var(--white); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); position: relative; z-index: 60; }
.burger__bars, .burger__bars::before, .burger__bars::after { position: absolute; left: 50%; width: 18px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), background .2s; content: ""; }
.burger__bars { top: 50%; transform: translate(-50%, -50%); }
.burger__bars::before { left: 0; transform: translateY(-6px); }
.burger__bars::after { left: 0; transform: translateY(6px); }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0; z-index: 55; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; padding: 96px var(--gutter) 40px; background: var(--ink); color: var(--white); transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav ul a { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 9vw, 3.2rem); letter-spacing: -.03em; padding: 4px 0; border-radius: 0; }
  .nav ul a:hover { background: none; color: var(--yellow); }
  .nav__cta { background: var(--yellow); color: var(--ink); border-color: var(--yellow); font-size: 1rem; padding: .9em 1.4em; }
  body.menu-open { overflow: hidden; }
  body.menu-open .burger { background: var(--yellow); border-color: var(--yellow); }
}

/* ---------- Tipos de sección ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 136px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--white); }
.section--purple { background: var(--purple); color: var(--white); }
.section--river { background: var(--river); color: var(--white); padding-top: clamp(96px, 12vw, 160px); }

.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 820px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow a { text-decoration: none; }
.eyebrow__num { display: inline-grid; place-items: center; min-width: 40px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-family: var(--display); font-weight: 700; letter-spacing: 0; font-size: .8rem; }
.section-head--light .eyebrow__num { background: var(--yellow); color: var(--ink); }
.section-title { font-family: var(--display); font-weight: 900; font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.section-title--light { color: var(--white); margin-bottom: 28px; }
.subhead { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; margin: clamp(56px, 8vw, 96px) 0 24px; padding-top: 24px; border-top: 2px solid var(--ink); }

.head-row { display: grid; gap: 8px 48px; grid-template-columns: 1fr; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.head-row .section-head { margin-bottom: 0; }
@media (min-width: 900px) { .head-row { grid-template-columns: 1.3fr 1fr; } .head-row__text { padding-bottom: 8px; } }

.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-family: var(--display); font-weight: 900; font-size: 1.7rem; letter-spacing: -.02em; margin: 1.8em 0 .5em; }
.prose h3 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin: 1.5em 0 .4em; }
.prose h4 { font-weight: 600; margin: 1.2em 0 .3em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.4em 0; padding-left: 1em; border-left: 4px solid var(--purple); font-size: 1.15em; }
.prose a { color: var(--purple); font-weight: 600; }
.prose--light a { color: var(--yellow); }
.prose--lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }
.prose--lead strong { background: linear-gradient(transparent 62%, var(--yellow) 62%); color: var(--ink); padding: 0 .1em; }
.prose--light.prose--lead strong { background: none; color: var(--yellow); }
.prose--light { color: rgba(255, 255, 255, .86); }
.prose--doc h2:first-child { margin-top: 0; }
mark.pending { background: #ffe9a8; color: #6b4a00; padding: 0 .3em; border-radius: 4px; font-weight: 600; }

.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; vertical-align: middle; }
.tag--purple { background: var(--purple); color: var(--white); }
.tag--yellow { background: var(--yellow); color: var(--ink); }

/* Distintivo del tipo de imagen (fotografía / referencia / propuesta) */
.kind { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; line-height: 1.2; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.15); pointer-events: none; }
.kind::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.kind--propuesta { background: var(--yellow); }
.kind--propuesta::before { background: var(--ink); }
.kind--foto { background: var(--purple); color: var(--white); }
.kind--foto::before { background: var(--white); }
.kind--video { position: static; background: var(--ink); color: var(--white); box-shadow: none; }
.kind--video::before { background: var(--red); }

.note { display: flex; align-items: center; gap: 10px; margin: 32px 0 0; font-size: .95rem; color: var(--muted); }
.note .icon { color: var(--purple); }
.note--small { font-size: .82rem; margin-top: 10px; }

/* ---------- Portada ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 0; overflow: hidden; background-color: var(--paper); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; background-position: -1px -1px; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 25% 40%, var(--paper) 30%, rgba(243,241,236,.6) 60%, rgba(243,241,236,0) 85%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 28px 56px; align-items: center; padding-bottom: clamp(56px, 7vw, 88px); }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1fr 1.05fr; } .hero__head { grid-column: 1 / -1; } .hero__visual { margin-top: -8px; } }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font-size: .82rem; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px var(--purple-soft); }
.hero__title { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .93; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.hero__line { display: block; }
.hero__line--accent { color: var(--purple); }
.hero__project { display: inline-block; margin-bottom: 14px; padding-bottom: 4px; border-bottom: 3px solid var(--yellow); font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.2rem); letter-spacing: -.01em; }
.hero__sub { max-width: 540px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #3c3934; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; }
.hero__frame { position: relative; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: 12px 12px 0 var(--purple); transform: rotate(1.5deg); }
.hero__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero__stickers { position: absolute; left: -10px; bottom: -22px; display: flex; flex-wrap: wrap; gap: 8px; transform: rotate(-3deg); }
.sticker { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: .85rem; }
.sticker .icon { width: 1em; height: 1em; }
.sticker--yellow { background: var(--yellow); }
.sticker--ink { background: var(--ink); color: var(--white); }
@media (max-width: 999px) { .hero__stickers { left: 8px; } .hero__frame { transform: rotate(1deg); box-shadow: 8px 8px 0 var(--purple); } }

.marquee { position: relative; z-index: 1; overflow: hidden; background: var(--ink); color: var(--yellow); border-top: 2px solid var(--ink); }
.marquee::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--sky) 0 25%, var(--yellow) 25% 50%, var(--blue) 50% 75%, var(--red) 75%); }
.marquee__track { display: flex; width: max-content; padding: 22px 0 18px; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--display); font-weight: 900; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -.02em; text-transform: uppercase; padding: 0 22px; white-space: nowrap; }
.marquee__track span::after { content: "✶"; margin-left: 44px; color: var(--white); font-size: .7em; vertical-align: .2em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- El proyecto ---------- */
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.keys { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.key { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.key__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--white); border: 1.5px solid var(--ink); color: var(--purple); }
.key__icon .icon { width: 24px; height: 24px; }
.key__title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; }
.key__text p { margin: 0; color: var(--muted); font-size: .98rem; }

.objectives { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.objective { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--white); border: 1.5px solid var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.objective:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.objective__num { position: absolute; right: 20px; top: 18px; font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.objective__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: var(--white); margin-bottom: 18px; }
.objective__icon .icon { width: 22px; height: 22px; }
.objective__title { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: 6px; }
.objective__text p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Deporte ---------- */
.sports { display: grid; gap: 20px; }
@media (min-width: 760px) { .sports { grid-template-columns: 1fr 1fr; } }
.sport { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-light); transition: border-color .3s; }
.sport:hover { border-color: var(--yellow); }
.sport__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #2a2a2a; }
.sport__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transform: scale(1.01); transition: transform .8s var(--ease), filter .5s; }
.sport:hover .sport__img { transform: scale(1.06); filter: grayscale(0) contrast(1.05); }
.sport__ph { display: grid; place-items: center; height: 100%; color: var(--yellow); }
.sport__ph .icon { width: 72px; height: 72px; }
.sport__num { position: absolute; right: 16px; bottom: -10px; font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 9vw, 6.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .85); pointer-events: none; }
.sport__body { padding: 24px 26px 28px; }
.sport__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .85rem; color: rgba(255,255,255,.66); }
.sport__title { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.03em; margin-bottom: 12px; }
.sport__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); flex: none; }
.sport__icon .icon { width: 24px; height: 24px; }
.sport__text { font-size: 1rem; }

/* ---------- Cultura ---------- */
.section--purple { background-color: var(--purple); background-image: radial-gradient(circle at 85% 15%, rgba(255,255,255,.12), transparent 40%), radial-gradient(circle at 10% 90%, rgba(0,0,0,.18), transparent 45%); }
.culture { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .culture { grid-template-columns: 1.2fr 1fr; gap: 72px; } }
.stage { display: flex; gap: 18px; margin-top: 32px; padding: 22px; border-radius: var(--radius); background: rgba(0, 0, 0, .22); border: 1px dashed rgba(255,255,255,.4); }
.stage__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.stage__icon .icon { width: 26px; height: 26px; }
.stage__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; font-size: 1.4rem; margin-bottom: 8px; }
.stage p { margin: 0; color: rgba(255,255,255,.88); }
.culture__poster { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.culture__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); transform: rotate(-2deg); }
.culture__poster .kind { transform: rotate(-2deg); top: 18px; left: 18px; }
.poster-type { position: absolute; right: -14px; bottom: -18px; padding: 14px 18px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 12px; font-family: var(--display); font-weight: 900; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; transform: rotate(3deg); }
.disciplines { display: grid; gap: 12px; margin-top: clamp(56px, 8vw, 88px); grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); }
.discipline { padding: 22px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid var(--line-light); transition: background .25s, transform .25s var(--ease); }
.discipline:hover { background: var(--white); color: var(--ink); transform: translateY(-4px); }
.discipline:hover .discipline__text p { color: var(--muted); }
.discipline__icon { display: block; color: var(--yellow); margin-bottom: 18px; }
.discipline:hover .discipline__icon { color: var(--purple); }
.discipline__icon .icon { width: 34px; height: 34px; }
.discipline__title { font-family: var(--display); font-weight: 900; font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 6px; }
.discipline__text p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.8); }

/* ---------- Emprendedores ---------- */
.market { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .market { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.market__media { position: relative; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--yellow), 10px 10px 0 2px var(--ink); }
.market__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.pills { display: grid; gap: 14px; margin-top: 44px; }
@media (min-width: 760px) { .pills { grid-template-columns: repeat(3, 1fr); } }
.pill { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1.5px solid var(--ink); }
.pill__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--yellow); }
.pill__icon .icon { width: 24px; height: 24px; }
.pill__title { font-family: var(--display); font-weight: 900; font-size: 1.2rem; margin-bottom: 4px; }
.pill__text p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Familia ---------- */
.family { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.fcard { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1.5px solid var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.fcard:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.fcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.fcard__img { width: 100%; height: 100%; object-fit: cover; }
.fcard__body { position: relative; padding: 22px 22px 24px; flex: 1; }
.fcard__icon { position: absolute; right: 18px; top: -26px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--purple); color: var(--white); border: 3px solid var(--white); }
.fcard__icon .icon { width: 24px; height: 24px; }
.fcard__label { margin: 0 0 4px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
.fcard__title { font-family: var(--display); font-weight: 900; font-size: 1.45rem; letter-spacing: -.02em; margin-bottom: 8px; }
.fcard__text p { margin: 0; color: var(--muted); font-size: .97rem; }
.fcard--plain { background: var(--ink); color: var(--white); justify-content: flex-end; min-height: 240px; }
.fcard--plain:nth-child(odd) { background: var(--purple); }
.fcard--plain .fcard__icon { position: static; margin-bottom: 18px; background: var(--yellow); color: var(--ink); border: 0; width: 56px; height: 56px; }
.fcard--plain .fcard__label { color: var(--yellow); }
.fcard--plain .fcard__text p { color: rgba(255,255,255,.82); }

/* ---------- Medio ambiente ---------- */
.wave { position: absolute; left: 0; top: -1px; width: 100%; height: clamp(30px, 4vw, 60px); fill: var(--sand); }
.section--river { background-image: repeating-radial-gradient(ellipse at 100% 0, transparent 0 22px, rgba(166, 234, 208, .05) 22px 23px); }
.river { display: grid; gap: 48px; }
@media (min-width: 960px) { .river { grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: start; } }
.actions { display: grid; gap: 10px; margin-top: 36px; }
@media (min-width: 640px) { .actions { grid-template-columns: 1fr 1fr; } }
.action { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); border: 1px solid rgba(166, 234, 208, .25); }
.action__icon { color: var(--mint); }
.action__icon .icon { width: 30px; height: 30px; }
.action__title { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.action__text p { margin: 0; font-size: .93rem; color: rgba(255,255,255,.78); }
.river__side { display: grid; gap: 20px; }
.river__media { position: relative; border-radius: 160px 160px var(--radius) var(--radius); overflow: hidden; }
.river__img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.river__media .kind { top: auto; bottom: 12px; }
.aspiration { position: relative; padding: 28px; border-radius: var(--radius); background: var(--mint); color: var(--river); }
.aspiration__icon .icon { width: 40px; height: 40px; margin-bottom: 12px; }
.aspiration__tag { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--river); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.aspiration__title { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -.02em; margin-bottom: 10px; }
.aspiration p:last-child { margin: 0; }

/* ---------- Planos ---------- */
.plans { display: grid; gap: 24px; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; }
.plan__link { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-light); }
.plan__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.plan__link:hover .plan__img { transform: scale(1.03); }
.plan figcaption { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-weight: 600; }
.plan__num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 900; font-size: .85rem; flex: none; }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font-weight: 600; font-size: .9rem; transition: background .2s, color .2s; }
.chip:hover { background: var(--white); }
.chip.is-active { background: var(--ink); color: var(--white); }
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery__item { position: relative; break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.gallery__item[hidden] { display: none; }
.gallery__item > a { display: block; }
.gallery__img { width: 100%; transition: transform .6s var(--ease); }
.gallery__item:hover .gallery__img { transform: scale(1.04); }
.gallery__item--video { background: var(--ink); color: var(--white); }

.vstrip { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vtile__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.vtile__img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .6s var(--ease); }
.vtile__btn:hover .vtile__img { opacity: 1; transform: scale(1.04); }
.vtile__ph { position: absolute; inset: 0; background: linear-gradient(135deg, var(--purple-deep), var(--ink) 70%); }
.vtile__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--ink); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.vtile__play .icon { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.vtile__btn:hover .vtile__play { transform: translate(-50%, -50%) scale(1.1); }
.vtile figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 2px 0; font-size: .95rem; }
.vtile--gallery figcaption { padding: 12px 14px 14px; }
.vtile__desc { flex-basis: 100%; font-size: .87rem; opacity: .75; }

/* ---------- Novedades ---------- */
.posts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pcard__link { display: block; height: 100%; padding: 18px; border-radius: var(--radius); background: var(--white); border: 1.5px solid var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pcard__link:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.pcard__media { margin: -6px -6px 16px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.pcard__img { width: 100%; height: 100%; object-fit: cover; }
.pcard__date { margin: 0 0 6px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
.pcard__title { font-family: var(--display); font-weight: 900; font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 8px; }
.pcard__text { margin: 0; color: var(--muted); }

/* ---------- Ubicación ---------- */
.location { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .location { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.location__address { display: flex; gap: 12px; align-items: flex-start; font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.location__address .icon { color: var(--purple); width: 28px; height: 28px; margin-top: 2px; }
.mapbox { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--ink); background: var(--sand); }
.mapbox iframe { width: 100%; height: 100%; border: 0; }
.mapbox__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; }
.mapbox__ph p { max-width: 360px; margin: 0; font-size: .95rem; color: var(--muted); }
.mapbox__ph .icon { color: var(--purple); }
.mapbox--static { background-color: #ece7dc; }
.mapbox__art { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; }
.mapbox__river { position: absolute; left: -10%; right: -10%; top: 58%; height: 54px; background: linear-gradient(180deg, #5fa9b7, #2e7f8d); transform: rotate(-14deg); box-shadow: 0 0 0 10px rgba(95, 169, 183, .25); }
.mapbox__zone { position: absolute; left: 28%; top: 20%; width: 46%; height: 30%; display: grid; place-items: center; border: 3px dashed var(--purple); border-radius: 14px; background: rgba(139, 47, 201, .12); color: var(--purple-deep); font-family: var(--display); font-weight: 900; font-size: 1.2rem; transform: rotate(-14deg); }
.mapbox__label { position: absolute; right: 8%; bottom: 14%; padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--ink); font-size: .8rem; font-weight: 600; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.15fr; gap: 72px; } }
.contact__list { display: grid; gap: 12px; margin-top: 28px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.contact__list .icon { color: var(--yellow); }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--line-light); }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-light); transition: background .2s, color .2s; }
.socials a:hover { background: var(--yellow); color: var(--ink); }

.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid #8a857c; border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(139, 47, 201, .2); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { margin: 6px 0 0; color: #b0000b; font-size: .88rem; font-weight: 600; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--purple); }
.field--check label { font-weight: 400; font-size: .92rem; margin: 0; }
.field--check .field__error { grid-column: 1 / -1; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin: 0 0 6px; padding: 14px 18px; border-radius: 12px; font-size: .95rem; }
.alert--error { background: #ffe1e1; color: #8c0009; border: 1.5px solid #e9a1a1; }
.alert--ok { background: var(--mint); color: var(--river); margin-bottom: 18px; }
.alert--warn { background: #fff4c7; color: #6b4a00; border: 1.5px solid #f0d777; margin-top: 18px; }

/* ---------- Páginas internas ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(28px, 4vw, 48px); background: var(--paper); border-bottom: 2px solid var(--ink); }
.page-hero--center { text-align: center; border-bottom: 0; padding-bottom: 120px; }
.page-hero--center .btn { margin-top: 12px; }
.page-title { font-family: var(--display); font-weight: 900; font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: .98; letter-spacing: -.035em; }
.page-lead { margin: 18px 0 0; font-size: 1.2rem; color: var(--muted); }
.big404 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(6rem, 22vw, 14rem); line-height: .85; color: transparent; -webkit-text-stroke: 3px var(--purple); }
.post-cover { position: relative; margin-top: 36px; }
.post-cover__img { width: 100%; border-radius: var(--radius); border: 2px solid var(--ink); }
.post-cover .kind { left: calc(var(--gutter) + 12px); }
.post-cover figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.is-inner .section--ink .form { margin-top: 8px; }

/* ---------- Pie ---------- */
.footer { position: relative; background: var(--ink); color: rgba(255,255,255,.82); font-size: .95rem; }
.flagline { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.flagline i:nth-child(1) { background: var(--sky); } .flagline i:nth-child(2) { background: var(--yellow); } .flagline i:nth-child(3) { background: var(--blue); } .flagline i:nth-child(4) { background: var(--red); }
.footer__grid { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__logo { display: inline-block; padding: 14px 16px; border-radius: 14px; background: var(--paper); }
.footer__logo img { height: 56px; width: auto; }
.footer__name { margin: 18px 0 6px; font-family: var(--display); font-weight: 900; font-size: 1.2rem; color: var(--white); }
.footer__text { max-width: 380px; color: rgba(255,255,255,.66); }
.footer__title { margin-bottom: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.footer__col ul { display: grid; gap: 8px; }
.footer__col a, .footer__col .linklike { color: rgba(255,255,255,.86); text-decoration: none; font-size: .95rem; }
.footer__col a:hover, .footer__col .linklike:hover { color: var(--white); text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-light); font-size: .85rem; color: rgba(255,255,255,.55); }
.footer__bottom p { margin: 0; }

/* ---------- Consentimiento ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; justify-content: flex-start; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__box { pointer-events: auto; width: 100%; max-width: 460px; padding: 22px; border-radius: var(--radius); background: var(--white); color: var(--ink); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--purple); }
.consent__title { margin: 0 0 6px; font-family: var(--display); font-weight: 900; font-size: 1.15rem; }
.consent__text { margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.consent__text a { color: var(--purple); font-weight: 600; }
.consent__prefs { display: grid; gap: 8px; margin-bottom: 14px; padding: 12px; border-radius: 12px; background: var(--paper); }
.consent__prefs[hidden] { display: none; }
.switch { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.switch input { width: 18px; height: 18px; accent-color: var(--purple); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__actions [hidden] { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--ink); color: var(--white); overflow: hidden; }
.lightbox::backdrop { background: rgba(10, 10, 10, .82); backdrop-filter: blur(4px); }
.lightbox__stage { display: grid; place-items: center; background: #000; }
.lightbox__stage img { max-height: 76vh; width: auto; margin: 0 auto; }
.lightbox__stage video, .lightbox__stage iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.lightbox__caption { margin: 0; padding: 14px 20px 18px; font-size: .92rem; color: rgba(255,255,255,.85); }
.lightbox__close { position: absolute; right: 10px; top: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); }
.lightbox__consent { display: grid; justify-items: center; gap: 14px; padding: 48px 24px; text-align: center; max-width: 520px; margin: 0 auto; }
.lightbox__consent p { margin: 0; color: rgba(255,255,255,.85); }

/* ---------- Animaciones ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@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; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand img { height: 38px; }
  .topbar__inner { height: 64px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .culture__img { box-shadow: 8px 8px 0 var(--ink); }
  .poster-type { right: 4px; }
  .consent { left: 10px; right: 10px; bottom: 10px; }
  .consent__actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media print {
  .topbar, .marquee, .consent, .footer, .filters { display: none !important; }
  body { background: #fff; }
  .section--ink, .section--purple, .section--river { background: #fff !important; color: #000 !important; }
}
