/* =========================================================
   ARISTOPOLE GROUP V2 — styles.css
   Design: PCT / Haven Energy exact replica layout
   Font: DM Sans (Google Fonts) — matches reference letterforms
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --blue:    #0FBECE;   /* Aristopole aqua mapped to PCT's blue accent */
  --blue-dk: #0CA8B8;
  --ink:     #0A0C10;
  --body:    #374151;
  --muted:   #6B7280;
  --light:   #9CA3AF;
  --border:  #E5E7EB;
  --surface: #F9FAFB;
  --white:   #FFFFFF;

  --font:    'DM Sans', sans-serif;
  --nav-h:   64px;
  --max:     1200px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; overflow-x: hidden; }
body  { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button, input, select, textarea { font-family: var(--font); }

/* ─── Container ──────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 56px; }
section[id], div[id] { scroll-margin-top: var(--nav-h); }

/* ─── Scroll reveal ──────────────────────────────────────── */
/* All elements rise from below — no left/right slides.
   Easing: ease-out-quart — fast start, long smooth deceleration. */
.rv,
.rv-l,
.rv-r {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.rv.in, .rv-l.in, .rv-r.in {
  opacity: 1;
  transform: none;
}
/* Each step adds ~140ms — cards land one after another like a dealt hand */
.d1 { transition-delay: 0.10s; } .d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.38s; } .d4 { transition-delay: 0.52s; }
.d5 { transition-delay: 0.66s; } .d6 { transition-delay: 0.80s; }



/* ══════════════════════════════════════════════════════════
   NAVBAR  — white bg, logo left, plain links right, no button
   ══════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: var(--white);
  box-shadow: 0 1px 0 transparent, 0 4px 24px transparent;
  transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled {
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06);
}

.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo img { height: 38px; width: auto; object-fit: contain; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 6px 16px;
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted);
  border-radius: 4px;
  transition: color 0.18s;
}
.nav-links a:hover, .nav-links a.on { color: var(--ink); }

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all 0.25s; transform-origin: center; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none; flex-direction: column;
  position: fixed; inset: 0; background: var(--white); z-index: 199;
  padding: 88px 40px 40px; gap: 0;
  transform: translateX(100%); transition: transform 0.34s ease;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.nav-drawer.open { transform: none; }
.nav-drawer a {
  font-size: 1.2rem; font-weight: 700; color: var(--ink);
  padding: 15px 0; border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
  animation: none; /* reset so animation re-fires on every open */
}
.nav-drawer a:hover { color: var(--blue); }
.nav-drawer .mob-cta {
  margin-top: 28px; display: inline-block;
  padding: 12px 28px; background: var(--blue); color: var(--white);
  font-size: 0.9rem; font-weight: 600; border-radius: 4px;
  border-bottom: none;
}

/* Drawer links: stagger up from below as the drawer slides in — mirrors the
   careers "join us" stack animation. fill-mode:both keeps each link at the
   from-state during its delay so there's no opacity flash before it plays. */
@keyframes drawerLinkIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.nav-drawer.open a {
  animation: drawerLinkIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.nav-drawer.open a:nth-child(1) { animation-delay: 0.08s; }
.nav-drawer.open a:nth-child(2) { animation-delay: 0.16s; }
.nav-drawer.open a:nth-child(3) { animation-delay: 0.24s; }
.nav-drawer.open a:nth-child(4) { animation-delay: 0.32s; }
.nav-drawer.open a:nth-child(5) { animation-delay: 0.40s; }
.nav-drawer.open a:nth-child(6) { animation-delay: 0.48s; }
.nav-drawer.open a:nth-child(7) { animation-delay: 0.56s; }
.nav-drawer.open a:nth-child(8) { animation-delay: 0.70s; }


/* ══════════════════════════════════════════════════════════
   HERO  — fixed ~58vh, image covers it, text bottom-left
   ══════════════════════════════════════════════════════════ */
.hero {
  margin-top: var(--nav-h);
  position: relative;
  height: 60vh; min-height: 440px; max-height: 720px;
  overflow: hidden;
}

.hero-img {
  position: absolute; inset: 0;
}
.hero-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  animation: hZoom 16s ease-in-out infinite alternate;
}
@keyframes hZoom { from { transform: scale(1); } to { transform: scale(1.04); } }

/* Gradient: strong on left/bottom, fades out on right */
.hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.52) 40%,
    rgba(0,0,0,0.18) 75%,
    transparent 100%
  ),
  linear-gradient(
    to top,
    rgba(0,0,0,0.55) 0%,
    transparent 60%
  );
}

/* Text: pinned to bottom-left */
.hero-copy {
  position: absolute;
  bottom: 52px; left: 0; right: 0;
  z-index: 2;
}
.hero-copy-inner {
  max-width: 620px;
}

.hero-h1 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.025em; color: var(--white);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 0.9rem; font-weight: 400;
  color: rgba(255,255,255,0.65); line-height: 1.65;
  max-width: 420px; margin-bottom: 28px;
}

.hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: var(--blue); color: var(--white);
  font-size: 0.85rem; font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
}
.hero-btn:hover { background: var(--blue-dk); transform: translateY(-1px); }
.hero-btn svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }


/* ══════════════════════════════════════════════════════════
   STATEMENT SECTION  — white, headline left + decorative right
   ══════════════════════════════════════════════════════════ */
.statement {
  background: var(--white);
  padding: 80px 0 0;
}

/* Top part: 2 columns */
.statement-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding-bottom: 72px;
}

.stmt-h {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -0.025em; color: var(--ink);
  margin-bottom: 20px;
}

.stmt-body {
  font-size: 0.88rem; font-weight: 400;
  color: var(--muted); line-height: 1.75;
  max-width: 360px;
}

/* Decorative SVG diagram — right column */
.stmt-diagram {
  display: flex; align-items: center; justify-content: center;
}
.stmt-diagram svg {
  width: 100%; max-width: 460px; height: auto;
}

/* Stats row — below the 2-col, separated by a top border */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  padding: 52px 0;
}

.stat-cell {
  padding: 0 48px 0 0;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; padding-right: 0; }
.stat-cell:not(:first-child) { padding-left: 48px; }

.stat-num {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--ink);
  letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 4px;
}
.stat-num sup { font-size: 0.55em; vertical-align: super; letter-spacing: 0; }
.stat-num span { color: var(--blue); }

.stat-label {
  font-size: 0.78rem; font-style: italic;
  color: var(--muted); margin-bottom: 12px;
}

.stat-desc {
  font-size: 0.8rem; color: var(--light); line-height: 1.65;
}


/* ══════════════════════════════════════════════════════════
   PARTNERS STRIP  — "A few companies we partner with..."
   ══════════════════════════════════════════════════════════ */
.partners-strip {
  padding: 44px 0;
  border-top: 1px solid var(--border);
}

/* Label row above the marquee */
.ps-label {
  font-size: 0.88rem; font-weight: 500;
  color: var(--light); line-height: 1.5;
  margin-bottom: 24px;
}

/* Logo reveal track */
.ps-track {
  position: relative;
}

/* Staggered fade-in reveal — logos rise in one by one, hold together, fade out, repeat */
@keyframes logoReveal {
  0%   { opacity: 0; transform: translateY(10px); }
  12%  { opacity: 1; transform: translateY(0); }
  75%  { opacity: 1; transform: translateY(0); }
  90%  { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 0; transform: translateY(-6px); }
}

/* Desktop — fill the full row with even spacing, staggered fade reveal */
.ps-logos {
  display: flex; align-items: center; justify-content: space-evenly;
}

.ps-img--dup { display: none; }

.ps-img {
  height: 52px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0;
  filter: grayscale(1) opacity(0.45);
  animation: logoReveal 9s cubic-bezier(0.22, 1, 0.36, 1) infinite both;
  transition: filter 0.4s;
}
.ps-img:nth-child(1) { animation-delay: 0s; }
.ps-img:nth-child(2) { animation-delay: 0.35s; }
.ps-img:nth-child(3) { animation-delay: 0.7s; }
.ps-img:nth-child(4) { animation-delay: 1.05s; }
.ps-img:nth-child(5) { animation-delay: 1.4s; }
.ps-img:nth-child(6) { animation-delay: 1.75s; }
.ps-img:hover        { filter: grayscale(0) opacity(1); }

/* Mobile — switch to a scrolling marquee */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 880px) {
  .ps-track {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  }
  .ps-logos {
    justify-content: flex-start;
    width: max-content;
    animation: marquee 22s linear infinite;
  }
  .ps-track:hover .ps-logos { animation-play-state: paused; }
  .ps-img {
    animation: none;
    opacity: 1;
    margin-right: 56px;
  }
  .ps-img--dup { display: block; }
}


/* ══════════════════════════════════════════════════════════
   WHY CHOOSE  — exact reference layout
   Left: 2-line headline (dark + accent)
   Right: feature rows with tiny icon + title + desc
   ══════════════════════════════════════════════════════════ */
.why {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

.why-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

/* Left col */
.why-headline {}
.why-h-line1 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.1; color: var(--ink);
  display: block;
}
.why-h-line2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.1; color: var(--blue);
  display: block;
}

/* Right col */
.why-features { display: flex; flex-direction: column; }

.why-feat {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.why-feat:first-child { padding-top: 0; }
.why-feat:last-child  { border-bottom: none; padding-bottom: 0; }

.wf-icon {
  width: 28px; height: 28px; margin-bottom: 12px;
}
.wf-icon svg {
  width: 28px; height: 28px; stroke: var(--blue);
  stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round;
}

.wf-title {
  font-size: 0.95rem; font-weight: 700;
  color: var(--ink); margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.wf-desc {
  font-size: 0.82rem; color: var(--muted); line-height: 1.7;
}


/* ══════════════════════════════════════════════════════════
   SERVICES  — light gray bg, card grid
   ══════════════════════════════════════════════════════════ */
.services {
  background: var(--surface);
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

.sec-head {
  margin-bottom: 48px;
}
.sec-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.sec-title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink);
}

.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

.svc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.svc-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }

.svc-img { height: 190px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9); transition: transform 0.5s ease, filter 0.5s ease; }
.svc-card:hover .svc-img img { transform: scale(1.05); filter: brightness(0.8); }

.svc-body { padding: 22px 24px 26px; }
.svc-tag  { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.svc-title { font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 8px; }
.svc-desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }


/* ══════════════════════════════════════════════════════════
   SPLIT SECTIONS  (About, Products)
   ══════════════════════════════════════════════════════════ */
.split-sec {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.split-sec.alt { background: var(--surface); }

.split-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.split-img { position: relative; }
.split-img img { width: 100%; height: 500px; object-fit: cover; border-radius: 8px; }
.split-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--white); border-radius: 6px; padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.split-badge strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.split-badge span   { font-size: 0.7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.split-text .sec-label { margin-bottom: 10px; }
.split-text .sec-title { margin-bottom: 18px; }
.split-text p { font-size: 0.9rem; color: var(--muted); line-height: 1.78; margin-bottom: 16px; }

.blockquote {
  margin: 24px 0 28px; padding: 16px 20px;
  border-left: 3px solid var(--blue); background: var(--surface);
  border-radius: 0 4px 4px 0;
  font-size: 0.93rem; font-style: italic; font-weight: 500;
  color: var(--ink); line-height: 1.6;
}
.blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.75rem; font-weight: 700; color: var(--blue); letter-spacing: 0.04em; }

.val-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  margin-top: 28px;
}
.val-cell {
  padding: 16px 14px; text-align: center; border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.val-cell:last-child { border-right: none; }
.val-cell:hover { background: var(--surface); }
.val-cell svg { width: 17px; height: 17px; stroke: var(--blue); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 7px; display: block; }
.val-cell span { font-size: 0.78rem; font-weight: 600; color: var(--ink); }

/* Product list */
.prod-list { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.prod-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 4px; background: var(--surface);
  transition: background 0.2s, transform 0.18s; cursor: pointer;
  text-decoration: none; color: inherit;
}
.prod-row:hover { background: #E0F9FB; transform: translateX(3px); }
.p-ico {
  width: 30px; height: 30px; border-radius: 4px; flex-shrink: 0;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
}
.p-ico svg { width: 14px; height: 14px; stroke: var(--white); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.p-name { font-size: 0.88rem; font-weight: 600; color: var(--ink); flex: 1; }
.p-arr  { color: var(--blue); transition: transform 0.18s; }
.prod-row:hover .p-arr { transform: translateX(3px); }
.p-arr svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }


/* ══════════════════════════════════════════════════════════
   SUSTAINABILITY  — dark bg, image behind
   ══════════════════════════════════════════════════════════ */
.sustain {
  position: relative; overflow: hidden; padding: 88px 0;
}
.sus-bg { position: absolute; inset: 0; }
.sus-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.22); }
.sus-tint { position: absolute; inset: 0; background: rgba(10,12,16,0.6); }

.sus-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}

.sus-text .sec-label { color: var(--blue); }
.sus-text .sec-label::before { background: var(--blue); }

.sus-h {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  color: var(--white); margin-bottom: 18px;
}
.sus-text p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 14px; }

.sus-points { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.sus-pt {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.65);
}
.sus-pt::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

.sus-cards { display: flex; flex-direction: column; gap: 12px; }
.sus-card {
  padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  transition: border-color 0.25s, box-shadow 0.25s,
              opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.sus-card:hover {
  border-color: rgba(15,190,206,0.5);
  box-shadow: 0 4px 20px rgba(15,190,206,0.12);
}

/* Right cards fire just after the left lands, each one trailing the last.
   Third card gets a longer duration so it drifts slowly to rest.          */
.sus-d1 { transition-delay: 0.12s; }
.sus-d2 { transition-delay: 0.26s; }
.sus-d3 {
  transition-delay: 0.42s;
  transition-duration: 0.95s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.sus-ico {
  width: 36px; height: 36px; border-radius: 4px; flex-shrink: 0;
  background: #E6F9FB; display: flex; align-items: center; justify-content: center;
}
.sus-ico svg { width: 16px; height: 16px; stroke: var(--blue); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sus-ct  { font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.sus-cd  { font-size: 0.79rem; color: var(--muted); line-height: 1.55; }


/* ══════════════════════════════════════════════════════════
   CERTIFICATIONS
   ══════════════════════════════════════════════════════════ */
.certs {
  background: var(--surface); padding: 72px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cert-head { text-align: center; margin-bottom: 40px; }
.cert-head .sec-label { margin-bottom: 10px; }
.cert-head .sec-title {}

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cert-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 26px 20px; text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cert-card:hover { border-color: rgba(15,190,206,0.4); box-shadow: 0 4px 20px rgba(15,190,206,0.08); }
.cert-ico {
  width: 42px; height: 42px; border-radius: 50%; background: #E6F9FB;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.cert-ico svg { width: 19px; height: 19px; stroke: var(--blue); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cert-lbl { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 5px; }
.cert-val { font-size: 0.85rem; font-weight: 600; color: var(--ink); line-height: 1.5; word-break: break-word; }


/* ══════════════════════════════════════════════════════════
   CAREERS
   ══════════════════════════════════════════════════════════ */
.careers { padding: 88px 0; border-top: 1px solid var(--border); }

.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.careers-text .sec-label { margin-bottom: 10px; }
.careers-text .sec-title { margin-bottom: 16px; }
.careers-text p { font-size: 0.88rem; color: var(--muted); line-height: 1.78; margin-bottom: 28px; }

.role-list { display: flex; flex-direction: column; }
.role-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer; text-decoration: none; color: inherit;
}

/* Declared after .role-row so transition shorthand doesn't reset these */
.car-d1 { transition-delay: 0.10s; }
.car-d2 { transition-delay: 0.22s; }
.car-d3 { transition-delay: 0.36s; }
.car-d4 {
  transition-delay: 0.52s;
  transition-duration: 0.90s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.role-row:first-child { border-top: 1px solid var(--border); }
/* Content wrapper — tucks right on hover */
.role-content {
  display: flex; align-items: center; gap: 14px; flex: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.role-row:hover .role-content { transform: translateX(5px); }
.role-ico {
  width: 36px; height: 36px; border-radius: 4px; background: var(--surface); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.role-row:hover .role-ico { background: #E6F9FB; }
.role-ico svg { width: 16px; height: 16px; stroke: var(--muted); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.role-row:hover .role-ico svg { stroke: var(--blue); }
.role-title { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.role-sub   { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
/* Arrow — slides LEFT on hover */
.role-arr   { color: var(--light); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s; flex-shrink: 0; }
.role-row:hover .role-arr { transform: translateX(-10px); color: var(--blue); }
.role-arr svg { width: 20px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.careers-panel {
  background: var(--ink); border-radius: 8px; padding: 40px 36px;
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.careers-panel h3 { font-size: 1.4rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.careers-panel p  { font-size: 0.86rem; color: rgba(255,255,255,0.48); line-height: 1.7; margin-bottom: 22px; }
.cp-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px; background: var(--blue); color: var(--white);
  font-size: 0.875rem; font-weight: 600; border-radius: 4px; border: none;
  cursor: pointer; transition: background 0.2s;
}
.cp-btn:hover { background: var(--blue-dk); }
.cp-btn svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.careers-panel small { display: block; margin-top: 12px; font-size: 0.72rem; color: rgba(255,255,255,0.28); text-align: center; }
.careers-panel small a { color: rgba(15,190,206,0.7); }
.careers-panel small a:hover { color: var(--blue); }


/* ══════════════════════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════════════════════ */
.cta-band {
  background: var(--blue); padding: 72px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,0.07);
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-h { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; color: var(--white); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 8px; }
.cta-band-text p { font-size: 0.95rem; color: rgba(255,255,255,0.72); max-width: 440px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; background: var(--white); color: var(--blue);
  font-size: 0.875rem; font-weight: 600; border-radius: 4px;
  border: none; outline: none; transition: all 0.2s;
}
.btn-white:hover { background: #f0fafc; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.btn-white svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; background: transparent; color: var(--white);
  font-size: 0.875rem; font-weight: 600; border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.4); outline: none; transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }


/* ══════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════ */
.contact {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }

.cf-head .sec-label { margin-bottom: 10px; }
.cf-head h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 6px; }
.cf-head p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-bottom: 32px; }

.form { display: flex; flex-direction: column; gap: 12px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fg   { display: flex; flex-direction: column; gap: 5px; }
.fg label { font-size: 0.76rem; font-weight: 600; color: var(--body); }
.fg input, .fg select, .fg textarea {
  padding: 11px 14px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 4px; font-size: 0.875rem; color: var(--ink); outline: none;
  transition: border-color 0.2s, background 0.2s; appearance: none; -webkit-appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: #C0C9D4; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); background: var(--white); }
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-color: var(--surface); padding-right: 36px;
}
.fg input.err, .fg select.err, .fg textarea.err { border-color: #EF4444; background: #FEF2F2; }
.fg .ferr { font-size: 0.73rem; color: #EF4444; display: none; }
.fg.has-err .ferr { display: block; }
.fg textarea { resize: vertical; min-height: 112px; }

.fsuccess {
  display: none; align-items: center; gap: 10px;
  padding: 13px 14px; background: #ECFDF5; border: 1px solid #6EE7B7;
  border-radius: 4px; font-size: 0.85rem; font-weight: 600; color: #065F46;
}
.fsuccess.show { display: flex; }
.fsuccess svg { width: 17px; height: 17px; stroke: #10B981; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.submit-btn {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start; margin-top: 4px;
  padding: 11px 26px; background: var(--blue); color: var(--white);
  font-size: 0.875rem; font-weight: 600; border-radius: 4px; border: none;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.submit-btn:hover { background: var(--blue-dk); transform: translateY(-1px); }
.submit-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.submit-btn svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Contact info */
.ci-panel h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 6px; }
.ci-panel > p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; margin-bottom: 28px; }

.ci-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.ci-row  { display: flex; gap: 12px; align-items: flex-start; }
.ci-ico  {
  width: 36px; height: 36px; border-radius: 4px; flex-shrink: 0;
  background: #E6F9FB; display: flex; align-items: center; justify-content: center;
}
.ci-ico svg { width: 16px; height: 16px; stroke: var(--blue); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ci-lbl { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--light); margin-bottom: 2px; }
.ci-val { font-size: 0.875rem; color: var(--ink); line-height: 1.55; }
.ci-val a { color: var(--blue); }
.ci-val a:hover { text-decoration: underline; }

.map-box {
  border-radius: 6px; height: 200px; overflow: hidden;
  border: 1px solid var(--border);
}


/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
}

.f-brand img { height: 44px; width: auto; object-fit: contain; margin-bottom: 16px; }
.f-brand p   { font-size: 0.82rem; color: var(--muted); line-height: 1.72; max-width: 240px; margin-bottom: 18px; }
.f-reg       { font-size: 0.67rem; color: var(--light); line-height: 1.8; }
.f-socials   { display: flex; gap: 7px; margin-top: 16px; }
.f-soc {
  width: 30px; height: 30px; border-radius: 4px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s;
}
.f-soc:hover { background: var(--blue); border-color: var(--blue); }
.f-soc svg { width: 13px; height: 13px; fill: var(--muted); transition: fill 0.2s; }
.f-soc:hover svg { fill: var(--white); }

.f-col h4 { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--light); margin-bottom: 16px; }
.f-col ul  { display: flex; flex-direction: column; gap: 9px; }
.f-col a   { font-size: 0.84rem; color: var(--muted); transition: color 0.2s; }
.f-col a:hover { color: var(--ink); }

.footer-wordmark { padding: 36px 0 24px; overflow: hidden; }
.footer-wordmark img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  user-select: none;
  pointer-events: none;
  filter: grayscale(1) opacity(0.18);
}

.footer-bar {
  padding: 18px 0; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-bar p { font-size: 0.74rem; color: var(--light); line-height: 1.6; }
.footer-bar-links { display: flex; gap: 18px; }
.footer-bar-links a { font-size: 0.72rem; color: var(--light); transition: color 0.2s; }
.footer-bar-links a:hover { color: var(--blue); }



/* ══════════════════════════════════════════════════════════
   INNER PAGE HERO  — compact, ~44vh, text left-aligned
   ══════════════════════════════════════════════════════════ */
.page-hero {
  margin-top: var(--nav-h);
  position: relative;
  height: 44vh; min-height: 320px; max-height: 520px;
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.25) 100%
  ),
  linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
}
.page-hero-body {
  position: relative; z-index: 2;
  padding-bottom: 52px; width: 100%;
}
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.page-hero-eyebrow::before { content:''; width:22px; height:1.5px; background:var(--blue); }
.page-hero-h {
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.08;
  color: var(--white); max-width: 640px;
}
.page-hero-sub {
  font-size: 0.95rem; color: rgba(255,255,255,0.58);
  line-height: 1.7; max-width: 500px; margin-top: 14px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 500; color: var(--muted);
  padding: 18px 0; border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--light); font-size: 0.7rem; }
.breadcrumb strong { color: var(--ink); font-weight: 600; }


/* ══════════════════════════════════════════════════════════
   TEAM CARDS
   ══════════════════════════════════════════════════════════ */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.team-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.team-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.team-card-img { height: 220px; background: #D1E8EC; display: flex; align-items: center; justify-content: center; }
.team-card-img svg { width: 56px; height: 56px; stroke: var(--blue); stroke-width: 1; fill: none; opacity: 0.4; stroke-linecap: round; stroke-linejoin: round; }
.team-card-body { padding: 18px 20px; }
.team-card-name { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em; }
.team-card-role { font-size: 0.78rem; font-weight: 500; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; }


/* ══════════════════════════════════════════════════════════
   SERVICE DETAIL CARD  (services page)
   ══════════════════════════════════════════════════════════ */
.svc-detail {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.svc-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.svc-detail:nth-child(even) .svc-detail-grid { direction: rtl; }
.svc-detail:nth-child(even) .svc-detail-grid > * { direction: ltr; }

.svc-detail-img img { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; }

.svc-detail-text .sec-label { margin-bottom: 10px; }
.svc-detail-text .sec-title { margin-bottom: 16px; }
.svc-detail-text p { font-size: 0.9rem; color: var(--muted); line-height: 1.78; margin-bottom: 16px; }

.feat-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; }
.feat-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.87rem; color: var(--body); line-height: 1.55;
}
.feat-item::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0; margin-top: 6px;
}

.partner-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  margin-top: 4px;
}
.partner-badge span { color: var(--ink); }


/* ══════════════════════════════════════════════════════════
   PARTNER PROFILE CARD
   ══════════════════════════════════════════════════════════ */
.partner-grid-full { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.partner-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 28px 24px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.partner-card:hover {
  border-color: rgba(15,190,206,0.4);
  box-shadow: 0 8px 32px rgba(15,190,206,0.08);
  transform: translateY(-3px);
}
.partner-card-logo {
  height: 48px; display: flex; align-items: center; margin-bottom: 18px;
}
.partner-card-logo img { max-height: 40px; width: auto; object-fit: contain; }
.partner-card-logo span {
  font-size: 1.05rem; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink);
}
.partner-card-sector {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.partner-card-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }


/* ══════════════════════════════════════════════════════════
   PRODUCT CATEGORY CARD
   ══════════════════════════════════════════════════════════ */
.prod-cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.prod-cat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.prod-cat-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.prod-cat-img { height: 200px; overflow: hidden; }
.prod-cat-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9); transition: transform 0.5s ease, filter 0.5s ease; }
.prod-cat-card:hover .prod-cat-img img { transform: scale(1.05); filter: brightness(0.8); }
.prod-cat-body { padding: 22px 22px 24px; }
.prod-cat-tag  { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.prod-cat-title { font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 10px; }
.prod-cat-desc  { font-size: 0.83rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.prod-cat-brands { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.prod-cat-brands span { color: var(--ink); }


/* ══════════════════════════════════════════════════════════
   CONTACT PAGE  — standalone layout
   ══════════════════════════════════════════════════════════ */
.contact-page { padding: 80px 0; }
.contact-page-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 72px; align-items: start; }

.office-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px;
  margin-bottom: 14px;
}
.office-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em; }
.office-detail { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; font-size: 0.84rem; color: var(--muted); line-height: 1.55; }
.office-detail svg { width: 15px; height: 15px; stroke: var(--blue); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }


/* ══════════════════════════════════════════════════════════
   INNER PAGE RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .team-grid         { grid-template-columns: repeat(2,1fr); }
  .partner-grid-full { grid-template-columns: repeat(2,1fr); }
  .prod-cat-grid     { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 880px) {
  .svc-detail-grid   { grid-template-columns: 1fr; direction: ltr !important; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .team-grid         { grid-template-columns: 1fr 1fr; }
  .partner-grid-full { grid-template-columns: 1fr; }
  .prod-cat-grid     { grid-template-columns: 1fr; }
  .page-hero         { height: 64vw; min-height: 340px; }
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
/* Quick-facts 4-col grid — contact page */
.qf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1080px) {
  .wrap { padding: 0 36px; }
  .svc-grid    { grid-template-columns: repeat(2, 1fr); }
  .cert-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-top  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-row   { grid-template-columns: repeat(3, 1fr); }
  /* Hide Request-a-Quote CTA in nav before links collapse to burger */
  .nav-cta     { display: none; }
  /* Tighten nav link spacing */
  .nav-links a { padding: 6px 10px; }
}

@media (max-width: 880px) {
  .qf-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .qf-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-drawer { display: flex; }

  .statement-top { grid-template-columns: 1fr; gap: 40px; }
  .stmt-diagram  { display: none; }
  .stats-row     { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .stat-cell:nth-child(2) { border-right: none; padding-right: 0; }
  .stat-cell:nth-child(3) { padding-left: 0; border-right: 1px solid var(--border); padding-right: 48px; }
  .stat-cell:last-child   { border-right: none; padding-right: 0; padding-left: 0; }
  .why-wrap    { grid-template-columns: 1fr; gap: 48px; }
  .split-grid  { grid-template-columns: 1fr; gap: 40px; }
  .sus-inner   { grid-template-columns: 1fr; gap: 48px; }
  .careers-grid { grid-template-columns: 1fr; gap: 36px; }
  .careers-panel { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-inner   { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --nav-h: 58px; }
  .wrap { padding: 0 20px; }

  .hero { height: 76vw; min-height: 420px; }
  .hero-copy { bottom: 28px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none !important; padding: 0 0 24px !important; padding-left: 0 !important; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: none; padding-bottom: 0 !important; }

  .svc-grid    { grid-template-columns: 1fr; }
  .cert-grid   { grid-template-columns: 1fr 1fr; }
  .footer-top  { grid-template-columns: 1fr; }
  .footer-bar  { flex-direction: column; text-align: center; }
  .footer-bar-links { justify-content: center; }
  .frow        { grid-template-columns: 1fr; }
  .val-row     { grid-template-columns: 1fr; }
  .val-cell    { border-right: none; border-bottom: 1px solid var(--border); }
  .val-cell:last-child { border-bottom: none; }
  .cta-btns    { flex-direction: column; width: 100%; }
  .btn-white, .btn-ghost { justify-content: center; }
}


/* ══════════════════════════════════════════════════════════
   TEAM CARD — photo variant
   ══════════════════════════════════════════════════════════ */
.team-card-img--photo { background: var(--surface); }
.team-card-img--photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform 0.45s ease;
}
.team-card:hover .team-card-img--photo img { transform: scale(1.04); }

/* ── Responsive grid utilities ───────────────────────────
   Use these classes instead of inline grid-template-columns
   so media queries can collapse them on mobile.
   ──────────────────────────────────────────────────────── */
.grid-2col { display:grid; grid-template-columns:1fr 1fr; }
.grid-3col { display:grid; grid-template-columns:repeat(3,1fr); }
.grid-5col { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
@media (max-width: 1080px) {
  .grid-5col { grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 880px) {
  .grid-2col { grid-template-columns:1fr; }
  .grid-3col { grid-template-columns:1fr; }
  .grid-5col { grid-template-columns:1fr; }
}

/* 5-col team grid — collapse gracefully */
@media (max-width: 1200px) {
  .team-grid[style*="repeat(5"] { grid-template-columns: repeat(3,1fr) !important; }
}
@media (max-width: 760px) {
  .team-grid[style*="repeat(5"] { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 480px) {
  .team-grid[style*="repeat(5"] { grid-template-columns: 1fr !important; }
}


/* ══════════════════════════════════════════════════════════
   NAV CTA BUTTON
   ══════════════════════════════════════════════════════════ */
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: var(--blue); color: var(--white);
  font-size: 0.82rem; font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--blue-dk); transform: translateY(-1px); }
@media (max-width: 880px) { .nav-cta { display: none; } }


/* ══════════════════════════════════════════════════════════
   PRIMARY BUTTON  (inline/text contexts)
   ══════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px;
  background: var(--blue); color: var(--white);
  font-size: 0.875rem; font-weight: 600;
  border-radius: 4px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn-primary:hover { color: var(--white); }
.btn-primary:disabled { opacity: 0.6; cursor: default; transform: none; }


/* ══════════════════════════════════════════════════════════
   SERVICES PAGE — svc-detail layout
   ══════════════════════════════════════════════════════════ */
/* Override to make .svc-detail a grid directly (services.html structure) */
.svc-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.svc-detail:first-of-type { border-top: none; }
.svc-detail--rev .svc-detail-img { order: 2; }
.svc-detail--rev .svc-detail-text { order: 1; }
.svc-detail-img img { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; }
.svc-detail-text .sec-label { margin-bottom: 10px; }
.svc-detail-text .sec-title { margin-bottom: 16px; }
.svc-detail-text p { font-size: 0.9rem; color: var(--muted); line-height: 1.78; margin-bottom: 12px; }

/* Feature list — li with SVG check icon */
.feat-list { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.feat-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.87rem; color: var(--body); line-height: 1.55;
}
.feat-list li svg {
  width: 15px; height: 15px; flex-shrink: 0;
  stroke: var(--blue); stroke-width: 2.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round; margin-top: 1px;
}

/* Brand tags */
.brand-tag {
  display: inline-block; padding: 5px 12px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.75rem; font-weight: 600; color: var(--muted);
  background: var(--surface);
}

/* Partner logo showcase — used in svc-detail sections */
.svc-partner {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.svc-partner-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}
.svc-partner-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.svc-partner-logo-wrap:hover {
  border-color: rgba(15,190,206,0.4);
  box-shadow: 0 2px 14px rgba(15,190,206,0.08);
}
.svc-partner-logo-wrap img {
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.svc-brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 880px) {
  .svc-detail { grid-template-columns: 1fr; gap: 36px; }
  .svc-detail--rev .svc-detail-img { order: 0; }
  .svc-detail--rev .svc-detail-text { order: 0; }
}


/* ══════════════════════════════════════════════════════════
   PRODUCTS PAGE — new category card layout
   ══════════════════════════════════════════════════════════ */
.prod-cat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; margin-bottom: 28px;
  transition: box-shadow 0.25s;
  position: relative;
}
.prod-cat-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.07); }

.prod-cat-num {
  position: absolute; top: 28px; left: 28px;
  font-size: 3.5rem; font-weight: 900; letter-spacing: -0.05em;
  color: rgba(15,190,206,0.10); line-height: 1; pointer-events: none;
  z-index: 0;
}
.prod-cat-body {
  display: grid; grid-template-columns: 320px 1fr;
  position: relative; z-index: 1;
}
.prod-cat-img { overflow: hidden; }
.prod-cat-img img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; filter: brightness(0.92); transition: transform 0.5s ease, filter 0.4s ease; }
.prod-cat-card:hover .prod-cat-img img { transform: scale(1.04); filter: brightness(0.8); }
.prod-cat-content { padding: 36px 40px 36px 36px; }
.prod-cat-title { font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 12px; }
.prod-cat-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.prod-cat-items { display: flex; flex-direction: column; gap: 7px; }
.prod-item {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.83rem; color: var(--body); line-height: 1.5;
}
.prod-item svg {
  width: 14px; height: 14px; flex-shrink: 0;
  stroke: var(--blue); stroke-width: 2.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round; margin-top: 1px;
}

@media (max-width: 880px) {
  .prod-cat-body { grid-template-columns: 1fr; }
  .prod-cat-img img { min-height: 200px; max-height: 220px; }
}
@media (max-width: 600px) {
  .prod-cat-content { padding: 24px 20px; }
}


/* ══════════════════════════════════════════════════════════
   PARTNERS PAGE — expanded partner cards
   ══════════════════════════════════════════════════════════ */
.partners-page-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

.partner-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.partner-card:hover {
  border-color: rgba(15,190,206,0.35);
  box-shadow: 0 8px 36px rgba(15,190,206,0.08);
  transform: translateY(-3px);
}
.partner-card-logo {
  height: 160px; padding: 20px 24px;
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-clip: content-box;
}
.partner-card-logo::after {
  content: ''; position: absolute;
  bottom: 0; left: 24px; right: 24px;
  height: 1px; background: var(--border);
}
.partner-card-logo img { display: none; }
.partner-card-logo--text span {
  font-size: 1.2rem; font-weight: 900; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink);
}
.partner-card-body { padding: 22px 24px 26px; }
.partner-card-region {
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 7px;
}
.partner-card-name { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.partner-card-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.partner-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.partner-card-tags span {
  padding: 4px 10px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.7rem; font-weight: 600; color: var(--muted);
}

@media (max-width: 600px)  { .partners-page-grid { grid-template-columns: 1fr; } }

/* Opportunities cards — stack icon above content on mobile */
.opp-inner {
  display: flex; align-items: flex-start; gap: 24px;
}
@media (max-width: 640px) {
  .opp-inner { flex-direction: column; gap: 16px; }
  .opp-inner .btn-primary { display: flex !important; justify-content: center; width: 100%; box-sizing: border-box; }
}


/* ══════════════════════════════════════════════════════════
   CONTACT PAGE — form & office card styles
   ══════════════════════════════════════════════════════════ */
.contact-page {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: start;
}

/* Form elements */
.f-group { display: flex; flex-direction: column; gap: 5px; }
.f-lbl   { font-size: 0.76rem; font-weight: 600; color: var(--body); }
.f-req   { color: var(--blue); }
.f-inp {
  padding: 11px 14px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 4px; font-size: 0.875rem; color: var(--ink); outline: none;
  transition: border-color 0.2s, background 0.2s; appearance: none; -webkit-appearance: none;
  width: 100%;
}
.f-inp::placeholder { color: #C0C9D4; }
.f-inp:focus { border-color: var(--blue); background: var(--white); }
select.f-inp {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer;
}
textarea.f-inp { resize: vertical; min-height: 120px; }
.f-inp.err { border-color: #EF4444; background: #FEF2F2; }
.f-err { font-size: 0.73rem; color: #EF4444; display: none; }
.f-group.has-err .f-err { display: block; }

.f-success {
  display: none; align-items: center; gap: 10px; margin-top: 8px;
  padding: 13px 14px; background: #ECFDF5; border: 1px solid #6EE7B7;
  border-radius: 4px; font-size: 0.85rem; font-weight: 600; color: #065F46;
}
.f-success.show { display: flex; }

/* Office cards */
.office-card {
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.office-card:hover { border-color: rgba(15,190,206,0.4); box-shadow: 0 4px 24px rgba(15,190,206,0.07); }
.office-card-header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.office-card-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0;
}
.office-card-city {
  font-size: 0.88rem; font-weight: 700; color: var(--ink);
}
.office-card-city span { font-weight: 400; color: var(--muted); margin-left: 4px; font-size: 0.8rem; }
.office-card-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.office-info-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.84rem; color: var(--muted); line-height: 1.55;
}
.office-info-row svg {
  width: 15px; height: 15px; stroke: var(--blue); stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px;
}
.office-info-row a { color: var(--ink); transition: color 0.2s; }
.office-info-row a:hover { color: var(--blue); }

.office-map {
  height: 200px; border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.office-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.office-map--placeholder {
  display: flex; align-items: center; justify-content: center; background: var(--surface);
}
.office-map--placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 22px 22px;
}
.office-map-inner { position: relative; z-index: 1; text-align: center; }

@media (max-width: 880px) {
  .contact-page { grid-template-columns: 1fr; gap: 48px; }
}


/* ══════════════════════════════════════════════════════════
   INTERACTION OVERRIDES
   — No card jumps. No drop shadows on card hover.
   — Buttons: left-to-right colour sweep, no lift.
   ══════════════════════════════════════════════════════════ */

/* ── Cards: border-tint only, nothing moves ──────────────── */
.team-card,
.svc-card,
.partner-card,
.prod-cat-card {
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover,
.svc-card:hover,
.partner-card:hover,
.prod-cat-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(15, 190, 206, 0.42);
}

/* Image clip containers get their own compositing layer so overflow:hidden
   clips on the GPU — no CPU repaints during child scale animations.       */
.svc-img,
.prod-cat-img,
.team-card-img--photo {
  transform: translateZ(0);
  overflow: hidden;
}

/* Images: GPU layer from frame 0. No filter — filter creates a stacking
   context that fights will-change:transform and causes jitter.            */
.svc-img img,
.prod-cat-img img,
.team-card-img--photo img {
  will-change: transform;
  transform: translateZ(0);
  filter: none !important;          /* kill the brightness() that causes jitter */
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover .svc-img img             { transform: translateZ(0) scale(1.05); }
.prod-cat-card:hover .prod-cat-img img   { transform: translateZ(0) scale(1.04); }
.team-card:hover .team-card-img--photo img { transform: translateZ(0) scale(1.04); }

/* ── Blue buttons: diagonal colour sweep, no lift ───────── */
/* The gradient sits behind the label; background-position slides
   the darker tone in from the left on hover — smooth & tactile.   */
.btn-primary,
.nav-cta,
.hero-btn,
.submit-btn,
.cp-btn {
  background: linear-gradient(
    to right,
    var(--blue-dk) 50%,
    var(--blue)    50%
  );
  background-size: 202% 100%;
  background-position: right center;
  transition: background-position 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s;
}
.btn-primary:hover,
.nav-cta:hover,
.hero-btn:hover,
.submit-btn:hover,
.cp-btn:hover {
  background-position: left center;
  transform: none !important;
  box-shadow: none !important;
}
.btn-primary:disabled { opacity: 0.55; }

/* ── White button: fill sweeps to a pale tint ───────────── */
.btn-white {
  background: linear-gradient(
    to right,
    #dff4f7 50%,
    var(--white) 50%
  );
  background-size: 202% 100%;
  background-position: right center;
  transition: background-position 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s;
}
.btn-white:hover {
  background-position: left center;
  transform: none !important;
  box-shadow: none !important;
  color: var(--blue);
}

/* ── Ghost button: border & text brighten, no move ─────── */
.btn-ghost {
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 1);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: none !important;
}
