/* ============================================================
   ArchiTECH MSP — Stylesheet
   Aesthetic: Cyber-Industrial — Military precision meets
   cutting-edge tech. Dark authority with electric accents.
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  /* Core palette */
  --navy-deepest: #050a18;
  --navy-deep: #0a1128;
  --navy-mid: #111d3a;
  --navy-light: #1a2744;
  --slate: #2a3a5c;
  --slate-light: #3d506e;

  /* Accent */
  --cyan: #00d4ff;
  --cyan-dim: #0099bb;
  --cyan-glow: rgba(0, 212, 255, 0.15);
  --cyan-glow-strong: rgba(0, 212, 255, 0.3);
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.15);
  --amber: #f59e0b;
  --red: #ef4444;

  /* Text */
  --text-white: #f1f5f9;
  --text-light: #cbd5e1;
  --text-muted: #8896b0;
  --text-dim: #5a6a88;

  /* Surface */
  --card-bg: rgba(17, 29, 58, 0.6);
  --card-border: rgba(42, 58, 92, 0.5);
  --card-hover-border: rgba(0, 212, 255, 0.3);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1280px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --gap: 1.5rem;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: 0.3s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  background: var(--navy-deepest);
  overflow-x: hidden;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.section-pad {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.text-center { text-align: center; }
.text-cyan { color: var(--cyan); }
.text-green { color: var(--green); }
.text-amber { color: var(--amber); }

/* --- Background Patterns --- */
.bg-grid {
  position: relative;
}

.bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-gradient-down {
  background: linear-gradient(180deg, var(--navy-deepest) 0%, var(--navy-deep) 100%);
}

.bg-gradient-up {
  background: linear-gradient(0deg, var(--navy-deepest) 0%, var(--navy-deep) 100%);
}

.bg-mid {
  background: var(--navy-mid);
}

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

h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
h5 { font-size: 1.1rem; font-weight: 600; }

p {
  max-width: 68ch;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
}

.subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 60ch;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy-deepest);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #33ddff;
  color: var(--navy-deepest);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan-dim);
}

.btn-secondary:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid var(--card-border);
}

.btn-ghost:hover {
  border-color: var(--slate-light);
  color: var(--text-white);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.btn svg, .btn .icon {
  width: 18px;
  height: 18px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(5, 10, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 0.6rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--navy-deepest);
  transition: transform 0.4s var(--ease);
}

.nav-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-logo:hover .logo-icon {
  transform: rotate(-4deg) scale(1.05);
}

/* Keep logo icon smaller in the scrolled pill nav */
.nav.scrolled .nav-logo .logo-icon {
  width: 28px;
  height: 28px;
}

/* Footer logo inherits the same treatment */
.footer-brand .nav-logo .logo-icon {
  width: 40px;
  height: 40px;
}

.nav-logo .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.nav-logo .logo-text span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--cyan);
}

.nav-cta {
  margin-left: 0.75rem;
}

.nav-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--card-border);
}

.badge-veteran {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

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

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 10, 24, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
}

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

.nav-mobile a {
  display: block;
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 1px solid var(--card-border);
}

.nav-mobile a:hover { color: var(--cyan); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--navy-deepest));
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-content .label {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-content .label .pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-white) 60%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--card-border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Hero visual — shield graphic */
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 550px;
  opacity: 0.15;
  z-index: 0;
}

.shield-graphic {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
}

.shield-graphic::before {
  content: '';
  position: absolute;
  inset: 10%;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.shield-graphic::after {
  content: '';
  position: absolute;
  inset: 20%;
  border: 1px dashed var(--slate-light);
  border-radius: 50%;
  animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

/* --- Trust Bar --- */
.trust-bar {
  position: relative;
  z-index: 2;
  background: var(--navy-deep);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 1.25rem 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
}

.trust-item .trust-highlight {
  color: var(--green);
  font-weight: 600;
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header .label {
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header .subtitle {
  margin-top: 0.5rem;
}

/* --- Cards --- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--cyan);
}

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

.card h3, .card h4 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
}

.card-link:hover {
  gap: 0.6rem;
  color: var(--text-white);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

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

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

/* --- Methodology / Process --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(0, 212, 255, 0.08);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.process-step h4 {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.process-step h4 svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Connector line between steps */
.process-step:not(:nth-child(3n))::after {
  content: '';
  position: absolute;
  top: 2rem;
  right: -1rem;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-dim), transparent);
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.testimonial-card .stars {
  color: var(--amber);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.testimonial-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan);
}

.testimonial-author .name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-white);
  font-size: 0.9rem;
}

.testimonial-author .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--card-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--cyan);
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
  color: var(--cyan);
}

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

.faq-answer-inner {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* --- Certifications / Partner Strip --- */
.cert-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.cert-item:hover {
  opacity: 1;
}

.cert-item svg {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
}

.cert-item span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  position: relative;
  margin-bottom: 1rem;
}

.cta-banner p {
  position: relative;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  max-width: 50ch;
}

.cta-banner .btn {
  position: relative;
}

.cta-speed {
  position: relative;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.cta-speed a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.form-label .optional {
  font-weight: 400;
  color: var(--text-dim);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-white);
  background: rgba(10, 17, 40, 0.8);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238896b0' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6L8 9.5 11.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--navy-deep);
  color: var(--text-light);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--card-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1rem 0;
  max-width: 30ch;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-contact-info a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact-info a:hover {
  color: var(--cyan);
}

.footer-contact-info svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer h5 {
  color: var(--text-white);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-dim);
}

.footer-bottom a:hover {
  color: var(--text-light);
}

/* --- Newsletter Form --- */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--text-white);
  background: rgba(10, 17, 40, 0.6);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--cyan);
}

.newsletter-form button {
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-deepest);
  background: var(--cyan);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.newsletter-form button:hover {
  background: #33ddff;
}

/* --- Case Study Cards --- */
.case-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

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

.case-card-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-card-header .case-industry {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-glow);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.case-card-header .case-location {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.case-card-body {
  padding: 2rem;
}

.case-card-body h4 {
  margin-bottom: 0.75rem;
}

.case-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.case-metrics {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}

.case-metric {
  display: flex;
  flex-direction: column;
}

.case-metric .metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
}

.case-metric .metric-label {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* --- Page Headers (inner pages) --- */
.page-hero {
  padding: 10rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
  color: var(--text-muted);
}

.page-hero .breadcrumb a:hover {
  color: var(--cyan);
}

.page-hero .breadcrumb .separator {
  margin: 0 0.5rem;
  color: var(--slate-light);
}

/* --- Service Detail Pages --- */
.service-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: var(--cyan-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.feature-text h5 {
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Team Cards --- */
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: var(--card-hover-border);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-glow), var(--navy-mid));
  border: 2px solid var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--cyan);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(0, 212, 255, 0.08);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h4 {
  margin-bottom: 0.25rem;
}

.team-card .team-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
}

.team-card .team-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.team-card .team-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.team-card .team-links a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.contact-info-card svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-info-card h5 {
  margin-bottom: 0.25rem;
}

.contact-info-card p, .contact-info-card a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Blog Cards --- */
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

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

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-light);
  font-size: 3rem;
  border-bottom: 1px solid var(--card-border);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.blog-card-meta .category {
  color: var(--cyan);
}

.blog-card-body h4 {
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.6s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Pricing Section --- */
.pricing-note {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.pricing-note svg {
  width: 32px;
  height: 32px;
  color: var(--cyan);
  flex-shrink: 0;
}

.pricing-models {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.pricing-model {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 4px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2n)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .service-overview { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta, .nav-badges { display: none; }
  .nav-toggle { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none !important; }

  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .trust-bar-inner { gap: 1.5rem; }
  .trust-item { font-size: 0.65rem; }

  .cta-banner { padding: 2.5rem 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .testimonial-grid { grid-template-columns: 1fr; }
  .case-metrics { flex-wrap: wrap; }

  .pricing-note { flex-direction: column; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .section-pad { padding-top: 3rem; padding-bottom: 3rem; }
}

/* --- Misc --- */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  border-radius: 2px;
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--cyan-glow);
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.15);
}

/* Click to call on mobile */
.click-to-call {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--cyan);
  border-radius: 50%;
  z-index: 900;
  align-items: center;
  justify-content: center;
  color: var(--navy-deepest);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
  transition: all var(--transition);
}

.click-to-call:hover {
  transform: scale(1.1);
  color: var(--navy-deepest);
}

.click-to-call svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .click-to-call { display: flex; }
}

/* Service page sidebar */
.service-sidebar {
  position: sticky;
  top: 6rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.service-sidebar h4 {
  margin-bottom: 1rem;
}

.service-sidebar .sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-sidebar .sidebar-links a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.service-sidebar .sidebar-links a:hover,
.service-sidebar .sidebar-links a.active {
  background: var(--cyan-glow);
  color: var(--cyan);
}

.service-sidebar .sidebar-cta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}

/* Area Served Tags */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.area-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 4px;
  color: var(--green);
}

/* ============================================================
   IMAGES — Hero backgrounds, section imagery, media cards
   ============================================================ */

/* Hero background image overlay */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-image img,
.hero-bg-image video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

/* Still-image fallback keeps the blend for the original dark-photo treatment. */
.hero-bg-image .hero-bg-fallback { mix-blend-mode: screen; }

/* Force the video onto its own GPU layer; avoid blend modes (they trigger
   per-frame CPU compositing when combined with the starfield + orbs). */
.hero-bg-image video {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  pointer-events: none;
}

/* When a video is present, hide the img fallback on desktop. */
.hero-bg-image video ~ .hero-bg-fallback { display: none; }

/* On mobile/tablet, skip the video entirely — show the poster image. Saves
   battery, bandwidth, and avoids the worst compositing on low-GPU devices. */
@media (max-width: 900px) {
  .hero-bg-image video { display: none; }
  .hero-bg-image video ~ .hero-bg-fallback { display: block; }
}

/* Honor reduced-motion: show the poster image instead of the looping video. */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-image video { display: none; }
  .hero-bg-image video ~ .hero-bg-fallback { display: block; }
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy-deepest) 0%, rgba(5, 10, 24, 0.7) 50%, rgba(5, 10, 24, 0.2) 100%),
    linear-gradient(180deg, transparent 40%, var(--navy-deepest) 100%);
}

.hero { position: relative; }

/* Section image — default acts as a refined banner/divider. Much flatter
   than the old 16:9 so it reads as an accent, not the main visual. */
.section-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 212, 255, 0.05);
  aspect-ratio: 16 / 5;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Full 16:9 for when it's genuinely the feature visual in a split/overview */
.service-overview .section-image,
.split-section .section-image,
.section-image--feature {
  aspect-ratio: 16 / 9;
  max-width: none;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.section-image:hover img {
  transform: scale(1.03);
}

.section-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 10, 24, 0.4) 100%);
  pointer-events: none;
}

/* Page hero featured image */
.page-hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.page-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-deepest) 0%, transparent 60%);
  z-index: 1;
}

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

@media (max-width: 768px) {
  .page-hero-image { display: none; }
}

/* Feature image (smaller, in cards or columns) */
.feature-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  margin-bottom: 1.5rem;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Case study image header */
.case-card .case-image {
  height: 180px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--card-border);
}

.case-card .case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.case-card .case-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 29, 58, 0.8) 100%);
}

/* Blog card image */
.blog-card .blog-card-img {
  overflow: hidden;
  position: relative;
}

.blog-card .blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card .blog-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 10, 24, 0.6) 100%);
  pointer-events: none;
}

/* Split section: text + image */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; gap: 2rem; }
  .split-section.reverse { direction: ltr; }
}

/* Industries showcase card */
.industry-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--text-white);
  transition: all var(--transition);
  background: var(--navy-mid);
}

.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.6s var(--ease), opacity var(--transition);
}

.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 10, 24, 0.85) 70%, var(--navy-deepest) 100%);
  z-index: 1;
}

.industry-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--cyan-glow-strong);
  color: var(--text-white);
}

.industry-card:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.industry-card-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  width: 100%;
}

.industry-card-content .label {
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
}

.industry-card-content h4 {
  color: var(--text-white);
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.industry-card-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.industry-card-content .industry-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
}

.industry-card:hover .industry-link {
  gap: 0.6rem;
}

.industry-card-content .industry-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

/* Location image in contact page */
.location-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 16 / 9;
  margin-bottom: 1.5rem;
}

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.location-card .location-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 24, 0.95));
  z-index: 2;
}

.location-card .location-overlay h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.location-card .location-overlay p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* ============================================================
   GORGEOUS UPGRADES — Pill-nav, starfield, sticky CTA, audit tool
   ============================================================ */

/* --- Pill-shaped nav on scroll --- */
.nav.scrolled {
  top: 1rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  max-width: min(1100px, calc(100vw - 2rem));
  width: auto;
  background: rgba(5, 10, 24, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 9999px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
  padding: 0;
}

.nav.scrolled .nav-inner {
  padding: 0.55rem 1.25rem;
}

.nav.scrolled .nav-logo .logo-icon {
  width: 28px;
  height: 28px;
}

.nav.scrolled .nav-logo .logo-text {
  font-size: 1.1rem;
}

.nav.scrolled .nav-logo {
  margin-right: 1.5rem;
}

.nav.scrolled .nav-links a {
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
}

.nav.scrolled .nav-badges {
  display: none;
}

.nav.scrolled .nav-cta {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .nav.scrolled {
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    transform: none;
    max-width: none;
  }
}

/* --- Starfield particles (hero atmosphere) --- */
.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.starfield .star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  will-change: transform, opacity;
}

@keyframes twinkle {
  0%, 100% { opacity: var(--base-opacity); transform: translateY(0); }
  50% { opacity: calc(var(--base-opacity) * 2); transform: translateY(-12px); }
}

.starfield .star {
  animation: twinkle var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

/* --- Ambient glow orbs (hero) --- */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-orb-1 {
  top: -10%;
  left: -5%;
  width: 550px;
  height: 550px;
  background: var(--cyan);
  opacity: 0.08;
}

.hero-orb-2 {
  bottom: -10%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: #5b8ff9;
  opacity: 0.1;
}

/* --- Mouse parallax on hero content --- */
.hero-content {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

/* --- Sticky CTA pill (bottom-floating) --- */
.sticky-cta {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.4s ease;
}

.sticky-cta.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(17, 29, 58, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 9999px;
  padding: 0.5rem 0.5rem 0.5rem 1.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.sticky-cta-text {
  display: flex;
  flex-direction: column;
}

.sticky-cta-text .sticky-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.9rem;
  line-height: 1.2;
}

.sticky-cta-text .sticky-cta-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  background: var(--cyan);
  color: var(--navy-deepest);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.sticky-cta-btn:hover {
  background: #33ddff;
  color: var(--navy-deepest);
  transform: scale(1.04);
}

.sticky-cta-btn svg {
  width: 16px;
  height: 16px;
}

.sticky-cta-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  margin-right: 0.25rem;
  border-radius: 50%;
  transition: all var(--transition);
}

.sticky-cta-close:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.sticky-cta-close svg {
  width: 14px;
  height: 14px;
  display: block;
}

@media (max-width: 600px) {
  .sticky-cta { bottom: 1rem; left: 1rem; right: 1rem; transform: translateY(150px); }
  .sticky-cta.visible { transform: translateY(0); }
  .sticky-cta-inner { gap: 0.75rem; padding-left: 1.25rem; }
  .sticky-cta-text .sticky-cta-sub { display: none; }
}

/* --- Bento grid (feature showcase) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.bento-tile {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 2rem;
  overflow: hidden;
  transition: all var(--transition);
}

.bento-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.bento-tile:hover {
  border-color: rgba(0, 212, 255, 0.25);
  transform: translateY(-3px);
}

.bento-tile:hover::before {
  opacity: 1;
}

.bento-tile-main {
  grid-column: span 4;
  grid-row: span 2;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
}

.bento-tile-wide { grid-column: span 4; }
.bento-tile-half { grid-column: span 2; }
.bento-tile-third { grid-column: span 2; }

.bento-icon {
  width: 56px;
  height: 56px;
  background: var(--cyan);
  color: var(--navy-deepest);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transform: rotate(3deg);
  transition: transform 0.5s var(--ease);
}

.bento-tile:hover .bento-icon {
  transform: rotate(12deg);
}

.bento-icon svg {
  width: 28px;
  height: 28px;
}

.bento-tile h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.bento-tile h4 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.bento-tile p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.bento-tile-main p { font-size: 1.05rem; max-width: 36ch; }

/* Animated "live counter bars" inside main bento tile */
.bento-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 180px;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  margin-top: 2rem;
}

.bento-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(0, 212, 255, 0.2), var(--cyan));
  border-radius: 6px 6px 0 0;
  height: 0;
  transition: height 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

.bento-grid.visible .bento-bar { height: var(--h, 50%); }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-tile-main, .bento-tile-wide, .bento-tile-half, .bento-tile-third {
    grid-column: span 1;
    grid-row: auto;
    min-height: auto;
  }
  .bento-bars { height: 120px; }
}

/* --- Interactive Audit Tool / Self-Assessment --- */
.audit-tool {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-deep));
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 28px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.audit-tool::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.audit-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.audit-progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.audit-progress-step {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  transition: background 0.4s var(--ease);
}

.audit-progress-step.done { background: var(--cyan); }
.audit-progress-step.current {
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.audit-question {
  position: relative;
  z-index: 1;
  min-height: 280px;
}

.audit-question.hidden { display: none; }

.audit-question-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.audit-question h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 1.75rem;
  max-width: 28ch;
}

.audit-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.audit-option {
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.audit-option:hover {
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.04);
  color: var(--text-white);
  transform: translateX(4px);
}

.audit-option .opt-marker {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--slate-light);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: all var(--transition);
}

.audit-option:hover .opt-marker {
  border-color: var(--cyan);
}

.audit-option:hover .opt-marker::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--cyan);
  border-radius: 50%;
}

/* Result screen */
.audit-result {
  position: relative;
  z-index: 1;
  text-align: center;
}

.audit-result.hidden { display: none; }

.audit-score {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--cyan), #00a0c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.audit-score-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.audit-risk {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.audit-risk.high {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.audit-risk.medium {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.audit-risk.low {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.audit-result h3 {
  margin-bottom: 1rem;
}

.audit-result p {
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 2rem;
}

.audit-restart {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.audit-restart:hover { color: var(--cyan); }

@media (max-width: 768px) {
  .audit-tool { padding: 2rem 1.25rem; }
  .audit-score { font-size: 3.5rem; }
}

/* ============================================================
   FULL ASSESSMENT PAGE (8 categories · 18 questions)
   ============================================================ */

/* --- Landing --- */
.assess-landing {
  padding: 9rem 0 5rem;
  position: relative;
}

.assess-landing-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.assess-landing-header .label {
  margin-bottom: 1.5rem;
  display: inline-flex;
}

.assess-landing-header h1 {
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--text-white) 55%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.assess-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  max-width: 840px;
  margin: 0 auto 3rem;
}

.assess-cat-tile {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem 0.75rem;
  text-align: center;
  transition: all var(--transition);
}

.assess-cat-tile:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-2px);
  background: rgba(0, 212, 255, 0.04);
}

.assess-cat-icon {
  font-size: 1.85rem;
  margin-bottom: 0.6rem;
  line-height: 1;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.2));
}

.assess-cat-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

.assess-landing-cta {
  text-align: center;
}

.assess-landing-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 1rem 0 0;
}

.assess-trust-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.assess-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.assess-trust-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.75;
}

@media (max-width: 700px) {
  .assess-category-grid { grid-template-columns: repeat(2, 1fr); }
  .assess-trust-row { gap: 1rem; }
}

/* --- Assessment in-progress --- */
.assess-topbar {
  position: sticky;
  top: 5rem;
  z-index: 50;
  margin-top: 5rem;
  background: rgba(5, 10, 24, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

@media (max-width: 768px) {
  .assess-topbar {
    top: 4rem;
    margin-top: 4rem;
  }
}

.assess-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.assess-topbar-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.assess-topbar-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.assess-topbar-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.assess-topbar-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
  transition: width 0.5s var(--ease);
  border-radius: 0 2px 2px 0;
}

.assess-body {
  padding: 2.5rem 0 5rem;
}

/* Steps */
.assess-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 3rem;
}

.assess-step {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assess-step:disabled {
  cursor: default;
}

.assess-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 1.5px solid var(--card-border);
  transition: all var(--transition);
}

.assess-step.current .assess-step-dot {
  color: var(--cyan);
  background: var(--cyan-glow);
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.35);
}

.assess-step.done .assess-step-dot {
  color: var(--navy-deepest);
  background: var(--cyan);
  border-color: var(--cyan);
}

.assess-step-connector {
  width: 18px;
  height: 1px;
  background: var(--card-border);
}

/* Section header */
.assess-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.assess-section-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.25));
}

.assess-section-header .label {
  margin-bottom: 0.25rem;
  display: block;
}

.assess-section-header h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  margin-bottom: 0.4rem;
}

.assess-section-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: 3rem;
  margin-bottom: 2rem;
}

/* Question card */
.assess-question {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.assess-question.fade-out {
  opacity: 0;
  transform: translateY(8px);
}

.assess-q-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
}

.assess-question h3 {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 1.5rem;
  max-width: 42ch;
}

.assess-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.assess-option {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  text-align: left;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.assess-option:hover {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.04);
  color: var(--text-white);
  transform: translateX(3px);
}

.assess-option.active {
  border-color: var(--cyan);
  background: var(--cyan-glow);
  color: var(--text-white);
}

.assess-option-radio {
  min-width: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  margin-top: 0.15rem;
  position: relative;
  flex-shrink: 0;
  transition: all var(--transition);
}

.assess-option.active .assess-option-radio {
  border-color: var(--cyan);
  background: var(--cyan);
}

.assess-option.active .assess-option-radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--navy-deepest);
  border-radius: 50%;
}

.assess-option-label {
  flex: 1;
}

/* Nav row */
.assess-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.assess-nav button:disabled {
  opacity: 0.3;
  cursor: default;
}

.assess-hint {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* --- Results --- */
.assess-results {
  padding: 6rem 0 5rem;
}

.assess-results-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.assess-results-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.assess-score-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.assess-score-ring {
  position: relative;
  display: inline-block;
  width: 196px;
  height: 196px;
}

.assess-score-ring svg circle {
  transition: none;
}

.assess-score-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.assess-score-num {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
}

.assess-score-denom {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.assess-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.assess-score-tagline {
  color: var(--text-light);
  opacity: 0.8;
  font-weight: 500;
  font-size: 0.82rem;
}

/* Subheads */
.assess-subhead {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--text-white);
}

/* Breakdown */
.assess-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.assess-cat-row {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
}

.assess-cat-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.assess-cat-row-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-white);
}

.assess-cat-row-icon {
  font-size: 1rem;
  line-height: 1;
}

.assess-cat-row-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8rem;
}

.assess-cat-row-score {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.assess-cat-row-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  overflow: hidden;
}

.assess-cat-row-bar > div {
  height: 100%;
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Recs */
.assess-recs, .assess-all-good {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.assess-rec {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
}

.assess-rec-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  color: #fcd34d;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.assess-rec-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.assess-rec p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  opacity: 0.85;
}

.assess-all-good {
  background: var(--card-bg);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
}

.assess-all-good .assess-rec-icon {
  font-size: 1.75rem;
}

.assess-all-good strong {
  color: #10b981;
  display: block;
  margin-bottom: 0.25rem;
}

.assess-all-good p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
  opacity: 0.85;
}

/* Lead form */
.assess-lead-form {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-deep));
  border: 1px solid var(--cyan-glow-strong);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.assess-lead-form::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.assess-lead-form > * { position: relative; }

.assess-lead-form h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.6rem);
  margin-bottom: 0.5rem;
}

.assess-lead-form > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 46ch;
  margin: 0 auto 1.75rem;
}

.assess-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  max-width: 520px;
  margin: 0 auto 0.5rem;
  text-align: left;
}

.assess-form-grid .form-group { margin-bottom: 0; }

.form-required {
  color: var(--cyan);
  font-weight: 700;
}

.assess-form-privacy {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.85rem;
}

/* Thank-you state */
.assess-thankyou {
  padding: 2rem 0 1rem;
  text-align: center;
}

.assess-thankyou-check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #10b981;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.assess-thankyou-check svg { width: 28px; height: 28px; }

.assess-thankyou h2 { color: #10b981; margin-bottom: 0.65rem; }

.assess-thankyou p {
  color: var(--text-light);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.assess-thankyou-cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.assess-footer-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
}

@media (max-width: 700px) {
  .assess-form-grid { grid-template-columns: 1fr; }
  .assess-body { padding: 4.5rem 0 3rem; }
  .assess-section-desc { margin-left: 0; }
  .assess-nav { flex-direction: column; gap: 1rem; align-items: stretch; }
}

/* ============================================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ============================================================ */

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.legal-toc {
  position: sticky;
  top: 7rem;
  font-size: 0.88rem;
}

.legal-toc-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--card-border);
}

.legal-toc ol li { margin: 0; padding: 0; }

.legal-toc ol a {
  display: block;
  padding: 0.45rem 0 0.45rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -1px;
  line-height: 1.5;
  transition: color 0.2s, border-color 0.2s;
}

.legal-toc ol a:hover,
.legal-toc ol a.is-active {
  color: var(--cyan);
  border-left-color: var(--cyan);
}

.legal-content {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 72ch;
}

.legal-lead {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
}

.legal-lead p {
  margin: 0 0 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.legal-lead .legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--card-border);
}

.legal-lead .legal-meta strong {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.legal-section {
  scroll-margin-top: 7rem;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--card-border);
}

.legal-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 1.1rem 0;
  letter-spacing: -0.005em;
}

.legal-section-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.legal-section p { margin: 0 0 1rem; }
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}

.legal-section ul li {
  margin-bottom: 0.55rem;
  padding-left: 0.2rem;
}

.legal-section ul li::marker {
  color: var(--cyan-dim);
}

.legal-section strong { color: var(--text); }

.legal-section a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}

.legal-section a:hover { color: var(--text); }

.legal-callout {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 0;
}

.legal-callout p { margin: 0; line-height: 1.7; }
.legal-callout strong { display: block; color: var(--text); margin-bottom: 0.35rem; font-size: 1rem; }

.legal-disclaimer {
  margin-top: 4rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--card-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 2rem; }
  .legal-toc {
    position: static;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
  }
  .legal-toc details summary {
    list-style: none;
    cursor: pointer;
    padding: 0.55rem 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .legal-toc details summary::-webkit-details-marker { display: none; }
  .legal-toc details summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--cyan);
    transition: transform 0.2s;
  }
  .legal-toc details[open] summary::after { content: '−'; }
  .legal-toc .legal-toc-title { display: none; }
  .legal-toc ol { margin-top: 0.5rem; margin-bottom: 0.75rem; }
}

