/* H-Bot marketing site — shared component layer */
@font-face {
  font-family: 'Readex Pro';
  src: url('../fonts/ReadexPro-Variable.ttf') format('truetype-variations');
  font-weight: 200 700;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--navy-950);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; color: var(--text-secondary); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-blue);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  z-index: 1000;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.brand { display: flex; align-items: center; gap: var(--space-2); font-weight: 700; font-size: 1.05rem; }
.brand img { height: 30px; width: auto; }
/* Logo now stands alone (no text label) in a taller header — scale it up to fit */
.site-header .brand img { height: 44px; }
.nav-links {
  display: none;
  gap: var(--space-8);
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text-primary); }
.nav-cta.btn { display: none; }
.nav-toggle {
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-soft);
  padding: var(--space-4) 0 var(--space-6);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: var(--space-3) 0;
  color: var(--text-secondary);
  font-size: 1rem;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta.btn { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(8, 131, 253, 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -8px rgba(8, 131, 253, 0.65); }
.btn-ghost {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--text-primary);
}
.btn-ghost:hover { border-color: var(--brand-cyan); color: var(--brand-cyan); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-16);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(8, 131, 253, 0.35), transparent 70%),
              radial-gradient(50% 50% at 80% 10%, rgba(59, 196, 255, 0.22), transparent 70%);
  pointer-events: none;
  filter: blur(10px);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--brand-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(59, 196, 255, 0.1);
  border: 1px solid rgba(59, 196, 255, 0.25);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-6);
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: var(--space-6);
}
.hero h1 span { color: var(--brand-cyan); }
.hero p.lead {
  font-size: 1.1rem;
  max-width: 42ch;
  margin-bottom: var(--space-8);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.stat-value { font-size: 1.6rem; font-weight: 700; color: var(--text-primary); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: var(--space-1); }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .product-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.06), transparent 60%);
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ---------- Sections ---------- */
.section { padding: var(--space-16) 0; }
.section-alt { background: var(--navy-900); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
/* ===== Unified section titles — two styles =====
   Style A (two-column, left-aligned): eyebrow + connector line to the right   → .expertise-intro / .patents-copy
   Style B (one-column, centered): eyebrow with cyan lines both sides + subline → .section-head
   Both: bold headline with the last word accented blue (.accent) */
.section-head { max-width: 700px; margin: 0 auto var(--space-12); text-align: center; }
.section-eyebrow {
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}
/* Style A — connector line to the right of the eyebrow */
.expertise-intro .section-eyebrow::after,
.patents-copy .section-eyebrow::after {
  content: "";
  height: 2px;
  width: clamp(56px, 12vw, 150px);
  background: linear-gradient(90deg, var(--brand-blue), transparent);
}
/* Style B — connector lines on both sides, eyebrow centered */
.section-head .section-eyebrow { justify-content: center; }
.section-head .section-eyebrow::before,
.section-head .section-eyebrow::after {
  content: "";
  height: 2px;
  width: clamp(40px, 8vw, 90px);
}
.section-head .section-eyebrow::before { background: linear-gradient(90deg, transparent, var(--brand-cyan)); }
.section-head .section-eyebrow::after  { background: linear-gradient(90deg, var(--brand-cyan), transparent); }
/* Headline — bold, tight, blue accent word */
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 auto var(--space-3);
}
.accent { color: var(--brand-blue); }
.section-head p { font-size: 1.02rem; max-width: 54ch; margin-left: auto; margin-right: auto; }

/* ---------- Patented Technology — split showcase ---------- */
.patents { position: relative; overflow: hidden; padding-top: 8.5rem; padding-bottom: 8.5rem; }
.patents::before {
  content: "";
  position: absolute;
  top: 8%; right: -12%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(8,131,253,0.16), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.patents-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
.patents-copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; margin: var(--space-3) 0; }
.patents-copy p { color: var(--text-secondary); font-size: 1.02rem; max-width: 46ch; margin: 0; }
.patent-badges { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
.patent-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--navy-800);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.patent-badge:hover { border-color: rgba(59,196,255,0.5); transform: translateY(-3px); }
.patent-flag { font-size: 1.7rem; line-height: 1; }
.patent-info { display: flex; flex-direction: column; }
.patent-country { font-weight: 600; font-size: 1rem; color: var(--text-primary); }
.patent-status { font-size: 0.82rem; color: var(--brand-cyan); }
.patents-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-glow);
}
.patents-visual img { width: 100%; height: auto; display: block; }
.patents-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #04101f;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px -6px rgba(8,131,253,0.6);
}
@media (min-width: 900px) {
  .patents-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-16); }
}
@media (prefers-reduced-motion: reduce) {
  .patent-badge { transition: none; }
}

/* ---------- Brands We Support — logo marquee ---------- */
.brands { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.brands-title { display: flex; align-items: center; justify-content: center; gap: var(--space-5); margin-bottom: var(--space-12); }
.brands-title span { color: var(--text-primary); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; white-space: nowrap; }
.brands-title::before, .brands-title::after { content: ""; height: 1px; width: min(120px, 16vw); }
.brands-title::before { background: linear-gradient(90deg, transparent, var(--brand-cyan)); }
.brands-title::after { background: linear-gradient(90deg, var(--brand-cyan), transparent); }
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee + .marquee { margin-top: var(--space-8); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
}
.marquee-rev .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand-logo {
  height: 30px;
  width: auto;
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.3s var(--ease);
}
.brand-logo:hover { opacity: 1; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .brand-logo { height: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

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

.card {
  background: var(--navy-800);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: rgba(59, 196, 255, 0.35); }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(8, 131, 253, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--brand-cyan);
}
.card h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.card p { font-size: 0.92rem; }

/* Product cards */
.product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(59, 196, 255, 0.4); }
.product-card .thumb {
  padding: var(--space-8) var(--space-6) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: radial-gradient(circle at 50% 20%, rgba(8,131,253,0.16), transparent 65%);
}
.product-card .thumb img { max-height: 140px; width: auto; }
.product-card .body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(51, 214, 144, 0.14);
  color: var(--success);
}
.product-card h3 { font-size: 1.15rem; }
.product-card p { font-size: 0.92rem; flex: 1; }
.product-card .link { color: var(--brand-cyan); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-2); }

/* Needs-client-input placeholder */
.placeholder-note {
  border: 1px dashed rgba(245, 166, 35, 0.5);
  background: rgba(245, 166, 35, 0.08);
  color: var(--warning);
  font-size: 0.82rem;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  margin-top: var(--space-4);
}

/* Logo strip */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8); opacity: 0.85; }
.logo-strip img { height: 28px; width: auto; filter: grayscale(1) brightness(1.6); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-soft); padding: var(--space-5) 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--brand-cyan); font-size: 1.3rem; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: var(--space-3); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  text-align: center;
  background: linear-gradient(135deg, rgba(8,131,253,0.16), rgba(59,196,255,0.08));
  border: 1px solid rgba(59, 196, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-16) var(--space-6);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--space-4); }
.cta-band p { max-width: 48ch; margin: 0 auto var(--space-8); }
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border-soft); padding: var(--space-16) 0 var(--space-8); background: var(--navy-950); }
.footer-grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-col h4 { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-4); }
.footer-col a, .footer-col li { color: var(--text-secondary); font-size: 0.92rem; }
.footer-col ul li { margin-bottom: var(--space-3); }
.footer-col ul li a:hover { color: var(--brand-cyan); }
.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--space-6); }
.breadcrumb a:hover { color: var(--brand-cyan); }

/* Reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Product detail page */
.product-hero { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 960px) { .product-hero { grid-template-columns: 0.9fr 1.1fr; } }
.spec-table { width: 100%; border-collapse: collapse; margin-top: var(--space-4); }
.spec-table tr { border-bottom: 1px solid var(--border-soft); }
.spec-table td { padding: var(--space-3) var(--space-2); font-size: 0.92rem; color: var(--text-secondary); }
.spec-table td:first-child { color: var(--text-muted); width: 40%; }
.feature-list li { display: flex; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--border-soft); font-size: 0.95rem; color: var(--text-secondary); }
.feature-list li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* ---------- P2: narrow container, forms, faq list, footer blurb ---------- */
.container-narrow { max-width: 640px; }
.footer-blurb { color: var(--text-muted); font-size: 0.9rem; margin: var(--space-3) 0 var(--space-4); max-width: 40ch; }
.faq-list { display: flex; flex-direction: column; gap: var(--space-2); }
.hbot-form { display: flex; flex-direction: column; gap: var(--space-4); }
.form-row { display: flex; flex-direction: column; gap: var(--space-2); }
.form-row label { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }
.form-row label span { color: var(--brand-cyan); }
.hbot-form input, .hbot-form textarea, .hbot-form select {
  width: 100%;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom on focus */
  color: var(--text-primary);
  background: var(--surface-1, rgba(255,255,255,0.03));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.hbot-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233BC4FF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}
.hbot-form input:focus-visible, .hbot-form textarea:focus-visible, .hbot-form select:focus-visible {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(8, 131, 253, 0.25);
}
.hbot-form textarea { resize: vertical; }
.hbot-form .btn { align-self: flex-start; }
/* interest checkbox group */
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-2) var(--space-4); }
.checkbox-row { flex-direction: row; align-items: center; gap: var(--space-2); }
.checkbox-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand-blue); flex: 0 0 auto; cursor: pointer; }
.checkbox-row label { margin: 0; cursor: pointer; color: var(--text-primary); font-weight: 400; }

/* P2 footer: make column links stack (generated footer uses plain <a>, not <ul><li>) */
.footer-grid a:not(.brand) { display: block; margin-bottom: var(--space-2); color: var(--text-secondary); font-size: 0.92rem; }
.footer-grid a:not(.brand):hover { color: var(--brand-cyan); }
.footer-grid h4 { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-4); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--brand-cyan); }

/* ---------- Interactive hero product showcase ---------- */
.product-showcase { position: relative; width: 100%; max-width: 480px; margin-inline: auto; }
.showcase-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(8,131,253,0.22), transparent 70%),
    linear-gradient(160deg, rgba(59,196,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border-soft);
  overflow: hidden;
}
.showcase-img {
  position: absolute;
  inset: 0;
  width: 82%;
  height: 82%;
  margin: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.55));
}
.showcase-img.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: showcase-float 6s ease-in-out infinite;
}
@keyframes showcase-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1); }
}
.showcase-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}
.showcase-name { font-weight: 600; font-size: 1.05rem; color: var(--text-primary); }
.showcase-link { color: var(--brand-cyan); font-size: 0.92rem; font-weight: 600; }
.showcase-link:hover { color: var(--brand-blue); }
.showcase-tabs { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.showcase-tab {
  flex: 1;
  padding: 0.6rem 0.5rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.showcase-tab:hover { color: var(--text-primary); border-color: rgba(59,196,255,0.4); }
.showcase-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  box-shadow: 0 8px 20px -8px rgba(8,131,253,0.6);
}
@media (prefers-reduced-motion: reduce) {
  .showcase-img.is-active { animation: none; }
  .showcase-img { transition: opacity 0.2s linear; transform: none; }
}

/* ---------- Cinematic full-bleed hero (KNX-style) ---------- */
.hero-cinematic {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-cinematic-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05);
  animation: hero-kenburns 22s ease-in-out infinite alternate;
}
@keyframes hero-kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.13) translate3d(-1.6%, -1.6%, 0); }
}
.hero-cinematic-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,11,20,0.55) 0%, rgba(6,11,20,0.35) 40%, rgba(6,11,20,0.92) 100%),
    linear-gradient(90deg, rgba(6,11,20,0.8) 0%, rgba(6,11,20,0.25) 55%, rgba(6,11,20,0.15) 100%);
}
/* brand glow frame, echoing KNX's accented edge */
.hero-cinematic::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(59,196,255,0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 40px -6px rgba(8,131,253,0.45), inset 0 0 60px -20px rgba(59,196,255,0.35);
  pointer-events: none;
  z-index: -1;
}
.hero-cinematic-inner { position: relative; max-width: 760px; padding-top: var(--space-16); padding-bottom: var(--space-16); }
.hero-cinematic-inner h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  margin-bottom: var(--space-6);
}
.hero-cinematic-inner h1 span { color: var(--brand-cyan); }
.hero-cinematic-inner p.lead { font-size: 1.15rem; max-width: 48ch; margin-bottom: var(--space-8); color: var(--text-secondary); }
.hero-cinematic-inner .hero-stats { margin-top: var(--space-12); max-width: 420px; }
@media (prefers-reduced-motion: reduce) {
  .hero-cinematic-bg { animation: none; transform: scale(1.05); }
}
@media (max-width: 640px) {
  .hero-cinematic { min-height: 78vh; }
  .hero-cinematic::after { inset: 8px; }
}

/* ---------- Cinematic hero: rotating 2-image backdrop + centered variant ---------- */
.hero-cinematic-bgs { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.4s ease-in-out;
  /* Motion runs on every slide continuously (like KNX) so the pan never
     restarts/snaps when a slide fades in — it's always already moving. */
  animation: hero-kenburns 26s ease-in-out infinite alternate;
  will-change: opacity, transform;
  backface-visibility: hidden;
}
/* Desync the two slides so they're at different points in the pan */
.hero-slide:nth-child(2) { animation-delay: -13s; }
.hero-slide.is-active { opacity: 1; }
/* Looping video backdrop (replaces the image slides) — full-bleed, muted, cover-fit */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  pointer-events: none;
}
/* Centered content variant */
.hero-centered { justify-content: center; text-align: center; }
.hero-centered .hero-cinematic-inner { max-width: 820px; margin-inline: auto; }
.hero-centered .hero-eyebrow { margin-inline: auto; }
.hero-centered p.lead { margin-inline: auto; }
.hero-centered .hero-actions { justify-content: center; }
.hero-centered .hero-stats {
  margin-inline: auto;
  justify-content: center;
  max-width: 460px;
}
/* Even, bottom-weighted overlay reads better behind centered text than the left-heavy one */
.hero-centered .hero-cinematic-overlay {
  background:
    /* Tight, darker scrim centered on the text column so body copy always sits on darkness */
    radial-gradient(90% 75% at 50% 48%, rgba(6,11,20,0.72) 0%, rgba(6,11,20,0.55) 45%, rgba(6,11,20,0.42) 75%, rgba(6,11,20,0.6) 100%),
    linear-gradient(180deg, rgba(6,11,20,0.65) 0%, rgba(6,11,20,0.35) 45%, rgba(6,11,20,0.9) 100%);
}
/* Keep type legible over the brightest video frames */
.hero-centered .hero-cinematic-inner h1,
.hero-centered .hero-cinematic-inner p.lead,
.hero-centered .hero-stats .stat-value,
.hero-centered .hero-stats .stat-label {
  text-shadow: 0 2px 16px rgba(6,11,20,0.75), 0 1px 3px rgba(6,11,20,0.9);
}
.hero-centered .hero-cinematic-inner p.lead { color: rgba(255,255,255,0.92); }
.hero-centered .hero-stats .stat-label { color: rgba(255,255,255,0.85); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; transform: scale(1.04); transition: opacity 0.3s linear; }
}

/* ---------- Our Expertise — sticky intro (left) + scrolling numbered cards (right) ---------- */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
.expertise-intro h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; margin: var(--space-3) 0; }
.expertise-intro p { color: var(--text-secondary); margin-bottom: var(--space-6); max-width: 42ch; }
.expertise-cards { display: flex; flex-direction: column; gap: var(--space-5); }
.expertise-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  background: var(--navy-800);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.expertise-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,196,255,0.5);
  box-shadow: 0 16px 44px -16px rgba(8,131,253,0.5);
}
.expertise-num {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-cyan);
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  min-width: 2.4ch;
}
.expertise-text h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.expertise-text p { color: var(--text-secondary); font-size: 0.98rem; }
/* Desktop: two columns, left intro pinned while the cards scroll past */
@media (min-width: 900px) {
  .expertise-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-16); align-items: start; }
  .expertise-intro {
    position: sticky;
    top: calc(92px + var(--space-6));
    align-self: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .expertise-card { transition: none; }
}

/* ---------- Audience variant of the expertise card — image thumbnail instead of a number ---------- */
.aud-card { align-items: stretch; padding: 0; overflow: hidden; height: 208px; }
.aud-card-img {
  width: 38%;
  max-width: 240px;
  align-self: stretch;
  object-fit: cover;
  flex-shrink: 0;
}
/* Text vertically centred so there's no dead space below a short descriptor */
.aud-card .expertise-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-8);
}
.aud-card .expertise-text p { max-width: 46ch; margin: 0; }
.aud-card-link {
  display: inline-block;
  margin-top: var(--space-2);
  color: var(--brand-cyan);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s var(--ease);
}
.aud-card:hover .aud-card-link { transform: translateX(3px); }
/* Small screens: image on top, text below */
@media (max-width: 640px) {
  .aud-card { flex-direction: column; min-height: 0; height: auto; }
  .aud-card-img { width: 100%; max-width: none; height: 180px; }
  .aud-card .expertise-text { padding: var(--space-5); }
}

/* [C-490] form wiring: honeypot, status, field errors, direct-contact line */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hbot-form { position: relative; }
.form-consent { font-size: 0.8rem; color: var(--text-muted, #9aa4b2); margin: 0; }
.form-status { margin: 0; font-size: 0.92rem; min-height: 1.2em; outline: none; }
.form-status.is-ok { color: var(--success); }
.form-status.is-err { color: #ff6b6b; }
.form-status a { color: inherit; text-decoration: underline; }
.field-error { color: #ff6b6b; font-size: 0.82rem; margin: 4px 0 0; }
.hbot-form [aria-invalid="true"] { border-color: #ff6b6b; }
.form-direct { margin-top: var(--space-6); font-size: 0.9rem; color: var(--text-muted, #9aa4b2); }

/* [C-490] product documentation links */
.doc-links { display: flex; flex-wrap: wrap; gap: var(--space-3); }
