/*
 * Timing Solutions Limited — Design System
 * =========================================
 * Brand palette derived from logo (logo-1-bez-pozadi.png):
 *   - The logo uses white wordmark + geometric network motif on transparent bg.
 *   - Orange accent dots: #F05A00 (vivid orange, ~rgb 240,90,0)
 *   - Logo mood: clean, modern, geometric sans-serif; technical precision.
 *
 * Color palette:
 *   --color-primary:    #F05A00   (orange — logo accent, CTAs, highlights)
 *   --color-primary-dk: #C44800   (dark orange — hover states)
 *   --color-dark:       #242424   (anthracite — hero bg, footer, logo bg)
 *   --color-dark-2:     #303030   (lighter anthracite — card surfaces)
 *   --color-bg:         #FFFFFF   (white — main page background)
 *   --color-surface:    #FFFFFF   (pure white — card backgrounds)
 *   --color-text:       #242424   (anthracite — body text)
 *   --color-muted:      #666666   (medium grey — secondary text)
 *   --color-border:     #E5E5E5   (light grey — dividers, card borders)
 *
 * Typography:
 *   Display: "Outfit" (Google Fonts) — geometric, modern, matches the logo's
 *            clean technical personality.
 *   Body:    "Inter" (Google Fonts) — humanist sans, excellent readability,
 *            widely trusted in technical/B2B contexts.
 */

/* ─── Google Fonts ─────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS Custom Properties ────────────────────────────────────────────── */
:root {
  /* Colors */
  --color-primary:    #F05A00;
  --color-primary-dk: #C44800;
  --color-primary-lt: #FF7A20;
  --color-dark:       #242424;
  --color-dark-2:     #303030;
  --color-dark-3:     #3A3A3A;
  --color-bg:         #FFFFFF;
  --color-surface:    #FFFFFF;
  --color-text:       #242424;
  --color-muted:      #666666;
  --color-border:     #E5E5E5;
  --color-border-dk:  #4A4A4A;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing scale (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl:  0 20px 50px rgba(0,0,0,0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Motion — easing curve used across scroll-reveal & micro-interactions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Hover color tokens (within existing palette — darker/lighter orange) */
  --color-primary-hover: #D94F00;   /* between primary-dk and primary, for button lift */
  --shadow-card-hover:   0 16px 48px rgba(0,0,0,0.22), 0 4px 12px rgba(0,0,0,0.10);
  --shadow-card-lift:    0 20px 60px rgba(0,0,0,0.30), 0 6px 16px rgba(0,0,0,0.12);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 120px;
  --nav-height-scrolled: 104px;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ─── Utility ───────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section-padding {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-primary-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240,90,0,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

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

.btn-outline-dark:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ─── Navigation ────────────────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

#site-nav.scrolled {
  background: rgba(36, 36, 36, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border-dk);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 80ms linear;
  z-index: 1200;
  box-shadow: 0 0 12px rgba(240,90,0,0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.nav-logo img {
  height: 96px;
  width: auto;
  transition: height 350ms var(--ease-out-expo);
}

#site-nav.scrolled .nav-logo img {
  height: 84px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links a.active {
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.nav-cta {
  padding: var(--space-2) var(--space-6);
  background-color: var(--color-primary);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  transition: background-color var(--transition-fast) !important;
}

.nav-cta:hover {
  background-color: var(--color-primary-dk) !important;
  color: #fff !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

/* ─── Hero ──────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(36,36,36,0.3) 0%,
    rgba(36,36,36,0.0) 30%,
    rgba(36,36,36,0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + var(--space-20)) 0 var(--space-24);
  max-width: 760px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(240,90,0,0.15);
  border: 1px solid rgba(240,90,0,0.3);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-lt);
  margin-bottom: var(--space-6);
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, var(--text-6xl));
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero-title span {
  display: block;
  color: #fff;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-actions .btn {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: #fff;
}

.hero-actions .btn:hover {
  background: rgba(240,90,0,0.12);
  border-color: var(--color-primary-lt);
  color: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.4);
  font-size: var(--text-xs);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Clients / Trust Bar ───────────────────────────────────────────────── */
#clients {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-10) 0;
}

.clients-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-8);
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8) var(--space-12);
}

.client-item {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.03em;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.client-item:hover {
  opacity: 1;
  color: var(--color-text);
}

/* ─── Why Accurate Time Matters ─────────────────────────────────────────── */
#time-matters {
  background: #F3F3F3;
  border-bottom: 1px solid var(--color-border);
}

.time-matters-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: var(--space-16);
  align-items: start;
}

.time-matters-copy {
  max-width: 760px;
}

.time-matters-copy .section-title {
  margin-bottom: var(--space-6);
}

.time-matters-copy p {
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.time-matters-copy .time-matters-lead {
  color: var(--color-text);
  font-weight: 600;
}

.time-matters-copy p:last-child {
  margin-bottom: 0;
}

.timing-risk-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.timing-risk-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 3px;
  background: var(--color-primary);
  animation: signal-sweep 3.2s var(--ease-out-expo) infinite;
}

@keyframes signal-sweep {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateX(350%); opacity: 0; }
}

.timing-risk-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.timing-risk-list {
  display: grid;
  gap: var(--space-6);
}

.timing-risk-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: var(--space-4);
  transition: transform 250ms var(--ease-out-expo);
}

.timing-risk-item:hover {
  transform: translateX(4px);
}

.timing-risk-item > span {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(240,90,0,0.35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-primary);
  background: rgba(240,90,0,0.08);
  animation: soft-pulse 2.8s ease-in-out infinite;
}

.timing-risk-item:nth-child(2) > span {
  animation-delay: 350ms;
}

.timing-risk-item:nth-child(3) > span {
  animation-delay: 700ms;
}

@keyframes soft-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,90,0,0); }
  50% { box-shadow: 0 0 0 7px rgba(240,90,0,0.10); }
}

.timing-risk-item strong {
  display: block;
  color: var(--color-text);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.timing-risk-item p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

#what-this-protects {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.protection-header {
  max-width: 760px;
  margin-bottom: var(--space-12);
}

.protection-header p {
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: 1.7;
}

.protection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.protection-card {
  background: #F3F3F3;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition: transform 260ms var(--ease-out-expo), box-shadow 260ms var(--ease-out-expo), border-color 260ms var(--ease-out-expo), background-color 260ms var(--ease-out-expo);
}

.protection-card::after {
  content: '';
  position: absolute;
  left: var(--space-6);
  right: var(--space-6);
  bottom: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out-expo);
}

.protection-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240,90,0,0.45);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}

.protection-card:hover::after {
  transform: scaleX(1);
}

.protection-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  transition: color 260ms var(--ease-out-expo);
}

.protection-card:hover h3 {
  color: var(--color-primary);
}

.protection-card p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ─── About ─────────────────────────────────────────────────────────────── */
#about {
  background: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-text p {
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--color-text);
  font-weight: 600;
}

.about-text a {
  color: var(--color-primary);
  font-weight: 700;
}

.about-text a strong {
  color: inherit;
}

.about-text a:hover {
  color: var(--color-primary-dk);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.4;
}

/* ─── Services ──────────────────────────────────────────────────────────── */
#services {
  background: var(--color-dark);
  color: #fff;
}

#services .section-title {
  color: #fff;
}

#services .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--color-dark-2);
  border: 1px solid var(--color-border-dk);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover {
  border-color: rgba(240,90,0,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(240,90,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--color-primary);
}

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

.service-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.service-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.service-tag {
  font-size: var(--text-xs);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary-lt);
  background: rgba(240,90,0,0.1);
  border: 1px solid rgba(240,90,0,0.2);
  border-radius: var(--radius-full);
  padding: 2px var(--space-3);
}

/* ─── Why Us ─────────────────────────────────────────────────────────────── */
#why-us {
  background: #F3F3F3;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}

.highlight-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
}

.highlight-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(240,90,0,0.2);
}

.highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(240,90,0,0.15), rgba(240,90,0,0.05));
  border: 1px solid rgba(240,90,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--color-primary);
}

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

.highlight-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.highlight-desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.7;
}

/* ─── Contact ────────────────────────────────────────────────────────────── */
#contact {
  background: var(--color-dark);
  color: #fff;
}

#contact .section-title {
  color: #fff;
}

#contact .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(240,90,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item-text {
  padding-top: var(--space-1);
}

.contact-item-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-1);
}

.contact-item-value {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.contact-item-value a {
  color: var(--color-primary-lt);
  transition: color var(--transition-fast);
}

.contact-item-value a:hover {
  color: var(--color-primary);
}

.filt { display: none; }

.contact-form {
  background: var(--color-dark-2);
  border: 1px solid var(--color-border-dk);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}

.form-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border-dk);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255,255,255,0.9);
  transition: border-color var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-primary);
  background: rgba(255,255,255,0.08);
}

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

.form-select option {
  background: var(--color-dark-2);
  color: #fff;
}

.form-submit {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.form-submit:hover {
  background: var(--color-primary-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240,90,0,0.4);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
#footer {
  background: #181818;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-10) 0 var(--space-8);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer-logo {
  display: block;
  width: min(380px, 100%);
  flex-shrink: 0;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: rgba(255,255,255,0.85);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-copy {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

/* ─── Mobile Nav Drawer ─────────────────────────────────────────────────── */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(36, 36, 36, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-dk);
  z-index: 999;
  padding: var(--space-6);
  flex-direction: column;
  gap: var(--space-4);
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition-fast);
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
  color: var(--color-primary);
}

.nav-mobile-menu a.nav-cta {
  text-align: center;
  border-radius: var(--radius-full);
  border-bottom: none;
  margin-top: var(--space-2);
  padding: var(--space-3) var(--space-6);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .time-matters-layout,
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .protection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 104px;
    --nav-height-scrolled: 92px;
  }

  .nav-logo img {
    height: 84px;
  }

  #site-nav.scrolled .nav-logo img {
    height: 75px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .section-padding {
    padding: var(--space-16) 0;
  }

  .hero-content {
    padding-top: calc(var(--nav-height) + var(--space-12));
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

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

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

  .contact-form {
    padding: var(--space-6);
  }

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

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

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

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

  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .hero-actions .btn {
    justify-content: center;
  }
}

/* ─── Scroll-reveal classes (added by script.js) ────────────────────────── */
.reveal-hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOTION & FLOW — scroll-reveal, nav transitions, hero entrance, parallax,
   card micro-interactions, button polish, section rhythm, smooth scrolling.
   All animations use transform/opacity only (no layout thrash).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Smooth anchor scrolling ─────────────────────────────────────────── */
/* scroll-behavior: smooth is already set on html; add scroll-margin-top to
   every section so headings aren't hidden behind the sticky nav. */
#about,
#services,
#national-timing-grid,
#what-this-protects,
#why-us,
#contact {
  scroll-margin-top: var(--nav-height);
}

/* ── 2. Sticky nav — transparent → solid transition ─────────────────────── */
/* Base state: fully transparent, text already white from original rules.    */
#site-nav {
  background: transparent;
  transition: background 350ms var(--ease-out-expo),
              box-shadow 350ms var(--ease-out-expo),
              height 350ms var(--ease-out-expo);
}

/* Scrolled state: solid anthracite, soft shadow, slight height reduction */
#site-nav.scrolled {
  background: rgba(36, 36, 36, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border-dk), 0 4px 24px rgba(0,0,0,0.25);
  height: var(--nav-height-scrolled);
}

/* ── 3. Hero entrance — staggered fade/rise on load ─────────────────────── */
/* Elements start invisible; JS adds .hero-loaded to #hero to trigger them. */
.hero-label,
.hero-title,
.hero-subtitle,
.hero-actions {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}

/* Stagger: each child triggers 120 ms after the previous */
#hero.hero-loaded .hero-label   { opacity: 1; transform: translateY(0); transition-delay: 0ms; }
#hero.hero-loaded .hero-title   { opacity: 1; transform: translateY(0); transition-delay: 120ms; }
#hero.hero-loaded .hero-subtitle{ opacity: 1; transform: translateY(0); transition-delay: 240ms; }
#hero.hero-loaded .hero-actions { opacity: 1; transform: translateY(0); transition-delay: 360ms; }

/* ── 4. Hero parallax container ─────────────────────────────────────────── */
/* .hero-bg is moved via JS (translateY), overflow:hidden on #hero clips it. */
.hero-bg {
  will-change: transform;
}

/* ── 5. Service-card micro-interactions (upgrade existing hover) ─────────── */
.service-card {
  transition: border-color 300ms var(--ease-out-expo),
              box-shadow   300ms var(--ease-out-expo),
              transform    300ms var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-lift);
  border-color: rgba(240,90,0,0.35);
}

.service-card:active {
  transform: scale(0.99);
  transition-duration: 100ms;
}

/* ── 6. Highlight-card micro-interactions ────────────────────────────────── */
.highlight-card {
  transition: border-color 300ms var(--ease-out-expo),
              box-shadow   300ms var(--ease-out-expo),
              transform    300ms var(--ease-out-expo);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(240,90,0,0.25);
}

.highlight-card:active {
  transform: scale(0.99);
  transition-duration: 100ms;
}

/* ── 7. Stat-card micro-interactions ─────────────────────────────────────── */
.stat-card {
  transition: border-color 300ms var(--ease-out-expo),
              box-shadow   300ms var(--ease-out-expo),
              transform    300ms var(--ease-out-expo);
}

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

/* ── 8. Button polish — lift + shadow + within-palette color shift ────────── */
.btn {
  transition: background-color 250ms var(--ease-out-expo),
              transform        250ms var(--ease-out-expo),
              box-shadow       250ms var(--ease-out-expo),
              border-color     250ms var(--ease-out-expo);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240,90,0,0.40);
}

.btn-primary:active {
  transform: scale(0.98);
  transition-duration: 100ms;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.btn-outline:active {
  transform: scale(0.98);
  transition-duration: 100ms;
}

.form-submit {
  transition: background-color 250ms var(--ease-out-expo),
              transform        250ms var(--ease-out-expo),
              box-shadow       250ms var(--ease-out-expo);
}

.form-submit:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,90,0,0.45);
}

.form-submit:active {
  transform: scale(0.98);
  transition-duration: 100ms;
}

/* ── 9. Section rhythm — generous, consistent vertical breathing room ──────
   Services (dark) and Contact (dark) already have section-padding.
   Add a subtle top gradient divider on alternating sections via pseudo-
   element, using only existing palette colors.                              */
#clients {
  position: relative;
}

#about {
  position: relative;
}
/* Subtle top-edge separator shadow between hero and clients */
#clients::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--color-border);
}

/* Thin orange-tinged divider top of services dark section */
#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.35;
}
#services { position: relative; }

/* Thin divider at top of contact dark section */
#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.25;
}
#contact { position: relative; }

/* ── 10. Client items — fade-in stagger via reveal ───────────────────────── */
.client-item {
  transition: opacity 250ms var(--ease-out-expo),
              color   250ms var(--ease-out-expo);
}

/* ── 11. Nav CTA button — polish transition ──────────────────────────────── */
.nav-cta {
  transition: background-color 200ms var(--ease-out-expo),
              transform        200ms var(--ease-out-expo),
              box-shadow       200ms var(--ease-out-expo) !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240,90,0,0.35) !important;
}

/* ── 12. prefers-reduced-motion — disable all transforms & animations ────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration:   0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration:  0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep reveal elements visible — no fade/slide */
  .reveal-hidden {
    opacity: 1;
    transform: none;
  }

  /* Keep hero content visible from the start */
  .hero-label,
  .hero-title,
  .hero-subtitle,
  .hero-actions {
    opacity: 1;
    transform: none;
  }

  /* No parallax */
  .hero-bg {
    transform: none !important;
  }
}


/* ─── New homepage structure ───────────────────────────────────────────── */
.section-header-left {
  text-align: left;
  max-width: 820px;
}

.section-header-left .section-subtitle {
  margin-left: 0;
  margin-right: 0;
  max-width: 760px;
}

#time-matters {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.timing-proof-strip {
  display: grid;
  gap: var(--space-4);
}

#risk {
  background: #F3F3F3;
  border-bottom: 1px solid var(--color-border);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.risk-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  min-height: 220px;
  transition: transform 260ms var(--ease-out-expo), box-shadow 260ms var(--ease-out-expo), border-color 260ms var(--ease-out-expo);
}

.risk-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240,90,0,0.35);
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}

.risk-card-wide {
  grid-column: span 2;
}

.risk-card span,
.case-label,
.proof-card span {
  display: inline-flex;
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.risk-card h3,
.provide-card h3,
.proof-card h3,
.case-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.25;
  margin-bottom: var(--space-3);
}

.risk-card p,
.provide-card p,
.proof-card p,
.case-card p,
.partners-copy {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.75;
}

#provide {
  background: var(--color-dark);
  color: #fff;
}

#provide .section-title {
  color: #fff;
}

#provide .section-subtitle {
  color: rgba(255,255,255,0.64);
}

.provide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.provide-card {
  background: var(--color-dark-2);
  border: 1px solid var(--color-border-dk);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: transform 300ms var(--ease-out-expo), box-shadow 300ms var(--ease-out-expo), border-color 300ms var(--ease-out-expo);
}

.provide-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240,90,0,0.35);
  box-shadow: var(--shadow-card-lift);
}

.provide-card h3 {
  color: #fff;
}

.provide-card p {
  color: rgba(255,255,255,0.65);
}

#benefits {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

#who-we-help {
  background: #F3F3F3;
  border-bottom: 1px solid var(--color-border);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-4);
}

.audience-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  transition: transform 260ms var(--ease-out-expo), box-shadow 260ms var(--ease-out-expo), color 260ms var(--ease-out-expo);
}

.audience-card:hover {
  transform: translateY(-4px);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

#proof {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: var(--space-16);
  align-items: start;
}

.proof-copy p {
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.proof-copy p:last-child {
  margin-bottom: 0;
}

.proof-copy a {
  color: var(--color-primary);
  font-weight: 700;
}

.proof-copy a strong {
  color: inherit;
}

.proof-cards {
  display: grid;
  gap: var(--space-5);
}

.proof-card {
  background: #F3F3F3;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}

#partners {
  background: var(--color-dark);
  color: #fff;
}

#partners .section-title {
  color: #fff;
}

.partners-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: var(--space-16);
  align-items: start;
}

.partners-copy {
  color: rgba(255,255,255,0.68);
  font-size: var(--text-lg);
  max-width: 720px;
  margin-bottom: var(--space-8);
}

.partners-grid {
  justify-content: flex-start;
  gap: var(--space-3);
}

#partners .client-item {
  opacity: 1;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.04);
}

.testimonial-card {
  background: var(--color-dark-2);
  border: 1px solid var(--color-border-dk);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.35;
  color: #fff;
  margin-bottom: var(--space-6);
}

.testimonial-card figcaption {
  color: rgba(255,255,255,0.52);
  font-size: var(--text-sm);
  line-height: 1.6;
}

#case-studies {
  background: #F3F3F3;
  border-bottom: 1px solid var(--color-border);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: transform 260ms var(--ease-out-expo), box-shadow 260ms var(--ease-out-expo), border-color 260ms var(--ease-out-expo);
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240,90,0,0.35);
  box-shadow: var(--shadow-lg);
}

.case-card a {
  display: inline-flex;
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}

#time-matters,
#risk,
#provide,
#benefits,
#services,
#who-we-help,
#proof,
#partners,
#case-studies,
#contact,
#national-timing-grid {
  scroll-margin-top: var(--nav-height);
}

@media (max-width: 1024px) {
  .risk-grid,
  .provide-grid,
  .audience-grid,
  .proof-layout,
  .partners-layout,
  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .risk-card-wide {
    grid-column: auto;
  }

  .proof-layout,
  .partners-layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

@media (max-width: 768px) {
  .risk-grid,
  .provide-grid,
  .audience-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .section-header-left {
    text-align: left;
  }

  .testimonial-card blockquote {
    font-size: var(--text-xl);
  }
}


@media (max-width: 1120px) {
  .nav-links {
    gap: var(--space-5);
  }

  .nav-links a {
    font-size: var(--text-sm);
  }

  .nav-cta {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

/* ─── Center section text except hero ───────────────────────────────────── */
body > section:not(#hero) {
  text-align: center;
}

body > section:not(#hero) .section-header,
body > section:not(#hero) .section-header-left,
body > section:not(#hero) .time-matters-copy,
body > section:not(#hero) .protection-header,
body > section:not(#hero) .proof-copy,
body > section:not(#hero) .partners-copy {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

body > section:not(#hero) .section-subtitle,
body > section:not(#hero) .section-header-left .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

body > section:not(#hero) .risk-card,
body > section:not(#hero) .provide-card,
body > section:not(#hero) .protection-card,
body > section:not(#hero) .proof-card,
body > section:not(#hero) .testimonial-card,
body > section:not(#hero) .case-card,
body > section:not(#hero) .stat-card {
  text-align: center;
}

body > section:not(#hero) .partners-grid,
body > section:not(#hero) .service-tags {
  justify-content: center;
}

body > section:not(#hero) .contact-item {
  justify-content: center;
  text-align: center;
}

body > section:not(#hero) .contact-item-text {
  padding-top: 0;
}

body > section:not(#hero) .contact-form,
body > section:not(#hero) .form-group,
body > section:not(#hero) .form-label,
body > section:not(#hero) .form-input,
body > section:not(#hero) .form-select,
body > section:not(#hero) .form-textarea {
  text-align: left;
}

/* ─── Trusted logos, team, and detail pages ─────────────────────────────── */
.time-matters-layout {
  grid-template-columns: 1fr;
}

.trusted-strip {
  margin: var(--space-16) auto 0;
  max-width: 980px;
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border);
}

.trusted-strip h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-8);
}

.trusted-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: var(--space-4);
  align-items: center;
}

.trusted-logo-grid img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.risk-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.risk-card {
  grid-column: span 2;
}

.risk-card-offset {
  grid-column: 2 / span 2;
}

.service-link,
.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-6);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  transition: background-color 250ms var(--ease-out-expo), transform 250ms var(--ease-out-expo), border-color 250ms var(--ease-out-expo);
}

.service-link:hover,
.detail-link:hover {
  background: rgba(240,90,0,0.16);
  border-color: var(--color-primary-lt);
  transform: translateY(-2px);
}

#team {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}

.team-card {
  background: #F3F3F3;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 260ms var(--ease-out-expo), box-shadow 260ms var(--ease-out-expo), border-color 260ms var(--ease-out-expo);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240,90,0,0.35);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--color-dark-2);
}

.team-card-body {
  padding: var(--space-8);
}

.team-card-body span {
  display: inline-flex;
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.team-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.team-card-body p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.team-card-body a {
  display: inline-flex;
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}

.detail-body {
  background: var(--color-bg);
}

.detail-main {
  padding-top: var(--nav-height);
}

.detail-hero {
  background: var(--color-dark);
  color: #fff;
  padding: var(--space-24) 0 var(--space-16);
  text-align: center;
}

.detail-hero .section-label,
.detail-hero .section-title {
  color: #fff;
}

.detail-hero .section-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.detail-hero p {
  max-width: 760px;
  margin: 0 auto var(--space-8);
  color: rgba(255,255,255,0.72);
  font-size: var(--text-lg);
  line-height: 1.75;
}

.detail-content {
  background: var(--color-surface);
  padding: var(--space-20) 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: var(--space-12);
  align-items: start;
}

.detail-copy {
  display: grid;
  gap: var(--space-8);
}

.detail-panel {
  background: #F3F3F3;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}

.detail-panel h2,
.detail-panel h3 {
  font-family: var(--font-display);
  line-height: 1.25;
  margin-bottom: var(--space-4);
}

.detail-panel p,
.detail-panel li {
  color: var(--color-muted);
  line-height: 1.75;
}

.detail-panel ul {
  display: grid;
  gap: var(--space-3);
  list-style: disc;
  padding-left: var(--space-6);
}

.detail-aside {
  display: grid;
  gap: var(--space-5);
}

.detail-aside-card {
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-8);
  border-top: 4px solid var(--color-primary);
}

.detail-aside-card h2,
.detail-aside-card h3 {
  font-family: var(--font-display);
  margin-bottom: var(--space-3);
}

.detail-aside-card p,
.detail-aside-card li {
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
}

.detail-aside-card ul {
  display: grid;
  gap: var(--space-3);
  list-style: disc;
  padding-left: var(--space-6);
}

body > section:not(#hero) .trusted-strip,
body > section:not(#hero) .team-card,
body > section:not(#hero) .team-card-body,
body > section:not(#hero) .detail-panel,
body > section:not(#hero) .detail-aside-card {
  text-align: center;
}

body > section:not(#hero) .detail-panel ul,
body > section:not(#hero) .detail-aside-card ul {
  text-align: left;
}

@media (max-width: 1024px) {
  .trusted-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .trusted-logo-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .risk-card,
  .risk-card-offset {
    grid-column: auto;
  }
}

/* ─── Team photo sizing and contact alignment ──────────────────────────── */
.team-card img {
  width: min(220px, calc(100% - var(--space-12)));
  margin: var(--space-8) auto 0;
  border-radius: var(--radius-md);
}

#contact .contact-info {
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  max-width: 440px;
  margin-right: auto;
}

#contact .contact-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  width: 100%;
}

#contact .contact-item-icon {
  margin: 0;
}

#contact .contact-item-text,
#contact .contact-item-label,
#contact .contact-item-value {
  text-align: left;
}

#contact .contact-item-text {
  flex: 1;
  padding-top: var(--space-1);
}

.detail-media {
  padding: var(--space-16) 0;
  background: #F3F3F3;
  text-align: center;
}

.detail-media figure {
  margin: var(--space-8) 0 var(--space-12);
}

.detail-media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.detail-media figcaption {
  max-width: 820px;
  margin: var(--space-4) auto 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

#news {
  background: var(--color-dark);
  scroll-margin-top: var(--nav-height);
}

#news .section-title,
.news-item h3 {
  color: #fff;
}

#news .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}

.news-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-8) var(--space-4);
  border-top: 1px solid var(--color-border-dk);
  transition: border-color var(--transition-base);
}

.news-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.4;
  margin-bottom: var(--space-5);
}

.news-link {
  margin-top: auto;
  color: var(--color-primary-lt);
  font-weight: 600;
}

.news-item:hover,
.news-item:focus-visible {
  border-color: var(--color-primary);
}

.news-item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Plain-language service summaries and operational evidence. */
.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.monitoring-preview {
  max-width: 980px;
  margin: var(--space-12) auto 0;
}

.monitoring-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border-dk);
  border-radius: 6px;
}

.monitoring-preview figcaption {
  max-width: 780px;
  margin: var(--space-4) auto 0;
  color: rgba(255,255,255,0.75);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.incident-example {
  max-width: 820px;
  margin: var(--space-12) auto 0;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-dk);
}

.incident-example h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.incident-example p {
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.services-grid .service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-purpose {
  color: #fff;
  font-weight: 600;
  line-height: 1.6;
  min-height: 3.2em;
  margin-bottom: var(--space-4);
}

.services-grid .service-tags {
  margin-top: auto;
  padding-top: var(--space-4);
}

.audience-grid .audience-card {
  display: block;
}

.audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#proof .service-link,
.detail-panel .detail-link {
  color: var(--color-text);
}

.audience-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.audience-card p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.7;
}

.partner-evidence h3 {
  color: #fff;
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.partner-evidence p {
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.form-delivery-note {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

@media (max-width: 1024px) {
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .workflow-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .service-purpose { min-height: 0; }
}

/* Display the transparent header logo at its native proportions. */
:root {
  --nav-height: 124px;
  --nav-height-scrolled: 124px;
}

#site-nav,
#site-nav.scrolled {
  background: var(--color-dark);
}

.nav-inner { gap: 28px; }

.nav-logo {
  position: relative;
  flex: 0 1 420px;
  width: 420px;
  aspect-ratio: 951 / 232;
  overflow: hidden;
}

.nav-logo img,
#site-nav.scrolled .nav-logo img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  filter: none;
  transition: none;
}

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

.migration-copy {
  max-width: 900px;
  display: grid;
  gap: var(--space-8);
}

.detail-main #proof,
.detail-main #team,
.detail-main #services,
.detail-main #news {
  text-align: center;
}

.detail-main #services .section-header,
.detail-main #news .section-header {
  text-align: center;
}

@media (min-width: 769px) and (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 14px; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 96px;
    --nav-height-scrolled: 96px;
  }
  .nav-logo { flex: 0 1 300px; width: 300px; }
  .nav-hamburger { flex-shrink: 0; }
}
