/* ==========================================================================
   IP Cleaning Group — main stylesheet
   --------------------------------------------------------------------------
   Mobile-first. Design references: 375px (mobile) and 1440px (desktop).
   Breakpoints: 768px (tablet) · 1024px (desktop) · 1280px (wide)

   1.  Tokens
   2.  Base
   3.  Layout & utilities
   4.  Typography
   5.  Buttons & links
   6.  Form fields
   7.  Accordion (FAQ)
   8.  Before / after compare
   9.  Carousel (service gallery)
   10. Modal                               estimate form
   11. Lightbox (photos & video)           + hover hint on gallery / carousel photos
   12. Header & navigation
   13. Hero (home)
   14. Page hero (inner pages) + breadcrumbs
   15. Features
   16. Services
   17. About                               + about--intro (About page)
   18. Service intro (service pages)
   19. Commercial
   20. Post-construction                   + scope-card--columns (service pages)
   21. Service area                        + area--wide (About page)
   22. Our work
   23. Gallery                             + gallery--carousel (service pages)
   24. CTA                                 + cta--spacious (About), cta--compact, cta--light (service)
   25. FAQ
   26. Contact
   27. Footer
   28. Reduced motion
   ========================================================================== */


/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  /* Colors */
  --c-black: #1a1a1a;
  --c-white: #ffffff;
  --c-olive: #5f6b57;
  --c-olive-dark: #4b5545;
  --c-olive-light: #c5ccc0;
  --c-charcoal: #43433e;
  --c-light: #f8f6f2;
  --c-gray: #adadad;
  --c-error: #b0412e;
  --c-line-light: rgb(255 255 255 / 0.5);

  /* Fonts */
  --ff-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --ff-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Fluid type scale: value at 375px → value at 1280px+ */
  --fs-h1: clamp(2.5rem, 1.982rem + 2.21vw, 3.75rem);         /* 40 → 60 */
  --lh-h1: clamp(3.125rem, 2.348rem + 3.315vw, 5rem);         /* 50 → 80 */
  --fs-h2: clamp(2rem, 1.663rem + 1.436vw, 2.8125rem);        /* 32 → 45 */
  --lh-h2: clamp(2.1875rem, 1.799rem + 1.657vw, 3.125rem);    /* 35 → 50 */
  --fs-h3: clamp(1.75rem, 1.646rem + 0.442vw, 2rem);          /* 28 → 32 */
  --lh-h3: clamp(1.875rem, 2.317rem - 0.552vw, 2.1875rem);    /* 35 → 30 */
  --fs-h4: clamp(1.375rem, 1.22rem + 0.663vw, 1.75rem);       /* 22 → 28 */
  --lh-h4: 1.875rem;                                          /* 30 */
  --fs-h5: clamp(1.25rem, 1.198rem + 0.221vw, 1.375rem);      /* 20 → 22 */
  --lh-h5: 1.5625rem;                                         /* 25 */
  --fs-h6: 1.25rem;                                           /* 20 */
  --lh-h6: 1.5625rem;                                         /* 25 */
  --fs-body: clamp(0.875rem, 0.823rem + 0.221vw, 1rem);       /* 14 → 16 */
  --fs-lead: clamp(1rem, 0.896rem + 0.442vw, 1.25rem);        /* 16 → 20 */
  --fs-btn: clamp(1rem, 0.948rem + 0.221vw, 1.125rem);        /* 16 → 18 */
  --fs-num: clamp(5rem, 4.223rem + 3.315vw, 6.875rem);        /* 80 → 110 */
  --ls-serif: 0.02em;

  /* Layout */
  --container: 1200px;
  --gutter: 15px;
  --section-py: clamp(2.8125rem, 2.165rem + 2.762vw, 4.375rem); /* 45 → 70 */
  --btn-py: clamp(0.75rem, 0.672rem + 0.331vw, 0.9375rem);      /* 12 → 15 */
  --header-h: 56px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  :root {
    --gutter: 30px;
    --ls-serif: 0.03em;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 84px;
  }
}

@media (min-width: 1280px) {
  :root {
    --gutter: 40px;
  }
}


/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--c-charcoal);
  background-color: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--c-olive);
  outline-offset: 3px;
}

::selection {
  color: var(--c-white);
  background-color: var(--c-olive);
}

html.is-locked,
html:has(.modal[open]),
html:has(.lightbox[open]) {
  overflow: hidden;
}


/* ==========================================================================
   3. Layout & utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-py);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 18px;
  font-weight: 600;
  color: var(--c-white);
  background-color: var(--c-black);
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* Images that cover their frame */
.service-card__media img,
.about__media img,
.commercial__media img,
.post__media img,
.faq__media img,
.contact-info__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================================
   4. Typography
   ========================================================================== */

/* Small uppercase label with decorative lines: — SERVICES — */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-olive);
}

.section-label::before,
.section-label::after {
  content: "";
  flex: none;
  width: 20px;
  height: 1px;
  background-color: currentColor;
}

.section-label--start::after {
  display: none;
}

.section-label--light {
  color: var(--c-light);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  font-family: var(--ff-serif);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-serif);
  color: var(--c-black);
}

.section-text {
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--c-charcoal);
}

.section-head > .section-label + .section-title {
  margin-top: 30px;
}

.section-head > .section-title + .section-text {
  margin-top: 15px;
}

@media (min-width: 1024px) {
  .section-head > .section-title + .section-text {
    margin-top: 20px;
  }
}


/* ==========================================================================
   5. Buttons & links
   ========================================================================== */

.btn {
  --btn-bg: var(--c-olive);
  --btn-fg: var(--c-white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-py) 30px;
  font-family: var(--ff-sans);
  font-size: var(--fs-btn);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.1em;
  text-align: center;
  white-space: nowrap;
  color: var(--btn-fg);
  background-color: var(--btn-bg);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn__icon {
  flex: none;
  width: 20px;
  height: 8px;
  transition: transform 0.45s var(--ease-out);
}

.btn:hover .btn__icon {
  transform: translateX(5px);
}

.btn--olive:hover {
  --btn-bg: var(--c-olive-dark);
}

.btn--dark {
  --btn-bg: var(--c-black);
}

.btn--dark:hover {
  --btn-bg: var(--c-olive);
}

/* Translucent button used over photos (stroke sits outside, as in the design) */
.btn--glass {
  --btn-bg: rgb(255 255 255 / 0.2);
  box-shadow: 0 0 0 1px var(--c-white);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.btn--glass:hover {
  --btn-bg: var(--c-white);
  --btn-fg: var(--c-black);
}

/* Text link with underline and arrow: "Learn More →" */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  font-size: var(--fs-btn);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: 0.15em;
  color: var(--c-olive);
  border-bottom: 1px solid currentColor;
  transition:
    gap 0.45s var(--ease-out),
    color 0.3s var(--ease);
}

.link-arrow__icon {
  flex: none;
  width: 20px;
  height: 8px;
}

.link-arrow:hover {
  gap: 20px;
  color: var(--c-olive-dark);
}

/* Outlined round arrow button (service cards) */
.circle-btn {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 35px;
  color: var(--c-olive);
  border: 1px solid var(--c-olive);
  border-radius: 50%;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.circle-btn svg {
  width: 15px;
  height: 8px;
  transition: transform 0.45s var(--ease-out);
}

@media (min-width: 1024px) {
  .circle-btn {
    width: 45px;
    height: 40px;
  }

  .circle-btn svg {
    width: 20px;
  }
}


/* ==========================================================================
   6. Form fields
   ========================================================================== */

.field {
  position: relative;
}

.field__control {
  display: block;
  width: 100%;
  height: calc(var(--fs-body) * 1.5 + 24px);
  padding: 11px 14px;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--c-black);
  text-align: left;
  background-color: transparent;
  border: 1px solid var(--c-gray);
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.field__control::placeholder {
  color: var(--c-gray);
  opacity: 1;
}

.field__control:hover {
  border-color: #8f8f8f;
}

.field__control:focus {
  border-color: var(--c-olive);
  box-shadow: inset 0 0 0 1px var(--c-olive);
}

textarea.field__control {
  height: 100px;
  min-height: 100px;
  resize: vertical;
}

select.field__control {
  padding-right: 42px;
  cursor: pointer;
}

.field--select:has(option[value=""]:checked) select {
  color: var(--c-gray);
}

.field--select option {
  color: var(--c-black);
}

.field__icon {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 12px;
  height: 12px;
  color: var(--c-black);
  pointer-events: none;
  translate: 0 -50%;
  transition: rotate 0.3s var(--ease);
}

.field.is-invalid .field__control {
  border-color: var(--c-error);
  box-shadow: inset 0 0 0 1px var(--c-error);
}

.field.is-invalid .field__control::placeholder {
  color: var(--c-error);
}

/* Fully styled dropdown where customizable <select> is supported */
@supports (appearance: base-select) {
  .field--select select,
  .field--select ::picker(select) {
    appearance: base-select;
  }

  .field--select select {
    display: flex;
    align-items: center;
  }

  .field--select select::picker-icon {
    display: none;
  }

  .field--select ::picker(select) {
    max-height: 184px;
    margin-top: 3px;
    padding: 7px 0;
    background-color: var(--c-light);
    border: 1px solid var(--c-gray);
    box-shadow: 0 16px 32px rgb(26 26 26 / 0.08);
    scrollbar-width: thin;
    scrollbar-color: var(--c-olive) transparent;
    opacity: 0;
    translate: 0 -6px;
    transition:
      opacity 0.25s var(--ease),
      translate 0.25s var(--ease),
      overlay 0.25s allow-discrete,
      display 0.25s allow-discrete;
  }

  .field--select ::picker(select):popover-open {
    opacity: 1;
    translate: 0 0;
  }

  @starting-style {
    .field--select ::picker(select):popover-open {
      opacity: 0;
      translate: 0 -6px;
    }
  }

  .field--select option {
    padding: 5px 15px;
    font-size: var(--fs-body);
    line-height: 1.5;
    color: var(--c-black);
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
  }

  .field--select option[value=""] {
    display: none;
  }

  .field--select option::checkmark {
    display: none;
  }

  .field--select option:hover,
  .field--select option:focus-visible {
    color: var(--c-olive);
    background-color: rgb(95 107 87 / 0.08);
  }

  .field--select option:checked {
    color: var(--c-olive);
  }

  .field--select:has(select:open) .field__icon {
    rotate: 180deg;
  }
}


/* ==========================================================================
   7. Accordion (FAQ)
   ========================================================================== */

.accordion {
  background-color: var(--c-white);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  padding: 15px;
  font-family: var(--ff-serif);
  font-size: var(--fs-h5);
  font-weight: 500;
  line-height: var(--lh-h5);
  letter-spacing: var(--ls-serif);
  color: var(--c-black);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.accordion__trigger:focus-visible {
  outline-offset: -2px;
}

.accordion__question {
  transition: color 0.3s var(--ease);
}

.accordion__trigger:hover .accordion__question {
  color: var(--c-olive);
}

/* Plus / minus icon built from two bars */
.accordion__icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  background-color: var(--c-olive);
  transition: background-color 0.3s var(--ease);
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 2px;
  background-color: var(--c-white);
  translate: -50% -50%;
  transition:
    rotate 0.45s var(--ease-out),
    opacity 0.3s var(--ease);
}

.accordion__icon::after {
  rotate: 90deg;
}

.accordion.is-open .accordion__icon::after {
  rotate: 0deg;
  opacity: 0;
}

.accordion__trigger:hover .accordion__icon {
  background-color: var(--c-olive-dark);
}

.accordion__content {
  overflow: hidden;
}

.accordion__content p {
  padding: 0 15px 15px;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--c-charcoal);
}

/* Collapsing is enabled only with JS, so content stays readable without it */
.js .accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 0.5s var(--ease-out),
    visibility 0s linear 0.5s;
}

.js .accordion__content {
  min-height: 0;
}

.js .accordion.is-open .accordion__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition:
    grid-template-rows 0.5s var(--ease-out),
    visibility 0s linear 0s;
}

@media (min-width: 1024px) {
  .accordion__trigger {
    gap: 30px;
    padding: 15px 30px;
  }

  .accordion__content p {
    padding: 0 30px 15px;
  }
}


/* ==========================================================================
   8. Before / after compare
   ========================================================================== */

.compare {
  --pos: 50%;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #e9e6e0;
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}

.compare__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare.is-switching .compare__img {
  opacity: 0;
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 20px;
  margin-left: -10px;
  pointer-events: none;
}

.compare__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9px;
  width: 2px;
  background-color: var(--c-olive);
  box-shadow: 0 0 10px rgb(255 255 255 / 0.5);
}

.compare__knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background-color: var(--c-olive);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgb(255 255 255 / 0.5);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease);
}

.compare:hover .compare__knob,
.compare.is-dragging .compare__knob {
  transform: scale(1.35);
}

.compare:has(.compare__range:focus-visible) .compare__knob {
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.9), 0 0 0 6px var(--c-olive);
}

.compare__range {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  opacity: 0;
}


/* ==========================================================================
   9. Carousel (service gallery)
   --------------------------------------------------------------------------
   Slides are positioned by state classes set in JS (is-prev / is-active /
   is-next; is-before / is-after are hidden). Sizes are animated instead of
   scaled, so every photo keeps its own crop like in the design.
   ========================================================================== */

.carousel {
  --c-w: min(88vw, 330px);                /* active slide */
  --c-h: calc(var(--c-w) * 250 / 330);
  --s-w: calc(var(--c-w) * 250 / 330);    /* side slides */
  --s-h: calc(var(--c-w) * 210 / 330);
  --gap: 15px;
  --speed: 0.75s;
  position: relative;
}

.carousel__viewport {
  position: relative;
  height: var(--c-h);
  margin-inline: calc(var(--gutter) * -1);
  overflow: hidden;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.carousel__track {
  position: absolute;
  inset: 0;
}

.carousel__slide {
  --x: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--s-w);
  height: var(--s-h);
  margin: 0;
  overflow: hidden;
  background-color: #e9e6e0;
  cursor: pointer;
  translate: calc(-50% + var(--x)) -50%;
  transition:
    translate var(--speed) var(--ease-out),
    width var(--speed) var(--ease-out),
    height var(--speed) var(--ease-out),
    opacity 0.45s var(--ease),
    visibility 0s linear 0s;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.carousel__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  -webkit-user-drag: none;
}

.carousel__link:focus-visible {
  outline: 2px solid var(--c-white);
  outline-offset: -6px;
}

.carousel__slide.is-active {
  width: var(--c-w);
  height: var(--c-h);
}

.carousel__slide.is-active .carousel__link {
  cursor: zoom-in;
}

.carousel__slide--video.is-active .carousel__link {
  cursor: pointer;
}

.carousel__slide.is-prev {
  --x: calc((var(--c-w) + var(--s-w)) / -2 - var(--gap));
}

.carousel__slide.is-next {
  --x: calc((var(--c-w) + var(--s-w)) / 2 + var(--gap));
}

.carousel__slide.is-before,
.carousel__slide.is-after {
  visibility: hidden;
  opacity: 0;
  transition:
    translate var(--speed) var(--ease-out),
    width var(--speed) var(--ease-out),
    height var(--speed) var(--ease-out),
    opacity 0.2s var(--ease),
    visibility 0s linear 0.2s;
}

.carousel__slide.is-before {
  --x: calc((var(--c-w) + var(--s-w)) / -2 - var(--s-w) - var(--gap) * 2);
}

.carousel__slide.is-after {
  --x: calc((var(--c-w) + var(--s-w)) / 2 + var(--s-w) + var(--gap) * 2);
}

.carousel__slide.no-transition {
  transition: none;
}

/* Video preview: the play icon opens the video right away, even on a side slide */
.carousel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: rgb(255 255 255 / 0.8);
  cursor: pointer;
  translate: -50% -50%;
  transition:
    color 0.3s var(--ease),
    scale 0.45s var(--ease-out);
}

.carousel__play svg {
  width: 34px;
  height: 40px;
}

.carousel__play:hover,
.carousel__slide.is-active .carousel__link:hover .carousel__play {
  color: var(--c-white);
  scale: 1.12;
}

.carousel__arrow {
  display: none;
}

@media (min-width: 768px) {
  .carousel {
    --c-w: 450px;
    --c-h: 350px;
    --s-w: 360px;
    --s-h: 270px;
  }
}

/* Desktop: three slides fill the container, arrows sit on its edges */
@media (min-width: 1024px) {
  .carousel {
    container-type: inline-size;
    --c-w: 37.5cqi;
    --c-h: calc(var(--c-w) * 350 / 450);
    --s-w: 30cqi;
    --s-h: calc(var(--c-w) * 270 / 450);
    --gap: 1.25cqi;
  }

  .carousel__viewport {
    margin-inline: 0;
  }

  .carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--c-charcoal);
    background-color: var(--c-light);
    border: 1px solid var(--c-charcoal);
    translate: 0 -50%;
    transition:
      color 0.3s var(--ease),
      background-color 0.3s var(--ease),
      border-color 0.3s var(--ease);
  }

  .carousel__arrow svg {
    width: 14px;
    height: 8px;
    transition: translate 0.45s var(--ease-out);
  }

  .carousel__arrow--prev {
    left: -20px;
  }

  .carousel__arrow--prev svg {
    rotate: 180deg;
  }

  .carousel__arrow--next {
    right: -20px;
  }

  .carousel__arrow:hover {
    color: var(--c-white);
    background-color: var(--c-olive);
    border-color: var(--c-olive);
  }

  .carousel__arrow--prev:hover svg {
    translate: -2px 0;
  }

  .carousel__arrow--next:hover svg {
    translate: 2px 0;
  }
}


/* ==========================================================================
   10. Modal
   ========================================================================== */

.modal {
  width: min(645px, 100% - 30px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  overflow: visible;
}

.modal::backdrop {
  background-color: rgb(26 26 26 / 0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.modal__card {
  position: relative;
  max-height: calc(100dvh - 30px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal .form-card__title {
  padding-inline: 30px;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--c-black);
  transition: color 0.3s var(--ease);
}

.modal__close::before {
  content: "";
  position: absolute;
  inset: -12px;
}

/* Only the icon turns. Turning the whole button swung the corners of its
   click area past the edge of the card: the card got a scrollbar for a
   moment, and the cross jumped away from the pointer. */
.modal__close svg {
  transition: rotate 0.45s var(--ease-out);
}

.modal__close:hover {
  color: var(--c-olive);
}

.modal__close:hover svg {
  rotate: 90deg;
}

.modal[open] {
  animation: modal-in 0.55s var(--ease-out) both;
}

.modal[open]::backdrop {
  animation: backdrop-in 0.4s var(--ease) both;
}

.modal.is-closing {
  animation: modal-out 0.3s var(--ease) both;
}

.modal.is-closing::backdrop {
  animation: backdrop-out 0.3s var(--ease) both;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
}

@keyframes modal-out {
  to {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
}

@keyframes backdrop-out {
  to {
    opacity: 0;
  }
}


/* ==========================================================================
   11. Lightbox (photos & video)
   --------------------------------------------------------------------------
   The dialog is created by main.js for links with [data-lightbox].
   ========================================================================== */

/* Hint on photos that open in the lightbox: darkening + plus */
.gallery__link::before,
.carousel__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgb(26 26 26 / 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}

.gallery__link::after,
.carousel__link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  background:
    linear-gradient(var(--c-white), var(--c-white)) center / 16px 2px no-repeat,
    linear-gradient(var(--c-white), var(--c-white)) center / 2px 16px no-repeat,
    var(--c-olive);
  opacity: 0;
  pointer-events: none;
  translate: -50% -50%;
  scale: 0.6;
  transition:
    opacity 0.35s var(--ease),
    scale 0.45s var(--ease-out);
}

.carousel__slide--video .carousel__link::after {
  display: none;
}

.gallery__link:hover::before,
.gallery__link:focus-visible::before,
.carousel__slide.is-active .carousel__link:hover::before,
.carousel__slide.is-active .carousel__link:focus-visible::before {
  opacity: 1;
}

.gallery__link:hover::after,
.gallery__link:focus-visible::after,
.carousel__slide.is-active .carousel__link:hover::after,
.carousel__slide.is-active .carousel__link:focus-visible::after {
  opacity: 1;
  scale: 1;
}

@media (hover: none) {
  .gallery__link::after,
  .carousel__link::after {
    display: none;
  }
}

/* Viewer */
.lightbox {
  --lb-pad: var(--gutter);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0 var(--lb-pad) env(safe-area-inset-bottom);
  color: var(--c-white);
  background: transparent;
  border: 0;
  overflow: hidden;
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.lightbox::backdrop {
  background-color: rgb(20 20 18 / 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.lightbox :focus-visible {
  outline-color: var(--c-white);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}

.lightbox__counter {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: rgb(248 246 242 / 0.75);
}

.lightbox__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -12px;
  color: var(--c-white);
  transition: color 0.3s var(--ease);
}

/* As in the modal: the icon turns, the click area stays still. */
.lightbox__close svg {
  transition: rotate 0.45s var(--ease-out);
}

.lightbox__close:hover {
  color: var(--c-olive-light);
}

.lightbox__close:hover svg {
  rotate: 90deg;
}

.lightbox__stage {
  position: relative;
  container-type: size;
}

.lightbox__media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.45s var(--ease-out),
    opacity 0.3s var(--ease);
}

.lightbox__media--image {
  touch-action: none;
}

.lightbox__media.is-dragging {
  transition: none;
}

.lightbox__media.is-entering {
  animation: lightbox-media-in 0.55s var(--ease-out) both;
}

.lightbox__media.is-leaving {
  pointer-events: none;
  animation: lightbox-media-out 0.3s var(--ease) both;
}

.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100cqw;
  max-height: 100cqh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.45);
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

.lightbox__video {
  display: block;
  width: min(100cqw, 177.78cqh, 1120px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background-color: #000;
  border: 0;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.45);
}

.lightbox__caption {
  min-height: 68px;
  max-width: 720px;
  margin-inline: auto;
  padding: 16px 56px;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
  color: rgb(248 246 242 / 0.85);
}

.lightbox__arrow {
  position: absolute;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--c-white);
  border: 1px solid rgb(255 255 255 / 0.45);
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.lightbox__arrow svg {
  width: 20px;
  height: 8px;
  transition: translate 0.45s var(--ease-out);
}

.lightbox__arrow--prev {
  left: var(--lb-pad);
}

.lightbox__arrow--prev svg {
  rotate: 180deg;
}

.lightbox__arrow--next {
  right: var(--lb-pad);
}

.lightbox__arrow:hover {
  background-color: var(--c-olive);
  border-color: var(--c-olive);
}

.lightbox__arrow--prev:hover svg {
  translate: -3px 0;
}

.lightbox__arrow--next:hover svg {
  translate: 3px 0;
}

.lightbox.is-single .lightbox__arrow,
.lightbox.is-single .lightbox__counter {
  visibility: hidden;
}

.lightbox__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 2px solid rgb(255 255 255 / 0.2);
  border-top-color: var(--c-white);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
  animation: lightbox-spin 0.8s linear infinite;
}

.lightbox.is-loading .lightbox__loader {
  opacity: 1;
}

/* Open / close */
.lightbox[open]::backdrop {
  animation: backdrop-in 0.4s var(--ease) both;
}

.lightbox[open] .lightbox__bar,
.lightbox[open] .lightbox__caption,
.lightbox[open] .lightbox__arrow {
  animation: backdrop-in 0.5s var(--ease) 0.1s both;
}

.lightbox.is-closing::backdrop {
  animation: backdrop-out 0.4s var(--ease) both;
}

.lightbox.is-closing .lightbox__bar,
.lightbox.is-closing .lightbox__caption,
.lightbox.is-closing .lightbox__arrow,
.lightbox.is-closing .lightbox__media:not(.is-zooming) {
  animation: backdrop-out 0.25s var(--ease) both;
}

@keyframes lightbox-media-in {
  from {
    opacity: 0;
    transform: translateX(calc(var(--dir, 0) * 60px)) scale(0.97);
  }
}

@keyframes lightbox-media-out {
  to {
    opacity: 0;
    transform: translateX(calc(var(--dir, 0) * -60px)) scale(0.97);
  }
}

@keyframes lightbox-spin {
  to {
    rotate: 360deg;
  }
}

@media (min-width: 768px) {
  .lightbox {
    --lb-pad: 96px;
  }

  .lightbox__bar {
    height: 80px;
    margin-inline: calc(28px - var(--lb-pad));
  }

  .lightbox__close {
    margin-right: -10px;
  }

  .lightbox__caption {
    min-height: 80px;
    padding: 20px 0;
    font-size: 1rem;
  }

  .lightbox__arrow {
    top: 50%;
    bottom: auto;
    width: 52px;
    height: 52px;
    translate: 0 -50%;
  }

  .lightbox__arrow--prev {
    left: 28px;
  }

  .lightbox__arrow--next {
    right: 28px;
  }
}


/* ==========================================================================
   12. Header & navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--c-white);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  box-shadow: 0 10px 30px rgb(26 26 26 / 0.07);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.header__logo {
  flex: none;
}

.header__logo img {
  width: 104px;
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  margin-right: -8.5px;
  -webkit-tap-highlight-color: transparent;
}

.burger__line {
  display: block;
  width: 27px;
  height: 3px;
  background-color: var(--c-olive);
  transition:
    transform 0.45s var(--ease-out),
    opacity 0.25s var(--ease);
}

.burger[aria-expanded="true"] .burger__line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.burger[aria-expanded="true"] .burger__line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile menu panel: attached to the (sticky) header, so it follows its transforms */
.header__menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 10px var(--gutter) calc(30px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--c-white);
  border-top: 1px solid rgb(26 26 26 / 0.08);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.5s var(--ease-out),
    visibility 0s linear 0.5s;
}

.header__menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.35s var(--ease),
    transform 0.5s var(--ease-out),
    visibility 0s linear 0s;
}

.nav__list {
  display: flex;
  flex-direction: column;
}

.nav__link {
  display: block;
  padding: 14px 0;
  font-family: var(--ff-serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: var(--ls-serif);
  color: var(--c-black);
  border-bottom: 1px solid rgb(26 26 26 / 0.1);
  transition: color 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--c-olive);
}

.header__menu.is-open .nav__item {
  animation: menu-item-in 0.7s var(--ease-out) backwards;
}

.header__menu.is-open .nav__item:nth-child(1) { animation-delay: 0.05s; }
.header__menu.is-open .nav__item:nth-child(2) { animation-delay: 0.1s; }
.header__menu.is-open .nav__item:nth-child(3) { animation-delay: 0.15s; }
.header__menu.is-open .nav__item:nth-child(4) { animation-delay: 0.2s; }
.header__menu.is-open .nav__item:nth-child(5) { animation-delay: 0.25s; }
.header__menu.is-open .nav__item:nth-child(6) { animation-delay: 0.3s; }

@keyframes menu-item-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.header__cta {
  width: 100%;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  color: var(--c-charcoal);
}

.header__contacts a:hover {
  color: var(--c-olive);
}

@media (min-width: 1024px) {
  .header__logo img {
    width: 150px;
  }

  .burger,
  .header__contacts {
    display: none;
  }

  .header__menu {
    position: static;
    flex: 1;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav {
    display: flex;
    flex: 1;
    justify-content: center;
    padding-inline: 20px;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .nav__link {
    position: relative;
    padding: 0;
    font-family: var(--ff-sans);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.26;
    letter-spacing: 0;
    border: 0;
  }

  .nav__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease-out);
  }

  .nav__link:hover::after,
  .nav__link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  /* Current page (About.png: olive, bold, underlined; the text sits 2px higher) */
  .nav__link.is-active {
    font-weight: 700;
    translate: 0 -2px;
  }

  .nav__link.is-active::after {
    bottom: -4px;
  }

  /* "Get a Free Estimate": the arrow slides in on hover (UI kit state) */
  .header__cta {
    width: auto;
  }

  .btn--header {
    padding: 12px 30px;
    font-size: 1rem;
    letter-spacing: 0.15em;
  }

  .btn--header .btn__text {
    transition: transform 0.45s var(--ease-out);
  }

  .btn--header .btn__icon {
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -4px;
    opacity: 0;
    transform: translateX(-10px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.45s var(--ease-out);
  }

  .btn--header:hover .btn__text {
    transform: translateX(-15px);
  }

  .btn--header:hover .btn__icon {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1280px) {
  .nav__list {
    gap: 30px;
  }
}


/* ==========================================================================
   13. Hero (home)
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding-block: 60px;
  overflow: hidden;
  color: var(--c-white);
  background-color: var(--c-black);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(0 0 0 / 0.3);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax, 0px), 0) scale(1.282);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__label {
  font-size: 0.875rem;
  color: var(--c-white);
}

.hero__label::before {
  display: none;
}

.hero__title {
  margin-top: 30px;
  font-family: var(--ff-serif);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-serif);
  color: var(--c-white);
}

.hero__text {
  margin-top: 15px;
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  width: 100%;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .hero {
    min-height: 640px;
  }

  .hero__media::after {
    background: linear-gradient(90deg, rgb(0 0 0 / 0.4) 0%, rgb(0 0 0 / 0) 100%);
  }

  .hero__img {
    transform: translate3d(0, var(--parallax, 0px), 0);
  }

  .hero__content {
    align-items: flex-start;
    max-width: 719px;
    text-align: left;
  }

  .hero__label {
    font-size: 1rem;
  }

  .hero__label::before {
    display: block;
  }

  .hero__text {
    margin-top: 20px;
  }

  .hero__actions {
    flex-direction: row;
    align-items: center;
    gap: 30px;
    width: auto;
    margin-top: 45px;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 750px;
  }
}


/* ==========================================================================
   14. Page hero (inner pages) + breadcrumbs
   ========================================================================== */

.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(210px, 172.7px + 9.945vw, 300px); /* 210 → 300 */
  padding-block: 30px;
  overflow: hidden;
  color: var(--c-white);
  text-align: center;
  background-color: var(--c-black);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(0 0 0 / 0.4);
}

.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax, 0px), 0);
}

.page-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

@media (min-width: 768px) {
  .page-hero__content {
    gap: 10px;
  }
}

.page-hero__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-serif);
}

.breadcrumbs {
  font-size: clamp(0.75rem, 0.646rem + 0.442vw, 1rem); /* 12 → 16 */
  font-weight: 700;
  line-height: 1.5;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.breadcrumbs__item {
  color: var(--c-light);
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-inline: 0.2em;
  color: var(--c-white);
}

.breadcrumbs__link {
  color: var(--c-white);
  transition: color 0.3s var(--ease);
}

.breadcrumbs__link:hover {
  color: var(--c-olive-light);
}


/* ==========================================================================
   15. Features
   ========================================================================== */

.features {
  padding-block: 45px;
  color: var(--c-white);
  background-color: var(--c-black);
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature:nth-child(even) {
  flex-direction: row-reverse;
}

/* Divider between items */
.feature + .feature::before {
  content: "";
  position: absolute;
  top: -15px;
  right: 0;
  left: 0;
  height: 1px;
  background-color: var(--c-line-light);
}

.feature__num {
  flex: none;
  font-size: var(--fs-num);
  font-weight: 600;
  line-height: 1.26;
  color: rgb(255 255 255 / 0.2);
}

.feature__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 15px;
}

.feature__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-serif);
  color: var(--c-white);
}

.feature__text {
  font-size: var(--fs-body);
  line-height: 1.5;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .features {
    padding-block: 45px 41px;
  }

  .features__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 0;
  }

  .feature,
  .feature:nth-child(even) {
    display: grid;
    justify-items: center;
    align-items: start;
    text-align: center;
  }

  .feature > * {
    grid-area: 1 / 1;
  }

  .feature__body {
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin-top: calc(var(--fs-num) * 0.636);
    padding-inline: 15px;
  }

  /* One word per line, as in the design: "Fully / Insured" */
  .feature__title {
    width: min-content;
  }

  .feature + .feature::before {
    top: 50%;
    right: auto;
    width: 1px;
    height: 100px;
    translate: 0 -50%;
  }

  .feature:nth-child(odd)::before {
    display: none;
  }
}

@media (min-width: 1024px) {
  .features__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature:nth-child(odd)::before {
    display: block;
  }
}


/* ==========================================================================
   16. Services
   ========================================================================== */

.services__grid {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-card__media {
  height: clamp(210px, 172.7px + 9.945vw, 300px);
  overflow: hidden;
  background-color: var(--c-light);
}

.service-card__media img {
  transition: transform 1.2s var(--ease-out);
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

.service-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title btn"
    "text  text";
  gap: 15px 30px;
  align-items: start;
}

.service-card__title {
  grid-area: title;
  font-family: var(--ff-serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-serif);
  color: var(--c-black);
}

/* The title link covers the whole card */
.service-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-card__link:focus-visible {
  outline: none;
}

.service-card:has(.service-card__link:focus-visible) {
  outline: 2px solid var(--c-olive);
  outline-offset: 8px;
}

.service-card__text {
  grid-area: text;
  color: var(--c-charcoal);
}

.service-card .circle-btn {
  grid-area: btn;
}

.service-card:hover .circle-btn {
  color: var(--c-white);
  background-color: var(--c-olive);
}

.service-card:hover .circle-btn svg {
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 30px;
  }

  /* An odd card left alone in the last row takes the whole row */
  .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .services {
    padding-bottom: calc(var(--section-py) + 15px);
  }

  .services__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-card,
  .service-card:last-child:nth-child(odd) {
    grid-column: span 2;
    gap: 30px;
  }

  .services__grid .service-card.service-card--lg {
    grid-column: span 3;
  }

  /* Single card in the last row (the number of services is not fixed in WordPress) */
  .services__grid .service-card.service-card--full {
    grid-column: 1 / -1;
  }

  .service-card__body {
    grid-template-areas:
      "title btn"
      "text  btn";
  }

  .service-card--lg .service-card__body {
    row-gap: 30px;
  }

  .service-card--lg .circle-btn {
    width: 60px;
    height: 55px;
  }
}


/* ==========================================================================
   17. About
   ========================================================================== */

.about {
  background-color: var(--c-light);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "media"
    "body"
    "action";
  justify-items: center;
  text-align: center;
}

.about__head {
  grid-area: head;
}

.about__media {
  grid-area: media;
  position: relative;
  width: 100%;
  height: 250px;
  margin-top: 15px;
  overflow: hidden;
}

.about__body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.about__action {
  grid-area: action;
  margin-top: 30px;
}

/* Line break from the design; kept only where the column width matches it */
.about__br {
  display: none;
}

@media (min-width: 360px) and (max-width: 767.98px), (min-width: 1200px) {
  .about__br {
    display: inline;
  }
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "media head"
      "media body"
      "media action";
    column-gap: 45px;
    justify-items: start;
    text-align: left;
  }

  .about__head {
    align-items: flex-start;
    text-align: left;
  }

  .about__media {
    align-self: stretch;
    height: auto;
    min-height: 400px;
    margin-top: 0;
  }

  .about__media img {
    position: absolute;
    inset: 0;
  }

  .about__body {
    margin-top: 20px;
  }

  .about__action {
    margin-top: 60px;
  }
}

/* About page intro: no label or link; on mobile the photo follows the text */
.about--intro {
  padding-top: 30px;
  padding-bottom: 0;
  background-color: var(--c-white);
}

.about--intro .about__grid {
  grid-template-areas:
    "head"
    "body"
    "media";
}

.about--intro .about__body {
  margin-top: 20px;
}

.about--intro .about__media {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .about--intro {
    padding-top: 50px;
  }

  .about--intro .about__grid {
    grid-template-areas:
      "media head"
      "media body"
      "media action";
  }

  .about--intro .about__media {
    margin-top: 0;
  }
}


/* ==========================================================================
   18. Service intro (service pages)
   ========================================================================== */

.service-intro {
  padding-top: 30px;
}

.service-intro__text {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: var(--c-charcoal);
}

.service-intro .scope-card {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .service-intro {
    padding-top: 50px;
  }
}


/* ==========================================================================
   19. Commercial
   ========================================================================== */

.commercial {
  color: var(--c-light);
  background-color: var(--c-black);
}

.commercial__inner {
  display: flex;
  flex-direction: column-reverse;
}

.commercial__media {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.commercial__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 45px var(--gutter);
  text-align: center;
}

.commercial .section-title {
  color: var(--c-white);
}

.commercial .section-text {
  color: var(--c-light);
}

.commercial__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin-top: 30px;
}

.commercial__item {
  padding-block: 15px;
  font-family: var(--ff-serif);
  font-size: var(--fs-h5);
  font-weight: 500;
  line-height: var(--lh-h5);
  letter-spacing: var(--ls-serif);
  border-bottom: 1px solid var(--c-line-light);
}

.commercial__item:last-child {
  border-bottom: 0;
}

.commercial__action {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .commercial__media {
    height: clamp(360px, 48vw, 480px);
  }

  .commercial__content {
    align-items: flex-start;
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    text-align: left;
  }

  .commercial__content .section-head {
    align-items: flex-start;
    text-align: left;
  }

  .commercial__list {
    flex-direction: row;
  }

  .commercial__item {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    min-height: 80px;
    padding: 0 30px 0 0;
    border-right: 1px solid var(--c-line-light);
    border-bottom: 0;
  }

  .commercial__item:last-child {
    border-right: 0;
  }
}

@media (min-width: 1024px) {
  .commercial__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 45px;
    padding-left: max(var(--gutter), (100% - var(--container)) / 2);
  }

  .commercial__content {
    max-width: none;
    margin: 0;
    padding: 45px 0;
  }

  .commercial__media {
    height: auto;
    min-height: 451px;
  }

  .commercial__media img {
    position: absolute;
    inset: 0;
  }
}


/* ==========================================================================
   20. Post-construction
   ========================================================================== */

.post {
  background-color: var(--c-light);
}

/* Mobile: flatten wrappers so items can be re-ordered like in the design */
.post__layout {
  display: flex;
  flex-direction: column;
}

.post__head,
.post__aside,
.post__gallery,
.post__side {
  display: contents;
}

.post__intro {
  order: 1;
}

.post__text {
  order: 2;
  margin-top: 15px;
  text-align: center;
}

.post__media--main {
  order: 3;
  height: 210px;
  margin-top: 30px;
}

.post__media--detail {
  display: none;
}

.post .scope-card {
  order: 4;
  margin-top: 5px;
}

.post__action {
  order: 5;
  align-self: center;
  margin-top: 30px;
}

.post__media {
  position: relative;
  overflow: hidden;
}

.scope-card {
  padding: 30px;
  color: var(--c-light);
  background-color: var(--c-black);
}

.scope-card__label {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scope-card__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  font-family: var(--ff-serif);
  font-size: var(--fs-h6);
  font-weight: 500;
  line-height: var(--lh-h6);
  letter-spacing: 0.03em;
}

/* Several lists side by side (service pages); smaller type on mobile */
.scope-card--columns {
  padding: 20px 15px;
}

.scope-card__columns {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.scope-card--columns .scope-card__list {
  margin-top: 0;
  font-size: 1.125rem;
  line-height: 1.25rem;
  letter-spacing: 0.02em;
}

@media (min-width: 600px) {
  .scope-card__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .scope-card--columns {
    padding: 30px;
  }

  .scope-card--columns .scope-card__list {
    font-size: var(--fs-h6);
    line-height: var(--lh-h6);
    letter-spacing: 0.03em;
  }
}

@media (min-width: 1024px) {
  .scope-card__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .post__layout {
    display: block;
  }

  .post__intro,
  .post__text,
  .post__media--main,
  .post .scope-card,
  .post__action {
    order: 0;
  }

  .post__head {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(30px, 6vw, 60px);
    align-items: start;
  }

  .post__intro {
    align-items: flex-start;
    text-align: left;
  }

  .post__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .post__text {
    margin-top: 0;
    text-align: left;
  }

  .post__action {
    align-self: flex-start;
  }

  .post__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    margin-top: 30px;
  }

  .post__side {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .post__media--main {
    height: auto;
    min-height: 400px;
    margin-top: 0;
  }

  .post__media--main img {
    position: absolute;
    inset: 0;
  }

  .post__media--detail {
    display: block;
    height: 215px;
  }

  .post .scope-card {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .post__intro > .section-label + .section-title {
    margin-top: 20px;
  }
}


/* ==========================================================================
   21. Service area
   ========================================================================== */

.area__grid {
  display: flex;
  flex-direction: column;
}

.area__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.area__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin-top: 30px;
}

.area__item {
  padding: 13px 28px;
  font-family: var(--ff-serif);
  font-size: var(--fs-h5);
  font-weight: 500;
  line-height: var(--lh-h5);
  letter-spacing: var(--ls-serif);
  color: var(--c-black);
  border: 2px solid var(--c-olive);
}

/* The map keeps its native scale (like in the design) and is cropped to the frame */
.area__map {
  position: relative;
  height: 210px;
  margin-top: 15px;
  overflow: hidden;
  background-color: #f2f2f0;
}

.area__map img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 585px);
  max-width: none;
  height: auto;
  translate: -50% -50%;
}

@media (min-width: 768px) {
  .area__grid {
    display: grid;
    grid-template-columns: minmax(0, 570fr) minmax(0, 585fr);
    column-gap: 45px;
    align-items: start;
  }

  .area__content {
    align-items: flex-start;
    text-align: left;
  }

  .area__content .section-head {
    align-items: flex-start;
    text-align: left;
  }

  .area__map {
    height: 350px;
    margin-top: 0;
  }
}

/* Wide variant (About page): centered heading, counties in a row, full-width map */
.area--wide .area__map {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .area--wide .area__grid {
    display: block;
  }

  .area--wide .area__content,
  .area--wide .area__content .section-head {
    align-items: center;
    text-align: center;
  }

  .area--wide .area__list {
    flex-direction: row;
  }

  .area--wide .area__item {
    flex: 1 1 0;
    text-align: left;
  }

  .area--wide .area__map {
    height: 300px;
  }

  .area--wide .area__map img {
    top: 0;
    width: max(100%, 1200px);
    translate: -50% 0;
  }
}


/* ==========================================================================
   22. Our work
   ========================================================================== */

.work {
  background-color: var(--c-light);
}

/* Mobile: the viewer is placed right under the selected tab (rows set in JS) */
.work__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 15px;
}

.work__head {
  margin-bottom: 15px;
}

.work__head > .section-title + .section-text {
  margin-top: 20px;
}

.work__viewer {
  grid-row: var(--row, auto);
  height: clamp(210px, 56vw, 420px);
  margin-top: -10px;
}

.work__tabs {
  display: contents;
}

.work__tab {
  grid-row: var(--row, auto);
  display: block;
  width: 100%;
  padding: 14px;
  font-family: var(--ff-serif);
  font-size: var(--fs-h5);
  font-weight: 500;
  line-height: var(--lh-h5);
  letter-spacing: var(--ls-serif);
  text-align: center;
  color: var(--c-black);
  background-color: transparent;
  border: 1px solid var(--c-black);
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.35s var(--ease),
    background-color 0.35s var(--ease);
}

.work__tab:hover {
  background-color: rgb(26 26 26 / 0.05);
}

.work__tab[aria-pressed="true"] {
  color: var(--c-white);
  background-color: var(--c-black);
}

@media (min-width: 1024px) {
  .work__grid {
    grid-template-columns: minmax(0, 720fr) minmax(0, 450fr);
    grid-template-rows: auto 1fr;
    gap: 30px;
    align-items: start;
  }

  .work__head {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
    margin-bottom: 0;
    text-align: left;
  }

  .work__viewer {
    grid-column: 1;
    grid-row: 2;
    height: auto;
    margin-top: 0;
    aspect-ratio: 720 / 276;
  }

  .work__tabs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .work__tab {
    grid-row: auto;
    text-align: left;
  }
}


/* ==========================================================================
   23. Gallery
   ========================================================================== */

.gallery {
  background-color: var(--c-light);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-top: 30px;
}

.gallery__item {
  position: relative;
  aspect-ratio: 170 / 210;
  overflow: hidden;
  background-color: #e9e6e0;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.gallery__link:focus-visible {
  outline: 2px solid var(--c-white);
  outline-offset: -6px;
}

.gallery__action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

  .gallery__item {
    aspect-ratio: 390 / 270;
  }
}

/* Carousel variant (service pages): white background, link only on smaller screens */
.gallery--carousel {
  background-color: var(--c-white);
}

.gallery--carousel .carousel {
  margin-top: 30px;
}

@media (min-width: 1024px) {
  .gallery--carousel .gallery__action {
    display: none;
  }
}


/* ==========================================================================
   24. CTA
   ========================================================================== */

.cta {
  position: relative;
  isolation: isolate;
  padding-block: 58px 57px;
  overflow: hidden;
  color: var(--c-white);
  text-align: center;
  background-color: var(--c-black);
}

.cta__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(0 0 0 / var(--cta-overlay, 0.4));
}

/* Service page variant: lighter overlay */
.cta--light {
  --cta-overlay: 0.3;
}

.cta__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-serif);
}

.cta__text {
  margin-top: 20px;
  font-size: var(--fs-body);
  line-height: 1.5;
}

.cta__action {
  margin-top: 29px;
}

/* Page variants on mobile: About (290px high in Figma), Service (regular section padding) */
@media (max-width: 1023.98px) {
  .cta--spacious {
    padding-block: 53px 52px;
  }

  .cta--compact {
    padding-block: 45px;
  }
}

@media (min-width: 768px) {
  /* Extra height leaves room for the parallax movement */
  .cta__media {
    inset: -25% 0;
  }

  .cta__img {
    transform: translate3d(0, var(--parallax, 0px), 0);
  }
}

@media (min-width: 1024px) {
  .cta {
    padding-block: 70px;
  }

  .cta__action {
    margin-top: 30px;
  }

  /* About page variant: more room above the button */
  .cta--spacious .cta__action {
    margin-top: 45px;
  }
}


/* ==========================================================================
   25. FAQ
   ========================================================================== */

.faq {
  background-color: var(--c-light);
}

.faq__grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq__aside {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq__media {
  height: clamp(210px, 56vw, 360px);
  overflow: hidden;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Last section before the footer (inner pages) */
.faq:last-child {
  padding-bottom: 70px;
}

@media (min-width: 1024px) {
  .faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 450fr) minmax(0, 720fr);
    align-items: start;
  }

  .faq__head {
    align-items: flex-start;
    text-align: left;
  }

  .faq__head > .section-label + .section-title {
    margin-top: 20px;
  }

  .faq__media {
    height: 236px;
  }
}


/* ==========================================================================
   26. Contact
   ========================================================================== */

.contact {
  padding-bottom: 70px;
}

.contact__head > .section-label + .section-title,
.contact__head > .section-title + .section-text {
  margin-top: 20px;
}

.contact__grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.card {
  background-color: var(--c-light);
}

/* Info card */
.contact-info {
  padding: 20px 15px;
}

.contact-info__media {
  height: 180px;
  overflow: hidden;
}

.contact-info__body {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--c-black);
}

.contact-info__hours {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 16px;
  padding-top: 16px;
  font-weight: 600;
  border-top: 1px solid var(--c-olive);
  transition: color 0.3s var(--ease);
}

.contact-info__row:hover {
  color: var(--c-olive);
}

.contact-info__label {
  font-weight: 700;
  text-transform: uppercase;
}

/* Form card */
.form-card {
  order: -1;
  padding: 20px 15px;
  text-align: center;
}

.form-card__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: var(--lh-h4);
  letter-spacing: var(--ls-serif);
  color: var(--c-black);
}

.form {
  margin-top: 30px;
}

.form__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
}

.form__note {
  margin-top: 15px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--c-charcoal);
}

.form__actions {
  margin-top: 30px;
}

.form__status {
  margin-top: 15px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-olive);
}

.form__status:empty {
  display: none;
}

.form__status.is-error {
  color: var(--c-error);
}

@media (min-width: 768px) {
  .form__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--full {
    grid-column: 1 / -1;
  }

  .contact-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: center;
    padding: 30px;
  }

  .contact-info__media {
    height: 100%;
    min-height: 200px;
  }

  .contact-info__body {
    margin-top: 0;
  }

  .contact-info__row {
    font-weight: 400;
  }

  .contact-info__label {
    font-weight: 700;
  }
}

@media (min-width: 1024px) {
  .contact {
    padding-bottom: 90px;
  }

  .contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 525fr) minmax(0, 645fr);
    align-items: start;
  }

  .contact-info {
    display: block;
  }

  .contact-info__media {
    height: 200px;
    min-height: 0;
  }

  .contact-info__body {
    margin-top: 30px;
  }

  .form-card {
    order: 0;
    padding: 30px;
  }

  .form__note {
    margin-top: 30px;
  }
}


/* ==========================================================================
   27. Footer
   ========================================================================== */

.footer {
  padding-top: 48px;
  color: var(--c-white);
  background-color: var(--c-black);
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer__logo img {
  width: 172px;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--c-light);
}

.footer__cols {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 45px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__title {
  padding-bottom: 5px;
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.footer__links,
.footer__contacts {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.5;
}

.footer__links {
  gap: 12px;
  font-weight: 700;
}

.footer__contacts {
  gap: 15px;
}

.footer__contacts-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer a {
  transition: color 0.3s var(--ease);
}

.footer a:hover {
  color: var(--c-olive-light);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  margin-top: 45px;
  font-family: var(--ff-serif);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5625rem;
  letter-spacing: 0.03em;
}

.footer__legal {
  order: -1;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer__copy {
  margin-top: 20px;
  padding: 14px 0 15px;
  text-align: center;
  border-top: 1px solid rgb(255 255 255 / 0.3);
}

@media (min-width: 768px) {
  .footer {
    padding-top: 70px;
  }

  .footer__top {
    align-items: stretch;
    gap: 45px;
    text-align: left;
  }

  .footer__brand {
    align-items: flex-start;
  }

  .footer__logo img {
    width: 150px;
  }

  .footer__desc {
    max-width: 300px;
  }

  .footer__cols {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 0;
  }

  .footer__col {
    align-items: flex-start;
  }

  .footer__links,
  .footer__contacts {
    margin-top: 15px;
  }

  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    padding: 14px 0 15px;
    border-top: 1px solid rgb(255 255 255 / 0.3);
  }

  .footer__legal {
    order: 0;
  }

  .footer__copy {
    margin: 0;
    padding: 0;
    border: 0;
  }
}

@media (min-width: 1024px) {
  .footer__top {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .footer__brand {
    flex: none;
    width: 300px;
  }

  .footer__cols {
    flex: 1;
    gap: 20px;
    min-width: 0;
  }

  .footer__col {
    flex: 0 1 188px;
    min-width: 0;
  }
}

@media (min-width: 1280px) {
  .footer__top {
    gap: 90px;
  }
}


/* ==========================================================================
   28. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
