/* ================================================
   KARUD FlexCo — Design System
   ================================================ */

@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* 1. Custom Properties */
:root {
  --bg: #ffffff;
  --bg-alt: #eef4fb;
  --bg-dark: #0d1f35;
  --bg-dark-2: #102844;
  --text: #0d1f35;
  --text-muted: #526a82;
  --text-light: #b6cadf;
  --border: #d1e0ef;
  --border-dark: #1a3a5c;
  --accent: #2f6db0;
  --accent-hover: #245c99;
  --accent-light: #5f8abe;
  --accent-bg: #eef4fb;
  --accent-border: #b8d4ef;
  --danger-bg: #fef2f2;
  --danger: #ef4444;
  --success-bg: #f0fdf4;
  --success: #16a34a;
  --white: #ffffff;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1200px;
  --section-py: clamp(0.5rem, 5vw, 6rem);
  --nav-h: 72px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ============================================
   Scroll offset for sticky header
   ============================================ */
:where(section, div)[id] {
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

/* 2. Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

main,
header,
footer,
section {
  width: 100%;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 2000;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  text-decoration: none;
}

.skip-to-content:focus {
  left: 0.5rem;
}

ul[role="list"] {
  list-style: none;
}

/* 3. Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

p {
  max-width: 65ch;
  overflow-wrap: break-word;
}

em {
  font-style: normal;
  color: var(--accent-light);
}

strong {
  font-weight: 600;
}

/* 4. Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: var(--section-py);
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-header {
  margin-bottom: clamp(1.9rem, 3.4vw, 3.1rem);
}

.section-header.centered,
.section-eyebrow.centered,
.section-title.centered {
  text-align: center;
}

.section-header.centered .section-title,
.section-header.centered p {
  margin-inline: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.section-title.light {
  color: var(--white);
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 55ch;
  margin-bottom: 0;
}

.section-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 58ch;
}

.section-intro.light {
  color: var(--text-light);
}

/* Split layout */
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.section-split.reverse {
  direction: rtl;
}

.section-split.reverse>* {
  direction: ltr;
}

.section-split-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.75em 1.5em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s, box-shadow 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 14px rgb(47 109 176 / 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-alt);
  border-color: #d4d4d8;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.875em 2em;
}

/* 6. Cookie Banner */
body.cookie-banner-active {
  padding-bottom: var(--cookie-banner-offset, clamp(18rem, 24vw, 22rem));
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 1rem;
  z-index: 1400;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-visible .cookie-banner__panel {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner__panel {
  width: min(1100px, 100%);
  margin-inline: auto;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius-lg) + 2px);
  background: rgba(13, 31, 53, 0.96);
  color: var(--white);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: auto;
}

.cookie-banner__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 1rem 1.5rem;
  align-items: start;
}

.cookie-banner__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8d4ef;
}

.cookie-banner__title {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cookie-banner__text {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner__options {
  display: grid;
  gap: 0.75rem;
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.875rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(184, 212, 239, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.cookie-option__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.cookie-option p {
  max-width: none;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.74);
}

.cookie-option__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding-inline: 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(95, 138, 190, 0.18);
  color: #dbeafe;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-option__toggle {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.cookie-banner__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.cookie-banner__link {
  color: #dbeafe;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cookie-banner__hint {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.64);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.cookie-banner .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.cookie-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.cookie-settings-trigger {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1350;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(47, 109, 176, 0.16);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.cookie-settings-trigger:hover {
  transform: translateY(-1px);
}

.cookie-settings-trigger[hidden],
body.cookie-banner-active .cookie-settings-trigger,
body.nav-open .cookie-banner,
body.nav-open .cookie-settings-trigger {
  display: none;
}

.btn-full {
  width: 100%;
}

/* Badge */
.badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-display);
  background: var(--accent-bg);
  color: var(--accent);
  padding: 0.35em 0.9em;
  border-radius: 0.75rem;
  border: 1px solid var(--accent-border);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

/* 6. Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1500;
  height: var(--nav-h);
  background: rgba(10 23 37 / 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255 255 255 / 0.14);
  box-shadow: 0 18px 40px rgba(7, 22, 38, 0.16);
  display: flex;
  align-items: center;
  transition: background-color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.site-header.is-scrolled {
  background: rgba(10 23 37 / 0.78);
  border-bottom-color: rgba(255 255 255 / 0.14);
  box-shadow: 0 18px 40px rgba(7, 22, 38, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline: auto;
}

.nav-links a {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.4em 0.8em;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 9px;
  margin-left: auto;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100dvh - var(--nav-h));
  background: rgba(9, 22, 37, 0.96);
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  z-index: 1490;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.nav-mobile a {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.88);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.nav-mobile a:not(.btn):hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-mobile .btn {
  width: 100%;
  justify-content: center;
}

/* 7. Hero */
.hero {
  position: relative;
  margin-top: calc(var(--nav-h) * -1);
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: calc(clamp(8rem, 14vw, 12rem) + var(--nav-h));
  padding-bottom: clamp(8rem, 14vw, 12rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video {
  width: calc(100% + 4px);
  height: 100%;
  object-fit: cover;
  max-width: unset;
  display: block;
  margin-left: -2px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(13, 31, 53, 0.9) 0%,
      rgba(13, 31, 53, 0.75) 50%,
      rgba(13, 31, 53, 0.45) 100%);
}

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

.hero-content {
  max-width: 680px;
}

.hero-title {
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero em {
  color: #93c5fd;
}

.hero-lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero .badge {
  background: rgba(47, 109, 176, 0.25);
  color: #93c5fd;
  border-color: rgba(95, 138, 190, 0.5);
  border-radius: 0.75rem;
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.65);
}

/* 8. Stats Bar */
.stats-bar {
  background: var(--bg-dark);
  color: var(--white);
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  margin-top: -1px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* 9. Problem section */
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.problem-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.problem-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(95, 138, 190, 0.14);
  color: var(--accent);
  border: 1px solid rgba(95, 138, 190, 0.22);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius);
  margin-top: 2px;
}

.problem-list li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.problem-list li p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: unset;
  margin: 0;
}

/* 10. Features (Solution dark section) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: unset;
  margin: 0;
}

.solution-visual {
  max-width: 760px;
  margin-inline: auto;
  opacity: 0.85;
}

.solution-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* 11. Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: clamp(4rem, 6vw, 6rem);
}

.pillar {
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pillar:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.pillar-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}

.pillar h3 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: unset;
  margin: 0;
}

/* 12. Extensions */
.extensions-block {
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 5vw, 4rem);
}

.extensions-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: unset;
}

.extensions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.extension-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  align-items: flex-start;
  transition: border-color 0.2s;
}

.extension-card:hover {
  border-color: var(--accent);
}

.ext-icon {
  font-size: 1.375rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.extension-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.extension-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: unset;
  margin: 0;
  line-height: 1.55;
}

/* 13. Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 2rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
}

.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

/* 14. Testimonials */
.testimonials-section {
  background: var(--bg);
}

/* Wave dividers */
.wave-divider {
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
  margin-bottom: -2px;
  --wave-scale-x: 1;
  --wave-scale-y: 1;
}

.wave-divider path {
  fill: var(--wave-fill, var(--bg));
}

.wave-from-dark-to-dark {
  background: transparent;
  --wave-fill: var(--bg-dark);
}

.wave-from-dark-to-bg {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
  --wave-fill: var(--bg);
}

.wave-team-to-process {
  background: var(--bg-dark);
}

.wave-from-bg-to-dark {
  background: var(--bg);
  --wave-fill: var(--bg-dark);
}

.wave-from-bg-to-alt {
  background: var(--bg);
  --wave-fill: var(--bg-alt);
}

.wave-from-alt-to-bg {
  background: linear-gradient(180deg, rgba(238, 244, 251, 0.96), rgba(248, 250, 252, 0.98));
  --wave-fill: var(--bg);
}

.wave-from-alt-to-dark {
  background: linear-gradient(180deg, rgba(238, 244, 251, 0.96), rgba(248, 250, 252, 0.98));
  --wave-fill: var(--bg-dark);
}

.wave-from-dark-to-alt {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
  --wave-fill: var(--bg-alt);
}

.wave-team-hero-to-story {
  background: var(--bg-dark);
}

.wave-divider svg {
  display: block;
  width: calc(100% + 4px);
  height: clamp(2.65rem, 6vw, 5.1rem);
  margin-left: -2px;
  margin-top: -2px;
  margin-bottom: -2px;
  transform: scaleX(var(--wave-scale-x)) scaleY(var(--wave-scale-y));
  transform-origin: center;
  transform-box: view-box;
}

.wave-compact svg {
  height: clamp(2rem, 4.4vw, 3.5rem);
}

.wave-tall svg {
  height: clamp(3.1rem, 7vw, 5.5rem);
}

.wave-mirror {
  --wave-scale-x: -1;
}

.wave-flip {
  --wave-scale-y: -1;
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  margin-top: 0;
  background: transparent;
  pointer-events: none;
}

.hero-wave svg {
  height: clamp(3.1rem, 7.4vw, 5.8rem);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-top: 3rem;
}

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.testimonial:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.testimonial p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  max-width: unset;
  margin-bottom: 1.5rem;
}

.testimonial p::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 0;
  vertical-align: -1.25rem;
  color: var(--accent);
  margin-right: 0.125rem;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial footer strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
}

.testimonial footer span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* 15. Team Teaser */
.team-teaser {
  padding-block: var(--section-py);
}

.team-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.team-teaser-text p {
  color: var(--text-light);
  max-width: 44ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.team-teaser-text .section-title {
  margin-bottom: 1rem;
}

.team-teaser-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* 16. Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 58rem;
  margin-inline: auto;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 2.35rem;
  top: 4.75rem;
  bottom: -1.25rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(47, 109, 176, 0.32), rgba(209, 224, 239, 0.1));
}

.process-marker {
  display: flex;
  justify-content: center;
}

.process-num {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 1rem;
  border: 1px solid var(--accent-border);
  background: linear-gradient(180deg, #f4f8fc, #e8f1fa);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.process-copy {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.process-step:hover .process-copy {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.process-step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: unset;
  margin: 0;
  line-height: 1.7;
}

/* 17. FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: border-color 0.2s;
}

.faq-item:hover,
.faq-item[open] {
  border-color: var(--accent);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s;
}

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

.faq-item[open] summary {
  background: transparent;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-body {
  padding: 0 1.5rem 1.5rem;
}

.faq-body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: unset;
  margin: 0;
  line-height: 1.65;
}

.faq-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 18. Contact section */
.contact-section {
  background: var(--bg-dark);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-text p {
  color: var(--text-light);
  max-width: 44ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact-text .section-title {
  margin-bottom: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: #d4d4d8;
}

.contact-info a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.contact-info a:hover {
  color: var(--accent);
}

.contact-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--border-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

/* Contact Form */
.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-dark-2);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
}

.contact-form-status {
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-form-status[hidden] {
  display: none;
}

.contact-form-status.is-success {
  background: rgba(22, 163, 74, 0.12);
  border-color: rgba(22, 163, 74, 0.28);
  color: #dcfce7;
}

.contact-form-status.is-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.28);
  color: #fee2e2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.required-mark {
  color: #93c5fd;
}

.form-group input,
.form-group textarea {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--white);
  transition: border-color 0.15s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #52525b;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form .btn[disabled] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

/* 19. Footer */
.site-footer {
  background: var(--white);
  margin-top: -1px;
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}

.footer-contact {
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-mail {
  color: var(--text);
  font-weight: 600;
}

.footer-mail:hover {
  color: var(--accent);
}

.footer-address {
  font-style: normal;
  line-height: 1.6;
}

.footer-brand {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.footer-brand-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 0 1rem 1rem;
}

.footer-brand-badge::after {
  content: '';
  width: clamp(13rem, 24vw, 18rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 109, 176, 0.68), transparent);
  display: block;
}

.footer-brand img {
  width: auto;
  height: 1.75rem;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: none;
  white-space: nowrap;
  margin: 0;
}

.footer-nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-copy {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: right;
  max-width: unset;
  margin: 0;
}

.footer-copy p {
  max-width: unset;
  margin: 0;
}

/* ============================================
   Legal pages
   ============================================ */
.legal-hero {
  padding-top: clamp(3rem, 5vw, 4.75rem);
  padding-bottom: clamp(0.35rem, 1.1vw, 0.85rem);
}

.page-legal .site-header,
.page-legal .site-header.is-scrolled {
  background: var(--bg-dark);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(7, 22, 38, 0.16);
}

.legal-hero .section-eyebrow {
  margin-bottom: 0.75rem;
}

.legal-content-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.page-legal .wave-from-bg-to-alt + .section-alt {
  margin-top: -1px;
  padding-top: clamp(1rem, 2.2vw, 1.75rem);
}

.page-legal .section-alt + .wave-from-alt-to-bg {
  margin-top: -1px;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding-block: 0 0.25rem;
}

.legal-body h2 {
  font-size: 1.375rem;
  margin-top: 1.5rem;
}

.legal-body h3 {
  font-size: 1.125rem;
  margin-top: 1rem;
}

.legal-body p,
.legal-body li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: unset;
  margin: 0;
  line-height: 1.7;
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-body strong {
  color: var(--text);
}

/* ============================================
   Team page
   ============================================ */
.page-hero {
  margin-top: calc(var(--nav-h) * -1);
  padding-top: calc(clamp(3rem, 6vw, 5rem) + var(--nav-h));
  padding-bottom: var(--section-py);
  background: var(--bg-dark);
  color: var(--white);
}

.page-hero .section-lead {
  color: var(--text-light);
}

.team-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}

.team-hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgb(13 31 53 / 0.6), 0 0 0 1px var(--border-dark);
  aspect-ratio: 3/2;
  object-fit: cover;
}

.story-timeline {
  position: relative;
  max-width: 700px;
  margin-inline: auto;
  padding-left: 2.5rem;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-light), var(--border));
  border-radius: 2px;
}

.story-milestone {
  position: relative;
  padding-bottom: 2.5rem;
}

.story-milestone:last-child {
  padding-bottom: 0;
}

.story-milestone::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg-alt);
  box-shadow: 0 0 0 2px var(--accent);
  z-index: 1;
}

.milestone-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.story-milestone p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: unset;
  margin: 0;
}

.team-members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.team-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.team-card-initials {
  width: 128px;
  height: 128px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.team-member-photo {
  width: 128px;
  height: 128px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin-bottom: 1.25rem;
  display: block;
}

.team-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.team-role {
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.875rem;
  display: block;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: unset;
  margin: 0;
  line-height: 1.6;
}

.team-cta-section {
  background: var(--bg-dark);
  color: var(--white);
  text-align: center;
}

.team-cta-inner {
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.team-cta-inner p {
  color: var(--text-light);
  max-width: 52ch;
  text-align: center;
  margin: 0;
  line-height: 1.7;
}

.team-cta-inner .section-title {
  margin-bottom: 0;
}

.team-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {

  .cookie-banner__top {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(clamp(6rem, 12vw, 8rem) + var(--nav-h));
    padding-bottom: clamp(5rem, 10vw, 7rem);
  }

  .hero-title {
    font-size: clamp(2.75rem, 7vw, 4rem);
  }

  .section-split,
  .team-teaser-inner,
  .contact-inner,
  .team-hero-grid {
    gap: clamp(2rem, 4vw, 3rem);
  }

  .pillars-grid,
  .extensions-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-members-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 864px) {

  :root {
    --nav-h: 68px;
  }

  .cookie-banner {
    bottom: 0.5rem;
    padding-inline: 0.5rem;
  }

  .cookie-banner__panel {
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 1rem;
    border-radius: 1rem;
  }

  .cookie-banner__top {
    gap: 0.75rem;
  }

  .cookie-banner__eyebrow {
    margin-bottom: 0.3rem;
  }

  .cookie-banner__title {
    font-size: 1.125rem;
    margin-bottom: 0.4rem;
  }

  .cookie-banner__text,
  .cookie-option p,
  .cookie-banner__link,
  .cookie-banner__hint {
    font-size: 0.875rem;
  }

  .cookie-banner__options {
    gap: 0.625rem;
  }

  .cookie-option {
    padding: 0.75rem 0.85rem;
    gap: 0.75rem;
  }

  .cookie-option__title {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }

  .cookie-option__status {
    min-height: 2rem;
    padding-inline: 0.65rem;
    font-size: 0.75rem;
  }

  .cookie-banner__footer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    gap: 0.75rem;
  }

  .cookie-banner__footer,
  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }

  .cookie-settings-trigger {
    left: 0.5rem;
    bottom: 0.5rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.8125rem;
    max-width: calc(100vw - 1rem);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .site-header {
    height: 68px;
  }

  .nav {
    gap: 0.875rem;
    min-height: 68px;
  }

  .nav-logo {
    min-width: 0;
    max-width: min(11rem, 58vw);
  }

  .nav-logo img {
    width: 100%;
    height: auto;
    max-height: 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile {
    top: var(--nav-h);
    height: calc(100dvh - var(--nav-h));
    padding: 0.85rem 0.875rem calc(1rem + env(safe-area-inset-bottom));
  }

  .nav-mobile ul {
    gap: 0.4rem;
    margin-bottom: 1rem;
  }

  .nav-mobile a {
    padding: 0.85rem 0.95rem;
    font-size: 1rem;
  }

  .hero-inner,
  .section-split,
  .team-teaser-inner,
  .contact-inner,
  .team-hero-grid {
    grid-template-columns: 1fr;
  }

  .section-split-visual img {
    max-width: 72%;
    margin-inline: auto;
  }

  .section {
    padding-block: clamp(2.75rem, 8vw, 4rem);
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .hero {
    padding-top: calc(68px + clamp(4rem, 18vw, 5.5rem));
    padding-bottom: clamp(4rem, 10vw, 5.5rem);
  }

  .page-hero {
    padding-top: calc(68px + clamp(2.75rem, 8vw, 4rem));
    padding-bottom: clamp(2.75rem, 8vw, 4rem);
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .hero-title {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
    line-height: 1.02;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .stats-bar {
    padding-block: 1.5rem;
  }

  .section-split.reverse {
    direction: ltr;
  }

  .hero-visual {
    order: -1;
    max-height: 300px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid,
  .extensions-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .team-members-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .pillar,
  .testimonial,
  .contact-form,
  .process-copy,
  .team-cta-inner {
    padding: 1.25rem;
  }

  .extension-card {
    padding: 1.125rem;
  }

  .faq-item summary {
    padding: 1rem 1.1rem;
  }

  .faq-body {
    padding: 0 1.1rem 1.1rem;
  }

  .story-timeline {
    padding-left: 2rem;
  }

  .story-milestone::before {
    left: -2rem;
  }

  .footer-inner {
    gap: 1.5rem;
  }

  .process-step {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 1rem;
  }

  .process-step:not(:last-child)::after {
    left: 1.95rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact,
  .footer-brand {
    align-items: center;
  }

  .footer-contact {
    justify-self: center;
  }

  .footer-copy {
    justify-self: center;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 540px) {

  body.cookie-banner-active {
    padding-bottom: var(--cookie-banner-offset, 18rem);
  }

  .cookie-banner__panel {
    max-height: none;
    padding: 0.85rem;
    border-radius: 1rem;
  }

  .cookie-banner__options {
    gap: 0.5rem;
  }

  .cookie-option {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
  }

  .cookie-option__status,
  .cookie-option__toggle {
    justify-self: start;
  }

  .cookie-banner__hint {
    display: none;
  }

  .cookie-banner__meta {
    align-items: flex-start;
    gap: 0.25rem 0.75rem;
  }

  .cookie-banner__title {
    font-size: 1.05rem;
  }

  .cookie-banner__text,
  .cookie-option p,
  .cookie-banner__link {
    font-size: 0.8125rem;
  }

  p {
    max-width: 100%;
  }

  .nav {
    gap: 0.75rem;
  }

  .nav-logo {
    max-width: min(10rem, 56vw);
  }

  .hero {
    padding-top: calc(68px + 3.5rem);
    padding-bottom: 3.75rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .hero .badge {
    margin-bottom: 1rem;
  }

  .section-title br,
  .hero-title br {
    display: none;
  }

  .wave-divider svg,
  .wave-compact svg,
  .wave-tall svg {
    height: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }

  .stat-number {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-marker {
    justify-content: flex-start;
  }

  .process-num {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.1rem;
  }

  .process-copy {
    padding: 1.25rem;
  }

  .contact-info li {
    align-items: flex-start;
  }

  .footer-nav ul {
    gap: 0.4rem 0.75rem;
  }

  .team-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .team-cta-actions .btn {
    width: 100%;
  }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
