/* =========================================================
   DME PAGE
   ========================================================= */

.dme-page {
  --dme-purple: #211548;
  --dme-purple-2: #392b6f;

  --dme-peach: #fff5ed;
  --dme-lilac: #f3efff;
  --dme-cyan: #eef9fb;

  --dme-teal: #0c7894;
  --dme-teal-2: #2ba8bd;

  --dme-ink: #18313d;
  --dme-muted: #667c86;
  --dme-line: #dce8eb;

  --dme-shadow:
    0 18px 48px
    rgba(8, 48, 63, 0.08);

  --dme-shadow-lg:
    0 32px 90px
    rgba(8, 48, 63, 0.13);
}


/* =========================================================
   HERO
   ========================================================= */

.dme-hero {
  padding: 48px 0 64px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f7fbfc 100%
    );
}


.dme-hero-card {
  display: grid;

  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(0, 1.08fr);

  min-height: 580px;

  overflow: hidden;

  background: #ffffff;

  border:
    1px solid
    var(--dme-line);

  border-radius: 34px;

  box-shadow:
    var(--dme-shadow-lg);
}


/* =========================================================
   HERO LEFT
   ========================================================= */

.dme-hero-content {
  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 62px 58px;

  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(43, 168, 189, 0.10),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      var(--dme-purple),
      var(--dme-purple-2)
    );

  color: #ffffff;
}


.dme-hero-content::after {
  content: "";

  position: absolute;

  width: 310px;
  height: 310px;

  left: -170px;
  bottom: -170px;

  border-radius: 50%;

  border:
    1px solid
    rgba(255, 255, 255, 0.10);

  box-shadow:
    0 0 0 55px
    rgba(255, 255, 255, 0.025);
}


.dme-hero-kicker {
  position: relative;

  z-index: 2;

  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-bottom: 18px;

  color: #9ee6ef;

  font-size: 0.75rem;

  font-weight: 900;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.dme-hero-kicker::before {
  content: "";

  width: 28px;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      var(--dme-teal),
      #79dce7
    );
}


.dme-hero-content h1 {
  position: relative;

  z-index: 2;

  max-width: 560px;

  margin: 0 0 24px;

  color: #ffffff;

  font-size:
    clamp(
      3rem,
      5vw,
      5.2rem
    );

  line-height: 0.98;

  letter-spacing: -0.055em;
}


.dme-hero-content > p {
  position: relative;

  z-index: 2;

  max-width: 545px;

  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.78
    );

  font-size: 1rem;

  line-height: 1.8;
}


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

.dme-hero-actions {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 14px;

  margin-top: 30px;
}


.dme-hero-actions .btn {
  background:
    linear-gradient(
      135deg,
      #1590aa,
      var(--dme-teal-2)
    );

  color: #ffffff;

  box-shadow:
    0 13px 28px
    rgba(19, 147, 171, 0.24);
}


.dme-hero-secondary {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  min-height: 49px;

  padding: 0 20px;

  color: #ffffff;

  border:
    1px solid
    rgba(255, 255, 255, 0.27);

  border-radius: 999px;

  font-size: 0.9rem;

  font-weight: 850;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.dme-hero-secondary:hover {
  transform:
    translateY(-2px);

  background:
    rgba(
      255,
      255,
      255,
      0.08
    );

  border-color:
    rgba(
      255,
      255,
      255,
      0.42
    );
}


/* =========================================================
   HERO FEATURE LIST
   ========================================================= */

.dme-hero-features {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 12px;

  margin-top: 42px;
}


.dme-hero-features > div {
  display: flex;

  align-items: flex-start;

  gap: 11px;

  padding-top: 16px;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.14
    );
}


.dme-feature-number {
  display: grid;

  place-items: center;

  width: 31px;
  height: 31px;

  flex: 0 0 31px;

  color: #9ee6ef;

  background:
    rgba(
      255,
      255,
      255,
      0.08
    );

  border-radius: 9px;

  font-size: 0.65rem;

  font-weight: 900;
}


.dme-hero-features strong {
  display: block;

  margin-bottom: 3px;

  color: #ffffff;

  font-size: 0.82rem;
}


.dme-hero-features small {
  display: block;

  color:
    rgba(
      255,
      255,
      255,
      0.58
    );

  font-size: 0.7rem;

  line-height: 1.45;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.dme-hero-image-wrap {
  position: relative;

  min-width: 0;

  overflow: hidden;

  background: #e8f2f4;
}


.dme-hero-image {
  width: 100%;

  height: 100%;

  min-height: 580px;

  object-fit: cover;

  object-position:
    center center;

  transition:
    transform 0.6s ease;
}


.dme-hero-card:hover
.dme-hero-image {
  transform:
    scale(1.015);
}


.dme-hero-image-wrap::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 55%,
      rgba(6, 31, 42, 0.18)
      100%
    );

  pointer-events: none;
}


/* =========================================================
   IMAGE BADGE
   ========================================================= */

.dme-image-badge {
  position: absolute;

  z-index: 3;

  left: 28px;
  right: 28px;
  bottom: 27px;

  display: flex;

  align-items: center;

  gap: 13px;

  max-width: 410px;

  padding: 17px 19px;

  color: #ffffff;

  background:
    rgba(
      9,
      37,
      50,
      0.88
    );

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.15
    );

  border-radius: 17px;

  backdrop-filter:
    blur(10px);

  box-shadow:
    0 12px 34px
    rgba(
      0,
      0,
      0,
      0.14
    );
}


.dme-image-badge-icon {
  display: grid;

  place-items: center;

  width: 37px;
  height: 37px;

  flex: 0 0 37px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--dme-teal),
      var(--dme-teal-2)
    );

  border-radius: 11px;

  font-weight: 900;
}


.dme-image-badge strong {
  display: block;

  margin-bottom: 3px;

  font-size: 0.85rem;
}


.dme-image-badge span {
  color:
    rgba(
      255,
      255,
      255,
      0.65
    );

  font-size: 0.72rem;

  line-height: 1.45;
}


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

.dme-intro-section {
  padding-top: 78px;
}


.dme-main-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    310px;

  gap: 52px;

  align-items: start;
}


.dme-content {
  min-width: 0;
}


.dme-content h2 {
  color:
    var(--dme-purple);

  font-size:
    clamp(
      2rem,
      3.5vw,
      3rem
    );

  letter-spacing:
    -0.035em;
}


.dme-content h3 {
  color:
    var(--dme-purple);
}


.dme-content p {
  color:
    var(--dme-muted);

  line-height: 1.82;
}


.dme-lead {
  color:
    var(--dme-ink) !important;

  font-size: 1.08rem;
}


/* =========================================================
   INTRO CARD
   ========================================================= */

.dme-intro-card {
  margin-bottom: 64px;

  padding: 34px;

  background: #ffffff;

  border:
    1px solid
    var(--dme-line);

  border-radius: 28px;

  box-shadow:
    var(--dme-shadow);
}


.dme-clinical-image {
  position: relative;

  overflow: hidden;

  margin-top: 28px;

  min-height: 360px;

  border-radius: 24px;
}


.dme-clinical-image img {
  display: block;

  width: 100%;

  height: 360px;

  object-fit: cover;
}


.dme-clinical-caption {
  position: absolute;

  left: 20px;
  right: 20px;
  bottom: 18px;

  padding: 16px 18px;

  color: #ffffff;

  background:
    rgba(
      11,
      38,
      53,
      0.88
    );

  border-radius: 14px;

  backdrop-filter:
    blur(8px);
}


.dme-clinical-caption strong {
  display: block;

  margin-bottom: 4px;
}


.dme-clinical-caption span {
  color:
    rgba(
      255,
      255,
      255,
      0.72
    );

  font-size: 0.82rem;
}


/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

.dme-content-section {
  margin-bottom: 66px;
}


.dme-section-intro {
  max-width: 780px;

  margin-bottom: 25px;
}


/* =========================================================
   REASONS
   ========================================================= */

.dme-reasons-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 20px;
}


.dme-reason-card {
  padding: 28px;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #fff8f2
    );

  border:
    1px solid
    #f1dfd1;

  border-radius: 24px;

  box-shadow:
    0 12px 32px
    rgba(155, 89, 45, 0.07);
}


.dme-reason-card--accent {
  background:
    linear-gradient(
      145deg,
      #fff7ef,
      #ffe9d9
    );
}


.dme-reason-header {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 19px;
}


.dme-reason-number {
  display: grid;

  place-items: center;

  width: 43px;
  height: 43px;

  flex: 0 0 43px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #f18747,
      #ffad71
    );

  border-radius: 13px;

  font-size: 0.76rem;

  font-weight: 900;
}


.dme-reason-kicker {
  display: block;

  margin-bottom: 4px;

  color: #b66a3b;

  font-size: 0.67rem;

  font-weight: 900;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}


.dme-reason-card h3 {
  margin: 0;
}


.dme-reason-card ul {
  display: grid;

  gap: 10px;

  margin: 0;

  padding: 0;

  list-style: none;
}


.dme-reason-card li {
  position: relative;

  padding-left: 22px;

  color: #6a625f;

  line-height: 1.55;
}


.dme-reason-card li::before {
  content: "✓";

  position: absolute;

  left: 0;

  color: #f18747;

  font-weight: 900;
}


/* =========================================================
   RESOURCE CARDS
   ========================================================= */

.dme-resource-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 20px;
}


.dme-resource-card {
  overflow: hidden;

  background: #ffffff;

  border:
    1px solid
    var(--dme-line);

  border-radius: 24px;

  box-shadow:
    0 12px 34px
    rgba(8, 48, 63, 0.06);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}


.dme-resource-card:hover {
  transform:
    translateY(-4px);

  box-shadow:
    0 22px 55px
    rgba(8, 48, 63, 0.11);
}


.dme-resource-card--wide {
  grid-column:
    1 / -1;

  display: grid;

  grid-template-columns:
    1.15fr
    0.85fr;
}


.dme-resource-image {
  min-height: 280px;

  overflow: hidden;

  background:
    var(--dme-lilac);
}


.dme-resource-image img {
  width: 100%;

  height: 100%;

  min-height: 280px;

  object-fit: cover;

  transition:
    transform 0.35s ease;
}


.dme-resource-card:hover img {
  transform:
    scale(1.025);
}


.dme-resource-body {
  padding: 24px;
}


.dme-resource-card--wide
.dme-resource-body {
  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 36px;
}


.dme-resource-tag {
  display: inline-flex;

  margin-bottom: 9px;

  padding: 6px 10px;

  color:
    var(--dme-teal);

  background:
    var(--dme-cyan);

  border-radius: 999px;

  font-size: 0.7rem;

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: 0.05em;
}


.dme-resource-body h3 {
  margin-bottom: 9px;
}


.dme-resource-body p {
  margin: 0;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.dme-sidebar {
  position: sticky;

  top: 110px;

  display: grid;

  gap: 18px;
}


.dme-sidebar-card {
  padding: 24px;

  border-radius: 22px;

  border:
    1px solid
    var(--dme-line);

  box-shadow:
    0 10px 28px
    rgba(8, 48, 63, 0.05);
}


.dme-sidebar-card--treatments {
  background:
    linear-gradient(
      145deg,
      #f7f4ff,
      #eee8ff
    );
}


.dme-sidebar-card--providers {
  background:
    linear-gradient(
      145deg,
      #fffaf6,
      #fff0e5
    );
}


.dme-sidebar-card--cta {
  color: #ffffff;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(43, 168, 189, 0.18),
      transparent 42%
    ),
    var(--navy);

  border-color:
    transparent;
}


.dme-sidebar-kicker {
  display: block;

  margin-bottom: 7px;

  color:
    var(--dme-teal);

  font-size: 0.68rem;

  font-weight: 900;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


.dme-sidebar-card--cta
.dme-sidebar-kicker {
  color: #9ee4ed;
}


.dme-sidebar-card h3 {
  margin-bottom: 15px;

  color:
    var(--dme-purple);
}


.dme-sidebar-card--cta h3 {
  color: #ffffff;
}


.dme-sidebar-card--cta p {
  color:
    rgba(
      255,
      255,
      255,
      0.72
    );
}


.dme-sidebar-card nav,
.dme-provider-list {
  display: grid;

  gap: 8px;
}


.dme-sidebar-card nav a,
.dme-provider-list a {
  display: block;

  padding: 11px 12px;

  background:
    rgba(
      255,
      255,
      255,
      0.92
    );

  border:
    1px solid
    rgba(33, 21, 72, 0.05);

  border-radius: 10px;

  color:
    var(--dme-purple);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}


.dme-sidebar-card nav a:hover,
.dme-provider-list a:hover {
  transform:
    translateX(3px);

  box-shadow:
    0 6px 16px
    rgba(33, 21, 72, 0.06);
}


.dme-provider-list strong {
  display: block;

  font-size: 0.8rem;
}


.dme-provider-list span {
  color: #776f80;

  font-size: 0.7rem;
}


/* =========================================================
   REFERRALS ACCORDION
   ========================================================= */

.dme-referrals {
  padding-top: 8px;
}


.dme-accordion {
  display: grid;

  gap: 11px;

  margin-top: 22px;
}


.dme-acc {
  overflow: hidden;

  background: #ffffff;

  border:
    1px solid
    var(--dme-line);

  border-radius: 15px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.dme-acc.open {
  border-color:
    rgba(
      12,
      120,
      148,
      0.28
    );

  box-shadow:
    0 10px 26px
    rgba(8, 48, 63, 0.06);
}


.dme-acc button {
  width: 100%;

  display: grid;

  grid-template-columns:
    46px
    1fr
    auto;

  align-items: center;

  gap: 13px;

  padding: 18px;

  background: none;

  border: 0;

  cursor: pointer;

  text-align: left;
}


.dme-acc-number {
  color:
    var(--dme-teal);

  font-size: 0.74rem;

  font-weight: 900;
}


.dme-acc-label {
  color:
    var(--dme-purple);

  font-weight: 850;
}


.dme-acc-icon {
  display: grid;

  place-items: center;

  width: 30px;
  height: 30px;

  color:
    var(--dme-teal);

  background:
    var(--dme-cyan);

  border-radius: 50%;

  font-weight: 900;

  transition:
    transform 0.2s ease;
}


.dme-acc.open
.dme-acc-icon {
  transform:
    rotate(45deg);
}


.dme-acc-answer {
  display: none;

  padding:
    0
    18px
    19px
    77px;

  color:
    var(--dme-muted);

  line-height: 1.65;
}


.dme-acc.open
.dme-acc-answer {
  display: block;
}


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

.dme-final-cta {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  padding: 42px;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(43, 168, 189, 0.22),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #0b2635,
      #123b4c
    );

  border-radius: 30px;

  box-shadow:
    var(--dme-shadow);
}


.dme-final-cta .eyebrow {
  color: #9ee4ed;
}


.dme-final-cta h2 {
  color: #ffffff;
}


.dme-final-cta p {
  max-width: 680px;

  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.72
    );
}


.dme-final-cta .btn {
  flex: 0 0 auto;

  background: #ffffff;

  color:
    var(--navy);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .dme-main-layout {
    grid-template-columns: 1fr;
  }


  .dme-sidebar {
    position: static;

    grid-template-columns:
      1fr 1fr;
  }


  .dme-sidebar-card--cta {
    grid-column:
      1 / -1;
  }

}


@media (max-width: 1000px) {

  .dme-hero-card {
    grid-template-columns:
      1fr;
  }


  .dme-hero-content {
    padding:
      52px 42px;
  }


  .dme-hero-image-wrap {
    min-height: 430px;
  }


  .dme-hero-image {
    min-height: 430px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 820px) {

  .dme-reasons-grid,
  .dme-resource-grid {
    grid-template-columns:
      1fr;
  }


  .dme-resource-card--wide {
    grid-column:
      auto;

    display: block;
  }


  .dme-sidebar {
    grid-template-columns:
      1fr;
  }


  .dme-sidebar-card--cta {
    grid-column:
      auto;
  }

}


@media (max-width: 690px) {

  .dme-hero {
    padding:
      22px
      0
      46px;
  }


  .dme-hero-card {
    border-radius: 25px;
  }


  .dme-hero-content {
    padding:
      38px
      25px;
  }


  .dme-hero-content h1 {
    font-size:
      clamp(
        2.7rem,
        12vw,
        4rem
      );
  }


  .dme-hero-features {
    grid-template-columns:
      1fr;
  }


  .dme-hero-image-wrap,
  .dme-hero-image {
    min-height: 340px;
  }


  .dme-image-badge {
    left: 16px;
    right: 16px;
    bottom: 15px;
  }


  .dme-intro-card {
    padding: 24px;
  }


  .dme-clinical-image,
  .dme-clinical-image img {
    height: 290px;
    min-height: 290px;
  }


  .dme-resource-image,
  .dme-resource-image img {
    min-height: 230px;
  }


  .dme-acc button {
    grid-template-columns:
      38px
      1fr
      auto;

    padding: 16px;
  }


  .dme-acc-answer {
    padding:
      0
      16px
      18px
      67px;
  }


  .dme-final-cta {
    flex-direction: column;

    align-items: flex-start;

    padding:
      32px
      26px;
  }

}
