﻿/* ==========================================================================
   Dysart NexGen - Unified Premium Financial Stylesheet
   Replaces: dysart-style, dysart-premium-v2, geneva-content, trust-premium, premium-modern
   Palette: Deep Navy | Soft Gray | Blue Accent | Inter
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* ---- DESIGN TOKENS ------------------------------------------------------- */
:root {
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: var(--body);
  --highlight: var(--body);

  /* Navy scale */
  --navy-950: #0f2a24;
  --navy-900: #0f2a24;
  --navy-800: #1d3028;
  --navy-700: #2c5141;
  --navy-600: #3a6352;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f3f6f3;
  --gray-100: #f3f7f5;
  --gray-200: #e5ede8;
  --gray-300: #d0dcd5;
  --gray-400: #9cb0a4;
  --gray-500: #6c8379;
  --gray-600: #4e625a;
  --gray-700: #3a4e46;
  --gray-800: #24352e;
  --gray-900: #15241e;

  /* Blue accent */
  --blue-500: #1f6b57;
  --blue-600: #195645;
  --blue-soft: #f3fbf6;
  --blue-muted: #e3f6eb;

  /* Semantic aliases (inline style compatibility) */
  --ink: var(--navy-900);
  --ink-soft: var(--navy-800);
  --bg: var(--gray-50);
  --background: var(--gray-50);
  --surface: var(--white);
  --border: #e5ede8;
  --border-light: #f3f7f5;
  --text: var(--navy-900);
  --text-soft: var(--gray-500);
  --text-mute: var(--gray-400);
  --muted: var(--gray-500);
  --muted-foreground: var(--gray-500);

  /* Legacy token remapping â€” navy/blue, NOT green/yellow fintech */
  --green: var(--navy-700);
  --green-deep: var(--navy-950);
  --green-soft: #f0f6f2;
  --yellow: var(--blue-500);
  --yellow-deep: var(--blue-600);
  --gold: var(--blue-500);
  --gold-light: #81d9a4;
  --gold-deep: var(--blue-600);
  --primary: var(--navy-700);
  --navy: var(--navy-950);

  /* Layout */
  --max: 1200px;
  --gut: clamp(20px, 4vw, 48px);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 42, 36, 0.04);
  --shadow-sm: 0 4px 12px rgba(15, 42, 36, 0.06);
  --shadow: 0 12px 32px rgba(15, 42, 36, 0.08);
  --shadow-lg: 0 24px 56px rgba(15, 42, 36, 0.12);
  --shadow-blue: 0 12px 32px rgba(31, 107, 87, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.28s;
  --duration-slow: 0.55s;

  /* Header */
  --header-height: 80px;
  --topbar-height: 36px;
}

/* ---- RESET & BASE -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

body,
button,
input,
textarea,
select {
  font-family: var(--body);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--navy-700);
  color: var(--white);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

/* ---- TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--body);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1, h2 { font-weight: 700; }

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; }
h4 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.2; }
h5 { font-size: 1.1rem; line-height: 1.25; }
h6 { font-size: 0.95rem; line-height: 1.3; }

p { line-height: 1.7; }

.lead,
.lede {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-500);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gray-500);
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--blue-500);
  flex-shrink: 0;
}

.eyebrow .dot { display: none; }

.word-highlight {
  color: var(--blue-500);
  font-style: normal;
  font-weight: 700;
  font-family: inherit;
  position: relative;
  display: inline;
  white-space: normal;
}

.word-highlight::after { display: none !important; }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(24px, 3.5vw, 40px);
  text-align: center;
}

.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { color: var(--gray-500); }

.section-head h2 .word-highlight::after { display: none; }

/* ---- LAYOUT -------------------------------------------------------------- */
.wrap {
  width: min(100% - (2 * var(--gut)), var(--max));
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 0;
}

section { position: relative; }

.section {
  padding: clamp(36px, 5vw, 68px) 0;
  position: relative;
}

.section-tight {
  padding: clamp(28px, 4vw, 48px) 0;
}

.site-main {
  background:
    linear-gradient(180deg, var(--white) 0%, var(--gray-50) 38%, var(--gray-100) 100%);
  overflow: visible;
  min-height: 50vh;
  /* space for top half of footer CTA card */
  padding-bottom: clamp(64px, 9vw, 88px);
}

.site-main > .section:nth-of-type(even),
.site-main > .about-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(243,246,243,0.5));
}

.text-center { text-align: center; }

.hidden { display: none !important; }

/* ---- BUTTONS ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px 13px 24px;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-arr {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
}

.btn-arr svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration) var(--ease);
}

.btn:hover .btn-arr svg {
  transform: translate(2px, -2px);
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
  box-shadow: var(--shadow-xs);
}

.btn-primary .btn-arr {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.btn-yellow {
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
  box-shadow: var(--shadow-xs);
}

.btn-yellow .btn-arr {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.btn-yellow:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

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

.btn-outline .btn-arr {
  background: var(--gray-100);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  transform: translateY(-1px);
}

.btn-outline:hover .btn-arr {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-white .btn-arr {
  background: var(--navy-900);
  color: var(--white);
}

.btn-white:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost-light .btn-arr {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-ghost-light:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn-ghost-light:hover .btn-arr {
  background: var(--navy-900);
  color: var(--white);
}

.btn-sm {
  padding: 10px 16px 10px 18px;
  font-size: 0.8125rem;
  gap: 10px;
}

.btn-sm .btn-arr {
  width: 26px;
  height: 26px;
}

.btn-sm .btn-arr svg {
  width: 12px;
  height: 12px;
}

/* ---- SITE HEADER --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 220;
  overflow: visible;
}

.topbar {
  display: none;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}

.topbar::after { display: none; }

.topbar .row {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar .left,
.topbar .right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}

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

.topbar a svg {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
}

.topbar .badges { display: flex; gap: 8px; }

.topbar .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.topbar .badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(31, 107, 87, 0.25);
}

@media (min-width: 768px) {
  .topbar { display: block; }
}

/* ---- MAIN NAV ------------------------------------------------------------ */
nav.main {
  position: relative;
  top: auto;
  z-index: 210;
  overflow: visible;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition:
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

nav.main::after { display: none; }

nav.main.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

nav.main .row,
nav.main .nav-bar-top {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
  grid-template-areas: "logo nav cta";
  align-items: center;
  gap: 12px clamp(12px, 1.5vw, 24px);
  width: 100%;
  max-width: min(1380px, calc(100vw - 2 * var(--gut)));
  margin-inline: auto;
  padding: 10px var(--gut);
  min-height: var(--header-height);
  box-sizing: border-box;
}

nav.main .nav-side {
  display: flex;
  align-items: center;
}

nav.main .nav-side--left {
  grid-area: logo;
  justify-content: flex-start;
  min-width: 0;
  max-width: 220px;
  position: relative;
  z-index: 2;
}

nav.main .nav-side--right {
  grid-area: cta;
  justify-content: flex-end;
  justify-self: end;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  max-width: 100%;
}

.brand::after { display: none; }

.brand-text {
  line-height: 1.1;
  max-width: 100%;
}

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity var(--duration) var(--ease);
}

.brand:hover .brand-logo { opacity: 0.88; }

.nav-list {
  grid-area: nav;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  list-style: none;
  min-width: 0;
  width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

.nav-list > li { position: relative; flex-shrink: 0; }

.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 9px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-pill);
  transition:
    color var(--duration) var(--ease),
    background var(--duration) var(--ease);
  white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li > a.is-active {
  color: var(--navy-900);
  background: var(--gray-100);
}

.nav-list > li > a.is-active {
  font-weight: 600;
}

/* Mega menu */
.has-mega {
  position: relative;
}

.has-mega:hover {
  z-index: 60;
}

/* Invisible bridge so the panel stays open while moving the cursor down */
.has-mega::before {
  content: "";
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 92vw);
  height: 20px;
  z-index: 49;
}

.mega {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 20px 20px;
  width: min(540px, calc(100vw - 40px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    visibility 0s linear 0.2s;
  z-index: 50;
}

.has-mega:hover .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    visibility 0s linear 0s;
}

.mega::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.mega-head {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: background var(--duration) var(--ease);
}

.mega-item:hover { background: var(--gray-50); }

.mega-item .ic {
  width: 38px;
  height: 38px;
  background: var(--green-soft);
  color: var(--navy-700);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.mega-item:hover .ic {
  background: var(--navy-900);
  color: var(--white);
}

.mega-item .ic svg { width: 18px; height: 18px; }

.mega-item .info b {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink);
  line-height: 1.25;
}

.mega-item .info span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Nav actions & contact pills */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: 0;
  width: auto;
  flex-shrink: 0;
}

.contact-pill {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border);
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.contact-pill:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-xs);
}

.contact-pill .info { line-height: 1.2; }

.contact-pill .info small {
  font-size: 0.625rem;
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}

.contact-pill .info b {
  font-size: 0.8125rem;
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

.contact-pill .ic {
  width: 38px;
  height: 38px;
  background: var(--navy-900);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-pill .ic svg { width: 16px; height: 16px; }

.contact-pill--portal {
  padding: 8px 16px;
  background: var(--gray-50);
  border-color: var(--border);
}

.contact-pill--portal .info b {
  font-size: 0.8125rem;
  margin-top: 0;
}

.contact-pill--portal:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.contact-pill--portal:hover .info b { color: var(--white); }

.contact-pill--phone { background: var(--white); }

@media (min-width: 980px) {
  .contact-pill--portal { display: inline-flex; }
}

@media (min-width: 1100px) {
  .nav-list {
    display: flex !important;
  }

  .nav-list > li > a {
    padding: 8px 9px;
    font-size: 0.8125rem;
  }
}

@media (min-width: 1200px) {
  .nav-list > li > a {
    padding: 8px 10px;
    font-size: 0.84375rem;
  }
}

@media (min-width: 1320px) {
  .contact-pill--phone { display: inline-flex; }

  .nav-list > li > a {
    padding: 9px 12px;
    font-size: 0.875rem;
  }
}

@media (min-width: 1280px) {
  nav.main .nav-bar-top {
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 12px 24px;
  }

  .brand-logo {
    height: 44px;
  }
}

@media (min-width: 1400px) {
  nav.main .nav-bar-top {
    max-width: min(1440px, calc(100vw - 2 * var(--gut)));
    gap: 12px 32px;
  }

  .nav-list > li > a {
    padding: 9px 13px;
  }

  .contact-pill--phone .info small {
    display: block;
  }
}

@media (min-width: 1100px) and (max-width: 1319px) {
  nav.main .nav-bar-top {
    grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) auto;
    gap: 8px 10px;
  }

  nav.main .nav-side--left {
    max-width: 200px;
  }

  .nav-list > li > a {
    padding: 7px 8px;
    font-size: 0.78125rem;
  }

  .contact-pill--phone {
    display: none !important;
  }

  .contact-pill--portal {
    padding: 8px 12px;
  }

  .contact-pill--portal .info b {
    font-size: 0.75rem;
  }
}

/* Menu toggle */
.menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--gray-100);
  color: var(--ink);
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--border);
  transition: background var(--duration) var(--ease);
}

.menu-toggle:hover { background: var(--gray-200); }

.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 14px; }

.menu-toggle.open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) { opacity: 0; }

.menu-toggle.open span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

@media (min-width: 1100px) {
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  padding: calc(var(--header-height) + 24px) var(--gut) 32px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition:
    transform 0.28s var(--ease),
    visibility 0.28s;
  visibility: hidden;
}

.mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--gray-50);
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.mobile-menu li a:hover {
  background: var(--green-soft);
  color: var(--navy-900);
  border-color: var(--border);
}

.mobile-menu li a svg {
  width: 18px;
  height: 18px;
  color: var(--gray-400);
  flex-shrink: 0;
}

.mobile-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

/* ---- HERO ---------------------------------------------------------------- */
.hero {
  background:
    linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 42%, var(--navy-800) 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(31, 107, 87, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255, 255, 255, 0.04), transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
}

.hero .wrap { position: relative; z-index: 2; }

.hero-decor {
  position: absolute;
  top: 48px;
  left: -24px;
  width: 240px;
  height: 240px;
  pointer-events: none;
  opacity: 0.08;
}

.hero-decor svg {
  animation: float-slow 8s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .hero-grid {
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }

  .page-home .hero-grid {
    grid-template-columns: 1.05fr 1fr !important;
    align-items: center;
    gap: 56px !important;
  }
}

.hero-left {
  position: relative;
  z-index: 3;
  color: var(--white);
}

.hero-left h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-left h1 .word-highlight {
  color: #c9dccf;
  font-style: normal;
}

.hero-left p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
  max-width: 520px;
}

.reveal-line {
  display: block;
}

.reveal-line > span {
  display: inline;
  transform: none;
  animation: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 18px 5px 5px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-tag-img {
  width: 44px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  flex-shrink: 0;
  overflow: hidden;
}

.hero-tag span {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  text-transform: uppercase;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats .item b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
  white-space: nowrap;
}

.hero-stats .item span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 6px;
  display: block;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.hero-right {
  position: relative;
  min-height: 360px;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1.05 / 1;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Float cards */
.float-card {
  position: absolute;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  border: 1px solid var(--border-light);
  animation: floaty 5s ease-in-out infinite;
}

.float-card .ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.float-card .ic svg { width: 18px; height: 18px; }

.float-card .label {
  font-size: 0.6875rem;
  color: var(--gray-500);
  font-weight: 500;
}

.float-card .value {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.float-card .value em {
  font-style: normal;
  display: inline-block;
  background: var(--green-soft);
  color: var(--navy-700);
  font-family: var(--body);
  font-size: 0.625rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  font-weight: 600;
  vertical-align: middle;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card.f1 { top: 8%; left: -4%; animation-delay: 0s; }
.float-card.f2 { bottom: 16%; right: -4%; animation-delay: 1.2s; }
.float-card.f3 { top: 48%; right: 4%; animation-delay: 2.4s; }

/* ---- PAGE HEADER (inner pages) ------------------------------------------- */
.page-header {
  background:
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  padding: clamp(40px, 5vw, 64px) 0 clamp(44px, 6vw, 68px);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.page-header::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(31, 107, 87, 0.14) 0%, transparent 62%);
  pointer-events: none;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: var(--navy-700);
  border-radius: 50%;
  opacity: 0.25;
  pointer-events: none;
}

.page-header .wrap { position: relative; z-index: 2; }

.page-header h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.06;
  margin-bottom: 16px;
}

.page-header h1 .word-highlight {
  color: #c9dccf;
  font-style: normal;
}

.page-header .lede,
.page-header .lead {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  line-height: 1.7;
}

.page-header .eyebrow {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.page-header .eyebrow::before {
  background: rgba(255, 255, 255, 0.35);
}

/* ---- ABOUT SECTION ------------------------------------------------------- */
.about-section {
  padding: clamp(36px, 5vw, 68px) 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 72px;
  }
}

.about-visual {
  position: relative;
  aspect-ratio: 1.05 / 1;
}

.about-visual .main-shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-visual .main-shape.about-photo {
  background: none;
  border-radius: var(--radius-lg);
}

.about-visual .main-shape.about-photo img,
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: var(--radius-lg);
}

.about-content h2 { margin-bottom: 18px; }

.about-content h2 .word-highlight {
  color: var(--blue-500);
  font-style: normal;
}

.about-content .lead { margin-bottom: 24px; }

.about-content > p {
  margin-bottom: 14px;
  color: var(--gray-500);
}

.about-content .feature-list + .btn { margin-top: 32px; }

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition:
    transform var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.feature-list li:hover {
  transform: translateX(4px);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.feature-list li .check,
.check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feature-list li .check svg,
.check svg { width: 13px; height: 13px; }

.feature-list li b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.feature-list li span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ---- AWARDS SECTION ------------------------------------------------------ */
.awards-section {
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.awards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .awards-grid {
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    text-align: left;
  }
}

.awards-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

@media (min-width: 768px) {
  .awards-badges { justify-content: flex-start; }
}

.awards-badges img {
  width: 120px;
  height: auto;
}

@media (min-width: 768px) {
  .awards-badges img { width: 148px; }
}

.awards-copy h3 {
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 400;
  color: var(--ink);
  margin: 10px 0;
  line-height: 1.25;
}

.awards-copy p {
  color: var(--gray-500);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .awards-copy p { margin: 0; }
}

.awards-badge-right {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .awards-badge-right { justify-content: flex-end; }
}

.awards-badge-right img {
  width: 88px;
  height: auto;
}

@media (min-width: 768px) {
  .awards-badge-right img { width: 116px; }
}

/* ---- SERVICE CARDS ------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.services-grid--products {
  grid-template-columns: 1fr;
}

@media (min-width: 680px) {
  .services-grid--products { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .services-grid--products { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.services-grid--products .service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.service-card-media {
  position: relative;
  overflow: hidden;
}

.services-grid--products .service-card-media img,
.service-card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .service-card-media img {
  transform: scale(1.03);
}

.service-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.75rem;
  color: var(--gray-200);
  letter-spacing: -0.04em;
  line-height: 1;
  z-index: 1;
  transition: color var(--duration) var(--ease);
}

.services-grid--products .service-num {
  top: 14px;
  right: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-size: 2rem;
}

.service-card-body {
  position: relative;
  z-index: 2;
}

.services-grid--products .service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 20px 24px;
}

.service-card h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
}

.services-grid--products .service-card-body p { flex: 1; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--duration) var(--ease);
}

.service-link svg {
  width: 14px;
  height: 14px;
  color: var(--blue-500);
  transition: transform var(--duration) var(--ease);
}

.service-card:hover .service-link svg {
  transform: translate(3px, -2px);
}

.services-grid--products .service-link { margin-top: auto; }

/* ---- TEAM ---------------------------------------------------------------- */
.team-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.team-section .article-body {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

.team-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: 168px;
}

.team-photo .gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 42, 36, 0.78));
  z-index: 2;
}

.team-photo .initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.25rem;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: -0.03em;
  z-index: 1;
  transition: transform 0.5s var(--ease);
}

.team-card:hover .team-photo .initials {
  transform: scale(1.04);
}

.team-photo .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--white);
  color: var(--navy-900);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  z-index: 3;
  text-transform: uppercase;
}

.team-photo .yrs-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.625rem;
  color: var(--white);
  font-weight: 600;
  z-index: 3;
  background: rgba(15, 42, 36, 0.42);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.team-photo .social {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  z-index: 3;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.team-card:hover .team-photo .social {
  opacity: 1;
}

.team-photo .social a {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-900);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.team-photo .social a:hover {
  background: var(--blue-500);
  color: var(--white);
}

.team-photo .social svg {
  width: 12px;
  height: 12px;
}

.team-info {
  padding: 16px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-info h5 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.team-info .pos {
  display: block;
  font-size: 0.6875rem;
  color: var(--blue-500);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.team-info .creds {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 10px;
  margin-top: auto;
  border-top: 1px dashed var(--border-light);
}

.team-info .creds span {
  font-size: 0.5625rem;
  color: var(--gray-600);
  font-weight: 600;
  padding: 3px 7px;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.team-cta {
  margin-top: clamp(32px, 4vw, 48px);
  text-align: center;
}

.team-section .section-head + .team-grid {
  margin-top: clamp(8px, 2vw, 16px);
}

.team-cta .btn-outline {
  border-color: var(--border);
  color: var(--navy-900);
}

.team-cta .btn-outline:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}

.team-cta p {
  max-width: 520px;
  margin: 0 auto 20px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---- PROCESS / METHOD CARDS ---------------------------------------------- */
.process-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.process-grid,
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .process-grid,
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-card,
.method-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  border: 1px solid var(--border-light);
  text-align: center;
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.process-card:hover,
.method-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

.about-grid .reveal-stagger .process-card { text-align: left; }

.about-grid .reveal-stagger .process-card h5 { margin-top: 0; }

.method-grid .process-card {
  text-align: left;
}

.method-grid .process-card h5 {
  margin-top: 0;
  margin-bottom: 12px;
}

.method-grid .process-card p:last-child {
  margin-bottom: 0;
}

.step-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.125rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.02em;
}

.process-card .step-num { /* alias */ }

.process-card:hover .step-num {
  background: var(--blue-500);
  color: var(--white);
}

.process-card h5,
.method-card h3,
.method-card h5 {
  font-size: 1.125rem;
  margin: 20px 0 8px;
  letter-spacing: -0.01em;
}

.process-card p,
.method-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 12px;
}

.method-card ul,
.product-detail-content ul:not(.feature-list) {
  text-align: left;
  margin-top: 12px;
}

.method-card li,
.product-detail-content li:not(.feature-list li) {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  line-height: 1.6;
}

.method-card li::before,
.product-detail-content li:not(.feature-list li)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}

.reveal-stagger:not(.process-grid):not(.services-grid):not(.blog-grid):not(.method-grid):not(.team-grid) {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---- PRODUCT DETAIL ------------------------------------------------------ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 980px) {
  .product-detail-grid {
    grid-template-columns: 1.45fr 1fr;
    gap: 56px;
  }
}

.product-detail-content h2 { margin-bottom: 14px; }

.product-detail-content .method-grid {
  margin-top: clamp(28px, 4vw, 40px);
  margin-bottom: clamp(28px, 4vw, 40px);
}

.product-detail-content .method-card {
  text-align: left;
}

.product-detail-content .method-card h3 {
  margin-top: 0;
}

.product-detail-content p {
  margin-bottom: 16px;
  color: var(--gray-700);
  line-height: 1.75;
}

.product-detail-content > img:first-of-type {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  border: 1px solid var(--border-light);
}

.product-detail-grid aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-side-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  box-shadow: var(--shadow-xs);
  transition:
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.product-detail-grid aside .product-side-card {
  position: static;
  top: auto;
}

@media (min-width: 980px) {
  .product-detail-grid aside .product-side-card {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}

.product-side-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

.product-side-card h4 {
  margin-bottom: 12px;
  font-size: 1.125rem;
}

.product-detail-grid aside .product-side-card h4 { margin-bottom: 10px; }

.product-side-card p,
.product-detail-grid aside .product-side-card p {
  margin-bottom: 8px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray-500);
}

.product-side-card p:last-child,
.product-detail-grid aside .product-side-card p:last-child {
  margin-bottom: 0;
}

.product-side-card a {
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- BLOG ---------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-content p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-500);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration) var(--ease);
}

.blog-card:hover .blog-link svg { transform: translateX(3px); }

/* ---- ARTICLE BODY -------------------------------------------------------- */
.article-body {
  max-width: 760px;
  margin: 56px auto;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.article-body p { margin-bottom: 20px; }

.article-body p:first-of-type {
  font-size: 1.125rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.65;
}

.article-body h2,
.article-body h3 {
  margin: 40px 0 14px;
  color: var(--ink);
}

.article-body strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body > img:first-of-type {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}

/* ---- TESTIMONIALS -------------------------------------------------------- */
.testi-section {
  background:
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.testi-section .section-head h2 {
  color: var(--white);
}

.testi-section .section-head .lead {
  color: rgba(255, 255, 255, 0.72);
}

.testi-section .section-head .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.testi-section .section-head h2 .word-highlight {
  color: #c9dccf;
}

.testi-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 100% 0%, rgba(31, 107, 87, 0.1), transparent 55%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.testi-card-side {
  background: var(--white);
  padding: 26px 22px 22px;
  border-radius: var(--radius-lg);
  color: var(--ink);
  position: relative;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.testi-card-side:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.testi-section .testi-card-side {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testi-quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.testi-section .testi-card-side .testi-quote {
  flex: 1;
  margin: 0 0 20px;
  font-size: 1.05rem;
  letter-spacing: normal;
}

.testi-quote em {
  color: var(--blue-500);
  font-style: normal;
  font-weight: 600;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.testi-section .testi-card-side .testi-author {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.testi-author b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.testi-section .testi-card-side .testi-author b {
  font-size: 0.9375rem;
  font-weight: 400;
}

.testi-author span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ---- FAQ ----------------------------------------------------------------- */
.faq-section { background: var(--bg); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 980px) {
  .faq-grid {
    grid-template-columns: 340px 1fr;
    gap: 64px;
  }
}

.faq-sticky-col,
.faq-intro {
  position: relative;
}

@media (min-width: 980px) {
  .faq-sticky-col {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    align-self: start;
  }
}

.faq-intro h2 { margin-bottom: 14px; }

.faq-intro .lead {
  margin-bottom: 24px;
  color: var(--gray-500);
}

.faq-help { margin-top: 8px; }

.help-card {
  background: linear-gradient(145deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.help-card::before {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  width: 120px;
  height: 120px;
  background: var(--blue-500);
  border-radius: 50%;
  opacity: 0.12;
}

.help-card h6 {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--body);
  font-weight: 600;
}

.help-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}

.help-card .btn-yellow,
.faq-help .help-card .btn-yellow {
  width: 100%;
  justify-content: space-between;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.faq-item:hover { border-color: var(--border); }

.faq-item.open {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-xs);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 52px 18px 20px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: color var(--duration) var(--ease);
  background: none;
  border: none;
}

.faq-q .num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--green-soft);
  color: var(--navy-700);
  border-radius: 50%;
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.faq-item.open .faq-q .num {
  background: var(--navy-900);
  color: var(--white);
}

.faq-q::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'><path d='M12 5v14M5 12h14'/></svg>") no-repeat center / 12px;
  transition: all var(--duration) var(--ease);
}

.faq-item.open .faq-q::after {
  background: var(--navy-900) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'><path d='M5 12h14'/></svg>") no-repeat center / 12px;
  border-color: var(--navy-900);
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-a-inner {
  padding: 0 20px 18px 62px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.faq-item.open .faq-a { max-height: 480px; }

/* ---- FORMS --------------------------------------------------------------- */
.contact-form {
  background: var(--white);
  padding: clamp(28px, 4vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.contact-form h3 {
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.contact-form > p {
  color: var(--gray-500);
  margin-bottom: 24px;
  font-size: 0.875rem;
}

.contact-form form { width: 100%; }

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

@media (min-width: 520px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.contact-form .form-row {
  margin-bottom: 16px;
  gap: 16px;
}

.contact-form .form-row .form-field { margin-bottom: 0; }

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.contact-form .form-field { margin-bottom: 16px; }

.form-field label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-700);
  margin-bottom: 7px;
  text-transform: uppercase;
}

.form-field label em {
  color: var(--blue-500);
  font-style: normal;
}

.contact-form label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-700);
  margin-bottom: 7px;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="password"],
.contact-form input[type="number"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 0.9375rem;
  color: var(--ink);
  border-radius: var(--radius);
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  background: var(--white);
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(31, 107, 87, 0.12);
  outline: none;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  cursor: pointer;
}

.contact-form .form-consent { margin-bottom: 24px; }

.form-consent input[type="checkbox"],
.contact-form .form-consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 3px;
  accent-color: var(--navy-700);
  cursor: pointer;
}

.form-consent span,
.contact-form .form-consent span {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-500);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.form-consent a,
.contact-form .form-consent a {
  color: var(--blue-500);
  text-decoration: underline;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.contact-form .form-submit-row { margin-bottom: 14px; }

.form-submit-row .btn,
.contact-form .form-submit-row .btn {
  flex: 1;
  justify-content: space-between;
  min-width: 180px;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

.form-success,
.form-error {
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-success {
  background: var(--green-soft);
  color: var(--navy-800);
  border: 1px solid rgba(44, 81, 65, 0.12);
}

.form-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ---- CTA BANNER ---------------------------------------------------------- */
.page-home .cta-banner { display: none; }

.cta-banner {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 80px) 0;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(31, 107, 87, 0.18), transparent 65%);
  pointer-events: none;
}

.cta-banner .wrap {
  position: relative;
  z-index: 2;
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 768px) {
  .cta-banner-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
  }
}

.cta-banner h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.cta-banner h2 em {
  color: #c9dccf;
  font-style: normal;
  font-weight: 700;
  font-family: inherit;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.cta-banner-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-banner-side p { color: rgba(255, 255, 255, 0.72); }

.cta-banner-side .btn { justify-content: space-between; }

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

.cta-banner .btn-outline:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

/* ---- FOOTER -------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.68);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 100% 0%, rgba(31, 107, 87, 0.08), transparent 55%);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

/* CTA card — vertically centered on light/dark boundary */
.footer-cta {
  position: relative;
  z-index: 10;
  height: 0;
  overflow: visible;
  padding: 0 var(--gut);
  margin: 0;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%);
}

.footer-cta.reveal {
  transform: none;
  opacity: 1;
}

.footer-cta.reveal.motion-pending.in {
  transform: none;
  opacity: 1;
}

.footer-cta::before { display: none; }

.footer-cta-copy h3,
.footer-cta h3 {
  color: var(--ink);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  margin-bottom: 6px;
  line-height: 1.2;
}

.footer-cta-copy h3 em,
.footer-cta h3 em {
  color: var(--blue-500);
  font-style: normal;
  font-weight: 700;
  font-family: inherit;
}

.footer-cta-copy p,
.footer-cta p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 520px;
}

.footer-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

.footer-cta .btn-ghost-light {
  color: var(--navy-900);
  border-color: var(--border);
  background: var(--gray-50);
}

.footer-cta .btn-ghost-light:hover {
  background: var(--gray-100);
  color: var(--navy-900);
  border-color: var(--gray-300);
}

.footer-cta .btn-ghost-light svg {
  color: var(--blue-500);
}

/* Tablet/mobile: stack CTA in normal flow — overlap trick hides footer content */
@media (max-width: 900px) {
  .site-main {
    padding-bottom: 32px;
  }

  .footer-cta {
    height: auto;
    margin-top: -36px;
    padding-bottom: 28px;
  }

  .footer-cta-inner {
    transform: none;
  }

  .footer-main {
    padding-top: 0;
  }
}

.footer-main {
  /* bottom half of CTA card + gap before footer headings */
  padding: clamp(96px, 12vw, 132px) 0 40px;
  position: relative;
}

.footer-main::before { display: none; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.footer-brand-col .brand {
  display: block;
}

.footer-brand-col p {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
  max-width: 360px;
}

.mobile-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
}

.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.certs .c {
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.certs .c:hover {
  background: rgba(31, 107, 87, 0.1);
  border-color: rgba(31, 107, 87, 0.3);
}

.certs b {
  font-family: var(--body);
  font-size: 0.6875rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.certs span {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 2px;
}

.footer-col h6,
.footer-contact-title {
  font-family: var(--body);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-col li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color var(--duration) var(--ease);
}

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

.footer-contact-col p {
  font-size: 0.84375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 14px;
}

.footer-contact-col p b,
.footer-address p b {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 6px;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-tel,
.footer-mail {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--duration) var(--ease);
}

.footer-tel:hover,
.footer-mail:hover { color: var(--white); }

.footer-base {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
}

.footer-base small {
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal a,
.footer-legal .cookie-settings-link {
  color: rgba(255, 255, 255, 0.55);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color var(--duration) var(--ease);
}

.footer-legal a:hover,
.footer-legal .cookie-settings-link:hover { color: var(--white); }

.disclaimer {
  background: #0a1410;
  padding: 24px 0 28px;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.disclaimer b { color: rgba(255, 255, 255, 0.58); }

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
    gap: 40px 48px;
    align-items: start;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: minmax(240px, 1fr) minmax(0, 2.2fr);
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: 0.85fr 0.85fr 1.3fr;
    gap: 40px;
  }

  .footer-brand-col {
    padding-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* ---- PRIVACY / LEGAL PAGES ----------------------------------------------- */
.privacy-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.privacy-block {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.privacy-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.privacy-block--full { grid-column: 1 / -1; }

.privacy-block h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0 0 12px;
}

.privacy-block p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--gray-500);
}

.privacy-block a {
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.page-impressum .section .wrap,
.page-datenschutz .section .wrap,
.page-agb .section .wrap {
  max-width: min(1200px, calc(100vw - 48px));
}

.page-impressum .privacy-shell,
.page-datenschutz .privacy-shell,
.page-agb .privacy-shell {
  max-width: 100% !important;
  width: 100%;
  margin: 0;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 56px);
}

@media (min-width: 980px) {
  .page-impressum .privacy-shell,
  .page-datenschutz .privacy-shell,
  .page-agb .privacy-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(32px, 5vw, 56px);
    row-gap: 0;
  }
}

.page-impressum .privacy-block,
.page-datenschutz .privacy-block,
.page-agb .privacy-block {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.page-impressum .privacy-block + .privacy-block,
.page-datenschutz .privacy-block + .privacy-block,
.page-agb .privacy-block + .privacy-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.page-impressum .privacy-block:last-child,
.page-datenschutz .privacy-block:last-child,
.page-agb .privacy-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.page-impressum .privacy-block h2,
.page-datenschutz .privacy-block h2,
.page-agb .privacy-block h2 {
  color: var(--navy-900);
}

.page-impressum .privacy-block p,
.page-datenschutz .privacy-block p,
.page-agb .privacy-block p {
  color: var(--gray-500);
}

.page-impressum .privacy-block a,
.page-datenschutz .privacy-block a,
.page-agb .privacy-block a {
  color: var(--blue-500);
}

.page-impressum .privacy-block a:hover,
.page-datenschutz .privacy-block a:hover,
.page-agb .privacy-block a:hover {
  color: var(--blue-600);
}

/* ---- COOKIE BANNER & MAP CONSENT ----------------------------------------- */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 300;
  padding: 16px var(--gut);
  background: rgba(15, 42, 36, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cookie-banner-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cookie-banner-inner h2 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  font-family: var(--display);
  font-weight: 400;
}

.cookie-banner-inner p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.cookie-banner-inner a {
  color: var(--blue-500);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cookie-banner-actions .btn {
  flex: 1;
  min-width: 120px;
  justify-content: center;
}

.cookie-settings-panel {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.cookie-settings-panel.hidden { display: none; }

.cookie-settings-panel label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--gray-700);
  cursor: pointer;
}

.cookie-settings-panel .btn { margin-top: 8px; }

.map-consent {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--gray-50);
}

.map-consent [data-map-placeholder] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
  min-height: 280px;
}

.map-load-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.map-load-btn:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
}

/* ---- REVEAL ANIMATIONS --------------------------------------------------- */
.reveal.motion-pending {
  opacity: 0.82;
  transform: translateY(8px);
  transition:
    opacity 0.34s var(--ease-out),
    transform 0.34s var(--ease-out);
}

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

.reveal-stagger.motion-pending > * {
  opacity: 0.82;
  transform: translateY(6px);
  transition:
    opacity 0.32s var(--ease-out),
    transform 0.32s var(--ease-out);
}

.reveal-stagger.motion-pending.in > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in > :nth-child(2) { transition-delay: 30ms; }
.reveal-stagger.in > :nth-child(3) { transition-delay: 60ms; }
.reveal-stagger.in > :nth-child(n+4) { transition-delay: 90ms; }

/* ---- SHELL UTILITIES ----------------------------------------------------- */
.topbar ul,
nav.main .nav-list,
footer ul,
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---- LOGIN / AUTH (Mandantenportal) -------------------------------------- */
.page-login {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(31, 107, 87, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(15, 42, 36, 0.06), transparent 50%),
    var(--gray-50);
}

.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(32px, 6vw, 64px) var(--gut);
  padding-bottom: calc(clamp(32px, 6vw, 64px) + 140px);
  position: relative;
}

.auth-card {
  width: min(100%, 440px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-900), var(--blue-500));
}

.auth-card h2 {
  font-family: var(--display);
  font-size: clamp(1.625rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.auth-card > p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.auth-card .form-field {
  margin-bottom: 16px;
}

.auth-card .form-field input {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  font-size: 0.9375rem;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

.auth-card .form-field input:focus {
  background: var(--white);
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(31, 107, 87, 0.12);
}

.auth-card .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.auth-card .btn-outline {
  font-size: 0.8125rem;
  padding: 8px 14px;
  gap: 8px;
}

.auth-card .form-error {
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  padding: 12px 14px;
  font-size: 0.875rem;
}

.page-login iframe[title*="TradingView"] {
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 -8px 32px rgba(15, 42, 36, 0.18);
}

@media (max-width: 520px) {
  .auth-card {
    padding: 24px 20px;
  }

  .auth-card .btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* Mobilde klavye açılınca "fixed" TradingView ticker'ı şifre inputunun
   üzerine binebiliyordu (visual viewport küçülüyor ama iframe hala
   ekranın altına sabitleniyordu). Mobilde fixed konumlandırmayı kaldırıp
   widget'ı formun altında normal akışa alıyoruz, böylece hiçbir inputun
   üzerine binmiyor. */
@media (max-width: 767px) {
  .auth-page {
    padding-bottom: clamp(32px, 6vw, 64px);
  }

  .page-login iframe[title*="TradingView"] {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 1 !important;
    display: block;
    width: 100%;
    height: 75px !important;
    margin-top: 20px;
    box-shadow: none;
    border-top: 1px solid var(--border) !important;
  }
}

/* ---- RESPONSIVE REFINEMENTS ---------------------------------------------- */
@media (max-width: 520px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .float-card.f1 { top: 0; left: 0; }
  .float-card.f2 { bottom: 0; right: 0; }
  .float-card.f3 { display: none; }
  .float-card { padding: 10px 14px; }
  .float-card .value { font-size: 1rem; }

  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start !important;
  }

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

  .footer-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    width: 100%;
  }
}

@media (max-width: 679px) {
  .cta-banner-side .btn { width: 100%; justify-content: center; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 1099px) {
  nav.main .row,
  nav.main .nav-bar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  nav.main .nav-side--left {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  nav.main .nav-side--right {
    flex: 0 0 auto;
    justify-self: auto;
  }
}

@media (max-width: 767px) {
  nav.main .brand-logo {
    height: 38px;
    max-width: 160px;
  }

  nav.main .nav-side--left { width: auto; }
  nav.main .nav-side--right { min-width: auto; }

  .contact-pill--portal { display: none; }

  .faq-sticky-col { position: relative; top: auto; }

  .product-side-card { position: static; top: auto; }

  .footer-grid { gap: 28px; }
}

@media (min-width: 768px) and (max-width: 979px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .product-detail-grid aside .product-side-card {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .reveal-line > span {
    transform: none;
    animation: none;
  }
}


/* Interaction and small-screen refinements */
.btn:active,
.menu-toggle:active {
  transform: translateY(1px);
}

:is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .float-card {
    transition: translate 160ms var(--ease-out);
  }

  .float-card:hover {
    translate: 0 -2px;
  }
}

.mobile-menu {
  overscroll-behavior-y: contain;
}

.form-field,
.product-detail-grid > * {
  min-width: 0;
}

.product-side-card a,
.footer-mail {
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  :is(.form-field, .contact-form, .auth-card) :is(input:not([type="checkbox"]), select, textarea) {
    font-size: 1rem;
  }

  .float-card,
  .hero-decor svg {
    animation-iteration-count: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  :is(.hero, .page-header) .wrap {
    animation: page-heading-in 180ms var(--ease-out) both;
  }
}

@keyframes page-heading-in {
  from { opacity: 0.92; translate: 0 3px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal.motion-pending,
  .reveal-stagger.motion-pending > * {
    opacity: 1;
    transform: none;
  }
}

/* The Europe image defines its own height; the portrait wrapper is for split sections. */
.testi-section > .wrap > .about-visual {
  aspect-ratio: auto;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.testi-section > .wrap > .about-visual > img {
  display: block;
  width: 100%;
  height: auto;
}

/* Keep the account-opening cards closer to the team introduction. */
.page-home .site-main > .process-section {
  padding-bottom: clamp(20px, 3vw, 44px);
}

.page-home .site-main > .process-section + .team-section {
  padding-top: clamp(20px, 3vw, 44px);
}

/* The adjacent team and customer sections share a tighter transition. */
.page-home .site-main > .team-section:has(+ .team-section) {
  padding-bottom: clamp(12px, 2vw, 24px);
}

.page-home .site-main > .team-section + .team-section {
  padding-top: clamp(12px, 2vw, 24px);
}
