/* =============================================
   연세아폴로여성의원 — 공통 스타일시트
   Soft rose / coral, editorial women's clinic
   ============================================= */

:root {
  --rose-50: #FFF7F7;
  --rose-100: #FDEBEC;
  --rose-200: #F9D3D6;
  --rose-300: #F4B0B7;
  --rose-400: #F08A97;
  --rose-500: #E5667A;
  --accent: #C93A52;
  --accent-dark: #A82B42;
  --ink: #3B2429;
  --muted: #78595F;
  --line: #F0DADC;
  --white: #FFFFFF;
  --wine: #4A2430;
  --font-sans: 'Noto Sans KR', system-ui, -apple-system, 'Malgun Gothic', sans-serif;
  --font-serif: 'Noto Serif KR', 'Noto Sans KR', Georgia, serif;
  --shadow-sm: 0 2px 14px rgba(120, 50, 65, 0.08);
  --shadow-md: 0 14px 40px rgba(120, 50, 65, 0.14);
  --radius: 18px;
  --max: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.35; font-weight: 600; }
:focus-visible { outline: 3px solid var(--rose-500); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding: 6rem 0; }
.section.tint { background: var(--rose-50); }
.section.blush { background: var(--rose-100); }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.section-head p { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.8rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; line-height: 1.2;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(201, 58, 82, .28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--rose-300); color: var(--accent-dark); background: rgba(255,255,255,.6); }
.btn-ghost:hover { background: var(--rose-100); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--accent-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.text-link { color: var(--accent); font-weight: 500; font-size: .92rem; display: inline-flex; gap: .4rem; align-items: center; border-bottom: 1px solid transparent; transition: border-color .25s; }
.text-link:hover { border-color: var(--accent); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.2rem, 3.5vw, 3rem);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(255,255,255,.96); }
.logo img { height: 36px; width: auto; }
.gnb { display: flex; align-items: center; gap: 2rem; }
.gnb-menu { display: flex; gap: 1.8rem; }
.gnb-menu a { font-size: .92rem; font-weight: 500; position: relative; padding: .4rem 0; transition: color .25s; }
.gnb-menu a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--rose-500); transition: width .3s; }
.gnb-menu a:hover, .gnb-menu a.active { color: var(--accent); }
.gnb-menu a:hover::after, .gnb-menu a.active::after { width: 100%; }
.header-tel { padding: .6rem 1.2rem; font-size: .88rem; }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; }
.hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(40, 15, 25, .45); z-index: 1999; }
.mobile-nav-overlay.open { display: block; }
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: min(380px, 100vw); height: 100%;
  background: #fff; z-index: 2000; padding: 5.5rem 2rem 2rem; overflow-y: auto;
  transition: right .45s cubic-bezier(.25,.46,.45,.94); box-shadow: -10px 0 40px rgba(0,0,0,.15);
}
.mobile-nav.open { right: 0; }
.mobile-nav-close { position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; font-size: 1.4rem; }
.mobile-nav-menu li { border-bottom: 1px solid var(--line); }
.mobile-nav-menu a { display: block; padding: 1.05rem 0; font-weight: 500; }
.mobile-nav-menu .sub { display: block; font-size: .66rem; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; }
.mobile-nav-contact { margin-top: 2rem; padding: 1.5rem; background: var(--rose-50); border-radius: var(--radius); }
.mobile-nav-contact .tel { font-family: var(--font-serif); font-size: 1.6rem; color: var(--accent-dark); display: block; }
.mobile-nav-contact p { font-size: .82rem; color: var(--muted); margin-top: .4rem; }

/* ===== Hero (home) ===== */
.hero {
  position: relative; padding: calc(var(--header-h) + 4rem) 0 5rem;
  background:
    radial-gradient(900px 500px at 85% 10%, var(--rose-200) 0%, transparent 60%),
    radial-gradient(700px 500px at 0% 100%, var(--rose-100) 0%, transparent 65%),
    var(--rose-50);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .95rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .8rem; color: var(--muted); margin-bottom: 1.6rem;
}
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #B9A3A7; }
.status-pill.open .dot { background: #2FA36B; box-shadow: 0 0 0 4px rgba(47,163,107,.18); }
.status-pill.lunch .dot { background: #E6A23C; box-shadow: 0 0 0 4px rgba(230,162,60,.18); }
.status-pill strong { color: var(--ink); font-weight: 600; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600; margin-bottom: 1.4rem; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-desc { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-tags a { font-size: .82rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line); color: var(--accent-dark); transition: background .25s; }
.hero-tags a:hover { background: #fff; }
.hero-visual { position: relative; }
.hero-photo { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 4.6; background: var(--rose-100); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 28% center; }
.hero-card {
  position: absolute; left: -1.5rem; bottom: 2rem;
  background: #fff; padding: 1rem 1.3rem; border-radius: 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .9rem; max-width: 290px;
}
.hero-card .badge { width: 42px; height: 42px; border-radius: 50%; background: var(--rose-100); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.hero-card .badge svg { width: 22px; height: 22px; }
.hero-card p { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.hero-card strong { display: block; font-family: var(--font-serif); font-size: 1.02rem; color: var(--ink); }
.hero-sparkle { position: absolute; top: 4%; right: -.5rem; width: 60px; height: 60px; color: var(--rose-400); opacity: .85; }

/* ===== Info strip ===== */
.info-strip { margin-top: -2.5rem; position: relative; z-index: 3; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.info-item { padding: 1.8rem 2rem; display: flex; gap: 1.1rem; align-items: flex-start; }
.info-item + .info-item { border-left: 1px solid var(--line); }
.info-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--rose-100); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.info-ico svg { width: 22px; height: 22px; }
.info-item h3 { font-family: var(--font-sans); font-size: .78rem; font-weight: 500; letter-spacing: .14em; color: var(--muted); margin-bottom: .3rem; }
.info-item p { font-size: .95rem; line-height: 1.6; }
.info-item .big { font-family: var(--font-serif); font-size: 1.5rem; color: var(--accent-dark); line-height: 1.3; }
.info-item small { display: block; color: var(--muted); font-size: .8rem; margin-top: .2rem; }

/* ===== Service cards ===== */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.service-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem 1.6rem; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--rose-300); }
.service-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--rose-100); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.3rem; }
.service-ico svg { width: 28px; height: 28px; }
.service-card .en { font-size: .68rem; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; margin-bottom: .3rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: .7rem; }
.service-card p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.service-card ul { margin-bottom: 1.3rem; font-size: .86rem; color: var(--ink); }
.service-card li { padding-left: 1rem; position: relative; margin-bottom: .2rem; }
.service-card li::before { content: ''; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--rose-400); }
.service-card .text-link { margin-top: auto; }

/* ===== Doctor teaser ===== */
.doctor-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4.5rem; align-items: center; }
.doctor-card-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.doctor-card-img img { width: 100%; }
.doctor-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1.2rem; }
.doctor-copy h2 em { font-style: normal; color: var(--accent); }
.doctor-copy > p { color: var(--muted); margin-bottom: 1.5rem; }
.check-list { margin-bottom: 2rem; }
.check-list li { position: relative; padding: .55rem 0 .55rem 2rem; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 1rem; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ===== Principles ===== */
.principle-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.principle-photo { position: relative; }
.principle-photo img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.principle-photo::after { content: ''; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 2px solid var(--rose-300); border-radius: var(--radius); z-index: -1; }
.principle-list { display: grid; gap: 1.8rem; }
.principle { display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; }
.principle .num { font-family: var(--font-serif); font-size: 1.6rem; color: var(--rose-400); line-height: 1; padding-top: .2rem; }
.principle h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.principle p { color: var(--muted); font-size: .92rem; }

/* ===== Space gallery ===== */
.space-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4rem; }
.space-fig { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--rose-100); }
.space-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 20% center; transition: transform .7s ease; }
.space-fig:hover img { transform: scale(1.04); }
.space-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.4rem 1.2rem; color: #fff; font-size: .9rem; background: linear-gradient(to top, rgba(60,20,32,.7), transparent); }
.space-fig.tall { grid-row: span 2; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; text-align: left; font-size: 1rem; font-weight: 500; transition: color .25s; }
.faq-q:hover { color: var(--accent); }
.faq-q .q { color: var(--accent); font-family: var(--font-serif); margin-right: .7rem; }
.faq-icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--rose-300); display: grid; place-items: center; font-size: 1.1rem; line-height: 1; color: var(--accent); transition: transform .3s, background .3s, color .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; color: var(--muted); font-size: .95rem; transition: max-height .4s ease, padding .4s ease; }
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 1.5rem; }
.faq-a p { padding-left: 1.7rem; }

/* ===== Location ===== */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: stretch; }
.loc-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 2.4rem; box-shadow: var(--shadow-sm); }
.loc-card h3 { font-size: 1.3rem; margin-bottom: 1.4rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours-table th, .hours-table td { padding: .85rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours-table th { color: var(--muted); width: 40%; }
.hours-table td { text-align: right; font-weight: 500; }
.hours-table .closed { color: var(--accent); }
.hours-table tr.today th, .hours-table tr.today td { background: var(--rose-50); }
.hours-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.addr { font-style: normal; margin-bottom: 1.6rem; }
.addr strong { display: block; font-size: 1.08rem; margin-bottom: .3rem; }
.addr span { color: var(--muted); }
.addr-tel { font-family: var(--font-serif); font-size: 2rem; color: var(--accent-dark); display: block; margin: .8rem 0 1.4rem; }
.map-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.map-btns .btn { padding: .75rem 1.3rem; font-size: .88rem; }

/* ===== CTA banner ===== */
.cta-banner { padding: 5rem 0; text-align: center; color: #fff; background: linear-gradient(135deg, #D9566B 0%, #C93A52 55%, #A82B42 100%); position: relative; overflow: hidden; }
.cta-banner::before, .cta-banner::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-banner::before { width: 360px; height: 360px; top: -140px; left: -80px; }
.cta-banner::after { width: 280px; height: 280px; bottom: -120px; right: -60px; }
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .9rem; }
.cta-banner p { opacity: .9; margin-bottom: 2rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ===== Footer ===== */
.site-footer { background: var(--wine); color: rgba(255,255,255,.8); padding: 4rem 0 2rem; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-logo { background: #fff; border-radius: 12px; padding: .7rem 1rem; display: inline-block; margin-bottom: 1.2rem; }
.footer-logo img { height: 34px; width: auto; }
.footer-top h4 { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .2em; color: var(--rose-300); font-weight: 500; margin-bottom: 1rem; text-transform: uppercase; }
.footer-top p, .footer-top address { font-style: normal; line-height: 1.9; }
.footer-top a:hover { color: #fff; }
.footer-tel { font-family: var(--font-serif); font-size: 1.6rem; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.6rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .78rem; color: rgba(255,255,255,.55); }
.footer-notice { margin-top: 1.4rem; font-size: .76rem; color: rgba(255,255,255,.5); line-height: 1.7; }

/* Floating call bar (mobile) */
.call-bar { display: none; }
.scroll-top { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: var(--shadow-md); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; z-index: 900; }
.scroll-top.visible { opacity: 1; visibility: visible; }

/* ===== Sub pages ===== */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(800px 400px at 50% 0%, var(--rose-200), transparent 70%), var(--rose-50);
}
.breadcrumb { display: flex; justify-content: center; gap: .5rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .cur { color: var(--ink); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p.lead { max-width: 640px; margin: 0 auto 1.8rem; color: var(--muted); font-size: 1.02rem; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.intro-grid.rev .intro-photo { order: 2; }
.intro-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; }
.intro-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 1.1rem; }
.intro-copy p { color: var(--muted); margin-bottom: 1rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--rose-400); border-radius: var(--radius); padding: 1.9rem 1.7rem; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.info-card p { color: var(--muted); font-size: .9rem; }
.info-card .tag { display: inline-block; font-size: .7rem; letter-spacing: .12em; color: var(--accent); background: var(--rose-100); padding: .15rem .65rem; border-radius: 999px; margin-bottom: .8rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 2.4rem 1.5rem 1.6rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: '0' counter(step); position: absolute; top: -1.1rem; left: 1.5rem; font-family: var(--font-serif); font-size: 1rem; color: #fff; background: var(--accent); padding: .15rem .9rem; border-radius: 999px; }
.step h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.step p { font-size: .88rem; color: var(--muted); }
.notice { max-width: 820px; margin: 2.5rem auto 0; padding: 1.2rem 1.5rem; border-radius: 14px; background: var(--rose-100); color: var(--muted); font-size: .84rem; text-align: center; }
.sched-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); font-size: .92rem; }
.sched-table th, .sched-table td { padding: 1rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); }
.sched-table thead th { background: var(--rose-100); font-weight: 500; font-size: .82rem; letter-spacing: .08em; }
.sched-table td:first-child { font-weight: 500; }
.table-wrap { overflow-x: auto; }

/* Doctor page */
.doctor-hero { padding: calc(var(--header-h) + 3rem) 0 5rem; background: radial-gradient(900px 450px at 80% 0%, var(--rose-200), transparent 65%), var(--rose-50); }
.doctor-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.doctor-hero-grid .photo img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.doctor-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .6rem; }
.doctor-hero .role { color: var(--accent); font-weight: 500; letter-spacing: .08em; margin-bottom: 1.4rem; }
.doctor-hero p { color: var(--muted); margin-bottom: 1.8rem; }
.career { max-width: 780px; margin: 0 auto; position: relative; }
.career::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--rose-200); }
.career li { position: relative; padding: .8rem 0 .8rem 2.4rem; font-size: 1rem; }
.career li::before { content: ''; position: absolute; left: 0; top: 1.35rem; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--rose-400); }
.career li.now::before { background: var(--accent); border-color: var(--accent); }
.career li.now { font-weight: 600; color: var(--accent-dark); }
.career small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }

/* Animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .gnb-menu { gap: 1.2rem; }
  .gnb-menu a { font-size: .86rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.four, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps { row-gap: 2.2rem; }
}
@media (max-width: 920px) {
  .gnb-menu, .header-tel { display: none; }
  .hamburger { display: flex; }
  .hero-grid, .doctor-grid, .principle-grid, .loc-grid, .intro-grid, .doctor-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-grid.rev .intro-photo { order: 0; }
  .hero { padding-bottom: 6rem; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-card { left: .5rem; }
  .doctor-card-img { max-width: 420px; margin-inline: auto; }
  .principle-photo::after { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .info-item + .info-item { border-left: 0; border-top: 1px solid var(--line); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .space-grid { grid-template-columns: 1fr; }
  .space-fig.tall { grid-row: auto; }
}
@media (max-width: 640px) {
  .section { padding: 4.2rem 0; }
  .service-grid, .card-grid, .card-grid.two, .card-grid.four, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero-cta .btn { flex: 1 1 100%; }
  .info-item { padding: 1.4rem; }
  .loc-card { padding: 1.7rem 1.4rem; }
  .doctor-hero-grid .photo { max-width: 420px; margin-inline: auto; }
  .scroll-top { bottom: 5.4rem; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(120,50,65,.12);
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); gap: .6rem;
  }
  .call-bar a { padding: .8rem; border-radius: 999px; text-align: center; font-weight: 500; font-size: .92rem; }
  .call-bar .call { background: var(--accent); color: #fff; }
  .call-bar .map { background: var(--rose-100); color: var(--accent-dark); }
  body { padding-bottom: 4.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
