/* ================================================================
   CLOUDRYPTION — Enterprise CSS
   Palette:
     Navy hero:   #031527
     Deep navy:   #061B2E
     Near black:  #020B16
     Green:       #009B55
     Emerald:     #10B981
     Cyan:        #38BDF8
     White text:  #FFFFFF
     Muted:       #A8B3C5
     Glass border:rgba(255,255,255,0.16)
     Glass card:  rgba(255,255,255,0.06)
================================================================ */

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

:root {
  --navy:        #021225;
  --deep-navy:   #05192f;
  --near-black:  #020B16;
  --green:       #12ae47;
  --emerald:     #18c052;
  --cyan:        #38BDF8;
  --white:       #FFFFFF;
  --muted:       #A8B3C5;
  --glass-bdr:   rgba(255,255,255,0.16);
  --glass-card:  rgba(255,255,255,0.06);
  --dark-card:   rgba(2,11,22,0.72);
  --amber:       #F59E0B;
  --red:         #DC2626;
  --purple:      #7C3AED;
  --border-light:#E5E7EB;
  --text-dark:   #111827;
  --text-muted:  #6B7280;
  --bg:          #F8FAFC;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --sh-soft: 0 16px 40px rgba(17,24,39,0.08);
  --sh-glow: 0 0 38px rgba(20,212,104,0.28);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  background: #f6f8fb;
  color: var(--text-dark);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -9999px; top: 1rem;
  padding: .7rem 1rem;
  background: var(--emerald);
  color: #022c22;
  border-radius: var(--r-sm);
  z-index: 2000;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; }

.container {
  width: min(1560px, 94%);
  margin-inline: auto;
}

/* ── Typography helpers ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  margin-top: 0;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); line-height: 0.94; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); line-height: 1.15; margin-bottom: 1rem; }
h3 { font-size: 1.1rem; margin-bottom: .45rem; }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #86f5b8;
  margin: 0 0 .85rem;
}

.eyebrow-light {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--green);
  margin: 0 0 .75rem;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 64ch;
  margin-bottom: 2rem;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green);
  color: #fff;
  padding: .72rem 1.42rem;
  font-size: 1rem;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--emerald);
}

.btn-lg {
  padding: .84rem 1.58rem;
  font-size: 1rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  color: #e5ebf5;
  padding: .55rem .8rem;
  border-radius: 8px;
  transition: color .18s ease;
}
.btn-ghost:hover { color: #fff; }

.btn-outline-hero {
  border-color: rgba(255,255,255,.38);
  color: #f0f4f8;
  background: rgba(4,18,34,.35);
  padding: .72rem 1.42rem;
  font-size: 1rem;
}
.btn-outline-hero:hover,
.btn-outline-hero:focus-visible {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.1);
}

/* ================================================================
   HERO SHELL — dark rounded container
================================================================ */
.hero-shell {
  background: #000b1b;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  position: relative;
}

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 999;
  background: #000b1b;
}

.header-wrap {
  display: flex;
  align-items: center;
  min-height: 86px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  flex-shrink: 0;
}
.brand-logo {
  width: 42px;
  height: 42px;

}
.brand-text {
  color: #f3f4f6;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-inline: auto;
}
.primary-nav a {
  color: #d6ddea;
  font-size: .98rem;
  font-weight: 500;
  padding: .44rem .58rem;
  border-radius: 8px;
  transition: color .18s ease, background .18s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #fff;
  background: var(--glass-card);
}

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

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--glass-bdr);
  background: var(--glass-card);
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #f3f4f6;
  margin: 5px auto;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero section ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 2.2rem 0 2.4rem;
  color: #f9fafb;
  overflow: hidden;
}

/* Background dot/line grid — disabled */
.hero-grid-bg { display: none; }

/* Glow blobs — disabled */
.glow-blob { display: none; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 2.1rem;
  align-items: center;
}
.nav-caret {
  font-size: .65rem;
  opacity: .65;
  vertical-align: middle;
  margin-left: .1rem;
}

/* Left copy */
.hero-copy { display: flex; flex-direction: column; gap: 0; }

.h1-white { color: #fff; display: block; margin-bottom: 0; }
.h1-green { color: var(--emerald); display: block; margin-top: 0; }

.hero-sub {
  color: #e0e8f4;
  font-size: 1.15rem;
  max-width: 52ch;
  margin: .88rem 0 0;
  line-height: 1.5;
}

.btn-arrow {
  font-size: 1em;
  font-style: normal;
  margin-left: .2rem;
  display: inline-block;
  transition: transform .18s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.hero-sub-2 {
  margin-top: .55rem;
}

/* ── Hero Visual ─────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,.48);
  background: rgba(2,11,22,0.28);
}

.hero-diagram-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* ── Value Strip ─────────────────────────────────────────────── */

.value-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #03162b;
  padding: 26px 0 24px;
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  gap: 0;
  align-items: start;
  width: 100%;
}

.vs-col {
  min-width: 0;
  padding: 0.2rem 1.8rem;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.35rem;
  align-items: start;
}

.vs-divider {
  width: 1px;
  height: 130px;
  background: rgba(255, 255, 255, 0.18);
  justify-self: center;
}

.vs-icon {
  width: 50px;
  height: 50px;
  color: #dbe8b2;
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-top: 2px;
  flex-shrink: 0;
  display: block;
}

.vs-icon-cube {
  width: 52px;
  height: 52px;
  margin-top: 1px;
  color: #dbe8b2;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  flex-shrink: 0;
}

.vs-col h3 {
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f1f5f9;
}

.vs-col p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #d4ddeb;
  max-width: 250px;
}



/* .value-strip {
  border-top: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(90deg, rgba(2,18,37,.98) 0%, rgba(3,24,46,.96) 50%, rgba(2,18,37,.98) 100%);
  padding: 1.4rem 0 1.4rem;
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  gap: 0;
  align-items: stretch;
}

.vs-col {
  padding: .2rem 1.4rem;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: .3rem;
  align-items: start;
}
.vs-icon {
  width: 50px;
  height: 50px;
  color: #a7f3d0;
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-top: .1rem;

}
.vs-col h3 {
  margin: 0;
  color: #d8e8ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .76rem;
  line-height: 1.2;
  grid-column: 2;
  grid-row: 1;
}
.vs-col p {
  margin: 0;
  color: #a8b8cc;
  font-size: .88rem;
  line-height: 1.4;
  max-width: 22ch;
  grid-column: 2;
  grid-row: 2;
}

.vs-divider {
  height: 100%;
  min-height: 72px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.22) 15%, rgba(255,255,255,.22) 85%, rgba(255,255,255,0) 100%);
  align-self: stretch;
} */

/* ================================================================
   SECTIONS (light background below hero)
================================================================ */
.section { padding: 5rem 0; }

/* ── Problem section ─────────────────────────────────────────── */
.problem { background: var(--bg); }
.problem h2 { color: var(--text-dark); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.problem-card {
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  background: #ffffff;
  padding: 1.15rem;
  box-shadow: var(--sh-soft);
}
.pc-icon {
  width: 40px;
  height: 40px;
  margin-bottom: .7rem;
  border-radius: 10px;
  background: #f9fafb;
  padding: 8px;
  border: 1px solid #f3f4f6;
}
.pc-icon svg { width: 100%; height: 100%; }
.problem-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.problem-card p  { margin: 0; color: var(--text-muted); font-size: .92rem; }

/* ── Platform section ────────────────────────────────────────── */
.platform { background: #ffffff; }
.platform h2 { color: var(--text-dark); }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.plat-card {
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 1.1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  box-shadow: var(--sh-soft);
}
.plat-card h3 { font-size: .97rem; margin: .45rem 0 .4rem; }
.plat-card p  { margin: 0 0 .7rem; color: var(--text-muted); font-size: .88rem; }
.plat-meta    { display: flex; flex-direction: column; gap: .25rem; }
.plat-meta span { font-size: .77rem; color: var(--text-muted); }

.plat-badge {
  display: inline-flex;
  align-items: center;
  padding: .22rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-blue   { background: rgba(37,99,235,.12);   color: #2563eb; border: 1px solid rgba(37,99,235,.3); }
.badge-purple { background: rgba(124,58,237,.1);   color: #7c3aed; border: 1px solid rgba(124,58,237,.28); }
.badge-amber  { background: rgba(245,158,11,.12);  color: #92400e; border: 1px solid rgba(245,158,11,.35); }
.badge-red    { background: rgba(220,38,38,.1);    color: #dc2626; border: 1px solid rgba(220,38,38,.3); }
.badge-cyan   { background: rgba(56,189,248,.12);  color: #0369a1; border: 1px solid rgba(56,189,248,.35); }
.badge-green  { background: rgba(16,185,129,.12);  color: #065f46; border: 1px solid rgba(16,185,129,.35); }

/* ── Showcases ───────────────────────────────────────────────── */
.showcases { background: var(--bg); }
.showcases h2 { color: var(--text-dark); }

.showcase-card {
  margin-top: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--sh-soft);
}

.sc-header { margin-bottom: 1rem; }
.sc-title-wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: .65rem; }
.sc-title-wrap h3 { font-size: 1.15rem; margin: 0; }
.sc-scenario { color: var(--text-muted); font-size: .9rem; margin: .45rem 0 0; }

/* Risk badges */
.risk-badge {
  display: inline-flex;
  align-items: center;
  padding: .26rem .62rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  flex-shrink: 0;
}
.rb-critical { background: rgba(220,38,38,.12); color: #dc2626; border: 1px solid rgba(220,38,38,.32); }
.rb-high     { background: rgba(245,158,11,.14); color: #92400e; border: 1px solid rgba(245,158,11,.38); }

/* Path diagram */
.sc-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin-bottom: 1rem;
  padding: .75rem;
  background: #f8faff;
  border: 1px solid #e8edf5;
  border-radius: var(--r-md);
}
.sc-node {
  padding: .45rem .6rem;
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 700;
  color: #fff;
}
.sn-blue   { background: rgba(37,99,235,.82); }
.sn-purple { background: rgba(124,58,237,.82); }
.sn-amber  { background: rgba(245,158,11,.88); color: #1c1200; }
.sn-red    { background: rgba(220,38,38,.82); }

.sc-arrow {
  color: #94a3b8;
  font-size: .9rem;
  font-weight: 300;
}

/* Metrics grid */
.sc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.sc-col {
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  padding: .85rem;
}
.sc-col h4 { font-size: .85rem; margin-bottom: .55rem; color: #0f172a; }
.sc-col ul  { margin: 0; padding-left: 1rem; font-size: .86rem; color: var(--text-muted); }
.sc-col ul li + li { margin-top: .3rem; }
.highlight-green { color: #059669 !important; font-weight: 700; }
.sc-before  { background: #fff8f8; }
.sc-fixset  { background: #f5f3ff; }
.sc-after   { background: #f0fdf4; }

.sc-outcome {
  margin: .9rem 0 0;
  padding: .65rem .85rem;
  border-radius: 10px;
  border: 1px solid #d1fae5;
  background: #f0fdf4;
  color: #065f46;
  font-size: .9rem;
}

/* ── Demo section ────────────────────────────────────────────── */
.demo-section {
  background: linear-gradient(180deg, var(--deep-navy) 0%, #0f1e30 100%);
  color: #f8fafc;
}
.demo-section h2 { color: #fff; }
.demo-section .section-intro { color: #94a3b8; }

.demo-shell {
  margin-top: 1.5rem;
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-lg);
  background: var(--glass-card);
  overflow: hidden;
}

.tab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--glass-bdr);
  background: rgba(0,0,0,.22);
  padding: .5rem .75rem;
  gap: .45rem;
}

.tab-btn {
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #94a3b8;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.tab-btn.active,
.tab-btn:focus-visible {
  border-color: var(--emerald);
  background: rgba(16,185,129,.18);
  color: #d1fae5;
}

.tab-panels { padding: 1.25rem; }

.tab-panel h3 { color: #f1f5f9; margin-bottom: .75rem; }
.tab-panel p.demo-note { color: #94a3b8; font-size: .9rem; margin-top: .9rem; }

/* Demo graph */
.demo-graph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.25rem;
  background: rgba(0,0,0,.25);
  border-radius: var(--r-md);
  border: 1px solid var(--glass-bdr);
  margin-bottom: .8rem;
  overflow: hidden;
}
.dg-node {
  padding: .55rem .85rem;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 700;
  z-index: 2;
  position: relative;
}
.dg-internet  { background: rgba(37,99,235,.75); }
.dg-workload  { background: rgba(245,158,11,.8);  color: #1c1200; }
.dg-identity  { background: rgba(124,58,237,.75); }
.dg-data      { background: rgba(220,38,38,.75);  }

.dg-edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.dge {
  stroke: rgba(56,189,248,.5);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
  animation: dash-move 8s linear infinite;
}

/* Crown jewel list */
.cj-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem;
}
.cj-item {
  padding: .65rem .85rem;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 700;
}
.cj-item.rb-critical { background: rgba(220,38,38,.1); color: #dc2626; border: 1px solid rgba(220,38,38,.28); }
.cj-item.rb-high     { background: rgba(245,158,11,.1); color: #92400e; border: 1px solid rgba(245,158,11,.28); }

/* Fix list */
.fix-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.fix-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem;
  background: rgba(0,0,0,.2);
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-bdr);
}
.fix-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(16,185,129,.25);
  border: 1px solid var(--emerald);
  color: #a7f3d0;
  font-size: .78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.fix-list strong { display: block; font-size: .9rem; color: #f0f4f8; }
.fix-list p { margin: .2rem 0 0; color: #94a3b8; font-size: .82rem; }

/* Exec summary */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
.exec-metric {
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-bdr);
  background: rgba(16,185,129,.1);
  padding: .85rem;
}
.exec-metric strong { display: block; font-size: 1.1rem; color: #d1fae5; margin-bottom: .2rem; }
.exec-metric span   { font-size: .82rem; color: #94a3b8; }

/* ── Differentiators ─────────────────────────────────────────── */
.differentiators { background: #ffffff; }
.differentiators h2 { color: var(--text-dark); }

.pillar-grid {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7rem;
}
.pillar-grid li {
  padding: .85rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  text-align: center;
  background: #f9fafb;
  font-weight: 700;
  font-size: .83rem;
  color: #0f172a;
  transition: border-color .18s, background .18s;
}
.pillar-grid li:hover {
  border-color: #a7f3d0;
  background: #f0fdf4;
}

/* ── About ───────────────────────────────────────────────────── */
.about { background: var(--bg); }
.about h2 { color: var(--text-dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
}
.about p { color: var(--text-muted); }

.who-serves {
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  background: #ffffff;
  padding: 1.1rem;
  box-shadow: var(--sh-soft);
}
.who-serves h3 { margin-bottom: .8rem; font-size: 1rem; }

.serve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem;
}
.serve-grid span {
  border-radius: 10px;
  border: 1px solid #d1fae5;
  background: #f0fdf4;
  color: #065f46;
  padding: .55rem .65rem;
  font-weight: 700;
  font-size: .82rem;
}

/* ── Final CTA ───────────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(140deg, var(--near-black) 0%, var(--deep-navy) 100%);
  color: #f8fafc;
}
.fcta-wrap {
  text-align: center;
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-lg);
  padding: 3rem 2rem;
  background: var(--glass-card);
}
.fcta-wrap h2 { color: #fff; }
.fcta-wrap p  { color: var(--muted); margin-bottom: 1.5rem; }

/* ── Contact ─────────────────────────────────────────────────── */
.contact { background: #ffffff; }
.contact h2 { color: var(--text-dark); }

.contact-cards {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  background: #fafbfd;
  padding: 1.1rem;
  box-shadow: var(--sh-soft);
  transition: border-color .18s, box-shadow .18s;
}
.contact-card:hover {
  border-color: #a7f3d0;
  box-shadow: 0 0 18px rgba(16,185,129,.15);
}
.contact-card svg { width: 28px; height: 28px; }
.contact-card h3  { margin: 0; font-size: 1rem; }
.contact-card p   { margin: 0; color: var(--text-muted); font-size: .9rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--near-black);
  padding: 1.6rem 0 1.8rem;
  color: #64748b;
}
.footer-inner { display: flex; flex-direction: column; gap: .45rem; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.footer-brand strong { color: #94a3b8; font-size: .98rem; }
.footer-tagline { color: #475569; font-size: .9rem; margin: 0; }
.footer-copy    { font-size: .82rem; margin: 0; }

/* ── Reveal animation ────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Tablet / smaller desktop */
@media (max-width: 1100px) {
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-visual    { height: 320px; max-width: 520px; margin: 0 auto; }
  .about-grid     { grid-template-columns: 1fr; }
  .platform-grid  { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid    { grid-template-columns: repeat(2, 1fr); }

  .vs-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1px auto;
  }
  .vs-divider:nth-child(2) { display: none; }
  .vs-divider:nth-child(4) {
    grid-column: 1 / -1;
    width: 100%;
    height: 1px;
  }
  .vs-divider:nth-child(6) { display: none; }
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .primary-nav {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: rgba(3,21,39,.97);
    border-bottom: 1px solid var(--glass-bdr);
    padding: .8rem 4%;
    display: grid;
    gap: .2rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .primary-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a { padding: .6rem .4rem; }

  .header-ctas { gap: .4rem; }
  .header-ctas .btn-ghost { display: none; }

  .problem-grid    { grid-template-columns: 1fr; }
  .sc-metrics      { grid-template-columns: 1fr; }
  .sc-path         { overflow-x: auto; flex-wrap: nowrap; }
  .contact-cards   { grid-template-columns: 1fr; }
  .cj-list         { grid-template-columns: 1fr; }
  .exec-grid       { grid-template-columns: 1fr; }
}

/* Small mobile */
@media (max-width: 640px) {
  .platform-grid  { grid-template-columns: 1fr; }
  .pillar-grid    { grid-template-columns: 1fr; }
  .serve-grid     { grid-template-columns: 1fr; }
  .section        { padding: 3.5rem 0; }

  .vs-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .vs-divider { display: none !important; }
}

/* ================================================================
   BOOKING MODAL
================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 11, 22, 0.82);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay[hidden] { display: none; }

.modal-container {
  background: var(--deep-navy);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-lg);
  padding: 2.25rem 2.5rem;
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.65);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: .2rem .5rem;
  border-radius: 6px;
  transition: color .18s ease;
}
.modal-close:hover { color: #fff; }

.modal-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: .35rem;
}
.modal-subtitle {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.booking-form  { display: flex; flex-direction: column; gap: 1rem; }
.booking-form[hidden] { display: none; }
.form-group    { display: flex; flex-direction: column; gap: .35rem; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: #d1d5db;
  letter-spacing: .02em;
}
.form-group label span { color: var(--emerald); }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(2, 11, 22, .7);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-sm);
  color: #f3f4f6;
  font-family: inherit;
  font-size: .9rem;
  padding: .7rem .9rem;
  transition: border-color .18s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--emerald); }

.form-group input[type="date"],
.form-group input[type="time"] { color-scheme: dark; }

.form-group select {
  appearance: auto;
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-error {
  background: rgba(220,38,38,.15);
  border: 1px solid rgba(220,38,38,.4);
  color: #fca5a5;
  border-radius: var(--r-sm);
  padding: .7rem .9rem;
  font-size: .85rem;
}

.form-submit { width: 100%; justify-content: center; margin-top: .5rem; }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.booking-success {
  text-align: center;
  padding: 2rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.booking-success[hidden] { display: none; }
.booking-success svg { width: 52px; height: 52px; }
.booking-success h3  { color: var(--emerald); margin: 0; font-size: 1.25rem; }
.booking-success p   { color: var(--muted); margin: 0; }

@media (max-width: 480px) {
  .modal-container { padding: 1.5rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ================================================================
   CONTACT FORM
================================================================ */
.contact-form-wrap {
  max-width: 660px;
  margin: 2rem auto 0;
}
.contact-form {
  background: #fafbfd;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 2rem 2.2rem;
  box-shadow: var(--sh-soft);
}
.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.1rem;
}
.contact-form label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #64748b;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm, 6px);
  padding: .6rem .85rem;
  color: var(--text-dark);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .18s;
  width: 100%;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(18,174,71,.12);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form-submit {
  width: 100%;
  margin-top: .5rem;
}
.contact-form-success {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-dark);
}
.contact-form-success svg {
  width: 52px;
  height: 52px;
  color: var(--green);
  margin-bottom: .75rem;
}
.contact-form-success h3 {
  margin: 0 0 .5rem;
  font-size: 1.25rem;
  color: var(--text-dark);
}
.contact-form-success p {
  margin: 0;
  color: #64748b;
}
.contact-form-error {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: var(--r-sm, 6px);
  color: #b91c1c;
  font-size: .88rem;
  padding: .55rem .85rem;
  margin-top: .6rem;
}
.contact-form-error[hidden] { display: none; }
.contact-form-success[hidden] { display: none; }
.contact-info-strip {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  color: #64748b;
  font-size: .9rem;
}
.contact-info-strip a {
  color: var(--green);
  text-decoration: none;
}
.contact-info-strip a:hover { text-decoration: underline; }

/* contact.html hero */
.contact-hero {
  background: linear-gradient(160deg, var(--navy) 0%, #0a1f3a 100%);
  padding: 5rem 0 3.5rem;
  text-align: center;
  color: #fff;
}
.contact-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 .75rem;
}
.contact-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  margin: 0;
}

@media (max-width: 640px) {
  .contact-form { padding: 1.4rem 1.1rem; }
  .contact-info-strip { gap: 1rem; flex-direction: column; align-items: center; }
}
