/* ==========================================================
   Aqvero Technologies — main stylesheet
   Colour scheme: Deep Navy + Teal, with a warm Amber highlight.
   All text/background pairs meet WCAG AA contrast (4.5:1+).
   ========================================================== */

:root {
  /* Brand colours */
  --navy-900: #0b1f33;   /* footer, dark sections */
  --navy-800: #0f2a44;   /* headings, primary dark */
  --navy-700: #1a3b5c;
  --teal-600: #0b7a6e;   /* primary buttons & links (white text = 5.3:1) */
  --teal-500: #0e9f8e;   /* icons, decorative accents */
  --teal-100: #e3f4f1;   /* soft teal tint for icon badges */
  --amber-400: #f2a93b;  /* highlight on dark backgrounds only */

  /* Neutrals */
  --bg: #f6f8fa;         /* page background (soft, not pure white) */
  --surface: #ffffff;    /* cards */
  --text: #1b2533;       /* body text (15.6:1 on white) */
  --text-muted: #55657a; /* secondary text (5.9:1 on white) */
  --border: #dfe5ec;

  /* Layout */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(15, 42, 68, 0.08);
  --shadow-hover: 0 12px 32px rgba(15, 42, 68, 0.14);
  --container: 1180px;

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 96px 0; }
.section--white { background: var(--surface); }
.section--dark { background: var(--navy-800); color: #d7e1ec; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--amber-400); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #b9c7d6; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--teal-600); color: #fff; }
.btn--primary:hover { background: #096a60; box-shadow: 0 8px 20px rgba(11,122,110,.3); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--amber { background: var(--amber-400); color: var(--navy-900); }  /* dark backgrounds only */
.btn--amber:hover { background: #f5b95c; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--navy-800); }
.btn--sm { padding: 9px 18px; font-size: 0.92rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 3px;
}
/* Light backgrounds: navy focus ring for stronger contrast than amber */
.section:not(.section--dark) a:focus-visible,
.section:not(.section--dark) button:focus-visible,
.section:not(.section--dark) summary:focus-visible,
.header a:focus-visible, .header button:focus-visible,
.section .form a:focus-visible, .section .form button:focus-visible { outline-color: var(--navy-800); }
/* Dark panels inside light sections keep the amber ring */
.section .cta-band a:focus-visible,
.section .illustration a:focus-visible { outline-color: var(--amber-400); }

/* ---------- Accessibility helpers ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--navy-800); color: #fff; font-weight: 600;
  padding: 12px 18px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 76px;
}
.header__actions { display: flex; align-items: center; gap: 4px; }
.theme-toggle {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--border); border-radius: 50%;
  color: var(--navy-800); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.theme-toggle:hover { background: var(--teal-100); border-color: var(--teal-500); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-800);
}
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  display: block;
}
.logo__text { white-space: nowrap; }
.logo span.light { font-weight: 500; color: var(--text-muted); }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav__links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--text); font-weight: 500; font-size: 0.97rem; }
.nav__links a:hover { color: var(--teal-600); text-decoration: none; }
.nav .btn { padding: 10px 22px; }

.nav-toggle {
  display: none;
  background: none; border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 24px;
  background: var(--navy-800); margin: 5px auto;
  transition: transform .25s, opacity .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(14,159,142,0.14), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(15,42,68,0.08), transparent 60%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero p.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero h1 .accent { color: var(--teal-600); }

.hero__visual {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 26px;
  border: 1px solid var(--border);
}
.code-window__bar { display: flex; gap: 7px; margin-bottom: 18px; }
.code-window__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.code-window__bar i:nth-child(1) { background: #f28b82; }
.code-window__bar i:nth-child(2) { background: var(--amber-400); }
.code-window__bar i:nth-child(3) { background: var(--teal-500); }
.code-window pre {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--navy-700);
  white-space: pre-wrap;
}
.code-window .k { color: var(--teal-600); font-weight: 600; }
.code-window .s { color: #b0650a; }
.code-window .c { color: var(--text-muted); }

.hero__badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-hover);
  font-size: 0.9rem;
}
.hero__badge strong { display: block; font-size: 1.5rem; color: var(--amber-400); font-family: var(--font-head); }

/* ---------- Logos / trust bar ---------- */
.trust { padding: 44px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust p { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; }
.trust__logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px;
}
.trust__logos span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-muted); /* was #8a98a9 (failed AA contrast) */
  letter-spacing: 0.02em;
}

/* ---------- Approach + tech stack ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-600);
  font-size: 0.8rem; font-weight: 700;
  display: grid; place-items: center;
}
.tech {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tech span {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-700);
  transition: border-color .2s, color .2s, transform .2s;
}
.tech span:hover { border-color: var(--teal-500); color: var(--teal-600); transform: translateY(-2px); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card p { color: var(--text-muted); margin: 0; font-size: 0.98rem; }
.card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--teal-100);
  color: var(--teal-600);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__link { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 0.95rem; }

.section--dark .card {
  background: var(--navy-700);
  border-color: rgba(255,255,255,0.08);
}
.section--dark .card p { color: #c3d0dd; }
.section--dark .card__icon { background: rgba(242,169,59,0.15); color: var(--amber-400); }

/* ---------- Company size ---------- */
.sizes { display: grid; gap: 16px; }
.size {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.size h3 { margin-bottom: 4px; font-size: 1.08rem; }
.size p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }
.illustration {
  border-radius: 20px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-700) 55%, var(--teal-600));
  min-height: 400px;
  padding: 40px;
  color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.illustration::before {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 40px solid rgba(255,255,255,0.06);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.stats strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--amber-400); }
.stats span { font-size: 0.88rem; color: #c3d0dd; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 26px 20px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--teal-500);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.93rem; }

/* ---------- Case study ---------- */
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.case__visual {
  background:
    linear-gradient(135deg, rgba(15,42,68,.97), rgba(26,59,92,.95) 65%, rgba(11,122,110,.95)),
    repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 22px);
  min-height: 340px;
  display: grid; place-items: center;
  color: #fff; padding: 40px; text-align: center;
}
.case__visual strong { font-family: var(--font-head); font-size: 3.4rem; display: block; color: var(--amber-400); }
.case__body { padding: 52px 48px; }
.case__tag {
  display: inline-block;
  background: var(--teal-100);
  color: var(--teal-600);
  font-size: 0.8rem; font-weight: 700;
  border-radius: 999px; padding: 5px 14px; margin-bottom: 16px;
}

/* ---------- Testimonial ---------- */
.quote {
  max-width: 820px; margin: 0 auto; text-align: center;
}
.quote blockquote {
  margin: 0 0 24px;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy-800);
}
.quote cite { font-style: normal; color: var(--text-muted); }
.quote cite strong { color: var(--text); display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 0 24px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--navy-800);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--teal-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-muted); padding-bottom: 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact__info li { margin-bottom: 12px; list-style: none; display: flex; gap: 12px; align-items: flex-start; }
.contact__info .ico { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 4px; color: var(--amber-400); }
.contact__info ul { padding: 0; margin: 24px 0 0; }
.contact__info a { color: #fff; }
.form {
  background: var(--surface);
  border-radius: 20px;
  padding: 36px;
  color: var(--text);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy-800); }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit; font-size: 0.97rem;
  color: var(--text);
  background: var(--bg);
  margin-bottom: 18px;
  transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--teal-500); background: #fff;
}
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; }
.form__note { font-size: 0.85rem; color: var(--text-muted); margin: 14px 0 0; text-align: center; }
.form__success { color: var(--teal-600); font-weight: 600; text-align: center; margin-top: 14px; }
.form__success:empty { display: none; }
.form__success.is-error { color: #b42318; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.form .consent input { width: 20px; height: 20px; flex: 0 0 20px; margin: 3px 0 0; accent-color: var(--teal-600); }
.form .consent label { font-weight: 400; color: var(--text-muted); margin: 0; }
.form .optional { font-weight: 400; color: var(--text-muted); }
.form .field-error { color: #b42318; font-size: 0.86rem; font-weight: 600; margin: -12px 0 16px; }
.form .consent + .field-error { margin-top: -8px; }
.form [aria-invalid="true"] { border-color: #b42318; }
.form--bordered { border: 1px solid var(--border); box-shadow: var(--shadow); }
.apply-form { max-width: 760px; margin: 0 auto; scroll-margin-top: 96px; }
.apply-form h3 { margin-bottom: 6px; }
.form__intro { color: var(--text-muted); margin: 0 0 24px; }
.form__hint { font-size: 0.85rem; color: var(--text-muted); margin: -10px 0 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #a9b8c8; padding: 72px 0 28px; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4, .footer .h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
address { font-style: normal; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #a9b8c8; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo span.light { color: #a9b8c8; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 52px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.87rem;
}
.footer__bottom ul { display: flex; gap: 22px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center; color: #fff; font-size: 0.85rem; font-weight: 700;
}
.socials a:hover { background: var(--teal-600); text-decoration: none; }

/* ==========================================================
   Multi-page components
   ========================================================== */

/* ---------- Navigation: current page + Services dropdown ---------- */
.nav__links > li { position: relative; }
.nav__links a[aria-current="page"],
.nav__dropbtn.is-current { color: var(--teal-600); font-weight: 600; }
.nav__dropbtn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-weight: 500; font-size: 0.97rem; color: var(--text);
}
.nav__dropbtn:hover { color: var(--teal-600); }
.nav__dropbtn svg { width: 12px; height: 12px; transition: transform .2s; }
.has-dropdown.is-open .nav__dropbtn svg { transform: rotate(180deg); }
.dropdown {
  display: none;
  position: absolute; top: calc(100% + 20px); left: -18px;
  min-width: 290px; margin: 0; padding: 10px; list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
.dropdown::before { /* hover bridge between button and menu */
  content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px;
}
.has-dropdown.is-open .dropdown { display: block; }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text); font-weight: 500; font-size: 0.95rem;
}
.dropdown a:hover { background: var(--teal-100); color: var(--teal-600); text-decoration: none; }
.dropdown li:first-child a { color: var(--teal-600); font-weight: 600; }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: 64px 0 84px;
  color: #c3d0dd;
  background:
    radial-gradient(800px 420px at 92% 0%, rgba(14,159,142,0.28), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
}
.page-hero h1 { color: #fff; max-width: 860px; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-hero .eyebrow { color: var(--amber-400); }
.page-hero .lead { font-size: 1.18rem; max-width: 700px; color: #d0dbe6; margin: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.page-hero__icon {
  width: 60px; height: 60px; border-radius: 16px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: rgba(242,169,59,0.15); color: var(--amber-400);
}
.page-hero__icon svg { width: 30px; height: 30px; }

.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0 0 32px; padding: 0;
  font-size: 0.9rem;
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #8fa3b8; }
.breadcrumb a { color: #d0dbe6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- Generic helpers ---------- */
.split > *, .contact > *, .hero__grid > * { min-width: 0; } /* let grid columns shrink on small screens */
.tech span { overflow-wrap: anywhere; }
h1, h2, h3 { overflow-wrap: break-word; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.lead-text { font-size: 1.12rem; color: var(--text-muted); }
.section-cta { margin-top: 40px; text-align: center; }
.illustration h2 { color: #fff; }
.text-link { font-weight: 600; display: inline-block; margin-top: 18px; }
.card h3 a { color: inherit; }
.card--plain:hover { transform: none; box-shadow: none; border-color: var(--border); }
.bullets { padding-left: 1.2em; margin: 0 0 1em; }
.bullets li { margin-bottom: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li {
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
  padding: 3px 12px; font-size: 0.82rem; font-weight: 600; color: var(--navy-700);
}

/* ---------- Call-to-action band ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px;
  padding: 56px;
  border-radius: 20px;
  color: #e6edf4;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700) 70%, #12505a);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 600px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Service page extras ---------- */
.related .card { display: flex; flex-direction: column; }
.related .card p { flex: 1; }

/* ---------- About: mission / team ---------- */
.mission-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 4px solid var(--teal-500); padding: 34px 30px;
}
.mission-card p { margin: 0; color: var(--text-muted); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-align: center;
}
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--teal-100); }
.team-card__body { padding: 20px 18px 24px; }
.team-card h3 { margin-bottom: 2px; font-size: 1.1rem; }
.team-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Case studies page ---------- */
.case + .case { margin-top: 48px; }
.case--reverse .case__visual { order: 2; }
.case__body h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.case__body .case__label { font-size: 0.9rem; margin: 22px 0 6px; color: var(--teal-600); text-transform: uppercase; letter-spacing: .08em; }
.case__body .case__services { margin-top: 18px; font-size: 0.95rem; }
.case__body p { color: var(--text-muted); margin-bottom: 0; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.results li { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.results strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--navy-800); }
.results span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; display: block; }

/* ---------- Careers ---------- */
.jobs { display: grid; gap: 18px; max-width: 940px; margin: 0 auto; }
.job {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 30px;
}
.job__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.job h3 { margin-bottom: 8px; font-size: 1.25rem; }
.job > p { color: var(--text-muted); margin: 14px 0; }
.job details summary { cursor: pointer; font-weight: 600; color: var(--teal-600); display: inline-block; }
.job details[open] summary { margin-bottom: 4px; }
.job h4 { font-size: 1rem; margin: 18px 0 8px; }
.job .bullets { color: var(--text-muted); }
.process--4 { grid-template-columns: repeat(4, 1fr); }
.note-box {
  max-width: 940px; margin: 32px auto 0; padding: 24px 28px; text-align: center;
  border: 1px dashed #9fb0c2; border-radius: var(--radius); background: var(--surface);
}
.note-box p { margin: 0; }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; gap: 16px; margin-top: 28px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
}
.contact-card .card__icon { width: 46px; height: 46px; margin: 0; flex: 0 0 46px; border-radius: 12px; }
.contact-card .card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-card p { margin: 0; color: var(--text-muted); }
.map-placeholder {
  min-height: 380px; border-radius: 20px; padding: 32px; text-align: center;
  display: grid; place-items: center; color: var(--text-muted);
  border: 2px dashed #9fb0c2;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, var(--border) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--border) 39px 40px),
    var(--surface);
}
.map-placeholder > div { background: var(--surface); padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-placeholder svg { width: 40px; height: 40px; color: var(--teal-600); margin: 0 auto 8px; display: block; }
.map-placeholder strong { color: var(--navy-800); display: block; font-family: var(--font-head); }
.map-embed iframe { width: 100%; height: 420px; border: 0; border-radius: 20px; display: block; }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 860px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 56px 60px;
}
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; scroll-margin-top: 100px; }
.legal h2:first-of-type { margin-top: 1.4em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.5em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal__updated { color: var(--text-muted); font-size: 0.95rem; }
.toc { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 24px; }
.toc h2 { font-size: 1rem; margin: 0 0 10px !important; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 1em 0 1.4em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.legal th, .legal td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg); color: var(--navy-800); }

/* ---------- Highlights (dark panel, used in place of statistics) ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; position: relative; }
.highlights strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--amber-400); margin-bottom: 4px; }
.highlights span { font-size: 0.88rem; color: #c3d0dd; line-height: 1.45; display: block; }

/* ---------- Sample project labels ---------- */
.sample-badge {
  display: inline-block; margin: 0 8px 16px 0;
  background: var(--navy-800); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 12px;
}
.note-box--top { margin: 0 auto 48px; }
.map-link { margin: 14px 0 0; font-weight: 600; }

/* ---------- Spam trap (hidden from people, filled in only by bots) ---------- */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }

/* ---------- 404 ---------- */
.not-found { text-align: center; max-width: 620px; margin: 0 auto; }
.not-found strong { display: block; font-family: var(--font-head); font-size: 5rem; line-height: 1; color: var(--teal-600); margin-bottom: 12px; }

/* ==========================================================
   Version 2 components
   ========================================================== */

/* ---------- Footer additions ---------- */
.footer { padding-bottom: 96px; } /* room for the floating buttons at the end of the page */
.footer__cta { margin-top: 20px; }
.footer a.btn--amber, .footer a.btn--amber:hover { color: var(--navy-900); }
code {
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.88em;
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px;
}

/* ---------- Floating buttons: WhatsApp + back to top ---------- */
.whatsapp-float, .to-top {
  position: fixed; z-index: 60;
  display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform .2s, bottom .25s;
}
.whatsapp-float {
  right: 18px; bottom: calc(18px + var(--banner-h, 0px));
  width: 56px; height: 56px;
  background: #128c7e; color: #fff; /* WhatsApp green; white icon contrast 4.4:1 */
}
.whatsapp-float:hover { transform: scale(1.06); text-decoration: none; }
.whatsapp-float svg { width: 30px; height: 30px; }
.to-top {
  right: 24px; bottom: calc(86px + var(--banner-h, 0px));
  width: 44px; height: 44px;
  background: var(--navy-800); color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
}
.to-top[hidden], .menu-open .whatsapp-float, .menu-open .to-top { display: none; }
.to-top:hover { transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; }
.whatsapp-float:focus-visible, .to-top:focus-visible {
  outline: 3px solid var(--amber-400); outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--navy-900); /* dark halo keeps the amber ring visible on light pages */
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  max-width: 620px;
  background: var(--navy-900); color: #d7e1ec;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.cookie-banner h2 { color: #fff; font-size: 1.05rem; margin: 0 0 6px; }
.cookie-banner p { margin: 0 0 14px; font-size: 0.95rem; line-height: 1.55; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn { padding: 10px 22px; font-size: 0.95rem; }
.cookie-banner a:focus-visible, .cookie-banner button:focus-visible { outline-color: var(--amber-400); }

/* ---------- Contact page: actions + consent-gated map ---------- */
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 4px; }
.map-consent {
  min-height: 420px; border-radius: 20px; padding: 24px;
  display: grid; place-items: center; text-align: center;
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, var(--border) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--border) 39px 40px),
    var(--bg);
}
.map-consent__box { background: var(--surface); padding: 24px 28px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 420px; }
.map-consent__box svg { width: 36px; height: 36px; color: var(--teal-600); margin: 0 auto 8px; display: block; }
.map-consent__box strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--navy-800); }
.map-consent__box p { color: var(--text-muted); font-size: 0.95rem; margin: 6px 0 16px; }
.map-consent.is-loaded { display: block; min-height: 0; padding: 0; border: 0; background: none; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; margin: 12px 0 36px; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 38px 30px 30px;
}
.price-card--popular { border: 2px solid var(--teal-600); box-shadow: var(--shadow-hover); }
.price-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--navy-800); color: #fff; white-space: nowrap;
  font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.price-card__name { font-size: 1.45rem; margin-bottom: 4px; }
.price-card__for { color: var(--text-muted); margin-bottom: 18px; min-height: 3.3em; }
.price-card__price { margin: 0 0 8px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.price-card__price span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.price-card__price strong { font-family: var(--font-head); font-size: 2rem; line-height: 1.2; color: var(--navy-800); }
.price-card .checklist { flex: 1; margin-bottom: 26px; }
.price-card .checklist li { font-size: 0.97rem; }
.price-card .btn { justify-content: center; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 36px; }
.industry-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.industry-card .card__icon { flex: none; margin: 0; }
.industry-card h2 { font-size: 1.25rem; margin-bottom: 6px; }
.industry-card p { color: var(--text-muted); margin-bottom: 14px; }
.industry-card h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-600); margin: 0 0 10px; }
.industry-card .checklist { margin: 0; }
.industry-card .checklist li { margin-bottom: 8px; font-size: 0.96rem; }

/* ---------- Quote form (multi-step) ---------- */
.quote-wrap { max-width: 880px; }
.quote-progress { margin-bottom: 28px; }
.quote-progress__label { font-weight: 600; font-size: 0.95rem; color: var(--navy-800); margin: 0 0 8px; }
.quote-progress__bar { height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; }
.quote-progress__bar span { display: block; height: 100%; width: 20%; background: var(--teal-600); border-radius: inherit; transition: width .3s; }
.quote-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.quote-step + .quote-step { margin-top: 36px; } /* only matters when JavaScript is off (all steps shown) */
.quote-step legend { padding: 0; width: 100%; }
.quote-step legend h2 { font-size: 1.35rem; margin: 0; }
.quote-step legend h2:focus { outline: none; }
.quote-hint { color: var(--text-muted); margin: 6px 0 16px; font-size: 0.95rem; }
.js .quote-step:not(.is-active) { display: none; }
.js .quote-step + .quote-step { margin-top: 0; }
html:not(.js) .quote-progress, html:not(.js) .quote-back, html:not(.js) .quote-next { display: none; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 6px 0 8px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.form .choice {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; margin: 0;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); cursor: pointer;
  font-weight: 500; font-size: 0.97rem; color: var(--text); line-height: 1.35;
  transition: border-color .2s, background .2s;
}
.form .choice input { width: 18px; height: 18px; flex: none; margin: 0; padding: 0; accent-color: var(--teal-600); }
.form .choice:hover { border-color: var(--teal-500); }
.form .choice:has(input:checked) { border-color: var(--teal-600); background: var(--teal-100); }
.form .choice:has(input:focus-visible) { outline: 3px solid var(--navy-800); outline-offset: 2px; }
.quote-step.has-error .choice { border-color: #b42318; }
.choice-label { font-weight: 600; font-size: 0.9rem; color: var(--navy-800); margin: 0 0 8px; }
.group-error { color: #b42318; font-weight: 600; font-size: 0.88rem; margin: 8px 0 14px; }
.group-error:empty { display: none; }
.quote-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.form .quote-nav .btn { width: auto; }
.quote-nav .quote-next, .quote-nav .quote-submit { margin-left: auto; }
.quote-nav [hidden] { display: none; }
.quote-form.is-sent .quote-step, .quote-form.is-sent .quote-nav,
.quote-form.is-sent .quote-progress, .quote-form.is-sent .form__note { display: none; }
.quote-form.is-sent .form__success { font-size: 1.15rem; padding: 28px 0; margin: 0; }
.quote-form .form__success:focus { outline: none; }

/* ---------- Blog ---------- */
.blog-grid { align-items: stretch; }
.blog-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-card__art {
  height: 150px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700) 60%, var(--teal-600));
  color: var(--amber-400);
}
.blog-card__art svg { width: 54px; height: 54px; }
.blog-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.blog-card .case__tag { align-self: flex-start; }
.blog-card h2, .blog-card h3 { font-size: 1.2rem; line-height: 1.35; margin: 0 0 10px; }
.blog-card h2 a, .blog-card h3 a { color: var(--navy-800); }
.blog-card h2 a::after, .blog-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.blog-card p { color: var(--text-muted); font-size: 0.97rem; margin: 0 0 14px; flex: 1; }
.blog-card .blog-card__meta { flex: 0; margin: 0; font-size: 0.87rem; }
.blog-card:focus-within { outline: 3px solid var(--navy-800); outline-offset: 3px; }
.blog-card a:focus-visible { outline: none; }

.article { max-width: 760px; margin: 0 auto; font-size: 1.08rem; }
.article-lead { font-size: 1.2rem; line-height: 1.6; margin-bottom: 1.6em; }
.article h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 1.8em 0 0.6em; }
.article h3 { font-size: 1.15rem; margin: 1.5em 0 0.4em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: 0.5em; }
.article p a, .article li a { text-decoration: underline; text-underline-offset: 2px; }
.article-meta { font-size: 1rem; color: #d0dbe6; }
.article-cta {
  margin-top: 3em; padding: 36px; border-radius: 20px;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700) 70%, #12505a);
  color: #e6edf4;
}
.article .article-cta h2 { color: #fff; margin: 0 0 8px; font-size: 1.5rem; }
.article-cta p { margin: 0 0 20px; }
.article-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section .article-cta a:focus-visible { outline-color: var(--amber-400); }

/* ---------- Testimonials slider (hidden until real reviews are added) ---------- */
.t-slider { max-width: 860px; margin: 0 auto; }
.t-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; border-radius: var(--radius);
}
.t-track::-webkit-scrollbar { display: none; }
.t-track:focus-visible { outline: 3px solid var(--navy-800); outline-offset: 4px; }
.t-slide { scroll-snap-align: start; margin: 0; padding: 8px 24px; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.t-controls[hidden] { display: none; }
.t-btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--border); background: var(--surface);
  color: var(--navy-800); font-size: 1.2rem;
}
.t-btn:hover { border-color: var(--teal-600); color: var(--teal-600); }
.t-btn:disabled { opacity: .4; cursor: default; }
.t-status { margin: 0; min-width: 64px; text-align: center; color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Scroll reveal (only hidden when JavaScript is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .card, .tech span { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
/* Header switches to the hamburger menu below 1100px (the menu has 7 items) */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px 20px 24px;
    display: none;
    max-height: calc(100vh - 76px); overflow-y: auto;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__dropbtn {
    width: 100%; justify-content: space-between;
    padding: 14px 0; border-bottom: 1px solid var(--border);
  }
  .dropdown {
    position: static; min-width: 0; box-shadow: none; border: 0; border-radius: 0;
    padding: 4px 0 8px 14px;
  }
  .dropdown::before { display: none; }
  .nav__links .dropdown a { border-bottom: 0; padding: 10px 12px; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { padding: 72px 0; }
  .hero__grid, .split, .case, .contact { grid-template-columns: 1fr; gap: 44px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero__badge { left: 16px; }
  .case__body { padding: 36px 28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-3, .grid-4, .process, .footer__grid, .form__row { grid-template-columns: 1fr; }
  .tech { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stats strong { font-size: 1.5rem; }
  .form { padding: 24px; }
}

/* ---------- Responsive: multi-page components ---------- */
@media (max-width: 1024px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .process--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .case--reverse .case__visual { order: 0; }
  .case__visual { min-height: 220px; }
  .cta-band { padding: 40px 32px; }
  .legal { padding: 40px 32px; }
  .page-hero { padding: 48px 0 64px; }
}
@media (max-width: 600px) {
  .team, .process--4 { grid-template-columns: 1fr; }
  .team { max-width: 340px; margin: 0 auto; }
  .results { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; justify-content: center; }
  .legal { padding: 28px 20px; border-radius: var(--radius); }
  .toc ol { columns: 1; }
  .job { padding: 22px 20px; }
  .map-placeholder { min-height: 280px; padding: 20px; }
  .header__inner { height: 68px; }
  .nav { top: 68px; max-height: calc(100vh - 68px); }
  .logo { font-size: 1.05rem; gap: 8px; }
  .logo__mark { width: 34px; height: 34px; }
}

/* ---------- Responsive: version 2 components ---------- */
@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; gap: 32px; }
  .price-card__for { min-height: 0; }
  .article-cta { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .industry-card { flex-direction: column; padding: 24px 20px; gap: 14px; }
  .quote-nav .btn { flex: 1; justify-content: center; }
  .choice-grid { grid-template-columns: 1fr; }
  .article { font-size: 1.02rem; }
  .article-lead { font-size: 1.1rem; }
  .article-cta__actions .btn { width: 100%; justify-content: center; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
  .whatsapp-float { right: 14px; width: 52px; height: 52px; bottom: calc(14px + var(--banner-h, 0px)); }
  .to-top { right: 18px; bottom: calc(76px + var(--banner-h, 0px)); }
  .theme-toggle { width: 40px; height: 40px; }
  .header__inner { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .t-track { scroll-behavior: auto; }
  .blog-card, .whatsapp-float, .to-top, .quote-progress__bar span { transition: none; }
  .blog-card:hover, .whatsapp-float:hover, .to-top:hover { transform: none; }
}

/* ==========================================================
   Dark mode — set by the toggle in the header (saved choice),
   otherwise by the device setting. Contrast is AA throughout:
   body text 12:1, muted text 7.5:1, links 9:1 on dark surfaces.
   ========================================================== */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1622;
  --surface: #112131;
  --text: #dce5ee;
  --text-muted: #a3b2c2;
  --border: #26394d;
  --teal-100: rgba(14, 159, 142, 0.18);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.5);
  --heading: #f1f5f9;
  --link: #4fd1c0;
}
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4,
[data-theme="dark"] .logo, [data-theme="dark"] .quote blockquote, [data-theme="dark"] .faq summary,
[data-theme="dark"] .form label, [data-theme="dark"] .choice-label, [data-theme="dark"] .quote-progress__label,
[data-theme="dark"] .results strong, [data-theme="dark"] .legal th, [data-theme="dark"] .price-card__price strong,
[data-theme="dark"] .map-consent__box strong, [data-theme="dark"] .blog-card h2 a, [data-theme="dark"] .blog-card h3 a,
[data-theme="dark"] .theme-toggle, [data-theme="dark"] .t-btn { color: var(--heading); }
[data-theme="dark"] .form .choice { color: var(--text); }
[data-theme="dark"] a,
[data-theme="dark"] .hero h1 .accent, [data-theme="dark"] .card__icon, [data-theme="dark"] .checklist li::before,
[data-theme="dark"] .case__tag, [data-theme="dark"] .case__body .case__label, [data-theme="dark"] .industry-card h3,
[data-theme="dark"] .section:not(.section--dark) .eyebrow, [data-theme="dark"] .faq summary::after,
[data-theme="dark"] .form__success, [data-theme="dark"] .not-found strong, [data-theme="dark"] .map-consent__box svg,
[data-theme="dark"] .code-window .k { color: var(--link); }

/* Header & navigation */
[data-theme="dark"] .header { background: rgba(10, 22, 34, 0.92); }
[data-theme="dark"] .nav-toggle span { background: var(--heading); }
[data-theme="dark"] .nav__links a, [data-theme="dark"] .nav__dropbtn { color: var(--text); }
[data-theme="dark"] .nav__links a:hover, [data-theme="dark"] .nav__dropbtn:hover,
[data-theme="dark"] .nav__links a[aria-current="page"], [data-theme="dark"] .nav__dropbtn.is-current,
[data-theme="dark"] .dropdown li:first-child a, [data-theme="dark"] .dropdown a:hover { color: var(--link); }

/* Buttons keep their own text colours */
[data-theme="dark"] a.btn--primary, [data-theme="dark"] .btn--primary { color: #fff; }
[data-theme="dark"] a.btn--amber { color: var(--navy-900); }
[data-theme="dark"] a.btn--ghost-light { color: #fff; }
[data-theme="dark"] a.btn--ghost-light:hover { color: var(--navy-800); }
[data-theme="dark"] .btn--outline { border-color: var(--heading); color: var(--heading); }
[data-theme="dark"] .btn--outline:hover { background: var(--heading); color: var(--navy-900); }

/* Links on permanently dark panels keep their light colours */
[data-theme="dark"] .footer a { color: #a9b8c8; }
[data-theme="dark"] .footer a:hover, [data-theme="dark"] .footer .logo,
[data-theme="dark"] .contact__info a, [data-theme="dark"] .cookie-banner a,
[data-theme="dark"] .breadcrumb [aria-current="page"] { color: #fff; }
[data-theme="dark"] .breadcrumb a { color: #d0dbe6; }
[data-theme="dark"] .footer a.btn--amber { color: var(--navy-900); }
[data-theme="dark"] .whatsapp-float { color: #fff; }
[data-theme="dark"] .skip-link { color: #fff; }

/* Components */
[data-theme="dark"] .tech span, [data-theme="dark"] .tags li { color: var(--text); }
[data-theme="dark"] .code-window pre { color: #c9d6e3; }
[data-theme="dark"] .code-window .s { color: #f2b866; }
[data-theme="dark"] .form input:focus, [data-theme="dark"] .form textarea:focus, [data-theme="dark"] .form select:focus { background: var(--bg); }
[data-theme="dark"] .form .field-error, [data-theme="dark"] .group-error, [data-theme="dark"] .form__success.is-error { color: #ff9b8f; }
[data-theme="dark"] .form [aria-invalid="true"], [data-theme="dark"] .quote-step.has-error .choice { border-color: #ff9b8f; }
[data-theme="dark"] .price-card--popular { border-color: var(--link); }
[data-theme="dark"] .price-card__badge { background: var(--teal-600); }
[data-theme="dark"] .sample-badge { background: #26394d; }
[data-theme="dark"] .t-track:focus-visible, [data-theme="dark"] .blog-card:focus-within { outline-color: var(--amber-400); }
/* Focus rings: amber is visible on every dark surface */
[data-theme="dark"] a:focus-visible, [data-theme="dark"] button:focus-visible, [data-theme="dark"] summary:focus-visible,
[data-theme="dark"] .form .choice:has(input:focus-visible) { outline-color: var(--amber-400) !important; }
