/* =========================================================
   INEA — Incubadora de Negocios de Alajuela (MEP)
   Paleta tomada de los afiches institucionales
   ========================================================= */

:root {
  --navy: #0f2c52;        /* azul marino institucional */
  --navy-2: #16386a;
  --navy-deep: #0a1f3c;
  --orange: #f6921e;      /* naranja INEA / acentos */
  --orange-d: #e07d09;
  --green: #5aa432;       /* verde INEA */
  --teal: #37c2c4;        /* turquesa cohete */
  --ink: #1d2733;
  --muted: #5a6776;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 44, 82, .10);
  --shadow-lg: 0 20px 50px rgba(15, 44, 82, .18);
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; line-height: 1.2; color: var(--navy); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== BOTONES ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-family: 'Poppins', sans-serif; font-size: .98rem;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(246,146,30,.35); }
.btn-primary:hover { background: var(--orange-d); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }
.logo-text-fallback { display: flex; flex-direction: column; line-height: 1; }
.logo-text-fallback strong { font-family: 'Poppins'; font-size: 1.6rem; color: var(--navy); letter-spacing: 1px; }
.logo-text-fallback small { font-size: .56rem; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px; border-radius: 999px; font-weight: 500;
  font-size: .95rem; color: var(--ink); transition: background .18s, color .18s;
}
.nav a:hover { background: var(--bg-alt); color: var(--navy); }
.nav .nav-cta { background: var(--navy); color: #fff; }
.nav .nav-cta:hover { background: var(--navy-2); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: #fff; padding: 90px 0 80px;
}
.hero-bg-deco { position: absolute; inset: 0; pointer-events: none; opacity: .35; }
.deco-rocket { position: absolute; right: -30px; top: 40px; width: 320px; height: 320px; opacity: .5; }
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-org { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero-org-logo { height: 64px; width: auto; background: #fff; border-radius: 10px; padding: 8px 12px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.hero-org-text { font-size: .82rem; letter-spacing: .3px; color: #cdd9ec; }

.hero-title {
  color: #fff; font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; margin-bottom: 22px;
}
.hero-title .grad {
  background: linear-gradient(90deg, var(--teal), #8a7bff 60%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.12rem; color: #d7e0ee; max-width: 640px; margin-bottom: 34px; }
.hero-sub strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-cantones { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-cantones li {
  font-size: .82rem; font-weight: 600; padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #e7eefb;
}

/* ===== SECCIONES GENERALES ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.section-dark .section-title,
.section-dark .section-lead { color: #fff; }
.section-dark .section-lead { color: #d7e0ee; }

.eyebrow {
  display: inline-block; font-family: 'Poppins'; font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange); margin-bottom: 12px;
}
.eyebrow-light { color: var(--teal); }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; margin-bottom: 16px; }
.section-lead { font-size: 1.08rem; color: var(--muted); max-width: 720px; margin-bottom: 44px; }

/* ===== PARA ESTUDIANTES ===== */
.section-students {
  background:
    radial-gradient(900px 360px at 90% -10%, rgba(55,194,196,.10), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}
.students-head { max-width: 760px; }
.students-sub {
  font-size: 1.35rem; font-weight: 700; margin: 14px 0 22px;
  display: flex; align-items: center; gap: 10px;
}
.students-sub::before {
  content: ""; width: 26px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--green));
}

/* chips ¿esto es para mí? */
.students-who { margin: 14px 0 50px; }
.who-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.who-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-weight: 600; font-size: .95rem; color: var(--navy);
  box-shadow: var(--shadow); transition: transform .15s, border-color .15s;
}
.who-chip:hover { transform: translateY(-2px); border-color: var(--orange); }

/* beneficios */
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px;
}
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .2s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(246,146,30,.15), rgba(90,164,50,.15));
}
.benefit h4 { font-family: 'Poppins'; font-size: 1.08rem; color: var(--navy); margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: .96rem; }

/* pasos del proceso */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; counter-reset: step; margin-bottom: 50px;
}
.step {
  position: relative; background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 28px 24px 26px; overflow: hidden;
}
.step::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 90px; height: 90px;
  border-radius: 50%; background: rgba(255,255,255,.05);
}
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: #fff; font-family: 'Poppins'; font-weight: 800;
  font-size: 1.3rem; margin-bottom: 16px;
}
.step h4 { color: #fff; font-family: 'Poppins'; font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: #cdd9ec; font-size: .94rem; }

.cta-band.cta-students { background: linear-gradient(120deg, var(--green), var(--teal)); }
.cta-band.cta-students p { color: #fff; }
.cta-band.cta-students strong { color: #fff; text-decoration: underline; }

/* ===== ¿QUÉ ES? ===== */
.que-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.que-text p { margin-bottom: 18px; color: #404b5a; font-size: 1.04rem; text-align: justify; }
.que-cards { display: grid; gap: 16px; }
.mini-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start;
  transition: transform .18s, box-shadow .2s;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mini-ico { font-size: 1.7rem; line-height: 1; }
.mini-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.mini-card p { font-size: .94rem; color: var(--muted); }

/* ===== SIGNIFICADO DE INEA ===== */
.meaning-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; margin-bottom: 36px;
}
.meaning-logo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: grid; place-items: center; box-shadow: var(--shadow);
}
.meaning-logo img { max-width: 100%; max-height: 300px; }
.meaning-list { list-style: none; display: grid; gap: 20px; }
.meaning-list li { display: flex; gap: 16px; align-items: flex-start; }
.meaning-ico {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; background: linear-gradient(135deg, rgba(58,74,90,.12), rgba(58,74,90,.05));
}
.meaning-ico--green { background: linear-gradient(135deg, rgba(90,164,50,.20), rgba(90,164,50,.06)); }
.meaning-ico--yellow { background: linear-gradient(135deg, rgba(245,184,0,.22), rgba(245,184,0,.07)); }
.meaning-list h4 { font-family: 'Poppins'; font-size: 1.1rem; color: var(--navy); margin-bottom: 3px; }
.meaning-list p { color: var(--muted); font-size: .96rem; }
.meaning-credits {
  display: flex; gap: 14px; align-items: center; background: #fff;
  border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius);
  padding: 20px 24px; color: #404b5a; font-size: .98rem; box-shadow: var(--shadow);
}
.meaning-credits .mc-star { font-size: 1.6rem; flex-shrink: 0; }
.meaning-credits strong { color: var(--navy); }

/* ===== VIDEO ===== */
.video-frame {
  position: relative; width: 100%; max-width: 880px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--navy);
}
.video-frame iframe,
.video-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
  object-fit: cover;
}
/* video vertical (de celular) */
.video-frame--portrait {
  aspect-ratio: 9 / 16; max-width: 380px; background: #000;
}
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 24px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(55,194,196,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.video-play {
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #fff; font-size: 1.8rem; padding-left: 6px;
  margin-bottom: 18px; box-shadow: 0 10px 30px rgba(246,146,30,.45);
}
.video-ph-title { font-family: 'Poppins'; font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.video-ph-sub { color: #cdd9ec; font-size: .92rem; max-width: 460px; }
.video-frame video { cursor: pointer; }
.video-unmute {
  position: absolute; left: 14px; bottom: 14px; z-index: 3; pointer-events: none;
  background: rgba(15,44,82,.82); color: #fff; font-size: .82rem; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(4px);
  transition: opacity .3s; opacity: .95;
}
.video-frame.sound-on .video-unmute { background: rgba(90,164,50,.9); }

/* video dentro de la sección de estudiantes */
.students-video-lead { color: var(--muted); margin: -8px 0 22px; max-width: 640px; }
#estudiantes .video-frame, #video .video-frame { margin-bottom: 8px; }
#estudiantes .video-frame { margin-bottom: 18px; }
.video-wa-cta { text-align: center; margin-bottom: 44px; }
.video-wa-cta p { color: var(--muted); font-weight: 500; margin-bottom: 14px; }

/* ===== JUNTA STATS ===== */
.junta-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.jstat {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
}
.jstat-ico { font-size: 1.7rem; }
.jstat strong { display: block; color: #fff; font-family: 'Poppins'; font-size: 1.02rem; }
.jstat small { color: #b9c6db; font-size: .85rem; }

/* ===== INTEGRANTES DE LA JUNTA ===== */
.junta-members-title { color: #fff; font-family: 'Poppins'; font-size: 1.35rem; margin: 44px 0 22px; }
.members-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.member {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-top: 3px solid var(--orange); border-radius: var(--radius); padding: 22px 24px;
  transition: transform .18s, background .18s;
}
.member:hover { transform: translateY(-3px); background: rgba(255,255,255,.08); }
.member-role {
  display: inline-block; font-family: 'Poppins'; font-weight: 600; font-size: .72rem;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); margin-bottom: 8px;
}
.member h4 { color: #fff; font-family: 'Poppins'; font-size: 1.1rem; margin-bottom: 4px; }
.member p { color: #b9c6db; font-size: .9rem; }

/* ===== CARDS (3 col) ===== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .2s;
  border-top: 4px solid var(--orange);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); font-size: 1.6rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ===== FEATURES (mentor) ===== */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 48px; }
.feature {
  position: relative; padding: 24px 26px 24px 28px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.feature::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px;
  border-radius: 4px; background: linear-gradient(var(--green), var(--teal));
}
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ===== CTA BAND ===== */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; padding: 30px 36px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff;
}
.cta-band p { font-size: 1.1rem; font-weight: 500; font-family: 'Poppins'; }
.cta-band-light { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); }

/* ===== JUNTA ===== */
.junta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 44px; }
.junta-block {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 30px 32px;
}
.junta-block h3 { color: #fff; font-size: 1.25rem; margin-bottom: 14px; }
.junta-block p { color: #cfd9ea; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: #e3eaf5; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--orange);
  color: #fff; font-size: .8rem; display: grid; place-items: center; font-weight: 700;
}

/* ===== CONTACTO ===== */
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 40px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
}
.contact-person { display: flex; align-items: center; gap: 20px; }
.contact-avatar {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--orange)); color: #fff;
  display: grid; place-items: center; font-family: 'Poppins'; font-weight: 700; font-size: 1.5rem;
}
.contact-person h3 { font-size: 1.4rem; }
.contact-role { color: var(--muted); font-size: .92rem; }
.contact-links { display: grid; gap: 12px; }
.contact-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: var(--bg-alt); border-radius: var(--radius-sm); font-weight: 500;
  transition: background .18s, transform .15s; color: var(--ink);
}
a.contact-link:hover { background: #e9eff7; transform: translateX(3px); }
.contact-link { min-width: 0; }
.contact-link span { overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.contact-link .ci { font-size: 1.2rem; flex-shrink: 0; }

/* bloque "escribinos" (ocupa todo el ancho de la tarjeta) */
.contact-write {
  grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 4px;
}
.cw-label { font-family: 'Poppins'; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.cw-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.cw-opt {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .92rem; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line);
  background: #fff; color: var(--muted); transition: all .15s;
}
.cw-opt:hover { border-color: var(--orange); color: var(--navy); }
.cw-opt.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.cw-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn-wa:hover { background: #1ebe5a; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-deep); color: #c5d1e4; padding: 50px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-brand { max-width: 460px; }
.footer-logo { height: 58px; width: auto; margin-bottom: 14px; background: #fff; border-radius: 10px; padding: 8px 12px; }
.footer-brand p { font-size: .95rem; }
.footer-meta { font-size: .88rem; text-align: right; opacity: .85; }
.footer-meta p { margin-bottom: 4px; }

/* Sello discreto de la empresa desarrolladora */
.footer-credit {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  opacity: .55; transition: opacity .25s;
}
.footer-credit:hover { opacity: .9; }
.dev-logo {
  height: 26px; width: auto; border-radius: 4px; background: #000; padding: 3px 5px; flex-shrink: 0;
}
.dev-text { color: #9aa8bf; font-size: .72rem; letter-spacing: .2px; }
.dev-text strong { color: #c5d1e4; font-weight: 600; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s, transform .25s; z-index: 90;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===== ANIMACIONES ✨ ===== */

/* Barra de progreso de lectura */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--green), var(--teal));
  z-index: 200; box-shadow: 0 0 10px rgba(246,146,30,.5);
}

/* Entrada del hero (escalonada) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-org      { animation: fadeUp .7s .05s both; }
.hero-title    { animation: fadeUp .8s .18s both; }
.hero-sub      { animation: fadeUp .8s .34s both; }
.hero-actions  { animation: fadeUp .8s .50s both; }
.hero-cantones { animation: fadeUp .8s .66s both; }

/* Cohete flotando */
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(4deg); } }
.deco-rocket { animation: floaty 6s ease-in-out infinite; }

/* Brillo animado en el texto degradado */
.hero-title .grad { background-size: 220% auto; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 220% center; } }

/* Reveal al hacer scroll (gated por .anim: sin JS, nada se oculta) */
.anim .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.anim .reveal.is-visible { opacity: 1; transform: none; }

/* Pequeño zoom-in para tarjetas destacadas al revelarse */
.anim .reveal.pop { transform: translateY(28px) scale(.96); }
.anim .reveal.pop.is-visible { transform: none; }

/* Latido suave del botón principal del hero */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 20px rgba(246,146,30,.35); }
  50%      { box-shadow: 0 8px 34px rgba(246,146,30,.65); }
}
.hero-actions .btn-primary { animation: pulseGlow 2.8s ease-in-out infinite; }

/* Subrayado animado en el menú */
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px;
  border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.nav a:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .anim .reveal { opacity: 1 !important; transform: none !important; }
  .scroll-progress { display: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .que-grid, .cards-3, .feature-list, .junta-grid, .contact-card, .junta-stats, .members-grid, .meaning-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px 22px; gap: 6px;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 16px; }
  .nav .nav-cta { text-align: center; margin-top: 6px; }
  .footer-meta { text-align: left; }
  .footer-credit { flex-direction: column; text-align: center; gap: 8px; }
  .site-footer { padding-bottom: 88px; }
}
@media (max-width: 600px) {
  .benefits-grid, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 56px; }
  .cta-band { flex-direction: column; align-items: stretch; padding: 26px; text-align: center; }
  .contact-card { padding: 24px; }
  .hero-title { font-size: 2.1rem; }
  /* Botones a todo el ancho y fáciles de tocar */
  .hero-actions, .cw-actions { flex-direction: column; }
  .hero-actions .btn, .cw-actions .btn, .cta-band .btn, .video-wa-cta .btn { width: 100%; }
  .cw-options { gap: 8px; }
  .cw-opt { flex: 1 1 100%; text-align: center; }
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
