/* =========================================================
   HIGHLAND DENTAL CENTER
   SERVICES PAGE — COMPLETE CSS
========================================================= */

/*
  Recommended font:

  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet">
*/

/* =========================================================
   BLOCS WIDTH CORRECTION
========================================================= */

.hdc-services-page {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0;
  flex: 0 0 100%;
  align-self: stretch;
}

/* The Custom Code bric and its immediate wrappers must fill
   the Blocs column that contains them. */
.hdc-services-page,
.hdc-services-page > section {
  min-width: 0;
}

/* Prevent Blocs paragraph and heading positioning rules
   from interfering with the custom layout. */
.hdc-services-intro-header,
.hdc-services-intro-copy {
  position: relative;
  inset: auto;
  float: none;
  clear: none;
}
/* =========================================================
   PAGE VARIABLES
========================================================= */

.hdc-services-page {
  --hdc-service-ink: #203b3d;
  --hdc-service-text: #52696b;
  --hdc-service-muted: #758789;

  --hdc-service-teal: #647f82;
  --hdc-service-teal-dark: #38595c;
  --hdc-service-teal-deep: #29484b;
  --hdc-service-teal-light: #edf3f2;

  --hdc-service-wheat: #f4cf7a;
  --hdc-service-wheat-light: #fbf1d7;

  --hdc-service-white: #ffffff;
  --hdc-service-cream: #faf9f5;

  --hdc-service-border: rgba(38, 70, 73, 0.14);

  --hdc-service-radius-sm: 14px;
  --hdc-service-radius-md: 22px;
  --hdc-service-radius-lg: 32px;

  --hdc-service-shadow:
    0 20px 60px rgba(34, 61, 63, 0.09);

  --hdc-service-shadow-hover:
    0 28px 75px rgba(34, 61, 63, 0.15);

  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--hdc-service-white);
  color: var(--hdc-service-text);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}


/* =========================================================
   GLOBAL RESET
========================================================= */

.hdc-services-page *,
.hdc-services-page *::before,
.hdc-services-page *::after {
  box-sizing: border-box;
}

.hdc-services-page h2,
.hdc-services-page h3,
.hdc-services-page p {
  margin: 0;
}

.hdc-services-page h2,
.hdc-services-page h3 {
  color: var(--hdc-service-ink);
  font-weight: 500;
  line-height: 1.15;
}

.hdc-services-page h2 {
  letter-spacing: -0.045em;
}

.hdc-services-page h3 {
  letter-spacing: -0.03em;
}

.hdc-services-page a {
  color: inherit;
}

.hdc-services-page svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   LAYOUT
========================================================= */

.hdc-services-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}


/* =========================================================
   SHARED EYEBROW
========================================================= */

.hdc-services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--hdc-service-teal-dark);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hdc-services-eyebrow::before {
  width: 32px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--hdc-service-wheat);
  content: "";
}

.hdc-section-heading .hdc-services-eyebrow {
  justify-content: center;
}


/* =========================================================
   SHARED SECTION HEADING
========================================================= */

.hdc-section-heading {
  width: min(720px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.hdc-section-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.hdc-section-heading p {
  max-width: 650px;
  margin-inline: auto;
  font-size: 1.05rem;
}


/* =========================================================
   SERVICES INTRODUCTION
========================================================= */

.hdc-services-intro {
  position: relative;
  width: 100%;
  padding: 92px 0 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(244, 207, 122, 0.14),
      transparent 28%
    ),
    linear-gradient(
      120deg,
      #faf8f1 0%,
      #ffffff 54%,
      #f4f8f7 100%
    );
}

.hdc-services-intro::before,
.hdc-services-intro::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hdc-services-intro::before {
  top: -230px;
  right: -110px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(100, 127, 130, 0.1);
}

.hdc-services-intro::after {
  top: -95px;
  right: 70px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(244, 207, 122, 0.22);
}

.hdc-services-intro > .hdc-services-container {
  position: relative;
  z-index: 2;

  /* Measure the actual width available to this section rather
     than the full browser viewport. This is important inside Blocs. */
  container-name: services-intro;
  container-type: inline-size;
}


/* =========================================================
   INTRODUCTION TOP AREA
========================================================= */

.hdc-services-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 34px;
  width: 100%;
  padding-bottom: 68px;
}

.hdc-services-intro-header,
.hdc-services-intro-copy {
  min-width: 0;
  width: 100%;
}

.hdc-services-intro-header {
  max-width: none;
  margin: 0;
  text-align: left;
}

.hdc-services-intro-header .hdc-services-eyebrow {
  justify-content: flex-start;
}

.hdc-services-intro-header h2 {
  width: 100%;
  max-width: 680px;
  margin: 0;
  color: var(--hdc-service-ink);
  font-size: clamp(3rem, 4.2vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.hdc-services-intro-copy {
  max-width: 720px;
}

.hdc-services-intro-copy p {
  margin: 0 0 25px;
  color: var(--hdc-service-text);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hdc-services-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(56, 89, 92, 0.35);
  color: var(--hdc-service-teal-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition:
    gap 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.hdc-services-intro-link:hover {
  gap: 24px;
  border-color: var(--hdc-service-teal-dark);
  color: var(--hdc-service-teal-deep);
}


/* =========================================================
   BENEFITS STRIP
========================================================= */

.hdc-services-benefits {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(38, 70, 73, 0.12);
  border-bottom: 1px solid rgba(38, 70, 73, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px rgba(34, 61, 63, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hdc-services-benefit {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 28px 30px;
}

.hdc-services-benefit + .hdc-services-benefit {
  border-top: 1px solid rgba(38, 70, 73, 0.12);
  border-left: 0;
}

.hdc-services-benefit-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      #fff8e5,
      var(--hdc-service-wheat-light)
    );
  color: var(--hdc-service-teal-dark);
}

.hdc-services-benefit-icon svg {
  width: 23px;
  height: 23px;
}

.hdc-services-benefit strong,
.hdc-services-benefit div > span {
  display: block;
}

.hdc-services-benefit strong {
  margin: 0 0 4px;
  color: var(--hdc-service-ink);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.35;
}

.hdc-services-benefit div > span {
  color: var(--hdc-service-muted);
  font-size: 0.79rem;
  line-height: 1.5;
}

/* =========================================================
   CONTAINER-BASED INTRO AND BENEFITS LAYOUT

   These rules respond to the actual width available to the
   Code Widget inside Blocs instead of the full browser width.
========================================================= */

@container services-intro (min-width: 860px) {

  .hdc-services-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hdc-services-benefit + .hdc-services-benefit {
    border-top: 0;
    border-left: 1px solid rgba(38, 70, 73, 0.12);
  }

}

@container services-intro (min-width: 900px) {

  .hdc-services-intro-layout {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(300px, 0.75fr);
    align-items: center;
    column-gap: clamp(45px, 6cqw, 90px);
    row-gap: 30px;
  }

  .hdc-services-intro-copy {
    max-width: 470px;
  }

}


/* =========================================================
   SERVICE CATEGORIES SECTION
========================================================= */

.hdc-service-categories {
  position: relative;
  padding: 110px 0 120px;
  background:
    linear-gradient(
      180deg,
      var(--hdc-service-teal-light) 0%,
      #f6f8f7 100%
    );
}

.hdc-service-categories::before {
  position: absolute;
  top: 110px;
  right: -140px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(100, 127, 130, 0.13);
  border-radius: 50%;
  content: "";
}

.hdc-service-category-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}


/* =========================================================
   SERVICE CATEGORY CARDS
========================================================= */

.hdc-service-category-card {
  position: relative;
  min-width: 0;
  padding: 38px 32px 30px;
  overflow: hidden;
  border: 1px solid var(--hdc-service-border);
  border-radius: var(--hdc-service-radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--hdc-service-shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.hdc-service-category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 89, 92, 0.25);
  box-shadow: var(--hdc-service-shadow-hover);
}

.hdc-category-number {
  position: absolute;
  top: 22px;
  right: 25px;
  color: rgba(56, 89, 92, 0.09);
  font-size: 3.6rem;
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 1;
}

.hdc-category-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 19px;
  background:
    linear-gradient(
      135deg,
      var(--hdc-service-wheat-light),
      #fff9eb
    );
  color: var(--hdc-service-teal-dark);
}

.hdc-category-icon svg {
  width: 28px;
  height: 28px;
}

.hdc-category-heading {
  margin-bottom: 17px;
}

.hdc-category-heading > span {
  display: block;
  margin-bottom: 8px;
  color: var(--hdc-service-teal-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hdc-category-heading h3 {
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}

.hdc-category-description {
  min-height: 85px;
  margin-bottom: 26px;
  font-size: 0.93rem;
  line-height: 1.7;
}


/* =========================================================
   TREATMENT ACCORDIONS
========================================================= */

.hdc-treatment-list {
  border-top: 1px solid var(--hdc-service-border);
}

.hdc-treatment {
  border-bottom: 1px solid var(--hdc-service-border);
}

.hdc-treatment summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px;
  color: var(--hdc-service-ink);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
  transition: color 180ms ease;
}

.hdc-treatment summary::-webkit-details-marker {
  display: none;
}

.hdc-treatment summary:hover,
.hdc-treatment[open] summary {
  color: var(--hdc-service-teal-dark);
}

.hdc-treatment[open] summary {
  padding-bottom: 10px;
}

.hdc-treatment-plus {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--hdc-service-teal-light);
}

.hdc-treatment-plus::before,
.hdc-treatment-plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--hdc-service-teal-dark);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.hdc-treatment-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.hdc-treatment[open] .hdc-treatment-plus::after {
  transform: translate(-50%, -50%);
}

.hdc-treatment-content {
  padding: 0 2px 19px;
}

.hdc-treatment-content p {
  color: var(--hdc-service-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.hdc-treatment-content p + .hdc-text-link {
  margin-top: 12px;
}

.hdc-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hdc-service-teal-dark);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.hdc-text-link:hover {
  text-decoration: underline;
}


/* =========================================================
   TECHNOLOGY SECTION
========================================================= */

.hdc-technology-section {
  padding: 120px 0;
  background: var(--hdc-service-white);
}

.hdc-technology-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  padding: 70px;
  border-radius: var(--hdc-service-radius-lg);
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(244, 207, 122, 0.16),
      transparent 34%
    ),
    var(--hdc-service-teal-deep);
  box-shadow: 0 30px 80px rgba(28, 56, 58, 0.18);
}

.hdc-technology-intro {
  align-self: center;
}

.hdc-technology-intro .hdc-services-eyebrow,
.hdc-services-cta-content .hdc-services-eyebrow {
  color: var(--hdc-service-wheat);
}

.hdc-technology-intro h2 {
  margin-bottom: 23px;
  color: var(--hdc-service-white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.hdc-technology-intro p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
}

.hdc-technology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hdc-technology-item {
  min-width: 0;
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hdc-service-radius-sm);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hdc-tech-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 13px;
  background: rgba(244, 207, 122, 0.15);
  color: var(--hdc-service-wheat);
}

.hdc-tech-icon svg {
  width: 22px;
  height: 22px;
}

.hdc-technology-item h3 {
  margin-bottom: 9px;
  color: var(--hdc-service-white);
  font-size: 1rem;
}

.hdc-technology-item p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.65;
}


/* =========================================================
   EMERGENCY CALLOUT
========================================================= */

.hdc-emergency-callout {
  padding: 0 0 120px;
  background: var(--hdc-service-white);
}

.hdc-emergency-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 35px 40px;
  border: 1px solid rgba(100, 127, 130, 0.16);
  border-radius: var(--hdc-service-radius-md);
  background: var(--hdc-service-cream);
}

.hdc-emergency-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--hdc-service-wheat-light);
  color: var(--hdc-service-teal-dark);
}

.hdc-emergency-icon svg {
  width: 27px;
  height: 27px;
}

.hdc-emergency-content > span {
  display: block;
  margin-bottom: 5px;
  color: var(--hdc-service-teal-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hdc-emergency-content h2 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}

.hdc-emergency-content p {
  font-size: 0.9rem;
}

.hdc-emergency-button {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 220px;
  padding: 15px 20px;
  border-radius: 14px;
  background: var(--hdc-service-teal-dark);
  color: var(--hdc-service-white);
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.hdc-emergency-button:hover {
  transform: translateY(-2px);
  background: var(--hdc-service-teal-deep);
  color: var(--hdc-service-white);
}

.hdc-button-phone {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  color: var(--hdc-service-wheat);
}

.hdc-emergency-button small,
.hdc-emergency-button strong {
  display: block;
}

.hdc-emergency-button small {
  margin-bottom: 1px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
}

.hdc-emergency-button strong {
  font-size: 0.97rem;
  font-weight: 500;
}


/* =========================================================
   FINAL CTA
========================================================= */

.hdc-services-cta {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background:
    linear-gradient(
      115deg,
      rgba(41, 72, 75, 0.97),
      rgba(56, 89, 92, 0.94)
    );
}

.hdc-services-cta::before,
.hdc-services-cta::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.hdc-services-cta::before {
  top: -210px;
  right: -100px;
  width: 500px;
  height: 500px;
}

.hdc-services-cta::after {
  right: 125px;
  bottom: -190px;
  width: 340px;
  height: 340px;
  border-color: rgba(244, 207, 122, 0.16);
}

.hdc-services-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 70px;
}

.hdc-services-cta-content {
  max-width: 720px;
}

.hdc-services-cta-content h2 {
  margin-bottom: 20px;
  color: var(--hdc-service-white);
  font-size: clamp(2.15rem, 5vw, 3.7rem);
  letter-spacing: -0.05em;
}

.hdc-services-cta-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

.hdc-services-cta-actions {
  display: flex;
  min-width: 245px;
  flex-direction: column;
  gap: 12px;
}


/* =========================================================
   BUTTONS
========================================================= */

.hdc-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 56px;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.hdc-button:hover {
  transform: translateY(-2px);
}

.hdc-button-primary {
  background: var(--hdc-service-wheat);
  color: var(--hdc-service-teal-deep);
}

.hdc-button-primary:hover {
  background: #f7d98f;
  color: var(--hdc-service-teal-deep);
}

.hdc-button-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--hdc-service-white);
}

.hdc-button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.11);
  color: var(--hdc-service-white);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.hdc-services-page a:focus-visible,
.hdc-services-page summary:focus-visible {
  outline: 3px solid var(--hdc-service-wheat);
  outline-offset: 4px;
}

/* =========================================================
   RESPONSIVE — BELOW 1100PX
========================================================= */

@media (max-width: 1099px) {

  .hdc-service-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hdc-service-category-card:last-child {
    grid-column: 1 / -1;
  }

  .hdc-service-category-card:last-child .hdc-category-description {
    min-height: 0;
  }

  .hdc-technology-panel {
    gap: 45px;
    padding: 55px 45px;
  }

  .hdc-emergency-inner {
    grid-template-columns: auto 1fr;
  }

  .hdc-emergency-button {
    grid-column: 2;
    justify-self: start;
  }

}


/* =========================================================
   BLOCS MD — BELOW 992PX
========================================================= */

@media (max-width: 991px) {

  .hdc-services-intro {
    padding-top: 78px;
  }

  .hdc-services-intro-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    padding-bottom: 50px;
  }

  .hdc-services-intro-header h2 {
    max-width: 760px;
    font-size: clamp(3rem, 8vw, 4.8rem);
  }

  .hdc-services-intro-copy {
    max-width: 650px;
  }

  .hdc-services-benefits {
    grid-template-columns: 1fr;
  }

  .hdc-services-benefit + .hdc-services-benefit {
    border-top: 1px solid rgba(38, 70, 73, 0.12);
    border-left: 0;
  }

  .hdc-service-categories,
  .hdc-technology-section,
  .hdc-services-cta {
    padding-block: 90px;
  }

  .hdc-emergency-callout {
    padding-bottom: 90px;
  }

  .hdc-technology-panel {
    grid-template-columns: 1fr;
  }

  .hdc-technology-intro {
    max-width: 720px;
  }

  .hdc-services-cta-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hdc-services-cta-actions {
    width: min(360px, 100%);
  }

}


/* =========================================================
   BLOCS SM — BELOW 768PX
========================================================= */

@media (max-width: 767px) {

  .hdc-services-container {
    width: min(100% - 32px, 1180px);
  }

  .hdc-services-intro {
    padding-top: 68px;
  }

  .hdc-services-intro-layout {
    gap: 23px;
    padding-bottom: 42px;
  }

  .hdc-services-intro-header h2 {
    max-width: 640px;
    font-size: clamp(2.7rem, 10vw, 4rem);
    line-height: 1.02;
  }

  .hdc-services-intro-copy p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hdc-services-benefit {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 16px;
    padding: 23px;
  }

  .hdc-services-benefit-icon {
    width: 50px;
    height: 50px;
  }

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

  .hdc-service-category-card:last-child {
    grid-column: auto;
  }

  .hdc-category-description {
    min-height: 0;
  }

  .hdc-technology-panel {
    gap: 38px;
    padding: 44px 28px;
    border-radius: 24px;
  }

  .hdc-technology-grid {
    grid-template-columns: 1fr;
  }

  .hdc-emergency-inner {
    grid-template-columns: 1fr;
    padding: 30px 26px;
  }

  .hdc-emergency-button {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

}


/* =========================================================
   BLOCS XS — BELOW 576PX
========================================================= */

@media (max-width: 575px) {

  .hdc-services-page {
    font-size: 15px;
  }

  .hdc-services-container {
    width: min(100% - 26px, 1180px);
  }

  .hdc-services-intro {
    padding-top: 56px;
  }

  .hdc-services-intro::before,
  .hdc-services-intro::after {
    display: none;
  }

  .hdc-services-intro-layout {
    gap: 21px;
    padding-bottom: 35px;
  }

  .hdc-services-intro-header h2 {
    max-width: 100%;
    font-size: clamp(2.4rem, 12vw, 3.3rem);
    letter-spacing: -0.055em;
  }

  .hdc-services-intro-copy p {
    margin-bottom: 21px;
    line-height: 1.65;
  }

  .hdc-services-benefit {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 15px;
    padding: 20px 18px;
  }

  .hdc-services-benefit-icon {
    width: 46px;
    height: 46px;
  }

  .hdc-services-benefit-icon svg {
    width: 21px;
    height: 21px;
  }

  .hdc-service-categories,
  .hdc-technology-section,
  .hdc-services-cta {
    padding-block: 72px;
  }

  .hdc-emergency-callout {
    padding-bottom: 72px;
  }

  .hdc-section-heading {
    margin-bottom: 40px;
  }

  .hdc-service-category-card {
    padding: 30px 22px 24px;
    border-radius: 19px;
  }

  .hdc-category-number {
    top: 20px;
    right: 22px;
    font-size: 3rem;
  }

  .hdc-category-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .hdc-category-heading h3 {
    font-size: 1.45rem;
  }

  .hdc-treatment summary {
    padding-block: 17px;
    font-size: 0.88rem;
  }

  .hdc-technology-panel {
    margin-inline: -2px;
    padding: 38px 22px;
    border-radius: 21px;
  }

  .hdc-technology-item {
    padding: 23px 20px;
  }

  .hdc-emergency-inner {
    gap: 22px;
    padding: 27px 21px;
    border-radius: 19px;
  }

  .hdc-services-cta-actions {
    min-width: 0;
  }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 390px) {

  .hdc-services-benefit {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 19px 17px;
  }

  .hdc-services-benefit-icon {
    width: 42px;
    height: 42px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .hdc-services-page *,
  .hdc-services-page *::before,
  .hdc-services-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}
/* =========================================================
   REMOVE GLOBAL MULTI-COLUMN INTERFERENCE
========================================================= */

#bloc-12,
#bloc-12 > .container,
#bloc-12 > .container > .row,
#bloc-12 > .container > .row > .col,
#bloc-12 main.hdc-services-page {
  columns: auto !important;
  column-count: auto !important;
  column-width: auto !important;
  column-gap: normal !important;
  column-fill: balance !important;
}

/* Ensure every major services section occupies a full row */
#bloc-12 main.hdc-services-page {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

#bloc-12 main.hdc-services-page > section {
  display: block !important;
  width: 100% !important;
  max-width: none !important;

  break-before: auto !important;
  break-after: auto !important;
  break-inside: auto !important;

  column-span: all !important;
}

/* Keep the internal content centered */
#bloc-12 .hdc-services-container {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
}
