@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');
:root{--accent:#496180;--ink:#172D49;--cream:#F8F1EB;--paper:#fff;--muted:#627080;--width:1300px;--header:100px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header) + 20px)}body{margin:0;color:var(--ink);background:var(--paper);font:400 16px/1.8 'Noto Sans Thai',Tahoma,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:6px}img{max-width:100%;display:block}.container{width:calc(100% - 80px);max-width:var(--width);margin-inline:auto}.header{position:sticky;top:0;z-index:20;background:#fffffffa;border-bottom:1px solid #172d4910}.header-inner{min-height:var(--header);display:flex;align-items:center;justify-content:space-between;gap:40px}.brand{display:block;width:245px;flex-shrink:0}.brand img{width:100%;height:auto}nav{display:flex;gap:27px;align-items:center}nav a{font-size:14px;padding:12px 0;position:relative;white-space:nowrap}nav a:hover,nav a[aria-current]{color:var(--accent)}nav a[aria-current]:after{content:'';height:2px;background:var(--accent);position:absolute;bottom:4px;left:0;right:0}.menu-toggle{display:none}.hero{background:linear-gradient(110deg,var(--cream),#f9fbfc);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:stretch;min-height:550px}.hero-copy{position:relative;z-index:2;padding:65px 0 55px}.eyebrow{font-size:14px;font-weight:500;letter-spacing:.09em;color:var(--accent);margin:0 0 13px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,3.3vw,48px);line-height:1.45;font-weight:500;letter-spacing:-.025em;margin-bottom:22px}h2{font-size:clamp(26px,2.7vw,36px);font-weight:500;line-height:1.5;margin-bottom:15px;letter-spacing:-.02em}h3{font-size:18px;line-height:1.6;font-weight:500;margin-bottom:7px}.intro{font-size:19px;line-height:1.9;color:var(--accent)}.hero-values{display:flex;gap:20px;margin-top:32px;font-size:14px}.hero-values span{border-left:2px solid #49618070;padding-left:12px}.photo{position:relative;overflow:hidden;aspect-ratio:var(--ratio);background:var(--cream);isolation:isolate}.photo img{position:absolute;max-width:none;width:var(--iw);height:auto;left:var(--left);top:var(--top)}.hero-photo{align-self:center;aspect-ratio:431/380;margin-right:-70px;min-height:470px}.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f9f6f1,transparent 24%)}.hero-photo img{top:-17.14286%}.section{padding:56px 0}.section-heading{margin-bottom:26px}.section-heading h2{margin-bottom:0}.service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}.service-card{overflow:hidden;border-radius:9px;background:white;box-shadow:0 5px 22px #172d4909;border:1px solid #172d4908}.card-copy{padding:20px 18px}.card-copy p{font-size:14px;color:var(--muted);margin:0}.service-card .photo{aspect-ratio:140/100}.service-card .photo img{top:-43700/100*1%;top:-437%}.about{background:var(--cream)}.about-grid{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:50px}.about-copy{padding:55px 0}.about-copy>p:not(.eyebrow){color:var(--muted)}.about-photo{height:100%;min-height:400px;aspect-ratio:auto}.about-signature{border-top:1px solid #49618040;margin-top:26px;padding-top:22px;font-family:Georgia,serif;font-size:23px;color:var(--accent)}.about-signature span{display:block;font:14px/1.8 'Noto Sans Thai',Tahoma,sans-serif;margin-top:7px}.three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.doctor-card{border:1px solid #172d4910;border-radius:9px;overflow:hidden}.doctor-card .photo{aspect-ratio:244/150}.doctor-card .photo img{top:-636.66667%}.pending{font-size:14px;color:var(--muted)}.clinic{background:#f6f8fa;padding-top:40px;padding-bottom:40px}.gallery .photo{border-radius:8px}.review-placeholder{background:var(--cream);border-radius:9px;padding:28px 35px;position:relative;padding-left:90px}.review-placeholder p{margin-bottom:4px}.quote{position:absolute;left:28px;top:12px;font:70px Georgia,serif;color:var(--accent)}.contact{background:var(--ink);color:white;padding:60px 0}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.contact .eyebrow{color:#d8c9ba}.contact h2{font-size:32px}.contact-note{color:#d0d8e3;margin-bottom:0}.map-placeholder{min-height:230px;background:#ffffff08;border:1px solid #ffffff30;border-radius:8px;padding:32px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.map-placeholder>span{font-size:38px;color:#d8c9ba}.map-placeholder p{font-size:14px;color:#c5cfdc;margin-bottom:0}footer{padding:32px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-inner .brand{width:200px}.footer-inner p,.footer-inner>a:last-child{font-size:12px;color:var(--muted);margin:0}.preview-note{padding:10px 25px;text-align:center;background:var(--cream);font-size:12px;color:var(--accent)}.skip{position:fixed;left:20px;top:-100px;z-index:99;background:white;padding:12px}.skip:focus{top:10px}.mobile-break{display:none}
@media(min-width:1500px){.hero-photo{margin-right:0}}
@media(max-width:1100px){:root{--header:86px}.brand{width:205px}nav{gap:16px}.header-inner{gap:20px}nav a{font-size:13px}.hero-grid{min-height:480px}.hero-copy{padding:50px 0}.hero-values{gap:12px;flex-wrap:wrap}.service-grid{gap:14px}.card-copy{padding:16px 13px}.service-card h3{font-size:16px}.about-grid{gap:30px}.hero-photo{min-height:400px}}
@media(max-width:800px){:root{--header:80px}.container{width:calc(100% - 50px)}.brand{width:200px}.menu-toggle{display:flex;gap:12px;align-items:center;background:none;border:1px solid #49618040;border-radius:5px;color:var(--ink);padding:7px 11px;font-size:14px;min-height:44px}nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;box-shadow:0 15px 20px #172d4910;padding:15px 25px 23px;flex-direction:column;align-items:stretch;gap:0}nav.is-open{display:flex}nav a{font-size:16px;padding:12px}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:43px 0 28px}h1{font-size:36px;line-height:1.5}.intro{font-size:17px}.hero-values{margin-top:25px;font-size:13px;gap:13px}.hero-photo{margin:0 0 28px;min-height:0;width:100%;aspect-ratio:431/280;border-radius:8px}.hero-photo img{top:-19.28571%}.hero-photo:after{background:linear-gradient(0deg,#f9f6f110,transparent)}.section{padding:38px 0}.section-heading{margin-bottom:22px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.service-card .photo{aspect-ratio:140/90}.service-card .photo img{top:-485.55556%}.service-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.service-card:last-child .photo{aspect-ratio:140/100}.service-card:last-child .photo img{top:-437%}.about-grid{grid-template-columns:1fr;gap:0}.about-copy{padding:38px 0 25px}.about-photo{min-height:0;aspect-ratio:499/275;height:auto;margin-bottom:30px;border-radius:8px}.three-grid{gap:16px}.doctor-card h3{font-size:16px}.doctor-card .card-copy{padding:15px}.doctor-card .photo{aspect-ratio:244/180}.doctor-card .photo img{top:-530.55556%}.contact-grid{grid-template-columns:1fr;gap:26px}.contact{padding:38px 0}.contact h2{font-size:28px}.footer-inner{flex-direction:column;gap:22px}.gallery{grid-template-columns:1fr 1fr}.gallery .photo:first-child{grid-column:1/-1}}
@media(max-width:540px){h1{font-size:32px}.mobile-break{display:block}.eyebrow{font-size:13px;letter-spacing:.04em}.hero-values{display:grid;grid-template-columns:1fr 1fr;gap:12px}.three-grid:not(.gallery){grid-template-columns:1fr}.doctor-card{display:grid;grid-template-columns:42% 58%}.doctor-card .photo{aspect-ratio:244/220;align-self:stretch}.doctor-card .photo img{top:-434.09091%}.doctor-card .card-copy{align-self:center}.review-placeholder{padding:26px 20px 26px 60px}.quote{left:17px;font-size:55px}.header-inner{gap:10px}.brand{width:185px}.menu-toggle{padding:7px 9px}.card-copy h3{font-size:16px}.service-card:last-child .card-copy{align-self:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Keep reference-photo windows at their source proportions until originals arrive. */
.photo{aspect-ratio:var(--ratio)!important;min-height:0!important;height:auto!important;align-self:center}.photo img{top:var(--top)!important}.hero-photo{margin-right:0;width:100%}.about-photo{width:100%}.service-card .photo,.doctor-card .photo{align-self:start}
/* Navigation revision: smaller logo and stronger menu typography. */
.header .brand{width:171.5px}
.header nav a{font-size:16px;font-weight:700}
.menu-toggle{font-weight:700}
@media(max-width:1100px){.header .brand{width:143.5px}.header nav a{font-size:15px}}
@media(max-width:800px){.header .brand{width:140px}.header nav a{font-size:18px}.menu-toggle{font-size:16px}}
@media(max-width:540px){.header .brand{width:129.5px}}
/* Hero: full-height photography fading into the content surface. */
.hero{position:relative;background:var(--cream)}
.hero-grid{display:flex;align-items:center;min-height:550px}
.hero-copy{width:58%;padding:70px 0;position:relative;z-index:2}
.hero h1{font-weight:700}
.hero .intro{font-size:15px;font-weight:300;margin-bottom:0}
.hero-image{position:absolute;inset:0 0 0 auto;width:60%;overflow:hidden}
.hero-image img{width:100%;height:100%;object-fit:cover;object-position:56% center;opacity:.85}
.hero-image:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--cream) 0%,rgba(248,241,235,.82) 12%,rgba(248,241,235,.25) 35%,transparent 60%)}
@media(max-width:1100px){.hero-grid{min-height:480px}.hero-copy{padding:60px 0}}
@media(max-width:800px){.hero-grid{min-height:590px;align-items:flex-start}.hero-copy{width:100%;padding:42px 0 280px}.hero .intro{font-size:13px}.hero-image{width:100%;height:100%;inset:0}.hero-image img{object-position:60% bottom;opacity:.7}.hero-image:after{background:linear-gradient(180deg,var(--cream) 0%,rgba(248,241,235,.96) 35%,rgba(248,241,235,.45) 60%,transparent 82%)}}

/* Hero copy spacing revision. */
.hero-copy > .eyebrow{margin-bottom:3px}
@media(min-width:1101px){.hero .intro{white-space:normal}}
/* Bring hero supporting text closer to the heading. */
.hero h1{margin-bottom:14px}

/* Hero benefits with compact outline icons. */
.hero-benefits{list-style:none;padding:0;margin:25px 0 0;display:flex;align-items:center;gap:24px;color:var(--accent)}
.hero-benefits li{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.6}
.hero-benefits svg{width:26px;height:26px;flex-shrink:0}
@media(max-width:1100px){.hero-benefits{gap:16px}.hero-benefits li{font-size:13px;gap:7px}.hero-benefits svg{width:23px;height:23px}}
@media(max-width:800px){.hero-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}.hero-benefits li{align-items:flex-start;font-size:12px;gap:5px}.hero-benefits svg{width:20px;height:20px}}

/* Contact actions; destinations pending confirmation. */
.hero-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:28px}
.cta{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:50px;padding:11px 25px;border:0;border-radius:28px;font:500 16px/1.5 'Noto Sans Thai',Tahoma,sans-serif;color:#fff;text-decoration:none}
.cta svg{width:23px;height:23px;flex-shrink:0}.cta-phone{background:var(--accent)}.cta-line{background:#06C755}.cta-line svg{width:30px;height:30px}.cta:disabled{opacity:1;cursor:not-allowed}.cta:not(:disabled):hover{filter:brightness(.94)}
@media(max-width:540px){.hero-actions{gap:10px}.cta{padding:10px 16px;font-size:14px;min-height:48px;gap:7px}}

.hero-benefits .benefit-icon{width:30px;height:30px;object-fit:contain;flex-shrink:0}
@media(max-width:1100px){.hero-benefits .benefit-icon{width:26px;height:26px}}
@media(max-width:800px){.hero-benefits .benefit-icon{width:23px;height:23px}}

/* Render supplied vector paths directly, inheriting the label color. */
.hero-benefits svg.benefit-icon{width:36px;height:36px;color:inherit;fill:currentColor}
.hero-benefits li{align-items:center}
@media(max-width:800px){.hero-benefits svg.benefit-icon{width:28px;height:28px}}

.service-card .service-image{display:block;width:100%;height:auto;aspect-ratio:140/90;object-fit:cover;object-position:center}
.service-card:nth-child(2) .service-image{object-position:65% center}
.service-card:nth-child(4) .service-image{object-position:65% center}
/* Compact service card text spacing. */
.service-card .card-copy{padding:20px 10px}
.service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}


/* About typography follows the hero, with three reference metrics. */
.about-copy > .eyebrow{margin-bottom:3px}
.about-copy h2{font-size:clamp(32px,3.3vw,48px);font-weight:700;line-height:1.45;letter-spacing:-.025em;margin-bottom:14px}
.about-copy > p:not(.eyebrow){font-size:15px;font-weight:300;line-height:1.9;color:var(--accent);margin-bottom:0}
.about-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:30px;max-width:460px}
.about-stats > div{display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 12px;gap:2px}
.about-stats > div+div{border-left:1px solid #49618050}
.about-stats strong{font-size:25px;font-weight:500;line-height:1.4}
.about-stats span{font-size:13px;color:var(--accent);line-height:1.6}
@media(max-width:800px){.about-copy h2{font-size:36px;line-height:1.5}.about-copy > p:not(.eyebrow){font-size:13px}.about-stats{margin-top:25px}}
@media(max-width:540px){.about-copy h2{font-size:32px}.about-stats strong{font-size:22px}.about-stats > div{padding:0 7px}.about-stats span{font-size:12px}}

@media(min-width:1101px){.about-intro-line{white-space:nowrap}}
/* More breathing room and individual statistic surfaces. */
.about-copy{padding-block:110px}
.about-stats{gap:12px;max-width:500px}
.about-stats > div{padding:18px 10px;background:rgba(255,255,255,.8);border:1px solid #49618026;border-radius:10px}
.about-stats > div+div{border-left:1px solid #49618026}
@media(max-width:800px){.about-copy{padding-top:76px;padding-bottom:50px}}
@media(max-width:540px){.about-stats{gap:8px}.about-stats > div{padding:16px 7px}}
/* Warm yellow statistic cards without borders. */
.about-stats > div,.about-stats > div+div{border:0;background:#F1E6D5}

/* Full-height right half of the about section. */
.about{position:relative;overflow:hidden}
.about-grid{display:block}
.about-copy{width:50%;padding-right:35px}
.about-media{position:absolute;top:0;bottom:0;right:0;width:50%;overflow:hidden}
.about-media svg{display:block;width:100%;height:100%}
.about-intro-line{white-space:normal}
@media(max-width:800px){.about-copy{width:100%;padding-right:0}.about-media{position:relative;inset:auto;width:calc(100% + 50px);margin-left:-25px;aspect-ratio:499/275}}

/* Consistent section rhythm. */
:root{--section-space:110px}
main > section{padding-block:var(--section-space)!important}
.hero-grid{min-height:0}.hero-copy{padding-block:0}
.about-copy{padding-top:0;padding-bottom:0}
.doctor-card{border:0;box-shadow:none;border-radius:0}
.doctor-card .photo{border-radius:8px}
.doctor-card .card-copy{padding:20px 0}
.doctor-card h3{font-size:24px;font-weight:700}
.doctor-card .doctor-specialty{font-size:16px}
.doctor-link{margin-top:16px;padding:0;border:0;border-bottom:1px solid #49618050;background:none;color:var(--accent);font:500 14px/1.8 'Noto Sans Thai',Tahoma,sans-serif}
.doctor-link:disabled{opacity:1;cursor:not-allowed}
.gallery-controls{display:flex;justify-content:flex-end;gap:10px;margin:0 0 20px}
.gallery-controls button{width:44px;height:44px;border:1px solid #49618040;border-radius:50%;background:white;color:var(--ink);font-size:24px;cursor:pointer}
.gallery-controls button:disabled{opacity:.3;cursor:default}
.gallery{display:flex;gap:25px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}
.gallery::-webkit-scrollbar{display:none}
.gallery > *{flex:0 0 calc((100% - 50px)/3);scroll-snap-align:start;min-width:0}
.gallery-pending{aspect-ratio:247/111;border-radius:8px;background:var(--cream);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--accent)}
.gallery-pending small{font-size:13px}
@media(max-width:800px){.hero-copy{padding-bottom:280px}.about-media{margin-top:35px;margin-bottom:calc(-1 * var(--section-space))}.gallery{gap:15px}.gallery > *{flex-basis:calc((100% - 15px)/2)}.doctor-card h3{font-size:22px}}
@media(max-width:540px){.gallery > *{flex-basis:100%}.doctor-card .card-copy{padding:10px 0 10px 15px}.doctor-card .doctor-specialty{font-size:14px}}
@media(prefers-reduced-motion:reduce){.gallery{scroll-behavior:auto}}

/* Taller clinic gallery and accessible image dialog. */
.gallery-image{display:block;padding:0;border:0;border-radius:8px;overflow:hidden;background:var(--cream);aspect-ratio:4/3;cursor:zoom-in}
.gallery-image svg{display:block;width:100%;height:100%}
.gallery-pending{aspect-ratio:4/3}
.gallery-dialog{width:min(1100px,calc(100vw - 40px));max-width:none;max-height:90vh;padding:55px 20px 20px;border:0;border-radius:12px;background:var(--paper);overflow:auto}
.gallery-dialog::backdrop{background:rgba(10,22,37,.8)}
.dialog-close{position:absolute;top:7px;right:10px;width:44px;height:44px;border:0;border-radius:50%;background:var(--cream);color:var(--ink);font-size:32px;cursor:pointer;line-height:1}
.dialog-image svg{display:block;width:100%;height:auto;max-height:75vh;aspect-ratio:247/111}
body:has(.gallery-dialog[open]){overflow:hidden}

/* Add 100px to the original doctor photo height at its rendered width. */
.doctor-card{container-type:inline-size}
.doctor-photo{width:100%;height:calc(100cqw * 123 / 244 + 100px);overflow:hidden;border-radius:8px}
.doctor-photo svg{display:block;width:100%;height:100%}
@media(max-width:540px){.doctor-photo{height:calc(42cqw * 123 / 244 + 100px)}}
/* Strong section headings with closer eyebrow spacing. */
#services .section-heading h2,#doctors .section-heading h2,#clinic .section-heading h2,#reviews .section-heading h2{font-weight:700}
.section-heading > .eyebrow{margin-bottom:3px}

/* Gallery arrows sit at opposite image edges. */
.gallery-shell{position:relative}
.gallery-controls{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:space-between;margin:0;pointer-events:none}
.gallery-controls button{pointer-events:auto;flex-shrink:0;background:rgba(255,255,255,.96);box-shadow:0 2px 10px #172d4920}
/* Center each arrow button on the gallery's outer edge. */
.gallery-prev{transform:translateX(-50%)}
.gallery-next{transform:translateX(50%)}

/* Three simple text-and-name testimonial cards. */
.review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.review-card{background:var(--cream);border-radius:10px;padding:25px;display:flex;flex-direction:column;gap:22px}
.review-card p{font-size:16px;line-height:1.9;margin:0}
.review-name{display:block;margin-top:auto;color:var(--accent);font-size:14px;font-weight:500}
@media(max-width:800px){.review-grid{grid-template-columns:1fr}}

/* Centered circular review portraits, halfway over the top edge. */
.review-grid{padding-top:70px}
.review-card{position:relative;padding-top:95px;text-align:center;align-items:center}
.review-avatar{position:absolute;top:-70px;left:50%;transform:translateX(-50%);width:140px;height:140px;border-radius:50%;object-fit:cover;object-position:65% center;border:5px solid white}
.review-card:nth-child(2) .review-avatar{object-position:center}
.review-card:nth-child(3) .review-avatar{object-position:56% center}
@media(max-width:800px){.review-grid{row-gap:95px}}

/* Welcoming contact content with clearly labeled draft details. */
.contact-grid{grid-template-columns:1.2fr 1fr;gap:70px}
.contact h2{font-size:clamp(28px,3vw,40px);font-weight:700;margin-bottom:10px}
.contact-intro{font-size:20px;color:var(--cream);margin-bottom:12px}
.contact-description{font-size:15px;color:#d0d8e3;line-height:1.9;margin-bottom:28px}
.contact-list{list-style:none;padding:0;margin:0;display:grid;gap:18px}
.contact-list li{display:flex;align-items:center;gap:16px}
.contact-list svg{width:25px;height:25px;flex-shrink:0;color:#e6d6bf}
.contact-list li div{display:flex;flex-wrap:wrap;gap:5px 15px;align-items:baseline}
.contact-list li span{color:#c6d0de;min-width:115px;font-size:14px}
.contact-list strong{font-size:16px;font-weight:500;overflow-wrap:anywhere}
.contact-mock-note{margin:24px 0 0;font-size:12px;color:#b5c1d2}
.contact-location{background:#ffffff09;border:1px solid #ffffff24;border-radius:14px;padding:45px 35px}
.location-label{color:#dfcdb2;font-size:14px}
.contact-location h3{font-size:30px;font-weight:700;margin:8px 0 16px}
.contact-location p{color:#d0d8e3;font-size:16px;line-height:1.9}
.map-link{display:inline-flex;gap:10px;align-items:center;background:var(--cream);color:var(--ink);padding:13px 20px;border-radius:26px;margin-top:10px;font-weight:500}
.map-link svg{width:22px;height:22px}.map-link:hover{background:#F1E6D5}
@media(max-width:800px){.contact-grid{grid-template-columns:1fr;gap:35px}.contact-location{padding:30px 25px}.contact-intro{font-size:18px}}

.contact-map{display:block;width:100%;height:350px;border:0;border-radius:10px;margin-bottom:22px;background:var(--cream)}
.contact-location{padding:20px}
@media(max-width:540px){.contact-map{height:300px}}

/* Bare embedded map in the contact section. */
.contact-location{position:relative;padding:0;border:0;border-radius:0;background:none}
.contact-map{margin:0;border:0;border-radius:0;pointer-events:none}
.contact-map-link{position:absolute;inset:0;z-index:1;display:block}
.contact-map-link:focus-visible{outline:3px solid #fff;outline-offset:-6px}

/* Real dermatologist portraits and profile dialogs. */
.doctor-photo{height:560px;background:var(--cream)}
.doctor-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.doctor-card:nth-child(3) .doctor-photo img{object-position:center 18%}
.doctor-link{cursor:pointer}
.doctor-link:hover{color:var(--ink);border-bottom-color:var(--ink)}
.doctor-dialog{width:min(1080px,calc(100vw - 40px));max-width:none;max-height:90vh;padding:0;border:0;border-radius:14px;background:var(--paper);color:var(--ink);overflow:auto}
.doctor-dialog::backdrop{background:rgba(10,22,37,.82)}
.doctor-dialog-close{position:sticky;float:right;top:12px;right:12px;z-index:2;width:44px;height:44px;margin:12px 12px -56px 0;border:0;border-radius:50%;background:rgba(248,241,235,.96);color:var(--ink);font-size:30px;line-height:1;cursor:pointer;box-shadow:0 2px 12px #172d4925}
.doctor-dialog-grid{display:grid;grid-template-columns:minmax(310px,42%) 1fr;min-height:680px}
.doctor-dialog-grid>img{width:100%;height:100%;min-height:680px;object-fit:cover;object-position:center top}
.doctor-dialog-copy{padding:58px 55px 48px}
.doctor-dialog-copy h2{font-weight:700;margin-bottom:0}
.doctor-name-en{color:var(--accent);font-size:15px;margin-bottom:24px}
.doctor-license{margin:-14px 0 24px;color:var(--accent)!important;font-size:14px!important;font-weight:500}
.doctor-dialog-copy h3{font-size:18px;font-weight:700;margin:25px 0 8px}
.doctor-dialog-copy p,.doctor-dialog-copy li{font-size:15px;line-height:1.9;color:var(--muted)}
.doctor-dialog-copy ul{padding-left:20px;margin:0}
.doctor-languages{margin:24px 0 0;padding-top:18px;border-top:1px solid #172d4915;color:var(--accent)!important;font-weight:500}
body:has(.doctor-dialog[open]){overflow:hidden}
@media(max-width:800px){.doctor-photo{height:500px}.doctor-dialog-grid{grid-template-columns:1fr}.doctor-dialog-grid>img{height:430px;min-height:0}.doctor-dialog-copy{padding:36px 30px 40px}}
@media(max-width:540px){.doctor-card{display:block}.doctor-card .card-copy{padding:16px 0 28px}.doctor-photo{height:460px}.doctor-dialog{width:calc(100vw - 24px)}.doctor-dialog-grid>img{height:380px}.doctor-dialog-copy{padding:30px 22px 34px}.doctor-dialog-copy h2{font-size:27px}}
#doctors .three-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
#doctors .doctor-card:last-child{max-width:none}
@media(max-width:1000px){#doctors .three-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#doctors .three-grid{grid-template-columns:1fr}}

/* Centered stacked footer. */
.footer-inner{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:20px}
.footer-socials{display:flex!important;position:static!important;align-items:center!important;justify-content:center;flex-direction:row!important;flex-wrap:wrap;gap:12px;padding:0!important;background:none!important;box-shadow:none!important}
.footer-socials a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--cream);color:var(--accent);transition:background .2s,color .2s,transform .2s}
.footer-socials a:hover{background:var(--accent);color:#fff;transform:translateY(-2px)}
.footer-socials svg{display:block;width:23px;height:23px;fill:currentColor}

/* Appointment request form preview. */
.appointment{background:linear-gradient(120deg,var(--cream),#f3ece5)}
.appointment-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(560px,1.15fr);gap:80px;align-items:start}
.appointment-copy{padding-top:18px}
.appointment-copy h2{font-size:clamp(32px,3.4vw,46px);font-weight:700;line-height:1.45;margin-bottom:20px}
.appointment-copy>p:not(.eyebrow){max-width:480px;color:var(--muted);font-size:17px;line-height:1.9}
.appointment-notes{list-style:none;padding:0;margin:30px 0 0;display:grid;gap:12px;color:var(--accent)}
.appointment-notes li{position:relative;padding-left:31px}
.appointment-notes li::before{content:'';position:absolute;left:6px;top:9px;width:8px;height:8px;border-radius:50%;background:var(--accent)}
.appointment-form{background:var(--paper);padding:42px;border-radius:14px;box-shadow:0 16px 50px #172d4910;display:grid;gap:22px}
.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.appointment-form label{display:grid;gap:8px;color:var(--ink);font-size:14px;font-weight:600}
.appointment-form label>span[aria-hidden]{color:#a45555}
.appointment-form input,.appointment-form select,.appointment-form textarea{width:100%;min-height:50px;border:1px solid #172d4925;border-radius:7px;background:#fff;color:var(--ink);padding:11px 14px;font:400 15px/1.6 'Noto Sans Thai',Tahoma,sans-serif;transition:border-color .2s,box-shadow .2s}
.appointment-form textarea{min-height:112px;resize:vertical}
.appointment-form input::placeholder,.appointment-form textarea::placeholder{color:#7c8794}
.appointment-form input:focus,.appointment-form select:focus,.appointment-form textarea:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px #49618018}
.appointment-form .form-consent{display:flex;grid-template-columns:none;align-items:flex-start;gap:12px;font-size:13px;font-weight:400;line-height:1.7;color:var(--muted)}
.form-consent input{width:19px;height:19px;min-height:0;margin:3px 0 0;padding:0;accent-color:var(--accent);flex:0 0 auto}
.form-submit{justify-self:start;min-height:50px;border:0;border-radius:26px;background:var(--ink);color:#fff;padding:12px 25px;font-weight:600;cursor:pointer;transition:background .2s,transform .2s}
.form-submit:hover{background:var(--accent);transform:translateY(-1px)}
.form-submit:disabled{opacity:.65;cursor:wait;transform:none}
.form-status{margin:0;padding:13px 16px;border-radius:7px;background:#edf4ee;color:#315d3a;font-size:14px}
.form-preview-note{margin:-6px 0 0;color:var(--muted);font-size:12px}
@media(max-width:1000px){.appointment-grid{grid-template-columns:1fr;gap:42px}.appointment-copy>p:not(.eyebrow){max-width:680px}.appointment-form{max-width:760px}}
@media(max-width:600px){.appointment-copy{padding-top:0}.appointment-copy h2{font-size:30px}.appointment-form{padding:28px 20px}.form-row{grid-template-columns:1fr;gap:22px}.form-submit{width:100%}}

/* Responsive refinement for tablet and mobile. */
.appointment-notes{display:none}
@media(max-width:1000px){
  :root{--section-space:78px}
  .container{width:calc(100% - 64px)}
  body{font-size:16px;line-height:1.75}
  .header-inner{min-height:82px}
  .hero-grid{min-height:640px}
  .hero-copy{padding-bottom:310px}
  .hero .intro{max-width:600px;font-size:16px;line-height:1.85}
  .hero-benefits{max-width:680px}
  .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .service-card:last-child{grid-column:auto;display:block}
  .service-card .card-copy{padding:18px 16px 20px}
  .service-card h3{font-size:18px}
  .service-card .card-copy p{font-size:15px;line-height:1.7}
  .three-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}
  .doctor-card:last-child{max-width:calc(50% - 10px)}
  .doctor-photo{height:520px}
  .review-grid{grid-template-columns:1fr;row-gap:95px}
  .appointment-grid{gap:34px}
  .appointment-copy{padding-top:0}
  .appointment-copy>p:not(.eyebrow){font-size:16px}
  .appointment-form{max-width:none;width:100%;padding:36px}
  .contact-grid{gap:48px}
}

@media(max-width:600px){
  :root{--section-space:64px;--header:80px}
  html{scroll-padding-top:92px}
  .container{width:calc(100% - 50px)}
  body{font-size:16px;line-height:1.75}
  .header-inner{min-height:80px}
  .menu-toggle{font-size:15px}
  nav a{font-size:17px;line-height:1.5;padding:13px 12px}
  h1{font-size:34px;line-height:1.4}
  h2,.about-copy h2{font-size:29px;line-height:1.45}
  .section-heading{margin-bottom:28px}
  .eyebrow{font-size:13px;line-height:1.5}
  .hero-grid{min-height:720px}
  .hero-copy{padding-top:34px;padding-bottom:330px}
  .hero .intro{font-size:16px;line-height:1.8}
  .hero-benefits{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:24px}
  .hero-benefits li{flex-direction:column;justify-content:flex-start;align-items:center;text-align:center;font-size:13px;line-height:1.45;gap:7px}
  .hero-benefits svg.benefit-icon{width:30px;height:30px}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:24px}
  .cta{width:100%;font-size:15px}
  .service-grid{grid-template-columns:1fr;gap:16px}
  .service-card,.service-card:last-child{display:grid;grid-template-columns:42% 58%;min-height:150px}
  .service-card .service-image,.service-card:last-child .service-image{width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
  .service-card .card-copy,.service-card:last-child .card-copy{align-self:center;padding:18px 16px}
  .service-card h3{font-size:17px;line-height:1.45}
  .service-card .card-copy p{font-size:14px;line-height:1.65}
  .about-copy>p:not(.eyebrow){font-size:16px;line-height:1.8}
  .about-stats{grid-template-columns:1fr;gap:10px;max-width:none}
  .about-stats>div{padding:16px}
  .about-stats strong{font-size:24px}
  .about-stats span{font-size:14px}
  .about-media{margin-top:30px}
  .three-grid{grid-template-columns:1fr;gap:34px}
  .doctor-card:last-child{max-width:none}
  .doctor-photo{height:min(125vw,500px)}
  .doctor-card h3{font-size:21px}
  .doctor-card .doctor-specialty{font-size:15px}
  .gallery-controls button{width:48px;height:48px}
  .gallery-prev{transform:translateX(-35%)}
  .gallery-next{transform:translateX(35%)}
  .review-card{padding-inline:22px}
  .review-card p{font-size:16px;line-height:1.85}
  .appointment-grid{gap:28px}
  .appointment-copy h2{font-size:29px;margin-bottom:14px}
  .appointment-copy>p:not(.eyebrow){font-size:16px;line-height:1.8}
  .appointment-form{padding:24px 18px;gap:20px;border-radius:12px}
  .form-row{gap:20px}
  .appointment-form label{font-size:15px}
  .appointment-form input,.appointment-form select,.appointment-form textarea{font-size:16px;min-height:52px}
  .form-consent{font-size:14px!important}
  .contact h2{font-size:29px}
  .contact-intro,.contact-description{font-size:16px}
  .contact-list li{align-items:flex-start;gap:12px}
  .contact-list li div{display:grid;gap:2px}
  .contact-list li span{min-width:0;font-size:14px}
  .contact-list strong{font-size:15px}
  .contact-map{height:320px}
  footer{padding:28px 0}
}

/* Release-ready reviews and privacy policy. */
.review-card{padding:30px;text-align:left;align-items:stretch;justify-content:space-between}
.review-card .review-name{margin-top:auto;padding-top:8px;font-weight:600;color:var(--accent)}
.privacy-inline,.privacy-footer{border:0;background:none;color:var(--accent);padding:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.privacy-footer{font-size:13px}
.privacy-dialog{width:min(820px,calc(100vw - 40px));max-width:none;max-height:90vh;padding:0;border:0;border-radius:14px;background:var(--paper);color:var(--ink);overflow:auto}
.privacy-dialog::backdrop{background:rgba(10,22,37,.82)}
.privacy-close{position:sticky;float:right;top:12px;right:12px;z-index:2;width:44px;height:44px;margin:12px 12px -56px 0;border:0;border-radius:50%;background:rgba(248,241,235,.96);color:var(--ink);font-size:30px;line-height:1;cursor:pointer;box-shadow:0 2px 12px #172d4925}
.privacy-content{padding:54px 58px 48px}
.privacy-content h2{font-weight:700;margin-bottom:2px}
.privacy-content h3{font-size:18px;font-weight:700;margin:25px 0 7px}
.privacy-content p{color:var(--muted);font-size:15px;line-height:1.9}
.privacy-content a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.privacy-updated{font-size:13px!important}
body:has(.privacy-dialog[open]){overflow:hidden}
@media(max-width:800px){.review-card{padding:25px}.privacy-content{padding:45px 30px 38px}}
@media(max-width:540px){.privacy-dialog{width:calc(100vw - 24px)}.privacy-content{padding:40px 22px 32px}.footer-inner{gap:14px}}
.review-grid{padding-top:0}
@media(max-width:800px){.review-grid{row-gap:15px}}
.form-status.is-error{background:#fff0f0;color:#8b2f2f}
.about-media>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.form-label-text{display:inline-flex;align-items:baseline;gap:4px}
.form-label-text>span[aria-hidden]{color:#a45555}

/* About copy supplied by the clinic. */
.about-description{display:grid;gap:18px;margin-top:22px}
.about-description p{margin:0;color:var(--muted);font-size:16px;line-height:1.9}
@media(max-width:600px){.about-description{gap:15px;margin-top:18px}.about-description p{font-size:15px;line-height:1.85}}

/* Smaller heading for the longer About title. */
.about-copy h2{font-size:clamp(22px,calc(3.3vw - 10px),38px)}
@media(max-width:800px){.about-copy h2{font-size:26px}}
@media(max-width:600px){.about-copy h2{font-size:22px}}

/* Lower the subject in the mobile hero crop. */
@media(max-width:600px){
  .hero-image{background:var(--cream)}
  .hero-image img{transform:translateY(80px)}
}

/* Thai / English navigation switcher. */
.language-switcher{display:flex;align-items:center;gap:8px;margin-left:3px;white-space:nowrap;color:#a5afba}
.language-switcher button{border:0;background:none;padding:12px 0;color:#a5afba;font:500 14px/1.4 'Noto Sans Thai',Tahoma,sans-serif;cursor:pointer;transition:color .2s}
.language-switcher button:hover,.language-switcher button:focus-visible,.language-switcher button.is-active{color:var(--ink)}
.language-switcher button.is-active{font-weight:700}
.language-switcher span{color:#c2c9d0}
@media(max-width:800px){.language-switcher{margin:8px 12px 0;padding-top:10px;border-top:1px solid #172d4912}.language-switcher button{font-size:16px;padding:8px 0}}
html[lang="en"] body{font-family:Arial,'Helvetica Neue',sans-serif;line-height:1.65}
html[lang="en"] .language-switcher button{font-family:Arial,'Helvetica Neue',sans-serif}
html[lang="en"] .hero h1{line-height:1.25}
html[lang="en"] .about-copy h2{line-height:1.3}

/* Refined language switch: smaller, regular weight, and separated from navigation. */
.language-switcher{margin-left:24px;gap:7px}
.language-switcher button,.language-switcher button.is-active{font-size:12px;font-weight:400}
@media(max-width:800px){.language-switcher{margin:12px 12px 0;gap:8px}.language-switcher button,.language-switcher button.is-active{font-size:14px;font-weight:400}}

/* Keep Thai glyphs in Noto Sans Thai on both language versions. */
html[lang="en"] body,
html[lang="en"] button,
html[lang="en"] input,
html[lang="en"] select,
html[lang="en"] textarea,
html[lang="en"] .language-switcher button{font-family:'Noto Sans Thai',Arial,sans-serif}

/* Keep doctor names compact and on one line. */
#doctors .doctor-card h3{font-size:20px;line-height:1.4;white-space:nowrap;letter-spacing:-.025em}
@media(max-width:600px){#doctors .doctor-card h3{font-size:20px}}
html[lang="en"] #doctors .doctor-card h3{font-size:18px}

/* Compact doctor role beneath the name. */
#doctors .doctor-specialty{font-size:13px;line-height:1.5;white-space:nowrap;letter-spacing:-.01em}
@media(max-width:600px){#doctors .doctor-specialty{font-size:13px}}

/* Slightly smaller English appointment heading. */
html[lang="en"] .appointment-copy h2{font-size:clamp(28px,3vw,38px)}
@media(max-width:600px){html[lang="en"] .appointment-copy h2{font-size:27px}}

/* Stable alignment for contact icons, labels, and long bilingual values. */
.contact-list li{align-items:center}
.contact-list svg{margin-top:0}
.contact-list li[data-contact="address"]{align-items:flex-start}
.contact-list li[data-contact="address"] svg{margin-top:5px}
.contact-list li>div{display:grid;grid-template-columns:220px minmax(0,1fr);gap:8px 18px;align-items:start;width:100%;min-width:0}
.contact-list li span{min-width:0}
.contact-list li strong{min-width:0;line-height:1.7;overflow-wrap:normal;word-break:normal}
@media(max-width:1100px) and (min-width:601px){
  .contact-list li>div{grid-template-columns:150px minmax(0,1fr)}
}
@media(max-width:600px){
  .contact-list li>div{grid-template-columns:1fr;gap:2px}
  .contact-list svg{margin-top:0}
  .contact-list li[data-contact="address"] svg{margin-top:4px}
}

/* Tighter spacing between contact labels and values. */
.contact-list li>div{grid-template-columns:150px minmax(0,1fr);column-gap:14px}

/* Client-approved hero introduction and WhatsApp CTA. */
.hero h1,.hero .intro,.hero-trust{max-width:650px}
.hero .intro{font-size:16px;line-height:1.8;margin-bottom:12px}
.hero-trust{margin:0;color:var(--ink);font-size:16px;font-weight:700;line-height:1.7}
.cta-whatsapp{background:#25D366}
.cta-whatsapp svg{width:27px;height:27px}
@media(max-width:600px){
  .hero .intro{font-size:15px;line-height:1.75}
  .hero-trust{font-size:15px;line-height:1.65}
}


/* Expanded service catalogue: all information remains visible on the landing page. */
.services{background:#fbfaf8}
.services-heading{margin-bottom:42px}
.services-title{margin:0;color:var(--ink);font-size:clamp(44px,5vw,68px);font-weight:700;line-height:1.05;letter-spacing:-.035em}
.services-subtitle{margin:12px 0 0;color:var(--accent);font-size:clamp(20px,2vw,27px);font-weight:400;line-height:1.5}
.service-stack{display:grid;gap:32px}
.service-detail{overflow:hidden;border:1px solid #172d4912;border-radius:18px;background:#fff;box-shadow:0 14px 45px #172d4909}
.service-detail-head{display:grid;grid-template-columns:minmax(0,1fr) 36%;min-height:305px;background:linear-gradient(120deg,#fff 0%,#fff 68%,var(--cream) 68%)}
.service-overview{padding:40px 48px 34px;align-self:center}
.service-meta{display:flex;align-items:center;gap:15px;margin-bottom:20px}
.service-number{font:500 13px/1 Arial,sans-serif;letter-spacing:.18em;color:#8a98a9}
.service-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--cream);color:var(--accent)}
.service-icon svg{width:32px;height:32px}
.service-detail h3{margin:0;font-size:clamp(28px,3vw,42px);font-weight:700;line-height:1.3;letter-spacing:-.025em}
.service-translation{margin:4px 0 0;color:var(--accent);font-size:15px;font-weight:500;letter-spacing:.06em;text-transform:uppercase}
.service-summary{max-width:690px;margin:17px 0 0;color:var(--muted);font-size:16px;line-height:1.8}
.service-photo{position:relative;min-height:305px;margin:0;overflow:hidden}
.service-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,transparent 25%)}
.service-photo img{width:100%;height:100%;object-fit:cover}
.service-detail:nth-child(2) .service-photo img{object-position:64% center}
.service-detail:nth-child(4) .service-photo img{object-position:66% center}
.service-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 42px;padding:38px 48px 44px;border-top:1px solid #172d490d}
.service-group{padding:4px 0 26px}
.service-group h4{margin:0 0 11px;padding-bottom:9px;border-bottom:1px solid #49618030;color:var(--ink);font-size:17px;font-weight:700;line-height:1.55}
.service-group ul{display:grid;gap:5px;margin:0;padding:0;list-style:none}
.service-group li{position:relative;padding-left:15px;color:var(--muted);font-size:14px;line-height:1.65}
.service-group li:before{content:'';position:absolute;left:0;top:.72em;width:4px;height:4px;border-radius:50%;background:var(--accent)}
html[lang="en"] .service-translation{text-transform:none;letter-spacing:0}
html[lang="en"] .service-translation{display:none}
@media(max-width:1000px){
  .services-heading{margin-bottom:32px}
  .service-detail-head{grid-template-columns:minmax(0,1fr) 34%;min-height:270px}
  .service-overview{padding:34px 34px 30px}
  .service-photo{min-height:270px}
  .service-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 34px;padding:32px 34px 38px}
}
@media(max-width:600px){
  .services-title{font-size:39px;line-height:1.1}
  .services-subtitle{margin-top:8px;font-size:18px;line-height:1.55}
  .service-stack{gap:24px}
  .service-detail{border-radius:14px}
  .service-detail-head{display:flex;flex-direction:column;min-height:0;background:#fff}
  .service-overview{padding:28px 24px 24px;order:1}
  .service-meta{margin-bottom:15px}
  .service-icon{width:48px;height:48px}
  .service-icon svg{width:28px;height:28px}
  .service-detail h3{font-size:27px;line-height:1.35}
  .service-translation{font-size:12px;line-height:1.5}
  .service-summary{margin-top:13px;font-size:15px;line-height:1.75}
  .service-photo{order:0;width:100%;min-height:0;aspect-ratio:16/8}
  .service-photo:after{background:linear-gradient(0deg,#fff0 60%,#fff0)}
  .service-groups{grid-template-columns:1fr;padding:23px 24px 28px}
  .service-group{padding:5px 0 22px}
  .service-group:last-child{padding-bottom:0}
  .service-group h4{font-size:16px}
  .service-group li{font-size:14px;line-height:1.7}
}

/* Keep contact handles intact and readable on narrow mobile layouts. */
.contact-list strong a{color:inherit;text-decoration:none}
.contact-list strong a:hover{text-decoration:underline;text-underline-offset:3px}
.contact-channel-links{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.contact-channel-links>span{min-width:0;color:inherit;font-size:inherit}
@media(max-width:600px){
  .contact-list{gap:20px}
  .contact-list li{gap:10px}
  .contact-list li>div{grid-template-columns:minmax(0,1fr);gap:2px}
  .contact-list a,.contact-list strong{overflow-wrap:normal;word-break:normal}
  .contact-list [data-contact="line"] strong,
  .contact-list [data-contact="email"] strong,
  .contact-list [data-contact="tiktok"] strong,
  .contact-list [data-contact="instagram"] strong{font-size:clamp(12px,3.65vw,15px);white-space:nowrap;letter-spacing:-.02em}
}

/* Compact 2 x 2 service overview requested after the full catalogue review. */
.service-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.service-detail{display:flex;flex-direction:column;height:100%}
.service-detail-head{grid-template-columns:minmax(0,1fr) 34%;min-height:250px}
.service-overview{padding:32px 34px 28px}
.service-detail h3{font-size:clamp(26px,2.5vw,36px)}
.service-photo{min-height:250px}
.service-groups{display:block;flex:1;padding:26px 34px 32px}
.service-main-list{display:grid;grid-template-columns:1fr;gap:0;margin:0;padding:0;list-style:none}
.service-main-list li{position:relative;padding:13px 0 13px 22px;border-bottom:1px solid #49618022;color:var(--ink);font-size:16px;font-weight:600;line-height:1.55}
.service-main-list li:last-child{border-bottom:0}
.service-main-list li:before{content:'';position:absolute;left:2px;top:1.35em;width:7px;height:7px;border:1.5px solid var(--accent);border-radius:50%}
@media(max-width:1000px){
  .service-stack{gap:18px}
  .service-detail-head{grid-template-columns:1fr;min-height:0}
  .service-photo{min-height:0;aspect-ratio:16/7;order:0}
  .service-overview{order:1;padding:28px 28px 24px}
  .service-groups{padding:22px 28px 28px}
}
@media(max-width:700px){
  .service-stack{grid-template-columns:1fr;gap:22px}
  .service-detail-head{display:flex}
  .service-overview{padding:27px 24px 22px}
  .service-groups{padding:20px 24px 26px}
  .service-main-list li{font-size:15px;padding:12px 0 12px 20px}
}

/* Cleaner service cards: no image overlay and compact slash-separated topics. */
.service-detail-head{grid-template-columns:minmax(0,1fr) 38%;min-height:220px;background:#fff}
.service-overview{padding:28px 32px 25px}
.service-photo{min-height:220px;background:var(--cream)}
.service-photo:after{display:none}
.service-photo img{object-position:center}
.service-detail:nth-child(2) .service-photo img{object-position:62% center}
.service-detail:nth-child(4) .service-photo img{object-position:64% center}
.service-groups{padding:21px 32px 26px}
.service-main-list{display:flex;flex-wrap:wrap;align-items:baseline;gap:0;margin:0;padding:0}
.service-main-list li{display:inline;padding:0;border:0;color:var(--accent);font-size:15px;font-weight:600;line-height:1.9}
.service-main-list li:before{display:none}
.service-main-list li:not(:last-child):after{content:' / ';display:inline;color:#aab3bd;font-weight:400;margin:0 8px}
@media(max-width:1000px){
  .service-stack{grid-template-columns:1fr}
  .service-detail-head{display:grid;grid-template-columns:minmax(0,1fr) 34%;min-height:210px}
  .service-overview{order:0;padding:27px 28px 23px}
  .service-photo{order:1;min-height:210px;aspect-ratio:auto}
  .service-groups{padding:20px 28px 25px}
}
@media(max-width:700px){
  .service-detail-head{display:flex;min-height:0}
  .service-photo{order:0;min-height:0;aspect-ratio:16/7}
  .service-overview{order:1;padding:25px 24px 20px}
  .service-groups{padding:18px 24px 23px}
  .service-main-list{display:grid;gap:8px;align-items:start}
  .service-main-list li{display:block;position:relative;padding:0 0 0 18px;font-size:14px;line-height:1.65}
  .service-main-list li:before{content:'•';display:block;position:absolute;left:0;top:0;color:var(--accent);font-size:15px;line-height:1.55}
  .service-main-list li:not(:last-child):after{display:none;content:none}
}

/* Align the Services type scale with the rest of the landing page. */
.services-title{font-size:clamp(26px,2.7vw,36px);font-weight:700;line-height:1.5;letter-spacing:-.02em}
.services-subtitle{margin-top:2px;font-size:18px;line-height:1.65}
.service-detail h3{font-size:clamp(21px,2.2vw,31px)}
@media(max-width:600px){
  .services-title{font-size:29px;line-height:1.45}
  .services-subtitle{font-size:16px;line-height:1.6}
  .service-detail h3{font-size:22px}
}

/* New coordinated portrait set; card images are 150px shorter. */
.doctor-photo{height:410px}
.doctor-photo img{object-position:center 20%}
.doctor-card:nth-child(3) .doctor-photo img{object-position:center 18%}
@media(max-width:1000px){.doctor-photo{height:370px}}
@media(max-width:600px){.doctor-photo{height:min(95vw,350px)}}

/* Five-star Google review treatment. */
.review-card{gap:16px}
.review-stars{color:#f5b301;font-size:22px;line-height:1;letter-spacing:3px}
.google-review-action{display:flex;justify-content:center;margin-top:28px}
.google-review-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:11px 20px;border:1px solid #172d4920;border-radius:26px;background:#fff;color:var(--ink);font-size:15px;font-weight:600;box-shadow:0 5px 18px #172d490b;transition:transform .2s,box-shadow .2s,border-color .2s}
.google-review-link:hover{transform:translateY(-2px);border-color:#49618055;box-shadow:0 8px 24px #172d4914}
.google-review-icon{width:23px;height:23px;flex:0 0 auto}
@media(max-width:600px){.review-stars{font-size:21px}.google-review-action{margin-top:22px}.google-review-link{width:100%;font-size:14px}}

/* Clinic signature beneath the appointment introduction. */
.appointment-brand{margin:22px 0 0!important;color:var(--ink)!important;font-size:17px!important;font-weight:700!important;letter-spacing:.015em}
@media(max-width:600px){.appointment-brand{margin-top:18px!important;font-size:16px!important}}

/* Keep the LINE word legible when the footer icon is hovered. */
.footer-socials a[aria-label="LINE"]:hover svg text{fill:#06c755}

/* Keep the language switcher visible beside the mobile menu button. */
.header-inner>.language-switcher{flex-shrink:0}
@media(max-width:800px){
  .header-inner{gap:8px}
  .header-inner>.brand{margin-right:auto}
  .header-inner>.language-switcher{margin:0 4px 0 0;padding:0;border:0;gap:5px}
  .header-inner>.language-switcher button,
  .header-inner>.language-switcher button.is-active{padding:6px 0;font-size:12px;font-weight:400}
  .header-inner>.menu-toggle{flex-shrink:0}
}
@media(max-width:390px){
  .header .brand{width:125px}
  .header-inner>.language-switcher{margin-right:1px;gap:4px}
  .header-inner>.language-switcher button,
  .header-inner>.language-switcher button.is-active{font-size:11px}
  .menu-toggle{padding-inline:7px;font-size:14px}
}

/* Vertical service topics using the client-provided check-circle icon. */
.service-main-list{display:grid;grid-template-columns:1fr;gap:10px;align-items:start}
.service-main-list li{display:block;position:relative;padding:0 0 0 25px;border:0;color:var(--accent);font-size:15px;font-weight:600;line-height:1.65}
.service-main-list li:before{content:'';display:block;position:absolute;left:0;top:.3em;width:16px;height:16px;border:0;border-radius:0;background-color:var(--accent);-webkit-mask:url('assets/check-circle.svg') center/contain no-repeat;mask:url('assets/check-circle.svg') center/contain no-repeat}
.service-main-list li:not(:last-child):after{display:none;content:none}
@media(max-width:700px){
  .service-main-list{gap:9px}
  .service-main-list li{padding-left:23px;font-size:14px;line-height:1.65}
  .service-main-list li:before{top:.28em;width:15px;height:15px}
}

/* Client-provided Medical Dermatology icon, recolored to the site accent. */
.service-icon-medical::before{content:'';display:block;width:32px;height:32px;background-color:currentColor;-webkit-mask:url('assets/medical-dermatology-icon.png') center/contain no-repeat;mask:url('assets/medical-dermatology-icon.png') center/contain no-repeat}
@media(max-width:700px){.service-icon-medical::before{width:28px;height:28px}}

/* Client-provided service icon set, recolored to the site palette. */
.service-icon img{width:32px;height:32px;object-fit:contain}
@media(max-width:700px){.service-icon img{width:28px;height:28px}}

/* Place each service icon directly before its title while retaining the number. */
.service-meta{margin-bottom:11px}
.service-title-row{display:flex;align-items:center;gap:14px;min-width:0}
.service-title-row .service-icon{flex:0 0 54px}
.service-title-copy{min-width:0}
.service-title-row h3{margin:0}
.service-title-row .service-translation{margin-top:3px}
@media(max-width:700px){
  .service-meta{margin-bottom:10px}
  .service-title-row{gap:12px;align-items:center}
  .service-title-row .service-icon{flex-basis:48px}
}

/* Keep service names compact and on one line beside their icons. */
.service-title-row h3{font-size:clamp(18px,1.85vw,26px);line-height:1.3;white-space:nowrap;letter-spacing:-.035em}
@media(max-width:700px){
  .service-title-row h3{font-size:clamp(16px,4.6vw,19px);letter-spacing:-.045em}
}
.service-title-row .service-translation{font-size:12px;line-height:1.5;letter-spacing:.035em;white-space:nowrap}
@media(max-width:700px){.service-title-row .service-translation{font-size:10.5px;letter-spacing:.02em}}

/* Prevent the native iOS date control from exceeding the mobile form width. */
.form-row,.form-row>label{min-width:0}
.appointment-form input[type="date"]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%}
@media(max-width:600px){
  .form-row,.form-row>label{width:100%;max-width:100%}
  .appointment-form input[type="date"]{-webkit-appearance:none;appearance:none;overflow:hidden;text-align:left}
  .appointment-form input[type="date"]::-webkit-date-and-time-value{margin:0;text-align:left}
}
