/* ============================================================
   SC Cloud Services — Core Stylesheet
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi/satoshi-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi/satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi/satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi/satoshi-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand blues, extracted from the SC Cloud Services mark */
  --ink: #0a1420;
  --navy-900: #071b2e;
  --navy-800: #0d2c48;
  --primary: #0164a5;
  --primary-700: #014e82;
  --sky: #019bdb;
  --sky-light: #4bbbeb;

  --bg: #ffffff;
  --surface: #f4f8fb;
  --surface-2: #eaf1f8;
  --border: #dde7f0;
  --border-strong: #c7d6e4;

  --text: var(--ink);
  --muted: #56697c;
  --muted-2: #7c8ca0;

  --on-dark: #eef4fa;
  --on-dark-muted: #9fb4c9;

  --success: #157347;
  --success-bg: #e7f5ee;
  --warning: #a4650f;
  --warning-bg: #fbf0e1;

  --font-display: "Satoshi", "Inter", "SF Pro Display", "Segoe UI", Helvetica, sans-serif;
  --font-body: "Satoshi", "Inter", "SF Pro Display", "Segoe UI", Helvetica, sans-serif;

  --fs-hero: clamp(2.5rem, 1.4rem + 4.5vw, 4.375rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 2.5vw, 3.25rem);
  --fs-h2: clamp(1.65rem, 1.3rem + 1.4vw, 2.375rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.8rem;
  --fs-eyebrow: 0.8rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(7, 27, 46, 0.06), 0 1px 1px rgba(7, 27, 46, 0.04);
  --shadow-md: 0 12px 24px -8px rgba(7, 27, 46, 0.12), 0 4px 8px -4px rgba(7, 27, 46, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(7, 27, 46, 0.18), 0 8px 16px -8px rgba(7, 27, 46, 0.08);
  --shadow-glow: 0 0 0 1px rgba(1, 100, 165, 0.08), 0 20px 40px -12px rgba(1, 100, 165, 0.25);

  --container: 1200px;
  --header-h: 80px;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;
  --dur-slow: 560ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.12; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
svg { display: block; }

/* Visible focus states everywhere (WCAG 2.2) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2.5px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 640px) { .container { padding-inline: var(--space-6); } }

section, .section { padding-block: var(--space-9); }
.section-tight { padding-block: var(--space-8); }
.section-sm { padding-block: var(--space-6); }

.bg-surface { background: var(--surface); }
.bg-surface-2 { background: var(--surface-2); }
.bg-dark {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--primary-700) 130%);
  color: var(--on-dark);
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark .muted, .bg-dark p { color: var(--on-dark-muted); }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

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

.muted { color: var(--muted); }
.text-center { text-align: center; }

/* ---------- Eyebrow / section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--sky);
  border-radius: 2px;
}
.section-head { max-width: 680px; margin-bottom: var(--space-8); }
.section-head.center { max-width: 640px; margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { margin-top: var(--space-4); font-size: var(--fs-lead); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--fs-sm);
  border: 1.5px solid transparent;
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-spring), background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-on-dark { background: #fff; color: var(--navy-900); }
.btn-on-dark:hover { background: var(--sky-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.btn-sm { padding: 0.6rem 1.2rem; font-size: var(--fs-xs); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--primary); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-spring); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med), box-shadow var(--dur-med);
}
/* The header chrome lives on a pseudo-element, not .site-header itself:
   a filter/backdrop-filter on the header would create a new containing
   block for its position:fixed mobile-nav descendant and break full-height
   sizing. The pseudo-element uses position:fixed (not absolute) because
   Safari/WebKit miscalculates an absolutely-positioned child's containing
   block once an ancestor position:sticky element is "stuck".
   Background is fully opaque (not translucent) on purpose: on this page's
   compositing complexity, Safari/WebKit only paints a semi-transparent
   fixed layer's alpha blending across part of its width, leaving the rest
   fully see-through (a WebKit tiled-compositing bug, reproduced independent
   of backdrop-filter). Opaque avoids the bug outright; backdrop-filter is
   kept as a progressive-enhancement blur on top of the solid color, purely
   cosmetic, so its occasional partial rendering never affects legibility. */
.site-header::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 0;
  background: #ffffff;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px -8px rgba(7,27,46,0.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 0.9rem; position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand img { height: 58px; width: auto; }
.brand-sub { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }

.nav-links { display: flex; align-items: center; gap: 1.65rem; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-block: 0.3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--dur-fast) var(--ease-spring);
  border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: var(--space-4); }
.mobile-cta { display: none; }
.nav-toggle {
  display: none;
  background: none; border: none; padding: 0.4rem;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-spring), opacity var(--dur-fast);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav-links {
    position: fixed; inset: 64px 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) var(--space-5) var(--space-8);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-med), transform var(--dur-med);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding-block: 0.9rem; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-links a.mobile-cta { display: flex; margin-top: var(--space-5); color: #fff; border-bottom: none; justify-content: center; }
  .nav-links a.mobile-cta::after { display: none; }
}

@media (max-width: 560px) {
  .brand-sub { display: none; }
  .nav-actions .btn-primary { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-9) var(--space-9);
  background: var(--bg);
}
.hero-bands {
  position: absolute;
  inset: -20% 0 auto 0;
  width: 100%;
  height: 130%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); align-items: center; }
.hero-copy h1 { font-size: var(--fs-hero); }
.hero-copy .lead { font-size: var(--fs-lead); color: var(--muted); margin-top: var(--space-5); max-width: 46ch; }
.hero-actions { display: flex; gap: var(--space-4); margin-top: var(--space-7); flex-wrap: wrap; }
.hero-stats { display: flex; gap: var(--space-7); margin-top: var(--space-8); flex-wrap: wrap; }
.hero-stats .stat-num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--ink); }
.hero-stats .stat-label { font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }

.hero-visual { position: relative; }
.hero-visual .panel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-visual .panel img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.floating-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation: floatY 6s ease-in-out infinite;
}
.floating-card.card-a { top: -8%; left: -8%; }
.floating-card.card-b { bottom: -6%; right: -6%; animation-delay: -3s; }
.floating-card .icn {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface-2); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.floating-card .icn svg { width: 22px; height: 22px; }
.floating-card strong { display: block; font-size: 0.95rem; }
.floating-card span { font-size: var(--fs-xs); color: var(--muted); }

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

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .floating-card { display: none; }
}

/* ---------- Logo strip ---------- */
.logo-strip { padding-block: var(--space-7); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logo-strip .label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); font-weight: 600; margin-bottom: var(--space-6); text-align: center; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-8); }
.logo-row .logo-item {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--muted-2);
  opacity: 0.8; letter-spacing: -0.01em; transition: opacity var(--dur-fast), color var(--dur-fast);
}
.logo-row .logo-item:hover { opacity: 1; color: var(--ink); }
.logo-row .logo-item .icon { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

/* ---------- Stats ---------- */
.stats-band { }
.stat-card { text-align: center; padding: var(--space-6) var(--space-4); }
.stat-card .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); color: var(--primary); }
.stat-card .lbl { margin-top: var(--space-2); color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-spring), box-shadow var(--dur-med) var(--ease-spring), border-color var(--dur-med);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card .icn {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--sky));
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
  box-shadow: 0 8px 16px -6px rgba(1,100,165,0.4);
}
.card .icn svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: var(--space-3); }
.card p { color: var(--muted); font-size: var(--fs-sm); }
.card .card-link { margin-top: var(--space-5); display: inline-flex; }

/* Bleeds a banner image to the card's outer edge despite .card's own padding */
.card > .thumb {
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-5);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.card > .thumb img { width: 100%; height: 100%; object-fit: cover; }

.card-plain {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--border);
}
.card-plain > .thumb {
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-5);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.card-plain > .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Feature list with check icons */
.check-list li { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: var(--space-3); font-size: var(--fs-sm); color: var(--muted); }
.check-list li svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* ---------- Industries pill grid ---------- */
.pill-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
@media (max-width: 980px) { .pill-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .pill-grid { grid-template-columns: repeat(2, 1fr); } }
.pill-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  transition: transform var(--dur-med) var(--ease-spring), box-shadow var(--dur-med), border-color var(--dur-med), background var(--dur-med);
  background: #fff;
}
.pill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.pill-card .icn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 auto var(--space-3); color: var(--primary); }
.pill-card .icn svg { width: 100%; height: 100%; }
.pill-card span { font-weight: 600; font-size: var(--fs-sm); }

/* ---------- Trust / dark banner ---------- */
.trust-banner {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}
.trust-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, rgba(75,187,235,0.25), transparent 60%);
  pointer-events: none;
}
.trust-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-8); position: relative; z-index: 1; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-list li { padding-block: var(--space-4); border-top: 1px solid rgba(255,255,255,0.14); }
.trust-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.trust-list p { color: var(--on-dark-muted); font-size: var(--fs-sm); margin-top: var(--space-2); }
.trust-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-4); align-content: start; }
@media (max-width: 560px) { .trust-mini { grid-template-columns: 1fr; } }
.trust-mini .mini-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.trust-mini .mini-card h4 { color: #fff; font-size: 1rem; }
.trust-mini .mini-card p { color: var(--on-dark-muted); font-size: var(--fs-xs); margin-top: var(--space-2); }

/* ---------- Prose (legal / long-form text pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: var(--space-8); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: var(--space-6); }
.prose p { color: var(--muted); margin-top: var(--space-4); }
.prose ul { margin-top: var(--space-4); }
.prose li { color: var(--muted); margin-bottom: var(--space-3); padding-left: 1.4rem; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.prose .updated { color: var(--muted-2); font-size: var(--fs-sm); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%;
}
.testimonial-card .stars { color: var(--sky); display: flex; gap: 2px; margin-bottom: var(--space-4); }
.testimonial-card .stars svg { width: 16px; height: 16px; }
.testimonial-card p.quote { font-size: 1.02rem; color: var(--text); flex-grow: 1; }
.testimonial-card .person { display: flex; align-items: center; gap: 0.75rem; margin-top: var(--space-5); }
.testimonial-card .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--sky-light));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
  overflow: hidden; flex-shrink: 0;
}
.testimonial-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card .person strong { display: block; font-size: 0.92rem; }
.testimonial-card .person span { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Blog / insight cards ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur-med) var(--ease-spring), box-shadow var(--dur-med); height: 100%; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-spring); }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex-grow: 1; }
.post-card .cat { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); }
.post-card h3 { font-size: 1.05rem; }
.post-card .meta { margin-top: auto; font-size: var(--fs-xs); color: var(--muted-2); display: flex; gap: var(--space-3); }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: var(--fs-h2); max-width: 32ch; margin-inline: auto; }
.cta-banner p { margin-top: var(--space-4); color: var(--on-dark-muted); max-width: 52ch; margin-inline: auto; }
.cta-banner .hero-actions { justify-content: center; margin-top: var(--space-6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding-top: var(--space-9); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-7); padding-bottom: var(--space-8); border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: var(--space-4); font-size: var(--fs-sm); max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: var(--space-4); }
.footer-col li { margin-bottom: var(--space-3); }
.footer-col a { font-size: var(--fs-sm); transition: color var(--dur-fast); }
.footer-col a:hover { color: #fff; }
.social-row { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.social-row a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; transition: background var(--dur-fast), transform var(--dur-fast); }
.social-row a:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-block: var(--space-5); font-size: var(--fs-xs); flex-wrap: wrap; gap: var(--space-3); }
.footer-legal { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer-legal a:hover { color: #fff; }

/* ---------- Forms ---------- */
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--space-2); color: var(--ink); }
.field .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(1,100,165,0.12);
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: var(--fs-xs); color: var(--muted-2); margin-top: var(--space-3); }
.form-success { display: none; background: var(--success-bg); color: var(--success); border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5); font-size: var(--fs-sm); font-weight: 600; margin-top: var(--space-4); }
.form-success.show { display: block; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  background: none; border: none; text-align: left;
  padding: var(--space-5) 0; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.accordion-trigger .plus { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border-strong); position: relative; transition: transform var(--dur-med) var(--ease-spring), background var(--dur-med), border-color var(--dur-med); }
.accordion-trigger .plus::before, .accordion-trigger .plus::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: transform var(--dur-med), opacity var(--dur-med); }
.accordion-trigger .plus::before { top: 50%; left: 7px; right: 7px; height: 2px; transform: translateY(-50%); }
.accordion-trigger .plus::after { left: 50%; top: 7px; bottom: 7px; width: 2px; transform: translateX(-50%); }
.accordion-trigger[aria-expanded="true"] .plus { background: var(--primary); border-color: var(--primary); }
.accordion-trigger[aria-expanded="true"] .plus::before, .accordion-trigger[aria-expanded="true"] .plus::after { background: #fff; }
.accordion-trigger[aria-expanded="true"] .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease-spring); }
.accordion-panel-inner { padding-bottom: var(--space-5); color: var(--muted); font-size: var(--fs-sm); max-width: 68ch; }
.accordion-item.open .accordion-panel { }

/* ---------- Pricing ---------- */
.pricing-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  display: flex; flex-direction: column;
  transition: transform var(--dur-med) var(--ease-spring), box-shadow var(--dur-med), border-color var(--dur-med);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pricing-card.featured { border-color: var(--primary); box-shadow: var(--shadow-glow); position: relative; }
.pricing-card .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 0.35rem 1rem; border-radius: var(--radius-pill); white-space: nowrap; }
.pricing-card h3 { font-size: 1.3rem; }
.pricing-card .tagline { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--space-2); }
.pricing-card .price-cta { margin-top: var(--space-6); font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.pricing-card .check-list { margin-top: var(--space-6); flex-grow: 1; }
.pricing-card .btn { margin-top: var(--space-6); }

/* ---------- Timeline (About) ---------- */
.timeline { position: relative; padding-left: var(--space-7); }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border-strong); }
.timeline-item { position: relative; padding-bottom: var(--space-7); }
.timeline-item::before { content: ""; position: absolute; left: calc(-1 * var(--space-7) + 1px); top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary); }
.timeline-item h4 { font-size: 1.05rem; }
.timeline-item .yr { color: var(--primary); font-weight: 700; font-size: var(--fs-sm); }
.timeline-item p { margin-top: var(--space-2); color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Values grid ---------- */
.value-card { padding: var(--space-6) 0; border-top: 1px solid var(--border); }
.value-card:first-child { border-top: none; }
.value-card .flex { gap: var(--space-6); align-items: flex-start; }
.value-card .num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--border-strong); flex-shrink: 0; width: 3ch; }

/* ---------- Page header (interior pages) ---------- */
.page-hero { padding-block: var(--space-8) var(--space-7); background: var(--surface); position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: var(--fs-xs); color: var(--muted-2); margin-bottom: var(--space-4); }
.breadcrumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: var(--fs-h1); max-width: 20ch; }
.page-hero .lead { margin-top: var(--space-4); font-size: var(--fs-lead); color: var(--muted); max-width: 60ch; }

/* ---------- Filters (blog) ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; margin-bottom: var(--space-8); }
.chip-group { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { padding: 0.5rem 1.1rem; border-radius: var(--radius-pill); border: 1.5px solid var(--border); font-size: var(--fs-sm); font-weight: 600; color: var(--muted); transition: all var(--dur-fast); }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.search-box { position: relative; }
.search-box input { padding-left: 2.6rem; min-width: 220px; }
.search-box svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); }

/* ---------- Map placeholder ---------- */
.map-placeholder {
  aspect-ratio: 16/9; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background:
    linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.map-placeholder .pin { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); position: relative; z-index: 1; }
.map-placeholder .pin .dot { width: 54px; height: 54px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(1,100,165,0.12), 0 0 0 16px rgba(1,100,165,0.06); }
.map-placeholder .pin span { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); background: #fff; padding: 0.5rem 1rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.map-placeholder .grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 42px 42px; opacity: 0.6; }

/* ---------- Animations: fade/slide on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-spring), transform var(--dur-slow) var(--ease-spring); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .floating-card { animation: none; }
}

/* ---------- Icon system (Lucide sprite) ---------- */
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-solid { fill: currentColor; stroke: none; }

/* ---------- Utility spacing ---------- */
.mt-2 { margin-top: var(--space-2); } .mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); } .mb-4 { margin-bottom: var(--space-4); } .mb-6 { margin-bottom: var(--space-6); } .mb-8 { margin-bottom: var(--space-8); }

/* Back to top */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); border: none; opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity var(--dur-med), transform var(--dur-med), background var(--dur-fast);
  z-index: 90;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-700); }
.back-to-top svg { width: 20px; height: 20px; }
