/* Portal AEFS Tech — mobile-first stylesheet */

:root {
  --bg: #272525;
  --bg-alt: #242222;
  --card: #2F2C2C;
  --card-alt: #2A2727;
  --text: #F2EFEC;
  --text-muted: #B5AEA8;
  --text-dim: #A8A19C;
  --text-faint: #7E7671;
  --text-soft: #8F8883;
  --accent: #2F5FE0;
  --accent-light: #8FAEFF;
  --accent-hover: #4A79F0;
  --border: rgba(255,255,255,0.10);
  --border-soft: rgba(255,255,255,0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p { margin: 0; }
img { max-width: 100%; display: block; }

a { color: var(--accent-light); text-decoration: none; }
a:hover, a:focus-visible { color: #B6CBFF; }

input, select, textarea, button { font-family: inherit; font-size: inherit; color: inherit; }
::placeholder { color: var(--text-faint); }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
button { cursor: pointer; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 1000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.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;
}

@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-14px,0); } }
@keyframes dashFlow { to { stroke-dashoffset: -240; } }
@keyframes caret { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes nodePulse { 0%,100% { opacity: 0.35; r: 3; } 50% { opacity: 1; r: 4.5; } }
@keyframes gridPan { to { transform: translate3d(-60px,-60px,0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(39,37,37,0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent), #1B3E96);
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 13px; color: #fff;
  flex-shrink: 0;
}
.brand-mark-sm { width: 28px; height: 28px; font-size: 12px; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; letter-spacing: -0.02em; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0;
}
.nav-toggle-bar {
  width: 18px; height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  font-size: 15px;
  color: var(--text-dim);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.site-nav a { padding: 12px 4px; border-bottom: 1px solid var(--border-soft); color: var(--text-dim); }
.site-nav a:last-child { border-bottom: none; }
.btn-nav { margin-top: 8px; text-align: center; border-bottom: none !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-hover); color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.20); color: var(--text); background: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover, .btn-light:focus-visible { background: #fff; color: var(--bg); }
.btn-row { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.btn-row-center { justify-content: center; }
.btn-block-mobile { width: 100%; }

/* Sections */
.section { border-bottom: 1px solid var(--border-soft); }
.section .wrap { padding-top: 56px; padding-bottom: 56px; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
  margin: 0;
}
.eyebrow-sm { font-size: 10.5px; }
.eyebrow-tight { margin-top: 6px; }
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 10.5px;
  color: #C9C2BC;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: #E8A33D; display: inline-block; }

.h2 { margin-top: 14px; font-size: clamp(26px, 7vw, 42px); }
.h2-sm { font-size: clamp(22px, 6vw, 32px); }
.h2-max { max-width: 640px; }
.h2-xl { font-size: clamp(26px, 6.5vw, 44px); max-width: 760px; }
.h3 { font-size: 18px; margin-top: 14px; }
.h3-lg { margin-top: 14px; font-size: 20px; }
.h3-xl { margin-top: 12px; font-size: 22px; }
.h4 { font-size: 15px; margin-top: 12px; }
.h4-lg { font-size: 16px; }

.accent-text { color: var(--accent-light); }

.body-text { margin-top: 16px; font-size: 15.5px; line-height: 1.65; color: var(--text-muted); }
.body-text-sm { font-size: 14px; color: #9E9792; }
.body-text-lg { font-size: 16px; }
.body-text-max { max-width: 560px; }
.card-text { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--text-dim); }
.card-text-sm { font-size: 13.5px; }
.card-text-lg { font-size: 15px; }
.card-text-max { max-width: 440px; }

.highlight-text { margin-top: 18px; font-size: 15.5px; line-height: 1.5; color: #E8A33D; font-weight: 600; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { padding-top: 72px; padding-bottom: 60px; }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(480px 320px at 15% 0%, rgba(47,95,224,0.30), transparent 70%),
    radial-gradient(400px 280px at 90% 90%, rgba(232,163,61,0.13), transparent 70%);
  pointer-events: none;
}
.hero-glow-alt { background: radial-gradient(560px 320px at 78% 20%, rgba(47,95,224,0.22), transparent 70%); }
.hero-glow-cta { background: radial-gradient(600px 320px at 30% 100%, rgba(47,95,224,0.24), transparent 70%); }

.hero-bg-grid {
  position: absolute; inset: -60px;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPan 22s linear infinite;
  -webkit-mask-image: radial-gradient(720px 460px at 22% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(720px 460px at 22% 30%, #000 20%, transparent 78%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-bg-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg-svg { position: absolute; top: 0; right: 0; width: 58%; height: 100%; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-title { margin-top: 24px; font-size: clamp(32px, 9vw, 74px); }
.hero-lead { max-width: 640px; font-size: 16.5px; line-height: 1.6; }
.tag-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 12.5px; font-weight: 500; color: #CFC8C2; background: rgba(255,255,255,0.03);
}
.tag-accent { border-color: rgba(47,95,224,0.45); color: #B6CBFF; background: rgba(47,95,224,0.14); font-weight: 600; }

/* Hero terminal mockup */
.code-card {
  border-radius: 16px; overflow: hidden; background: #1E1C1C;
  border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 24px 60px rgba(0,0,0,0.42);
}
.code-topbar {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  background: #232020; border-bottom: 1px solid rgba(255,255,255,0.09);
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.code-dot-orange { background: #F2683C; }
.code-dot-amber { background: #E8A33D; }
.code-dot-teal { background: #35C0B3; }
.code-title { margin-left: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--text-faint); white-space: nowrap; }
.code-body { padding: 22px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 2; color: var(--text-muted); }
.code-line { margin: 0; }
.code-prompt { color: #35C0B3; }
.code-flag { color: var(--accent-light); }
.code-comment { color: var(--text-faint); }
.code-ok { color: #E8A33D; }
.code-caret { display: inline-block; width: 8px; height: 15px; margin-left: 8px; background: var(--accent-light); vertical-align: -3px; animation: caret 1.1s step-end infinite; }
.code-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.09); }
.code-stat { padding: 16px; border-right: 1px solid rgba(255,255,255,0.09); }
.code-stat:last-child { border-right: none; }
.code-stat-label { font-family: ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.08em; color: var(--text-faint); }
.code-stat-value { margin-top: 5px; font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: var(--text); }

/* Icon badges (service / audience cards) */
.icon-badge { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid; margin-bottom: 16px; }
.icon-badge svg { display: block; }
.icon-blue { color: #2F5FE0; background: rgba(47,95,224,0.12); border-color: rgba(47,95,224,0.32); }
.icon-teal { color: #17A398; background: rgba(23,163,152,0.12); border-color: rgba(23,163,152,0.32); }
.icon-lightblue { color: #8FAEFF; background: rgba(143,174,255,0.11); border-color: rgba(143,174,255,0.32); }
.icon-amber { color: #E8A33D; background: rgba(232,163,61,0.10); border-color: rgba(232,163,61,0.4); }
.icon-orange { color: #F2683C; background: rgba(242,104,60,0.12); border-color: rgba(242,104,60,0.32); }

/* Animated flow diagrams (hero background + automation section) */
.flow-line { fill: none; stroke-width: 1.4; stroke-opacity: 0.5; }
.flow-line-blue { stroke: #2F5FE0; }
.flow-line-teal { stroke: #17A398; }
.flow-line-amber { stroke: #E8A33D; stroke-opacity: 0.55; }
.flow-line-lightblue { stroke: #8FAEFF; stroke-opacity: 0.5; }
.flow-dash-a { animation: dashFlow 9s linear infinite; }
.flow-dash-b { animation: dashFlow 13s linear infinite; }
.flow-dash-c { animation: dashFlow 16s linear infinite; }
.flow-node { animation: nodePulse 6s ease-in-out infinite; }
.flow-node-1 { animation-duration: 5s; }
.flow-node-2 { animation-duration: 6.5s; }
.flow-node-3 { animation-duration: 7.5s; }
.flow-node-4 { animation-duration: 8.5s; }
.flow-node-5 { animation-duration: 6s; }
.flow-node-6 { animation-duration: 5.5s; }
.flow-node-7 { animation-duration: 7s; }
.flow-node-8 { animation-duration: 8s; }

.automation-diagram {
  margin-top: 44px; padding: 22px 18px; border-radius: 18px;
  background: rgba(30,28,28,0.62); border: 1px solid var(--border);
  overflow-x: auto; overflow-y: hidden;
}
.automation-diagram svg { display: block; width: 100%; min-width: 880px; height: auto; }
.automation-diagram-caption { margin-top: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--text-faint); }
.diagram-node-fill-blue { fill: rgba(47,95,224,0.12); stroke: rgba(47,95,224,0.5); }
.diagram-node-fill-teal { fill: rgba(23,163,152,0.12); stroke: rgba(23,163,152,0.5); }
.diagram-node-fill-lightblue { fill: rgba(143,174,255,0.1); stroke: rgba(143,174,255,0.5); }
.diagram-node-fill-amber { fill: rgba(232,163,61,0.08); stroke: rgba(232,163,61,0.4); }
.diagram-title { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; fill: var(--text); }
.diagram-sub { font-family: ui-monospace, monospace; font-size: 12.5px; fill: var(--text-dim); }
.diagram-sub-amber { font-family: ui-monospace, monospace; font-size: 12.5px; fill: #E8D9C2; }

/* Dashboard mockup (cases section) */
.dashboard-card { margin-top: 20px; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dashboard-title { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: var(--text); }
.dashboard-dots { display: flex; gap: 7px; }
.dashboard-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: rgba(255,255,255,0.18); }
.dashboard-dot-active { background: #35C0B3; }
.dashboard-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.dashboard-panel { padding: 18px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.dashboard-panel-label { font-family: ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.08em; color: var(--text-faint); }
.bars { margin-top: 18px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; align-items: end; height: 88px; }
.bar { display: block; width: 100%; border-radius: 3px 3px 0 0; }
.bar-1 { height: 29%; background: rgba(143,174,255,0.35); }
.bar-2 { height: 44%; background: rgba(143,174,255,0.4); }
.bar-3 { height: 38%; background: rgba(143,174,255,0.35); }
.bar-4 { height: 60%; background: #2F5FE0; }
.bar-5 { height: 51%; background: rgba(143,174,255,0.5); }
.bar-6 { height: 74%; background: #2F5FE0; }
.bar-7 { height: 64%; background: rgba(143,174,255,0.5); }
.bar-8 { height: 82%; background: #17A398; }
.bar-9 { height: 90%; background: #17A398; }
.dashboard-side { display: flex; flex-direction: column; gap: 12px; }
.dashboard-callout { padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-left-width: 3px; border-left-style: solid; }
.dashboard-callout-teal { border-left-color: #17A398; }
.dashboard-callout-amber { border-left-color: #E8A33D; }
.dashboard-callout-value { margin-top: 6px; font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; color: var(--text); }
.dashboard-note { margin-top: 16px; font-size: 12.5px; color: var(--text-faint); }

/* Layout helpers */
.two-col { display: grid; gap: 32px; grid-template-columns: 1fr; }
.chip-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 13px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: #DCD6D0; }

.section-head-row { display: flex; flex-direction: column; gap: 16px; }

.logo-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.logo-tile {
  min-height: 84px; padding: 16px; border-radius: 14px;
  background: #F2EFEC; display: grid; place-items: center;
  border: 1px solid var(--border);
}
.logo-tile span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; line-height: 1.25; text-align: center; color: #272525; }
.logo-tile-small { font-size: 11.5px !important; }

.card-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.card {
  padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--card);
}
.card-compact { padding: 20px; }
.card-cta {
  padding: 24px; border-radius: 16px;
  background: linear-gradient(150deg, rgba(47,95,224,0.20), rgba(47,95,224,0.05));
  border: 1px solid rgba(47,95,224,0.35);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.card-cta .h3 { margin-top: 0; font-size: 18px; line-height: 1.25; }
.card-num { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.card-bar { display: block; width: 28px; height: 3px; border-radius: 2px; margin-bottom: 14px; }

.pillar-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 24px; border-top: 1px solid var(--border); }
.pillar { padding: 22px 0 0; }
.pillar-bar { display: block; width: 100%; height: 2px; margin-top: -1px; }

.two-col-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.timeline-card { padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.timeline-card-highlight { background: linear-gradient(150deg, rgba(47,95,224,0.22), rgba(47,95,224,0.06)); border-color: rgba(47,95,224,0.34); }
.timeline-label { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.timeline-text-highlight { color: #C6D2EE; }

.delivered-block { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.pill-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pill-item {
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.03); font-size: 13px; font-weight: 600; color: #DCD6D0;
  border-left-width: 3px; border-left-style: solid;
}

.service-stack { display: flex; flex-direction: column; gap: 14px; }
.service-row { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.eyebrow-sm.eyebrow { color: var(--text-soft); }
.service-features { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-features-3 { grid-template-columns: repeat(2, 1fr); }
.feature-box { padding: 16px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.feature-box-compact { display: flex; align-items: center; font-size: 13px; font-weight: 600; color: #DCD6D0; }
.link-arrow { margin-top: 18px; display: inline-block; font-weight: 600; font-size: 14px; }
.quote-text { margin-top: 18px; padding-left: 14px; border-left: 2px solid #E8A33D; font-size: 14px; line-height: 1.5; color: #E8D9C2; font-weight: 600; }

.automation-section { position: relative; overflow: hidden; }
.card-grid-compact { margin-top: 36px; }
.automation-cta { margin-top: 36px; }

.process-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.process-step { padding: 26px 24px; background: var(--card-alt); }

.approach-list { display: flex; flex-direction: column; }
.approach-row { padding: 20px 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.approach-row-last { border-bottom: 1px solid var(--border); }

.founder-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.founder-card { padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.founder-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.founder-photo { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #332F2F; border: 1px solid var(--border); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); }
.founder-role { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; margin: 0; }
.founder-head .h3-xl { margin-top: 4px; font-size: 19px; }

.case-card { padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.case-facts { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.case-fact { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; line-height: 1.55; }
.case-fact-label { color: var(--text-soft); font-weight: 600; }
.case-fact-value { color: #CFC8C2; }
.case-fact-strong { color: var(--text); font-weight: 600; }
.case-footer-text { margin-top: 24px; }

.cta-section { position: relative; overflow: hidden; }
.cta-wrap { position: relative; text-align: center; padding-top: 72px; padding-bottom: 72px; }
.cta-title { font-size: clamp(26px, 7.5vw, 54px); max-width: 900px; margin: 0 auto; }
.cta-lead { margin: 18px auto 0; max-width: 600px; }

.whatsapp-box { margin-top: 26px; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.whatsapp-link { margin-top: 8px; display: inline-block; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; color: var(--text); }
.whatsapp-link:hover { color: var(--accent-light); }

/* Form */
.contact-form { margin-top: 32px; padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: #CFC8C2; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: 11px; border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04); color: var(--text); font-size: 14.5px; font-weight: 400;
}
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8A19C' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.btn-submit { margin-top: 4px; align-self: stretch; }
.form-status { min-height: 18px; font-size: 13px; }
.form-status[data-state="ok"] { color: #8AD8A8; }
.form-status[data-state="error"] { color: #FF8A80; }
.form-status[data-state="pending"] { color: var(--text-dim); }

/* Honeypot: visually hidden, still in the tab/DOM flow so bots can find it */
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border-soft); }
.footer-inner { padding-top: 36px; padding-bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-contact { display: flex; align-items: center; gap: 18px; }
.footer-contact a { font-size: 14px; color: var(--text-dim); }
.footer-contact a:hover { color: var(--text); }
.social-icon {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-dim);
}
.social-icon:hover { color: var(--text); border-color: rgba(255,255,255,0.4); }
.copyright { font-size: 12.5px; color: var(--text-faint); }

/* Accent color utilities (avoid inline style="" so CSP can drop 'unsafe-inline') */
.c-blue { color: #2F5FE0; }
.c-teal { color: #17A398; }
.c-lightblue { color: #8FAEFF; }
.c-amber { color: #E8A33D; }
.c-orange { color: #F2683C; }
.c-teal-bright { color: #35C0B3; }

.bg-blue { background: #2F5FE0; }
.bg-teal { background: #17A398; }
.bg-lightblue { background: #8FAEFF; }
.bg-amber { background: #E8A33D; }
.bg-orange { background: #F2683C; }

.bl-blue { border-left-color: #2F5FE0; }
.bl-teal { border-left-color: #17A398; }
.bl-amber { border-left-color: #E8A33D; }
.bl-orange { border-left-color: #F2683C; }

/* ============ Tablet ≥700px ============ */
@media (min-width: 700px) {
  .wrap { padding-left: 28px; padding-right: 28px; }
  .section .wrap { padding-top: 80px; padding-bottom: 80px; }
  .header-inner { height: 72px; }
  .site-nav { top: 72px; }

  .btn-row { flex-direction: row; }
  .btn-block-mobile { width: auto; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 48px; }
  .card-grid-3, .card-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar { border-right: 1px solid var(--border); padding-right: 20px; }
  .two-col-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 0.85fr 1.15fr; gap: 36px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-row, .service-features:not(.service-features-3) { grid-template-columns: 180px 1fr; }
  .approach-row { display: grid; align-items: baseline; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .btn-submit { align-self: flex-start; padding-left: 32px; padding-right: 32px; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============ Desktop ≥1080px ============ */
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    background: transparent;
    border: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    font-size: 14px;
  }
  .site-nav a { padding: 0; border-bottom: none; }
  .btn-nav { margin-top: 0; }

  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-5 { grid-template-columns: repeat(5, 1fr); }
  .logo-grid { grid-template-columns: repeat(5, 1fr); }
  .pillar-grid { grid-template-columns: repeat(5, 1fr); }
  .two-col-90-110 { grid-template-columns: 0.9fr 1.1fr; }
  .two-col-80-120 { grid-template-columns: 0.8fr 1.2fr; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
  .dashboard-grid { grid-template-columns: 1.4fr 1fr; }
  .bars { height: 104px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .founder-grid { grid-template-columns: repeat(3, 1fr); }
  .service-features-3 { grid-template-columns: repeat(3, 1fr); }
  .hero .wrap { padding-top: 112px; padding-bottom: 96px; }
  .cta-wrap { padding-top: 104px; padding-bottom: 104px; }
}
