.services {
  padding: 46px 0 54px;
}

.service-rail {
  display: flex;
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-start;
  padding: 4px 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
}

.service-rail::-webkit-scrollbar {
  display: none;
}

.service-carousel {
  width: min(1600px, 96%);
  margin-inline: auto;
}

.service-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}

.service-pagination {
  display: none;
}

.service-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid var(--brand-border);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-green);
  cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out, opacity 180ms ease-out;
}

.service-arrow svg {
  width: 20px;
  height: 20px;
}

.service-arrow:disabled {
  color: #80928a;
  cursor: default;
  opacity: .5;
}

.service-arrow:not(:disabled):hover {
  background: var(--brand-green);
  color: #fff;
}

.service-scroll-range {
  width: 100%;
  max-width: 420px;
  height: 28px;
  flex: 1 1 auto;
  accent-color: var(--brand-green);
  cursor: pointer;
}

.service-scroll-range:disabled {
  cursor: default;
  opacity: .4;
}

.service-card {
  position: relative;
  flex: 0 0 var(--service-card-width, 190px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--brand-wash);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(34, 62, 47, .08);
  scroll-snap-align: none;
}

.service-card .service-photo {
  display: block;
  width: 100%;
  height: 144px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.service-icon {
  position: absolute;
  top: 122px;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid var(--brand-border);
  border-radius: 50%;
  background: var(--brand-wash);
  color: var(--brand-green);
  font-family: "Material Symbols Rounded";
  font-size: 25px;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 36;
  line-height: 1;
}

.service-icon img {
  display: block;
  width: 28px;
  height: 28px;
}

.service-card .service-copy {
  display: flex;
  min-height: 288px;
  padding: 30px 13px 14px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  text-align: center;
}

.service-card .service-copy h3 {
  min-height: 35px;
  margin: 0;
  color: #123438;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.16;
}

.service-description {
  min-height: 38px;
  margin: 6px 0 10px !important;
  color: #536873 !important;
  font-size: 13px !important;
  line-height: 1.32 !important;
}

.service-card ul {
  display: grid;
  min-height: 90px;
  margin: 0 0 10px;
  padding: 0;
  gap: 5px;
  list-style: none;
  text-align: left;
}

.service-card li {
  position: relative;
  padding-left: 24px;
  color: #516671;
  font-size: 12px;
  line-height: 1.2;
}

.service-card li::before {
  content: "check";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-wash-strong);
  color: var(--brand-green);
  font-family: "Material Symbols Rounded";
  font-size: 12px;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;
}

.service-card .service-copy strong {
  margin: auto 0 10px;
  color: var(--brand-green);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.book-button {
  display: flex;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 20px;
  background: var(--brand-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 180ms ease-out, transform 180ms ease-out;
}

.book-button span {
  font-size: 19px;
  font-weight: 400;
}

.book-button:active {
  transform: scale(.97);
}

.learn-link {
  align-self: center;
  margin-top: 10px;
  border-bottom: 1px solid var(--brand-green);
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

@media (hover: hover) and (pointer: fine) {
  .book-button:hover {
    background: var(--brand-green-hover);
  }

  .learn-link:hover {
    color: var(--brand-green-hover);
  }
}

@media (max-width: 600px) {
  .services {
    padding-top: 29px;
  }

  .service-rail {
    flex-wrap: wrap;
    gap: 12px;
    padding-inline: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .service-carousel-controls {
    display: none;
  }

  .service-card {
    min-width: 0;
    flex-basis: calc(50% - 6px);
  }

  .service-card .service-photo {
    height: 120px;
  }

  .service-icon {
    top: 102px;
  }

  .service-card .service-copy {
    min-height: 288px;
    padding: 30px 10px 14px;
  }
}


.catalog-state{display:flex;width:min(680px,92vw);min-height:190px;margin:8px auto;padding:34px;align-items:center;justify-content:center;flex-direction:column;gap:8px;border:1px solid #e1e6df;border-radius:18px;background:#fff;color:#536873;text-align:center}.catalog-state strong{color:#123438;font-size:18px}.catalog-state span{font-size:14px}.catalog-error{border-color:#eadbd5}

/* On narrower screens, size cards to complete slots so a neighboring card is never cut off. */
@media (max-width: 1100px) {
  .services > .service-carousel { width: min(calc(100% - 40px), 960px); }

  .service-rail {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 0 12px;
  }

  .service-card {
    flex: 0 0 var(--service-card-width);
    scroll-snap-align: start;
  }

  .service-carousel-controls {
    display: flex;
  }

  .service-scroll-range {
    max-width: none;
  }
}

.photo-gallery{padding:42px 0;background:#fff}
.gallery-heading{margin-bottom:18px;text-align:center}
.gallery-heading .eyebrow{margin-bottom:6px;font-size:10px;letter-spacing:.18em}
.gallery-heading h2{margin:0;font-size:clamp(20px,2vw,30px)}
.gallery-track{display:flex;gap:14px;width:min(1600px,96%);margin-inline:auto;padding:4px 2% 12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b8cbc1 transparent}
.gallery-track:focus-visible{outline:3px solid var(--brand-green);outline-offset:4px}
.gallery-track img{display:block;width:clamp(300px,32vw,410px);height:auto;flex:0 0 clamp(300px,32vw,410px);object-fit:contain;border-radius:14px;background:#f7f6f3;scroll-snap-align:start}
@media(max-width:600px){.photo-gallery{padding:30px 0}.gallery-heading{width:calc(100% - 36px);margin-bottom:14px}.gallery-heading .eyebrow{font-size:9px}.gallery-heading h2{font-size:20px}.gallery-track{width:100%;gap:12px;padding:4px 18px 12px;scroll-padding-inline:18px}.gallery-track img{width:84vw;flex-basis:84vw;border-radius:12px}}
@media(prefers-reduced-motion:reduce){.gallery-track{scroll-behavior:auto}}

@media (max-width: 600px) {
  .services > .service-carousel { width: min(calc(100% - 32px), 520px); }

  .service-rail {
    gap: 12px;
    padding: 4px 0 12px;
    scroll-padding-inline: 0;
  }

  .service-card {
    flex-basis: var(--service-card-width);
  }

  .service-card .service-photo { height: 126px; }
  .service-icon { top: 104px; }

  .service-card .service-copy {
    min-height: 272px;
    padding: 30px 10px 14px;
  }

  .service-card .service-copy h3 { font-size: 14px; }
  .service-description { font-size: 12px !important; }
  .service-card li { font-size: 11px; }

  .service-carousel-controls {
    gap: 10px;
    margin-top: 2px;
  }

  .service-arrow { width: 40px; height: 40px; flex-basis: 40px; }
  .service-scroll-range { height: 40px; }
}

@media (max-width: 360px) {
  .services > .service-carousel { width: min(calc(100% - 28px), 300px); }
}

/* Product photography is square: preserve the complete product rather than cropping it to a banner. */
.service-card .service-photo {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #f7f6f3;
}

.service-card .service-icon {
  top: calc(var(--service-card-width, 190px) - 22px);
}

/* Numbered editorial cards, matched to the approved Our Services reference. */
.services {
  padding: 44px 0 58px;
  background: #f5faf7;
}

.services > .service-carousel {
  width: min(2000px, 96%);
}

.service-rail {
  gap: 10px;
  justify-content: safe center;
  padding: 4px 0 18px;
}

.service-card {
  flex-basis: var(--service-card-width, 220px);
  border: 1px solid #e7eee9;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(39, 75, 57, .08);
  scroll-snap-align: start;
}

.service-photo-wrap {
  position: relative;
  overflow: hidden;
  background: #f3f0eb;
  border-radius: 15px 15px 52% 0 / 15px 15px 13% 0;
}

.service-card .service-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  background: #f3f0eb;
}

.service-number {
  position: absolute;
  top: calc(var(--service-card-width, 220px) - 25px);
  left: 20px;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #e3f2e8;
  color: #153e35;
  font: 600 17px/1 Georgia, 'Times New Roman', serif;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .88);
}

.service-card .service-copy {
  min-height: 398px;
  padding: 31px 20px 17px;
  align-items: stretch;
  text-align: left;
}

.service-card .service-copy h3 {
  min-height: 52px;
  color: #112f38;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.service-description {
  min-height: 52px;
  margin: 7px 0 10px !important;
  color: #617282 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.service-card ul {
  min-height: 114px;
  margin-bottom: 14px;
  gap: 7px;
}

.service-card li {
  padding-left: 25px;
  color: #5d7080;
  font-size: 13px;
  line-height: 1.25;
}

.service-card li::before {
  top: 0;
  width: 18px;
  height: 18px;
  background: #e2f1e8;
  color: #0c6f55;
  font-size: 13px;
}

.service-card .service-copy strong {
  margin: auto 0 13px;
  color: #00754a;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
}

.book-button {
  min-height: 48px;
  gap: 12px;
  border-radius: 28px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
}

.learn-link {
  margin-top: 14px;
  font-size: 13px;
}

.service-carousel-controls {
  margin-top: 2px;
  padding-inline: 0;
}

.service-arrow {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  color: #73bea6;
  box-shadow: 0 4px 14px rgba(28, 72, 55, .06);
}

.service-arrow .material-symbols-rounded {
  font-size: 31px;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 32;
}

.service-scroll-range {
  max-width: 480px;
  height: 32px;
  accent-color: #9da3b0;
}

.service-scroll-range::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: #e8e9ec;
  box-shadow: inset 0 0 0 1px #dddee2;
}

.service-scroll-range::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 0;
  border-radius: 50%;
  appearance: none;
  background: #a7aab4;
}

.service-scroll-range::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: #e8e9ec;
  box-shadow: inset 0 0 0 1px #dddee2;
}

.service-scroll-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #a7aab4;
}

@media (max-width: 1100px) {
  .services > .service-carousel {
    width: min(calc(100% - 40px), 960px);
  }

  .service-card .service-copy {
    min-height: 386px;
    padding-inline: 17px;
  }

  .service-card .service-copy h3 {
    font-size: 19px;
  }
}
