/* ==========================================================
   Ezvora Technologies — main stylesheet (v4)
   Blue & white theme · mobile-first · self-hosted font
   ========================================================== */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  --blue-950: #061634;
  --blue-900: #0A1F4D;
  --blue-800: #0C2E73;
  --blue-700: #0B3FA8;
  --blue-600: #1459E0;
  --blue-500: #2E7BFF;
  --blue-300: #8DB8FF;
  --blue-100: #DCE9FF;
  --blue-50:  #F1F6FF;
  --mint: #5EE0A1;
  --ink: #0F1B33;
  --muted: #52617A;
  --line: #E3EAF6;
  --error: #C92A2A;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(10, 31, 77, .06);
  --shadow: 0 10px 30px rgba(10, 31, 77, .10);
  --shadow-lg: 0 24px 60px rgba(10, 31, 77, .18);
  --header-h: 68px;
  --gutter: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--blue-900); letter-spacing: -.015em; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
h4 { font-size: .95rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }

.i { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -.25em; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--blue-700); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; min-height: 48px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem/1.2 var(--font); cursor: pointer; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn .i { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i { transform: translateX(3px); }
.btn-sm { padding: 10px 18px; min-height: 42px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); color: #fff; box-shadow: 0 8px 20px rgba(20, 89, 224, .30); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px rgba(20, 89, 224, .40); }
.btn-white { background: #fff; color: var(--blue-700); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.btn-white:hover { color: var(--blue-800); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--blue-100); }
.btn-outline:hover { border-color: var(--blue-600); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-700); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow-light { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.section-tint .eyebrow:not(.eyebrow-light) { background: #fff; box-shadow: var(--shadow-sm); }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 224, 161, .7); } 70% { box-shadow: 0 0 0 10px rgba(94, 224, 161, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 224, 161, 0); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--blue-900); flex: 0 0 auto; }
.brand img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: .06em; color: var(--blue-800); }
.brand-text small { font-size: .62rem; font-weight: 700; letter-spacing: .22em; color: var(--blue-600); }

.nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 11px; background: var(--blue-50); border: 0; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--blue-800); border-radius: 2px; transition: transform .3s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .35s ease, visibility 0s .35s; }
.site-nav.open { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; visibility: visible; transition: max-height .35s ease; }
.site-nav ul { display: flex; flex-direction: column; padding: 8px var(--gutter) 22px; }
.site-nav a { display: block; padding: 14px 6px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.site-nav a.active { color: var(--blue-600); }
.site-nav a.btn { margin-top: 14px; border-bottom: 0; color: #fff; padding: 14px; }
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; max-height: none; overflow: visible; visibility: visible; background: none; border: 0; box-shadow: none; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 2px; padding: 0; }
  .site-nav a { border: 0; padding: 8px 12px; font-size: .93rem; border-radius: 8px; position: relative; }
  .site-nav a:not(.btn):hover { color: var(--blue-600); background: var(--blue-50); }
  .site-nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue-600); }
  .site-nav a.btn { margin: 0 0 0 10px; padding: 10px 18px; }
}
body.menu-open { overflow: hidden; }

/* ---------- Heroes ---------- */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--blue-950); }
.hero-photo-bg { position: absolute; inset: 0; z-index: -2; }
.hero-photo-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-photo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 22, 52, .6) 0%, rgba(6, 22, 52, .85) 55%, rgba(6, 22, 52, .96) 100%); }
.hero-grid-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 20% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 20% 30%, #000 10%, transparent 70%); }
.hero h1, .page-hero h1 { color: #fff; line-height: 1.08; letter-spacing: -.025em; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero h1 { font-size: clamp(2.1rem, 6.4vw, 3.9rem); margin-bottom: 18px; }
.hl { background: linear-gradient(90deg, #7FB2FF, #D6E6FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1rem, 2.2vw, 1.15rem); color: rgba(255, 255, 255, .9); max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-cta .btn { flex: 1 1 210px; }
@media (min-width: 640px) { .hero-cta .btn { flex: 0 0 auto; } }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: rgba(255, 255, 255, .92); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--blue-500); color: #fff; stroke-width: 3; }

.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 36px; padding-top: 52px; padding-bottom: 32px; }
.hero-content { max-width: 740px; }
.hero-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hq { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px; border-radius: 16px; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .25s, transform .25s, border-color .25s; }
.hq:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .35); transform: translateY(-3px); color: #fff; }
.hq-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blue-600); }
.hq-ico .i { width: 22px; height: 22px; }
.hq-txt { display: flex; flex-direction: column; min-width: 0; }
.hq-txt strong { font-size: .93rem; line-height: 1.25; }
.hq-txt small { font-size: .78rem; color: rgba(255, 255, 255, .78); }
.hq-arrow { display: none; }
@media (min-width: 640px) {
  .hq { flex-direction: row; align-items: center; gap: 12px; padding: 16px; }
  .hq-arrow { display: block; width: 18px; height: 18px; margin-left: auto; opacity: .6; transition: transform .25s, opacity .25s; }
  .hq:hover .hq-arrow { transform: translateX(4px); opacity: 1; }
}
@media (min-width: 900px) {
  .hero-photo-bg img { object-position: center 35%; }
  .hero-photo-bg::after { background: linear-gradient(90deg, rgba(6, 22, 52, .97) 0%, rgba(8, 30, 75, .88) 40%, rgba(11, 63, 168, .35) 75%, rgba(11, 63, 168, .15) 100%), linear-gradient(0deg, rgba(6, 22, 52, .9) 0%, transparent 35%); }
  .hero-inner { padding-top: 110px; padding-bottom: 44px; min-height: min(860px, calc(100vh - var(--header-h))); }
}
@media (min-width: 1100px) { .hero-quick { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

/* Inner page hero */
.page-hero-inner { position: relative; padding-top: 34px; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(2rem, 5.6vw, 3.3rem); max-width: 820px; margin-bottom: 16px; }
.page-hero-plain { background: linear-gradient(135deg, var(--blue-950), var(--blue-800) 60%, var(--blue-700)); }
.page-hero-plain .page-hero-inner { padding-bottom: 48px; }
@media (min-width: 900px) { .page-hero-inner { padding-top: 48px; padding-bottom: 84px; } }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; margin-bottom: 22px; color: rgba(255, 255, 255, .75); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { text-decoration: underline; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-chips .i { width: 18px; height: 18px; color: var(--blue-300); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--blue-900); border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track span { white-space: nowrap; padding: 8px 18px; border-radius: 999px; color: #fff; font-weight: 600; font-size: .88rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 68px 0; }
@media (min-width: 900px) { .section { padding: 100px 0; } }
.section-tint { background: var(--blue-50); }
.section-dots { background-color: var(--blue-50); background-image: radial-gradient(rgba(20, 89, 224, .12) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.section-dark { background: linear-gradient(160deg, var(--blue-900), var(--blue-800)); color: #fff; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); font-size: 1.04rem; }
.section-head h2::after { content: ""; display: block; width: 64px; height: 4px; margin: 16px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue-600), var(--blue-300)); }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(255, 255, 255, .82); }
.section-photo { overflow: hidden; isolation: isolate; }
.section-photo-bg { position: absolute; inset: 0; z-index: -1; }
.section-photo-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.section-photo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10, 31, 77, .93), rgba(12, 46, 115, .88)); }
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* Split layouts */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split > * { min-width: 0; }
.split-copy > p { color: var(--muted); }
.split-tight { margin-bottom: 56px; }

.checklist { margin: 20px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; font-weight: 500; }
.checklist .i { width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--blue-600); color: #fff; stroke-width: 3; }

/* ---------- Service cards (home) ---------- */
.cards-4 { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.card-media { position: relative; }
.cm-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cm-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 31, 77, .55)); }
.card:hover .cm-img img { transform: scale(1.07); }
.card-icon { position: absolute; left: 20px; bottom: -24px; z-index: 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; box-shadow: 0 10px 22px rgba(20, 89, 224, .35); }
.card-icon .i { width: 26px; height: 26px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 38px 22px 24px; }
.card-body h3 a { color: var(--blue-900); }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--blue-600); }
.card-link .i { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-link .i { transform: translateX(4px); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* ---------- Tech bridge ---------- */
.journey { display: grid; gap: 14px; margin-top: 26px; counter-reset: j; }
.journey li { display: flex; gap: 16px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.journey h3 { margin: 0 0 2px; }
.journey p { margin: 0; color: var(--muted); font-size: .95rem; }
.j-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.j-ico .i { width: 24px; height: 24px; }
.bridge-wrap, .graphic-wrap { display: flex; justify-content: center; }
.bridge-svg, .device-svg, .funnel-svg, .growth-svg { width: 100%; max-width: 520px; height: auto; font-family: var(--font); overflow: visible; }
.bridge-svg .link { animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.bridge-svg .node { transition: transform .3s; }
.dg-badge { animation: float 5s ease-in-out infinite; }
.dg-badge-2 { animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.gr-bar { transform-box: fill-box; transform-origin: bottom; }
.is-visible .gr-bar { animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; }
.is-visible .gr-bar:nth-of-type(2) { animation-delay: .1s; }
@keyframes grow { from { transform: scaleY(0); } }
.gr-line { stroke-dasharray: 400; stroke-dashoffset: 0; }
.is-visible .gr-line { animation: draw 1.6s .4s ease both; }
@keyframes draw { from { stroke-dashoffset: 400; } }
.fn-stage { transition: transform .3s; transform-box: fill-box; transform-origin: center; }
.funnel-svg g.fn-stage:hover { transform: scale(1.03); }

/* ---------- Media stack / framed ---------- */
.media-stack { position: relative; padding-bottom: 30px; }
.media-stack::before { content: ""; position: absolute; left: -14px; top: -14px; width: 120px; height: 120px; border-radius: 20px; background-image: radial-gradient(var(--blue-300) 2px, transparent 2px); background-size: 14px 14px; z-index: -1; }
.ms-main { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; }
.ms-main img, .framed img { width: 100%; height: 100%; object-fit: cover; }
.ms-badge { position: absolute; right: 16px; bottom: 0; display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); }
.ms-badge .i { width: 30px; height: 30px; }
.ms-badge strong { display: block; font-size: 1.02rem; }
.ms-badge span { font-size: .82rem; opacity: .85; }
.framed { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }

/* Courses (home) */
.course-grid { display: grid; gap: 12px; margin: 22px 0 28px; }
@media (min-width: 560px) { .course-grid { grid-template-columns: 1fr 1fr; } }
.course { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.course:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.course > span { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; }
.course > span .i { width: 22px; height: 22px; }
.course h3 { margin: 0 0 4px; font-size: .98rem; }
.course p { margin: 0; color: var(--muted); font-size: .86rem; }

/* Course cards (courses page) */
.course-cards { display: grid; gap: 22px; }
@media (min-width: 760px) { .course-cards { grid-template-columns: 1fr 1fr; } }
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; scroll-margin-top: calc(var(--header-h) + 16px); }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; box-shadow: 0 10px 22px rgba(20, 89, 224, .3); }
.cc-ico .i { width: 28px; height: 28px; }
.cc-num { font-size: 2.4rem; font-weight: 800; color: var(--blue-100); line-height: 1; }
.course-card > p { color: var(--muted); }
.course-card h4 { margin-top: 6px; color: var(--blue-700); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.course-card ul { display: grid; gap: 8px; margin-bottom: 18px; }
.course-card li { display: flex; gap: 10px; font-size: .95rem; }
.course-card li .i { width: 18px; height: 18px; margin-top: 3px; color: var(--blue-600); stroke-width: 3; }
.cc-for { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); font-size: .9rem; margin: auto 0 18px; }
.cc-for .i { color: var(--blue-600); margin-top: 2px; }

/* Feature pills / grids / lists */
.feature-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.feature-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--blue-100); font-weight: 600; font-size: .9rem; color: var(--blue-900); }
.feature-pills .i { width: 18px; height: 18px; color: var(--blue-600); }
.feature-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.f-ico { width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue-600); transition: background .3s, color .3s; }
.f-ico .i { width: 26px; height: 26px; }
.feature:hover .f-ico { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; }
.feature-list { display: grid; gap: 16px; margin-top: 24px; }
.fl-item { display: flex; gap: 14px; align-items: flex-start; }
.fl-item h3 { margin: 0 0 2px; font-size: 1.02rem; }
.fl-item p { margin: 0; color: var(--muted); font-size: .94rem; }
.fl-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 22px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.plan:not(.plan-featured):hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.4rem; margin-bottom: 4px; }
.plan-sub { color: var(--muted); margin: 0; font-size: .92rem; }
.plan ul { margin: 20px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .96rem; }
.plan li .i { width: 18px; height: 18px; margin-top: 3px; color: var(--blue-600); stroke-width: 3; }
.plan-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 16px; }
.plan-ico .i { width: 26px; height: 26px; }
.plan-featured { background: linear-gradient(160deg, var(--blue-700), var(--blue-900)); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.plan-featured h3 { color: #fff; }
.plan-featured .plan-sub { color: rgba(255, 255, 255, .78); }
.plan-featured li .i { color: var(--blue-300); }
.plan-featured .plan-ico { background: rgba(255, 255, 255, .14); color: #fff; }
.badge { position: absolute; top: -13px; left: 26px; background: #fff; color: var(--blue-700); font-size: .74rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 900px) { .plan-featured { transform: scale(1.04); } }

/* ---------- Growth (dark cards) ---------- */
.growth-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .growth-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .growth-grid { grid-template-columns: repeat(3, 1fr); } }
.growth { padding: 26px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s, transform .25s; }
.growth:hover { background: rgba(255, 255, 255, .12); transform: translateY(-4px); }
.growth h3 { color: #fff; }
.growth p { margin: 0; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.g-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px; background: rgba(255, 255, 255, .12); color: var(--blue-300); }
.g-ico .i { width: 24px; height: 24px; }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; gap: 18px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 58px; border-top: 2px dashed var(--blue-300); z-index: 0; }
}
.steps li { position: relative; z-index: 1; text-align: center; padding: 30px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.step-n { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); box-shadow: 0 0 0 6px #fff, 0 8px 18px rgba(20, 89, 224, .3); }
.step-n .i { width: 26px; height: 26px; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- About ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.why-grid div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.why-grid .i { width: 26px; height: 26px; color: var(--blue-600); margin-bottom: 8px; }
.why-grid strong { display: block; color: var(--blue-800); font-size: 1.02rem; }
.why-grid span { display: block; margin-top: 4px; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.about-media { display: grid; gap: 18px; }
.about-media .framed { aspect-ratio: 16 / 9; }
.about-media .team { position: relative; display: grid; gap: 16px; margin-top: -56px; padding: 0 14px; }
.person { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.avatar { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--blue-800)); box-shadow: 0 0 0 5px var(--blue-50); }
.person h3 { margin: 0; font-size: 1.15rem; }
.role { margin: 2px 0 8px; color: var(--blue-600); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.person p:last-child { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center; padding: 84px 0; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6, 22, 52, .92), rgba(20, 89, 224, .82)); }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.cta-inner p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.cta-inner .hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--blue-100); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; color: var(--blue-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; font-size: 1.15rem; font-weight: 700; }
.faq details[open] summary::after { content: "–"; background: var(--blue-600); color: #fff; }
.faq details p { margin: 0; padding-bottom: 18px; color: var(--muted); }

/* ---------- Contact ---------- */
.section-contact { overflow: hidden; background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff; }
.contact-deco { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px 420px at 90% 10%, rgba(46, 123, 255, .45), transparent 70%), radial-gradient(360px 360px at 0% 100%, rgba(94, 224, 161, .15), transparent 70%); }
.contact-grid { position: relative; display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; } }
.contact-copy h2 { color: #fff; }
.contact-copy p { color: rgba(255, 255, 255, .85); }
.contact-points { display: grid; gap: 10px; margin-top: 18px; font-weight: 600; }
.contact-points li { display: flex; align-items: center; gap: 10px; }
.contact-points .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .15); stroke-width: 3; }
.contact-details { display: grid; gap: 12px; margin-top: 26px; }
.contact-details li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.contact-details small { display: block; font-size: .75rem; opacity: .75; }
.contact-details a { color: #fff; font-weight: 600; word-break: break-word; }
.cd-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blue-600); flex: 0 0 auto; }

.contact-form { background: #fff; color: var(--ink); border-radius: 22px; padding: 26px 20px; box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .contact-form { padding: 34px; } }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--blue-900); }
.field label span { color: var(--error); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 13px 14px; font: 500 16px/1.4 var(--font); color: var(--ink); background: var(--blue-50); border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230B3FA8' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(20, 89, 224, .14); }
.field .invalid { border-color: var(--error); background: #FFF5F5; }
.form-note { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }
.form-note .i { width: 16px; height: 16px; color: var(--blue-600); }
.form-msg { padding: 12px 14px; margin-bottom: 16px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.form-msg.success { background: #E7F8F1; color: #0B6E4C; }
.form-msg.error { background: #FDECEC; color: #A61E1E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[disabled] { opacity: .7; cursor: wait; transform: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--blue-950); color: rgba(255, 255, 255, .75); padding: 64px 0 0; font-size: .94rem; }
.footer-wave { position: absolute; top: -1px; left: 0; right: 0; height: 40px; color: var(--blue-700); transform: scaleY(-1); pointer-events: none; }
.footer-wave svg { display: block; width: 100%; height: 100%; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: var(--blue-300); }
.brand-footer img { background: #fff; }
.footer-brand p { margin-top: 16px; max-width: 380px; }
.footer-h { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .i { width: 18px; height: 18px; margin-top: 3px; color: var(--blue-300); }
.footer-social { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-top: 16px; }
.footer-social a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: .85rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 20px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Floating buttons ---------- */
.fab-wrap { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; display: grid; gap: 10px; }
.fab { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .25s, opacity .25s, visibility .25s; }
.fab .i { width: 24px; height: 24px; }
.fab:hover { color: #fff; transform: translateY(-3px); }
.fab-wa { background: #1FAF5A; }
.fab-top { background: var(--blue-700); opacity: 0; visibility: hidden; }
.fab-top.show { opacity: 1; visibility: visible; }

/* ---------- Prose (privacy) & 404 ---------- */
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose p, .prose li { color: #33415C; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.nf-inner { text-align: center; padding-top: 60px; padding-bottom: 80px; }
.nf-inner .lead { margin: 0 auto; }
.nf-inner .hero-cta { justify-content: center; }
.nf-code { font-size: clamp(5rem, 20vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 10px; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.nf-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

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

/* ---------- Small phones ---------- */
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .brand-text strong { font-size: 1rem; }
  .brand img { width: 38px; height: 38px; }
  .why-grid { grid-template-columns: 1fr; }
  .hq-txt small { display: none; }
  .person { flex-direction: column; }
  .about-media .team { padding: 0 6px; margin-top: -30px; }
  .ms-badge { right: 8px; padding: 12px 14px; }
}
@media (max-width: 340px) {
  .hero-quick { grid-template-columns: 1fr; }
}
