:root {
  color-scheme: light;
  --ink: #153a39;
  --deep: #102b2b;
  --teal: #167c79;
  --teal-light: #68bcb1;
  --paper: #f6f5ef;
  --white: #fffefa;
  --muted: #78817b;
  --line: rgba(21, 58, 57, .17);
  --serif: "Noto Naskh Arabic", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.section-shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }

.site-header { width: min(1440px, calc(100% - 96px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 10px; align-items: center; flex-shrink: 0; font-family: var(--serif); font-size: 19px; line-height: 1.15; }
.brand img { width: 60px; height: auto; aspect-ratio: 1240 / 1270; flex-shrink: 0; object-fit: contain; }
.brand strong { font-weight: 700; }
.brand small { display: block; margin-top: 3px; font-family: var(--sans); font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.primary-nav { display: flex; gap: clamp(20px, 3vw, 46px); align-items: center; font-size: 12px; }
.primary-nav a, .site-footer a { transition: color .2s ease; }
.primary-nav a:hover, .site-footer a:hover { color: var(--teal); }
.header-cta { display: inline-flex; align-items: center; gap: 7px; padding: 13px 19px; border: 1px solid var(--ink); border-radius: 99px; font-size: 11px; transition: background .2s, color .2s; }
.header-cta .booking-icon { width: 15px; height: 15px; }
.header-cta:hover { background: var(--ink); color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-contact-link { font-size: 11px; transition: color .2s ease; white-space: nowrap; }
.header-contact-link:hover { color: var(--teal); }
.menu-toggle { display: none; }

.hero { padding-top: 38px; }
.hero-topline, .hero-foot { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--muted); }
.hero-topline { letter-spacing: .04em; }
.hero-topline-note { direction: rtl; }
.hero h1 { position: relative; z-index: 1; margin: 25px 0 -18px; font-family: var(--serif); font-size: clamp(66px, 10.1vw, 143px); line-height: .96; letter-spacing: -.055em; font-weight: 500; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-visual { position: relative; min-height: 435px; height: min(58vw, 590px); overflow: hidden; background: #d7e5df; }
.hero-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 43%; animation: hero-image-enter 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hero-photo-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 52, 50, .58), transparent 63%), linear-gradient(0deg, rgba(12, 47, 45, .27), transparent 42%); }
.hero-caption { position: absolute; inset-inline-start: 42px; top: 37px; display: flex; align-items: center; gap: 12px; color: white; }
.caption-mark { font-size: 29px; color: #b6e0d4; }
.hero-caption p { font-family: var(--serif); font-size: 15px; line-height: 1.3; }
.hero-message { position: absolute; inset-inline-start: 42px; bottom: 42px; width: min(290px, 40%); color: white; }
.eyebrow { margin: 0 0 14px; color: var(--teal); font-size: 10px; letter-spacing: .07em; }
.eyebrow-light { color: #b8ddd3; }
.hero-message p { max-width: 290px; font-family: var(--serif); font-size: 20px; line-height: 1.65; }
.text-link { display: inline-flex; gap: 15px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 11px; }
.booking-icon { width: 18px; height: 18px; flex-shrink: 0; color: currentColor; }
.booking-button { gap: 10px; }
.text-link span, .button span { transition: transform .2s; }
.text-link:hover span, .button:hover span { transform: translateX(-4px); }
.text-link-light { color: white; }
.hero-number { position: absolute; inset-inline-end: 40px; bottom: 42px; display: flex; align-items: center; gap: 13px; color: white; }
.hero-number strong { font-family: var(--serif); font-size: 44px; font-weight: 400; }
.hero-number span { font-size: 9px; line-height: 1.7; }
.hero-foot { padding: 15px 0 0; }
.hero-foot a { color: var(--teal); }
.hero-foot a span { margin-inline-start: 9px; }

.intro { padding-block: 145px 120px; }
.intro-copy { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 50px; }
.intro h2, .section-heading h2, .doctors-heading h2, .closing h2, .booking-intro h1, .profile-title { margin: 0; font-family: var(--serif); font-size: clamp(42px, 6vw, 76px); line-height: 1.2; font-weight: 500; letter-spacing: -.04em; }
.intro-copy > div { max-width: 380px; padding-bottom: 7px; }
.intro-copy p { margin: 0 0 24px; color: #5e6f69; font-family: var(--serif); font-size: 20px; line-height: 1.8; }
.intro-stats { margin: 68px 0 0; padding: 25px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); list-style: none; }
.intro-stat { display: flex; flex-direction: column; gap: 4px; }
.intro-stat strong { color: var(--teal); font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); font-weight: 500; line-height: 1.15; }
.intro-stat span { color: var(--muted); font-size: 11px; line-height: 1.7; }

.services { padding-block: 36px 130px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(44px, 5vw, 64px); }
.section-heading > p { margin: 0 0 7px; color: var(--muted); font-family: var(--serif); font-size: 16px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.service-card { position: relative; min-height: 242px; padding: 23px 24px 20px; display: flex; flex-direction: column; border: 1px solid rgba(21,58,57,.12); background: var(--white); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 34px rgba(21,58,57,.09); }
.service-card[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background .25s ease; transition-delay: calc(var(--card-index, 0) * 45ms); }
.service-card[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.service-card[data-reveal].is-visible:hover { transform: translateY(-5px); }
.service-card.featured { background: var(--teal); border-color: var(--teal); color: white; }
.service-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--teal); font-size: 19px; }
.featured .service-icon { color: white; }
.service-card h3 { margin: auto 0 7px; font-family: var(--serif); font-size: 23px; font-weight: 600; }
.service-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.service-card.featured p { color: rgba(255,255,255,.77); }
.service-book { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: 17px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 10px; }
.service-book .booking-icon { width: 15px; height: 15px; }
.service-book span { margin-inline-start: 9px; }

.doctors { padding-block: 96px 100px; overflow: hidden; background: #fbf8f3; color: var(--ink); }
.doctors-inner { width: min(1440px, calc(100% - 96px)); margin-inline: auto; }
.doctors-heading { position: relative; min-height: 236px; display: grid; grid-template-columns: 1fr .55fr .35fr; gap: 40px; align-items: start; }
.doctors-heading h2 { max-width: 580px; font-size: clamp(37px, 5vw, 61px); }
.doctors-heading > p { max-width: 205px; margin: 5px 0; color: var(--muted); font-family: var(--serif); font-size: 17px; line-height: 1.7; }
.doctors-count { justify-self: end; display: flex; align-items: baseline; gap: 8px; }
.doctors-count strong { font-family: var(--serif); font-size: 44px; font-weight: 400; }
.doctors-count small { color: var(--muted); font-size: 10px; }
.doctor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
.doctor-card { min-width: 0; opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--card-index, 0) * 55ms); }
.doctor-card.is-visible { opacity: 1; transform: translateY(0); }
.doctor-card-link { display: block; }
.doctor-stage { position: relative; aspect-ratio: 1; isolation: isolate; }
.doctor-artwork { position: relative; width: 100%; height: 100%; display: grid; place-items: end center; }
.doctor-decoration { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; }
.doctor-outer-shape { fill: none; stroke: #E9793E; stroke-width: 4; }
.doctor-inner-shape { fill: #51999A; }
.doctor-photo-mask { position: absolute; z-index: 2; inset: 0; }
.doctor-cutout, .profile-cutout { position: absolute; z-index: 2; inset-inline-start: 50%; bottom: 10%; width: 70%; height: 84%; max-width: 70%; max-height: 84%; object-fit: contain; object-position: center bottom; transform: translateX(50%); transform-origin: center bottom; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.doctor-artwork:hover .doctor-cutout, .doctor-card-link:focus-visible .doctor-cutout { transform: translateX(50%) scale(1.04) translateY(-3px); }
.profile-artwork:hover .doctor-cutout { transform: translateX(50%) scale(1.04) translateY(-3px); }
.doctor-info { min-height: 128px; padding: 18px 5px 0; }
.doctor-info p { margin: 0 0 6px; color: var(--muted); font-size: 9px; letter-spacing: .04em; }
.doctor-info h3 { margin: 0; font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); font-weight: 500; line-height: 1.45; }
.doctor-profile-link { margin-top: 11px; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-size: 9px; letter-spacing: .08em; }
.doctor-profile-link span { display: inline-block; color: #E9793E; }

.closing { min-height: 500px; padding-block: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.closing-symbol { margin-bottom: 20px; color: var(--teal); font-size: 30px; }
.closing h2 { margin-bottom: 25px; font-size: clamp(48px, 6.5vw, 80px); }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 23px; border-radius: 99px; font-size: 11px; transition: background .2s, color .2s; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--teal); }
.site-footer { width: min(1440px, 100%); min-height: 160px; margin-inline: auto; padding: 34px max(48px, calc((100% - 1440px) / 2)); display: grid; grid-template-columns: 1.2fr 1fr 1.4fr 1fr; align-items: start; gap: 28px; border-top: 1px solid rgba(255,255,255,.22); background: #51999A; font-size: 11px; color: rgba(255,255,255,.9); }
.site-footer a:hover { color: #E9793E; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.brand-footer { color: #fff; }
.brand-footer small { color: rgba(255,255,255,.76); }
.brand-footer img { width: 52px; height: auto; mix-blend-mode: normal; }
.footer-instagram { width: 28px; height: 28px; margin-top: 15px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); }
.footer-instagram .contact-icon { width: 20px; height: 20px; }
.site-footer h2 { margin: 2px 0 12px; display: flex; align-items: center; gap: 7px; color: #fff; font-family: var(--serif); font-size: 14px; font-weight: 600; }
.footer-contact, .footer-location, .footer-hours { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.site-footer .contact-icon { width: 15px; height: 15px; flex-shrink: 0; color: rgba(255,255,255,.92); }
.footer-contact .contact-icon { width: 13px; height: 13px; }
.footer-location address { max-width: 250px; font-style: normal; line-height: 1.8; }
.footer-hours { gap: 5px; }
.footer-hours p { margin: 0; line-height: 1.8; }
.footer-hours .footer-hours-days { color: rgba(255,255,255,.78); font-size: 10px; }
.footer-hours .footer-hours-time { color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }

/* Booking and doctor profile pages */
.subpage { min-height: 100vh; background: #eef4f1; }
.subpage .site-header { border-color: rgba(21,58,57,.12); }
.contact-main { width: min(1200px, calc(100% - 96px)); margin: 0 auto; padding: 84px 0 100px; }
.contact-heading { max-width: 700px; margin-bottom: 42px; }
.contact-heading .eyebrow { margin-bottom: 12px; color: var(--teal); font-size: 11px; }
.contact-heading h1 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(48px, 7vw, 82px); font-weight: 600; line-height: 1.15; }
.contact-heading h1 em { color: var(--teal); font-weight: 500; }
.contact-heading > p:last-child { max-width: 490px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.contact-card-main { min-height: 410px; margin-bottom: 30px; padding: 22px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; gap: 28px; }
.contact-details { padding: 10px 8px; }
.contact-details > .eyebrow { margin: 0 0 7px; color: var(--teal); font-size: 10px; }
.contact-details > h2 { margin: 0 0 25px; font-family: var(--serif); font-size: 27px; font-weight: 600; }
.contact-detail-group { margin-top: 21px; }
.contact-detail-group h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 16px; font-weight: 600; }
.contact-details .contact-icon { width: 19px; height: 19px; flex-shrink: 0; color: var(--teal); }
.contact-detail-group p, .contact-detail-group address { margin: 0; color: #65756e; font-size: 12px; line-height: 1.9; }
.contact-detail-group address { font-style: normal; }
.contact-detail-group .contact-hours-days { margin-bottom: 6px; color: var(--teal); font-weight: 600; }
.contact-detail-group .contact-hours { width: fit-content; display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 9px; background: #eaf3ef; color: var(--ink); font-size: 12px; line-height: 1.5; white-space: nowrap; }
.contact-hours strong { font-size: 14px; font-weight: 700; }
.contact-hours span { color: #65756e; }
.contact-phone-list { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.contact-phone-list a { display: inline-flex; align-items: center; gap: 8px; direction: ltr; font-size: 15px; font-variant-numeric: tabular-nums; transition: color .2s ease; }
.contact-phone-list a:hover { color: var(--teal); }
.contact-map-link { display: inline-block; margin-top: 7px; color: var(--teal); font-size: 10px; }
.contact-map { width: 100%; min-height: 366px; border: 0; border-radius: 12px; background: #e7eeea; }
.contact-booking-link { margin-top: 0; }
.booking-banner { width: min(1440px, calc(100% - 96px)); margin: 25px auto 16px; padding: 20px 26px; display: flex; align-items: center; gap: 17px; border-radius: 15px; background: #fff; }
.banner-symbol { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #c9e6db; border-radius: 50%; color: var(--teal); font-size: 21px; }
.booking-banner strong { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.booking-banner p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.booking-layout { width: min(1440px, calc(100% - 96px)); min-height: 530px; margin: 0 auto 50px; display: grid; grid-template-columns: 285px 1fr; overflow: hidden; border-radius: 15px; background: white; box-shadow: 0 18px 55px rgba(21,58,57,.05); }
.booking-sidebar { padding: 32px 26px; border-inline-end: 1px solid #edf0ed; }
.booking-sidebar h1 { margin: 0 0 29px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.progress-list { margin: 0; padding: 0; list-style: none; }
.progress-item { position: relative; min-height: 69px; display: flex; align-items: flex-start; gap: 12px; color: #8c9791; font-size: 11px; }
.progress-item:not(:last-child)::after { content: ""; position: absolute; top: 28px; right: 13px; width: 1px; height: 39px; background: #e4e9e5; }
.progress-dot { position: relative; z-index: 1; width: 27px; height: 27px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #f1f3f1; color: #89938e; font-size: 10px; }
.progress-item.is-current { color: var(--ink); font-weight: 700; }
.progress-item.is-current .progress-dot, .progress-item.is-complete .progress-dot { background: #d7f0e2; color: var(--teal); }
.booking-main { min-width: 0; padding: 31px 36px 26px; display: flex; flex-direction: column; }
.step-heading { margin: 0 0 20px; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.step-description { margin: -13px 0 22px; color: var(--muted); font-size: 11px; }
.booking-step { flex: 1; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice-card { min-height: 78px; padding: 13px 14px; display: flex; align-items: center; gap: 11px; border: 1px solid #e6ebe7; border-radius: 10px; background: white; color: var(--ink); text-align: right; cursor: pointer; transition: border-color .2s, background .2s; }
.choice-card:hover, .choice-card.selected { border-color: var(--teal); background: #f1faf6; }
.choice-icon { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #eef6f1; color: var(--teal); }
.choice-card strong { display: block; font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.4; }
.choice-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.calendar-time-layout { display: grid; grid-template-columns: minmax(250px, .75fr) 1.25fr; gap: 32px; }
.calendar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.calendar-head h3, .time-panel h3 { margin: 0; font-size: 13px; font-weight: 600; }
.month-nav { min-width: 48px; padding: 6px 9px; border: 1px solid #edf0ed; border-radius: 99px; background: #fff; color: var(--ink); font-size: 10px; cursor: pointer; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px 3px; text-align: center; }
.calendar-weekday { padding-block: 5px; color: #77827c; font-size: 8px; }
.calendar-day { width: 31px; height: 31px; justify-self: center; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 10px; cursor: pointer; }
.calendar-day:disabled { color: #c7ceca; cursor: default; }
.calendar-day:not(:disabled):hover, .calendar-day.selected { background: var(--teal); color: white; }
.time-panel h3 { margin: 0 0 13px; }
.time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.time-slot { min-height: 40px; border: 1px solid #e6ebe7; border-radius: 8px; background: white; color: var(--ink); font-size: 10px; cursor: pointer; }
.time-slot:hover, .time-slot.selected { border-color: var(--teal); background: #edf8f4; color: var(--teal); }
.demo-note { margin: 16px 0 0; color: #839089; font-size: 9px; line-height: 1.7; }
.demo-booking-note { width: min(1440px, calc(100% - 96px)); margin: 0 auto 35px; text-align: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-size: 10px; }
.form-field.full { grid-column: 1 / -1; }
.form-field input, .form-field textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #e2e8e3; border-radius: 7px; background: white; color: var(--ink); font-size: 12px; }
.phone-field { display: flex; direction: ltr; gap: 7px; }
.phone-field input { flex: 1; min-width: 0; }
.phone-country-control { position: relative; width: 112px; flex: 0 0 112px; }
.phone-country-flag { position: absolute; z-index: 1; top: 50%; left: 8px; width: 24px; height: 18px; transform: translateY(-50%); border: 1px solid rgba(21,58,57,.14); border-radius: 2px; object-fit: cover; pointer-events: none; }
.phone-field .phone-country-select { width: 100%; min-height: 43px; padding: 8px 7px 8px 37px; border: 1px solid #e2e8e3; border-radius: 7px; background: white; color: var(--ink); direction: ltr; font-size: 11px; }
.form-field textarea { min-height: 76px; resize: vertical; }
.review-card { padding: 5px 18px; border: 1px solid #e8ece8; border-radius: 10px; }
.review-row { min-height: 47px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid #edf0ed; font-size: 11px; }
.review-row:last-child { border-bottom: 0; }
.review-row span { color: var(--muted); }
.review-row strong { text-align: left; }
.booking-actions { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.booking-actions .button { min-width: 140px; min-height: 43px; border: 1px solid var(--ink); cursor: pointer; }
.button-outline { background: white; color: var(--ink); }
.button-outline:hover { background: #f5f8f5; }
.booking-error { min-height: 17px; margin: 10px 0 -7px; color: #aa4848; font-size: 10px; }
.confirmation { padding: 40px 10px; text-align: center; }
.confirmation-mark { width: 58px; height: 58px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #e0f3e7; color: var(--teal); font-size: 24px; }
.confirmation h2 { margin: 0 0 10px; font-family: var(--serif); font-size: 30px; }
.confirmation p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.confirmation .button { margin-top: 14px; }

.profile-page { min-height: 100vh; background: var(--paper); }
.profile-main { width: min(1280px, calc(100% - 96px)); min-height: calc(100vh - 180px); margin: auto; padding-block: 48px; }
.back-link { display: inline-flex; gap: 10px; margin-bottom: 37px; color: var(--muted); font-size: 11px; }
.profile-layout { width: min(100%, 1120px); min-height: 560px; margin-inline: auto; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; border: 1px solid #e8ebe4; border-radius: 18px; background: #fff; }
.profile-artwork { width: min(100%, 520px); aspect-ratio: 1; }
.profile-artwork .doctor-decoration { width: 100%; height: 100%; }
.profile-artwork .doctor-cutout, .profile-artwork .profile-cutout { width: 75%; height: 90%; bottom: 15%; }
.profile-copy { max-width: 480px; }
.profile-title { margin-bottom: 20px; font-size: clamp(45px, 6vw, 72px); }
.profile-copy > p:not(.eyebrow) { max-width: 400px; margin: 0 0 27px; color: #65756e; font-family: var(--serif); font-size: 18px; line-height: 1.8; }
.profile-placeholder { padding-top: 21px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.8; }

@keyframes hero-image-enter {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes text-word-enter {
  from { opacity: 0; transform: translateY(.3em); }
  to { opacity: 1; transform: translateY(0); }
}
.text-reveal-word { display: inline-block; animation: text-word-enter .38s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--word-index) * 38ms); }

@media (min-width: 1500px) {
  .hero h1 { font-size: 150px; }
}
@media (max-width: 900px) {
  .section-shell, .site-header, .doctors-inner, .booking-banner, .booking-layout, .profile-main { width: calc(100% - 52px); }
  .contact-main { width: calc(100% - 52px); }
  .primary-nav { gap: 17px; }
  .hero h1 { font-size: clamp(64px, 11vw, 105px); }
  .hero-visual { height: 57vw; min-height: 390px; }
  .service-card { min-height: 226px; padding: 18px; }
  .doctors-heading { grid-template-columns: 1fr .65fr; min-height: 210px; }
  .doctors-count { display: none; }
  .doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .doctor-stage { height: auto; }
  .booking-layout { grid-template-columns: 220px 1fr; }
  .contact-card-main { grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px; }
  .contact-map { min-height: 390px; }
  .booking-sidebar { padding-inline: 20px; }
  .booking-main { padding-inline: 24px; }
  .calendar-time-layout { grid-template-columns: 1fr; gap: 25px; }
  .calendar-grid { max-width: 330px; }
}
@media (max-width: 620px) {
  .section-shell, .site-header, .doctors-inner, .booking-banner, .booking-layout, .profile-main { width: calc(100% - 36px); }
  .site-header { min-height: 70px; gap: 12px; }
  .profile-page .site-header, .contact-page .site-header { gap: 8px; }
  .brand { font-size: 16px; }
  .brand img { width: 50px; height: auto; }
  .profile-page .brand, .contact-page .brand { gap: 7px; font-size: 14px; }
  .profile-page .brand img, .contact-page .brand img { width: 42px; }
  .site-header { position: relative; z-index: 6; }
  .menu-toggle { position: relative; width: 35px; height: 35px; margin-inline-start: auto; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: transparent; }
  .menu-toggle span { width: 21px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; z-index: 5; top: calc(100% + 1px); right: 0; left: 0; padding: 0 18px; display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow: hidden; border: 1px solid rgba(21,58,57,.1); border-radius: 0 0 14px 14px; background: var(--white); box-shadow: 0 14px 28px rgba(21,58,57,.12); opacity: 0; visibility: hidden; pointer-events: none; max-height: 0; transform: translateY(-8px); transition: max-height .35s ease, padding .3s ease, gap .3s ease, opacity .22s ease, transform .3s ease, visibility 0s linear .35s; }
  .primary-nav.is-open { max-height: 320px; padding: 18px; gap: 17px; opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition: max-height .35s ease, padding .3s ease, gap .3s ease, opacity .22s ease, transform .3s ease, visibility 0s; }
  .primary-nav a { padding-block: 4px; }
  .header-cta { padding: 11px 13px; font-size: 10px; }
  .header-cta { gap: 5px; }
  .header-actions { gap: 10px; }
  .header-contact-link { font-size: 9px; }
  .profile-page .header-cta, .contact-page .header-cta { padding: 9px 10px; font-size: 9px; white-space: nowrap; }
  .hero { padding-top: 28px; }
  .hero-topline-note { max-width: 130px; text-align: left; }
  .hero h1 { margin: 33px 0 -7px; font-size: clamp(57px, 14vw, 83px); line-height: 1.08; letter-spacing: -.06em; }
  .hero-visual { height: 510px; min-height: 0; }
  .hero-image { object-position: 58% center; }
  .hero-photo-shade { background: linear-gradient(0deg, rgba(10,52,50,.72), transparent 66%); }
  .hero-caption { inset-inline-start: 18px; top: 16px; }
  .hero-message { inset-inline-start: 18px; bottom: 24px; width: 66%; }
  .hero-message p { font-size: 17px; }
  .hero-number { inset-inline-end: 18px; bottom: 24px; gap: 5px; }
  .hero-number strong { font-size: 30px; }
  .hero-number span { font-size: 8px; }
  .hero-foot { font-size: 9px; }
  .hero-foot span:last-child { display: none; }
  .intro { padding-block: 95px 74px; }
  .intro-copy { grid-template-columns: 1fr; gap: 17px; }
  .intro h2 { font-size: 55px; }
  .intro-copy p { font-size: 18px; }
  .intro-stats { margin-top: 42px; padding-top: 20px; gap: 12px; }
  .intro-stat strong { font-size: clamp(24px, 7vw, 34px); }
  .intro-stat span { font-size: 9px; }
  .services { padding-block: 20px 85px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 24px; }
  .section-heading h2 { font-size: 49px; }
  .section-heading > p { font-size: 14px; }
  .contact-main { width: calc(100% - 36px); padding: 55px 0 68px; }
  .contact-heading { margin-bottom: 26px; }
  .contact-heading h1 { font-size: 51px; }
  .contact-heading > p:last-child { font-size: 12px; }
  .contact-card-main { grid-template-columns: 1fr; gap: 22px; margin-bottom: 22px; padding: 18px; }
  .contact-details { padding: 4px; }
  .contact-details > h2 { margin-bottom: 18px; font-size: 24px; }
  .contact-detail-group { margin-top: 16px; }
  .contact-map { min-height: 300px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .service-card { min-height: 212px; padding: 14px; }
  .service-icon { width: 36px; height: 36px; font-size: 16px; }
  .service-card h3 { font-size: 18px; line-height: 1.35; }
  .service-card p { font-size: 10px; }
  .service-book { font-size: 9px; }
  .doctors { padding-block: 65px 70px; }
  .doctors-heading { min-height: 0; margin-bottom: 26px; grid-template-columns: 1fr; gap: 10px; }
  .doctors-heading h2 { font-size: 43px; }
  .doctors-heading > p { max-width: 310px; font-size: 15px; }
  .doctor-grid { gap: 9px; }
  .doctor-stage { height: auto; }
  .doctor-grid { gap: 22px 12px; }
  .doctor-info { min-height: 112px; padding-top: 13px; }
  .doctor-info h3 { font-size: 17px; }
  .profile-artwork { margin-inline: auto; }
  .closing { min-height: 420px; padding-block: 75px; }
  .closing h2 { font-size: 57px; }
  .site-footer { min-height: 0; padding: 26px 18px; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-location address { max-width: none; }
  .booking-banner { margin-top: 15px; padding: 15px; gap: 11px; }
  .booking-banner strong { font-size: 16px; }
  .booking-banner p { line-height: 1.6; }
  .demo-booking-note { width: calc(100% - 36px); }
  .booking-layout { display: block; margin-bottom: 25px; }
  .booking-sidebar { padding: 19px 16px 12px; border: 0; border-bottom: 1px solid #edf0ed; }
  .booking-sidebar h1 { margin: 0 0 14px; font-size: 20px; }
  .progress-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; overflow: visible; padding-bottom: 0; }
  .progress-item { min-width: 0; min-height: 60px; flex-direction: column; align-items: center; gap: 5px; font-size: 8px; line-height: 1.4; text-align: center; }
  .progress-item > span:last-child { width: 100%; }
  .progress-item:not(:last-child)::after { top: 12px; inset-inline-start: 50%; width: 50%; height: 1px; }
  .progress-dot { width: 25px; height: 25px; }
  .booking-main { min-height: 480px; padding: 22px 16px 17px; }
  .step-heading { margin-bottom: 18px; font-size: 23px; }
  .step-description { margin-top: -12px; }
  .choice-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .choice-card { min-height: 70px; padding: 9px; gap: 7px; }
  .choice-icon { width: 28px; height: 28px; }
  .choice-card strong { font-size: 13px; }
  .choice-card small { font-size: 8px; }
  .calendar-time-layout { grid-template-columns: 1fr; gap: 23px; }
  .calendar-grid { max-width: none; }
  .calendar-day { width: 33px; height: 33px; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-field.full { grid-column: auto; }
  .booking-actions { padding-top: 23px; }
  .booking-actions .button { min-width: 112px; min-height: 42px; padding-inline: 12px; }
  .profile-main { padding-block: 38px; }
  .profile-layout { min-height: 0; padding: 22px 18px 28px; grid-template-columns: 1fr; gap: 12px; }
  .profile-artwork { width: min(100%, 360px); margin-inline: auto; }
  .profile-copy { padding-inline: 8px; }
  .profile-title { font-size: clamp(40px, 11vw, 54px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
