/* Reference composition with CSS architecture and transparent photo cutouts. */
body, #site-header { font-family: Inter, Arial, sans-serif; }
.appointment-page { --u: min(calc(100vw / 1536),1.12px); font-family: Lato, Arial, sans-serif; }
.appointment-hero { min-height: calc(814 * var(--u)); }
.hero-copy { z-index: 2; }
.hero-copy h1 { letter-spacing: -.04em; }
.hero-copy h1 span:first-child { font-size: clamp(60px,5.21vw,88px); }
.hero-copy h1 span:last-child { font-size: clamp(48px,3.78vw,65px); }
.hero-copy p { color: #304562; }
.hero-art { z-index: 0; overflow: hidden; background: none; }
.hero-art img { top: auto; left: auto; width: auto; height: auto; max-width: none; mask-image: none; }
.scene-wall { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 17% 24%,#ffffec 0%,#f2f2da 15%,transparent 44%),linear-gradient(105deg,#c4d1b5 0%,#d7e0c4 36%,#bccfb8 68%,#e3e8d5 100%); }
.scene-flutes { position: absolute; top: 0; bottom: 20%; left: 0; width: 4.65%; background: repeating-linear-gradient(90deg,#315e47 0,#65846c 3px,#adc0a0 5px,#3b614b 9px,#a0b097 12px); box-shadow: 14px 0 28px #294a2f1f; }
.scene-arch { position: absolute; bottom: 21.5%; border-top-right-radius: 350px 300px; border: 3px solid #c6b47e; border-left: 0; border-bottom: 0; background: linear-gradient(100deg,#9ab89a 0%,#446b52 80%,#557557 100%); box-shadow: inset -2px 0 0 #f5deb199,12px 0 26px #253e271a; }
.scene-arch--outer { left: 11.8%; width: 42.8%; height: 101%; transform: skewY(1deg); }
.scene-arch--inner { left: 11.8%; width: 37.3%; height: 93%; background: radial-gradient(ellipse at 0% 39%,#fbfae5 0%,#e6e9ca 32%,#839e77 78%,#547854 100%); border-color: #d8c597; }
.scene-daylight { position: absolute; inset: 0 0 21.5%; opacity: .65; mix-blend-mode: screen; background: linear-gradient(37deg,transparent 16%,#fffae947 18%,#fffae917 20%,transparent 23%,transparent 29%,#fffdeb66 31%,transparent 34%,transparent 48%,#fffcec52 50%,transparent 55%); filter: blur(4px); }
.scene-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; border-top: 12px solid #e5d7b1; background: repeating-linear-gradient(177deg,transparent 0 19px,#b5a57815 20px,transparent 22px 34px),radial-gradient(ellipse at 48% 68%,#fffbed 0%,#ede6cb 59%,#dbd2b7 100%); box-shadow: inset 0 5px 0 #fff5d6,inset 0 22px 16px -20px #74694c66; }
.scene-floor::after { content: ''; position: absolute; inset: 0; background: linear-gradient(112deg,transparent 25%,#fffdefb3 40%,transparent 55%,#fffdef6b 70%,transparent 85%); }
.hero-art .scene-palm { position: absolute; object-fit: contain; filter: drop-shadow(6px 12px 10px #1a3b2526); }
.hero-art .scene-palm--left { left: -7.3%; bottom: 16%; width: 23%; height: 59%; object-position: left bottom; }
.hero-art .scene-palm--right { right: -7.3%; bottom: 16%; width: 17%; height: 63%; filter: blur(2px); }
.hero-art .scene-doctors { position: absolute; bottom: -1.7%; left: 21.4%; width: 40.6%; height: 101%; object-fit: contain; object-position: center bottom; filter: drop-shadow(2px 8px 7px #18332822); }
.scene-ground-shadow { position: absolute; width: 25%; height: 4%; left: 25.5%; bottom: 4%; border-radius: 50%; background: #35422f3b; filter: blur(12px); }
.mobile-ad-copy { display: none; }
.appointment-card { position: relative; z-index: 3; scroll-margin-top: 95px; background: #fff; }
.card-heading h2 { color: #073d2e; }
.card-heading p, .step-caption, .guide-item p, .faq-dialog p, .field-label small, .field > label small { color: #344c67; }
.step-marker, .step-number { color: #344864; }
.step-marker[aria-current=step], .step-marker.complete { color: #006849; }
.step-marker[aria-current=step] .step-number, .step-marker.complete .step-number { background: linear-gradient(130deg,#008a61,#006c52); color: #fff; }
.field > label, .field > .field-label, .alternate-phone > label { color: #102345; }
.input-wrap, .field textarea { border-color: #b6c5d9; color: #344d71; }
.input-wrap input::placeholder, .field textarea::placeholder { color: #40516d; opacity: 1; }
.input-wrap select:invalid { color: #40516d; }
.input-wrap input, .input-wrap select, .field textarea { color: #102345; box-shadow: none; }
.input-wrap .phone-prefix, .field > label.whatsapp-choice { color: #102345; }
.input-wrap .select-icon { color: #064c37; }
.input-wrap select option { color: #102345; }
.request-summary, .request-note, .request-status { color: #234b3d; }
.request-summary dt { color: #344c67; }
.request-summary dd { color: #07503c; overflow-wrap: anywhere; }
.faq-trigger { color: #b52c10; }
.continue-button { background: #ff4b23; color: #fff; }
.continue-button:hover { background: #e93d17; }
.back-button { color: #183b43; }
#bookingTitle { scroll-margin-top: 105px; }

@media(min-width:1101px) and (max-width:1350px) {
  .appointment-hero { grid-template-columns: 57.5% 39% 3.5%; min-height: 735px; }
  .hero-copy { left: 4%; top: 45px; }
  .hero-copy h1 span:first-child { font-size: 65px; }
  .hero-copy h1 span:last-child { font-size: 52px; }
  .hero-copy p { font-size: 18px; }
  .hero-art .scene-doctors { left: 17%; width: 42%; height: 94%; }
  .appointment-card { margin: 45px 0; padding: 24px; }
  .card-heading { gap: 13px; height: auto; }
  .card-heading h2 { font-size: 27px; }
  .card-heading p { font-size: 17px; }
  .heading-icon { width: 50px; height: 53px; }
  .field > label, .input-wrap input, .input-wrap select, .input-wrap .phone-prefix { font-size: 16px; }
  .input-wrap { height: 49px; gap: 12px; padding-inline: 14px; }
  .continue-button { height: 51px; font-size: 21px; }
}
/* Heading, then form, then a separate full-body clinic ad on mobile/tablet. */
@media(max-width:1100px) {
  .appointment-page { --u: 1px; }
  .appointment-hero { display: flex; flex-direction: column; min-height: 0; padding: 30px 24px 0; background: radial-gradient(ellipse at 12% 0%,#fffdef,transparent 70%),#e8efdf; }
  .hero-copy { order: 1; position: relative; inset: auto; text-align: center; width: 100%; padding: 0; margin: 0 0 25px; min-height: 0; }
  .hero-copy h1 { line-height: 1; }
  .hero-copy h1 span { display: inline; white-space: normal; }
  .hero-copy h1 span:first-child, .hero-copy h1 span:last-child { font-size: 54px; padding-left: 0; }
  .hero-copy p { font-size: 18px; margin-top: 13px; }
  .appointment-card { order: 2; align-self: center; width: min(600px,100%); margin: 0 0 30px; padding: 27px 30px 20px; }
  .card-heading { height: auto; }
  .card-heading h2 { font-size: 31px; }
  .card-heading p { font-size: 19px; }
  .heading-icon { width: 58px; height: 58px; }
  .hero-art { order: 3; position: relative; inset: auto; width: calc(100% + 48px); align-self: center; height: 620px; background: none; }
  .scene-wall { background: radial-gradient(ellipse at 22% 8%,#fffde5 0%,transparent 50%),linear-gradient(100deg,#c5d5b9,#93b094); }
  .scene-arch--outer { left: 30%; width: 65%; height: 104%; }
  .scene-arch--inner { left: 30%; width: 57%; height: 90%; }
  .scene-floor { height: 18%; }
  .scene-flutes { bottom: 18%; width: 8%; }
  .hero-art .scene-doctors { left: auto; right: 4%; width: 57%; height: 97%; bottom: -1%; }
  .scene-ground-shadow { left: auto; right: 14%; bottom: 5%; width: 33%; }
  .hero-art .scene-palm--left { width: 34%; height: 62%; left: -9%; bottom: 12%; }
  .hero-art .scene-palm--right { display: none; }
  .mobile-ad-copy { display: block; position: absolute; z-index: 1; top: 44px; left: 10%; width: 38%; color: #043e2e; }
  .mobile-ad-copy > p { margin: 0 0 13px; font-size: 17px; font-weight: 700; }
  .mobile-ad-copy h2 { font-family: Georgia,serif; font-size: 45px; font-weight: 700; line-height: 1.05; margin: 0 0 14px; letter-spacing: -.03em; }
  .mobile-ad-copy > span { font-size: 16px; line-height: 1.5; color: #224633; display: block; max-width: 22ch; }
  .booking-guide { padding: 28px 32px; grid-template-columns: 1fr 1fr; gap: 26px; }
  .guide-item h3 { font-size: 18px; }
  .guide-item p { font-size: 16px; }
}
@media(max-width:600px) {
  .appointment-hero { padding: 25px 14px 0; }
  .hero-copy { text-align: left; padding-inline: 8px; margin-bottom: 23px; }
  .hero-copy h1 span { display: block; }
  .hero-copy h1 span:first-child { font-size: 54px; }
  .hero-copy h1 span:last-child { font-size: 45px; }
  .hero-copy p { font-size: 16px; margin-top: 12px; }
  .appointment-card { padding: 22px 21px 18px; margin: 0 0 26px; border-radius: 18px; }
  .card-heading { gap: 12px; min-height: 0; }
  .heading-icon { width: 44px; height: 51px; border-radius: 12px; }
  .heading-icon .icon { width: 29px; height: 29px; }
  .card-heading h2 { font-size: 24px; white-space: normal; line-height: 1.15; }
  .card-heading p { font-size: 16px; margin-top: 5px; }
  .booking-steps { margin: 24px -9px 25px; min-height: 63px; }
  .step-marker { font-size: 16px; }
  .field > label.whatsapp-choice { font-size: 14px; line-height: 25px; gap: 9px; }
  .continue-button { height: 53px; font-size: 21px; }
  .form-actions:has(.back-button:not([hidden])) .continue-button { font-size: 18px; gap: 8px; white-space: nowrap; }
  .form-actions:has(.back-button:not([hidden])) .continue-button .icon { width: 20px; height: 20px; }
  .hero-art { width: calc(100% + 28px); height: 540px; }
  .mobile-ad-copy { top: 26px; left: 7%; width: 85%; }
  .mobile-ad-copy > p { font-size: 14px; margin-bottom: 8px; }
  .mobile-ad-copy h2 { font-size: 31px; line-height: 1.07; margin-bottom: 8px; }
  .mobile-ad-copy h2 br { display: none; }
  .mobile-ad-copy > span { max-width: none; font-size: 14px; }
  .hero-art .scene-doctors { height: 76%; width: 87%; right: -1%; bottom: 0; }
  .hero-art .scene-palm--left { width: 39%; height: 48%; bottom: 13%; left: -13%; }
  .scene-arch--outer { left: 20%; width: 75%; height: 77%; }
  .scene-arch--inner { left: 20%; width: 63%; height: 66%; }
  .scene-ground-shadow { right: 13%; width: 51%; bottom: 5%; }
  .booking-guide { grid-template-columns: 1fr; padding: 27px 24px; gap: 24px; }
  .guide-item h3 { font-size: 18px; margin-bottom: 5px; }
  .guide-item p { font-size: 15px; }
}
@media(max-width:359px) {
  .hero-copy { padding-inline: 3px; }
  .hero-copy h1 span:first-child { font-size: 48px; }
  .hero-copy h1 span:last-child { font-size: 39px; }
  .hero-copy p { font-size: 16px; max-width: 270px; }
  .appointment-card { padding: 21px 16px 17px; }
  .card-heading { gap: 9px; }
  .card-heading h2 { font-size: 22px; }
  .card-heading p { font-size: 15px; }
  .heading-icon { width: 40px; height: 47px; }
  .field > label.whatsapp-choice { font-size: 14px; }
  .hero-art { height: 515px; }
  .mobile-ad-copy h2 { font-size: 29px; max-width: 265px; }
  .hero-art .scene-doctors { height: 71%; width: 98%; right: -5%; }
}

/* A form-first mobile flow, with a single heading in the clinic scene. */
.heading-icon { background: none; border-radius: 0; }
.heading-icon img { width: 100%; height: 100%; object-fit: contain; }
.input-wrap .phone-prefix { margin-left: 0; }
.booking-guide { height: auto; min-height: 148px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; padding: 26px max(32px,5.7vw); }
.guide-item { height: auto; gap: 22px; }
.guide-item + .guide-item { padding-left: 28px; }
.guide-icon { width: 70px; height: 76px; background: none; border-radius: 0; }
.guide-icon img { width: 100%; height: 100%; object-fit: contain; }
.guide-item h3 { font-size: 18px; }
.guide-item p { font-size: 16px; line-height: 1.45; white-space: normal; }
.section-eyebrow { margin: 0 0 14px; font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #30614d; }
.visit-preparation { max-width: 1360px; margin: 0 auto; padding: 42px 40px; border-top: 1px solid #d9e3d8; display: grid; grid-template-columns: .9fr 1.6fr; gap: 70px; }
.prepare-intro h2 { font: 400 30px/1.15 Georgia,serif; letter-spacing: -.025em; color: #123f30; margin: 0; }
.prepare-details { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; }
.prepare-details h3 { margin: 0 0 9px; color: #103f31; font-size: 18px; font-weight: 700; line-height: 1.35; }
.prepare-details p { margin: 0; color: #344b47; font-size: 16px; line-height: 1.7; }
.appointment-faq { padding: 72px max(40px,calc((100% - 1280px)/2)) 78px; display: grid; grid-template-columns: .9fr 1.6fr; gap: 70px; background: #f3f5ed; border-top: 1px solid #e0e5d9; }
.faq-intro h2 { font: 400 clamp(35px,3.1vw,47px)/1.1 Georgia,serif; letter-spacing: -.035em; color: #123f30; margin: 0 0 20px; }
.faq-intro > p:not(.section-eyebrow) { font-size: 17px; line-height: 1.65; color: #344b47; max-width: 31ch; margin: 0; }
.faq-help { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; padding-top: 24px; border-top: 1px solid #ccd7c8; max-width: 310px; }
.faq-help span { font-size: 15px; color: #344b47; }
.faq-help a { font-size: 25px; font-weight: 700; color: #07533b; padding-block: 8px; }
.faq-help small { font-size: 14px; color: #344b47; }
.faq-help .faq-call { display: flex; align-items: center; gap: 14px; max-width: 100%; border-radius: 8px; }
.faq-call img { width: 66px; height: 66px; flex: none; object-fit: contain; transition: transform .18s ease; }
.faq-call:hover img { transform: rotate(-7deg); }
.faq-list { border-top: 1px solid #b7c9b8; }
.faq-list details { border-bottom: 1px solid #c8d4c5; }
.faq-list summary { position: relative; list-style: none; padding: 24px 44px 24px 0; color: #173f31; font-size: 19px; font-weight: 700; line-height: 1.4; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ''; position: absolute; top: 36px; right: 7px; width: 15px; height: 2px; background: #286b4e; }
.faq-list summary::after { transform: rotate(90deg); transition: transform .18s; }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details[open] summary { padding-bottom: 12px; }
.faq-list summary:hover { color: #006446; }
.faq-list summary:focus-visible { outline: 2px solid #076f50; outline-offset: 4px; }
.faq-answer { padding: 0 40px 24px 0; }
.faq-answer p { margin: 0; color: #344b47; font-size: 16px; line-height: 1.75; max-width: 68ch; }
.faq-answer a { color: #07533b; text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:1100px) {
  .appointment-hero { padding-top: 24px; }
  .appointment-card { order: 1; }
  .hero-art { order: 2; }
  .hero-art .hero-copy { position: absolute; top: 45px; left: 9%; width: 45%; margin: 0; text-align: left; padding: 0; }
  .hero-art .hero-copy h1 span { display: block; font-size: 51px; }
  .hero-art .hero-copy p { font-size: 18px; max-width: 24ch; line-height: 1.45; }
  .booking-guide { gap: 20px; padding: 28px 32px; }
  .guide-item { gap: 14px; }
  .guide-item + .guide-item { padding-left: 0; border: 0; }
  .guide-icon { width: 55px; height: 65px; }
  .visit-preparation, .appointment-faq { gap: 38px; padding-inline: 32px; }
  .visit-preparation { grid-template-columns: .9fr 1.6fr; }
  .prepare-details { gap: 24px; }
}
@media(max-width:760px) {
  .booking-guide { grid-template-columns: 1fr; gap: 22px; }
  .guide-item { gap: 22px; }
  .guide-icon { width: 61px; height: 65px; }
  .guide-item h3 { font-size: 18px; }
  .visit-preparation, .appointment-faq { grid-template-columns: 1fr; gap: 28px; }
  .visit-preparation { padding-block: 34px 38px; }
  .prepare-details { gap: 26px; }
  .appointment-faq { padding-block: 42px 44px; }
  .faq-intro h2 { font-size: 38px; }
  .faq-intro > p:not(.section-eyebrow) { max-width: 40ch; }
  .faq-help { margin-top: 20px; padding-top: 18px; max-width: none; }
}
@media(max-width:600px) {
  .appointment-hero { padding-top: 16px; }
  .hero-art .hero-copy { left: 7%; top: 26px; width: 86%; }
  .hero-art .hero-copy h1 { letter-spacing: -.04em; line-height: .98; }
  .hero-art .hero-copy h1 span:first-child { font-size: 43px; }
  .hero-art .hero-copy h1 span:last-child { font-size: 38px; }
  .hero-art .hero-copy p { margin-top: 12px; font-size: 16px; max-width: 28ch; }
  .hero-art .scene-doctors { height: 69%; }
  .booking-guide { padding: 27px 24px; }
  .visit-preparation, .appointment-faq { padding-inline: 24px; }
  .prepare-details { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 17px; padding-top: 21px; padding-bottom: 21px; }
  .faq-list summary::before, .faq-list summary::after { top: 32px; }
  .faq-answer { padding-right: 8px; }
}
@media(max-width:359px) {
  .hero-art .hero-copy h1 span:first-child { font-size: 40px; }
  .hero-art .hero-copy h1 span:last-child { font-size: 35px; }
  .hero-art .scene-doctors { height: 67%; }
  .visit-preparation, .appointment-faq { padding-inline: 20px; }
  .faq-intro h2 { font-size: 34px; }
}

/* Keep the desktop scene stationary when optional form fields are revealed. */
@media(min-width:1101px) {
  .appointment-hero { height: calc(814 * var(--u)); min-height: 0; grid-template-rows: minmax(0,1fr); }
  .appointment-card { min-height: 0; max-height: calc(814 * var(--u) - 96 * var(--u)); margin-bottom: 32px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #729985 #edf2e9; }
}
@media(min-width:1101px) and (max-width:1350px) {
  .appointment-hero { height: 735px; }
  .appointment-card { max-height: 645px; margin-bottom: 45px; }
}
.schedule-hint { color: #344b47; margin: 9px 0 0; font-size: 14px; line-height: 1.45; }
.schedule-hint.is-error { color: #9d2d21; font-weight: 700; }
.input-wrap:has(select:disabled) { background: #f2f5f1; }
.input-wrap select:disabled { opacity: 1; color: #344b47; cursor: not-allowed; }
.input-wrap optgroup { font-weight: 700; color: #123f30; }
.input-wrap option { font-weight: 400; }
.input-wrap option:disabled { color: #596b63; }
.appointment-card.is-schedule .booking-steps { display: none; }
.slot-field { position: relative; margin-top: 22px; }
.slot-label { display: block; margin: 0 0 9px; color: #102345; font-size: 17px; line-height: 1.3; font-weight: 700; }
.slot-native-date, .slot-native-time { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.slot-date-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.slot-date, .slot-period, .slot-time { min-width: 0; border: 1px solid #cbd4e7; border-radius: 11px; background: #fff; color: #102345; cursor: pointer; transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease; }
.slot-date { min-height: 70px; padding: 8px 5px 7px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.slot-date span { font-size: 13px; line-height: 1.2; }
.slot-date strong { font-size: 19px; line-height: 1.2; }
.slot-date small { font-size: 13px; line-height: 1.2; }
.slot-date:hover, .slot-period:hover, .slot-time:hover { border-color: #006c52; }
.slot-date.is-selected, .slot-time.is-selected { border-color: #006c52; background: linear-gradient(130deg,#008a61,#006c52); color: #fff; box-shadow: 0 5px 12px #006c5226; }
.slot-period.is-selected { border-color: #006c52; background: #eaf7f0; color: #064c37; }
.slot-date:focus-visible, .slot-period:focus-visible, .slot-time:focus-visible { outline: 3px solid #006c5266; outline-offset: 2px; }
.slot-period-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.slot-period { min-height: 48px; padding: 9px 8px; font-size: 15px; }
.slot-time-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.slot-time { min-height: 43px; padding: 8px 5px; font-size: 15px; }
.slot-date:disabled, .slot-period:disabled, .slot-time:disabled { background: #edf1ed; color: #52625a; cursor: not-allowed; box-shadow: none; }
.slot-date:disabled:hover, .slot-period:disabled:hover, .slot-time:disabled:hover { border-color: #cbd4e7; }
.appointment-card.is-schedule .card-heading { height: auto; min-height: 0; text-align: center; justify-content: center; }
.appointment-card.is-schedule .heading-icon { display: none; }
.appointment-card.is-schedule .card-heading > div { transform: none; }
.appointment-card.is-schedule .card-heading h2 { font-size: 25px; }
.appointment-card.is-schedule .card-heading p { font-size: 16px; margin-top: 6px; line-height: 1.45; }
.appointment-card.is-schedule .request-summary { display: none; }
.appointment-card.is-schedule .request-note { margin-top: 20px; font-size: 13px; }
.appointment-card.is-schedule .form-actions { margin-top: 20px; }
.appointment-card.is-schedule .continue-button { font-size: 18px; }
.appointment-card.is-schedule .continue-button .icon { display: none; }
.appointment-card.is-schedule .back-button { width: 82px; background: #eff7f2; color: #07503c; border-color: #b8d4c6; }
.appointment-card.is-schedule .continue-button:disabled { background: #d8e0dd; color: #40534a; box-shadow: none; }
.schedule-hint:empty { display: none; }
@media(min-width:1101px) {
  .appointment-card.is-schedule .slot-field { margin-top: 15px; }
  .appointment-card.is-schedule .request-note { margin-top: 13px; }
  .appointment-card.is-schedule .form-actions { margin-top: 14px; }
}
@media(max-width:600px) {
  .slot-field { margin-top: 20px; }
  .slot-date-grid, .slot-period-grid, .slot-time-grid { gap: 8px; }
  .slot-date { min-height: 65px; }
  .slot-date span, .slot-date small { font-size: 12px; }
  .slot-date strong { font-size: 18px; }
  .slot-period, .slot-time { font-size: 14px; }
  .appointment-card.is-schedule .continue-button { font-size: 16px; gap: 0; }
  .appointment-card.is-schedule .back-button { width: 64px; }
  .appointment-card.is-schedule .form-actions { gap: 10px; }
}
@media(max-width:359px) {
  .slot-date-grid, .slot-period-grid, .slot-time-grid { gap: 6px; }
  .slot-period { padding-inline: 3px; }
  .appointment-card.is-schedule .continue-button span { white-space: normal; line-height: 1.15; }
}

/* On phones the clinicians present the three steps beside their gesture. */
@media(max-width:760px) {
  .appointment-introduction { position: relative; --care-scene-height: 520px; }
  .appointment-introduction .hero-art { height: var(--care-scene-height); }
  .hero-art .hero-copy { left: 4%; top: 25px; width: 92%; padding: 0; margin: 0; text-align: center; }
  .hero-art .hero-copy h1 { display: flex; justify-content: center; align-items: baseline; gap: .2em; line-height: 1.08; white-space: nowrap; letter-spacing: -.04em; }
  .hero-art .hero-copy h1 span:first-child, .hero-art .hero-copy h1 span:last-child { display: inline; padding: 0; white-space: nowrap; font-size: clamp(27px,7.8vw,43px); }
  .hero-art .hero-copy p { max-width: none; width: 100%; margin: 11px 0 0; font-size: 16px; line-height: 1.45; text-align: center; }
  .hero-art .scene-doctors { left: 0; right: auto; bottom: 42px; width: 53%; height: 75%; object-position: left bottom; }
  .hero-art .scene-palm--left { left: -14%; bottom: 64px; width: 37%; height: 42%; }
  .scene-ground-shadow { left: 3%; right: auto; width: 40%; bottom: 51px; height: 15px; }
  .scene-wall { background: radial-gradient(ellipse at 50% 0%,#fffde9 0%,transparent 66%),linear-gradient(105deg,#bdcfb0,#e9efdb 65%,#f3f4e8); }
  .scene-arch--outer { left: -8%; width: 57%; height: 70%; bottom: 12%; border-top-right-radius: 240px 240px; }
  .scene-arch--inner { left: -8%; width: 51%; height: 64%; bottom: 12%; border-top-right-radius: 220px 220px; }
  .scene-floor { height: 12%; }
  .scene-flutes { width: 5%; bottom: 12%; }
  .scene-daylight { bottom: 12%; }
  .appointment-introduction > .booking-guide { position: absolute; z-index: 2; right: 5%; bottom: 80px; width: 42%; height: auto; min-height: 0; padding: 0; margin: 0; background: none; display: grid; grid-template-columns: 1fr; gap: 25px; }
  .appointment-introduction .guide-item { display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 8px; height: auto; min-width: 0; padding: 0; border: 0; }
  .appointment-introduction .guide-item > div { display: contents; }
  .appointment-introduction .guide-icon { width: 32px; height: 36px; margin: 0; }
  .appointment-introduction .guide-item h3 { margin: 0; font-size: 17px; line-height: 1.25; letter-spacing: -.02em; color: #103f31; }
  .appointment-introduction .guide-item p { grid-column: 1 / -1; margin: 0; font-size: 15px; line-height: 1.5; color: #304a42; white-space: normal; }
}
@media(min-width:480px) and (max-width:760px) {
  .appointment-introduction { --care-scene-height: 570px; }
  .hero-art .scene-doctors { width: 52%; height: 76%; }
  .appointment-introduction > .booking-guide { bottom: 74px; width: 41%; gap: 29px; }
  .appointment-introduction .guide-item { grid-template-columns: 42px minmax(0,1fr); column-gap: 12px; }
  .appointment-introduction .guide-icon { width: 42px; height: 45px; }
  .appointment-introduction .guide-item h3 { font-size: 19px; }
  .appointment-introduction .guide-item p { font-size: 16px; }
}
@media(max-width:359px) {
  .appointment-introduction { --care-scene-height: 540px; }
  .hero-art .hero-copy { left: 3%; width: 94%; }
  .hero-art .hero-copy p { font-size: 15px; }
  .hero-art .scene-doctors { width: 54%; bottom: 49px; }
  .appointment-introduction > .booking-guide { right: 4%; width: 42%; bottom: 77px; gap: 22px; }
  .appointment-introduction .guide-item { grid-template-columns: 28px minmax(0,1fr); column-gap: 7px; }
  .appointment-introduction .guide-icon { width: 28px; height: 32px; }
  .appointment-introduction .guide-item h3 { font-size: 16px; }
}
