/* Claudia Chapa — Diputada Local. Tema "Resultados verdes": verde profundo + lima, Anton / Montserrat / Caveat Brush. */
:root {
  --g950: #022313;
  --g900: #04301a;
  --g800: #063d1c;
  --g700: #0a5a2a;
  --g600: #0d7a35;
  --g500: #14963f;
  --lime: #a6e22e;
  --lime-2: #cdf27a;
  --cream: #f3f8ee;
  --paper: #fbfdf8;
  --ink: #0d1f14;
  --muted: #4d6355;
  --line: rgba(13, 31, 20, .12);
  --radius: 22px;
  --shadow: 0 18px 50px -20px rgba(2, 35, 19, .45);
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Caveat Brush", "Segoe Script", cursive;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; overflow-x: clip; margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.center { text-align: center; margin-top: 40px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--g900); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipos comunes ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--g600); margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--lime); }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; letter-spacing: .01em; color: var(--g800); }
.title em { font-style: normal; color: var(--g500); }
.title em.script.block { display: block; }
.title .script, .title em.script { font-family: var(--script); text-transform: none; color: var(--g500); font-size: 1.12em; letter-spacing: 0; }
.title-sm { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.title + p:not(.section-lead) { margin-top: 18px; }
.section-lead { font-size: 1.12rem; color: var(--muted); margin-top: 16px; }
.section-head-light .title { color: #fff; }
.section-head-light .title em { color: var(--lime); }
.section-head-light .section-lead { color: rgba(255, 255, 255, .78); }
.section-head-light .kicker { color: var(--lime); }
.note { font-size: 13px; color: var(--muted); margin-top: 26px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; letter-spacing: .02em; border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--g900); box-shadow: 0 12px 30px -10px rgba(166, 226, 46, .7); }
.btn-lime:hover { background: var(--lime-2); box-shadow: 0 16px 36px -10px rgba(166, 226, 46, .85); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-outline { border-color: var(--g700); color: var(--g700); }
.btn-outline:hover { background: var(--g700); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .3s ease, box-shadow .3s ease, height .3s ease; }
.site-header.is-scrolled { background: rgba(4, 48, 26, .92); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: #fff; line-height: 1; }
.brand-name { font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.brand-name b { font-weight: 900; color: var(--lime); }
.brand-sub { font-size: 10.5px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; opacity: .8; margin-top: 5px; border-top: 1px solid rgba(255, 255, 255, .35); padding-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .1); }
.nav a.is-active { color: var(--lime); }
.nav .nav-cta { background: var(--lime); color: var(--g900); font-weight: 800; margin-left: 8px; }
.nav .nav-cta:hover { background: var(--lime-2); }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); padding: 13px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(680px, 100svh); color: #fff; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1100px 700px at 78% 40%, rgba(20, 150, 63, .55), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(166, 226, 46, .16), transparent 60%),
    linear-gradient(160deg, var(--g800) 0%, var(--g900) 55%, var(--g950) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.5px); background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); }
.hero-leaves { position: absolute; width: 900px; height: 900px; right: -220px; top: -160px; color: rgba(166, 226, 46, .07); transform: rotate(-18deg); }
.hero-word { position: absolute; left: 50%; bottom: -0.12em; transform: translateX(-38%); font-family: var(--display); font-size: clamp(9rem, 27vw, 25rem); line-height: .8; letter-spacing: .01em;
  color: transparent; -webkit-text-stroke: 2px rgba(166, 226, 46, .22); white-space: nowrap; user-select: none; }
.hero-grid { position: relative; min-height: max(680px, 100svh); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; padding-top: calc(var(--header-h) + 24px); }
.hero-copy { position: relative; z-index: 2; padding-bottom: 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(166, 226, 46, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(166, 226, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(166, 226, 46, 0); } }
.hero h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .86; letter-spacing: .005em; }
.h1-top { display: block; font-size: clamp(4.4rem, 11vw, 9.6rem); }
.h1-bottom { display: block; font-size: clamp(4.4rem, 11vw, 9.6rem); color: var(--lime); }
.hero-script { font-family: var(--script); font-size: clamp(2rem, 4vw, 3.1rem); color: var(--lime-2); transform: rotate(-4deg); margin: 6px 0 18px 4px; line-height: 1; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 540px; color: rgba(255, 255, 255, .86); }
.hero-lead strong { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-social { list-style: none; display: flex; align-items: center; gap: 10px; padding: 0; margin: 34px 0 0; }
.hero-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s, color .2s, transform .2s; }
.hero-social a:hover { background: var(--lime); color: var(--g900); transform: translateY(-2px); }
.hero-social svg { width: 19px; height: 19px; }
.hero-social-txt { font-weight: 700; font-size: 14px; opacity: .8; margin-left: 4px; }

.hero-photo { position: relative; align-self: end; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.hero-photo img { position: relative; z-index: 1; width: auto; max-width: 100%; max-height: calc(100svh - var(--header-h) - 10px); min-height: 520px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.hero-ring { position: absolute; z-index: 0; width: min(560px, 92%); aspect-ratio: 1; left: 50%; bottom: 14%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(166, 226, 46, .38), rgba(20, 150, 63, .15) 55%, transparent 70%); }
.hero-ring::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed rgba(166, 226, 46, .35); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .94); color: var(--g900); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; line-height: 1.2; max-width: 210px; animation: float 6s ease-in-out infinite; }
.chip b { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--g600); line-height: 1; }
.chip svg { width: 30px; height: 30px; color: var(--g600); }
.chip-a { left: -4%; top: 30%; }
.chip-b { right: -2%; top: 48%; animation-delay: -2s; }
.chip-c { left: 4%; bottom: 14%; animation-delay: -4s; background: var(--lime); }
.chip-c svg { color: var(--g800); }
@keyframes float { 50% { transform: translateY(-10px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--lime); color: var(--g900); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: -14px -10px 0; position: relative; z-index: 4; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5); }
.marquee-track { display: flex; width: max-content; gap: 28px; animation: marquee 32s linear infinite; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: uppercase; white-space: nowrap; align-items: center; }
.marquee-track i { font-style: normal; font-size: .7em; color: var(--g600); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Conóceme ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about-media { position: relative; padding: 0 10% 12% 0; }
.about-photo { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about-photo-sm { position: absolute; width: 46%; right: 0; bottom: 0; border: 6px solid var(--paper); border-radius: 24px; }
.about-photo-sm img { aspect-ratio: 1; }
.about-badge { position: absolute; top: 22px; right: 2%; background: var(--g800); color: #fff; border-radius: 50%; width: 118px; height: 118px; display: grid; place-content: center; text-align: center; transform: rotate(10deg); box-shadow: var(--shadow); line-height: 1; }
.about-badge span { font-family: var(--script); font-size: 34px; color: var(--lime); }
.about-badge b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.about-copy > p { font-size: 1.08rem; color: #2a3d31; }
.roles { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.roles li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.roles svg { width: 24px; height: 24px; color: var(--g500); margin-top: 1px; }
.roles b { color: var(--g700); }
.timeline { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 3px; background: linear-gradient(90deg, var(--g500), var(--lime)); border-radius: 3px; }
.timeline li { position: relative; padding: 38px 12px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 19px; height: 19px; border-radius: 50%; background: var(--paper); border: 4px solid var(--g500); }
.timeline li:last-child::before { background: var(--lime); border-color: var(--g700); }
.timeline span { font-family: var(--display); font-size: 1.6rem; color: var(--g700); display: block; line-height: 1; margin-bottom: 6px; }
.timeline p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.4; }

/* ---------- Agenda ---------- */
.agenda { background: var(--cream); }
.agenda::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 100% 0%, rgba(166, 226, 46, .25), transparent 70%); pointer-events: none; }
.agenda .wrap { position: relative; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter { border: 2px solid var(--g700); background: transparent; color: var(--g700); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.filter:hover { background: rgba(10, 90, 42, .08); }
.filter.is-on { background: var(--g700); color: #fff; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-flow: dense; }
.card { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--line); box-shadow: 0 10px 30px -24px rgba(2, 35, 19, .5); transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.22rem; font-weight: 800; color: var(--g800); margin: 10px 0 10px; line-height: 1.2; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }
.card-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--cream); font-size: 26px; margin-bottom: 16px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g500); }
.card-feature { grid-column: span 2; grid-row: span 2; padding: 0; display: flex; flex-direction: column; background: var(--g800); color: #fff; border: 0; }
.card-feature .card-art { display: block; width: 100%; height: auto; min-height: 240px; flex: 1 1 auto; }
.card-feature .card-body { padding: 26px 28px 30px; }
.card-feature h3 { color: #fff; font-size: 1.6rem; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; }
.card-feature p { color: rgba(255, 255, 255, .8); }
.card-feature .tag { color: var(--lime); }
.card-lime { background: var(--lime); border-color: transparent; }
.card-lime p { color: #233a10; }
.card-lime .tag { color: var(--g700); }
.card-lime .card-ico { background: rgba(255, 255, 255, .55); }
.card-dark { background: var(--g900); border-color: transparent; }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255, 255, 255, .75); }
.card-dark .tag { color: var(--lime); }
.card-dark .card-ico { background: rgba(255, 255, 255, .1); }
.card.is-hidden { display: none; }
.swipe-hint { display: none; font-size: 13px; font-weight: 700; color: var(--g600); margin: -12px 0 12px; }

/* ---------- Resultados ---------- */
.results { color: #fff; overflow: hidden; background: linear-gradient(165deg, var(--g800), var(--g950)); }
.results-bg { position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 0% 100%, rgba(166, 226, 46, .18), transparent 70%),
  radial-gradient(700px 500px at 100% 0%, rgba(20, 150, 63, .45), transparent 70%); }
.results .wrap { position: relative; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(4px); transition: background .3s, transform .3s; }
.stat:hover { background: rgba(166, 226, 46, .12); transform: translateY(-4px); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--lime); letter-spacing: .01em; }
.stat span { display: block; margin-top: 10px; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .85); line-height: 1.35; }
.results-quote { font-family: var(--script); font-size: clamp(2rem, 4vw, 3rem); color: var(--lime-2); text-align: center; margin: 54px 0 0; transform: rotate(-2deg); }

/* ---------- Territorio ---------- */
.territory { background: var(--paper); }
.territory-head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 44px; }
.territory-head .section-lead { margin: 0; }
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.program { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 30px -24px rgba(2, 35, 19, .5); transition: transform .3s, box-shadow .3s; }
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.program div { padding: 20px 20px 24px; }
.program h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; color: var(--g700); margin-bottom: 8px; letter-spacing: .01em; }
.program p { font-size: 14.5px; color: var(--muted); margin: 0; }
.munis { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.munis p { margin: 0; font-family: var(--script); font-size: 1.8rem; color: var(--g600); }
.munis ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.munis li { padding: 7px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--g700); }

/* ---------- Quote ---------- */
.quote { background: var(--lime); padding: clamp(60px, 9vw, 110px) 0; position: relative; overflow: hidden; }
.quote::before { content: "“"; position: absolute; right: 4%; top: -0.05em; font-family: var(--script); font-size: 24rem; line-height: 1; color: rgba(4, 48, 26, .1); pointer-events: none; }
.quote-in { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.quote-photo { margin: 0; width: clamp(200px, 26vw, 330px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--g800); box-shadow: var(--shadow); transform: rotate(-4deg); }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote-text { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: .98; color: var(--g900); margin: 0; max-width: 15ch; }
.quote-text span { display: block; font-family: var(--script); text-transform: none; color: var(--g600); font-size: 1.15em; line-height: 1; margin-top: 8px; }
.quote-sign { margin: 22px 0 0; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--g700); }

/* ---------- Galería ---------- */
.gallery { background: var(--cream); }
.grid-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; grid-auto-flow: dense; }
.g { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--g800); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.g::after { content: "+"; position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--g900); font-weight: 800; font-size: 22px; display: grid; place-items: center; transform: scale(0); transition: transform .3s; line-height: 1; }
.g:hover img { transform: scale(1.06); }
.g:hover::after, .g:focus-visible::after { transform: scale(1); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g img.pos-top { object-position: 50% 12%; }

/* ---------- Redes ---------- */
.social { padding: clamp(56px, 7vw, 90px) 0; background: var(--paper); }
.social-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; }
.social-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.social-card { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius); text-decoration: none; color: #fff; transition: transform .25s, box-shadow .25s; box-shadow: var(--shadow); }
.social-card:hover { transform: translateY(-4px); }
.social-card > svg:first-child { width: 40px; height: 40px; }
.social-card div { flex: 1; line-height: 1.3; }
.social-card b { display: block; font-size: 1.08rem; }
.social-card span { font-size: 13.5px; opacity: .85; }
.sc-arrow { width: 22px; height: 22px; transition: transform .25s; }
.social-card:hover .sc-arrow { transform: translateX(4px); }
.sc-fb { background: linear-gradient(135deg, #1877f2, #0b4fb3); }
.sc-ig { background: linear-gradient(135deg, #f9a03f, #e1306c 45%, #833ab4); }

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(170deg, var(--g900), var(--g950)); color: #fff; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(166, 226, 46, .22), transparent 65%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.contact .title { color: #fff; }
.contact .title em { color: var(--lime); }
.contact .kicker { color: var(--lime); }
.contact-copy > p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.contact-list li { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-list span { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.contact-list a { text-decoration: none; font-weight: 600; font-size: 1.08rem; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--lime-2); }
.form { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 38px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-weight: 700; font-size: 13.5px; color: var(--g800); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 15px; border-radius: 14px; border: 2px solid #dfe8da; background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--g500); box-shadow: 0 0 0 4px rgba(20, 150, 63, .14); }
.field .is-bad { border-color: #d64545; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form-err { font-size: 13.5px; color: #c23030; font-weight: 700; text-align: center; margin: 8px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--g950); color: rgba(255, 255, 255, .8); padding: 56px 0 26px; }
.footer-in { display: grid; grid-template-columns: 1.2fr 1.6fr auto; gap: 30px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; color: #fff; line-height: 1; }
.footer-brand .brand-sub { align-self: flex-start; }
.footer-script { font-family: var(--script); color: var(--lime); font-size: 1.7rem; margin: 18px 0 0; }
.footer-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 26px; justify-content: start; }
.footer-nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; }
.footer-nav a:hover { color: var(--lime); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--lime); color: var(--g900); }
.footer-social svg { width: 19px; height: 19px; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer-legal p { margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(2, 20, 10, .92); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(92vw, 1100px); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox figcaption { color: #fff; margin-top: 14px; font-weight: 600; }
.lb-close, .lb-nav { position: fixed; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--lime); color: var(--g900); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .card-feature { grid-column: span 3; grid-row: auto; flex-direction: row; }
  .card-feature .card-art { width: 46%; min-height: 320px; }
  .card-feature .card-body { align-self: center; }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .program { display: grid; grid-template-columns: 42% 1fr; }
  .program img { height: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .burger { display: flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 26px; background: rgba(4, 48, 26, .98); backdrop-filter: blur(12px); transform: translateY(-120%); transition: transform .35s ease; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 16px; font-size: 17px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .site-header.menu-open { background: rgba(4, 48, 26, .98); }
  .hero-grid { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 28px); gap: 0; min-height: 0; }
  .hero-copy { padding-bottom: 10px; text-align: left; }
  .hero-photo { height: auto; margin-top: 10px; }
  .hero-photo img { min-height: 0; max-height: 620px; width: min(100%, 470px); }
  .hero-word { transform: translateX(-50%); bottom: 0; }
  .scroll-cue { display: none; }
  .about-grid, .contact-grid, .territory-head, .social-in { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .timeline::before { display: none; }
  .grid-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .quote-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .quote-text { margin: 0 auto; }
  .footer-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .bento { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 16px; scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 84%; scroll-snap-align: center; }
  .card-feature { flex-direction: column; }
  .card-feature .card-art { width: 100%; min-height: 0; height: 200px; flex: none; }
  .swipe-hint { display: block; }
  .h1-top, .h1-bottom { font-size: clamp(4.6rem, 24vw, 6.4rem); }
  .eyebrow { font-size: 11px; letter-spacing: .04em; padding: 7px 13px; }
  .hero-ctas .btn { padding: 13px 18px; font-size: 14px; }
  .hero-ctas { gap: 10px; }
  .programs { grid-template-columns: 1fr; }
  .program { grid-template-columns: 38% 1fr; }
  .program div { padding: 16px; }
  .program h3 { font-size: 1.25rem; }
  .program p { font-size: 13.5px; }
  .stats { gap: 12px; }
  .stat { padding: 20px 16px; }
  .stat span { font-size: 13.5px; }
  .grid-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .g-wide { grid-column: span 2; }
.g img.pos-top { object-position: 50% 12%; }
  .social-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .chip { padding: 9px 12px; font-size: 11.5px; max-width: 160px; border-radius: 14px; }
  .chip b { font-size: 22px; }
  .chip svg { width: 22px; height: 22px; }
  .chip-a { left: -2px; top: 22%; }
  .chip-b { right: -2px; top: 50%; }
  .chip-c { left: 0; bottom: 8%; }
  .about-badge { width: 92px; height: 92px; }
  .about-badge span { font-size: 26px; }
  .footer-nav { grid-template-columns: repeat(2, auto); }
  .marquee { padding: 12px 0; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Powered by Duxels: badge al final del pie (siempre lo último de la página), enlaza a duxels.com */
footer:has(> .dx-powered){padding-bottom:0}
.dx-powered{box-sizing:border-box;width:100%;align-self:stretch;justify-self:stretch;margin:0;padding:24px 20px calc(28px + env(safe-area-inset-bottom));text-align:center;font-size:15px;line-height:1.2;letter-spacing:.03em;border-top:1px solid color-mix(in srgb,currentColor 16%,transparent)}
.dx-powered a{display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none;opacity:.9;transition:opacity .2s ease,transform .2s ease}
.dx-powered a:hover,.dx-powered a:focus-visible{opacity:1;transform:translateY(-2px)}
.dx-powered a img{display:block;width:30px;height:30px;max-width:none;margin:0}
.dx-powered b{font-size:19px;font-weight:800;letter-spacing:.02em}
