/* ============================================================
   Eduprime — Landing styles
   Type: Plus Jakarta Sans + JetBrains Mono for placeholder labels
   ============================================================ */

:root {
  /* color tokens */
  --bg: #fafaf7;
  --bg-2: #f2efe8;
  --ink: #0b1b3b;
  --ink-2: #1b2a4e;
  --muted: #5a6480;
  --line: #e6e2d8;
  --line-2: rgba(11, 27, 59, 0.08);

  --coral: #e76f51;
  --gold: #f4c430;
  --teal: #2a9d8f;
  --indigo: #3d5afe;
  --pink: #e94f8e;

  /* sizing */
  --container: 1200px;
  --gutter: 24px;
  --radius: 18px;
  --radius-sm: 10px;

  /* type scale */
  --fs-display: clamp(2.4rem, 5.2vw, 4.2rem);
  --fs-h2: clamp(1.8rem, 3.4vw, 2.8rem);
  --fs-h3: clamp(1.4rem, 2.2vw, 1.8rem);
  --fs-lede: clamp(1rem, 1.3vw, 1.18rem);
  --fs-body: 1rem;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* keep anchor targets clear of the sticky header */
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 250, 247, 0.95);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 58px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
}
.brand-mark img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.brand-name {
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--ink);
  transition: right 0.3s var(--ease);
}
.nav a:hover::after {
  right: 0;
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 10px 8px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-2);
  font-weight: 500;
}
.mobile-menu .btn {
  margin-top: 10px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1px solid transparent;
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}
.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 6px 20px -10px rgba(11, 27, 59, 0.5);
}
.btn-primary:hover {
  background: #14254f;
  box-shadow: 0 10px 26px -10px rgba(11, 27, 59, 0.6);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--bg-2);
}

.btn-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  padding: 12px 20px;
}
.btn-dark:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ============================================================
   Type helpers
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.18);
}

.section-kicker {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.section-kicker.light {
  color: rgba(250, 250, 247, 0.7);
}

.section-title {
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 18px;
  text-wrap: balance;
}
.section-title.light {
  color: var(--bg);
}

.section-lede {
  font-size: var(--fs-lede);
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
  text-wrap: pretty;
}

.serif-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--indigo);
}

.section {
  padding: clamp(72px, 10vw, 130px) 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .section-lede {
  margin-inline: auto;
}

/* ============================================================
   Hero Slider
   ============================================================ */
.hero-slider {
  position: relative;
}

.hero-slide {
  display: none;
}
.hero-slide.is-active {
  display: block;
  animation: slideIn 0.55s var(--ease);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0 4px;
  position: relative;
  z-index: 1;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.slider-dot.is-active {
  background: var(--ink);
  transform: scale(1.25);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(32px, 5vw, 60px) 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg .dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}
.dot-1 {
  width: 380px;
  height: 380px;
  background: #fde7c8;
  top: -80px;
  left: -80px;
}
.dot-2 {
  width: 320px;
  height: 320px;
  background: #d6e5ff;
  top: 40%;
  right: -100px;
}
.dot-3 {
  width: 240px;
  height: 240px;
  background: #fdd7cd;
  bottom: -60px;
  left: 28%;
}
.dot-4 {
  width: 200px;
  height: 200px;
  background: #d0f0ea;
  top: 8%;
  right: 30%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.display {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 22px 0 18px;
  text-wrap: balance;
}
.hl {
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.04em;
  height: 0.35em;
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-6deg);
}
.hl-coral::after {
  background: rgba(231, 111, 81, 0.35);
}
.hl-gold::after {
  background: rgba(244, 196, 48, 0.55);
}
.hl-indigo::after {
  background: rgba(61, 90, 254, 0.25);
}

.lede {
  font-size: var(--fs-lede);
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero-meta li {
  display: flex;
  flex-direction: column;
}
.hero-meta strong {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-meta span {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ----- Hero visual placeholder ----- */
.ph {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 8px 14px;
  background: var(--bg);
  border-radius: 999px;
}

.ph-hero {
  aspect-ratio: 3 / 4;
  width: 100%;
  max-width: 470px;
  max-height: 700px;
  margin-inline: auto;
  background: transparent;
  padding: 10px;
}
.ph-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* REMOVE THE STYLING */
/* Larger hero visual (e.g. slide 2 / SB2a)
  .ph-hero--lg {
    max-width: 460px;
    max-height: 680px;
  } 
*/

.ph-hero--primary {
  background: linear-gradient(
    145deg,
    rgba(244, 196, 48, 0.2),
    rgba(231, 111, 81, 0.12)
  );
  border: 1px solid rgba(231, 111, 81, 0.16);
  box-shadow: 0 20px 50px -24px rgba(11, 27, 59, 0.28);
}
.ph-hero--primary img {
  border-radius: 22px;
  object-fit: cover;
  transform: scale(1.02);
}
.ph-hero--secondary {
  background: linear-gradient(
    145deg,
    rgba(42, 157, 143, 0.16),
    rgba(61, 90, 254, 0.1)
  );
  border: 1px solid rgba(42, 157, 143, 0.16);
  box-shadow: 0 18px 46px -24px rgba(11, 27, 59, 0.26);
}
.ph-hero--secondary img {
  border-radius: 20px;
  object-fit: cover;
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 16px 24px rgba(11, 27, 59, 0.16));
}
.ph-tag {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -14px rgba(11, 27, 59, 0.4);
  white-space: nowrap;
}
.ph-tag-1 {
  top: 16px;
  left: 12px;
  color: var(--pink);
  border-color: rgba(233, 79, 142, 0.4);
}
.ph-tag-2 {
  top: 32%;
  right: 12px;
  color: var(--teal);
  border-color: rgba(42, 157, 143, 0.4);
}
.ph-tag-3 {
  bottom: 16px;
  right: 12px;
  color: var(--indigo);
  border-color: rgba(61, 90, 254, 0.35);
}

/* ============================================================
   Who we are
   ============================================================ */
.who {
  background: var(--bg-2);
}

.who-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 56px;
}

.who-left {
  display: flex;
  flex-direction: column;
}
.who-left .section-title {
  margin: 0 0 8px;
}
.who-sub {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 20px;
}
.who-body {
  font-size: 1.05rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.7;
}

.who-right {
  display: flex;
  flex-direction: column;
}
.who-ph {
  flex: 1;
  min-height: 260px;
  max-height: 320px;
  width: 100%;
  border-radius: var(--radius);
}
.who-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About section — transparent robots artwork shown in full, no card frame */
.who .who-ph {
  border-radius: 0;
  background: transparent;
  min-height: 0;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.who .who-ph img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.who-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ============================================================
   Services
   ============================================================ */
.services {
  background: var(--bg);
}
/* Product photo with transparent background — show full & horizontal, no card framing */
.services .who-ph {
  border-radius: 0;
  background: transparent;
  min-height: 0;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services .who-ph img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

/* Services board-photo slider — fixed stage so varying aspect ratios don't shift layout */
.svc-slider {
  position: relative;
  width: 100%;
}
.svc-stage {
  position: relative;
  height: clamp(240px, 26vw, 360px);
}
.svc-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s var(--ease),
    visibility 0.5s var(--ease);
}
.svc-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.svc-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.svc-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 4px;
}
.svc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.svc-dot.is-active {
  background: var(--ink);
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .svc-slide {
    transition: none;
  }
}

.services-sub {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  background: var(--bg);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 6px 12px;
  align-items: start;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px -28px rgba(11, 27, 59, 0.4);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--ink);
  background: var(--bg-2);
}
.service-icon[data-color="coral"] {
  background: rgba(231, 111, 81, 0.14);
  color: var(--coral);
}
.service-icon[data-color="gold"] {
  background: rgba(244, 196, 48, 0.22);
  color: #b68c06;
}
.service-icon[data-color="teal"] {
  background: rgba(42, 157, 143, 0.16);
  color: var(--teal);
}
.service-icon[data-color="indigo"] {
  background: rgba(61, 90, 254, 0.14);
  color: var(--indigo);
}

.service-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  align-self: center;
  grid-column: 2;
  grid-row: 1;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 4px;
  max-width: 44ch;
}

/* Stack service cards vertically on small screens */
@media (max-width: 700px) {
  .service-card {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
  }
  .service-card .service-icon {
    justify-self: center;
    margin-bottom: 12px;
  }
  .service-card h3,
  .service-card p {
    grid-column: 1;
  }
}

/* ============================================================
   Products
   ============================================================ */
.products {
  background: var(--bg-2);
}
.product {
  --accent: var(--ink);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.product:first-of-type {
  border-top: none;
  padding-top: 0;
}
.product:last-of-type {
  padding-bottom: 0;
}
.product-flip {
  grid-template-columns: 1fr 1.05fr;
}
.product-flip .product-visual {
  order: 2;
}

.product[data-accent="pink"] {
  --accent: var(--pink);
}
.product[data-accent="indigo"] {
  --accent: var(--indigo);
}
.product[data-accent="gold"] {
  --accent: #c99a09;
}
.product[data-accent="coral"] {
  --accent: var(--coral);
}
/* Brand accents — EMICO orange · UNIKITS blue · ROBO-CRAFT red · KYNA purple · STEM GURU green */
.product[data-accent="orange"] {
  --accent: #f5821f;
}
.product[data-accent="blue"] {
  --accent: #0b8fd6;
}
.product[data-accent="red"] {
  --accent: #d62027;
}
.product[data-accent="purple"] {
  --accent: #7c4dff;
}
.product[data-accent="green"] {
  --accent: #1b7a4b;
}

.product-visual {
  position: relative;
}
/* Product image — bare, no tinted frame behind it */
.ph-product {
  aspect-ratio: 4 / 3;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.ph-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
/* STEM Guru image is ~1.36:1, not 4:3 — match its ratio and let it fill
   the frame so the container's rounded corners clip it (like KYNA CODE). */
.ph-product.ph-stem {
  aspect-ratio: 1040 / 766;
}
.ph-product.ph-stem img {
  object-fit: cover;
}

.product-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--accent);
}

/* Audience/eligibility tag — now part of the product copy */
.product-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  /* 0.74rem +20% */
  font-size: 0.89rem;
  font-weight: 500;
  padding: 6px 12px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent);
}

.product-index {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.product-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 14px 0 10px;
  font-weight: 800;
  color: var(--accent);
}
.product-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--ink);
}
.product-desc {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 50ch;
  line-height: 1.6;
}
.product-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ============================================================
   Stats (dark)
   ============================================================ */
/* ===== Global supply ===== */
.global {
  position: relative;
  overflow: hidden;
  /* taller than a default section so the map crops less and reads as a backdrop */
  padding-top: clamp(64px, 7vw, 110px);
  padding-bottom: clamp(64px, 7vw, 110px);
  background:
    radial-gradient(
      70% 90% at 50% 0%,
      rgba(61, 90, 254, 0.16),
      transparent 60%
    ),
    var(--ink);
  color: var(--bg);
}
.global-map {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.global-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.62;
}
/* Scrim keeps the headline and country pills legible over the map */
.global-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(11, 27, 59, 0.82) 0%,
      rgba(11, 27, 59, 0.42) 38%,
      rgba(11, 27, 59, 0.42) 62%,
      rgba(11, 27, 59, 0.88) 100%
    ),
    radial-gradient(
      68% 62% at 50% 50%,
      transparent 40%,
      rgba(11, 27, 59, 0.55) 100%
    );
}
.global-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: clamp(360px, 42vw, 620px);
}
.country-list {
  list-style: none;
  margin: auto auto 0;
  padding: 0;
  max-width: 920px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.country-list li {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--bg);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.country-list li:hover {
  background: rgba(61, 90, 254, 0.22);
  border-color: rgba(61, 90, 254, 0.55);
}

.stats {
  background:
    radial-gradient(
      60% 80% at 80% 0%,
      rgba(61, 90, 254, 0.18),
      transparent 60%
    ),
    radial-gradient(
      70% 80% at 0% 100%,
      rgba(244, 196, 48, 0.12),
      transparent 60%
    ),
    var(--ink);
  color: var(--bg);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
.stat-card {
  position: relative;
  text-align: center;
  padding: 36px 28px 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease);
}
.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
}
.stat-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}
.stat-card[data-variant="accent-gold"] {
  background: linear-gradient(
    160deg,
    rgba(244, 196, 48, 0.18),
    rgba(244, 196, 48, 0.04)
  );
  border-color: rgba(244, 196, 48, 0.32);
}
.stat-card[data-variant="accent-coral"] {
  background: linear-gradient(
    160deg,
    rgba(231, 111, 81, 0.2),
    rgba(231, 111, 81, 0.04)
  );
  border-color: rgba(231, 111, 81, 0.3);
}

.stat-num {
  font-size: clamp(2.6rem, 4.8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--bg);
}
.stat-label {
  margin-top: 12px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--bg);
}
.stat-foot {
  margin-top: 4px;
  font-size: 0.85rem;
  color: rgba(250, 250, 247, 0.6);
}

/* Accreditations */
.accred {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 48px;
}
.accred-head {
  text-align: center;
  margin-bottom: 32px;
}
.accred-head p {
  color: rgba(250, 250, 247, 0.85);
  margin: 6px 0 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 26ch;
  margin-inline: auto;
}
.accred-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.accred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
/* White logo box — image only */
.accred-logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
/* Label pushed below the box, in white */
.accred-item > strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: -0.01em;
}
.accred-logo small {
  font-size: 0.82rem;
  color: var(--muted);
}
.accred-mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 14px 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  margin-bottom: 6px;
}
/* Logos vary in aspect ratio — cap both axes so they optically match */
.accred-logo {
  min-height: 168px;
  padding: 24px 20px;
}
.accred-img {
  height: auto;
  width: auto;
  max-height: 88px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 0;
}
/* Near-square logos need more height to carry the same visual weight */
.accred-img--tall {
  max-height: 118px;
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.contact-cards {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* clickable email + phone cards */
.c-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.c-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 18px 34px -24px rgba(11, 27, 59, 0.35);
}

/* Location & timings cards have no arrow, so fix their grid */
.c-card-locations,
.c-card-timings {
  grid-template-columns: 44px 1fr;
  cursor: default;
}
.c-card-locations:hover,
.c-card-timings:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(61, 90, 254, 0.1);
  color: var(--indigo);
  flex-shrink: 0;
}
.c-card:nth-child(2) .c-icon {
  background: rgba(231, 111, 81, 0.14);
  color: var(--coral);
}
.c-icon-location {
  background: rgba(42, 157, 143, 0.14) !important;
  color: var(--teal) !important;
}
.c-icon-timings {
  background: rgba(244, 196, 48, 0.18) !important;
  color: #a87c05 !important;
}

.c-locations-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.c-loc {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.c-loc-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(42, 157, 143, 0.1);
  border-radius: 4px;
  padding: 2px 6px;
  width: max-content;
}
.c-loc-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.c-loc-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
  flex-shrink: 0;
}

.c-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.c-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.c-value {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.c-arrow {
  font-size: 1.2rem;
  color: var(--muted);
  transition:
    transform 0.25s var(--ease),
    color 0.25s var(--ease);
}
.c-card:hover .c-arrow {
  transform: translateX(4px);
  color: var(--ink);
}

.contact-form {
  padding: 32px;
  margin-top: 0;
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
}
.field-optional {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(11, 27, 59, 0.08);
}
.field textarea {
  resize: vertical;
  min-height: 64px;
}

/* Honeypot — off-screen rather than display:none, which bots skip. */
.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Cloudflare Turnstile widget slot */
.field-captcha {
  min-height: 65px;
}
.field-captcha[hidden] {
  display: none;
}

.form-status {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--teal);
  min-height: 1.2em;
}
.form-status.error {
  color: var(--coral);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.brand-dark .brand-name {
  color: var(--bg);
}
.foot-brand p {
  margin: 14px 0 0;
  color: rgba(250, 250, 247, 0.65);
  max-width: 32ch;
  font-size: 0.95rem;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-col h5 {
  font-size: 0.78rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.5);
  margin: 0 0 8px;
  font-weight: 500;
}
.foot-col a {
  color: rgba(250, 250, 247, 0.85);
  font-size: 0.95rem;
  padding: 2px 0;
  width: max-content;
}
.foot-col a:hover {
  color: var(--bg);
  text-decoration: underline;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(250, 250, 247, 0.5);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ph-hero {
    aspect-ratio: 3 / 4;
    max-width: 360px;
  }

  .who-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .who-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product,
  .product-flip {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .product-flip .product-visual {
    order: 0;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .accred-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form {
    margin-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .nav-row {
    height: 54px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .accred-row {
    grid-template-columns: 1fr;
  }
  .who-cards {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
