/* =====================================================
   ESCUELA DE NATACIÓN VALLITA — style.css
   Buenos Aires · v1.0
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;700;800&family=Nunito:wght@400;600;700;800;900&display=swap');

/* ===== TOKENS ===== */
:root {
  --red:        #D90012;
  --red-dark:   #A8000E;
  --red-light:  #FF1A2E;
  --navy:       #1B2E6C;
  --navy-mid:   #2A4499;
  --blue:       #0A8FCC;
  --blue-dark:  #0070A8;
  --blue-light: #E0F3FC;
  --yellow:     #F7C10E;
  --yellow-lt:  #FFF8D6;
  --cream:      #FFF8F2;
  --cream-dark: #FFE8D6;
  --white:      #FFFFFF;
  --gray:       #666;
  --gray-lt:    #F5F5F5;
  --charcoal:   #1A1A1A;

  --radius:     16px;
  --radius-sm:  8px;
  --radius-lg:  24px;
  --radius-pill:999px;

  --shadow:     0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.15);
  --shadow-red: 0 6px 24px rgba(217,0,18,0.40);

  --max-w: 1200px;
  --nav-h: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Baloo 2', sans-serif;
  line-height: 1.15;
  color: var(--navy);
}

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo svg { width: 54px; height: 54px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name { font-family: 'Baloo 2', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--red); }
.nav-logo-sub { font-size: 0.63rem; font-weight: 700; color: var(--navy); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--red); background: var(--blue-light); }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  box-shadow: var(--shadow-red);
}
.nav-cta:hover { background: var(--red-dark) !important; color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== FLOATING CTA BUTTON ===== */
.btn-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-red), 0 0 0 0 rgba(217,0,18,0.3);
  transition: transform 0.25s, box-shadow 0.25s;
  animation: float-pulse 2.5s ease-in-out infinite;
  white-space: nowrap;
}
.btn-float:hover {
  transform: scale(1.07) translateY(-3px);
  box-shadow: 0 10px 32px rgba(217,0,18,0.55);
  animation: none;
}
@keyframes float-pulse {
  0%, 100% { box-shadow: var(--shadow-red), 0 0 0 0 rgba(217,0,18,0.3); }
  50%       { box-shadow: 0 8px 28px rgba(217,0,18,0.5), 0 0 0 10px rgba(217,0,18,0.0); }
}
.btn-float svg { flex-shrink: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  transition: all 0.22s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-red   { background: var(--red); color: var(--white); box-shadow: var(--shadow-red); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(217,0,18,0.5); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }
.btn-blue  { background: var(--blue); color: var(--white); box-shadow: 0 4px 16px rgba(10,143,204,0.35); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.65); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1B2E6C 0%, #0A5090 55%, #0A8FCC 100%);
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-shapes::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(10,143,204,0.18);
  top: -150px; right: -100px;
}
.hero-bg-shapes::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(247,193,14,0.08);
  bottom: 100px; left: -100px;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 70px 0 140px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247,193,14,0.18);
  border: 1px solid rgba(247,193,14,0.4);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 680px;
  line-height: 1.1;
}
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 18px;
  border-radius: var(--radius);
}
.hero-badge-icon { font-size: 1.5rem; }
.hero-badge-text { display: flex; flex-direction: column; line-height: 1.1; }
.hero-badge-text strong { font-size: 1rem; font-weight: 800; color: var(--yellow); }
.hero-badge-text span { font-size: 0.7rem; color: rgba(255,255,255,0.72); }
.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; line-height: 0; }

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--navy); padding: 18px 0; }
.trust-strip-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--white); }
.trust-item-icon { font-size: 1.3rem; }
.trust-item-text { font-size: 0.83rem; font-weight: 700; }

/* ===== SECTIONS ===== */
.section       { padding: 80px 0; }
.section-sm    { padding: 50px 0; }
.section-cream { background: var(--cream); }
.section-blue  { background: var(--blue-light); }
.section-navy  { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-label::before { content: ''; display: block; width: 24px; height: 2.5px; background: var(--blue); border-radius: 2px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.section-desc { font-size: 1.03rem; color: var(--gray); max-width: 580px; margin-bottom: 48px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-label { justify-content: center; margin-left: auto; margin-right: auto; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* ===== WAVE DIVIDERS ===== */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; }

/* ===== PROGRAM CARDS ===== */
.programs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-card-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.prog-bebes   { background: linear-gradient(135deg,#E0F3FC,#BDE4F7); }
.prog-ninos   { background: linear-gradient(135deg,#FFF3CD,#FFE08A); }
.prog-adultos { background: linear-gradient(135deg,#E8E8F7,#C8D0F0); }
.program-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.program-card-tag { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.program-card h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.program-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.program-card-details { display: flex; flex-direction: column; gap: 7px; margin-bottom: 24px; }
.program-detail { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--navy); }
.program-detail-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.28s;
  border-top: 4px solid var(--blue);
}
.feature-card:hover { transform: translateY(-5px); }
.feature-card:nth-child(even) { border-top-color: var(--red); }
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; color: var(--navy); }
.feature-card p { font-size: 0.87rem; color: var(--gray); line-height: 1.65; }

/* ===== LOCATIONS ===== */
.locations-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.location-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.location-card-header { background: var(--navy); padding: 28px; color: var(--white); display: flex; align-items: center; gap: 16px; }
.location-icon { width: 56px; height: 56px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.location-name { font-family: 'Baloo 2', sans-serif; font-size: 1.6rem; font-weight: 800; }
.location-subtitle { font-size: 0.78rem; color: rgba(255,255,255,0.68); margin-top: 2px; }
.location-card-body { padding: 28px; }
.location-img {
  height: 180px;
  background: linear-gradient(135deg, var(--blue-light), #C5E5F5);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  margin-bottom: 24px;
}
.location-info { display: flex; flex-direction: column; gap: 12px; }
.location-row { display: flex; gap: 12px; align-items: flex-start; }
.location-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); min-width: 72px; padding-top: 2px; flex-shrink: 0; }
.location-value { font-size: 0.9rem; color: var(--charcoal); line-height: 1.5; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before { content: '"'; font-size: 5rem; font-family: 'Baloo 2',sans-serif; color: var(--blue-light); position: absolute; top: 10px; left: 20px; line-height: 1; }
.testimonial-text { font-size: 0.92rem; color: var(--charcoal); line-height: 1.7; margin-bottom: 20px; padding-top: 36px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 1rem; flex-shrink: 0; }
.testimonial-name { font-size: 0.88rem; font-weight: 800; color: var(--navy); }
.testimonial-role { font-size: 0.75rem; color: var(--gray); }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, #A8000E 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem,3.5vw,2.9rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.84); font-size: 1.08rem; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.cta-band-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== HUB / ARTICLES ===== */
.hub-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.article-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.article-card-img {
  height: 190px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  font-size: 3.5rem;
}
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-tag {
  display: inline-block;
  font-size: 0.63rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); background: var(--blue);
  padding: 3px 10px; border-radius: var(--radius-pill);
  margin-bottom: 10px; width: fit-content;
}
.tag-red  { background: var(--red); }
.tag-navy { background: var(--navy); }
.tag-yellow { background: var(--yellow); color: var(--navy); }
.tag-green { background: #2D7A3A; }
.article-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.article-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.article-read-link { font-size: 0.84rem; font-weight: 800; color: var(--blue); display: inline-flex; align-items: center; gap: 5px; }

/* ===== ARTICLE PAGE ===== */
.article-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0A5090 100%);
  padding: 70px 0 60px;
  color: var(--white);
}
.article-hero .article-tag { margin-bottom: 20px; }
.article-hero h1 { color: var(--white); font-size: clamp(1.8rem,4vw,3rem); max-width: 760px; margin-bottom: 16px; }
.article-lead { font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 640px; line-height: 1.65; }
.article-meta { display: flex; gap: 24px; margin-top: 20px; color: rgba(255,255,255,0.6); font-size: 0.82rem; }

.article-body { padding: 60px 0 80px; }
.article-content { max-width: 760px; margin: 0 auto; }
.article-nav { margin-bottom: 32px; }
.article-nav a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; font-weight: 700; color: var(--blue); }
.article-nav a:hover { text-decoration: underline; }

.article-content h2 { font-size: 1.65rem; font-weight: 800; color: var(--navy); margin: 44px 0 16px; }
.article-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.article-content p { font-size: 1rem; line-height: 1.82; color: #333; margin-bottom: 20px; }
.article-content ul, .article-content ol { margin-bottom: 24px; padding-left: 20px; }
.article-content li { font-size: 1rem; line-height: 1.75; color: #333; margin-bottom: 8px; list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content strong { color: var(--navy); }

.article-img-block {
  border-radius: var(--radius-lg);
  margin: 36px 0;
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  text-align: center;
  padding: 32px;
}
.article-img-label { font-size: 0.78rem; color: #0A5090; font-weight: 600; font-style: italic; }

.article-highlight {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.article-highlight p { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin: 0; line-height: 1.65; }

.article-tip {
  background: var(--yellow-lt);
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}
.article-tip-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #8A6800; margin-bottom: 8px; }
.article-tip p { font-size: 0.95rem; color: #5A4300; margin: 0; line-height: 1.6; }

.article-cta-box {
  background: linear-gradient(135deg, var(--navy), #0A5090);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  margin-top: 56px;
  color: var(--white);
}
.article-cta-box h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 10px; }
.article-cta-box p { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin-bottom: 24px; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  transition: transform 0.28s;
}
.pricing-card:hover { transform: translateY(-6px); }
.pricing-card.featured { background: var(--navy); transform: scale(1.04); }
.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: var(--white);
  font-size: 0.63rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 16px; border-radius: var(--radius-pill);
}
.pricing-plan { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.pricing-card.featured .pricing-plan { color: var(--yellow); }
.pricing-name { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.pricing-card.featured .pricing-name { color: var(--white); }
.pricing-amount { font-family: 'Baloo 2',sans-serif; font-size: 2.4rem; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.pricing-card.featured .pricing-amount { color: var(--white); }
.pricing-note { font-size: 0.78rem; color: var(--gray); margin-bottom: 24px; }
.pricing-card.featured .pricing-note { color: rgba(255,255,255,0.58); }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; text-align: left; }
.pricing-feature { display: flex; gap: 10px; align-items: flex-start; font-size: 0.87rem; color: var(--charcoal); }
.pricing-card.featured .pricing-feature { color: rgba(255,255,255,0.84); }
.pricing-check { color: var(--blue); font-weight: 800; flex-shrink: 0; }
.pricing-card.featured .pricing-check { color: var(--yellow); }
.pricing-info-box {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.pricing-info-title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.pricing-info-box p { font-size: 0.9rem; color: var(--charcoal); line-height: 1.65; }

/* ===== ENROLLMENT FORM ===== */
.form-container { max-width: 820px; margin: 0 auto; }
.form-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.form-block-title {
  font-size: 1.1rem; font-weight: 800; color: var(--navy);
  margin-bottom: 24px; padding-bottom: 14px;
  border-bottom: 2px solid var(--blue-light);
  display: flex; align-items: center; gap: 10px;
}
.form-block-num {
  width: 30px; height: 30px;
  background: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.8rem; font-weight: 800; flex-shrink: 0;
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem; padding: 12px 16px;
  border: 2px solid var(--cream-dark); border-radius: var(--radius-sm);
  color: var(--charcoal); background: var(--white);
  transition: border-color 0.2s; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-select-wrap { position: relative; }
.form-select-wrap::after { content: '▾'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--navy); }
.form-select-wrap select { padding-right: 36px; appearance: none; cursor: pointer; }
.form-hint { font-size: 0.74rem; color: var(--gray); margin-top: -10px; margin-bottom: 10px; }

.form-upload {
  border: 2px dashed var(--blue-light); border-radius: var(--radius-sm);
  padding: 20px; text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.form-upload:hover { border-color: var(--blue); background: var(--blue-light); }
.form-upload-icon { font-size: 2rem; margin-bottom: 8px; }
.form-upload-text { font-size: 0.84rem; color: var(--gray); }
.form-upload-text strong { color: var(--blue); }
.form-upload input { display: none; }

.form-radio-group, .form-check-group { display: flex; flex-direction: column; gap: 8px; }
.form-inline-radios { display: flex; gap: 16px; flex-wrap: wrap; }
.form-radio, .form-check {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 0.9rem; color: var(--charcoal);
}
.form-radio input[type="radio"],
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: var(--blue); margin: 0; padding: 0; cursor: pointer;
}

.form-privacy { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
.form-privacy input { width: 18px !important; height: 18px !important; flex-shrink: 0; margin-top: 2px; accent-color: var(--blue); }
.form-privacy label { font-size: 0.82rem; color: var(--gray); line-height: 1.6; cursor: pointer; }

.form-submit { width: 100%; justify-content: center; padding: 16px; font-size: 1.08rem; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 0.77rem; color: var(--gray); margin-top: 14px; justify-content: center; }

#form-success {
  display: none;
  background: #EDFCF0;
  border: 2px solid #2D7A3A;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}
#form-success h3 { color: #1A5E25; font-size: 1.3rem; margin-bottom: 8px; }
#form-success p { color: #2D5A33; font-size: 0.95rem; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0A5090 100%);
  padding: 64px 0 56px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(10,143,204,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem,4vw,3.2rem); margin-bottom: 14px; }
.page-hero .page-hero-sub { color: rgba(255,255,255,0.78); font-size: 1.08rem; max-width: 580px; margin: 0 auto; line-height: 1.65; }

/* ===== ABOUT PAGE ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; }
.about-img-ph {
  height: 420px;
  background: linear-gradient(135deg, var(--blue-light), #BDE4F7);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--blue);
}
.value-card:nth-child(2) { border-bottom-color: var(--red); }
.value-card:nth-child(3) { border-bottom-color: var(--yellow); }
.value-card:nth-child(4) { border-bottom-color: var(--navy); }
.value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h3 { font-size: 0.95rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.value-card p { font-size: 0.82rem; color: var(--gray); line-height: 1.6; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 60px 0 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand-name { font-family: 'Baloo 2',sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--white); display: block; margin-bottom: 2px; }
.footer-brand-sub { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 0.84rem; line-height: 1.65; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); transition: background 0.2s; }
.footer-social a:hover { background: var(--red); }
.footer-col h4 { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.84rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 0.77rem; flex-wrap: wrap; gap: 8px; }

/* ===== FADE-IN ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .programs-grid    { grid-template-columns: repeat(2,1fr); }
  .features-grid    { grid-template-columns: repeat(2,1fr); }
  .footer-top       { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hub-grid         { grid-template-columns: repeat(2,1fr); }
  .pricing-grid     { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid      { grid-template-columns: repeat(2,1fr); }
  .about-grid       { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links {
    display: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 20px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    gap: 4px; border-top: 1px solid var(--cream-dark); z-index: 99;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { padding: 10px 16px; border-radius: var(--radius-sm); }
  .nav-toggle { display: flex; }

  .btn-float { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 0.84rem; }

  .programs-grid    { grid-template-columns: 1fr; }
  .features-grid    { grid-template-columns: 1fr; }
  .locations-grid   { grid-template-columns: 1fr; }
  .hub-grid         { grid-template-columns: 1fr; }
  .footer-top       { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .form-row-3       { grid-template-columns: 1fr; }
  .hero-badges      { flex-direction: column; gap: 10px; }
  .trust-strip-inner { gap: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr 1fr; }
  .pricing-info-box { grid-template-columns: 1fr; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .hero-actions     { flex-direction: column; }
  .about-grid       { grid-template-columns: 1fr; }
  .footer-bottom    { flex-direction: column; gap: 4px; }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
}

/* ===== BUTTON VARIANTS ===== */
.btn-yellow { background: var(--yellow); color: var(--navy); font-weight: 900; box-shadow: 0 4px 16px rgba(247,193,14,0.4); }
.btn-yellow:hover { background: #e0ae00; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(247,193,14,0.55); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 4px 16px rgba(27,46,108,0.35); }
.btn-navy:hover { background: #0f1f50; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.65); font-weight: 800; padding: 14px 28px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 8px; font-family: 'Nunito',sans-serif; font-size: 0.95rem; cursor: pointer; transition: all 0.22s; white-space: nowrap; }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }

/* ===== ARTICLE BREADCRUMB ===== */
.article-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.article-breadcrumb a { color: rgba(255,255,255,0.65); }
.article-breadcrumb a:hover { color: var(--white); }
.article-breadcrumb span { color: rgba(255,255,255,0.4); }
.article-title { color: var(--white); font-size: clamp(1.8rem,4vw,3rem); max-width: 760px; margin-bottom: 16px; }

/* ===== ARTICLE TWO-COLUMN LAYOUT ===== */
.article-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  padding-top: 60px;
}
.article-content { max-width: 100%; }
.article-lead { font-size: 1.12rem; line-height: 1.8; color: #333; font-weight: 600; border-left: 4px solid var(--blue); padding-left: 20px; margin-bottom: 36px; }

/* ===== ARTICLE BODY TEXT (override for inner pages) ===== */
.article-body .article-content h2 { margin-top: 44px; margin-bottom: 14px; font-size: 1.5rem; }
.article-body .article-content p { font-size: 1rem; line-height: 1.82; color: #333; margin-bottom: 20px; }
.article-body .article-content ul, .article-body .article-content ol { margin-bottom: 24px; padding-left: 24px; }
.article-body .article-content li { font-size: 1rem; line-height: 1.75; color: #333; margin-bottom: 8px; list-style: disc; }
.article-body .article-content ol li { list-style: decimal; }

/* ===== ARTICLE CALLOUT ===== */
.article-callout {
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
  font-size: 0.95rem;
  line-height: 1.65;
  background: var(--blue-light);
  color: var(--charcoal);
}

/* ===== ARTICLE VISUAL BLOCK ===== */
.article-visual-block {
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.article-visual-icon { font-size: 2.4rem; flex-shrink: 0; line-height: 1; }
.article-visual-text { flex: 1; }
.article-visual-text strong { font-size: 0.95rem; color: var(--navy); display: block; margin-bottom: 6px; }
.article-quick-list { margin: 8px 0 0; padding-left: 18px; line-height: 1.9; }
.article-quick-list li { list-style: decimal; font-size: 0.9rem; color: var(--charcoal); }

/* ===== ARTICLE SIDEBAR ===== */
.article-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.article-sidebar-block { background: var(--gray-lt); border-radius: var(--radius-lg); padding: 24px; }
.article-sidebar-block h4 { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.article-sidebar-list { display: flex; flex-direction: column; gap: 12px; }
.article-sidebar-list a { font-size: 0.87rem; color: var(--charcoal); font-weight: 600; line-height: 1.4; border-bottom: 1px solid rgba(0,0,0,0.07); padding-bottom: 10px; display: block; }
.article-sidebar-list a:hover { color: var(--red); }
.article-sidebar-list li:last-child a { border-bottom: none; padding-bottom: 0; }

/* ===== ARTICLE HUB: FEATURED CARD ===== */
.article-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 16px;
}
.article-featured-img { min-height: 380px; }
.article-placeholder-img {
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.article-emoji { font-size: 4rem; }
.article-emoji-label { color: rgba(255,255,255,0.65); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.article-featured-body {
  background: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-featured-title { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin: 16px 0; line-height: 1.25; }
.article-featured-desc { font-size: 0.95rem; color: var(--gray); line-height: 1.72; margin-bottom: 20px; flex: 1; }
.article-featured-meta { display: flex; gap: 20px; font-size: 0.78rem; color: var(--gray); margin-bottom: 24px; }
.article-featured-meta span { display: flex; align-items: center; gap: 5px; }

/* ===== HUB CARDS ===== */
.hub-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.hub-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; }
.hub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hub-card-img { height: 160px; display: flex; align-items: center; justify-content: center; }
.hub-card-emoji { font-size: 3.5rem; }
.hub-card-body { padding: 28px 24px; }
.hub-card-tag { display: inline-block; background: var(--blue-light); color: var(--blue); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 12px; }
.hub-card h3 { font-size: 1.08rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.hub-card h3 a { color: var(--navy); }
.hub-card h3 a:hover { color: var(--red); }
.hub-card p { font-size: 0.87rem; color: var(--gray); line-height: 1.65; margin-bottom: 16px; }
.hub-card-meta { font-size: 0.75rem; color: var(--gray); margin-bottom: 14px; }
.hub-link { display: inline-flex; align-items: center; gap: 5px; font-size: 0.84rem; font-weight: 800; color: var(--blue); }
.hub-link:hover { color: var(--red); }

/* ===== STAGE TRACK (etapas article) ===== */
.stages-track {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  background: var(--gray-lt); border-radius: var(--radius-lg);
  padding: 28px 24px; margin: 32px 0;
}
.stage-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; min-width: 100px; text-align: center; }
.stage-num { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Baloo 2',sans-serif; font-size: 1.1rem; font-weight: 900; color: var(--white); flex-shrink: 0; }
.stage-label { font-size: 0.75rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.stage-arrow { font-size: 1.3rem; color: var(--gray); flex-shrink: 0; }

/* ===== RESPONSIVE: ARTICLE ===== */
@media (max-width: 1024px) {
  .article-container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-featured { grid-template-columns: 1fr; }
  .article-featured-img { min-height: 220px; }
  .article-placeholder-img { min-height: 220px; }
}
@media (max-width: 768px) {
  .hub-grid { grid-template-columns: 1fr; }
  .article-visual-block { flex-direction: column; gap: 12px; }
  .stages-track { flex-direction: column; align-items: flex-start; }
  .stage-arrow { transform: rotate(90deg); }
}

/* ===== HERO VIDEO BACKGROUND ===== */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,63,107,0.58) 0%, rgba(27,46,108,0.50) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content { max-width: 740px; }
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { display: none; }
}

/* Bubbles are now JS-spawned per-section inside .deco-bubbles containers */

/* ===== DECORATIVE SECTION BUBBLES ===== */
.section { position: relative; }
.deco-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.deco-bubble {
  position: absolute;
  border-radius: 50%;
}
.section > .container,
.cta-band > .container {
  position: relative;
  z-index: 1;
}
.hero > .container {
  position: relative;
  z-index: 2;
}
