/* v2026.03.18 — "Quiet Authority" redesign */
/* ══════════════════════════════════════════
   RobellTech v3 — Dental IT / MSP
   Design: Banner | CSS: JARVIS | Frontend: Peter
   Brief: DESIGN-BRIEF.md
   ══════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── DESIGN TOKENS ── */
:root {
  /* Palette — Original RobellTech blues */
  --navy: #0a1a2e;
  --primary: #0F4C81;
  --primary-light: #1A6BB5;
  --accent: #2E90D1;
  --accent-light: #4FB3E8;
  --teal: #1A6BB5;
  --teal-light: #2E90D1;
  --copper: #2E90D1;
  --copper-dark: #1A6BB5;
  --copper-glow: rgba(46, 144, 209, 0.3);
  --gradient: linear-gradient(135deg, #0F4C81, #2E90D1);
  --gradient-text: linear-gradient(135deg, #0F4C81, #2E90D1);
  --gradient-warm: linear-gradient(135deg, #0F4C81 0%, #1A6BB5 50%, #2E90D1 100%);
  --bg: #FAFBFC;
  --surface: #F2F4F7;
  --white: #FFFFFF;
  --text: #1A1D23;
  --text-secondary: #5A6069;
  --text-tertiary: #8B919A;
  --border: rgba(0, 0, 0, 0.07);
  --border-light: rgba(0, 0, 0, 0.05);
  --section-bg: #F2F4F7;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(0, 0, 0, 0.06);

  /* Layout */
  --max-width: 1080px;
  --narrow-width: 680px;
  --wide-width: 1200px;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.75;
  font-size: 16px;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── PAGE LOAD ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) forwards;
}
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.35s; }
.anim-delay-4 { animation-delay: 0.5s; }

/* ── SCROLL REVEAL (multi-direction) ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-fade.visible {
  opacity: 1;
  transform: translate(0, 0);
}
/* Staggered reveal delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }
.reveal-delay-4 { transition-delay: 0.5s; }

/* ── UTILITIES ── */
.overline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.dark-section .overline { color: var(--teal-light); }

.accent-text { color: var(--copper); }
.mono { font-family: var(--font-mono); }

/* Kill gradient text globally */
.gradient-text {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--copper);
  background-clip: unset;
  color: var(--copper);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  background: transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(12, 30, 46, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--teal);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
}
.logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #fff;
  transition: color 0.3s ease;
}
.logo span { color: var(--teal-light); }
nav:not(.scrolled) .logo { color: #fff; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
nav.scrolled .nav-links a { color: rgba(255, 255, 255, 0.7); }
.nav-links a:hover,
.nav-links a.active { color: #fff; }

/* Nav underline slide animation */
.nav-links > a::after,
.nav-dropdown > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-light);
  transition: width 0.3s var(--ease-out);
}
.nav-links > a:hover::after,
.nav-dropdown:hover > a::after { width: 100%; }

/* Nav dropdown chevron */
.nav-dropdown { position: relative; }
.nav-dropdown > a { padding-right: 14px; }
.nav-dropdown > a .chevron {
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-bottom: 2px;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover > a .chevron { transform: rotate(-135deg); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.35rem 0;
  min-width: 140px;
  max-height: 380px;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  clip: rect(0, 0, 0, 0);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  clip: auto;
  overflow: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li { padding: 0; }
.dropdown-menu li a {
  display: block;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #1A1D23 !important;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  line-height: 1.3;
}
.dropdown-menu li a::after { display: none; }
.dropdown-menu li a:hover {
  background: var(--surface);
  color: var(--teal);
}

/* Nested dropdown */
.dropdown-menu li.has-sub { position: relative; }
.dropdown-menu li.has-sub > a::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  margin-left: auto;
  float: right;
  margin-top: 0.5em;
}
.dropdown-menu .sub-menu {
  position: absolute;
  left: 100%;
  top: -0.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.35rem 0;
  min-width: 120px;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(4px);
  z-index: 210;
}
.dropdown-menu li.has-sub:hover > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  clip: auto;
  overflow: visible;
  overflow-y: auto;
  transform: translateX(0);
}
.sub-menu li a {
  display: block;
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #1A1D23 !important;
  white-space: nowrap;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease;
}
.sub-menu li a:hover {
  background: var(--surface);
  color: var(--teal);
}
.dropdown-menu .blog-all-link {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
  padding-bottom: 0.5rem;
}
/* dropdown sizing handled in .dropdown-menu directly */

.nav-connect {
  padding: 0.45rem 1rem;
  color: #fff;
  background: var(--teal);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin-right: 0.5rem;
}
.nav-connect:hover { background: var(--teal-light); transform: translateY(-1px); }

.nav-cta {
  padding: 0.5rem 1.3rem;
  background: var(--copper);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--copper-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--copper-glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ── HERO ── */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 7rem 2rem 4rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
/* Animated particle canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
/* Floating orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 144, 209, 0.25) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: orbFloat1 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 107, 181, 0.2) 0%, transparent 70%);
  bottom: -15%;
  left: -5%;
  animation: orbFloat2 22s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
/* Floating geometric shapes */
.hero-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}
.hero-shape-1 {
  width: 120px; height: 120px;
  border: 2px solid rgba(46, 144, 209, 0.5);
  border-radius: 24px;
  top: 15%; right: 12%;
  animation: shapeFloat 16s ease-in-out infinite, shapeSpin 40s linear infinite;
}
.hero-shape-2 {
  width: 80px; height: 80px;
  border: 2px solid rgba(46, 144, 209, 0.4);
  border-radius: 50%;
  top: 60%; right: 25%;
  animation: shapeFloat 20s ease-in-out infinite reverse, shapeSpin 50s linear infinite reverse;
}
.hero-shape-3 {
  width: 60px; height: 60px;
  border: 2px solid rgba(46, 144, 209, 0.3);
  top: 30%; right: 35%;
  animation: shapeFloat 14s ease-in-out infinite 2s, shapeSpin 35s linear infinite;
}
.hero-shape-4 {
  width: 100px; height: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  bottom: 20%; right: 8%;
  animation: shapeFloat 18s ease-in-out infinite 4s, shapeSpin 45s linear infinite reverse;
}
@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
  100% { transform: translate(20px, -20px) scale(0.95); }
}
@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.15); }
  100% { transform: translate(-20px, 20px) scale(0.9); }
}
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}
@keyframes shapeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  background: transparent;
  color: var(--teal-light);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border: none;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 680px;
  color: #fff;
}
.hero h1 .accent-text { color: var(--copper); }
.hero p {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.75;
}
.hero-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}
.hero-stat {
  padding: 0 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }
.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 400;
  color: var(--copper);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--copper);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--copper-dark);
  transform: scale(1.02);
  box-shadow: 0 4px 20px var(--copper-glow);
}
.btn-primary .btn-arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  color: var(--teal-light);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--teal);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: transparent;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 7rem 2rem 3rem;
  text-align: left;
  background: var(--navy);
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 600px;
  color: #fff;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--text-tertiary);
  max-width: 500px;
  line-height: 1.7;
}

/* ── SECTIONS ── */
.story-section {
  padding: 5rem 2rem;
}
.story-section.alt { background: var(--surface); }
.story-section.dark-section {
  background: var(--navy);
  color: #fff;
}
.story-section.dark-section h2 { color: #fff; }
.story-section.dark-section p.lead { color: var(--text-tertiary); }
.story-section.dark-section .tile { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.story-section.dark-section .tile:hover { background: rgba(255, 255, 255, 0.07); }
.story-section.dark-section .tile h3 { color: #fff; }
.story-section.dark-section .tile p { color: var(--text-tertiary); }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.story-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 600px;
}
/* Left-aligned by default, can be centered with .text-center */
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.text-center h2 { margin-left: auto; margin-right: auto; }

.story-section p.lead {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.75;
}
.text-center p.lead { margin-left: auto; margin-right: auto; }

/* ── TILE GRID ── */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.tile {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: background 0.3s;
  position: relative;
}
.tile::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2px;
  height: 0;
  background: var(--teal);
  transition: height 0.3s var(--ease-out);
}
.tile:hover { background: var(--bg); }
.tile:hover::before { height: 100%; }
.tile-icon { margin-bottom: 1rem; width: 36px; height: 36px; color: var(--teal); }
.tile-icon svg { width: 100%; height: 100%; }
.tile h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.tile p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* ── INDUSTRIES GRID (asymmetric) ── */
.industry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: 14px;
  padding: 2rem;
  text-align: left;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.industry-card:hover {
  border-left-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.industry-card.featured {
  grid-column: 1 / -1;
  border-left-width: 4px;
  border-left-color: var(--teal);
  background: var(--white);
}
.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.industry-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.industry-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s var(--ease-out);
}
.industry-link:hover { gap: 0.6rem; }

/* ── PLATFORM GRID ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.platform-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.15s;
  box-shadow: var(--card-shadow);
}
.platform-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.platform-name { font-size: 0.88rem; font-weight: 600; color: var(--text); }

.platform-os {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}
.platform-os span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

/* ── PROCESS LIST ── */
.process-list {
  max-width: 600px;
  margin: 0 auto;
}
.process-item {
  display: flex;
  gap: 1.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  text-align: left;
}
.process-item:last-child { border-bottom: none; }
.process-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  min-width: 50px;
  color: var(--copper);
}
.process-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}
.process-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

/* ── STATS ── */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 5rem 2rem;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  padding: 0 3rem;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--copper);
}
.stat-label {
  color: var(--text-tertiary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dark-section .stat { border-right-color: rgba(255, 255, 255, 0.1); }

/* ── WHY GRID ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-align: left;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.3s;
  position: relative;
}
.why-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--teal);
  border-radius: 1px;
  transition: height 0.3s var(--ease-out);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.why-card:hover::before { height: 60%; }
.why-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.why-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* Dark section why-cards */
.dark-section .why-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
.dark-section .why-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--teal);
}
.dark-section .why-card::before { background: var(--teal-light); }
.dark-section .why-card h4 { color: #fff; }
.dark-section .why-card p { color: var(--text-tertiary); }

/* ── SPEED COMPARISON ── */
.speed-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.speed-card {
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
}
.speed-them {
  background: var(--surface);
  border: 1px solid var(--border-light);
  opacity: 0.8;
}
.speed-us {
  background: var(--white);
  border-left: 3px solid var(--teal);
  box-shadow: var(--card-shadow);
}
.speed-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.speed-them .speed-label { color: var(--text-tertiary); }
.speed-us .speed-label { color: var(--teal); }
.speed-item {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.speed-item:last-child { border-bottom: none; }
.speed-us .speed-item { color: var(--text); font-weight: 500; }

/* ── TESTIMONIAL CAROUSEL ── */
.carousel-section {
  background: var(--navy);
  padding: 4.5rem 2rem;
  position: relative;
}
.carousel-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.carousel-wrapper {
  position: relative;
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 12px;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 0 0 calc(33.333% - 1rem);
  margin: 0 0.5rem;
  min-height: 240px;
}
.testimonial-quote {
  color: var(--teal-light);
  font-size: 2rem;
  line-height: 1;
  font-family: var(--font-display);
}
.testimonial-stars { display: flex; gap: 2px; }
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--copper);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 0.15rem;
}
.carousel-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
  color: rgba(255, 255, 255, 0.6);
}
.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.08);
  color: #fff;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--teal-light);
  transform: scale(1.3);
}

/* ── SERVICE FEATURE SECTION ── */
.feature-section {
  padding: 5rem 2rem;
}
.feature-section.alt { background: var(--surface); }
.feature-section .overline { margin-bottom: 1rem; }
.feature-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 600px;
}
.feature-section p.desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.75;
}
.feature-section .feature-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.feature-tag {
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── CONNECT BANNER ── */
.connect-banner {
  padding: 0 2rem;
  margin-bottom: 2rem;
  margin-top: -1rem;
}
.connect-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  border-radius: 14px;
  padding: 2rem 2.5rem;
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.connect-text { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; line-height: 1.5; }
.connect-text strong { color: #fff; display: block; margin-bottom: 0.25rem; font-size: 1.1rem; letter-spacing: -0.01em; }
.connect-text span { opacity: 0.88; }
.connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: var(--copper);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--copper-glow);
  background: var(--copper-dark);
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 8rem;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.contact-detail-icon svg { width: 20px; height: 20px; }
.contact-detail-text { font-size: 0.9rem; color: var(--text-secondary); }
.contact-detail-text strong { display: block; color: var(--text); font-weight: 700; margin-bottom: 0.1rem; font-size: 0.85rem; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.25rem;
  box-shadow: var(--card-shadow);
}
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.btn-submit {
  width: 100%;
  padding: 0.8rem;
  background: var(--copper);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-submit:hover {
  background: var(--copper-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--copper-glow);
}

/* ── FINAL CTA ── */
.final-cta {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--navy);
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #fff;
}
.final-cta h2 .accent-text { color: var(--copper); }
.final-cta p {
  color: var(--text-tertiary);
  font-size: 1.05rem;
  max-width: 440px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: var(--copper);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.25s;
}
.cta-btn:hover {
  background: var(--copper-dark);
  transform: scale(1.02);
  box-shadow: 0 4px 20px var(--copper-glow);
}

/* ── FOOTER ── */
footer {
  padding: 3rem 2rem 2rem;
  border-top: 2px solid var(--teal);
  background: var(--navy);
  color: var(--text-tertiary);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}
.footer-logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.footer-logo span { color: var(--teal-light); }
.footer-tagline { font-size: 0.78rem; color: var(--text-tertiary); }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-tertiary); font-size: 0.82rem; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-contact { text-align: right; font-size: 0.82rem; color: var(--text-tertiary); line-height: 1.8; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-copy { color: var(--text-tertiary); font-size: 0.75rem; }
.footer-locations { color: var(--text-tertiary); font-size: 0.75rem; }

/* ── VALUES GRID (about page) ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.value-tile {
  background: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}
.value-icon { margin-bottom: 1.25rem; width: 40px; height: 40px; color: var(--teal); display: inline-block; }
.value-icon svg { width: 100%; height: 100%; }
.value-tile h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.value-tile p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; max-width: 260px; margin: 0 auto; }

/* ── AREA CARD ── */
.area-card {
  max-width: 600px;
  margin: 0 auto;
}
.area-card-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 3rem;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.area-icon { color: var(--teal); margin-bottom: 1.25rem; }
.area-card-inner h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}
.area-subtitle {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.area-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.area-cities span {
  padding: 0.4rem 1rem;
  background: var(--surface);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.area-note {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* ── IMAGE BREAKS ── */
.img-break {
  position: relative;
  overflow: hidden;
  max-height: 400px;
}
.img-break img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(0.65);
  transition: transform 0.6s ease;
}
.img-break:hover img { transform: scale(1.03); }
.img-break-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 3rem;
  background: linear-gradient(to top, rgba(12, 30, 46, 0.7) 0%, transparent 100%);
}
.img-break-overlay span {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
}

/* ── IMAGE PARALLAX ── */
.img-parallax {
  height: 350px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.img-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 30, 46, 0.75);
}
.img-parallax-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.img-parallax-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.img-parallax-content p {
  font-size: 1rem;
  color: var(--text-tertiary);
}

/* ── BLOG STYLES ── */
.blog-card {
  transition: transform 0.2s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.blog-post-date {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta, .nav-connect { display: none; }

  .hero { padding: 7rem 1.5rem 4rem; min-height: auto; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .hero-stat { padding: 0; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 1rem; }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }

  .page-hero { padding: 7rem 1.5rem 3rem; }

  .story-section, .feature-section { padding: 5rem 1.5rem; }
  .tile-grid, .values-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-featured .why-card { flex-direction: column; gap: 1.5rem; text-align: center; }
  .speed-compare { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 1.5rem; }
  .stat { padding: 1rem 0; border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .stat-value { font-size: 2.5rem; }
  .process-item { gap: 1.25rem; }
  .process-number { font-size: 2rem; min-width: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .final-cta { padding: 5rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .footer-contact { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .connect-inner { flex-direction: column; text-align: center; gap: 1rem; }

  .img-break img { height: 250px; }
  .img-parallax { height: 250px; background-attachment: scroll; }
  .img-parallax-content h3 { font-size: 1.3rem; }
  .img-break-overlay { padding: 1.5rem; }
}

@media (max-width: 900px) {
  .testimonial-card { flex: 0 0 calc(50% - 1rem); }
}
@media (max-width: 600px) {
  .testimonial-card { flex: 0 0 calc(100% - 1rem); }
  .carousel-btn { display: none; }
  .carousel-wrapper { gap: 0; }
}

/* What We Do section responsive */
@media (max-width: 768px) {
  .story-section > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
