/*
 * Kryphos — Enterprise Cyber Security HTML Template
 * main.css — All template styles
 *
 * TABLE OF CONTENTS
 * ─────────────────────────────────────────────────────────────
 *  1.  Variables         Design tokens (colors, spacing, type)
 *  2.  Base / Reset      html, body, box-sizing
 *  3.  Typography        Headings, body text
 *  4.  Utilities         Shared helpers
 *  5.  Navigation        .site-nav, dropdowns, mobile nav
 *  6.  Hero              .hero-card, .home-hero (homepage)
 *  7.  Page Hero         .page-hero (inner pages)
 *  8.  Footer            .site-footer, CTA, columns, bottom bar
 *  9.  Sections          .section-label, shared section styles
 * 10.  Trusted Strip     Client logo strip
 * 11.  Services          .services-card grid (homepage)
 * 12.  About / Story     .story-callout, .timeline
 * 13.  Why Kryphos       .why-card
 * 14.  Projects          .project-card, .projects-row
 * 15.  Pricing           .pricing-card, .pricing-guarantee
 * 16.  Testimonials      .testimonial-card
 * 17.  Blog              .blog-featured, .blog-list, .blog-card
 * 18.  FAQ               .faq-section, .faq-item
 * 19.  Services Page     .svc-*, service detail layout
 * 20.  Project Detail    .project-meta, .project-stats-strip
 * 21.  Team              .team-card
 * 22.  Contact           .contact-method-card, .contact-form-panel
 * 23.  Article / Blog    .article-prose, .article-toc, sidebar
 * 24.  Coming Soon       .coming-soon-page, countdown
 * 25.  Error 404         .error-404-page
 * 26.  Mobile Dropdown   .mobile-dropdown accordion
 * ─────────────────────────────────────────────────────────────
 */

@import url('bootstrap.min.css');

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* =============================================================
   1. VARIABLES — Design Tokens
   ============================================================= */
:root {
  /* Brand */
  --color-primary:     #00FF87;
  --color-primary-dim: rgba(0, 255, 135, 0.10);
  --color-secondary:   #00C9FF;

  /* Backgrounds */
  --color-bg:          #060A10;
  --color-bg-surface:  #0A1018;
  --color-bg-elevated: #0F1825;

  /* Border */
  --color-border:      #162032;

  /* Text */
  --color-text:        #E8EDF5;
  --color-text-muted:  #7A8FA8;
  --color-text-subtle: #3E5068;

  /* Semantic */
  --color-success:     #00E676;
  --color-warning:     #FFB300;
  --color-danger:      #FF3D57;

  /* Utility */
  --color-white:       #FFFFFF;
  --color-black:       #000000;

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.5rem;
  --text-5xl:  4.5rem;

  --leading-tight:  1.15;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  --tracking-tight:   -0.03em;
  --tracking-wide:     0.05em;
  --tracking-widest:   0.15em;

  --font-weight-regular:  400;
  --font-weight-medium:   500;
  --font-weight-semibold: 600;
  --font-weight-bold:     700;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  80px;
  --space-2xl: 120px;

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg:   0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 28px rgba(0, 255, 135, 0.22);
}


/* =============================================================
   2. BASE / RESET
   ============================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: #030507;
  background-image:
    radial-gradient(ellipse 55% 45% at 12% 88%, rgba(0, 255, 135, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 88% 12%, rgba(0, 201, 255, 0.05) 0%, transparent 65%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}


/* =============================================================
   3. TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

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

.text-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
}

.text-gradient {
  background: linear-gradient(100deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* =============================================================
   4. LAYOUT
   ============================================================= */
.section {
  padding: var(--space-xl) 0;
}

.section--lg {
  padding: var(--space-2xl) 0;
}

.section-header {
  max-width: 640px;
}

.divider {
  height: 1px;
  background-color: var(--color-border);
}


/* =============================================================
   5. COMPONENTS
   ============================================================= */

/* --- Buttons --- */
.btn-primary-kryphos {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-black);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  text-transform: uppercase;
}

.btn-primary-kryphos:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
  color: var(--color-black);
}

.btn-ghost-kryphos {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 13px 28px;
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  text-transform: uppercase;
}

.btn-ghost-kryphos:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

/* --- Badge / Tag --- */
.badge-kryphos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-primary-dim);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

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

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

/* --- Stat Card --- */
.stat-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  transition: border-color 0.2s ease;
}

.stat-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
}

.stat-card__value {
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* --- Navigation --- */
.site-nav {
  position: relative;
  z-index: 10;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(22, 32, 50, 0.8);
  background: var(--color-bg);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.site-nav__logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.site-nav__logo-mark svg {
  width: 20px;
  height: 20px;
  fill: var(--color-black);
}

.site-nav__wordmark {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
}

.site-nav__wordmark span {
  color: var(--color-primary);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-nav__link {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--color-white);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  width: 100%;
}

/* Dropdown */
.site-nav__dropdown {
  position: relative;
}

.site-nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.site-nav__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.site-nav__dropdown:hover .site-nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.site-nav__dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.site-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xs);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-lg);
}

.site-nav__dropdown:hover .site-nav__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.site-nav__dropdown-item {
  display: block;
  padding: 10px var(--space-sm);
  margin-bottom: 2px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav__dropdown-item:hover,
.site-nav__dropdown-item.is-active {
  background: var(--color-primary-dim);
  color: var(--color-primary);
}

/* Mobile nav */
.site-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--color-text);
}

.site-nav__mobile {
  display: none;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-sm);
  margin-top: var(--space-sm);
  border-radius: var(--radius-lg);
}

.site-nav__mobile.is-open {
  display: block;
}

.site-nav__mobile-link {
  display: block;
  padding: 12px var(--space-sm);
  margin-bottom: 2px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__mobile-link:hover,
.site-nav__mobile-link.is-active {
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

.mobile-dropdown__toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 12px var(--space-sm);
  margin-bottom: 2px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color 0.2s ease, background 0.2s ease;
}

.mobile-dropdown__toggle:hover,
.mobile-dropdown__toggle.is-active {
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

.mobile-dropdown__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mobile-dropdown--open .mobile-dropdown__icon {
  transform: rotate(180deg);
}

.mobile-dropdown__menu {
  display: none;
}

.mobile-dropdown--open .mobile-dropdown__menu {
  display: block;
}

@media (max-width: 991px) {
  .site-nav__links,
  .site-nav__actions {
    display: none;
  }
  .site-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* --- Hero (Homepage) — Cinematic Card Layout --- */

/* ── Hero card: rounded dark container wrapping nav + hero ── */
.hero-card {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 40px 120px rgba(0,0,0,0.8);
}

/* Nav inside the card: fully transparent, floats over hero */
.hero-card .site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ── Hero section ── */
.home-hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--color-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Background layer: flat dark base, no image, no circles */
.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #040B13 0%, #030507 55%, #040C13 100%);
}

/* Dot grid overlay — replaces circle overlays */
.home-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #162032 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Line grid suppressed — dot grid in bg-overlay handles texture */
.home-hero__grid {
  display: none;
}

/* Radial glow behind the content */
.home-hero__glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0, 255, 135, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom vignette */
.home-hero__bg-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(6, 10, 16, 1) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── Content body ── */
.home-hero__body {
  flex: 1;
  position: relative;
  z-index: 1;
  padding-top: calc(var(--space-xl) + 72px);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

/* Main two-column row */
.home-hero__main {
  flex: 1;
}

/* ── LEFT column: editorial content ── */
.home-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
  padding-right: var(--space-xl);
}

/* Overline */
.home-hero__overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.home-hero__overline-bar {
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* Headline */
.home-hero__headline {
  font-size: clamp(3rem, 5.8vw, 6.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.home-hero__headline em {
  display: block;
  font-style: normal;
  background: linear-gradient(100deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Short accent rule under headline */
.home-hero__rule {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

/* Sub */
.home-hero__sub {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 440px;
  margin-bottom: var(--space-lg);
}

/* CTAs */
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

/* Trust badges */
.home-hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.home-hero__trust-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-right: 4px;
}

.home-hero__trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(0, 255, 135, 0.05);
  border: 1px solid rgba(0, 255, 135, 0.14);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* ── RIGHT column: typographic stats ── */
.home-hero__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
  padding-left: var(--space-xl);
  border-left: 1px solid var(--color-border);
}

.home-hero__metrics {
  display: flex;
  flex-direction: column;
}

.home-hero__metric {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.home-hero__metric:first-child {
  padding-top: 0;
}

.home-hero__metric:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Large typographic number */
.home-hero__metric-value {
  font-size: clamp(2.25rem, 3.5vw, 4rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.home-hero__metric-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

/* Live monitoring status */
.home-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: var(--space-lg);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-success);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.home-hero__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

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


/* ── Responsive ── */
@media (prefers-reduced-motion: reduce) {
  .home-hero__live-dot { animation: none; }
}

@media (max-width: 991px) {
  .home-hero {
    min-height: unset;
  }

  .home-hero__body {
    padding-top: calc(var(--space-lg) + 60px);
  }

  .home-hero__left {
    padding-right: 0;
    padding-bottom: var(--space-lg);
  }

  .home-hero__headline {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .home-hero__right {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
    flex-direction: row;
  }

  .home-hero__metrics {
    flex-direction: row;
    flex: 1;
    gap: 0;
  }

  .home-hero__metric {
    flex: 1;
    padding: 0 var(--space-md) 0 0;
    border-bottom: none;
    border-right: 1px solid var(--color-border);
    margin-right: var(--space-md);
  }

  .home-hero__metric:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
  }

  .home-hero__live {
    margin-top: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: var(--space-md);
    border-left: 1px solid var(--color-border);
    white-space: nowrap;
  }

}

@media (max-width: 575px) {

  .home-hero__right {
    flex-direction: column;
  }

  .home-hero__metrics {
    flex-direction: column;
  }

  .home-hero__metric {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-sm) 0;
    margin-right: 0;
  }

  .home-hero__live {
    border-left: none;
    padding-left: 0;
    margin-top: var(--space-md);
    flex-direction: row;
  }
}




.site-footer {
  background-color: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
}

.site-footer__cta {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* Dot grid texture */
.site-footer__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(22, 32, 50, 0.9) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Radial glow centered behind content */
.site-footer__cta::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(0, 255, 135, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Top gradient accent line */
.site-footer__cta-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 30%, var(--color-secondary) 70%, transparent 100%);
  z-index: 1;
}

/* All inner content above pseudo-elements */
.site-footer__cta .container {
  position: relative;
  z-index: 1;
}

/* Label with flanking bars */
.site-footer__cta-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.site-footer__cta-label-bar {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.5;
}

/* Large headline */
.site-footer__cta-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.site-footer__cta-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-footer__cta-sub {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto var(--space-lg);
  line-height: var(--leading-loose);
}

.site-footer__cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

/* Certification strip */
.site-footer__cta-certs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.site-footer__cta-cert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.site-footer__cta-cert svg {
  width: 12px;
  height: 12px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.site-footer__cta-cert-sep {
  color: var(--color-text-subtle);
  opacity: 0.25;
  font-size: var(--text-md);
}

.site-footer__cta-cert-live {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.site-footer__body {
  padding: var(--space-xl) 0 0;
}

/* ── Upper section ── */
.site-footer__upper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Brand block */
.site-footer__brand-block {
  flex: 1;
  max-width: 380px;
}

.site-footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

/* Socials */
.site-footer__socials {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.site-footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.site-footer__social-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

.site-footer__social-link svg {
  width: 16px;
  height: 16px;
}

/* ── Live security shield widget ── */
.site-footer__shield {
  flex-shrink: 0;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-elevated);
  box-shadow: 0 0 0 1px rgba(0, 255, 135, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  min-width: 340px;
}

.site-footer__shield-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.site-footer__shield-header svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

.site-footer__shield-metrics {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

.site-footer__shield-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.site-footer__shield-sep {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  flex-shrink: 0;
  margin: 0 var(--space-md);
}

.site-footer__shield-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.site-footer__shield-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.site-footer__shield-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-success);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.site-footer__shield-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── Separator ── */
.site-footer__sep {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-xl);
}

/* ── Lower columns ── */
.site-footer__columns {
  padding-bottom: var(--space-xl);
}

.site-footer__col-title {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-md);
}

.site-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.site-footer__nav-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.site-footer__nav-link::before {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.2s ease;
  flex-shrink: 0;
}

.site-footer__nav-link:hover {
  color: var(--color-primary);
  gap: 10px;
}

.site-footer__nav-link:hover::before {
  width: 12px;
}

/* ── Contact cards grid ── */
.site-footer__contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}

.site-footer__contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.site-footer__contact-card:hover {
  border-color: rgba(0, 255, 135, 0.3);
  background: rgba(0, 255, 135, 0.03);
  transform: translateY(-1px);
}

.site-footer__contact-card--wide {
  grid-column: 1 / -1;
}

.site-footer__contact-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-dim);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.site-footer__contact-icon svg {
  width: 15px;
  height: 15px;
}

.site-footer__contact-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.site-footer__contact-value {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}

/* ── Bottom bar ── */
.site-footer__bottom {
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--color-border);
}

.site-footer__copyright {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
}

.site-footer__legal {
  display: flex;
  gap: var(--space-md);
}

.site-footer__legal-link {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  transition: color 0.2s ease;
}

.site-footer__legal-link:hover {
  color: var(--color-text-muted);
}


/* =============================================================
   6. SECTIONS (Page-specific)
   ============================================================= */

/* ── Shared section components ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.section-label__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
}

.section-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}


/* ── Section 3: Trusted Strip ── */
.trusted-strip {
  padding: var(--space-lg) 0;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trusted-strip__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-subtle);
  text-align: center;
  margin-bottom: var(--space-md);
}

.trusted-strip__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.trusted-strip__name {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-widest);
  color: var(--color-text-subtle);
  transition: color 0.2s ease;
  cursor: default;
}

.trusted-strip__name:hover {
  color: var(--color-text-muted);
}

.trusted-strip__sep {
  color: var(--color-border);
  font-size: var(--text-md);
  user-select: none;
}


/* ── Section 4: Services ── */
.services-section {
  background-color: var(--color-bg);
}

.services-card {
  position: relative;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.services-card:hover {
  border-color: rgba(0, 255, 135, 0.3);
  box-shadow: 0 0 32px rgba(0, 255, 135, 0.08);
}

.services-card--featured {
  padding-bottom: calc(var(--space-lg) + 60px);
  border-color: rgba(0, 255, 135, 0.18);
  box-shadow: 0 0 40px rgba(0, 255, 135, 0.07), inset 0 0 0 1px rgba(0, 255, 135, 0.06);
}

.services-card--featured:hover {
  border-color: rgba(0, 255, 135, 0.4);
  box-shadow: 0 0 56px rgba(0, 255, 135, 0.14);
}

.services-card--medium {
  padding-bottom: calc(var(--space-lg) + 60px);
}

.services-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-dim);
  border: 1px solid rgba(0, 255, 135, 0.2);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.services-card__icon--sm {
  width: 44px;
  height: 44px;
}

.services-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-sm);
}

.services-card__title--sm {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.services-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-md);
}

.services-card__desc--sm {
  font-size: var(--text-xs);
  margin-bottom: 0;
}

.services-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  transition: gap 0.2s ease;
}

.services-card__link:hover {
  gap: 10px;
}

.services-card__stat {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  text-align: right;
}

.services-card__stat-value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.services-card__stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-top: 4px;
}


/* ── Section 5: About / Who We Are ── */
.about-section {
  background-color: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Pull quote */
.about-section__quote {
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-md);
  margin: var(--space-md) 0 var(--space-lg);
  font-size: var(--text-md);
  font-style: italic;
  color: var(--color-text);
  line-height: var(--leading-loose);
}

/* Right panel: image + stat row stacked */
.about-section__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 480px;
}

.about-section__img-wrap {
  position: relative;
  flex: 1;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-bottom: none;
}

.about-section__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-section__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(10, 16, 24, 0.55) 100%);
}

/* Stat dashboard row */
.about-section__stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
}

.about-section__stat-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-md);
  background: var(--color-bg-elevated);
  border-right: 1px solid var(--color-border);
}

.about-section__stat-card:last-child {
  border-right: none;
}

.about-section__stat-val {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.about-section__stat-lbl {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

@media (max-width: 767px) {
  .about-section__panel {
    min-height: 380px;
  }

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

  .about-section__stat-card:nth-child(2) {
    border-right: none;
  }

  .about-section__stat-card:nth-child(3),
  .about-section__stat-card:nth-child(4) {
    border-top: 1px solid var(--color-border);
  }
}


/* ── Section 6: Why Kryphos ── */
.why-section {
  background-color: var(--color-bg-elevated);
}

/* Feature cards */
.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  height: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Left accent bar — reveals on hover */
.why-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.why-card:hover {
  border-color: rgba(0, 255, 135, 0.28);
  box-shadow: 0 0 32px rgba(0, 255, 135, 0.06);
}

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

.why-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-dim);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.why-card__icon svg {
  width: 22px;
  height: 22px;
}

/* Ghost number — outline only */
.why-card__num {
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
}

.why-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-xs);
}

.why-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  flex: 1;
  margin: 0;
}

.why-card__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.why-card__stat-value {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.why-card__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}


/* ── Section 7: Projects ── */
.projects-section {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) and (max-width: 991px) {
  .projects-row > [class*="col"]:last-child:nth-child(odd) {
    margin-left: auto;
  }
}

.project-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  border-color: rgba(0, 255, 135, 0.3);
  box-shadow: 0 0 32px rgba(0, 255, 135, 0.08);
}

.project-card__image-wrap {
  position: relative;
  flex-shrink: 0;
}

.project-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,10,16,0.1) 0%, rgba(6,10,16,0.5) 100%);
}

.project-card__body {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.project-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-dim);
  border: 1px solid rgba(0, 255, 135, 0.2);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  margin-bottom: var(--space-xs);
  align-self: flex-start;
}

.project-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-xs);
}

.project-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-sm);
  flex: 1;
}

.project-card__result {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm);
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.project-card__result-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  flex-shrink: 0;
  align-self: center;
}

.project-card__result-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
  align-self: center;
}

.project-card__link {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  transition: letter-spacing 0.2s ease;
}

.project-card__link:hover {
  letter-spacing: 0.02em;
}


/* ── Section 8: Pricing ── */
.pricing-section {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: border-color 0.25s ease;
}

.pricing-card:hover {
  border-color: rgba(0, 255, 135, 0.2);
}

.pricing-card--featured {
  background: var(--color-bg-surface);
  border-color: rgba(0, 255, 135, 0.35);
  box-shadow: 0 0 60px rgba(0, 255, 135, 0.07), inset 0 0 0 1px rgba(0, 255, 135, 0.05);
}

/* "Most Popular" pill badge — absolute top-center, no flow impact */
.pricing-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: var(--color-bg-surface);
  border: 1px solid rgba(0, 255, 135, 0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card__tier {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--space-xs);
}

.pricing-card__amount {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.pricing-card__amount--custom {
  background: linear-gradient(100deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

.pricing-card__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin: 0;
}


.pricing-card__sep {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-md) 0;
}

/* Feature lists */
.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-lg);
  list-style: none;
  padding: 0;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}

.pricing-card__features li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary-dim);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%2300FF87' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}


/* Guarantee bar */
.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.pricing-guarantee__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

.pricing-guarantee__item svg {
  width: 15px;
  height: 15px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.pricing-guarantee__sep {
  color: var(--color-text-subtle);
  opacity: 0.3;
  font-size: var(--text-md);
}



/* ── Section 9: Testimonials ── */
.testimonials-section {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.testimonial-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: 0;
}

.testimonial-card--featured {
  background: var(--color-bg-surface);
  border-color: rgba(0, 255, 135, 0.25);
  box-shadow: 0 0 40px rgba(0, 255, 135, 0.07);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-xs);
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
}

.testimonial-card__quote {
  font-size: var(--text-md);
  font-style: italic;
  color: var(--color-text);
  line-height: var(--leading-loose);
  flex: 1;
  margin: 0;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}


/* ── Section 10: Blog ── */
.blog-section {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ── Featured: full-height magazine cover ── */
.blog-featured {
  position: relative;
  display: block;
  height: 100%;
  min-height: 540px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.blog-featured__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-featured:hover .blog-featured__img {
  transform: scale(1.04);
}

.blog-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 10, 16, 0.97) 0%,
    rgba(6, 10, 16, 0.65) 50%,
    rgba(6, 10, 16, 0.15) 100%
  );
}

.blog-featured__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.blog-featured__tag {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-primary);
}

.blog-featured__title {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin: 0;
}

.blog-featured__excerpt {
  font-size: var(--text-sm);
  color: rgba(232, 237, 245, 0.75);
  line-height: var(--leading-loose);
  margin: 0;
}

.blog-featured__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  font-weight: var(--font-weight-medium);
  padding-top: var(--space-xs);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-featured__cta {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  transition: opacity 0.2s ease;
}

.blog-featured:hover .blog-featured__cta {
  opacity: 0.75;
}

/* ── Briefings list: editorial, no images ── */
.blog-list {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg-elevated);
}

.blog-list__header {
  padding: var(--space-sm) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-surface);
}

.blog-list__header-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.blog-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.2s ease;
  flex: 1;
  cursor: pointer;
}

.blog-list__item:last-child {
  border-bottom: none;
}

.blog-list__item:hover {
  background: rgba(0, 255, 135, 0.03);
}

.blog-list__item:hover .blog-list__arrow {
  color: var(--color-primary);
  transform: translateX(4px);
}

.blog-list__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-wide);
  padding-top: 3px;
  flex-shrink: 0;
  opacity: 0.5;
}

.blog-list__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.blog-list__tag {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-primary);
}

.blog-list__title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin: 0;
}

.blog-list__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  font-weight: var(--font-weight-medium);
}

.blog-list__arrow {
  width: 16px;
  height: 16px;
  color: var(--color-text-subtle);
  flex-shrink: 0;
  margin-top: 3px;
  transition: color 0.2s ease, transform 0.2s ease;
}

@media (max-width: 991px) {
  .blog-featured {
    min-height: 380px;
  }
}


/* =============================================================
   INNER PAGE COMPONENTS (shared across non-homepage pages)
   ============================================================= */

/* Nav transparent on pages with hero background */
.has-page-hero .site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ── Inner page hero — simple centered ── */
.page-hero {
  position: relative;
  padding: calc(var(--space-2xl) + 72px) 0 var(--space-2xl);
  background: linear-gradient(160deg, #040B13 0%, #030507 55%, #040C13 100%);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* Dot grid — same as homepage hero */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #162032 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Subtle radial glow behind content */
.page-hero::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(0, 255, 135, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

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

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  margin-bottom: var(--space-lg);
}

.page-hero__breadcrumb a {
  color: var(--color-text-subtle);
  transition: color 0.2s ease;
}

.page-hero__breadcrumb a:hover {
  color: var(--color-text-muted);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  max-width: 860px;
}

.page-hero__sub {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 520px;
  margin: 0;
}

/* ── Story section ── */
.story-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.story-callout {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(0, 255, 135, 0.2);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(0, 255, 135, 0.03);
}

.story-callout__value {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  flex-shrink: 0;
}

.story-callout__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}

/* Timeline */
.story-timeline {
  position: relative;
  padding-left: var(--space-lg);
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--color-primary), rgba(0, 255, 135, 0.1));
}

.story-milestone {
  position: relative;
  padding-bottom: var(--space-lg);
}

.story-milestone:last-child {
  padding-bottom: 0;
}

.story-milestone::before {
  content: '';
  position: absolute;
  left: calc(var(--space-lg) * -1);
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translateX(calc(-50% + 0.5px));
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.4);
}

.story-milestone--last::before {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  width: 10px;
  height: 10px;
}

.story-milestone__year {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.story-milestone__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 6px;
}

.story-milestone__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin: 0;
}

/* ── Values section ── */
.values-section {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
}

.value-card {
  padding: var(--space-lg);
  height: 100%;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  border-color: rgba(0, 255, 135, 0.25);
  box-shadow: 0 0 24px rgba(0, 255, 135, 0.05);
}

.value-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--color-primary-dim);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
}

.value-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-xs);
}

.value-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin: 0;
}

/* ── Team section ── */
.team-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.team-card:hover .team-card__photo img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.team-card__name {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin: 0;
}

.team-card__role {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin: 0;
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin: 0;
}

@media (max-width: 767px) {
  .page-hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .story-timeline {
    padding-left: var(--space-md);
  }

  .story-milestone::before {
    left: calc(var(--space-md) * -1);
  }
}

/* ── Responsive: sections ── */
@media (max-width: 991px) {
  .site-footer__shield {
    min-width: 280px;
  }
}

@media (max-width: 767px) {

  .blog-card--compact {
    flex-direction: column;
  }

  .blog-card__image-wrap--compact {
    width: 100%;
  }

  .blog-card__image--compact {
    width: 100%;
    height: 160px;
    min-height: unset;
  }
}

/* ── Footer responsive ── */
@media (max-width: 1199px) {
  .site-footer__shield {
    min-width: 280px;
  }
}

@media (max-width: 991px) {
  .site-footer__upper {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .site-footer__brand-block {
    max-width: 100%;
  }

  .site-footer__shield {
    min-width: unset;
    width: 100%;
  }

  .site-footer__shield-metrics {
    justify-content: space-between;
  }

  .site-footer__contact-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__contact-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 575px) {
  .site-footer__shield-metrics {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .site-footer__shield-sep {
    display: none;
  }

  .site-footer__shield-metric {
    flex: 1 1 40%;
  }

  .site-footer__legal {
    gap: var(--space-sm);
  }

  .site-footer__legal-link {
    font-size: var(--text-xs);
  }
}

/* =============================================================
   FAQ SECTION — reusable across all pages
   ============================================================= */
.faq-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.faq-section__aside {
  position: sticky;
  top: calc(72px + var(--space-lg));
}

/* Mini stats below CTA */
.faq-stat {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
}

.faq-stat__num {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: 6px;
}

.faq-stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* FAQ list items */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  border-left: 2px solid transparent;
  padding-left: 0;
  transition: border-left-color 0.3s ease, padding-left 0.3s ease;
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item:has(.collapse.show) {
  border-left-color: var(--color-primary);
  padding-left: var(--space-sm);
}

.faq-item__btn {
  background: transparent;
  border: none;
  padding: var(--space-md) 0;
  text-align: left;
  cursor: pointer;
}

.faq-item__num {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  opacity: 0.5;
  letter-spacing: 0.06em;
  padding-top: 3px;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.faq-item__btn[aria-expanded="true"] .faq-item__num {
  opacity: 1;
}

.faq-item__q {
  color: var(--color-white);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  transition: color 0.25s ease;
}

.faq-item__btn[aria-expanded="true"] .faq-item__q {
  color: var(--color-primary);
}

.faq-item__icon {
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.25s ease;
  margin-top: 3px;
}

.faq-item__btn[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-item__body {
  padding-bottom: var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
}

@media (max-width: 991px) {
  .faq-section__aside {
    position: static;
  }
}

/* =============================================================
   SERVICE DETAIL PAGE
   ============================================================= */

/* Right metrics panel — service overview */
.svc-metrics-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.svc-metric {
  padding: var(--space-lg) var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.svc-metric:last-child {
  border-bottom: none;
}

.svc-metric__value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: 6px;
}

.svc-metric__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.svc-metric__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  opacity: 0.6;
  margin-top: 4px;
}

/* Feature checklist */
.svc-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svc-features li {
  padding: var(--space-xs) 0;
  color: var(--color-text);
  font-size: var(--text-sm);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.svc-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* Methodology steps */
.method-step {
  border-top: 2px solid var(--color-border);
  padding-top: var(--space-md);
  transition: border-color 0.3s ease;
}

.method-step:hover {
  border-top-color: var(--color-primary);
}

.method-step__num {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: var(--space-sm);
}

.method-step__title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
  letter-spacing: var(--tracking-tight);
}

.method-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* Capability cards */
.capability-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  height: 100%;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.capability-card:hover {
  border-color: rgba(0, 255, 135, 0.25);
  background: rgba(0, 255, 135, 0.02);
}

.capability-card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.capability-card__title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
  letter-spacing: var(--tracking-tight);
}

.capability-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* Platform intelligence stats */
.platform-stat {
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-md);
}

.platform-stat__value {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: 6px;
}

.platform-stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}


/* =============================================================
   PROJECT DETAIL PAGE
   ============================================================= */
.project-meta {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.project-meta__item {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-meta__value {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-top: 4px;
  letter-spacing: 0;
  text-transform: none;
}

.project-challenge__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.project-challenge__img-wrap {
  position: relative;
}

.project-challenge__img-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,255,135,0.06) 0%, transparent 60%);
  border: 1px solid var(--color-border);
  pointer-events: none;
}

.project-testimonial {
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-lg);
}

.project-testimonial__quote {
  font-size: var(--text-lg);
  color: var(--color-white);
  line-height: var(--leading-loose);
  font-style: italic;
  margin-bottom: var(--space-md);
  letter-spacing: var(--tracking-tight);
}

.project-testimonial__author {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.project-testimonial__author strong {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

/* Project detail — hero stat (big editorial number, no border panel) */
.project-hero-stat__value {
  display: block;
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.project-hero-stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* Bottom strip — mixes metadata with key results */
.project-stats-strip {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
}

/* =============================================================
   FAQ PAGE — category nav + dividers
   ============================================================= */
.faq-page-nav {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.faq-page-nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s ease;
}

.faq-page-nav__link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.faq-page-nav__link:hover {
  color: var(--color-primary);
}

.faq-page-nav__link:hover::before {
  background: var(--color-primary);
}

.faq-category {
  padding: var(--space-lg) 0 var(--space-sm);
  margin-top: var(--space-md);
}

.faq-category__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.8;
}

/* =============================================================
   COMING SOON PAGE
   ============================================================= */
.coming-soon-page {
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.coming-soon-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.coming-soon-page::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,135,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.coming-soon__brand {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-xl);
}

.coming-soon__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.coming-soon__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.coming-soon__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}

/* Countdown */
.coming-soon__countdown {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.countdown-unit {
  min-width: 80px;
}

.countdown-unit__value {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.countdown-unit__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
}

/* Notify form */
.coming-soon__form {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
}

.coming-soon__input {
  flex: 1;
  min-width: 220px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px var(--space-md);
  color: var(--color-white);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s ease;
}

.coming-soon__input::placeholder {
  color: var(--color-text-muted);
}

.coming-soon__input:focus {
  border-color: var(--color-primary);
}

.coming-soon__footer-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  position: relative;
  z-index: 1;
}

/* =============================================================
   404 PAGE
   ============================================================= */
.error-404-page {
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.error-404-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.error-404__code {
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.error-404__content {
  position: relative;
  z-index: 1;
}

.error-404__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.error-404__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-md);
}

.error-404__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 440px;
  margin: 0 auto var(--space-xl);
}

/* =============================================================
   BLOG PAGE — grid card + pagination
   ============================================================= */
.blog-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.blog-card:hover {
  border-color: rgba(0, 255, 135, 0.25);
  box-shadow: 0 0 28px rgba(0, 255, 135, 0.07);
}

.blog-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.blog-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.blog-card__tag {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-primary);
  align-self: flex-start;
}

.blog-card__title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

.blog-card:hover .blog-card__title {
  color: var(--color-primary);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  flex: 1;
}

.blog-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  padding-top: var(--space-xs);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-xs);
}

/* Pagination */
.blog-card--hidden {
  display: none;
}

.blog-load-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
}

/* =============================================================
   Single Blog / Article
   ============================================================= */
.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

.article-meta-bar__author {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.article-meta-bar__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
}

.article-meta-bar__name {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
}

.article-meta-bar__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.article-meta-bar__sep {
  width: 1px;
  height: 32px;
  background: var(--color-border);
  margin: 0 var(--space-xs);
}

.article-meta-bar__item {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.article-meta-bar__tag {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  background: var(--color-primary-dim);
  border: 1px solid rgba(0,255,135,.15);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-left: auto;
}

.article-share {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.article-share__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.article-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.article-share__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 96px;
}

.article-toc {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.article-toc__title {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.article-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-toc__link {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 6px var(--space-xs);
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  line-height: var(--leading-snug);
}

.article-toc__link:hover,
.article-toc__link.is-active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

.article-author-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.article-author-card__img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary-dim);
  margin-bottom: var(--space-xs);
}

.article-author-card__name {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
}

.article-author-card__title {
  font-size: var(--text-sm);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.article-author-card__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* Article prose */
.article-prose {
  color: var(--color-text);
  line-height: var(--leading-loose);
}

.article-prose h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.article-prose h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.article-prose p {
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: 1.85;
}

.article-prose ul,
.article-prose ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.article-prose li {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.85;
  margin-bottom: var(--space-xs);
}

.article-prose strong {
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}

.article-prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-pullquote {
  border-left: 3px solid var(--color-primary);
  background: var(--color-bg-elevated);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
}

.article-pullquote__text {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  font-style: italic;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-xs);
}

.article-pullquote__attr {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.article-callout {
  background: var(--color-primary-dim);
  border: 1px solid rgba(0,255,135,.2);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
}

.article-callout__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.article-callout__text {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: var(--leading-loose);
  margin: 0;
}

.article-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin: var(--space-xl) 0;
}

.article-stat {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
}

.article-stat__value {
  display: block;
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
  font-family: var(--font-mono);
}

.article-stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* Related articles */
.article-related-card {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-related-card:last-child {
  border-bottom: none;
}

.article-related-card__img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.article-related-card__tag {
  font-size: var(--text-xs);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: 2px;
}

.article-related-card__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: var(--leading-snug);
  transition: color 0.2s ease;
}

.article-related-card:hover .article-related-card__title {
  color: var(--color-primary);
}

/* =============================================================
   Contact Page
   ============================================================= */
.contact-hero-band {
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.contact-method-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  transition: border-color 0.25s ease;
  text-decoration: none;
  height: 100%;
}

@media (min-width: 992px) {
  .contact-method-card {
    padding: var(--space-lg);
    gap: var(--space-md);
  }
}

.contact-method-card:hover {
  border-color: var(--color-primary);
}

.contact-method-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-dim);
  border: 1px solid rgba(0,255,135,.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-method-card__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-method-card__value {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  line-height: var(--leading-snug);
}

.contact-method-card__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.contact-form-panel {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.contact-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: 8px;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text);
  font-family: var(--font-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-dim);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--color-text-subtle);
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%237A8FA8' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.contact-select option {
  background: var(--color-bg-elevated);
}

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

.contact-office {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.contact-office__city {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.contact-office__dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-office__addr {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.contact-office__meta {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  margin-top: var(--space-xs);
}

.contact-guarantee {
  background: var(--color-primary-dim);
  border: 1px solid rgba(0,255,135,.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.contact-guarantee__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.contact-guarantee__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.contact-guarantee__item svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
