/* ============================================================
   Aimlytics — brand tokens
   ============================================================ */
:root {
  --navy: #10142B;
  --navy-hi: #1A2448;
  --navy-deep: #090B18;
  --navy-card: #151A35;
  --teal: #00D9B5;
  --teal-dim: rgba(0, 217, 181, 0.12);
  --white: #FFFFFF;
  --slate: #9CA3AF;
  --slate-dim: #8B96AA;
  --line: rgba(255, 255, 255, 0.08);
  --coral: #FF6B6B;

  --font: 'Liberation Sans', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

/* ============================================================
   Background texture — subtle grain + glow, matches brand kit
   ============================================================ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 700px at 85% 8%, rgba(26,36,72,0.9), transparent 60%),
    radial-gradient(ellipse 700px 600px at 10% 90%, rgba(0,217,181,0.05), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 { font-weight: 700; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; color: var(--slate); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--teal);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); color: var(--white); }
.section-head p { margin-top: 14px; font-size: 17px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--navy-deep); }
.btn-primary:hover { background: #1de6c4; }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-block { width: 100%; }
.btn .arrow { display: inline-block; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Header / Nav
   ============================================================ */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 20, 43, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; letter-spacing: 0.02em; }
.brand img { width: 32px; height: 32px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); display: block; }

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0 22px;
  border-top: 1px solid var(--line);
}
.mobile-panel a {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
}
.mobile-panel .btn { margin-top: 14px; }

body.nav-open .mobile-panel { display: flex; }

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .nav-cta .btn-primary { padding: 10px 16px; font-size: 13px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 120px 0 140px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; }
.hero-inner { max-width: 780px; position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--white);
}
.hero h1 .accent { color: var(--teal); }
.hero .lede {
  margin-top: 30px;
  font-size: 19px;
  max-width: 600px;
  color: var(--slate);
}
.hero-ctas { display: flex; align-items: center; gap: 18px; margin-top: 46px; flex-wrap: wrap; }
.btn-lg { padding: 19px 34px; font-size: 16.5px; box-shadow: 0 10px 34px rgba(0, 217, 181, 0.22); }
.btn-lg:hover { box-shadow: 0 12px 40px rgba(0, 217, 181, 0.32); }

/* Hero abstract data/signal graphic */
.hero-visual {
  position: absolute;
  top: -10px;
  right: -20px;
  width: 480px;
  max-width: 42vw;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.hero-visual svg { width: 100%; height: auto; display: block; }
.hv-dots circle { fill: rgba(255, 255, 255, 0.10); }
.hv-line {
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: hvDraw 1.8s ease-out 0.3s forwards;
}
.hv-node {
  fill: var(--teal);
  opacity: 0;
  animation: hvFade 0.6s ease-out forwards;
}
.hv-node-lg { fill: var(--white); }
@keyframes hvDraw { to { stroke-dashoffset: 0; } }
@keyframes hvFade { to { opacity: 1; } }

@media (max-width: 900px) {
  .hero-visual { display: none; }
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 52px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.01em;
}
.proof-strip .proof-dot { color: var(--teal); font-weight: 700; }

@media (max-width: 640px) {
  .proof-strip { gap: 8px; font-size: 13.5px; }
}

/* ============================================================
   Generic section spacing
   ============================================================ */
.section { padding: 100px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tint { background: var(--navy-hi); }

/* ============================================================
   Embossed compass mark — large-scale, low-opacity brand watermark
   echoing the logo's ring + needle. Restrained: a handful of
   placements only, never competing with foreground content.
   ============================================================ */
.emboss-mark {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(-1px -1px 0 rgba(255, 255, 255, 0.035)) drop-shadow(1.5px 2px 2px rgba(0, 0, 0, 0.5));
}
.emboss-mark svg { width: 100%; height: 100%; display: block; }
.em-ring { fill: none; stroke: rgba(255, 255, 255, 0.05); stroke-width: 2.25; }
.em-needle { fill: rgba(255, 255, 255, 0.06); }

.emboss-hero { width: 560px; height: 560px; left: -230px; bottom: -480px; }
.emboss-statement { width: 440px; height: 440px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.emboss-footer { width: 360px; height: 360px; right: -110px; top: -170px; }

@media (max-width: 900px) {
  .emboss-mark { display: none; }
}

/* ============================================================
   Services grid
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 44px;
}
.service-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 34px 0 30px;
  transition: transform 0.2s ease;
}
.service-card:hover { transform: translateX(2px); }
.service-card:hover h3 { color: var(--teal); }
.service-card .num { color: var(--teal); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 8px; transition: color 0.2s ease; }
.service-card p { font-size: 14px; color: var(--slate-dim); line-height: 1.6; }

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

/* ============================================================
   Statement divider
   ============================================================ */
.accent { color: var(--teal); }
.statement-section {
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 900px 460px at 50% 0%, rgba(0,217,181,0.07), transparent 65%);
  overflow: hidden;
}
.statement-section .wrap { position: relative; z-index: 1; }
.statement {
  font-size: clamp(27px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.015em;
  max-width: 660px;
  margin: 0 auto;
  color: var(--white);
}

/* ============================================================
   Case studies — editorial layout
   ============================================================ */
.results-section {
  background: radial-gradient(ellipse 1000px 560px at 12% 0%, rgba(0,217,181,0.07), transparent 62%);
}
.case-list { display: flex; flex-direction: column; }
.case-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.case-row:first-child { padding-top: 0; }
.case-row:last-child { padding-bottom: 0; border-bottom: none; }
.case-index {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.case-row-left h3 { font-size: 30px; color: var(--white); margin-bottom: 16px; letter-spacing: -0.01em; }
.case-rating { display: flex; align-items: baseline; gap: 10px; margin-bottom: 24px; }
.case-rating-stars { color: var(--teal); font-size: 14px; letter-spacing: 2px; }
.case-rating-score { color: var(--teal); font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.case-rating-label { color: var(--slate-dim); font-size: 12.5px; }
.case-tag { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.case-client {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}
.case-outcomes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.case-outcome {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-dim);
  border-radius: 999px;
  padding: 6px 12px;
}
.case-desc { font-size: 17px; color: var(--slate); margin-bottom: 30px; line-height: 1.7; }
.case-scope { display: flex; flex-wrap: wrap; gap: 26px; margin-bottom: 30px; }
.case-scope-item { display: flex; align-items: center; gap: 9px; }
.case-scope-item svg { flex-shrink: 0; }
.case-scope-item span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--slate); text-transform: uppercase; }
.case-quote {
  position: relative;
  font-size: 18px;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  padding-left: 38px;
  max-width: 620px;
}
.case-quote .qmark {
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 46px;
  font-style: normal;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.65;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
}

/* Metrics area — not yet populated with real numbers (see HTML comments in
   each .case-row-right). Ready to use once client metrics are confirmed,
   without needing to redesign the section. */
.case-metrics { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 620px; }
.case-metric { display: flex; flex-direction: column; gap: 6px; }
.case-metric-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-dim); }
.case-metric-value { font-size: 30px; font-weight: 800; color: var(--teal); letter-spacing: -0.01em; }

@media (max-width: 860px) {
  .case-row { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; }
  .case-row-left h3 { font-size: 26px; }
}

/* ============================================================
   Qualifier ("is this you")
   ============================================================ */
.qualifier {
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 56px;
}
.qualifier-list { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.qualifier-item { display: flex; gap: 16px; align-items: flex-start; }
.qualifier-item .arrow { color: var(--teal); font-weight: 700; font-size: 20px; line-height: 1.4; }
.qualifier-item p { color: var(--white); font-size: 17px; }
.qualifier-note {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

@media (max-width: 720px) {
  .qualifier { padding: 32px 24px; }
}

/* ============================================================
   Process — vertical timeline
   ============================================================ */
.timeline { position: relative; display: flex; flex-direction: column; }
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line);
}
.timeline-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 26px;
  padding: 28px 0;
}
.timeline-step:first-child { padding-top: 0; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-marker {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-card);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-step-end .timeline-marker { background: var(--teal); color: var(--navy-deep); }
.timeline-content h3 { font-size: 19px; color: var(--white); margin-bottom: 8px; }
.timeline-content p { font-size: 16px; }

@media (max-width: 640px) {
  .timeline::before { left: 19px; }
  .timeline-step { grid-template-columns: 38px 1fr; gap: 18px; }
  .timeline-marker { width: 38px; height: 38px; font-size: 14px; }
}

/* ============================================================
   Approach — connected framework diagram
   ============================================================ */
.framework-diagram {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
}
.framework-node {
  flex: 1 1 170px;
  min-width: 150px;
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fnode-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-dim);
  color: var(--teal);
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.framework-node h3 { font-size: 15.5px; color: var(--white); margin-bottom: 8px; }
.framework-node p { font-size: 14px; line-height: 1.6; }
.framework-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  flex-shrink: 0;
  color: var(--teal);
  opacity: 0.45;
  font-size: 18px;
}

@media (max-width: 900px) {
  .framework-diagram { flex-direction: column; }
  .framework-node { width: 100%; }
  .framework-connector { width: 100%; height: 26px; transform: rotate(90deg); }
}

/* ============================================================
   Performance visual (illustrative dashboard)
   ============================================================ */
.perf-section { padding: 20px 0 100px; }
.perf-card {
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
}
.perf-card::before {
  content: "";
  position: absolute;
  top: -140px; right: -140px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,217,181,0.14), transparent 70%);
  pointer-events: none;
}
.perf-head { position: relative; max-width: 560px; margin-bottom: 36px; }
.perf-head h2 { font-size: clamp(24px, 3vw, 32px); color: var(--white); margin-top: 6px; }
.perf-note { font-size: 13px; color: var(--slate-dim); margin-top: 10px; font-style: italic; }

.perf-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 36px;
}
.perf-metric {
  background: var(--navy-hi);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.perf-metric-accent { background: rgba(0,217,181,0.09); }
.perf-label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-dim); }
.perf-value { font-size: 24px; font-weight: 800; color: var(--white); }
.perf-metric-accent .perf-value { color: var(--teal); }

.perf-chart { position: relative; }
.perf-chart-line { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.perf-chart-fill { fill: rgba(0,217,181,0.08); stroke: none; }

@media (max-width: 860px) {
  .perf-card { padding: 34px 24px; }
  .perf-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   About / team
   ============================================================ */
#about { padding: 128px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-copy p + p { margin-top: 16px; }
.about-copy p { font-size: 16px; color: var(--slate); }
.about-copy .lead { color: var(--white); font-size: 19px; font-weight: 700; margin-bottom: 6px; }

.avatar-row { display: flex; gap: 18px; margin-top: 10px; }
.avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: rgba(0,217,181,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--teal);
  font-size: 22px;
  object-fit: cover;
}

.founder-spotlight { display: flex; flex-direction: column; gap: 30px; }
.founder-row {
  display: flex;
  gap: 26px;
  align-items: center;
}
.founder-info { min-width: 0; }
.founder-photo {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 28px;
  object-fit: cover;
  border: 2px solid var(--teal);
  box-shadow: 0 24px 60px rgba(0, 217, 181, 0.16);
}
.founder-quote { color: var(--slate); font-size: 16px; line-height: 1.7; }
.who { margin-top: 18px; font-size: 14px; color: var(--slate-dim); }
.who-link { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--teal); }
.who-link:hover { text-decoration: underline; }
.who-link .arrow { display: inline-block; transition: transform 0.25s ease; }
.who-link:hover .arrow { transform: translateX(4px); }

/* Founder pull-quote — a wide closing statement below the photo/bio row,
   not a narrow side column (that caused word-by-word wrapping). */
.founder-pull {
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  border-left: 3px solid var(--teal);
  padding-left: 22px;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-row { flex-direction: column; text-align: center; }
  .founder-photo { margin: 0 auto; }
  .who { text-align: center; }
}

.cert-row { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.cert-row-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-dim); margin-bottom: 20px; }

.cert-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: 0;
  background: var(--white);
  border-radius: 14px;
  padding: 24px 16px 20px;
  min-height: 188px;
  flex: 0 0 calc(25% - 10.5px);
  max-width: calc(25% - 10.5px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.cert-img-box {
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.cert-img-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cert-body { display: flex; flex-direction: column; align-items: center; }
.cert-name { font-size: 13.5px; font-weight: 700; color: var(--navy-deep); line-height: 1.3; }
.cert-issuer { font-size: 12.5px; color: #6B7280; margin-top: 4px; }

@media (max-width: 1000px) {
  .cert-card { flex-basis: calc(33.333% - 9.333px); max-width: calc(33.333% - 9.333px); }
}
@media (max-width: 640px) {
  .cert-card { flex-basis: calc(50% - 7px); max-width: calc(50% - 7px); min-height: 172px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 2px;
  min-height: 24px;
  transition: color 0.2s ease;
}
.faq-item summary:hover { color: var(--teal); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--teal);
  font-size: 19px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { overflow: hidden; height: 0; }
.faq-body p { padding: 0 2px 22px; font-size: 15px; color: var(--slate-dim); max-width: 680px; line-height: 1.65; }

/* ============================================================
   Final CTA / contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: start;
}
.contact-card {
  min-width: 0;
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
}
.contact-card-primary {
  border-color: rgba(0, 217, 181, 0.35);
  box-shadow: 0 24px 60px rgba(0, 217, 181, 0.1);
  position: relative;
}
.contact-card-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  border-radius: 100px;
  padding: 5px 12px;
  margin-bottom: 16px;
}
.contact-card-secondary {
  background: transparent;
  border: 1px solid var(--line);
  padding: 36px 40px;
}
.contact-card h3 { font-size: 20px; color: var(--white); margin-bottom: 10px; }
.contact-card p { font-size: 15px; margin-bottom: 26px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--slate); margin-bottom: 8px; letter-spacing: 0.02em; }
.field-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--slate-dim); }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%237C8AA5' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field select option { background: var(--navy-card); color: var(--white); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); }
.field textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 13px; color: var(--slate-dim); margin-top: 14px; }
.form-success {
  display: none;
  background: var(--teal-dim);
  border: 1px solid rgba(0,217,181,0.4);
  color: var(--teal);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}

.social-row { display: flex; gap: 14px; margin-top: 24px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--slate);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-row a:hover { border-color: var(--teal); color: var(--teal); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .contact-card { padding: 28px 22px; }
  .contact-card-secondary { padding: 26px 22px; }
}

/* ============================================================
   Footer
   ============================================================ */
footer.site-footer { padding: 56px 0 36px; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
footer.site-footer .wrap { position: relative; z-index: 1; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-brand-col { display: flex; flex-direction: column; gap: 8px; max-width: 260px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-brand img { width: 24px; height: 24px; }
.footer-tagline { font-size: 14px; color: var(--slate-dim); margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--slate-dim); }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--slate-dim); text-align: right; }
.footer-contact a:hover { color: var(--white); }
.footer-copy { font-size: 13.5px; color: var(--slate-dim); margin-top: 24px; }

@media (max-width: 640px) {
  .footer-top { flex-direction: column; }
  .footer-contact { text-align: left; }
}

/* ============================================================
   Misc
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease, transform 0.4s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .hero { padding: 80px 0 60px; }
  #about { padding: 84px 0; }
}
