/* ============================================================
   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(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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 .7s var(--ease), transform .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 .25s var(--ease), background .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-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 .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 .3s var(--ease), opacity .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 .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .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(--coral);
}

.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 .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 .25s var(--ease), transform .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;
  background:
    repeating-linear-gradient(135deg,
      rgba(11,27,59,0.05) 0 14px,
      rgba(11,27,59,0.02) 14px 28px);
  border: 1px solid var(--line);
  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: 1px dashed var(--line);
  border-radius: 999px;
}

.ph-hero {
  aspect-ratio: 5 / 6;
  width: 100%;
}
.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: 26px; left: -14px; color: var(--pink); border-color: rgba(233,79,142,0.4); }
.ph-tag-2 { top: 38%; right: -10px; color: var(--teal); border-color: rgba(42,157,143,0.4); }
.ph-tag-3 { bottom: 30px; left: 30px; 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: stretch;
  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: 280px;
  width: 100%;
  border-radius: var(--radius);
}

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

/* ============================================================
   Services
   ============================================================ */
.services { background: var(--bg); }
.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 .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.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-bottom: 22px;
  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 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   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); }

.product-visual {
  position: relative;
}
.ph-product {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--radius);
}
.ph-emico   { background: repeating-linear-gradient(135deg, rgba(233,79,142,0.10) 0 14px, rgba(233,79,142,0.03) 14px 28px); border-color: rgba(233,79,142,0.28); }
.ph-unikits { background: repeating-linear-gradient(135deg, rgba(61,90,254,0.10) 0 14px, rgba(61,90,254,0.03) 14px 28px); border-color: rgba(61,90,254,0.25); }
.ph-robo    { background: repeating-linear-gradient(135deg, rgba(244,196,48,0.18) 0 14px, rgba(244,196,48,0.05) 14px 28px); border-color: rgba(244,196,48,0.45); }
.ph-stem    { background: repeating-linear-gradient(135deg, rgba(231,111,81,0.12) 0 14px, rgba(231,111,81,0.03) 14px 28px); border-color: rgba(231,111,81,0.3); }

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

.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)
   ============================================================ */
.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;
  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 .35s var(--ease), background .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.20), rgba(231,111,81,0.04)); border-color: rgba(231,111,81,0.30); }

.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.7);
  margin: 6px 0 0;
}
.accred-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.accred-logo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.94);
  color: var(--ink);
}
.accred-logo strong {
  font-size: 1.05rem;
  font-weight: 700;
}
.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;
}

/* ============================================================
   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 .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease), background .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);
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(61, 90, 254, 0.10);
  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-sub-light {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
  display: block;
}

.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 .25s var(--ease), color .25s var(--ease);
}
.c-card:hover .c-arrow {
  transform: translateX(4px);
  color: var(--ink);
}

/* HQ / location card — featured treatment */
.c-card-hq {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: stretch;
  padding: 22px;
  background: linear-gradient(160deg, #0B1B3B 0%, #14254F 100%);
  color: var(--bg);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.c-card-hq:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -22px rgba(11, 27, 59, 0.55);
}

/* miniature dotted-grid "map" */
.c-map {
  position: relative;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.06);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, rgba(244, 196, 48, 0.10), transparent 60%);
  background-size: 14px 14px, 100% 100%;
  background-position: 0 0, 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
}
.c-map::after {
  /* faux route line */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 38%, rgba(244, 196, 48, 0.6) 38%, rgba(244, 196, 48, 0.6) 40%, transparent 40%),
    linear-gradient(115deg, transparent 60%, rgba(231, 111, 81, 0.45) 60%, rgba(231, 111, 81, 0.45) 61.5%, transparent 61.5%);
  mix-blend-mode: screen;
  opacity: 0.7;
  border-radius: 14px;
  pointer-events: none;
}
.c-map-pin {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 6px rgba(231, 111, 81, 0.25),
    0 0 0 14px rgba(231, 111, 81, 0.12);
  animation: pin-pulse 2.4s var(--ease) infinite;
}
@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(231, 111, 81, 0.25), 0 0 0 14px rgba(231, 111, 81, 0.12); }
  50%      { box-shadow: 0 0 0 8px rgba(231, 111, 81, 0.32), 0 0 0 20px rgba(231, 111, 81, 0.05); }
}

.c-body-hq { gap: 4px; }
.c-body-hq .c-label { color: rgba(250, 250, 247, 0.55); }
.c-body-hq .c-value {
  color: var(--bg);
  font-size: 1.2rem;
  font-weight: 700;
}
.c-sub {
  margin-top: 4px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(250, 250, 247, 0.7);
}
.c-hours {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: rgba(250, 250, 247, 0.75);
}
.c-hours strong {
  color: var(--bg);
  font-weight: 600;
  margin-right: 6px;
}

.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 .2s var(--ease), box-shadow .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: 96px; }

.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: 4 / 3; }

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

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

  .c-card-hq { grid-template-columns: 1fr; }
  .c-map { min-height: 110px; }
}

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