/* ============================================
   VIGILIS DEFENSE — Design System
   Quiet tactical / laboratory aesthetic
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-primary: #11171d;
  --bg-secondary: #151d24;
  --bg-card: #1a232b;
  --bg-card-hover: #202b34;
  --bg-glass: rgba(17, 23, 29, 0.88);
  --bg-glass-border: rgba(145, 164, 160, 0.18);

  --text-primary: #f1f0ea;
  --text-secondary: #b9c1bf;
  --text-muted: #7c8987;

  --accent-cyan: #78bfc0;
  --accent-cyan-dim: rgba(120, 191, 192, 0.14);
  --accent-amber: #c5a86f;
  --accent-amber-dim: rgba(197, 168, 111, 0.14);
  --accent-red: #d27b72;
  --accent-red-dim: rgba(210, 123, 114, 0.14);
  --accent-green: #91ba93;

  --gradient-cyan: linear-gradient(135deg, #8bc9c8 0%, #5b9ca3 100%);
  --gradient-amber: linear-gradient(135deg, #cdb47b 0%, #a98a4f 100%);
  --gradient-hero: linear-gradient(180deg, rgba(17, 23, 29, 0.58) 0%, rgba(17, 23, 29, 0.94) 100%);

  /* Typography */
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.24);
  --shadow-glow-cyan: 0 12px 28px rgba(120, 191, 192, 0.12);
  --shadow-glow-amber: 0 12px 28px rgba(197, 168, 111, 0.12);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.6s ease;

  /* Layout */
  --container-max: 1280px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--accent-amber);
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-cyan-dim);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); }
h4 { font-size: clamp(1.05rem, 1.7vw, 1.3rem); }

p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.text-accent { color: var(--accent-cyan); }
.text-amber { color: var(--accent-amber); }
.text-gradient {
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* --- Section --- */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header .section-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent-amber);
  margin: var(--space-md) auto;
  border-radius: var(--radius-full);
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--bg-glass-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-logo span {
  white-space: nowrap;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(197, 168, 111, 0.55);
  box-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -5px;
  width: calc(100% + 10px);
  height: 8px;
  opacity: 0;
  pointer-events: auto;
}

.nav-links a,
.nav-dropdown-toggle {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after,
.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle.active::after,
.nav-dropdown.open .nav-dropdown-toggle::after {
  width: 100%;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.72;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 20;
  min-width: 210px;
  padding: 10px;
  display: grid;
  gap: 4px;
  list-style: none;
  background: rgba(21, 29, 36, 0.98);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(120, 191, 192, 0.09);
  color: var(--text-primary);
}

.nav-priority {
  padding: 7px 12px !important;
  border: 1px solid rgba(120, 191, 192, 0.28);
  border-radius: var(--radius-full);
  color: var(--accent-cyan) !important;
  background: rgba(120, 191, 192, 0.08);
}

.nav-priority::after {
  display: none;
}

.nav-priority:hover,
.nav-priority.active {
  color: #0f1719 !important;
  background: var(--accent-cyan);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-full);
  padding: 4px;
  cursor: pointer;
}

.lang-btn {
  background: none;
  border: none;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.lang-btn.active {
  background: var(--accent-cyan);
  color: #0f1719;
}

/* Mobile menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.82) contrast(0.96);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-2xl);
}

.executive-hero {
  min-height: auto;
  align-items: flex-start;
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-2xl);
}

.executive-hero .hero-bg {
  background-position: center;
  filter: saturate(0.72) contrast(0.95);
}

.executive-hero .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(17,23,29,0.9) 0%, rgba(17,23,29,0.66) 52%, rgba(17,23,29,0.9) 100%),
    linear-gradient(180deg, rgba(17,23,29,0.22) 0%, rgba(17,23,29,0.96) 100%);
}

.executive-hero .hero-content {
  width: min(100%, var(--container-max));
  max-width: none;
  padding: 0 var(--space-xl);
  text-align: left;
}

.executive-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.executive-hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.executive-hero-copy h1 {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.executive-hero-copy p {
  max-width: 670px;
  margin-left: auto;
  margin-right: auto;
}

.executive-hero-copy .hero-actions {
  justify-content: center;
}

.executive-hero-video {
  width: min(100%, 980px);
  max-width: 980px;
  margin: var(--space-sm) auto 0;
  align-self: center;
}

.executive-hero-support {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  width: min(100%, 980px);
  margin: 0 auto;
  text-align: center;
}

.executive-hero-support .risk-tags {
  margin-top: 0;
  justify-content: center;
  max-width: 980px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.risk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.risk-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
}

.executive-hero-panel {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(360px, 1.15fr);
  gap: 12px;
  align-items: stretch;
  border: 1px solid rgba(120, 191, 192, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(21, 29, 36, 0.82);
  box-shadow: var(--shadow-card);
  padding: 12px;
  backdrop-filter: blur(14px);
  text-align: left;
}

.hero-assessment-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 184px;
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.hero-panel-label {
  display: block;
  color: var(--accent-amber);
  font-size: clamp(1.24rem, 1.85vw, 1.55rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 0;
}

.executive-hero-panel p {
  max-width: 30ch;
  font-size: 0.94rem;
  line-height: 1.45;
  margin-bottom: 0;
}

.hero-proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
  min-height: 184px;
  padding: 10px;
  border: 1px solid rgba(120, 191, 192, 0.14);
  border-radius: var(--radius-md);
  background: rgba(4, 9, 14, 0.22);
  list-style: none;
}

.hero-proof-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  min-height: 78px;
  padding: 14px;
  gap: 10px;
  border: 1px solid rgba(120, 191, 192, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.25;
}

.hero-proof-list i {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex: 0 0 auto;
  margin-top: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(120, 191, 192, 0.11);
  border: 1px solid rgba(120, 191, 192, 0.24);
  color: var(--accent-cyan);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-lg);
}

.hero-badge::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: none;
}

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

.hero h1 {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-cyan);
  color: #0f1719;
  box-shadow: var(--shadow-glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(120, 191, 192, 0.18);
  color: #0f1719;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid rgba(185, 193, 191, 0.24);
}

.btn-secondary:hover {
  background: rgba(120, 191, 192, 0.09);
  transform: translateY(-1px);
  color: var(--text-primary);
  border-color: rgba(120, 191, 192, 0.38);
}

.btn-amber {
  background: var(--gradient-amber);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow-amber);
}

.btn-amber:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(197, 168, 111, 0.18);
  color: var(--bg-primary);
}

/* --- Service Cards Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-base);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(120, 191, 192, 0.22);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card-icon svg,
.contact-info-icon svg,
.card-icon svg,
.sign-icon svg,
.btn svg,
.tech-card svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}

.service-card-icon.cyan {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
}

.service-card-icon.amber {
  background: var(--accent-amber-dim);
  color: var(--accent-amber);
}

.service-card-icon.red {
  background: var(--accent-red-dim);
  color: var(--accent-red);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.18rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.service-card-cta {
  align-self: flex-start;
  margin-top: auto;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.executive-risk-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-xl);
  align-items: stretch;
}

.risk-intro-panel,
.phone-surface-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.risk-intro-panel {
  padding: var(--space-xl);
}

.risk-intro-panel h3 {
  margin-bottom: var(--space-sm);
}

.risk-intro-panel p {
  margin-bottom: var(--space-lg);
}

.risk-audience-list {
  display: grid;
  gap: var(--space-sm);
  list-style: none;
}

.risk-audience-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-weight: 600;
}

.risk-audience-list i {
  width: 18px;
  height: 18px;
  color: var(--accent-amber);
  flex-shrink: 0;
}

.phone-surface-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.phone-surface-card {
  min-height: 180px;
  padding: var(--space-lg);
}

.phone-surface-card i {
  width: 28px;
  height: 28px;
  color: var(--accent-cyan);
  margin-bottom: var(--space-md);
}

.phone-surface-card h4 {
  margin-bottom: var(--space-xs);
}

.phone-surface-card p {
  font-size: 0.94rem;
  margin: 0;
}

.executive-cta-band {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  background: linear-gradient(135deg, rgba(120,191,192,0.12), rgba(197,168,111,0.08));
  border: 1px solid rgba(120,191,192,0.18);
  border-radius: var(--radius-md);
}

.executive-cta-band p {
  max-width: 720px;
  margin: 0;
}

.embedded-video-section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.embedded-video-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(120, 191, 192, 0.2);
  background: #0a0e16;
  box-shadow: var(--shadow-card);
}

.embedded-video-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0a0e16;
}

.about-video-shell {
  margin-top: var(--space-2xl);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.capability-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.capability-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  border-color: rgba(120, 191, 192, 0.22);
  box-shadow: var(--shadow-card);
}

.capability-card:hover::before {
  transform: scaleX(1);
}

.card-icon,
.sign-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  color: var(--accent-cyan);
  font-size: 0;
}

.sign-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

/* --- Feature Section (image + text) --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 60px rgba(120, 191, 192, 0.04);
  pointer-events: none;
}

.feature-text h3 {
  margin-bottom: var(--space-md);
}

.feature-text p {
  margin-bottom: var(--space-md);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-lg);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-list li .check {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Stats Section --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-number.amber { color: var(--accent-amber); }
.stat-number.red { color: var(--accent-red); }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 600;
}

/* --- Charts Section --- */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.chart-card h4 {
  margin-bottom: var(--space-md);
  font-size: 1rem;
  color: var(--text-primary);
}

.chart-card canvas {
  width: 100% !important;
  max-height: 280px;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

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

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  text-transform: none;
}

.contact-info-item p {
  font-size: 0.95rem;
  margin: 0;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-xl) 0;
}

.footer .container {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(0, 1.8fr);
  align-items: start;
  gap: var(--space-xl);
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-identity {
  display: grid;
  gap: 0.35rem;
}

.footer-identity small {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.footer-identity a {
  color: inherit;
}

.service-card--core {
  border-color: rgba(104, 199, 204, 0.36);
  box-shadow: inset 0 2px 0 rgba(104, 199, 204, 0.55);
}

.service-card--support {
  opacity: 0.94;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.evidence-card {
  border: 1px solid rgba(145, 164, 160, 0.22);
  background: rgba(12, 28, 40, 0.62);
  padding: var(--space-lg);
  min-height: 230px;
}

.evidence-card h3 {
  margin: var(--space-sm) 0;
}

.evidence-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.team-visual {
  position: relative;
  min-height: 320px;
  margin-bottom: var(--space-xl);
  overflow: hidden;
  border: 1px solid rgba(145, 164, 160, 0.22);
  background: var(--bg-card);
}

.team-visual img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  opacity: 0.82;
}

.team-visual-caption {
  position: absolute;
  left: var(--space-lg);
  bottom: var(--space-lg);
  padding: 0.55rem 0.85rem;
  background: rgba(8, 22, 34, 0.88);
  border-left: 2px solid var(--accent-cyan);
  color: var(--text-primary);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.primary-services-grid {
  align-items: stretch;
}

.primary-services-grid .service-card--core {
  min-height: 410px;
}

.primary-services-grid .service-card--core .card-ext {
  min-height: 1.7rem;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  min-width: 0;
}

.footer-directory h4 {
  margin: 0 0 0.7rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-directory-group {
  min-width: 0;
}

.footer-directory nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-directory a {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: rgba(184, 193, 200, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-directory a:hover {
  color: var(--accent-cyan);
  text-decoration-color: currentColor;
}

.footer-directory a:focus-visible {
  color: var(--accent-cyan);
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.text-link {
  color: var(--accent-cyan);
  font-weight: 600;
}

@media (max-width: 800px) {
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .footer .container {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }

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

@media (max-width: 520px) {
  .footer-directory {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Grid BG Effect --- */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(145, 164, 160, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 164, 160, 0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.48;
}

/* --- Scan line effect --- */
.scanline {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.3;
  animation: scanline 8s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes scanline {
  0% { top: 0; }
  100% { top: 100%; }
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Glitch Effect --- */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: none;
}

.glitch:hover::before {
  animation: glitch-1 0.3s ease;
  color: var(--accent-cyan);
  opacity: 0.8;
  clip-path: inset(20% 0 40% 0);
}

.glitch:hover::after {
  animation: glitch-2 0.3s ease;
  color: var(--accent-amber);
  opacity: 0.8;
  clip-path: inset(60% 0 10% 0);
}

@keyframes glitch-1 {
  0% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

@keyframes glitch-2 {
  0% { transform: translateX(0); }
  20% { transform: translateX(3px); }
  40% { transform: translateX(-3px); }
  60% { transform: translateX(1px); }
  80% { transform: translateX(-1px); }
  100% { transform: translateX(0); }
}

/* --- Page-specific hero (subpages) --- */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,23,29,0.62) 0%, rgba(17,23,29,0.94) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-2xl);
}

/* --- Alert / Form Messages --- */
.form-message {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--accent-green);
}

.form-message.error {
  background: rgba(255, 61, 90, 0.1);
  border: 1px solid rgba(255, 61, 90, 0.3);
  color: var(--accent-red);
}

/* --- Counter animation --- */
.count-up {
  display: inline-block;
}

/* --- Breadcrumb (subpages) --- */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

.breadcrumb span {
  margin: 0 var(--space-sm);
}

/* ============================================
   CONTACT
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-glass-border);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  color: var(--accent-cyan);
  margin-bottom: var(--space-xs);
  font-size: 0.85rem;
  letter-spacing: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

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

.form-message {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: none; /* Hidden by default */
  align-items: center;
  gap: var(--space-sm);
}

.form-message.success {
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.form-message.error {
  background: rgba(255, 61, 90, 0.1);
  color: var(--accent-red);
  border: 1px solid rgba(255, 61, 90, 0.2);
}

/* Show messages when active */
.form-message.active {
  display: flex;
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  flex-shrink: 0;
}

.contact-info-item h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  font-size: 1rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.contact-info-item a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-info-item a:hover {
  color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .executive-hero-grid,
  .executive-hero-support,
  .executive-risk-grid {
    grid-template-columns: 1fr;
  }

  .executive-hero .hero-content {
    text-align: center;
  }

  .executive-hero-copy,
  .executive-hero-copy h1,
  .executive-hero-copy p {
    max-width: none;
  }

  .executive-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .executive-hero-video {
    max-width: min(100%, 760px);
    margin: 0 auto;
  }

  .executive-hero-support {
    width: min(100%, 760px);
  }

  .executive-hero-panel {
    grid-template-columns: 1fr;
    row-gap: var(--space-sm);
    padding: var(--space-lg);
  }

  .hero-assessment-copy,
  .hero-proof-list {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-proof-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: var(--space-sm);
  }

  .hero-actions,
  .risk-tags {
    justify-content: center;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .charts-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-logo {
    font-size: 1rem;
    letter-spacing: 0.04em;
    gap: 0.4rem;
  }

  .nav-logo img {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-sm);
    z-index: 999;
    padding: var(--space-xl);
    overflow-y: auto;
  }

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

  .nav-links a,
  .nav-dropdown-toggle {
    font-size: 1.3rem;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: var(--space-sm) 0;
  }

  .nav-priority {
    display: flex;
    justify-content: center;
    padding: 11px 14px !important;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: var(--space-xs);
    display: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.03);
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    transform: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .hero-content {
    padding: var(--space-lg);
  }

  .executive-hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-xl));
  }

  .executive-hero .hero-content {
    padding: 0 var(--space-md);
  }

  .executive-hero-panel {
    padding: var(--space-md);
  }

  .hero-assessment-copy {
    min-height: 160px;
  }

  .hero-proof-list {
    grid-template-columns: 1fr;
  }

  .phone-surface-grid {
    grid-template-columns: 1fr;
  }

  .executive-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .container {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* ============================================
   ============================================
   CORPORATE LAYER — premium dark refinement
   + EN ATM/Banking focus components
   (appended; overrides earlier defaults)
   ============================================
   ============================================ */

:root {
  /* Wider, calmer corporate rhythm */
  --container-max: 1300px;
  --space-3xl: 7rem;
  /* Softer, deeper elevation */
  --shadow-card: 0 18px 44px rgba(0, 0, 0, 0.30);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.22);
  /* Surfaces between sections */
  --bg-tint: #131b22;
  --hairline: rgba(255, 255, 255, 0.07);
}

/* Language-conditional blocks */
[data-lang-only][hidden] { display: none !important; }

/* Tighter, more confident headings */
h1 { line-height: 1.08; letter-spacing: -0.015em; }
h2 { line-height: 1.14; letter-spacing: -0.01em; }
h3 { line-height: 1.2; }

/* Eyebrow / kicker label — corporate */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: var(--space-md);
}
.eyebrow.amber { color: var(--accent-amber); }

/* Left-aligned section header variant */
.section-header.left { text-align: left; }
.section-header.left .section-line { margin-left: 0; margin-right: 0; }
.section-header.left p { margin-left: 0; }

/* Alternate tinted section + top hairline for corporate separation */
.section.section--tint { background: var(--bg-tint); }
.section.section--divide { border-top: 1px solid var(--hairline); }

/* --- Navbar: denser corporate glass + CTA --- */
.navbar.scrolled { background: rgba(15, 21, 27, 0.92); }
.nav-cta {
  padding: 9px 18px !important;
  border-radius: var(--radius-full);
  background: var(--accent-cyan);
  color: #0f1719 !important;
  font-weight: 700;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: #8fcccb; color: #0b1416 !important; transform: translateY(-1px); }
@media (max-width: 860px) { .nav-cta { display: none; } }

/* ============================================
   EN HERO — ATM / Banking focus
   ============================================ */
.atm-hero { min-height: auto; align-items: flex-start;
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-3xl); }
.atm-hero .hero-bg { filter: saturate(0.7) contrast(0.98) brightness(0.82); }
.atm-hero .hero-bg::after {
  background:
    linear-gradient(100deg, rgba(15,21,27,0.96) 0%, rgba(15,21,27,0.78) 46%, rgba(15,21,27,0.55) 100%),
    linear-gradient(180deg, rgba(15,21,27,0.30) 0%, rgba(15,21,27,0.92) 100%);
}
.atm-hero .hero-content {
  width: min(100%, var(--container-max));
  max-width: none;
  text-align: left;
  padding: 0 var(--space-xl);
}
.atm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--space-2xl);
  align-items: center;
}
.atm-hero-copy h1 { margin-bottom: var(--space-lg); max-width: 16ch; }
.atm-hero-copy p.hero-lead {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 54ch;
  margin: 0 0 var(--space-xl);
}
.atm-hero-copy .hero-actions { justify-content: flex-start; margin-top: 0; }
.partner-inline {
  display: flex; align-items: center; gap: var(--space-sm);
  margin-top: var(--space-xl);
  font-size: 0.92rem; color: var(--text-muted);
}
.partner-inline strong { color: var(--text-secondary); font-weight: 700; }
.partner-inline .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-amber); }

/* Hero side panel — the two-discipline thesis */
.thesis-card {
  background: rgba(21, 29, 36, 0.82);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  padding: var(--space-xl);
}
.thesis-card .thesis-row { display: flex; gap: var(--space-md); padding: var(--space-md) 0; }
.thesis-card .thesis-row + .thesis-row { border-top: 1px solid var(--hairline); }
.thesis-card .thesis-icon {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.thesis-card .thesis-icon.cyan { background: var(--accent-cyan-dim); color: var(--accent-cyan); }
.thesis-card .thesis-icon.amber { background: var(--accent-amber-dim); color: var(--accent-amber); }
.thesis-card .thesis-icon svg { width: 22px; height: 22px; }
.thesis-card h4 { margin-bottom: 2px; font-size: 1.02rem; }
.thesis-card p { font-size: 0.9rem; margin: 0; line-height: 1.45; }
.thesis-eq {
  text-align: center; font-family: var(--font-heading); font-weight: 700;
  color: var(--accent-cyan); margin-top: var(--space-md);
  padding-top: var(--space-md); border-top: 1px solid var(--hairline);
  font-size: 0.95rem; letter-spacing: 0.01em;
}

/* ============================================
   METRIC BAND — corporate stat strip
   ============================================ */
.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.metric {
  background: var(--bg-card);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}
.metric-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent-cyan);
}
.metric-value.amber { color: var(--accent-amber); }
.metric-value.red { color: var(--accent-red); }
.metric-label {
  margin-top: var(--space-sm);
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.metric-source {
  display: block; margin-top: 4px; font-size: 0.72rem; color: var(--text-muted);
}

/* ============================================
   SPLIT COMPARE — Serquo simulation vs Vigilis offensive
   ============================================ */
.split-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-lg);
  align-items: stretch;
}
.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: relative;
}
.compare-card.offensive { border-color: rgba(210, 123, 114, 0.28); }
.compare-card .compare-tag {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}
.compare-card.simulation .compare-tag { background: var(--accent-cyan-dim); color: var(--accent-cyan); }
.compare-card.offensive .compare-tag { background: var(--accent-red-dim); color: var(--accent-red); }
.compare-card h3 { margin-bottom: var(--space-sm); }
.compare-card ul { list-style: none; padding: 0; margin: var(--space-md) 0 0; }
.compare-card ul li {
  position: relative; padding-left: var(--space-lg); margin-bottom: var(--space-sm);
  font-size: 0.92rem; color: var(--text-secondary);
}
.compare-card ul li::before { content: '›'; position: absolute; left: 0; color: var(--accent-cyan); font-weight: 700; }
.compare-card.offensive ul li::before { color: var(--accent-red); }
.compare-join {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--text-muted);
}

/* ============================================
   PARTNER BAND — Serquo + Vigilis
   ============================================ */
.partner-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-2xl);
  background: linear-gradient(135deg, rgba(120,191,192,0.10), rgba(197,168,111,0.07));
  border: 1px solid rgba(120,191,192,0.18);
  border-radius: var(--radius-lg);
  text-align: center;
}
.partner-logos {
  display: flex; align-items: center; justify-content: center; gap: var(--space-lg);
  flex-wrap: wrap;
}
.partner-logos .plogo {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem;
  letter-spacing: 0.04em; color: var(--text-primary);
}
.partner-logos .pcross { color: var(--accent-amber); font-size: 1.5rem; }
.partner-band p { max-width: 760px; margin: 0 auto; }
.partner-band .partner-quote {
  font-style: italic; color: var(--text-primary); font-size: 1.1rem; max-width: 760px; margin: 0 auto;
}
.partner-band .partner-cite { font-size: 0.85rem; color: var(--text-muted); font-style: normal; }
.partner-actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; margin-top: var(--space-sm); }

/* ============================================
   NEWS — corporate cards
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}
.news-card {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}
.news-card:hover { transform: translateY(-2px); border-color: rgba(120,191,192,0.22); box-shadow: var(--shadow-card); }
.news-card .news-body { padding: var(--space-xl); display: flex; flex-direction: column; height: 100%; }
.news-meta { display: flex; gap: var(--space-sm); align-items: center; font-size: 0.78rem; color: var(--text-muted); margin-bottom: var(--space-sm); }
.news-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-amber); background: var(--accent-amber-dim); padding: 3px 9px; border-radius: var(--radius-full);
}
.news-card h3 { font-size: 1.2rem; margin-bottom: var(--space-sm); }
.news-card p { font-size: 0.95rem; }
.news-card .news-link { margin-top: auto; font-weight: 700; }

/* ============================================
   FRAMEWORK LIST — 8 controls with priority
   ============================================ */
.framework-list { display: grid; gap: var(--space-sm); list-style: none; padding: 0; }
.framework-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.framework-item .fw-num {
  font-family: var(--font-heading); font-weight: 700; color: var(--accent-cyan);
  font-size: 1.1rem; text-align: center;
}
.framework-item .fw-text { color: var(--text-secondary); font-weight: 600; font-size: 0.96rem; }
.prio {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: var(--radius-full); white-space: nowrap;
}
.prio.critical { color: var(--accent-red); background: var(--accent-red-dim); }
.prio.high { color: var(--accent-amber); background: var(--accent-amber-dim); }
.prio.medium { color: var(--accent-cyan); background: var(--accent-cyan-dim); }

/* Generation timeline (ATM malware) */
.gen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.gen-card {
  background: var(--bg-card); border: 1px solid var(--hairline); border-radius: var(--radius-md);
  padding: var(--space-xl); position: relative;
}
.gen-card .gen-no {
  font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; line-height: 1;
  color: var(--accent-cyan); opacity: 0.85;
}
.gen-card .gen-years { font-size: 0.82rem; color: var(--text-muted); font-weight: 700; letter-spacing: 0.06em; margin: var(--space-xs) 0 var(--space-sm); }
.gen-card h4 { margin-bottom: var(--space-xs); }
.gen-card p { font-size: 0.92rem; margin: 0; }
.gen-card:last-child .gen-no { color: var(--accent-red); }

/* ============================================
   RESPONSIVE — corporate components
   ============================================ */
@media (max-width: 1024px) {
  .atm-hero-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .atm-hero .hero-content { text-align: left; }
  .metric-band { grid-template-columns: repeat(2, 1fr); }
  .split-compare { grid-template-columns: 1fr; }
  .compare-join { padding: var(--space-sm) 0; }
  .gen-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --space-3xl: 4.5rem; }
  .atm-hero-copy h1 { max-width: none; }
  .atm-hero .hero-content { padding: 0 var(--space-md); }
  .framework-item { grid-template-columns: 28px 1fr; }
  .framework-item .prio { grid-column: 2; justify-self: start; }
}
@media (max-width: 480px) {
  .metric-band { grid-template-columns: 1fr; }
}

/* --- News article (single) --- */
.article { max-width: 760px; margin: 0 auto; }
.article-lead {
  font-size: 1.25rem; line-height: 1.6; color: var(--text-primary);
  text-align: center; max-width: 60ch; margin: 0 auto var(--space-2xl);
}
.article-body h3 { margin: var(--space-2xl) 0 var(--space-sm); color: var(--text-primary); }
.article-body p { font-size: 1.05rem; line-height: 1.75; }
.article-quote {
  margin: var(--space-2xl) 0;
  padding: var(--space-lg) var(--space-xl);
  border-left: 3px solid var(--accent-cyan);
  background: var(--bg-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-quote p { font-size: 1.2rem; font-style: italic; color: var(--text-primary); margin-bottom: var(--space-sm); }
.article-quote cite { font-style: normal; font-size: 0.9rem; color: var(--text-muted); }
.article-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; margin: var(--space-2xl) 0 var(--space-md); }
.article-note { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================
   REGIONAL GATE (phone services — Bulgaria / Bulgarian only)
   ============================================ */
.geo-pending body { visibility: hidden; }
.geo-notice {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(15, 21, 27, 0.97); visibility: visible;
}
.geo-notice .box {
  max-width: 560px; width: 100%; text-align: center;
  background: var(--bg-card); border: 1px solid var(--hairline);
  border-radius: var(--radius-md); padding: 40px 32px; box-shadow: var(--shadow-card);
}
.geo-notice h2 { margin-bottom: 12px; font-size: 1.5rem; }
.geo-notice p { margin-bottom: 22px; line-height: 1.55; }
.geo-notice .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Respect reduced-motion (reveal + counters degrade gracefully) */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-card, .capability-card, .news-card, .btn { transition: none; }
}

/* ============================================
   VIGILIS MARITIME — sub-brand scope (page-level)
   Midnight navy · silver · champagne gold · serif display
   ============================================ */
.vm-page {
  --bg-primary: #0B1826;
  --bg-secondary: #142737;
  --bg-card: #142737;
  --bg-card-hover: #1a3244;
  --bg-tint: #0f1f2f;
  --bg-glass: rgba(11, 24, 38, 0.9);
  --bg-glass-border: rgba(244, 241, 234, 0.12);
  --text-primary: #F4F1EA;
  --text-secondary: #B8C1C8;
  --text-muted: #8e9aa3;
  --accent-cyan: #C4AE82;
  --accent-cyan-dim: rgba(196, 174, 130, 0.14);
  --accent-amber: #C4AE82;
  --accent-amber-dim: rgba(196, 174, 130, 0.14);
  --hairline: rgba(244, 241, 234, 0.08);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  background: var(--bg-primary);
  color: var(--text-primary);
}
.vm-page h1, .vm-page h2, .vm-page .vm-serif {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.005em;
}
.vm-page h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; }
.vm-page h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.vm-page .btn-primary { background: var(--accent-cyan); color: #0B1826; box-shadow: none; }
.vm-page .btn-primary:hover { background: #d3c09a; color: #0B1826; }
.vm-page .btn-secondary { border-color: rgba(244,241,234,0.28); }
.vm-page .navbar.scrolled { background: rgba(11, 24, 38, 0.94); }
.vm-page .lang-btn.active { background: var(--accent-cyan); color: #0B1826; }
.vm-page .section-line { background: var(--accent-cyan); }
.vm-page .page-hero .hero-bg::after {
  background: linear-gradient(180deg, rgba(11,24,38,0.55) 0%, rgba(11,24,38,0.96) 100%);
}
.vm-page .page-hero { min-height: 68vh; }
.vm-page .page-hero-content { max-width: 880px; }
.vm-page .hero-badge { border-color: rgba(196,174,130,0.4); background: rgba(196,174,130,0.12); color: var(--accent-cyan); }
.vm-page .hero-badge::before { background: var(--accent-cyan); }

/* Brand lockup (placeholder Compass — replace with approved artwork) */
.vm-lockup { display: inline-flex; align-items: center; gap: 12px; margin-bottom: var(--space-lg); text-align: left; }
.vm-lockup svg { width: 46px; height: 46px; color: var(--accent-cyan); flex: 0 0 auto; }
.vm-lockup .vm-word { display: block; font-family: var(--font-display); font-size: 1.55rem; letter-spacing: 0.08em; text-transform: uppercase; color: #F4F1EA; line-height: 1; }
.vm-lockup .vm-sub { display: block; margin-top: 4px; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: #B8C1C8; }
.vm-cap-line { margin-top: var(--space-lg); font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; color: #B8C1C8; }
.vm-cap-line i { color: var(--accent-cyan); font-style: normal; margin: 0 8px; }

/* In-page sub navigation */
.vm-subnav { display: flex; gap: var(--space-lg); flex-wrap: wrap; justify-content: center; padding: var(--space-md) 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.vm-subnav a { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: #B8C1C8; font-weight: 600; }
.vm-subnav a:hover { color: var(--accent-cyan); }

/* Warm light sections */
.vm-light { background: #F4F1EA; color: #252D34; }
.vm-light h2, .vm-light h3, .vm-light h4 { color: #0B1826; }
.vm-light p, .vm-light li { color: #3a444c; }
.vm-light .eyebrow { color: #8a7448; }
.vm-light .section-line { background: #C4AE82; }
.vm-light .capability-card, .vm-light .service-card, .vm-light .vm-step, .vm-light .vm-engage .card {
  background: #ffffff; border-color: rgba(37, 45, 52, 0.10); box-shadow: none;
}
.vm-light .capability-card:hover, .vm-light .service-card:hover { background: #ffffff; border-color: rgba(196,174,130,0.6); box-shadow: 0 10px 28px rgba(11,24,38,0.08); }
.vm-light .capability-card h4, .vm-light .vm-step h4 { color: #0B1826; }
.vm-light .capability-card p, .vm-light .vm-step p { color: #3a444c; }
.vm-light .card-icon { background: rgba(196,174,130,0.18); color: #8a7448; border-color: rgba(37,45,52,0.08); }
.vm-light .vm-step .no { color: #8a7448; }
.vm-light .btn-secondary { color: #0B1826; border-color: rgba(11,24,38,0.28); background: transparent; }
.vm-light .btn-secondary:hover { background: rgba(11,24,38,0.06); color: #0B1826; }

/* Ecosystem diagram (scope illustration, not topology) */
.vm-eco { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-sm); margin-top: var(--space-xl); }
.vm-eco .node { padding: var(--space-md); border: 1px solid var(--hairline); border-radius: var(--radius-md); text-align: center; font-weight: 600; font-size: 0.9rem; color: var(--text-secondary); background: rgba(244,241,234,0.03); }
.vm-eco .node.core { grid-column: 1 / -1; background: rgba(196,174,130,0.12); border-color: rgba(196,174,130,0.45); color: #F4F1EA; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; padding: var(--space-lg); }
.vm-eco-note { margin-top: var(--space-md); font-size: 0.82rem; color: var(--text-muted); text-align: center; }
.vm-closing { text-align: center; font-family: var(--font-display); font-size: 1.35rem; color: var(--accent-cyan); margin-top: var(--space-xl); }

/* Approach steps */
.vm-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-md); }
.vm-step { padding: var(--space-lg); border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--bg-card); }
.vm-step .no { font-family: var(--font-display); font-size: 2.1rem; color: var(--accent-cyan); line-height: 1; margin-bottom: var(--space-sm); }
.vm-step h4 { margin-bottom: var(--space-xs); font-size: 1.02rem; }
.vm-step p { font-size: 0.9rem; margin: 0; }
.vm-principle { text-align: center; margin-top: var(--space-xl); font-style: italic; color: var(--text-secondary); }

/* Detection pipeline */
.vm-pipe { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-sm); margin: var(--space-lg) 0; }
.vm-pipe span { padding: 8px 14px; border: 1px solid rgba(196,174,130,0.45); border-radius: var(--radius-full); font-size: 0.86rem; color: #F4F1EA; }
.vm-pipe i { color: var(--accent-cyan); font-style: normal; }
.vm-example { margin-top: var(--space-xl); padding: var(--space-xl); border-left: 3px solid var(--accent-cyan); background: rgba(244,241,234,0.03); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.vm-example h4 { margin-bottom: var(--space-sm); }
.vm-example p { font-size: 0.95rem; }
.vm-example p:last-child { margin-bottom: 0; }
.vm-deliver { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm) var(--space-lg); margin-top: var(--space-lg); }
.vm-deliver li { position: relative; padding-left: 22px; font-size: 0.95rem; color: var(--text-secondary); }
.vm-deliver li::before { content: '\25C6'; position: absolute; left: 0; top: 2px; font-size: 0.6rem; color: var(--accent-cyan); }

/* Why Vigilis pillars */
.vm-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-lg); margin-top: var(--space-xl); }
.vm-why h4 { margin-bottom: var(--space-xs); font-size: 1rem; }
.vm-why p { font-size: 0.92rem; margin: 0; }
.vm-endorse { display: inline-block; margin-top: var(--space-xl); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-cyan); border: 1px solid rgba(196,174,130,0.4); padding: 8px 16px; border-radius: var(--radius-full); }

/* Engagement models */
.vm-engage { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.vm-engage .card { padding: var(--space-xl); border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--bg-card); }
.vm-engage .card h3 { font-family: var(--font-body); font-size: 1.15rem; margin-bottom: var(--space-sm); }
.vm-engage .scope { font-size: 0.86rem; color: var(--text-muted); margin: var(--space-sm) 0 0; }
.vm-engage .scope strong { color: var(--text-secondary); }

/* Contact form helpers */
.vm-page .form-help { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 5px; }
.vm-page .form-group label { color: var(--accent-cyan); }
.vm-page .form-group input:focus, .vm-page .form-group select:focus, .vm-page .form-group textarea:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px var(--accent-cyan-dim); }
.vm-privacy { font-size: 0.82rem; color: var(--text-muted); margin-top: var(--space-md); }
.vm-urgent { margin-top: var(--space-lg); padding: var(--space-md) var(--space-lg); border: 1px solid rgba(196,174,130,0.35); border-radius: var(--radius-md); font-size: 0.92rem; color: var(--text-secondary); }
.vm-footer-brand { font-family: var(--font-display); font-size: 1.2rem; color: #F4F1EA; letter-spacing: 0.06em; }
.vm-page .footer { border-top: 1px solid var(--hairline); }

@media (max-width: 1024px) {
  .vm-steps { grid-template-columns: repeat(2, 1fr); }
  .vm-engage { grid-template-columns: 1fr; }
  .vm-deliver { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vm-steps { grid-template-columns: 1fr; }
  .vm-subnav { gap: var(--space-md); }
}
.vm-ext { margin-top: var(--space-md); font-size: 0.9rem; }
.vm-ext a { color: var(--accent-cyan); letter-spacing: 0.02em; }
.vm-ext a:hover { color: #F4F1EA; }
.card-ext { display: inline-block; margin-top: var(--space-sm); font-size: 0.85rem; color: var(--text-muted); }
.card-ext:hover { color: var(--accent-cyan); }

/* ============================================
   ============================================
   CALM LAYER — lighter, less "generated" look
   Fewer effects, flat cards, quieter accents,
   editorial spacing. Appended last; wins by order.
   ============================================
   ============================================ */
:root {
  --bg-primary: #121a21;
  --bg-secondary: #161f27;
  --bg-card: #1a232b;
  --bg-card-hover: #1a232b;
  --bg-tint: #151d25;
  --shadow-card: none;
  --shadow-soft: none;
  --shadow-glow-cyan: none;
  --shadow-glow-amber: none;
  --hairline: rgba(255, 255, 255, 0.09);
}

/* Decorative effects off */
.grid-bg, .scanline { display: none !important; }
.glitch:hover::before, .glitch:hover::after { animation: none; opacity: 0; }

/* Typography: calmer weights, no techy display font outside the logo */
h1, h2, h3, h4 { font-weight: 600; }
.eyebrow, .stat-number, .metric-value, .thesis-eq, .gen-card .gen-no, .framework-item .fw-num,
.partner-logos .plogo, .compare-join, .metric-value, .stat-number {
  font-family: var(--font-body);
}
.eyebrow { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--text-muted); font-weight: 600; }
.eyebrow.amber { color: var(--text-muted); }
.section-header .section-line { width: 28px; height: 1px; background: var(--text-muted); opacity: 0.55; margin: var(--space-md) auto; }
.section-header.left .section-line { margin-left: 0; }
.stat-number, .metric-value { font-weight: 600; }

/* Flat cards: no lift, no glow, no accent bars */
.service-card, .capability-card, .news-card, .compare-card, .gen-card, .framework-item,
.thesis-card, .chart-card, .risk-intro-panel, .phone-surface-card, .contact-form,
.contact-info-item, .vm-step, .vm-engage .card, .article-quote, .metric {
  box-shadow: none;
}
.service-card::before, .capability-card::before { display: none; }
.service-card:hover, .capability-card:hover, .news-card:hover {
  transform: none; box-shadow: none; background: var(--bg-card); border-color: rgba(255, 255, 255, 0.16);
}
.thesis-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.03); }
.executive-hero-panel { backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.embedded-video-shell { box-shadow: none; }

/* Quieter icons: no tinted boxes, thin strokes */
.service-card-icon, .card-icon, .thesis-icon, .contact-info-icon, .sign-icon {
  background: transparent; border: none; width: auto; height: auto; border-radius: 0;
}
.service-card-icon { margin-bottom: var(--space-md); }
.service-card-icon svg, .card-icon svg, .thesis-icon svg, .contact-info-icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.service-card-icon.cyan, .service-card-icon.amber, .service-card-icon.red { color: var(--text-secondary); background: transparent; }
.card-icon { color: var(--text-secondary); }
.thesis-icon.cyan, .thesis-icon.amber { color: var(--text-secondary); background: transparent; width: 26px; height: 26px; }

/* Flat buttons and nav */
.btn { border-radius: 4px; font-weight: 600; }
.btn-primary, .btn-primary:hover, .btn-amber, .btn-amber:hover { box-shadow: none; transform: none; }
.btn-secondary:hover, .nav-cta:hover { transform: none; }
.nav-logo img { border: none; }
.nav-priority { background: transparent; }
.hero-badge { background: transparent; border-color: var(--hairline); color: var(--text-secondary); }
.hero-badge::before { display: none; }
.risk-tags span { background: transparent; }

/* Heroes: single soft overlay, less saturation, less height */
.hero-bg { filter: saturate(0.45) contrast(0.95) brightness(0.65); }
.atm-hero .hero-bg::after, .executive-hero .hero-bg::after, .page-hero .hero-bg::after {
  background: linear-gradient(180deg, rgba(18,26,33,0.72) 0%, rgba(18,26,33,0.94) 100%);
}
.atm-hero { padding-bottom: var(--space-2xl); }
.page-hero { min-height: 44vh; }

/* Bands: outline instead of gradient fills */
.partner-band, .executive-cta-band, .metric-band, .partner-band {
  background: transparent; border: 1px solid var(--hairline);
}
.metric-band { gap: var(--space-md); background: transparent; border: none; }
.metric { border: 1px solid var(--hairline); border-radius: var(--radius-md); background: transparent; }
.compare-card.offensive { border-color: var(--hairline); }
.compare-card.simulation .compare-tag, .compare-card.offensive .compare-tag,
.news-tag, .prio.critical, .prio.high, .prio.medium {
  background: transparent; border: 1px solid var(--hairline);
}
.prio.critical { color: var(--accent-red); } .prio.high { color: var(--accent-amber); } .prio.medium { color: var(--text-secondary); }
.section-header p { color: var(--text-secondary); }

/* Maritime page keeps its own palette but inherits the calm rules */
.vm-page { --shadow-card: none; }
.vm-page .hero-badge { color: var(--text-secondary); border-color: var(--hairline); background: transparent; }
.vm-light .card-icon { color: #8a7448; }

/* ============================================
   SITE-WIDE MARITIME LOOK
   Every page carries body.vm-page; sections alternate
   navy (default) and warm off-white (.vm-light).
   ============================================ */
/* Serif wordmark instead of the removed seal */
.vm-page .nav-logo { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.1em; }
.vm-page .nav-logo img { display: none; }
/* Uniform calm navy heroes (overrides per-page photo backgrounds) */
.vm-page .hero-bg {
  background-image: linear-gradient(160deg, #0B1826 0%, #142737 55%, #0B1826 100%) !important;
  filter: none;
}
.vm-page .hero-bg::after { background: linear-gradient(180deg, rgba(11,24,38,0) 0%, rgba(11,24,38,0.35) 100%); }
.vm-page .embedded-video-shell { border-color: var(--hairline); background: #0B1826; }
.vm-page .footer { border-top: 1px solid var(--hairline); }
.vm-page .navbar:not(.scrolled) { background: transparent; }

/* Light sections re-scope the design tokens so every component adapts automatically */
.vm-light {
  --text-primary: #0B1826;
  --text-secondary: #3a444c;
  --text-muted: #6b747b;
  --bg-primary: #F4F1EA;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-tint: #F4F1EA;
  --hairline: rgba(37, 45, 52, 0.10);
  --bg-glass-border: rgba(37, 45, 52, 0.12);
  --accent-cyan: #8a7448;
  --accent-amber: #8a7448;
  --accent-red: #b0433b;
  --accent-cyan-dim: rgba(196, 174, 130, 0.18);
  --accent-amber-dim: rgba(196, 174, 130, 0.18);
  --accent-red-dim: rgba(176, 67, 59, 0.12);
  --accent-green: #4f7d55;
}
.vm-light .thesis-card, .vm-light .hero-proof-list li, .vm-light .executive-hero-panel,
.vm-light .hero-assessment-copy, .vm-light .risk-tags span, .vm-light .compare-card,
.vm-light .gen-card, .vm-light .framework-item, .vm-light .metric, .vm-light .news-card,
.vm-light .chart-card, .vm-light .contact-info-item, .vm-light .risk-intro-panel, .vm-light .phone-surface-card {
  background: #ffffff; border-color: rgba(37, 45, 52, 0.10);
}
.vm-light .hero-proof-list { background: transparent; border-color: rgba(37,45,52,0.10); }
.vm-light .executive-cta-band, .vm-light .partner-band, .vm-light .vm-example, .vm-light .article-quote {
  background: #ffffff; border-color: rgba(37, 45, 52, 0.10);
}
.vm-light .service-card-icon.cyan, .vm-light .service-card-icon.amber, .vm-light .service-card-icon.red,
.vm-light .card-icon, .vm-light .thesis-icon.cyan, .vm-light .thesis-icon.amber, .vm-light .fw-num,
.vm-light .gen-card .gen-no, .vm-light .compare-join, .vm-light .thesis-eq, .vm-light .pcross { color: #8a7448; }
.vm-light .partner-logos .plogo, .vm-light .partner-quote, .vm-light .metric-value, .vm-light .stat-number { color: #0B1826; }
.vm-light .btn-primary { background: #C4AE82; color: #0B1826; }
.vm-light .btn-primary:hover { background: #b89e70; color: #0B1826; }
.vm-light .prio.critical { color: #b0433b; border-color: rgba(176,67,59,0.35); }
.vm-light .prio.high { color: #8a7448; border-color: rgba(138,116,72,0.4); }
.vm-light .prio.medium { color: #3a444c; border-color: rgba(37,45,52,0.2); }
.vm-light .compare-card.simulation .compare-tag, .vm-light .compare-card.offensive .compare-tag, .vm-light .news-tag {
  border-color: rgba(37,45,52,0.15);
}
.vm-light .metric-band { background: transparent; }
.vm-light .thesis-card .thesis-row + .thesis-row, .vm-light .thesis-eq { border-color: rgba(37,45,52,0.10); }
.vm-light .feature-image { border-color: rgba(37,45,52,0.10); }
.vm-light .vm-eco .node { background: #ffffff; border-color: rgba(37,45,52,0.10); color: #3a444c; }
.vm-light .vm-eco .node.core { background: rgba(196,174,130,0.18); border-color: rgba(138,116,72,0.4); color: #0B1826; }
.vm-light .vm-pipe span { color: #0B1826; border-color: rgba(138,116,72,0.45); }
.vm-light .vm-closing, .vm-light .vm-pipe i, .vm-light .vm-deliver li::before { color: #8a7448; }
.vm-light .vm-deliver li { color: #3a444c; }
.vm-light .glitch { color: #0B1826; }
.vm-light .pricing-card { background: #ffffff; border-color: rgba(37, 45, 52, 0.12); }
.vm-light .pricing-divider { background: rgba(37, 45, 52, 0.12); }

/* Native <select> option lists render on a white panel in most browsers — force readable dark text there */
.vm-page select option { color: #0B1826; background: #ffffff; }
.vm-page select option[hidden] { display: none; }

/* Compass mark in the site header (approved Vigilis artwork), next to the serif wordmark */
.vm-page .nav-logo img.nav-mark { display: block; width: 40px; height: 40px; border: none; border-radius: 0; object-fit: contain; }
.vm-page .nav-logo { gap: 12px; }
@media (max-width: 768px) { .vm-page .nav-logo img.nav-mark { width: 34px; height: 34px; } }

/* Vigilis Maritime hero lockup — approved artwork, block-level and centred so the badge/h1 sit below it */
.vm-page .vm-lockup {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin: 0 auto var(--space-lg); text-align: center;
}
.vm-page .vm-lockup img { display: block; width: min(340px, 72vw); height: auto; }
.vm-page .vm-lockup .vm-sub { display: block; margin: 0; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #B8C1C8; }
.vm-page .page-hero-content .hero-badge { display: inline-flex; margin-bottom: var(--space-md); }

/* Featured (wide) service card — the private-client mobile story */
.service-card--wide { grid-column: span 2; }
.service-card--wide h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.15; margin-bottom: var(--space-md); }
.service-card--wide p { font-size: 1.08rem; line-height: 1.7; max-width: 62ch; }
@media (max-width: 900px) { .service-card--wide { grid-column: auto; } .service-card--wide h3 { font-size: 1.5rem; } }

/* Service cards: buttons on one baseline, identical width; external link sits above the button */
.service-card .service-card-cta { align-self: stretch; justify-content: center; text-align: center; margin-top: auto; }
.service-card .card-ext { margin-top: auto; padding-top: var(--space-md); }
.service-card .card-ext + .service-card-cta { margin-top: var(--space-sm); }

/* Detection table: three clean columns */
.vm-page .detection-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.vm-page .detection-table th, .vm-page .detection-table td {
  padding: 14px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--hairline); color: var(--text-secondary);
}
.vm-page .detection-table th { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; background: transparent; }
.vm-page .detection-table td strong { color: var(--text-primary); font-weight: 600; }
.vm-page .detection-table .td-sub { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }
.vm-page .detection-table th:nth-child(2), .vm-page .detection-table td:nth-child(2) { width: 30%; }
.vm-page .detection-table th:last-child, .vm-page .detection-table td:last-child { width: 150px; text-align: center; white-space: nowrap; }
.vm-page .severity-critical, .vm-page .severity-high {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: var(--radius-full); border: 1px solid var(--hairline); background: transparent;
}
.vm-page .severity-critical { color: var(--accent-red); border-color: rgba(210, 123, 114, 0.35); }
.vm-page .severity-high { color: var(--accent-amber); border-color: rgba(196, 174, 130, 0.4); }
@media (max-width: 640px) { .vm-page .detection-table { table-layout: auto; min-width: 560px; } }

/* Homepage service rows: two lead cards, then three supporting cards. */
.services-grid.primary-services-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}

.services-grid.primary-services-grid > .service-card--core {
  grid-column: span 3;
  min-height: 410px;
}

.services-grid.primary-services-grid > .service-card--support,
.services-grid.primary-services-grid > .service-card--support.service-card--wide {
  grid-column: span 2;
}

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

  .services-grid.primary-services-grid > .service-card--core,
  .services-grid.primary-services-grid > .service-card--support,
  .services-grid.primary-services-grid > .service-card--support.service-card--wide {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .services-grid.primary-services-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
