/* AdSea Innovations — shared stylesheet */

:root {
  --navy-900: #051c3b;
  --navy-800: #0a2a52;
  --navy-700: #123a6b;
  --blue-600: #0070d0;
  --cyan-400: #00b0f0;
  --gradient: linear-gradient(135deg, var(--blue-600), var(--cyan-400));

  --ink: #10233f;
  --ink-soft: #4b5b74;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --border: #e3e9f2;
  --white: #ffffff;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-s: 0 2px 10px rgba(10, 42, 82, 0.06);
  --shadow-m: 0 12px 32px rgba(10, 42, 82, 0.1);
  --shadow-l: 0 24px 64px rgba(10, 42, 82, 0.16);

  --container: 1160px;
  --nav-h: 88px;

  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

section {
  padding: 96px 0;
}

.bg-soft {
  background: var(--bg-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 112, 208, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 112, 208, 0.34);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(5, 28, 59, 0.28);
}

.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(5, 28, 59, 0.34);
}

.btn-dark svg {
  transition: transform 0.15s ease;
}

.btn-dark:hover svg {
  transform: translateX(3px);
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
  flex-shrink: 0;
}

.brand img {
  height: 54px;
  width: auto;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 6px;
}

.brand-stack strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
}

.brand-stack small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-800);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover {
  color: var(--blue-600);
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.lang-switch a {
  padding: 4px 8px;
  border-radius: 6px;
}

.lang-switch a.active {
  color: var(--blue-600);
  background: rgba(0, 112, 208, 0.08);
}

.lang-switch span {
  color: var(--border);
}

.lang-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-pill a {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.lang-pill a.active {
  background: var(--navy-900);
  color: var(--white);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 26px;
  background: var(--white);
}

.eyebrow-pill svg {
  width: 15px;
  height: 15px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 100px 0 96px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(10, 42, 82, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 42, 82, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-visual {
  position: relative;
}

.hero-visual svg,
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  color: var(--navy-900);
}

.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* Logo strip */
.logo-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logo-strip .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.logo-strip p {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.logo-strip .chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.logo-strip .chips span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 28px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: transparent;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.badge-soon {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-600);
  background: rgba(0, 112, 208, 0.1);
  padding: 3px 9px;
  border-radius: 999px;
}

.badge-new {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0c6b57;
  background: rgba(12, 107, 87, 0.12);
  padding: 3px 9px;
  border-radius: 999px;
}

/* AI audit / split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.split-list-item {
  display: flex;
  gap: 16px;
}

.split-list-item .num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-list-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.split-list-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.split-card {
  background: var(--navy-900);
  border-radius: var(--radius-l);
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow-l);
}

.split-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.split-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.split-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.split-card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.split-card ul li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--cyan-400);
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  padding: 30px 24px;
  border-radius: var(--radius-m);
  background: var(--white);
  border: 1px solid var(--border);
}

.step .step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: block;
}

.step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  background: var(--navy-900);
  border-radius: var(--radius-l);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 380px;
  height: 380px;
  background: var(--gradient);
  opacity: 0.28;
  filter: blur(70px);
  border-radius: 50%;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  position: relative;
  max-width: 480px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  position: relative;
}

.cta-band .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-band .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.cta-band-actions {
  position: relative;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-item .ic {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
}

.contact-info-item .ic svg {
  width: 19px;
  height: 19px;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.contact-info-item p, .contact-info-item a {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-info-item a:hover {
  color: var(--blue-600);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 40px;
  box-shadow: var(--shadow-s);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--navy-800);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.ok {
  color: #1a9b63;
}

.form-status.err {
  color: #d64545;
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand .brand img {
  height: 28px;
}

.footer-brand .brand .brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.92rem;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 18px;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Legal pages */
.legal-page {
  padding: 72px 0 96px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 40px;
  display: block;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin: 36px 0 12px;
}

.legal-page p, .legal-page li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 20px;
  list-style: disc;
}

.legal-page a {
  color: var(--blue-600);
}

/* Responsive */
@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    order: -1;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  section {
    padding: 64px 0;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-m);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions .btn-primary,
  .header-actions .btn-dark {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 28px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 26px;
  }
  .hero-panel {
    padding: 26px;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger index is set by JS on grouped items */
.reveal {
  transition-delay: calc(var(--stagger, 0) * 65ms);
}

.hero-visual img {
  will-change: transform;
}

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

/* ============================================================
   Premium interactions
   All motion is GPU-friendly (transform/opacity) and gated by
   prefers-reduced-motion at the bottom of this block.
   ============================================================ */

/* Scroll progress indicator (injected by JS) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  will-change: transform;
}

/* Header: densify on scroll (no height change -> no layout shift) */
.site-header {
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 28px rgba(10, 42, 82, 0.08);
  border-bottom-color: transparent;
}

.site-header .brand img {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .brand img {
  transform: scale(0.9);
}

/* Nav links: underline wipe */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

/* Magnetic buttons (offset vars driven by JS) */
.btn {
  position: relative;
  transform: translate3d(var(--mag-x, 0px), var(--mag-y, 0px), 0);
}

.btn-dark:hover,
.btn-primary:hover {
  transform: translate3d(var(--mag-x, 0px), calc(var(--mag-y, 0px) - 2px), 0);
}

/* CTA emphasis: soft breathing glow on the main hero action */
.hero-ctas .btn-dark::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--gradient);
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.35s ease;
}

.hero-ctas .btn-dark:hover::before {
  opacity: 0.55;
}

/* Hero: pointer-following ambient glow (injected by JS) */
.hero-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 620px;
  height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 176, 240, 0.16), rgba(0, 112, 208, 0.06) 45%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}

.hero:hover .hero-glow {
  opacity: 1;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

/* Hero headline: word-by-word rise */
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  animation: wordRise 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--w, 0) * 45ms + 80ms);
}

@keyframes wordRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service cards: lift + cursor spotlight + gradient hairline */
.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 176, 240, 0.1),
    transparent 65%
  );
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(10, 42, 82, 0.13);
  border-color: rgba(0, 176, 240, 0.35);
}

.service-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.08) rotate(-4deg);
  box-shadow: 0 10px 22px rgba(0, 112, 208, 0.3);
}

/* Service-card links keep the full card as a clearly focusable, semantic
   path to the detailed service page. */
.service-card-link {
  display: block;
}

.service-card-link:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 4px;
}

/* Process: connector rail behind the step cards */
.steps {
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border) 12%, var(--border) 88%, transparent);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(10, 42, 82, 0.11);
  border-color: rgba(0, 176, 240, 0.35);
}

/* Channel chips */
.logo-strip .chips span {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.logo-strip .chips span:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 176, 240, 0.45);
  color: var(--blue-600);
  background: var(--white);
}

/* Audit card: animated gradient hairline */
.split-card {
  position: relative;
}

.split-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(0, 176, 240, 0.65), transparent 35%, transparent 65%, rgba(0, 176, 240, 0.65));
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: borderDrift 9s linear infinite;
}

@keyframes borderDrift {
  to {
    background-position: 300% 0;
  }
}

.split-card ul li svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.split-card ul li:hover svg {
  transform: scale(1.25);
}

/* Contact info tiles */
.contact-info-item .ic {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, background 0.3s ease;
}

.contact-info-item:hover .ic {
  transform: translateY(-2px) scale(1.06);
  border-color: rgba(0, 176, 240, 0.45);
  background: var(--white);
}

/* Form: focus depth + submit loading state */
.field input,
.field select,
.field textarea {
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: 0 0 0 4px rgba(0, 112, 208, 0.12);
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn.is-loading::after {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-status.show {
  animation: statusIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes statusIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
}

/* Footer links */
.footer-col ul a {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.footer-col ul a:hover {
  transform: translateX(4px);
}

/* Accessibility: visible focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 980px) {
  .steps::before {
    display: none;
  }
}

/* Motion opt-out: kill every non-essential animation */
@media (prefers-reduced-motion: reduce) {
  .hero h1 .word {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .split-card::after {
    animation: none;
  }
  .scroll-progress,
  .hero-glow {
    display: none;
  }
  .service-card:hover,
  .step:hover,
  .logo-strip .chips span:hover,
  .btn-dark:hover,
  .btn-primary:hover {
    transform: none;
  }
  .service-card:hover .service-icon,
  .contact-info-item:hover .ic,
  .split-card ul li:hover svg,
  .footer-col ul a:hover {
    transform: none;
  }
  .form-status.show {
    animation: none;
  }
}

/* ============================================================
   Design refinement v2 — typography scale, layered depth,
   marquee, ghost numerals, richer surfaces.
   Placed last so equal-specificity overrides win.
   ============================================================ */

:root {
  --shadow-s: 0 1px 2px rgba(10, 42, 82, 0.05), 0 4px 14px rgba(10, 42, 82, 0.05);
  --shadow-m: 0 2px 6px rgba(10, 42, 82, 0.06), 0 18px 44px rgba(10, 42, 82, 0.1);
  --shadow-l: 0 4px 12px rgba(10, 42, 82, 0.08), 0 34px 84px rgba(10, 42, 82, 0.16);
}

::selection {
  background: rgba(0, 112, 208, 0.16);
  color: var(--navy-900);
}

section {
  padding: 112px 0;
}

h1, h2, h3 {
  letter-spacing: -0.03em;
}

/* --- Type scale --- */
.section-head {
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
}

.section-head p {
  font-size: 1.1rem;
  line-height: 1.65;
}

.split h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
}

/* --- Hero --- */
.hero {
  padding: 118px 0 108px;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.07;
}

.hero-sub {
  font-size: 1.18rem;
  line-height: 1.65;
  margin-top: 26px;
}

.hero-ctas {
  margin-top: 40px;
  gap: 16px;
}

/* --- Buttons --- */
.btn {
  padding: 16px 30px;
  font-size: 1rem;
}

.site-header .btn {
  padding: 13px 24px;
  font-size: 0.92rem;
}

/* --- Nav active state (scrollspy) --- */
.nav-links a.active {
  color: var(--blue-600);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

/* --- Channel marquee --- */
.logo-strip {
  padding: 30px 0;
  background: var(--white);
}

.logo-strip .container {
  flex-wrap: nowrap;
  gap: 40px;
}

.chips-marquee {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 12px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.chips-marquee .chips {
  flex-shrink: 0;
  flex-wrap: nowrap;
  animation: marquee 30s linear infinite;
}

.chips-marquee:hover .chips {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(calc(-100% - 12px));
  }
}

.logo-strip .chips span {
  padding: 10px 20px;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* --- Service cards --- */
.service-card {
  border-radius: 20px;
  padding: 34px 30px;
  border-color: transparent;
  box-shadow: var(--shadow-s);
}

.service-card:hover {
  box-shadow: var(--shadow-m);
  border-color: rgba(0, 176, 240, 0.28);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  line-height: 1.6;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  margin-bottom: 22px;
  box-shadow: 0 6px 16px rgba(0, 112, 208, 0.22);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

/* --- Audit split card --- */
.split-card {
  border-radius: 26px;
  padding: 46px 44px;
  background:
    radial-gradient(480px 300px at 110% -10%, rgba(0, 176, 240, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-900), #0a2a52 90%);
}

.split-card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

/* --- Process steps: ghost numerals --- */
.steps {
  counter-reset: step;
  gap: 24px;
}

.step {
  counter-increment: step;
  overflow: hidden;
  border-radius: 20px;
  padding: 34px 28px 30px;
  border-color: transparent;
  box-shadow: var(--shadow-s);
}

.step::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 2px;
  right: 16px;
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--navy-900);
  opacity: 0.055;
  pointer-events: none;
}

.step:hover {
  box-shadow: var(--shadow-m);
  border-color: rgba(0, 176, 240, 0.28);
}

.steps::before {
  top: 50%;
}

/* --- CTA band --- */
.cta-band {
  border-radius: 28px;
  padding: 72px 64px;
  background:
    radial-gradient(560px 320px at -5% -20%, rgba(0, 112, 208, 0.35), transparent 60%),
    linear-gradient(150deg, var(--navy-900) 30%, #0a2a52);
}

.cta-band h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
}

.cta-band p {
  font-size: 1.05rem;
}

/* --- Contact --- */
.contact-form {
  border: none;
  border-radius: 26px;
  padding: 46px;
  box-shadow: var(--shadow-m);
}

.field input,
.field select,
.field textarea {
  background: var(--white);
  padding: 14px 16px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #cdd9e8;
}

/* --- Footer --- */
.site-footer {
  padding: 84px 0 32px;
  background: linear-gradient(180deg, var(--navy-900), #030f22);
}

.footer-top {
  padding-bottom: 56px;
}

.footer-brand .brand img {
  height: 46px;
}

/* --- Responsive tweaks for v2 --- */
@media (max-width: 760px) {
  section {
    padding: 72px 0;
  }
  .hero {
    padding: 72px 0 76px;
  }
  .cta-band {
    padding: 48px 30px;
  }
  .contact-form {
    padding: 30px 24px;
  }
  .split-card {
    padding: 34px 26px;
  }
  .logo-strip .container {
    flex-wrap: nowrap;
  }
  .logo-strip p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chips-marquee .chips {
    animation: none;
  }
  .chips-marquee {
    flex-wrap: wrap;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .chips-marquee .chips[aria-hidden="true"] {
    display: none;
  }
}

/* ============================================================
   v3 — hero proportion + rhythm corrections
   ============================================================ */

.hero {
  padding: 88px 0 96px;
}

.hero .container {
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
}

/* Headline was running 5 oversized lines; tighten to a 3-4 line block. */
.hero h1 {
  font-size: clamp(2.05rem, 3.1vw, 3.05rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
  max-width: 15ch;
}

.hero-sub {
  font-size: 1.08rem;
  max-width: 46ch;
  margin-top: 22px;
}

.eyebrow-pill {
  margin-bottom: 22px;
  font-size: 0.72rem;
  padding: 8px 16px;
}

.hero-ctas {
  margin-top: 34px;
}

.hero-visual {
  transform: scale(1.06);
}

@media (max-width: 980px) {
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 6vw, 2.7rem);
  }
  .hero-visual {
    transform: none;
  }
}

/* Only hint the compositor while an element is still waiting to animate.
   Leaving will-change on permanently keeps 25 extra layers alive. */
.reveal {
  will-change: auto;
}

.reveal:not(.in-view) {
  will-change: opacity, transform;
}

/* ============================================================
   v4 — process step corrections
   ============================================================ */

/* The rail only ever showed as stray dashes in the card gaps. */
.steps::before {
  display: none;
}

/* The ghost numeral now carries the step index, so the small
   "STEP 01" label was duplicating it. Keep it for screen readers. */
.step .step-num {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.step {
  padding: 30px 28px 30px;
}

.step::after {
  top: 10px;
  right: 20px;
  font-size: 3.4rem;
  opacity: 0.07;
}

.step h4 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  padding-right: 54px;
}

.step p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* The CTA band sat under two stacked section paddings (~224px of dead space). */
.cta-section {
  padding-top: 0;
  padding-bottom: 104px;
}

@media (max-width: 760px) {
  .cta-section {
    padding-bottom: 64px;
  }
}

/* ============================================================
   v5 — responsive corrections.
   These must stay LAST: the v2/v3 blocks above are unscoped and
   would otherwise beat the earlier media queries on source order.
   ============================================================ */

@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 {
    max-width: 20ch;
  }
  .hero-sub {
    max-width: 56ch;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 56px 0 64px;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 7.4vw, 2.4rem);
    max-width: 100%;
  }
  .hero-sub {
    font-size: 1rem;
    max-width: 100%;
  }
  .eyebrow-pill {
    font-size: 0.66rem;
    padding: 7px 14px;
    letter-spacing: 0.05em;
  }
  .hero-ctas {
    gap: 12px;
  }
  .hero-ctas .btn {
    flex: 1 1 auto;
  }
  .services-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .section-head h2 {
    font-size: clamp(1.65rem, 6.4vw, 2.1rem);
  }
  .section-head p {
    font-size: 1rem;
  }
  .split h2 {
    font-size: clamp(1.6rem, 6.2vw, 2rem);
  }
  .btn {
    padding: 15px 26px;
    font-size: 0.95rem;
  }
  .service-card {
    padding: 28px 24px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Legal pages: plain-language summary box + inline code */
.legal-summary {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--radius-m);
  padding: 20px 24px;
  margin: 0 0 40px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

.legal-summary strong {
  color: var(--navy-900);
}

.legal-page code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.88em;
  color: var(--navy-800);
}

.legal-page h2 {
  margin-top: 44px;
}

.legal-page ul {
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page strong {
  color: var(--navy-900);
}

/* Form privacy notice (GDPR Art. 13 information at point of collection) */
.form-note {
  line-height: 1.6;
}

.form-note a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note a:hover {
  color: var(--navy-800);
}

/* ============================================================
   Service landing pages
   ============================================================ */

.svc-hero {
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.svc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(10, 42, 82, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 42, 82, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.svc-hero .container {
  position: relative;
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--blue-600);
}

.breadcrumb span {
  opacity: 0.5;
}

.svc-hero h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.1;
  color: var(--navy-900);
  max-width: 18ch;
}

.svc-lede {
  margin-top: 22px;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62ch;
}

.svc-hero .hero-ctas {
  margin-top: 32px;
}

/* Body sections */
.svc-body {
  padding: 76px 0;
}

.svc-body .container {
  max-width: 860px;
}

.svc-section + .svc-section {
  margin-top: 64px;
}

.svc-section h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 18px;
}

.svc-section h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.svc-section > p {
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Definition callout — the block AI assistants tend to quote */
.svc-definition {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--radius-m);
  padding: 24px 28px;
  margin-bottom: 28px;
}

.svc-definition p {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* Deliverables */
.svc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.svc-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px 22px;
  box-shadow: var(--shadow-s);
}

.svc-list-item svg {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--blue-600);
}

.svc-list-item p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0;
}

/* Numbered approach */
.svc-steps {
  counter-reset: svcstep;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 26px;
}

.svc-step {
  counter-increment: svcstep;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.svc-step::before {
  content: counter(svcstep, decimal-leading-zero);
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--blue-600);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-step p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
}

/* FAQ — native disclosure, no JS needed */
.faq {
  margin-top: 26px;
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-900);
  transition: color 0.2s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--blue-600);
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq .faq-answer {
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Related services */
.svc-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.svc-related a {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.svc-related a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 176, 240, 0.5);
  color: var(--blue-600);
}

/* Make homepage service cards clickable */
a.service-card {
  display: block;
  color: inherit;
}




@media (max-width: 760px) {
  .svc-hero {
    padding: 48px 0 44px;
  }
  .svc-hero h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 7vw, 2.3rem);
  }
  .svc-body {
    padding: 56px 0;
  }
  .svc-section + .svc-section {
    margin-top: 48px;
  }
  .svc-list {
    grid-template-columns: 1fr;
  }
  .svc-definition {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after,
  .svc-related a {
    transition: none;
  }
}

/* ============================================================
   Service pages — refined layout
   Replaces the earlier deliverables/steps styling: the tick icon
   sat inline with the heading, which pushed the body text to a
   different indent than the title it belonged to.
   ============================================================ */

.svc-body .container {
  max-width: 820px;
}

.svc-section + .svc-section {
  margin-top: 80px;
}

.svc-section h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.svc-section > p {
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 68ch;
  margin-bottom: 18px;
}

.svc-definition {
  padding: 26px 30px;
  margin-bottom: 26px;
  border-radius: 14px;
}

.svc-definition p {
  font-size: 1.04rem;
  line-height: 1.72;
}

/* --- What's included: clean typographic cards, no icons --- */
.svc-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.svc-list-item {
  display: block;
  padding: 26px 28px 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.svc-list-item:hover {
  border-color: rgba(0, 176, 240, 0.4);
  box-shadow: var(--shadow-s);
  transform: translateY(-2px);
}

.svc-list-item h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-900);
  margin: 0 0 9px;
  letter-spacing: -0.012em;
}

.svc-list-item p {
  font-size: 0.925rem;
  line-height: 1.68;
  color: var(--ink-soft);
  margin: 0;
}

/* --- How we run it: proper vertical timeline --- */
.svc-steps {
  counter-reset: svcstep;
  display: block;
  margin-top: 8px;
  position: relative;
}

.svc-step {
  counter-increment: svcstep;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 22px;
  align-items: start;
  padding-bottom: 30px;
  position: relative;
}

.svc-step:last-child {
  padding-bottom: 0;
}

/* Connector rail linking the numbers */
.svc-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--border), rgba(227, 233, 242, 0.25));
}

.svc-step::before {
  content: counter(svcstep, decimal-leading-zero);
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 6px 16px rgba(0, 112, 208, 0.22);
  border: none;
}

.svc-step-body {
  padding-top: 3px;
  min-width: 0;
}

.svc-step h3 {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 7px;
  letter-spacing: -0.012em;
}

.svc-step p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 62ch;
}

/* --- FAQ rhythm --- */
.faq {
  margin-top: 10px;
}

.faq summary {
  padding: 22px 46px 22px 0;
  font-size: 1rem;
  line-height: 1.5;
}

.faq .faq-answer {
  padding: 0 46px 24px 0;
  font-size: 0.955rem;
  line-height: 1.75;
  max-width: 68ch;
}

/* --- Related services --- */
.svc-related {
  margin-top: 6px;
  gap: 9px;
}

.svc-related a {
  padding: 9px 18px;
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .svc-section + .svc-section {
    margin-top: 54px;
  }
  .svc-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .svc-list-item {
    padding: 22px 22px 24px;
  }
  .svc-step {
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding-bottom: 26px;
  }
  .svc-step::before {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 0.85rem;
  }
  .svc-step:not(:last-child)::after {
    left: 20px;
    top: 44px;
  }
  .svc-definition {
    padding: 22px 20px;
  }
  .faq summary {
    padding-right: 38px;
    font-size: 0.97rem;
  }
  .faq .faq-answer {
    padding-right: 0;
  }
}

/* FAQ indicator: the rotated chevron read as a tick at small sizes.
   A plus that becomes a minus is unambiguous at any size. */
.faq summary::after {
  content: none;
}

.faq summary {
  position: relative;
}

.faq summary::before,
.faq summary .faq-bar {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
  transform: translateY(-50%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

/* vertical stroke of the plus, removed when open */
.faq summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.faq details[open] summary::before {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::before,
  .faq summary .faq-bar {
    transition: none;
  }
}
