/* ============================================================
   Instituto Atlas · Landing Page
   Sales funnel — designed to convert visitors into students.
   ============================================================ */
@import url("colors_and_type.css");
@import url("fonts/font_awesome_5_free.min.css");

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; }
:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 90;
  padding: 18px 0;
  transition: background .3s, box-shadow .3s, padding .3s, top .3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 10px 0;
  top: 0;
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  flex-shrink: 0; letter-spacing: -0.01em;
}
.nav.scrolled .nav-brand { color: var(--fg-strong); text-shadow: none; }
.nav-brand .mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-green); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px;
}
.nav-logo-img {
  height: 46px; width: auto;
  /* evita “cuadro” alrededor del logo (PNG/JPG) cuando el header es transparente */
  background: transparent;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.45));

  /* Al agrandar el logo, se evita que quede recortado por alineación */
  vertical-align: middle;
  margin-top: 6px;

  transition: filter .3s;
}
.nav.scrolled .nav-logo-img { filter: none; }

/* ── Wordmark "Instituto ATLAS" ── */
.nav-brand-text {
  display: flex; flex-direction: column;
  line-height: 1; gap: 0px;
}
.nav-brand-instituto {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 8.5px; font-weight: 400;
  letter-spacing: 0.52em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  transition: color .3s;
}
.nav-brand-atlas {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 23px; font-weight: 900;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 0 40px rgba(71,174,27,0.3);
  transition: color .3s, text-shadow .3s;
}
.nav.scrolled .nav-brand-instituto { color: var(--fg); }
.nav.scrolled .nav-brand-atlas {
  color: var(--brand-green);
  text-shadow: none;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto;
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.nav.scrolled .nav-links { color: var(--fg); }
.nav-links a:hover { color: var(--brand-green); }
.nav-actions {
  display: flex; align-items: center; gap: 10px;
}
.nav-login {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9);
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all .2s;
}
.nav.scrolled .nav-login { color: var(--fg-strong); border-color: var(--gray-200); }
.nav-login:hover { background: rgba(255,255,255,0.15); }
.nav.scrolled .nav-login:hover { background: var(--bg-app); }
.nav-cta-btn {
  font-size: 14px; font-weight: 700; color: #fff;
  padding: 10px 22px; border-radius: 999px;
  background: var(--brand-green);
  box-shadow: 0 4px 14px rgba(71,174,27,0.4);
  transition: all .2s;
  white-space: nowrap;
}
.nav-cta-btn:hover { background: #3c9817; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(71,174,27,0.5); }
.nav-burger {
  display: none;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 18px;
  align-items: center; justify-content: center;
}
.nav.scrolled .nav-burger { background: var(--bg-app); color: var(--fg-strong); border-color: var(--gray-200); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-login { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; color: #fff;
  padding: 120px 0 100px;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  animation: heroDrift 30s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate(0,0); }
  to   { transform: scale(1.1) translate(-1%,-1%); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(170deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.72) 100%),
    linear-gradient(120deg, rgba(71,174,27,0.4) 0%, transparent 55%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 28px;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-eyebrow .star { color: #ffd700; }
.hero h1 {
  font-size: clamp(38px, 6.5vw, 76px);
  font-weight: 800; line-height: 1.02;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #b1ee8d, var(--brand-green), #e8ffc8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 21px);
  color: rgba(255,255,255,0.88);
  max-width: 52ch; line-height: 1.55;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px;
}
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 32px; border-radius: 999px;
  background: var(--brand-green); color: #fff;
  font-size: 16px; font-weight: 700;
  box-shadow: 0 14px 32px -8px rgba(71,174,27,0.6);
  transition: transform .2s, box-shadow .2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -8px rgba(71,174,27,0.75); }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 32px; border-radius: 999px;
  background: rgba(255,255,255,0.12); color: #fff;
  font-size: 16px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  transition: all .2s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.hero-trust {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8);
  margin-top: 4px;
}
.hero-trust .sep { opacity: 0.3; }
.hero-trust .hi { color: #fff; }

/* hero stats strip */
.hero-stats-bar {
  position: relative; z-index: 3;
  margin: -56px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px; overflow: hidden;
  backdrop-filter: blur(18px) saturate(150%);
}
.hero-stats-bar .item {
  background: rgba(255,255,255,0.88);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.hero-stats-bar .num {
  font-size: clamp(24px, 2.6vw, 34px); font-weight: 800;
  color: var(--brand-green); letter-spacing: -0.02em;
}
.hero-stats-bar .lbl {
  font-size: 13px; color: var(--fg-muted); font-weight: 600;
}
@media (max-width: 720px) { .hero-stats-bar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .hero-stats-bar { grid-template-columns: 1fr; } }

/* =========================================================
   SECTION SHARED
   ========================================================= */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section.bg-light { background: var(--bg-app); }
.section.bg-dark  { background: #0e1311; color: #fff; }
.section.bg-green { background: var(--brand-green); color: #fff; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-green);
  margin-bottom: 14px;
}
.section-label::before { content:""; width:22px; height:2px; background:var(--brand-green); border-radius:2px; }
.section.bg-green .section-label { color: #d3f5b5; }
.section.bg-green .section-label::before { background: #d3f5b5; }
.section-title {
  font-size: clamp(28px, 4.2vw, 48px); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.022em;
  color: var(--fg-strong); text-wrap: balance;
}
.section.bg-dark  .section-title,
.section.bg-green .section-title { color: #fff; }
.section-sub {
  font-size: 17px; color: var(--fg-muted); line-height: 1.65;
  max-width: 580px; margin-top: 14px;
}
.section.bg-dark  .section-sub { color: rgba(255,255,255,0.7); }
.section.bg-green .section-sub { color: rgba(255,255,255,0.8); }
.section-head { margin-bottom: 48px; }
.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; flex-wrap: wrap; margin-bottom: 48px;
}
.view-all-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--brand-green);
  padding: 10px 18px; border-radius: 999px;
  background: rgba(71,174,27,0.08);
  transition: all .2s; white-space: nowrap;
}
.view-all-link:hover { background: var(--brand-green); color: #fff; }

/* =========================================================
   CURSOS — course cards (main selling section)
   ========================================================= */
.cursos-grid-landing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 28px;
}

.course-card {
  border-radius: 22px; background: #fff; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 0 var(--gray-200), 0 12px 36px -18px rgba(0,0,0,0.16);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  position: relative;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 2px 0 var(--gray-200), 0 32px 60px -20px rgba(0,0,0,0.26);
}
.course-card.featured {
  border: 2px solid var(--brand-green);
  box-shadow: 0 0 0 4px rgba(71,174,27,0.12), 0 12px 36px -18px rgba(0,0,0,0.16);
}
.course-card.featured:hover {
  box-shadow: 0 0 0 4px rgba(71,174,27,0.2), 0 32px 60px -20px rgba(0,0,0,0.26);
}
.featured-badge {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  background: var(--brand-green); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: 999px;
  text-transform: uppercase;
}
.course-thumb {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
}
.course-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.course-card:hover .course-thumb img { transform: scale(1.07); }
.course-category {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  color: var(--fg-strong); font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.course-body {
  padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 14px;
}
.course-rating {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
}
.course-rating .stars { color: #ffc107; letter-spacing: 1px; }
.course-rating .count { color: var(--fg-muted); }
.course-title {
  font-size: 19px; font-weight: 800; line-height: 1.22;
  letter-spacing: -0.01em; color: var(--fg-strong);
  margin: 0;
}
.course-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.55; }
.course-subjects {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0; padding: 0;
}
.course-subjects li {
  background: rgba(71,174,27,0.10); color: var(--brand-green);
  font-size: 12px; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
}
.course-level {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 5px;
}
.course-level i { font-size: 10px; }
.course-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: var(--fg-muted); font-weight: 600;
}
.course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-meta i { color: var(--brand-green); font-size: 11px; }
.course-divider { height: 1px; background: var(--gray-200); margin: 0; }
.course-pricing { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.course-price-old {
  font-size: 14px; color: var(--fg-muted); font-weight: 600;
  text-decoration: line-through;
}
.course-price {
  font-size: 26px; font-weight: 800; color: var(--fg-strong);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.course-price-period { font-size: 13px; color: var(--fg-muted); font-weight: 500; }
.course-discount {
  background: rgba(71,174,27,0.12); color: var(--brand-green);
  font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.course-cta {
  display: block; text-align: center;
  background: var(--brand-green); color: #fff;
  font-size: 15px; font-weight: 700;
  padding: 14px 20px; border-radius: 14px;
  transition: all .2s;
  box-shadow: 0 6px 18px -6px rgba(71,174,27,0.45);
}
.course-cta:hover { background: #3c9817; transform: translateY(-1px); box-shadow: 0 10px 24px -6px rgba(71,174,27,0.55); }
.course-cta i { margin-right: 6px; }
.course-spots {
  font-size: 12px; color: var(--fg-muted); font-weight: 600;
  text-align: center;
}
.course-spots strong { color: #e05c00; }

/* =========================================================
   POR QUÉ NOSOTROS — benefits
   ========================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 24px;
}

.benefit-card {
  background: #fff; border-radius: 20px; padding: 28px 24px;
  border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.benefit-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(71,174,27,0.25);
}
.benefit-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(71,174,27,0.10); color: var(--brand-green);
  display: grid; place-items: center; font-size: 20px;
}
.benefit-card h3 {
  font-size: 17px; font-weight: 800; color: var(--fg-strong);
  letter-spacing: -0.01em; margin: 0;
}
.benefit-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* =========================================================
   CTA BANNER (mid-page urgency)
   ========================================================= */
.cta-banner {
  background:
    radial-gradient(circle at 85% 50%, rgba(255,255,255,0.1) 0%, transparent 55%),
    linear-gradient(135deg, #2d6e11 0%, #47AE1B 50%, #5fc436 100%);
  border-radius: 28px; padding: clamp(40px,6vw,70px) clamp(30px,5vw,60px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
  box-shadow: 0 30px 60px -28px rgba(71,174,27,0.45);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.cta-banner-text { position: relative; z-index: 1; }
.cta-banner-text h2 {
  font-size: clamp(24px, 3.5vw, 38px); font-weight: 800;
  color: #fff; letter-spacing: -0.02em; line-height: 1.1; margin: 0;
}
.cta-banner-text p { color: rgba(255,255,255,0.82); font-size: 16px; margin-top: 10px; }
.cta-banner-actions {
  display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1;
  flex-shrink: 0;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: #fff; color: var(--brand-green);
  font-size: 15px; font-weight: 800;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: all .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.2); }
.btn-wapp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: rgba(255,255,255,0.15); color: #fff;
  font-size: 15px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  transition: all .2s;
}
.btn-wapp:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.urgency-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.urgency-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #ffd700; animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.testimonio-card {
  background: #fff; border-radius: 22px; padding: 28px;
  border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .25s, transform .25s;
}
.testimonio-card:hover { border-color: var(--brand-green); transform: translateY(-4px); }
.testimonio-stars { color: #ffc107; font-size: 15px; letter-spacing: 2px; }
.testimonio-quote {
  font-size: 15px; color: var(--fg); line-height: 1.65;
  font-style: italic;
}
.testimonio-quote::before { content: "\201C"; font-size: 40px; color: var(--brand-green); line-height: 0; vertical-align: -14px; margin-right: 4px; font-style: normal; }
.testimonio-author {
  display: flex; align-items: center; gap: 14px;
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--gray-200);
}
.testimonio-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gray-200) center/cover;
  flex-shrink: 0;
}
.testimonio-name { font-weight: 800; font-size: 15px; color: var(--fg-strong); }
.testimonio-course { font-size: 13px; color: var(--fg-muted); font-weight: 600; }

/* =========================================================
   PROCESO — enrollment steps
   ========================================================= */
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(var(--paso-count, 3), 1fr);
  gap: 36px;
  position: relative;
}
.proceso-grid::before {
  content: ""; position: absolute;
  top: 36px;
  left: calc(50% / var(--paso-count, 3) + 20px);
  right: calc(50% / var(--paso-count, 3) + 20px);
  height: 2px; background: linear-gradient(90deg, var(--brand-green), rgba(71,174,27,0.3));
  border-radius: 2px;
}
@media (max-width: 720px) {
  .proceso-grid { grid-template-columns: 1fr; }
  .proceso-grid::before { display: none; }
}
.paso {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
}
.paso-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--brand-green); color: #fff;
  font-size: 26px; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(71,174,27,0.5);
  position: relative; z-index: 1;
}
.paso h3 { font-size: 19px; font-weight: 800; color: var(--fg-strong); }
.paso p { font-size: 15px; color: var(--fg-muted); line-height: 1.6; max-width: 26ch; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-200); border-radius: 16px; overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--brand-green); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; background: none;
  font-size: 16px; font-weight: 700; color: var(--fg-strong); text-align: left;
}
.faq-q .icon { font-size: 14px; color: var(--brand-green); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px; color: var(--fg-muted); line-height: 1.65;
}
.faq-item.open .faq-a { display: block; }

/* =========================================================
   APOYO ESCOLAR Y UNIVERSITARIO
   ========================================================= */
.apoyo-section { background: var(--bg-app); }
.apoyo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-top: 48px;
}
@media (max-width: 780px) { .apoyo-grid { grid-template-columns: 1fr; } }
.apoyo-card {
  background: #fff; border-radius: 24px;
  border: 1px solid var(--gray-200);
  padding: 36px 36px 30px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 2px 0 var(--gray-200), 0 12px 36px -18px rgba(0,0,0,0.09);
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.apoyo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gray-200);
}
.apoyo-card-uni::before { background: var(--brand-green); }
.apoyo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 2px 0 var(--gray-200), 0 28px 52px -18px rgba(0,0,0,0.18);
}
.apoyo-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(71,174,27,0.10);
  display: grid; place-items: center;
  font-size: 22px; color: var(--brand-green);
}
.apoyo-card-title {
  font-size: 26px; font-weight: 800; color: var(--fg-strong);
  letter-spacing: -0.02em; margin: 0;
}
.apoyo-card-level {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--fg-muted); margin: -6px 0 0;
}
.apoyo-card-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; margin: 0; }
.apoyo-materias-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--fg-muted); margin-top: 4px;
}
.apoyo-materias {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0; padding: 0;
}
.apoyo-materias li {
  background: rgba(71,174,27,0.09); color: var(--brand-green);
  font-size: 13px; font-weight: 600;
  padding: 5px 13px; border-radius: 999px;
}
.apoyo-card-footer { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 10px; }
.apoyo-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--brand-green); color: #fff;
  font-size: 15px; font-weight: 700;
  padding: 14px 24px; border-radius: 14px;
  transition: filter .2s, transform .2s;
  text-decoration: none;
}
.apoyo-cta:hover { filter: brightness(1.08); transform: translateY(-2px); }
.apoyo-cta-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: transparent; color: var(--brand-green);
  font-size: 15px; font-weight: 700;
  padding: 14px 24px; border-radius: 14px;
  border: 2px solid var(--brand-green);
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.apoyo-cta-ghost:hover { background: rgba(71,174,27,0.07); transform: translateY(-2px); }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  text-align: center; padding: clamp(80px,11vw,140px) 0;
  background:
    radial-gradient(1400px 700px at 50% 0%, rgba(71,174,27,0.12), transparent 65%),
    #fff;
}
.final-cta h2 {
  font-size: clamp(32px, 5vw, 58px); font-weight: 800;
  color: var(--fg-strong); letter-spacing: -0.025em;
  line-height: 1.06; text-wrap: balance; margin-bottom: 18px;
}
.final-cta h2 em {
  font-style: normal; color: var(--brand-green);
}
.final-cta p { font-size: 18px; color: var(--fg-muted); max-width: 52ch; margin: 0 auto 36px; }
.final-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.btn-final {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 20px 36px; border-radius: 999px;
  font-size: 17px; font-weight: 800;
}
.btn-final-primary {
  background: var(--brand-green); color: #fff;
  box-shadow: 0 16px 36px -10px rgba(71,174,27,0.55);
  transition: all .2s;
}
.btn-final-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -10px rgba(71,174,27,0.7); }
.btn-final-secondary {
  background: var(--bg-app); color: var(--fg-strong);
  border: 1px solid var(--gray-200);
  transition: all .2s;
}
.btn-final-secondary:hover { border-color: var(--brand-green); color: var(--brand-green); }
.final-guarantee {
  margin-top: 28px; font-size: 14px; color: var(--fg-muted); font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.final-guarantee i { color: var(--brand-green); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #0e1311; color: rgba(255,255,255,0.65);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--brand-green); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-img { height: 44px; width: auto; background: transparent; }

.footer .nav-brand-instituto { color: rgba(255,255,255,0.6); }
.footer .nav-brand-atlas { color: #fff; text-shadow: none; font-size: 21px; }
.footer-tagline { font-size: 14px; line-height: 1.65; max-width: 300px; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact a { display: flex; align-items: center; gap: 8px; }
.footer-contact i { color: var(--brand-green); width: 16px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center; color: #fff; transition: all .2s;
}
.footer-socials a:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 4px rgba(71,174,27,0.4), 0 4px 16px rgba(71,174,27,0.3);
  transform: translateY(-2px);
}
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px;
}

/* =========================================================
   VISIÓN & MISIÓN
   ========================================================= */
.vm-section { background: #fff; }
.vm-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}
@media (max-width: 820px) {
  .vm-layout { grid-template-columns: 1fr; gap: 44px; }
}
.vm-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-size: 14px; font-weight: 700; color: var(--brand-green);
  border-bottom: 2px solid var(--brand-green);
  padding-bottom: 2px;
  transition: gap .2s, opacity .2s;
}
.vm-cta:hover { gap: 14px; opacity: .8; }

.vm-right {
  display: flex; flex-direction: column;
}
.vm-item {
  padding: 32px 0 32px 32px;
  border-left: 2px solid var(--gray-200);
  transition: border-color .25s;
}
.vm-item:hover { border-color: var(--brand-green); }
.vm-item:first-child { padding-top: 0; }
.vm-item:last-child  { padding-bottom: 0; }
.vm-item p {
  margin: 0;
  font-size: 16px; color: var(--fg-muted);
  line-height: 1.7; max-width: 46ch;
}
.vm-tag {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-green);
  margin-bottom: 12px;
}
.vm-sep {
  height: 1px; background: var(--gray-200);
  margin-left: 32px;
}

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */
.float-group {
  position: fixed; bottom: 30px; right: 28px;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-end; z-index: 200;
  opacity: 0; transform: translateY(20px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.float-group.visible { opacity: 1; transform: none; pointer-events: auto; }

/* WhatsApp button */
.float-wapp {
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  font-size: 26px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: transform .25s, box-shadow .25s;
  animation: wappPulse 2.5s infinite;
}
.float-wapp:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.65); animation: none; }
@keyframes wappPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 6px 32px rgba(37,211,102,0.75), 0 0 0 8px rgba(37,211,102,0.12); }
}
.float-wapp-label {
  font-size: 12px; font-weight: 700; color: #fff;
  background: #25D366; padding: 5px 12px; border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
}

/* Elegir curso button */
.float-cursos {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-green); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 13px 22px; border-radius: 999px;
  box-shadow: 0 6px 22px rgba(71,174,27,0.45);
  transition: all .25s;
  white-space: nowrap;
}
.float-cursos:hover { background: #3c9817; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(71,174,27,0.55); }
