/* ==========================================================================
   Icloudit.pl — Bezpieczne IT dla firm 2–50 osób Design System
   Swiss-Precision High-Contrast B2B Architecture
   ========================================================================== */

:root {
  /* Dark Architectural Palette */
  --dark-950: #060a13;
  --dark-900: #0b1220;
  --dark-850: #10192b;
  --dark-800: #162238;
  --dark-700: #1e2e4a;

  /* Light Architectural Palette */
  --light-0: #ffffff;
  --light-50: #f8fafc;
  --light-100: #f1f5f9;
  --light-200: #e2e8f0;

  /* Text Tokens */
  --ink-dark-primary: #f8fafc;
  --ink-dark-secondary: #cbd5e1;
  --ink-dark-muted: #94a3b8;

  --ink-light-primary: #0f172a;
  --ink-light-secondary: #334155;
  --ink-light-muted: #64748b;

  /* Brand & Functional Accents */
  --brand-700: #1d4ed8;
  --brand-600: #2563eb;
  --brand-500: #3b82f6;
  --brand-400: #38bdf8;
  --brand-soft: rgba(37, 99, 235, 0.1);
  --brand-soft-dark: rgba(56, 189, 248, 0.14);

  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-soft: rgba(16, 185, 129, 0.12);

  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-soft: rgba(245, 158, 11, 0.14);

  --danger-500: #ef4444;

  /* Borders & Surfaces */
  --border-dark: rgba(148, 163, 184, 0.16);
  --border-dark-strong: rgba(148, 163, 184, 0.28);
  --border-light: #e2e8f0;
  --border-light-strong: #cbd5e1;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 48px -18px rgba(15, 23, 42, 0.18);
  --shadow-dark-lg: 0 28px 60px -20px rgba(0, 0, 0, 0.65);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout & Radius */
  --container-max: 1240px;
  --nav-height: 70px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  scrollbar-gutter: stable;
  overflow-y: scroll;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-light-primary);
  background-color: var(--light-0);
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
}

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

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3vw, 2rem);
}

.section {
  padding-block: clamp(4.25rem, 7vw, 6.5rem);
  position: relative;
}

.section--dark {
  background-color: var(--dark-950);
  color: var(--ink-dark-primary);
}

.section--dark-elevated {
  background-color: var(--dark-900);
  color: var(--ink-dark-primary);
}

.section--light {
  background-color: var(--light-0);
  color: var(--ink-light-primary);
}

.section--muted {
  background-color: var(--light-50);
  color: var(--ink-light-primary);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* Eyebrow & Section Headings */
.section-header {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.eyebrow--light {
  color: var(--brand-700);
  background: var(--brand-soft);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.eyebrow--dark {
  color: var(--brand-400);
  background: var(--brand-soft-dark);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.eyebrow--emerald {
  color: var(--emerald-400);
  background: var(--emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.022em;
  margin: 0 0 0.85rem;
}

.section-lead {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.65;
  margin: 0;
}

.section--light .section-lead,
.section--muted .section-lead {
  color: var(--ink-light-secondary);
}

.section--dark .section-lead,
.section--dark-elevated .section-lead {
  color: var(--ink-dark-secondary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.92rem 1.45rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--brand-600);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.55);
}

.btn--primary:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.65);
}

.btn--secondary-dark {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-dark-primary);
  border-color: var(--border-dark-strong);
}

.btn--secondary-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(248, 250, 252, 0.35);
}

.btn--secondary-light {
  background: var(--light-0);
  color: var(--ink-light-primary);
  border-color: var(--border-light-strong);
}

.btn--secondary-light:hover {
  background: var(--light-50);
  border-color: var(--brand-600);
  color: var(--brand-700);
}

.btn--sm {
  padding: 0.65rem 1.05rem;
  font-size: 0.86rem;
}

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

.btn--full {
  width: 100%;
}

/* ---------- Top Utility Bar & Header ---------- */
.topbar {
  background: #04070e;
  color: var(--ink-dark-muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.78rem;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding-block: 0.38rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-dark-secondary);
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-dark-secondary);
  transition: color 0.18s ease;
}

.topbar__link:hover {
  color: var(--brand-400);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(6, 10, 19, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 10, 19, 0.97);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.65);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand__logo {
  height: 34px;
  width: 141px;
  aspect-ratio: 440 / 106;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
}

.brand:hover .brand__logo {
  opacity: 0.92;
}

.brand__logo--footer {
  height: 36px;
  width: 149px;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-600), #0ea5e9);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 16px -4px rgba(37, 99, 235, 0.55);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  color: var(--ink-dark-primary);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-400);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.main-nav__link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-dark-secondary);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.main-nav__link:hover,
.main-nav__link.is-active {
  color: var(--ink-dark-primary);
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-dark-primary);
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  z-index: 99;
  background: rgba(6, 10, 19, 0.98);
  backdrop-filter: blur(18px);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

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

.mobile-nav__link {
  padding: 0.9rem 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-dark-primary);
  border-bottom: 1px solid var(--border-dark);
}

.mobile-nav__cta {
  margin-top: 1.25rem;
}

/* ---------- Hero Section ---------- */
.hero {
  background-color: var(--dark-950);
  color: var(--ink-dark-primary);
  padding-top: clamp(2.5rem, 4.5vw, 3.85rem);
  padding-bottom: clamp(2.75rem, 4.5vw, 3.85rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 35%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(14, 165, 233, 0.06) 45%, transparent 72%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 4.5vw, 4rem);
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 1.1rem;
}

.hero__title-accent {
  background: linear-gradient(95deg, #ffffff 10%, #7dd3fc 58%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-dark-secondary);
  margin: 0 0 1.85rem;
  max-width: 58ch;
}

.hero__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero__pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-dark-secondary);
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--border-dark-strong);
  padding: 0.35rem 0.72rem;
  border-radius: 6px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-dark);
}

.metric-item__val {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--ink-dark-primary);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.metric-item__label {
  font-size: 0.82rem;
  color: var(--ink-dark-muted);
  margin-top: 0.3rem;
  line-height: 1.35;
}

/* Hero Visual Showcase */
.hero__visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-dark-strong);
  background: var(--dark-900);
  box-shadow: var(--shadow-dark-lg);
}

.hero-frame__img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.95);
}

.hero-frame__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 19, 0.15) 0%, rgba(6, 10, 19, 0.25) 55%, rgba(6, 10, 19, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
}

.hero-frame__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.telemetry-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(6, 10, 19, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.24);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-dark-primary);
}

.hero-frame__bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.telemetry-card {
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.95rem;
}

.telemetry-card__kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-dark-muted);
  margin-bottom: 0.25rem;
}

.telemetry-card__value {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink-dark-primary);
}

.telemetry-card__sub {
  font-size: 0.76rem;
  color: var(--emerald-400);
  margin-top: 0.15rem;
}

/* ---------- Tech Ecosystem Trust Bar ---------- */
.trust-bar {
  background: var(--dark-900);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding-block: 1.65rem;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
}

.trust-bar__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-dark-muted);
  flex-shrink: 0;
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  flex: 1;
  justify-content: flex-end;
}

.vendor-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-dark-secondary);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.vendor-mark:hover {
  opacity: 1;
  color: var(--ink-dark-primary);
}

.vendor-mark svg {
  width: 18px;
  height: 18px;
  color: var(--brand-400);
}

/* ---------- Service Hub (6 Core Pillars) ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-light-strong);
  background: var(--light-0);
  color: var(--ink-light-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--brand-600);
  color: var(--brand-700);
}

.filter-btn.is-active {
  background: var(--ink-light-primary);
  border-color: var(--ink-light-primary);
  color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--light-0);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-lg);
}

.service-card.is-hidden {
  display: none;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.service-card__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-light-muted);
  background: var(--light-100);
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.65rem;
  color: var(--ink-light-primary);
}

.service-card__desc {
  font-size: 0.94rem;
  color: var(--ink-light-secondary);
  margin: 0 0 1.25rem;
  line-height: 1.58;
}

.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink-light-secondary);
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.service-card__list svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-600);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.service-card__footer {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-card__stack {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-light-muted);
}

.link-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-700);
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
}

.link-action:hover {
  color: var(--brand-600);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Interactive Zero Trust & UTM Architecture Explorer ---------- */
.arch-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: stretch;
}

.arch-layers {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.arch-layer-btn {
  text-align: left;
  width: 100%;
  background: var(--dark-900);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  transition: all 0.22s var(--ease-out);
}

.arch-layer-btn:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: var(--dark-850);
}

.arch-layer-btn.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(16, 25, 43, 0.95));
  border-color: var(--brand-400);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3), 0 16px 32px -14px rgba(0, 0, 0, 0.6);
}

.arch-layer__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark-strong);
  display: grid;
  place-items: center;
  color: var(--brand-400);
}

.arch-layer-btn.is-active .arch-layer__index {
  background: var(--brand-600);
  border-color: var(--brand-400);
  color: #ffffff;
}

.arch-layer__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-dark-primary);
  margin-bottom: 0.2rem;
}

.arch-layer__meta {
  font-size: 0.84rem;
  color: var(--ink-dark-muted);
}

.arch-layer__arrow {
  color: var(--ink-dark-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.arch-layer-btn.is-active .arch-layer__arrow {
  color: var(--brand-400);
  transform: translateX(3px);
}

.arch-inspector {
  background: var(--dark-900);
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.arch-inspector::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400), var(--emerald-400));
}

.arch-inspector__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.arch-inspector__code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--brand-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.arch-inspector__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.35rem 0 0.65rem;
  color: var(--ink-dark-primary);
}

.arch-inspector__desc {
  color: var(--ink-dark-secondary);
  margin: 0;
  font-size: 0.96rem;
}

.arch-inspector__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.arch-box {
  background: rgba(6, 10, 19, 0.55);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.arch-box__title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-dark-muted);
  margin: 0 0 0.75rem;
}

.arch-box__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: var(--ink-dark-secondary);
}

.arch-box__list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.arch-box__list li::before {
  content: '▸';
  color: var(--brand-400);
  font-weight: 700;
  flex-shrink: 0;
}

.arch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.32rem 0.65rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #bae6fd;
}

.tech-tag--emerald {
  background: var(--emerald-soft);
  border-color: rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

/* ---------- UTM & Network Security Dedicated Showcase ---------- */
.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.showcase-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  background: var(--dark-900);
}

.showcase-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.showcase-media__caption {
  background: var(--dark-950);
  color: var(--ink-dark-secondary);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  border-top: 1px solid var(--border-dark);
}

.utm-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 1.75rem;
}

.utm-feature {
  background: var(--light-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem;
}

.utm-feature__title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--ink-light-primary);
}

.utm-feature__desc {
  font-size: 0.85rem;
  color: var(--ink-light-secondary);
  margin: 0;
  line-height: 1.5;
}

.utm-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.utm-model-card {
  background: var(--light-0);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
}

.utm-model-card--featured {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 1px var(--brand-600), var(--shadow-md);
}

.utm-model-card__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--brand-700);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.utm-model-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.utm-model-card__text {
  font-size: 0.88rem;
  color: var(--ink-light-secondary);
  margin: 0;
}

/* ---------- Cloud Hardening Tabs (MS 365 / Google Workspace / Azure) ---------- */
.cloud-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  padding: 0.4rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.cloud-tab {
  padding: 0.72rem 1.25rem;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--ink-dark-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.cloud-tab:hover {
  color: var(--ink-dark-primary);
}

.cloud-tab.is-active {
  background: var(--brand-600);
  color: #ffffff;
  box-shadow: 0 6px 18px -6px rgba(37, 99, 235, 0.65);
}

.cloud-panel {
  display: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.25rem;
  align-items: start;
  background: var(--dark-900);
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.cloud-panel.is-active {
  display: grid;
}

.cloud-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.cloud-check-item {
  background: rgba(6, 10, 19, 0.55);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}

.cloud-check-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink-dark-primary);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cloud-check-item__title svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-400);
  flex-shrink: 0;
}

.cloud-check-item__desc {
  font-size: 0.84rem;
  color: var(--ink-dark-muted);
  margin: 0;
  line-height: 1.5;
}

.cloud-side-card {
  background: rgba(6, 10, 19, 0.65);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cloud-side-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--border-dark);
}

.cloud-side-card__body {
  padding: 1.35rem;
}

.cloud-kpi-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-block: 1rem 1.25rem;
}

.cloud-kpi {
  background: var(--dark-850);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.cloud-kpi__val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-400);
}

.cloud-kpi__lbl {
  font-size: 0.76rem;
  color: var(--ink-dark-muted);
  margin-top: 0.15rem;
}

/* ---------- Interactive SLA & IT Care Configurator ---------- */
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.calc-controls {
  background: var(--light-0);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.calc-group__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.calc-group__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink-light-primary);
}

.calc-group__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-700);
}

.range-slider {
  width: 100%;
  accent-color: var(--brand-600);
  height: 6px;
  cursor: pointer;
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-light-muted);
  margin-top: 0.4rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

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

.option-card {
  position: relative;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card__label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light-strong);
  background: var(--light-50);
  cursor: pointer;
  transition: all 0.18s ease;
  height: 100%;
}

.option-card__label strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--ink-light-primary);
}

.option-card__label span {
  font-size: 0.78rem;
  color: var(--ink-light-muted);
  line-height: 1.35;
}

.option-card input:checked + .option-card__label {
  border-color: var(--brand-600);
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 0 0 1px var(--brand-600);
}

.option-card input:focus-visible + .option-card__label {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
}

.calc-summary {
  background: var(--dark-950);
  color: var(--ink-dark-primary);
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-dark-lg);
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.calc-summary__tier {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-400);
  margin-bottom: 0.35rem;
}

.calc-summary__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 1.25rem;
}

.calc-price-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.25rem;
}

.calc-price-box__label {
  font-size: 0.8rem;
  color: var(--ink-dark-muted);
}

.calc-price-box__amount {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 800;
  color: var(--ink-dark-primary);
  margin: 0.2rem 0;
  font-variant-numeric: tabular-nums;
}

.calc-price-box__note {
  font-size: 0.76rem;
  color: var(--ink-dark-muted);
}

.calc-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.calc-specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-dark);
}

.calc-specs span {
  color: var(--ink-dark-muted);
}

.calc-specs strong {
  color: var(--ink-dark-primary);
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

/* ---------- Compliance & Onboarding Process ---------- */
.compliance-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.compliance-card {
  background: var(--light-0);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.compliance-card__badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--brand-700);
  margin-bottom: 0.4rem;
}

.compliance-card__text {
  font-size: 0.86rem;
  color: var(--ink-light-secondary);
  margin: 0;
  line-height: 1.5;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.process-step {
  background: var(--light-0);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.45rem;
  position: relative;
}

.process-step__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-soft);
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
}

.process-step__desc {
  font-size: 0.89rem;
  color: var(--ink-light-secondary);
  margin: 0;
  line-height: 1.55;
}

/* ---------- Case Studies ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.case-card {
  background: var(--dark-900);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-card__sector {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-400);
}

.case-card__title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.case-card__text {
  font-size: 0.9rem;
  color: var(--ink-dark-secondary);
  margin: 0;
  line-height: 1.58;
}

.case-card__metrics {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.case-metric__val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--emerald-400);
}

.case-metric__lbl {
  font-size: 0.76rem;
  color: var(--ink-dark-muted);
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--light-0);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-light-primary);
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink-light-muted);
  transition: transform 0.25s var(--ease-out), color 0.2s ease;
}

.faq-item.is-open .faq-trigger svg {
  transform: rotate(180deg);
  color: var(--brand-600);
}

.faq-content {
  display: none;
  padding: 0 1.4rem 1.35rem;
  color: var(--ink-light-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-item.is-open .faq-content {
  display: block;
}

/* ---------- Contact & Audit Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--dark-900);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
}

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft-dark);
  color: var(--brand-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-info-item__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-dark-muted);
}

.contact-info-item__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-dark-primary);
  margin-top: 0.15rem;
}

.nda-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  font-size: 0.88rem;
  color: #d1fae5;
}

.contact-form-card {
  background: var(--light-0);
  color: var(--ink-light-primary);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.35rem);
  box-shadow: var(--shadow-dark-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-light-primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light-strong);
  background: var(--light-50);
  font-size: 0.94rem;
  color: var(--ink-light-primary);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  background: var(--light-0);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--ink-light-secondary);
  margin-block: 1rem 1.25rem;
}

.form-checkbox input {
  margin-top: 0.22rem;
  accent-color: var(--brand-600);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.form-feedback.is-success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-feedback.is-error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #04070e;
  color: var(--ink-dark-muted);
  border-top: 1px solid var(--border-dark);
  padding-top: 4rem;
  padding-bottom: 2.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-dark-primary);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
}

.footer-links a,
.footer-links button {
  background: none;
  border: none;
  padding: 0;
  color: var(--ink-dark-muted);
  text-align: left;
  transition: color 0.18s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--brand-400);
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* ---------- Modal Dialogs ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 7, 14, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background: var(--light-0);
  color: var(--ink-light-primary);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-dark-lg);
  border: 1px solid var(--border-light);
}

.modal-dialog__header {
  padding: 1.35rem 1.65rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  position: sticky;
  top: 0;
  background: var(--light-0);
  z-index: 2;
}

.modal-dialog__title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  margin: 0.25rem 0 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-light-strong);
  background: var(--light-50);
  color: var(--ink-light-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--light-100);
}

.modal-dialog__body {
  padding: 1.5rem 1.65rem 1.75rem;
}

.modal-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-checklist li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-light-secondary);
}

.modal-checklist li::before {
  content: '✓';
  color: var(--emerald-600);
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* ---------- Configurator Priority List (No Rigid Prices) ---------- */
.calc-priorities {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.25rem;
}

.calc-priorities__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-400);
  margin: 0 0 0.65rem;
}

.calc-priorities__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--ink-dark-secondary);
}

.calc-priorities__list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.calc-priorities__list li::before {
  content: '✓';
  color: var(--emerald-400);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Multi-Page Subpage Components ---------- */
.subhero {
  background-color: var(--dark-950);
  color: var(--ink-dark-primary);
  padding-top: clamp(2.35rem, 4vw, 3.4rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.6rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 75% at 50% 25%, #000 35%, transparent 100%);
  pointer-events: none;
}

.subhero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-dark-muted);
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: var(--ink-dark-secondary);
  transition: color 0.18s ease;
}

.breadcrumbs a:hover {
  color: var(--brand-400);
}

.subhero__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.75vw, 2.3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.024em;
  margin: 0 0 1rem;
}

.subhero__lead {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--ink-dark-secondary);
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 60ch;
}

.subhero__card {
  background: var(--dark-900);
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-dark-lg);
}

.subhero__card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--border-dark);
}

.subhero__card-body {
  padding: 1.35rem 1.5rem;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.deliverable-card {
  background: var(--light-0);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.deliverable-card__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-soft);
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.deliverable-card__title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--ink-light-primary);
}

.deliverable-card__desc {
  font-size: 0.92rem;
  color: var(--ink-light-secondary);
  margin: 0 0 1rem;
  line-height: 1.58;
}

.cta-band {
  background: linear-gradient(135deg, var(--dark-900), var(--dark-850));
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--ink-dark-primary);
}

.cta-band__text {
  color: var(--ink-dark-secondary);
  margin: 0;
  max-width: 58ch;
  font-size: 0.96rem;
}

.related-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.related-card {
  background: var(--light-0);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-600);
  box-shadow: var(--shadow-md);
}

.related-card__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-700);
  font-weight: 700;
  text-transform: uppercase;
}

.related-card__title {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink-light-primary);
  margin: 0;
}

.related-card__desc {
  font-size: 0.87rem;
  color: var(--ink-light-secondary);
  margin: 0;
}

.prose-card {
  background: var(--light-0);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  max-width: 900px;
  margin-inline: auto;
  box-shadow: var(--shadow-sm);
}

.prose-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--ink-light-primary);
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card p,
.prose-card li {
  color: var(--ink-light-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.form-actions-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mailto-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--ink-light-secondary);
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-light-strong);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.mailto-fallback:hover {
  border-color: var(--brand-600);
  color: var(--brand-700);
}

@media (max-width: 1080px) {
  .subhero__grid {
    grid-template-columns: 1fr;
  }
  .related-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .deliverables-grid,
  .related-services {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1140px) {
  .main-nav,
  .header-actions .btn--secondary-dark {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .arch-grid,
  .split-showcase,
  .cloud-panel,
  .calc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .cases-grid,
  .utm-models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compliance-strip,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calc-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .topbar {
    display: none;
  }
  .services-grid,
  .cases-grid,
  .utm-models,
  .utm-feature-grid,
  .arch-inspector__cols,
  .cloud-checklist,
  .option-grid,
  .option-grid--2,
  .compliance-strip,
  .process-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero__metrics {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .hero-frame__bottom {
    grid-template-columns: 1fr;
  }
  .header-actions .btn--primary {
    display: none;
  }
  .brand__logo {
    height: 28px;
    width: 116px;
  }
  .trust-bar__logos {
    justify-content: flex-start;
  }
}

/* ---------- Anti-Bot Click-to-Reveal Phone State ---------- */
[data-phone-reveal]:not(.btn) {
  cursor: pointer;
  text-decoration: underline dotted currentColor;
  text-underline-offset: 3px;
}

[data-phone-reveal].is-revealed:not(.btn) {
  text-decoration: none;
}
