/* ==============================
   CSS RESET & BASE
   ============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --sky-400: #38BDF8;
  --sky-500: #0EA5E9;
  --sky-600: #0284C7;
  --sky-700: #0369A1;
  --green-500: #10B981;
  --teal-500: #14B8A6;
  --purple-500: #8B5CF6;
  --amber-500: #F59E0B;
  --red-500: #EF4444;
  --cyan-500: #06B6D4;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --white: #FFFFFF;
  --font: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* ==============================
   TYPOGRAPHY
   ============================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--sky-600);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.section-desc.center { text-align: center; margin: 0 auto 48px; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-title,
.section-header .section-desc { text-align: center; margin-left: auto; margin-right: auto; }

.gradient-text {
  background: linear-gradient(135deg, var(--sky-500), #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--sky-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(14,165,233,.35);
}
.btn-primary:hover {
  background: var(--sky-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14,165,233,.4);
}

.btn-outline {
  background: transparent;
  color: var(--sky-600);
  border-color: var(--sky-200, #BAE6FD);
}
.btn-outline:hover { background: var(--blue-50); border-color: var(--sky-500); }

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--gray-700);
  border-color: var(--gray-200);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--gray-100); }

.btn-white { background: var(--white); color: var(--sky-600); font-weight: 700; }
.btn-white:hover { background: var(--blue-50); transform: translateY(-1px); }

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

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-200);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon { flex-shrink: 0; }

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
}

.logo-img-footer {
  width: 36px;
  height: 36px;
  opacity: .9;
}

.logo-text {
  font-size: 1rem;
  color: var(--gray-700);
  white-space: nowrap;
}

.logo-text strong { color: var(--sky-600); }
.logo-text-white { color: var(--gray-200); }
.logo-text-white strong { color: var(--sky-400); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--sky-500);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--sky-600); }
.nav-links a:hover::after { width: 100%; }

.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,.85); }
.navbar:not(.scrolled) .nav-links a:hover { color: var(--white); }

.nav-cta { margin-left: 8px; }

.navbar:not(.scrolled) .logo-text { color: rgba(255,255,255,.9); }
.navbar:not(.scrolled) .logo-text strong { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar:not(.scrolled) .hamburger span { background: var(--white); }

/* ==============================
   HERO
   ============================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('https://static.wixstatic.com/media/427f2b_0ba598bddc9d42b8868307c58461c541~mv2_d_4288_2848_s_4_2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 25, 50, 0.78) 0%,
    rgba(3, 60, 110, 0.70) 50%,
    rgba(5, 25, 50, 0.85) 100%
  );
  z-index: 0;
}

.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
  gap: 0;
}

.hero-logo-icon {
  margin-bottom: 28px;
  animation: fade-in-down .8s ease both;
}

.hero-logo-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.45));
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 10px;
  letter-spacing: -.01em;
  animation: fade-in-down .8s .1s ease both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  font-weight: 400;
  color: rgba(255, 255, 255, .88);
  letter-spacing: .01em;
  margin-bottom: 28px;
  animation: fade-in-down .8s .2s ease both;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, .72);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 44px;
  animation: fade-in-down .8s .3s ease both;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: var(--sky-500);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(14,165,233,.45);
  transition: all var(--transition);
  animation: fade-in-down .8s .4s ease both;
  text-align: center;
}

.btn-hero:hover {
  background: var(--sky-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(14,165,233,.5);
}

@keyframes fade-in-down {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-mouse {
  width: 24px; height: 36px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px; height: 8px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  animation: scroll-down 1.8s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==============================
   SERVICES BAR
   ============================== */
.services-bar {
  background: var(--gray-900);
  padding: 28px 0;
  border-bottom: 2px solid var(--sky-500);
}

.services-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.services-list {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.services-list span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.svc-dot {
  color: var(--sky-400) !important;
  font-size: 1.3rem !important;
  font-weight: 400 !important;
}

.btn-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--sky-500);
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(14,165,233,.35);
  flex-shrink: 0;
}

.btn-platform:hover {
  background: var(--sky-400);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14,165,233,.4);
}

/* kept for layout compatibility — hidden since partners section was removed */
.partner-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: .02em;
}

.divider { color: var(--gray-300); font-size: 1.2rem; }
}

.partner-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: .02em;
}

.divider { color: var(--gray-300); font-size: 1.2rem; }

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

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-float-card {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.float-title { font-size: 1rem; font-weight: 700; color: var(--gray-800); }
.float-sub { font-size: .75rem; color: var(--gray-500); }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 28px;
}

.mv-block {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--sky-500);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.mv-block h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--sky-600);
  margin-bottom: 8px;
}

.mv-block p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 36px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-600);
}

.feature-check {
  width: 22px; height: 22px;
  background: var(--blue-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

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

/* Filter tabs */
.program-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover { border-color: var(--sky-400); color: var(--sky-600); }

.filter-btn.active {
  background: var(--sky-500);
  border-color: var(--sky-500);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(14,165,233,.3);
}

.filter-count {
  font-size: .75rem;
  font-weight: 700;
  background: rgba(255,255,255,.25);
  border-radius: 100px;
  padding: 1px 7px;
  min-width: 20px;
  text-align: center;
}

.filter-btn:not(.active) .filter-count {
  background: var(--gray-100);
  color: var(--gray-500);
}

/* Cards grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-300, #7DD3FC);
}

.program-card.hidden { display: none; }

/* Category badge (top-left) */
.cat-badge {
  display: inline-flex;
  align-items: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}

.diplomado-badge { background: #EFF6FF; color: var(--sky-600); }
.taller-badge    { background: #ECFDF5; color: #059669; }
.curso-badge     { background: #FFF7ED; color: #C2410C; }

/* Course thumbnail (injected by JS) */
.pc-thumb {
  width: calc(100% + 44px);
  margin: -22px -22px 14px -22px;
  height: 130px;
  background: var(--gray-800);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pc-thumb img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}

/* Icon per category */
.pc-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dip-icon { background: linear-gradient(135deg, var(--sky-500), var(--sky-700)); }
.tal-icon { background: linear-gradient(135deg, #10B981, #047857); }
.cur-icon { background: linear-gradient(135deg, #F97316, #C2410C); }

.program-card h3 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.35;
}

.pc-desc {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.55;
  flex: 1;
}

.pc-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--gray-400);
  font-weight: 500;
}

.btn-sm { padding: 8px 18px; font-size: .82rem; margin-top: 4px; }

/* Bottom CTA */
.programs-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
}

.programs-cta p {
  font-size: .95rem;
  color: var(--gray-500);
  max-width: 400px;
}

/* ==============================
   WHY
   ============================== */
.why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}

.why-card:hover {
  border-color: var(--sky-200, #BAE6FD);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-icon.blue { background: var(--blue-50); }
.why-icon.green { background: #ECFDF5; }
.why-icon.purple { background: #F5F3FF; }
.why-icon.amber { background: #FFFBEB; }
.why-icon.red { background: #FEF2F2; }
.why-icon.cyan { background: #ECFEFF; }

.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.why-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }

/* ==============================
   STATS
   ============================== */
.stats {
  background: linear-gradient(135deg, var(--gray-900), var(--sky-700));
  padding: 80px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item {
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-symbol {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sky-400);
  margin-top: 4px;
}

.stat-item p {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  margin-top: 8px;
  max-width: 140px;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,.15);
}

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials { background: var(--gray-50); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-card.featured-testimonial {
  background: linear-gradient(160deg, var(--sky-600), var(--sky-700));
  border-color: transparent;
  color: var(--white);
}

.stars {
  color: var(--amber-500);
  font-size: 1rem;
  letter-spacing: 2px;
}

.featured-testimonial .stars { color: #FCD34D; }

.testimonial-text {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--gray-600);
  font-style: italic;
  flex: 1;
}

.featured-testimonial .testimonial-text { color: rgba(255,255,255,.9); }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-200);
}

.featured-testimonial .testimonial-author img { border-color: rgba(255,255,255,.3); }

.testimonial-author strong {
  display: block;
  font-size: .9rem;
  color: var(--gray-800);
  font-weight: 700;
}

.featured-testimonial .testimonial-author strong { color: var(--white); }

.testimonial-author span {
  font-size: .8rem;
  color: var(--gray-500);
}

.featured-testimonial .testimonial-author span { color: rgba(255,255,255,.7); }

/* ==============================
   CTA BANNER
   ============================== */
.cta-banner {
  background: linear-gradient(135deg, var(--sky-500), #6366F1);
  padding: 80px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-content p {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  max-width: 420px;
}

.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }

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

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 40px; height: 40px;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.contact-item p { font-size: .88rem; color: var(--gray-500); line-height: 1.5; }

.contact-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

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

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

.form-group textarea { resize: vertical; }

.form-disclaimer {
  font-size: .78rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 12px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .9rem;
  font-weight: 600;
  color: #065F46;
  margin-top: 12px;
}

.form-success.visible { display: flex; }

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--gray-900);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: .9rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin: 16px 0 24px;
  max-width: 280px;
}

.social-links { display: flex; gap: 12px; }

.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--sky-500);
  border-color: var(--sky-500);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

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

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col li a {
  font-size: .88rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer-col li a:hover { color: var(--sky-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: .82rem;
  color: var(--gray-500);
  text-align: center;
}

/* ==============================
   ANIMATIONS (SCROLL)
   ============================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .stat-divider { display: none; }
  .stats-inner { gap: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }

  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 80px 0; z-index: 99; box-shadow: var(--shadow-xl); }
  .nav-links.open { display: flex; }
  .nav-links.open a { color: var(--gray-700); font-size: 1.1rem; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero { background-attachment: scroll; }

  .services-bar-inner { flex-direction: column; gap: 20px; text-align: center; }
  .services-list { justify-content: center; }

  .about-features { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { width: 100%; justify-content: center; }
  .cta-actions .btn { flex: 1; justify-content: center; min-width: 140px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .stats-inner { flex-direction: column; gap: 32px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.6rem; }
  .hero-title { font-size: 2rem; }
  .btn-hero { padding: 14px 24px; font-size: .9rem; }
  .footer-links { grid-template-columns: 1fr; }
}

/* WHATSAPP FLOTANTE */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  z-index: 200;
  transition: transform .2s ease, background .2s ease;
}

.whatsapp-float:hover {
  background: #1ebe5a;
  transform: scale(1.08);
}

@media (max-width: 480px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
