/* =========================================================
   AMP Tech Services – site styles
   Colours: change them here and the whole site follows.
   ========================================================= */
:root {
  --bg: #060b16;        /* page background */
  --bg-2: #0a1222;      /* alternate section background */
  --navy: #0b1830;      /* main dark */
  --navy-2: #12264a;    /* lighter navy */
  --char: #1b2333;      /* charcoal */
  --red: #d71920;       /* AMP red (from the logo) */
  --red-d: #b3121a;
  --ink: #ffffff;       /* headings */
  --text: #b4bfd2;      /* body text */
  --muted: #8794ab;
  --line: rgba(255,255,255,.09);
  --soft: rgba(255,255,255,.05);
  --glass: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  --glow: 0 0 0 1px rgba(255,59,66,.35), 0 18px 50px -18px rgba(215,25,32,.55);
  --white: #fff;
  --wa: #1fa855;
  --radius: 16px;
  --shadow: 0 10px 30px -14px rgba(0,0,0,.6);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.75);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2rem, 5.6vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; font-weight: 700; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 40px, 1200px); margin-inline: auto; }
.muted { color: var(--muted); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em; border-radius: 12px; font: 700 .97rem/1.2 var(--font); border: 2px solid transparent; cursor: pointer; transition: transform .2s, background-color .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: linear-gradient(180deg, #ec2a31, var(--red)); color: #fff; box-shadow: 0 10px 26px -8px rgba(215,25,32,.75), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--red:hover { background: var(--red-d); box-shadow: 0 0 0 4px rgba(215,25,32,.2), 0 14px 34px -8px rgba(215,25,32,.9); }
.btn--navy { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #fff; }
.btn--navy:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.btn--ghost { border-color: rgba(255,255,255,.2); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a45; }
.btn--sm { min-height: 42px; padding: .55em 1.05em; font-size: .9rem; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: #ff5a60; }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Top strip ---------- */
.topbar { background: #03060e; border-bottom: 1px solid rgba(255,255,255,.06); color: #c7d0e0; font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__note, .topbar__links a { display: inline-flex; align-items: center; gap: .45em; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a:hover { color: #fff; }
.topbar .ic { width: 1.05em; height: 1.05em; color: #ff5a60; }
@media (max-width: 760px) { .topbar__note { display: none; } .topbar__links { width: 100%; justify-content: space-between; gap: 10px; } .topbar__links a:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6,11,22,.82); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(0,0,0,.8); border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 14px; min-height: 76px; width: min(100% - 32px, 1400px); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__logo { width: auto; height: 50px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; }
.brand__text small { color: #ff4d55; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.brand--light .brand__text strong { color: #fff; }
.header__ctas { display: none; gap: 10px; margin-left: 8px; }
.menu-btn { margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; display: grid; place-items: center; cursor: pointer; }
.menu-btn .ic { width: 24px; height: 24px; }
.menu-btn__close, .menu-open .menu-btn__open { display: none; }
.menu-open .menu-btn__close { display: block; }

/* Menu – phone / tablet (slide-down panel) */
.nav { position: fixed; inset: 114px 0 0 0; background: #070d19; padding: 12px 20px 120px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s, visibility 0s .22s; border-top: 1px solid var(--line); }
.nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .22s, transform .22s; }
.nav .menu > li { position: relative; border-bottom: 1px solid var(--line); }
.nav .menu a { display: block; padding: 15px 4px; font-weight: 700; color: #fff; font-size: 1.04rem; }
.nav .menu .current-menu-item > a, .nav .menu .current-menu-ancestor > a { color: #ff5a60; }
.sub-toggle { position: absolute; right: 0; top: 6px; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 10px; color: #fff; display: grid; place-items: center; cursor: pointer; }
.sub-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
.is-open > .sub-toggle svg { transform: rotate(180deg); }
.nav .sub-menu { display: none; padding: 0 0 10px 12px; }
.nav .is-open > .sub-menu { display: block; }
.nav .sub-menu a { padding: 10px 4px; font-weight: 600; font-size: .97rem; color: var(--text); }
.nav__ctas { display: grid; gap: 10px; margin-top: 20px; }
/* (no blur on phones: a blurred header would trap the fixed menu panel inside it) */
@media (max-width: 1179px) { .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #060b16; } }

/* Menu – desktop */
@media (min-width: 1180px) {
  .menu-btn { display: none; }
  .nav { position: static; transform: none; opacity: 1; visibility: visible; background: none; padding: 0; overflow: visible; border: 0; margin-left: auto; transition: none; }
  .nav .menu { display: flex; align-items: center; gap: 2px; }
  .nav .menu > li { border: 0; display: flex; align-items: center; }
  .nav .menu > li > a { padding: 10px 9px; font-size: .9rem; font-weight: 650; color: #dbe3f0; white-space: nowrap; border-radius: 10px; position: relative; }
  .nav .menu > li > a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 2px; background: var(--red); box-shadow: 0 0 10px rgba(255,59,66,.8); transform: scaleX(0); transform-origin: left; transition: transform .25s; border-radius: 2px; }
  .nav .menu > li:hover > a::after, .nav .menu > .current-menu-item > a::after, .nav .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
  .nav .menu-item-has-children > a { padding-right: 2px; }
  .sub-toggle { position: static; width: 22px; height: 32px; background: none; margin-left: -4px; }
  .sub-toggle svg { width: 16px; height: 16px; }
  .nav .sub-menu { display: block; position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: rgba(9,16,31,.97); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 8px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
  .nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .nav .menu-item-has-children:hover > .sub-menu, .nav .menu-item-has-children:focus-within > .sub-menu, .nav .is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
  .nav .sub-menu a { padding: 10px 12px; border-radius: 9px; font-size: .93rem; color: #dbe3f0; white-space: nowrap; }
  .nav .sub-menu a:hover, .nav .sub-menu .current-menu-item > a { background: rgba(255,255,255,.06); color: #ff5a60; }
  .nav__ctas { display: none; }
}
@media (min-width: 1360px) { .header__ctas { display: flex; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-2); border-block: 1px solid rgba(255,255,255,.04); }
.section--navy { background: radial-gradient(1200px 500px at 85% -10%, rgba(215,25,32,.18), transparent 60%), linear-gradient(160deg, var(--navy), #0a1428 70%); color: #c9d3e4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.head.center { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ff4d55; text-shadow: 0 0 18px rgba(255,59,66,.45); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.03rem, 1.6vw, 1.17rem); color: var(--text); }
.section--navy .lead { color: #c9d3e4; }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .g-2 { grid-template-columns: repeat(2, 1fr); } .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .g-3 { grid-template-columns: repeat(3, 1fr); } .g-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1.05fr .95fr; } .split--top { align-items: start; } }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s, border-color .3s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px 160px at 50% 0%, rgba(255,59,66,.12), transparent 70%); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: rgba(255,59,66,.4); }
.card:hover::after { opacity: 1; }
.card p:last-child { margin-bottom: 0; }
.card h3 { margin-top: 2px; }
.icon-chip { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(215,25,32,.22), rgba(215,25,32,.06)); color: #ff5a60; margin-bottom: 18px; box-shadow: inset 0 0 0 1px rgba(255,90,96,.25), 0 0 24px -6px rgba(215,25,32,.6); }
.icon-chip .ic { width: 26px; height: 26px; }
.icon-chip--navy { background: rgba(255,255,255,.06); color: #dbe3f0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.section--navy .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); box-shadow: none; color: #c9d3e4; }
.section--navy .card:hover { background: rgba(255,255,255,.08); }
.section--navy .icon-chip { background: rgba(215,25,32,.16); color: #ff6b70; }
.chip { display: inline-flex; align-items: center; gap: .4em; font-size: .78rem; font-weight: 700; padding: .35em .8em; border-radius: 999px; background: rgba(255,255,255,.06); color: #dbe3f0; border: 1px solid var(--line); }
.chip .ic { width: 1.1em; height: 1.1em; }
.chip--red { background: rgba(215,25,32,.15); color: #ff8a8e; border-color: rgba(255,90,96,.35); }
.chip--navy { background: rgba(80,120,200,.15); color: #bcd0f5; border-color: rgba(120,160,230,.3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .35em .75em; border-radius: 999px; background: var(--red); color: #fff; }
.checks li { display: flex; gap: .7em; align-items: flex-start; padding: .38em 0; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(215,25,32,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5a60' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat; }
.section--navy .checks li::before { background-color: rgba(215,25,32,.2); }
.checks--2 { display: grid; gap: 0 28px; }
@media (min-width: 700px) { .checks--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; color: #c9d3e4; background: radial-gradient(900px 520px at 85% 15%, rgba(215,25,32,.28), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(56,104,190,.18), transparent 60%), linear-gradient(165deg, #0b1630 0%, #070e1d 55%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); pointer-events: none; }
.hero__in { position: relative; display: grid; gap: 40px; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); align-items: center; }
@media (min-width: 980px) { .hero__in { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, #ff4d55, #ff8a7a); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: #c9d3e4; max-width: 600px; margin-bottom: 30px; }
.hero__badge { display: inline-flex; align-items: center; gap: .55em; padding: .45em .95em .45em .5em; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #e2e8f2; font-size: .84rem; font-weight: 600; margin-bottom: 22px; }
.hero__badge b { background: var(--red); color: #fff; border-radius: 999px; padding: .2em .65em; font-size: .72rem; letter-spacing: .06em; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: .9rem; color: #aebbd1; }
.hero__points span { display: inline-flex; align-items: center; gap: .45em; }
.hero__points .ic { color: #ff5a60; }
.hero__art { position: relative; max-width: 560px; justify-self: center; width: 100%; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }
.scan { transform-origin: 196px 150px; animation: scan 7s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.blink { animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.float { animation: float 6s ease-in-out infinite; }
.float--2 { animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Inner page hero ---------- */
.phero { position: relative; overflow: hidden; color: #c9d3e4; background: radial-gradient(800px 400px at 92% 0%, rgba(215,25,32,.22), transparent 60%), linear-gradient(160deg, #0e1f3d, var(--navy) 60%, #08111f); padding: clamp(44px, 7vw, 84px) 0 clamp(48px, 7vw, 88px); }
.phero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.phero .wrap { position: relative; }
.phero h1 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.1rem); max-width: 900px; }
.phero .lead { color: #c9d3e4; max-width: 720px; margin-bottom: 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: #95a3bb; margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: "/"; margin-right: 6px; opacity: .5; }
.phero__icon { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 220px; height: 220px; color: rgba(255,255,255,.07); display: none; }
.phero__icon .ic { width: 100%; height: 100%; stroke-width: 1; }
@media (min-width: 1100px) { .phero__icon { display: block; } }

/* ---------- Path cards (home) ---------- */
.paths { padding-top: clamp(40px, 6vw, 64px); position: relative; z-index: 2; }
.path { display: flex; flex-direction: column; padding: clamp(26px, 4vw, 40px); border-radius: 22px; overflow: hidden; }
.path h3 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); }
.path .checks { margin: 6px 0 24px; }
.path .btn { align-self: flex-start; margin-top: auto; }
.path--dark { background: radial-gradient(500px 240px at 100% 0%, rgba(215,25,32,.28), transparent 70%), linear-gradient(150deg, #142a52, #0b1830); color: #c9d3e4; }
.path--dark h3 { color: #fff; }
.path--dark .checks li::before { background-color: rgba(215,25,32,.22); }
.path__num { position: absolute; right: 24px; top: 14px; font-size: 5.5rem; font-weight: 800; line-height: 1; color: rgba(255,255,255,.05); }
.path--dark .path__num { color: rgba(255,255,255,.06); }

/* ---------- Diploma cards ---------- */
.dip { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.dip__top { padding: 26px 26px 20px; background: radial-gradient(300px 140px at 100% 0%, rgba(215,25,32,.3), transparent 70%), linear-gradient(150deg, #142a52, #0b1830); border-bottom: 1px solid var(--line); color: #c9d3e4; position: relative; }
.dip__top h3 { color: #fff; font-size: 1.32rem; margin-bottom: 6px; }
.dip__top p { margin: 0; font-size: .93rem; }
.dip__level { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ff6b70; margin-bottom: 10px; display: block; }
.dip__body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.dip__body h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.dip__body .checks { margin-bottom: 16px; font-size: .95rem; }
.dip__body .checks li { padding: .22em 0; }
.dip__meta { display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: .88rem; margin-bottom: 20px; }
.dip__meta span { display: flex; align-items: center; gap: .5em; }
.dip__meta .ic { color: #ff5a60; }
.dip__body .btn { margin-top: auto; }
.dip--feature { border: 1px solid rgba(255,59,66,.55); box-shadow: var(--glow); }

/* ---------- Modules ---------- */
.module { display: flex; gap: 16px; align-items: flex-start; }
.module .icon-chip { margin: 0; flex: none; }
.module h3 { font-size: 1.08rem; margin-bottom: 4px; }
.module p { font-size: .95rem; }
.module__n { font-size: .72rem; font-weight: 800; color: #ff5a60; letter-spacing: .1em; }
.plus-label { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 14px; background: rgba(215,25,32,.1); border: 1px dashed rgba(255,90,96,.5); color: #ffb0b3; font-weight: 700; margin-bottom: 28px; }
.plus-label .ic { width: 28px; height: 28px; }

/* Pathway diagram */
.pathway { display: grid; gap: 14px; }
@media (min-width: 900px) { .pathway { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; } }
.pathway__step { border-radius: 16px; padding: 22px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pathway__step b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.pathway__step small { color: var(--muted); font-size: .88rem; }
.pathway__step.is-here { border-color: rgba(255,59,66,.6); box-shadow: var(--glow); }
.pathway__plus { display: grid; place-items: center; color: #ff5a60; text-shadow: 0 0 16px rgba(255,59,66,.7); font-size: 1.6rem; font-weight: 800; }
@media (max-width: 899px) { .pathway__plus { transform: rotate(90deg); } }

/* ---------- Steps / process ---------- */
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .steps--7 { grid-template-columns: repeat(7, 1fr); } .steps--6 { grid-template-columns: repeat(6, 1fr); } .steps--5 { grid-template-columns: repeat(5, 1fr); } .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: s; position: relative; padding: 22px 18px 18px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.step:hover { border-color: rgba(255,59,66,.4); box-shadow: var(--glow); }
.step::before { content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(180deg, #ec2a31, var(--red)); color: #fff; font-weight: 800; font-size: .9rem; margin-bottom: 14px; box-shadow: 0 0 22px -4px rgba(215,25,32,.8); }
.step b { display: block; color: var(--ink); line-height: 1.3; }
.step small { display: block; color: var(--muted); font-size: .86rem; margin-top: 4px; line-height: 1.5; }
.section--navy .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--navy .step b { color: #fff; }
.section--navy .step small { color: #a9b6cc; }
.section--navy .step::before { background: var(--red); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: rgba(255,255,255,.03); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.table th, .table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: linear-gradient(180deg, #13264a, #0e1d3a); color: #fff; font-size: .88rem; letter-spacing: .02em; }
.table tbody th { color: var(--ink); font-weight: 700; }
.table tr:last-child > * { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
.yes { color: #ff5a60; font-weight: 800; }
.no { color: #56627a; }
.scroll-hint { font-size: .82rem; color: var(--muted); margin-top: 8px; }
@media (min-width: 760px) { .scroll-hint { display: none; } }
/* Stacked rows on phones (eligibility table) */
@media (max-width: 699px) {
  .table--stack { min-width: 0; }
  .table--stack thead { display: none; }
  .table--stack tr { display: block; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .table--stack th, .table--stack td { display: block; padding: 0; border: 0; }
  .table--stack th { margin-bottom: 6px; color: #ff8a8e; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq.center { margin-inline: auto; }
.faq details { background: var(--glass); border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(255,59,66,.35); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(215,25,32,.15); color: #ff5a60; font-size: 1.3rem; font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(32px, 6vw, 60px); background: radial-gradient(600px 300px at 100% 0%, rgba(215,25,32,.35), transparent 60%), linear-gradient(150deg, var(--navy-2), var(--navy)); color: #c9d3e4; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr auto; } }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.04); }
.cta .btn-row { position: relative; z-index: 1; }

/* ---------- Placeholders (gallery, projects, testimonials) ---------- */
.ph { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; border-radius: var(--radius); padding: 20px; overflow: hidden; color: #c9d3e4; background: radial-gradient(400px 200px at 100% 0%, rgba(215,25,32,.25), transparent 60%), linear-gradient(155deg, var(--navy-2), var(--navy)); isolation: isolate; }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; 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: 28px 28px; }
.ph__icon { position: absolute; top: 20px; left: 20px; width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #ff6b70; }
.ph__icon .ic { width: 28px; height: 28px; }
.ph b { color: #fff; font-size: 1.05rem; display: block; }
.ph small { display: block; font-size: .85rem; color: #a9b6cc; }
.ph__tag { position: absolute; top: 20px; right: 20px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.12); border-radius: 999px; padding: .35em .75em; }
.ph--light { background: rgba(255,255,255,.025); color: var(--text); border: 1.5px dashed rgba(255,255,255,.16); }
.ph--light::before { display: none; }
.ph--light b { color: var(--ink); }
.ph--light small { color: var(--muted); }
.ph--light .ph__icon { background: rgba(215,25,32,.15); color: #ff5a60; }
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery .ph:nth-child(1), .gallery .ph:nth-child(5) { grid-column: span 2; } }

/* ---------- Blog cards ---------- */
.post { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post__img { height: 160px; display: grid; place-items: center; color: #fff; background: radial-gradient(260px 140px at 100% 0%, rgba(215,25,32,.4), transparent 70%), linear-gradient(150deg, var(--navy-2), var(--navy)); position: relative; }
.post__img .ic { width: 54px; height: 54px; stroke-width: 1.3; opacity: .9; }
.post__img::before { 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: 24px 24px; }
.post__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post__body h3 { font-size: 1.08rem; line-height: 1.35; }
.post__body p { font-size: .93rem; }
.post__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .84rem; }

/* ---------- Contact ---------- */
.contact-cards .card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.contact-cards .icon-chip { margin: 0; }
.contact-cards b { display: block; color: #fff; }
.contact-cards a { color: #e6ecf6; }
.contact-cards a:hover { color: #ff5a60; }
.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #0a1222; }
.map iframe { display: block; width: 100%; height: clamp(300px, 45vw, 440px); border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.7) contrast(.95); }
.contact-cards a, .contact-cards span { word-break: break-word; }
.map-ph { min-height: 260px; }

/* ---------- Forms ---------- */
.form { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); scroll-margin-top: 110px; }
.form__head h3 { font-size: 1.45rem; margin: 14px 0 6px; }
.form__head p { color: var(--muted); }
.form__grid { display: grid; gap: 14px; margin: 20px 0 16px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; font: 500 1rem/1.4 var(--font); color: #fff; background: rgba(3,7,16,.55); border: 1.5px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; min-height: 50px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: rgba(255,90,96,.7); background: rgba(3,7,16,.8); box-shadow: 0 0 0 4px rgba(215,25,32,.18); }
.form ::placeholder { color: #6c7890; }
.form option { color: #0f172a; background: #fff; }
.form .is-bad { border-color: #ff5a60; background: rgba(215,25,32,.08); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text); font-size: .9rem; }
.form .check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--red); }
.form .check input.is-bad { outline: 2px solid var(--red); }
.form__err { color: #ff8a8e; font-weight: 700; font-size: .9rem; margin: 12px 0 0; }
.form__ok { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: rgba(31,168,85,.14); color: #7be3a6; border: 1px solid rgba(31,168,85,.35); font-weight: 600; font-size: .92rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 480px) { .form__actions .btn { width: 100%; } }
.forms { display: grid; gap: 28px; }
@media (min-width: 1050px) { .forms { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- Note / notice ---------- */
.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: .94rem; }
.note b { color: #fff; }
.note .ic { color: #9fb4da; width: 24px; height: 24px; margin-top: 2px; }
.note p { margin: 0; }
.note--red { background: rgba(215,25,32,.08); border-color: rgba(255,90,96,.3); }
.note--red .ic { color: #ff5a60; }

/* ---------- Footer ---------- */
.site-footer { background: #03060d; color: #9eabc1; padding: clamp(56px, 8vw, 88px) 0 0; font-size: .94rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), #ff6b70 40%, transparent); }
.footer__grid { display: grid; gap: 36px; padding-bottom: 44px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand p { margin: 18px 0; max-width: 360px; }
.footer__h { color: #fff; font-size: .95rem; letter-spacing: .02em; margin-bottom: 16px; }
.footer__links li { padding: 5px 0; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.footer__contact .ic { color: #ff5a60; margin-top: 3px; }
.footer__contact a, .footer__contact span { word-break: break-word; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; }
.social a:hover { background: var(--red); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .84rem; }
.footer__bottom p { margin: 0; }
.footer__legal .muted { color: #6f7d95; }

/* ---------- Mobile Call / WhatsApp bar ---------- */
.mbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 6px; border-radius: 18px; background: rgba(9,16,31,.92); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 36px -12px rgba(0,0,0,.5); }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 13px; color: #fff; font-weight: 700; font-size: .92rem; }
.mbar__call { background: rgba(255,255,255,.1); }
.mbar__wa { background: var(--wa); }
.mbar__enq { background: var(--red); }
body { padding-bottom: 84px; }
@media (min-width: 900px) { .mbar { display: none; } body { padding-bottom: 0; } }
.menu-open .mbar { display: none; }
.menu-open body { overflow: hidden; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Security-tech effects: radar, scan line, capability strip ---------- */
.hero__scanline { position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(255,59,66,.07) 85%, rgba(255,80,86,.4) 99%, transparent); animation: scanline 7s linear infinite; }
@keyframes scanline { 0% { transform: translateY(-120px); } 100% { transform: translateY(900px); } }
.radar { position: absolute; z-index: 0; width: min(560px, 110%); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 58px, rgba(255,255,255,.07) 59px 60px); -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%); mask-image: radial-gradient(circle, #000 55%, transparent 71%); }
.radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,59,66,.38), rgba(255,59,66,.08) 40deg, transparent 70deg); animation: sweep 5s linear infinite; }
.radar::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.08), transparent); box-shadow: 0 0 0 0 transparent; }
@keyframes sweep { to { transform: rotate(360deg); } }
.hero__art > svg { position: relative; z-index: 1; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
.hero__corner { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255,90,96,.7); z-index: 2; }
.hero__corner--tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.hero__corner--tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.hero__corner--bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.hero__corner--br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.hero h1 em { text-shadow: none; filter: drop-shadow(0 0 22px rgba(255,59,66,.35)); }

.capstrip { position: relative; overflow: hidden; border-block: 1px solid rgba(255,255,255,.07); background: linear-gradient(90deg, #070d1a, #0b1428, #070d1a); padding: 16px 0; }
.capstrip::before, .capstrip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.capstrip::before { left: 0; background: linear-gradient(90deg, #070d1a, transparent); }
.capstrip::after { right: 0; background: linear-gradient(-90deg, #070d1a, transparent); }
.capstrip__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.capstrip:hover .capstrip__track { animation-play-state: paused; }
.capstrip ul { display: flex; gap: 12px; padding-right: 12px; }
.capstrip li { display: inline-flex; align-items: center; gap: .55em; white-space: nowrap; font-weight: 700; font-size: .92rem; color: #dbe3f0; padding: .55em 1.05em; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.capstrip li .ic { color: #ff5a60; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .capstrip__track { flex-wrap: wrap; width: auto; justify-content: center; } .capstrip ul[aria-hidden] { display: none; } .hero__scanline { display: none; } }

/* Glow divider between sections */
.glowline { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,59,66,.6), transparent); box-shadow: 0 0 18px rgba(255,59,66,.6); }
/* Page hero scan line */
.phero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,59,66,.7), transparent); box-shadow: 0 0 18px rgba(255,59,66,.7); }
