:root {
  --ink: #111318;
  --muted: #626a75;
  --line: #dfe4ea;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --blue: #075ac7;
  --cyan: #dff4ff;
  --red: #c81e1e;
  --green: #0e6b55;
  --mint: #e6f5ef;
  --stone: #eef0f2;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.logo-mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; font-weight: 800; }
.actions, .hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-weight: 900; font-size: 14px; }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }

.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: 0; }
h1 { margin: 0; font-size: 66px; line-height: 1; }
h2 { margin: 0; font-size: 42px; line-height: 1.08; }
h3 { margin: 0; }
.lead, .subcopy, .muted { color: var(--muted); line-height: 1.7; }
.lead { margin: 22px 0 0; max-width: 650px; font-size: 19px; }
.section { padding: 82px 0; }
.section-alt { background: var(--soft); }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 34px; }
.subcopy { max-width: 640px; margin: 12px 0 0; }

.chooser { min-height: 100vh; display: grid; align-items: center; background: #fff; }
.chooser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.chooser-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.chooser-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.chooser-card div { padding: 22px; }
.chooser-card h2 { font-size: 28px; }

/* Design A: operational service command center */
.design-a { background: #fff; }
.design-a .topbar { border-bottom: 2px solid var(--ink); }
.design-a .hero-photo {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
}
.design-a .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.design-a .hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.82) 38%, rgba(255,255,255,0.18) 75%);
}
.design-a .hero-inner { position: relative; z-index: 2; display: grid; align-items: end; padding: 104px 0 46px; }
.design-a .hero-copy { max-width: 720px; }
.design-a .hero-actions { margin-top: 32px; }
.diagnostic-panel {
  margin-top: 44px;
  max-width: 900px;
  border: 2px solid var(--ink);
  background: rgba(255,255,255,0.94);
}
.diagnostic-row {
  display: grid;
  grid-template-columns: 140px 1fr 120px;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.diagnostic-row:last-child { border-bottom: 0; }
.diagnostic-row span { color: var(--muted); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.diagnostic-row strong { font-family: "Space Grotesk", sans-serif; font-size: 20px; }
.status { justify-self: end; color: var(--blue); font-weight: 900; }
.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.ops-item { min-height: 180px; padding: 24px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: #fff; }
.ops-item:nth-child(3n) { background: var(--cyan); }
.ops-item strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 25px; }
.ops-item p { margin: 12px 0 22px; color: var(--muted); line-height: 1.65; }
.ops-item a { color: var(--blue); font-weight: 900; }
.inspection-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: stretch; }
.inspection-photo { min-height: 420px; overflow: hidden; border-radius: 0; }
.inspection-photo img { width: 100%; height: 100%; object-fit: cover; }
.inspection-board { display: grid; align-content: center; gap: 14px; }
.board-line { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.board-line span { height: 44px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 6px; font-weight: 900; }
.brand-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.brand-link { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-weight: 900; }
.mini-brand-icon { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 7px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(16,19,24,0.12); }
.mini-brand-icon img { width: 100%; height: 100%; object-fit: contain; }
.price-teaser {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  border: 2px solid var(--ink);
  background: linear-gradient(135deg, #fff 0%, #f4f8ff 100%);
}
.price-teaser-card {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px;
  background: var(--ink);
  color: #fff;
}
.price-teaser-card span,
.price-signal span {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.price-teaser-card strong,
.price-signal strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  line-height: 1;
}
.price-hero {
  padding: 104px 0 72px;
  background:
    linear-gradient(135deg, rgba(7,90,199,0.12) 0%, rgba(255,255,255,0) 44%),
    repeating-linear-gradient(90deg, rgba(17,19,24,0.06) 0 1px, transparent 1px 92px),
    #fff;
  border-bottom: 2px solid var(--ink);
}
.price-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: end;
}
.price-signal {
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 28px;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  box-shadow: 16px 16px 0 var(--ink);
}
.price-signal p { margin: 0; color: rgba(255,255,255,0.78); line-height: 1.6; }
.price-nav {
  position: sticky;
  top: 78px;
  z-index: 5;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.price-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.price-grid { display: grid; gap: 18px; }
.price-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 2px solid var(--ink);
  background: #fff;
}
.price-card-head {
  padding: 24px;
  background: var(--ink);
  color: #fff;
}
.price-card-head .eyebrow { color: rgba(255,255,255,0.66); }
.price-card-head h2 { font-size: 32px; }
.price-row {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.price-row span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; font-weight: 800; }
.price-row b { justify-self: end; color: var(--blue); font-size: 18px; white-space: nowrap; }
.price-note {
  margin: 28px 0 0;
  padding: 18px 20px;
  background: var(--soft);
  color: var(--muted);
  line-height: 1.65;
  border-left: 4px solid var(--blue);
}

/* Design B: editorial detailing studio */
.design-b { background: #fbfcfb; }
.design-b .topbar { position: absolute; width: 100%; background: rgba(255,255,255,0.84); }
.studio-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.studio-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.86) 78%, #fbfcfb 100%);
}
.studio-hero .wrap { position: relative; z-index: 2; padding: 160px 0 64px; }
.studio-title { max-width: 1000px; font-size: 82px; line-height: 0.95; }
.studio-copy { max-width: 560px; margin-left: auto; margin-top: 28px; }
.design-b .eyebrow { color: var(--green); }
.design-b .btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.studio-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.ribbon-item { min-height: 112px; padding: 22px; border-right: 1px solid var(--line); }
.ribbon-item:last-child { border-right: 0; }
.ribbon-item strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 25px; }
.ribbon-item span { display: block; margin-top: 8px; color: var(--muted); line-height: 1.5; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); }
.editorial-card { min-height: 300px; padding: 30px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.editorial-card.feature { grid-column: span 2; background: var(--mint); }
.editorial-card strong { font-family: "Space Grotesk", sans-serif; font-size: 30px; }
.editorial-card p { color: var(--muted); line-height: 1.65; }
.studio-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; background: var(--ink); color: #fff; }
.studio-split .copy { padding: 70px; }
.studio-split .copy p { color: rgba(255,255,255,0.72); line-height: 1.7; }
.studio-split img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }

.quote-band { padding: 72px 0; background: var(--ink); color: #fff; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote { padding: 26px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; }
.quote blockquote { margin: 0; font-size: 21px; line-height: 1.55; }
.quote p { margin: 18px 0 0; color: rgba(255,255,255,0.7); }
.footer-cta { padding: 82px 0; background: #fff; }
.footer-box { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; padding-top: 32px; border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  h1, .studio-title { font-size: 48px; }
  h2 { font-size: 34px; }
  .diagnostic-row, .inspection-grid, .ops-grid, .studio-ribbon, .editorial-grid, .studio-split, .quote-grid, .footer-box, .chooser-grid, .section-head { grid-template-columns: 1fr; }
  .price-teaser, .price-hero-grid, .price-card { grid-template-columns: 1fr; }
  .price-row { grid-column: auto; }
  .editorial-card.feature { grid-column: auto; }
  .brand-strip { grid-template-columns: repeat(3, 1fr); }
  .studio-copy { margin-left: 0; }
}

@media (max-width: 640px) {
  .actions, .hero-actions, .nav-links { width: 100%; flex-wrap: wrap; }
  .actions .btn, .hero-actions .btn { flex: 1; }
  .design-a .hero-photo, .studio-hero { min-height: 720px; }
  .design-a .hero-photo::before { background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.84) 62%, rgba(255,255,255,0.24) 100%); }
  h1, .studio-title { font-size: 38px; }
  .lead { font-size: 16px; }
  .brand-strip { grid-template-columns: 1fr 1fr; }
  .price-teaser { padding: 20px; }
  .price-signal { box-shadow: 8px 8px 0 var(--ink); }
  .price-row { grid-template-columns: 1fr; }
  .price-row b { justify-self: start; }
  .studio-split .copy { padding: 32px 20px; }
}
