:root {
    --haiti: #161032;
    --java: #3B9AC8;           /* C++ light blue */
    --bright-sun: #7EC8E3;     /* sky blue */
    --butterfly: #00599C;      /* C++ blue — primary accent */
    --alabaster: #FAFAFA;
    --cpp-dark: #004482;

    --glass-1: rgba(0, 0, 0, .08);
    --shadow-1: 0 10px 28px rgba(22, 16, 50, .10);
    --shadow-2: 0 16px 50px rgba(0, 89, 156, .22);

    --radius-xl: 24px;
    --radius-lg: 16px;
    --fab-size: 56px;

    --fs-root: 17px;
    --lh: 1.7;
    --fs-h1: clamp(2.2rem, 4vw, 3rem);
    --fs-h2: clamp(1.5rem, 2.6vw, 2rem);
    --fs-h3: clamp(1.2rem, 2vw, 1.35rem);
    --fs-lead: clamp(1.05rem, 1.6vw, 1.2rem);
    --fs-body: clamp(1.0rem, 1.2vw, 1.1rem);
    --fs-small: .95rem;

    --content-max: 88ch;
    --page-max: 1200px;
    --page-pad: 20px;
    --measure: var(--content-max);
    --measure-wide: var(--page-max);
}

* { box-sizing: border-box }

html { font-size: var(--fs-root); scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--haiti);
    line-height: var(--lh-body);
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(900px 520px at 12% -8%, rgba(0, 89, 156, .13), transparent 60%),
        radial-gradient(900px 540px at 110% -10%, rgba(59, 154, 200, .12), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .96) 40%),
        radial-gradient(circle at 1px 1px, rgba(22, 16, 50, .06) 1px, transparent 0) 0 0/18px 18px;
}

.wrap{
  max-width:var(--page-max);
  margin:0 auto;
  padding:0 var(--page-pad);
}

/* ===== KEYFRAMES ===== */
@keyframes hero-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(-50%) rotate(-4deg) scale(1); }
  50%       { transform: translateY(calc(-50% - 16px)) rotate(0deg) scale(1.03); }
}

/* ===== HERO ===== */
header.hero{
  width:100vw;
  max-width:100vw;
  margin:0 calc(50% - 50vw) 0;
  padding:64px 0 52px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
}

header.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(520px 280px at 10% 10%, rgba(59, 154, 200, .22), transparent 60%),
    radial-gradient(560px 320px at 90% -5%, rgba(126, 200, 227, .24), transparent 60%),
    radial-gradient(700px 400px at 50% 120%, rgba(0, 89, 156, .16), transparent 55%),
    linear-gradient(130deg, rgba(0, 89, 156, .16) 0%, rgba(0, 89, 156, .05) 40%, transparent 60%);
  border-bottom: 1px solid rgba(0, 89, 156, .14);
  animation: hero-pulse 9s ease-in-out infinite;
}

header.hero > *:not(.hero-watermark){
  max-width:var(--page-max);
  margin-left:auto;
  margin-right:auto;
  padding-left:var(--page-pad);
  padding-right:var(--page-pad);
}

header.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}

/* ===== WATERMARK ===== */
.hero-watermark {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  width: 320px;
  height: 320px;
  color: var(--haiti);
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
  animation: logo-float 11s ease-in-out infinite;
}

.hero-watermark svg {
  width: 100%;
  height: 100%;
}

.eyebrow {
    color: var(--butterfly);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: var(--fs-micro);
    font-family: var(--font-heading)
}

h1 {
    margin: .35rem 0 .6rem;
    font-size: var(--fs-h1);
    line-height: var(--lh-heading);
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--haiti);
    max-width: none;
}

.lead {
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body);
    color: #2a234f;
    opacity: .95;
    max-width: 100%;
    text-wrap: pretty;
}

.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top: .9rem; }
.hero-mini{ display:flex; gap:10px; flex-wrap:wrap; margin-top: .9rem; }

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 89, 156, .12), rgba(0, 89, 156, .07));
  border: 1px solid rgba(0, 89, 156, .22);
  box-shadow: 0 4px 14px rgba(0, 89, 156, .10);
  font-weight: 800;
  color: #00233f;
  font-size: var(--fs-body);
  transition: transform .18s ease, box-shadow .18s ease;
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 89, 156, .18);
}

/* ===== STATS STRIP ===== */
.stats-strip {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, var(--haiti) 0%, #1c1448 60%, #252060 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 10% 50%, rgba(59, 154, 200, .14), transparent 60%),
    radial-gradient(400px 200px at 90% 50%, rgba(0, 89, 156, .12), transparent 60%);
  pointer-events: none;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  gap: 4px;
  border-right: 1px solid rgba(255, 255, 255, .07);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1.1;
  color: var(--java);
  letter-spacing: -0.02em;
}

.stat-item:nth-child(2) .stat-num,
.stat-item:nth-child(3) .stat-num { color: var(--bright-sun); }

.stat-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-heading);
}

/* ===== PROSE ===== */
.prose{
  max-width:var(--page-max);
  margin:40px auto 28px;
  padding:0 var(--page-pad);
  font-size:var(--fs-body);
}

.prose > *{ max-width:100%; margin-left:0; margin-right:0; }

.prose h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading-2);
    font-family: var(--font-heading);
    margin: 2rem 0 .7rem;
    border-left: 5px solid var(--butterfly);
    padding-left: 14px;
    text-wrap: balance;
    background: linear-gradient(90deg, var(--haiti) 0%, #004482 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prose h3 {
    font-size: var(--fs-h3);
    line-height: var(--lh-heading-2);
    font-weight: 500;
    font-family: var(--font-heading);
    margin: 1.4rem 0 .4rem;
    color: #2a234f
}

.prose p { margin: .7rem 0; text-wrap: pretty; }
.prose strong { font-weight: 900 }

.prose em {
    background: linear-gradient(transparent 60%, rgba(126, 200, 227, .40) 60%);
    font-style: normal
}

.prose hr {
    height: 1px; border: 0;
    background: linear-gradient(90deg, transparent, rgba(59, 154, 200, .35), transparent);
    margin: 1.6rem 0;
}

.prose ul { padding-left: 1.1rem; margin: .6rem 0 }
.prose li { margin: .35rem 0 }

/* ===== INFO GRID ===== */
.info-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: .9rem; }

.info-card{
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
  border: 1px solid rgba(0, 89, 156, .14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 22px 18px 18px;
  transition: transform .20s ease, box-shadow .20s ease;
  overflow: hidden;
}

.info-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--butterfly), var(--java));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.info-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0, 89, 156, .16); }

.card-header{ display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

.info-icon{
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 89, 156, .15), rgba(0, 89, 156, .07));
  display: flex; align-items: center; justify-content: center;
  color: var(--butterfly);
  box-shadow: 0 4px 12px rgba(0, 89, 156, .12);
}

.info-icon svg{ flex-shrink: 0; }
.info-card h3{ margin: 0; font-size: var(--fs-body-lg); color: var(--haiti); font-weight: 700; text-wrap: balance; }
.info-card p{ margin: 0; color: #2a234f; opacity: .92; line-height: 1.65; text-wrap: pretty; }

/* ===== STUDENT GRID ===== */
.student-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: .9rem; }

.student-card{
  position: relative;
  padding: 22px 18px 18px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(59, 154, 200, .28);
  background: linear-gradient(145deg, rgba(59, 154, 200, .09), rgba(59, 154, 200, .03));
  transition: transform .20s ease, box-shadow .20s ease;
  overflow: hidden;
}

.student-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--java), var(--butterfly));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.student-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(59, 154, 200, .20);
  border-color: rgba(59, 154, 200, .45);
}

.student-icon{
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 12px;
  background: rgba(59, 154, 200, .16);
  display: flex; align-items: center; justify-content: center;
  color: #003060;
  box-shadow: 0 4px 12px rgba(59, 154, 200, .15);
}

.student-icon svg{ flex-shrink: 0; }
.student-card h3{ margin: 0; font-size: var(--fs-body-lg); color: var(--haiti); font-weight: 700; text-wrap: balance; }
.student-card p{ margin: 0; color: #2a234f; opacity: .92; line-height: 1.65; text-wrap: pretty; }

/* Note */
.note {
    background: linear-gradient(145deg, rgba(0, 89, 156, .08), rgba(0, 89, 156, .04));
    border: 1px solid rgba(0, 89, 156, .16);
    border-left: 4px solid var(--java);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    padding: 16px 18px;
    margin: 1rem 0;
    text-wrap: pretty;
}

.muted{ color:#4a447a; opacity:.9; font-size: var(--fs-small); margin: .55rem 0 .2rem; }

/* ===== ACCORDION & MODULES ===== */
.accordion{ margin: .9rem 0 1.1rem; display: flex; flex-direction: column; gap: 8px; }

.accordion details { border-radius: var(--radius-lg); border: 1px solid rgba(0, 89, 156, .16); overflow: hidden; }

.accordion details > summary {
  cursor: pointer; list-style: none; padding: 16px 18px;
  background: linear-gradient(180deg, rgba(0, 89, 156, .10), rgba(0, 89, 156, .06));
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; user-select: none; transition: background .18s ease;
  font-size: var(--fs-body-lg);
}

.accordion details > summary::-webkit-details-marker { display: none; }
.accordion details > summary::marker { display: none; }

.accordion details > summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 900; color: var(--butterfly);
  transition: transform .25s ease; flex-shrink: 0; line-height: 1;
}

.accordion details[open] > summary { background: linear-gradient(180deg, rgba(0, 89, 156, .15), rgba(0, 89, 156, .10)); }
.accordion details[open] > summary::after { transform: rotate(45deg); }
.accordion details > div { padding: 0 16px 16px; }

.modules{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }

.mcard{
  display:flex; align-items:flex-start; justify-content: space-between;
  gap: 10px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(0, 89, 156, .14);
  background: linear-gradient(145deg, rgba(0, 89, 156, .09), rgba(0, 89, 156, .04));
  transition: transform .15s ease, box-shadow .15s ease;
}

.mcard:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 89, 156, .10); }
.mcard strong{ white-space: nowrap; font-weight: 900; color: var(--butterfly); }
.mcard span{ color:#2a234f; opacity:.95; text-wrap: pretty; }

.factbox{ display:grid; gap: 10px; margin-top: 12px; }

.fact{
  display:flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(59, 154, 200, .18);
  background: linear-gradient(145deg, rgba(59, 154, 200, .10), rgba(59, 154, 200, .04));
}

.fact span{ color:#2a234f; opacity:.9; font-weight: 700; }
.fact strong{ font-weight: 900; }

/* ===== CHECKS ===== */
.checks{ list-style: none; padding-left: 0; margin: .6rem 0; }
.checks li{ position: relative; padding-left: 32px; margin: .55rem 0; }

.checks li::before{
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 999px;
  display:inline-flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(59, 154, 200, .22), rgba(59, 154, 200, .10));
  color: #003060; font-weight: 900; font-size: .85rem;
  box-shadow: 0 2px 8px rgba(59, 154, 200, .18);
}

/* ===== GALLERY ===== */
.gallery{ display: flex; gap: 12px; flex-wrap: wrap; }
.gallery img{ border-radius: 12px; max-width: 260px; box-shadow: var(--shadow-1); }
figcaption{ margin-top: 8px; font-size: var(--fs-small); color: #4a447a; opacity: .85; }

/* ===== TESTIMONIALS SLIDER ===== */
.testimonials{ margin: 1rem 0 1.2rem; }
.ts-viewport{ overflow: hidden; border-radius: 16px; width: 100%; }

.ts-track{
  display: flex; width: 100%; gap: 0;
  transition: transform .45s ease; will-change: transform;
}

.ts-slide{ flex: 0 0 100%; width: 100%; min-width: 100%; }
.ts-quote{ height: 100%; margin: 0; }

.ts-controls{ display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }

.ts-btn{
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.9); box-shadow: var(--shadow-1);
  cursor: pointer; font-size: var(--fs-h4); line-height: 1; color: var(--haiti);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.ts-btn:hover{ transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0, 89, 156, .18); background: #fff; }

.ts-btn:focus-visible,
.ts-dot:focus-visible{ outline: 3px solid rgba(0, 89, 156, .55); outline-offset: 2px; }

.ts-dots{ display: inline-flex; gap: 8px; align-items: center; }

.ts-dot{
  width: 10px; height: 10px; border-radius: 999px; border: 0;
  background: rgba(0, 89, 156, .25); cursor: pointer; padding: 0;
  transition: background .2s ease, transform .2s ease;
}

.ts-dot.is-active{ background: var(--butterfly); transform: scale(1.2); }

/* blockquote (legacy) */
blockquote {
    position: relative; margin: 1rem 0;
    padding: 20px 18px 16px 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
    border-left: 4px solid var(--java);
    border-right: 1px solid rgba(59, 154, 200, .14);
    border-top: 1px solid rgba(59, 154, 200, .14);
    border-bottom: 1px solid rgba(59, 154, 200, .14);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(22, 16, 50, .09);
}

blockquote::before {
  content: "\201C"; position: absolute; top: -6px; left: 12px;
  font-size: 4.5rem; line-height: 1; color: var(--java); opacity: 0.22;
  font-family: Georgia, 'Times New Roman', serif; pointer-events: none; font-weight: 900;
}

blockquote footer { color: var(--butterfly); font-weight: 700; margin-top: .5rem; font-size: var(--fs-small); }

/* ===== TESTIMONIAL CARD ===== */
.ts-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.99), rgba(245,249,255,.94));
  border: 1px solid rgba(0, 89, 156, .13);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-1);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  align-items: center;
  overflow: hidden;
  text-align: left;
}

.ts-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--butterfly), var(--java));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.ts-card::after {
  content: "\201C"; position: absolute; top: 10px; right: 20px;
  font-size: 6rem; line-height: 1; font-family: Georgia, serif;
  color: var(--butterfly); opacity: .06; pointer-events: none;
}

.ts-card-person { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }

.ts-avatar {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.18); padding: 10px;
}

.ts-avatar svg { width: 100%; height: 100%; color: rgba(255,255,255,0.92); }

.ts-avatar--mom  { background: linear-gradient(145deg, #00599C, #2a7bc0); }
.ts-avatar--dad  { background: linear-gradient(145deg, #003060, #005090); }
.ts-avatar--boy  { background: linear-gradient(145deg, #1a6ea8, #3B9AC8); }
.ts-avatar--girl { background: linear-gradient(145deg, #0a5080, #2a80b0); }

.ts-stars { color: #f5a800; font-size: 1.05rem; letter-spacing: 3px; line-height: 1; }

.ts-text {
  margin: 0; color: #2a234f; line-height: 1.75;
  font-size: var(--fs-body-lg); font-style: italic; opacity: .9;
  max-width: none; text-align: left;
}

.ts-footer { display: flex; flex-direction: column; gap: 3px; width: 100%; align-items: center; }
.ts-footer strong { font-weight: 800; color: var(--haiti); font-size: var(--fs-body); }
.ts-footer span { font-size: var(--fs-small); color: var(--butterfly); font-weight: 600; }

/* ===== ENROLLMENT SECTION ===== */
.enroll-section {
    max-width: var(--page-max);
    margin: 10px auto 40px;
    scroll-margin-top: 80px;
    padding: 36px var(--page-pad);
    background: linear-gradient(145deg, rgba(0, 89, 156, .07) 0%, rgba(59, 154, 200, .06) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 89, 156, .12);
}

.enroll-heading{
  text-align: center; font-size: var(--fs-h2); font-family: var(--font-heading);
  margin: 0 0 6px; border: none; padding: 0;
  background: linear-gradient(120deg, var(--haiti) 0%, var(--butterfly) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.enroll-sub { text-align: center; color: rgba(42,35,79,.7); margin: 0 0 22px; }
.enroll-grid { max-width: 100%; margin: 0 auto; }

.enroll-card {
    scroll-margin-top: 90px;
    background: linear-gradient(168deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 100%);
    border: 1px solid rgba(0, 89, 156, .14);
    border-radius: var(--radius-xl);
    padding: 28px 26px;
    box-shadow: 0 12px 40px rgba(0, 89, 156, .10);
    position: relative; overflow: hidden;
}

.enroll-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--butterfly), var(--java), var(--bright-sun));
}

.enroll-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }

.enroll-badge {
    flex-shrink: 0; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--butterfly);
    border: 1px solid rgba(0, 89, 156, .25); background: rgba(0, 89, 156, .07);
    padding: 6px 14px; border-radius: 999px;
}

.enroll-title { margin: 0; font-size: var(--fs-h4); font-weight: 700; font-family: var(--font-heading); color: var(--haiti); }
.enroll-slots .loading-text { color: rgba(42,35,79,.45); font-style: italic; }
.enroll-slots .no-slots { color: rgba(42,35,79,.5); padding: 14px 0; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }

.slot-btn {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 14px 12px; border-radius: 14px;
    background: rgba(0, 89, 156, .06); border: 1px solid rgba(0, 89, 156, .18);
    color: var(--haiti); cursor: pointer; font-family: inherit;
    transition: background .18s, border-color .18s, transform .12s, box-shadow .18s;
}

.slot-btn:hover {
    background: rgba(0, 89, 156, .13); border-color: rgba(0, 89, 156, .38);
    transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 89, 156, .14);
}

.slot-day { font-weight: 700; font-size: var(--fs-body); }
.slot-time { font-size: var(--fs-small); color: var(--butterfly); font-weight: 600; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 22px; border-radius: 14px;
    background: linear-gradient(135deg, var(--butterfly) 0%, #2a7bc0 100%);
    color: var(--alabaster); text-decoration: none; font-weight: 700;
    font-size: var(--fs-btn); font-family: var(--font-body);
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(0, 89, 156, .35);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 89, 156, .38);
    background: linear-gradient(135deg, #004482 0%, #1a6ab0 100%);
}

.btn.btn-ghost{ background: transparent; color: var(--butterfly); border-color: rgba(0, 89, 156, .35); box-shadow: none; }
.btn.btn-ghost:hover{ background: rgba(0, 89, 156, .09); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 89, 156, .18); }

/* ===== PREP GRID ===== */
.prep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: .9rem; }

.prep-item {
  position: relative; padding: 24px 20px 20px; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
  border: 1px solid rgba(0, 89, 156, .14);
  box-shadow: var(--shadow-1); overflow: hidden;
  transition: transform .20s ease, box-shadow .20s ease;
}

.prep-item::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--java), var(--butterfly));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.prep-item::after {
  content: ""; position: absolute; bottom: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 154, 200, .08), transparent 70%);
  pointer-events: none;
}

.prep-item:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0, 89, 156, .14); }

.prep-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 154, 200, .16), rgba(59, 154, 200, .06));
  display: flex; align-items: center; justify-content: center;
  color: #003060; margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(59, 154, 200, .15);
}

.prep-item h3 { margin: 0 0 8px; font-size: var(--fs-body-lg); font-weight: 700; color: var(--haiti); font-family: var(--font-heading); }
.prep-item p { margin: 0; color: #2a234f; opacity: .9; line-height: 1.65; font-size: var(--fs-body); max-width: none; }

/* ===== CERT SHOWCASE ===== */
.cert-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1rem 0 1.4rem; }
.cert-figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cert-figure figcaption { text-align: center; font-size: var(--fs-small); color: #4a447a; opacity: .85; margin-top: 0; }

.cert-mock {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 89, 156, .20), 0 2px 8px rgba(22, 16, 50, .08);
  border: 1px solid rgba(0, 89, 156, .15);
  transition: transform .22s ease, box-shadow .22s ease;
}

.cert-mock:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: 0 22px 56px rgba(0, 89, 156, .28); }
.cert-mock svg { display: block; width: 100%; height: auto; }

.cert-project-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 12px 40px rgba(13, 17, 23, .40);
  border: 1px solid rgba(59, 154, 200, .18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.cert-project-wrap:hover { transform: translateY(-4px) rotate(0.5deg); box-shadow: 0 22px 56px rgba(13, 17, 23, .50); }
.cert-project-wrap svg { display: block; width: 100%; height: auto; }

.cert-project-badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--java), #2a7aaa);
  color: white; font-size: 11px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(59, 154, 200, .40);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
    header.hero { padding: 48px 0 32px }
    .info-grid{ grid-template-columns: 1fr 1fr; }
    .student-grid{ grid-template-columns: 1fr; }
    .modules{ grid-template-columns: 1fr; }
    .hero-cta{ flex-direction: column; align-items: stretch; }
    .hero-watermark { width: 220px; height: 220px; right: 2%; opacity: 0.04; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .cert-showcase { grid-template-columns: 1fr; }
    .prep-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .prep-grid { grid-template-columns: 1fr; }
    .cert-showcase { grid-template-columns: 1fr; }
    .ts-card {
      grid-template-columns: 1fr;
      padding: 24px 18px 20px;
      text-align: center;
      gap: 16px;
    }
    .ts-text { text-align: center; }
}

@media (max-width: 560px) {
    .info-grid{ grid-template-columns: 1fr; }
    .slots-grid{ grid-template-columns: 1fr 1fr; }
    .hero-watermark { display: none; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce){
  .ts-track{ transition: none; }
  header.hero::before { animation: none; }
  .hero-watermark { animation: none; }
  .pill { transition: none; }
  .ts-card, .prep-item, .info-card, .student-card, .cert-mock, .cert-project-wrap { transition: none; }
}
