:root {
  --ink: #10283f;
  --text: #23384a;
  --muted: #596d78;
  --line: #9daf9a;
  --soft: #d2dfc6;
  --brand-light: #c7f04e;
  --canvas: #dbe7d1;
  --surface: #e3ecd9;
  --surface-strong: #d6e3ce;
  --blue-soft: #d8e8e5;
  --green-soft: #d8e7c3;
  --blue: #205080;
  --blue-deep: #10283f;
  --blue-panel: #173f68;
  --blue-panel-soft: #204b70;
  --green: #90a020;
  --green-bright: #a8c532;
  --green-pale: #c7f04e;
  --charcoal: #252a2c;
  --charcoal-soft: #313739;
  --green-glass: rgba(144, 160, 32, 0.14);
  --green-border: rgba(168, 197, 50, 0.34);
  --green-copy: rgba(199, 240, 78, 0.84);
  --blue-copy: rgba(248, 252, 246, 0.94);
  --blue-copy-muted: rgba(248, 252, 246, 0.82);
  --blue-copy-soft: rgba(248, 252, 246, 0.68);
  --hero-white: #fbfff4;
  --purple: #6e2cf4;
  --shadow: 0 24px 70px rgba(16, 40, 63, 0.16);
  --radius: 8px;
  --cursor-default: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3E%3Cpath%20fill='%23205080'%20stroke='%23c7f04e'%20stroke-width='1.4'%20stroke-linejoin='round'%20d='M6%203v23l6.7-6.4%203.6%208.1%203.1-1.4-3.7-8.2H25L6%203z'/%3E%3C/svg%3E") 6 3, auto;
  --cursor-action: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3E%3Ccircle%20cx='13'%20cy='13'%20r='9'%20fill='%23252a2c'%20stroke='%23c7f04e'%20stroke-width='2.5'/%3E%3Ccircle%20cx='13'%20cy='13'%20r='4.5'%20fill='%23a8c532'/%3E%3Cpath%20fill='none'%20stroke='%23c7f04e'%20stroke-width='2.5'%20stroke-linecap='round'%20d='M21%2021l6%206'/%3E%3C/svg%3E") 13 13, pointer;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--blue) #edf3e8;
  scrollbar-width: thin;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 13px;
  height: 13px;
}

::-webkit-scrollbar-track {
  background: #edf3e8;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #edf3e8;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green-bright), var(--blue));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--green), var(--blue-deep));
}

::-webkit-scrollbar-corner {
  background: #edf3e8;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--canvas);
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: var(--cursor-default);
  }

  a,
  button,
  summary,
  label,
  .flip-card,
  .nav-link,
  .nav-call,
  .button,
  .mobile-call-button,
  .scroll-top,
  [role="button"],
  [tabindex]:not([tabindex="-1"]) {
    cursor: var(--cursor-action);
  }

  input,
  textarea,
  select {
    cursor: auto;
  }
}

body.menu-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-size: 3.25rem;
}

h2 {
  font-size: 2.35rem;
}

h3 {
  font-size: 1.25rem;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--brand-light);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(168, 197, 50, 0.22);
  background: rgba(37, 42, 44, 0.96);
  box-shadow: 0 14px 34px rgba(10, 18, 22, 0.24);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-bright), rgba(168, 197, 50, 0.18), var(--green));
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand img {
  width: 168px;
  height: auto;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  background: var(--charcoal-soft);
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--green-bright);
  transition: transform 180ms ease, background 180ms ease, top 180ms ease;
}

.menu-button span {
  position: relative;
}

.menu-button span::before,
.menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

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

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

.nav-toggle:checked ~ .menu-button span {
  background: transparent;
}

.nav-toggle:checked ~ .menu-button span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked ~ .menu-button span::after {
  top: 0;
  transform: rotate(-45deg);
}

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

.nav-link {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--green-pale);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: linear-gradient(135deg, rgba(144, 160, 32, 0.24), rgba(168, 197, 50, 0.08));
  color: var(--green-bright);
}

.nav-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  background: var(--charcoal-soft);
  color: var(--green-bright);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.nav-call:hover,
.button:hover {
  background: #1f2426;
}

.button.secondary {
  background: var(--green);
  color: #172023;
}

.button.secondary:hover {
  background: #778a18;
}

.button.light {
  border: 1px solid var(--green-border);
  background: var(--green-glass);
  color: var(--green-pale);
}

.button.light:hover {
  background: rgba(144, 160, 32, 0.24);
}

.button.ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.ghost:hover {
  background: var(--green-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: end;
  color: var(--brand-light);
  background: var(--blue-deep);
}

.hero.page-hero {
  min-height: 460px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.05);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 900ms ease, transform 1400ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.home-driveway-slide {
  object-position: 58% 62%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(9, 24, 38, 0.88), rgba(9, 24, 38, 0.58) 48%, rgba(9, 24, 38, 0.12));
}

.slider-controls {
  position: absolute;
  right: max(24px, calc((100vw - 1080px) / 2));
  bottom: 120px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.slider-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  background: rgba(37, 42, 44, 0.76);
  color: var(--brand-light);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: var(--green);
  outline: 0;
}

.slider-progress {
  width: min(310px, 100%);
  height: 6px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(144, 160, 32, 0.22);
  box-shadow: inset 0 0 0 1px rgba(168, 197, 50, 0.14);
}

.slider-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-bright), var(--blue-soft));
  transform: scaleX(0);
  transform-origin: left center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 88px 0 32px;
}

.page-hero .hero-content {
  padding: 88px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 11px;
  border: 1px solid var(--green-border);
  border-radius: 999px;
  background: var(--green-glass);
  color: var(--green-bright);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1 {
  color: var(--hero-white);
}

.hero h2 {
  color: var(--green-bright);
}

.hero h1 {
  max-width: 850px;
}

.hero p {
  max-width: 660px;
  margin-top: 22px;
  color: var(--blue-copy);
  font-size: 1.2rem;
}

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

.proof-strip {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  background: rgba(37, 42, 44, 0.66);
  backdrop-filter: blur(16px);
}

.proof-item {
  padding: 14px 20px;
  border-right: 1px solid rgba(168, 197, 50, 0.18);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-number {
  display: block;
  color: var(--green-bright);
  font-size: 1.45rem;
  font-weight: 900;
}

.proof-label {
  display: block;
  margin-top: 4px;
  color: var(--blue-copy-soft);
  font-size: 0.88rem;
}

.section {
  padding: 82px 0;
  background: linear-gradient(135deg, #143b5c, var(--blue-panel));
  color: var(--brand-light);
}

.section h2,
.section h3 {
  color: var(--green-bright);
}

.section p,
.section .section-intro,
.copy-stack p,
.service-detail p {
  color: var(--blue-copy);
}

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

.reveal-ready .reveal {
  transform: translateY(18px);
  opacity: 0.18;
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.section.soft {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-panel) 58%, #1c4f62);
}

.section.dark {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-panel));
  color: var(--brand-light);
}

.section.dark h2,
.section.dark h3 {
  color: var(--green-bright);
}

.section.dark p,
.section.dark .section-intro {
  color: var(--blue-copy-muted);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(280px, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 38px;
}

.section-head h2 {
  max-width: 680px;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green-bright);
  font-weight: 900;
}

.section-intro {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 520px;
  margin-top: 28px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.two-column > * {
  min-width: 0;
}

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

.copy-stack h2 {
  max-width: 680px;
}

.copy-stack p {
  color: var(--blue-copy);
  font-size: 1.06rem;
}

.feature-list {
  display: grid;
  gap: 13px;
  margin-top: 10px;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--blue-copy);
  font-weight: 700;
}

.feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  color: currentColor;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}

.image-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--blue-deep);
}

.image-panel img,
.image-panel video {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.image-panel video {
  background: var(--blue-deep);
}

.video-panel {
  min-height: 430px;
}

.video-poster {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--blue-deep);
  color: var(--brand-light);
  cursor: pointer;
}

.video-poster img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 40, 63, 0.04), rgba(16, 40, 63, 0.48));
}

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 74px;
  height: 74px;
  border: 2px solid var(--green-pale);
  border-radius: 999px;
  background: rgba(16, 40, 63, 0.72);
  box-shadow: 0 18px 44px rgba(9, 24, 38, 0.34);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(14px);
}

.video-play-button::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 22px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid var(--green-pale);
}

.video-poster:hover img,
.video-poster:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.video-poster:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: -6px;
}

.video-panel .team-video {
  display: none;
}

.video-panel.is-video-active .video-poster,
.video-panel.is-video-active .floating-note {
  display: none;
}

.video-panel.is-video-active .team-video {
  display: block;
}

.floating-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: 240px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(37, 42, 44, 0.94);
  box-shadow: 0 18px 44px rgba(9, 24, 38, 0.26);
}

.floating-note p,
.floating-note span {
  color: var(--blue-copy-muted);
}

.floating-note strong {
  display: block;
  color: var(--green-bright);
  font-size: 1.6rem;
  line-height: 1;
}

.floating-note span {
  display: block;
  margin-top: 5px;
  color: var(--blue-copy-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.before-after-panel {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-deep);
  box-shadow: var(--shadow);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}

.comparison-frame {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--blue-deep);
}

.comparison-frame::before,
.comparison-frame::after {
  content: none;
}

.comparison-watermark {
  position: absolute;
  top: 18px;
  z-index: 3;
  display: block;
  box-sizing: border-box;
  padding: 9px 13px;
  border: 1px solid var(--green-border);
  border-radius: 999px;
  background: rgba(13, 28, 42, 0.92);
  color: var(--green-bright);
  box-shadow: 0 12px 28px rgba(9, 24, 38, 0.32);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  backdrop-filter: blur(12px);
}

.comparison-watermark-before {
  left: 18px;
  opacity: var(--before-label-opacity, 1);
}

.comparison-watermark-after {
  left: calc(var(--position, 50%) + 16px);
  opacity: var(--after-label-opacity, 1);
}

.comparison-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-after-base {
  z-index: 1;
}

.comparison-before-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--position, 50%)) 0 0);
}

.comparison-before-layer img {
  width: 100%;
  max-width: 100%;
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  opacity: 0;
  touch-action: pan-y;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position, 50%);
  z-index: 5;
  width: 3px;
  background: var(--green-pale);
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border: 2px solid var(--green-pale);
  border-radius: 999px;
  background: rgba(16, 40, 63, 0.72);
  box-shadow: 0 14px 34px rgba(9, 24, 38, 0.34);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-left: 3px solid var(--green-pale);
  border-right: 3px solid var(--green-pale);
  transform: translate(-50%, -50%);
}

.before-after-panel .floating-note {
  pointer-events: none;
}

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

.service-card,
.review-card,
.info-card,
.step-card {
  border: 1px solid rgba(168, 197, 50, 0.18);
  border-radius: var(--radius);
  background: rgba(144, 160, 32, 0.1);
  color: var(--brand-light);
  box-shadow: 0 18px 46px rgba(9, 24, 38, 0.12);
}

.service-card h3,
.review-card h3,
.info-card h3,
.step-card h3 {
  color: var(--green-bright);
}

.service-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.flip-grid {
  align-items: stretch;
}

.flip-card {
  min-height: 440px;
  outline: 0;
  perspective: 1100px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  transition: transform 620ms ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner,
.flip-card:focus-within .flip-inner,
.flip-card:focus .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
}

.flip-front.service-card {
  position: relative;
  height: 100%;
}

.flip-front.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 40, 63, 0.04), rgba(16, 40, 63, 0.72));
  pointer-events: none;
}

.flip-front.service-card img {
  height: 100%;
  min-height: 440px;
  aspect-ratio: auto;
}

.service-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 18px;
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  background: rgba(37, 42, 44, 0.78);
  color: var(--brand-light);
  box-shadow: 0 18px 48px rgba(16, 40, 63, 0.22);
  backdrop-filter: blur(18px) saturate(1.18);
}

.service-overlay h3 {
  color: var(--green-bright);
}

.service-overlay p {
  margin-top: 8px;
  color: var(--blue-copy);
}

.service-tag {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green-bright);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flip-back {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--blue-deep), var(--blue));
  color: var(--brand-light);
  transform: rotateY(180deg);
}

.flip-back:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: -6px;
}

.flip-back h3 {
  color: var(--green-bright);
}

.flip-back p {
  margin-top: 12px;
  color: var(--blue-copy-muted);
}

.flip-back-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--green-bright);
  font-weight: 900;
}

.flip-back:hover .flip-back-link,
.flip-back:focus-visible .flip-back-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.flip-back .section-kicker {
  color: var(--green-bright);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.flip-front.service-card:hover {
  transform: none;
  box-shadow: none;
}

.flip-front.service-card img {
  height: 100%;
  min-height: 440px;
  aspect-ratio: auto;
}

.service-body {
  padding: 20px;
}

.service-body.service-overlay {
  padding: 18px;
}

.service-body p {
  margin-top: 10px;
  color: var(--blue-copy-muted);
}

.service-overlay p {
  margin-top: 8px;
  color: var(--blue-copy);
}

.service-body a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-pale);
  font-weight: 900;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  padding: 24px;
  background: rgba(144, 160, 32, 0.11);
}

.step-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--charcoal-soft);
  color: var(--green-bright);
  font-weight: 900;
}

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

.home-mid-banner {
  position: relative;
  display: grid;
  min-height: clamp(430px, 48vw, 620px);
  align-items: center;
  overflow: hidden;
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(13, 28, 42, 0.88), rgba(13, 28, 42, 0.64) 48%, rgba(13, 28, 42, 0.24)),
    url("../img/HOE PAGE BANNER MID PAGE.jpeg") center / cover no-repeat;
  color: var(--green-pale);
}

.home-mid-banner-inner {
  position: relative;
  z-index: 1;
}

.home-mid-banner-copy {
  max-width: 650px;
}

.home-mid-banner .section-kicker,
.home-mid-banner h2 {
  color: var(--green-bright);
}

.home-mid-banner h2 {
  max-width: 720px;
  text-shadow: 0 4px 24px rgba(9, 24, 38, 0.72);
}

.home-mid-banner p {
  max-width: 590px;
  margin-top: 18px;
  color: var(--blue-copy);
  font-size: 1.08rem;
  text-shadow: 0 3px 18px rgba(9, 24, 38, 0.82);
}

.home-mid-banner .button {
  margin-top: 28px;
}

.rating-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.rating-box {
  padding: 22px;
  border: 1px solid rgba(168, 197, 50, 0.18);
  border-radius: var(--radius);
  background: rgba(144, 160, 32, 0.1);
}

.rating-box strong {
  display: block;
  color: var(--green-bright);
  font-size: 1.55rem;
}

.rating-box span {
  display: block;
  margin-top: 5px;
  color: var(--blue-copy-soft);
}

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

.review-card {
  padding: 24px;
}

.section.dark .review-card {
  border-color: rgba(168, 197, 50, 0.18);
  background: rgba(144, 160, 32, 0.1);
}

.section.dark .info-card h3 {
  color: var(--green-bright);
}

.section.dark .info-card p,
.section.dark .info-card li {
  color: var(--blue-copy-muted);
}

.stars {
  color: var(--green-bright);
  font-size: 1rem;
  line-height: 1;
}

.review-card p {
  margin-top: 16px;
  color: var(--blue-copy-muted);
}

.section.dark .review-card p {
  color: var(--blue-copy);
}

.review-author {
  display: block;
  margin-top: 18px;
  color: var(--green-bright);
  font-weight: 900;
}

.section.dark .review-author {
  color: var(--green-bright);
}

.review-date {
  display: block;
  margin-top: 2px;
  color: var(--blue-copy-soft);
  font-size: 0.9rem;
}

.section.dark .review-date {
  color: var(--blue-copy-soft);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border: 1px solid rgba(168, 197, 50, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 37, 58, 0.92), rgba(32, 80, 128, 0.76) 62%, rgba(100, 117, 26, 0.84)),
    url("../img/jw-home-improvements-contact-page-hero.jpg") center / cover no-repeat;
  color: var(--brand-light);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: var(--green-bright);
}

.cta-band p {
  max-width: 660px;
  margin-top: 14px;
  color: var(--blue-copy);
}

.cta-band .hero-actions {
  margin-top: 24px;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.info-card {
  padding: 24px;
}

.info-card h3 {
  margin-bottom: 10px;
}

.info-card p,
.info-card li {
  color: var(--blue-copy-muted);
}

.info-card li {
  position: relative;
  padding-left: 24px;
  margin-top: 10px;
}

.info-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid rgba(168, 197, 50, 0.18);
}

.service-detail:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-detail img {
  align-self: start;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(168, 197, 50, 0.2);
  border-radius: var(--radius);
  object-fit: cover;
}

.service-detail p {
  margin-top: 12px;
  color: var(--blue-copy);
}

.service-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-points span {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--green-glass);
  color: var(--green-bright);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: 24px;
}

.contact-panel {
  padding: 30px;
  border: 1px solid rgba(168, 197, 50, 0.18);
  border-radius: var(--radius);
  background: rgba(144, 160, 32, 0.1);
  color: var(--brand-light);
  box-shadow: 0 18px 46px rgba(9, 24, 38, 0.12);
}

.contact-method {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid rgba(168, 197, 50, 0.18);
}

.contact-method:first-of-type {
  border-top: 0;
}

.contact-method span {
  color: var(--blue-copy-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-method a,
.contact-method strong {
  color: var(--green-bright);
  font-size: 1.2rem;
  font-weight: 900;
}

.contact-number-list {
  display: grid;
  gap: 8px;
}

.contact-number-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}

.contact-number-list span {
  min-width: 92px;
}

.contact-number-list a {
  font-size: 1.05rem;
}

.quote-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.quote-list li {
  padding: 14px 14px 14px 38px;
  border-radius: var(--radius);
  background: var(--green-glass);
  color: var(--blue-copy);
  position: relative;
  font-weight: 700;
}

.quote-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green-bright);
}

.contact-panel-image {
  display: block;
  inline-size: min(72%, 320px);
  block-size: 132px;
  max-block-size: 132px;
  margin: 26px auto 0;
  border: 1px solid rgba(168, 197, 50, 0.2);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 40px rgba(9, 24, 38, 0.2);
}

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

.area-grid span {
  padding: 12px 14px;
  border: 1px solid rgba(168, 197, 50, 0.18);
  border-radius: var(--radius);
  background: rgba(144, 160, 32, 0.1);
  color: var(--blue-copy);
  font-weight: 800;
}

.section.brand-green {
  background: linear-gradient(135deg, var(--green-bright), #9caf27 58%, var(--green));
  color: var(--blue-deep);
}

.section.brand-green h2,
.section.brand-green h3,
.section.brand-green .info-card h3,
.section.brand-green .step-card h3,
.section.brand-green .review-card h3,
.section.brand-green p,
.section.brand-green .section-intro,
.section.brand-green .copy-stack p,
.section.brand-green .service-detail p,
.section.brand-green .feature-list li,
.section.brand-green .info-card p,
.section.brand-green .info-card li,
.section.brand-green .step-card p,
.section.brand-green .review-card p,
.section.brand-green .rating-box span,
.section.brand-green .review-date,
.section.brand-green .contact-method span,
.section.brand-green .quote-list li,
.section.brand-green .area-grid span,
.section.brand-green .footer-bottom {
  color: var(--blue-deep);
}

.section.dark.brand-green .info-card h3,
.section.dark.brand-green .info-card p,
.section.dark.brand-green .info-card li {
  color: var(--blue-deep);
}

.section.brand-green .section-kicker,
.section.brand-green .stars,
.section.brand-green .review-author,
.section.brand-green .contact-method a,
.section.brand-green .contact-method strong,
.section.brand-green .service-body a,
.section.brand-green .service-points span {
  color: var(--blue-deep);
}

.section.brand-green .info-card,
.section.brand-green .step-card,
.section.brand-green .review-card,
.section.brand-green .rating-box,
.section.brand-green .contact-panel,
.section.brand-green .area-grid span,
.section.brand-green .quote-list li {
  border-color: rgba(16, 40, 63, 0.2);
  background: rgba(16, 40, 63, 0.08);
  color: var(--blue-deep);
}

.section.brand-green .service-detail {
  border-color: rgba(16, 40, 63, 0.18);
}

.section.brand-green .service-detail img {
  border-color: rgba(16, 40, 63, 0.2);
}

.section.brand-green .service-points span {
  background: rgba(16, 40, 63, 0.12);
}

.section.brand-green .quote-list li::before,
.section.brand-green .info-card li::before {
  background: var(--blue-deep);
}

.section.brand-green .step-number {
  background: var(--blue-deep);
  color: var(--green-bright);
}

.section.brand-green .button.secondary {
  background: var(--blue-deep);
  color: var(--green-bright);
}

.section.brand-green .button.secondary:hover {
  background: var(--blue-panel);
}

.section.brand-green .button.light {
  border-color: rgba(16, 40, 63, 0.28);
  background: rgba(16, 40, 63, 0.08);
  color: var(--blue-deep);
}

.section.brand-green .button.light:hover {
  background: rgba(16, 40, 63, 0.14);
}

.section.brand-green .floating-note {
  border: 1px solid rgba(16, 40, 63, 0.18);
  background: rgba(199, 240, 78, 0.94);
}

.section.brand-green .floating-note strong,
.section.brand-green .floating-note span,
.section.brand-green .floating-note p {
  color: var(--blue-deep);
}

.section.brand-green .info-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(32, 80, 128, 0.46);
  background: linear-gradient(135deg, var(--charcoal-soft), #253238 68%, var(--blue-deep));
  color: var(--brand-light);
  box-shadow: inset 4px 0 0 var(--blue), 0 18px 42px rgba(16, 40, 63, 0.18);
}

.section.brand-green .info-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 197, 50, 0.08), rgba(32, 80, 128, 0.2));
  pointer-events: none;
}

.section.brand-green .info-card h3,
.section.dark.brand-green .info-card h3 {
  position: relative;
  z-index: 1;
  color: var(--green-bright);
}

.section.brand-green .info-card p,
.section.brand-green .info-card li,
.section.dark.brand-green .info-card p,
.section.dark.brand-green .info-card li {
  position: relative;
  z-index: 1;
  color: var(--blue-copy-muted);
}

.section.brand-green .info-card li::before {
  background: var(--blue);
}

.section.brand-green .service-overlay,
.section.brand-green .flip-back {
  color: var(--brand-light);
}

.section.brand-green .service-overlay h3,
.section.brand-green .flip-back h3,
.section.brand-green .service-tag,
.section.brand-green .flip-back .section-kicker,
.section.brand-green .flip-back-link {
  color: var(--green-bright);
}

.section.brand-green .service-overlay p,
.section.brand-green .flip-back p {
  color: var(--blue-copy);
}

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

.gallery-summary {
  margin: -8px 0 22px;
}

.gallery-summary p {
  color: var(--blue-deep);
  font-weight: 900;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 330px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(168, 197, 50, 0.18);
  border-radius: var(--radius);
  background: rgba(144, 160, 32, 0.1);
  color: inherit;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(9, 24, 38, 0.12);
}

.section.brand-green .gallery-card {
  border-color: rgba(16, 40, 63, 0.22);
  background: rgba(16, 40, 63, 0.08);
}

.gallery-card-wide {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.gallery-video-poster {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 330px;
  place-items: center;
  gap: 12px;
  align-content: center;
  background: linear-gradient(135deg, var(--charcoal-soft), var(--blue-deep));
  color: var(--green-bright);
  overflow: hidden;
  transition: transform 320ms ease, filter 320ms ease;
}

.gallery-video-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 40, 63, 0.32), rgba(16, 40, 63, 0.74)),
    radial-gradient(circle at 50% 44%, rgba(169, 203, 27, 0.26), rgba(16, 40, 63, 0) 54%);
}

.gallery-video-poster .gallery-video-logo {
  width: min(62%, 250px);
  height: auto;
  min-height: 0;
  max-height: 155px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(9, 24, 38, 0.36));
}

.gallery-play-icon {
  position: relative;
  width: 62px;
  height: 62px;
  border: 2px solid var(--green-pale);
  border-radius: 999px;
  background: rgba(16, 40, 63, 0.72);
  box-shadow: 0 18px 44px rgba(9, 24, 38, 0.34);
}

.gallery-play-icon::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--green-pale);
}

.gallery-video-label {
  font-weight: 900;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 40, 63, 0), rgba(16, 40, 63, 0.1));
  pointer-events: none;
}

.gallery-card:hover img,
.gallery-card:hover .gallery-video-poster {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.gallery-card:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

.gallery-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.gallery-page-button {
  min-width: 42px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 40, 63, 0.24);
  border-radius: var(--radius);
  background: rgba(16, 40, 63, 0.08);
  color: var(--blue-deep);
  font-weight: 900;
  cursor: pointer;
}

.gallery-page-button:hover,
.gallery-page-button:focus-visible,
.gallery-page-button[aria-current="page"] {
  background: var(--blue-deep);
  color: var(--green-bright);
  outline: 0;
}

.gallery-page-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 34px 78px;
  background: rgba(5, 15, 24, 0.88);
  backdrop-filter: blur(18px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-stage {
  display: grid;
  max-width: min(100%, 1120px);
  max-height: min(82vh, 820px);
  place-items: center;
}

.gallery-lightbox-image,
.gallery-lightbox-video {
  max-width: min(100%, 1120px);
  max-height: min(82vh, 820px);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-video {
  width: min(100%, 1120px);
  background: var(--blue-deep);
}

.gallery-control {
  position: fixed;
  z-index: 82;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  background: rgba(37, 42, 44, 0.78);
  color: var(--brand-light);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.gallery-control:hover,
.gallery-control:focus-visible {
  background: var(--green);
  outline: 0;
}

.gallery-close {
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 1.7rem;
  line-height: 1;
}

.gallery-prev,
.gallery-next {
  top: 50%;
  width: 52px;
  height: 62px;
  font-size: 2.3rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 24px;
}

.gallery-next {
  right: 24px;
}

body.lightbox-open {
  overflow: hidden;
}

.site-footer {
  padding: 54px 0 28px;
  background: linear-gradient(135deg, #0f253a, var(--blue-deep));
  color: var(--brand-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 30px;
}

.footer-brand img {
  width: 148px;
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p,
.site-footer li,
.site-footer a,
.footer-bottom {
  color: var(--blue-copy-muted);
}

.site-footer h2,
.site-footer h3 {
  color: var(--green-bright);
}

.footer-brand h2 {
  font-size: clamp(1.7rem, 2.45vw, 2.15rem);
  line-height: 1.05;
  white-space: nowrap;
}

.site-footer h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:hover {
  color: var(--green-bright);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(168, 197, 50, 0.18);
  font-size: 0.92rem;
}

.purple-credit {
  color: var(--green-bright);
  font-weight: 900;
}

.mobile-call-button,
.scroll-top {
  position: fixed;
  z-index: 35;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(17, 24, 32, 0.22);
  font-weight: 900;
}

.mobile-call-button {
  display: none;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  min-height: 48px;
  padding: 0 16px;
  background: var(--charcoal);
  color: var(--green-bright);
  gap: 9px;
  align-items: center;
}

.mobile-call-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.scroll-top {
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  background: var(--charcoal);
  color: var(--brand-light);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background: var(--green);
  outline: 0;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 40;
  width: min(760px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(168, 197, 50, 0.24);
  border-radius: var(--radius);
  background: rgba(37, 42, 44, 0.96);
  box-shadow: 0 22px 70px rgba(16, 40, 63, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.cookie-banner p {
  color: var(--blue-copy-muted);
  font-size: 0.95rem;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-bright);
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  background: var(--charcoal-soft);
  color: var(--green-pale);
  font-weight: 900;
  cursor: pointer;
}

.cookie-button.accept {
  border-color: var(--green);
  background: var(--green);
  color: #172023;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  border-color: var(--blue);
  outline: 0;
}

.has-cookie-banner .scroll-top {
  bottom: 118px;
}

@media (min-width: 900px) {
  h1 {
    font-size: 4.95rem;
  }

  .page-hero h1 {
    font-size: 4.05rem;
  }
}

@media (min-width: 1240px) {
  .container,
  .proof-strip {
    width: min(1080px, calc(100% - 96px));
  }
}

@media (max-width: 980px) {
  .section-head,
  .two-column,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    margin-top: 0;
    max-width: 720px;
  }

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

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

@media (max-width: 820px) {
  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 132px;
  }

  .menu-button {
    display: grid;
    position: relative;
    z-index: 2;
    flex: 0 0 44px;
    background: var(--charcoal-soft);
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--green-border);
    border-radius: var(--radius);
    background: var(--charcoal);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .nav-toggle:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link,
  .nav-call {
    width: 100%;
    justify-content: center;
  }

  .nav-call {
    margin-top: 8px;
  }

  .hero {
    min-height: 650px;
  }

  .hero.page-hero {
    min-height: 430px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(9, 24, 38, 0.62), rgba(9, 24, 38, 0.88));
  }

  .hero-content {
    padding-top: 84px;
  }

  .slider-controls {
    right: 24px;
    bottom: 176px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.05rem;
  }

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

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(1),
  .proof-item:nth-child(2) {
    border-bottom: 1px solid rgba(168, 197, 50, 0.18);
  }

  .section {
    padding: 68px 0;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .flip-card,
  .flip-inner {
    min-height: auto;
  }

  .flip-inner {
    display: grid;
    gap: 0;
    transform: none;
    transform-style: flat;
  }

  .flip-card:hover .flip-inner,
  .flip-card:focus-within .flip-inner,
  .flip-card:focus .flip-inner {
    transform: none;
  }

  .flip-face {
    position: relative;
    backface-visibility: visible;
  }

  .flip-back {
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    transform: none;
  }

  .flip-front.service-card {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .flip-front.service-card img {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1080px);
  }

  body {
    padding-bottom: 72px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .slider-controls {
    left: 12px;
    right: 12px;
    bottom: 244px;
    justify-content: space-between;
    display: none;
  }

  .slider-arrow {
    width: 42px;
    height: 42px;
  }

  .hero-actions,
  .split-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .nav-call {
    width: 100%;
  }

  .proof-strip,
  .service-grid,
  .review-grid,
  .process-grid,
  .rating-row,
  .area-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card-wide {
    grid-column: auto;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid rgba(168, 197, 50, 0.18);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .image-panel img,
  .image-panel video,
  .video-poster,
  .video-poster img {
    min-height: 330px;
  }

  .comparison-frame {
    min-height: 330px;
  }

  .comparison-watermark {
    top: 12px;
    padding: 8px 10px;
    font-size: 0.72rem;
    max-width: none;
    white-space: nowrap;
  }

  .comparison-watermark-before {
    left: 14px;
  }

  .comparison-watermark-after {
    left: calc(var(--position, 50%) + 10px);
  }

  @media (max-width: 360px) {
    .comparison-watermark {
      padding: 7px 8px;
      font-size: 0.66rem;
      max-width: none;
    }

    .comparison-watermark-before {
      left: 10px;
    }

    .comparison-watermark-after {
      left: calc(var(--position, 50%) + 8px);
    }
  }

  .gallery-card,
  .gallery-card img,
  .gallery-video-poster {
    min-height: 280px;
  }

  .gallery-lightbox {
    padding: 72px 12px 82px;
  }

  .gallery-lightbox-stage,
  .gallery-lightbox-image,
  .gallery-lightbox-video {
    max-height: 72vh;
  }

  .gallery-close {
    top: 16px;
    right: 16px;
  }

  .gallery-prev,
  .gallery-next {
    top: auto;
    bottom: 16px;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .gallery-prev {
    left: 16px;
  }

  .gallery-next {
    right: 16px;
  }

  .cta-band,
  .contact-panel {
    padding: 26px;
  }

  .contact-panel-image {
    inline-size: min(78%, 280px);
    block-size: 124px;
    max-block-size: 124px;
  }

  .footer-bottom {
    display: grid;
  }

  .mobile-call-button {
    display: inline-flex;
  }

  .slider-progress {
    width: 100%;
  }

  .home-driveway-slide {
    object-position: 78% 88%;
  }

  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
  }

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

  .cookie-button {
    width: 100%;
  }

  .has-cookie-banner .mobile-call-button,
  .has-cookie-banner .scroll-top {
    bottom: 196px;
  }

  .has-cookie-banner .mobile-call-button {
    display: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: var(--cursor-default);
  }

  a,
  button,
  summary,
  label,
  .flip-card,
  .nav-link,
  .nav-call,
  .button,
  .slider-arrow,
  .cookie-button,
  .mobile-call-button,
  .scroll-top,
  [role="button"],
  [tabindex]:not([tabindex="-1"]) {
    cursor: var(--cursor-action);
  }

  input,
  textarea,
  select {
    cursor: auto;
  }
}

@media (hover: none), (pointer: coarse) {
  body,
  a,
  button,
  summary,
  label,
  .flip-card,
  .nav-link,
  .nav-call,
  .button,
  .slider-arrow,
  .cookie-button,
  .mobile-call-button,
  .scroll-top,
  [role="button"],
  [tabindex]:not([tabindex="-1"]) {
    cursor: auto;
  }
}
