/* ==========================================================================
   TRITECH COMPUTERS & ENGINEERS — CORE STYLESHEET
   Design system, layout primitives, components.
   Author: Tritech Web Team
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design Tokens
   02. Reset & Base
   03. Typography
   04. Layout Primitives
   05. Buttons
   06. Cards & Surfaces
   07. Loader
   08. Cursor & Mouse Glow
   09. Header / Navigation / Mega Menu
   10. Hero
   11. Section Components
   12. Statistics
   13. Process Timeline
   14. History Timeline
   15. Logo Grid (Clients)
   16. Testimonials
   17. Products & Filtering
   18. Pricing / Membership
   19. Accordion (FAQ)
   20. Forms & Contact
   21. CTA Banner & Newsletter
   22. Breadcrumb & Page Header
   23. Footer
   24. Floating UI (Back to top, Contact FAB)
   25. Utilities
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* ---- Core palette — the only place a brand colour is literally declared -- */
  --primary: #0a192f; /* deep navy — dark surfaces, headings, footer */
  --accent: #0066ff; /* brand blue — fills, icons, focus rings */
  --bg: #f8f9fa; /* page background */
  --surface: #ffffff; /* cards, panels, inputs */

  /* Derived brand steps — every one traceable to the four colours above */
  --primary-soft: #122a47; /* second stop of the dark gradient */
  --secondary: var(--primary-soft); /* alias kept so existing rules still work */
  --accent-ink: #0052cc; /* accent as TEXT on light surfaces — 6.5:1 */
  --accent-hover: #0052cc; /* filled-button hover — keeps white text at AA */
  --accent-deep: #0047b3; /* closing stop of the accent gradient */
  --accent-on-dark: #66a3ff; /* accent as text/icon on navy — 6.9:1 */

  /* Status colours. Base = fill, "-ink" = AA-safe text on light surfaces */
  --success: #10b981;
  --success-ink: #047857; /* 5.6:1 on --surface */
  --success-deep: #065f46;
  --danger: #ef4444;
  --danger-ink: #dc2626; /* 4.8:1 on --surface */
  --danger-deep: #991b1b;
  --star: #d97706; /* rating icons — 3.2:1 on --surface */

  /* Surfaces & lines */
  --bg-alt: #eef0f3;
  --card: var(--surface); /* alias kept so existing rules still work */
  --border: #e3e6ea; /* decorative hairlines & dividers */
  --border-strong: #868f9c; /* control borders — 3.3:1, meets AA non-text */

  /* Text on LIGHT surfaces */
  --text: var(--primary); /* 17.5:1 on --bg */
  --text-muted: #48586b; /* 6.9:1 on --bg */
  --text-soft: #5f7185; /* 4.8:1 on --bg — lightest AA-safe tier */
  --text-invert: #ffffff; /* only ever used on dark or accent fills */

  /* Text on DARK (navy / accent) surfaces */
  --on-dark: #e6edf5; /* body copy — 14.6:1 on --primary */
  --on-dark-muted: #a8b6c8; /* secondary copy — 8.5:1 on --primary */
  --on-dark-soft: rgba(255, 255, 255, 0.75); /* small labels — ~9:1 */

  /* Translucent overlays for elements that sit on a dark surface */
  --on-dark-1: rgba(255, 255, 255, 0.05); /* raised panel */
  --on-dark-2: rgba(255, 255, 255, 0.08); /* raised panel, hover */
  --on-dark-3: rgba(255, 255, 255, 0.15); /* tracks & wells */
  --on-dark-line: rgba(255, 255, 255, 0.12);
  --on-dark-line-2: rgba(255, 255, 255, 0.22);
  --on-dark-line-3: rgba(255, 255, 255, 0.38);
  --on-dark-line-accent: rgba(102, 163, 255, 0.45);
  --grid-line: rgba(255, 255, 255, 0.06);
  --scrim: rgba(10, 25, 47, 0.55); /* drawer / modal backdrop */

  /* Accent tints — soft washes, all one hue */
  --accent-000: rgba(0, 102, 255, 0);
  --accent-050: rgba(0, 102, 255, 0.05);
  --accent-080: rgba(0, 102, 255, 0.08);
  --accent-120: rgba(0, 102, 255, 0.12);
  --accent-160: rgba(0, 102, 255, 0.16);
  --accent-200: rgba(0, 102, 255, 0.2);
  --accent-400: rgba(0, 102, 255, 0.4);

  /* Status tints */
  --success-100: rgba(16, 185, 129, 0.1);
  --success-line: rgba(16, 185, 129, 0.24);
  --success-600: rgba(16, 185, 129, 0.6);
  --danger-080: rgba(239, 68, 68, 0.08);
  --danger-120: rgba(239, 68, 68, 0.12);
  --danger-line: rgba(239, 68, 68, 0.24);

  /* "Let's go green" band — the one non-brand hue, kept for its meaning */
  --green-1: #064e3b;
  --green-2: #065f46;
  --green-3: #047857;
  --on-green: #d1fae5;
  --on-green-muted: #a7f3d0;
  --on-green-accent: #6ee7b7;

  /* Typography */
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-display: clamp(2.75rem, 6vw, 4.5rem);
  --fs-h1: clamp(2.25rem, 4.6vw, 3.5rem);
  --fs-h2: clamp(1.875rem, 3.4vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.0625rem, 1.3vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Spacing scale (8pt based) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-9: 4rem;
  --sp-10: 5rem;
  --section-y: clamp(4.5rem, 9vw, 8rem);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Elevation — soft, layered, never harsh; tinted with the brand navy */
  --sh-xs: 0 1px 2px rgba(10, 25, 47, 0.05);
  --sh-sm: 0 2px 8px rgba(10, 25, 47, 0.06);
  --sh-md: 0 8px 28px rgba(10, 25, 47, 0.08);
  --sh-lg: 0 20px 50px rgba(10, 25, 47, 0.11);
  --sh-xl: 0 32px 80px rgba(10, 25, 47, 0.15);
  --sh-accent: 0 12px 30px rgba(0, 102, 255, 0.28);
  --sh-accent-sm: 0 6px 18px rgba(0, 102, 255, 0.24);
  --sh-dark-sm: 0 6px 18px rgba(10, 25, 47, 0.18);
  --sh-dark-md: 0 14px 32px rgba(10, 25, 47, 0.24);
  --sh-panel: 0 24px 60px rgba(3, 10, 20, 0.45);
  --sh-drawer: -20px 0 60px rgba(10, 25, 47, 0.16);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.18s;
  --t-base: 0.32s;
  --t-slow: 0.6s;

  /* Structure */
  --container: 1240px;
  --container-narrow: 860px;
  --header-h: 76px;

  /* Glass — opacity tuned so text over it always clears AA */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-strong: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-dark-bg: rgba(10, 25, 47, 0.72);
  --glass-dark-border: rgba(255, 255, 255, 0.12);

  /* Gradients — restrained, two-stop, AA-safe end to end */
  --grad-accent: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-deep) 100%
  );
  --grad-dark: linear-gradient(
    160deg,
    var(--primary) 0%,
    var(--primary-soft) 100%
  );
  --grad-text: linear-gradient(120deg, #ffffff 0%, #cfe0ff 60%, #a8c8ff 100%);
  --grad-surface: linear-gradient(150deg, #eef1f5 0%, #e1e6ec 100%);
  --grad-green: linear-gradient(
    150deg,
    var(--green-1) 0%,
    var(--green-2) 55%,
    var(--green-3) 100%
  );

  /* Ambient blobs behind dark heroes */
  --blob-a: rgba(0, 102, 255, 0.42);
  --blob-b: rgba(102, 163, 255, 0.3);
  --blob-c: rgba(16, 185, 129, 0.18);
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent-200);
  color: var(--primary);
}

/* Skip link — keyboard users land here first */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top var(--t-base) var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* Custom scrollbar (desktop only, purely cosmetic) */
@media (min-width: 1025px) {
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: var(--bg-alt);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: var(--r-pill);
    border: 2px solid var(--bg-alt);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--text-soft);
  }
}

/* ==========================================================================
   03. TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
}
h4 {
  font-size: var(--fs-h4);
  line-height: 1.4;
}

p {
  color: var(--text-muted);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text-muted);
}

.text-sm {
  font-size: var(--fs-sm);
}
.text-xs {
  font-size: var(--fs-xs);
}

strong,
b {
  font-weight: 600;
  color: var(--text);
}

/* Gradient headline treatment for dark surfaces */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-accent {
  color: var(--accent);
}

/* Animated underline — used on inline links */
.link-underline {
  position: relative;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base) var(--ease-out);
}

.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.link-underline svg {
  transition: transform var(--t-base) var(--ease-out);
}

.link-underline:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   04. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

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

.section--dark {
  background: var(--grad-dark);
  color: #e2e8f0;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark p {
  color: #94a3b8;
}

/* Grid system */
.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-auto-sm {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Split layout: content + media */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.stack > * + * {
  margin-top: var(--sp-4);
}

.flow > * + * {
  margin-top: var(--sp-5);
}

/* Section heading block */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

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

.section-head h2 {
  margin-bottom: var(--sp-4);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

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

.eyebrow--center {
  justify-content: center;
}

.section--dark .eyebrow {
  color: var(--accent-hover);
}

/* ==========================================================================
   05. BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease),
    color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

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

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

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform var(--t-base) var(--ease-out);
}

.btn:hover svg.icon-arrow {
  transform: translateX(4px);
}

/* Primary — solid accent */
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--sh-accent);
}

/* Dark — for light surfaces where accent would be too loud */
.btn-dark {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.btn-dark:hover {
  background: var(--secondary);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.24);
}

/* Outline — secondary action */
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-050);
}

/* Ghost on dark surfaces */
.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-sm {
  padding: 11px 22px;
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: 18px 38px;
  font-size: var(--fs-body);
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.btn[disabled],
.btn.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

/* ==========================================================================
   06. CARDS & SURFACES
   ========================================================================== */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

/* Hover lift — the signature interaction across the site */
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--accent-120);
}

.card--dark {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.card--dark:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

/* Glass card — light usage, only over rich backgrounds */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
}

.glass-dark {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-dark-border);
}

/* Icon chip used inside feature/service cards */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background: var(--accent-080);
  color: var(--accent);
  margin-bottom: var(--sp-5);
  transition: background var(--t-base) var(--ease),
    color var(--t-base) var(--ease), transform var(--t-base) var(--ease-spring);
}

.icon-box svg {
  width: 26px;
  height: 26px;
}

.card:hover .icon-box,
.hover-lift:hover .icon-box {
  background: var(--accent);
  color: #fff;
  transform: scale(1.06) rotate(-4deg);
}

.icon-box--success {
  background: var(--success-100);
  color: var(--success);
}

.card:hover .icon-box--success {
  background: var(--success);
  color: #fff;
}

.icon-box--sm {
  width: 42px;
  height: 42px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-sm);
}

.icon-box--sm svg {
  width: 20px;
  height: 20px;
}

/* Service / feature card */
.feature-card h3 {
  margin-bottom: var(--sp-3);
}

.feature-card p {
  font-size: var(--fs-sm);
}

/* Accent rail that draws in on hover */
.card--rail::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}

.card--rail:hover::before {
  transform: scaleX(1);
}

/* Badges & pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--accent-080);
  color: var(--accent);
}

.badge--success {
  background: var(--success-100);
  color: #047857;
}

.badge--soft {
  background: var(--bg-alt);
  color: var(--text-muted);
}

.badge--glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbeafe;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.badge svg {
  width: 14px;
  height: 14px;
}

/* Check list */
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: var(--sp-3);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

.section--dark .check-list li {
  color: #cbd5e1;
}

/* ==========================================================================
   07. LOADER
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--sp-5);
  background: var(--primary);
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader__mark {
  width: 64px;
  height: 64px;
  color: var(--accent-hover);
  animation: loaderPulse 1.6s var(--ease) infinite;
}

.loader__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #fff;
  padding-left: 0.34em;
}

.loader__bar {
  width: 180px;
  height: 3px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--grad-accent);
  transition: width 0.3s var(--ease-out);
}

/* ==========================================================================
   08. CURSOR & MOUSE GLOW
   ========================================================================== */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  will-change: transform;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  margin: -3.5px 0 0 -3.5px;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.5px solid var(--accent-200);
  transition: opacity var(--t-base) var(--ease),
    width var(--t-base) var(--ease-out), height var(--t-base) var(--ease-out),
    margin var(--t-base) var(--ease-out),
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.cursor-active .cursor-dot,
.cursor-active .cursor-ring {
  opacity: 1;
}

/* Grows when hovering interactive elements */
.cursor-ring.is-hovering {
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  background: var(--accent-080);
  border-color: transparent;
}

.cursor-ring.is-dark {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Ambient radial glow that trails the pointer */
.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.16) 0%,
    rgba(59, 130, 246, 0) 65%
  );
  transition: opacity 0.6s var(--ease);
  will-change: transform;
}

.mouse-glow.is-on {
  opacity: 1;
}

/* ==========================================================================
   09. HEADER / NAVIGATION / MEGA MENU
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
    transform 0.4s var(--ease), height var(--t-base) var(--ease);
}

/* Glass state once the user scrolls */
.header.is-scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
  box-shadow: var(--sh-sm);
}

/* Smart hide on scroll-down */
.header.is-hidden {
  transform: translateY(-100%);
}

/* Pages with a light hero start in the solid state */
.header--solid {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
}

/* Reading-progress hairline pinned to the very top of the viewport */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1001;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  width: 100%;
}

/* --- Brand --- */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  color: var(--accent);
  transition: transform var(--t-base) var(--ease-spring);
}

.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.05);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.brand__sub {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Inverted brand for dark heroes before scroll */
.header:not(.is-scrolled):not(.header--solid) .brand__name {
  color: #fff;
}

.header:not(.is-scrolled):not(.header--solid) .brand__sub {
  color: rgba(255, 255, 255, 0.6);
}

.header:not(.is-scrolled):not(.header--solid) .brand__mark {
  color: var(--accent-hover);
}

/* --- Primary nav --- */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Drawer-only blocks — hidden while the nav is a horizontal bar */
.nav__cta,
.nav__meta {
  display: none;
}

.nav__item {
  position: relative;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--accent);
}

/* Animated underline */
.nav__link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base) var(--ease-out);
}

.nav__link:hover::after,
.nav__item.is-open > .nav__link::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--accent);
  font-weight: 600;
}

.nav__link .chev {
  width: 14px;
  height: 14px;
  transition: transform var(--t-base) var(--ease);
}

.nav__item.is-open .chev {
  transform: rotate(180deg);
}

/* Light-on-dark nav for transparent header over dark hero */
.header:not(.is-scrolled):not(.header--solid) .nav__link {
  color: rgba(255, 255, 255, 0.78);
}

.header:not(.is-scrolled):not(.header--solid) .nav__link:hover,
.header:not(.is-scrolled):not(.header--solid) .nav__link.is-active {
  color: #fff;
}

.header:not(.is-scrolled):not(.header--solid) .nav__link::after {
  background: #fff;
}

/* --- Header actions --- */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
}

.header__call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  padding: 8px 4px;
}

.header__call svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.header:not(.is-scrolled):not(.header--solid) .header__call {
  color: #fff;
}

.header:not(.is-scrolled):not(.header--solid) .header__call svg {
  color: var(--accent-hover);
}

/* --- Mega menu --- */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  translate: -50% 0;
  width: min(920px, calc(100vw - 48px));
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--t-base) var(--ease),
    transform var(--t-base) var(--ease-out), visibility var(--t-base);
}

.nav__item.is-open > .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.mega__col-title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: var(--sp-4);
}

.mega__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  margin-left: -10px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.mega__link:hover {
  background: var(--accent-050);
  transform: translateX(3px);
}

.mega__link svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}

.mega__link b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.mega__link span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.45;
}

.mega__promo {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--grad-dark);
  color: #fff;
}

.mega__promo h4 {
  color: #fff;
  margin-bottom: 4px;
}

.mega__promo p {
  color: #94a3b8;
  font-size: var(--fs-xs);
  margin: 0;
}

/* --- Mobile toggle & drawer --- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--t-base) var(--ease-out),
    opacity var(--t-fast) var(--ease), background var(--t-base) var(--ease);
}

.header:not(.is-scrolled):not(.header--solid) .nav-toggle span {
  background: #fff;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base);
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   10. HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100vh, 900px);
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: var(--grad-dark);
  color: #cbd5e1;
  overflow: hidden;
  isolation: isolate;
}

/* Layered background: grid + radial washes */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(148, 163, 184, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    #000 30%,
    transparent 78%
  );
}

/* Soft colour blobs — animated in animations.css */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.blob--1 {
  width: 520px;
  height: 520px;
  top: -140px;
  right: -100px;
  background: rgba(37, 99, 235, 0.42);
}

.blob--2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -120px;
  background: rgba(59, 130, 246, 0.3);
}

.blob--3 {
  width: 300px;
  height: 300px;
  top: 45%;
  left: 45%;
  background: rgba(16, 185, 129, 0.16);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}

.hero h1 {
  font-size: var(--fs-display);
  color: #fff;
  margin-bottom: var(--sp-5);
}

.hero__lead {
  font-size: var(--fs-lead);
  color: #94a3b8;
  max-width: 54ch;
  margin-bottom: var(--sp-7);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

/* Trust strip beneath the CTA */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.hero__trust-item span {
  font-size: var(--fs-xs);
  color: #94a3b8;
}

/* Hero visual: stacked glass panels */
.hero__visual {
  position: relative;
  height: 480px;
}

.hero-panel {
  position: absolute;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.4);
  padding: var(--sp-5);
  will-change: transform;
}

.hero-panel--main {
  inset: 40px 0 40px 40px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.hero-panel--stat {
  right: 0;
  top: -10px;
  width: 208px;
  padding: var(--sp-4) var(--sp-5);
}

.hero-panel--alert {
  left: -20px;
  bottom: 0;
  width: 246px;
  padding: var(--sp-4);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-panel h4 {
  color: #fff;
  font-size: var(--fs-sm);
}

.hero-panel p,
.hero-panel span {
  color: #94a3b8;
  font-size: var(--fs-xs);
}

.hero-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
}

/* Mini "system status" rows inside the main panel */
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-row__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  color: #e2e8f0;
  font-weight: 500;
}

.status-row__label svg {
  width: 16px;
  height: 16px;
  color: var(--accent-hover);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex: none;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.scroll-cue__line {
  width: 1px;
  height: 46px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  overflow: hidden;
}

/* ==========================================================================
   11. SECTION COMPONENTS
   ========================================================================== */

/* --- Intro / about split with image collage --- */
.media-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--grad-dark);
  aspect-ratio: 4 / 3;
  box-shadow: var(--sh-lg);
}

.media-frame__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 0
  );
  background-size: 22px 22px;
}

.media-frame__content {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: var(--sp-4);
  padding: var(--sp-7);
  text-align: center;
}

.media-frame__content svg {
  width: 72px;
  height: 72px;
  margin-inline: auto;
  color: var(--accent-hover);
}

/* Floating stat card overlapping the frame */
.float-card {
  position: absolute;
  right: -18px;
  bottom: -22px;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  min-width: 190px;
}

.float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 4px;
}

.float-card span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* --- Why choose us: bordered feature list --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--card);
}

.why-item {
  padding: var(--sp-7) var(--sp-6);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base) var(--ease);
}

.why-item:hover {
  background: var(--accent-050);
}

.why-item h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--sp-2);
}

.why-item p {
  font-size: var(--fs-sm);
  margin: 0;
}

/* --- Corporate solutions: dark offer band --- */
.offer-item {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--t-base) var(--ease),
    transform var(--t-base) var(--ease-out);
}

.offer-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.offer-item svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--accent-hover);
}

.offer-item h4 {
  color: #fff;
  margin-bottom: 4px;
}

.offer-item p {
  font-size: var(--fs-xs);
  color: #94a3b8;
  margin: 0;
}

/* --- Go Green band --- */
.green-band {
  background: linear-gradient(150deg, #064e3b 0%, #065f46 55%, #047857 100%);
  color: #d1fae5;
  overflow: hidden;
  position: relative;
}

.green-band h2,
.green-band h3,
.green-band h4 {
  color: #fff;
}

.green-band p {
  color: #a7f3d0;
}

.green-band .eyebrow {
  color: #6ee7b7;
}

.green-band .eyebrow::before {
  background: #6ee7b7;
}

.green-band .check-list li {
  color: #d1fae5;
}

.green-band .check-list li::before {
  background-color: rgba(255, 255, 255, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.green-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.saving-dial {
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
}

.saving-dial strong {
  font-family: var(--font-display);
  font-size: 3.25rem;
  line-height: 1;
  color: #fff;
}

.saving-dial span {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a7f3d0;
  margin-top: 6px;
}

/* ==========================================================================
   12. STATISTICS
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.stat {
  position: relative;
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--t-base) var(--ease),
    transform var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease);
}

.stat:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-6px);
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}

.stat__value .suffix {
  color: var(--accent-hover);
}

.stat__label {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: #94a3b8;
}

/* Light variant used on interior pages */
.stats--light .stat {
  background: var(--card);
  border-color: var(--border);
  box-shadow: var(--sh-xs);
}

.stats--light .stat:hover {
  border-color: var(--accent-120);
  box-shadow: var(--sh-md);
}

.stats--light .stat__value {
  color: var(--primary);
}

.stats--light .stat__label {
  color: var(--text-muted);
}

/* ==========================================================================
   13. PROCESS TIMELINE (horizontal, numbered)
   ========================================================================== */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

/* Connecting rail behind the step numbers */
.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--border-strong) 0 8px,
    transparent 8px 16px
  );
}

.process__step {
  position: relative;
  text-align: center;
  padding-inline: var(--sp-2);
}

.process__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-5);
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-soft);
  transition: all var(--t-base) var(--ease-spring);
}

.process__step:hover .process__num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.1);
  box-shadow: var(--sh-accent);
}

.process__step h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--sp-2);
}

.process__step p {
  font-size: var(--fs-sm);
}

/* ==========================================================================
   14. HISTORY TIMELINE (vertical, alternating)
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding-block: var(--sp-4);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  translate: -50% 0;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border) 8%,
    var(--border) 92%,
    transparent
  );
}

.tl-item {
  position: relative;
  width: 50%;
  padding-right: var(--sp-8);
  margin-bottom: var(--sp-7);
}

.tl-item:nth-child(even) {
  margin-left: 50%;
  padding-right: 0;
  padding-left: var(--sp-8);
}

.tl-item__dot {
  position: absolute;
  top: 26px;
  right: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--accent-120);
}

.tl-item:nth-child(even) .tl-item__dot {
  right: auto;
  left: -7px;
}

.tl-item__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

.tl-item h3 {
  font-size: 1.125rem;
  margin-bottom: var(--sp-2);
}

.tl-item p {
  font-size: var(--fs-sm);
  margin: 0;
}

/* ==========================================================================
   15. LOGO GRID (CLIENTS)
   ========================================================================== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.logo-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: var(--sp-5) var(--sp-4);
  background: var(--card);
  transition: background var(--t-base) var(--ease),
    transform var(--t-base) var(--ease-out);
}

.logo-tile:hover {
  background: var(--accent-050);
  transform: scale(1.02);
  z-index: 1;
  box-shadow: var(--sh-md);
}

/* Monogram badge stands in for the client's mark */
.logo-tile__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  transition: background var(--t-base) var(--ease);
}

.logo-tile:hover .logo-tile__mark {
  background: var(--accent);
}

.logo-tile__name {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.logo-tile__cat {
  display: block;
  font-weight: 500;
  color: var(--text-soft);
  margin-top: 2px;
}

/* Infinite marquee variant for the home page */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: var(--sp-6);
}

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

.marquee__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  background: var(--card);
  border: 1px solid var(--border);
  white-space: nowrap;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.marquee__item:hover {
  color: var(--accent);
  border-color: var(--accent-120);
}

.marquee__item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ==========================================================================
   16. TESTIMONIALS
   ========================================================================== */
.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial__quote {
  flex: 1;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: var(--sp-5);
}

.testimonial__mark {
  width: 34px;
  height: 34px;
  color: var(--accent-200);
  margin-bottom: var(--sp-4);
}

.testimonial__person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.testimonial__person b {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.testimonial__person span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-4);
  color: #f59e0b;
}

.stars svg {
  width: 16px;
  height: 16px;
}

/* Slider shell */
.slider {
  position: relative;
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

.slider__slide {
  flex: 0 0 calc(100% / 3);
  padding-inline: var(--sp-3);
  align-self: stretch;
}

.slider__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}

.slider__btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--card);
  color: var(--text);
  transition: all var(--t-base) var(--ease);
}

.slider__btn:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: var(--sh-accent);
}

.slider__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.slider__btn svg {
  width: 18px;
  height: 18px;
}

.slider__dots {
  display: flex;
  gap: 8px;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--border-strong);
  transition: all var(--t-base) var(--ease);
}

.slider__dot.is-active {
  width: 26px;
  background: var(--accent);
}

/* ==========================================================================
   17. PRODUCTS & FILTERING
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4);
  margin-bottom: var(--sp-7);
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 20;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: transparent;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--t-base) var(--ease);
}

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

.chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.search-field {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}

.search-field svg {
  position: absolute;
  left: 16px;
  top: 50%;
  translate: 0 -50%;
  width: 18px;
  height: 18px;
  color: var(--text-soft);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  padding: 12px 16px 12px 46px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: var(--fs-sm);
  transition: border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.search-field input:focus {
  outline: none;
  background: var(--card);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-120);
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #f1f5f9 0%, #e2e8f0 100%);
  overflow: hidden;
}

.product-card__media svg {
  width: 68px;
  height: 68px;
  color: var(--accent);
  opacity: 0.85;
  transition: transform var(--t-slow) var(--ease-spring);
}

.product-card:hover .product-card__media svg {
  transform: scale(1.12) translateY(-4px);
}

.product-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-5);
}

.product-card__cat {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--sp-3);
}

.product-card p {
  font-size: var(--fs-sm);
  flex: 1;
  margin-bottom: var(--sp-4);
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--sp-4);
}

.spec-list li {
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Empty state for search/filter */
.empty-state {
  grid-column: 1 / -1;
  display: none;
  text-align: center;
  padding: var(--sp-10) var(--sp-5);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
}

.empty-state.is-visible {
  display: block;
}

.empty-state svg {
  width: 54px;
  height: 54px;
  margin: 0 auto var(--sp-4);
  color: var(--text-soft);
}

/* Category tiles */
.cat-tile {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all var(--t-base) var(--ease-out);
}

.cat-tile:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.cat-tile b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
}

.cat-tile span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Upcoming product feature (CTP) */
.upcoming {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  background: var(--grad-dark);
  color: #cbd5e1;
  overflow: hidden;
  position: relative;
}

.upcoming h2,
.upcoming h3 {
  color: #fff;
}

.upcoming p {
  color: #94a3b8;
}

/* ==========================================================================
   18. PRICING / MEMBERSHIP
   ========================================================================== */
.plan {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: var(--sp-7) var(--sp-6);
}

.plan--featured {
  border-color: var(--accent);
  box-shadow: var(--sh-lg);
  transform: translateY(-8px);
}

.plan--featured::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-accent);
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.plan__flag {
  position: absolute;
  top: -13px;
  left: 50%;
  translate: -50% 0;
}

.plan__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h4);
  margin-bottom: var(--sp-2);
}

.plan__desc {
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
  min-height: 48px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
}

.plan__price strong {
  font-family: var(--font-display);
  font-size: 2.125rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan__price span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.plan .check-list {
  flex: 1;
  margin-bottom: var(--sp-6);
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}

table.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

table.compare th,
table.compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table.compare thead th {
  background: var(--bg-alt);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

table.compare tbody tr:last-child td {
  border-bottom: 0;
}

table.compare tbody tr:hover {
  background: var(--accent-050);
}

table.compare td:not(:first-child),
table.compare th:not(:first-child) {
  text-align: center;
}

table.compare td:first-child {
  font-weight: 500;
  color: var(--text);
}

.tick {
  color: var(--success);
  width: 20px;
  height: 20px;
  display: inline-block;
}

.cross {
  color: var(--text-soft);
}

/* ==========================================================================
   19. ACCORDION (FAQ)
   ========================================================================== */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
}

.acc-item + .acc-item {
  border-top: 1px solid var(--border);
}

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}

.acc-trigger:hover {
  color: var(--accent);
  background: var(--accent-050);
}

.acc-trigger__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-alt);
  transition: background var(--t-base) var(--ease),
    transform var(--t-base) var(--ease-out);
}

.acc-trigger__icon::before,
.acc-trigger__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out),
    opacity var(--t-fast) var(--ease);
}

.acc-trigger__icon::before {
  width: 12px;
  height: 2px;
}

.acc-trigger__icon::after {
  width: 2px;
  height: 12px;
}

.acc-item.is-open .acc-trigger {
  color: var(--accent);
}

.acc-item.is-open .acc-trigger__icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(180deg);
}

.acc-item.is-open .acc-trigger__icon::after {
  opacity: 0;
  transform: scaleY(0);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease-out);
}

.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}

.acc-panel__inner {
  overflow: hidden;
}

.acc-panel p {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: var(--fs-sm);
  margin: 0;
}

/* ==========================================================================
   20. FORMS & CONTACT
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.field label .req {
  color: var(--accent);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: var(--fs-sm);
  color: var(--text);
  transition: border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}

.field textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-soft);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: var(--card);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-120);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.field__error {
  font-size: var(--fs-xs);
  color: #dc2626;
  min-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.field.has-error .field__error {
  opacity: 1;
  transform: translateY(0);
}

/* Checkbox / consent */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox input {
  appearance: none;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--card);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}

.checkbox input:checked {
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
  border-color: var(--accent);
}

/* Form status message */
.form-status {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
}

.form-status.is-visible {
  display: flex;
}

.form-status--ok {
  background: var(--success-100);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.form-status--err {
  background: rgba(239, 68, 68, 0.08);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.form-status svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
}

/* Contact info blocks */
.contact-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all var(--t-base) var(--ease-out);
}

.contact-card:hover {
  border-color: var(--accent-120);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.contact-card h4 {
  margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* Map placeholder */
.map-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  min-height: 420px;
  box-shadow: var(--sh-sm);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
  transition: filter var(--t-slow) var(--ease);
}

.map-frame:hover iframe {
  filter: grayscale(0) contrast(1);
}

/* Static fallback shown behind the embed */
.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--sp-3);
  text-align: center;
  padding: var(--sp-6);
  background-image: linear-gradient(rgba(226, 232, 240, 0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.9) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: var(--bg-alt);
}

.map-fallback svg {
  width: 44px;
  height: 44px;
  color: var(--accent);
}

/* Business hours list */
.hours li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-size: var(--fs-sm);
}

.hours li:last-child {
  border-bottom: 0;
}

.hours span:first-child {
  color: var(--text-muted);
}

.hours span:last-child {
  font-weight: 600;
}

/* ==========================================================================
   21. CTA BANNER & NEWSLETTER
   ========================================================================== */
.cta-banner {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: var(--r-xl);
  background: var(--grad-dark);
  color: #cbd5e1;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: var(--sp-4);
  max-width: 20ch;
  margin-inline: auto;
}

.cta-banner p {
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: var(--sp-7);
  color: #94a3b8;
}

.cta-banner__glow {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(100px);
  background: rgba(37, 99, 235, 0.4);
  top: -300px;
  left: 50%;
  translate: -50% 0;
  pointer-events: none;
}

.cta-banner .btn-group {
  justify-content: center;
}

/* Newsletter */
.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}

.newsletter h3 {
  margin-bottom: 6px;
}

.newsletter p {
  font-size: var(--fs-sm);
  margin: 0;
}

.newsletter__form {
  display: flex;
  gap: 10px;
  min-width: min(440px, 100%);
}

.newsletter__form input {
  flex: 1;
  padding: 15px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: var(--fs-sm);
  transition: border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}

.newsletter__form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-120);
  background: var(--card);
}

.newsletter__note {
  font-size: var(--fs-xs);
  color: var(--text-soft);
  margin-top: 10px;
}

/* ==========================================================================
   22. BREADCRUMB & PAGE HEADER
   ========================================================================== */
.page-head {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--grad-dark);
  color: #cbd5e1;
  overflow: hidden;
  isolation: isolate;
}

.page-head__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.page-head h1 {
  color: #fff;
  margin-bottom: var(--sp-4);
}

.page-head p {
  font-size: var(--fs-lead);
  color: #94a3b8;
  max-width: 62ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--sp-5);
  font-size: var(--fs-xs);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--t-fast) var(--ease);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb li[aria-current] {
  color: var(--accent-hover);
  font-weight: 600;
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.32);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Light breadcrumb variant for legal pages */
.breadcrumb--light a {
  color: var(--text-muted);
}

.breadcrumb--light a:hover {
  color: var(--accent);
}

.breadcrumb--light li[aria-current] {
  color: var(--text);
}

.breadcrumb--light svg {
  color: var(--text-soft);
}

/* ==========================================================================
   23. FOOTER
   ========================================================================== */
.footer {
  position: relative;
  background: var(--primary);
  color: #94a3b8;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: var(--sp-8);
}

.footer .brand__name {
  color: #fff;
}

.footer .brand__sub {
  color: rgba(255, 255, 255, 0.45);
}

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

.footer__about {
  font-size: var(--fs-sm);
  margin: var(--sp-5) 0;
  max-width: 42ch;
}

.footer__title {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-5);
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  position: relative;
  font-size: var(--fs-sm);
  color: #94a3b8;
  transition: color var(--t-fast) var(--ease),
    padding-left var(--t-base) var(--ease-out);
}

.footer__links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 0;
  height: 1.5px;
  background: var(--accent-hover);
  transition: width var(--t-base) var(--ease-out);
}

.footer__links a:hover {
  color: #fff;
  padding-left: 18px;
}

.footer__links a:hover::before {
  width: 12px;
}

.footer__contact li {
  display: flex;
  gap: 12px;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--accent-hover);
}

.footer__contact a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: var(--sp-5);
}

.social-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  transition: all var(--t-base) var(--ease-out);
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.social-btn svg {
  width: 17px;
  height: 17px;
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-xs);
}

.footer__bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.footer__bar a:hover {
  color: #fff;
}

/* ==========================================================================
   24. FLOATING UI
   ========================================================================== */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all var(--t-base) var(--ease-out);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* Circular scroll-progress ring around the button */
.to-top__ring {
  position: absolute;
  inset: -4px;
  transform: rotate(-90deg);
  pointer-events: none;
}

.to-top__ring circle {
  fill: none;
  stroke-width: 2;
}

.to-top__ring .track {
  stroke: rgba(255, 255, 255, 0.15);
}

.to-top__ring .bar {
  stroke: var(--accent-hover);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}

/* Floating contact FAB with expanding actions */
.fab {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 900;
}

.fab__toggle {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh-accent);
  transition: all var(--t-base) var(--ease-spring);
}

.fab__toggle:hover {
  background: var(--accent-hover);
  transform: scale(1.06);
}

.fab__toggle svg {
  width: 24px;
  height: 24px;
  transition: transform var(--t-base) var(--ease-out);
}

.fab.is-open .fab__toggle {
  background: var(--primary);
}

.fab.is-open .fab__toggle svg {
  transform: rotate(135deg);
}

.fab__menu {
  position: absolute;
  left: 0;
  bottom: 68px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab__action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: var(--r-pill);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.94);
  transition: all var(--t-base) var(--ease-out);
}

.fab.is-open .fab__action {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.fab.is-open .fab__action:nth-child(1) {
  transition-delay: 0.12s;
}
.fab.is-open .fab__action:nth-child(2) {
  transition-delay: 0.08s;
}
.fab.is-open .fab__action:nth-child(3) {
  transition-delay: 0.04s;
}

.fab__action:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(3px);
}

.fab__action svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--accent-080);
  color: var(--accent);
  flex: none;
}

/* ==========================================================================
   25. UTILITIES
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.mt-0 {
  margin-top: 0;
}
.mt-4 {
  margin-top: var(--sp-4);
}
.mt-5 {
  margin-top: var(--sp-5);
}
.mt-6 {
  margin-top: var(--sp-6);
}
.mt-7 {
  margin-top: var(--sp-7);
}
.mt-8 {
  margin-top: var(--sp-8);
}
.mb-0 {
  margin-bottom: 0;
}
.mb-4 {
  margin-bottom: var(--sp-4);
}
.mb-5 {
  margin-bottom: var(--sp-5);
}
.mb-6 {
  margin-bottom: var(--sp-6);
}
.mb-7 {
  margin-bottom: var(--sp-7);
}

.mx-auto {
  margin-inline: auto;
}

.w-full {
  width: 100%;
}

.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-3 {
  gap: var(--sp-3);
}
.gap-4 {
  gap: var(--sp-4);
}
.gap-5 {
  gap: var(--sp-5);
}
.gap-6 {
  gap: var(--sp-6);
}

.relative {
  position: relative;
}

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin-block: var(--sp-7);
}

/* Prose block for legal/long-form copy */
.prose h2 {
  font-size: 1.5rem;
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
}

.prose h3 {
  font-size: 1.125rem;
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

.prose p,
.prose li {
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: var(--sp-5);
}

.prose ul li {
  margin-bottom: var(--sp-2);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose > *:first-child {
  margin-top: 0;
}