/* =====================================================================
   SOMOS 100% CARISTAS — styles
   Elegant editorial sport. LIGHT theme by default (formal, white),
   with an optional DARK theme via [data-theme="dark"]. Brand red/blue
   accents, expressive Clash Display + General Sans typography.
   ===================================================================== */

/* ---------------------------- Theme tokens ---------------------------- */
:root {
  /* Brand (shared) */
  --c-red:         #e11d2a;
  --c-red-bright:  #ff3344;
  --c-blue:        #1e40af;
  --c-blue-bright: #3d6bff;

  /* LIGHT theme (default) */
  --bg:        #ffffff;
  --bg-2:      #f5f6f9;
  --bg-3:      #e9ecf2;
  --fg:        #10131c;
  --fg-soft:   #3b414f;
  --muted:     #6b717e;
  --line:      rgba(16, 19, 28, .12);
  --line-2:    rgba(16, 19, 28, .07);
  --surface:   rgba(16, 19, 28, .025);
  --surface-2: rgba(16, 19, 28, .05);

  --grad-rb:   linear-gradient(105deg, var(--c-red), var(--c-blue));

  --nav-bg:     rgba(255, 255, 255, .82);
  --drawer-bg:  rgba(255, 255, 255, .97);

  --hero-overlay:
    linear-gradient(100deg, var(--bg) 0%, rgba(255,255,255,.9) 32%, rgba(255,255,255,.55) 70%, rgba(255,255,255,.78) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 40%);
  --herobg-op: .6;
  --herobg-filter: grayscale(.05) contrast(1.02) brightness(1.02);

  --photo-veil: linear-gradient(180deg, transparent 52%, rgba(16,19,28,.32));
  --beam-op: .14;
  --beam-blend: multiply;
  --grain-op: .04;
  --grain-blend: multiply;
  --cursor-blend: multiply;
  --map-filter: grayscale(.15) contrast(1.02);

  --shadow-red: 0 8px 30px -8px rgba(225, 29, 42, .45);

  --font-display: "Clash Display", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "General Sans", system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --r-sm: 10px; --r-md: 16px; --r-lg: 26px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

[data-theme="dark"] {
  --bg:        #08090d;
  --bg-2:      #0d0f15;
  --bg-3:      #14171f;
  --fg:        #f4f5f7;
  --fg-soft:   rgba(244, 245, 247, .78);
  --muted:     #969ba6;
  --line:      rgba(255, 255, 255, .10);
  --line-2:    rgba(255, 255, 255, .06);
  --surface:   rgba(255, 255, 255, .03);
  --surface-2: rgba(255, 255, 255, .06);

  --grad-rb:   linear-gradient(105deg, var(--c-red-bright), var(--c-blue-bright));

  --nav-bg:     rgba(8, 9, 13, .72);
  --drawer-bg:  rgba(8, 9, 13, .96);

  --hero-overlay:
    linear-gradient(100deg, var(--bg) 0%, rgba(8,9,13,.86) 30%, rgba(8,9,13,.5) 68%, rgba(8,9,13,.72) 100%),
    linear-gradient(0deg, var(--bg) 3%, transparent 42%);
  --herobg-op: .42;
  --herobg-filter: grayscale(.12) brightness(.6) contrast(1.05);

  --photo-veil: linear-gradient(180deg, transparent 45%, rgba(8,9,13,.55));
  --beam-op: .5;
  --beam-blend: screen;
  --grain-op: .05;
  --grain-blend: overlay;
  --cursor-blend: screen;
  --map-filter: grayscale(.3) invert(.92) hue-rotate(180deg) contrast(.9);
}

/* ---------------------------- Reset / base ---------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: clamp(1rem, .55vw + .9rem, 1.125rem);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

/* Long tokens (emails, @handles) must wrap, never overflow small screens */
.contact-list__v, .ig-note { overflow-wrap: anywhere; }
.contact-list li, .contacto__grid > * { min-width: 0; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
::selection { background: var(--c-red); color: #fff; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--fg); color: var(--bg); padding: .7rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------------------------- Atmosphere ---------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: var(--grain-op); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; width: 26px; height: 26px;
  margin: -13px 0 0 -13px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(225,29,42,.85), rgba(30,64,175,.5) 60%, transparent 70%);
  mix-blend-mode: var(--cursor-blend); filter: blur(2px);
  transform: translate3d(-100px, -100px, 0) scale(1);
  transition: opacity .3s; opacity: 0;
}
@media (hover: hover) and (pointer: fine) { .cursor { opacity: 1; } }

.beams { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.beam {
  position: absolute; border-radius: 50%; filter: blur(70px);
  opacity: var(--beam-op); mix-blend-mode: var(--beam-blend); will-change: transform;
}
.beam--red  { width: 60vw; height: 60vw; left: -15vw; top: -20vw; background: radial-gradient(circle, var(--c-red), transparent 60%); }
.beam--blue { width: 55vw; height: 55vw; right: -12vw; top: 10vh; background: radial-gradient(circle, var(--c-blue-bright), transparent 60%); }
.beam--soft { width: 40vw; height: 40vw; left: 30vw; bottom: -20vw; background: radial-gradient(circle, #6b1f7a, transparent 62%); }

/* ---------------------------- Layout / utils ---------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: clamp(5rem, 11vw, 9.5rem); z-index: 2; }

.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { text-align: center; }
.section__head--center .section__index { margin-inline: auto; }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }

.section__index {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: .85rem; letter-spacing: .25em; color: var(--c-red);
  padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 100px; margin-bottom: 1.2rem;
}
.section__title { font-family: var(--font-display); font-weight: 600; line-height: .98; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.02em; }
.section__title em { font-style: normal; background: var(--grad-rb); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-red); box-shadow: 0 0 12px var(--c-red); }

.muted { color: var(--muted); }
.hl { color: var(--fg); background: linear-gradient(transparent 62%, rgba(225,29,42,.28) 0); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: .9rem 1.6rem; border-radius: 100px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn--primary { color: #fff; background: var(--c-red); box-shadow: var(--shadow-red); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(225,29,42,.7); background: var(--c-red-bright); }
.btn--ghost { color: var(--fg); border: 1px solid var(--line); background: var(--surface); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--c-blue); background: var(--surface-2); }

.tag { display: inline-block; font-size: .72rem; letter-spacing: .03em; color: var(--muted); border: 1px dashed var(--line); border-radius: 6px; padding: .1rem .45rem; white-space: nowrap; }
.tag--draft { color: #b07e12; border-color: rgba(176,126,18,.4); }

.js [data-reveal], .js [data-reveal-words] .word { opacity: 0; }

/* ---------------------------- Nav ---------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: var(--nav-bg); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav__inner { max-width: var(--container); margin-inline: auto; padding: 1rem var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.brand__txt { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .01em; }
.brand__txt strong { color: var(--c-red); font-weight: 700; }

.nav__links { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav__links a { font-size: .95rem; color: var(--fg-soft); position: relative; padding: .25rem 0; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--grad-rb); transition: width .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--fg); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: .7rem; }
.icon-link { color: var(--fg-soft); transition: color .25s, transform .25s; display: inline-flex; }
.icon-link:hover { color: var(--fg); transform: translateY(-2px); }

/* Language toggle */
.lang-toggle { height: 38px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 100px; display: inline-flex; align-items: center; gap: .4rem; color: var(--fg-soft); font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .04em; transition: color .25s, border-color .25s; }
.lang-toggle:hover { color: var(--fg); border-color: var(--c-blue); }

/* Theme toggle */
.theme-toggle { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: inline-grid; place-items: center; }
.theme-toggle:hover { border-color: var(--c-blue); }
.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: block; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }

.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; }
.nav__burger span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--fg); transition: transform .3s var(--ease), opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 99; background: var(--drawer-bg); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__links { display: flex; flex-direction: column; gap: 1.4rem; text-align: center; }
.drawer__links a { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; }
.drawer__links .btn { font-size: 1.1rem; margin-top: 1rem; }

/* ---------------------------- Hero ---------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 6rem; overflow: hidden; }
.hero__inner { position: relative; z-index: 3; }
.eyebrow + .hero__title { margin-top: 1.4rem; }
.hero__title { font-family: var(--font-display); font-weight: 700; line-height: .86; font-size: clamp(3.6rem, 16vw, 13rem); letter-spacing: -.03em; text-transform: uppercase; }
.hero__title .line { display: block; overflow: hidden; }
.hero__hundred em { font-style: normal; background: var(--grad-rb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__tag { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 3vw, 2rem); margin-top: 1.6rem; color: var(--fg); }
.hero__sub { max-width: 46ch; margin-top: 1rem; color: var(--fg-soft); }
.hero__sub strong { color: var(--fg); font-weight: 600; }
.hero__cta { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; z-index: 0; opacity: var(--herobg-op); filter: var(--herobg-filter); }
.hero__overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--hero-overlay); }

.hero__scroll { position: absolute; left: var(--pad); bottom: 2rem; z-index: 3; display: flex; align-items: center; gap: .8rem; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__scroll-line { width: 60px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--c-red); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

/* ---------------------------- Manifesto + marquee ---------------------------- */
.manifesto { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 8rem) 0; }
.manifesto__lead { font-family: var(--font-display); font-weight: 500; line-height: 1.18; letter-spacing: -.01em; font-size: clamp(1.6rem, 4.4vw, 3.4rem); max-width: 22ch; margin-inline: auto; text-align: center; }
.manifesto__lead .word { display: inline-block; }
.marquee { margin-top: clamp(3rem, 7vw, 6rem); overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.2rem; }
.marquee__track { display: inline-flex; align-items: center; gap: 2rem; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: -.01em; }
.marquee__track i { color: var(--c-red); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------- Nosotros ---------------------------- */
.nosotros__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.nosotros__lead p + p { margin-top: 1rem; }
.nosotros__lead p:first-child { font-size: 1.18rem; }
.pillars { display: grid; gap: 1.2rem; }
.pillars li { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem 1.5rem; background: var(--surface); transition: border-color .3s, transform .3s, background .3s; }
.pillars li:hover { border-color: var(--c-blue); transform: translateY(-3px); }
.pillars h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: .4rem; }
.pillars h3::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--grad-rb); margin-right: .6rem; vertical-align: middle; }
.pillars p { color: var(--muted); font-size: .98rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: clamp(3rem, 6vw, 5rem); }
.stat { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; background: var(--grad-rb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__num.stat__pending { font-size: clamp(1rem, 2.2vw, 1.3rem); -webkit-text-fill-color: var(--muted); color: var(--muted); background: none; letter-spacing: .02em; }
.stat__label { display: block; margin-top: .6rem; font-size: .92rem; color: var(--muted); }
.stat__label small { color: var(--muted); opacity: .8; }

/* ---------------------------- Programs ---------------------------- */
.program { overflow: clip; }
.program--danza { background: linear-gradient(180deg, transparent, rgba(30,64,175,.06), transparent); }
.program__sticky-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.program__sticky-wrap.reverse .program__text { order: 2; }
.program__sticky-wrap.reverse .program__media { order: 1; }
.program__text { position: sticky; top: 16vh; align-self: start; }
.program__text p { color: var(--fg-soft); margin-top: 1.2rem; max-width: 42ch; }
.program__text .btn { margin-top: 1.8rem; }
.ticks { margin-top: 1.6rem; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 1.8rem; color: var(--fg); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-rb); }

.program__media { display: grid; gap: clamp(1rem, 3vw, 2rem); }
.shot {
  position: relative; border-radius: var(--r-lg); aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(120% 80% at 30% 10%, rgba(225,29,42,.28), transparent 55%), radial-gradient(120% 90% at 80% 90%, rgba(61,107,255,.26), transparent 55%), var(--bg-3);
  display: grid; place-items: center; will-change: transform;
}
.shot--blue { background: radial-gradient(120% 80% at 70% 10%, rgba(61,107,255,.3), transparent 55%), radial-gradient(120% 90% at 20% 90%, rgba(225,29,42,.18), transparent 55%), var(--bg-3); }
.shot--2 { aspect-ratio: 4/3; margin-top: clamp(1.5rem, 5vw, 4rem); }
.shot--3 { aspect-ratio: 1/1; }
.shot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .6s var(--ease); }
.shot::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--photo-veil); }
.shot:hover .shot__img { transform: scale(1.05); }

/* ---------------------------- Impacto ---------------------------- */
.impacto { background: var(--bg-2); border-block: 1px solid var(--line-2); }
.impacto__quote { max-width: 24ch; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.impacto__quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.12; }
.impacto__quote cite { display: block; margin-top: 1.2rem; font-style: normal; color: var(--c-red); letter-spacing: .04em; }
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.testi { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.8rem; background: var(--surface); }
.testi p { font-size: 1.1rem; color: var(--fg-soft); }
.testi footer { margin-top: 1.2rem; color: var(--muted); font-size: .9rem; }
.testi footer span::before { content: "— "; }

/* ---------------------------- Galería / Instagram ---------------------------- */
.ig-fallback { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.5vw, 1rem); }
.ig-cell {
  aspect-ratio: 1/1; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid var(--line);
  overflow: hidden; position: relative; transition: transform .35s var(--ease), border-color .35s;
  background: radial-gradient(130% 130% at 20% 0%, rgba(225,29,42,.22), transparent 55%), radial-gradient(130% 130% at 90% 100%, rgba(61,107,255,.22), transparent 55%), var(--bg-3);
}
.ig-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ig-cell:hover { transform: scale(1.03); border-color: var(--c-blue); }
.ig-cell:hover img { transform: scale(1.06); }
.ig-cell::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--photo-veil); opacity: 0; transition: opacity .4s; }
.ig-cell:hover::after { opacity: 1; }
.ig-note { margin-top: 1.2rem; font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------------------------- Apoya ---------------------------- */
.apoya { overflow: clip; }
.apoya .beams { z-index: 0; }
.apoya .container { position: relative; z-index: 2; }
.apoya__intro { max-width: 52ch; margin-inline: auto; margin-top: 1rem; }
.support { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.support__card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; background: var(--surface); transition: transform .3s, border-color .3s; }
.support__card:hover { transform: translateY(-4px); border-color: var(--c-blue); }
.support__card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin-bottom: .6rem; }
.support__card p { color: var(--muted); margin-bottom: 1.2rem; }
.support__card--main { background: linear-gradient(160deg, rgba(225,29,42,.12), rgba(30,64,175,.12)); border-color: var(--line); }
.paydata { display: grid; gap: .7rem; margin-bottom: 1.4rem; }
.paydata li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line-2); font-size: .95rem; }
.paydata span { color: var(--muted); }
.paydata b { font-weight: 600; color: var(--fg); }

/* ---------------------------- Aliados ---------------------------- */
.aliados { text-align: center; }
.aliados__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2.5vw, 1.6rem); color: var(--muted); margin-bottom: 2.5rem; }
.aliados__row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.ally { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 3vw, 2rem); color: var(--fg); }
.ally--pending { color: var(--muted); font-weight: 500; font-size: 1rem; border: 1px dashed var(--line); border-radius: 8px; padding: .3rem .7rem; }

/* ---------------------------- Contacto ---------------------------- */
.contacto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-list { display: grid; gap: 1.2rem; margin-bottom: 2rem; }
.contact-list li { display: grid; gap: .2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-2); }
.contact-list__k { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list__v { font-size: 1.08rem; }
.contact-list__v a:hover { color: var(--c-red); }
.contact-list__v--pending { color: var(--muted); }
.map { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 260px; border: 0; filter: var(--map-filter); }

.contacto__form { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.4rem); background: var(--surface); }
.form-note { margin-bottom: 1.4rem; color: var(--fg); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm); color: var(--fg); background: var(--bg); border: 1px solid var(--line); font-family: var(--font-body); font-size: 1rem; transition: border-color .25s, background .25s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-blue); outline: none; }
.field textarea { resize: vertical; }
.field select { appearance: none; }
.contacto__form .btn { width: 100%; margin-top: .4rem; }
.form-hint { margin-top: .9rem; font-size: .8rem; color: var(--muted); }

/* ---------------------------- Footer ---------------------------- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 2rem; background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer__brand { display: grid; gap: .5rem; }
.footer__brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.footer__tag { color: var(--muted); margin-top: .4rem; }
.footer__motto { margin-top: .7rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .03em; background: var(--grad-rb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__nav, .footer__meta { display: grid; gap: .7rem; align-content: start; }
.footer__nav a:hover, .footer__meta a:hover { color: var(--c-red); }
.footer__legal { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }

/* ---------------------------- Real photos ---------------------------- */
/* (image cover rules live with their components above) */

/* ---------------------------- Responsive ---------------------------- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero__scroll { display: none; }
  .hero { padding-top: 5rem; }
  .nosotros__grid { grid-template-columns: 1fr; }
  .program__sticky-wrap { grid-template-columns: 1fr; }
  .program__sticky-wrap.reverse .program__text,
  .program__sticky-wrap.reverse .program__media { order: initial; }
  .program__text { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .support { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .contacto__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .ig-fallback { grid-template-columns: repeat(2, 1fr); }
  .section__head--split { align-items: flex-start; }
  /* free space so the nav (logo + lang + theme + IG + burger) fits on phones */
  .nav .brand__txt { display: none; }
  .nav__actions { gap: .5rem; }
  .lang-toggle { padding: 0 .6rem; }
}

/* ---------------------------- Reduced motion ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal-words] .word { opacity: 1 !important; transform: none !important; }
  .marquee__track, .hero__scroll-line::after, .beam { animation: none !important; }
  * { scroll-behavior: auto !important; }
}
