:root {
  --navy-950: #03101f;
  --navy-900: #031a37;
  --navy-800: #08284f;
  --blue-600: #378add;
  --blue-500: #4a9eff;
  --green-600: #2f9d68;
  --amber-600: #d79a2b;
  --coral-600: #c85e45;
  --ink: #102033;
  --muted: #5f7188;
  --soft: #f4f7fb;
  --white: #ffffff;
  --line: #dfe7f1;
  --shadow: 0 18px 44px rgba(3, 26, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223, 231, 241, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}

.brand-mark {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: 0;
}

.brand-sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-600);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #24364c;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy-900);
  background: #edf5ff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy-900);
}

.menu-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-home {
  background-image: linear-gradient(90deg, rgba(3, 16, 31, 0.94) 0%, rgba(3, 16, 31, 0.78) 34%, rgba(3, 16, 31, 0.18) 66%), url("assets/hero-corridor-survey.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(3, 16, 31, 0), rgba(3, 16, 31, 0.55));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
  padding: 78px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 62px;
  font-weight: 850;
}

.hero-lede {
  max-width: 670px;
  margin-top: 24px;
  color: #d8e6f6;
  font-size: 20px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue-600);
  color: var(--white);
}

.button.dark {
  background: var(--navy-900);
  color: var(--white);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  color: var(--navy-900);
  border-color: var(--line);
  background: var(--white);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 700px;
  margin-top: 42px;
}

.metric {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(3, 16, 31, 0.54);
}

.metric strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: #b8cae0;
  font-size: 13px;
}

.signal-strip {
  background: var(--navy-900);
  color: var(--white);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.signal-item {
  min-height: 128px;
  padding: 26px 24px;
  background: var(--navy-900);
}

.signal-item strong {
  display: block;
  font-size: 16px;
}

.signal-item span {
  display: block;
  margin-top: 8px;
  color: #b9cce3;
  font-size: 14px;
}

.section {
  padding: 88px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: var(--navy-950);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.section-head.center .eyebrow {
  justify-content: center;
}

.section h2 {
  font-size: 42px;
  font-weight: 840;
  color: var(--navy-900);
}

.dark h2,
.dark h3 {
  color: var(--white);
}

.section-lede {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.dark .section-lede {
  color: #bccbdf;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 44px;
  align-items: center;
}

.copy-block p + p {
  margin-top: 16px;
}

.large-copy {
  font-size: 19px;
  color: #34485f;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-row {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
}

.feature-row::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--green-600);
}

.feature-row:nth-child(2)::before {
  background: var(--blue-600);
}

.feature-row:nth-child(3)::before {
  background: var(--amber-600);
}

.feature-row strong {
  display: block;
  color: var(--navy-900);
  font-size: 16px;
}

.feature-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.output-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.panel-top strong {
  color: var(--navy-900);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e9f6f0;
  color: var(--green-600);
  font-size: 12px;
  font-weight: 800;
}

.output-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.output-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px;
  background: var(--white);
}

.output-item strong {
  display: block;
  color: var(--navy-900);
}

.output-item span {
  color: var(--muted);
  font-size: 14px;
}

.tag {
  align-self: center;
  min-width: 78px;
  border-radius: 999px;
  padding: 5px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.tag.blue {
  color: #145d9f;
  background: #e8f3ff;
}

.tag.green {
  color: #1f7a50;
  background: #e7f7ee;
}

.tag.amber {
  color: #8b5c10;
  background: #fff4dc;
}

.platform-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 40px;
  align-items: center;
}

.app-frame {
  min-height: 530px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #071729;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #dce8f7;
  font-size: 14px;
  font-weight: 800;
}

.app-dot-row {
  display: flex;
  gap: 6px;
}

.app-dot-row span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #315073;
}

.app-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 476px;
}

.app-side {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: #05111f;
}

.app-side span {
  display: flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  color: #89a2bf;
  font-size: 13px;
  font-weight: 700;
}

.app-side span.active {
  color: var(--white);
  background: #123763;
}

.app-map {
  position: relative;
  min-height: 476px;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(74, 158, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(74, 158, 255, 0.08) 1px, transparent 1px),
    #0b2138;
  background-size: 44px 44px;
}

.route-line {
  position: absolute;
  left: 16%;
  top: 16%;
  width: 62%;
  height: 58%;
  border: 3px solid var(--blue-500);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 90px 0 0;
  transform: rotate(12deg);
  opacity: 0.78;
}

.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 7px rgba(74, 158, 255, 0.16);
}

.pin-a {
  left: 28%;
  top: 36%;
}

.pin-b {
  left: 54%;
  top: 27%;
  background: var(--green-600);
}

.pin-c {
  left: 68%;
  top: 56%;
  background: var(--amber-600);
}

.review-pane {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 255px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 17, 31, 0.92);
  overflow: hidden;
}

.review-pane img {
  width: 100%;
  height: 142px;
  object-fit: cover;
}

.review-pane div {
  padding: 12px;
}

.review-pane strong {
  display: block;
  color: var(--white);
  font-size: 14px;
}

.review-pane span {
  display: block;
  margin-top: 4px;
  color: #9eb4cc;
  font-size: 12px;
}

.platform-copy {
  color: #d8e6f6;
}

.platform-copy h2 {
  margin-top: 12px;
}

.platform-copy p {
  margin-top: 18px;
  color: #bccbdf;
  font-size: 18px;
}

.capability-grid,
.service-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.capability-card,
.service-card,
.industry-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.capability-card {
  min-height: 220px;
}

.service-card:hover,
.industry-card:hover,
.capability-card:hover {
  border-color: #b8d7f6;
  box-shadow: 0 14px 36px rgba(3, 26, 55, 0.08);
}

.card-accent {
  width: 46px;
  height: 4px;
  background: var(--blue-600);
}

.service-card:nth-child(2n) .card-accent,
.industry-card:nth-child(2n) .card-accent,
.capability-card:nth-child(2n) .card-accent {
  background: var(--green-600);
}

.service-card:nth-child(3n) .card-accent,
.industry-card:nth-child(3n) .card-accent,
.capability-card:nth-child(3n) .card-accent {
  background: var(--amber-600);
}

.service-card:nth-child(5n) .card-accent,
.industry-card:nth-child(5n) .card-accent,
.capability-card:nth-child(5n) .card-accent {
  background: var(--coral-600);
}

.service-card h3,
.industry-card h3,
.capability-card h3 {
  color: var(--navy-900);
  font-size: 22px;
}

.service-card p,
.industry-card p,
.capability-card p {
  margin-top: 10px;
  color: var(--muted);
}

.card-link {
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 850;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  min-height: 210px;
  padding: 24px;
  border-left: 4px solid var(--blue-600);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.step:nth-child(2) {
  border-color: var(--green-600);
}

.step:nth-child(3) {
  border-color: var(--amber-600);
}

.step:nth-child(4) {
  border-color: var(--coral-600);
}

.step-num {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.step h3 {
  margin-top: 18px;
  color: var(--navy-900);
  font-size: 21px;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
}

.image-proof {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.proof-main,
.proof-stack {
  min-height: 420px;
}

.proof-main {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-900);
}

.proof-main img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.proof-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(3, 16, 31, 0), rgba(3, 16, 31, 0.9));
}

.proof-caption strong {
  display: block;
  font-size: 19px;
}

.proof-caption span {
  display: block;
  margin-top: 5px;
  color: #c7d7e9;
}

.proof-stack {
  display: grid;
  gap: 18px;
}

.proof-note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.proof-note h3 {
  color: var(--navy-900);
  font-size: 24px;
}

.proof-note p {
  margin-top: 12px;
  color: var(--muted);
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-gallery img {
  width: 100%;
  height: 148px;
  border-radius: 8px;
  object-fit: cover;
}

.cta-band {
  padding: 68px 0;
  background: var(--navy-900);
  color: var(--white);
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: 38px;
}

.cta-band p {
  max-width: 760px;
  margin-top: 12px;
  color: #c4d4e7;
  font-size: 18px;
}

.page-hero {
  padding: 92px 0 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 16, 31, 0.94), rgba(3, 26, 55, 0.78)),
    url("assets/hero-corridor-survey.png") center / cover;
}

.page-hero h1 {
  max-width: 840px;
  font-size: 54px;
}

.page-hero p {
  max-width: 780px;
  margin-top: 20px;
  color: #d7e5f5;
  font-size: 19px;
}

.split-list {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 40px;
  align-items: start;
}

.detail-list {
  display: grid;
  gap: 16px;
}

.detail-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-item strong {
  display: block;
  color: var(--navy-900);
  font-size: 17px;
}

.detail-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.deliverable-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.deliverable-row {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.deliverable-row:first-child {
  border-top: 0;
}

.deliverable-row strong {
  color: var(--navy-900);
}

.deliverable-row span {
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-tile {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-tile strong {
  display: block;
  color: var(--navy-900);
  font-size: 18px;
}

.contact-tile span,
.contact-tile a {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.contact-tile a {
  color: var(--blue-600);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.contact-panel,
.contact-map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(3, 26, 55, 0.08);
}

.contact-panel {
  padding: 32px;
}

.contact-intro h3,
.hours-block h3 {
  color: var(--navy-900);
  font-size: 27px;
}

.contact-intro p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.contact-company {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-company strong {
  color: var(--navy-900);
  font-size: 22px;
}

.contact-company a {
  color: var(--ink);
}

.contact-company a:hover {
  color: var(--blue-600);
}

.map-directions:hover {
  background: var(--blue-600);
  color: var(--white);
}

.hours-block {
  margin-top: 34px;
}

.hours-list {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
}

.hours-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: baseline;
}

.hours-list dt {
  color: var(--navy-900);
  font-weight: 850;
}

.hours-list dd {
  margin: 0;
  color: var(--ink);
}

.contact-map {
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.contact-map iframe {
  width: 100%;
  flex: 1;
  min-height: 480px;
  border: 0;
}

.map-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-footer {
  background: #020b16;
  color: #b9cbe0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(150px, 0.6fr));
  gap: 34px;
  padding: 56px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-logo strong {
  color: var(--white);
}

.footer-col h3 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 12px;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-top: 9px;
  color: #b9cbe0;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8197b1;
  font-size: 13px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  font-family: inherit;
  color-scheme: light;
}

.chat-launcher {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 14px 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #000;
  color: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.chat-launcher:hover {
  transform: translateY(-1px);
  background: #111;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.chat-icon {
  position: relative;
  width: 24px;
  height: 20px;
  border: 1.8px solid currentColor;
  border-radius: 6px;
}

.chat-icon::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: -6px;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  background: inherit;
  transform: rotate(45deg);
}

.chat-launcher-copy {
  display: grid;
  line-height: 1.1;
}

.chat-launcher-copy span:first-child {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.chat-launcher-copy span:last-child {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 750;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: none;
  width: min(420px, calc(100vw - 28px));
  max-height: min(680px, calc(100vh - 112px));
  overflow: hidden;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.chat-widget.is-open .chat-panel {
  display: grid;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border-bottom: 1px solid #ededed;
  background: #fff;
  color: #111;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-ai-badge {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.chat-title strong,
.chat-title span {
  display: block;
}

.chat-title strong {
  font-size: 15px;
  font-weight: 750;
}

.chat-title div > span {
  margin-top: 2px;
  color: #737373;
  font-size: 12px;
}

.chat-close {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: transparent;
  color: #171717;
  cursor: pointer;
}

.chat-close::before,
.chat-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.6px;
  border-radius: 999px;
  background: currentColor;
}

.chat-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.chat-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.chat-close:hover {
  background: #f5f5f5;
}

.chat-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #ededed;
  background: #fafafa;
  color: #737373;
  font-size: 12px;
}

.chat-context a {
  color: #111;
  font-weight: 650;
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 300px;
  max-height: 420px;
  padding: 16px;
  overflow-y: auto;
  background: #fafafa;
}

.chat-message {
  max-width: 90%;
  padding: 12px 13px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-message.bot {
  justify-self: start;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #171717;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.chat-message.user {
  justify-self: end;
  background: #000;
  color: #fff;
}

.chat-message a {
  color: #000;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-message.is-loading {
  color: #525252;
}

.chat-message.is-loading::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 4px;
  margin-left: 7px;
  border-radius: 999px;
  background: radial-gradient(circle closest-side, #737373 90%, transparent) 0 50% / 6px 6px repeat-x;
  animation: chatThinking 900ms infinite linear;
}

.chat-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ededed;
}

.chat-sources span {
  color: #737373;
  font-size: 11px;
  font-weight: 650;
}

.chat-sources a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fafafa;
  color: #111;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}

.chat-sources a:hover {
  border-color: #000;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #ededed;
  background: #fff;
}

.chat-quick button {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #171717;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.chat-quick button:hover {
  border-color: #000;
  background: #fafafa;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid #ededed;
  background: #fff;
}

.chat-form input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 14px;
}

.chat-form input:focus {
  outline: 2px solid rgba(0, 0, 0, 0.1);
  border-color: #000;
}

.chat-form button {
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  background: #000;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.chat-form button:hover {
  background: #262626;
}

@keyframes chatThinking {
  0% {
    opacity: 0.35;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(2px);
  }

  100% {
    opacity: 0.35;
    transform: translateX(0);
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    min-height: 46px;
  }

  .nav-cta {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
  }

  .signal-grid,
  .workflow,
  .capability-grid,
  .service-grid,
  .industry-grid,
  .contact-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col,
  .platform-showcase,
  .image-proof,
  .split-list,
  .contact-layout,
  .cta-layout {
    grid-template-columns: 1fr;
  }

  .app-body {
    grid-template-columns: 150px 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    padding: 68px 0 46px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .hero-lede,
  .page-hero p {
    font-size: 17px;
  }

  .hero-metrics,
  .signal-grid,
  .workflow,
  .capability-grid,
  .service-grid,
  .industry-grid,
  .contact-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section h2,
  .cta-band h2 {
    font-size: 32px;
  }

  .page-hero {
    padding: 72px 0 56px;
  }

  .app-frame {
    min-height: 440px;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .app-side {
    display: none;
  }

  .app-map {
    min-height: 386px;
  }

  .contact-panel {
    padding: 24px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 420px;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
  }

  .chat-launcher {
    min-height: 52px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .chat-panel {
    bottom: 66px;
    max-height: calc(100vh - 92px);
  }

  .chat-messages {
    min-height: 220px;
    max-height: calc(100vh - 322px);
  }

  .review-pane {
    width: 220px;
    right: 14px;
    bottom: 14px;
  }

  .deliverable-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }
}

/* ---------- Contact hub: form tabs ---------- */

.form-hub {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: 22px;
  align-items: start;
}

.form-tabs {
  display: grid;
  gap: 10px;
}

.form-tab {
  display: block;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
}

.form-tab strong {
  display: block;
  color: var(--navy-900);
  font-size: 17px;
}

.form-tab span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.form-tab.active {
  border-color: var(--blue-600);
  box-shadow: 0 10px 26px rgba(55, 138, 221, 0.16);
}

.form-panels {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(3, 26, 55, 0.08);
  padding: 32px;
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
}

.form-panel h3 {
  margin: 0 0 6px;
  color: var(--navy-900);
  font-size: 24px;
}

.form-panel > p {
  margin: 0 0 22px;
  color: var(--muted);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-grid .field.full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: var(--soft);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--blue-500);
  outline-offset: 1px;
  background: var(--white);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.form-actions button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.form-status {
  font-size: 14px;
  font-weight: 700;
}

.form-status[data-state="sending"] {
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: var(--green-600);
}

.form-status[data-state="error"] {
  color: var(--coral-600);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Demo booking calendar ---------- */

.booking-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.booking-calendar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(3, 26, 55, 0.08);
  padding: 28px;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar-head strong {
  color: var(--navy-900);
  font-size: 19px;
}

.calendar-nav {
  display: flex;
  gap: 8px;
}

.calendar-nav button {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 16px;
  color: var(--navy-900);
}

.calendar-nav button:hover {
  background: var(--soft);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 6px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--soft);
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}

.calendar-day:disabled {
  background: transparent;
  color: var(--line);
  cursor: not-allowed;
}

.calendar-day.is-empty {
  background: transparent;
  border: 0;
  cursor: default;
}

.calendar-day:hover:not(:disabled):not(.is-empty) {
  border-color: var(--blue-500);
}

.calendar-day.selected {
  background: var(--navy-900);
  color: var(--white);
}

.calendar-day.today:not(.selected) {
  border-color: var(--blue-500);
  font-weight: 700;
}

.time-slots {
  margin-top: 22px;
}

.time-slots h4 {
  margin: 0 0 12px;
  color: var(--navy-900);
  font-size: 15px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot-button {
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}

.slot-button:hover {
  border-color: var(--blue-500);
}

.slot-button.selected {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.booking-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(3, 26, 55, 0.08);
  padding: 32px;
}

.booking-summary {
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--soft);
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--navy-900);
}

.booking-summary strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

@media (max-width: 860px) {
  .form-hub,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
