/* =========================================================
   HIGHLAND DENTAL CENTER
   PATIENT INFORMATION PAGE
========================================================= */

/*
  Poppins 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"
  >
*/


/* =========================================================
   PAGE VARIABLES AND RESET
========================================================= */

.hdc-patient-page {
  --hdc-patient-cream: #f7f4ed;
  --hdc-patient-cream-dark: #eee9df;
  --hdc-patient-white: #ffffff;

  --hdc-patient-teal: #647f82;
  --hdc-patient-teal-medium: #516f72;
  --hdc-patient-teal-dark: #344f51;
  --hdc-patient-teal-deep: #263f41;

  --hdc-patient-wheat: #f4cf7a;
  --hdc-patient-gold: #c79e4d;
  --hdc-patient-gold-dark: #a77d31;

  --hdc-patient-text: #3f5153;
  --hdc-patient-muted: #6a797b;
  --hdc-patient-border: rgba(52, 79, 81, 0.14);

  --hdc-patient-shadow-small:
    0 12px 32px rgba(39, 63, 65, 0.07);

  --hdc-patient-shadow:
    0 24px 65px rgba(39, 63, 65, 0.12);

  position: relative;
  overflow: hidden;
  width: 100%;

  color: var(--hdc-patient-text);
  background: var(--hdc-patient-cream);

  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

.hdc-patient-page img,
.hdc-patient-page svg {
  display: block;
}

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


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.hdc-patient-container {
  position: relative;
  z-index: 2;

  width: min(calc(100% - 48px), 1180px);
  margin-right: auto;
  margin-left: auto;
}


/* =========================================================
   GLOBAL EYEBROW
========================================================= */

.hdc-patient-eyebrow {
  display: inline-flex;
  gap: 12px;
  align-items: center;

  color: var(--hdc-patient-teal);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hdc-patient-eyebrow::before {
  content: "";

  display: block;
  width: 36px;
  height: 1px;

  background: var(--hdc-patient-gold);
}

.hdc-patient-eyebrow-light {
  color: var(--hdc-patient-wheat);
}

.hdc-patient-eyebrow-light::before {
  background: var(--hdc-patient-wheat);
}


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

.hdc-patient-hero {
  position: relative;
  overflow: hidden;

  padding:
    clamp(80px, 9vw, 132px)
    0
    clamp(76px, 8vw, 116px);

  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(244, 207, 122, 0.23),
      transparent 28%
    ),
    radial-gradient(
      circle at 91% 82%,
      rgba(100, 127, 130, 0.15),
      transparent 31%
    ),
    linear-gradient(
      135deg,
      #fbfaf6 0%,
      #f3efe6 100%
    );
}

.hdc-patient-hero::before {
  content: "";

  position: absolute;
  top: -225px;
  right: -165px;

  width: 600px;
  height: 600px;

  border: 1px solid rgba(100, 127, 130, 0.14);
  border-radius: 50%;
}

.hdc-patient-hero::after {
  content: "";

  position: absolute;
  top: -135px;
  right: -75px;

  width: 420px;
  height: 420px;

  border: 1px solid rgba(100, 127, 130, 0.12);
  border-radius: 50%;
}

.hdc-patient-hero-decoration {
  position: absolute;
  bottom: -160px;
  left: -170px;

  width: 390px;
  height: 390px;

  background:
    radial-gradient(
      circle,
      rgba(244, 207, 122, 0.13),
      transparent 68%
    );

  border-radius: 50%;
}

.hdc-patient-hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.12fr)
    minmax(330px, 0.72fr);

  gap: clamp(50px, 8vw, 105px);
  align-items: center;
}


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

.hdc-patient-hero-content h1 {
  max-width: 760px;
  margin: 22px 0 0;

  color: var(--hdc-patient-teal-dark);
  font-size: clamp(3rem, 6.2vw, 5.65rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hdc-patient-hero-content h1 span {
  display: block;
  color: var(--hdc-patient-teal);
}

.hdc-patient-hero-content > p {
  max-width: 680px;
  margin: 30px 0 0;

  color: var(--hdc-patient-text);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 300;
  line-height: 1.85;
}

.hdc-patient-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 36px;
}


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

.hdc-patient-button {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  justify-content: center;

  min-height: 58px;
  padding: 12px 22px;

  border-radius: 14px;

  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;

  transition:
    transform 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

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

.hdc-patient-button-primary {
  color: var(--hdc-patient-teal-deep);
  background: var(--hdc-patient-wheat);
  box-shadow: 0 12px 27px rgba(99, 75, 28, 0.17);
}

.hdc-patient-button-primary:hover {
  color: var(--hdc-patient-teal-deep);
  background: #f7d78e;
  box-shadow: 0 16px 34px rgba(99, 75, 28, 0.23);
}

.hdc-patient-button-primary svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdc-patient-button-primary span {
  line-height: 1.35;
}

.hdc-patient-button-primary small {
  display: block;

  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.7;
  text-transform: uppercase;
}

.hdc-patient-button-secondary {
  color: var(--hdc-patient-teal-dark);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(52, 79, 81, 0.17);
}

.hdc-patient-button-secondary:hover {
  color: var(--hdc-patient-teal-dark);
  background: #ffffff;
  border-color: rgba(52, 79, 81, 0.28);
}


/* =========================================================
   HERO QUICK CARD
========================================================= */

.hdc-patient-quick-card {
  position: relative;

  padding: clamp(28px, 4vw, 42px);

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(244, 207, 122, 0.17),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      var(--hdc-patient-teal-medium),
      var(--hdc-patient-teal-dark)
    );

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  box-shadow: var(--hdc-patient-shadow);
}

.hdc-patient-card-label {
  color: var(--hdc-patient-wheat);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hdc-patient-quick-card h2 {
  margin: 11px 0 0;

  color: #ffffff;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.hdc-patient-quick-list {
  display: grid;
  gap: 0;

  margin: 28px 0 0;
  padding: 0;

  list-style: none;
}

.hdc-patient-quick-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: center;

  padding: 20px 0;

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

.hdc-patient-quick-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;

  color: var(--hdc-patient-wheat);
  background: rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.hdc-patient-quick-icon svg {
  width: 22px;
  height: 22px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdc-patient-quick-list strong {
  display: block;

  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
}

.hdc-patient-quick-list div > span {
  display: block;
  margin-top: 3px;

  color: rgba(255, 255, 255, 0.69);
  font-size: 0.79rem;
  font-weight: 300;
  line-height: 1.5;
}


/* =========================================================
   STICKY PAGE NAVIGATION
========================================================= */

.hdc-patient-navigation {
  position: relative;
  z-index: 20;

  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(52, 79, 81, 0.08);
  border-bottom: 1px solid var(--hdc-patient-border);
  box-shadow: 0 6px 25px rgba(39, 63, 65, 0.05);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hdc-patient-navigation .hdc-patient-container {
  display: flex;
  gap: clamp(18px, 4vw, 45px);
  align-items: center;

  min-height: 66px;
  overflow-x: auto;

  scrollbar-width: none;
}

.hdc-patient-navigation .hdc-patient-container::-webkit-scrollbar {
  display: none;
}

.hdc-patient-navigation a {
  position: relative;

  flex: 0 0 auto;
  padding: 22px 0 20px;

  color: var(--hdc-patient-muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;

  transition: color 180ms ease;
}

.hdc-patient-navigation a::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 2px;

  background: var(--hdc-patient-gold);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 180ms ease;
}

.hdc-patient-navigation a:hover {
  color: var(--hdc-patient-teal-dark);
}

.hdc-patient-navigation a:hover::after {
  transform: scaleX(1);
}


/* =========================================================
   GLOBAL SECTION
========================================================= */

.hdc-patient-section {
  position: relative;

  padding:
    clamp(76px, 9vw, 125px)
    0;
}

.hdc-patient-section-heading {
  max-width: 800px;
  margin: 0 auto clamp(45px, 6vw, 74px);

  text-align: center;
}

.hdc-patient-section-heading h2,
.hdc-faq-heading h2 {
  margin: 18px 0 0;

  color: var(--hdc-patient-teal-dark);
  font-size: clamp(2.25rem, 4.6vw, 4.35rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hdc-patient-section-heading h2 span,
.hdc-faq-heading h2 span {
  display: block;
  color: var(--hdc-patient-teal);
}

.hdc-patient-section-heading > p,
.hdc-faq-heading > p {
  max-width: 700px;
  margin: 24px auto 0;

  color: var(--hdc-patient-text);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  font-weight: 300;
  line-height: 1.82;
}


/* =========================================================
   FIRST VISIT
========================================================= */

.hdc-first-visit {
  background:
    radial-gradient(
      circle at 0 100%,
      rgba(244, 207, 122, 0.13),
      transparent 27%
    ),
    #ffffff;
}

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

.hdc-visit-card {
  position: relative;
  overflow: hidden;

  min-height: 310px;
  padding: 30px 27px;

  background: var(--hdc-patient-cream);
  border: 1px solid rgba(52, 79, 81, 0.1);
  border-radius: 22px;

  transition:
    transform 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.hdc-visit-card:hover {
  background: #ffffff;
  border-color: rgba(199, 158, 77, 0.36);
  box-shadow: var(--hdc-patient-shadow-small);
  transform: translateY(-6px);
}

.hdc-visit-number {
  position: absolute;
  top: 20px;
  right: 22px;

  color: rgba(52, 79, 81, 0.22);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hdc-visit-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;

  color: var(--hdc-patient-teal-dark);
  background: rgba(244, 207, 122, 0.32);
  border-radius: 50%;
}

.hdc-visit-icon svg {
  width: 26px;
  height: 26px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdc-visit-card h3 {
  margin: 25px 0 0;

  color: var(--hdc-patient-teal-dark);
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.35;
}

.hdc-visit-card p {
  margin: 15px 0 0;

  color: var(--hdc-patient-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.75;
}


/* =========================================================
   ARRIVAL NOTE
========================================================= */

.hdc-arrival-note {
  display: flex;
  gap: 18px;
  align-items: center;

  max-width: 830px;
  margin: 34px auto 0;
  padding: 22px 26px;

  background: rgba(100, 127, 130, 0.08);
  border: 1px solid rgba(100, 127, 130, 0.13);
  border-radius: 18px;
}

.hdc-arrival-note-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;

  color: var(--hdc-patient-teal-dark);
  background: #ffffff;
  border-radius: 50%;
}

.hdc-arrival-note-icon svg {
  width: 23px;
  height: 23px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdc-arrival-note strong {
  color: var(--hdc-patient-teal-dark);
  font-size: 0.98rem;
  font-weight: 600;
}

.hdc-arrival-note p {
  margin: 3px 0 0;

  color: var(--hdc-patient-muted);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
}


/* =========================================================
   OFFICE HOURS SECTION
========================================================= */

.hdc-hours-section {
  color: #ffffff;

  background:
    radial-gradient(
      circle at 8% 0,
      rgba(244, 207, 122, 0.17),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      var(--hdc-patient-teal-medium),
      var(--hdc-patient-teal-dark)
    );
}

.hdc-hours-layout {
  display: grid;
  grid-template-columns:
    minmax(280px, 0.85fr)
    minmax(450px, 1.15fr);

  gap: clamp(50px, 8vw, 105px);
  align-items: center;
}

.hdc-hours-content h2 {
  margin: 20px 0 0;

  color: #ffffff;
  font-size: clamp(2.25rem, 4.7vw, 4.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hdc-hours-content h2 span {
  display: block;
  color: var(--hdc-patient-wheat);
}

.hdc-hours-content > p {
  max-width: 530px;
  margin: 26px 0 0;

  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.82;
}

.hdc-hours-contact {
  display: flex;
  gap: 14px;
  align-items: center;

  margin-top: 32px;
}

.hdc-hours-contact > span {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;

  color: var(--hdc-patient-wheat);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hdc-hours-contact svg {
  width: 22px;
  height: 22px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdc-hours-contact small {
  display: block;

  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hdc-hours-contact a {
  display: inline-block;
  margin-top: 2px;

  color: #ffffff;
  font-size: 1.04rem;
  font-weight: 600;
  text-decoration: none;
}


/* =========================================================
   HOURS CARD
========================================================= */

.hdc-hours-card {
  padding: clamp(27px, 4vw, 42px);

  color: var(--hdc-patient-text);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(24, 47, 49, 0.24);
}

.hdc-hours-card-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 24px;

  border-bottom: 1px solid var(--hdc-patient-border);
}

.hdc-hours-card-heading span {
  color: var(--hdc-patient-gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hdc-hours-card-heading h3 {
  margin: 5px 0 0;

  color: var(--hdc-patient-teal-dark);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
}

.hdc-hours-clock {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;

  color: var(--hdc-patient-teal-dark);
  background: rgba(244, 207, 122, 0.28);
  border-radius: 50%;
}

.hdc-hours-clock svg {
  width: 26px;
  height: 26px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdc-hours-list {
  margin: 0;
}

.hdc-hours-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;

  padding: 17px 0;

  border-bottom: 1px solid rgba(52, 79, 81, 0.09);
}

.hdc-hours-list dt {
  color: var(--hdc-patient-teal-dark);
  font-size: 0.92rem;
  font-weight: 500;
}

.hdc-hours-list dd {
  margin: 0;

  color: var(--hdc-patient-text);
  font-size: 0.9rem;
  font-weight: 400;
  text-align: right;
}

.hdc-hours-list dd small {
  display: block;
  margin-top: 1px;

  color: var(--hdc-patient-muted);
  font-size: 0.65rem;
  font-weight: 400;
}

.hdc-hours-disclaimer {
  margin: 19px 0 0;

  color: var(--hdc-patient-muted);
  font-size: 0.72rem;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
}


/* =========================================================
   PAYMENT SECTION
========================================================= */

.hdc-payment-section {
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(100, 127, 130, 0.12),
      transparent 30%
    ),
    var(--hdc-patient-cream);
}

.hdc-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hdc-payment-card {
  position: relative;
  display: flex;
  flex-direction: column;

  min-height: 485px;
  padding: clamp(27px, 3.5vw, 38px);

  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--hdc-patient-border);
  border-radius: 24px;
  box-shadow: var(--hdc-patient-shadow-small);

  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.hdc-payment-card:hover {
  border-color: rgba(199, 158, 77, 0.39);
  box-shadow: var(--hdc-patient-shadow);
  transform: translateY(-5px);
}

.hdc-payment-card-featured {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(244, 207, 122, 0.16),
      transparent 32%
    ),
    #ffffff;

  border-color: rgba(199, 158, 77, 0.3);
}

.hdc-payment-status {
  position: absolute;
  top: 24px;
  right: 24px;

  padding: 7px 11px;

  color: var(--hdc-patient-teal-dark);
  background: rgba(244, 207, 122, 0.34);
  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hdc-payment-card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;

  color: var(--hdc-patient-teal-dark);
  background: rgba(100, 127, 130, 0.09);
  border-radius: 50%;
}

.hdc-payment-card-icon svg {
  width: 27px;
  height: 27px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdc-payment-card-label {
  display: block;
  margin-top: 25px;

  color: var(--hdc-patient-gold);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hdc-payment-card h3 {
  margin: 8px 0 0;

  color: var(--hdc-patient-teal-dark);
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.28;
}

.hdc-payment-card > p {
  margin: 17px 0 0;

  color: var(--hdc-patient-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
}

.hdc-payment-card ul {
  display: grid;
  gap: 10px;

  margin: 22px 0 27px;
  padding: 0;

  list-style: none;
}

.hdc-payment-card li {
  position: relative;

  padding-left: 21px;

  color: var(--hdc-patient-text);
  font-size: 0.83rem;
  line-height: 1.55;
}

.hdc-payment-card li::before {
  content: "";

  position: absolute;
  top: 0.58em;
  left: 0;

  width: 7px;
  height: 7px;

  background: var(--hdc-patient-wheat);
  border: 1px solid var(--hdc-patient-gold);
  border-radius: 50%;
}

.hdc-payment-card > a {
  display: inline-flex;
  gap: 8px;
  align-items: center;

  margin-top: auto;

  color: var(--hdc-patient-teal-dark);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;

  transition:
    gap 180ms ease,
    color 180ms ease;
}

.hdc-payment-card > a:hover {
  gap: 12px;
  color: var(--hdc-patient-gold-dark);
}

.hdc-payment-coming-soon {
  display: block;

  margin-top: auto;
  padding: 13px 15px;

  color: var(--hdc-patient-muted);
  background: var(--hdc-patient-cream);
  border-radius: 12px;

  font-size: 0.72rem;
  line-height: 1.55;
  text-align: center;
}


/* =========================================================
   PAYMENT NOTE
========================================================= */

.hdc-payment-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;

  margin-top: 30px;
  padding: 24px 27px;

  background: rgba(100, 127, 130, 0.08);
  border: 1px solid rgba(100, 127, 130, 0.13);
  border-radius: 18px;
}

.hdc-payment-note strong {
  color: var(--hdc-patient-teal-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.hdc-payment-note p {
  margin: 0;

  color: var(--hdc-patient-muted);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.6;
}

.hdc-payment-note a {
  flex: 0 0 auto;

  color: var(--hdc-patient-teal-dark);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
}


/* =========================================================
   EMERGENCY SECTION
========================================================= */

.hdc-emergency-section {
  background: #ffffff;
}

.hdc-emergency-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(250px, 0.48fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;

  padding: clamp(32px, 5vw, 58px);

  background:
    radial-gradient(
      circle at 95% 0,
      rgba(244, 207, 122, 0.17),
      transparent 31%
    ),
    linear-gradient(
      135deg,
      var(--hdc-patient-teal-dark),
      var(--hdc-patient-teal-deep)
    );

  border-radius: 28px;
  box-shadow: var(--hdc-patient-shadow);
}

.hdc-emergency-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;

  color: var(--hdc-patient-teal-deep);
  background: var(--hdc-patient-wheat);
  border-radius: 50%;
}

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

  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdc-emergency-label {
  color: var(--hdc-patient-wheat);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hdc-emergency-content h2 {
  max-width: 670px;
  margin: 9px 0 0;

  color: #ffffff;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.hdc-emergency-content > p {
  max-width: 700px;
  margin: 20px 0 0;

  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.78;
}

.hdc-emergency-steps {
  display: grid;
  gap: 10px;

  margin-top: 24px;
}

.hdc-emergency-steps > div {
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 11px;
  align-items: start;
}

.hdc-emergency-steps div > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;

  color: var(--hdc-patient-teal-deep);
  background: rgba(244, 207, 122, 0.9);
  border-radius: 50%;

  font-size: 0.67rem;
  font-weight: 600;
}

.hdc-emergency-steps p {
  margin: 2px 0 0;

  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.6;
}

.hdc-emergency-steps a {
  color: #ffffff;
  font-weight: 600;
}

.hdc-emergency-button {
  display: inline-flex;
  gap: 11px;
  align-items: center;

  margin-top: 28px;
  padding: 14px 19px;

  color: var(--hdc-patient-teal-deep);
  background: var(--hdc-patient-wheat);
  border-radius: 13px;

  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;

  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.hdc-emergency-button:hover {
  color: var(--hdc-patient-teal-deep);
  background: #f8d991;
  transform: translateY(-3px);
}

.hdc-emergency-button svg {
  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   EMERGENCY MEDICAL WARNING
========================================================= */

.hdc-emergency-warning {
  padding: 23px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
}

.hdc-emergency-warning strong {
  color: var(--hdc-patient-wheat);
  font-size: 0.87rem;
  font-weight: 600;
}

.hdc-emergency-warning p {
  margin: 10px 0 0;

  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.7;
}


/* =========================================================
   FAQ SECTION
========================================================= */

.hdc-faq-section {
  background:
    radial-gradient(
      circle at 0 0,
      rgba(244, 207, 122, 0.14),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #f9f7f2,
      var(--hdc-patient-cream)
    );
}

.hdc-faq-layout {
  display: grid;
  grid-template-columns:
    minmax(280px, 0.75fr)
    minmax(500px, 1.25fr);

  gap: clamp(48px, 7vw, 95px);
  align-items: start;
}

.hdc-faq-heading {
  position: sticky;
  top: 35px;
}

.hdc-faq-heading h2 {
  font-size: clamp(2.2rem, 4.1vw, 3.8rem);
}

.hdc-faq-heading > p {
  margin-right: 0;
  margin-left: 0;

  text-align: left;
}


/* =========================================================
   FAQ CONTACT CARD
========================================================= */

.hdc-faq-contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;

  margin-top: 32px;
  padding: 22px;

  background: rgba(255, 255, 255, 0.67);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: var(--hdc-patient-shadow-small);
}

.hdc-faq-contact-card > span {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;

  color: var(--hdc-patient-teal-dark);
  background: rgba(244, 207, 122, 0.32);
  border-radius: 50%;
}

.hdc-faq-contact-card svg {
  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdc-faq-contact-card strong {
  display: block;

  color: var(--hdc-patient-teal-dark);
  font-size: 0.91rem;
  font-weight: 600;
}

.hdc-faq-contact-card p {
  margin: 3px 0 6px;

  color: var(--hdc-patient-muted);
  font-size: 0.78rem;
}

.hdc-faq-contact-card a {
  display: inline-flex;
  gap: 7px;

  color: var(--hdc-patient-teal-dark);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;

  transition:
    gap 180ms ease,
    color 180ms ease;
}

.hdc-faq-contact-card a:hover {
  gap: 11px;
  color: var(--hdc-patient-gold-dark);
}


/* =========================================================
   FAQ ACCORDION
========================================================= */

.hdc-faq-list {
  display: grid;
  gap: 13px;
}

.hdc-faq-item {
  overflow: hidden;

  background: rgba(255, 255, 255, 0.87);
  border: 1px solid var(--hdc-patient-border);
  border-radius: 18px;
  box-shadow: 0 7px 23px rgba(39, 63, 65, 0.045);

  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease;
}

.hdc-faq-item:hover {
  border-color: rgba(52, 79, 81, 0.24);
  box-shadow: 0 13px 33px rgba(39, 63, 65, 0.085);
  transform: translateY(-2px);
}

.hdc-faq-item[open] {
  background: #ffffff;
  border-color: rgba(199, 158, 77, 0.42);
  box-shadow: var(--hdc-patient-shadow-small);
}

.hdc-faq-item summary {
  display: grid;
  grid-template-columns: 40px 1fr 34px;
  gap: 14px;
  align-items: center;

  min-height: 80px;
  padding: 19px 22px;

  color: var(--hdc-patient-teal-dark);
  cursor: pointer;
  list-style: none;
}

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

.hdc-faq-item summary::marker {
  content: "";
}

.hdc-faq-number {
  color: var(--hdc-patient-gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hdc-faq-question {
  font-size: clamp(0.95rem, 1.2vw, 1.06rem);
  font-weight: 500;
  line-height: 1.45;
}

.hdc-faq-toggle {
  position: relative;

  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;

  background: rgba(100, 127, 130, 0.09);
  border-radius: 50%;

  transition:
    background-color 200ms ease,
    transform 250ms ease;
}

.hdc-faq-toggle::before,
.hdc-faq-toggle::after {
  content: "";

  position: absolute;

  width: 12px;
  height: 1.5px;

  background: var(--hdc-patient-teal-dark);
  border-radius: 4px;

  transition:
    opacity 180ms ease,
    transform 250ms ease;
}

.hdc-faq-toggle::after {
  transform: rotate(90deg);
}

.hdc-faq-item[open] .hdc-faq-toggle {
  background: rgba(244, 207, 122, 0.34);
  transform: rotate(180deg);
}

.hdc-faq-item[open] .hdc-faq-toggle::after {
  opacity: 0;
  transform: rotate(0);
}

.hdc-faq-answer {
  padding: 0 65px 24px 76px;
}

.hdc-faq-answer p {
  margin: 0;
  padding-top: 18px;

  color: var(--hdc-patient-muted);
  border-top: 1px solid rgba(52, 79, 81, 0.09);

  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.78;
}

.hdc-faq-answer a {
  color: var(--hdc-patient-teal-dark);
  font-weight: 600;
  text-decoration-color: var(--hdc-patient-gold);
  text-underline-offset: 3px;
}


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

.hdc-patient-final-cta {
  position: relative;

  padding: 0 0 clamp(65px, 8vw, 105px);

  background: var(--hdc-patient-cream);
}

.hdc-patient-final-cta-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;

  padding:
    clamp(36px, 5vw, 61px)
    clamp(28px, 6vw, 74px);

  background:
    radial-gradient(
      circle at 90% 0,
      rgba(244, 207, 122, 0.18),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      var(--hdc-patient-teal-medium),
      var(--hdc-patient-teal-deep)
    );

  border-radius: 28px;
  box-shadow: var(--hdc-patient-shadow);
}

.hdc-patient-final-cta-content > div {
  max-width: 670px;
}

.hdc-patient-final-cta-content > div > span {
  color: var(--hdc-patient-wheat);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hdc-patient-final-cta h2 {
  margin: 9px 0 0;

  color: #ffffff;
  font-size: clamp(1.85rem, 3.7vw, 3.35rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hdc-patient-final-cta p {
  max-width: 620px;
  margin: 14px 0 0;

  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.72;
}

.hdc-patient-final-cta-content > a {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 13px;
  align-items: center;

  min-width: 255px;
  padding: 15px 20px;

  color: var(--hdc-patient-teal-deep);
  background: var(--hdc-patient-wheat);
  border-radius: 14px;
  box-shadow: 0 12px 27px rgba(17, 34, 35, 0.2);

  text-decoration: none;

  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.hdc-patient-final-cta-content > a:hover {
  color: var(--hdc-patient-teal-deep);
  background: #f8d991;
  box-shadow: 0 16px 33px rgba(17, 34, 35, 0.27);
  transform: translateY(-3px);
}

.hdc-patient-final-cta-content > a svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdc-patient-final-cta-content > a span {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

.hdc-patient-final-cta-content > a small {
  display: block;

  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  opacity: 0.7;
  text-transform: uppercase;
}


/* =========================================================
   LARGE TABLET — BELOW 1200PX
========================================================= */

@media (max-width: 1199.98px) {

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

  .hdc-visit-card {
    min-height: 265px;
  }

  .hdc-emergency-card {
    grid-template-columns: 68px 1fr;
  }

  .hdc-emergency-warning {
    grid-column: 2;
  }

}


/* =========================================================
   TABLET — BELOW 992PX
========================================================= */

@media (max-width: 991.98px) {

  .hdc-patient-hero-grid,
  .hdc-hours-layout,
  .hdc-faq-layout {
    grid-template-columns: 1fr;
  }

  .hdc-patient-hero-content {
    max-width: 820px;
  }

  .hdc-patient-quick-card {
    max-width: 720px;
  }

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

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

  .hdc-payment-card-featured {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .hdc-payment-note {
    grid-template-columns: 1fr auto;
  }

  .hdc-payment-note strong {
    grid-column: 1 / -1;
  }

  .hdc-faq-heading {
    position: relative;
    top: auto;

    max-width: 750px;
  }

  .hdc-faq-contact-card {
    max-width: 470px;
  }

  .hdc-patient-final-cta-content {
    align-items: flex-start;
    flex-direction: column;
  }

}


/* =========================================================
   SMALL TABLET — BELOW 768PX
========================================================= */

@media (max-width: 767.98px) {

  .hdc-patient-container {
    width: min(calc(100% - 36px), 1180px);
  }

  .hdc-patient-hero {
    padding-top: 70px;
  }

  .hdc-patient-hero-content h1 {
    font-size: clamp(2.75rem, 11vw, 4.5rem);
  }

  .hdc-patient-navigation .hdc-patient-container {
    width: calc(100% - 28px);
  }

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

  .hdc-payment-card,
  .hdc-payment-card-featured {
    grid-column: auto;
    min-height: 0;
  }

  .hdc-payment-note {
    grid-template-columns: 1fr;
    gap: 9px;
  }

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

  .hdc-emergency-warning {
    grid-column: auto;
  }

}


/* =========================================================
   MOBILE — BELOW 576PX
========================================================= */

@media (max-width: 575.98px) {

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

  .hdc-patient-container {
    width: min(calc(100% - 30px), 1180px);
  }

  .hdc-patient-hero {
    padding:
      62px
      0
      68px;
  }

  .hdc-patient-hero::before,
  .hdc-patient-hero::after {
    display: none;
  }

  .hdc-patient-hero-grid {
    gap: 42px;
  }

  .hdc-patient-hero-content h1 {
    margin-top: 18px;
    font-size: clamp(2.45rem, 13vw, 3.6rem);
    line-height: 1.01;
  }

  .hdc-patient-hero-content > p {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.75;
  }

  .hdc-patient-hero-actions {
    align-items: stretch;
    flex-direction: column;

    margin-top: 29px;
  }

  .hdc-patient-button {
    width: 100%;
  }

  .hdc-patient-quick-card {
    padding: 27px 22px;
    border-radius: 22px;
  }

  .hdc-patient-quick-card h2 {
    font-size: 1.55rem;
  }

  .hdc-patient-navigation .hdc-patient-container {
    width: calc(100% - 24px);
    min-height: 60px;
  }

  .hdc-patient-navigation a {
    padding: 20px 0 18px;
    font-size: 0.68rem;
  }

  .hdc-patient-section {
    padding:
      68px
      0;
  }

  .hdc-patient-section-heading {
    margin-bottom: 38px;
    text-align: left;
  }

  .hdc-patient-section-heading h2,
  .hdc-faq-heading h2 {
    font-size: clamp(2rem, 10.5vw, 2.9rem);
  }

  .hdc-patient-section-heading > p {
    margin-right: 0;
    margin-left: 0;

    font-size: 0.98rem;
  }

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

  .hdc-visit-card {
    min-height: 0;
    padding: 27px 24px;
  }

  .hdc-arrival-note {
    align-items: flex-start;
    padding: 20px;
  }

  .hdc-hours-layout {
    gap: 40px;
  }

  .hdc-hours-content h2 {
    font-size: clamp(2rem, 10.5vw, 2.9rem);
  }

  .hdc-hours-card {
    padding: 25px 20px;
    border-radius: 21px;
  }

  .hdc-hours-card-heading {
    align-items: flex-start;
  }

  .hdc-hours-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .hdc-hours-list dd {
    text-align: left;
  }

  .hdc-hours-list dd small {
    display: inline;
    margin-left: 5px;
  }

  .hdc-payment-card {
    padding: 27px 23px;
    border-radius: 20px;
  }

  .hdc-payment-status {
    top: 20px;
    right: 20px;
  }

  .hdc-emergency-card {
    gap: 24px;
    padding: 28px 22px;
    border-radius: 22px;
  }

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

  .hdc-emergency-content h2 {
    font-size: 2rem;
  }

  .hdc-emergency-button {
    width: 100%;
    justify-content: center;
  }

  .hdc-faq-layout {
    gap: 38px;
  }

  .hdc-faq-item summary {
    grid-template-columns: 1fr 33px;
    gap: 12px;

    min-height: 74px;
    padding: 17px;
  }

  .hdc-faq-number {
    display: none;
  }

  .hdc-faq-question {
    font-size: 0.94rem;
  }

  .hdc-faq-answer {
    padding: 0 17px 21px;
  }

  .hdc-faq-answer p {
    padding-top: 16px;
    font-size: 0.88rem;
  }

  .hdc-patient-final-cta {
    padding-bottom: 65px;
  }

  .hdc-patient-final-cta-content {
    gap: 26px;
    padding: 32px 22px;
    border-radius: 22px;
  }

  .hdc-patient-final-cta-content > a {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

}


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

.hdc-patient-page a:focus-visible,
.hdc-patient-page summary:focus-visible {
  outline: 3px solid rgba(199, 158, 77, 0.62);
  outline-offset: 4px;
}

.hdc-patient-page section[id] {
  scroll-margin-top: 95px;
}


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

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

  .hdc-patient-page *,
  .hdc-patient-page *::before,
  .hdc-patient-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

}
/* =========================================================
   TEXT CONTRAST FIX
   EMERGENCY SECTION + FINAL APPOINTMENT CTA
   Place at the END of the Patient Information CSS
========================================================= */


/* =========================================================
   EMERGENCY CARE SECTION
========================================================= */

.hdc-patient-page .hdc-emergency-card,
.hdc-patient-page .hdc-emergency-card p,
.hdc-patient-page .hdc-emergency-card li,
.hdc-patient-page .hdc-emergency-card span {
  color: rgba(255, 255, 255, 0.84);
}


/* CURRENT PATIENTS LABEL */

.hdc-patient-page .hdc-emergency-card .hdc-emergency-label {
  color: #f4cf7a !important;
  font-weight: 600;
}


/* MAIN EMERGENCY HEADING */

.hdc-patient-page .hdc-emergency-card .hdc-emergency-content h2,
.hdc-patient-page .hdc-emergency-card h2#hdc-emergency-title {
  color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}


/* EMERGENCY INTRODUCTION */

.hdc-patient-page .hdc-emergency-card .hdc-emergency-content > p {
  color: rgba(255, 255, 255, 0.82) !important;
}


/* NUMBERED INSTRUCTIONS */

.hdc-patient-page .hdc-emergency-card .hdc-emergency-steps p {
  color: rgba(255, 255, 255, 0.86) !important;
}

.hdc-patient-page .hdc-emergency-card .hdc-emergency-steps a {
  color: #ffffff !important;
  font-weight: 600;
}


/* STEP NUMBER CIRCLES */

.hdc-patient-page
.hdc-emergency-card
.hdc-emergency-steps
div > span {
  color: #263f41 !important;
  background: #f4cf7a;
}


/* LIFE-THREATENING WARNING CARD */

.hdc-patient-page .hdc-emergency-card .hdc-emergency-warning {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.hdc-patient-page
.hdc-emergency-card
.hdc-emergency-warning strong {
  color: #f4cf7a !important;
}

.hdc-patient-page
.hdc-emergency-card
.hdc-emergency-warning p {
  color: rgba(255, 255, 255, 0.84) !important;
}


/* EMERGENCY BUTTON */

.hdc-patient-page
.hdc-emergency-card
.hdc-emergency-button {
  color: #263f41 !important;
  background: #f4cf7a;
}

.hdc-patient-page
.hdc-emergency-card
.hdc-emergency-button:hover {
  color: #263f41 !important;
  background: #f8d991;
}


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

.hdc-patient-page .hdc-patient-final-cta-content {
  color: #ffffff;
}


/* READY WHEN YOU ARE */

.hdc-patient-page
.hdc-patient-final-cta-content
> div
> span {
  color: #f4cf7a !important;
  font-weight: 600;
}


/* MAIN CTA HEADING */

.hdc-patient-page
.hdc-patient-final-cta-content
h2,
.hdc-patient-page
.hdc-patient-final-cta-content
h2#hdc-patient-cta-title {
  color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}


/* CTA DESCRIPTION */

.hdc-patient-page
.hdc-patient-final-cta-content
p {
  color: rgba(255, 255, 255, 0.82) !important;
}


/* CTA PHONE BUTTON */

.hdc-patient-page
.hdc-patient-final-cta-content
> a,
.hdc-patient-page
.hdc-patient-final-cta-content
> a span,
.hdc-patient-page
.hdc-patient-final-cta-content
> a small {
  color: #263f41 !important;
}

.hdc-patient-page
.hdc-patient-final-cta-content
> a {
  background: #f4cf7a;
}

.hdc-patient-page
.hdc-patient-final-cta-content
> a:hover {
  color: #263f41 !important;
  background: #f8d991;
}


/* =========================================================
   OPTIONAL: SLIGHTLY DARKER BACKGROUNDS FOR MORE CONTRAST
========================================================= */

.hdc-patient-page .hdc-emergency-card,
.hdc-patient-page .hdc-patient-final-cta-content {
  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(244, 207, 122, 0.14),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #3f6063 0%,
      #263f41 100%
    ) !important;
}
