/* =====================================================================
   Snapkey | Industrial Training — Phase 1 Stylesheet
   Pure CSS3. No frameworks.
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --heading: "Outfit", Arial, sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;

  --yellow: #FFC928;
  --yellow-2: #FFD23F;
  --yellow-deep: #F2B90F;
  --yellow-soft: #FFF3C4;
  --dark: #111111;
  --near-black: #161616;
  --white: #FFFFFF;
  --cream: #FFF9EA;
  --cream-light: #FFFDF6;
  --border: #E8E8E8;
  --border-dark: #D9D9D9;
  --muted: #666666;
  --text: #2B2B2B;
  --accent-text: #9A6B00;
  --green: #16A34A;
  --whatsapp: #25D366;
  --youtube: #FF0000;
  --error: #DC2626;

  --container: min(1240px, calc(100% - 48px));
  --header-h: 76px;
  --header-h-compact: 64px;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(17, 17, 17, 0.04);
  --shadow-sm: 0 4px 14px rgba(17, 17, 17, 0.05);
  --shadow-md: 0 14px 34px rgba(17, 17, 17, 0.09);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open { overflow: hidden; }

figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  color: var(--dark);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.35vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.container { width: var(--container); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Utilities ---------- */
.section { padding-block: clamp(64px, 5rem + 1.6vw, 104px); }
.section--tight { padding-block: clamp(48px, 3rem + 1.4vw, 72px); }
.bg-cream { background: var(--cream); }
.bg-cream-light { background: var(--cream-light); }
.bg-white { background: var(--white); }
.bg-dark { background: var(--near-black); color: #D6D6D6; }
.bg-dark h2, .bg-dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--heading);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--yellow); }
.bg-dark .eyebrow { color: var(--yellow); }

.hl {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  padding: 0.02em 0.32em 0.06em;
  border-radius: 8px;
  line-height: 1.05;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lead { font-size: 1.0625rem; color: var(--muted); max-width: 60ch; }

.section-head { margin-bottom: clamp(36px, 4vw, 52px); }
.section-head p { color: var(--muted); font-size: 1.0625rem; max-width: 60ch; margin-top: 12px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center p { margin-inline: auto; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--heading); font-weight: 600; font-size: 0.9375rem; color: var(--dark);
  min-height: 44px; padding: 0 4px;
}
.link-arrow .bi { transition: transform 0.25s var(--ease); }
.link-arrow:hover .bi { transform: translateX(4px); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: var(--r-sm);
  font-family: var(--heading); font-weight: 600; font-size: 0.9625rem; letter-spacing: 0.005em;
  border: 1.5px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn .bi { font-size: 1.05em; transition: transform 0.25s var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); }

.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: #2A2A2A; border-color: #2A2A2A; }

.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-white { background: var(--white); color: var(--dark); border-color: var(--border-dark); }
.btn-white:hover { border-color: var(--dark); }

.btn-whatsapp { background: var(--whatsapp); color: var(--white); border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #1FB958; border-color: #1FB958; }

.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9rem; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.02);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(17, 17, 17, 0.06); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .header-inner { height: var(--header-h-compact); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; transition: width 0.3s var(--ease), height 0.3s var(--ease); }
.site-header.is-scrolled .brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; align-items: center; gap: 12px; line-height: 1; }
.brand-name { font-family: var(--heading); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--dark); }
.brand-divider { width: 1px; height: 22px; background: var(--border-dark); }
.brand-sub { font-family: var(--body); font-size: 0.8125rem; font-weight: 600; color: var(--muted); letter-spacing: 0.01em; }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 14px;
  font-family: var(--heading); font-weight: 600; font-size: 0.9375rem; color: var(--text);
  border-radius: 8px;
  transition: color 0.2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--yellow); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--dark); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { min-height: 46px; padding: 0 20px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border);
  font-size: 1.3rem; color: var(--dark);
}
.menu-toggle .bi-x-lg { display: none; }
.menu-toggle[aria-expanded="true"] .bi-list { display: none; }
.menu-toggle[aria-expanded="true"] .bi-x-lg { display: block; }

/* ---------- 6. Hero (Home) ---------- */
.hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 201, 40, 0.16), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(255, 201, 40, 0.14), transparent 30%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.86fr 0.92fr;
  grid-template-areas: "text visual form";
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  padding-top: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(40px, 5vw, 51px);
}
.hero-text { grid-area: text; }
.hero-visual { grid-area: visual; }
.hero-form { grid-area: form; }

.hero-text h1 { margin: 6px 0 20px; max-width: 12ch; }
.hero-text .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; max-width: 460px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--border); color: var(--dark);
  font-size: 1.1rem;
}
.trust-item strong { display: block; font-family: var(--heading); font-weight: 600; font-size: 0.9375rem; color: var(--dark); line-height: 1.2; }
.trust-item div span { font-size: 0.8125rem; color: var(--muted); }

/* Cutout figure: person on transparent PNG/WebP over a yellow arch */
.cutout {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  isolation: isolate;
}
.cutout::before {
  content: "";
  position: absolute; left: 6%; right: 6%; top: 14%; bottom: 0;
  background: var(--yellow);
  border-radius: 999px 999px 28px 28px;
  z-index: 0;
}
.cutout::after {
  content: "";
  position: absolute; left: 14%; right: 14%; bottom: -1px; height: 30%;
  background: linear-gradient(to top, var(--cream) 8%, rgba(255, 249, 234, 0));
  z-index: 2; pointer-events: none;
  opacity: 0;
}
.cutout img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 100%; width: auto; max-width: none;
  object-fit: contain; object-position: bottom center;
  z-index: 1;
  filter: drop-shadow(0 18px 24px rgba(17, 17, 17, 0.14));
}
.cutout-ring {
  position: absolute; z-index: 0;
  width: 84px; height: 84px; border-radius: 50%;
  border: 10px solid var(--white);
  right: -4%; top: 4%;
  opacity: 0.9;
}
.cutout-dots {
  position: absolute; z-index: 0;
  width: 92px; height: 92px; left: -4%; bottom: 14%;
  background-image: radial-gradient(var(--dark) 1.6px, transparent 1.7px);
  background-size: 12px 12px;
  opacity: 0.22;
}
.cutout-badge {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow-md);
  font-family: var(--heading); font-weight: 600; font-size: 0.875rem; color: var(--dark);
  white-space: nowrap;
}
.cutout-badge .bi { color: var(--green); font-size: 1.1rem; }
.cutout-badge small { display: block; font-family: var(--body); font-weight: 500; font-size: 0.75rem; color: var(--muted); }

.hero-visual { align-self: end; margin-bottom: calc(-1 * clamp(40px, 5vw, 64px)); }
.hero-visual .cutout { aspect-ratio: 3 / 4.5; width: auto; margin-inline: 36px 28px; }
.hero-visual .cutout::before { top: 12%; left: 4%; right: 4%; border-radius: 999px 999px 0 0; }
.hero-visual .cutout img { height: 112%; }
.hero-visual .cutout-badge { left: -8%; bottom: 18%; }
.hero-visual .cutout-ring { right: -6%; top: 6%; }
.hero-text .eyebrow { font-size: 0.72rem; letter-spacing: 0.06em; }

/* Hero form card */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-md);
}
.form-card h2, .form-card h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.form-card .form-sub { font-size: 0.875rem; color: var(--muted); margin: 6px 0 18px; }
.form-card .form-privacy {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--muted); margin-top: 12px;
}
.form-card .form-privacy .bi { color: var(--green); }

/* ---------- 7. Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.8375rem; font-weight: 600; color: var(--dark); }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px;
  padding: 0 14px;
  font-family: var(--body); font-size: 0.9375rem; color: var(--dark);
  background: var(--cream-light);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23111' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.field input::placeholder { color: #9A9A9A; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--dark); box-shadow: 0 0 0 3px rgba(255, 201, 40, 0.35);
}
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); background: #FFF7F7; }
.field .field-error { display: none; font-size: 0.78rem; color: var(--error); font-weight: 600; }
.field.is-invalid .field-error { display: block; }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }

.form-success {
  display: none;
  align-items: flex-start; gap: 12px;
  padding: 16px; border-radius: var(--r-sm);
  background: #F0FDF4; border: 1px solid #BBF7D0; color: #14532D;
  font-size: 0.9rem; line-height: 1.5;
}
.form-success .bi { font-size: 1.3rem; color: var(--green); flex: 0 0 auto; margin-top: 1px; }
.form-success.is-visible { display: flex; }
.form-success strong { display: block; font-family: var(--heading); font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.form-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--cream); border: 1px solid #F3E9C8;
  font-size: 0.84rem; color: #5B5B5B; margin-top: 8px;
}
.form-note .bi { color: var(--accent-text); font-size: 1.1rem; margin-top: 1px; }
.form-note .req { color: var(--error); }

/* ---------- 8. Cards (shared) ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--yellow); }
}

.icon-box {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--cream); border: 1px solid #F3E9C8;
  color: var(--dark); font-size: 1.5rem;
}
.icon-box img { width: 30px; height: 30px; object-fit: contain; }
.icon-box--yellow { background: var(--yellow); border-color: var(--yellow); }
.icon-box--dark { background: var(--dark); border-color: var(--dark); color: var(--yellow); }

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9625rem; color: var(--text); }
.check-list .bi { color: var(--yellow-deep); font-size: 1.15rem; line-height: 1.5; flex: 0 0 auto; }
.check-list--dark .bi { color: var(--yellow); }

.tag {
  display: inline-flex; align-items: center;
  padding: 5px 11px; border-radius: 8px;
  background: #F4F4F4; border: 1px solid #ECECEC;
  font-size: 0.78rem; font-weight: 600; color: #3D3D3D;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 9. Programs ---------- */
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; cursor: pointer; }
.program-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.program-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.program-card h3 { font-size: 1.2rem; margin-top: 2px; }
.program-card .program-tech { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.program-meta { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--muted); font-weight: 600; }
.program-meta .bi { color: var(--accent-text); }
.program-card .card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
  background: var(--cream); color: var(--accent-text); border: 1px solid #F3E9C8;
}

/* ---------- 10. Lead trainer ---------- */
.trainer-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.18fr 0.9fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: center;
}
.trainer-figure .cutout { aspect-ratio: 3 / 4.1; width: auto; margin-inline: 40px 24px; }
.trainer-figure .cutout::before { top: 12%; left: 4%; right: 4%; }
.trainer-figure .cutout-badge { left: -6%; right: auto; bottom: 6%; }
.trainer-figure .cutout-ring { right: auto; left: -6%; top: 6%; }
.trainer-figure .cutout-dots { left: auto; right: -6%; bottom: 10%; }
.trainer-figure .cutout img { height: 116%; }
.trainer-content h2 { margin-bottom: 18px; }
.trainer-content .lead { margin-bottom: 26px; max-width: 54ch; }
.trainer-quote { display: flex; align-items: flex-start; gap: 16px; }
.trainer-quote .quote-mark { color: var(--yellow); font-size: 2.6rem; line-height: 0.8; margin-top: 4px; }
.script {
  font-family: var(--script);
  font-weight: 600;
  font-size: clamp(1.85rem, 1.4rem + 1.2vw, 2.5rem);
  line-height: 1.05;
  color: var(--dark);
  transform: rotate(-3deg);
  display: inline-block;
  position: relative;
}
.script .script-line { display: block; }
.script .script-line:nth-child(2) { padding-left: 1.4em; }
.script-underline { display: block; width: 130px; height: 10px; margin-top: 6px; margin-left: 1.5em; }
.trainer-quote .author { font-size: 0.875rem; color: var(--muted); margin-top: 12px; font-weight: 600; }

.benefit-card { padding: 28px; }
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.benefit-card h3 .bi { color: var(--accent-text); }
.benefit-card .check-list li { font-weight: 600; color: var(--dark); font-size: 0.95rem; }
.benefit-card .check-list li .bi { font-size: 1.25rem; }
.benefit-card .card-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ---------- 11. Why choose us ---------- */
.why-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
.why-content h2 { margin-bottom: 28px; max-width: 20ch; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(4, auto); gap: 16px 24px; }
.why-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--dark); font-size: 0.95rem; }
.why-list .why-ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow); display: grid; place-items: center;
  color: var(--dark); font-size: 1rem;
}
.why-visual { position: relative; }
.why-visual .photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--border);
}
.why-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.why-words {
  position: absolute; right: -14px; bottom: -22px;
  background: var(--yellow);
  border-radius: var(--r-lg);
  padding: 22px 26px 24px;
  box-shadow: var(--shadow-md);
  font-family: var(--heading); font-weight: 700; font-size: 1.35rem; line-height: 1.22; color: var(--dark);
  letter-spacing: -0.01em;
}
.why-words span { display: block; }
.why-words::after { content: ""; display: block; width: 44px; height: 4px; background: var(--dark); border-radius: 2px; margin-top: 12px; }
.why-tag {
  position: absolute; left: -14px; top: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 14px; box-shadow: var(--shadow-md);
  font-family: var(--heading); font-weight: 600; font-size: 0.875rem; color: var(--dark);
}
.why-tag .bi { color: var(--green); }

/* ---------- 12. How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.step {
  position: relative; padding: 28px 26px 26px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
@media (hover: hover) { .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--yellow); } }
.step-num {
  display: block;
  font-family: var(--heading); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.1em;
  color: var(--accent-text); margin-bottom: 16px;
}
.step .icon-box { margin-bottom: 18px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }
.step-arrow {
  position: absolute; top: 44px; right: -22px; z-index: 2;
  width: 22px; display: flex; justify-content: center;
  color: #B9B9B9; font-size: 1.1rem;
}
.step:last-child .step-arrow { display: none; }

/* ---------- 13. Tech stack ---------- */
.tech-wrap {
  display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 34px;
}
.tech-wrap h2 { font-size: 1.45rem; }
.tech-wrap .eyebrow { margin-bottom: 8px; }
.tech-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 10px; }
.tech-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 12px 4px; border-radius: 12px;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tech-item img { width: 36px; height: 36px; object-fit: contain; }
.tech-item span { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-align: center; white-space: nowrap; }
@media (hover: hover) { .tech-item:hover { background: var(--cream); transform: translateY(-3px); } }

/* ---------- 14. Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.project-card { overflow: hidden; display: flex; flex-direction: column; }
.project-card .project-img { aspect-ratio: 4 / 3; overflow: hidden; background: #F4F4F4; }
.project-card .project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
@media (hover: hover) { .project-card:hover .project-img img { transform: scale(1.04); } }
.project-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project-body h3 { font-size: 1.1rem; }
.project-body p { font-size: 0.9rem; color: var(--muted); }
.project-body .tag-row { margin-top: auto; padding-top: 6px; }

/* ---------- 15. Numbers ---------- */
.stats-section { position: relative; overflow: hidden; }
.stats-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255, 201, 40, 0.12), transparent 34%);
  pointer-events: none;
}
.stats-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 44px; position: relative; }
.stats-head p { color: #A8A8A8; max-width: 46ch; font-size: 1rem; justify-self: end; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.stat {
  padding: 28px 26px;
  background: #1E1E1E; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-md);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
@media (hover: hover) { .stat:hover { border-color: rgba(255, 201, 40, 0.5); transform: translateY(-4px); } }
.stat .icon-box { background: rgba(255, 201, 40, 0.1); border-color: rgba(255, 201, 40, 0.25); color: var(--yellow); margin-bottom: 22px; }
.stat-value { font-family: var(--heading); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); color: var(--white); letter-spacing: -0.02em; line-height: 1; }
.stat-value sup { font-size: 0.5em; color: var(--yellow); vertical-align: top; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 0.9rem; color: #A8A8A8; font-weight: 600; }

/* ---------- 16. Curriculum & certificate ---------- */
.curr-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.curr-grid .section-head { margin-bottom: 28px; }

.accordion { display: grid; gap: 10px; }
.acc-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.acc-item.is-open { border-color: var(--yellow); box-shadow: var(--shadow-sm); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; text-align: left;
  font-family: var(--heading); font-weight: 600; font-size: 1rem; color: var(--dark);
  min-height: 56px;
}
.acc-trigger .acc-num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--cream); color: var(--accent-text);
  font-size: 0.8125rem; font-weight: 700; border: 1px solid #F3E9C8;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.acc-item.is-open .acc-num { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.acc-trigger .acc-title { flex: 1; }
.acc-trigger .acc-icon {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--dark);
  font-size: 0.85rem; transition: transform 0.3s var(--ease), background-color 0.25s;
}
.acc-item.is-open .acc-icon { transform: rotate(180deg); background: var(--cream); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.38s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-content { padding: 0 20px 20px 70px; color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }
.acc-content .tag-row { margin-top: 12px; }

.cert-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; }
.cert-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.cert-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.cert-preview-wrap { padding: 22px; background: var(--cream); border-radius: var(--r-md); margin-bottom: 24px; }
.cert-card .check-list { margin-bottom: 24px; }
.cert-card .check-list li { font-weight: 600; color: var(--dark); }

/* CSS-built certificate */
.certificate {
  position: relative;
  aspect-ratio: 1.414;
  background: var(--white);
  border: 1px solid #E6DDBF;
  border-radius: 6px;
  padding: 6.5% 7% 6%;
  box-shadow: 0 18px 40px rgba(60, 40, 0, 0.12);
  font-family: var(--body);
  color: var(--dark);
  overflow: hidden;
  container-type: inline-size;
}
.certificate::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2.4%; background: var(--yellow); }
.certificate::after { content: ""; position: absolute; inset: 3.2% 3.6% 3.2% 5.6%; border: 1px solid #EFE7CB; pointer-events: none; }
.cert-inner { position: relative; height: 100%; display: flex; flex-direction: column; }
.cert-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cert-brand { display: flex; align-items: center; gap: 4cqw; }
.cert-brand svg { width: 6cqw; height: 6cqw; }
.cert-brand strong { font-family: var(--heading); font-size: 3.2cqw; font-weight: 700; display: block; line-height: 1; }
.cert-brand small { font-size: 1.9cqw; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }
.cert-id { font-size: 1.8cqw; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-align: right; }
.cert-title { margin-top: 5.5cqw; font-family: var(--heading); font-size: 2.1cqw; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent-text); font-weight: 700; }
.cert-heading { font-family: var(--heading); font-size: 5.6cqw; font-weight: 700; letter-spacing: -0.02em; margin-top: 0.6cqw; line-height: 1; }
.cert-text { margin-top: 3cqw; font-size: 2cqw; color: var(--muted); }
.cert-name { margin-top: 1.4cqw; font-family: var(--script); font-size: 6.2cqw; font-weight: 600; color: var(--dark); line-height: 1; }
.cert-course { margin-top: 1.2cqw; font-size: 2.1cqw; color: var(--text); }
.cert-course strong { font-family: var(--heading); font-weight: 600; }
.cert-bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 4cqw; }
.cert-sign { font-size: 1.9cqw; color: var(--muted); }
.cert-sign .sign-line { display: block; width: 26cqw; height: 1px; background: var(--dark); margin-bottom: 1.2cqw; }
.cert-sign strong { display: block; font-family: var(--heading); font-weight: 600; color: var(--dark); font-size: 2.1cqw; }
.cert-seal {
  width: 15cqw; height: 15cqw; border-radius: 50%;
  border: 0.9cqw solid var(--yellow);
  display: grid; place-items: center;
  color: var(--dark); font-size: 6cqw;
  background: var(--cream);
  position: relative;
}
.cert-seal::after { content: ""; position: absolute; inset: 1.4cqw; border: 1px dashed var(--accent-text); border-radius: 50%; }
.cert-qr {
  width: 9cqw; height: 9cqw; border-radius: 4px;
  background-image:
    linear-gradient(90deg, var(--dark) 50%, transparent 50%),
    linear-gradient(var(--dark) 50%, transparent 50%);
  background-size: 22% 22%;
  background-blend-mode: difference;
  opacity: 0.85;
  border: 0.6cqw solid var(--white);
  outline: 1px solid var(--border);
}

/* ---------- 17. Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.testi-card { padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.testi-head { display: flex; align-items: center; gap: 14px; }
.testi-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--yellow); }
.testi-head strong { display: block; font-family: var(--heading); font-weight: 600; color: var(--dark); font-size: 1rem; }
.testi-head span { font-size: 0.82rem; color: var(--muted); }
.testi-card blockquote { margin: 0; font-size: 0.975rem; color: var(--text); line-height: 1.7; }
.stars { display: flex; gap: 3px; color: var(--yellow-deep); font-size: 0.9rem; margin-top: auto; }
.testi-card .quote-mark { position: absolute; }
.testi-card { position: relative; }
.testi-card .testi-quote-icon { position: absolute; right: 26px; top: 26px; color: var(--yellow); font-size: 2rem; opacity: 0.9; line-height: 1; }

/* ---------- 18. College students ---------- */
.college-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 4vw, 64px); align-items: center;
}
.college-wrap h2 { margin-bottom: 14px; }
.college-wrap .lead { margin-bottom: 26px; }
.college-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.college-card { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.college-card .icon-box { width: 46px; height: 46px; border-radius: 12px; font-size: 1.2rem; }
.college-card strong { font-family: var(--heading); font-weight: 600; color: var(--dark); font-size: 1.02rem; }
.college-card span { font-size: 0.82rem; color: var(--muted); }

/* ---------- 19. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.faq-side .section-head { margin-bottom: 24px; }
.faq-side .help-card {
  padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  display: flex; gap: 16px; align-items: flex-start;
}
.faq-side .help-card .icon-box { width: 48px; height: 48px; border-radius: 12px; font-size: 1.3rem; flex: 0 0 auto; }
.faq-side .help-card strong { display: block; font-family: var(--heading); font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.faq-side .help-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
.faq .acc-trigger { padding: 18px 22px; }
.faq .acc-content { padding: 0 22px 20px 22px; }

/* ---------- 20. Final CTA ---------- */
.cta-section { padding-block: clamp(56px, 6vw, 88px); background: var(--cream); }
.cta-box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 32px;
  background: var(--yellow);
  border-radius: var(--r-xl);
  padding: 0 0 0 clamp(28px, 4vw, 64px);
}
.cta-box::before {
  content: ""; position: absolute; right: -8%; top: -30%; width: 46%; aspect-ratio: 1;
  border-radius: 50%; background: rgba(255, 255, 255, 0.28); pointer-events: none;
}
.cta-content { position: relative; padding: clamp(40px, 4.5vw, 64px) 0; }
.cta-content h2 { margin-bottom: 26px; max-width: 18ch; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); }
.cta-content .btn-white { background: var(--white); border-color: var(--white); }
.cta-content .btn-white:hover { background: var(--cream-light); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-figure { position: relative; align-self: end; height: 100%; min-height: 320px; }
.cta-figure img {
  position: absolute; bottom: 0; right: clamp(16px, 4vw, 56px);
  height: 108%; max-height: 440px; width: auto; max-width: 100%;
  object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 18px 28px rgba(80, 55, 0, 0.22));
}

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--near-black); color: #B9B9B9; padding-top: clamp(56px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand .brand-name, .footer-brand .brand-sub { color: var(--white); }
.footer-brand .brand-sub { color: #B9B9B9; }
.footer-brand .brand-divider { background: rgba(255, 255, 255, 0.25); }
.footer-brand p { margin-top: 18px; font-size: 0.925rem; max-width: 34ch; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white); font-size: 1.05rem;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.footer-social a:hover { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.footer-col h4 { color: var(--yellow); font-size: 0.95rem; font-weight: 600; margin-bottom: 18px; letter-spacing: 0.01em; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 0.925rem; color: #B9B9B9; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact .bi { color: var(--yellow); font-size: 1.05rem; margin-top: 2px; }
.footer-contact small { display: block; font-size: 0.78rem; color: #8B8B8B; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 26px; font-size: 0.84rem; color: #8B8B8B; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { color: #B9B9B9; }
.footer-bottom a:hover { color: var(--white); }
.made-in .bi { color: var(--yellow); }

/* ---------- 22. Floating action bar ---------- */
.fab-bar {
  position: fixed; right: 20px; top: 58%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
  z-index: 90;
}
.fab {
  position: relative;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--white); color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.1);
  font-size: 1.2rem;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
}
.fab:hover { transform: translateX(-3px); }
.fab--email:hover { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }
.fab--whatsapp:hover { background: var(--whatsapp); border-color: var(--whatsapp); color: var(--white); }
.fab--youtube:hover { background: var(--youtube); border-color: var(--youtube); color: var(--white); }
.fab--top { background: var(--dark); color: var(--yellow); border-color: var(--dark); }
.fab--top:hover { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.fab--top { opacity: 0; visibility: hidden; transform: translateY(8px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab--top.is-visible:hover { transform: translateX(-3px); }
.fab .fab-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--dark); color: var(--white);
  font-family: var(--heading); font-size: 0.78rem; font-weight: 600;
  padding: 6px 10px; border-radius: 8px; white-space: nowrap;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.fab .fab-tip::after { content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: var(--dark); }
@media (hover: hover) and (pointer: fine) {
  .fab:hover .fab-tip, .fab:focus-visible .fab-tip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
}

/* ---------- 23. Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.6); backdrop-filter: blur(4px); }
.modal-dialog {
  position: relative; width: 100%; max-width: 520px;
  background: var(--white); border-radius: var(--r-lg);
  padding: 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  animation: modal-in 0.35s var(--ease);
}
.modal-dialog--wide { max-width: 760px; }
.modal-close {
  position: absolute; right: 14px; top: 14px;
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; font-size: 1.1rem;
  border: 1px solid var(--border); background: var(--white);
}
.modal-close:hover { background: var(--cream); }
.modal-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--yellow); color: var(--dark); font-size: 1.7rem; margin-bottom: 18px; }
.modal-dialog h3 { font-size: 1.45rem; margin-bottom: 10px; }
.modal-dialog p { color: var(--muted); font-size: 0.975rem; }
.modal-summary { margin: 20px 0; padding: 16px 18px; background: var(--cream); border-radius: var(--r-sm); border: 1px solid #F3E9C8; display: grid; gap: 6px; font-size: 0.925rem; }
.modal-summary div { display: flex; justify-content: space-between; gap: 12px; }
.modal-summary strong { font-family: var(--heading); font-weight: 600; color: var(--dark); }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- 24. Pricing page ---------- */
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-family: var(--heading); }
.breadcrumb a:hover { color: var(--dark); }
.breadcrumb .bi { font-size: 0.7rem; }
.breadcrumb span { color: var(--dark); }

.pricing-hero { position: relative; background: var(--cream); overflow: hidden; }
.pricing-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 201, 40, 0.16), transparent 30%);
  pointer-events: none;
}
.pricing-hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 4vw, 64px); align-items: center;
  padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(48px, 5vw, 72px);
}
.pricing-hero-text h1 { margin: 6px 0 20px; max-width: 13ch; }
.pricing-hero-text .lead { margin-bottom: 30px; }
.pricing-hero-text .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }

.pricing-hero-visual { position: relative; }
.pricing-hero-visual .photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  border: 1px solid #F0E6C4;
  box-shadow: var(--shadow-md);
}
.pricing-hero-visual .photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.0), transparent 40%);
}
.pricing-hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pricing-hero-visual .photo-frame {
  position: absolute; left: -14px; top: 24px; width: 56%; height: 70%;
  border: 2px solid var(--yellow); border-radius: var(--r-xl); z-index: -1;
}
.pricing-hero-visual .quote-card {
  position: absolute; left: -18px; bottom: -26px; z-index: 2;
  width: min(360px, 82%);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px 24px 20px;
  box-shadow: var(--shadow-md);
}
.quote-card .quote-mark { color: var(--yellow); font-size: 2.2rem; line-height: 0.8; margin-bottom: 6px; }
.quote-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.quote-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }
.quote-card .script { font-size: 1.6rem; margin-top: 12px; transform: rotate(-2deg); }
.quote-card .script .script-line:nth-child(2) { padding-left: 1.2em; }
.quote-card .script-underline { width: 96px; height: 8px; margin-top: 2px; margin-left: 1.3em; }
.quote-card .author { font-size: 0.78rem; color: var(--muted); margin-top: 8px; font-weight: 600; }

.step-title { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.step-title .num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--dark);
  font-family: var(--heading); font-weight: 700; font-size: 1.1rem;
}
.step-title h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.step-sub { color: var(--muted); font-size: 1rem; margin-left: 60px; margin-bottom: 32px; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.plan-card {
  position: relative; text-align: left; width: 100%;
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-md);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease), background-color 0.28s var(--ease);
  min-height: 44px;
}
@media (hover: hover) { .plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-dark); } }
.plan-card[aria-checked="true"] { border-color: var(--dark); background: var(--cream-light); box-shadow: 0 0 0 3px rgba(255, 201, 40, 0.35), var(--shadow-sm); }
.plan-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plan-radio {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--border-dark); display: grid; place-items: center;
  color: var(--dark); font-size: 0.8rem; transition: all 0.25s var(--ease);
}
.plan-radio .bi { opacity: 0; transform: scale(0.6); transition: all 0.25s var(--ease); }
.plan-card[aria-checked="true"] .plan-radio { background: var(--yellow); border-color: var(--yellow); }
.plan-card[aria-checked="true"] .plan-radio .bi { opacity: 1; transform: scale(1); }
.plan-card h3 { font-size: 1.15rem; }
.plan-card .plan-tech { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }
.plan-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font-family: var(--heading); font-weight: 700; font-size: 1.6rem; color: var(--dark); letter-spacing: -0.02em; }
.plan-price span { font-size: 0.875rem; color: var(--muted); font-weight: 600; }
@keyframes planNudge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 201, 40, 0); }
  35% { box-shadow: 0 0 0 4px rgba(255, 201, 40, 0.55); border-color: var(--yellow); }
}
.plan-grid.needs-selection .plan-card { animation: planNudge 1.4s ease 0.25s 1; }
@media (prefers-reduced-motion: reduce) { .plan-grid.needs-selection .plan-card { animation: none; border-color: var(--yellow); } }
.plan-badge { position: absolute; top: -12px; right: 20px; background: var(--dark); color: var(--yellow); font-family: var(--heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; padding: 5px 10px; border-radius: 999px; text-transform: uppercase; }

.enroll-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.details-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; }
.details-card .step-title { margin-bottom: 4px; }
.details-card .step-sub { margin-bottom: 26px; }
.details-card .form-row { gap: 0 20px; }
.enroll-main { display: grid; gap: 22px; }
.summary-col { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; }
.summary-card .step-title { margin-bottom: 22px; }
.summary-course { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--cream); border: 1px solid #F3E9C8; border-radius: var(--r-md); margin-bottom: 18px; }
.summary-course .icon-box { width: 50px; height: 50px; border-radius: 12px; background: var(--white); flex: 0 0 auto; }
.summary-course strong { display: block; font-family: var(--heading); font-weight: 600; color: var(--dark); font-size: 1.05rem; }
.summary-course span { font-size: 0.84rem; color: var(--muted); }
.summary-rows { display: grid; gap: 0; border-top: 1px solid var(--border); }
.summary-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.925rem; }
.summary-rows > div span { color: var(--muted); }
.summary-rows > div strong { font-family: var(--heading); font-weight: 600; color: var(--dark); text-align: right; }
.summary-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px 0 22px; }
.summary-total span { font-size: 0.925rem; color: var(--muted); font-weight: 600; }
.summary-total .amount { font-family: var(--heading); font-weight: 700; font-size: 2.2rem; letter-spacing: -0.02em; color: var(--dark); line-height: 1; }
.summary-total .amount small { font-family: var(--body); font-size: 0.95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.summary-secure { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.summary-secure .bi { color: var(--green); margin-right: 4px; }
.summary-secure li { display: inline-flex; align-items: center; }
.monthly-card { background: var(--dark); color: #D6D6D6; border-radius: var(--r-lg); padding: 30px; }
.monthly-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.monthly-card h3 .bi { color: var(--yellow); }
.monthly-card .check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.monthly-card .check-list li { color: #D6D6D6; font-size: 0.925rem; }

.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust-strip-item { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); }
.trust-strip-item .icon-box { width: 48px; height: 48px; border-radius: 12px; font-size: 1.25rem; flex: 0 0 auto; }
.trust-strip-item strong { display: block; font-family: var(--heading); font-weight: 600; color: var(--dark); font-size: 0.975rem; }
.trust-strip-item span { font-size: 0.82rem; color: var(--muted); }

.support-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.support-card {
  position: relative; overflow: hidden;
  background: var(--cream); border: 1px solid #F0E6C4; border-radius: var(--r-lg);
  display: grid; grid-template-columns: 1fr 0.8fr; align-items: end; gap: 16px;
  min-height: 420px;
}
.support-card::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); opacity: 0.85; }
.support-content { position: relative; padding: 32px 0 32px 32px; align-self: center; }
.support-content .eyebrow { margin-bottom: 10px; }
.support-content h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin-bottom: 12px; }
.support-content p { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.support-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.support-figure { position: relative; height: 100%; min-height: 320px; }
.support-figure img { position: absolute; bottom: 0; right: 0; height: 100%; width: 100%; object-fit: contain; object-position: bottom right; filter: drop-shadow(0 14px 22px rgba(80, 55, 0, 0.18)); }
.support-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.support-meta .trust-strip-item { padding: 16px 18px; }

/* ---------- 25. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.is-in > *:nth-child(n+7) { transition-delay: 460ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- 26. Responsive ---------- */
@media (max-width: 1280px) {
  .tech-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .tech-wrap { grid-template-columns: 260px 1fr; }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas: "text visual" "form form";
    row-gap: 40px;
  }
  .hero-visual { margin-bottom: 0; }
  .hero-visual .cutout { aspect-ratio: 3 / 3.4; }
  .hero-visual .cutout::before { border-radius: 999px 999px 28px 28px; }
  .hero-form .form-card { padding: 30px; }
  .hero-form .field-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .hero-form .field-group .field--full { grid-column: 1 / -1; }

  .trainer-grid { grid-template-columns: 0.9fr 1.1fr; }
  .trainer-grid .benefit-card { grid-column: 1 / -1; }
  .trainer-grid .benefit-card .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-arrow { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-wrap { grid-template-columns: 1fr; gap: 20px; }
  .tech-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .college-wrap { grid-template-columns: 1fr; }
  .college-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-hero-grid { grid-template-columns: 1fr 0.9fr; }
  .enroll-grid { grid-template-columns: 1fr; }
  .summary-col { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .support-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --container: min(1240px, calc(100% - 48px)); }
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    display: none; flex-direction: column; gap: 6px;
    box-shadow: 0 20px 40px rgba(17, 17, 17, 0.1);
    z-index: 99;
  }
  .site-header.is-scrolled .mobile-nav { top: var(--header-h-compact); }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav .nav-link { min-height: 48px; font-size: 1.05rem; padding: 0 12px; }
  .mobile-nav .btn { margin-top: 10px; }

  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .why-words { right: 12px; bottom: -18px; }
  .why-tag { left: 12px; }
  .curr-grid { grid-template-columns: 1fr; }
  .cert-card { max-width: 640px; }
  .testi-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .stats-head { grid-template-columns: 1fr; }
  .stats-head p { justify-self: start; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-hero-grid { grid-template-columns: 1fr; }
  .pricing-hero-visual { max-width: 620px; margin-inline: auto; width: 100%; margin-top: 12px; }
  .pricing-hero-visual .quote-card { left: 12px; bottom: -22px; }
  .pricing-hero-visual .photo-frame { display: none; }
  .pricing-hero-grid { padding-bottom: 72px; }
}

@media (min-width: 961px) { .mobile-nav { display: none !important; } }

@media (max-width: 768px) {
  :root { --container: min(1240px, calc(100% - 40px)); --header-h: 70px; --header-h-compact: 62px; }
  .section { padding-block: clamp(56px, 10vw, 72px); }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "visual" "form"; row-gap: 34px; padding-top: 36px; }
  .hero-text h1 { max-width: none; }
  .hero-visual { max-width: 420px; width: 100%; margin-inline: auto; margin-top: 30px; } /* room for the head overshoot above the shape */
  .hero-visual .cutout, .trainer-figure .cutout { margin-inline: 0; }
  .hero-visual .cutout-ring { right: 0; }
  .trainer-figure .cutout-dots { right: 0; }
  .trainer-figure .cutout-ring, .trainer-figure .cutout-badge, .hero-visual .cutout-badge { left: 0; }
  .hero-visual .cutout { aspect-ratio: 4 / 4.2; }
  .hero-form .form-card { padding: 26px 22px; }
  .hero-form .field-group { grid-template-columns: 1fr; }
  .trainer-grid { grid-template-columns: 1fr; }
  .trainer-figure { max-width: 400px; width: 100%; margin-inline: auto; }
  .trainer-grid .benefit-card .check-list { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .steps { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .tech-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .college-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-box { grid-template-columns: 1fr; padding: 0 clamp(24px, 6vw, 40px); text-align: left; }
  .cta-figure { min-height: 300px; height: 300px; }
  .cta-figure img { right: 50%; transform: translateX(50%); height: 100%; max-height: 320px; }
  .cta-content { padding-bottom: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .summary-col { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .support-card { grid-template-columns: 1fr; min-height: 0; }
  .support-content { padding: 30px 26px 0; }
  .support-figure { min-height: 260px; height: 260px; }
  .support-figure img { right: 50%; transform: translateX(50%); }
  .support-meta { grid-template-columns: 1fr; }
  .details-card, .summary-card, .monthly-card { padding: 24px 22px; }
  .monthly-card .check-list { grid-template-columns: 1fr; }
  .step-sub { margin-left: 0; }
  .fab-bar { right: 12px; top: auto; bottom: 88px; transform: none; gap: 8px; }
  .fab { width: 44px; height: 44px; border-radius: 12px; font-size: 1.1rem; }
  .modal-dialog { padding: 26px 22px; }
}

@media (max-width: 480px) {
  :root { --container: min(1240px, calc(100% - 36px)); }
  .hero-text h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .hero-actions .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px 12px; }
  .trust-item div span { display: none; }
  .hero-text .eyebrow { font-size: 0.66rem; letter-spacing: 0.04em; }
  .program-grid { grid-template-columns: 1fr; }
  .college-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tech-wrap { padding: 24px 20px; }
  .why-words { position: static; margin: 16px 0 0; display: inline-block; }
  .why-tag { display: none; }
  .cta-actions .btn { width: 100%; }
  .support-actions { width: 100%; }
  .support-actions .btn { width: 100%; }
  .footer-bottom nav { flex-wrap: wrap; gap: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 22px 18px; }
  .stat .icon-box { width: 44px; height: 44px; font-size: 1.15rem; margin-bottom: 16px; }
  .step-title .num { width: 38px; height: 38px; font-size: 1rem; }
  .pricing-hero-text h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); max-width: none; }
  .pricing-hero-visual .quote-card { position: static; width: 100%; margin-top: 16px; }
  .pricing-hero-grid { padding-bottom: 48px; }
}

/* ---------- 27. Reveal delay utilities + small additions ---------- */
.reveal-d1 { --d: 110ms; }
.reveal-d2 { --d: 220ms; }
.cta-section .eyebrow { color: #5B4300; }
.cta-section .eyebrow::before { background: var(--dark); }
.modal-cert { margin-top: 18px; margin-bottom: 0; }
