/* ═══════════════════════════════════════════════════════════════
   POLINAL CMS — Design System
   Instituto Politécnico Nacional · Sogamoso, Boyacá
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --primary:        #1B3A8C;
  --primary-dark:   #0F2460;
  --primary-light:  #2D55C8;
  --secondary:      #10B981;
  --accent:         #F59E0B;
  --accent-dark:    #D97706;
  --white:          #FFFFFF;
  --gray-50:        #F8FAFC;
  --gray-100:       #F1F5F9;
  --gray-200:       #E2E8F0;
  --gray-300:       #CBD5E1;
  --gray-400:       #94A3B8;
  --gray-600:       #475569;
  --gray-700:       #334155;
  --gray-800:       #1E293B;
  --gray-900:       #0F172A;
  --text:           #1E293B;
  --text-muted:     #64748B;

  --radius-sm:      .375rem;
  --radius:         .75rem;
  --radius-lg:      1.25rem;
  --radius-xl:      2rem;
  --radius-full:    9999px;

  --shadow-sm:      0 1px 3px rgba(0,0,0,.08);
  --shadow:         0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:      0 16px 48px rgba(0,0,0,.15);
  --shadow-xl:      0 24px 64px rgba(0,0,0,.2);

  --transition:     .25s cubic-bezier(.4,0,.2,1);
  --font:           'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  --nav-height:     72px;
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

/* ── Typography ──────────────────────────────────────────────── */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: .5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent { color: var(--accent); }

/* ── Chips & Badges ──────────────────────────────────────────── */
.section-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(27,58,140,.08);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.chip-light {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1rem;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
}

.badge-glass {
  background: rgba(255,255,255,.15);
  color: var(--white);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-sm  { padding: .45rem 1.1rem; font-size: .85rem; }
.btn-lg  { padding: .85rem 2rem; font-size: 1rem; }

.btn-primary {
  background: var(--accent);
  color: var(--gray-900);
  box-shadow: 0 4px 20px rgba(245,158,11,.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,158,11,.45);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-program {
  background: color-mix(in srgb, var(--c, var(--primary)) 10%, transparent);
  color: var(--c, var(--primary));
  border-color: color-mix(in srgb, var(--c, var(--primary)) 30%, transparent);
  padding: .55rem 1.2rem;
  font-size: .875rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all var(--transition);
}
.btn-program:hover {
  background: var(--c, var(--primary));
  color: var(--white);
  transform: translateX(4px);
}

/* ════════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--primary-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: opacity var(--transition);
}
.nav-logo:hover img { opacity: .85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .9rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,36,96,.92) 0%,
    rgba(27,58,140,.82) 50%,
    rgba(27,58,140,.6) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 1.5rem 3rem;
}

.hero-content { color: var(--white); }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 1rem 0 1.25rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  width: fit-content;
}

.trust-item { text-align: center; }
.trust-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.trust-label {
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  margin-top: .2rem;
  display: block;
}
.trust-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.2);
}

/* Hero image */
.hero-image { position: relative; display: flex; justify-content: center; }

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-img-wrapper img {
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: .75rem 1.1rem;
  box-shadow: var(--shadow-lg);
  animation: float-card 5s ease-in-out infinite;
}

.hero-card-1 { bottom: 15%; left: -10%; animation-delay: -2s; }
.hero-card-2 { top: 20%;    right: -5%; animation-delay: -1s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(.5deg); }
}

.float-icon { font-size: 1.5rem; }
.float-val  { font-size: .85rem; font-weight: 700; color: var(--gray-800); line-height: 1.2; }
.float-sub  { font-size: .7rem; color: var(--text-muted); }

/* Wave */
.hero-wave {
  position: relative;
  z-index: 1;
  margin-top: -1px;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; }

/* ════════════════════════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--gray-50);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(27,58,140,.15);
}

.stat-icon   { font-size: 1.75rem; margin-bottom: .5rem; }
.stat-value  { font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label  { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; font-weight: 500; }

/* ════════════════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════════════════ */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-frame img {
  width: 100%;
  transition: transform .5s ease;
}
.about-img-frame:hover img { transform: scale(1.03); }

.about-badge-float {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--primary);
  color: var(--white);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-year {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
}
.badge-text { font-size: .7rem; opacity: .85; text-align: center; margin-top: .1rem; }

.about-content { display: flex; flex-direction: column; gap: 0; }

.about-text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 500;
  color: var(--gray-700);
}

.check-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16,185,129,.1);
  color: var(--secondary);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-resolution {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: rgba(27,58,140,.04);
  border: 1px solid rgba(27,58,140,.12);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  color: var(--primary);
}

.about-resolution svg { flex-shrink: 0; margin-top: 2px; }
.about-resolution p { font-size: .9rem; line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════
   PROGRAMS
   ════════════════════════════════════════════════════════════════ */
.programs-section {
  background: var(--gray-50);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27,58,140,.1);
}

.program-img-wrap {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--gray-100);
  max-height: 280px;
}

.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.program-card:hover .program-img-wrap img { transform: scale(1.05); }

.program-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}

.program-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}

.program-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
}

.program-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}

.program-hours {
  background: var(--gray-100);
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.program-body p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

/* ── Card overlay link (hace toda la card clicable) ─────────────── */
.program-card { position: relative; }
.card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.program-card .program-actions { position: relative; z-index: 2; }
.program-card .program-img-gallery { position: relative; z-index: 2; }

/* ── Lucide icons dentro de tags y schedule ──────────────────────── */
.program-tags span,
.program-schedule span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.program-tags i,
.program-schedule i { width: 12px; height: 12px; flex-shrink: 0; }

.btn-program { display: inline-flex; align-items: center; gap: .4rem; }
.btn-program i { width: 14px; height: 14px; }

/* ── Stat icon con Lucide ────────────────────────────────────────── */
.stat-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(27,58,140,.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .5rem;
  color: var(--primary);
}
.stat-icon-wrap svg { width: 22px; height: 22px; }

/* ── Galería mini dentro de tarjeta ──────────────────────────────── */
.program-img-gallery {
  position: absolute;
  bottom: .6rem;
  right: .6rem;
  display: flex;
  gap: .3rem;
}
.program-img-gallery img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.8);
  cursor: pointer;
  transition: transform .2s;
}
.program-img-gallery img:hover { transform: scale(1.15); }

/* ── Tags de tecnologías / funciones ─────────────────────────────── */
.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .5rem 0;
}
.program-tags span {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: var(--radius-full);
}

/* ── Horarios ─────────────────────────────────────────────────────── */
.program-schedule {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .4rem 0 .75rem;
}
.program-schedule span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(27,58,140,.06);
  padding: .2rem .55rem;
  border-radius: var(--radius-full);
}

/* ── Acciones en tarjeta ──────────────────────────────────────────── */
.program-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
}
.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #25D366;
  border-radius: var(--radius);
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37,211,102,.35);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37,211,102,.45); }

/* ════════════════════════════════════════════════════════════════
   PROCESS
   ════════════════════════════════════════════════════════════════ */
.process-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}

.process-section .section-title { color: var(--white); }
.process-section .section-desc  { color: rgba(255,255,255,.75); }

.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.process-step {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.process-step:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-4px);
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,.1);
  line-height: 1;
  margin-bottom: .25rem;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}

.process-step p {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}

.process-arrow {
  font-size: 2rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}

.process-cta { text-align: center; }

/* ════════════════════════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A1628 0%, #1B3A8C 50%, #10B981 100%);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-inner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════════ */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(27,58,140,.06);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.contact-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .25rem;
}

.contact-value {
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-800);
}

a.contact-value:hover { color: var(--primary); }

.social-links { margin-top: .5rem; }

.social-icons {
  display: flex;
  gap: .75rem;
  margin-top: .75rem;
}

.social-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius);
  color: var(--gray-600);
  transition: all var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Contact form */
.contact-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,140,.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.75);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 5rem 1.5rem 3rem;
}

.footer-logo { height: 52px; margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }

.footer-col a {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 1.5rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }

.editor-link {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.editor-link:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ════════════════════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ════════════════════════════════════════════════════════════════
   ANIMATIONS (simple CSS, no lib needed)
   ════════════════════════════════════════════════════════════════ */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="100"] { transition-delay: .1s; }
[data-aos][data-aos-delay="150"] { transition-delay: .15s; }
[data-aos][data-aos-delay="200"] { transition-delay: .2s; }
[data-aos][data-aos-delay="300"] { transition-delay: .3s; }
[data-aos][data-aos-delay="400"] { transition-delay: .4s; }

[data-aos="fade-right"] { transform: translateX(-20px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"]  { transform: translateX(20px); }
[data-aos="fade-left"].aos-animate  { transform: translateX(0); }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(3, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner   { grid-template-columns: 1fr; text-align: center; }
  .hero-image   { display: none; }
  .hero-trust   { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .about-grid   { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-arrow { display: none; }
}

@media (max-width: 768px) {
  .nav-links   { display: none; }
  .nav-toggle  { display: flex; }
  .programs-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .form-row    { grid-template-columns: 1fr; }
  .section     { padding: 3.5rem 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-height) 0 0;
    background: var(--primary-dark);
    padding: 2rem 1.5rem;
    gap: .5rem;
    z-index: 999;
  }
  .nav-links.open a {
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: var(--radius);
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust { flex-direction: column; }
  .trust-divider { width: 60px; height: 1px; }
  .cta-actions  { flex-direction: column; align-items: center; }
}
