/* ==========================================================================
   Prokku — Oil & Gas Logistics & Distribution
   Shared design system. Light, elegant, white + safety-orange.
   One source of truth for every page + breakpoint.
   ========================================================================== */

:root {
  /* Neutrals — warm whites & refined greys */
  --white:   #ffffff;
  --paper:   #fbfaf8;   /* warm off-white — alt sections */
  --paper-2: #f5f3ef;   /* slightly deeper warm grey */
  --mist:    #eef1f5;
  --line-100:#e9e6e0;

  --ink-900: #1b2230;   /* headings */
  --ink-700: #2c3542;   /* body */
  --ink-500: #5a6472;   /* muted */
  --ink-400: #8a94a2;   /* dim */

  /* Safety orange — warm, elegant */
  --orange-700: #b8420f;
  --orange-600: #d9531b;  /* accent text on white (AA contrast) */
  --orange-500: #f26a21;  /* primary buttons / marks */
  --orange-400: #ff8a4c;
  --orange-100: #ffe6d6;
  --orange-050: #fff4ec;
  --orange-glow: rgba(242, 106, 33, 0.28);

  /* Support */
  --green-600: #1f8a4c;
  --green-050: #e9f7ef;
  --amber-700: #9a6a00;
  --amber-050: #fdf4de;

  /* Semantic tokens */
  --bg:            var(--white);
  --bg-alt:        var(--paper);
  --surface:       var(--white);
  --surface-hover: var(--orange-050);
  --border:        rgba(27, 34, 48, 0.10);
  --border-strong: rgba(27, 34, 48, 0.16);
  --text:          var(--ink-700);
  --text-muted:    var(--ink-500);
  --text-dim:      var(--ink-400);
  --heading:       var(--ink-900);
  --accent:        var(--orange-500);
  --accent-text:   var(--orange-600);

  /* Type */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(27, 34, 48, 0.06), 0 2px 6px rgba(27, 34, 48, 0.05);
  --shadow: 0 12px 30px -14px rgba(27, 34, 48, 0.20), 0 2px 8px rgba(27, 34, 48, 0.05);
  --shadow-lg: 0 30px 60px -24px rgba(27, 34, 48, 0.28);
  --shadow-orange: 0 14px 30px -12px var(--orange-glow);
  --header-h: 74px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------ Reset ---------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--heading);
}

ul { list-style: none; padding: 0; }

/* ---------------------------- Utilities -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: clamp(56px, 9vw, 116px); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  max-width: 20ch;
}
.section-lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  max-width: 60ch;
  margin-top: 16px;
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ----------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              box-shadow 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px var(--orange-glow);
}

.btn--ghost {
  background: var(--white);
  color: var(--heading);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-text);
  transform: translateY(-2px);
}

.btn--block { width: 100%; }

/* Mobile-only quote button that lives inside the nav menu */
.nav__cta { display: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.95rem;
}
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------ Header --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
  color: var(--heading);
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  filter: drop-shadow(0 6px 12px rgba(242,106,33,0.30));
}
.brand__name span { color: var(--accent-text); }
.brand__sub {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-mono);
  white-space: nowrap;
  margin-top: 2px;
}
.brand__logo {
  height: 34px;
  width: auto;
  display: block;
}
.site-footer .brand__logo { height: 38px; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--heading); background: var(--paper-2); }
.nav a.is-active { color: var(--heading); font-weight: 600; }
.nav a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 5px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 11vw, 140px);
  background:
    radial-gradient(1100px 520px at 82% -8%, var(--orange-050), transparent 60%),
    radial-gradient(760px 460px at 6% 108%, #f4f6fa, transparent 55%),
    var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(27,34,48,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(27,34,48,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 74% 26%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 74% 26%, black, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  letter-spacing: -0.035em;
}
.hero h1 .accent { color: var(--accent-text); }
.hero__lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  margin-top: 22px;
  max-width: 46ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.stat__num {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  color: var(--heading);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}
.stat__num span { color: var(--accent-text); }
.stat__label {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Hero visual card */
.hero__panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
}
.hero__panel h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 14px;
}
.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row .k { color: var(--text); display: flex; align-items: center; gap: 10px; font-weight: 500; }
.spec-row .k svg { color: var(--accent); }
.spec-row .v { font-family: var(--font-mono); color: var(--amber-700); font-weight: 600; }
.badge-ok {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green-600);
  background: var(--green-050);
  border: 1px solid rgba(31, 138, 76, 0.22);
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* -------------------------- Trust / logos bar -------------------------- */
.trustbar {
  border-block: 1px solid var(--border);
  background: var(--paper);
}
.trustbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding-block: 26px;
}
.trustbar p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.trustbar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
}
.trustbar li {
  font-weight: 700;
  color: var(--ink-700);
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trustbar li svg { color: var(--accent); flex: none; }

/* ----------------------- Partner / technology logos -------------------- */
.partners {
  padding-block: clamp(40px, 6vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.partners__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: clamp(24px, 4vw, 38px);
}
.partners__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 56px);
}
/* Each partner is a swappable wordmark placeholder.
   To use a real logo, replace the text with:
   <img src="/assets/partners/name.svg" alt="Name" class="partner__img"> */
.partner {
  font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  letter-spacing: -0.02em;
  color: var(--ink-400);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.partner::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  flex: none;
}
.partner:hover { color: var(--accent-text); transform: translateY(-2px); }

/* Real logo variant — sits inside a fixed box so wide wordmarks and stacked
   marks read at balanced optical size. Full colour for recognizability. */
.partner--logo { padding: 0; }
.partner--logo::before { display: none; }
.partner--logo:hover { transform: translateY(-2px); }
.partner__img {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s var(--ease);
}
.partner--logo:hover .partner__img { opacity: 1; }

/* --------------------------- Product grid ------------------------------ */
.grid {
  display: grid;
  gap: 22px;
}
.grid--products { grid-template-columns: repeat(3, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--orange-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--orange-100);
  box-shadow: var(--shadow);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--orange-050);
  border: 1px solid var(--orange-100);
  color: var(--accent);
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 18px; }
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-700);
  background: var(--paper-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Highlight / accent card variant */
.card--accent {
  background: linear-gradient(160deg, var(--orange-050), var(--white));
  border-color: var(--orange-100);
}

/* -------------------------- Feature / why us --------------------------- */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--orange-050);
  border: 1px solid var(--orange-100);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* ------------------------------ CTA band ------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--orange-500), var(--orange-600));
  border-radius: 20px;
  padding: clamp(36px, 6vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-orange);
  color: #fff;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 90% 10%, black, transparent 66%);
  -webkit-mask-image: radial-gradient(circle at 90% 10%, black, transparent 66%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); max-width: 18ch; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); margin-top: 10px; max-width: 40ch; }
.cta-band .btn--primary {
  background: #fff;
  color: var(--orange-700);
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.35);
}
.cta-band .btn--primary:hover { background: var(--orange-050); color: var(--orange-700); }

/* ------------------------------ Footer --------------------------------- */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding-top: clamp(48px, 7vw, 72px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__about { max-width: 34ch; }
.footer__about p { color: var(--text-muted); font-size: 0.94rem; margin-top: 16px; }
.footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-muted); font-size: 0.94rem; transition: color 0.15s; }
.footer ul a:hover { color: var(--accent-text); }
.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.94rem;
}
.footer__contact svg { color: var(--accent); flex: none; margin-top: 3px; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer__bottom a { color: var(--text-dim); }
.footer__bottom a:hover { color: var(--text-muted); }

/* ------------------------- Page hero (inner) --------------------------- */
.page-hero {
  padding-block: clamp(52px, 8vw, 88px);
  background:
    radial-gradient(900px 400px at 88% -20%, var(--orange-050), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--accent-text); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--text-muted); max-width: 60ch; margin-top: 16px; font-size: 1.08rem; }

/* ------------------------------- Forms --------------------------------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading);
}
.field label .req { color: var(--accent-text); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.16);
}
.field select { appearance: none; cursor: pointer; }

.form-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 14px;
}
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--green-050);
  border: 1px solid rgba(31, 138, 76, 0.30);
  color: #14663a;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.form-success.show { display: flex; }
.form-success svg { flex: none; color: var(--green-600); }

.contact-aside .feature { margin-bottom: 26px; }
.contact-aside .feature:last-child { margin-bottom: 0; }

/* ----------------------------- About bits ------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}
.value-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.value-list li:last-child { border-bottom: 0; }
.value-list .num {
  font-family: var(--font-mono);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.95rem;
  flex: none;
}
.value-list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.value-list p { color: var(--text-muted); font-size: 0.94rem; }

/* Leadership / team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 800px;
}
.team-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--orange-100);
}
.team-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(145deg, var(--orange-500), var(--orange-600));
  box-shadow: var(--shadow-orange);
  overflow: hidden;
}
.team-avatar--photo {
  background: none;
  box-shadow: 0 0 0 2px var(--orange-100), var(--shadow-sm);
}
.team-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.team-card h3 { font-size: 1.18rem; margin-bottom: 4px; }
.team-card .role {
  color: var(--accent-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-box .stat__num { font-size: clamp(1.8rem, 4vw, 2.4rem); }

/* image placeholder blocks (no external assets) */
.media-block {
  border-radius: var(--radius);
  border: 1px solid var(--orange-100);
  min-height: 340px;
  background:
    radial-gradient(520px 280px at 32% 22%, var(--orange-050), transparent 62%),
    linear-gradient(150deg, var(--white), var(--paper-2));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.media-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(27,34,48,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(27,34,48,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 76%);
}
.media-block__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
.media-block__label svg { margin: 0 auto 12px; color: var(--accent); }

/* --------------------------- Reveal on scroll -------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================ RESPONSIVE =============================== */

/* Tablet */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { max-width: 460px; }
  .grid--products,
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* Mobile */
@media (max-width: 680px) {
  :root { --header-h: 66px; }

  .nav-toggle { display: inline-flex; }

  .brand__sub { font-size: 0.54rem; letter-spacing: 0.12em; }
  .brand__logo { height: 30px; }
  .site-footer .brand__logo { height: 34px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px clamp(20px, 5vw, 40px) 22px;
    transform: translateY(-130%);
    transition: transform 0.32s var(--ease);
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav a { padding: 13px 12px; font-size: 1rem; border-radius: var(--radius-sm); color: var(--heading); }
  .nav a:hover { background: var(--paper-2); }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: var(--orange-050); color: var(--accent-text); }

  /* Show the in-menu quote CTA, hide the header one so it can't overlap the toggle */
  .nav a.nav__cta { display: inline-flex; margin-top: 10px; color: #fff; background: var(--accent); }
  .nav a.nav__cta:hover { background: var(--orange-600); color: #fff; }
  .header-actions .btn { display: none; }

  .grid--products,
  .grid--3,
  .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .partner__img { height: 28px; max-width: 128px; }
  .team-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .hero__stats { gap: 22px 30px; }
  .trustbar .container { justify-content: center; text-align: center; }
  .cta-band { text-align: left; }

  /* Full-width tap targets only for content CTAs, never header/nav-inline links */
  .hero__cta .btn,
  .cta-band .btn,
  .btn--block { width: 100%; }
}

/* very small */
@media (max-width: 380px) {
  .stat-grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; align-items: flex-start; }
}
