:root {
  --blue: #1f57a4;
  --blue-dark: #102d5b;
  --blue-soft: #eaf3ff;
  --ink: #172033;
  --muted: #5d6878;
  --line: #dbe4ef;
  --paper: #ffffff;
  --surface: #f5f8fc;
  --accent: #f28c28;
  --shadow: 0 18px 45px rgba(16, 45, 91, 0.12);
}

* { box-sizing: border-box; }

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  place-items: center;
  width: 190px;
  min-width: 140px;
  padding: 0;
  background: transparent;
}

.brand img {
  width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-soft);
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: #fff;
  background: var(--blue-dark);
}

.site-nav .nav-cta:hover {
  color: #fff;
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-dark);
}

.service-ticker {
  position: relative;
  z-index: 10;
  overflow: hidden;
  padding: 12px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.service-ticker::before,
.service-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(38px, 8vw, 110px);
  pointer-events: none;
}

.service-ticker::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.service-ticker::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 14px;
  transform: translate3d(-50%, 0, 0);
  animation: ticker-slide-pause 24s ease-in-out infinite;
  will-change: transform;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 18px;
  color: var(--blue-dark);
  border: 1px solid rgba(31, 87, 164, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, var(--blue-soft));
  box-shadow: 0 7px 18px rgba(16, 45, 91, 0.1);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

@keyframes ticker-slide-pause {
  0% { transform: translate3d(-50%, 0, 0); }
  10% { transform: translate3d(-50%, 0, 0); }
  16% { transform: translate3d(-41.667%, 0, 0); }
  26% { transform: translate3d(-41.667%, 0, 0); }
  32% { transform: translate3d(-33.334%, 0, 0); }
  42% { transform: translate3d(-33.334%, 0, 0); }
  48% { transform: translate3d(-25%, 0, 0); }
  58% { transform: translate3d(-25%, 0, 0); }
  64% { transform: translate3d(-16.667%, 0, 0); }
  74% { transform: translate3d(-16.667%, 0, 0); }
  80% { transform: translate3d(-8.334%, 0, 0); }
  90% { transform: translate3d(-8.334%, 0, 0); }
  96% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(6, 15, 31, 0.84), rgba(16, 45, 91, 0.58) 45%, rgba(16, 45, 91, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.12;
  color: var(--blue-dark);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 5.35vw, 4.65rem);
  max-width: 860px;
}

.hero p:not(.eyebrow) {
  max-width: 580px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover { background: #dc7410; }

.hero .button.primary {
  animation: pulse-cta 2.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.42);
}

.button.primary.pulse-button {
  animation: pulse-cta 2.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.42);
}

@keyframes pulse-cta {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.36);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(242, 140, 40, 0);
  }
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 92px) 0;
}

.intro-grid,
.split,
.contact-layout,
.cta-form {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.section h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section p,
.page-hero p,
.highlight-box li {
  color: var(--muted);
}

.service-grid,
.usp-grid,
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.contact-card,
.quote-form,
.lead-form,
.highlight-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.service-card {
  padding: 24px;
}

.service-card.large { min-height: 230px; }

.service-card.accent { border-color: rgba(242, 140, 40, 0.45); }

.icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-size: 1.35rem;
  font-weight: 900;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
}

.icon-build::before {
  width: 22px;
  height: 14px;
  bottom: 11px;
  border: 3px solid #fff;
  border-top: 0;
}

.icon-build::after {
  width: 22px;
  height: 22px;
  top: 9px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transform: rotate(45deg);
}

.icon-demo::before {
  width: 24px;
  height: 4px;
  background: #fff;
  transform: rotate(-35deg);
}

.icon-demo::after {
  width: 11px;
  height: 17px;
  right: 10px;
  bottom: 9px;
  border: 3px solid #fff;
  border-left: 0;
  border-radius: 0 3px 3px 0;
  transform: rotate(-35deg);
}

.icon-finish::before {
  width: 20px;
  height: 18px;
  left: 10px;
  top: 10px;
  border: 3px solid #fff;
  border-radius: 3px;
}

.icon-finish::after {
  width: 16px;
  height: 3px;
  right: 9px;
  bottom: 11px;
  background: #fff;
  transform: rotate(-45deg);
}

.band {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1120px) / 2));
  background: var(--surface);
}

.section-head {
  max-width: 700px;
  margin-bottom: 28px;
}

.usp-grid div {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-left: 4px solid var(--blue);
  background: #fff;
  border-radius: 8px;
}

.home-section {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1120px) / 2));
}

.home-why {
  border-top: 1px solid #d7e6f8;
  border-bottom: 1px solid #d2e3f6;
  background: #edf6ff;
}

.home-services {
  border-bottom: 1px solid #d9e2ee;
  background: #fff;
}

.home-services .section-head {
  max-width: 900px;
}

.home-contact {
  border-top: 1px solid #d9e2ee;
  background: #f7fbff;
}

.home-contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.home-contact-main {
  display: grid;
  align-content: start;
}

.home-contact-content {
  display: grid;
  align-content: start;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px) 0;
}

.home-contact-content h2 {
  margin: 0;
}

.home-contact-content p:not(.eyebrow) {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
}

.home-contact-faq {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(20px, 3vw, 32px);
  border-left: 1px solid rgba(31, 87, 164, 0.46);
}

.home-contact-faq h3 {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-contact-details {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.home-contact-details h3 {
  margin-bottom: 2px;
}

.home-contact-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.home-contact-details-grid .contact-link {
  align-items: flex-start;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 6px 38px 6px 14px;
  color: var(--blue-dark);
  border: 0;
  background: #fff;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
  transform-origin: 50% 50%;
  transition: transform 220ms ease;
}

.faq-toggle[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(-135deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: padding 260ms ease;
}

.faq-item.is-open .faq-panel p {
  padding-bottom: 14px;
}

.home-contact-card .lead-form {
  align-content: start;
  padding: clamp(18px, 2.6vw, 26px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-contact-card .lead-form .button.primary {
  font-size: 1.08rem;
}

.quote-form .button.primary {
  font-size: 1.08rem;
}

.home-services .service-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  align-content: start;
  overflow: hidden;
  color: inherit;
  transition:
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.home-services .service-card.is-visible:hover,
.home-services .service-card.is-visible:focus-visible {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(242, 140, 40, 0.7);
  box-shadow: 0 22px 54px rgba(16, 45, 91, 0.18);
  outline: none;
  transition-delay: 0ms;
  transition-duration: 140ms;
}

.home-services .service-card.is-visible:hover .service-icon,
.home-services .service-card.is-visible:focus-visible .service-icon {
  background: var(--accent);
  transition-delay: 0ms;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: 8px;
  background: var(--blue);
  transition: background 180ms ease;
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon svg.solid-icon {
  fill: currentColor;
  stroke: none;
}

.service-icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home-services .service-card h3 {
  margin: 0;
}

.home-services .service-card p {
  grid-column: 1 / -1;
  margin: 16px 0 0;
}

.service-card-image {
  grid-column: 1 / -1;
  width: calc(100% + 48px);
  max-width: none;
  height: 185px;
  display: block;
  margin: 20px -24px -24px;
  border-radius: 0;
  object-fit: cover;
}

.service-card-image.image-focus-left { object-position: 28% center; }
.service-card-image.image-focus-center { object-position: center; }
.service-card-image.image-focus-right { object-position: 72% center; }

.service-reveal,
.card-reveal {
  position: relative;
  transform: translateY(42px) scale(0.96);
  transition:
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-reveal > *,
.card-reveal > * {
  opacity: 0;
  transition: opacity 420ms ease 120ms;
}

.service-reveal::before,
.card-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent) -180px 0 / 180px 100% no-repeat,
    linear-gradient(#dce8f7 0 0) 24px 24px / 44px 44px no-repeat,
    linear-gradient(#dce8f7 0 0) 82px 30px / 48% 16px no-repeat,
    linear-gradient(#e8f0fa 0 0) 24px 94px / 80% 14px no-repeat,
    linear-gradient(#e8f0fa 0 0) 24px 122px / 62% 14px no-repeat,
    #fff;
  box-shadow: var(--shadow);
  opacity: 1;
  transition: opacity 260ms ease;
  animation: skeleton-sweep 1.4s ease-in-out infinite;
  pointer-events: none;
}

.service-reveal.is-visible,
.card-reveal.is-visible {
  transform: translateY(0) scale(1);
}

.service-reveal.is-visible > *,
.card-reveal.is-visible > * {
  opacity: 1;
}

.service-reveal.is-visible::before,
.card-reveal.is-visible::before {
  opacity: 0;
  animation: none;
}

@keyframes skeleton-sweep {
  to {
    background-position:
      calc(100% + 180px) 0,
      24px 24px,
      82px 30px,
      24px 94px,
      24px 122px,
      0 0;
  }
}

.service-reveal:nth-child(2) {
  transition-delay: 140ms;
}

.service-reveal:nth-child(3) {
  transition-delay: 280ms;
}

.home-services .service-card.is-visible {
  transition:
    transform 140ms ease,
    border-color 90ms ease,
    box-shadow 90ms ease;
}

.home-services .service-card.is-visible:hover,
.home-services .service-card.is-visible:focus-visible {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(242, 140, 40, 0.7);
  box-shadow: 0 22px 54px rgba(16, 45, 91, 0.18);
  outline: none;
  transition-delay: 0ms;
}

.card-reveal:nth-child(2) {
  transition-delay: 120ms;
}

.card-reveal:nth-child(3) {
  transition-delay: 240ms;
}

.home-why .usp-grid div {
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-content: start;
  align-items: start;
}

.home-why .about-icon {
  margin-bottom: 0;
  color: #fff;
}

.home-why .about-icon svg {
  stroke: #fff;
}

.home-why .usp-grid strong {
  grid-column: 2;
  align-self: center;
}

.home-why .usp-grid span:not(.about-icon) {
  grid-column: 1 / -1;
  margin-top: 14px;
}

.usp-grid span { color: var(--muted); }

.about-intro {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

.about-intro h2 {
  max-width: 720px;
  font-size: clamp(2.15rem, 3.2vw, 3.15rem);
}

.about-intro > div:first-child {
  max-width: 660px;
}

.about-intro .highlight-box {
  align-self: center;
}

.trust-card {
  border-top: 4px solid var(--blue);
}

.trust-card > p {
  margin: 8px 0 20px;
  color: var(--muted);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.trust-grid div {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(31, 87, 164, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(16, 45, 91, 0.06);
  opacity: var(--trust-opacity, 1);
  transform: scale(var(--trust-scale, 1));
  transform-origin: center;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  z-index: var(--trust-layer, 1);
  will-change: transform, opacity;
}

.trust-grid div.is-scroll-focus {
  border-color: rgba(31, 87, 164, 0.28);
  background: #fff;
  box-shadow: 0 18px 36px rgba(16, 45, 91, 0.14);
}

.trust-reveal {
  overflow: hidden;
}

.trust-reveal > * {
  opacity: 0;
  transform: translateX(34px);
  transition:
    opacity 520ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.trust-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent) -160px 0 / 160px 100% no-repeat,
    linear-gradient(#cfe0f4 0 0) 14px 14px / 22px 22px no-repeat,
    linear-gradient(#d7e5f6 0 0) 48px 16px / 46% 13px no-repeat,
    linear-gradient(#e4edf8 0 0) 48px 42px / 70% 11px no-repeat,
    var(--surface);
  opacity: 1;
  transition: opacity 260ms ease;
  animation: trust-skeleton-sweep 1.3s ease-in-out infinite;
  pointer-events: none;
}

.trust-reveal.is-visible > * {
  opacity: 1;
  transform: translateX(0);
}

.trust-reveal.is-visible::before {
  opacity: 0;
  animation: none;
}

.trust-reveal:nth-child(2) > * {
  transition-delay: 100ms;
}

.trust-reveal:nth-child(3) > * {
  transition-delay: 200ms;
}

.trust-reveal:nth-child(4) > * {
  transition-delay: 300ms;
}

@keyframes trust-skeleton-sweep {
  to {
    background-position:
      calc(100% + 160px) 0,
      14px 14px,
      48px 16px,
      48px 42px,
      0 0;
  }
}

.trust-grid span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
}

.trust-grid span::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.trust-grid strong,
.trust-grid small {
  grid-column: 2;
}

.trust-grid small {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.about-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 8px;
  background: var(--blue);
}

.about-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-card-grid .service-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
}

.about-card-grid .about-icon {
  margin-bottom: 0;
}

.about-card-grid h3 {
  margin: 0;
}

.about-card-grid p {
  grid-column: 1 / -1;
  margin: 16px 0 0;
}

.about-section {
  padding-top: clamp(30px, 4vw, 48px);
  padding-bottom: clamp(30px, 4vw, 48px);
}

.about-section:not(.band) {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1120px) / 2));
}

.about-intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid #d7e6f8;
  background: #f7fbff;
}

.about-section:not(.about-intro):not(.band) {
  border-bottom: 1px solid #d2e3f6;
  background: #edf6ff;
}

.about-section.band {
  border-bottom: 1px solid #d9e2ee;
  background: #f4f7fb;
}

.about-section + .cta-strip {
  background: #fff;
}

.about-cta {
  gap: 0;
}

.about-cta .button {
  margin-top: 52px;
}

.page-hero.compact + .about-section {
  padding-top: clamp(22px, 3vw, 34px);
}

.about-section + .about-section {
  padding-top: clamp(18px, 3vw, 34px);
}

.about-card-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  padding: 24px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: #fff;
}

.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  grid-row: 1 / 3;
  color: #fff;
  border-radius: 8px;
  background: var(--blue-dark);
}

.process-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-grid small {
  display: block;
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-grid h3 {
  margin: 0;
}

.process-grid p {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(42px, 6vw, 72px) max(18px, calc((100vw - 1120px) / 2)) clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, var(--blue-soft), #fff);
}

.page-hero.compact {
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(18px, 3vw, 30px);
}

.page-hero p {
  max-width: 680px;
  font-size: 1.12rem;
}

.page-hero.compact p {
  max-width: 920px;
}

.service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: clamp(28px, 4vw, 48px);
}

.services-detail {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
  padding-top: clamp(28px, 4vw, 48px);
}

.service-category {
  display: grid;
  gap: 16px;
  scroll-margin-top: 108px;
}

.service-category:target .service-category-hero {
  animation: target-outline-fade 2.6s ease forwards;
}

@keyframes target-outline-fade {
  0%,
  46% {
    outline: 3px solid rgba(242, 140, 40, 0.86);
    box-shadow: 0 0 0 8px rgba(242, 140, 40, 0.16), var(--shadow);
  }

  100% {
    outline: 3px solid rgba(242, 140, 40, 0);
    box-shadow: var(--shadow);
  }
}

.service-category-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 8px;
  background-color: var(--blue-dark);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.service-category-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 15, 31, 0.82), rgba(16, 45, 91, 0.42), rgba(16, 45, 91, 0.12));
}

.service-category-hero > div {
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-category-hero h2 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.service-category-renovatie {
  background-image: url("assets/algemene-renovatie.png");
}

.service-category-afbraak {
  background-image: url("assets/afbraak-voorbereiding-v2.png");
}

.service-category-afwerking {
  background-image: url("assets/afwerking-interieur.png");
}

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

.subservice-card {
  min-height: 210px;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.subservice-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.subservice-card p {
  margin: 0;
  color: var(--muted);
}

.subservice-grid .subservice-card:nth-child(1) {
  transition-delay: 0ms;
}

.subservice-grid .subservice-card:nth-child(1)::before {
  transition-delay: 0ms;
}

.subservice-grid .subservice-card:nth-child(1) > * {
  transition-delay: 120ms;
}

.subservice-grid .subservice-card:nth-child(2) {
  transition-delay: 120ms;
}

.subservice-grid .subservice-card:nth-child(2)::before {
  transition-delay: 120ms;
}

.subservice-grid .subservice-card:nth-child(2) > * {
  transition-delay: 240ms;
}

.subservice-grid .subservice-card:nth-child(3) {
  transition-delay: 240ms;
}

.subservice-grid .subservice-card:nth-child(3)::before {
  transition-delay: 240ms;
}

.subservice-grid .subservice-card:nth-child(3) > * {
  transition-delay: 360ms;
}

.subservice-grid .subservice-card:nth-child(4) {
  transition-delay: 360ms;
}

.subservice-grid .subservice-card:nth-child(4)::before {
  transition-delay: 360ms;
}

.subservice-grid .subservice-card:nth-child(4) > * {
  transition-delay: 480ms;
}

.highlight-box,
.contact-card,
.quote-form,
.lead-form {
  padding: clamp(22px, 4vw, 34px);
}

.highlight-box ul {
  padding-left: 20px;
  margin: 16px 0 0;
}

.cta-strip {
  display: grid;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-strip h2 {
  margin: 0;
}

.cta-strip p {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--muted);
}

.cta-strip .button {
  width: 100%;
}

.services-cta {
  padding-top: clamp(36px, 6vw, 72px);
}

.services-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  grid-template-areas:
    "content image"
    "button image";
  column-gap: 0;
  row-gap: 22px;
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.services-cta-content {
  grid-area: content;
  padding: clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px) 0;
}

.services-cta-content h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

.services-cta-content p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
}

.services-cta-card img {
  grid-area: image;
  position: static;
  width: 100%;
  min-height: 230px;
  height: 100%;
  margin: 0;
  border-left: 1px solid rgba(31, 87, 164, 0.46);
  border-radius: 0;
  object-fit: cover;
}

.services-cta-card .button {
  grid-area: button;
  justify-self: stretch;
  width: auto;
  margin: 0 clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px);
  animation: pulse-cta 2.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.42);
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card h2 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  overflow-wrap: normal;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-link svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.progress-glow-card {
  --glow-progress: 0;
  --glow-angle: 0deg;
  position: relative;
  box-shadow:
    0 18px 45px rgba(16, 45, 91, 0.12),
    0 0 calc(12px + (28px * var(--glow-progress))) rgba(31, 87, 164, calc(0.08 + (0.18 * var(--glow-progress))));
  transition: box-shadow 120ms linear;
}

.progress-glow-card::before,
.progress-glow-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.progress-glow-card::before {
  inset: -2px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(
    from -90deg,
    var(--blue) 0deg,
    var(--blue) var(--glow-angle),
    rgba(219, 228, 239, 0.22) var(--glow-angle),
    rgba(219, 228, 239, 0.22) 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: calc(0.45 + (0.55 * var(--glow-progress)));
}

.progress-glow-card::after {
  inset: -10px;
  border-radius: 14px;
  background: conic-gradient(
    from -90deg,
    rgba(31, 87, 164, 0.24) 0deg,
    rgba(31, 87, 164, 0.24) var(--glow-angle),
    transparent var(--glow-angle),
    transparent 360deg
  );
  filter: blur(14px);
  opacity: calc(0.08 + (0.22 * var(--glow-progress)));
  z-index: -1;
}

.contact-layout {
  grid-template-columns: minmax(260px, 320px) minmax(0, 760px);
  justify-content: space-between;
  padding-top: clamp(18px, 3vw, 34px);
}

.quote-form {
  width: 100%;
  max-width: 760px;
  justify-self: end;
}

form {
  display: grid;
  gap: 18px;
}

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

.form-row.contact-row {
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.65fr);
}

.form-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 7px;
  color: var(--blue-dark);
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.field-title {
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 800;
}

.required-marker {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 900;
}

.optional-marker {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  background: #fff;
}

input::placeholder,
textarea::placeholder {
  font-weight: 400;
}

textarea { resize: vertical; }

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-weight: 800;
}

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

.other-service-field {
  margin-top: 12px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.other-service-field[hidden] {
  display: none;
}

.other-service-field.is-entering {
  opacity: 0;
  transform: translateY(-6px);
}

.choice,
.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 700;
  line-height: 1.35;
}

.choice input,
.consent input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  accent-color: var(--blue);
}

.consent {
  align-items: flex-start;
  background: #fff;
}

.consent-text {
  min-width: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.consent a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.upload-control {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.upload-control input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  color: #fff;
  border-radius: 7px;
  background: var(--blue-dark);
  font-size: 0.94rem;
  font-weight: 800;
}

.upload-name {
  min-width: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-control:hover .upload-button,
.upload-control:focus-within .upload-button {
  background: var(--blue);
}

.upload-control:focus-within {
  outline: 3px solid rgba(31, 87, 164, 0.18);
  border-color: var(--blue);
}

@media (min-width: 981px) {
  .contact-card {
    position: sticky;
    top: 104px;
  }

  .quote-form {
    padding: 38px;
  }
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 87, 164, 0.18);
  border-color: var(--blue);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 700;
}

.form-status:empty {
  display: none;
}

.legal {
  max-width: 840px;
}

.legal h2 { margin-top: 30px; font-size: 1.45rem; }

.page-hero.compact + .legal {
  padding-top: clamp(18px, 3vw, 34px);
}

.legal h2:first-child {
  margin-top: 0;
}

.legal a { color: var(--blue); font-weight: 800; }

.site-footer {
  color: #dce8f7;
  background: #071833;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) minmax(120px, 0.7fr) minmax(150px, 0.8fr) minmax(190px, 1fr) minmax(170px, 0.95fr);
  gap: clamp(22px, 4vw, 40px);
  padding: 48px clamp(18px, 4vw, 56px) 38px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-logo {
  width: 200px;
  margin-bottom: 6px;
  filter: brightness(0) invert(1);
}

.site-footer strong {
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
  color: #aebed4;
}

.site-footer a {
  color: #dce8f7;
}

.site-footer a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.social-links svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.social-links path {
  fill: #fff;
  stroke: none;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  margin-top: 4px;
  padding: 9px 13px;
  color: #fff;
  border-radius: 8px;
  background: var(--accent);
  font-weight: 800;
  animation: pulse-cta 2.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.42);
}

.footer-cta-mobile {
  display: none;
}

.site-footer .footer-cta:hover {
  color: #fff;
  background: #dc7410;
}

.copyright-bar {
  padding: 15px 18px;
  color: #c5d3e6;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #051225;
  text-align: center;
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open { display: flex; }

  .site-nav .nav-cta { margin-left: 0; text-align: center; }

  .hero {
    min-height: 560px;
    min-height: max(560px, calc(100svh - 88px));
    align-items: center;
    padding: clamp(42px, 8vh, 70px) 0;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 15, 31, 0.2), rgba(6, 15, 31, 0.88));
  }

  .hero-content { margin: 0 auto; }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }

  .intro-grid,
  .split,
  .about-intro,
  .contact-layout,
  .cta-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .usp-grid,
  .about-card-grid,
  .process-grid,
  .service-list,
  .subservice-grid {
    grid-template-columns: 1fr;
  }

  .subservice-card {
    min-height: 0;
    padding: 20px;
  }

  .services-cta-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "image"
      "button";
  }

  .home-contact-card {
    grid-template-columns: 1fr;
  }

  .home-contact-faq {
    border-left: 0;
    border-top: 1px solid rgba(31, 87, 164, 0.46);
  }

  .services-cta-card img {
    min-height: 190px;
    aspect-ratio: 16 / 10;
    height: auto;
    margin: 0;
    border-left: 0;
    border-top: 1px solid rgba(31, 87, 164, 0.46);
    border-radius: 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 18px;
    padding: 34px 20px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "logo logo"
      "tagline tagline"
      "socials cta";
    align-items: center;
    justify-content: start;
    gap: 9px 18px;
  }

  .footer-logo {
    grid-area: logo;
    width: 176px;
    margin-bottom: 0;
  }

  .footer-brand p {
    grid-area: tagline;
  }

  .footer-brand .social-links {
    grid-area: socials;
    margin-top: 2px;
  }

  .footer-brand .footer-cta-mobile {
    grid-area: cta;
    display: inline-flex;
    justify-self: start;
    margin-top: 2px;
    padding: 8px 11px;
    white-space: nowrap;
    font-size: 0.94rem;
  }

  .footer-grid > div:not(.footer-brand) .footer-cta {
    display: none;
  }

  .footer-grid > div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-grid > div:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  .footer-grid > div:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-grid > div:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
  }

}

@media (max-width: 560px) {
  .site-header { padding: 12px 16px; }
  .brand { width: 155px; }
  .hero-content { text-align: center; }
  .hero-actions { align-items: stretch; }
  .hero p:not(.eyebrow) { margin-inline: auto; }
  .form-row,
  .form-row.three,
  .choice-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .button { width: 100%; }
  .cta-strip { align-items: stretch; }
  .services-cta-card .button {
    justify-self: stretch;
    width: auto;
    margin: 0 20px 22px;
  }

  .home-contact-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .subservice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
