/* =========================================================
   SkillOceans – styles.css (plain HTML version)
   Palette: white · royal blue · navy · light blue · orange
   ========================================================= */
:root {
  --blue: #1546c9;
  --blue-600: #1a56e0;
  --blue-500: #2b6cf0;
  --blue-50: #eef4ff;
  --blue-100: #dde8ff;
  --navy: #0d2463;
  --navy-900: #071739;
  --navy-800: #0b1f4e;
  --orange: #f7841f;
  --orange-600: #e86d06;
  --wa: #25d366;
  --ink: #111c3a;
  --text: #3d4766;
  --muted: #6b7493;
  --line: #e3e8f4;
  --white: #fff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(13, 36, 99, 0.06);
  --shadow: 0 8px 28px rgba(13, 36, 99, 0.1);
  --shadow-lg: 0 18px 50px rgba(13, 36, 99, 0.18);
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
code { font-size: 0.85em; background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; }

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

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.text-blue { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-wa { color: var(--wa); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.2;
  text-align: center; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .75; cursor: progress; transform: none; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--orange { background: linear-gradient(180deg, #ff9532, var(--orange-600)); color: #fff; box-shadow: 0 6px 16px rgba(247, 132, 31, .35); }
.btn--orange:hover { color: #fff; background: linear-gradient(180deg, var(--orange), #d55f00); box-shadow: 0 8px 22px rgba(247, 132, 31, .45); }
.btn--blue { background: linear-gradient(180deg, var(--blue-500), var(--blue)); color: #fff; }
.btn--blue:hover { color: #fff; background: var(--navy); }
.btn--outline { background: #fff; border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue-50); color: var(--blue); }
.btn--ghost { background: #fff; border: 1.5px solid var(--blue); color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: #1fb956; color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { color: var(--navy); box-shadow: 0 8px 22px rgba(0,0,0,.2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.eyebrow::after { content: ''; width: 56px; height: 2px; background: var(--blue); opacity: .6; }

.section { padding: clamp(48px, 6vw, 72px) 0; }
.section-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--navy); }
.section-title--xl { font-size: clamp(26px, 3.2vw, 36px); }
.section-sub { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.disclaimer { font-size: 12.5px; color: var(--muted); margin-top: 16px; font-style: italic; }

.checklist li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--text); line-height: 1.45; }
.checklist li + li { margin-top: 6px; }
.checklist svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.checklist--lg li { font-size: 15px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  /* no backdrop-filter: it would make the fixed mobile nav position relative to the header */
  background: #fff;
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.header--scrolled { box-shadow: 0 4px 20px rgba(13,36,99,.08); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); max-width: 1440px; }
.header__brand { flex-shrink: 0; }
.logo--header { height: 42px; width: auto; }
.logo--footer { width: 220px; height: auto; background: #fff; padding: 8px 12px; border-radius: 10px; box-sizing: content-box; }
.nav { flex: 1; padding: 0 26px 0 30px; } /* breathing room: logo ↔ Home, Contact ↔ call button */
.nav__list { display: flex; justify-content: space-between; gap: clamp(10px, 1.2vw, 18px); }
.nav__link { display: block; padding: 8px 0; font-family: var(--font-head); font-size: 13.5px; font-weight: 500; color: var(--ink); position: relative; white-space: nowrap; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__mobile-cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1.5px solid var(--blue); border-radius: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy);
}
.header__phone svg { color: var(--blue); }
.header__phone:hover { background: var(--blue-50); }
.header__wa { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wa); color: #fff; }
.header__wa:hover { color: #fff; transform: scale(1.06); }
.header__toggle { display: none; background: none; border: 0; color: var(--navy); padding: 6px; border-radius: 8px; }
.nav-scrim { display: none; }

/* Phone shows as an icon button in the header (number is in the mobile menu, forms and footer) */
.header__phone span { display: none; }
.header__phone { padding: 9px; border-radius: 50%; }
@media (max-width: 1380px) {
  .header__toggle { display: inline-grid; place-items: center; }
  .header__book, .header__phone { display: none; }
  .header__actions { margin-left: auto; }
  .nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(340px, 88vw);
    background: #fff; box-shadow: var(--shadow-lg); padding: 18px 22px 28px; overflow-y: auto;
    transform: translateX(105%); transition: transform .3s ease; visibility: hidden; z-index: 101;
  }
  .nav--open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__mobile-cta { display: grid; gap: 10px; margin-top: 22px; }
  .nav-scrim { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(7, 23, 57, .4); z-index: 99; }
}
@media (max-width: 520px) {
  :root { --header-h: 66px; }
  .logo--header { height: 38px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero__visual { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; }
.hero__render, .hero__sketch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
/* 2D "line drawing" version of the same room, fading into the render */
.hero__sketch {
  filter: grayscale(1) contrast(1.9) brightness(1.35) sepia(.25) hue-rotate(180deg) saturate(1.4);
  mix-blend-mode: normal; opacity: .95;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 22%, transparent 48%);
          mask-image: linear-gradient(90deg, #000 0%, #000 22%, transparent 48%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(21,70,201,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,70,201,.13) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 18%, transparent 44%);
          mask-image: linear-gradient(90deg, #000 0%, #000 18%, transparent 44%);
}
.hero__fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #fff 30%, rgba(255,255,255,.88) 40%, rgba(255,255,255,.25) 52%, transparent 62%),
    linear-gradient(0deg, rgba(255,255,255,.9), transparent 18%);
}
.hero__note { position: absolute; z-index: 1; font-family: 'Caveat', cursive; font-size: 30px; line-height: .95; color: var(--navy); transform: rotate(-12deg); }
.hero__note--from { left: 12%; top: 8%; }
.hero__note--to { left: 37%; top: 7%; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.45); transform: rotate(-14deg); }
.hero__arrow { position: absolute; z-index: 1; width: 44px; height: 60px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }
.hero__arrow--from { left: 21%; top: 21%; }
.hero__arrow--to { left: 35%; top: 19%; stroke: #fff; }

.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; padding-top: 34px; padding-bottom: 40px; max-width: 1320px; }
.hero__content { max-width: 600px; }
.hero__title { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.08; }
.hero__title .text-blue { color: var(--blue); display: block; }
.hero__sub { font-family: var(--font-head); font-weight: 600; font-size: clamp(17px, 1.8vw, 21px); color: var(--ink); margin-top: 12px; }
.hero__copy { margin-top: 10px; font-size: 15.5px; color: var(--text); max-width: 540px; }
.hero__highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.hero__highlights li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.hero__highlights svg { color: var(--blue); flex-shrink: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Counselling form (hero variant = blue card) */
.lead-form--hero {
  background: linear-gradient(160deg, var(--blue-500), var(--blue) 55%, #0f36a6);
  color: #fff; padding: 22px 20px 20px; border-radius: 14px; box-shadow: var(--shadow-lg);
}
.lead-form__title { font-size: 24px; font-weight: 700; color: inherit; }
.lead-form__sub { font-size: 13px; opacity: .9; margin: 2px 0 14px; }
.lead-form__card { background: #fff; border-radius: 10px; padding: 14px; display: grid; gap: 10px; color: var(--text); }
.lead-form--plain { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.lead-form--plain .lead-form__title { color: var(--navy); font-size: 22px; }
.lead-form--plain .lead-form__sub { color: var(--muted); opacity: 1; }
.lead-form--plain .lead-form__card { padding: 0; }

.field { position: relative; }
.field__icon { position: absolute; left: 12px; top: 13px; color: var(--navy); pointer-events: none; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #d5ddef; border-radius: 6px; background: #fff;
  padding: 10px 12px 10px 40px; font: inherit; font-size: 14px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 44px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d2463' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.field select.is-placeholder { color: #7a83a1; }
.field input::placeholder, .field textarea::placeholder { color: #7a83a1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,70,201,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d92d20; }
.field__error { color: #c0261b; font-size: 12.5px; margin-top: 4px; line-height: 1.35; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--blue); }
.consent .field__error { grid-column: 1 / -1; }
.lead-form__status:focus { outline: none; }
.alert { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.alert svg { flex-shrink: 0; margin-top: 1px; }
.alert--success { background: #e8f8ee; color: #146c2e; }
.alert--info { background: #fff6e8; color: #8a4b00; }
.alert--error { background: #fdecea; color: #a11d14; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.lead-form__wa {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px;
  background: #fff; border-radius: 10px; padding: 10px 14px; color: var(--navy);
}
.lead-form__wa:hover { color: var(--navy); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.lead-form__wa-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--wa); color: #fff; }
.lead-form__wa small { display: block; font-size: 12px; color: var(--text); }
.lead-form__wa strong { font-family: var(--font-head); font-size: 22px; color: var(--navy); line-height: 1.1; }
.lead-form--plain .lead-form__wa { border: 1px solid var(--line); }

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .hero__highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  /* Stack: text → 2D/3D visual → form (hero__inner becomes transparent to the grid) */
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero__inner { display: contents; }
  .hero__content { order: 1; max-width: none; padding: 28px var(--gutter) 24px; }
  .hero__visual { order: 2; position: relative; width: 100%; height: 300px; }
  .hero__form { order: 3; padding: 24px var(--gutter) 36px; background: linear-gradient(180deg, var(--blue-50), #fff); }
  .hero__fade { display: none; }
  .hero__note--from { left: 6%; } .hero__arrow--from { left: 20%; top: 30%; }
  .hero__note--to { left: auto; right: 8%; } .hero__arrow--to { left: auto; right: 22%; top: 30%; }
  .hero__sketch { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 55%); }
  .hero__grid { -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 50%); mask-image: linear-gradient(90deg, #000 0%, transparent 50%); }
}
@media (max-width: 520px) {
  .hero__highlights { gap: 12px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__visual { height: 230px; }
  .hero__note { font-size: 24px; }
}

/* ---------- Career benefits ---------- */
.benefits { padding-top: 34px; }
.benefits__head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.benefits__tags { display: flex; flex-wrap: wrap; font-size: 13px; color: var(--blue); font-weight: 500; }
.benefits__tags span + span::before { content: '|'; margin: 0 10px; color: var(--muted); }
.benefits__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.benefit-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.benefit-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.benefit-card:hover .benefit-card__media img { transform: scale(1.05); }
.benefit-card__body { position: relative; padding: 14px 16px 18px 16px; }
.benefit-card__icon {
  position: absolute; top: -30px; left: 14px; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, var(--blue-500), var(--blue));
  border: 4px solid #fff; box-shadow: var(--shadow-sm);
}
.benefit-card__icon.is-orange { background: linear-gradient(160deg, #ffa24a, var(--orange-600)); }
.benefit-card h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 10px 64px; min-height: 40px; display: flex; align-items: center; line-height: 1.25; }
.benefit-card__note { font-size: 11.5px; color: var(--muted); margin-top: 10px; }
@media (max-width: 1024px) { .benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits__grid { grid-template-columns: 1fr; } }

/* ---------- Software strip ---------- */
.software { background: linear-gradient(90deg, var(--blue-50), #f5f8ff 50%, var(--blue-50)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.software__list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; padding: 20px 0; }
.software__item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.software__item strong { display: block; font-family: var(--font-head); font-size: 14.5px; color: var(--ink); line-height: 1.2; }
.software__item small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.software__mono {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c) 75%, #fff), var(--c));
  box-shadow: 0 4px 10px color-mix(in srgb, var(--c) 30%, transparent);
}
@media (max-width: 1100px) {
  .software__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 26px; padding: 18px 2px; scrollbar-width: none; }
  .software__item { flex: 0 0 auto; scroll-snap-align: start; }
}

/* ---------- Courses ---------- */
.courses__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.courses__grid--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.courses__more-title { font-size: 20px; color: var(--navy); margin: 40px 0 18px; }
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.course-card--compact .course-card__media { aspect-ratio: 16 / 8; }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course-card:hover .course-card__media img { transform: scale(1.05); }
.course-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.course-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); }
.course-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; flex: 1; }
.course-card__meta { display: flex; gap: 18px; font-size: 13px; color: var(--ink); margin: 6px 0 4px; }
.course-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.course-card__meta svg { color: var(--navy); }
@media (max-width: 1024px) { .courses__grid, .courses__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .courses__grid, .courses__grid--3 { grid-template-columns: 1fr; } }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 300; background: rgba(5, 14, 38, .75);
  display: grid; place-items: center; padding: 20px; animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); animation: pop .25s ease;
}
.modal:focus { outline: none; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.modal__close {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.95); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.modal__close:hover { background: var(--blue-50); }
.modal__title { font-size: 17px; padding: 16px 60px 12px 20px; color: var(--navy); }
.modal--video { width: min(960px, 100%); background: #0b1430; }
.modal--video .modal__title { color: #fff; }
.course-modal__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; background: var(--blue-50); }
.course-modal__body { padding: 22px 26px 26px; display: grid; gap: 12px; }
.course-modal__body h2 { font-size: 26px; color: var(--navy); }
.course-modal__body h3 { font-size: 16px; color: var(--navy); margin-top: 4px; }
.course-modal__duration { display: flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 500; }
.course-modal__fine { font-size: 13px; color: var(--muted); }
.course-modal__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame--empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; color: #c9d4f2; padding: 24px; background: radial-gradient(circle at center, #16285e, #0b1430);
}
.video-frame--empty p { max-width: 460px; font-size: 14px; }
.video-frame--empty code { background: rgba(255,255,255,.1); color: #fff; }
.video-frame__title { font-family: var(--font-head); font-size: 20px; color: #fff; font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonials { padding-top: 24px; }
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: 4px; }
.vt-card { flex: 0 0 calc((100% - 80px) / 5); min-width: 200px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.vt-card__thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--blue-50); aspect-ratio: 16 / 10; overflow: hidden; }
.vt-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vt-card__thumb:hover img { transform: scale(1.06); }
.vt-card__play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(10, 20, 50, .55); border: 2.5px solid #fff; transition: background .2s, transform .2s;
}
.vt-card__thumb:hover .vt-card__play { background: var(--orange); transform: scale(1.08); }
.vt-card__time { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.7); color: #fff; font-size: 11.5px; padding: 1px 6px; border-radius: 4px; }
.tag-sample { position: absolute; left: 8px; top: 8px; background: rgba(255,255,255,.92); color: var(--navy); font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 4px; letter-spacing: .03em; text-transform: uppercase; }
.vt-card__info { padding: 10px 12px 12px; }
.vt-card__info strong { display: block; font-family: var(--font-head); font-size: 14.5px; color: var(--ink); }
.vt-card__info span { font-size: 12.5px; color: var(--muted); }
.carousel__btn {
  position: absolute; top: 38%; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow);
}
.carousel__btn:hover { background: var(--blue); color: #fff; }
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }
@media (max-width: 1100px) { .vt-card { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 700px) {
  .vt-card { flex-basis: 72%; }
  .carousel__btn--prev { left: -6px; } .carousel__btn--next { right: -6px; }
}

/* ---------- Projects ---------- */
.projects { padding-top: 20px; }
.section-head--projects { align-items: center; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gallery__item button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--blue-50); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 6px; padding: 10px; color: #fff; font-size: 13px; font-weight: 600;
  background: linear-gradient(0deg, rgba(7,23,57,.75), transparent 60%); opacity: 0; transition: opacity .3s;
}
.gallery__item button:hover img, .gallery__item button:focus-visible img { transform: scale(1.08); }
.gallery__item button:hover .gallery__overlay, .gallery__item button:focus-visible .gallery__overlay { opacity: 1; }
.empty { color: var(--muted); padding: 20px 0; }
@media (max-width: 1100px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; } .chip { flex: 0 0 auto; } }

.modal--lightbox { width: min(1100px, 100%); background: #0b1430; }
.lightbox { margin: 0; position: relative; }
.lightbox img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: #000; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; color: #fff; font-weight: 500; flex-wrap: wrap; }
.lightbox figcaption small { color: #b9c5e8; }
.lightbox__nav {
  position: absolute; top: 45%; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); color: var(--navy); display: grid; place-items: center; transform: translateY(-50%);
}
.lightbox__nav:hover { background: #fff; }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }

/* ---------- Partners ---------- */
.partners { padding-top: 16px; }
.partners__list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; margin-top: 22px; align-items: center; }
.partners__item { display: grid; place-items: center; min-height: 76px; background: #fff; border: 1px solid var(--line); padding: 8px; border-radius: 10px; transition: background .2s; }
.partners__item:hover { background: var(--blue-50); }
.partners__item img { height: 34px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(.15); opacity: .92; transition: filter .25s, opacity .25s; }
.partners__item img.is-tall { height: 52px; }
.partners__item:hover img { filter: none; opacity: 1; }
.partners__word { font-family: var(--font-head); font-weight: 700; font-size: clamp(15px, 1.5vw, 19px); color: var(--c); letter-spacing: -.01em; text-align: center; line-height: 1.15; }
@media (max-width: 1024px) { .partners__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .partners__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, #fff, var(--blue-50)); }
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.contact__list { margin-top: 22px; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.contact__list svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.contact__list li:nth-child(2) svg { color: var(--wa); }
.contact__list a { color: var(--ink); font-weight: 500; }
.contact__list a:hover { color: var(--blue); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Stats band ---------- */
.stats { background: linear-gradient(90deg, var(--blue) 0%, #1238a8 60%, var(--navy) 100%); color: #fff; }
.stats__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.stats__list { display: grid; grid-template-columns: repeat(4, auto); gap: 0; }
.stats__list li { display: flex; align-items: center; gap: 10px; padding: 4px 18px; }
.stats__list li + li { border-left: 1px solid rgba(255,255,255,.25); }
.stats__list li:first-child { padding-left: 0; }
.stats__list svg { color: #ffb066; flex-shrink: 0; }
.stats__list strong { display: block; font-family: var(--font-head); font-size: 24px; line-height: 1.1; }
.stats__list small { font-size: 13px; opacity: .9; }
.stats__flag { font-size: 13px; color: #ffb066; margin-left: 2px; }
.stats__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.stats__note { font-size: 11.5px; opacity: .75; padding-bottom: 10px; margin-top: -8px; }
@media (max-width: 1100px) {
  .stats__inner { flex-direction: column; align-items: stretch; }
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .stats__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats__ctas .btn { flex: 1 1 220px; }
}
@media (max-width: 420px) {
  .stats__list { grid-template-columns: 1fr; }
  .stats__list li { border-left: 0 !important; padding-left: 0; }
}

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #c9d3ef; }
.footer__grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr 1.25fr 1.15fr; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
.footer__grid > * + * { border-left: 1px solid rgba(255,255,255,.1); padding-left: 28px; }
.footer__grid > .footer__map { border: 0; padding: 0; }
.footer__brand p { font-size: 13.5px; margin: 16px 0 18px; line-height: 1.6; }
.footer__h { font-size: 16px; color: #fff; margin-bottom: 14px; font-weight: 600; }
.footer ul li + li { margin-top: 6px; }
.footer a { color: #c9d3ef; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; }
.footer__social li + li { margin-top: 0 !important; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.footer__social li:nth-child(1) a { background: #1877f2; }
.footer__social li:nth-child(2) a { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.footer__social li:nth-child(3) a { background: #ff0000; }
.footer__social li:nth-child(4) a { background: #0a66c2; }
.footer__social a:hover { filter: brightness(1.15); }
.footer__contact { font-style: normal; display: grid; gap: 12px; }
.footer__contact a { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { flex-shrink: 0; margin-top: 3px; color: #fff; }
.footer__map iframe { width: 100%; height: 100%; min-height: 190px; border: 0; border-radius: 12px; background: #e9eef8; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 10px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.footer__bottom a { font-size: 13px; }
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid > * + * { border-left: 0; padding-left: 0; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__map { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__grid > div:nth-child(4) { grid-column: 1 / -1; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 8px;
  height: 58px; padding: 0 14px; border-radius: 30px; background: var(--wa); color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .4); transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float__label { font-family: var(--font-head); font-weight: 600; font-size: 14px; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 120px; }
@media (max-width: 520px) { .wa-float { right: 14px; bottom: 14px; height: 54px; padding: 0 12px; } }

/* =========================================================
   Plain-HTML additions (icons, toggles, hidden states)
   ========================================================= */
[hidden] { display: none !important; }

/* Icon sizes – Lucide copies these classes onto the generated <svg> */
.i16 { width: 16px; height: 16px; } .i17 { width: 17px; height: 17px; } .i18 { width: 18px; height: 18px; }
.i20 { width: 20px; height: 20px; } .i22 { width: 22px; height: 22px; } .i26 { width: 26px; height: 26px; }
.i30 { width: 30px; height: 30px; } .i38 { width: 38px; height: 38px; } .i44 { width: 44px; height: 44px; }
svg.lucide { flex-shrink: 0; }
svg.filled { fill: currentColor; }
.hero__highlights svg { stroke-width: 1.6; }
.stats__list svg { stroke-width: 1.5; }

/* WhatsApp SVG holder */
.wa-svg { display: inline-flex; flex-shrink: 0; }
.wa-svg svg { width: 100%; height: 100%; }

/* Hamburger icon swap */
.header__toggle .icon-close { display: none; }
.header__toggle[aria-expanded="true"] .icon-open { display: none; }
.header__toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hide nav panel while closed (desktop unaffected) */
body.nav-open { overflow: hidden; }
@media (min-width: 1381px) { .nav-scrim { display: none !important; } }

/* =========================================================
   Detail pages (courses, software, about, placements, contact)
   ========================================================= */
.container--narrow { max-width: 880px; }
.section--tint { background: linear-gradient(180deg, var(--blue-50), #f7f9ff); }
.section--flush { padding-top: 0; }
.section-head--stack { display: block; margin-bottom: 22px; }
.section-head.is-center { text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.prose { font-size: 15.5px; color: var(--text); margin-bottom: 14px; max-width: 68ch; }
.more-link { margin-top: 18px; }
.more-link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.note { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.note svg { margin-top: 3px; color: var(--blue); }
.note--warn { background: #fff6e8; color: #6b3d00; padding: 12px 14px; border-radius: 10px; }
.note--warn svg { color: var(--orange-600); }
.checklist--sm li { font-size: 13px; }
.btn--ghost-light { background: transparent; border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Breadcrumb */
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: #b5bdd6; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 500; }

/* Page hero */
.page-hero { position: relative; overflow: hidden; padding: 36px 0 48px; background:
  radial-gradient(1200px 400px at 85% -10%, var(--blue-100), transparent 60%),
  linear-gradient(180deg, #fff, var(--blue-50)); }
.page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(21,70,201,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(21,70,201,.06) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%); }
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.page-hero__title { font-size: clamp(30px, 4vw, 48px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.page-hero__lead { font-size: 16.5px; margin-top: 14px; max-width: 60ch; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); background: var(--blue-100); }
.page-hero__badge {
  position: absolute; left: -18px; bottom: 24px; padding: 10px 18px; border-radius: 12px; background: #fff;
  font-family: var(--font-head); font-weight: 700; color: var(--c); box-shadow: var(--shadow); border-left: 5px solid var(--c);
}
.page-hero--compact { padding-bottom: 36px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; max-width: 560px; }
.facts li { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.facts svg { color: var(--blue); }
.facts small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.facts strong { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; line-height: 1.3; }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero__badge { left: 12px; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .page-hero__ctas .btn { flex: 1 1 100%; }
}

/* On-page sub navigation */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 8px 14px; border-radius: 8px; font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.subnav a:hover { background: var(--blue-50); color: var(--blue); }
.subnav li:last-child a { background: var(--orange); color: #fff; }
.subnav li:last-child a:hover { background: var(--orange-600); }

/* Layout helpers */
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.two-col--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .two-col, .two-col--even { grid-template-columns: 1fr; gap: 28px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.card--tint { background: linear-gradient(180deg, var(--blue-50), #fff); }
.card__title { display: flex; align-items: center; gap: 8px; font-size: 18px; color: var(--navy); margin: 0 0 14px; }
.card__title svg { color: var(--blue); }
.card .prose + .card__title { margin-top: 20px; }

/* Syllabus */
.syllabus { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.modules { display: grid; gap: 12px; }
.module { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.module summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.module summary::-webkit-details-marker { display: none; }
.module__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue); font-family: var(--font-head); font-weight: 700; flex-shrink: 0; }
.module[open] .module__num { background: var(--blue); color: #fff; }
.module__title { flex: 1; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 16px; }
.module__chev { color: var(--muted); transition: transform .25s; }
.module[open] .module__chev { transform: rotate(180deg); }
.module__body { padding: 0 18px 18px 70px; }
.glance { position: sticky; top: calc(var(--header-h) + 70px); background: linear-gradient(165deg, var(--blue-500), var(--blue) 60%, #0f36a6); color: #fff; border-radius: 16px; padding: 22px; box-shadow: var(--shadow-lg); display: grid; gap: 10px; }
.glance h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.glance__list { display: grid; gap: 12px; margin-bottom: 8px; }
.glance__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; }
.glance__list svg { color: #ffb066; margin-top: 2px; }
.glance__list small { display: block; font-size: 11.5px; opacity: .8; font-weight: 400; }
.glance .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.glance .btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 1000px) { .syllabus { grid-template-columns: 1fr; } .glance { position: static; } }
@media (max-width: 520px) { .module__body { padding-left: 18px; } }

/* Project & why cards */
.proj-grid, .why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.proj-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.proj-card__icon, .why-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 14px; }
.proj-card h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 6px; }
.proj-card p { font-size: 14px; color: var(--muted); }
.why-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); transition: transform .25s, box-shadow .25s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.why-card__icon { background: linear-gradient(160deg, var(--blue-500), var(--blue)); color: #fff; }
.why-card__icon.is-orange { background: linear-gradient(160deg, #ffa24a, var(--orange-600)); }
.why-card strong { font-family: var(--font-head); color: var(--navy); font-size: 16px; }
.why-card span:last-child { font-size: 14px; color: var(--muted); }
@media (max-width: 1024px) { .proj-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .proj-grid, .why-grid { grid-template-columns: 1fr; } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 30px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm); }
.chips li svg { color: var(--orange-600); }
.chips--blue li { background: var(--blue-50); border-color: var(--blue-100); }
.chips--blue li svg { color: var(--blue); }

/* FAQ */
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { color: var(--blue); transition: transform .25s; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 20px 18px; color: var(--text); font-size: 15px; }

/* CTA band */
.cta-band { background: linear-gradient(100deg, var(--navy-900), var(--navy) 45%, var(--blue)); color: #fff; padding: 44px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { opacity: .85; margin-top: 6px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .cta-band__btns .btn { flex: 1 1 100%; } }

/* Contact section extras */
.contact__points { margin: 18px 0 4px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: -8px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); transition: transform .25s, box-shadow .25s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.contact-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-50); color: var(--blue); margin-bottom: 10px; }
.contact-card--wa .contact-card__icon { background: #e7f9ee; color: var(--wa); }
.contact-card strong { font-family: var(--font-head); color: var(--navy); font-size: 17px; }
.contact-card__value { font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-card small { color: var(--blue); font-weight: 500; }
.map-frame { margin-top: 18px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; background: #e9eef8; }
@media (max-width: 1024px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* Software overview */
.software__item--link { color: inherit; border-radius: 10px; padding: 6px; margin: -6px; transition: background .2s; }
.software__item--link:hover { background: #fff; color: inherit; }
.software__item--link:hover strong { color: var(--blue); }
.software__mono--sm { width: 30px; height: 30px; font-size: 14px; border-radius: 8px; }
.soft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.soft-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.soft-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.soft-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-50); }
.soft-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.soft-card:hover .soft-card__media img { transform: scale(1.05); }
.soft-card__body { display: flex; flex-direction: column; gap: 12px; padding: 18px; flex: 1; }
.soft-card__head { display: flex; gap: 12px; align-items: center; }
.soft-card__head h3 { font-size: 17px; }
.soft-card__head h3 a { color: var(--navy); }
.soft-card__head h3 a:hover { color: var(--blue); }
.soft-card__head small { color: var(--muted); font-size: 12.5px; }
.soft-card p { font-size: 14px; color: var(--muted); }
.soft-card .checklist { flex: 1; }
.soft-card__ctas { display: flex; gap: 10px; margin-top: 4px; }
.soft-card__ctas .btn { flex: 1; }
@media (max-width: 1024px) { .soft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .soft-grid { grid-template-columns: 1fr; } }

.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.path-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.path-card h3 { font-size: 18px; color: var(--navy); }
.path-card p { font-size: 14px; color: var(--muted); }
.path-steps { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.path-steps li { display: flex; align-items: center; gap: 6px; }
.path-steps li + li::before { content: '→'; color: var(--orange-600); font-weight: 700; margin-right: 2px; }
.path-steps a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 10px; background: var(--blue-50); color: var(--ink); font-weight: 600; font-size: 14px; }
.path-steps a:hover { background: var(--blue-100); color: var(--blue); }
.path-card .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) { .path-grid { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; background: #fff; font-size: 14.5px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.compare tbody tr:nth-child(even) { background: #f8faff; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--ink); white-space: nowrap; }
.table-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); }
.step__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(160deg, var(--blue-500), var(--blue)); color: #fff; margin-bottom: 12px; }
.step:nth-child(even) .step__icon { background: linear-gradient(160deg, #ffa24a, var(--orange-600)); }
.step__num { display: block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.step h3 { font-size: 16.5px; color: var(--navy); margin: 2px 0 6px; }
.step p { font-size: 14px; color: var(--muted); }
@media (max-width: 1024px) { .steps, .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps, .steps--3 { grid-template-columns: 1fr; } }

.related { padding-top: 24px; }
.courses__all { font-size: 14px; font-weight: 600; margin-left: 12px; font-family: var(--font-body); }
@media (max-width: 520px) {
  .contact-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; padding: 14px 16px; align-items: center; }
  .contact-card__icon { grid-row: span 3; width: 44px; height: 44px; margin: 0; align-self: center; }
}

/* =========================================================
   Inner-page banner: background image + overlay + enquiry form
   ========================================================= */
.page-hero--bg { background: var(--navy-900); padding: 40px 0 56px; color: #fff; isolation: isolate; }
.page-hero--bg::before { display: none; }
.page-hero__bgimg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.page-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 23, 57, .92) 0%, rgba(7, 23, 57, .80) 36%, rgba(7, 23, 57, .45) 56%, rgba(13, 36, 99, .22) 75%, rgba(13, 36, 99, .30) 100%),
    linear-gradient(0deg, rgba(7, 23, 57, .45), transparent 35%);
}
.page-hero--bg .page-hero__grid { grid-template-columns: minmax(0, 1fr) 390px; gap: 48px; align-items: center; }
.page-hero--bg .page-hero__title { color: #fff; }
.page-hero--bg .page-hero__title .text-blue { color: #8fb8ff; }
.page-hero--bg .page-hero__lead { color: rgba(255, 255, 255, .88); }
.page-hero--bg .eyebrow { color: #ffb066; flex-wrap: wrap; }
.page-hero--bg .eyebrow::after { background: #ffb066; }
.page-hero__tag { display: inline-block; padding: 3px 10px; border-radius: 6px; background: var(--c); color: #fff; letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.page-hero--bg .breadcrumb ol { color: rgba(255, 255, 255, .7); }
.page-hero--bg .breadcrumb a { color: rgba(255, 255, 255, .8); }
.page-hero--bg .breadcrumb a:hover { color: #fff; }
.page-hero--bg .breadcrumb [aria-current] { color: #fff; }
.page-hero--bg .breadcrumb li + li::before { color: rgba(255, 255, 255, .45); }
.page-hero--bg .facts li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); box-shadow: none; backdrop-filter: blur(6px); }
.page-hero--bg .facts svg { color: #ffb066; }
.page-hero--bg .facts small { color: rgba(255, 255, 255, .72); }
.page-hero--bg .facts strong { color: #fff; }

/* Banner form card */
.page-hero__form .lead-form--plain { border: 0; border-top: 5px solid var(--orange); padding: 22px 20px 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.page-hero__form .lead-form__title { font-size: 21px; }
.page-hero__form .lead-form__sub { margin-bottom: 12px; }
.page-hero__form .lead-form__card { gap: 9px; }
.page-hero__form .field textarea { min-height: 40px; }
.page-hero__form .lead-form__wa { margin-top: 10px; padding: 8px 12px; }
.page-hero__form .lead-form__wa strong { font-size: 19px; }
.page-hero__form .lead-form__wa-icon { width: 38px; height: 38px; }

.contact-cards-wrap { padding-top: 40px; padding-bottom: 8px; }
.map-frame--tall { margin-top: 0; }
.map-frame--tall iframe { height: 420px; }

@media (max-width: 1100px) {
  .page-hero--bg .page-hero__grid { grid-template-columns: minmax(0, 1fr) 350px; gap: 32px; }
}
@media (max-width: 900px) {
  .page-hero--bg { padding: 28px 0 36px; }
  .page-hero--bg .page-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero__overlay { background: linear-gradient(180deg, rgba(7, 23, 57, .9), rgba(7, 23, 57, .82) 55%, rgba(7, 23, 57, .92)); }
  .page-hero__form { max-width: 520px; width: 100%; }
}

/* =========================================================
   "Get Free Experts Guidance" card (banner form on every page)
   ========================================================= */
.lead-form--brochure {
  position: relative; padding: 12px; border-radius: 18px;
  background: linear-gradient(145deg, #d4ab74 0%, #a8763f 28%, #c99a62 52%, #8a5a2b 78%, #b98a55 100%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
  color: #1d1d1b;
}
.brochure {
  position: relative; background: #fbfaf7; border-radius: 10px; padding: 46px 22px 22px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}
.brochure__tag {
  position: absolute; top: -4px; left: 14px; padding: 7px 16px; border-radius: 4px;
  background: linear-gradient(180deg, #f6cd63, #eebb45); color: #2a2208;
  font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .01em;
  transform: rotate(-3deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}
.brochure__title { font-family: var(--font-body); font-size: 22.5px; font-weight: 700; color: #1b1b19; line-height: 1.2; letter-spacing: -.01em; }
.brochure__sub { font-size: 15.5px; color: #5d5b56; margin: 8px 0 18px; line-height: 1.45; }
.brochure form { display: grid; gap: 11px; }

/* Boxed-icon fields */
.field--boxed { display: grid; grid-template-columns: 52px 1fr; background: #fff; border: 1px solid #e8e4dc; border-radius: 9px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.field--boxed .field__box { display: grid; place-items: center; color: #2b2b28; border-right: 1px solid #ece8e0; background: #fdfcfa; }
.field--boxed input, .field--boxed select {
  border: 0; border-radius: 0; padding: 14px 14px; font-size: 15px; background: transparent; color: #1d1d1b; width: 100%; min-width: 0;
}
.field--boxed input::placeholder { color: #8a877f; }
.field--boxed select.is-placeholder { color: #8a877f; }
.field--boxed select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1d1b' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field--boxed input:focus, .field--boxed select:focus { outline: none; box-shadow: none; }
.field--boxed:focus-within { border-color: #1f4a3a; box-shadow: 0 0 0 3px rgba(31, 74, 58, .15); }
.field--boxed.has-error { border-color: #d92d20; }
.field--boxed .field__error { grid-column: 1 / -1; margin: 0; padding: 6px 12px 8px; background: #fff5f4; }
.consent--sm { font-size: 11.5px; color: #77746c; }
.consent--sm input { accent-color: #1f4a3a; }
.consent--sm a { color: #1f4a3a; }

.btn--brochure {
  background: #1f4a3a; color: #fff; padding: 15px 22px; border-radius: 9px; font-family: var(--font-body); font-size: 16.5px; font-weight: 600;
  box-shadow: 0 8px 18px rgba(31, 74, 58, .3);
}
.btn--brochure:hover { background: #163829; color: #fff; }
.lead-form--brochure .alert a { font-weight: 600; text-decoration: underline; }

/* fit inside the banners */
.hero__form .lead-form--brochure, .page-hero__form .lead-form--brochure { max-width: 400px; margin-left: auto; }
@media (max-width: 900px) {
  .hero__form .lead-form--brochure, .page-hero__form .lead-form--brochure { margin: 0 auto; max-width: 460px; }
}
@media (max-width: 400px) {
  .brochure { padding: 44px 16px 18px; }
  .brochure__title { font-size: 22px; }
}

/* =========================================================
   Google reviews
   ========================================================= */
.greviews { background: linear-gradient(180deg, #fff, var(--blue-50)); }
.greviews__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.greviews.has-reviews .greviews__grid { grid-template-columns: 330px minmax(0, 1fr); align-items: start; }
.greviews__summary {
  display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px 32px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; box-shadow: var(--shadow);
}
.greviews.has-reviews .greviews__summary { grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 16px); }
.gsum__head { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--ink); grid-column: 1 / -1; }
.gsum__g svg, .grev__g svg { width: 24px; height: 24px; display: block; }
.gsum__score { display: flex; align-items: center; gap: 12px; }
.gsum__score strong { font-family: var(--font-head); font-size: 48px; line-height: 1; color: var(--navy); }
.gsum__count { color: var(--muted); font-size: 14px; }
.gsum__count strong { color: var(--ink); }
.gsum__count small { display: block; font-size: 12px; }
.gsum__bars { display: grid; gap: 4px; min-width: 200px; }
.gsum__bars li { display: grid; grid-template-columns: 12px 1fr 34px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.gsum__bar { height: 8px; border-radius: 6px; background: #eef1f7; overflow: hidden; }
.gsum__bar span { display: block; height: 100%; background: #fbbc04; border-radius: 6px; }
.gsum__n { text-align: right; }
.gsum__btns { display: flex; flex-direction: column; gap: 10px; }
.greviews.has-reviews .gsum__btns { flex-direction: row; flex-wrap: wrap; }

.gstars { display: inline-flex; gap: 2px; }
.gstar { width: 16px; height: 16px; background: linear-gradient(90deg, #fbbc04 var(--f), #dadce0 var(--f));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.gstars--lg .gstar { width: 24px; height: 24px; }

.grev-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grev { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-sm); }
.grev__top { display: grid; grid-template-columns: 40px 1fr 22px; gap: 10px; align-items: center; }
.grev__top img, .grev__initial { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.grev__initial { display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; font-family: var(--font-head); }
.grev__name { display: block; font-size: 14.5px; color: var(--ink); }
.grev__name a { color: var(--ink); }
.grev__top small { color: var(--muted); font-size: 12.5px; }
.grev__text { font-size: 14.5px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.grev__more { font-size: 13px; font-weight: 600; }
.greviews__attr { font-size: 12px; color: var(--muted); margin-top: 12px; }

@media (max-width: 1000px) {
  .greviews.has-reviews .greviews__grid { grid-template-columns: 1fr; }
  .greviews.has-reviews .greviews__summary { position: static; }
  .greviews__summary { grid-template-columns: 1fr 1fr; }
  .gsum__bars, .gsum__btns { grid-column: 1 / -1; }
  .gsum__btns { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .greviews__summary { grid-template-columns: 1fr; padding: 20px; }
  .grev-list { grid-template-columns: 1fr; }
  .gsum__btns .btn { flex: 1 1 100%; }
}

/* =========================================================
   "Software Courses" dropdown
   ========================================================= */
.nav__item.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__subtoggle {
  display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px;
  background: transparent; color: var(--ink); transition: transform .2s, background .2s, color .2s;
}
.nav__subtoggle:hover { background: var(--blue-50); color: var(--blue); }
.has-sub.is-open > .nav__subtoggle, .has-sub:hover > .nav__subtoggle { color: var(--blue); }
.has-sub.is-open > .nav__subtoggle svg { transform: rotate(180deg); }
.nav__subtoggle svg { transition: transform .2s; }

.nav__sub { list-style: none; margin: 0; }
.nav__sublink { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--ink); }
.nav__sublink strong { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 600; line-height: 1.2; }
.nav__sublink small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.nav__sublink:hover, .nav__sublink:focus-visible { background: var(--blue-50); color: var(--blue); }
.nav__sublink:hover strong { color: var(--blue); }
.nav__sublink[aria-current="page"] { background: var(--blue-50); }
.nav__sublink[aria-current="page"] strong { color: var(--blue); }
.nav__sub-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.nav__sub-all .nav__sublink { justify-content: space-between; font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--blue); }

/* Desktop: floating panel */
@media (min-width: 1381px) {
  .nav__sub {
    position: absolute; top: 100%; left: 50%; z-index: 120; width: 300px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .18s, transform .18s, visibility .18s;
  }
  /* invisible bridge so the panel stays open while the pointer moves down to it */
  .nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub, .has-sub.is-open > .nav__sub {
    opacity: 1; visibility: visible; transform: translate(-50%, 6px);
  }
  .has-sub:hover > .nav__subtoggle svg, .has-sub:focus-within > .nav__subtoggle svg { transform: rotate(180deg); }
}

/* Mobile menu: expandable list */
@media (max-width: 1380px) {
  .nav__item.has-sub { flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
  .nav__item.has-sub > .nav__link { flex: 1; border-bottom: 0; }
  .nav__subtoggle { width: 44px; height: 44px; }
  .nav__sub { display: none; width: 100%; padding: 0 0 10px 6px; }
  .has-sub.is-open > .nav__sub { display: block; }
  .nav__sublink { padding: 8px 6px; }
}

/* "Software Covered" grid (Mechanical CAD page) */
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tool-card h3 { font-size: 16.5px; color: var(--navy); }
.tool-card small { display: block; color: var(--blue); font-weight: 600; font-size: 12.5px; margin: 2px 0 6px; }
.tool-card p { font-size: 14px; color: var(--muted); }
.tool-card .software__mono { font-size: 16px; }
@media (max-width: 1024px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tool-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Blog
   ========================================================= */
.blog-cat { display: inline-block; padding: 4px 10px; border-radius: 20px; background: var(--blue-50); color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
a.blog-cat:hover { background: var(--blue); color: #fff; }
.blog-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.blog-meta svg { color: var(--blue); }
.blog-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; margin-top: auto; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; align-items: flex-start; }
.blog-card h3 { font-size: 18px; line-height: 1.35; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p { font-size: 14.5px; color: var(--muted); }
.blog-card--featured { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 26px; }
.blog-card--featured .blog-card__media { aspect-ratio: auto; min-height: 340px; }
.blog-card--featured .blog-card__body { padding: 30px 32px; justify-content: center; gap: 14px; }
.blog-card--featured h3 { font-size: clamp(22px, 2.4vw, 28px); }
.blog-card--featured p { font-size: 16px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.blog-card[hidden] { display: none; }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .blog-card--featured { grid-template-columns: 1fr; }
  .blog-card--featured .blog-card__media { min-height: 0; aspect-ratio: 16 / 10; }
  .blog-card--featured .blog-card__body { padding: 20px; }
}
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* Article page */
.post-hero { background: linear-gradient(180deg, var(--blue-50), #fff 70%); padding: 30px 0 10px; }
.container--post { max-width: 860px; }
.container--post-wide { max-width: 1140px; }
.post-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--navy); line-height: 1.15; letter-spacing: -.015em; margin: 14px 0 12px; }
.post-lead { font-size: 18px; color: var(--text); max-width: 70ch; }
.post-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 18px 0 26px; color: var(--muted); font-size: 14px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { color: var(--blue); }
.post-author { font-weight: 600; color: var(--ink); }
.post-author img { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.post-figure { margin: 0; }
.post-figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); background: var(--blue-100); }
.post-section { padding-top: 40px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; max-width: 1140px; }
.post-body { font-size: 17px; line-height: 1.8; color: #2f3858; max-width: 72ch; }
.post-body h2 { font-size: clamp(22px, 2.4vw, 27px); color: var(--navy); margin: 38px 0 12px; scroll-margin-top: calc(var(--header-h) + 20px); }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 8px; }
.post-body ul { list-style: disc; }
.post-body li::marker { color: var(--orange); font-weight: 700; }
.post-toc { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 18px 22px; margin-bottom: 26px; font-size: 15px; box-shadow: var(--shadow-sm); }
.post-toc strong { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 8px; }
.post-toc ol { margin: 0; padding-left: 20px; gap: 4px; display: grid; }
.post-tip { display: flex; gap: 12px; align-items: flex-start; background: #fff6e8; border-left: 4px solid var(--orange); border-radius: 10px; padding: 14px 18px; margin: 6px 0 22px; }
.post-tip svg { color: var(--orange-600); margin-top: 4px; }
.post-tip p { margin: 0; font-size: 16px; }
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 20px; }
.share { display: flex; align-items: center; gap: 8px; }
.share__label { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 14px; margin-right: 4px; }
.share__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.share__btn:hover { transform: translateY(-2px); color: #fff; background: var(--blue); }
.share__btn--wa:hover { background: var(--wa); }
.share__btn--fb:hover { background: #1877f2; }
.share__btn--in:hover { background: #0a66c2; }
.share__btn.is-copied { background: #e7f6ec; color: #157f3b; }
.post-side { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 22px; }
.post-side__card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-sm); }
.post-side__card h2 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.post-courses { display: grid; gap: 4px; }
.post-courses a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; color: var(--ink); }
.post-courses a:hover { background: var(--blue-50); }
.post-courses strong { display: block; font-size: 14px; font-family: var(--font-head); }
.post-courses small { display: block; color: var(--muted); font-size: 12px; }
.post-side .lead-form--brochure { max-width: none; margin: 0; }
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-side { position: static; max-width: 520px; }
}
@media (max-width: 600px) { .post-body { font-size: 16px; } .post-lead { font-size: 16px; } }

/* =========================================================
   Mobile bottom bar: WhatsApp · Call · Home · Location · Menu
   ========================================================= */
.i24 { width: 24px; height: 24px; }
.mbar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .wa-float { display: none; }                    /* the bar has WhatsApp */
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
    display: grid; grid-template-columns: 1fr 1fr 84px 1fr 1fr; align-items: end;
    height: calc(68px + env(safe-area-inset-bottom, 0px)); padding: 0 6px env(safe-area-inset-bottom, 0px);
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(13, 36, 99, .12);
  }
  .mbar__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 68px;
    background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mbar__item span { font-family: var(--font-head); font-size: 12.5px; font-weight: 500; color: var(--ink); line-height: 1; }
  .mbar__item:active { transform: scale(.94); }
  .mbar__item .wa-svg { color: var(--blue); }
  .mbar__home {
    justify-self: center; align-self: start; margin-top: -26px;
    display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #2b6cf0, var(--navy) 70%);
    color: #fff; border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--blue), 0 10px 24px rgba(21, 70, 201, .45), 0 0 28px rgba(43, 108, 240, .45);
    transition: transform .2s;
  }
  .mbar__home:hover, .mbar__home:focus-visible { color: #fff; transform: translateY(-2px); }
  .mbar__home:active { transform: scale(.95); }
  .mbar a:focus-visible, .mbar button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 12px; }
  .nav { bottom: 0; z-index: 101; }               /* menu panel slides over the bar */
}


/* =========================================================
   Effects & motion (all switched off for "reduce motion")
   ========================================================= */
/* Scroll reveal – only hides content once JavaScript has confirmed effects are on */
.fx .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.fx .reveal.is-visible { opacity: 1; transform: none; }

/* Home hero entrance */
@keyframes so-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes so-slide-in { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
.hero__content > *, .page-hero__text > * { animation: so-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__content > *:nth-child(2), .page-hero__text > *:nth-child(2) { animation-delay: .08s; }
.hero__content > *:nth-child(3), .page-hero__text > *:nth-child(3) { animation-delay: .16s; }
.hero__content > *:nth-child(4), .page-hero__text > *:nth-child(4) { animation-delay: .24s; }
.hero__content > *:nth-child(5), .page-hero__text > *:nth-child(5) { animation-delay: .32s; }
.hero__content > *:nth-child(n+6), .page-hero__text > *:nth-child(n+6) { animation-delay: .4s; }
.hero__form, .page-hero__form { animation: so-slide-in .9s .25s cubic-bezier(.2, .7, .2, 1) both; }

/* Slow zoom on banner photos */
@keyframes so-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.page-hero__bgimg { animation: so-kenburns 14s ease-out both; transform-origin: 60% 50%; }
.hero__render { animation: so-kenburns 16s ease-out both; }

/* Shine sweep on orange buttons */
.btn--orange { position: relative; overflow: hidden; }
.btn--orange::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg);
}
.btn--orange:hover::after { animation: so-shine .8s ease; }
@keyframes so-shine { to { left: 130%; } }

/* Gentle lift on cards with images */
.course-card:hover .course-card__media img, .blog-card:hover .blog-card__media img, .soft-card:hover .soft-card__media img { transform: scale(1.07); }

/* "Our Students Work At" – endless logo strip */
.marquee { position: relative; overflow: hidden; margin-top: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners__list.marquee__track { display: flex; grid-template-columns: none; width: max-content; gap: 16px; margin: 0; padding: 6px 0;
  animation: so-marquee 32s linear infinite; }
.marquee__track .partners__item { flex: 0 0 auto; width: 176px; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes so-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
@media (max-width: 600px) {
  .marquee__track .partners__item { width: 140px; min-height: 66px; }
  .partners__list.marquee__track { animation-duration: 24s; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content > *, .page-hero__text > *, .hero__form, .page-hero__form, .page-hero__bgimg, .hero__render { animation: none !important; }
  .partners__list.marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .btn--orange:hover::after { animation: none; }
}


/* =========================================================
   Software strip – endless marquee (all screen sizes)
   ========================================================= */
.marquee--software { margin: 0; padding: 4px 0; }
.software__list.marquee__track {
  display: flex; grid-template-columns: none; flex-wrap: nowrap; width: max-content; gap: 0; padding: 18px 0;
  overflow: visible; scroll-snap-type: none; animation: so-marquee-soft 30s linear infinite;
}
.software__list.marquee__track > li { flex: 0 0 auto; padding-right: 40px; }
.software__list.marquee__track .software__item { scroll-snap-align: none; }
.marquee--software:hover .marquee__track, .marquee--software:focus-within .marquee__track,
.marquee--software.is-paused .marquee__track { animation-play-state: paused; }
@keyframes so-marquee-soft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .software__list.marquee__track { animation-duration: 22s; padding: 14px 0; }
  .software__list.marquee__track > li { padding-right: 28px; }
}

/* =========================================================
   Numbers band – effects
   ========================================================= */
.stats { position: relative; overflow: hidden; background-size: 200% 100%; animation: so-stats-bg 14s ease-in-out infinite alternate; }
@keyframes so-stats-bg { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.stats::before {               /* soft light sweeping across the band */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .09) 45%, transparent 60%);
  transform: translateX(-100%); animation: so-stats-sweep 7s ease-in-out infinite;
}
@keyframes so-stats-sweep { 0%, 35% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
.stats__inner { position: relative; }
.stats__list li { transition: transform .3s ease; }
.stats__list li:hover { transform: translateY(-4px); }
.stats__list li svg { transition: transform .3s; }
.stats__list li:hover svg { transform: scale(1.12) rotate(-6deg); }
/* icon pops in when the stat appears, then floats gently */
@keyframes so-icon-pop { 0% { transform: scale(.4) rotate(-20deg); opacity: 0; } 70% { transform: scale(1.15) rotate(4deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes so-icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.fx .stats__list li.is-visible svg { animation: so-icon-pop .7s cubic-bezier(.3, 1.4, .5, 1) both, so-icon-float 3.2s 1s ease-in-out infinite; }
.fx .stats__list li:nth-child(2).is-visible svg { animation-delay: .1s, 1.2s; }
.fx .stats__list li:nth-child(3).is-visible svg { animation-delay: .2s, 1.4s; }
.fx .stats__list li:nth-child(4).is-visible svg { animation-delay: .3s, 1.6s; }
/* number "pop" when counting finishes */
@keyframes so-num-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); color: #ffd29a; } 100% { transform: scale(1); } }
.stats__list strong { display: inline-block; transform-origin: left center; }
.stats__list strong.is-done { animation: so-num-pop .55s ease; }

@media (prefers-reduced-motion: reduce) {
  .software__list.marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee--software { -webkit-mask-image: none; mask-image: none; }
  .software__list.marquee__track > li[aria-hidden="true"] { display: none; }
  .stats, .stats::before, .stats__list li svg, .stats__list strong.is-done { animation: none !important; }
}
.fx .stats__list li.reveal.is-visible:hover { transform: translateY(-4px); }   /* hover lift wins over reveal reset */


/* =========================================================
   Video testimonials – portrait cards with hover preview
   ========================================================= */
.vt-card__thumb--portrait { aspect-ratio: 3 / 4; }
.vt-card__thumb img { object-position: center 30%; }
.vt-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  opacity: 0; transition: opacity .35s ease; pointer-events: none; background: transparent; }
.vt-card__thumb.is-previewing .vt-card__video { opacity: 1; }
.vt-card__thumb.is-previewing .vt-card__play { opacity: 0; transform: scale(.8); }
.vt-card__play { transition: background .2s, transform .2s, opacity .25s; }
.vt-card__hint { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 6px 8px; border-radius: 20px; background: rgba(7, 23, 57, .78); color: #fff; font-size: 12px; font-weight: 600;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.vt-card__thumb.is-previewing .vt-card__hint { opacity: 1; transform: none; }
.vt-card__thumb.is-previewing .vt-card__time { opacity: 0; }
.vt-card__time { transition: opacity .25s; }

/* Popup for portrait videos */
.modal--portrait { width: min(440px, 100%); }
.video-frame--portrait { aspect-ratio: 9 / 16; max-height: calc(100vh - 120px); margin: 0 auto; }
.video-frame--portrait video { object-fit: contain; background: #000; }
@media (max-width: 600px) { .modal--portrait { width: 100%; } }

/* hover preview: muted state badge */
.vt-card__thumb.is-muted .vt-card__hint { background: rgba(232, 109, 6, .92); }


/* =========================================================
   Student Projects – live site walkthrough video
   ========================================================= */
.site-video__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.site-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000;
  box-shadow: var(--shadow-lg); }
.site-video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.site-video__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border: 0; padding: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(7, 23, 57, .05) 30%, rgba(7, 23, 57, .55)); transition: background .3s; }
.site-video__play:hover { background: linear-gradient(180deg, rgba(7, 23, 57, .1) 20%, rgba(7, 23, 57, .65)); }
.site-video__play-btn { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #ff9532, var(--orange-600)); box-shadow: 0 10px 30px rgba(247, 132, 31, .45);
  transition: transform .25s ease; }
.site-video__play-btn svg { margin-left: 4px; }
.site-video__play:hover .site-video__play-btn, .site-video__play:focus-visible .site-video__play-btn { transform: scale(1.08); }
.site-video__play-btn::after { content: ''; position: absolute; width: 78px; height: 78px; border-radius: 50%;
  border: 2px solid rgba(255, 149, 50, .8); animation: so-video-ring 2s ease-out infinite; }
@keyframes so-video-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.site-video__meta { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px;
  background: rgba(7, 23, 57, .7); font-size: 13px; font-weight: 600; }
.site-video__frame.is-playing .site-video__play { opacity: 0; visibility: hidden; pointer-events: none; }
.site-video__text .section-title { margin: 6px 0 14px; }
.site-video__text .prose { margin-bottom: 16px; }
.site-video__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 960px) {
  .site-video__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .site-video__frame { border-radius: var(--radius-sm); }
  .site-video__play-btn, .site-video__play-btn::after { width: 62px; height: 62px; }
  .site-video__ctas .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .site-video__play-btn::after { animation: none; } }
