:root{--teal:#195C73;--teal-deep:#0F4557;--card:#2F7F94;--mint:#5FD3BC;--sky:#02ADEE;--sky-tint:#E8F7FD;--mint-tint:#E6F8F3;--ink:#17323D;--muted:#4F6A74;--line:#D9E6EA;--pale:#F2F6F7;--r:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;font:400 17px/1.65 "Pretendard Variable",Pretendard,-apple-system,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:var(--ink);background:#fff;word-break:keep-all;-webkit-font-smoothing:antialiased}

/* Both languages share one grid cell, so switching language never moves the layout. */
.tr{display:inline-grid}
.tr>span{grid-area:1/1}
.nav .tr,.pill .tr,.lang .tr,.tab .tr{justify-items:center;text-align:center}
.pill .tr>span,.lang .tr>span{display:inline-flex;align-items:center;gap:8px}
html[lang=ko] .tr>[lang=en],html[lang=en] .tr>[lang=ko]{visibility:hidden}

img{max-width:100%;height:auto;display:block}a{color:inherit}h1,h2,h3,p{margin:0}
:focus-visible{outline:3px solid var(--sky);outline-offset:3px}
.wrap{width:min(1200px,100% - 48px);margin-inline:auto}
section{padding:72px 0}
.icon{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.skip{position:absolute;left:-999px;top:8px;background:#fff;padding:8px 14px;border-radius:8px;z-index:40}
.skip:focus{left:8px}

/* Notice */
.notice{background:#FFF5E6;color:#6B4300;font-weight:600;padding:10px 0;text-align:center}

/* Popup notice */
dialog.popup{border:0;border-radius:24px;padding:28px;width:fit-content;min-width:min(360px,calc(100% - 32px));max-width:min(880px,calc(100% - 32px));max-height:88vh;overflow:auto;color:var(--ink);box-shadow:0 18px 50px rgba(15,69,87,.28)}
dialog.popup::backdrop{background:rgba(15,69,87,.45)}
.popup h2{font-size:21px;color:var(--teal);line-height:1.4;margin-bottom:12px}
.popup-text{white-space:pre-line;overflow-wrap:anywhere}
.popup-text .tr{display:grid}
.popup-item+.popup-item{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.popup-image .tr{display:grid;justify-items:center}
.popup-image img{max-height:min(72vh,calc(88vh - 180px));width:auto;max-width:100%;border-radius:12px}
.popup-image+.popup-text{margin-top:12px}
.popup-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px}
.popup-actions button{font-family:inherit;font-size:15px;font-weight:600;cursor:pointer;border-radius:99px}
.popup-actions .hide{background:none;border:0;color:var(--muted);padding:8px 2px;text-align:left}
.popup-actions .hide:hover{text-decoration:underline}
.popup-actions .close{background:var(--teal);color:#fff;border:0;padding:10px 24px;flex:none}
.popup-actions .close:hover{background:var(--teal-deep)}

/* Header */
.head{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.head .wrap{display:flex;align-items:center;gap:28px;height:78px}
.logo img{height:50px;width:auto}
.nav{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-left:auto;font-weight:600;font-size:18px;text-align:center}
.nav a{text-decoration:none}.nav a:hover{color:var(--teal);text-decoration:underline;text-underline-offset:6px}
.lang{border:1px solid var(--line);background:#fff;color:var(--ink);font-size:15px;font-weight:600;line-height:1;padding:11px 16px;border-radius:99px;display:inline-flex;gap:7px;align-items:center;cursor:pointer;text-decoration:none}
.lang:hover{background:var(--sky-tint)}
.callbtn{background:var(--teal);color:#fff;text-decoration:none;font-weight:700;padding:11px 20px;border-radius:99px;display:inline-flex;gap:8px;align-items:center;white-space:nowrap}
.callbtn:hover{background:var(--teal-deep)}

/* Section titles */
.sec-title{font-size:32px;font-weight:700;letter-spacing:-.02em;line-height:1.3;color:var(--teal)}
.sec-sub{color:var(--muted);margin-top:8px}
.sec-head{margin-bottom:32px}
.band{background:var(--pale)}

/* Buttons */
.pill{display:inline-flex;align-items:center;gap:8px;padding:13px 24px;border-radius:99px;font-weight:700;text-decoration:none;border:0}
.hero-actions{display:inline-grid;grid-template-columns:minmax(0,1fr);gap:10px}
.hero-actions .pill{justify-content:center}
.pill.primary{background:var(--mint);color:var(--teal-deep)}.pill.primary:hover{background:#7ADDCA}
.pill.white{background:#fff;color:var(--teal-deep)}.pill.white:hover{background:var(--sky-tint)}
.pill.teal{background:var(--teal);color:#fff}.pill.teal:hover{background:var(--teal-deep)}

/* Hero */
.hero{padding:24px 0 0}
.hero-panel{position:relative;border-radius:32px;background:var(--card);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,57%);align-items:center;min-height:520px}
.hero-copy{padding:48px 0 60px 56px}
.hero-art{width:calc(100% - 28px);border-radius:22px;background:#fff;align-self:start;margin-top:26px}
.hero-eyebrow{font-weight:600}
.hero-eyebrow::after,.tealcard h3::after{content:"";display:block;width:200px;max-width:100%;height:1px;background:currentColor;opacity:.7;margin-top:14px}
.hero-eyebrow::after{width:260px}
.hero-panel h1{font-size:clamp(32px,3.2vw,40px);line-height:1.3;font-weight:800;letter-spacing:-.025em;margin:14px 0 30px;text-wrap:balance}
.hero-float{position:relative;margin:-30px auto 0;width:max-content;max-width:calc(100% - 32px);background:#fff;border-radius:99px;box-shadow:0 10px 30px rgba(15,69,87,.16);padding:16px 28px;z-index:2}

/* Status */
.dot{width:10px;height:10px;border-radius:50%;background:#9AAAB0;flex:none}
.is-open .dot{background:#12A77F;box-shadow:0 0 0 4px rgba(18,167,127,.18)}
.is-dayoff .dot{background:#D93636;box-shadow:0 0 0 4px rgba(217,54,54,.16)}
.status{display:inline-flex;align-items:center;gap:10px;font-weight:600}
/* Status parts are joined by " · " and only break at that dot. Every part carries the dot in front;
   the block is shifted left by the dot's width and clipped, so a dot at the start of a line is hidden. */
.status .tr>span{overflow:hidden}
.status .st{display:block;margin-left:-1.1em}
.status .sp{display:inline-block;white-space:nowrap}
.status .sp::before{content:"\00B7";display:inline-block;width:1.1em;text-align:center}
/* Call buttons outside opening hours: same size and place, visibly off, not tappable. */
.pill.is-off,.pill.is-off:hover{background:#E6EBED;color:#8C989D;cursor:default}

/* Services */
#services{padding-top:60px}
.circles{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;text-align:center;padding-top:8px}
.circles a{text-decoration:none;display:block}
.circles .disc{width:112px;height:112px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;font-size:50px;color:var(--teal);transition:transform .2s}
.circles a:nth-child(odd) .disc{background:var(--sky-tint)}
.circles a:nth-child(even) .disc{background:var(--mint-tint)}
.circles a:hover .disc{transform:translateY(-4px)}
.circles b{display:block;font-size:18px;font-weight:700}
.circles small{display:block;color:var(--muted);font-size:15px;margin-top:4px;line-height:1.45}

/* Welcome */
.welcome{display:grid;grid-template-columns:380px 1fr;gap:56px;align-items:center}
.portrait{aspect-ratio:1;border-radius:50%;background:linear-gradient(150deg,var(--sky-tint),#C9F0E6);overflow:hidden}
.portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 0}
.welcome h2{margin-bottom:16px}
.welcome p+p{margin-top:12px}
.dr{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.dr b{display:block;font-size:19px}
.dr .cred{display:block;color:var(--muted);margin:2px 0 8px;font-size:15px}
.dr p{color:var(--muted);font-size:16px;margin-top:6px}

/* Hours and phone */
#hours{padding-top:0}
.visit-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}
.card{background:var(--pale);border-radius:var(--r);padding:32px}
.card h3{font-size:22px;margin-bottom:12px}
.hours{width:100%;border-collapse:collapse;font-size:17px}
.hours td{padding:8px 0;border-bottom:1px solid var(--line)}
.hours tr:last-child td{border-bottom:0}
.hours td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.hours tr.today td{font-weight:700;color:var(--teal)}
.hours tr.closed td:last-child{color:var(--muted)}
.card.tealcard{background:var(--card);color:#fff;display:flex;flex-direction:column;justify-content:center;gap:6px}
.tealcard h3{margin-bottom:8px}
.tealcard a.big{font-size:38px;font-weight:800;color:#fff;text-decoration:none;letter-spacing:-.01em}
.tealcard .pill{align-self:flex-start;margin-top:14px}
.sms-note{display:block;font-size:15px}

/* Conditions */
.tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;margin-bottom:16px}
.tab{font-family:inherit;font-size:16px;font-weight:600;line-height:1.2;padding:12px 6px;border-radius:99px;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;white-space:nowrap}
.tab:hover{background:var(--sky-tint)}
.tab[aria-selected=true]{background:var(--teal);border-color:var(--teal);color:#fff}
.cond{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:42px;align-content:start;gap:4px 24px;list-style:none;margin:0;padding:20px 28px;background:#fff;border-radius:var(--r);min-height:220px}
.cond[hidden]{display:none}
.cond li{display:flex;gap:10px;align-items:center;font-size:17px;font-weight:500;white-space:nowrap}
.cond li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--mint);flex:none}
.er{margin-top:24px;padding:16px 20px;border-radius:14px;border:1px solid #F0B4B4;background:#FDEDED;color:#8A1C1C;font-size:16px;font-weight:500}

/* Insurance */
.ins{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.ins>div{flex:0 0 calc((100% - 84px)/7);min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;height:100px;display:grid;place-items:center;padding:16px;overflow:hidden}
.ins img{max-height:60px;width:auto;object-fit:contain}
.ins-note{margin-top:20px;color:var(--muted)}

/* FAQ */
.faq details{border-bottom:1px solid var(--line);padding:18px 0}
.faq summary{font-weight:600;font-size:18px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--teal);font-size:24px;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq p{margin-top:10px;color:var(--muted)}

/* Location */
.loc{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.loc iframe{width:100%;height:100%;min-height:380px;border:0;border-radius:var(--r)}
.loc-card{background:var(--pale);border-radius:var(--r);padding:32px}
.loc-card .addr{font-size:20px;font-weight:700;margin-bottom:6px}
.loc-card a.tel{font-size:30px;font-weight:800;color:var(--teal);text-decoration:none;display:block;margin:12px 0 2px}
.loc-card small{font-size:15px;color:var(--muted)}
.loc-card .sms-note{color:var(--muted);margin-bottom:8px}
.loc-card .text-ok{display:block;margin-bottom:2px;font-weight:600;color:var(--teal)}
.loc-action{margin-top:18px}
.routes{margin-top:20px;display:grid;gap:10px}
.routes div{background:#fff;border-radius:14px;padding:14px 18px;font-size:16px}
.routes b{display:flex;align-items:center;gap:8px;margin-bottom:2px}
.routes .n{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#0F5B66;color:#fff;font-size:14px;font-style:normal}
.routes .n2{background:#A96800}
.maps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:28px}
.map-slot .tr{display:grid}
.map-slot a{display:block;text-decoration:none;cursor:zoom-in}
.map-slot img{width:100%;aspect-ratio:3/2;border-radius:14px}
.map-slot .zoom{display:none;margin-top:8px;text-align:center;font-size:15px;font-weight:600;color:var(--teal);text-decoration:underline}

/* Footer */
.foot{background:var(--sky-tint);padding:44px 0;font-size:15px}
.foot .wrap{display:flex;justify-content:space-between;gap:28px;flex-wrap:wrap;align-items:flex-start}
.foot img{height:46px;width:auto;margin-bottom:12px}
.foot .links{display:flex;gap:20px;font-weight:600}
.foot .links a{color:var(--teal)}
.foot p{color:var(--muted)}
.foot .slogan{color:var(--teal);font-weight:600;margin-bottom:8px}
.foot .copy{margin-top:12px}

/* Mobile call bar */
.mbar{display:none;position:fixed;inset:auto 0 0 0;z-index:30;background:#fff;border-top:1px solid var(--line);padding:10px 14px calc(10px + env(safe-area-inset-bottom));gap:10px}
.mbar a{flex:1;justify-content:center}

/* Language chooser page */
.chooser{min-height:100vh;display:grid;place-items:center;background:var(--sky-tint);padding:24px}
.gate{background:#fff;border-radius:28px;padding:40px 36px;width:min(440px,100%);text-align:center;box-shadow:0 12px 34px rgba(15,69,87,.1)}
.gate img{width:112px;margin:0 auto 18px}
.gate h1{font-size:22px;line-height:1.4}
.gate p{color:var(--muted);margin-top:4px}
.gate .choices{display:grid;gap:10px;margin-top:24px}
.gate .choices a{font-size:19px;font-weight:700;line-height:1;padding:18px;border-radius:16px;border:2px solid var(--line);background:#fff;color:var(--ink);text-decoration:none}
.gate .choices a:hover,.gate .choices a:focus-visible{border-color:var(--teal);background:var(--sky-tint)}
.gate address{font-style:normal;margin-top:22px;font-size:14px;color:var(--muted)}

/* Legal pages */
.legal-head .wrap{height:78px;display:flex;align-items:center}
.legal{max-width:820px;margin:0 auto;padding:48px 24px 72px}
.legal h1{font-size:32px;color:var(--teal);line-height:1.3;margin-bottom:24px}
.legal h2{font-size:22px;margin:32px 0 10px;color:var(--ink)}
.legal h3,.legal h4{font-size:18px;margin:24px 0 8px}
.legal p{margin:0 0 12px}
.legal ul{margin:0 0 12px;padding-left:22px}

/* Error page */
.err{min-height:70vh;display:grid;place-items:center;text-align:center;padding:48px 24px}
.err h1{color:var(--teal);margin-bottom:12px}

/* Responsive */
@media(max-width:1180px){
 .logo img{height:40px}
 .tabs{grid-auto-flow:row;grid-template-columns:repeat(4,1fr)}
}
@media(max-width:1100px){
 .cond{grid-template-columns:repeat(3,1fr);min-height:266px}
}
@media(max-width:1020px){
 .map-slot .zoom{display:block}
 .hero-panel{grid-template-columns:minmax(0,1fr);min-height:0}
 .hero-copy{padding:40px 26px 12px}
 .hero-art{width:calc(100% - 28px);margin:6px 14px 50px;border-radius:16px}
 .nav{order:3;width:100%;margin:0;gap:0;font-size:16px;padding-bottom:10px}
 .head .wrap{flex-wrap:wrap;height:auto;padding-top:10px;gap:10px 14px}
 .head .lang{margin-left:auto}
 .welcome,.loc,.visit-grid{grid-template-columns:1fr}
 .portrait{max-width:300px;margin-inline:auto}
 .ins>div{flex-basis:calc((100% - 42px)/4)}
 .circles{grid-template-columns:repeat(3,1fr);row-gap:30px}
}
@media(max-width:900px){
 .cond{grid-template-columns:repeat(2,1fr);min-height:358px}
}
@media(max-width:820px){
 .maps{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
 body{padding-bottom:76px;font-size:16.5px}
 .wrap{width:calc(100% - 32px)}
 section{padding:52px 0}
 .sec-title{font-size:26px}
 .logo img{height:36px}
 .head .callbtn{display:none}
 .mbar{display:flex}
 .hero-panel{border-radius:24px}
 .hero-panel h1{font-size:31px}
 .hero-float{border-radius:18px;padding:12px 18px;font-size:15px}
 .circles .disc{width:84px;height:84px;font-size:38px}
 .circles b{font-size:16px}.circles small{display:none}
 .tealcard a.big{font-size:32px}
 .ins>div{flex-basis:calc((100% - 14px)/2)}
 .cond{grid-template-columns:1fr;grid-auto-rows:38px;gap:0;min-height:0;padding:12px 18px}
 .loc-card{padding:24px}
 .tabs{display:flex;overflow-x:auto;padding-bottom:6px;margin-inline:-16px;padding-inline:16px}
 .tab{flex:none;padding-inline:16px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Phone number links outside the call window: the number stays readable (people may text it) but is not a link. */
a.is-off[data-call]{cursor:default}
.callbtn.is-off,.callbtn.is-off:hover{background:#E6EBED;color:#8C989D}
.tealcard a.big.is-off{color:rgba(255,255,255,.72)}
.loc-card a.tel.is-off{color:#8C989D}
/* Local preview demo pages only (DEMO_MODE=1). */
.demo-badge{position:fixed;left:12px;top:12px;z-index:60;background:#17323D;color:#fff;font-size:12px;font-weight:700;padding:6px 10px;border-radius:8px;text-decoration:none;opacity:.9}
.demo-index{max-width:640px;margin:48px auto;padding:0 20px;line-height:1.7}
.demo-index h1{font-size:26px;color:var(--teal);margin-bottom:10px}
.demo-index ul{padding-left:20px;margin:20px 0}
.demo-index li{margin-bottom:12px}
/* Top bar notice: megaphone in front; a button when it can reopen the popup. */
.notice .tr>span{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.notice .tr{justify-items:center}
.notice .icon{width:1.25em;height:1.25em;stroke-width:2}
.notice-open{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:center}
.notice-open:hover span,.notice-open:focus-visible span{text-decoration:underline}
/* Popup heading with the same megaphone as the top bar. */
.popup h2 .tr>span{display:inline-flex;align-items:center;gap:8px}
.popup h2 .icon{width:1.1em;height:1.1em;stroke-width:2}
