:root{--navy:#153955;--navy-d:#0E2A40;--ivory:#F7F4EE;--sand:#EFE9DD;--ink:#1B2733;--muted:#4A5663;--line:#E1DACC;--copper:#C28A5B;--copper-l:#E3B98F;--copper-d:#8A5428;--kakao:#FEE500;--chatbg:#C9D8E4}
/* line breaking per language: Korean keeps words whole; Chinese/English must be allowed to wrap */
.l-zh .stage,.l-zh .chat,.l-zh .bar,.l-zh .panel,.l-zh .cfg{word-break:normal;overflow-wrap:anywhere;line-break:strict}
.l-en .stage,.l-en .chat,.l-en .bar,.l-en .panel{word-break:normal;overflow-wrap:break-word}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
body{margin:0}
*{box-sizing:border-box}
.vp{min-height:100vh;background:#CBD3D9;overflow-x:clip;--sans:'Noto Sans KR','Noto Sans SC',system-ui,sans-serif;--barH:84px;--fx:0px;--fw:100vw}
.vp.l-zh{--sans:'Noto Sans SC','Noto Sans KR',system-ui,sans-serif}
.vp.m-mobile{--barH:var(--barM,128px);--fx:max(0px,calc(50% - var(--sw) / 2));--fw:var(--sw)}
.stage{position:relative;margin:0 auto;max-width:100%;overflow-x:clip;background:var(--ivory);color:var(--ink);font-family:var(--sans);font-size:18px;line-height:1.7;word-break:keep-all;padding-bottom:var(--barH)}
.m-pc .stage{width:100%}
.m-mobile .stage{width:var(--sw);font-size:17px}
.m-mobile.forced .stage{box-shadow:0 0 0 1px #AEB9C1}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--copper);outline-offset:3px}
/* menu jumps land exactly under the fixed header (header height is measured live) */
[data-snap]{scroll-margin-top:var(--hdH,72px)}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* one content width for the whole page: header, hero, sections, footer start on the same line */
/* PC screen plan: chat column on the right (--chatW), detail popup centred in the rest; both start under the header (--hdB) */
.vp{--cw:1200px;--gut:48px;--chatW:clamp(400px,30vw,480px);--popMax:1240px;--popGap:24px}
.m-pc .hd,.m-pc .hero,.m-pc .ft{padding-left:max(var(--gut),calc((100% - var(--cw)) / 2));padding-right:max(var(--gut),calc((100% - var(--cw)) / 2))}

/* review bar (not part of the real site) */
.rv{background:#1B2733;color:#E8EDF1;font-family:'Noto Sans KR',system-ui,sans-serif;font-size:14px;line-height:1.4;padding:8px 16px;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:center}
.rv button{min-height:34px;padding:0 13px;border-radius:999px;border:1px solid #5B6B78;background:transparent;color:#E8EDF1;font:inherit;cursor:pointer}
.rv button[aria-pressed="true"]{background:#E3B98F;color:#1B2733;border-color:#E3B98F;font-weight:700}
.rv .rv-cfg{border-color:#E3B98F;color:#E3B98F;font-weight:700}
.rv-g{display:flex;gap:6px;flex-wrap:wrap}
.m-mobile .rv{font-size:12px;padding:6px 8px;gap:6px}
.m-mobile .rv button{min-height:30px;padding:0 10px}
.m-mobile .rv-txt{display:none}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:0 26px;border-radius:999px;border:1.5px solid transparent;font:inherit;font-size:17px;font-weight:700;line-height:1.2;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
.btn-pri{background:var(--navy);color:#fff}.btn-pri:hover{background:var(--navy-d)}
.btn-acc{background:var(--copper-d);color:#fff}.btn-acc:hover{background:#6F4220}
.btn-out{background:#fff;color:var(--navy);border-color:var(--navy)}.btn-out:hover{background:var(--navy);color:#fff}
.btn-kakao{background:var(--kakao);color:#1B2733}.btn-kakao:hover{background:#F2D900}
.btn-line{background:transparent;color:var(--ivory);border-color:rgba(247,244,238,.75)}.btn-line:hover{background:rgba(247,244,238,.12)}

/* header */
.hd{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:20px;padding:12px 48px;background:rgba(247,244,238,.97);border-bottom:1px solid var(--line)}
.m-mobile .hd{padding:8px 12px;gap:8px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);flex:none}
.brand-mark{height:44px;width:auto;display:block;flex:none}
.m-mobile .brand-mark{height:36px}
.brand-t{display:flex;flex-direction:column;line-height:1.25;white-space:nowrap}
.brand-t b{font-size:19px;font-weight:800;letter-spacing:-.02em;color:var(--navy)}
.bn-a{color:#3A3A3A}
.m-pc .brand-t{flex-direction:row;align-items:baseline;gap:8px}
.m-pc .brand-mark{height:54px}
.m-pc .brand-t b{font-size:25px}
.m-pc .brand-sub{font-size:18px}
.m-pc.l-en .brand-t b,.m-pc.l-zh .brand-t b{font-size:22px}
/* location lockup: branch on its own line, small capitals with wide spacing (like the logo's English line) */
.l-en .brand-sub,.l-zh .brand-sub{text-transform:uppercase;letter-spacing:.24em;font-weight:600;color:var(--copper-d)}
.m-pc.l-en .brand-sub,.m-pc.l-zh .brand-sub{font-size:12.5px;margin-top:3px}
.m-pc.l-en .brand-t,.m-pc.l-zh .brand-t{flex-direction:column;align-items:flex-start;gap:0;line-height:1.15}
.m-mobile.l-en .brand-sub,.m-mobile.l-zh .brand-sub{font-size:9.5px;letter-spacing:.2em;margin-top:2px}
.m-mobile.l-en .brand-t b,.m-mobile.l-zh .brand-t b{font-size:13px;max-width:7.6em;line-height:1.15}
@media (max-width:1480px){.m-pc.l-en .nav,.m-pc.l-zh .nav{gap:14px}.m-pc.l-en .nav a{font-size:15.5px}.m-pc.l-en .lg button{padding:0 9px}}
.brand-sub{font-size:15px;font-weight:700;color:var(--navy)}
.m-mobile .brand-t b{font-size:16px}
.m-mobile .brand{min-width:0;flex:1 1 auto}
.m-mobile .brand-t{min-width:0;white-space:normal}
.m-mobile .brand-t b{font-size:15px;line-height:1.2}
.m-mobile.l-en .brand-t b,.m-mobile.l-zh .brand-t b{font-size:12.5px}
.m-mobile .brand-t b{word-break:keep-all;overflow-wrap:normal}
.m-mobile.l-zh .hero h1{font-size:28px}
.m-mobile .brand-sub{font-size:12px;font-weight:700}
.nav{display:flex;gap:26px;margin-left:auto}
.m-mobile .nav{display:none}
.nav a{color:var(--ink);text-decoration:none;font-weight:500;font-size:17px;padding:10px 2px;border-bottom:2px solid transparent;white-space:nowrap}
.nav a:hover{border-bottom-color:var(--copper)}
.lg{display:flex;border:1px solid #CFC6B4;border-radius:999px;overflow:hidden;background:#fff;flex:none}
.m-mobile .lg{margin-left:auto}
.lg button{min-height:44px;min-width:44px;padding:0 12px;border:0;background:transparent;font:inherit;font-size:15px;font-weight:500;color:var(--ink);cursor:pointer;white-space:nowrap}
.m-mobile .lg button{min-width:38px;padding:0 6px;font-size:14px}
.lg button[aria-pressed="true"]{background:var(--navy);color:#fff;font-weight:700}
.hd-cta{min-height:46px;padding:0 20px;font-size:16px;flex:none}
@media (max-width:1280px){.m-pc .hd{gap:14px}.m-pc .nav{gap:16px}.m-pc .nav a{font-size:16px}.m-pc .brand-t b{font-size:22px}.m-pc .brand-sub{font-size:16px}.m-pc.l-en .brand-t b,.m-pc.l-zh .brand-t b{font-size:18px}}
@media (max-width:1180px){.m-pc .hd{padding-left:24px;padding-right:24px}.m-pc .brand-t b{font-size:20px}.m-pc .brand-sub{font-size:15px}.m-pc .brand-mark{height:46px}.m-pc.l-en .brand-t b,.m-pc.l-zh .brand-t b{font-size:16px}}
@media (max-width:1180px){.m-pc .hd-cta{display:none}}
.m-mobile .hd-cta{display:none}
.hamb{display:none;min-height:44px;min-width:44px;border-radius:12px;border:1px solid #CFC6B4;background:#fff;align-items:center;justify-content:center;cursor:pointer;flex:none}
.m-mobile .hamb{display:inline-flex}
.mnav{position:absolute;top:100%;left:0;right:0;display:flex;flex-direction:column;padding:4px 16px 12px;background:var(--ivory);border-bottom:1px solid var(--line);box-shadow:0 14px 30px rgba(14,42,64,.18);animation:fadeIn .2s ease}
.mnav a{padding:14px 4px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-weight:500}

/* hero */
.hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:center;min-height:680px;padding:64px 48px;color:var(--ivory);background:linear-gradient(115deg,#0E2A40 0%,#153955 55%,#21506F 100%)}
.m-mobile .hero{grid-template-columns:1fr;gap:28px;padding:40px 18px 36px;min-height:0}
.hero-art{position:absolute;left:30%;top:50%;width:620px;height:620px;margin-top:-310px;opacity:.3;pointer-events:none}
.m-mobile .hero-art{left:auto;right:-160px;width:380px;height:380px;margin-top:-190px}
.hero-copy{position:relative;z-index:2;max-width:640px}
.hero .eyebrow{color:var(--copper-l)}
/* hero clinic name: larger, with the "VERYGOOD" part standing out */
.hero-name{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;margin-bottom:18px;letter-spacing:-.01em}
.hero-name .hn-a{font-size:30px;font-weight:900;color:var(--kakao)}
.hero-name .hn-b{margin-left:-8px;font-size:24px;font-weight:800;color:#fff}
.hero-name .hn-br{font-size:17px;font-weight:700;color:var(--copper-l)}
.m-mobile .hero-name .hn-a{font-size:24px}.m-mobile .hero-name .hn-b{font-size:19px}.m-mobile .hero-name .hn-br{font-size:14px}
.l-en .hero-name .hn-br,.l-zh .hero-name .hn-br{text-transform:uppercase;letter-spacing:.2em;font-size:13px}
.hero h1{margin:0 0 20px;font-weight:800;font-size:54px;line-height:1.3;letter-spacing:-.03em}
.hero h1 span{display:block}
.m-mobile .hero h1{font-size:32px}
.cred{display:inline-block;margin:0 0 8px;padding-left:14px;border-left:3px solid var(--copper);font-size:20px;font-weight:700}
.hero-sub{margin:6px 0 0;font-size:25px;font-weight:600;letter-spacing:-.02em;color:#C9D6DE;white-space:pre-wrap}
/* key words (implant, general care) stand out: bigger, bright, with a copper highlighter stroke under just those words */
.hero-sub .k{font-size:30px;font-weight:900;color:#fff;padding:0 4px;
  /* the two keywords (Korean) in NanumSquare ExtraBold, letters spaced a little wider */
  font-family:'NanumSquare','NanumSquareExtraBold','Nanum Gothic','Noto Sans KR',sans-serif;font-weight:800;font-synthesis:none;letter-spacing:.06em;background:linear-gradient(transparent 60%,rgba(194,138,91,.6) 60%,rgba(194,138,91,.6) 90%,transparent 90%)}
/* the treatments themselves, listed quietly under the line (same list as the consult bar) */
.hero-tx{display:flex;flex-wrap:wrap;gap:4px 22px;overflow:hidden;margin:12px 0 30px;font-size:16px;font-weight:500;color:#C9D6DE}
/* dots sit in the gap, so a wrapped line never starts with a dot */
.hero-tx span{position:relative;white-space:nowrap}
.hero-tx span+span::before{content:"";position:absolute;left:-12.5px;top:50%;width:3px;height:3px;border-radius:50%;background:var(--copper-l)}
.m-mobile .hero-sub{font-size:19px}
.m-mobile .hero-sub .k{font-size:23px}
.l-en .hero-sub .k{font-family:var(--sans);font-weight:900;text-transform:uppercase;letter-spacing:.06em;font-size:26px}
.m-mobile.l-en .hero-sub .k{font-size:19px}
.l-zh .hero-sub .k{font-family:var(--sans);font-weight:900;letter-spacing:.1em}
.m-mobile .hero-tx{font-size:14px;margin:10px 0 22px}
.m-mobile .hero-tx{gap:2px 16px}
.m-mobile .hero-tx span+span::before{left:-9.5px}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.hero .btn-kakao{min-height:60px;padding:0 30px;font-size:19px}
.hero-note{margin:18px 0 0;font-size:15px;color:#C9D6DE}
.hero-visual{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;gap:14px;min-height:520px;padding:26px;border-radius:26px;background:linear-gradient(160deg,rgba(247,244,238,.16),rgba(247,244,238,.05)),linear-gradient(135deg,#2B5D7E,#183F5C);border:1px solid rgba(247,244,238,.28);box-shadow:0 30px 60px rgba(5,18,30,.35)}
.m-mobile .hero-visual{min-height:0;aspect-ratio:4/3;padding:18px;border-radius:20px}
.hv-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.hero-visual::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,transparent 55%,rgba(10,30,46,.55));pointer-events:none}
.hv-play{position:relative;z-index:1}
.hv-tag{position:absolute;top:22px;left:24px;padding:6px 12px;border-radius:999px;background:rgba(14,42,64,.5);font-size:14px;color:#DCE8EF}
.m-mobile .hv-tag{top:14px;left:14px;font-size:13px}
.hv-play{display:inline-flex;align-items:center;gap:14px;align-self:flex-start;min-height:56px;padding:6px 22px 6px 6px;border-radius:999px;border:0;background:var(--ivory);color:var(--navy-d);font:inherit;font-size:17px;font-weight:800;cursor:pointer}
.hv-play i{width:44px;height:44px;border-radius:50%;background:var(--navy);display:flex;align-items:center;justify-content:center}
.hv-cap{margin:0;font-size:15px;color:#DCE8EF}

/* ===== chat: one conversation for the whole visit (v4: conversational, not a bot menu) ===== */
.chat{position:fixed;z-index:60;display:flex;flex-direction:column;background:#fff;color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.7;overflow:hidden}
.chat.closed{display:none}
.m-pc .chat{top:var(--hdB,72px);bottom:var(--barH);right:0;width:var(--chatW);border-left:1px solid #D9E1E8;box-shadow:-12px 0 40px rgba(10,26,40,.18);animation:slideR .28s ease}
.m-pc .chat-hd{padding:0 16px 0 24px;height:68px;box-sizing:border-box}
/* PC: detail and chat share the same header line and the same footer line */
.m-pc .p-head{height:68px;box-sizing:border-box;padding-top:0;padding-bottom:0}
.m-pc .p-foot{height:96px;box-sizing:border-box;padding-top:0;padding-bottom:0}
.m-pc .chat-body{padding:24px 28px 16px}
.m-pc .chat-start{padding:8px 24px 2px}
.m-pc .chat-in{padding:8px 24px 0;height:66px;box-sizing:border-box;border-top:1px solid #E6ECF0;margin-top:8px}
.m-pc .chat-note{height:30px;box-sizing:border-box;padding-top:6px;padding-bottom:0}
.m-mobile .chat{left:var(--fx);width:var(--fw);bottom:0;height:72vh;height:72dvh;z-index:80;border-radius:22px 22px 0 0;box-shadow:0 -18px 50px rgba(5,18,30,.3);animation:slideU .3s ease;transition:height .3s ease,border-radius .3s ease}
.m-mobile .chat.full{height:100vh;height:100dvh;border-radius:0}
.cbg{position:fixed;z-index:79;top:0;bottom:0;left:var(--fx);width:var(--fw);background:rgba(14,26,38,.42);animation:fadeIn .25s ease}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.grab{display:none}
.m-mobile .grab{display:flex;justify-content:center;align-items:center;width:100%;height:22px;padding:0;border:0;background:#fff;cursor:pointer;flex:none}
.grab i{width:44px;height:5px;border-radius:3px;background:#C5CFD8}
.chat-hd{display:flex;align-items:center;gap:8px;padding:8px 10px 8px 16px;border-bottom:1px solid #E6ECF0;flex:none}
.m-mobile .chat-hd{padding-top:2px}
.mk{width:26px;height:26px;border-radius:9px;background:var(--navy);display:inline-flex;align-items:center;justify-content:center;flex:none}
.mk img{height:72%;width:auto;display:block}
.chat-ti{display:flex;align-items:center;gap:8px;min-width:0;flex:1;line-height:1.25}
.chat-ti b{font-size:16px;font-weight:800;white-space:nowrap}
.chat-ti small{font-size:12.5px;color:#5D6B77;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-ti small{display:none}
.m-pc .chat-start{flex-wrap:wrap;overflow:visible}
.chat-lv{flex:none;min-height:42px;padding:0 8px;border:0;background:transparent;font:inherit;font-size:14.5px;font-weight:700;color:var(--navy);text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap}
.chat-call{display:inline-flex;align-items:center;gap:5px;flex:none;min-height:40px;padding:0 12px;border-radius:999px;border:0;background:#EAF0F5;color:var(--navy);font:inherit;font-size:14.5px;font-weight:800;cursor:pointer}
.chat-call:hover{background:#DCE6EE}
.chat-x{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 14px;border-radius:999px;border:1.5px solid var(--navy);background:#fff;font:inherit;font-size:15px;font-weight:800;color:var(--navy);cursor:pointer;flex:none;white-space:nowrap}

/* summary strip */
.csum{flex:none;background:#F6F8FA;border-bottom:1px solid #E6ECF0}
.csum-t{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:4px 16px;border:0;background:transparent;font:inherit;font-size:13.5px;color:#4F6273;cursor:pointer;text-align:left}
.csum-t em{font-style:normal;flex:none}
.csum-tags{display:flex;gap:5px;min-width:0;flex:1;overflow:hidden}
.l-en .csum-tags span,.l-en .csum-list b{text-transform:capitalize}
.csum-tags span{flex:none;padding:1px 9px;border-radius:999px;background:#fff;border:1px solid #D7E0E7;color:var(--navy);font-size:13px;font-weight:700;white-space:nowrap}
.csum-t i{font-style:normal;flex:none;transition:transform .2s}
.csum.open .csum-t i{transform:rotate(180deg)}
.csum-list{margin:0;padding:2px 16px 10px;list-style:none;display:flex;flex-direction:column;gap:6px}
.csum-list li{font-size:14px;line-height:1.5;color:var(--ink)}
.csum-list b{color:var(--navy);margin-right:6px}
.csum-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 16px 10px;font-size:12.5px;color:#5D6B77}
.csum-foot button{min-height:36px;padding:0 12px;border-radius:999px;border:1px solid #B9C6D1;background:#fff;font:inherit;font-size:13.5px;color:var(--ink);cursor:pointer;white-space:nowrap}

/* conversation */
.chat-body{flex:1;min-height:0;overflow-y:auto;padding:18px 18px 14px;display:flex;flex-direction:column;gap:16px;overscroll-behavior:contain}
.t-bot{display:flex;flex-direction:column;gap:6px;max-width:100%}
.t-who{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:var(--navy)}
.t-who .mk{width:22px;height:22px;border-radius:8px}
.t-txt{margin:0;white-space:pre-line}
.t-txt.stream::after{content:"";display:inline-block;width:8px;height:1.05em;margin-left:2px;vertical-align:-2px;background:var(--navy);opacity:.55;animation:blink 1s infinite}
.t-me{align-self:flex-end;max-width:84%;margin:0;padding:9px 16px;border-radius:20px 20px 6px 20px;background:#EAF0F5;white-space:pre-line}
.t-div{display:flex;align-items:center;gap:10px;font-size:12.5px;color:#6A7884;text-align:center}
.t-div::before,.t-div::after{content:"";flex:1;height:1px;background:#E3E9EE}
.t-resume{margin:0;padding:8px 12px;border-radius:12px;background:#F6F8FA;font-size:14.5px;color:#4F6273}
.t-card{display:flex;align-items:center;gap:12px;width:100%;margin-top:4px;padding:8px;border:1px solid #DCE4EA;border-radius:16px;background:#fff;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.t-card:hover{border-color:var(--navy)}
.cph{width:72px;height:72px;border-radius:12px;flex:none;overflow:hidden;padding:0!important;background:linear-gradient(140deg,#2C5574,#153955 60%,#0E2A40);display:flex;align-items:flex-end;padding:6px;font-size:10.5px;line-height:1.2;color:#C9D8E4}
.t-card span{display:flex;flex-direction:column;min-width:0;line-height:1.4}
.t-card small{font-size:12.5px;color:var(--copper-d);font-weight:700}
.t-card b{font-size:15.5px}
.t-card em{font-style:normal;white-space:nowrap;font-size:13.5px;color:var(--navy);font-weight:700;margin-top:2px}
.t-sugl{margin:4px 0 0;font-size:12.5px;color:#6A7884}
.t-sug{display:flex;flex-wrap:wrap;gap:6px}
.t-sug button{min-height:42px;padding:0 14px;border-radius:999px;border:1px solid #C9D5DF;background:#fff;font:inherit;font-size:15px;color:var(--ink);cursor:pointer;text-align:left;line-height:1.3}
.t-sug button:hover{border-color:var(--navy);background:#F6F8FA}
.lnk{display:inline;margin:0;padding:0;border:0;background:transparent;font:inherit;font-weight:800;color:var(--navy);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.cform{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid #DCE4EA;border-radius:16px;background:#FAFBFC;width:100%}
.cform b{font-size:16px}
.cf-l{font-size:14px;font-weight:700}
.cform input[type=text],.cform input[type=tel]{width:100%;min-height:46px;padding:0 12px;border:1.5px solid #B9C2C9;border-radius:10px;font:inherit;font-size:16px;background:#fff}
.cf-ck{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}
.cf-ck{display:block;margin:2px 0 0;line-height:1.5}
.cf-sens{margin:0;font-size:13px;color:#5D6B77}
.cform .btn{min-height:46px;font-size:16px}
.typing{display:inline-flex;gap:5px;padding:6px 0}
.typing i{width:7px;height:7px;border-radius:50%;background:#8A9BA8;animation:blink 1.2s infinite}
.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}

/* first-visit starters + return prompt + input */
.chat-start{flex:none;display:flex;gap:6px;overflow-x:auto;padding:8px 12px 2px;scrollbar-width:none}
.chat-start::-webkit-scrollbar{display:none}
.chat-start button{flex:none;min-height:42px;padding:0 14px;border-radius:999px;border:1px solid #C9D5DF;background:#fff;font:inherit;font-size:15px;color:var(--ink);cursor:pointer;white-space:nowrap}
.chat-gate{flex:none;margin:8px 12px 0;padding:14px 14px 12px;border-radius:14px;background:#FFF8E1;border:1px solid #F1DFA6;font-size:14.5px;line-height:1.55}
.chat-gate b{display:block;margin-bottom:4px;font-size:15.5px;color:var(--navy-d)}
.chat-gate p{margin:0 0 10px;color:#4A5663}
.g-acts{display:flex;flex-wrap:wrap;gap:8px}
.g-acts button{min-height:42px;padding:0 16px;border-radius:999px;font:inherit;font-size:14.5px;font-weight:800;cursor:pointer}
.g-acts .go{border:0;background:var(--navy);color:#fff}
.g-acts .new{border:1px solid #B9C6D1;background:#fff;color:var(--ink)}
.chat-gate.off{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;font-size:13.5px;color:#4A5663}
.chat-ret{flex:none;margin:8px 12px 0;padding:10px 12px;border-radius:14px;background:#F6F8FA;border:1px solid #E1E8EE;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14.5px}
.chat-ret span{flex:1 1 100%}
.chat-ret button{min-height:40px;padding:0 14px;border-radius:999px;font:inherit;font-size:14.5px;font-weight:700;cursor:pointer}
.chat-ret .go{border:0;background:var(--navy);color:#fff}
.chat-ret .new{border:1px solid #B9C6D1;background:#fff;color:var(--ink)}
.chat-in{display:flex;align-items:center;gap:8px;padding:10px 12px 6px;background:#fff;flex:none}
.chat-in input{flex:1;min-width:0;min-height:50px;padding:0 18px;border:1.5px solid #CFD9E1;border-radius:26px;background:#F6F8FA;font:inherit;font-size:17px;color:var(--ink)}
.chat-in input:focus{border-color:var(--navy);outline:none;background:#fff}
.send{width:50px;height:50px;border-radius:50%;border:0;background:var(--navy);display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.chat-note{margin:0;padding:0 12px 10px;background:#fff;font-size:12px;color:#5D6B77;text-align:center;flex:none}
@keyframes blink{0%,80%,100%{opacity:.3}40%{opacity:1}}
@keyframes popUp{from{transform:translateY(20px) scale(.97);opacity:0}to{transform:none;opacity:1}}

/* launcher (PC) */
.launch{position:fixed;z-index:44;right:24px;bottom:calc(var(--barH) + 16px);display:none;align-items:center;gap:12px;min-height:66px;padding:8px 26px 8px 10px;border-radius:999px;border:0;background:var(--kakao);color:#1B2733;font:inherit;font-family:var(--sans);cursor:pointer;box-shadow:0 12px 30px rgba(14,42,64,.35);text-align:left}
.m-pc .launch{display:flex}
.launch .av{width:48px;height:48px;border-radius:50%}
.launch span{display:flex;flex-direction:column;line-height:1.25}
.launch b{font-size:19px;font-weight:800}
/* PC quick buttons stacked above the chat button: phone and directions are always one click away */
.dock{display:none}
.m-pc .dock{position:fixed;z-index:44;right:24px;bottom:calc(var(--barH) + 96px);display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.dk{display:inline-flex;align-items:center;gap:8px;min-height:50px;padding:0 20px 0 16px;border-radius:999px;font:inherit;font-family:var(--sans);font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 8px 22px rgba(14,42,64,.22)}
.dk-call{background:var(--navy);color:#fff;border:0}
.dk-call:hover{background:var(--navy-d)}
.dk-map{background:#fff;color:var(--navy);border:1.5px solid var(--navy)}
.dk-map:hover{background:#F2F5F8}
.launch small{font-size:14px;font-weight:500}
.launch::before{content:"";position:absolute;inset:-6px;border-radius:999px;border:2px solid rgba(254,229,0,.7);animation:ring 2.4s ease-out infinite;pointer-events:none}
@keyframes ring{0%{transform:scale(.96);opacity:1}100%{transform:scale(1.12);opacity:0}}

/* bottom consult bar: always there */
.bar{position:fixed;z-index:45;bottom:0;left:var(--fx);width:var(--fw);background:#fff;border-top:2px solid var(--navy);box-shadow:0 -8px 28px rgba(14,42,64,.14);font-family:var(--sans);color:var(--ink);transition:opacity .6s ease,box-shadow .4s ease}
.bar.dim{opacity:.5}
/* mobile: input rows fade first, then fold smoothly down to the button row (no jump) */
.m-mobile .bar.dim{opacity:.94}
.m-mobile .bar-in{grid-template-rows:40px auto 22px;transition:grid-template-rows .55s ease .12s,row-gap .55s ease .12s,padding .55s ease .12s}
.m-mobile .b-name,.m-mobile .b-phone,.m-mobile .b-ck{min-height:0;transition:opacity .3s ease}
.m-mobile .bar.dim .bar-in{grid-template-rows:0px auto 0px;row-gap:0;padding-top:8px;transition:grid-template-rows .55s ease .15s,row-gap .55s ease .15s,padding .55s ease .15s}
.m-mobile .bar.dim .b-name,.m-mobile .bar.dim .b-phone,.m-mobile .bar.dim .b-ck{opacity:0;overflow:hidden;pointer-events:none}
.m-mobile .bar.dim .tip{display:none}
.m-mobile .b-phone .tip,.m-mobile .b-ck .tip{left:auto;right:0}
.m-mobile .bar .tip{font-size:14px;line-height:1.4;padding:8px 14px;border-radius:14px;white-space:normal;max-width:calc(var(--fw) - 20px);width:max-content}
.m-mobile .fab.hide{opacity:0;pointer-events:none}
.bar.dim:hover,.bar.dim:focus-within{opacity:1;transform:none}
.bar-in{display:grid;grid-template-columns:auto minmax(110px,1fr) minmax(140px,1.2fr) minmax(170px,1fr) auto auto;gap:10px;align-items:center;max-width:1440px;margin:0 auto;padding:13px 24px}
.m-mobile .bar-in{grid-template-columns:1fr 1fr;grid-template-areas:"name phone" "pick acts" "ck ck";gap:6px 8px;padding:7px 10px 4px;max-width:640px}
.b-intro{display:flex;flex-direction:column;line-height:1.3}
.b-intro b{font-size:18px;font-weight:800;color:var(--navy);white-space:nowrap}
.b-intro small{font-size:13px;color:var(--muted);white-space:nowrap}
.m-mobile .b-intro{display:none}
@media (max-width:1240px){.m-pc .b-intro small{display:none}}
@media (max-width:1120px){.m-pc .b-intro{display:none}.m-pc .bar-in{grid-template-columns:minmax(100px,1fr) minmax(130px,1.2fr) minmax(160px,1fr) auto auto}}
.m-mobile .b-name{grid-area:name}.m-mobile .b-phone{grid-area:phone}.m-mobile .b-pick{grid-area:pick}.m-mobile .b-ck{grid-area:ck}.m-mobile .b-acts{grid-area:acts}
.bar input[type=text],.bar input[type=tel]{width:100%;min-height:50px;padding:0 14px;border:1.5px solid #B9C2C9;border-radius:12px;background:#fff;font:inherit;font-size:17px;color:var(--ink)}
.m-mobile .bar input[type=text],.m-mobile .bar input[type=tel]{min-height:40px;font-size:16px}
.bar input:focus{border-color:var(--navy);outline:3px solid rgba(194,138,91,.45);outline-offset:0}
.b-pick{position:relative;min-width:0}
.pickbtn > span:not([aria-hidden]){min-width:0;overflow:hidden;text-overflow:ellipsis}
.b-ck{min-width:0}
.pickbtn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:50px;padding:0 12px;border:1.5px solid #B9C2C9;border-radius:12px;background:#fff;font:inherit;font-size:16px;color:var(--ink);cursor:pointer;white-space:nowrap}
.m-mobile .pickbtn{min-height:40px;font-size:15px}
.pickbtn small{color:var(--muted);font-size:13px}
.picks{position:absolute;bottom:calc(100% + 8px);left:0;right:0;z-index:2;display:flex;flex-direction:column;padding:6px;border-radius:14px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px rgba(14,42,64,.2)}
.picks button{min-height:46px;padding:0 12px;border:0;border-radius:10px;background:transparent;font:inherit;font-size:16px;text-align:left;cursor:pointer;color:var(--ink)}
.picks button[aria-pressed="true"]{background:var(--sand);font-weight:700}
.b-ck{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.35;color:var(--muted)}
.b-ck input{width:24px;height:24px;margin:0;flex:none}
.ck-txt{display:inline}
.m-mobile .ck-txt b{display:none}
.m-mobile .ck-txt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-pc .ck-txt{white-space:nowrap}
.b-ck b{color:var(--ink)}
.b-more{flex:none;min-height:36px;padding:0 4px;border:0;background:transparent;font:inherit;font-size:13px;color:var(--navy);text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap}
.b-acts{display:flex;gap:8px}
.m-mobile .b-acts{display:flex}
.m-mobile .b-acts .btn{flex:1}
.bar .btn{min-height:50px;padding:0 20px;font-size:16px}
.m-mobile .bar .btn{min-height:40px;padding:0 6px;font-size:15px}
.b-ai{display:none!important}
.m-mobile .b-callpc{display:none!important}
.b-callm{display:none!important}
.m-mobile .b-ck{justify-content:space-between;font-size:13px;line-height:1.3}
.m-mobile .b-ck input{width:20px;height:20px}
.m-mobile .b-ck b{font-weight:600}
.ck-l{display:none}.m-mobile .ck-l{display:inline}.m-mobile .ck-s{display:none}
.m-mobile .b-more{min-height:22px;font-size:13px}
/* floating AI / phone buttons (mobile): follow the page like a messenger icon, step aside while scrolling */
.fab{display:none}
.m-mobile .fab{position:fixed;z-index:46;right:calc(var(--fx) + 12px);bottom:calc(var(--barH) + 12px);display:flex;flex-direction:column;gap:10px;transition:bottom .55s ease .12s,opacity .35s ease,transform .35s ease}
.m-mobile .fab.low{bottom:calc(var(--barLow,64px) + 12px)}
.m-mobile .fab.moving{opacity:.35;transform:translateX(8px)}
.m-mobile .fab.tuck{transform:translateX(34px)}
.m-mobile .fab.tuck button{box-shadow:0 6px 16px rgba(14,42,64,.28)}
.fab button{width:60px;height:60px;border-radius:50%;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font:inherit;font-family:var(--sans);font-size:11.5px;font-weight:800;line-height:1.1;cursor:pointer;box-shadow:0 8px 22px rgba(14,42,64,.32)}
.fab .f-ai{background:var(--kakao);color:#1B2733}
.fab .f-call{background:var(--navy);color:#fff}
.bar.hl{opacity:1;box-shadow:0 -8px 0 rgba(194,138,91,.35),0 -14px 40px rgba(194,138,91,.45);border-top-color:var(--copper)}
.bar.hl .b-name input{border-color:var(--copper-d);outline:4px solid rgba(194,138,91,.55);outline-offset:0;animation:nudge .5s ease 2}
@keyframes nudge{0%,100%{transform:none}50%{transform:translateY(-3px)}}
.b-name{position:relative}
.b-phone,.b-ck{position:relative}
.tip{display:none}
.tip.show{display:block}
.tip.err{background:#9B2C2C}
.bar input.bad{border-color:#9B2C2C;outline:3px solid rgba(155,44,44,.25)}
.tip{position:absolute;z-index:3;bottom:calc(100% + 12px);left:0;padding:10px 18px;border-radius:999px;background:var(--copper-d);color:#fff;font-size:16px;font-weight:700;white-space:nowrap;box-shadow:0 10px 24px rgba(14,42,64,.25);animation:popUp .25s ease}
.toast{display:none}
.toast.show{display:block}
.toast{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);max-width:calc(100% - 20px);padding:10px 18px;border-radius:12px;background:var(--navy-d);color:#fff;font-size:15px}
.toast.err{background:#9B2C2C}
.m-mobile .toast{left:10px;right:10px;transform:none;text-align:center}

/* sections */
.sec{padding:96px 48px}
.m-mobile .sec{padding:56px 18px}
.in{max-width:var(--cw);margin:0 auto}
.m-mobile .in{max-width:640px}
.sand{background:var(--sand)}
.eyebrow{margin:0 0 10px;font-size:15px;font-weight:700;letter-spacing:.06em;color:var(--copper-d)}
.h2{margin:0 0 36px;font-weight:800;font-size:40px;line-height:1.35;letter-spacing:-.03em}
.h2 span{display:block}
.m-mobile .h2{font-size:27px;margin-bottom:26px}
.sub{margin:-20px 0 32px;color:var(--muted)}

/* concerns */
.concern-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.m-mobile .concern-grid{grid-template-columns:1fr;gap:10px}
.concern{display:flex;align-items:center;gap:14px;min-height:78px;padding:14px 20px;background:#fff;border:1px solid var(--line);border-radius:16px;color:var(--ink);font:inherit;font-weight:500;text-align:left;cursor:pointer;transition:border-color .2s,transform .2s}
.concern:hover{border-color:var(--copper);transform:translateY(-2px)}
.cn{font-weight:800;font-size:18px;color:var(--copper-d)}
.cgo{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#FFF6B8;color:#5A4A00;font-size:14px;font-weight:700;white-space:nowrap;flex:none}
.c-hint{margin:16px 0 0;color:var(--muted);font-size:16px}

/* implants */
.impl-grid{display:grid;grid-template-columns:1.3fr 1fr;grid-template-areas:"a b" "a c";gap:24px}
.m-mobile .impl-grid{grid-template-columns:1fr;grid-template-areas:"a" "b" "c";gap:16px}
.card{display:flex;flex-direction:column;gap:12px;padding:28px;background:#fff;border:1px solid var(--line);border-radius:20px}
.ic-a{grid-area:a;background:var(--navy);color:var(--ivory);border-color:var(--navy);padding:32px}
.ic-b{grid-area:b}.ic-c{grid-area:c}
.m-mobile .card{padding:20px}
.tier{margin:0;font-size:14px;font-weight:700;color:var(--copper-d)}
.ic-a .tier{color:var(--copper-l)}
.card h3{margin:0;font-size:27px;font-weight:800;line-height:1.35;letter-spacing:-.02em}
.ic-a h3{font-size:34px}
.m-mobile .ic-a h3{font-size:28px}
.card p{margin:0}
.ph{position:relative;display:flex;align-items:flex-end;justify-content:flex-start;min-height:170px;padding:14px;border-radius:14px;background:linear-gradient(135deg,#DCE6EC,#C3D3DD);border:1px dashed #9DB3C1;color:#32495A;font-size:14px;font-weight:500}
.ph-tall{min-height:300px}
/* illustrations / photos inside the old placeholder frames */
.art-ph{padding:0!important;overflow:hidden;border-style:solid!important;border-color:var(--line)!important;background:var(--ivory)!important}
.art-ph .art,.g-art .art,.call-ph .art,.cph .art{display:block;width:100%;height:100%;object-fit:cover}
.art-ph.ph-tall,.p-media .art-ph{aspect-ratio:4/3;min-height:0}
.guide-art{aspect-ratio:4/3;min-height:0;max-width:420px}
.g-art{margin:-24px -24px 14px;aspect-ratio:16/9;overflow:hidden;border-radius:18px 18px 0 0;background:var(--ivory)}
.m-mobile .g-art{margin:-18px -18px 12px}
.dark .art-ph{border-color:rgba(247,244,238,.25)!important}
.vscreen{position:relative}
.vscreen i{position:relative;z-index:1}
.vscreen .art{position:absolute;inset:0}
.vlabel{position:absolute;left:14px;bottom:12px;z-index:1;padding:4px 12px;border-radius:999px;background:rgba(14,42,64,.75);color:#fff;font-size:14px;font-weight:700}
.map-ph{display:block;aspect-ratio:4/3;min-height:0}
#care .art-ph[style]{aspect-ratio:16/10;min-height:0}
/* clinical photo gallery in the detail popup */
.cases{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.cases-hd{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-bottom:12px}
.cases-hd h4{margin:0;font-size:20px;font-weight:800;color:var(--navy-d)}
.cases-hd span{font-size:13.5px;color:var(--muted)}
.cases-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.m-mobile .cases-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.m-mobile .case-ph:first-child:nth-last-child(odd){grid-column:1/-1}
.case-ph{margin:0;display:flex;flex-direction:column;gap:6px}
.case-ph img,.case-slot{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/3;border-radius:12px;object-fit:cover}
.case-slot{border:1.5px dashed #B7C4CF;background:repeating-linear-gradient(135deg,#F4F7F9 0 12px,#EEF2F5 12px 24px);color:#6A7884;font-size:13.5px;font-weight:700}
.case-ph figcaption{font-size:13.5px;color:#4A5663}
.ic-a .ph{background:linear-gradient(135deg,#21506F,#2D6283);border-color:#5E8AA6;color:#DCE8EF}
.m-mobile .ph-tall{min-height:200px}
.m-mobile .ph{min-height:140px}
.link-btn{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:5px;cursor:pointer}
.link-btn:hover{color:var(--copper-d)}
.ic-a .link-btn:hover{color:var(--copper-l)}
.common{margin-top:48px;padding:32px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.m-mobile .common{padding:18px;margin-top:36px}
.common h3{margin:0 0 6px;font-size:25px;font-weight:800}
.grp{margin:22px 0 4px;font-weight:700}
.grp small{display:block;font-weight:400;color:var(--muted);font-size:16px}
.gl{border-top:1px solid var(--line)}
.gq{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:60px;padding:12px 4px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-weight:500;text-align:left;cursor:pointer}
.gq:hover{color:var(--copper-d)}
.gq[aria-expanded="true"]{color:var(--copper-d);font-weight:700}
.gq i{font-style:normal;font-size:24px;color:var(--copper-d);flex:none}
.ga{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:center;padding:18px 4px 24px;border-bottom:1px solid var(--line);animation:fade .25s ease}
.m-mobile .ga{grid-template-columns:1fr;gap:14px}
.ga p{margin:0;color:var(--muted)}
.ga .ph{min-height:190px;background:linear-gradient(135deg,#EAF0F4,#D2DFE7)}
.ga .ph svg{position:absolute;inset:0;margin:auto;opacity:.6}
.cta-row{margin-top:32px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;padding:26px 30px;border-radius:20px;background:var(--sand)}
.m-mobile .cta-row{padding:20px 18px}
.m-mobile .cta-row .actions{width:100%}
.m-mobile .cta-row .btn{flex:1}
.cta-row p{margin:0;font-weight:500}
.cta-row .actions{gap:10px}

/* general care */
.gen-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:dense;gap:20px}
.m-mobile .gen-grid{grid-template-columns:1fr;gap:12px}
.gcard{display:flex;flex-direction:column;gap:6px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:18px}
.gcard.feat{grid-column:span 2;background:var(--navy);color:var(--ivory);border-color:var(--navy);padding:30px}
.m-mobile .gcard.feat{grid-column:span 1}
.gnum{margin:0;font-weight:800;color:var(--copper-d)}
.feat .gnum{color:var(--copper-l)}
.gcard h3{margin:0;font-size:23px;font-weight:800;line-height:1.35}
.feat h3{font-size:29px}
.gshort{margin:0;font-size:15px;font-weight:700;color:var(--copper-d)}
.feat .gshort{color:var(--copper-l)}
.gcard p.gd{margin:4px 0 4px;color:var(--muted)}
.feat p.gd{color:#DCE5EA}

/* doctor */
.doc{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:56px;align-items:start}
.m-mobile .doc{grid-template-columns:1fr;gap:32px}
.portrait{min-height:440px;border-radius:18px}
.m-mobile .portrait{min-height:300px}
.doc-id{margin-top:18px}
.doc-id p{margin:0}
.doc-name{font-size:26px;font-weight:800;letter-spacing:-.01em}
.doc-name.sm{font-size:21px}
.doc-role{font-size:14px;font-weight:800;letter-spacing:.04em;color:var(--copper-d)}
.doc-cv{margin:8px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px;font-size:16px;color:#33414E}
.doc-cv li{position:relative;padding-left:14px}
.doc-cv li::before{content:"";position:absolute;left:0;top:.72em;width:5px;height:5px;border-radius:50%;background:var(--copper)}
.docs{display:flex;flex-direction:column;gap:22px}
.dcard{display:grid;grid-template-columns:104px minmax(0,1fr);gap:18px;align-items:center;padding:16px;border-radius:18px;background:#fff;border:1px solid var(--line)}
.dphoto,.m-mobile .dphoto{min-height:0;width:100%;aspect-ratio:1;border-radius:14px;padding:8px;font-size:11px}
.doc-cred{margin:4px 0!important;font-weight:700;color:var(--copper-d)}
.rel{padding:28px;border-radius:22px;background:#fff;border:1px solid var(--line)}
.m-mobile .rel{padding:18px}
.rel h3{margin:0 0 6px;font-size:28px;font-weight:800;line-height:1.35;letter-spacing:-.02em}
.m-mobile .rel h3{font-size:23px}
.rel .lead{margin:0 0 18px;color:var(--muted)}
.rel-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:center}
.m-mobile .rel-body{grid-template-columns:1fr;gap:12px}
.rel svg{width:100%;height:auto;display:block}
.legend{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.legend li{display:flex;gap:12px;align-items:flex-start}
.lg-t b{display:block;line-height:1.35}
.lg-t span{display:block;font-size:15px;color:var(--muted);line-height:1.45}
.legend .num{width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;font-size:15px;font-weight:800;line-height:1;display:flex;align-items:center;justify-content:center;flex:none;margin-top:2px}
.legend li:first-child .num{background:var(--copper-d)}
.legend li:last-child .num{background:var(--copper-d)}
.jaw{margin:16px 0 0;padding-top:14px;border-top:1px dashed var(--line);color:var(--muted);font-size:16px}
.phil{background:#fff}
.phil-h{margin:0 0 14px;font-size:46px;font-weight:900;line-height:1.3;letter-spacing:-.03em;color:var(--navy-d)}
.m-mobile .phil-h{font-size:30px}
.phil-lead{max-width:760px;margin:0 0 36px;font-size:20px;line-height:1.75;color:var(--muted)}
.m-mobile .phil-lead{font-size:17px;margin-bottom:24px}
.phil-card{padding:32px 40px;border-radius:24px;background:var(--ivory);border:1px solid var(--line)}
.m-mobile .phil-card{padding:18px}
.phil-card .rel-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}
.m-mobile .phil-card .rel-body{grid-template-columns:1fr;gap:16px}
.phil-card svg{width:100%;max-width:440px;height:auto;display:block;margin:0 auto}
.phil-sub{margin:44px 0 16px;font-size:26px;font-weight:800;letter-spacing:-.02em;color:var(--navy-d)}
.m-mobile .phil-sub{font-size:21px;margin-top:32px}
.phil-steps li{background:var(--ivory)}
.phil-q{margin:28px 0 0;padding:26px 32px;border-left:5px solid var(--copper);border-radius:0 18px 18px 0;background:var(--sand)}
.m-mobile .phil-q{padding:18px 20px}
.phil-q strong{display:block;margin-bottom:6px;font-size:20px;color:var(--navy-d)}
.phil-q p{margin:0;font-size:18px;color:#33414E}
.phil-q cite{display:block;margin-top:12px;font-style:normal;font-size:15px;font-weight:700;color:var(--copper-d)}
/* doctors: every doctor gets the same card; the lead dentist simply comes first */
.dgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.m-mobile .dgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dcard2{display:flex;flex-direction:column}
.dphoto2,.m-mobile .dphoto2{min-height:0;aspect-ratio:4/5;border-radius:18px}
.d-head{display:flex;flex-direction:column-reverse;align-items:flex-start;gap:2px;margin:18px 0 10px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.m-mobile .d-head{margin:12px 0 8px;padding-bottom:8px}
.d-head .doc-name{font-size:24px}
.m-mobile .d-head .doc-name{font-size:19px}
.d-head .doc-role{font-size:15px}
.m-mobile .dcard2 .doc-cv{font-size:14px}
.comm{margin-top:20px;padding:18px 20px;border-left:4px solid var(--copper);background:#fff;border-radius:0 14px 14px 0}
.comm strong{display:block;margin-bottom:4px}
.comm p{margin:0;color:var(--muted)}

/* aftercare */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
.m-mobile .steps{grid-template-columns:1fr;gap:12px}
.steps li{padding:24px;border-top:3px solid var(--copper);background:#fff;border-radius:0 0 16px 16px}
.steps li b{display:block;font-size:21px;font-weight:800;margin-bottom:6px}
.steps li p{margin:0;color:var(--muted)}

/* infection */
.dark{background:var(--navy-d);color:var(--ivory)}
.dark .eyebrow{color:var(--copper-l)}
.flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 28px;padding:0;list-style:none}
.m-mobile .flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.flow li{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid rgba(247,244,238,.25);border-radius:16px;background:rgba(247,244,238,.06)}
.flow li b{font-size:21px;font-weight:800}
.flow li b em{font-style:normal;color:var(--copper-l);margin-right:8px}
.dark .ph{background:rgba(247,244,238,.1);border-color:rgba(247,244,238,.35);color:#DCE8EF;min-height:110px}
.h3{margin:0 0 14px;font-size:25px;font-weight:800;line-height:1.4}
.water{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;margin-top:44px;padding-top:36px;border-top:1px solid rgba(247,244,238,.25)}
.m-mobile .water{grid-template-columns:1fr;gap:20px}
.water p{margin:0 0 12px;color:#DCE5EA}
.uses{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.uses li{padding:10px 16px;border-radius:999px;border:1px solid rgba(247,244,238,.4);font-weight:500}

/* consult (uses the bottom bar) */
.cons{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:stretch}
.m-mobile .cons{grid-template-columns:1fr;gap:20px}
.reas{display:flex;flex-direction:column;gap:12px}
.reas p{margin:0;padding:16px 20px;background:#fff;border:1px solid var(--line);border-radius:14px}
.reas strong{display:block}
.reas span{color:var(--muted)}
.ccta{display:flex;flex-direction:column;gap:14px;justify-content:center;padding:32px;border-radius:22px;background:var(--navy);color:var(--ivory)}
.m-mobile .ccta{padding:22px}
.ccta h3{margin:0;font-size:26px;font-weight:800;line-height:1.4}
.ccta p{margin:0;color:#DCE5EA}
.ccta .btn{width:100%;min-height:58px;font-size:18px;white-space:normal}
.ccta small{color:#C9D6DE;font-size:15px}

/* visit (compact) */
.visit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.m-mobile .visit{grid-template-columns:1fr;gap:16px}
.vcard{padding:26px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.m-mobile .vcard{padding:18px}
.vcard h3{margin:0 0 6px;font-size:22px;font-weight:800}
.vcard p{margin:0 0 12px;color:var(--muted)}
.map-ph{min-height:190px;margin-bottom:16px}
.vcard .actions .btn{min-height:50px;font-size:16px;padding:0 18px}
.m-mobile .vcard .actions .btn{flex:1}
.tabs{display:flex;gap:6px;margin-bottom:12px;padding:4px;border-radius:14px;background:var(--sand)}
.tabs button{flex:1;min-height:48px;padding:0 8px;border:0;border-radius:10px;background:transparent;font:inherit;font-size:16px;font-weight:500;color:var(--ink);cursor:pointer}
.tabs button[aria-selected="true"]{background:#fff;font-weight:800;color:var(--navy);box-shadow:0 2px 8px rgba(14,42,64,.1)}
dl.kv{margin:0;display:grid}
dl.kv div{display:grid;grid-template-columns:130px 1fr;gap:12px;padding:12px 2px;border-bottom:1px solid var(--line)}
.m-mobile dl.kv div{grid-template-columns:118px 1fr;gap:10px}
dl.kv dt{word-break:keep-all;overflow-wrap:break-word}
dl.kv dt{font-weight:700}
dl.kv dd{margin:0;color:var(--muted)}
.vcol{display:flex;flex-direction:column;gap:24px}
.m-mobile .vcol{gap:16px}
.hours{margin:6px 0 0;padding:0;list-style:none}
.hours li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 4px;border-bottom:1px solid var(--line);font-size:18px}
.hours .hk{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.hours .hv{font-weight:800;color:var(--navy);font-variant-numeric:tabular-nums}
.hours li.lunch{font-size:16px}.hours li.lunch .hk,.hours li.lunch .hv{font-weight:500;color:var(--muted)}
.hours li.closed .hv{color:#9B2C2C}
.hours li.now{margin:0 -10px;padding:13px 14px;border-radius:12px;border-bottom-color:transparent;background:#FFF6D6}
.hours em{font-style:normal;padding:2px 8px;border-radius:999px;background:var(--navy);color:#fff;font-size:12px;font-weight:800}
.hnote{margin:12px 0 0!important;font-size:14px}
.hol{margin:14px 0 0!important;font-size:16px}
.hol strong{color:var(--ink)}
.vvid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:24px;align-items:center;margin-top:24px;padding:26px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.m-mobile .vvid{grid-template-columns:1fr;gap:14px;padding:18px}
.vvid h3{margin:0 0 12px;font-size:22px;font-weight:800}
.vchips{display:flex;flex-direction:column;gap:8px}
.m-mobile .vchips{flex-direction:row;flex-wrap:wrap}
.vchips button{min-height:48px;padding:0 16px;border-radius:12px;border:1.5px solid #B9C2C9;background:#fff;font:inherit;font-size:16px;text-align:left;color:var(--ink);cursor:pointer}
.vchips button[aria-pressed="true"]{border-color:var(--navy);background:var(--navy);color:#fff;font-weight:700}
.vscreen{aspect-ratio:16/9;min-height:0;align-items:center;justify-content:center;flex-direction:column;gap:10px}
.vscreen i{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.85);display:flex;align-items:center;justify-content:center}
.ft{padding:32px 48px 40px;background:var(--navy-d);color:#C9D6DE;font-size:15px;line-height:1.7}
.m-mobile .ft{padding:26px 18px}
.ft p{margin:0}
.ft a{color:#fff}
.cdoc-h{font-size:24px!important}
.cdoc-intro{margin:0;font-size:16px;color:#33414E}
.cdoc-sec h4{margin:6px 0 6px;font-size:17px;font-weight:800;color:var(--navy-d)}
.cdoc-sec ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px;font-size:15.5px;line-height:1.6;color:#33414E}
.cdoc-ver{margin:6px 0 0;font-size:12.5px;color:var(--muted)}
.ft-links{margin-top:6px!important}
.ft-links button{padding:0;border:0;background:transparent;font:inherit;font-weight:800;color:#fff;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.v-addr{font-weight:700}
.v-tel{display:flex;align-items:center;gap:6px;margin-top:-4px!important;font-weight:700}
.v-tel a{color:var(--navy);text-decoration:none}
/* top info line (PC): address and phone always at hand, like most clinic sites */
.util{display:none}
.m-pc .util{display:flex;justify-content:flex-end;align-items:center;gap:22px;padding:7px max(var(--gut),calc((100% - var(--cw)) / 2));background:#fff;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}
.util span,.util a{display:inline-flex;align-items:center;gap:6px;color:var(--ink);text-decoration:none}
.util a{font-weight:800;color:var(--navy)}

/* detail panel: header / scrolling body / fixed footer */
.pbg{position:fixed;inset:0;z-index:40;background:rgba(10,26,40,.5);animation:fade .2s ease}
.panel{position:fixed;z-index:41;display:flex;flex-direction:column;overflow:hidden;background:#FBF9F4;color:var(--ink);font-family:var(--sans);box-shadow:-12px 0 40px rgba(10,26,40,.25)}
.m-pc .panel{--pw:min(var(--popMax),calc(100vw - var(--chatW) - 48px));top:var(--hdB,72px);bottom:var(--barH);right:auto;left:calc(100vw - var(--chatW) - var(--popGap) - var(--pw));width:var(--pw);height:auto;transform:none;border-radius:0;box-shadow:0 30px 80px rgba(5,18,30,.4);animation:fadeIn .22s ease;container-type:inline-size}
.m-pc .pbg{z-index:40}
/* consent / policy text can open on top of the chat (mobile) without closing it */
.m-mobile .pbg.over{z-index:90}
.m-mobile .panel.small{z-index:91;top:auto;bottom:0;max-height:86vh}
/* small popups (phone, consent): a compact card in the middle of the free space */
/* chat closed: exactly in the middle of the screen; chat open: in the middle of the space left of the chat */
.m-pc .panel.small{--pw:min(940px,calc(100vw - 48px));top:calc(var(--hdB,72px) + (100vh - var(--hdB,72px) - var(--barH)) / 2);bottom:auto;height:auto;max-height:calc(100vh - var(--hdB,72px) - var(--barH) - 40px);left:calc((100vw - var(--pw)) / 2);transform:translateY(-50%);border-radius:22px}
.m-pc .panel.small.withchat{--pw:min(940px,calc(100vw - var(--chatW) - 48px));left:calc((100vw - var(--chatW) - var(--pw)) / 2)}
.m-pc .panel.small .p-head{height:auto;padding:14px 24px 10px}
.call{display:flex;flex-direction:column;gap:20px}
.call-ph{position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;min-height:220px;padding:0;border-radius:18px;overflow:hidden;color:#fff;background:radial-gradient(120% 90% at 20% 15%,rgba(255,236,206,.55),transparent 60%),linear-gradient(150deg,#C99A6E 0%,#8A5428 55%,#4B2E18 100%)}
.call-ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(20,12,6,.55));pointer-events:none}
.call-ph-tag,.call-ph-cap{position:relative;z-index:1}
.call-ph-tag{align-self:flex-start;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.22);font-size:12.5px;font-weight:700}
.call-ph-cap{font-size:14px;line-height:1.55}
.call-tx{display:flex;flex-direction:column;gap:12px}
.call-kick{margin:0;font-size:14px;font-weight:800;letter-spacing:.06em;color:var(--copper-d)}
.call h3{margin:0}
.m-pc .call h3{font-size:30px;line-height:1.4}
.call-body{margin:0;font-size:18px;line-height:1.75;color:#33414E}
.call-box{display:grid;grid-template-columns:1fr auto;grid-template-areas:"lb btn" "num btn";align-items:center;gap:2px 16px;margin-top:6px;padding:16px 18px;border-radius:16px;background:#fff;border:1px solid var(--line)}
.call-box small{grid-area:lb;font-size:13px;font-weight:700;color:var(--muted)}
.call-box b{grid-area:num;white-space:nowrap;font-size:26px;font-weight:800;letter-spacing:.02em;color:var(--navy)}
.call-btn{grid-area:btn;min-height:58px;padding:0 26px;font-size:18px}
.call-sub{margin:0;font-size:15px;color:var(--muted)}
.call-alt{margin:0;font-size:15px;color:var(--muted)}
.m-mobile .call-box{grid-template-columns:1fr;grid-template-areas:"lb" "num" "btn"}
.m-mobile .call-btn{margin-top:10px;width:100%}
.m-mobile .call-box b{font-size:22px}
@container (min-width:720px){
  .call{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px;align-items:stretch}
  .call-ph{min-height:420px}
}
/* detail content: big photo left, text right when the popup is wide enough */
.p-grid,.p-text{display:flex;flex-direction:column;gap:14px}
.m-mobile .p-text{display:contents}
.m-mobile .p-grid h3{order:-1}
.m-pc .panel h3{font-size:34px}
.m-pc .p-text p{font-size:19px}
@container (min-width:820px){
  .p-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:36px;align-items:start}
  .p-media{position:sticky;top:0}
  .p-media .ph{min-height:0;aspect-ratio:4/3}
}
.m-mobile .panel{top:56px;bottom:var(--barH);left:var(--fx);width:var(--fw);border-radius:22px 22px 0 0;animation:slideU .3s ease}
.p-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 28px 12px;flex:none;border-bottom:1px solid var(--line)}
.m-mobile .p-head{padding:10px 16px}
.panel-tag{font-size:14px;font-weight:700;color:var(--copper-d)}
.panel-x{min-height:46px;padding:0 18px;border-radius:999px;border:1.5px solid var(--navy);background:#fff;color:var(--navy);font:inherit;font-weight:800;cursor:pointer;flex:none}
.p-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:14px;padding:20px 28px 28px}
.m-mobile .p-body{padding:16px 16px 24px}
.panel h3{margin:0;font-size:30px;font-weight:800;line-height:1.35;letter-spacing:-.02em}
.m-mobile .panel h3{font-size:25px}
.panel p{margin:0}
.pnote{color:var(--muted)}
.case{padding:16px 18px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.case strong{display:block;margin-bottom:4px}
.case p{color:var(--muted)}
.addr{padding:10px 12px;border-radius:12px;border:1.5px dashed #9AA7B1;background:#F1F4F6;font-family:'Noto Sans KR',system-ui,sans-serif;font-size:13px;line-height:1.5;color:#32495A}
.addr code{font-size:14px;font-weight:700;color:var(--navy-d);word-break:break-all}
.p-foot{flex:none;display:flex;align-items:center;gap:12px;padding:14px 28px 16px;background:#fff;border-top:1px solid var(--line)}
.p-foot p{margin:0 auto 0 0;font-weight:700;font-size:16px}
.p-foot .btn{min-height:52px;padding:0 22px}
.m-mobile .p-foot{display:none}
.p-mhint{display:none;padding:12px 14px;border-radius:12px;background:#FFF8CC;font-size:15px;color:#4A3F00}
.m-mobile .p-mhint{display:block}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes slideR{from{transform:translateX(48px);opacity:0}to{transform:none;opacity:1}}
@keyframes slideU{from{transform:translateY(60px);opacity:0}to{transform:none;opacity:1}}

/* operator settings preview */
.cfg{position:fixed;z-index:90;inset:0;margin:auto;width:min(640px,94vw);height:fit-content;max-height:86vh;overflow:auto;padding:24px;border-radius:20px;background:#fff;color:var(--ink);font-family:'Noto Sans KR',system-ui,sans-serif;font-size:16px;line-height:1.6;box-shadow:0 24px 70px rgba(10,26,40,.4);animation:fade .2s ease}
.cfg-bg{position:fixed;inset:0;z-index:89;background:rgba(10,26,40,.5)}
.cfg h3{margin:0 0 6px;font-size:22px}
.cfg p{margin:0 0 14px;color:var(--muted);font-size:15px}
.cfg-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid var(--line)}
.cfg-name{display:flex;align-items:center;gap:8px}
.badge{padding:2px 10px;border-radius:999px;background:#EFE9DD;color:#6F4220;font-size:13px;font-weight:700}
.cfg-ctl{display:flex;flex-wrap:wrap;gap:6px}
.cfg-ctl button{min-height:44px;min-width:44px;padding:0 12px;border-radius:10px;border:1.5px solid #B9C2C9;background:#fff;font:inherit;font-size:15px;color:var(--ink);cursor:pointer}
.cfg-ctl button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff;font-weight:700}
.cfg-x{margin-top:16px;min-height:48px;padding:0 22px;border-radius:999px;border:0;background:var(--navy);color:#fff;font:inherit;font-weight:700;cursor:pointer}

/* ---- 실제 홈페이지용: PC/모바일 차이를 화면 크기만으로 바로 정해, 불러오는 동안 화면이 튀지 않게 ---- */
.lg-s{display:none}
.m-mobile .lg-f{display:none}
.m-mobile .lg-s{display:inline}
.m-pc .fab{display:none!important}
.m-mobile .dock,.m-mobile .launch{display:none!important}

/* 상담 접수 연결 */
.hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.cf-err{margin:4px 0 8px;color:#B4321F;font-size:15px;font-weight:700}
