@charset "UTF-8";
/* ==========================================================================
   Leaders Data Science Learning Center
   Design system + component styles. Mobile-first, fluid, accessible.
   Fonts are loaded from the HTML <head> with preconnect (never @import,
   which blocks rendering and delays First Contentful Paint).
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand */
  --primary: #E8740C;
  --primary-dark: #C45F00;
  --primary-darker: #9E4C00;
  --primary-light: #FF9A3C;
  --primary-50: #FFF6EE;
  --primary-100: #FFE8D2;
  --primary-200: #FFD0A8;

  --navy: #101A33;
  --navy-700: #17233F;
  --navy-600: #1E2C4D;
  --navy-500: #2A3A60;

  --accent-blue: #2467D8;
  --accent-green: #128C46;
  --accent-red: #C62828;
  --star: #FFB400;
  --whatsapp: #25D366;

  /* Neutrals */
  --ink: #12161F;
  --gray-900: #1C222E;
  --gray-800: #2B3341;
  --gray-700: #3F4757;
  --gray-600: #5A6273;
  --gray-500: #7A8394;
  --gray-400: #A2AAB8;
  --gray-300: #C9CFD9;
  --gray-200: #E2E6EC;
  --gray-150: #EDF0F4;
  --gray-100: #F4F6F9;
  --gray-50: #FAFBFC;
  --white: #FFFFFF;

  /* Typography */
  --font-head: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.86rem;
  --fs-base: clamp(0.94rem, 0.9rem + 0.18vw, 1rem);
  --fs-lg: clamp(1.02rem, 0.97rem + 0.24vw, 1.12rem);
  --fs-h4: clamp(1.02rem, 0.96rem + 0.3vw, 1.14rem);
  --fs-h3: clamp(1.14rem, 1.04rem + 0.5vw, 1.35rem);
  --fs-h2: clamp(1.5rem, 1.24rem + 1.25vw, 2.2rem);
  --fs-h1: clamp(1.72rem, 1.3rem + 2.05vw, 3rem);

  /* Spacing */
  --space-section: clamp(52px, 6vw, 92px);
  --gutter: clamp(16px, 4vw, 24px);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Elevation — soft, layered, never muddy */
  --shadow-xs: 0 1px 2px rgba(16, 26, 51, .06);
  --shadow-sm: 0 2px 6px rgba(16, 26, 51, .07), 0 1px 2px rgba(16, 26, 51, .04);
  --shadow-md: 0 6px 20px rgba(16, 26, 51, .09), 0 2px 6px rgba(16, 26, 51, .05);
  --shadow-lg: 0 16px 40px rgba(16, 26, 51, .12), 0 4px 12px rgba(16, 26, 51, .06);
  --shadow-xl: 0 28px 64px rgba(16, 26, 51, .18), 0 8px 20px rgba(16, 26, 51, .08);
  --shadow-brand: 0 8px 24px rgba(232, 116, 12, .28);

  --ring: 0 0 0 3px rgba(232, 116, 12, .38);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --header-h: 118px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--primary-200); color: var(--ink); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Icons inherit colour and scale with their text */
.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
  color: inherit;
  vertical-align: -0.14em;
}

/* Accessibility helpers ---------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 3000;
  padding: 12px 22px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.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;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.navbar :focus-visible,
.footer :focus-visible,
.top-bar :focus-visible,
.hero :focus-visible,
.cta-section :focus-visible,
.corporate-section :focus-visible { outline-color: var(--primary-light); }

/* ==========================================================================
   3. TOP UTILITY BAR
   ========================================================================== */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  font-size: var(--fs-xs);
  padding: 9px 0;
  position: relative;
  z-index: 60;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  flex-wrap: wrap;
}
.top-bar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.top-bar-left a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s var(--ease); }
.top-bar-left a:hover { color: var(--primary-light); }
.top-bar-left .ico { font-size: 1.05em; opacity: .85; }

.top-bar-right { display: flex; align-items: center; gap: 14px; }
.top-bar-right > a[aria-label] {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-size: 0.9rem;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.top-bar-right > a[aria-label]:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.tb-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .16); }

.tb-rating {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px 4px 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-pill);
  transition: background .2s var(--ease);
}
.tb-rating:hover { background: rgba(255, 255, 255, .14); }
.tb-rating .ico { font-size: 1.05rem; }
.tb-rating strong { color: var(--white); font-weight: 700; }
.tb-stars { display: inline-flex; gap: 1px; color: var(--star); font-size: .74rem; }
.tb-count { color: rgba(255, 255, 255, .62); }

/* ==========================================================================
   4. ANNOUNCEMENT BANNER
   ========================================================================== */
.placement-banner {
  background: linear-gradient(94deg, var(--primary-dark), var(--primary) 45%, var(--primary-light));
  color: var(--white);
  padding: 9px 0;
  font-size: var(--fs-sm);
  position: relative;
  z-index: 59;
}
.placement-banner .container {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; text-align: center; flex-wrap: wrap;
}
.placement-banner .ico { font-size: 1.15rem; opacity: .95; }
.placement-banner p { margin: 0; }
.placement-banner strong { font-weight: 800; }
.placement-banner a {
  color: var(--white);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  white-space: nowrap;
}
.placement-banner a:hover { border-bottom-color: var(--white); }

/* ==========================================================================
   5. PRIMARY NAVIGATION
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .25s var(--ease), padding .25s var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow-md); border-bottom-color: transparent; }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  transition: min-height .25s var(--ease);
}
.navbar.scrolled .navbar-inner { min-height: 62px; }

/* ---- Logo lockup: vector mark + live text, sharp at every pixel density ---- */
.navbar-logo { display: flex; align-items: center; gap: 12px; flex: none; }

.logo-mark {
  width: auto;
  height: 46px;
  aspect-ratio: 122 / 176;
  flex: none;
  overflow: visible;
  transition: height .25s var(--ease);
}
.navbar.scrolled .logo-mark { height: 40px; }

.logo-lockup { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.logo-word {
  font-family: 'Michroma', var(--font-head), sans-serif;
  font-size: .93rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .005em;
  white-space: nowrap;
  /* Michroma ships a single light weight; a hairline stroke gives it the
     heavier presence the printed logo has, without a second font file. */
  -webkit-text-stroke: .55px currentColor;
  paint-order: stroke fill;
}
.logo-tag {
  font-family: var(--font-body);
  font-style: normal;
  font-size: .625rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gray-500);
  letter-spacing: .008em;
  white-space: nowrap;
}

/* Footer sits on the dark navy panel */
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo .logo-mark { height: 52px; }
.footer-logo .logo-word { color: var(--white); }
.footer-logo .logo-tag { color: rgba(255, 255, 255, .55); }

.navbar-menu { display: flex; align-items: center; gap: 4px; }
.navbar-menu > a,
.dropdown-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.navbar-menu > a:hover,
.dropdown-trigger:hover { color: var(--primary); background: var(--primary-50); }
.navbar-menu > a.active,
.dropdown-trigger.active { color: var(--primary); }
.navbar-menu > a.active::after,
.dropdown-trigger.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: -1px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}
.navbar-menu > a, .dropdown { position: relative; }
.navbar-cta.active::after { display: none; }

/* Courses mega-dropdown */
.dropdown-trigger .caret { font-size: .8rem; transition: transform .25s var(--ease); }
.dropdown:hover .caret,
.dropdown-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }

.dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  width: min(560px, 92vw);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown::after {
  content: '';
  position: absolute; top: 100%; left: 0; right: 0; height: 14px;
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-content a {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: background .16s var(--ease);
}
.dropdown-content a:hover { background: var(--primary-50); }
.dropdown-content a > .ico {
  font-size: 1.15rem;
  color: var(--primary);
  margin-top: 2px;
}
.dropdown-content a span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dropdown-content strong {
  font-family: var(--font-head);
  font-size: .855rem; font-weight: 600; color: var(--gray-900);
}
.dropdown-content em {
  font-style: normal;
  font-size: .735rem; color: var(--gray-500); line-height: 1.35;
}
.dropdown-all {
  grid-column: 1 / -1;
  justify-content: center; align-items: center !important;
  margin-top: 4px; padding: 11px !important;
  background: var(--primary-50);
  color: var(--primary-dark) !important;
  font-family: var(--font-head);
  font-weight: 700; font-size: .85rem;
}
.dropdown-all:hover { background: var(--primary-100) !important; }
.dropdown-all .ico { color: inherit !important; font-size: .95rem !important; margin: 0 !important; }

.navbar-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 11px 20px !important;
  border-radius: var(--r-sm) !important;
  font-weight: 700 !important;
  margin-left: 8px;
  box-shadow: var(--shadow-brand);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease) !important;
}
.navbar-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(232, 116, 12, .36);
}
.navbar-cta .ico { font-size: .95rem; }

.mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 1.6rem;
  background: var(--gray-100);
}
.mobile-toggle .ico-close { display: none; }
.mobile-toggle[aria-expanded="true"] .ico-open { display: none; }
.mobile-toggle[aria-expanded="true"] .ico-close { display: block; }

.navbar-mobile-contact { display: none; }
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(16, 26, 51, .55);
  backdrop-filter: blur(2px);
  z-index: 190;
  animation: fadeIn .2s var(--ease);
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  font-family: var(--font-head);
  font-size: .92rem; font-weight: 700;
  line-height: 1.2;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .18s var(--ease), box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { font-size: 1.05em; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 12px 30px rgba(232, 116, 12, .38); }

.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-600); box-shadow: var(--shadow-lg); }

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

.btn-white { background: var(--white); color: var(--primary-dark); }
.btn-white:hover { background: var(--primary-50); box-shadow: var(--shadow-lg); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }

.btn-whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { background: #1DAF54; box-shadow: 0 12px 28px rgba(37, 211, 102, .38); }

/* ==========================================================================
   7. SECTION SCAFFOLDING
   ========================================================================== */
.section { padding: var(--space-section) 0; }
.section.bg-light { background: var(--gray-100); }
.section.bg-tint { background: var(--primary-50); }

.section-header { margin-bottom: clamp(32px, 4vw, 52px); }
.section-header.center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-header > p {
  color: var(--gray-600);
  font-size: var(--fs-lg);
  margin-top: 12px;
  line-height: 1.7;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 15px;
  background: var(--primary-50);
  color: var(--primary-dark);
  border: 1px solid var(--primary-100);
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag .ico { font-size: .95rem; }
.hl { color: var(--primary); }

/* Scroll reveal. Guarded by .js so that with scripting unavailable — or if the
   observer never fires — the content is simply visible rather than invisible. */
.fade-up { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .fade-up { opacity: 0; transform: translateY(22px); }
.js .fade-up.visible { opacity: 1; transform: none; }

/* ==========================================================================
   8. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(40px, 5vw, 68px) 0 clamp(48px, 5vw, 72px);
  background:
    radial-gradient(1000px 520px at 82% -8%, rgba(232, 116, 12, .22), transparent 62%),
    radial-gradient(760px 420px at 4% 108%, rgba(36, 103, 216, .2), transparent 62%),
    linear-gradient(150deg, var(--navy) 0%, #142449 52%, var(--navy-600) 100%);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.hero-content { min-width: 0; }

.hero-rating {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 7px 16px 7px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
  transition: background .2s var(--ease);
}
.hero-rating:hover { background: rgba(255, 255, 255, .15); }
.hero-rating .ico-g { font-size: 1.1rem; }
.hero-rating .stars { display: inline-flex; gap: 2px; color: var(--star); font-size: .82rem; }
.hero-rating .text { color: rgba(255, 255, 255, .92); font-weight: 600; font-size: .82rem; }
.hero-rating .text b { color: var(--white); }

/* Rotating headline: the first line is the real, always-present H1 */
.hero-taglines { position: relative; margin-bottom: 18px; display: grid; }
.hero-taglines .tagline {
  grid-area: 1 / 1;
  color: var(--white);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.025em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.hero-taglines .tagline.active { opacity: 1; transform: none; pointer-events: auto; }
.hero-taglines .hl { color: var(--primary-light); }

.hero-lede {
  color: rgba(255, 255, 255, .78);
  font-size: var(--fs-lg);
  line-height: 1.72;
  max-width: 560px;
  margin-bottom: 26px;
}

.hero-visuals { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-visual-item {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-md);
  padding: 10px 15px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.hero-visual-item:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.hero-visual-item .ico { font-size: 1.3rem; color: var(--primary-light); }
.hero-visual-item span { color: rgba(255, 255, 255, .92); font-weight: 600; font-size: .82rem; white-space: nowrap; }

.hero-features { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 28px; }
.hero-feature { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .86); font-size: .88rem; font-weight: 600; }
.hero-feature .ico { color: var(--primary-light); font-size: 1rem; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero enquiry card */
.hero-form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}
.hero-form-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--primary-light));
  color: var(--white);
  padding: 22px 26px;
}
.hero-form-header h2, .hero-form-header h3 {
  color: var(--white);
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; gap: 9px;
}
.hero-form-header p { font-size: .84rem; color: rgba(255, 255, 255, .9); margin-top: 5px; }
.hero-form-body { padding: 24px 26px 26px; }
.form-note {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  text-align: center; font-size: .76rem; color: var(--gray-500); margin-top: 14px;
}

/* ==========================================================================
   9. FORMS
   ========================================================================== */
.form-group { margin-bottom: 14px; }
.form-group > label {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group .req { color: var(--accent-red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: .93rem;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  color: var(--gray-900);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6273' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--ring);
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--accent-red); background: #FEF6F6; }

.field-error {
  display: flex; align-items: center; gap: 5px;
  font-size: .76rem; color: var(--accent-red); margin-top: 5px; font-weight: 600;
}
.form-group:not(.has-error) .field-error { display: none; }

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .98rem; font-weight: 700;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: var(--shadow-brand);
  transition: background .22s var(--ease), transform .18s var(--ease), box-shadow .22s var(--ease);
}
.btn-submit:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-2px); }
.btn-submit:disabled { opacity: .62; cursor: wait; transform: none; }

/* ==========================================================================
   10. TRUST / LOGO MARQUEE
   ========================================================================== */
.logos-section {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 30px 0 34px;
  overflow: hidden;
}
.section-label {
  text-align: center;
  font-family: var(--font-head);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.logos-track {
  display: flex; gap: 46px; width: max-content;
  animation: marquee 42s linear infinite;
}
.logos-section:hover .logos-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.logo-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 1.02rem; font-weight: 700;
  color: var(--gray-400);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.logo-item:hover { color: var(--gray-700); }

/* ==========================================================================
   11. STATS
   ========================================================================== */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  padding: clamp(38px, 4vw, 56px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 8px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute; left: -10px; top: 12%; bottom: 12%;
  width: 1px; background: rgba(255, 255, 255, .13);
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 1.3rem + 2.1vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.stat-label {
  color: rgba(255, 255, 255, .72);
  font-size: .82rem; font-weight: 600;
  margin-top: 7px;
}

/* ==========================================================================
   12. COURSE CARDS
   ========================================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
}
.course-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
/* The title link is stretched across the whole card, so the entire card is one
   large tap target instead of a 25px-tall line of text. The explicit CTA below
   is lifted above it so it still registers its own click. */
.course-card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.course-card-link { position: relative; z-index: 2; }
.course-card:focus-within { border-color: var(--primary-200); box-shadow: var(--shadow-lg); }
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}
.course-card-top { padding: 24px 24px 18px; flex: 1; }
.course-card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 15px;
}
.course-card-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: .69rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 11px;
}
.course-card-title { font-size: 1.14rem; margin-bottom: 9px; line-height: 1.32; }
.course-card-title a { transition: color .2s var(--ease); }
.course-card:hover .course-card-title a { color: var(--primary); }
.course-card-rating { display: flex; align-items: center; gap: 7px; margin-bottom: 11px; font-size: .8rem; }
.course-card-rating .stars { display: inline-flex; gap: 1px; color: var(--star); }
.course-card-rating .score { font-weight: 700; color: var(--gray-800); }
.course-card-rating .count { color: var(--gray-500); }
.course-card-top p { color: var(--gray-600); font-size: .885rem; line-height: 1.65; }

.course-card-bottom {
  padding: 15px 24px 20px;
  border-top: 1px solid var(--gray-150);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.course-card-meta { display: flex; gap: 14px; font-size: .78rem; color: var(--gray-500); font-weight: 600; }
.course-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 700; font-size: .84rem;
  transition: gap .2s var(--ease);
}
.course-card-link:hover { gap: 10px; }

/* ==========================================================================
   13. WHY-CHOOSE-US CARDS
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-200); }
.why-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 17px;
}
.why-card h3, .why-card h4 { font-size: 1.05rem; margin-bottom: 9px; }
.why-card p { color: var(--gray-600); font-size: .885rem; line-height: 1.68; }

/* ==========================================================================
   14. PLACEMENT SECTION
   ========================================================================== */
.placement-section { background: var(--gray-100); }
.placement-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.placement-grid > div > p { color: var(--gray-600); line-height: 1.75; margin-bottom: 10px; }
.placement-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.placement-stat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 16px 10px;
  text-align: center;
}
.placement-stat .num {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800; color: var(--primary);
  line-height: 1.1;
}
.placement-stat .label { font-size: .74rem; color: var(--gray-600); font-weight: 600; margin-top: 4px; }

.alumni-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.alumni-logo {
  padding: 9px 17px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: .84rem; font-weight: 600; color: var(--gray-700);
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.alumni-logo:hover { border-color: var(--primary-200); color: var(--primary-dark); transform: translateY(-2px); }
.alumni-note { font-size: .76rem; color: var(--gray-500); margin-top: 14px; line-height: 1.6; }

/* ==========================================================================
   15. TESTIMONIALS
   ========================================================================== */
.testimonials-section { background: var(--white); overflow: hidden; }
.testimonials-track {
  display: flex; gap: 20px; width: max-content;
  padding: 8px 0 20px;
  animation: marquee 66s linear infinite;
}
.testimonials-section:hover .testimonials-track,
.testimonials-track:focus-within { animation-play-state: paused; }
.testimonial-card {
  width: 348px;
  flex: none;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-200); }
.testimonial-stars { display: flex; gap: 2px; color: var(--star); font-size: .92rem; margin-bottom: 13px; }
.testimonial-text {
  color: var(--gray-700);
  font-size: .9rem; line-height: 1.75;
  flex: 1; margin-bottom: 18px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 700;
}
.testimonial-name { font-family: var(--font-head); font-weight: 700; font-size: .89rem; color: var(--gray-900); }
.testimonial-role { font-size: .765rem; color: var(--gray-500); display: flex; align-items: center; gap: 5px; }
.testimonial-role .ico { font-size: .9rem; }

.reviews-cta { text-align: center; margin-top: 8px; }

/* ==========================================================================
   16. CORPORATE
   ========================================================================== */
.corporate-section {
  background:
    radial-gradient(760px 400px at 88% 8%, rgba(232, 116, 12, .16), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  color: var(--white);
  padding: var(--space-section) 0;
}
.corporate-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.corporate-section h2 { color: var(--white); margin-bottom: 14px; }
.corporate-section > .container p { color: rgba(255, 255, 255, .75); line-height: 1.75; }
.corporate-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 11px; margin-top: 24px;
}
.corporate-feature { display: flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .88); font-size: .875rem; font-weight: 600; }
.corporate-feature .ico { color: var(--primary-light); font-size: 1rem; }

.corporate-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  text-align: center;
}
.corporate-card .ico-big { font-size: 2.6rem; color: var(--primary-light); margin: 0 auto 16px; }
.corporate-card h3 { color: var(--white); font-size: 1.22rem; margin-bottom: 8px; }
.corporate-card p { color: rgba(255, 255, 255, .68); font-size: .875rem; }
.corporate-tags { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.corporate-tags span {
  padding: 6px 14px;
  background: rgba(255, 255, 255, .09);
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, .8);
  font-size: .8rem; font-weight: 600;
}

/* ==========================================================================
   17. FAQ
   ========================================================================== */
.faq-section { background: var(--gray-100); }
.faq-list { max-width: 840px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease);
}
.faq-item.open { border-color: var(--primary-200); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-size: .96rem; font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.faq-question:hover { color: var(--primary); background: var(--primary-50); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-question .arrow { flex: none; font-size: 1.05rem; color: var(--primary); transition: transform .3s var(--ease); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--gray-600);
  font-size: .9rem; line-height: 1.75;
}
.faq-answer-inner a { color: var(--primary-dark); font-weight: 600; border-bottom: 1px solid var(--primary-200); }

/* ==========================================================================
   18. CTA BAND
   ========================================================================== */
.cta-section {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: var(--white);
  padding: clamp(48px, 5vw, 76px) 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 50% 120%, rgba(255, 255, 255, .18), transparent 65%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: var(--white); margin-bottom: 12px; }
.cta-section > .container > p {
  color: rgba(255, 255, 255, .92);
  font-size: var(--fs-lg);
  max-width: 640px; margin: 0 auto 28px;
}
.cta-btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.cta-meta {
  display: flex; gap: 8px 24px; justify-content: center; flex-wrap: wrap;
  margin-top: 24px; font-size: .84rem; color: rgba(255, 255, 255, .88); font-weight: 600;
}
.cta-meta span { display: inline-flex; align-items: center; gap: 7px; }

/* ==========================================================================
   19. INNER PAGE HERO + BREADCRUMB
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(820px 380px at 88% -20%, rgba(232, 116, 12, .2), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #142449 60%, var(--navy-600) 100%);
  color: var(--white);
  padding: clamp(30px, 4vw, 52px) 0 clamp(36px, 4vw, 56px);
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .subtitle {
  color: rgba(255, 255, 255, .8);
  font-size: var(--fs-lg);
  max-width: 720px; line-height: 1.7;
}
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .58);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255, 255, 255, .78); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb [aria-current] { color: var(--primary-light); font-weight: 600; }
.breadcrumb .sep { opacity: .5; }

.page-hero-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.page-hero-rating { display: inline-flex; align-items: center; gap: 7px; }
.page-hero-rating .stars { display: inline-flex; gap: 1px; color: var(--star); font-size: .86rem; }
.page-hero-rating span { color: rgba(255, 255, 255, .9); font-weight: 700; font-size: .84rem; }

/* ==========================================================================
   20. COURSE DETAIL PAGE
   ========================================================================== */
.course-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}
.course-detail-grid h2 { font-size: var(--fs-h3); margin-bottom: 14px; }
.course-detail-grid h3 {
  font-size: 1.12rem;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 9px;
}
.course-detail-grid h3 .ico { color: var(--primary); font-size: 1.2rem; }
.course-detail-grid > div > p { color: var(--gray-600); line-height: 1.8; }

.prose-block { margin-bottom: 34px; }
.info-panel {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-md);
  padding: 26px 28px;
  margin-bottom: 26px;
}
.info-panel p { color: var(--gray-600); line-height: 1.8; }

/* Syllabus accordion */
.syllabus-module {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--white);
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease);
}
.syllabus-module.open { border-color: var(--primary-200); box-shadow: var(--shadow-sm); }
.module-header {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px;
  text-align: left;
  transition: background .2s var(--ease);
}
.module-header:hover { background: var(--primary-50); }
.module-num {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--primary-50);
  color: var(--primary-dark);
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 800;
}
.syllabus-module.open .module-num { background: var(--primary); color: var(--white); }
.module-header h4 { flex: 1; font-size: .95rem; font-weight: 600; }
.module-header .arrow { flex: none; color: var(--primary); font-size: 1.05rem; transition: transform .3s var(--ease); }
.syllabus-module.open .module-header .arrow { transform: rotate(180deg); }
.module-body { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.module-body-inner {
  padding: 0 18px 18px 66px;
  color: var(--gray-600);
  font-size: .885rem; line-height: 1.75;
}

/* Sticky sidebar */
.course-sidebar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 92px;
}
.course-sidebar h3 { font-size: 1.06rem; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-150); }
.sidebar-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 9px 0;
  border-bottom: 1px dashed var(--gray-200);
  font-size: .85rem;
}
.sidebar-item:last-of-type { border-bottom: 0; }
.sidebar-item .label { color: var(--gray-600); display: inline-flex; align-items: center; gap: 7px; }
.sidebar-item .label .ico { color: var(--primary); font-size: 1rem; }
.sidebar-item .value { font-weight: 700; color: var(--gray-900); text-align: right; }

.sidebar-features { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--gray-150); }
.sidebar-features h4 { font-size: .92rem; margin-bottom: 12px; }
.sidebar-feature {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: .85rem; color: var(--gray-700);
  padding: 6px 0; line-height: 1.6;
}
.sidebar-feature .check {
  flex: none; margin-top: 3px;
  width: 17px; height: 17px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-green);
  color: var(--white);
  font-size: .62rem;
}
.sidebar-actions { margin-top: 22px; display: grid; gap: 10px; }
.sidebar-emi {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  text-align: center; font-size: .77rem; color: var(--gray-500); margin-top: 12px;
}

/* Related courses */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.related-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 16px 18px;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-200); }
.related-card .ico { font-size: 1.4rem; color: var(--primary); }
.related-card strong { font-family: var(--font-head); font-size: .9rem; display: block; }
.related-card em { font-style: normal; font-size: .76rem; color: var(--gray-500); }

/* ==========================================================================
   21. CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}
.contact-card {
  display: flex; gap: 15px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 14px;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-200); }
.contact-card .contact-icon {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1.35rem;
}
.contact-card h3 { font-size: .96rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--gray-600); font-size: .875rem; line-height: 1.6; }
.contact-card a:hover { color: var(--primary); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 8;
  min-height: 300px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-150);
  display: grid; place-items: center;
  cursor: pointer;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { text-align: center; color: var(--gray-600); padding: 20px; }
.map-placeholder .ico { font-size: 2.2rem; color: var(--primary); margin: 0 auto 10px; }
.map-placeholder strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.map-placeholder span { font-size: .82rem; }

/* ==========================================================================
   22. ABOUT PAGE
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.about-grid p { color: var(--gray-600); line-height: 1.85; margin-bottom: 14px; }

.trainer-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.trainer-avatar {
  width: 96px; height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-family: var(--font-head);
  font-size: 2.2rem; font-weight: 800;
  box-shadow: var(--shadow-brand);
}
.trainer-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.trainer-card .role { color: var(--primary); font-weight: 700; font-size: .85rem; margin-bottom: 14px; }
.trainer-card p { color: var(--gray-600); font-size: .885rem; line-height: 1.75; }
.trainer-skills { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 18px; }
.trainer-skills span {
  padding: 5px 12px;
  background: var(--primary-50);
  color: var(--primary-dark);
  border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 600;
}

.timeline { max-width: 780px; margin-inline: auto; position: relative; padding-left: 34px; }
.timeline::before {
  content: '';
  position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; background: var(--gray-200);
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -29px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-100);
}
.timeline-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.timeline-item p { color: var(--gray-600); font-size: .89rem; line-height: 1.72; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

/* ==========================================================================
   23. LEGAL / LONG-FORM CONTENT
   ========================================================================== */
.legal-content { max-width: 820px; margin-inline: auto; }
.legal-content h2 {
  font-size: 1.24rem;
  margin: 34px 0 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--gray-200);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.02rem; margin: 20px 0 8px; }
.legal-content p, .legal-content li { color: var(--gray-600); line-height: 1.82; margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-content li::marker { color: var(--primary); }
.legal-content a { color: var(--primary-dark); font-weight: 600; border-bottom: 1px solid var(--primary-200); }
.legal-updated {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--primary-50);
  border-radius: var(--r-pill);
  font-size: .82rem; color: var(--primary-dark); font-weight: 600;
  margin-bottom: 28px;
}

/* 404 */
.error-page { text-align: center; padding: clamp(60px, 9vw, 120px) 0; }
.error-code {
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--primary);
  letter-spacing: -.04em;
}
.error-page h1 { margin: 12px 0 12px; }
.error-page > .container > p { color: var(--gray-600); font-size: var(--fs-lg); max-width: 540px; margin: 0 auto 28px; }
.error-links {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--gray-200);
  max-width: 720px; margin-inline: auto;
}
.error-links a {
  padding: 8px 16px;
  background: var(--gray-100);
  border-radius: var(--r-pill);
  font-size: .84rem; font-weight: 600; color: var(--gray-700);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.error-links a:hover { background: var(--primary-50); color: var(--primary-dark); }

/* ==========================================================================
   24. FOOTER
   ========================================================================== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .68);
  padding: clamp(48px, 5vw, 70px) 0 0;
  font-size: .885rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1.35fr;
  gap: clamp(26px, 3vw, 44px);
  padding-bottom: 42px;
}
.footer-brand p { line-height: 1.75; margin-bottom: 18px; font-size: .855rem; }

.footer-rating {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--r-md);
  margin-bottom: 18px;
  transition: background .2s var(--ease);
}
.footer-rating:hover { background: rgba(255, 255, 255, .12); }
.footer-rating .ico { font-size: 1.5rem; }
.footer-rating span { display: flex; flex-direction: column; }
.footer-rating strong { color: var(--white); font-family: var(--font-head); font-size: .9rem; }
.footer-rating em { font-style: normal; font-size: .76rem; color: rgba(255, 255, 255, .55); }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

.footer-col h2, .footer h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: .95rem; font-weight: 700;
  margin-bottom: 16px;
  position: relative; padding-bottom: 10px;
}
.footer-col h2::after, .footer h4::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 32px; height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  color: rgba(255, 255, 255, .66);
  font-size: .85rem;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer-links a:hover { color: var(--primary-light); padding-left: 5px; }

.footer-contact { display: flex; flex-direction: column; gap: 13px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: .85rem; line-height: 1.6;
  color: rgba(255, 255, 255, .66);
  transition: color .2s var(--ease);
}
a.footer-contact-item:hover { color: var(--primary-light); }
.footer-contact-item .ico { color: var(--primary); font-size: 1.05rem; margin-top: 2px; flex: none; }

.footer-map-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 9px 17px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-sm);
  color: var(--primary-light);
  font-weight: 700; font-size: .84rem;
  transition: background .2s var(--ease);
}
.footer-map-btn:hover { background: rgba(255, 255, 255, .14); }

.footer-areas {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.footer-areas h2 {
  color: rgba(255, 255, 255, .82);
  font-size: .84rem; font-weight: 700;
  margin-bottom: 8px; padding: 0;
  letter-spacing: .02em;
}
.footer-areas h2::after { display: none; }
.footer-areas p { font-size: .79rem; line-height: 1.85; color: rgba(255, 255, 255, .45); }
.footer-areas span { color: rgba(255, 255, 255, .62); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { transition: color .2s var(--ease); }
.footer-legal a:hover { color: var(--primary-light); }

/* ==========================================================================
   25. FLOATING + STICKY ACTIONS
   ========================================================================== */
.float-whatsapp {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  font-size: 1.85rem;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .42);
  z-index: 150;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.float-whatsapp:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 211, 102, .55); }
.float-whatsapp::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: ripple 2.4s ease-out infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: .7 }
  100% { transform: scale(1.6); opacity: 0 }
}

.back-to-top {
  position: fixed;
  right: 20px; bottom: 86px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  z-index: 149;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s, background .2s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary); }

/* Mobile conversion bar — hidden above 768px */
.mobile-action-bar { display: none; }

/* ==========================================================================
   26. RESPONSIVE
   ========================================================================== */

/* ---- Large tablet / small laptop ---- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer-brand { grid-column: 1 / -1; }
  .navbar-menu > a, .dropdown-trigger { padding: 9px 11px; font-size: .86rem; }
  .navbar-logo-text em { display: none; }
}

/* ---- Tablet: collapse navigation into a drawer ---- */
@media (max-width: 992px) {
  .mobile-toggle { display: flex; flex: none; min-width: 44px; }
  .tb-loc, .tb-count { display: none; }
  /* The wordmark must never squeeze the menu button below its tap target. */
  .navbar-logo { min-width: 0; }
  .logo-lockup { min-width: 0; overflow: hidden; }

  .navbar-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(360px, 88vw);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 84px 18px 32px;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 195;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform .32s var(--ease), visibility .32s;
  }
  .navbar-menu.open { transform: none; visibility: visible; }

  .navbar-menu > a,
  .dropdown-trigger {
    padding: 13px 14px;
    font-size: .96rem;
    border-radius: var(--r-sm);
    justify-content: space-between;
  }
  .navbar-menu > a.active::after,
  .dropdown-trigger.active::after { display: none; }
  .navbar-menu > a.active,
  .dropdown-trigger.active { background: var(--primary-50); }
  .dropdown { width: 100%; }
  .dropdown-trigger { width: 100%; }

  .dropdown-content {
    position: static;
    width: 100%;
    translate: none;
    transform: none;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--gray-200);
    border-radius: 0;
    margin: 2px 0 6px 14px;
    padding: 2px 0 2px 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 1; visibility: visible;
    transition: max-height .32s var(--ease);
  }
  .dropdown:hover .dropdown-content { max-height: 0; }
  .dropdown.open .dropdown-content { max-height: 760px; }
  .dropdown-content a { padding: 10px 10px; }
  .dropdown-content em { display: none; }
  .dropdown::after { display: none; }

  .navbar-cta {
    margin: 12px 0 0 !important;
    padding: 14px 20px !important;
    justify-content: center;
  }
  .navbar-mobile-contact {
    display: flex; flex-direction: column; gap: 4px;
    margin-top: 18px; padding-top: 18px;
    border-top: 1px solid var(--gray-200);
  }
  .navbar-mobile-contact a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px;
    font-size: .88rem; font-weight: 600;
    color: var(--gray-700);
    border-radius: var(--r-sm);
  }
  .navbar-mobile-contact a:hover { background: var(--gray-100); color: var(--primary); }
  .navbar-mobile-contact .ico { color: var(--primary); font-size: 1.1rem; }

  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-lede { max-width: none; }
  .hero-form-card { max-width: 520px; margin-inline: auto; width: 100%; }

  .course-detail-grid { grid-template-columns: 1fr; }
  .course-sidebar { position: static; order: -1; }
  .placement-grid,
  .corporate-grid,
  .contact-grid,
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .stat-item:nth-child(odd)::before { display: none; }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  :root { --header-h: 104px; }

  .top-bar { font-size: .74rem; padding: 7px 0; }
  .top-bar-inner { justify-content: center; gap: 8px 16px; }
  .top-bar-left { gap: 14px; justify-content: center; }
  .top-bar-left a[href^="mailto"] span { display: none; }
  .tb-sep, .top-bar-right > a[aria-label] { display: none; }
  .top-bar-right { order: -1; width: 100%; justify-content: center; }
  .tb-count { display: inline; }

  .placement-banner { font-size: .76rem; }
  .placement-banner .container { gap: 7px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-logo { margin-inline: auto; }
  .footer-social, .footer-rating { justify-content: center; margin-inline: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-legal { justify-content: center; }

  .placement-stats { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { width: min(320px, 84vw); }
  .cta-btns .btn, .hero-btns .btn { flex: 1 1 220px; }

  /* Sticky conversion bar */
  .mobile-action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 160;
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 1px;
    background: var(--gray-200);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(16, 26, 51, .1);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mobile-action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px;
    padding: 9px 4px;
    background: var(--white);
    color: var(--gray-700);
    font-family: var(--font-head);
    font-size: .7rem; font-weight: 700;
    min-height: 56px;
  }
  .mobile-action-bar a .ico { font-size: 1.25rem; color: var(--primary); }
  .mobile-action-bar a:active { background: var(--gray-100); }
  .mobile-action-bar .mab-primary { background: var(--primary); color: var(--white); }
  .mobile-action-bar .mab-primary .ico { color: var(--white); }

  body { padding-bottom: 62px; }

  /* Touch targets: give every standalone link a comfortable hit area.
     Inline links inside prose are deliberately left alone — padding them
     out would wreck the line rhythm of the paragraph they sit in. */
  .course-card-link,
  .footer-links a,
  .footer-legal a,
  .footer-contact-item,
  .error-links a,
  .top-bar-left a,
  .tb-rating,
  .navbar-mobile-contact a,
  .dropdown-content a,
  .breadcrumb a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .footer-links a, .footer-legal a, .error-links a { justify-content: center; }
  .course-card-link { display: inline-flex; }
  .breadcrumb { gap: 4px 8px; }
  .breadcrumb a { min-height: 36px; }
  .top-bar-left a, .tb-rating { min-height: 34px; }

  .float-whatsapp { width: 50px; height: 50px; font-size: 1.6rem; right: 14px; bottom: 72px; }
  .float-whatsapp::after { display: none; }
  .back-to-top { right: 14px; bottom: 130px; width: 40px; height: 40px; }

  .map-embed { aspect-ratio: 4 / 3; min-height: 260px; }
  .module-body-inner { padding-left: 18px; }
}

/* ---- Small mobile ---- */
@media (max-width: 560px) {
  .stats-grid { gap: 22px 12px; }
  .placement-stats { gap: 10px; }
  .hero-visuals { gap: 8px; }
  .hero-visual-item { padding: 8px 12px; }
  .hero-visual-item span { font-size: .76rem; }
  .hero-visual-item .ico { font-size: 1.15rem; }
  .hero-features { gap: 7px 14px; }
  .course-card-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col h2::after { left: 50%; transform: translateX(-50%); }
  .footer-links, .footer-contact { align-items: center; }
  .footer-contact-item { justify-content: center; text-align: center; }
  .footer-map-btn { margin-inline: auto; }
  .footer-links a:hover { padding-left: 0; }
  .btn, .btn-lg { width: 100%; }
  .cta-btns, .hero-btns, .sidebar-actions { width: 100%; }
  .legal-content h2 { font-size: 1.12rem; }
  .timeline { padding-left: 26px; }
  .timeline-item::before { left: -21px; }
}

@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .navbar-logo-text strong { font-size: .96rem; }
  .navbar-logo img { width: 40px; height: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .mobile-action-bar a { font-size: .64rem; }
}

/* ==========================================================================
   27. MOTION, PRINT & HIGH-CONTRAST PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .logos-track, .testimonials-track { animation: none; }
  .fade-up { opacity: 1; transform: none; }
  .float-whatsapp::after { display: none; }
}

@media print {
  .top-bar, .placement-banner, .navbar, .float-whatsapp, .back-to-top,
  .mobile-action-bar, .cta-section, .logos-section, .nav-overlay,
  .hero-form-card, .footer-social, .footer-map-btn { display: none !important; }
  body { color: #000; background: #fff; padding: 0; }
  .hero, .page-hero, .stats-section, .corporate-section, .footer {
    background: none !important; color: #000 !important;
  }
  .hero h1, .page-hero h1, .footer h2, .corporate-section h2,
  .hero-taglines .tagline, .page-hero .subtitle { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
  .faq-answer, .module-body { max-height: none !important; }
  .section { padding: 18px 0; break-inside: avoid; }
}

@media (forced-colors: active) {
  .btn, .course-card, .why-card, .faq-item, .syllabus-module { border: 1px solid ButtonText; }
  .ico { forced-color-adjust: auto; }
}

/* ==========================================================================
   28. BLOG — listing, pagination and article layout
   ========================================================================== */

/* ---- Listing grid ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-200); }
.post-card:focus-within { border-color: var(--primary-200); box-shadow: var(--shadow-lg); }

.post-card-banner {
  height: 108px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #142449 60%, var(--navy-600) 100%);
  position: relative;
  overflow: hidden;
}
.post-card-banner::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.post-card-banner .ico { font-size: 2.3rem; color: var(--primary-light); position: relative; z-index: 1; }

.post-card-body { padding: 20px 22px 16px; flex: 1; display: flex; flex-direction: column; }
.post-cat {
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--primary-50);
  color: var(--primary-dark);
  font-family: var(--font-head);
  font-size: .67rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 11px;
}
.post-card h3 { font-size: 1.06rem; line-height: 1.35; margin-bottom: 9px; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.post-card:hover h3 a { color: var(--primary); }
.post-card p { color: var(--gray-600); font-size: .875rem; line-height: 1.65; flex: 1; }

.post-meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 6px 14px;
  font-size: .765rem; color: var(--gray-500); font-weight: 600;
  margin-top: 14px; padding-top: 13px;
  border-top: 1px solid var(--gray-150);
}
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-meta .ico { font-size: .92rem; }

/* The lead post spans two columns on wide screens */
@media (min-width: 900px) {
  .blog-grid > .post-card.featured { grid-column: span 2; flex-direction: row; }
  .blog-grid > .post-card.featured .post-card-banner { height: auto; width: 220px; flex: none; }
  .blog-grid > .post-card.featured .post-card-banner .ico { font-size: 3rem; }
  .blog-grid > .post-card.featured h3 { font-size: 1.35rem; }
}

/* ---- Pagination ---- */
.pagination {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px;
  margin-top: 44px;
}
.pagination a, .pagination span {
  min-width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: 0 15px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  background: var(--white);
  font-family: var(--font-head);
  font-size: .88rem; font-weight: 600;
  color: var(--gray-700);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.pagination a:hover { background: var(--primary-50); border-color: var(--primary-200); color: var(--primary-dark); }
.pagination .current {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-brand);
}
.pagination .disabled { opacity: .4; }
.pagination .gap { border: 0; background: none; min-width: 20px; padding: 0; color: var(--gray-400); }
.pagination-info {
  text-align: center;
  margin-top: 14px;
  font-size: .82rem;
  color: var(--gray-500);
}

/* ---- Article ---- */
.article-wrap { max-width: 780px; margin-inline: auto; }

.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
  margin-bottom: 14px;
  font-size: .82rem; color: rgba(255,255,255,.72); font-weight: 600;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .ico { color: var(--primary-light); font-size: 1rem; }
.article-cat {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(232,116,12,.2);
  border: 1px solid rgba(232,116,12,.34);
  color: var(--primary-light);
  font-family: var(--font-head);
  font-size: .68rem; letter-spacing: .07em; text-transform: uppercase;
}

.article-body { font-size: 1.02rem; line-height: 1.85; color: var(--gray-700); }
.article-body > p { margin-bottom: 20px; }
.article-body .lede {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--gray-800);
  font-weight: 500;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}
.article-body h2 {
  font-size: 1.42rem;
  margin: 38px 0 14px;
  scroll-margin-top: 96px;
}
.article-body h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 9px; }
.article-body li::marker { color: var(--primary); font-weight: 700; }
.article-body a {
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 1px solid var(--primary-200);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.article-body a:hover { border-bottom-color: var(--primary); background: var(--primary-50); }
.article-body strong { color: var(--gray-900); font-weight: 700; }
.article-body blockquote {
  margin: 26px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--primary);
  background: var(--primary-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--gray-700);
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body pre {
  margin: 0 0 22px;
  padding: 18px 20px;
  background: var(--navy);
  color: #E6EAF2;
  border-radius: var(--r-md);
  overflow-x: auto;
  font-size: .855rem;
  line-height: 1.7;
  -webkit-overflow-scrolling: touch;
}
.article-body pre code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.article-body :not(pre) > code {
  padding: 2px 7px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .87em;
  color: var(--primary-darker);
  overflow-wrap: break-word;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: .9rem;
}
.article-body th, .article-body td {
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  text-align: left;
}
.article-body th { background: var(--gray-100); font-family: var(--font-head); font-weight: 700; color: var(--gray-900); }
.table-scroll { overflow-x: auto; margin-bottom: 22px; }
.table-scroll table { margin-bottom: 0; }

.callout {
  display: flex; gap: 14px;
  margin: 26px 0;
  padding: 20px 22px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-md);
}
.callout .ico { font-size: 1.4rem; color: var(--primary); flex: none; margin-top: 2px; }
.callout p { margin: 0 !important; font-size: .93rem; }
.callout strong { display: block; font-family: var(--font-head); margin-bottom: 4px; color: var(--gray-900); }

/* Author, post navigation */
.author-box {
  display: flex; align-items: flex-start; gap: 16px;
  margin-top: 44px; padding: 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
}
.author-avatar {
  width: 58px; height: 58px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800;
}
.author-box h2 { font-size: 1rem; margin-bottom: 4px; }
.author-box p { font-size: .875rem; color: var(--gray-600); line-height: 1.68; margin: 0; }

.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 34px;
}
.post-nav a {
  display: flex; flex-direction: column; gap: 5px;
  padding: 16px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  background: var(--white);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.post-nav a:hover { border-color: var(--primary-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-nav em {
  font-style: normal; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500);
  display: inline-flex; align-items: center; gap: 5px;
}
.post-nav strong { font-family: var(--font-head); font-size: .92rem; line-height: 1.4; color: var(--gray-900); }
.post-nav .next { text-align: right; align-items: flex-end; }

@media (max-width: 560px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; align-items: flex-start; }
  .article-body { font-size: .98rem; }
  .pagination a, .pagination span { padding: 0 12px; font-size: .84rem; }
}

/* Header lockup on small screens: drop the tagline and scale the wordmark so
   the menu button always keeps a full 44px tap target. */
@media (max-width: 700px) {
  .navbar-logo .logo-tag { display: none; }
  .navbar-logo .logo-word { font-size: clamp(.7rem, 3.1vw, .86rem); }
  .navbar-logo { gap: 9px; }
  .logo-mark { height: 40px; }
  .navbar.scrolled .logo-mark { height: 36px; }
}
@media (max-width: 380px) {
  .navbar-logo .logo-word { font-size: .66rem; letter-spacing: 0; }
  .logo-mark { height: 34px; }
}

/* ==========================================================================
   29. THANK-YOU / CONFIRMATION PAGE
   ========================================================================== */
.success-hero {
  position: relative;
  text-align: center;
  padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(760px 380px at 50% -10%, rgba(18, 140, 70, .14), transparent 62%),
    linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.success-hero .container { position: relative; z-index: 1; }

.success-badge {
  width: 104px; height: 104px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  border: 3px solid var(--accent-green);
  box-shadow: 0 10px 34px rgba(18, 140, 70, .22);
  position: relative;
}
.success-badge::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  opacity: 0;
  animation: successRipple 2.6s ease-out .5s infinite;
}
@keyframes successRipple {
  0%   { transform: scale(1);    opacity: .55 }
  100% { transform: scale(1.45); opacity: 0 }
}
.success-badge svg {
  width: 52px; height: 52px;
  color: var(--accent-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.success-badge svg path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: drawTick .55s var(--ease) .25s forwards;
}
@keyframes drawTick { to { stroke-dashoffset: 0 } }

.success-hero h1 { margin-bottom: 14px; }
.success-hero > .container > p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: var(--fs-lg);
  line-height: 1.75;
}
.success-ref {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 22px; padding: 9px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-pill);
  font-size: .85rem; font-weight: 600; color: var(--gray-600);
  box-shadow: var(--shadow-xs);
}
.success-ref .ico { color: var(--accent-green); font-size: 1.05rem; }

/* ---- What happens next ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 30px 26px 26px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-200); }
.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -16px; left: 26px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .88rem; font-weight: 800;
  box-shadow: var(--shadow-brand);
}
.step-card .ico { font-size: 1.7rem; color: var(--primary); margin-bottom: 12px; }
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { color: var(--gray-600); font-size: .885rem; line-height: 1.68; }

/* ---- In a hurry ---- */
.hurry-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  border-radius: var(--r-xl);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.hurry-card h2 { color: var(--white); font-size: 1.32rem; margin-bottom: 8px; }
.hurry-card p { color: rgba(255, 255, 255, .74); font-size: .93rem; line-height: 1.7; margin: 0; }
.hurry-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hours-note {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 18px;
  font-size: .85rem; color: var(--gray-600);
}
.hours-note .ico { color: var(--primary); font-size: 1.05rem; }

/* ---- While you wait ---- */
.wait-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.wait-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.wait-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-200); }
.wait-card .ico-lead {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.wait-card h3 { font-size: 1.02rem; margin-bottom: 7px; }
.wait-card h3 a::after { content: ''; position: absolute; inset: 0; }
.wait-card p { color: var(--gray-600); font-size: .875rem; line-height: 1.65; flex: 1; }
.wait-card .go {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 700; font-size: .84rem;
}

@media (max-width: 768px) {
  .hurry-card { grid-template-columns: 1fr; text-align: center; }
  .hurry-actions { justify-content: center; }
  .hurry-actions .btn { flex: 1 1 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .success-badge::after { animation: none; opacity: 0; }
  .success-badge svg path { stroke-dashoffset: 0; animation: none; }
}
