/* ===== Encamina Global — estilos (fiel al diseño de Claude Design) ===== */
:root {
  --navy: #34366C;
  --navy-dark: #25264F;
  --ink: #1F2042;
  --lime: #8DC03F;
  --lime-hover: #9DD04C;
  --lime-text: #5B8F1E;
  --lime-light: #A5D35A;
  --soft: #F5F6FA;
  --line: #E3E5EF;
  --line-2: #D5D7E6;
  --body: #4A4C6E;
  --muted: #55577A;
  --gray: #6A6C8C;
  --pad-x: clamp(20px, 4vw, 40px);
  --pad-y: clamp(64px, 9vw, 120px);
  --fredoka: 'Fredoka', 'Nunito Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Nunito Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--lime-text); }
img { display: block; max-width: 100%; }
input, textarea, button { font: inherit; }
p { margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ===== Layout ===== */
.wrap { max-width: 1200px; margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); scroll-margin-top: 70px; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy-dark); color: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
.grid-2--420 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-2--400 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 6vw, 72px); align-items: start; }
.stack-12, .stack-16, .stack-24, .stack-28, .stack-48, .stack-52, .stack-56 { display: flex; flex-direction: column; }
.stack-12 { gap: 12px; } .stack-16 { gap: 16px; } .stack-24 { gap: 24px; } .stack-28 { gap: 28px; }
.stack-48 { gap: 48px; } .stack-52 { gap: 52px; } .stack-56 { gap: 56px; }

/* ===== Tipografía ===== */
.eyebrow { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-text); }
.eyebrow > span { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); flex: none; }
.eyebrow--light { color: var(--lime-light); }
.h2 { margin: 0; font-family: var(--fredoka); font-weight: 600; text-transform: uppercase; font-size: clamp(32px, 4vw, 50px); line-height: 1.02; color: var(--navy); text-wrap: balance; }
.h2--sm { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.05; }
.h2--xl { font-size: clamp(34px, 4.4vw, 56px); line-height: 1; }
.h2--white { color: #fff; }
.lead { font-size: 18px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.head { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.head--center { align-items: center; text-align: center; max-width: none; }
.head--center .h2 { max-width: 760px; }
.head--center .lead { max-width: 620px; line-height: 1.6; }
.label { font-family: var(--fredoka); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.label--wide { font-family: inherit; font-weight: 700; font-size: 14px; letter-spacing: .12em; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-text); }

/* ===== Botones ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: none; cursor: pointer; padding: 17px 28px; border-radius: 999px; font-family: var(--fredoka); font-weight: 600; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, color .2s; align-self: flex-start; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-hover); color: var(--ink); }
.btn--outline { border: 1.5px solid var(--navy); color: var(--navy); padding: 16px 26px; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--md { padding: 15px 24px; font-size: 15px; }
.btn--md2 { padding: 17px 26px; font-size: 15px; }
.btn--sm { padding: 12px 20px; font-size: 14px; margin-top: auto; }
.btn--dot { padding: 16px 24px; }
.btn--dot i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Header ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #E8E9F2; }
.header__bar { max-width: 1200px; margin: 0 auto; padding: 10px var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }
.brand__name { font-family: var(--fredoka); font-weight: 600; font-size: 17px; line-height: 1; letter-spacing: .04em; color: var(--navy); text-transform: uppercase; display: flex; flex-direction: column; gap: 2px; }
.brand__name span { color: #6E9E2C; font-size: 13px; letter-spacing: .12em; }
.nav-wide { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 14px; }
.nav-wide__cta { background: var(--lime); color: var(--ink); padding: 11px 18px; border-radius: 999px; font-family: var(--fredoka); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; font-size: 13px; }
.nav-wide__cta:hover { background: var(--lime-hover); color: var(--ink); }
.menu-btn { display: none; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); border-radius: 999px; height: 44px; padding: 0 18px; font-family: var(--fredoka); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; cursor: pointer; }
.nav-mobile { display: flex; flex-direction: column; padding: 8px 24px 24px; gap: 4px; font-weight: 700; font-size: 17px; border-top: 1px solid #E8E9F2; }
.nav-mobile[hidden] { display: none; }
.nav-mobile a { padding: 12px 0; }
.nav-mobile .nav-mobile__cta { margin-top: 10px; background: var(--lime); color: var(--ink); padding: 14px 18px; border-radius: 999px; text-align: center; font-family: var(--fredoka); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 999px) {
  .nav-wide { display: none; }
  .menu-btn { display: block; }
}
@media (min-width: 1000px) { .nav-mobile { display: none !important; } }

/* ===== 1 Portada ===== */
.hero { padding: clamp(110px, 14vw, 150px) var(--pad-x) clamp(60px, 8vw, 100px); overflow: hidden; }
.hero__title { margin: 0; font-family: var(--fredoka); font-weight: 600; text-transform: uppercase; font-size: clamp(40px, 6vw, 74px); line-height: .98; letter-spacing: .005em; color: var(--navy); text-wrap: balance; }
.pillars-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: var(--fredoka); font-weight: 500; font-size: clamp(18px, 2vw, 22px); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.pillars-line i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero__lead { line-height: 1.6; max-width: 500px; }
.hero__art { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1 / 1; justify-self: center; }
.hero__c { position: absolute; border-radius: 50%; overflow: hidden; }
.hero__c img { width: 100%; height: 100%; object-fit: cover; }
.hero__c--main { left: 31%; top: 31%; width: 66%; height: 66%; background: var(--navy); box-shadow: 0 0 0 10px var(--navy); }
.hero__c--top { left: 44%; top: 0; width: 28%; height: 28%; box-shadow: 0 0 0 6px var(--navy); }
.hero__c--left { left: 17%; top: 9%; width: 22%; height: 22%; box-shadow: 0 0 0 5px var(--navy); }
.hero__dot { position: absolute; border-radius: 50%; }
.hero__dot--1 { left: 3%; top: 31%; width: 17%; height: 17%; background: var(--navy); }
.hero__dot--2 { left: 3%; top: 52%; width: 12%; height: 12%; background: var(--lime); }
.hero__dot--3 { left: 6%; top: 68%; width: 8%; height: 8%; background: var(--navy); }

/* ===== 2 Quiénes somos ===== */
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; }
.about__badge { position: absolute; right: -12px; bottom: -24px; background: var(--navy); color: #fff; border-radius: 50%; width: 150px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 0 8px var(--soft); }
.about__badge strong { font-family: var(--fredoka); font-weight: 600; font-size: 48px; line-height: 1; }
.about__badge span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25; }
@media (max-width: 480px) { .about__badge { right: 8px; width: 120px; height: 120px; } .about__badge strong { font-size: 38px; } }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card-white { background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card-white__title { font-family: var(--fredoka); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); font-size: 17px; }
.card-white__text { font-size: 16px; line-height: 1.55; color: var(--body); }
.quote { margin: 6px 0 0; padding: 0; display: flex; gap: 16px; align-items: flex-start; }
.quote__dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); margin-top: 8px; }
.quote__body { display: flex; flex-direction: column; gap: 6px; }
.quote__text { font-family: var(--fredoka); font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--ink); }
.quote__ref { font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }

/* ===== 3 Necesidad ===== */
.need { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.need__stat { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.need__stat > *:not(.ring) { position: relative; }
.ring { position: absolute; border-radius: 50%; }
.ring--1 { right: -60px; top: -60px; width: 220px; height: 220px; border: 2px solid rgba(141,192,63,.5); }
.ring--2 { right: -20px; top: -20px; width: 140px; height: 140px; border: 2px solid rgba(141,192,63,.35); }
.need__num { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.need__num strong { font-family: var(--fredoka); font-weight: 600; font-size: clamp(72px, 9vw, 112px); line-height: .9; color: var(--lime-light); }
.need__num span { font-family: var(--fredoka); font-weight: 500; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
.need__stat p { font-size: 19px; line-height: 1.55; text-wrap: pretty; }
.need__verse { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; gap: 6px; }
.need__verse span:first-child { font-family: var(--fredoka); font-weight: 500; font-size: 19px; line-height: 1.35; }
.need__verse span:last-child { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #C9CBE3; }
.need__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.need-card { border: 1.5px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.need-card__n { font-family: var(--fredoka); font-weight: 600; font-size: 15px; color: var(--navy); width: 40px; height: 40px; border-radius: 50%; background: #EEF6E2; display: flex; align-items: center; justify-content: center; }
.need-card__t { font-family: var(--fredoka); font-weight: 600; font-size: 20px; line-height: 1.2; text-transform: uppercase; color: var(--ink); }
.need-card__p { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* ===== 4 Modelo ===== */
.model { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; align-items: end; }
.model__item { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.model__c { width: var(--s); aspect-ratio: 1 / 1; border-radius: 50%; background: var(--bg); color: var(--fg); display: flex; align-items: center; justify-content: center; font-family: var(--fredoka); font-weight: 600; font-size: 22px; }
.model__t { font-family: var(--fredoka); font-weight: 600; font-size: 21px; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.model__p { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 210px; }

/* ===== 5 Programas ===== */
.head-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.head-split .head { max-width: 640px; }
.head-split__p { font-size: 17px; line-height: 1.6; color: var(--body); max-width: 400px; text-wrap: pretty; }
.programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.workshops { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.workshop { background: var(--soft); border-radius: 18px; padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
.workshop i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
.workshop--lime i { background: var(--lime); }
.workshop span { font-family: var(--fredoka); font-weight: 600; font-size: 17px; line-height: 1.2; color: var(--ink); }
.others { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1.5px solid var(--line-2); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 15px; color: var(--navy); }
.school { background: var(--navy); color: #fff; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.school img { width: 100%; height: 220px; object-fit: cover; object-position: center 30%; }
.school__body { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.school__kicker { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-light); }
.school__title { margin: 0; font-family: var(--fredoka); font-weight: 600; text-transform: uppercase; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; }
.school__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.school__facts div { display: flex; flex-direction: column; gap: 4px; }
.school__facts strong { font-family: var(--fredoka); font-weight: 600; font-size: 34px; line-height: 1; color: var(--lime-light); }
.school__facts strong.sm { font-size: 22px; line-height: 1.1; padding-top: 6px; }
.school__facts span { font-size: 14px; color: #D4D6EA; }
.school__body p { font-size: 16px; line-height: 1.55; color: #E3E4F2; }

/* ===== 6 Proceso ===== */
.steps { position: relative; }
.steps__line { position: absolute; left: 28px; right: 28px; top: 27px; border-top: 2px dashed #B9BCD6; }
.steps__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px 20px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__n { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--fredoka); font-weight: 600; font-size: 22px; box-shadow: 0 0 0 6px var(--soft); }
.step--last .step__n { background: var(--lime); color: var(--ink); }
.step__t { font-family: var(--fredoka); font-weight: 600; font-size: 20px; text-transform: uppercase; line-height: 1.15; color: var(--ink); }
.step__p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.start { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px; align-items: center; }
.start__title { font-family: var(--fredoka); font-weight: 600; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; text-transform: uppercase; color: var(--navy); }
.start__p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.start__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 700px) { .start__cta { justify-content: flex-start; } }

/* ===== 7 Beneficios ===== */
.benefits { gap: clamp(40px, 6vw, 72px); }
.checks { display: flex; flex-direction: column; }
.checks div { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checks i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; font-style: normal; }
.checks span { font-size: 18px; font-weight: 600; color: var(--ink); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }
.mosaic .mosaic__tall { aspect-ratio: 3 / 4; grid-row: span 2; height: 100%; }

/* ===== 8 Impacto ===== */
.impact__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px; align-items: end; }
.impact__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.impact__nums div { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--lime); padding-top: 14px; }
.impact__nums strong { font-family: var(--fredoka); font-weight: 600; font-size: clamp(34px, 4vw, 48px); line-height: 1; color: var(--lime-light); }
.impact__nums span { font-size: 14px; line-height: 1.4; color: #D4D6EA; }
.stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.story { background: var(--navy); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.story__place { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-light); }
.story__name { font-family: var(--fredoka); font-weight: 600; font-size: 21px; text-transform: uppercase; line-height: 1.1; }
.story__p { font-size: 15px; line-height: 1.5; color: #DDDFEE; }

/* ===== 9 Dónde estamos ===== */
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.region { border-radius: 24px; background: var(--soft); color: var(--navy); padding: 26px; display: flex; flex-direction: column; gap: 18px; min-height: 220px; justify-content: space-between; }
.region--active { background: var(--navy); color: #fff; }
.region__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.region__dir { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.region__top i { width: var(--d); height: var(--d); border-radius: 50%; background: var(--c); flex: none; }
.region__bottom { display: flex; flex-direction: column; gap: 8px; }
.region__name { font-family: var(--fredoka); font-weight: 600; font-size: 28px; text-transform: uppercase; line-height: 1; }
.region__pill { align-self: flex-start; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--navy); }
.region--active .region__pill { background: var(--lime); color: var(--ink); }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.partners__list { display: flex; flex-wrap: wrap; gap: 10px; }
.partners__list span { font-family: var(--fredoka); font-weight: 600; font-size: 18px; color: var(--navy); background: var(--soft); padding: 12px 20px; border-radius: 999px; }

/* ===== 10 Involúcrate ===== */
.involve { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.inv { background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.inv > i { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); }
.inv__t { font-family: var(--fredoka); font-weight: 600; font-size: 22px; text-transform: uppercase; color: var(--navy); }
.inv__p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.inv--dark { background: var(--navy); color: #fff; }
.inv--dark > i { background: var(--lime); }
.inv--dark .inv__t { color: #fff; }
.inv--dark .inv__p { color: #DDDFEE; }
.inv--dark .inv__p strong { font-family: var(--fredoka); font-weight: 600; font-size: 20px; letter-spacing: .04em; color: #fff; }

/* ===== 11 Contacto ===== */
.contact__lead { line-height: 1.6; max-width: 460px; }
.contact__mail { font-weight: 700; font-size: 17px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.social { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 6px 18px 6px 6px; font-weight: 700; font-size: 15px; color: var(--navy); }
.social:hover { border-color: var(--navy); color: var(--navy); }
.social > span { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.form-box { background: var(--soft); border-radius: 28px; padding: clamp(24px, 4vw, 40px); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form[hidden] { display: none; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 14px; color: var(--navy); }
.form input, .form textarea { height: 52px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 0 16px; font-size: 16px; background: #fff; color: var(--ink); outline: none; }
.form textarea { height: auto; padding: 14px 16px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--navy); }
.form__error { color: #B3261E; font-weight: 700; font-size: 14px; }
.form__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sent { min-height: 360px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.sent[hidden] { display: none; }
.sent__check { width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; }
.sent__title { font-family: var(--fredoka); font-weight: 600; font-size: 30px; text-transform: uppercase; color: var(--navy); }
.sent__p { font-size: 17px; line-height: 1.55; color: var(--body); }
.btn-reset { align-self: flex-start; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); padding: 12px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; }

/* ===== Footer ===== */
.footer { background: var(--navy-dark); color: #fff; padding: clamp(56px, 8vw, 96px) var(--pad-x) 32px; overflow: hidden; }
.footer__verse { display: flex; flex-direction: column; gap: 14px; max-width: 880px; }
.footer__verse span:first-child { font-family: var(--fredoka); font-weight: 500; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; text-wrap: balance; }
.footer__verse span:last-child { font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-light); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { height: 84px; width: auto; }
.footer__brand span { font-size: 15px; line-height: 1.5; color: #C9CBE3; max-width: 260px; }
.footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; font-weight: 700; font-size: 15px; }
.footer__nav a { color: #fff; }
.footer__nav a.lime { color: var(--lime-light); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer__social a:hover { background: var(--lime); }
.footer__copy { font-size: 13px; color: #9EA1C4; }

/* ===== WhatsApp flotante ===== */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--lime); color: var(--ink); height: 54px; padding: 0 22px; border-radius: 999px; font-family: var(--fredoka); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(37,38,79,.25); }
.wa-float:hover { background: var(--lime-hover); color: var(--ink); }
.wa-float i { width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }

/* ===== Animaciones ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.04); } 100% { opacity: 1; transform: scale(1); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseRing { 0% { box-shadow: 0 8px 24px rgba(37,38,79,.25), 0 0 0 0 rgba(141,192,63,.55); } 70% { box-shadow: 0 8px 24px rgba(37,38,79,.25), 0 0 0 16px rgba(141,192,63,0); } 100% { box-shadow: 0 8px 24px rgba(37,38,79,.25), 0 0 0 0 rgba(141,192,63,0); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  /* Portada: entrada al cargar */
  .hero .stack-28 > * { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero .stack-28 > *:nth-child(2) { animation-delay: .1s; }
  .hero .stack-28 > *:nth-child(3) { animation-delay: .2s; }
  .hero .stack-28 > *:nth-child(4) { animation-delay: .3s; }
  .hero .stack-28 > *:nth-child(5) { animation-delay: .4s; }
  .hero__c, .hero__dot { animation: popIn .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero__c--main { animation-delay: .15s; }
  .hero__c--top { animation-delay: .35s; }
  .hero__c--left { animation-delay: .5s; }
  .hero__dot--1 { animation: popIn .7s .6s both, floatY 6s 1.4s ease-in-out infinite; }
  .hero__dot--2 { animation: popIn .7s .7s both, floatY 5s 1.6s ease-in-out infinite; }
  .hero__dot--3 { animation: popIn .7s .8s both, floatY 7s 1.8s ease-in-out infinite; }
  .hero__c img { transition: transform 1.2s ease; }
  .hero__c:hover img { transform: scale(1.06); }

  /* Aparición al hacer scroll (activada por main.js) */
  .js-anim [data-anim] { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
  .js-anim [data-anim="left"] { transform: translateX(-40px); }
  .js-anim [data-anim="right"] { transform: translateX(40px); }
  .js-anim [data-anim="pop"] { transform: scale(.7); }
  .js-anim [data-anim].in { opacity: 1; transform: none; }

  /* Línea punteada del proceso se "dibuja" */
  .js-anim .steps__line { transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.2,.7,.2,1) .2s; }
  .js-anim .steps.in .steps__line { transform: scaleX(1); }

  /* Anillos decorativos girando lento */
  .ring--1 { border-style: dashed; animation: spinSlow 40s linear infinite; }

  /* Hover: tarjetas que se elevan */
  .need-card, .inv, .region, .workshop, .story, .card-white, .step__n, .model__c, .chips span, .social { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .25s, border-color .25s; }
  .need-card:hover, .inv:hover, .region:hover, .card-white:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(37,38,79,.35); }
  .workshop:hover { transform: translateX(6px); background: #EEF6E2; }
  .story:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(0,0,0,.5); }
  .story img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .story { isolation: isolate; }
  .story:hover img { transform: scale(1.06); }
  .model__item:hover .model__c { transform: scale(1.08) rotate(-4deg); }
  .step:hover .step__n { transform: scale(1.12); }
  .chips span:hover { transform: translateY(-2px); border-color: var(--navy); }
  .school img, .mosaic img, .about__media img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
  .school:hover img { transform: scale(1.04); }
  .mosaic { overflow: visible; }
  .mosaic img:hover { transform: scale(1.03); }

  /* Botones */
  .btn, .nav-wide__cta { transition: background .2s, color .2s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
  .btn:hover, .nav-wide__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(37,38,79,.45); }
  .btn:active { transform: translateY(0); }
  .wa-float { animation: pulseRing 2.6s ease-out 2s infinite; transition: transform .25s; }
  .wa-float:hover { transform: translateY(-3px) scale(1.03); }

  /* Enlaces del menú con subrayado animado */
  .nav-wide a:not(.nav-wide__cta) { position: relative; }
  .nav-wide a:not(.nav-wide__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transition: transform .3s; }
  .nav-wide a:not(.nav-wide__cta):hover::after { transform: scaleX(1); }
}

/* Header con sombra al hacer scroll */
.header { transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 8px 24px -16px rgba(37,38,79,.35); }

/* Contador */
.counter { font-variant-numeric: tabular-nums; }
@keyframes countPop { 0% { transform: scale(1); } 40% { transform: scale(1.14); text-shadow: 0 0 22px rgba(165,211,90,.55); } 100% { transform: scale(1); text-shadow: none; } }
@media (prefers-reduced-motion: no-preference) {
  .counter { transform-origin: left center; }
  .about__badge .counter { transform-origin: center; }
  .count-done { animation: countPop .6s cubic-bezier(.2,.7,.2,1); }
}
