@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600&family=Playfair+Display:ital,wght@0,600;1,500&display=swap');

:root {
  --ink: #172b29;
  --forest: #173f39;
  --forest-deep: #0d2f2b;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --terracotta: #c56f52;
  --sage: #b7c4ae;
  --line: rgba(23, 63, 57, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.sr-only { width: 1px; height: 1px; padding: 0; margin: -1px; position: absolute; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.announcement { min-height: 36px; padding: 8px clamp(18px, 4vw, 64px); display: flex; align-items: center; justify-content: center; gap: 48px; background: var(--forest-deep); color: #e9eee8; font: 500 12px/1.4 "DM Sans", sans-serif; letter-spacing: .04em; }
.announcement a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); }
.site-header { height: 84px; padding: 0 clamp(22px, 5vw, 76px); display: flex; justify-content: space-between; align-items: center; gap: 32px; background: rgba(255,253,248,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid currentColor; border-radius: 50%; font: 600 14px/1 "Playfair Display", serif; letter-spacing: .08em; }
.brand strong, .footer-brand strong { display: block; font: 600 19px/1.1 "Playfair Display", serif; }
.brand small, .footer-brand small { display: block; margin-top: 3px; color: #6a7773; font: 500 9px/1.2 "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 30px; font: 500 12px/1 "DM Sans", sans-serif; }
.site-header nav a { position: relative; }
.site-header nav a:after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--terracotta); transition: right .25s; }
.site-header nav a:hover:after { right: 0; }
.button { min-height: 52px; padding: 15px 23px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; background: var(--forest); color: white; border: 1px solid var(--forest); border-radius: 2px; font: 600 12px/1 "DM Sans", sans-serif; letter-spacing: .03em; transition: background .2s, transform .2s; }
.button:hover { background: var(--terracotta); border-color: var(--terracotta); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 12px 18px; justify-self: end; }
.clinic-location { color: #6a7773; font: 500 10px/1 "DM Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.text-link { display: inline-flex; gap: 32px; align-items: center; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--forest); font: 600 12px/1 "DM Sans", sans-serif; }
.text-link.dark { color: var(--ink); }

.hero { min-height: 700px; padding: 74px clamp(28px, 7vw, 108px) 60px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(370px, .94fr); align-items: center; gap: clamp(50px, 7vw, 108px); overflow: hidden; background: radial-gradient(circle at 83% 12%, rgba(184,201,179,.38), transparent 29%), var(--cream); }
.hero-copy { max-width: 690px; z-index: 2; }
.eyebrow, .section-kicker { margin: 0 0 24px; color: var(--terracotta); font: 600 10px/1.2 "DM Sans", sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; color: var(--forest); font: 600 clamp(55px, 6.5vw, 92px)/.96 "Playfair Display", serif; letter-spacing: -.045em; }
h1 em, h2 em { color: var(--terracotta); font-weight: 500; }
.hero-lede { max-width: 580px; margin-bottom: 34px; color: #55615d; font: 400 clamp(17px, 1.6vw, 21px)/1.65 "Manrope", sans-serif; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.trust-row { max-width: 590px; margin-top: 58px; padding-top: 25px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.trust-row div { padding-right: 20px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.trust-row div + div { padding-left: 24px; }
.trust-row div:last-child { border: 0; }
.trust-row strong { font: 600 26px/1 "Playfair Display", serif; }
.trust-row span { margin-top: 7px; color: #6c7774; font: 500 9px/1.3 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.hero-visual { min-height: 560px; position: relative; display: grid; place-items: center; }
.portrait-frame { width: min(100%, 440px); aspect-ratio: .76; position: relative; z-index: 2; overflow: hidden; border-radius: 46% 46% 8px 8px; box-shadow: 0 30px 80px rgba(13,47,43,.18); background: #dce4dc; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.hero-orbit { position: absolute; border: 1px solid rgba(197,111,82,.55); border-radius: 50%; }
.orbit-one { width: 560px; height: 450px; transform: rotate(24deg); }
.orbit-two { width: 500px; height: 560px; border-color: rgba(23,63,57,.25); transform: rotate(-36deg); }
.verified-card { min-width: 260px; padding: 15px 18px; display: flex; gap: 12px; align-items: center; position: absolute; z-index: 3; right: -18px; bottom: 42px; background: rgba(255,253,248,.96); box-shadow: 0 15px 40px rgba(13,47,43,.14); border-left: 3px solid var(--terracotta); }
.verified-icon { width: 30px; height: 30px; display: grid; place-items: center; background: var(--forest); color: #fff; border-radius: 50%; }
.verified-card strong { display: block; font: 600 11px/1.2 "DM Sans", sans-serif; }
.verified-card small { display: block; margin-top: 4px; color: #75807c; font-size: 9px; }

.intro { padding: 110px clamp(28px, 10vw, 160px); display: grid; grid-template-columns: .65fr 1fr; gap: 40px 10vw; align-items: start; background: var(--paper); }
.intro .section-kicker { grid-column: 1/-1; margin: 0; }
.intro h2, .section-heading h2, .doctor h2, .results h2, .stories h2, .appointment h2 { margin: 0; color: var(--forest); font: 600 clamp(44px, 5vw, 69px)/1.05 "Playfair Display", serif; letter-spacing: -.035em; }
.intro > p:last-child { margin: 4px 0 0; color: #5e6966; font-size: 18px; line-height: 1.85; }

.expertise { padding: 106px clamp(28px, 7vw, 108px) 74px; color: white; background: var(--forest); }
.section-heading { margin-bottom: 56px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 8vw; align-items: end; }
.section-kicker.light { color: #d09a84; }
.section-heading h2, .stories h2 { color: white; }
.section-heading > p { margin: 0 0 7px; color: #bdcbc7; font-size: 15px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.service-card { min-width: 0; position: relative; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.22); transition: background .25s, transform .25s; overflow: hidden; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: rgba(255,255,255,.055); transform: translateY(-5px); }
.service-image { aspect-ratio: 4/3; position: relative; overflow: hidden; background: #244942; }
.service-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,39,34,.5)); }
.service-image img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.84) contrast(.96); transition: transform .5s ease, filter .5s ease; }
.service-card:hover .service-image img { transform: scale(1.035); filter: saturate(.96) contrast(1); }
.service-number { position: absolute; left: 20px; bottom: 18px; z-index: 1; color: white; font: 600 11px/1 "DM Sans", sans-serif; }
.service-content { min-height: 295px; padding: 25px 27px 28px; display: flex; flex-direction: column; }
.service-tag { margin: 0 0 14px; color: #d6a48e; font: 600 9px/1 "DM Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.service-card h3 { margin-bottom: 16px; font: 600 25px/1.15 "Playfair Display", serif; }
.service-card p { margin: 0 0 24px; color: #b8c8c4; font-size: 12px; line-height: 1.75; }
.service-card a { margin-top: auto; width: max-content; display: flex; gap: 28px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.55); font: 500 10px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.treatment-list { padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 13px; }
.treatment-list span { padding: 9px 14px; color: #c2cecb; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; font-size: 10px; }
.expertise-image-note { margin: 16px 0 0; color: #8ea39e; font-size: 9px; line-height: 1.5; }

.doctor { padding: 120px clamp(28px, 9vw, 140px); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(52px, 9vw, 130px); align-items: center; background: #f2ede3; }
.doctor-image-wrap { position: relative; }
.doctor-image-wrap > img { width: 100%; max-height: 670px; aspect-ratio: .76; object-fit: cover; object-position: 50% 47%; border-radius: 48% 48% 4px 4px; }
.image-caption { width: 75%; padding: 15px 18px; position: absolute; right: -16px; bottom: 24px; display: flex; justify-content: space-between; background: var(--paper); box-shadow: 0 12px 40px rgba(23,43,41,.14); }
.image-caption span { color: #7b8783; font: 500 8px/1.2 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.image-caption strong { font: 600 11px/1.2 "DM Sans", sans-serif; }
.doctor-intro { max-width: 590px; margin: 23px 0 17px; color: var(--forest); font: 500 20px/1.5 "Playfair Display", serif; }
.doctor-copy > p:not(.section-kicker):not(.doctor-intro) { max-width: 620px; color: #65706c; font-size: 14px; line-height: 1.8; }
.credential-list { margin: 36px 0 30px; border-top: 1px solid var(--line); }
.credential-list div { padding: 16px 0; display: grid; grid-template-columns: 34px 1fr; border-bottom: 1px solid var(--line); }
.credential-list span { color: var(--terracotta); font: 600 9px/1.5 "DM Sans", sans-serif; }
.credential-list p { margin: 0; color: #7a8481; font: 400 10px/1.5 "DM Sans", sans-serif; }
.credential-list strong { display: block; color: var(--ink); font-size: 12px; }

.results { padding: 112px clamp(28px, 7vw, 108px) 82px; background: var(--paper); }
.results-heading h2 { color: var(--forest); }
.results-heading > p { color: #687470; }
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.results-grid figure { margin: 0; position: relative; background: #efe9df; overflow: hidden; }
.results-grid img { width: 100%; height: auto; object-fit: contain; background: #f7f4ee; }
.result-labels { height: 28px; padding: 0 14px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; color: white; background: var(--forest); font: 600 8px/1 "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.result-labels span:last-child { text-align: right; }
.results-grid figcaption { padding: 15px 16px 17px; display: flex; justify-content: space-between; gap: 14px; }
.results-grid figcaption span { font: 600 12px/1.25 "DM Sans", sans-serif; }
.results-grid figcaption small { color: var(--terracotta); font: 600 8px/1.4 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.results-note { margin: 22px 0 0; color: #7d8783; font-size: 9px; text-align: center; }
.swipe-hint { display: none; }

.stories { padding: 110px 0 110px clamp(28px, 8vw, 124px); display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); gap: 6vw; color: white; background: var(--forest-deep); overflow: hidden; }
.stories-title { position: sticky; top: 140px; align-self: start; }
.rating { margin-top: 48px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 5px 14px; }
.rating strong { font: 600 36px/1 "Playfair Display", serif; }
.rating span { color: #d69a80; font-size: 13px; letter-spacing: .1em; }
.rating small { grid-column: 1/-1; color: #9eb1ac; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.testimonial-shell { min-width: 0; align-self: center; }
.testimonial-controls { padding: 0 28px 9px 0; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.testimonial-controls span { margin-right: 5px; color: #8fa6a0; font: 500 8px/1 "DM Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.testimonial-controls button { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 15px; cursor: pointer; }
.testimonial-viewport { min-width: 0; padding: 10px 28px 20px 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; touch-action: pan-x; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(to right, transparent, black 3%, black 96%, transparent); }
.testimonial-viewport::-webkit-scrollbar { display: none; }
.testimonial-track { width: max-content; display: flex; gap: 18px; }
.testimonial-card { width: clamp(310px, 34vw, 470px); min-height: 390px; margin: 0; padding: 34px; display: flex; flex-direction: column; position: relative; color: var(--ink); background: #f3ede3; border-top: 3px solid var(--terracotta); box-shadow: 0 18px 48px rgba(0,0,0,.12); }
.testimonial-card { flex: 0 0 auto; }
.testimonial-rating { display: flex; align-items: center; gap: 10px; }
.testimonial-rating strong { color: var(--forest); font: 600 23px/1 "Playfair Display", serif; }
.testimonial-rating span { color: var(--terracotta); font-size: 11px; letter-spacing: .08em; }
.quote-mark { color: var(--terracotta); font: 500 54px/.8 "Playfair Display", serif; }
.testimonial-card > .quote-mark { margin: 28px 0 8px; }
.testimonial-card > p { margin: 0 0 30px; color: #465551; font: 400 clamp(17px, 1.6vw, 21px)/1.65 "Playfair Display", serif; }
.testimonial-card footer { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.testimonial-card footer span { color: var(--forest); font: 600 11px/1 "DM Sans", sans-serif; }
.testimonial-card footer small { color: #7d8b86; font: 500 8px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .1em; }

.appointment { padding: 112px clamp(28px, 10vw, 155px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: center; background: #e8ddd0; }
.appointment-intro > p:not(.section-kicker) { max-width: 560px; margin: 24px 0 0; color: #5d6a66; font-size: 14px; line-height: 1.8; }
.appointment-help { margin-top: 34px; padding-top: 23px; display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--line); }
.appointment-help span { margin-bottom: 2px; color: #7a8581; font: 600 9px/1 "DM Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.appointment-help a { width: max-content; color: var(--forest); border-bottom: 1px solid rgba(23,63,57,.35); font: 600 12px/1.5 "DM Sans", sans-serif; }
.appointment-form { min-width: 0; padding: 35px; border: 1px solid rgba(23,63,57,.25); background: rgba(255,253,248,.75); box-shadow: 0 18px 55px rgba(23,43,41,.08); }
.form-row { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.appointment-form label, .crm-login-card label { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); font: 600 10px/1.3 "DM Sans", sans-serif; letter-spacing: .04em; }
.appointment-form label { min-width: 0; max-width: 100%; }
.appointment-form label:not(.consent-check) > span, .appointment-form .consent-check b { color: var(--terracotta); }
.appointment-form label small { margin-left: 4px; color: #8c9692; font-size: 8px; font-weight: 500; text-transform: uppercase; }
.appointment-form input, .appointment-form select, .appointment-form textarea, .crm-login-card input { width: 100%; min-width: 0; max-width: 100%; min-height: 47px; padding: 12px 13px; color: var(--ink); background: var(--paper); border: 1px solid rgba(23,63,57,.22); border-radius: 2px; font: 400 13px/1.4 "Manrope", sans-serif; }
.appointment-form input[type="date"], .crm-editor input[type="date"] { display: block; min-width: 0; max-width: 100%; appearance: none; -webkit-appearance: none; }
.appointment-form textarea { min-height: 86px; resize: vertical; }
.appointment-form input:focus, .appointment-form select:focus, .appointment-form textarea:focus, .crm-login-card input:focus { border-color: var(--forest); outline: 2px solid rgba(23,63,57,.12); outline-offset: 0; }
.appointment-form .honeypot { width: 1px; height: 1px; position: absolute; left: -10000px; overflow: hidden; }
.appointment-form .consent-check { margin: 3px 0 19px; display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; color: #596662; font-size: 9px; font-weight: 400; line-height: 1.5; letter-spacing: 0; }
.consent-check input { width: 17px; min-height: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--forest); }
.form-submit { width: 100%; justify-content: space-between; }
.form-submit:disabled { opacity: .68; cursor: wait; transform: none; }
.form-privacy { margin: 13px 0 0; color: #84908c; font-size: 8px; line-height: 1.5; text-align: center; }
.form-error, .login-error { padding: 10px 12px; color: #8b3428; background: #fae8e3; border-left: 3px solid #b74e3c; font-size: 10px; line-height: 1.5; }
.form-success { min-height: 430px; padding: 48px 36px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid rgba(23,63,57,.25); background: rgba(255,253,248,.75); }
.form-success > span { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; color: white; background: var(--forest); border-radius: 50%; font-size: 22px; }
.form-success h3 { margin-bottom: 13px; font: 600 32px/1.15 "Playfair Display", serif; }
.form-success p { color: #62706b; font-size: 13px; line-height: 1.7; }
.form-success button { padding: 0 0 5px; color: var(--forest); background: transparent; border: 0; border-bottom: 1px solid currentColor; font: 600 10px/1.3 "DM Sans", sans-serif; cursor: pointer; }

/* Private CRM */
.crm-login-page, .crm-page { min-height: 100vh; background: var(--cream); }
.crm-login-page { padding: 28px; display: grid; place-items: center; }
.crm-login-card { width: min(100%, 430px); padding: 44px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 25px 80px rgba(23,43,41,.12); }
.crm-login-card .brand-mark { margin-bottom: 35px; }
.crm-login-card .section-kicker { margin-bottom: 12px; }
.crm-login-card h1 { margin-bottom: 12px; font-size: 50px; }
.crm-login-card > p:not(.section-kicker):not(.login-error) { margin-bottom: 28px; color: #67736f; font-size: 12px; line-height: 1.6; }
.crm-login-card .button { width: 100%; margin-top: 6px; }
.crm-login-card > small { display: block; margin-top: 20px; color: #8b9591; font-size: 8px; line-height: 1.5; text-align: center; }
.crm-page { padding: 54px clamp(22px, 6vw, 90px); }
.crm-header { padding-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.crm-header .section-kicker { margin-bottom: 10px; }
.crm-header h1 { margin: 0; font-size: clamp(42px, 5vw, 68px); }
.crm-header > div > p:last-child { margin: 10px 0 0; color: #74807c; font-size: 11px; }
.crm-header button { padding: 9px 0; color: var(--forest); background: transparent; border: 0; border-bottom: 1px solid currentColor; font: 600 10px/1 "DM Sans", sans-serif; cursor: pointer; }
.crm-flash { margin: 20px 0 0; padding: 12px 15px; color: #184b3f; background: #dfece6; border-left: 3px solid #2d7764; font-size: 10px; }
.crm-flash.error { color: #8b3428; background: #fae8e3; border-color: #b74e3c; }
.crm-list { padding: 28px 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
.crm-record { padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); gap: 28px; background: var(--paper); border: 1px solid var(--line); }
.crm-record-main, .crm-record-manage { min-width: 0; }
.crm-record-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.crm-status { padding: 6px 8px; color: #fff; background: var(--forest); border-radius: 20px; font: 600 7px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .09em; }
.crm-status.status-contacted { color: #4b3b10; background: #ead99c; }
.crm-status.status-booked { background: #39715d; }
.crm-status.status-closed { color: #53605c; background: #dbe1de; }
.crm-record time { color: #8a9490; font-size: 8px; }
.crm-record h2 { margin: 24px 0 6px; font: 600 27px/1.1 "Playfair Display", serif; }
.crm-concern { margin-bottom: 22px; color: var(--terracotta); font: 600 10px/1.4 "DM Sans", sans-serif; }
.crm-record dl { margin: 0; }
.crm-record dl div { padding: 10px 0; display: grid; grid-template-columns: 105px 1fr; border-top: 1px solid rgba(23,63,57,.1); }
.crm-record dt { color: #89938f; font: 500 8px/1.4 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.crm-record dd { margin: 0; overflow-wrap: anywhere; font: 600 10px/1.4 "DM Sans", sans-serif; }
.crm-record dd a { border-bottom: 1px solid rgba(23,63,57,.3); }
.crm-note { margin-top: 14px; padding: 14px; background: #f5f0e7; }
.crm-note small { color: #87918d; font: 600 7px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.crm-note p { margin: 8px 0 0; color: #4f5d59; font-size: 10px; line-height: 1.6; white-space: pre-wrap; }
.crm-actions { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.crm-actions a { min-height: 38px; display: grid; place-items: center; color: var(--forest); border: 1px solid var(--forest); font: 600 9px/1 "DM Sans", sans-serif; }
.crm-actions a:last-child { color: #fff; background: var(--forest); }
.crm-record-manage { padding-left: 25px; border-left: 1px solid var(--line); }
.crm-record-manage label { display: flex; flex-direction: column; gap: 7px; color: #66726e; font: 600 8px/1.3 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.crm-record-manage input, .crm-record-manage select, .crm-record-manage textarea { width: 100%; min-width: 0; min-height: 40px; padding: 9px 10px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); font: 400 12px/1.4 "Manrope", sans-serif; text-transform: none; letter-spacing: 0; }
.crm-status-control > label { margin-bottom: 7px; }
.crm-select-wrap { position: relative; }
.crm-select-wrap::after { content: "⌄"; position: absolute; top: 50%; right: 13px; color: var(--forest); font: 700 18px/1 sans-serif; transform: translateY(-58%); pointer-events: none; }
.crm-status-control select { min-height: 46px; padding: 10px 42px 10px 12px; appearance: none; -webkit-appearance: none; border-color: rgba(23,63,57,.3); border-radius: 4px; cursor: pointer; touch-action: manipulation; }
.crm-status-control select:focus { border-color: var(--forest); outline: 3px solid rgba(23,63,57,.12); }
.crm-status-control select:disabled { cursor: progress; opacity: .7; }
.crm-save-state { min-height: 16px; margin: 6px 0 0; color: #78847f; font-size: 8px; line-height: 1.4; }
.crm-save-state.error { color: #9f4436; }
.crm-record-manage textarea { resize: vertical; }
.crm-editor button, .crm-delete button { width: 100%; min-height: 39px; margin-top: 9px; color: #fff; background: var(--forest); border: 1px solid var(--forest); font: 600 9px/1 "DM Sans", sans-serif; cursor: pointer; }
.crm-editor, .crm-delete { margin-top: 15px; border-top: 1px solid var(--line); }
.crm-editor summary, .crm-delete summary { padding: 14px 0; color: var(--forest); font: 600 9px/1.3 "DM Sans", sans-serif; cursor: pointer; }
.crm-editor form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.crm-editor form label { margin: 0; }
.crm-editor form label:nth-last-of-type(1), .crm-editor form button { grid-column: 1/-1; }
.crm-delete summary { color: #9f4436; }
.crm-delete p { margin: 0 0 10px; color: #7d6762; font-size: 9px; line-height: 1.5; }
.crm-delete label { display: grid; grid-template-columns: 17px 1fr; align-items: center; gap: 8px; color: #7d6762; text-transform: none; letter-spacing: 0; }
.crm-delete label input { width: 17px; min-height: 17px; height: 17px; padding: 0; accent-color: #a84535; }
.crm-delete button { color: #fff; background: #a84535; border-color: #a84535; }
.crm-empty { min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.crm-empty > span { width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--forest); border-radius: 50%; }
.crm-empty h2 { margin: 20px 0 8px; font: 600 33px/1 "Playfair Display", serif; }
.crm-empty p, .crm-disclaimer { color: #7b8682; font-size: 9px; }
.crm-disclaimer { padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }

.footer { padding: 64px clamp(28px, 7vw, 108px) 34px; display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 50px; color: #e5ebe8; background: #0b2825; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand small { color: #829995; }
.footer > div > small { color: #839894; font: 600 8px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .14em; }
.footer > div > p { margin: 11px 0 0; color: #c1cfcb; font-size: 11px; line-height: 1.8; }
.copyright { grid-column: 1/-1; margin: 35px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #718985; font-size: 8px; line-height: 1.5; }
.mobile-actions { display: none; }

/* Scoped clinic assistant */
.clinic-assistant { position: fixed; z-index: 95; right: 22px; bottom: 22px; font-family: "Manrope", sans-serif; }
.chat-launcher { min-height: 52px; padding: 8px 17px 8px 8px; display: flex; align-items: center; gap: 10px; color: #fff; background: var(--forest); border: 1px solid rgba(255,255,255,.2); border-radius: 28px; box-shadow: 0 15px 45px rgba(13,47,43,.3); cursor: pointer; }
.chat-launcher span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--forest); background: var(--paper); border-radius: 50%; font: 600 12px/1 "Playfair Display", serif; }
.chat-launcher strong { font: 600 11px/1 "DM Sans", sans-serif; letter-spacing: .02em; }
.chat-panel { width: min(390px, calc(100vw - 28px)); height: min(620px, calc(100svh - 104px)); margin-bottom: 12px; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid rgba(23,63,57,.22); box-shadow: 0 24px 80px rgba(13,47,43,.28); }
.chat-panel > header { min-height: 72px; padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--forest-deep); }
.chat-header { flex: 0 0 auto; }
.chat-body { min-height: 0; display: flex; flex: 1; flex-direction: column; overflow: hidden; }
.chat-panel > header > div { display: grid; grid-template-columns: 9px 1fr; gap: 3px 9px; align-items: center; }
.chat-panel > header strong { font: 600 13px/1.2 "DM Sans", sans-serif; }
.chat-panel > header small { grid-column: 2; color: #abc0ba; font-size: 8px; letter-spacing: .04em; }
.chat-panel > header button { width: 34px; height: 34px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; font-size: 20px; cursor: pointer; }
.chat-status { width: 8px; height: 8px; grid-row: 1/3; background: #79bd8f; border-radius: 50%; box-shadow: 0 0 0 4px rgba(121,189,143,.12); }
.chat-log { min-height: 0; padding: 18px 14px 8px; display: flex; flex: 1; flex-direction: column; gap: 10px; overflow-y: auto; background: #f5f0e8; }
.chat-message { max-width: 85%; padding: 11px 13px; border-radius: 12px; font-size: 11px; line-height: 1.55; }
.chat-message > p { margin: 0; white-space: pre-wrap; }
.chat-message.assistant { align-self: flex-start; color: #4d5d58; background: #fff; border: 1px solid rgba(23,63,57,.12); border-bottom-left-radius: 3px; }
.chat-message.user { align-self: flex-end; color: #fff; background: var(--forest); border-bottom-right-radius: 3px; }
.chat-message-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.chat-message-actions a, .chat-message-actions button { min-height: 34px; padding: 8px 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--forest); border: 1px solid var(--forest); border-radius: 18px; font: 600 8px/1 "DM Sans", sans-serif; cursor: pointer; }
.chat-message-actions a:last-child:not(:first-child), .chat-message-actions button:last-child:not(:first-child) { color: var(--forest); background: #fff; }
.chat-thinking { color: #7e8b87 !important; font-style: italic; }
.chat-suggestions { padding: 9px 12px; display: flex; gap: 6px; overflow-x: auto; background: #f5f0e8; }
.chat-suggestions button { flex: 0 0 auto; padding: 7px 9px; color: var(--forest); background: var(--paper); border: 1px solid rgba(23,63,57,.22); border-radius: 20px; font: 600 8px/1 "DM Sans", sans-serif; cursor: pointer; }
.chat-input { padding: 11px 12px 6px; display: grid; grid-template-columns: 1fr 42px; gap: 8px; background: var(--paper); }
.chat-input input { min-width: 0; min-height: 44px; padding: 10px 12px; color: var(--ink); background: #faf7f1; border: 1px solid rgba(23,63,57,.2); border-radius: 4px; font: 400 12px/1.4 "Manrope", sans-serif; }
.chat-input button { color: #fff; background: var(--forest); border: 0; border-radius: 4px; font-size: 18px; cursor: pointer; }
.chat-input button:disabled { opacity: .5; cursor: default; }
.chat-disclaimer { padding: 0 13px 10px; color: #89948f; background: var(--paper); font-size: 7px; line-height: 1.4; text-align: center; }
.chat-enquiry { min-height: 0; padding: 18px; flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; animation: chat-form-in .18s ease-out; }
@keyframes chat-form-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .chat-enquiry { animation: none; } }
.chat-back { padding: 0; color: var(--forest); background: transparent; border: 0; font: 600 9px/1 "DM Sans", sans-serif; cursor: pointer; }
.chat-enquiry h3, .chat-booked h3 { margin: 17px 0 7px; color: var(--forest); font: 600 27px/1.1 "Playfair Display", serif; }
.chat-enquiry > p { margin-bottom: 18px; color: #77827e; font-size: 9px; line-height: 1.5; }
.chat-enquiry > label { margin-bottom: 11px; display: flex; flex-direction: column; gap: 5px; color: var(--ink); font: 600 8px/1.3 "DM Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.chat-enquiry input, .chat-enquiry select { width: 100%; min-height: 43px; padding: 9px 10px; color: var(--ink); background: #fff; border: 1px solid rgba(23,63,57,.22); border-radius: 2px; font: 400 12px/1.3 "Manrope", sans-serif; text-transform: none; }
.chat-enquiry .chat-consent { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 8px; color: #66736f; font-size: 8px; font-weight: 400; line-height: 1.45; text-transform: none; letter-spacing: 0; }
.chat-enquiry .chat-consent input { width: 17px; min-height: 17px; height: 17px; padding: 0; accent-color: var(--forest); }
.chat-enquiry-submit { width: 100%; min-height: 46px; color: #fff; background: var(--forest); border: 0; font: 600 10px/1 "DM Sans", sans-serif; cursor: pointer; }
.chat-booked { padding: 50px 28px; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.chat-booked > span { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: var(--forest); border-radius: 50%; }
.chat-booked p { color: #687570; font-size: 11px; }
.chat-booked button { padding: 0 0 4px; color: var(--forest); background: transparent; border: 0; border-bottom: 1px solid currentColor; font: 600 9px/1.3 "DM Sans", sans-serif; cursor: pointer; }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; }
  .clinic-location { display: none; }
  .hero { grid-template-columns: 1fr .78fr; padding-inline: 6vw; }
  .service-grid, .results-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .doctor { gap: 7vw; padding-inline: 7vw; }
  .crm-record { grid-template-columns: minmax(0, 1fr) minmax(230px, 290px); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  body { padding-bottom: 64px; }
  body:has(.crm-login-page), body:has(.crm-page) { padding-bottom: 0; }
  .site-header { height: 68px; padding: 0 18px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 7px; }
  .brand-mark { width: 36px; height: 36px; font-size: 12px; }
  .site-header .button { display: none; }
  .hero { padding: 24px 18px 50px; min-height: auto; grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: none; }
  h1 { font-size: clamp(45px, 13vw, 62px); line-height: 1; }
  .hero-lede { font-size: 16px; line-height: 1.65; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 22px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .trust-row { margin-top: 43px; }
  .trust-row div { padding-right: 8px; }
  .trust-row div + div { padding-left: 11px; }
  .trust-row strong { font-size: 21px; }
  .trust-row span { font-size: 7px; }
  .hero-visual { min-height: 345px; order: 1; }
  .hero-copy { order: 2; }
  .portrait-frame { width: 100%; height: 345px; aspect-ratio: auto; border-radius: 160px 160px 4px 4px; }
  .portrait-frame img { object-position: 50% 40%; }
  .orbit-one { width: 390px; height: 285px; }
  .orbit-two { width: 300px; height: 385px; }
  .verified-card { right: 0; bottom: 10px; min-width: 225px; padding: 12px 14px; }
  .eyebrow { margin-bottom: 16px; }
  .intro { padding: 78px 22px; grid-template-columns: 1fr; gap: 23px; }
  .intro .section-kicker { grid-column: auto; }
  .intro h2 { font-size: 48px; }
  .intro > p:last-child { font-size: 16px; }
  .expertise, .results { padding: 78px 22px 56px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 40px; }
  .section-heading h2, .doctor h2, .stories h2, .appointment h2 { font-size: 48px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .service-card:last-child { border-bottom: 0; }
  .service-image { aspect-ratio: 16/10; }
  .service-content { min-height: 255px; padding: 24px 22px 26px; }
  .doctor { padding: 78px 22px; grid-template-columns: 1fr; }
  .doctor-image-wrap { width: 90%; margin: 0 auto; }
  .image-caption { width: 88%; right: -6%; }
  .results { overflow: visible; }
  .results-grid { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 18px; overflow: visible; }
  .results-grid figure { width: 100%; max-width: none; }
  .results-grid figcaption { padding: 13px 14px; flex-direction: row; gap: 10px; }
  .result-labels { height: 30px; }
  .results-note { text-align: left; line-height: 1.5; }
  .stories { padding: 78px 0 78px 22px; grid-template-columns: 1fr; gap: 42px; }
  .stories-title { position: static; }
  .testimonial-controls { padding-right: 16px; }
  .testimonial-viewport { margin-left: -22px; padding: 8px 16px 20px 22px; mask-image: none; }
  .testimonial-card { width: min(82vw, 340px); min-height: 365px; padding: 27px 24px; }
  .testimonial-card footer { flex-direction: column; gap: 7px; }
  .appointment { padding: 78px 18px; grid-template-columns: 1fr; gap: 38px; }
  .appointment-form { padding: 23px 17px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .appointment-form input, .appointment-form select, .appointment-form textarea { min-height: 50px; font-size: 16px; }
  .appointment-form input[type="date"] { width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
  .appointment-form .consent-check input { width: 18px; min-width: 18px; min-height: 18px; height: 18px; padding: 0; }
  .form-success { min-height: 390px; padding: 38px 24px; }
  .footer { padding: 50px 22px 28px; grid-template-columns: 1fr; gap: 34px; }
  .copyright { margin-top: 5px; }
  .mobile-actions { height: 64px; padding: 8px; position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 7px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 25px rgba(23,43,41,.1); }
  .mobile-actions a { display: grid; place-items: center; border: 1px solid var(--forest); font: 600 11px/1 "DM Sans", sans-serif; }
  .mobile-actions a:last-child { color: #fff; background: var(--forest); }
  .clinic-assistant { right: 10px; bottom: 74px; }
  body.chat-open { height: 100%; overflow: hidden; overscroll-behavior: none; }
  body.chat-open .mobile-actions { visibility: hidden; pointer-events: none; }
  .clinic-assistant.is-open { inset: 0; width: 100%; height: 100dvh; background: var(--paper); }
  .clinic-assistant.is-open .chat-launcher { display: none; }
  .chat-panel { height: min(600px, calc(100svh - 150px)); margin-bottom: 8px; }
  .clinic-assistant.is-open .chat-panel { width: 100%; height: 100dvh; min-height: 100dvh; margin: 0; border: 0; box-shadow: none; }
  .clinic-assistant.is-open .chat-header { min-height: 66px; padding-top: max(13px, env(safe-area-inset-top)); }
  .clinic-assistant.is-open .chat-body { min-height: 0; }
  .clinic-assistant.is-open .chat-log { padding-top: 14px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .clinic-assistant.is-open .chat-suggestions { flex: 0 0 auto; padding-block: 8px; }
  .clinic-assistant.is-open .chat-input { flex: 0 0 auto; padding-bottom: 7px; }
  .clinic-assistant.is-open .chat-input input, .clinic-assistant.is-open .chat-enquiry input, .clinic-assistant.is-open .chat-enquiry select { font-size: 16px; }
  .clinic-assistant.is-open .chat-disclaimer { flex: 0 0 auto; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .clinic-assistant.is-open .chat-enquiry { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .chat-launcher { min-height: 46px; }
  .crm-login-page { min-height: 100svh; padding: 18px; align-content: center; }
  .crm-login-card { width: 100%; max-width: 390px; padding: 28px 20px; box-shadow: 0 16px 45px rgba(23,43,41,.1); }
  .crm-login-card .brand-mark { margin-bottom: 24px; }
  .crm-login-card h1 { font-size: 40px; line-height: 1; }
  .crm-login-card input { min-height: 50px; font-size: 16px; }
  .crm-page { padding: 35px 16px; }
  .crm-header { align-items: flex-start; }
  .crm-header h1 { font-size: 42px; }
  .crm-list { grid-template-columns: 1fr; }
  .crm-record { padding: 21px 18px; grid-template-columns: 1fr; gap: 22px; }
  .crm-record-manage { padding: 21px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .crm-editor form { grid-template-columns: 1fr; }
  .crm-editor form label:nth-last-of-type(1), .crm-editor form button { grid-column: auto; }
  .crm-record-manage input, .crm-record-manage select, .crm-record-manage textarea { min-height: 46px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
