/* ============================================
   Elvarion Labs — Design System
   Premium Enterprise SaaS · Minimal · Editorial · Geometric
   ============================================ */

:root {
  --bronze: #4B2A05;
  --bronze-accent: #8A5A2B;
  --sand: #D6B28B;
  --ivory: #F8F2EA;
  --white: #FFFFFF;
  --charcoal: #2A2A2A;
  --gray: #6F6F6F;
  --footer-bg: #1B1714;
  --border: #ECE5DE;

  --bronze-rgb: 75, 42, 5;
  --accent-rgb: 138, 90, 43;

  --radius-card: 24px;
  --radius-btn: 10px;
  --radius-sm: 8px;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-h: 84px;
  --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--bronze);
  text-decoration: none;
  transition: color var(--ease);
}

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.65rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }

p { max-width: 62ch; color: var(--gray); }

.container {
  width: min(var(--max-width), 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  position: relative;
}

.section-ivory { background: var(--ivory); }
.section-white { background: var(--white); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-accent);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--bronze-accent);
}

.eyebrow-hex {
  width: 8px;
  height: 8px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--bronze-accent);
  flex-shrink: 0;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.85rem;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--bronze);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--bronze-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(var(--bronze-rgb), 0.22);
}

.btn-secondary {
  background: var(--white);
  color: var(--bronze);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--bronze-accent);
  color: var(--bronze-accent);
  background: var(--ivory);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline-light:hover {
  border-color: var(--sand);
  background: rgba(255,255,255,0.06);
  color: var(--sand);
}

.btn-lg { padding: 1.1rem 2.25rem; font-size: 15px; }

/* ---- Header ---- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease), box-shadow var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(42, 42, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--charcoal);
  flex-shrink: 0;
}

.logo-link:hover { color: var(--charcoal); }

.logo-link img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--bronze);
}

.logo-text .logo-labs {
  font-weight: 500;
  color: var(--gray);
  margin-left: 0.3em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  margin-inline: auto;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
}

.nav-desktop a:hover { color: var(--bronze); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--charcoal);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(255, 255, 255, 0.99);
  padding: 2rem 6vw;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--ease);
  overflow-y: auto;
}

.nav-mobile.open { transform: translateX(0); }

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .btn { margin-top: 1.5rem; }

/* ---- Footer ---- */

.site-footer {
  background: var(--footer-bg);
  padding: clamp(4rem, 7vw, 5.5rem) 0 0;
  position: relative;
  color: #C9C1B8;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-link { color: var(--white); }
.footer-brand .logo-text { color: var(--sand); }
.footer-brand .logo-text .logo-labs { color: #8f877d; }

.footer-brand p {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  max-width: 30ch;
  color: #A79E92;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);
  color: #C9C1B8;
  transition: all var(--ease);
}

.footer-social a:hover {
  border-color: var(--sand);
  color: var(--sand);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sand);
  margin-bottom: 1.35rem;
  font-weight: 600;
}

.footer-col ul li { margin-bottom: 0.75rem; }

.footer-col a {
  font-size: 0.9rem;
  color: #B8AFA4;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
  color: #8f877d;
}

/* ---- Cards ---- */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  position: relative;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  box-shadow: 0 1px 2px rgba(42,42,42,0.03);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--sand);
  box-shadow: 0 20px 40px -12px rgba(75, 42, 5, 0.12);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--ivory);
  border: 1px solid var(--border);
  margin-bottom: 1.35rem;
  color: var(--bronze);
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: 0.65rem; }
.card p { font-size: 0.92rem; }

/* ---- Forms ---- */

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #B7AFA4; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--bronze-accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.9rem;
}

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: var(--ivory);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  color: var(--bronze);
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.form-success.visible { display: block; }

/* ---- Decorative ---- */

.dot-grid {
  background-image: radial-gradient(rgba(var(--bronze-rgb), 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
}

.hex-pattern {
  background-image:
    linear-gradient(30deg, rgba(var(--bronze-rgb), 0.07) 1px, transparent 1px),
    linear-gradient(150deg, rgba(var(--bronze-rgb), 0.07) 1px, transparent 1px),
    linear-gradient(270deg, rgba(var(--bronze-rgb), 0.07) 1px, transparent 1px);
  background-size: 52px 90px;
}

.diagonal-line {
  position: absolute;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand), transparent);
  pointer-events: none;
}

.geo-frame {
  position: absolute;
  border: 1px solid var(--border);
  pointer-events: none;
}

.hex-mark {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- Hero ---- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 4.5rem);
  padding-bottom: 5rem;
  background: var(--ivory);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(var(--bronze-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(150deg, rgba(var(--bronze-rgb), 0.05) 1px, transparent 1px);
  background-size: 56px 96px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 75%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text p {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  margin: 1.5rem 0 2.4rem;
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin-inline: auto;
}

.hero-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: heroSpin 100s linear infinite;
}

.hero-ring.ring-b {
  inset: 10%;
  border: 1px solid var(--sand);
  opacity: 0.7;
  animation: heroSpinReverse 70s linear infinite;
}

.hero-network {
  position: absolute;
  inset: 15%;
}

.hn-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hn-lines line {
  stroke: var(--bronze-accent);
  stroke-width: 1.5;
  stroke-dasharray: 5 9;
  opacity: 0.4;
  animation: hnFlow 6s linear infinite;
}

.hn-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  background: var(--bronze);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 14px 30px -8px rgba(75, 42, 5, 0.45);
  z-index: 2;
}

.hn-ping {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1.5px solid var(--sand);
  opacity: 0;
  animation: hnPing 3.6s ease-out infinite;
}

.hn-ping:nth-child(2) { animation-delay: 1.8s; }

.hn-node {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 2;
  animation: hnPulse 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.5s);
}

@keyframes heroSpin { to { transform: rotate(360deg); } }
@keyframes heroSpinReverse { to { transform: rotate(-360deg); } }
@keyframes hnFlow { to { stroke-dashoffset: -140; } }

@keyframes hnPing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.7); opacity: 0; }
}

@keyframes hnPulse {
  0%, 100% { background: var(--white); border-color: var(--border); transform: scale(1); }
  16% { background: var(--bronze-accent); border-color: var(--bronze-accent); transform: scale(1.18); }
  36% { background: var(--white); border-color: var(--border); transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ring, .hn-lines line, .hn-ping, .hn-node { animation: none; }
}

.hero-stat-bar {
  position: relative;
  z-index: 2;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.hero-stat {
  padding: 1.5rem 1.75rem;
  border-right: 1px solid var(--border);
}

.hero-stat:last-child { border-right: none; }

.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--bronze);
  font-weight: 700;
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ---- Page hero (subpages) ---- */

.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(var(--bronze-rgb), 0.14) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 80%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 80%);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 0.9rem; max-width: 24ch; }
.page-hero p { font-size: 1.08rem; max-width: 58ch; }
.page-hero-meta {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray);
}

/* ---- Challenge (split) ---- */

.challenge-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.challenge-left p + p { margin-top: 1rem; }
.challenge-left h2 { margin-bottom: 1.5rem; }

.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
}

.challenge-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
}

.challenge-item:last-child { border-bottom: none; }

.challenge-item-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--bronze);
}

.challenge-item h4 { font-size: 0.98rem; margin-bottom: 0.2rem; color: var(--charcoal); }
.challenge-item p { font-size: 0.87rem; margin: 0; }

/* ---- Platform / capability grid (2x2) ---- */

.platform-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 3.5rem;
}

.platform-intro h2 { margin-bottom: 1rem; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.capability-grid .card { display: flex; flex-direction: column; }

.cta-inline {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-inline p { margin: 0; font-size: 0.9rem; }

/* ---- How it works (split + steps) ---- */

.how-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.how-left h2 { margin-bottom: 1.25rem; }
.how-left p + p { margin-top: 1rem; }

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.85rem 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.how-step:first-child { border-top: none; }

.step-num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--bronze);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.how-step h3 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.how-step p { font-size: 0.9rem; margin: 0; }

/* ---- Industries (3x3 grid) ---- */

.industries-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 3.5rem;
}

.industries-header h2 { margin-bottom: 1rem; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.industry-cell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.85rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--ease);
}

.industry-cell:hover {
  border-color: var(--sand);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(75,42,5,0.1);
}

.industry-cell .card-icon { margin-bottom: 0; }
.industry-cell h4 { font-size: 0.98rem; color: var(--charcoal); }
.industry-cell p { font-size: 0.85rem; margin: 0; }

/* ---- Vision (split, editorial) ---- */

.vision-section {
  background: var(--bronze);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(255,255,255,0.05), transparent 55%);
  pointer-events: none;
}

.vision-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.vision-left .section-label { color: var(--sand); }
.vision-left .section-label::before { background: var(--sand); }
.vision-left h2 { color: var(--white); margin-bottom: 1.5rem; }
.vision-left p { color: rgba(248,242,234,0.78); }
.vision-left p + p { margin-top: 1.1rem; }

.vision-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  max-width: 30ch;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-card);
  padding: 1.85rem 1.5rem;
}

.stat-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--sand);
  font-weight: 700;
}

.stat-card span {
  font-size: 0.85rem;
  color: rgba(248,242,234,0.7);
}

.vision-cta {
  margin-top: 2.5rem;
}

/* ---- Contact ---- */

.contact-section { background: var(--ivory); }

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2.5rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--bronze);
}

.contact-detail strong {
  display: block;
  color: var(--charcoal);
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.contact-detail span { font-size: 0.88rem; color: var(--gray); }

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bronze);
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 100px;
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(2rem, 4vw, 2.75rem);
}

.form-panel h3 { margin-bottom: 0.5rem; }
.form-panel > p { font-size: 0.9rem; margin-bottom: 1.75rem; }

/* ---- Subpage prose ---- */

.page-content { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }

.prose-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
}

.prose-nav {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.prose-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  padding: 0.4rem 0;
  border-left: 2px solid var(--border);
  padding-left: 1rem;
}

.prose-nav a:hover { color: var(--bronze); border-left-color: var(--sand); }

.prose { max-width: 720px; }

.prose h2 {
  font-size: 1.35rem;
  margin: 2.75rem 0 1rem;
  padding-top: 0.5rem;
}

.prose h2:first-child { margin-top: 0; }

.prose p { margin-bottom: 1rem; color: var(--gray); }
.prose ul { list-style: none; margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }

.prose li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--gray);
  font-size: 0.96rem;
}

.prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--bronze-accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.prose strong { color: var(--charcoal); }

/* ---- Security pillars / Support channels (2x2) ---- */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ---- Pricing tiers (2x2) ---- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.pricing-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--bronze);
  background: linear-gradient(165deg, var(--ivory), var(--white));
}

.pricing-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: var(--bronze);
  color: var(--white);
  border-radius: 100px;
  margin-bottom: 1.1rem;
  width: fit-content;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0.75rem 0 1.25rem;
}

.pricing-price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gray);
}

.pricing-card > p.tier-desc { font-size: 0.9rem; margin-bottom: 0; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.5rem 0 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--charcoal);
}

.pricing-features li::before { display: none; }
.pricing-features svg { color: var(--bronze-accent); flex-shrink: 0; margin-top: 2px; }

/* ---- FAQ ---- */

.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .faq-icon {
  flex-shrink: 0;
  color: var(--bronze);
  transition: transform var(--ease);
}

.faq-item[open] summary .faq-icon { transform: rotate(45deg); }

.faq-item p {
  margin-top: 1rem;
  font-size: 0.92rem;
}

/* ---- Page form section (Support / Pricing) ---- */

.page-form-section {
  background: var(--ivory);
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
}

.page-form-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

/* ---- Split banner (two-part decorative section) ---- */

.split-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-banner-part {
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-banner-part.dark {
  background: var(--charcoal);
  color: var(--ivory);
}

.split-banner-part.dark h3 { color: var(--white); }
.split-banner-part.dark p { color: rgba(248,242,234,0.7); }

.split-banner-part.light { background: var(--ivory); }

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .hero-content,
  .challenge-grid,
  .platform-intro,
  .how-split,
  .industries-header,
  .vision-grid,
  .contact-wrap,
  .page-form-wrap,
  .prose-wrap {
    grid-template-columns: 1fr;
  }

  .prose-nav { display: none; }

  .hero-visual { max-width: 300px; margin-top: 1rem; }

  .industries-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .split-banner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .header-actions .btn-primary.nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-mobile { display: flex; }

  .capability-grid,
  .pillar-grid,
  .pricing-grid,
  .stat-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .industries-grid { grid-template-columns: 1fr; }

  .hero-stat-bar { grid-template-columns: 1fr; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stat:last-child { border-bottom: none; }

  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cta-inline { flex-direction: column; align-items: flex-start; }
}
