/* ===========================================================
   After Class — Corporación Cambiando con Cristo
   Sistema visual: cálido, lúdico, arcoíris suave
   =========================================================== */

:root {
  --hb-blue: #1e40d8; --hb-red: #e63946; --hb-green: #2e9e34; --hb-yellow: #f2b705;
  --hb-purple: #7b2fd4; --hb-navy: #1b1f3a;
  /* Lienzo cálido */
  --cream: oklch(0.985 0.012 85);
  --paper: oklch(0.998 0.006 90);
  --sand:  oklch(0.955 0.018 80);
  --ink:   oklch(0.30 0.035 55);
  --ink-soft: oklch(0.45 0.03 55);
  --line:  oklch(0.90 0.02 75);

  /* Arcoíris suave — comparten chroma/lightness, varía el hue */
  --c-coral:  oklch(0.72 0.145 32);
  --c-amber:  oklch(0.78 0.135 70);
  --c-green:  oklch(0.72 0.125 150);
  --c-teal:   oklch(0.72 0.105 205);
  --c-blue:   oklch(0.70 0.120 250);
  --c-grape:  oklch(0.66 0.130 305);

  /* Versiones tenues (fondos de tarjeta) */
  --c-coral-wash: oklch(0.95 0.045 32);
  --c-amber-wash: oklch(0.955 0.05 75);
  --c-green-wash: oklch(0.95 0.045 150);
  --c-teal-wash:  oklch(0.95 0.04 205);
  --c-blue-wash:  oklch(0.95 0.04 250);
  --c-grape-wash: oklch(0.95 0.04 305);

  --radius: 22px;
  --radius-sm: 13px;
  --shadow: 0 2px 4px oklch(0.5 0.05 60 / 0.05), 0 14px 34px oklch(0.5 0.05 60 / 0.09);
  --shadow-sm: 0 1px 2px oklch(0.5 0.05 60 / 0.06), 0 6px 16px oklch(0.5 0.05 60 / 0.08);

  --font-display: "Rubik", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; text-wrap: pretty; }

button { font-family: inherit; cursor: pointer; }

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Decorative blobs / dots ---------- */
.bg-decor { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.5; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.985 0.012 85 / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--c-coral), var(--c-grape));
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.brand-sub { font-size: 11.5px; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 999px; transition: all .18s;
}
.nav a:hover { color: var(--ink); background: var(--sand); }

.lang-toggle { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 4px; gap: 2px; margin-left: 6px; }
.lang-toggle button {
  border: 0; background: transparent; font-weight: 800; font-size: 13px; color: var(--ink-soft);
  padding: 6px 13px; border-radius: 999px; transition: all .18s;
}
.lang-toggle button.on { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }

.btn {
  display: inline-flex; align-items: center; gap: 9px; border: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  padding: 13px 24px; border-radius: 999px; transition: transform .15s, box-shadow .15s;
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--c-coral); color: #fff; box-shadow: 0 8px 20px oklch(0.72 0.145 32 / 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px oklch(0.72 0.145 32 / 0.42); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); }

.hero-bold .wrap { max-width: 1600px; }
/* ============ HERO (bold primary palette) ============ */
.hero-bold {
  --hb-blue: #1e40d8; --hb-red: #e63946; --hb-green: #2e9e34; --hb-yellow: #f2b705;
  --hb-purple: #7b2fd4; --hb-navy: #1b1f3a;
  position: relative; z-index: 1; overflow: hidden; background: #E9F0FC;
}
.hb-slides { position: absolute; inset: 0; z-index: 0; }
.hb-slide { position: absolute; inset: 0; background-position: 55% 45%; background-size: cover; background-repeat: no-repeat; opacity: 0; transition: opacity .6s ease; }
.hb-slide.on { opacity: 1; }
.hb-slide-dots { position: absolute; z-index: 3; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hb-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hb-dot.on { background: #fff; }
@media (max-width: 900px) { .hb-slide { display: none; } .hero-bold { background: #DCE6F9; } .hb-copy { text-align: center; align-items: center; } }
.hb-decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hb-decor svg { position: absolute; top: 58px; left: 44%; stroke: var(--hb-purple); opacity: 0.5; }
.hb-dots { position: absolute; width: 70px; height: 56px; background-image: radial-gradient(currentColor 2.5px, transparent 2.5px); background-size: 14px 14px; }
.hb-dots-1 { top: 30px; left: 46%; color: var(--hb-blue); }
.hb-dots-2 { top: 300px; right: 4%; color: var(--hb-red); }
.hb-dots-3 { position: absolute; top: 22%; left: 55%; color: #fff; z-index: -1; }
.hb-dots-4 { position: absolute; bottom: -20px; left: -30px; color: var(--hb-red); z-index: 1; }
.hb-squiggle { top: 60px; left: 40%; }
.hb-top { position: relative; z-index: 2; padding: 180px 0 240px 40px; }
.hb-grid.hb-grid-solo { grid-template-columns: 1fr; max-width: 525px; }
.hb-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
.hb-copy { display: flex; flex-direction: column; align-items: stretch; text-align: left; max-width: 525px; }
.hb-kids-art { position: relative; z-index: 2; width: 118%; margin-left: -18%; margin-right: 0; margin-top: 30px; align-self: center; }
.hb-kids-backdrop { position: absolute; inset: 8% 6%; background: #EBEFFB; border-radius: 32px; z-index: -1; }
.hb-kids-art img { width: 100%; height: auto; display: block; position: relative; z-index: 1; }

.hb-badge { display: inline-flex; align-items: center; justify-content: center; align-self: center; gap: 9px; background: var(--hb-blue); color: #fff;
  font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em;
  opacity: 0; animation: hb-riseline .7s ease .05s forwards;
  padding: 9px 18px; border-radius: 999px;
}
.hb-badge-star { color: var(--hb-yellow); fill: var(--hb-yellow); }
.hb-h1 { margin-top: 20px; min-height: calc(3 * clamp(30px, 4.4vw, 60px) * 1.15); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 1.15; letter-spacing: -0.01em; font-size: clamp(30px, 4.4vw, 60px); opacity: 0; text-align: center; transform: translateY(18px); animation: hb-riseline .6s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: .15s; }
@keyframes hb-riseline { to { opacity: 1; transform: translateY(0); } }
.hb-lead-wrap { position: relative; display: inline-block; opacity: 0; animation: hb-riseline .7s ease .35s forwards; }
.hb-half-circle { display: none; }
.hb-side-circle { position: absolute; border-radius: 50%; }
.hb-sc-yellow { width: 200px; height: 200px; top: -20px; left: -50px; background: var(--hb-yellow); border-radius: 42% 58% 68% 32% / 55% 45% 62% 38%; }
.hb-sc-green1 { width: 40px; height: 40px; top: 12px; left: 150px; background: var(--hb-green); border-radius: 60% 40% 70% 30% / 40% 65% 35% 60%; }
.hb-sc-red { width: 34px; height: 34px; top: 190px; left: 70px; background: var(--hb-red); border-radius: 35% 65% 45% 55% / 65% 35% 70% 30%; }
.hb-sc-blue { width: 260px; height: 260px; bottom: -130px; left: -150px; background: var(--hb-blue); }
.hb-sc-green2 { width: 28px; height: 28px; bottom: 40px; left: 120px; background: var(--hb-green); border-radius: 55% 45% 65% 35% / 40% 60% 40% 60%; }
.hb-sc-dashed { width: 100px; height: 100px; bottom: 130px; left: -60px; background: none; border: 2.5px dashed var(--hb-yellow); }
.hb-sc-small1 { width: 22px; height: 22px; bottom: 90px; left: 40px; background: var(--hb-red); border-radius: 65% 35% 40% 60% / 35% 65% 45% 55%; }
.hb-sc-small2 { width: 14px; height: 14px; bottom: 70px; left: 90px; background: var(--hb-blue); }
.hb-lead { font-family: var(--font-display); font-size: 17.5px; color: #fff; background: var(--hb-green); padding: 14px 20px; border-radius: 20px; margin-top: 20px; width: 100%; box-sizing: border-box; display: block;ock; position: relative; z-index: 1; }
.hb-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; justify-content: center; opacity: 0; animation: hb-riseline .7s ease .5s forwards; }
.hb-btn {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700;
  font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em; padding: 14px 24px; border-radius: 999px;
  text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s; border: 2px solid transparent;
}
.hb-btn-red { background: #FF6E12; color: #fff; box-shadow: 0 8px 18px rgba(255,110,18,0.35); }
.hb-btn-red:hover { transform: translateY(-2px); color: #fff; }
.hb-btn-outline { background: var(--hb-blue); color: #fff; border-color: var(--hb-blue); }
.hb-btn-outline:hover { transform: translateY(-2px); color: #fff; }

.hb-art { position: relative; height: 520px; z-index: 1; }
.hb-card { position: absolute; opacity: 0; animation: hb-cardin .8s cubic-bezier(.2,.8,.2,1) forwards, hb-float 7s ease-in-out infinite; }
.hb-card-inner { width: 100%; height: 100%; border-radius: 24px; box-shadow: 0 16px 36px rgba(20,30,80,0.16), 0 0 0 1px rgba(20,30,80,0.08); overflow: hidden; border: 7px solid #fff; box-sizing: border-box; }
.hb-c1 { animation-delay: .1s, .9s; }
.hb-c2 { animation-delay: .3s, 2.5s; }
.hb-c4 { animation-delay: .5s, 4.1s; }
@keyframes hb-cardin { from { opacity: 0; transform: translateY(26px) scale(.94) rotate(var(--r, 0deg)); } to { opacity: 1; transform: translateY(0) scale(1) rotate(var(--r, 0deg)); } }
@keyframes hb-float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-7px) rotate(var(--r, 0deg)); } }
.hb-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-c1 { width: 47%; height: 47%; top: 9%; right: 6%; z-index: 3; --r: 1.5deg; }
.hb-c2 { width: 47%; height: 47%; top: 32%; left: 0; z-index: 4; --r: -1.5deg; }
.hb-c4 { width: 47%; height: 47%; bottom: 0; right: 14%; z-index: 5; --r: 1deg; }

.hb-sticker {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase;
  color: #fff; padding: 9px 16px 9px 10px; border-radius: 14px; box-shadow: 0 8px 16px rgba(0,0,0,0.25); z-index: 7;
}
.hb-sticker svg { background: rgba(255,255,255,0.25); border-radius: 8px; padding: 3px; box-sizing: content-box; }
.hb-c1 .hb-sticker { top: 22%; left: -32px; right: auto; transform: none; z-index: 8; }
.hb-c2 .hb-sticker { top: 22%; left: -32px; transform: none; z-index: 8; }
.hb-c4 .hb-sticker { bottom: -14px; left: 20%; }
.hb-st-red { background: var(--hb-red); }
.hb-st-blue { background: var(--hb-blue); }
.hb-st-green { background: var(--hb-green); }

.hb-deco { position: absolute; z-index: 1; pointer-events: none; }
.hb-blob { position: absolute; border-radius: 50%; z-index: 0; }
.hb-blob-green { width: 460px; height: 460px; background: #3FB03A; top: 20px; left: 4%; border-radius: 42% 58% 68% 32% / 55% 45% 62% 38%; }
.hb-blob-red { width: 340px; height: 340px; background: #E63946; top: -20px; right: -120px; border-radius: 60% 40% 70% 30% / 40% 65% 35% 60%; }
.hb-blob-blue { width: 560px; height: 560px; background: var(--hb-blue); bottom: -220px; right: -280px; }
.hb-blob-yellow { width: 290px; height: 290px; background: var(--hb-yellow); bottom: -70px; right: 190px; border-radius: 35% 65% 45% 55% / 65% 35% 70% 30%; }
.hb-deco-star { top: auto; bottom: 12%; right: -2%; fill: #fff; }
.hb-deco-arc { top: 2px; right: -4%; }
.hb-deco-arc2 { bottom: 14%; right: 0; }
.hb-deco-dashes { top: 12%; left: 30%; }
.hb-deco-burst { position: absolute; bottom: 6%; left: -2%; font-size: 30px; color: var(--hb-yellow); }
.hb-deco-burst2 { position: absolute; bottom: -8%; left: 30%; font-size: 30px; color: var(--hb-yellow); }

@media (max-width: 900px) {
  .hb-grid { grid-template-columns: 1fr; gap: 34px; }
  .hb-art { height: 420px; }
  .hb-kids-art { width: 100%; margin-left: 0; margin-top: -40px; }
  .hb-sc-yellow { width: 160px; height: 160px; }
  .hb-sc-blue { width: 190px; height: 190px; }
  .hb-sc-dashed { width: 70px; height: 70px; }
  .hb-copy { text-align: center; display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
  .hb-top { padding-left: 0; }
  .hb-grid.hb-grid-solo { margin: 0 auto; }
  .hb-dot { border-color: var(--hb-blue); }
  .hb-dot.on { background: var(--hb-blue); }
  .hb-cta { justify-content: center; }
  .hero-bold { padding-top: 130px; padding-bottom: 50px; }
}
.hb-wave { position: relative; background: #1e40d8; padding: 40px 0 34px; z-index: 2; }
.hb-tri-row { position: absolute; left: 0; width: 100%; height: 16px; display: flex; }
.hb-tri-row.top { top: 0; transform: translateY(-100%); }
.hb-tri-row.bottom { bottom: 0; transform: translateY(100%) scaleY(-1); }
.hb-tri { flex: 1 1 0; height: 100%; clip-path: polygon(50% 0, 100% 100%, 0% 100%); }
.hb-tri:nth-child(6n+1) { background: #e63946; }
.hb-tri:nth-child(6n+2) { background: #f2b705; }
.hb-tri:nth-child(6n+3) { background: #eb5fae; }
.hb-tri:nth-child(6n+4) { background: #7b2fd4; }
.hb-tri:nth-child(6n+5) { background: #3ea6d6; }
.hb-tri:nth-child(6n+0) { background: #2e9e34; }
.hb-wave-top { display: none; }
.hb-wave-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: nowrap; position: relative; z-index: 1; }
.hb-facts { display: flex; gap: 32px; flex-wrap: wrap; }
.hb-fact { display: flex; align-items: center; gap: 14px; padding-right: 32px; border-right: 1px solid rgba(255,255,255,0.35); }
.hb-fact:last-child { border-right: none; padding-right: 0; }
.hb-fico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex-shrink: 0; border: 2px solid #fff; }
.hb-fico-red { background: var(--hb-red); }
.hb-fico-green { background: var(--hb-green); }
.hb-fico-yellow { background: var(--hb-yellow); color: #fff; }
.hb-fact span:last-child { display: flex; flex-direction: column; color: #fff; }
.hb-fact b { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1; }
.hb-fact i { font-style: normal; font-weight: 800; font-size: 13px; text-transform: uppercase; color: var(--hb-yellow); }
.hb-fact small { font-size: 12.5px; font-weight: 700; color: #fff; opacity: 1; }
.hb-values-card {
  background: #fff; color: var(--hb-navy); font-weight: 700; font-size: 15px; padding: 20px 26px 16px; border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; box-shadow: 0 10px 24px rgba(0,0,0,0.14);
  flex-shrink: 0; max-width: 260px;
}
.hb-values-card svg.hb-vc-heart { color: var(--hb-red); fill: var(--hb-red); flex-shrink: 0; }
.hb-values-card p { line-height: 1.35; }
.hb-values-card b { color: var(--hb-red); }
.hb-values-card .hb-vc-swoosh { margin-top: 2px; }

@media (max-width: 900px) {
  .hb-wave-inner { flex-direction: column; align-items: center; flex-wrap: wrap; text-align: center; }
  .hb-facts { justify-content: center; }
  .hb-fact { flex-direction: column; text-align: center; }
  .hb-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .hb-facts .hb-fact:nth-child(3) { grid-column: 1 / -1; }
  .hb-values-card { width: 100%; }
}
@media (max-width: 620px) {
  .hb-h1 span { font-size: 32px; }
  .hb-facts { gap: 20px; grid-template-columns: 1fr 1fr; }
  .hb-facts .hb-fact:nth-child(3) { grid-column: 1 / -1; }
  .hb-art { height: 320px; }
  .hb-kids-art { width: 100%; margin-left: 0; margin-top: -40px; }
  .hb-c1, .hb-c2, .hb-c4 { width: 44%; height: 44%; }
  .hb-sticker { font-size: 11px; padding: 6px 12px 6px 8px; }
  .hb-fact { padding-right: 0; border-right: 0; width: 100%; }
  .hb-sc-yellow, .hb-sc-blue { display: none; }
  .wrap.hb-top { padding-bottom: 40px; }
  .hb-values-card { max-width: 100%; }
}

/* ============ HERO (legacy, unused rules kept for other sections) ============ */
.hero { position: relative; z-index: 1; padding: 64px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-grape);
  background: var(--c-grape-wash); padding: 7px 15px; border-radius: 999px;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); margin: 22px 0 0; }
.hero h1 .swoosh { color: var(--c-coral); position: relative; white-space: nowrap; }
.hero-lead { font-size: 19px; color: var(--ink-soft); margin-top: 22px; max-width: 30em; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.fact { display: flex; flex-direction: column; }
.fact { min-width: 64px; }
.fact b { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1; white-space: nowrap; }
.fact span { font-size: 13.5px; color: var(--ink-soft); font-weight: 700; margin-top: 4px; }

/* Hero collage */
.hero-art { position: relative; height: 440px; }
.art-card {
  position: absolute; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; border: 5px solid var(--paper);
}
.art-1 { width: 58%; height: 64%; top: 0; right: 4%; transform: rotate(2.5deg); z-index: 2; }
.art-2 { width: 48%; height: 52%; bottom: 4%; left: 0; transform: rotate(-4deg); z-index: 3; }
.art-3 { width: 34%; height: 36%; bottom: 0; right: 12%; transform: rotate(5deg); z-index: 4; }
.sticker {
  position: absolute; z-index: 5; background: var(--paper); border-radius: 16px;
  padding: 11px 16px; box-shadow: var(--shadow); font-family: var(--font-display);
  font-weight: 600; display: flex; align-items: center; gap: 9px; font-size: 15px;
}
.sticker.s1 { top: 10px; left: -8px; transform: rotate(-6deg); }
.sticker.s2 { bottom: 24px; right: -6px; transform: rotate(5deg); }
.sticker .dot { width: 11px; height: 11px; border-radius: 50%; }

/* Image placeholder */
.ph {
  width: 100%; height: 100%;
  background-image: repeating-linear-gradient(45deg, var(--ph-a, var(--sand)) 0 11px, var(--ph-b, var(--cream)) 11px 22px);
  display: grid; place-items: center; position: relative;
}
.ph::after {
  content: attr(data-label); font-family: ui-monospace, monospace; font-size: 11px;
  color: var(--ink-soft); background: var(--paper); padding: 4px 9px; border-radius: 6px;
  box-shadow: var(--shadow-sm); letter-spacing: 0.02em;
}

/* ============ OBJETIVO ============ */
.section { position: relative; z-index: 1; padding: 56px 0; }
.section-head { max-width: 660px; margin: 0 auto 42px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head p { font-size: 17.5px; color: var(--ink-soft); margin-top: 14px; }
.section-head .section-p-band { display: inline-block; padding: 14px 22px; margin-top: 18px; }

.section-proposito {
  background: url('assets/mission-bg.webp') center/cover no-repeat;
  width: 100%; padding: 40px 0;
}
.mission {
  background: linear-gradient(135deg, #dbe6fb, #E9F0FC);
  border-radius: 32px; padding: 50px; position: relative; overflow: hidden;
}
.mission-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }
.mission h2 { font-size: clamp(26px, 3vw, 38px); }
.mission p { font-size: 17px; color: var(--ink-soft); margin-top: 16px; }
.mission-lead { font-size: 17px; color: #fff !important; background: var(--hb-green, #2e9e34); padding: 14px 20px; border-radius: 20px; margin-top: 16px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value {
  background: var(--paper); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden; min-height: 128px; border: 2px solid transparent;
}
.value h4 { position: relative; z-index: 2; }
.value p { position: relative; z-index: 2; }
.value-rule { display: block; width: 22px; height: 3px; border-radius: 2px; position: relative; z-index: 2; }
.value-deco { position: absolute; z-index: 1; opacity: 0.8; }
.value-deco-1 { top: 12px; right: 34px; color: var(--hb-yellow, #f2b705); }
.value-deco-2 { top: 40px; right: 12px; color: currentColor; opacity: 0.55; }
.value-band { position: absolute; z-index: 0; opacity: 0.6; }
.value:nth-child(1) .value-band { left: -10%; right: -6%; bottom: -22%; height: 50%; border-radius: 45% 55% 0 0 / 65% 40% 0 0; }
.value:nth-child(2) .value-band { left: -8%; right: -8%; bottom: -30%; height: 55%; border-radius: 60% 40% 0 0 / 30% 90% 0 0; }
.value:nth-child(3) .value-band { left: -6%; right: -10%; bottom: -18%; height: 45%; border-radius: 35% 65% 0 0 / 90% 25% 0 0; }
.value:nth-child(4) .value-band { left: -10%; right: -6%; bottom: -34%; height: 60%; border-radius: 80% 20% 0 0 / 20% 55% 0 0; }
.value-corner { position: absolute; bottom: 10px; right: 12px; z-index: 2; opacity: 0.9; }
.value-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.value .vico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.value-head h4 { margin: 0; line-height: 1; }
.value-title-group { display: flex; flex-direction: column; gap: 6px; }
.value h4 { font-size: 17px; }
.value p { font-size: 14px; margin-top: 3px; margin-left: 50px; }

/* ============ PROGRAMAS ============ */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prog-card {
  position: relative; text-align: left; border: 0; padding: 0; background: var(--paper);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.prog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prog-banner { height: 130px; position: relative; display: flex; align-items: center; justify-content: flex-end; padding: 5px 18px; box-sizing: border-box; overflow: hidden; }
.prog-banner-icon { position: absolute; left: 20px; }
.prog-banner-icon.mono { color: #fff; filter: brightness(0) invert(1); }
.prog-banner-cut { position: absolute; inset: 0; z-index: 0; }
.prog-num { position: absolute; top: 14px; left: 16px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; padding: 5px 12px; border-radius: 999px; }
.prog-ico { width: 64px; height: 64px; opacity: 0.9; }
.prog-photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 4px solid var(--paper); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.prog-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prog-photo.prog-photo-lg { width: 118px; height: 118px; border-color: #fff; }
.prog-photo.prog-photo-lg img { object-position: center 30%; }
.prog-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prog-tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; display: inline-block; align-self: flex-start; padding: 5px 12px; border-radius: 999px; }
.prog-card h3 { font-size: 21px; margin: 8px 0 0; }
.prog-card .prog-obj { font-size: 14.5px; margin-top: 9px; padding: 12px 16px; }
.prog-meta { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 0; font-weight: 800; font-size: 12px; padding: 8px; border-radius: 999px; }
.prog-meta .arrow { transition: transform .2s; }
.prog-card:hover .prog-meta .arrow { transform: translateX(4px); }
.prog-btn-row { display: flex; gap: 10px; margin-top: auto; padding-top: 16px; align-items: stretch; }
.prog-btn-row .prog-meta { flex: 1; margin-top: 0; }
.prog-btn-row .prog-kit { flex: 0 0 auto; padding: 8px 14px; overflow: visible; font-size: 12px; line-height: 1.15; text-align: left; }
.prog-btn-row .prog-kit img { width: 34px !important; height: 34px !important; }
.prog-buy-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; flex-shrink: 0; }
.prog-buy-icon img { width: 28px !important; height: 28px !important; }
.prog-buy { transition: transform .2s, box-shadow .2s; }
.prog-buy:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 18px rgba(255,110,18,.35); }
#ac-root .modal { height: auto !important; min-height: 0 !important; }
.kit-body.kit-body { padding: 60px 70px; font-size: 15px; color: var(--ink-soft); }
.kit-title-badge { display: inline-block; background: #fff; border-radius: 14px; padding: 6px 16px; }
.kit-list { list-style: none; display: grid; gap: 12px; margin: 14px 0 0; padding: 0; }
.kit-list li { position: relative; padding-left: 50px; font-size: 15.5px; font-weight: 500; color: var(--kit-c); }
.kit-list li::before { content: ""; position: absolute; left: 0; top: -8px; width: 42px; height: 42px; background: url(assets/icon-nino.webp) center/contain no-repeat; }
.kit-list li:nth-child(even)::before { background-image: url(assets/icon-nina.webp); }
.prog-chips { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.chip { font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* ============ MODAL ============ */
.modal-scrim {
  position: fixed; inset: 0; z-index: 999999; background: oklch(0.3 0.03 55 / 0.42);
  backdrop-filter: blur(3px); display: grid; place-items: center; padding: 24px;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  background: var(--cream); width: min(880px, 100%); max-height: 90vh; height: auto; overflow: hidden; position: relative;
  border-radius: 28px; box-shadow: 0 30px 80px oklch(0.3 0.03 55 / 0.4); display: flex; flex-direction: column;
  animation: pop .26s cubic-bezier(.2,.8,.3,1.2);
}
@keyframes pop { from { transform: scale(.94) translateY(10px); opacity: 0; } }
.modal-head { padding: 32px 36px 26px; position: relative; color: #fff; overflow: hidden; }
.modal-head h2 { font-size: clamp(26px, 3.4vw, 36px); position: relative; z-index: 2; color: #fff; }
.modal-head .m-tag { font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; font-size: 12.5px; position: relative; z-index: 2; display: inline-block; border-radius: 999px; padding: 4px 12px; }
.modal-head .m-obj { font-size: 16px; font-weight: 500; margin-top: 12px; max-width: 44em; opacity: 0.96; position: relative; z-index: 2; }
@media (max-width: 900px) {
  .modal-head { padding: 28px 26px 34px; }
  .m-deco-icon { width: 64px; height: 64px; }
}
@media (max-width: 620px) {
  .modal-head { padding: 20px 18px 16px; overflow: visible; }
  .modal-head h2 { font-size: 24px; }
  .modal-head-cols { flex-direction: column; align-items: flex-start; gap: 8px; }
  .m-deco-icon { display: none; }
  .modal-head .m-obj { font-size: 13.5px; display: block; }
  .modal-head .m-obj .m-obj-badge { display: inline-block; margin-bottom: 4px; }
  .cal-tabs.theme-tabs.theme-tabs, .theme-tabs.theme-tabs { padding: 20px 6px 4px; gap: 8px; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .theme-tab { padding: 8px; min-width: 0; width: 100%; box-sizing: border-box; font-size: 12.5px; border-right: 0 !important; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; text-align: left; background: var(--paper); border-radius: 12px; }
  .theme-tab .tletter { width: 26px; height: 26px; }
  .theme-tab .tab-title { display: block; font-size: 9.5px; line-height: 1.2; }
  .tab-week { font-size: 9px; padding: 2px 8px; }
  .theme-panel.theme-panel, .modal-body.modal-body { padding-left: 20px; padding-right: 20px; }
  .kit-body.kit-body { padding: 20px 20px 40px; background-size: 220% auto !important; background-position: top center !important; }
  .modal-close.modal-close { top: 14px; right: 14px; width: 34px; height: 34px; font-size: 16px; }
  .act { padding: 12px; gap: 10px; }
  .act-num { width: 28px; height: 28px; font-size: 12px; }
}
.m-obj-badge { display: inline-block; border-radius: 999px; padding: 3px 12px; margin-right: 4px; font-weight: 800; }
.m-deco { position: absolute; color: #fff; opacity: 0.9; pointer-events: none; }
.m-deco-star { top: 26px; right: 150px; }
.m-deco-note { top: 68px; right: 60px; transform: rotate(8deg); }
.m-deco-dot1 { width: 10px; height: 10px; border-radius: 50%; background: oklch(0.75 0.16 355); top: 18px; right: 110px; }
.m-deco-dot2 { width: 8px; height: 8px; border-radius: 50%; background: #fff; top: 70px; right: 100px; }
.m-deco-dot3 { width: 9px; height: 9px; border-radius: 50%; background: oklch(0.75 0.16 355); top: 92px; right: 20px; }
.m-deco-arrow { bottom: 8px; right: 40px; opacity: 0.85; }
.m-deco-star2 { top: 20px; right: 26px; color: oklch(0.66 0.16 300); }
.m-deco-star3 { bottom: 30px; left: 34px; color: var(--c-coral); }
.m-deco-squig1 { top: 130px; left: 26px; color: var(--c-green); transform: rotate(8deg); }
.m-deco-squig2 { bottom: 120px; right: 38px; color: var(--c-coral); transform: rotate(-6deg); }
.m-deco-dotb1 { width: 8px; height: 8px; border-radius: 50%; background: var(--c-blue); bottom: 60px; left: 42px; }
.m-deco-icon { position: static; width: 90px; height: 90px; flex-shrink: 0; margin-right: 18px; }
.modal-head-cols { display: flex; align-items: center; gap: 20px; position: relative; z-index: 1; }
.modal-head-text { flex: 1 1 auto; min-width: 0; }
.m-deco-dotb2 { width: 8px; height: 8px; border-radius: 50%; background: var(--c-amber); top: 76px; right: 32px; }
.modal-body { position: relative; padding: 3px 36px 36px; overflow: hidden auto; }
.modal-body .m-deco { z-index: 0; }
.modal-body .theme-panel { position: relative; z-index: 1; }

.theme-tabs {
  display: flex; flex-wrap: wrap; background: var(--cream); padding: 20px 36px 3px; position: relative; z-index: 2;
}
.theme-tab {
  border: 0; background: transparent; flex: 1 1 0; min-width: 150px; align-self: flex-start;
  padding: 4px 18px 0; font-weight: 800; font-size: 14.5px; color: var(--ink); transition: opacity .16s;
  display: flex; align-items: center; gap: 12px; text-align: left; line-height: 1.25;
  border-right: 1px solid var(--line);
}
.theme-tab:last-child { border-right: 0; }
.theme-tab .tletter { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 17px; font-family: var(--font-display); }
.tletter-cal { position: relative; }
.tletter-cal b { position: absolute; bottom: 5px; font-size: 9px; font-weight: 800; }
.tab-week { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; border-radius: 999px; padding: 2px 9px; margin-bottom: 3px; background: #FF6E12 !important; }
.tab-title { display: block; }
.theme-tab { }
.theme-tab.on { opacity: 1; }
.modal-close {
  position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: oklch(1 0 0 / 0.22); color: #fff; font-size: 20px; display: grid; place-items: center;
  z-index: 5; cursor: pointer;
  transition: background .15s;
}
.modal-close:hover { background: oklch(1 0 0 / 0.36); }
.theme-panel { padding-top: 2px; }
.theme-panel h4 { font-size: 20px; margin-top: 8px; margin-bottom: 4px; }
.theme-panel .theme-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; font-weight: 700; }
.theme-panel h4 { margin-bottom: 18px; }
.act-list { display: grid; gap: 11px; }
.act {
  display: flex; gap: 15px; align-items: center; background: var(--paper);
  border-radius: var(--radius-sm); padding: 15px 18px; box-shadow: var(--shadow-sm);
}
.act-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 14px;
}
.act-text { font-size: 15px; color: var(--act-c); }
.act-text b { font-weight: 600; }
#calendario.section { padding-top: 0px; padding-bottom: 28px; }
#inscripcion.section { padding-top: 28px; }

/* ============ CALENDAR ============ */
.cal-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px oklch(0.2 0.05 260 / 0.08); border: 1px solid var(--line); }
.cal-head { padding: 26px 36px; color: #fff; }
.cal-head .m-tag { font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; font-size: 12.5px; display: inline-block; border-radius: 999px; padding: 4px 14px; }
.cal-head h3 { margin-top: 10px; font-size: clamp(22px, 2.6vw, 30px); }
.cal-tabs { padding: 16px 36px 12px; align-items: flex-start; }
.cal-panel { padding: 28px 36px 8px; background: #eaf1fd; }
.cal-panel h4 { font-size: 22px; margin: 4px 0 20px; }
.day-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.day-card { background: var(--cream); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.day-head { color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; padding: 10px 14px; display: flex; align-items: center; gap: 6px; }
.day-time { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); padding: 10px 14px 0; }
.day-activity { font-weight: 800; font-size: 15px; padding: 4px 14px 0; font-family: var(--font-display); }
.day-desc { font-size: 13.5px; font-weight: 500; padding: 6px 14px 16px; line-height: 1.45; }
.cal-rundown { padding: 8px 36px 32px; position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; background: #eaf1fd; }
.cal-rundown-inner { flex: 0 0 auto; }
.cal-deco-wrap { flex: 1 1 auto; display: flex; justify-content: center; }
.cal-deco { width: 340px; height: auto; pointer-events: none; }
@media (max-width: 700px) { .cal-rundown { flex-direction: column; } .cal-deco-wrap { position: absolute; inset: 0; z-index: 0; align-items: flex-end; padding-bottom: 24px; } .cal-rundown-inner { position: relative; z-index: 1; flex: 1 1 auto; width: 100%; } .rundown-list { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cal-deco { display: none; } }
.cal-rundown-label { display: block; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.rundown-list { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 14px; }
.rundown-card { background: var(--cream); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.rundown-head { color: #fff; font-weight: 800; font-size: 13px; padding: 10px 14px; display: flex; align-items: center; gap: 6px; }
.ico-orange { color: #FF6E12; }
.ico-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; flex-shrink: 0; }
.rundown-card .rundown-txt { font-size: 13.5px; font-weight: 500; padding: 10px 14px; margin: 0; line-height: 1.4; }
@media (max-width: 460px) { .rundown-list { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .day-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .day-grid { grid-template-columns: 1fr; }
  .cal-head, .cal-tabs, .cal-panel, .cal-rundown { padding-left: 20px; padding-right: 20px; }
}

/* ============ FORM ============ */
.enroll { background: var(--paper); border-radius: 32px; box-shadow: var(--shadow); overflow: hidden; }
.enroll-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; }
.enroll-aside { padding: 46px 40px; color: #fff; background: #163797; position: relative; overflow: hidden; }
.ea-deco-clip { position: absolute; right: 20px; bottom: 50%; transform: translateY(50%); width: 200px; height: auto; opacity: 1; pointer-events: none; z-index: 2; }
.enroll-aside > *:not(.ea-deco-clip) { position: relative; z-index: 1; }
.enroll-aside h2 { font-size: 32px; }
.enroll-aside p { margin-top: 14px; font-size: 15.5px; font-weight: 600; opacity: 1; }
.steps-rail { margin-top: 12px; display: grid; gap: 4px; }
.rail-step { display: inline-flex; width: fit-content; align-items: center; gap: 0; opacity: 1; transition: opacity .2s, background .2s; border-radius: 14px; position: relative; }
.rail-step:not(.on):not(.done) h5, .rail-step:not(.on):not(.done) span { opacity: 1; }
.rail-step.on { opacity: 1; background: transparent; }
.rail-step .rail-dot { margin-right: 14px; }
.rail-step > div { padding: 11px 0; }
.rail-step.on > div { background: var(--sc, #fff); border-radius: 14px; box-shadow: 0 8px 20px oklch(0.2 0.05 260 / 0.15); padding: 11px 18px; margin-left: 6px; position: relative; }
.rail-step.on > div::before { content: ""; position: absolute; left: -8px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-right: 8px solid var(--sc, #fff); }
.rail-step.done { opacity: 0.85; }
.rail-dot {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  color: #fff !important; font-family: var(--font-display); font-weight: 600; font-size: 18px;
  border: 3px solid #fff !important;
}
.rail-step.on .rail-dot { opacity: 1 !important; }
.rail-dot-badge { width: 30px; height: 30px; border-radius: 50%; background: transparent; display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 800; }
.rail-step.on .rail-dot-badge { color: #fff; }
.rail-step h5 { font-family: var(--font-display); font-weight: 500; font-size: 16px; margin: 0; color: #fff; }
.rail-step.on h5 { color: #fff !important; font-weight: 800; }
.rail-step.on > div > span { color: #fff !important; opacity: 1 !important; }
.rail-step span { font-size: 12.5px; opacity: 0.85; color: #fff; }

.enroll-form { padding: 44px 44px 38px; display: flex; flex-direction: column; position: relative; }
.form-step-head { margin-bottom: 24px; }
.form-step-head .stepn { font-weight: 800; color: var(--c-blue); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.form-step-head h3 { font-size: 27px; margin-top: 6px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 13.5px; }
.field label .req { color: var(--c-coral); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; padding: 12px 15px; border-radius: 12px; box-sizing: border-box; height: 51px;
  border: 1.5px solid #FF6E12; background: var(--cream); color: var(--ink); transition: border .15s, box-shadow .15s; color-scheme: light;
  width: 100%;
}
.field select.empty { color: #1e40d8; }
.field input::placeholder, .field textarea::placeholder, .dp-input .dp-placeholder { color: #1e40d8; opacity: 1; }
.field input[type="date"] { cursor: pointer; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(48%) sepia(90%) saturate(2000%) hue-rotate(1deg) brightness(102%); cursor: pointer; padding: 4px; }
.field textarea { resize: vertical; min-height: 76px; height: auto; }
.datepicker { position: relative; }
.dp-input { width: 100%; box-sizing: border-box; height: 51px; display: flex; align-items: center; justify-content: space-between; font-family: inherit; font-size: 15px; padding: 12px 15px; border-radius: 12px; border: 1.5px solid #FF6E12; background: var(--cream); color: #1e40d8; cursor: pointer; }
.dp-input .dp-placeholder { color: var(--ink-soft); }
.dp-input svg { color: #FF6E12; flex-shrink: 0; }
.dp-pop { position: fixed; z-index: 999; background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); padding: 14px; width: 280px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-family: var(--font-display); color: #1e40d8; }
.dp-head button { border: 0; background: var(--cream); width: 28px; height: 28px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--c-blue); }
.dp-input .dp-placeholder { color: #1e40d8; }
.dp-dow { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; font-weight: 800; color: #1e40d8; margin-bottom: 4px; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dp-day { border: 0; background: transparent; height: 32px; border-radius: 8px; font-size: 13.5px; cursor: pointer; color: #1e40d8; }
.dp-day:hover { background: var(--c-blue-wash); }
.dp-day.on { background: #FF6E12; color: #fff; font-weight: 800; }
.dp-pop-my { padding: 0; overflow: hidden; }
.dp-head-my { margin: 0; padding: 10px 14px; background: #1e40d8; }
.dp-head-my strong, .dp-head-my button { color: #fff; }
.dp-head-my button { background: rgba(255,255,255,.2); }
.dp-grid-my { padding: 14px; background: repeating-linear-gradient(to bottom, #eaf3ff 0px, #eaf3ff 27px, #d7e8ff 28px); }
.dp-grid-my .dp-day { background: transparent; margin: 2px 0; border: 1px solid rgba(30,64,216,.25); }
.dp-grid-my .dp-day:hover { background: var(--c-blue-wash); }
.dp-grid-my .dp-day.on { background: #FF6E12; border-color: #FF6E12; }
.dp-dow-my { padding: 8px 14px 0; background: #eaf3ff; margin: 0; }
.dp-grid-my { grid-template-columns: repeat(7, 1fr); }
.dp-pop-my .dp-grid.dp-grid-my:not([style*="repeat(3"]) .dp-day { height: 32px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--c-blue); box-shadow: 0 0 0 4px var(--c-blue-wash);
}
.field.err input, .field.err select { border-color: var(--c-coral); }
.field .msg { font-size: 12.5px; color: var(--c-coral); font-weight: 700; min-height: 0; }

.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  border: 1.5px solid #FF6E12; background: var(--cream); border-radius: 999px; padding: 9px 16px;
  font-weight: 700; font-size: 14px; color: #1e40d8; transition: all .15s;
}
.seg button.on { border-color: var(--c-blue); background: var(--c-blue-wash); color: var(--ink); }

.check-row { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border: 1.5px solid #FF6E12; border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.check-row.err { border-color: var(--c-coral); }
.check-row input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--c-blue); flex-shrink: 0; position: absolute; opacity: 0; pointer-events: none; }
.check-row span { font-size: 14px; color: #1e40d8; font-weight: 700; }
.cbx-box { width: 22px; height: 22px; border-radius: 6px; background: #fff; border: 1.5px solid #FF6E12; display: grid; place-items: center; flex-shrink: 0; color: transparent; transition: all .12s; }
.check-row .cbx-box { color: transparent; }
.cbx:checked + .cbx-box { background: #FF6E12; border-color: #FF6E12; color: #fff; }

.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 28px; }
.btn-blue { background: #FF6E12; color: #fff; box-shadow: 0 8px 20px rgba(255,110,18,0.35); }
.btn-blue:hover { transform: translateY(-2px); color: #fff; }
.btn-back { background: transparent; color: #1e40d8; font-weight: 800; border: 0; font-size: 15px; padding: 10px; }
.btn-back:hover { color: var(--c-coral); }

.success { padding: 60px 50px; text-align: center; }
.success .check { width: 84px; height: 84px; border-radius: 50%; background: var(--c-green); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; box-shadow: 0 12px 30px oklch(0.72 0.125 150 / 0.4); }
.success .check svg { display: block; stroke: #fff !important; }
.success h3 { font-size: 30px; }
.success p { color: var(--ink-soft); font-size: 16.5px; margin-top: 12px; max-width: 30em; margin-inline: auto; }
.success-note { background: #1e40d8; color: #fff !important; border-radius: 20px; padding: 16px 22px; }

/* ============ FOOTER ============ */
.site-footer { position: relative; z-index: 1; background: var(--ink); color: oklch(0.92 0.01 80); margin-top: 40px; }
.footer-inner { padding: 56px 0 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: oklch(0.75 0.02 80); }
.foot-col h5 { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: #fff; margin-bottom: 14px; }
.foot-col a { display: block; text-decoration: none; color: oklch(0.82 0.01 80); font-size: 14.5px; padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.footer-logo { height: 56px; width: auto; display: block; }
.header-logo { height: 40px; width: auto; display: block; }
.foot-bottom { border-top: 1px solid oklch(1 0 0 / 0.12); padding: 22px 0; text-align: center; font-size: 13px; color: oklch(0.7 0.02 80); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { height: 340px; }
  .mission-grid { grid-template-columns: 1fr; gap: 30px; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .enroll-grid { grid-template-columns: 1fr; }
  .enroll-aside { padding: 34px 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 10px; }
  #calendario.section { padding-top: 32px; }
  #inscripcion.section { padding-bottom: 50px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 10px; }
  .nav { display: none; }
  .values { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .enroll-form { padding: 30px 24px; }
  .dp-pop { width: calc(100vw - 48px); max-width: 300px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .enroll-aside { display: none; }
  .enroll-grid { grid-template-columns: 1fr; }
  #inscripcion.section { padding-bottom: 50px; }
}
