/* =========================================================
   Chagual Technologies — site styles (v0.1 mockup)
   Design system v2.0: Navy #0a1f3d primary, Teal #10a3a3 accent
   ========================================================= */

:root {
  --navy-primary:        #0a1f3d;
  --navy-dark:           #051428;
  --navy-very-dark:      #03101f;
  --navy-light:          #f0f3f8;
  --navy-lighter:        #e8ecf4;

  --teal-primary:        #10a3a3;
  --teal-dark:           #0d8080;
  --teal-darker:         #05464d;
  --teal-light:          #d0f0f0;
  --teal-lighter:        #ecf8f8;

  --white:               #ffffff;
  --off-white:           #f8fafb;
  --gray-light:          #e5e7eb;
  --gray-light-medium:   #9ca3af;
  --gray-medium:         #6b7280;
  --gray-dark:           #1f2937;
  --gray-darker:         #111827;

  --success:             #10b981;
  --warning:             #f59e0b;
  --error:               #ef4444;
  --info:                #3b82f6;

  --radius-sm:           6px;
  --radius-md:           8px;
  --radius-lg:           12px;
  --shadow-sm:           0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md:           0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg:           0 12px 32px rgba(10, 31, 61, 0.16);
  --shadow-navy:         0 4px 12px rgba(10, 31, 61, 0.2);

  --max-width:           1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-medium);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  color: var(--navy-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: 48px; }
h2 { font-size: 36px; line-height: 1.3; }
h3 { font-size: 28px; line-height: 1.4; }
h4 { font-size: 24px; line-height: 1.4; letter-spacing: -0.01em; }
h5 { font-size: 20px; line-height: 1.5; font-weight: 600; color: var(--gray-dark); letter-spacing: 0; }
h6 { font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--gray-dark); letter-spacing: 0; }

p { color: var(--gray-medium); }
.lead { font-size: 18px; line-height: 1.7; }
.small { font-size: 14px; line-height: 1.5; }
.tiny { font-size: 12px; letter-spacing: 0.02em; }

a { color: var(--teal-primary); text-decoration: underline; transition: color 200ms ease-in-out; }
a:hover { color: var(--teal-dark); }

.mono {
  font-family: 'SF Mono', 'JetBrains Mono', 'Menlo', monospace;
  font-size: 13px;
  letter-spacing: 0.01em;
}

/* ---------- Layout ---------- */

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

section { padding: 96px 0; }
section.alt { background: var(--off-white); }
section.navy { background: var(--navy-primary); color: rgba(255,255,255,0.85); }
section.navy h1, section.navy h2, section.navy h3, section.navy h4 { color: var(--white); }
section.navy p { color: rgba(255,255,255,0.78); }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-primary);
  margin-bottom: 14px;
}
section.navy .section-eyebrow { color: #6ad7d7; }

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { color: var(--gray-medium); }
section.navy .section-head .lead { color: rgba(255,255,255,0.78); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Top nav ---------- */

.topbar {
  border-bottom: 1px solid var(--gray-light);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
  background-color: rgba(255, 255, 255, 0.92);
}
.topbar-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand-mark {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-mark img { height: 44px; width: auto; display: block; }

.nav-items {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-items a {
  color: var(--navy-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 200ms ease-in-out;
}
.nav-items a:hover { color: var(--teal-primary); }
.nav-items a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--teal-primary);
}
.nav-items .btn-nav {
  margin-left: 16px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms ease-in-out;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-primary { background: var(--navy-primary); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); box-shadow: var(--shadow-navy); color: var(--white); }
.btn-primary:active { background: var(--navy-very-dark); transform: scale(0.98); }
.btn-primary:focus-visible { outline: 2px solid var(--navy-primary); outline-offset: 2px; }

.btn-secondary {
  background: var(--white);
  color: var(--teal-primary);
  border: 2px solid var(--teal-primary);
  padding: 10px 22px;
}
.btn-secondary:hover { background: var(--teal-lighter); border-color: var(--teal-dark); color: var(--teal-dark); }
.btn-secondary:focus-visible { outline: 2px solid var(--teal-primary); outline-offset: 2px; }

.btn-link {
  background: transparent;
  color: var(--teal-primary);
  text-decoration: underline;
  padding: 12px 0;
  font-weight: 500;
}
.btn-link:hover { color: var(--teal-dark); }

.btn-on-navy { background: var(--white); color: var(--navy-primary); }
.btn-on-navy:hover { background: var(--teal-lighter); color: var(--navy-primary); }

.btn-ghost-navy {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  padding: 10px 22px;
}
.btn-ghost-navy:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

.btn-sm { padding: 8px 16px; font-size: 14px; }

.btn-arrow::after {
  content: '→';
  font-size: 18px;
  transition: transform 200ms ease-in-out;
}
.btn:hover .btn-arrow::after { transform: translateX(4px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 100% 0%, rgba(16, 163, 163, 0.08), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(10, 31, 61, 0.06), transparent 60%),
    var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-light) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-primary);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-primary);
  box-shadow: 0 0 0 4px var(--teal-lighter);
}
.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--teal-primary); font-style: italic; font-weight: 400; }
.hero .lead { max-width: 620px; margin-bottom: 40px; font-size: 19px; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-light);
}
.hero-meta div .label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gray-light-medium); margin-bottom: 6px;
}
.hero-meta div .value { font-size: 16px; font-weight: 600; color: var(--navy-primary); }

/* Service hero variant (more compact) */
.hero-page {
  padding: 96px 0 64px;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(16, 163, 163, 0.08), transparent 65%),
    var(--white);
}
.hero-page h1 { font-size: 56px; max-width: 800px; }
.hero-page .lead { max-width: 580px; font-size: 18px; margin-bottom: 32px; }

.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--navy-light);
  color: var(--navy-primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.tag.teal { background: var(--teal-lighter); color: var(--teal-darker); }

/* ---------- Problem comparison grid (home) ---------- */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.compare-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 24px;
}
.compare-card .label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gray-light-medium); margin-bottom: 8px;
}
.compare-card h5 { color: var(--navy-primary); margin-bottom: 8px; }
.compare-card p { font-size: 15px; color: var(--gray-medium); }
.compare-card .x {
  display: inline-block;
  margin-right: 6px;
  color: var(--error);
  font-weight: 700;
}

/* ---------- Value props (3 cards) ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 200ms ease-in-out, box-shadow 200ms ease-in-out;
}
.value-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.value-card .num {
  display: inline-block;
  font-family: 'SF Mono', monospace;
  font-size: 12px; font-weight: 600;
  color: var(--teal-primary); letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.value-card h4 { margin-bottom: 12px; }
.value-card p { font-size: 15px; }

/* ---------- Service cards (home) ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 200ms ease-in-out, box-shadow 200ms ease-in-out;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: inherit;
  border-color: var(--teal-light);
}
.service-card .icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--teal-lighter);
  color: var(--teal-primary);
  display: grid; place-items: center;
  font-size: 28px; font-weight: 700;
  margin-bottom: 8px;
}
.service-card h3 { color: var(--navy-primary); }
.service-card p { font-size: 16px; }
.service-card .meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-card .meta .price { color: var(--teal-primary); font-weight: 600; font-size: 14px; }
.service-card .meta .timing { color: var(--gray-medium); font-size: 14px; }
.service-card .more { color: var(--teal-primary); font-weight: 600; font-size: 14px; }

/* ---------- Case study block ---------- */

.case-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-left: 4px solid var(--teal-primary);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.case-card .case-header { margin-bottom: 32px; }
.case-card .case-header h3 { margin-bottom: 6px; }
.case-card .case-sub { font-size: 14px; color: var(--gray-light-medium); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.case-col h6 { color: var(--navy-primary); margin-bottom: 12px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.case-col ul { list-style: none; }
.case-col li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-medium);
  margin-bottom: 8px;
}
.case-col li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-primary);
}
.case-quote {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-light);
  font-size: 17px;
  font-style: italic;
  color: var(--navy-primary);
  line-height: 1.6;
}
.case-quote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--gray-light-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
  font-weight: 600;
}

/* ---------- About split (home) ---------- */

.about-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-split .text h2 { margin-bottom: 24px; }
.about-split .text p { margin-bottom: 16px; }
.about-split .photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 30% 30%, rgba(16,163,163,0.5), transparent 60%),
    linear-gradient(160deg, var(--navy-primary), var(--navy-dark));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.about-split .photo::before {
  content: 'NH';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 120px;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.12);
}
.about-split .photo .caption {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 1;
}

/* ---------- CTA section ---------- */

.cta-section {
  padding: 96px 0;
  background: var(--navy-primary);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  right: -200px; top: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16, 163, 163, 0.25), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.75); font-size: 18px; line-height: 1.6; margin-bottom: 32px; }
.cta-inner .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Service page: deliverables ---------- */

.deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.deliverable {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.deliverable .icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal-lighter);
  color: var(--teal-primary);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 16px;
}
.deliverable h5 { color: var(--navy-primary); margin-bottom: 6px; font-size: 17px; }
.deliverable p { font-size: 15px; color: var(--gray-medium); }

/* ---------- Phases timeline (service page) ---------- */

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.phases::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(to right, var(--teal-light), var(--teal-primary), var(--teal-light));
  z-index: 0;
}
.phase {
  position: relative;
  z-index: 1;
  text-align: left;
  background: var(--white);
  padding: 0 8px;
}
.phase .dot {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal-primary);
  color: var(--teal-primary);
  font-weight: 700;
  font-size: 22px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-family: 'SF Mono', monospace;
}
.phase .label { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-primary); margin-bottom: 6px; }
.phase h5 { color: var(--navy-primary); margin-bottom: 12px; }
.phase ul { list-style: none; }
.phase li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--gray-medium);
  line-height: 1.5;
  margin-bottom: 6px;
}
.phase li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-primary);
}

/* ---------- Investment block (service page) ---------- */

.invest-block {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
.invest-block .price-block .price {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.invest-block .price-block .price-sub {
  font-size: 14px;
  color: var(--teal-primary);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 8px;
  margin-bottom: 16px;
}
.invest-block .price-block .terms {
  font-size: 14px;
  color: var(--gray-medium);
}
.invest-block .details ul { list-style: none; }
.invest-block .details li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-light);
  font-size: 15px;
}
.invest-block .details li:last-child { border-bottom: none; }
.invest-block .details li .k {
  flex-shrink: 0;
  width: 140px;
  font-weight: 600;
  color: var(--gray-light-medium);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.invest-block .details li .v { color: var(--navy-primary); font-weight: 500; }

/* ---------- Success metrics ---------- */

.metrics-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.metrics-list li {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--navy-primary);
  font-weight: 500;
}
.metrics-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--teal-lighter);
  color: var(--teal-primary);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 13px;
}

/* ---------- Bundle teaser ---------- */

.bundle {
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-md);
  padding: 48px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.bundle::before {
  content: '';
  position: absolute;
  right: -100px; bottom: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16,163,163,0.3), transparent 70%);
}
.bundle .badge-save {
  display: inline-block;
  padding: 4px 10px;
  background: var(--teal-primary);
  color: var(--white);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.bundle h4 { color: var(--white); margin-bottom: 12px; }
.bundle p { color: rgba(255,255,255,0.78); font-size: 15px; max-width: 520px; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 800px; margin: 0 auto; }
.faq {
  border-bottom: 1px solid var(--gray-light);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal-lighter);
  color: var(--teal-primary);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 20px;
  transition: transform 200ms ease;
}
.faq[open] summary::after { content: '−'; }
.faq-answer { padding: 0 0 24px; color: var(--gray-medium); font-size: 15px; line-height: 1.6; max-width: 680px; }

/* ---------- About page ---------- */

.about-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.about-hero h1 { margin-bottom: 20px; }
.about-hero .lead { margin-bottom: 0; }

.about-narrative {
  max-width: 720px;
  margin: 0 auto;
}
.about-narrative p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.about-narrative p:first-letter { /* keep simple, no drop cap */ }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  padding: 32px;
  border-top: 3px solid var(--teal-primary);
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.pillar .num {
  font-family: 'SF Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-primary);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.pillar h4 { margin-bottom: 12px; }
.pillar p { font-size: 15px; }

.not-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
}
.not-list li {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-size: 16px;
  color: var(--navy-primary);
  font-weight: 500;
  align-items: flex-start;
}
.not-list li::before {
  content: '✕';
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fee2e2;
  color: #b91c1c;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 12px;
}
.not-list li span { color: var(--gray-medium); display: block; font-size: 14px; font-weight: 400; margin-top: 4px; }

.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px; bottom: 8px;
  width: 2px;
  background: var(--gray-light);
}
.timeline-item {
  position: relative;
  padding-left: 48px;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal-primary);
}
.timeline-item .year {
  font-family: 'SF Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-primary);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.timeline-item h5 { margin-bottom: 6px; color: var(--navy-primary); }
.timeline-item p { font-size: 15px; color: var(--gray-medium); }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 6px;
}
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--gray-dark);
  background: var(--white);
  transition: all 200ms ease-in-out;
}
.input::placeholder, .textarea::placeholder { color: var(--gray-light-medium); }
.input:focus, .select:focus, .textarea:focus {
  outline: 2px solid var(--teal-primary);
  outline-offset: 2px;
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 3px rgba(16, 163, 163, 0.1);
}
.textarea { resize: vertical; min-height: 120px; }

.contact-side h5 { margin-bottom: 16px; color: var(--navy-primary); }
.contact-side .side-block { margin-bottom: 32px; }
.contact-side .side-block p { font-size: 15px; margin-bottom: 8px; }
.contact-side a { font-weight: 500; }

.next-steps {
  list-style: none;
  counter-reset: ns;
  margin-top: 12px;
}
.next-steps li {
  counter-increment: ns;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.next-steps li::before {
  content: counter(ns);
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy-primary);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
  font-family: 'SF Mono', monospace;
}
.next-steps li strong { display: block; color: var(--navy-primary); font-size: 15px; }
.next-steps li span { color: var(--gray-medium); font-size: 14px; }

/* ---------- Service sub-nav ---------- */

.sub-nav {
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  background: var(--off-white);
  padding: 16px 0;
}
.sub-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.sub-nav .back-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sub-nav .back-link:hover { color: var(--teal-primary); }
.sub-nav .sibling-link {
  font-size: 14px;
  color: var(--gray-medium);
  text-decoration: none;
}
.sub-nav .sibling-link:hover { color: var(--teal-primary); }
.sub-nav .sibling-link strong { color: var(--navy-primary); margin-left: 4px; }

/* ---------- Footer ---------- */

footer {
  background: var(--navy-primary);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h6 {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 200ms;
}
.footer-grid a:hover { color: var(--teal-primary); }
.footer-grid p { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.6; max-width: 280px; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 32px;
  background: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-left: 16px;
}
.footer-bottom a:hover { color: var(--teal-primary); }

/* ---------- Animations ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { opacity: 0; animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.rise-1 { animation-delay: 60ms; }
.rise-2 { animation-delay: 160ms; }
.rise-3 { animation-delay: 260ms; }
.rise-4 { animation-delay: 360ms; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 40px; }
  .hero-page h1 { font-size: 38px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .nav-items { display: none; }
  .topbar-inner { height: 64px; }
  .compare-grid, .value-grid, .service-grid, .case-grid, .deliverables, .phases,
  .pillars, .not-list, .metrics-list, .about-split, .invest-block, .contact-grid,
  .footer-grid, .about-hero {
    grid-template-columns: 1fr;
  }
  .phases::before { display: none; }
  .bundle { grid-template-columns: 1fr; }
  .invest-block { padding: 32px; }
  .case-card { padding: 28px; }
  .invest-block .details li { flex-direction: column; gap: 4px; }
  .invest-block .details li .k { width: auto; }
  .cta-section { padding: 64px 0; }
}
