:root {
  --red: #c91010;
  --maroon: #9f2729;
  --orange: #f69323;
  --navy: #17233e;
  --ink: #171820;
  --muted: #626879;
  --line: #e6e8ee;
  --soft: #f8f5ef;
  --paper: #ffffff;
  --shadow: 0 22px 52px rgba(18, 24, 39, .16);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--red));
}

.topbar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 8px 18px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

.navbar {
  max-width: 1200px;
  min-height: 82px;
  margin: auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 230px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 850;
}

.site-menu a {
  position: relative;
}

.site-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.site-menu a.active,
.site-menu a:hover { color: var(--red); }
.site-menu a.active::after,
.site-menu a:hover::after { transform: scaleX(1); }

.nav-cta,
.btn,
.mini-quote button,
.contact-form button {
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.nav-cta:hover,
.btn:hover,
.mini-quote button:hover,
.contact-form button:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(246, 147, 35, .28);
}

.btn.secondary {
  background: #fff;
  color: var(--navy);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 14s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 18%, rgba(246, 147, 35, .32), transparent 28%),
    linear-gradient(95deg, rgba(23, 35, 62, .95), rgba(159, 39, 41, .82) 48%, rgba(23, 35, 62, .22));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
  padding: 104px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 48px;
}

.hero h1 {
  margin: 8px 0 20px;
  font-size: clamp(38px, 5.7vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
  max-width: 900px;
}

.hero p {
  max-width: 760px;
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
}

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

.quote-card,
.contact-form,
.scope-panel,
.proof-card,
.materials-card,
.insight,
.note,
.case-card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-card {
  color: var(--ink);
  padding: 24px;
  border-top: 5px solid var(--orange);
}

.quote-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 18px;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(201, 16, 16, .45);
  animation: pulse 1.6s infinite;
}

.mini-quote,
.contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd4dd;
  border-radius: 6px;
  padding: 13px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea { resize: vertical; }

.quote-result,
.form-result {
  margin: 0;
  color: var(--red);
  font-weight: 850;
}

.section {
  max-width: 1200px;
  margin: auto;
  padding: 86px 22px;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

h2 {
  margin: 6px 0 14px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.2;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--maroon);
  color: #fff;
}

.stats-band div {
  min-height: 148px;
  padding: 30px 22px;
  display: grid;
  place-items: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.stats-band strong {
  display: block;
  font-size: 44px;
  line-height: 1;
}

.stats-band span { font-weight: 850; }

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

.insight {
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(18, 24, 39, .08);
}

.insight span,
.material-tags span,
.contact-paths span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff3e1;
  color: #9a4d00;
  font-size: 12px;
  font-weight: 950;
}

.insight h2 {
  font-size: 26px;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(18, 24, 39, .08);
  transition: transform .28s ease, box-shadow .28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .45s ease;
}

.service-card:hover img { transform: scale(1.07); }
.service-card div { padding: 23px; }
.service-card span { color: var(--red); font-weight: 950; }

.dark {
  max-width: none;
  background: var(--navy);
  color: #fff;
}

.dark .section-head p:not(.eyebrow) {
  color: #d9dfec;
}

.process-rail {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  position: relative;
}

.process-step {
  position: relative;
  min-height: 132px;
  padding: 22px 16px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

.process-step span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #151515;
  font-weight: 950;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.scope-panel,
.proof-card,
.materials-card {
  padding: 30px;
  border: 1px solid var(--line);
}

.scope-panel ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.scope-panel li {
  margin: 10px 0;
  padding-left: 28px;
  position: relative;
  font-weight: 750;
}

.scope-panel li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  position: absolute;
  left: 0;
  top: .55em;
}

.proof-section {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}

.material-tags,
.contact-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.local-notes { background: var(--soft); max-width: none; }
.local-notes .section-head,
.local-notes .note-grid { max-width: 1200px; margin-left: auto; margin-right: auto; }
.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.note {
  padding: 24px;
  box-shadow: none;
  border-left: 5px solid var(--orange);
}

.client-wall {
  max-width: none;
  overflow: hidden;
  background: var(--soft);
}

.client-wall .section-head,
.case-grid {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.logo-marquee {
  max-width: 1120px;
  margin: 0 auto 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.logo-marquee div {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.logo-marquee span {
  min-width: 180px;
  min-height: 82px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 20px;
  font-weight: 950;
  border-right: 1px solid var(--line);
}

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

.case-card {
  padding: 24px;
  color: #fff;
  background: var(--navy);
}

.case-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 18px;
}

.related-links {
  background: var(--soft);
  border-radius: var(--radius);
}

.related-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.related-links a {
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 950;
}

.faq p {
  max-width: 820px;
  color: var(--muted);
}

.about-deep p,
.founder-section p,
.contact-details p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline div {
  padding: 24px;
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 24, 39, .08);
}

.timeline strong {
  display: block;
  color: var(--red);
  font-size: 30px;
  line-height: 1;
}

.timeline span {
  display: block;
  margin-top: 8px;
  font-weight: 750;
}

.founder-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.founder-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.video-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
}

.video-story .video-copy {
  max-width: 680px;
}

.video-story p {
  color: var(--muted);
}

.video-points {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-points span {
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff3e1;
  color: #9a4d00;
  font-size: 12px;
  font-weight: 950;
}

.phone-video {
  position: relative;
  max-width: 360px;
  min-height: 640px;
  padding: 13px;
  border-radius: 32px;
  background: linear-gradient(145deg, #fff, #f0e9dc);
  box-shadow: 0 34px 70px rgba(18, 24, 39, .22);
}

.phone-video::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 50%;
  width: 88px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .24);
  transform: translateX(-50%);
}

.phone-video video {
  width: 100%;
  height: 616px;
  border-radius: 24px;
  object-fit: cover;
  background: var(--navy);
}

.contact-form {
  padding: 26px;
  border: 1px solid var(--line);
}

.form-grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-layout .contact-form {
  max-width: 880px;
  margin: auto;
}

.quote-hint {
  border-left: 4px solid var(--orange);
  padding: 13px 14px;
  background: #fff6e8;
  font-weight: 800;
}

.cta-band {
  max-width: 1200px;
  margin: 64px auto;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--maroon));
  color: #fff;
}

.cta-band h2 { max-width: 760px; }

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 38px;
  padding: 58px max(22px, calc((100vw - 1200px) / 2));
  background: #141722;
  color: #fff;
}

.site-footer .brand-logo {
  width: 210px;
  height: 58px;
  filter: brightness(0) invert(1);
}
.site-footer a { display: block; margin: 8px 0; color: #dbe1ee; }
.copyright {
  padding: 13px;
  text-align: center;
  background: var(--red);
  color: #fff;
  font-weight: 800;
}
.sticky-actions { display: none; }

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal.visible {
  animation: fadeUp .7s ease both;
}

@keyframes fadeUp {
  from { opacity: .25; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.13); }
}

@keyframes pulse {
  to { box-shadow: 0 0 0 16px rgba(201, 16, 16, 0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1040px) {
  .topbar { display: none; }
  .navbar { min-height: 72px; }
  .menu-toggle { display: flex; }
  .site-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
    border-top: 1px solid var(--line);
    background: #fff;
  }
  .site-menu.open { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 72px; }
  .quote-card { max-width: 580px; }
  .brand-logo { width: 208px; }
  .insight-grid,
  .cards-grid,
  .case-grid,
  .note-grid { grid-template-columns: 1fr 1fr; }
  .process-rail { grid-template-columns: repeat(3, 1fr); }
  .split,
  .video-story,
  .proof-section,
  .site-footer { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .cta-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  body { padding-bottom: 50px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 38px; }
  .brand-logo {
    width: 150px;
    height: 42px;
  }
  .hero-inner { padding: 52px 18px; }
  .section { padding: 58px 18px; }
  .insight-grid,
  .cards-grid,
  .case-grid,
  .note-grid,
  .process-rail,
  .stats-band,
  .form-grid.two { grid-template-columns: 1fr; }
  .service-card img { height: 194px; }
  .founder-image img { height: 360px; }
  .phone-video {
    max-width: 300px;
    min-height: 532px;
    margin: auto;
  }
  .phone-video video { height: 508px; }
  .cta-band { margin: 34px 18px; padding: 28px; }
  .show-sticky .sticky-actions {
    position: fixed;
    z-index: 99;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    background: #fff;
  }
  .sticky-actions a {
    padding: 13px 6px;
    text-align: center;
    color: var(--red);
    font-weight: 950;
  }
}
