@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:nowrap}}
/* 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{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{padding:0;border:0;border-radius:0;background:none}
.contact-map{margin:0;border:0;border-radius:0}

/* Centered stacked footer. */
.footer-inner{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:20px}
