:root {
  --background: #ffffff;
  --surface: #ffffff;
  --surface-soft: #d8e2f1;
  --surface-soft-strong: #c4d2e8;
  --text: #0b1530;
  --muted: #4a5773;
  --primary: #0f2547;
  --primary-strong: #08172e;
  --primary-accent: #1d3c70;
  --line: rgba(15, 37, 71, 0.14);
  --shadow-sm: 0 14px 36px rgba(15, 37, 71, 0.08);
  --shadow-md: 0 22px 54px rgba(15, 37, 71, 0.12);
  --radius-xl: 1.75rem;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: var(--background);
  color-scheme: light;
}

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

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

.image-panel img,
.service-card img,
.portfolio-card img,
.contact-visual img {
  border: 1px solid rgba(17, 17, 17, 0.08);
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.section {
  padding: 4.8rem 0;
}

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

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

.site-header {
  background: var(--primary);
  color: #ffffff;
}

.site-header .brand-copy strong,
.site-header .brand-copy small,
.site-header .nav-panel a,
.site-header .nav-caret,
.site-header .hero-copy h1,
.site-header .hero-lead {
  color: #ffffff;
}

.site-header .brand-copy small {
  color: rgba(255, 255, 255, 0.72);
}

.site-header .hero-lead {
  color: rgba(255, 255, 255, 0.86);
}

.site-header .nav-toggle span {
  background: #ffffff;
}

.site-header .card-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.site-header .button-primary {
  background: #ffffff;
  color: var(--primary-strong);
  box-shadow: 0 14px 30px rgba(8, 23, 46, 0.35);
}

.site-header .button-primary:hover,
.site-header .button-primary:focus-visible {
  background: #f3f7fd;
  color: var(--primary-strong);
  box-shadow: 0 18px 36px rgba(8, 23, 46, 0.4);
}

.site-header .hero-photo {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.trust-strip {
  padding: 2.6rem 0 2.8rem;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.trust-strip-caption {
  margin: 0 0 1.6rem;
  text-align: center;
  font-family: "Lexend", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.trust-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.trust-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: trust-scroll 38s linear infinite;
}

.trust-track li {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.4rem;
  opacity: 0.82;
  transition: opacity 180ms ease, filter 180ms ease;
}

.trust-track li img {
  max-height: 100%;
  width: auto;
  display: block;
  filter: grayscale(1) brightness(0) saturate(100%) invert(13%) sepia(45%) saturate(2120%) hue-rotate(199deg) brightness(94%) contrast(96%);
}

.trust-track li:hover,
.trust-track li.is-centered {
  opacity: 1;
}

.trust-track li:hover img,
.trust-track li.is-centered img {
  filter: none;
}

.trust-track .logo-text {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 0.2rem;
  font-family: "Lexend", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}

.trust-marquee:hover .trust-track {
  animation-play-state: paused;
}

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

@media (prefers-reduced-motion: reduce) {
  .trust-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 2rem 3rem;
  }
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 37, 71, 0.12);
  box-shadow: 0 12px 32px rgba(8, 23, 46, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-nav .container {
  width: min(1180px, calc(100% - 2rem));
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.6rem 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header .site-nav .brand-copy strong {
  color: var(--primary-strong);
}

.site-header .site-nav .brand-copy small {
  color: var(--muted);
}

.site-header .site-nav .nav-panel a,
.site-header .site-nav .nav-caret {
  color: var(--primary);
}

.site-header .site-nav .nav-panel a:hover,
.site-header .site-nav .nav-panel a:focus-visible {
  color: var(--primary-strong);
}

.site-header .site-nav .nav-toggle span {
  background: var(--primary);
}

.nav-shell,
.image-panel,
.info-card,
.stats-panel,
.service-card,
.portfolio-card,
.quote-card,
.team-card,
.faq-item,
.contact-panel,
.contact-form,
.contact-shell,
.legal-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.site-nav .brand-mark {
  flex: 0 0 auto;
  width: 5.5rem;
  height: 5.5rem;
  overflow: visible;
}

.brand-wordmark-text {
  display: inline-block;
  font-family: "Lexend", sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--primary);
  white-space: nowrap;
}

.brand-est-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-family: "Lexend", sans-serif;
  font-size: clamp(0.6rem, 0.85vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.1;
  color: #c8102e;
  margin-left: 0.55rem;
  white-space: nowrap;
}

.site-nav .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.45);
  transform-origin: center;
  border-radius: 0.85rem;
}

.brand-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 0;
  white-space: nowrap;
}

.brand-copy strong {
  font-family: "Lexend", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-strong);
}

.brand-copy small {
  font-size: clamp(0.86rem, 1.18vw, 1rem);
  color: var(--text);
  line-height: 1.3;
}

.legal-wrap .brand-mark img {
  width: clamp(10rem, 18vw, 13rem);
  height: auto;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 0;
}

.nav-panel a,
.button,
.section-heading h2,
.about-copy h2,
.hero-copy h1,
.info-card h3,
.service-copy h3,
.portfolio-copy h3,
.portfolio-note h3,
.team-card h3,
.faq-copy h2,
.contact-copy h2,
.stat-card strong,
.footer-title,
.legal-card h1,
.legal-card h2 {
  font-family: "Lexend", sans-serif;
}

.nav-panel a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 400;
  color: rgba(17, 17, 17, 0.82);
  transition: color 180ms ease;
}

.nav-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 2px;
  background: #c8102e;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  color: var(--primary);
}

.nav-panel a:hover::after,
.nav-panel a:focus-visible::after {
  transform: scaleX(1);
}

.nav-caret {
  display: inline-block;
  margin-left: 0.15rem;
  font-size: 0.85em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
}

.nav-toggle span {
  width: 1.15rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 500;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 37, 71, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-strong);
  box-shadow: 0 18px 36px rgba(15, 37, 71, 0.25);
}

.button-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--text);
}

.button-sm {
  padding: 0.66rem 1rem;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 2.8rem;
  overflow: hidden;
  background: #0a1a36;
}

.hero-map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 105%;
  max-width: none;
  height: auto;
  opacity: 0.13;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-art {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(70%, 60rem);
  max-width: none;
  height: auto;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 3.2rem 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.hero-stats li {
  position: relative;
  padding: 0 1rem;
}

.hero-stats li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-stats strong {
  display: block;
  font-family: "Lexend", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-stats span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 720px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 0.5rem;
    margin-top: 2.4rem;
  }
  .hero-stats li:nth-child(2)::after {
    display: none;
  }
}

.hero-simple {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 0.78fr);
  gap: 2.25rem;
  align-items: stretch;
}

.hero-copy {
  max-width: 43rem;
}

.card-kicker,
.contact-panel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 37, 71, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 1.1rem 0 0;
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: none;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span.coast-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.08em;
}

.coast-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.05em;
  border-radius: 1px;
  background: currentColor;
  transform-origin: left center;
}

.hero-copy.reveal-on-scroll .coast-underline::after {
  transform: scaleX(0);
}

.hero-copy.reveal-on-scroll.is-visible .coast-underline::after {
  animation: coast-draw 2200ms 500ms ease-in-out forwards;
}

@keyframes coast-draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .coast-underline::after,
  .hero-copy.reveal-on-scroll .coast-underline::after,
  .hero-copy.reveal-on-scroll.is-visible .coast-underline::after {
    animation: none;
    transform: scaleX(1);
  }
}

.hero-lead,
.section-heading p,
.about-copy p,
.info-card p,
.service-copy p,
.portfolio-note p,
.portfolio-copy,
.quote-card p,
.team-card p,
.faq-copy p,
.faq-item p,
.contact-copy p,
.field input,
.field textarea,
.legal-card p,
.footer-copy,
.footer-meta-line {
  color: var(--muted);
}

.hero-lead {
  margin: 2.2rem 0 0;
  font-size: 1rem;
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}

.hero-photo {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface-soft);
}

.hero-photo {
  aspect-ratio: auto;
  min-height: 20rem;
  background: transparent;
}

.hero-photo img,
.hero-photo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

.hero-photo-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  backdrop-filter: blur(0.6px) saturate(0.96);
  -webkit-backdrop-filter: blur(0.6px) saturate(0.96);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%);
}

.hero-photo-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  opacity: 0.14;
  mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  .hero-photo::after {
    content: "";
    display: block;
    padding-top: 66.66%;
    background: url("../img/hero-truck.webp") center/cover no-repeat;
  }
}

.hero-route {
  --truck-progress: 0;
  --truck-width: 8.6rem;
  --route-color: var(--primary);
  align-self: start;
  width: min(100%, 39rem);
  margin: 1.05rem 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.route-scene {
  position: relative;
  min-height: 8.5rem;
  padding: 0 0.25rem;
  overflow: visible;
}

.route-pin {
  position: absolute;
  bottom: 0.25rem;
  width: 2.3rem;
  height: 3.1rem;
  color: var(--route-color);
  z-index: 1;
}

.route-pin-start { left: 0.4rem; }
.route-pin-end { right: 0.4rem; }

.pin-icon {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(15, 37, 71, 0.22));
}

.pin-icon .pin-body { fill: currentColor; }
.pin-icon .pin-inner { fill: #ffffff; }

.route-road {
  position: absolute;
  left: 3.1rem;
  right: 3.1rem;
  bottom: 0.95rem;
  height: 0;
  color: var(--route-color);
}

.route-road::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 18px);
  opacity: 0.35;
  transform: translateY(-50%);
}

.route-road::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: calc(var(--truck-progress, 0) * 100%);
  background: currentColor;
  border-radius: 2px;
  transform: translateY(-50%);
}

.route-truck-icon {
  position: absolute;
  left: 0;
  bottom: -1.25rem;
  width: var(--truck-width);
  height: auto;
  transform: translateX(var(--truck-offset, 0px));
  will-change: transform;
  color: var(--route-color);
  z-index: 2;
}

.truck-icon {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 4px 8px rgba(15, 37, 71, 0.22));
}

.truck-icon .truck-trailer,
.truck-icon .truck-cab { fill: currentColor; }
.truck-icon .truck-stripe { fill: rgba(255, 255, 255, 0.45); }
.truck-icon .truck-window { fill: #ffffff; opacity: 0.9; }
.truck-icon .truck-bumper { fill: var(--primary-strong); }
.truck-icon .truck-wheel { fill: #1a1a1a; }
.truck-icon .truck-hub { fill: #d8d2c4; }

.image-panel,
.stats-panel,
.contact-shell,
.legal-card {
  border-radius: var(--radius-xl);
  background: #ffffff;
}

.about-copy {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.about-copy h2,
.section-heading h2,
.faq-copy h2,
.contact-copy h2,
.legal-card h1 {
  margin: 0;
  font-size: clamp(1.95rem, 3.3vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.about-copy p,
.section-heading p,
.faq-copy p,
.contact-copy p,
.legal-card p {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.75;
}

.image-panel {
  overflow: hidden;
}

#about .image-panel {
  max-width: 56rem;
  margin: 0 auto;
}

.image-panel-tall img {
  width: 100%;
  min-height: 15rem;
  max-height: 22rem;
  object-fit: cover;
}

.section-heading {
  max-width: 46rem;
  margin: 0 auto 2.4rem;
  text-align: center;
}

#contact.section {
  padding-top: 3.2rem;
  padding-bottom: 2.9rem;
}

#contact .section-heading {
  max-width: 42rem;
  margin-bottom: 1rem;
}

#contact .section-heading h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
}

#contact .section-heading p {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid,
.service-grid,
.portfolio-grid,
.quote-grid,
.team-grid {
  grid-template-columns: repeat(2, minmax(0, 29rem));
  justify-content: center;
}

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

.info-card,
.service-card,
.portfolio-card,
.quote-card,
.team-card,
.faq-item,
.contact-panel,
.contact-form {
  border-radius: var(--radius-lg);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.info-card,
.service-card,
.portfolio-card {
  overflow: hidden;
}

.info-card,
.service-card,
.portfolio-card,
.contact-panel {
  background: var(--surface-soft);
}

.info-card {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.info-card h3 {
  color: #ffffff;
}

.info-card p {
  color: rgba(255, 255, 255, 0.82);
}

.info-card .feature-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.info-card .card-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.info-card .card-list li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.info-card .card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.info-card:hover {
  box-shadow: 0 26px 60px rgba(8, 23, 46, 0.42);
}

.quote-card,
.faq-item {
  background: #ffffff;
}

.info-card,
.quote-card,
.team-card,
.faq-item,
.contact-panel,
.contact-form,
.legal-card {
  padding: 1.5rem;
}

.team-card {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 2rem;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-strong) 0%, var(--primary) 50%, var(--primary-accent) 100%);
}

.team-card .card-kicker {
  background: var(--primary);
  color: #ffffff;
}

.info-card:hover,
.service-card:hover,
.portfolio-card:hover,
.quote-card:hover,
.team-card:hover,
.faq-item:hover,
.contact-panel:hover,
.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-card h3,
.service-copy h3,
.portfolio-copy h3,
.team-card h3,
.portfolio-note h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.2;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-top: 1.15rem;
  border-radius: 999px;
  background: rgba(15, 37, 71, 0.1);
  color: var(--primary);
}

.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 2rem;
}

.stat-card {
  text-align: center;
}

/* === Navy band sections (echo the hero) === */
.section-navy {
  background: var(--primary);
  color: #ffffff;
}

.section-navy .section-heading h2 {
  color: #ffffff;
}

.section-navy .section-heading p {
  color: rgba(255, 255, 255, 0.8);
}

.section-navy .stats-panel {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 1.25rem 0;
  gap: 0;
}

.section-navy .stat-card {
  padding: 0.4rem 1.5rem;
}

.section-navy .stat-card + .stat-card {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.section-navy .stat-card strong {
  color: #ffffff;
}

.section-navy .stat-card strong::after {
  content: "";
  display: block;
  width: 3.75rem;
  height: 3px;
  margin: 0.55rem auto 0;
  border-radius: 999px;
  background: #c8102e;
}

.section-navy .stat-card span {
  color: rgba(255, 255, 255, 0.76);
}

/* Navy FAQ: light text + chip over the dark background */
.section-navy .faq-copy h2 {
  color: #ffffff;
}

.section-navy .faq-copy p,
.section-navy .faq-copy .support-copy {
  color: rgba(255, 255, 255, 0.82);
}

.section-navy .faq-copy .card-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* === Card polish: brand-red top accent + hover lift === */
.info-card,
.service-card,
.team-card {
  border-top: 3px solid #c8102e;
}

.info-card,
.service-card,
.portfolio-card,
.team-card,
.quote-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.info-card:hover,
.service-card:hover,
.portfolio-card:hover,
.team-card:hover,
.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* === Services: alternating image/text rows === */
.service-rows {
  display: grid;
  gap: 3.5rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

.service-row-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
}

.service-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.service-row:nth-child(even) .service-row-media {
  order: 2;
}

.service-row-copy .card-kicker {
  margin-bottom: 0.4rem;
}

.service-row-copy h3 {
  margin: 0.7rem 0 0.65rem;
  font-family: "Lexend", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.15;
  color: var(--primary);
}

.service-row-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .service-row:nth-child(even) .service-row-media {
    order: 0;
  }
}

/* === About: two-column split === */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-layout .about-copy {
  margin-bottom: 0;
  max-width: none;
}

.about-copy .card-kicker {
  margin-bottom: 0.9rem;
}

.about-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

/* === Testimonials: distinct quote style === */
.quote-card {
  position: relative;
}

.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 0.1rem;
  right: 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(15, 37, 71, 0.12);
  pointer-events: none;
}

.review-stars svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: #f5a623;
}

/* === Team: initials avatar === */
.team-card {
  text-align: center;
}

.team-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

/* Team cards with a faded photo background */
.team-card-photo {
  display: flex;
  flex-direction: column;
  min-height: 21rem;
  background-color: var(--primary-strong);
  background-image:
    linear-gradient(180deg, rgba(8, 22, 46, 0) 0%, rgba(8, 22, 46, 0.06) 34%, rgba(8, 22, 46, 0.45) 64%, rgba(8, 22, 46, 1) 100%),
    var(--photo);
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.team-card-photo p {
  margin-top: auto;
  margin-bottom: 0;
}

.team-card-photo h3 {
  color: #ffffff;
}

.team-card-photo p {
  color: #ffffff;
}

.team-card-photo .card-kicker {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.team-card-photo .team-avatar {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

@media (max-width: 820px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* === Reviews carousel === */
.reviews-carousel {
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 1.5rem 1.5rem 3.25rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.reviews-track > .quote-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.5rem 1.5rem;
}

.reviews-track > .quote-card p {
  flex: 1 0 auto;
  margin: 0 0 1.1rem;
}

.reviews-track .review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 0.14rem;
  margin-bottom: 0.9rem;
}

.quote-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.quote-meta strong {
  font-family: "Lexend", sans-serif;
  color: var(--primary);
}

.quote-meta span {
  font-size: 0.82rem;
  color: var(--muted);
}

.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 160ms ease, transform 160ms ease;
}

.reviews-nav:hover {
  background: var(--surface-soft);
}

.reviews-prev {
  left: -0.6rem;
}

.reviews-next {
  right: -0.6rem;
}

@media (max-width: 980px) {
  .reviews-track > .quote-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 640px) {
  .reviews-track > .quote-card {
    flex: 0 0 86%;
  }
  .reviews-nav {
    display: none;
  }
}

/* === Coverage map with pulsing pins === */
.coverage-map {
  position: relative;
  background: #ffffff;
}

.coverage-map .coverage-base {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}

.map-pin {
  position: absolute;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #c8102e;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
  z-index: 2;
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.45);
  z-index: -1;
  animation: pin-pulse 2.6s ease-out infinite;
  animation-delay: var(--d, 0s);
}

.map-pin-home {
  width: 15px;
  height: 15px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
  z-index: 3;
}

@keyframes pin-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70%,
  100% {
    transform: scale(3.4);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin::after {
    animation: none;
    opacity: 0;
  }
}

.stat-card strong {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.stat-card span {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.98rem;
  color: var(--text);
}

.service-card img,
.portfolio-card img,
.contact-visual img {
  width: 100%;
  object-fit: cover;
}

.service-card {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.service-card img {
  aspect-ratio: 5 / 4;
  max-height: 13.5rem;
  border-radius: var(--radius-lg);
}

.portfolio-card {
  background: #ffffff;
}

.portfolio-card img {
  aspect-ratio: 3 / 2;
  max-height: 12.5rem;
}

.portfolio-copy {
  padding: 1.4rem;
  color: var(--muted);
}

.portfolio-copy .card-kicker {
  margin-bottom: 0.7rem;
}

.portfolio-copy h3 {
  color: var(--text);
}

.portfolio-note {
  max-width: 40rem;
  margin: 2rem auto 0;
  text-align: center;
}

.quote-card p {
  margin: 0;
  line-height: 1.75;
}

.review-stars {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: var(--primary);
  line-height: 1;
}

.review-stars svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.quote-card strong {
  margin-top: 1rem;
}

.quote-card span {
  display: block;
  margin-top: 0.2rem;
}

.contact-panel strong,
.quote-card strong {
  display: block;
  font-weight: 600;
}

.support-copy,
.quote-card span {
  color: var(--muted);
}

.team-card .card-kicker {
  margin-bottom: 1rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.faq-copy .button-secondary {
  margin-top: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item[open] {
  border-color: rgba(15, 37, 71, 0.2);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: var(--text);
  font-family: "Lexend", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0.9rem 0 0;
  line-height: 1.7;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}

.contact-visual {
  display: flex;
  min-height: 100%;
  padding: 0.65rem 0 0.65rem 0.65rem;
  background: #ffffff;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 1.4rem;
}

.contact-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2.2rem 2rem 1.6rem;
  background: #ffffff;
}

.contact-cta {
  margin-top: 1.6rem;
}

.contact-copy {
  max-width: 34rem;
}

.contact-copy h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
}

.contact-copy p {
  margin-top: 0.55rem;
  font-size: 0.94rem;
  line-height: 1.55;
}

.contact-copy a {
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-copy a:hover,
.contact-copy a:focus-visible {
  color: var(--primary);
}

.contact-card-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.contact-panel {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
}

.contact-panel span {
  font-size: 0.74rem;
}

.contact-panel a {
  font-weight: 600;
  color: var(--primary);
}

.contact-form {
  margin-top: 0.7rem;
  background: #ffffff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span {
  font-weight: 600;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(15, 37, 71, 0.16);
  border-radius: 1rem;
  background: #e6edf8;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.field textarea {
  min-height: 6.8rem;
  resize: vertical;
}

.field input::placeholder,
.field select,
.field textarea::placeholder {
  color: #8d8780;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(15, 37, 71, 0.34);
  box-shadow: 0 0 0 4px rgba(15, 37, 71, 0.08);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
}

.form-status {
  margin: 0;
  min-height: 1.5rem;
}

.form-status.is-success {
  color: #2f6d42;
}

.form-status.is-error {
  color: #b14d35;
}

.site-footer {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #ffffff;
}

.site-footer .footer-title,
.site-footer .footer-copy,
.site-footer .footer-meta-line,
.site-footer a {
  color: #ffffff;
}

.site-footer .footer-copy,
.site-footer .footer-meta-line {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .social-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.site-footer .social-link:hover,
.site-footer .social-link:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.floating-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem 0.8rem 0.8rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 37, 71, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.floating-contact:hover,
.floating-contact:focus-visible {
  transform: translateY(-2px);
  background: var(--primary-strong);
  box-shadow: 0 22px 42px rgba(15, 37, 71, 0.32);
}

.floating-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.floating-contact-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.floating-contact-copy {
  font-family: "Lexend", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
}

.footer-shell {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  text-align: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  background: var(--surface-soft);
  border-color: rgba(15, 37, 71, 0.18);
}

.social-link svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.footer-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
}

.footer-copy,
.footer-meta-line {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.25rem;
  color: rgba(17, 17, 17, 0.78);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
}

.site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: #ffffff;
}

.legal-page {
  background: var(--surface-soft);
}

.legal-wrap {
  display: grid;
  gap: 1.5rem;
}

.legal-wrap .brand-mark {
  justify-self: center;
}

.legal-card {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
}

.legal-back {
  margin-bottom: 1.5rem;
}

.legal-card h1 {
  margin-bottom: 1rem;
}

.legal-card h2 {
  margin: 1.75rem 0 0;
  font-size: 1.2rem;
  font-weight: 500;
}

.legal-card a {
  color: var(--primary);
  font-weight: 600;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-simple,
  .faq-layout,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero-route {
    width: min(100%, 34rem);
    margin: 0 0 0;
  }

  .hero-photo {
    width: min(100%, 26rem);
    margin: 0 auto;
    justify-self: center;
  }

  .feature-grid,
  .service-grid,
  .portfolio-grid,
  .quote-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-visual img {
    min-height: 19rem;
  }
}

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

  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.75rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid rgba(15, 37, 71, 0.12);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 54px rgba(8, 23, 46, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .nav-panel.show {
    display: flex;
  }

  .nav-shell {
    align-items: flex-start;
    gap: 1rem;
  }

  .brand-lockup {
    gap: 0.75rem;
    padding-right: 3.5rem;
  }

  .site-nav .brand-mark {
    width: 4.2rem;
    height: 4.2rem;
  }

  .stats-panel,
  .feature-grid,
  .service-grid,
  .portfolio-grid,
  .quote-grid,
  .team-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.2rem, 1180px);
  }

  .section {
    padding: 4.25rem 0;
  }

  .hero {
    padding-top: 1.3rem;
  }

  .hero-map {
    top: 22%;
    width: 140%;
  }

  .hero-copy h1,
  .about-copy h2,
  .section-heading h2,
  .faq-copy h2,
  .contact-copy h2,
  .legal-card h1 {
    font-size: clamp(2.1rem, 10vw, 2.85rem);
  }

  .hero-copy h1 {
    max-width: none;
    margin-top: 1.6rem;
  }

  .hero-copy h1 span {
    display: inline;
  }

  .hero-copy h1 span:nth-child(2)::before {
    content: " ";
  }

  .hero-stats strong {
    font-size: clamp(1.5rem, 7.5vw, 2rem);
  }

  .hero-stats span {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .hero-stats li {
    padding: 0 0.5rem;
    min-width: 0;
  }

  .hero-route {
    width: min(100%, 24rem);
    padding: 0;
  }

  .route-scene {
    min-height: 6.8rem;
    padding: 0 0.25rem;
  }

  .route-pin {
    width: 1.7rem;
    height: 2.3rem;
    bottom: 0.2rem;
  }

  .route-pin-start { left: 0.2rem; }
  .route-pin-end { right: 0.2rem; }

  .route-road {
    left: 2.2rem;
    right: 2.2rem;
    bottom: 0.7rem;
  }

  .route-truck-icon {
    --truck-width: 6.4rem;
    bottom: -0.95rem;
  }

  .brand-lockup {
    display: grid;
    gap: 0.45rem;
    padding-right: 3.2rem;
  }

  .brand-est-stack {
    flex-direction: row;
    gap: 0.3rem;
    align-items: center;
    justify-self: center;
    margin-left: 0;
  }

  .brand-copy {
    gap: 0.15rem;
    padding-top: 0;
  }

  .brand-copy strong {
    font-size: 1.4rem;
  }

  .brand-copy small {
    font-size: 0.82rem;
  }

  .site-nav .brand-mark {
    width: 3.4rem;
    height: 3.4rem;
  }

  .hero {
    padding-top: 2rem;
    padding-bottom: 2.2rem;
  }

  .hero-route {
    margin-top: 0.15rem;
  }

  .button,
  .button-sm {
    width: 100%;
  }

  .floating-contact {
    right: 0.9rem;
    bottom: 0.9rem;
    padding-right: 0.9rem;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-column,
  .info-card,
  .service-card,
  .quote-card,
  .team-card,
  .faq-item,
  .contact-panel,
  .contact-form,
  .legal-card {
    padding: 1.2rem;
  }

  .contact-visual {
    padding: 0.7rem 0.7rem 0 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .info-card,
  .service-card,
  .portfolio-card,
  .quote-card,
  .team-card,
  .faq-item,
  .contact-panel,
  .contact-form,
  .social-link,
  .faq-item summary::after,
  .reveal-on-scroll {
    transition: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* === Contact form modal === */
body.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vh, 4rem) 1rem;
  overflow-y: auto;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 22, 46, 0.62);
  backdrop-filter: blur(3px);
}

.contact-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(42rem, 100%);
  margin: auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px rgba(8, 22, 46, 0.35);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  animation: contact-modal-in 240ms ease;
}

@keyframes contact-modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.contact-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 37, 71, 0.06);
  color: var(--primary);
  cursor: pointer;
  transition: background 160ms ease;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  background: rgba(15, 37, 71, 0.12);
}

.contact-modal-close svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.contact-modal-head {
  margin-bottom: 1.4rem;
  padding-right: 2.5rem;
}

.contact-modal-head h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--text);
}

.contact-modal-head p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-modal .contact-form,
.contact-modal .contact-form:hover {
  border: 0;
  box-shadow: none;
  padding: 0;
  transform: none;
}

.form-step-indicator {
  margin: 0 0 1.1rem;
  font-family: "Lexend", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal-dialog {
    animation: none;
  }
}
