html {
  scroll-behavior: smooth;
}

[data-heading-line] {
  display: inline-block;
}
.button {
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}
.desktop-nav a,
.footer-links a,
.footer-legal a,
.footer-contact a,
.contact-email,
.text-link {
  transition:
    color 220ms ease,
    text-decoration-color 220ms ease,
    border-color 220ms ease;
}
.desktop-nav a:hover,
.contact-email:hover {
  color: var(--orange-dark);
}
.site-footer a:hover {
  color: #ffc4a7;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}
.service-photo {
  overflow: hidden;
  border-radius: 8px;
}
.service-photo img {
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) and (pointer: fine) {
  .service-row:hover .service-photo img {
    transform: scale(1.025);
  }
}
[data-process-line] {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.comparison {
  margin: 0;
  min-width: 0;
}
.comparison-stage {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  --split: 50%;
  background: #dce0d6;
}
.comparison-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.comparison-before {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: #fffdfa;
  transform: translateX(-50%);
  pointer-events: none;
}
.comparison-divider button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: #fffdfa;
  border-radius: 50%;
  color: #213c32;
  font-size: 26px;
  line-height: 1;
  pointer-events: auto;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.comparison-divider button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.comparison-label {
  position: absolute;
  bottom: 16px;
  background: #213c32;
  color: #fffdfa;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 13px;
}
.comparison-label--before {
  left: 16px;
}
.comparison-label--after {
  right: 16px;
}
.comparison figcaption {
  margin: 8px 0;
}
.comparison-toggle {
  display: none;
}
.comparison-error .comparison-stage {
  display: none;
}
@media (max-width: 767px) {
  .comparison-divider,
  .comparison-label {
    display: none;
  }
  .comparison-toggle {
    display: flex;
    gap: 12px;
    margin-top: 12px;
  }
  .comparison-toggle button {
    flex: 1;
  }
  .comparison-toggle [aria-pressed="true"] {
    background: #213c32;
    color: #fffdfa;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .button:hover {
    transform: none;
  }
  .service-row:hover .service-photo img {
    transform: none;
  }
}
