/* ─────────────────────────────────────────────────────────────
   WIPL — Wapoka India Private Limited
   Visual system inspired by Soffets template structure
   Multi-page static build (no framework, no build tools)
   ───────────────────────────────────────────────────────────── */

:root {
  /* Brand */
  --navy:        #091d3e;
  --navy-2:      #0d2235;
  --navy-3:      #020e28;
  --orange:      #ff7506;
  --orange-2:    #ff9b3d;
  --orange-soft: #fff4ea;

  /* Neutrals */
  --ink:         #1a1a1a;
  --text:        #444a55;
  --muted:       #6b7280;
  --muted-2:     #9aa3b2;
  --line:        #e6e8ec;
  --line-2:      #f0f2f5;
  --bg:          #ffffff;
  --bg-2:        #f7f8fa;
  --bg-3:        #fbfaf7;

  /* Effects */
  --shadow-sm:   0 2px 8px rgba(9, 29, 62, 0.06);
  --shadow-md:   0 12px 28px -8px rgba(9, 29, 62, 0.12);
  --shadow-lg:   0 28px 60px -16px rgba(9, 29, 62, 0.18);
  --radius:      8px;
  --radius-lg:   16px;
  --gradient-warm: linear-gradient(135deg, #ff7506 0%, #ff9b3d 100%);

  /* Type */
  --f-sans:    'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-open:    'Open Sans', system-ui, sans-serif;
  --f-serif:   'Forum', Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-sans);
  color: var(--navy);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
p { margin: 0 0 16px; }

/* —— Accessibility —— */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff;
  padding: 12px 20px; border-radius: 0 0 8px 0;
  font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; }
/* Honeypot — visually hidden, kept in flow for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* —— Layout —— */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* —— Top bar —— */
.top-bar {
  background: var(--navy-3);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar .row { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 24px; flex-wrap: wrap; }
.top-bar .tag { display: inline-flex; align-items: center; gap: 8px; }
.top-bar .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.top-bar .right { display: flex; gap: 24px; font-size: 12.5px; align-items: center; }
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--orange); }

/* —— Header / nav —— */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .row { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark {
  width: auto; height: 42px;
  background: none;
  display: block;
  box-shadow: none;
  border-radius: 0;
}
.logo .text { display: flex; flex-direction: column; line-height: 1.1; }
.logo .text .name { font-weight: 700; color: var(--navy); font-size: 18px; letter-spacing: -0.01em; }
.logo .text .sub { font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }

.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  position: relative;
  padding: 10px 16px;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color .18s ease, background .18s ease;
}
.nav a:hover, .nav a.active { color: var(--orange); }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 18px; height: 2px; background: var(--orange); border-radius: 2px;
  transform: translateX(-50%);
}
.nav .has-dd { position: relative; }
.nav .dd-arrow { font-size: 9px; margin-left: 4px; opacity: 0.6; }
.nav .dd-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 240px; padding: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav .has-dd:hover .dd-menu,
.nav .has-dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .dd-menu a { display: block; padding: 12px 14px; border-radius: 6px; }
.nav .dd-menu a:hover { background: var(--bg-2); color: var(--orange); }
.nav .dd-menu .dd-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { white-space: nowrap; }

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 14px; font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  position: relative;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gradient-warm); color: #fff; box-shadow: 0 10px 24px -8px rgba(255,117,6,0.45); }
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(255,117,6,0.55); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-ghost { background: var(--bg-2); color: var(--navy); }
.btn-ghost:hover { background: var(--orange-soft); color: var(--orange); }
.btn .arr { display: inline-flex; transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* —— Section heading patterns —— */
.heading { display: flex; flex-direction: column; gap: 12px; margin-bottom: 56px; }
.heading.center { align-items: center; text-align: center; }
.heading.center h2 { max-width: 22ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-serif);
  color: var(--orange);
  font-size: 22px;
  letter-spacing: 0.04em;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 2px;
}
.heading.center .eyebrow::after {
  content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 2px;
}
.heading h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0;
}
.heading p.lead { font-size: 16.5px; color: var(--muted); max-width: 62ch; margin: 8px 0 0; }

/* —— Page title (inner page hero) —— */
.page-title {
  position: relative;
  padding: 96px 0 84px;
  background:
    linear-gradient(180deg, rgba(9,29,62,0.92) 0%, rgba(2,14,40,0.95) 100%),
    radial-gradient(circle at 20% 30%, rgba(255,117,6,0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,155,61,0.12), transparent 50%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.page-title::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}
.page-title .container { position: relative; z-index: 1; }
.page-title h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.page-title .crumbs { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,0.7); font-family: var(--f-serif); letter-spacing: 0.04em; }
.page-title .crumbs a { color: var(--orange-2); }
.page-title .crumbs .sep { opacity: 0.5; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13.5px; font-family: var(--f-serif); letter-spacing: 0.04em; flex-wrap: wrap; }
.crumbs a { color: var(--orange); }
.crumbs .sep { opacity: 0.5; }
.page-title .lead { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 62ch; margin-top: 16px; }

/* —— Hero —— */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(255,117,6,0.08), transparent 60%),
    radial-gradient(ellipse at 20% 70%, rgba(9,29,62,0.05), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg-3) 100%);
  overflow: hidden;
  padding: 80px 0 96px;
}
.hero .grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 20px 0 24px;
  color: var(--navy);
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .serif-em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--navy-2); }
.hero p.lead { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 56ch; margin: 0 0 32px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero .credibility {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 540px;
}
.hero .credibility .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.hero .credibility .text { font-size: 13.5px; color: var(--muted); }
.hero .credibility strong { color: var(--navy); font-weight: 600; }

/* Hero visual right side */
.hero-visual { position: relative; }
.hero-visual .stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 160px 160px 160px;
  gap: 14px;
}
.hero-visual .card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-visual .card.big { grid-column: span 2; }
.hero-visual .card .num { font-family: var(--f-serif); font-size: 36px; color: var(--orange); line-height: 1; }
.hero-visual .card .lbl { font-size: 11px; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }
.hero-visual .card h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-top: 8px; }
.hero-visual .card.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.hero-visual .card.dark h4 { color: #fff; }
.hero-visual .card.dark .lbl { color: rgba(255,255,255,0.6); }
.hero-visual .card.dark .num { color: var(--orange-2); }
.hero-visual .card.gradient {
  background: var(--gradient-warm);
  border-color: transparent;
  color: #fff;
}
.hero-visual .card.gradient h4 { color: #fff; }
.hero-visual .card.gradient .lbl { color: rgba(255,255,255,0.85); }
.hero-visual .card.gradient .num { color: rgba(255,255,255,0.95); }
.hero-visual .floating-badge {
  position: absolute; top: -14px; left: -14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 11.5px; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px;
  z-index: 2;
}
.hero-visual .floating-badge .pulse {
  width: 8px; height: 8px; background: var(--orange); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,117,6,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(255,117,6,0); }
}

/* —— Positioning strip —— */
.positioning {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
}
.positioning .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.positioning .pill { padding: 8px 28px; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid rgba(255,255,255,0.08); }
.positioning .pill:first-child { border-left: 0; padding-left: 0; }
.positioning .pill .num { font-family: var(--f-serif); color: var(--orange); font-size: 16px; letter-spacing: 0.06em; }
.positioning .pill h4 { color: #fff; font-size: 18px; font-weight: 600; }
.positioning .pill p { color: rgba(255,255,255,0.7); font-size: 13.5px; line-height: 1.55; margin: 0; }

/* —— Services grid —— */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gradient-warm);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(255,117,6,0.2); }
.svc-card:hover::before { transform: scaleY(1); transform-origin: top; }
.svc-card .icon-wrap {
  width: 64px; height: 64px;
  background: var(--orange-soft);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative;
}
.svc-card .icon-wrap svg { width: 28px; height: 28px; color: var(--orange); }
.svc-card .num {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--f-serif);
  font-size: 38px;
  color: var(--bg-2);
  font-weight: 400;
  line-height: 1;
  transition: color .25s ease;
}
.svc-card:hover .num { color: var(--orange-soft); }
.svc-card h3 { font-size: 19px; color: var(--navy); font-weight: 700; margin: 0 0 10px; }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 18px; }
.svc-card .more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  transition: color .2s ease;
}
.svc-card:hover .more { color: var(--orange); }
.svc-card .more .arr { transition: transform .2s ease; }
.svc-card:hover .more .arr { transform: translateX(3px); }

/* —— About block —— */
.about-block .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual {
  position: relative;
}
.about-visual .card-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.about-visual .card-main .row {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.about-visual .card-main .row:last-child { border-bottom: 0; }
.about-visual .card-main .k {
  font-family: var(--f-serif);
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 0.05em;
}
.about-visual .card-main .v { color: var(--navy); font-weight: 500; }
.about-visual .card-float {
  position: absolute; right: -16px; bottom: -24px;
  background: var(--navy); color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  max-width: 260px;
  box-shadow: var(--shadow-lg);
}
.about-visual .card-float .lbl { font-family: var(--f-serif); color: var(--orange-2); font-size: 14px; letter-spacing: 0.04em; }
.about-visual .card-float h4 { color: #fff; font-size: 18px; margin: 6px 0 8px; }
.about-visual .card-float p { color: rgba(255,255,255,0.75); font-size: 13px; margin: 0; }
.about-content h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.about-content .lead { font-size: 17px; color: var(--text); margin-bottom: 24px; line-height: 1.65; }
.about-content .check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-content .check-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14.5px; color: var(--navy); font-weight: 500;
}
.about-content .check-list .check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
}

/* —— Counter strip —— */
.counter-strip {
  background:
    linear-gradient(180deg, rgba(9,29,62,0.95) 0%, rgba(2,14,40,0.95) 100%),
    radial-gradient(circle at 30% 50%, rgba(255,117,6,0.15), transparent 50%);
  background-color: var(--navy);
  color: #fff;
  padding: 64px 0;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.counter-strip::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  pointer-events: none;
}
.counter-strip .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.counter-strip .stat { text-align: center; padding: 0 16px; border-left: 1px solid rgba(255,255,255,0.08); }
.counter-strip .stat:first-child { border-left: 0; }
.counter-strip .stat .num {
  font-family: var(--f-sans);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}
.counter-strip .stat .num .plus { color: var(--orange); font-weight: 500; }
.counter-strip .stat .lbl { font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 0.08em; text-transform: uppercase; }

/* —— Procedure (3-step) —— */
.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.proc-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.proc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.proc-card .step-num {
  width: 56px; height: 56px;
  background: var(--gradient-warm);
  color: #fff;
  border-radius: 50%;
  font-family: var(--f-serif);
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px -8px rgba(255,117,6,0.5);
}
.proc-card h4 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.proc-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }
.proc-card .arr-next {
  position: absolute;
  top: 56px; right: -20px;
  width: 40px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  z-index: 1;
}
.proc-card:last-child .arr-next { display: none; }

/* 6-step process variant */
.proc-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.proc-grid-6 .proc-card { padding: 28px 16px; }
.proc-grid-6 .proc-card .step-num { width: 48px; height: 48px; font-size: 18px; }
.proc-grid-6 .proc-card h4 { font-size: 16px; }
.proc-grid-6 .proc-card p { font-size: 13px; }
.proc-grid-6 .proc-card .arr-next { display: none; }

/* —— Existing customers —— */
.cust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}
.cust-card {
  background: #fff;
  padding: 36px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 200px;
  transition: background .2s ease;
}
.cust-card:hover { background: var(--bg-3); }
.cust-card .top { display: flex; justify-content: space-between; align-items: center; }
.cust-card .num { font-family: var(--f-serif); color: var(--orange); font-size: 14px; }
.cust-card .place { font-size: 10.5px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.cust-card .name { font-size: 19px; font-weight: 700; color: var(--navy); margin-top: 12px; line-height: 1.2; }
.cust-card .kind { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cust-card .logo-mark {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif);
  color: var(--navy);
  font-size: 20px;
  margin-top: 14px;
}

/* —— Products section —— */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prod-card .visual {
  aspect-ratio: 5/3.2;
  position: relative;
  overflow: hidden;
}
.prod-card .visual.wapoka {
  background:
    linear-gradient(135deg, #ff7506 0%, #ff9b3d 100%);
}
.prod-card .visual.hrpoka {
  background:
    linear-gradient(135deg, #091d3e 0%, #1e4585 100%);
}
.prod-card .visual.dealwald {
  background:
    linear-gradient(135deg, #0a7a5f 0%, #1cb280 100%);
}
.prod-card .visual.mahlio {
  background:
    linear-gradient(135deg, #3b1f6e 0%, #6c3fc7 100%);
}
.prod-card .visual .badge.soon { background: rgba(255,255,255,0.12); }
.prod-card .visual .badge.soon .dot { background: #a0aec0; animation: none; }
.prod-card .visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.18) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.prod-card .visual .badge {
  position: absolute; top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--navy);
  text-transform: uppercase;
}
.prod-card .visual .badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #1cb280; }
.prod-card .visual .badge.dev .dot { background: var(--orange); }
.prod-card .visual .glyph {
  position: absolute; right: -10px; bottom: -30px;
  font-family: var(--f-serif);
  font-size: 200px; line-height: 1;
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.05em;
}
.prod-card .visual .meta {
  position: absolute; left: 18px; bottom: 18px;
  font-size: 10.5px; color: rgba(255,255,255,0.85);
  letter-spacing: 0.14em; text-transform: uppercase;
  font-family: var(--f-sans);
}
.prod-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.prod-card .body h3 { font-size: 24px; color: var(--navy); }
.prod-card .body p { font-size: 14.5px; color: var(--text); line-height: 1.55; margin: 0; flex: 1; }
.prod-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.prod-card .tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-2);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
}
.prod-card .more {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--orange);
}
.prod-card .more .arr { transition: transform .2s ease; }
.prod-card:hover .more .arr { transform: translateX(4px); }

/* —— Why choose us —— */
.choose-block .grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.choose-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choose-item {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.choose-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.choose-item .ico {
  width: 44px; height: 44px;
  background: var(--orange-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 14px;
}
.choose-item h4 { font-size: 16.5px; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.choose-item p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.choose-visual {
  position: relative;
}
.choose-visual .frame {
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.choose-visual .frame::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px;
  border: 1px dashed var(--orange);
  border-radius: 50%;
  opacity: 0.4;
}
.choose-visual h3 { font-size: 28px; color: var(--navy); margin: 0 0 24px; max-width: 18ch; }
.choose-visual .features { display: flex; flex-direction: column; gap: 14px; }
.choose-visual .feature {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.choose-visual .feature .ix {
  font-family: var(--f-serif);
  color: var(--orange);
  font-size: 22px;
  width: 36px;
  flex-shrink: 0;
}
.choose-visual .feature .lbl { font-size: 14.5px; color: var(--navy); font-weight: 500; }

/* —— ODC feature panel —— */
.odc-panel {
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.odc-panel::before {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,117,6,0.2), transparent 70%);
  pointer-events: none;
}
.odc-panel .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; position: relative; }
.odc-panel .eyebrow { color: var(--orange-2); }
.odc-panel .eyebrow::before { background: var(--orange-2); }
.odc-panel h2 { color: #fff; font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 16px; }
.odc-panel p.lead { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 48ch; margin-bottom: 28px; }
.odc-panel .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.odc-team {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.odc-team .head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.odc-team .head .chip {
  font-size: 10.5px;
  padding: 5px 10px;
  background: rgba(255,117,6,0.15);
  color: var(--orange-2);
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.odc-team .row {
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.6fr;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  align-items: center;
}
.odc-team .row:last-of-type { border-bottom: 0; }
.odc-team .role { font-size: 14px; color: #fff; }
.odc-team .sen { font-size: 11.5px; color: rgba(255,255,255,0.6); letter-spacing: 0.12em; text-transform: uppercase; }
.odc-team .cnt { font-family: var(--f-serif); color: var(--orange-2); font-size: 18px; text-align: right; }

/* —— FAQ —— */
.faq-block .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.faq-visual {
  position: relative;
  padding: 24px;
}
.faq-visual .img-main {
  width: 100%; aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  position: relative;
  overflow: hidden;
}
.faq-visual .img-main::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,117,6,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.faq-visual .img-stat {
  position: absolute; right: 0; top: 64px;
  width: 70%; aspect-ratio: 4/3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.faq-visual .img-stat .big { font-size: 48px; font-weight: 700; color: var(--orange); line-height: 1; font-family: var(--f-sans); }
.faq-visual .img-stat .lbl { font-size: 13px; color: var(--muted); margin-top: 8px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item .q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px; color: var(--navy); font-weight: 600;
  background: #fff;
  transition: background .15s ease;
  width: 100%; text-align: left;
}
.faq-item .q:hover { background: var(--bg-3); }
.faq-item .q .ix { color: var(--orange); font-family: var(--f-serif); font-size: 18px; margin-right: 10px; }
.faq-item .q .toggle {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  transition: background .2s ease, transform .25s ease, color .2s ease;
  color: var(--navy);
}
.faq-item.open .q .toggle { background: var(--orange); color: #fff; transform: rotate(45deg); }
.faq-item .a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item .a-inner { padding: 0 24px 22px 60px; font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* —— Call to action (full bleed dark) —— */
.cta-section {
  position: relative;
  padding: 96px 0;
  background:
    linear-gradient(135deg, rgba(9,29,62,0.97) 0%, rgba(2,14,40,0.98) 100%);
  color: #fff;
  overflow: hidden;
}
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,117,6,0.2) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px, 24px 24px;
  background-position: 0 0, 12px 12px;
  pointer-events: none;
}
.cta-section .container { position: relative; }
.cta-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(8px);
}
.cta-form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 500; }
.field input, .field textarea, .field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-family: var(--f-sans);
  font-size: 14.5px;
  transition: border-color .2s, background .2s;
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); background: rgba(255,255,255,0.08); }
.field textarea { resize: vertical; min-height: 120px; }
.field option { background: var(--navy); }
.form-status { margin: 0 0 16px; font-size: 14px; }
.form-status.error { color: var(--orange-2); }

/* —— Footer —— */
.footer { background: var(--navy-3); color: rgba(255,255,255,0.7); padding: 80px 0 24px; }
.footer .top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer h5 { color: #fff; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer .logo .text .name { color: #fff; }
.footer .logo .text .sub { color: rgba(255,255,255,0.5); }
.footer .desc { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.65); margin-top: 18px; max-width: 320px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin: 8px 0; }
.footer ul a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color .15s; }
.footer ul a:hover { color: var(--orange); }
.footer .contact-row { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.footer .contact-row .item { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.footer .contact-row .item .ico { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.footer .bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,0.5);
}
.footer .bottom a { color: rgba(255,255,255,0.7); margin: 0 10px; }
.footer .bottom a:hover { color: var(--orange); }

/* —— Pages: shared content panels —— */
.content-block .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* Compare cards (ODC: body shop vs ODC) */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.compare-card .lbl { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; color: var(--muted); }
.compare-card h4 { font-size: 22px; margin-bottom: 12px; color: var(--navy); }
.compare-card.bad { background: var(--bg-2); }
.compare-card.good { background: var(--navy); color: #fff; border-color: var(--navy); }
.compare-card.good h4 { color: #fff; }
.compare-card.good .lbl { color: var(--orange-2); }
.compare-card.good p { color: rgba(255,255,255,0.75); }

/* —— Product detail —— */
.prod-hero {
  background: linear-gradient(180deg, var(--bg-3) 0%, #fff 100%);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}
.prod-hero .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.prod-hero h1 { font-size: clamp(34px, 4vw, 52px); }
.prod-hero .visual {
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.prod-hero .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.prod-hero .chip {
  font-size: 12px; padding: 7px 14px; border-radius: 999px;
  background: var(--bg-2); color: var(--navy); font-weight: 500;
}
.prod-hero .chip.live { background: rgba(28,178,128,0.12); color: #0a7a5f; }
.prod-hero .chip.dev { background: var(--orange-soft); color: var(--orange); }

/* Pillars grid (product features) */
.pillar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.pillar { background: #fff; padding: 28px; min-height: 170px; }
.pillar .ix { font-family: var(--f-serif); color: var(--orange); font-size: 22px; }
.pillar h4 { font-size: 17px; margin: 10px 0 6px; color: var(--navy); }
.pillar p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }

/* —— Careers —— */
.role-table { border-top: 1px solid var(--line); }
.role-row {
  display: grid; grid-template-columns: 60px 1.6fr 1fr 1fr 100px;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.role-row .ix { font-family: var(--f-serif); color: var(--orange); font-size: 18px; }
.role-row .title { font-size: 16.5px; color: var(--navy); font-weight: 600; }
.role-row .team, .role-row .loc { font-size: 12px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

/* —— Customers page extra —— */
.cust-section + .cust-section { border-top: 1px solid var(--line); }
.cust-group-lbl {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-serif);
  color: var(--orange);
  font-size: 18px;
  margin-bottom: 24px;
}
.cust-group-lbl::before {
  content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 2px;
}

/* —— Contact aside —— */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.contact-card.dark {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.contact-card.dark h5 { color: var(--orange-2); }
.contact-card.dark p { color: rgba(255,255,255,0.75); }
.contact-card h5 { font-family: var(--f-serif); color: var(--orange); font-size: 16px; margin-bottom: 10px; letter-spacing: 0.04em; font-weight: 400; }
.contact-card .v { font-size: 16px; color: var(--navy); font-weight: 500; }
.contact-card .sub { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.contact-card.dark .v { color: #fff; }
.contact-card.dark .sub { color: rgba(255,255,255,0.6); }
.contact-card .todo { color: var(--orange); font-weight: 500; }

/* —— Form (light theme) —— */
.form-light .field input,
.form-light .field textarea,
.form-light .field select {
  background: #fff; border: 1px solid var(--line); color: var(--navy);
}
.form-light .field input::placeholder, .form-light .field textarea::placeholder { color: var(--muted-2); }
.form-light .field label { color: var(--muted); }
.form-light .field input:focus, .form-light .field textarea:focus, .form-light .field select:focus { border-color: var(--orange); background: var(--orange-soft); }
.form-light .form-status.error { color: #c2410c; }

/* —— Legal / prose pages —— */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; color: var(--navy); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; color: var(--navy); }
.prose p, .prose li { font-size: 15.5px; color: var(--text); line-height: 1.7; }
.prose ul { padding-left: 20px; margin: 0 0 16px; }
.prose .todo { color: var(--orange); font-weight: 500; }
.prose .updated { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.legal-note {
  background: var(--orange-soft);
  border: 1px solid rgba(255,117,6,0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px; color: var(--text);
  margin-bottom: 32px;
}

/* —— Mobile nav drawer —— */
.mobile-trigger { display: none; }
.mobile-drawer {
  position: fixed; top: 0; right: -100%;
  width: 320px; max-width: 92vw; height: 100vh;
  background: #fff; z-index: 100;
  padding: 28px;
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.2);
  transition: right .3s ease;
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.mobile-drawer .close { position: absolute; top: 22px; right: 22px; font-size: 22px; }
.mobile-drawer nav { display: flex; flex-direction: column; margin-top: 56px; gap: 4px; }
.mobile-drawer nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 500; }
.mobile-drawer .cta { margin-top: 28px; }
.scrim { position: fixed; inset: 0; background: rgba(9,29,62,0.4); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 99; }
.scrim.show { opacity: 1; visibility: visible; }

/* —— Reveal —— */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* —— Responsive —— */
@media (max-width: 1100px) {
  .nav { display: none; }
  .mobile-trigger { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--bg-2); color: var(--navy); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .proc-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .cust-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .footer .top { grid-template-columns: 1fr 1fr 1fr; }
  .positioning .grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .positioning .pill { border-left: 0; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .positioning .pill:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 800px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero .grid, .about-block .grid, .choose-block .grid, .odc-panel .grid, .faq-block .grid, .contact-grid, .prod-hero .grid, .content-block .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual .stack { grid-template-rows: 140px 140px 140px; }
  .counter-strip .grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .counter-strip .stat { border-left: 0; padding: 12px 0; }
  .counter-strip .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .proc-grid { grid-template-columns: 1fr; }
  .proc-card .arr-next { display: none; }
  .prod-grid, .pillar-grid, .compare-grid, .about-content .check-list, .choose-list, .svc-grid { grid-template-columns: 1fr; }
  .cust-grid { grid-template-columns: 1fr 1fr; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .odc-panel { padding: 40px 28px; }
  .cta-form .grid { grid-template-columns: 1fr; }
  .role-row { grid-template-columns: 40px 1fr auto; }
  .role-row .team, .role-row .loc { display: none; }
  .proc-grid-6 { grid-template-columns: 1fr 1fr; }
  .about-visual .card-float { position: static; max-width: none; margin-top: 16px; }
}
@media (max-width: 520px) {
  .cust-grid { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1fr; }
  .top-bar .right { font-size: 11.5px; }
  .proc-grid-6 { grid-template-columns: 1fr; }
}

/* —— Team grid —— */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-grid-5 { grid-template-columns: repeat(3, 1fr); }
.team-grid-5 .team-card:nth-child(4),
.team-grid-5 .team-card:nth-child(5) { grid-column: auto; }
@media (min-width: 901px) {
  .team-grid-5 { grid-template-columns: repeat(5, 1fr); }
}
.team-grid-6 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 601px) { .team-grid-6 { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  text-align: center; padding: 36px 20px 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg);
  transition: box-shadow .2s, transform .2s;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--f-serif); font-size: 26px; letter-spacing: 0.04em;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-name { font-weight: 700; color: var(--navy); font-size: 16.5px; margin-bottom: 6px; }
.team-role { font-size: 12.5px; color: var(--orange); font-weight: 500; text-transform: uppercase; letter-spacing: 0.09em; line-height: 1.4; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* —— Cookie consent bar —— */
.ck-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 180;
  background: var(--navy-3); border-top: 3px solid var(--orange);
  padding: 16px 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.45);
  animation: ck-up .35s cubic-bezier(0.16,1,0.3,1);
}
@keyframes ck-up { from { transform:translateY(100%); } to { transform:translateY(0); } }
.ck-bar .container { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.ck-bar-text { flex:1; min-width:220px; font-size:13.5px; color:rgba(255,255,255,0.72); line-height:1.55; margin:0; }
.ck-bar-text a { color:var(--orange); }
.ck-bar-btns { display:flex; gap:10px; flex-wrap:wrap; flex-shrink:0; }

/* —— Shared button base —— */
.ck-btn {
  padding:9px 18px; border-radius:8px; font-family:var(--f-sans);
  font-size:13.5px; font-weight:500; cursor:pointer;
  transition:background .18s, border-color .18s, color .18s;
  white-space:nowrap; border:1px solid transparent; line-height:1;
}
.ck-btn:focus-visible { outline:2px solid var(--orange); outline-offset:2px; }
.ck-btn-accept { background:var(--orange); color:#fff; border-color:var(--orange); }
.ck-btn-accept:hover { background:#e06700; border-color:#e06700; }
.ck-btn-reject { background:transparent; color:rgba(255,255,255,0.65); border-color:rgba(255,255,255,0.22); }
.ck-btn-reject:hover { color:#fff; border-color:rgba(255,255,255,0.55); }
.ck-btn-manage { background:transparent; color:var(--orange); border-color:var(--orange); }
.ck-btn-manage:hover { background:rgba(255,117,6,0.1); }

/* Footer cookie settings link-style button */
.ck-footer-btn {
  background:none; border:none; padding:0; cursor:pointer;
  color:rgba(255,255,255,0.7); font-family:var(--f-sans); font-size:14px;
  transition:color .15s;
}
.ck-footer-btn:hover { color:var(--orange); }

/* —— Cookie modal overlay —— */
.ck-modal {
  display:none; position:fixed; inset:0; z-index:195;
  align-items:center; justify-content:center;
}
.ck-modal.open { display:flex; }
.ck-modal-scrim { position:absolute; inset:0; background:rgba(0,0,0,0.65); }
.ck-modal-box {
  position:relative; z-index:1; background:#fff; border-radius:var(--radius-lg);
  width:100%; max-width:640px; max-height:90vh; overflow-y:auto;
  margin:16px; box-shadow:var(--shadow-lg); display:flex; flex-direction:column;
  animation:ck-pop .25s cubic-bezier(0.16,1,0.3,1);
}
@keyframes ck-pop { from { opacity:0; transform:scale(0.96) translateY(8px); } to { opacity:1; transform:none; } }
.ck-modal-close {
  position:absolute; top:14px; right:14px;
  background:none; border:none; font-size:20px; color:var(--muted);
  cursor:pointer; padding:6px 10px; border-radius:8px; line-height:1; z-index:2;
}
.ck-modal-close:hover { background:var(--bg-2); color:var(--navy); }

/* Modal header */
.ck-modal-header { padding:32px 32px 24px; border-bottom:1px solid var(--line); }
.ck-modal-header h2 { font-size:21px; font-weight:700; color:var(--navy); margin:0 0 8px; }
.ck-modal-header p { font-size:13.5px; color:var(--muted); margin:0; line-height:1.6; }

/* Cookie categories */
.ck-cats { padding:0 32px; flex:1; }
.ck-cat { padding:22px 0; border-bottom:1px solid var(--line); }
.ck-cat:last-child { border-bottom:none; }
.ck-cat-inactive { opacity:0.5; }
.ck-cat-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.ck-cat-head h3 {
  font-size:14.5px; font-weight:600; color:var(--navy); margin:0 0 4px;
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.ck-cat-head > div > p { font-size:13px; color:var(--muted); margin:0; line-height:1.55; }
.ck-badge {
  font-size:10.5px; font-weight:500; letter-spacing:0.04em;
  background:var(--line-2); color:var(--muted-2); padding:2px 8px; border-radius:20px;
}
.ck-always-on { font-size:11.5px; font-weight:600; color:var(--orange); white-space:nowrap; padding-top:3px; flex-shrink:0; }

/* Detail list */
.ck-detail {
  font-size:12.5px; color:var(--muted); margin:12px 0 0 0;
  padding-left:18px; line-height:1.7;
}
.ck-detail li { margin:5px 0; }
.ck-detail code { font-size:11.5px; background:var(--bg-2); padding:1px 6px; border-radius:4px; }
.ck-detail a { color:var(--orange); }

/* Toggle switch */
.ck-switch { display:inline-block; flex-shrink:0; }
.ck-switch input { position:absolute; opacity:0; width:0; height:0; }
.ck-slider {
  display:block; width:44px; height:24px; border-radius:12px;
  background:#d1d5db; cursor:pointer; position:relative; transition:background .2s;
}
.ck-slider::after {
  content:''; position:absolute; top:3px; left:3px;
  width:18px; height:18px; border-radius:50%; background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,0.25); transition:transform .2s;
}
.ck-switch input:checked + .ck-slider { background:var(--orange); }
.ck-switch input:checked + .ck-slider::after { transform:translateX(20px); }
.ck-switch input:disabled + .ck-slider { cursor:not-allowed; }
.ck-switch input:focus-visible + .ck-slider { outline:2px solid var(--orange); outline-offset:2px; border-radius:12px; }

/* Modal footer */
.ck-modal-footer {
  padding:20px 32px; border-top:1px solid var(--line); background:#fff;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; flex-wrap:wrap; position:sticky; bottom:0;
}
.ck-privacy-link { font-size:13px; color:var(--orange); text-decoration:none; white-space:nowrap; }
.ck-privacy-link:hover { text-decoration:underline; }
.ck-modal-btns { display:flex; gap:10px; }
.ck-modal-btns .ck-btn-reject { color:var(--muted); border-color:var(--line); }
.ck-modal-btns .ck-btn-reject:hover { border-color:var(--navy); color:var(--navy); }
.ck-modal-btns .ck-btn-accept { min-width:140px; text-align:center; }

@media (max-width:640px) {
  .ck-bar-btns { width:100%; }
  .ck-bar-btns .ck-btn { flex:1; text-align:center; justify-content:center; }
  .ck-modal-header, .ck-cats, .ck-modal-footer { padding-left:20px; padding-right:20px; }
  .ck-modal-footer { flex-direction:column; align-items:stretch; }
  .ck-modal-btns { flex-direction:column-reverse; }
  .ck-modal-btns .ck-btn { text-align:center; }
}

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ================================================================
   RESPONSIVE SUPPLEMENT — comprehensive mobile / small-screen fixes
   ================================================================ */

/* —— 1100px: inline-style grid overrides (tablet breakpoint) —— */
@media (max-width: 1100px) {
  /* about.html svc-grid 3-col inline style */
  .svc-grid[style] { grid-template-columns: repeat(2, 1fr) !important; }
  /* odc.html svc-grid 4-col inline style */
}

/* —— 800px: page-title, cta, odc-team, hrpoka pillar —— */
@media (max-width: 800px) {
  /* Page title reduced padding */
  .page-title { padding: 56px 0 48px; }
  /* CTA section reduced padding */
  .cta-section { padding: 64px 0; }
  /* hrpoka pillar-grid inline style override */
  .pillar-grid[style] { grid-template-columns: repeat(3, 1fr) !important; }
  /* odc-team roster: stack role / seniority / count */
  .odc-team .row { grid-template-columns: 1fr auto; gap: 4px; }
  .odc-team .sen { display: none; }
  /* careers svc-grid inline style override */
  .svc-grid[style] { grid-template-columns: repeat(2, 1fr) !important; }
  /* contact.html form field grids */
  .contact-form .form-row[style],
  .cta-form .grid[style] { grid-template-columns: 1fr !important; }
}

/* —— 520px: single-column wrap-up, container padding, top-bar —— */
@media (max-width: 520px) {
  /* Shrink container side padding so content breathes on phones */
  .container { padding: 0 16px; }
  /* positioning strip: force 1-col */
  .positioning .grid { grid-template-columns: 1fr !important; gap: 0; }
  .positioning .pill { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }
  .positioning .pill:first-child { border-top: 0; }
  /* Top-bar right: hide non-essential items, keep email & quote */
  .top-bar .right > span:first-child,
  .top-bar .right > span:nth-child(2) { display: none; }
  /* page-title even tighter on small phones */
  .page-title { padding: 44px 0 36px; }
  /* cta-section tighter on small phones */
  .cta-section { padding: 48px 0; }
  /* section base padding tighter */
  section { padding: 48px 0; }
  /* inline svc-grid overrides -> 1-col on phones */
  .svc-grid[style] { grid-template-columns: 1fr !important; }
  /* pillar-grid -> 2-col on phones (better than 1) */
  .pillar-grid[style] { grid-template-columns: repeat(2, 1fr) !important; }
  /* customers inline cust-grid overrides */
  .cust-grid[style] { grid-template-columns: 1fr !important; }
  /* role-row: hide index number on very small screens */
  .role-row .ix { display: none; }
  .role-row { grid-template-columns: 1fr auto; }
  /* odc-team: simpler still */
  .odc-team .cnt { font-size: 15px; }
  /* hero visual stack: reduce further */
  .hero-visual .stack { grid-template-rows: 110px 110px 110px; }
  /* prod-grid 1-col */
  .prod-grid { grid-template-columns: 1fr !important; }
  /* team grid 2-col preserved (defined earlier, just ensure it holds) */
}

/* —— Inline customers.html cust-grid multi-style overrides —— */
@media (max-width: 1100px) {
  .cust-grid[style] { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 800px) {
  .cust-grid[style] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
  .cust-grid[style] { grid-template-columns: 1fr !important; }
}

/* —— contact.html inline form grids —— */
@media (max-width: 800px) {
  [style*="grid-template-columns"][style*="1fr 1fr"]:not(.cust-grid):not(.svc-grid):not(.prod-grid):not(.pillar-grid):not(.positioning .grid) {
    grid-template-columns: 1fr !important;
  }
}

/* —— odc.html 4-col svc-grid inline: 2-col at 800px, 1-col at 520px —— */
@media (max-width: 800px) {
  .svc-grid[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
  .svc-grid[style*="repeat(4"] { grid-template-columns: 1fr !important; }
}

/* —— about.html 3-col svc-grid inline —— */
@media (max-width: 800px) {
  .svc-grid[style*="repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
  .svc-grid[style*="repeat(3"] { grid-template-columns: 1fr !important; }
}

/* —— hrpoka pillar-grid 5-col inline —— */
@media (max-width: 1100px) {
  .pillar-grid[style*="repeat(5"] { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 800px) {
  .pillar-grid[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
  .pillar-grid[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
}

/* —— Misc touch-ups —— */
@media (max-width: 800px) {
  /* Footer: ensure CTA button full-width on mobile */
  .mobile-drawer .btn.cta { width: 100%; justify-content: center; }
  /* Prose tables scroll horizontally */
  .prose table { display: block; overflow-x: auto; }
  /* Reduce heading sizes slightly on mobile */
  .page-title h1 { font-size: clamp(28px, 7vw, 48px); }
  .hero h1 { font-size: clamp(30px, 7.5vw, 56px); }
}
