.appointment-page {
  background: #f3f7fc;
  color: #152b4b;
  font-family: "DM Sans", "Plus Jakarta Sans", sans-serif;
}

.appointment-page h1,
.appointment-page h2,
.appointment-page h3,
.thank-you-page h1 {
  font-family: Manrope, "Plus Jakarta Sans", sans-serif;
}

.appointment-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 78px;
  background:
    radial-gradient(ellipse at 89% 13%, rgba(17, 181, 174, 0.22), transparent 31%),
    radial-gradient(ellipse at 9% 92%, rgba(255, 159, 67, 0.16), transparent 31%),
    linear-gradient(124deg, #e9f0ff 0%, #f6f9ff 48%, #e6f8f2 100%);
}

.appointment-hero::after {
  position: absolute;
  right: -100px;
  bottom: -230px;
  width: 450px;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 70, 162, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(23, 70, 162, 0.035), 0 0 0 67px rgba(17, 181, 174, 0.025);
  content: "";
  pointer-events: none;
}

.appointment-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 40px;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
}

.appointment-hero-copy h1 {
  max-width: 680px;
  margin: 12px 0 18px;
  color: #102a56;
  font-size: clamp(43px, 6.5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.065em;
}

.appointment-hero-copy h1 span {
  background: linear-gradient(95deg, #1746a2, #0a9995 68%, #d77922);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.appointment-hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  color: #536780;
  font-size: 16px;
}

.appointment-hero-actions,
.hero-care-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.appointment-hero-actions {
  margin-top: 26px;
}

.appointment-hero-button {
  min-height: 53px;
  padding-inline: 23px;
}

.appointment-phone-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border-radius: 14px;
  color: #1746a2;
  font-size: 13px;
  font-weight: 800;
}

.appointment-phone-link:hover {
  background: rgba(255, 255, 255, 0.68);
}

.hero-care-chips {
  gap: 8px;
  margin-top: 24px;
}

.hero-care-chips span {
  padding: 7px 11px;
  border: 1px solid rgba(23, 70, 162, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #37516f;
  font-size: 12px;
  font-weight: 700;
}

.appointment-doctor-visual {
  position: relative;
  min-width: 0;
  padding: 15px;
}

.doctor-photo-frame {
  position: relative;
  height: clamp(330px, 39vw, 490px);
  overflow: hidden;
  border: 7px solid #ffffff;
  border-radius: 30px;
  background: linear-gradient(145deg, #dce9fb, #c9f2e7);
  box-shadow: 0 27px 63px rgba(16, 42, 86, 0.19);
  transform: rotate(1deg);
}

.doctor-photo-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.doctor-photo-shade {
  position: absolute;
  inset: 47% 0 0;
  background: linear-gradient(180deg, transparent, rgba(8, 24, 50, 0.88));
}

.doctor-photo-caption {
  position: absolute;
  right: 20px;
  bottom: 19px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.doctor-photo-caption strong,
.doctor-photo-caption small {
  display: block;
}

.doctor-photo-caption strong {
  font-size: 16px;
}

.doctor-photo-caption small {
  color: #dceafb;
  font-size: 11px;
}

.doctor-photo-status {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: #11b5ae;
  box-shadow: 0 0 0 5px rgba(17, 181, 174, 0.2);
}

.doctor-photo-float {
  position: absolute;
  right: -1px;
  bottom: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #e4ecf6;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 14px 31px rgba(16, 42, 86, 0.16);
  color: #294263;
  font-size: 11px;
  font-weight: 800;
}

.doctor-photo-float > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: #ddf8f0;
  color: #07867c;
  font-size: 17px;
}

.appointment-contact-strip {
  position: relative;
  z-index: 2;
  margin-top: -24px;
}

.appointment-contact-strip-inner {
  display: grid;
  align-items: center;
  gap: 11px;
  grid-template-columns: 1.4fr 1fr 0.75fr;
  padding: 18px 21px;
  border: 1px solid #dfe9f5;
  border-radius: 19px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(16, 42, 86, 0.095);
}

.appointment-contact-strip-inner > div,
.appointment-contact-strip-inner > a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: #1746a2;
  font-size: 12px;
  font-weight: 800;
}

.appointment-contact-strip-inner small,
.appointment-contact-strip-inner strong {
  display: block;
}

.appointment-contact-strip-inner small {
  margin-top: 3px;
  color: #53657d;
  font-size: 11px;
  font-weight: 500;
}

.contact-strip-icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: #e4f2ff;
  color: #1746a2;
  font-size: 19px;
}

.appointment-contact-strip-inner > a {
  min-height: 43px;
  padding: 8px 10px;
  border-radius: 11px;
}

.appointment-contact-strip-inner > a:hover {
  background: #f1f7ff;
}

.booking-section {
  padding: 88px 0 94px;
  background:
    radial-gradient(ellipse at 5% 70%, rgba(17, 181, 174, 0.09), transparent 29%),
    radial-gradient(ellipse at 94% 15%, rgba(255, 159, 67, 0.1), transparent 27%),
    #f5f8fc;
}

.booking-layout {
  display: grid;
  align-items: start;
  gap: 37px;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
}

.booking-side {
  position: sticky;
  top: 110px;
  padding-top: 14px;
}

.booking-side h2 {
  margin: 0;
  color: #102a56;
  font-size: clamp(31px, 4.3vw, 48px);
  line-height: 1.13;
  letter-spacing: -0.055em;
}

.booking-side h2 span {
  color: #0c9994;
}

.booking-side > p:not(.eyebrow) {
  margin: 15px 0 22px;
  color: #64758d;
  font-size: 13px;
}

.booking-hours-card,
.booking-call-card {
  display: flex;
  gap: 13px;
  margin-top: 13px;
  padding: 17px;
  border: 1px solid #dce7f4;
  border-radius: 17px;
  background: linear-gradient(145deg, #ffffff, #edf4ff);
  box-shadow: 0 10px 24px rgba(23, 57, 111, 0.055);
}

.hours-card-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #ddf8f0;
  color: #087b73;
  font-size: 21px;
}

.booking-hours-card > div {
  min-width: 0;
  flex: 1;
}

.booking-hours-card strong,
.booking-call-card > span {
  color: #183556;
  font-size: 14px;
  font-weight: 800;
}

.booking-hours-card p {
  margin: 5px 0;
  color: #4e627b;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.booking-call-card {
  flex-direction: column;
  gap: 7px;
  background: linear-gradient(145deg, #ffffff, #e8faf4);
}

.booking-call-card a {
  max-width: 100%;
  color: #087f77;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.live-booking-form {
  min-width: 0;
  padding: clamp(22px, 4vw, 39px);
  border: 1px solid #dfe8f3;
  border-radius: 25px;
  background: #ffffff;
  box-shadow: 0 23px 59px rgba(16, 42, 86, 0.115);
}

.live-booking-form .form-card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 25px;
}

.form-step-badge {
  display: grid;
  width: 47px;
  height: 47px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #1746a2, #11a7a0);
  box-shadow: 0 9px 20px rgba(23, 70, 162, 0.2);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.live-booking-form .form-card-heading h3 {
  margin: 0;
  color: #102a56;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.live-booking-form .form-card-heading p {
  margin: 3px 0 0;
  color: #53657d;
  font-size: 12px;
}

.booking-field {
  min-width: 0;
  margin: 0 0 19px;
  padding: 0;
  border: 0;
}

.booking-field > label,
.booking-field legend {
  display: block;
  margin-bottom: 7px;
  color: #243b5a;
  font-size: 12px;
  font-weight: 800;
}

.booking-field > label > span,
.booking-field legend > span {
  color: #d95d49;
}

.booking-field input:not([type="radio"]),
.booking-field select,
.booking-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #8295ad;
  border-radius: 12px;
  outline: 0;
  background: #fbfdff;
  color: #172b4d;
  font: inherit;
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.booking-field textarea {
  min-height: 90px;
  resize: vertical;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  border-color: #1746a2;
  background: #ffffff;
  outline: 3px solid #a94e00;
  outline-offset: 2px;
  box-shadow: none;
}

.booking-field [aria-invalid="true"] {
  border-color: #d94c4c !important;
  box-shadow: 0 0 0 3px rgba(217, 76, 76, 0.1);
}

.booking-field-hint {
  display: block;
  margin-top: 6px;
  color: #53657d;
  font-size: 11px;
}

.booking-field-error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  color: #b53636;
  font-size: 12px;
  font-weight: 700;
}

.booking-field-error:not(:empty) {
  min-height: 15px;
}

.service-choice-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-choice {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 83px;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid #dce7f4;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #edf4ff);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.service-choice:nth-child(2) {
  background: linear-gradient(145deg, #ffffff, #eafaf5);
}

.service-choice:nth-child(3) {
  background: linear-gradient(145deg, #ffffff, #fff4e6);
}

.service-choice:hover {
  transform: translateY(-2px);
}

.service-choice:has(input:checked) {
  border-color: #139e99;
  background: linear-gradient(145deg, #e9faf5, #edf3ff);
  box-shadow: 0 0 0 3px rgba(17, 181, 174, 0.13);
}

.service-choice input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  accent-color: #0b948c;
}

.service-choice:focus-within {
  outline: 3px solid #ff9f43;
  outline-offset: 3px;
}

.service-choice-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: rgba(23, 70, 162, 0.1);
  color: #1746a2;
  font-size: 17px;
}

.service-choice strong,
.service-choice small {
  display: block;
}

.service-choice strong {
  color: #203958;
  font-size: 12px;
  line-height: 1.35;
}

.service-choice small {
  margin-top: 3px;
  color: #53657d;
  font-size: 12px;
}

.appointment-schedule-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-storage-notice {
  display: flex;
  gap: 10px;
  margin: 8px 0 16px;
  padding: 13px;
  border: 1px solid #f0d49c;
  border-radius: 12px;
  background: #fff8e9;
  color: #6c5223;
  font-size: 12px;
  line-height: 1.7;
}

.booking-storage-notice > span:first-child {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #f7d990;
  color: #6c4d13;
  font-weight: 900;
}

.booking-submit-error {
  margin: 0 0 13px;
  padding: 11px 13px;
  border: 1px solid #f0c5c5;
  border-radius: 11px;
  background: #fff1f1;
  color: #9e3030;
  font-size: 11px;
  font-weight: 700;
}

.booking-submit-status {
  margin: 0 0 13px;
  padding: 12px 14px;
  border: 1px solid #ccebe3;
  border-radius: 11px;
  background: #effaf6;
  color: #176b56;
  font-size: 12px;
  line-height: 1.65;
}

.booking-submit-button {
  width: 100%;
  min-height: 53px;
  justify-content: center;
}

.booking-whatsapp-fallback {
  display: block;
  margin: 0 0 12px;
  color: #8ce7d8;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-whatsapp-fallback[hidden] {
  display: none;
}

.booking-submit-note {
  margin: 10px 0 0;
  color: #53657d;
  font-size: 11px;
  text-align: center;
}

.appointment-map-section {
  padding: 0 0 84px;
  background: #f5f8fc;
}

.appointment-map-card {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 24px;
  border: 1px solid #dce7f4;
  border-radius: 20px;
  background: linear-gradient(110deg, #ffffff, #edf7ff 55%, #ecfaf5);
  box-shadow: 0 13px 30px rgba(23, 57, 111, 0.075);
}

.map-pin {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  background: #e0f5ee;
  color: #087e71;
  font-size: 24px;
}

.appointment-map-card > div {
  flex: 1;
}

.appointment-map-card h2 {
  margin: 0;
  color: #102a56;
  font-size: 21px;
}

.appointment-map-card > div > p:not(.eyebrow) {
  margin: 4px 0 0;
  color: #63758c;
  font-size: 11px;
}

.appointment-page .footer-main {
  grid-template-columns: minmax(190px, 1.15fr) minmax(125px, 0.7fr) minmax(160px, 0.8fr) minmax(190px, 0.9fr);
}

.thank-you-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(ellipse at 8% 8%, rgba(43, 119, 234, 0.12), transparent 34%),
    radial-gradient(ellipse at 95% 95%, rgba(33, 150, 243, 0.1), transparent 36%),
    #f4f8ff;
  font-family: "DM Sans", "Plus Jakarta Sans", sans-serif;
}

.thank-you-card {
  width: min(100%, 610px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #d7e5fb;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(28, 75, 139, 0.14);
  color: #16345b;
  animation: thank-you-arrive 420ms ease both;
}

.thank-you-brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  margin-bottom: 19px;
}

.thank-you-brand > span:last-child strong,
.thank-you-brand > span:last-child small {
  display: block;
}

.thank-you-brand > span:last-child strong {
  color: #163f78;
  font-size: 13px;
}

.thank-you-brand > span:last-child small {
  margin-top: 2px;
  color: #657d9e;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.thank-you-check {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  place-items: center;
  border: 5px solid #e3efff;
  border-radius: 50%;
  background: #2368c9;
  box-shadow: 0 6px 16px rgba(35, 104, 201, 0.2);
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
}

.thank-you-card > h1 {
  margin: 4px 0 10px;
  color: #153c72;
  font-size: clamp(29px, 5vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.thank-you-card > h1 span {
  color: #2368c9;
}

.thank-you-intro {
  color: #5c718d;
  font-size: 13px;
}

.thank-you-details {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 17px 0;
}

.thank-you-details > div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dce9fb;
  border-radius: 11px;
  background: #f3f7fe;
}

.thank-you-details dt {
  margin-bottom: 3px;
  color: #5d7595;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.thank-you-details dd {
  margin: 0;
  color: #163f78;
  font-size: 11px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.thank-you-actions .button {
  min-height: 42px;
  border-radius: 10px;
}

.thank-you-actions .button-primary {
  border: 1px solid #2368c9;
  background: #2368c9;
  color: #ffffff;
}

.thank-you-footnote {
  margin: 15px 0 0;
  color: #657d9e;
  font-size: 11px;
}

.thank-you-notice,
.thank-you-empty {
  padding: 11px 13px;
  border: 1px solid #c8dcfb;
  border-radius: 11px;
  background: #edf5ff;
  color: #234f88;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.thank-you-notice {
  margin: 16px 0 0;
}

.thank-you-empty {
  margin: 16px 0 0;
}

body.thank-you-page .thank-you-notice,
body.thank-you-page .thank-you-empty {
  color: #234f88;
}

body[class]:not(.admin-page).thank-you-page .thank-you-card p.thank-you-notice,
body[class]:not(.admin-page).thank-you-page .thank-you-card p.thank-you-empty {
  color: #234f88;
}

.thank-you-details[hidden],
.thank-you-actions [hidden],
.thank-you-empty[hidden] {
  display: none;
}

.thank-you-actions .button-secondary {
  border-color: #cbdcf3;
  background: #ffffff;
  color: #234f88;
}

body[class]:not(.admin-page).thank-you-page .thank-you-card {
  border-color: #d7e5fb;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(28, 75, 139, 0.14);
  color: #16345b;
}

body[class]:not(.admin-page).thank-you-page .thank-you-card p.thank-you-intro,
body[class]:not(.admin-page).thank-you-page .thank-you-card p.thank-you-footnote {
  color: #5c718d;
}

body[class]:not(.admin-page).thank-you-page .thank-you-card .thank-you-brand {
  color: #163f78;
}

body[class]:not(.admin-page).thank-you-page .thank-you-card .thank-you-brand strong {
  color: #163f78;
}

body[class]:not(.admin-page).thank-you-page .thank-you-card .thank-you-brand small {
  color: #657d9e;
}

body[class]:not(.admin-page).thank-you-page .thank-you-card .eyebrow {
  color: #2368c9;
}

body[class]:not(.admin-page).thank-you-page {
  background:
    radial-gradient(ellipse at 8% 8%, rgba(43, 119, 234, 0.12), transparent 34%),
    radial-gradient(ellipse at 95% 95%, rgba(33, 150, 243, 0.1), transparent 36%),
    #f4f8ff;
}

@media (max-width: 820px) {
  body[class]:not(.admin-page).thank-you-page {
    padding-bottom: 104px;
  }

  body[class]:not(.admin-page).thank-you-page .thank-you-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[class]:not(.admin-page).thank-you-page .thank-you-actions {
    flex-direction: row;
  }

  body[class]:not(.admin-page).thank-you-page .thank-you-actions .button {
    width: auto;
    flex: 1 1 calc(50% - 8px);
  }
}

@media print {
  .thank-you-page {
    min-height: auto;
    padding: 0;
    background: #ffffff;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .thank-you-card {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .thank-you-actions {
    display: none;
  }
}

@keyframes thank-you-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .appointment-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
    gap: 20px;
  }

  .appointment-contact-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .appointment-contact-strip-inner > div {
    grid-column: 1 / -1;
  }

  .booking-layout {
    gap: 24px;
    grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  }

  .appointment-page .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .appointment-hero {
    padding: 44px 0 57px;
  }

  .appointment-hero-grid {
    grid-template-columns: 1fr;
  }

  .appointment-hero-copy h1 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .appointment-doctor-visual {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .doctor-photo-frame {
    height: 370px;
  }

  .doctor-photo-float {
    right: 0;
    bottom: 39px;
  }

  .appointment-contact-strip {
    margin-top: -17px;
  }

  .appointment-contact-strip-inner {
    gap: 5px;
    grid-template-columns: 1fr;
    padding: 13px;
  }

  .appointment-contact-strip-inner > div {
    grid-column: auto;
    padding: 4px 6px 8px;
  }

  .appointment-contact-strip-inner > a {
    justify-content: flex-start;
    padding-left: 12px;
  }

  .booking-section {
    padding: 61px 0 66px;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-side {
    position: static;
  }

  .booking-side > p:not(.eyebrow) {
    margin-bottom: 15px;
  }

  .booking-hours-card,
  .booking-call-card {
    display: none;
  }

  .live-booking-form {
    padding: 21px 17px;
    border-radius: 20px;
  }

  .service-choice-grid,
  .appointment-schedule-grid {
    grid-template-columns: 1fr;
  }

  .service-choice {
    min-height: 67px;
  }

  .appointment-map-section {
    padding-bottom: 59px;
  }

  .appointment-map-card {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 19px;
  }

  .appointment-map-card > div {
    width: calc(100% - 65px);
    flex: unset;
  }

  .appointment-map-card > .button {
    width: 100%;
    justify-content: center;
  }

  .appointment-page .footer-main {
    grid-template-columns: 1fr;
  }

  .thank-you-details {
    grid-template-columns: 1fr;
  }

  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-actions .button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thank-you-card {
    animation: none;
  }
}

@media print {
  .thank-you-page {
    display: block;
    min-height: auto;
    padding: 0;
    background: #ffffff;
  }

  .thank-you-card {
    width: 100%;
    border: 1px solid #aeb8c5;
    box-shadow: none;
    animation: none;
  }

  .thank-you-actions,
  .thank-you-footnote {
    display: none !important;
  }
}

/* Appointment page: high-contrast midnight palette with vivid care-option accents. */
body.appointment-page {
  background: #071426;
  color: #eaf2ff;
}

body.appointment-page .appointment-hero {
  background:
    radial-gradient(ellipse at 82% 8%, rgba(18, 190, 184, 0.22), transparent 32%),
    radial-gradient(ellipse at 5% 100%, rgba(245, 126, 73, 0.15), transparent 34%),
    linear-gradient(128deg, #071426 0%, #0b1d36 53%, #102b46 100%);
}

body.appointment-page .appointment-hero::after {
  border-color: rgba(94, 220, 213, 0.2);
  box-shadow: 0 0 0 32px rgba(94, 220, 213, 0.045), 0 0 0 67px rgba(103, 143, 255, 0.035);
}

body.appointment-page .appointment-hero-copy h1 {
  color: #f5f8ff;
}

body.appointment-page .appointment-hero-copy h1 span {
  background: linear-gradient(95deg, #69e2d4 0%, #75baff 55%, #ffb36d 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.appointment-page .appointment-hero-copy > p:not(.eyebrow) {
  color: #b5c5d9;
}

body.appointment-page .appointment-hero-copy .eyebrow {
  color: #83e7da;
}

body.appointment-page .appointment-phone-link {
  color: #dceaff;
}

body.appointment-page .appointment-phone-link:hover {
  background: rgba(255, 255, 255, 0.09);
}

body.appointment-page .hero-care-chips span {
  border-color: rgba(138, 181, 232, 0.25);
  background: rgba(12, 32, 56, 0.78);
  color: #d3e4f8;
}

body.appointment-page .doctor-photo-frame {
  border-color: #17334e;
  background: linear-gradient(145deg, #183c5b, #0f6e70);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(108, 226, 215, 0.18);
}

body.appointment-page .doctor-photo-float {
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: linear-gradient(115deg, #cfe5ff, #c8f3e5);
  color: #173553;
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.2);
}

body.appointment-page .appointment-contact-strip {
  margin-top: -24px;
}

body.appointment-page .appointment-contact-strip-inner {
  border-color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(ellipse at 100% 0, rgba(255, 255, 255, 0.72), transparent 38%),
    linear-gradient(120deg, #d8eaff, #d4f5ed 58%, #ffebd6);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

body.appointment-page .appointment-contact-strip-inner > div,
body.appointment-page .appointment-contact-strip-inner > a {
  color: #173553;
}

body.appointment-page .appointment-contact-strip-inner small {
  color: #405b77;
}

body.appointment-page .contact-strip-icon {
  background: linear-gradient(145deg, #ffffff, #c9e9ff);
  color: #176a9c;
}

body.appointment-page .appointment-contact-strip-inner > a:hover {
  background: rgba(148, 211, 236, 0.1);
}

body.appointment-page .booking-section {
  background:
    radial-gradient(ellipse at 4% 26%, rgba(19, 160, 170, 0.13), transparent 30%),
    radial-gradient(ellipse at 94% 74%, rgba(115, 113, 234, 0.12), transparent 29%),
    #071426;
}

body.appointment-page .booking-side h2 {
  color: #f2f6ff;
}

body.appointment-page .booking-side h2 span {
  color: #70e0d2;
}

body.appointment-page .booking-side > p:not(.eyebrow) {
  color: #afc0d5;
}

body.appointment-page .booking-side .eyebrow {
  color: #75e5d8;
}

body.appointment-page .booking-hours-card,
body.appointment-page .booking-call-card {
  border-color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(ellipse at 100% 0, rgba(255, 255, 255, 0.78), transparent 42%),
    linear-gradient(145deg, #deedff, #c8e3ff 58%, #d8f3f0);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.appointment-page .booking-hours-card {
  border-left: 3px solid #5ed8cb;
}

body.appointment-page .booking-call-card {
  border-left: 3px solid #f3a85e;
  background:
    radial-gradient(ellipse at 100% 0, rgba(255, 255, 255, 0.8), transparent 42%),
    linear-gradient(145deg, #ffedda, #ffdbbd 58%, #f5e0f0);
}

body.appointment-page .hours-card-icon {
  background: linear-gradient(145deg, #ffffff, #bce9e1);
  color: #087b70;
}

body.appointment-page .booking-hours-card strong,
body.appointment-page .booking-call-card > span {
  color: #173553;
}

body.appointment-page .booking-hours-card p {
  color: #36516f;
}

body.appointment-page .booking-call-card a {
  color: #155b83;
  font-weight: 700;
}

body.appointment-page .booking-call-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.appointment-page .booking-call-card a:hover {
  color: #ffd091;
}

body.appointment-page .live-booking-form {
  position: relative;
  overflow: hidden;
  border-color: rgba(129, 183, 232, 0.25);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(17, 145, 158, 0.13), transparent 32%),
    linear-gradient(145deg, #10233b 0%, #0d1e34 58%, #11283e 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(58, 142, 174, 0.08);
}

body.appointment-page .live-booking-form .form-card-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(153, 186, 220, 0.15);
}

body.appointment-page .form-step-badge {
  border: 1px solid rgba(143, 248, 230, 0.3);
  background: linear-gradient(145deg, #0f9b9b, #245fd2 68%, #714db4);
  box-shadow: 0 10px 28px rgba(18, 170, 170, 0.27);
}

body.appointment-page .live-booking-form .form-card-heading h3 {
  color: #f5f8ff;
}

body.appointment-page .live-booking-form .form-card-heading p {
  color: #a8bad0;
}

body.appointment-page .booking-field > label,
body.appointment-page .booking-field legend {
  color: #e4edfa;
}

body.appointment-page .booking-field > label > span,
body.appointment-page .booking-field legend > span {
  color: #ff9c8c;
}

body.appointment-page .booking-field input:not([type="radio"]),
body.appointment-page .booking-field select,
body.appointment-page .booking-field textarea {
  border-color: #8295ad;
  background-color: #09182b;
  color: #f0f6ff;
  color-scheme: dark;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

body.appointment-page .booking-field input::placeholder,
body.appointment-page .booking-field textarea::placeholder {
  color: #8194ad;
  opacity: 1;
}

body.appointment-page .booking-field input:focus,
body.appointment-page .booking-field select:focus,
body.appointment-page .booking-field textarea:focus {
  border-color: #ff9f43;
  background-color: #0b1d32;
  outline: 3px solid #ff9f43;
  outline-offset: 2px;
  box-shadow: none;
}

body.appointment-page .booking-field select option {
  background: #10233b;
  color: #f0f6ff;
}

body.appointment-page .booking-field [aria-invalid="true"] {
  border-color: #ff8e91 !important;
  box-shadow: 0 0 0 3px rgba(255, 111, 125, 0.15);
}

body.appointment-page .booking-field-hint {
  color: #a7bad0;
}

body.appointment-page .booking-field-error {
  color: #ffaaa7;
}

body.appointment-page .service-choice {
  min-height: 88px;
  border-color: #b9d9f3;
  background:
    radial-gradient(ellipse at 100% 0, rgba(255, 255, 255, 0.8), transparent 42%),
    linear-gradient(145deg, #e4f1ff, #cfe5ff 58%, #d9f7f0);
}

body.appointment-page .service-choice:nth-child(2) {
  border-color: #a8e2d3;
  background:
    radial-gradient(ellipse at 100% 0, rgba(255, 255, 255, 0.82), transparent 42%),
    linear-gradient(145deg, #ddfbf1, #c4f1e4 58%, #d8f0ff);
}

body.appointment-page .service-choice:nth-child(3) {
  border-color: #f0cfaa;
  background:
    radial-gradient(ellipse at 100% 0, rgba(255, 255, 255, 0.84), transparent 42%),
    linear-gradient(145deg, #fff1dc, #ffe2c2 58%, #f7e3f2);
}

body.appointment-page .service-choice:hover {
  border-color: #8dbaff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

body.appointment-page .service-choice:nth-child(2):hover {
  border-color: #65e0c3;
}

body.appointment-page .service-choice:nth-child(3):hover {
  border-color: #ffbe77;
}

body.appointment-page .service-choice:has(input:checked) {
  border-color: #268d9c;
  background: linear-gradient(145deg, #cfe5ff, #bfe8e4);
  box-shadow: 0 0 0 2px rgba(49, 150, 160, 0.28), 0 12px 29px rgba(0, 0, 0, 0.19);
}

body.appointment-page .service-choice:nth-child(2):has(input:checked) {
  border-color: #198b72;
  background: linear-gradient(145deg, #c9f3e6, #c8e9f5);
  box-shadow: 0 0 0 2px rgba(41, 164, 129, 0.24), 0 12px 29px rgba(0, 0, 0, 0.19);
}

body.appointment-page .service-choice:nth-child(3):has(input:checked) {
  border-color: #cf773a;
  background: linear-gradient(145deg, #ffe5c5, #f5d8eb);
  box-shadow: 0 0 0 2px rgba(225, 142, 69, 0.25), 0 12px 29px rgba(0, 0, 0, 0.19);
}

body.appointment-page .service-choice input {
  accent-color: #65e0cf;
}

body.appointment-page .service-choice:nth-child(2) input {
  accent-color: #68e3bf;
}

body.appointment-page .service-choice:nth-child(3) input {
  accent-color: #ffbd73;
}

body.appointment-page .service-choice:focus-within {
  outline-color: #ffbc72;
}

body.appointment-page .service-choice-icon {
  background: linear-gradient(145deg, #ffffff, #cce8ff);
  color: #146f9a;
}

body.appointment-page .service-choice:nth-child(2) .service-choice-icon {
  background: linear-gradient(145deg, #ffffff, #c8f3e5);
  color: #087b70;
}

body.appointment-page .service-choice:nth-child(3) .service-choice-icon {
  background: linear-gradient(145deg, #ffffff, #ffe0bd);
  color: #a75521;
}

body.appointment-page .service-choice strong {
  color: #173553;
}

body.appointment-page .service-choice small {
  color: #405b77;
}

body.appointment-page .booking-storage-notice {
  border-color: rgba(241, 188, 94, 0.35);
  background: linear-gradient(110deg, #3b3027, #332b2a);
  color: #f6dfb4;
}

body.appointment-page .booking-storage-notice > span:first-child {
  background: #f3bd64;
  color: #38240c;
}

body.appointment-page .booking-storage-notice strong {
  color: #ffe4a7;
}

body.appointment-page .booking-submit-error {
  border-color: rgba(255, 133, 143, 0.42);
  background: #432831;
  color: #ffd0d0;
}

body.appointment-page .booking-submit-status {
  border-color: #ccebe3;
  background: #effaf6;
  color: #176b56;
}

body.appointment-page .booking-submit-button {
  min-height: 58px;
  border: 0;
  border-radius: 15px;
  background: #1746a2;
  box-shadow: 0 14px 30px rgba(14, 156, 173, 0.25);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

body.appointment-page .booking-submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 19px 38px rgba(14, 156, 173, 0.33);
  background: #102a56;
}

body.appointment-page .booking-submit-button:focus-visible {
  outline: 3px solid #ffd08a;
  outline-offset: 4px;
}

body.appointment-page .booking-submit-button:disabled {
  border: 1px solid #8295ad;
  background: #e8edf3;
  box-shadow: none;
  color: #405570;
  cursor: wait;
}

body.appointment-page .booking-submit-note {
  color: #53657d;
}

body.appointment-page .appointment-map-section {
  background:
    radial-gradient(ellipse at 12% 70%, rgba(26, 152, 172, 0.1), transparent 32%),
    #071426;
}

body.appointment-page .appointment-map-card {
  border-color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(ellipse at 100% 0, rgba(255, 255, 255, 0.76), transparent 40%),
    linear-gradient(115deg, #dceaff, #cde8ff 56%, #d2f3e9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

body.appointment-page .map-pin {
  background: linear-gradient(145deg, #ffffff, #bce9e1);
  color: #087b70;
}

body.appointment-page .appointment-map-card h2 {
  color: #173553;
}

body.appointment-page .appointment-map-card > div > p:not(.eyebrow) {
  color: #36516f;
}

body.appointment-page .live-booking-form {
  border-color: #d6e2f1;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(110, 217, 207, 0.13), transparent 31%),
    linear-gradient(145deg, #ffffff 0%, #f7faff 62%, #f0fbf8 100%);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(101, 169, 202, 0.08);
  color: #183252;
}

body.appointment-page .live-booking-form .form-card-heading {
  border-bottom-color: #dce7f3;
}

body.appointment-page .live-booking-form .form-card-heading h3 {
  color: #102a56;
}

body.appointment-page .live-booking-form .form-card-heading p,
body.appointment-page .booking-submit-note {
  color: #d0dced;
}

body.appointment-page .booking-whatsapp-fallback {
  color: #147968;
}

body.appointment-page .booking-field > label,
body.appointment-page .booking-field legend {
  color: #213958;
}

body.appointment-page .booking-field input:not([type="radio"]),
body.appointment-page .booking-field select,
body.appointment-page .booking-field textarea {
  border-color: #d6e1ef;
  background-color: #ffffff;
  color: #172b4d;
  color-scheme: light;
  box-shadow: 0 3px 10px rgba(24, 50, 82, 0.035);
}

body.appointment-page .booking-field input::placeholder,
body.appointment-page .booking-field textarea::placeholder {
  color: #8290a3;
}

body.appointment-page .booking-field input:focus,
body.appointment-page .booking-field select:focus,
body.appointment-page .booking-field textarea:focus {
  border-color: #179caa;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(34, 177, 174, 0.14);
}

body.appointment-page .booking-field select option {
  background: #ffffff;
  color: #172b4d;
}

body.appointment-page .booking-field-hint {
  color: #c6d5e8;
}

body.appointment-page .booking-field-error {
  color: #ffaaa7;
}

@media (max-width: 620px) {
  body.appointment-page .appointment-contact-strip {
    margin-top: -17px;
  }

  body.appointment-page .live-booking-form {
    padding: 23px 18px;
    border-radius: 22px;
  }

  body.appointment-page .service-choice {
    min-height: 74px;
    padding: 12px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.appointment-page .booking-submit-button {
    transition: none;
  }
}

body.appointment-page .appointment-form-progress {
  display: grid;
  align-items: start;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

body.appointment-page .form-step-badge {
  width: 74px;
  padding-inline: 7px;
}

body.appointment-page .appointment-form-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #718198;
  text-align: center;
}

body.appointment-page .appointment-form-progress li:not(:last-child)::after {
  position: absolute;
  top: 17px;
  left: calc(50% + 23px);
  width: calc(100% - 38px);
  height: 2px;
  background: #dce5f0;
  content: "";
}

body.appointment-page .appointment-form-progress li.is-complete:not(:last-child)::after {
  background: #19a69c;
}

body.appointment-page .appointment-form-progress li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #d8e2ef;
  border-radius: 12px;
  background: #f3f6fa;
  color: #61738a;
  font-size: 12px;
  font-weight: 800;
}

body.appointment-page .appointment-form-progress li.is-current > span {
  border-color: #119d99;
  background: linear-gradient(145deg, #119d99, #245fd2);
  box-shadow: 0 6px 15px rgba(17, 157, 153, 0.2);
  color: #ffffff;
}

body.appointment-page .appointment-form-progress li.is-complete > span {
  border-color: #bce8de;
  background: #e7f8f2;
  color: #087f77;
}

body.appointment-page .appointment-form-progress small {
  color: inherit;
  font-size: 10px;
  font-weight: 700;
}

body.appointment-page .appointment-form-step[hidden] {
  display: none;
}

body.appointment-page .booking-field[hidden] {
  display: none;
}

body.appointment-page #home-address-field:not([hidden]) {
  animation: home-address-reveal 220ms ease-out both;
}

@keyframes home-address-reveal {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.appointment-page .appointment-form-step {
  scroll-margin-top: 110px;
}

body.appointment-page .appointment-form-step-heading {
  margin: 0 0 22px;
}

body.appointment-page .appointment-form-step-heading > span {
  display: block;
  margin-bottom: 6px;
  color: #078e89;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

body.appointment-page .appointment-form-step-heading h4 {
  margin: 0 0 5px;
  color: #102a56;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.35px;
}

body.appointment-page .appointment-form-step-heading p {
  margin: 0;
  color: #53657d;
  font-size: 12px;
  line-height: 1.6;
}

body.appointment-page .service-field[aria-invalid="true"] .service-choice {
  border-color: #d94c4c;
}

body.appointment-page .appointment-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 25px;
}

body.appointment-page .appointment-step-actions .button {
  min-height: 49px;
  padding: 11px 17px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

body.appointment-page .appointment-step-actions .booking-next-button,
body.appointment-page .appointment-step-actions .booking-submit-button {
  flex: 1;
  justify-content: center;
}

body.appointment-page .appointment-step-actions .booking-back-button {
  border: 1px solid #cdd9e8;
  background: #ffffff;
  color: #24405f;
}

body.appointment-page .appointment-step-actions .booking-back-button:hover {
  border-color: #119d99;
  background: #effaf7;
}

body.appointment-page .appointment-step-actions .button:focus-visible,
body.appointment-page .appointment-form-progress li:focus-visible {
  outline: 3px solid #a94e00;
  outline-offset: 3px;
}

body.appointment-page #booking-error,
body.appointment-page #booking-submit-status,
body.appointment-page .appointment-form-step {
  scroll-margin-top: 110px;
}

@media (max-width: 420px) {
  body.appointment-page .appointment-form-progress {
    gap: 2px;
  }

  body.appointment-page .appointment-form-progress li:not(:last-child)::after {
    left: calc(50% + 20px);
    width: calc(100% - 32px);
  }

  body.appointment-page .appointment-form-progress small {
    font-size: 9px;
  }

  body.appointment-page .appointment-step-actions .button {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.appointment-page #home-address-field:not([hidden]) {
    animation: none;
  }
}
