:root {
  --fdl-ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
  --fdl-ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0 !important;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

[id] {
  scroll-margin-top: 96px;
}

html:not(.fdl-motion) [data-aos],
html.fdl-motion-failed [data-aos],
html.fdl-motion .fdl-aos-suppressed {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
  transition: none !important;
}

html.fdl-motion-setup [data-aos],
html.fdl-motion-setup .fdl-contact-target,
html.fdl-motion-setup .hero-content > h5,
html.fdl-motion-setup .hero-content > h1,
html.fdl-motion-setup .hero-content > .ob-button-list,
html.fdl-motion-setup hr {
  transition: none !important;
}

html.fdl-motion [data-aos]:not(.fdl-aos-suppressed):not(.hero-content) {
  opacity: 0;
  filter: blur(3px);
  transform: none;
  transition-property: transform, opacity, filter;
  transition-duration: 1000ms;
  transition-delay: var(--fdl-delay, 100ms);
  transition-timing-function: var(--fdl-ease-fluid);
  will-change: transform, opacity, filter;
}

html.fdl-motion [data-aos="fade-up"]:not(.fdl-aos-suppressed) {
  transform: translateY(30px);
}

html.fdl-motion [data-aos="fade-left"]:not(.fdl-aos-suppressed) {
  transform: translateX(30px);
}

html.fdl-motion [data-aos="fade-right"]:not(.fdl-aos-suppressed) {
  transform: translateX(-30px);
}

html.fdl-motion [data-aos].fdl-split-half:not(.aos-in) {
  transform: translateX(var(--fdl-split-x));
  transition-delay: 100ms;
}

html.fdl-motion [data-aos].aos-in:not(.fdl-aos-suppressed):not(.hero-content),
html.fdl-motion .fdl-contact-target.fdl-in {
  opacity: 1;
  transform: none;
  filter: none;
}

html.fdl-motion .hero-content[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

html.fdl-motion .hero-content > h5,
html.fdl-motion .hero-content > h1,
html.fdl-motion .hero-content > .ob-button-list {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(20px);
  transition-property: transform, opacity, filter;
  transition-duration: 800ms;
  transition-timing-function: var(--fdl-ease-fluid);
}

html.fdl-motion .hero-content > h5 { transition-delay: 300ms; }
html.fdl-motion .hero-content > h1 { transition-delay: 550ms; }
html.fdl-motion .hero-content > .ob-button-list { transition-delay: 850ms; }

html.fdl-motion .hero-content.fdl-hero-in > h5,
html.fdl-motion .hero-content.fdl-hero-in > h1,
html.fdl-motion .hero-content.fdl-hero-in > .ob-button-list {
  opacity: 1;
  filter: none;
  transform: none;
}

html.fdl-motion .fdl-contact-target {
  opacity: 0;
  filter: blur(3px);
  transform: translateX(-30px);
  transition: transform 700ms var(--fdl-ease-fluid), opacity 700ms var(--fdl-ease-fluid), filter 700ms var(--fdl-ease-fluid);
  transition-delay: var(--fdl-contact-delay, 0ms);
}

html.fdl-motion hr {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--fdl-ease-fluid);
}

html.fdl-motion hr.fdl-hr-in {
  transform: scaleX(1);
}

.site-nav-link {
  position: relative;
}

.site-nav-parent-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  align-items: center;
  gap: 8px;
  font: inherit;
  cursor: pointer !important;
  display: flex;
}

.site-nav-arrow {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 200ms var(--fdl-ease-fluid);
}

.site-nav-parent:hover .site-nav-dropdown,
.site-nav-parent.is-open .site-nav-dropdown {
  display: block;
}

.site-nav-parent-trigger[aria-expanded="true"] .site-nav-arrow {
  transform: translateY(2px) rotate(225deg);
}

.site-nav-link::after {
  position: absolute;
  right: 16px;
  bottom: 3px;
  left: 16px;
  height: 2px;
  content: "";
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--fdl-ease-spring);
}

.site-nav-toggle {
  position: relative;
  gap: 0;
}

.site-nav-toggle-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 50% 50%;
}

.site-nav-toggle-bar:first-child {
  transform: translate(-50%, -50%) translateY(-7px);
}

.site-nav-toggle-bar:nth-child(2) {
  transform: translate(-50%, -50%);
}

.site-nav-toggle-bar:nth-child(3) {
  transform: translate(-50%, -50%) translateY(7px);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-bar:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-bar:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

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

.site-btn,
.site-cookie-accept,
.site-cookie-decline,
.form input[type="submit"] {
  transform: none !important;
  transition-property: color, background-color, border-color !important;
  transition-duration: 400ms !important;
  transition-timing-function: var(--fdl-ease-fluid) !important;
}

.site-btn:active,
.site-cookie-accept:active,
.site-cookie-decline:active,
.form input[type="submit"]:active {
  transform: none !important;
}

.site-btn:focus-visible,
.site-cookie-accept:focus-visible,
.site-cookie-decline:focus-visible,
.site-nav-toggle:focus-visible,
.site-nav-link:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.fdl-split-half picture img {
  transition: transform 600ms var(--fdl-ease-fluid);
}

/* The source legal pages use the shared full-width content container. */
.legal-page {
  max-width: var(--container-maxw);
}

@media (max-width: 700px) {
  .site-maxw {
    padding-inline: 20px;
  }

  .legal-page {
    padding-inline: 20px;
  }
}

.site-contact-logo {
  margin-bottom: 40px;
}

/* Match the original service-copy rhythm below every divider on service routes. */
.fdl-service-page hr {
  margin-bottom: 24px;
}

.site-contact-logo img {
  width: 350px;
  height: auto;
  max-width: 100%;
}

@media (max-width: 700px) {
  .site-contact-logo img {
    width: 50%;
  }
}

@media (min-width: 851px) {
  .split-section:nth-child(odd) .split-text {
    order: initial;
    padding-right: 0;
    padding-left: 10%;
  }

  .split-section:nth-child(odd) .split-text-inner {
    padding-right: 40px;
    padding-left: 0;
  }

  .split-section:nth-child(even) .split-text {
    order: -1;
    padding-right: 10%;
    padding-left: 0;
  }

  .split-section:nth-child(even) .split-text-inner {
    padding-right: 0;
    padding-left: 40px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .service-card a {
    transition: transform 400ms var(--fdl-ease-spring), box-shadow 400ms var(--fdl-ease-spring);
  }

  .service-card a:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgb(0 0 0 / 14%), 0 4px 10px rgb(255 0 0 / 18%);
  }

  .fdl-split-half picture:hover img {
    transform: scale(1.02);
  }
}

@media (max-width: 850px) {
  .split-section {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .split-img,
  .split-text,
  .split-text-inner {
    min-width: 0;
    max-width: 100%;
  }

  .split-text h2,
  .split-text p {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.fdl-motion [data-aos],
  html.fdl-motion .fdl-contact-target,
  html.fdl-motion .hero-content > h5,
  html.fdl-motion .hero-content > h1,
  html.fdl-motion .hero-content > .ob-button-list,
  html.fdl-motion hr {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Wave8: the fixed navigation must not subtract from the source hero height. */
body { line-height: 1.3; }
.hero-picture-section { margin-top: 0 !important; height: auto; min-height: 65vh; }
.hero-content { padding: 40px 10% 40px 40px; }
.hero-content h5 { font-size: 19.2px; font-weight: 500; line-height: 1.2; margin: 0 0 .67em; }
.hero-content h1 { line-height: 1.2; margin: 0 0 .67em; }
.hero-content .ob-button-list { align-items: flex-start; min-height: 0; }
.hero-content .site-btn { min-height: 0; height: auto; font-weight: 400; line-height: 1.3; padding: 7px 10px 6px; }
.site-nav-desktop .site-nav-link { color: #ff0000; font-size: 14px; font-weight: 400; }
h2 { font-size: 36.8px; line-height: 1; }
@media (max-width: 750px) {
  .hero-picture-section { min-height: 65vh; }
  .hero-content { padding: 0 20px; }
  .hero-content > div:last-child:empty { margin-top: 40px !important; }
  .hero-picture-section + section .col2-c6 > div:first-child:empty { margin-top: 0 !important; }
}
@media (max-width: 550px) { h2 { font-size: 32px; line-height: 1.2; } }
