
:root{
  --bg:#fff6f7;
  --surface:#ffffff;
  --surface-2:#fff8f8;
  --ink:#2b0f12;
  --text:#5c353b;
  --muted:#8a6770;
  --line:#f1d8dc;
  --primary:#c62839;
  --primary-2:#ff6b6b;
  --primary-3:#8b1e2d;
  --accent:#ffd7dc;
  --warm:#ffb86b;
  --shadow:0 20px 50px rgba(198,40,57,.14);
  --shadow-soft:0 10px 28px rgba(54,22,28,.08);
  --radius-xl:30px;
  --radius-lg:24px;
  --radius-md:18px;
  --max:1200px;
}
*,
*::before,
*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Pretendard","Noto Sans KR","Apple SD Gothic Neo",Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(198,40,57,.10), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(255,107,107,.12), transparent 22%),
    linear-gradient(180deg,#fffafb 0%, #fff6f7 100%);
  line-height:1.72;
  word-break:keep-all;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(var(--max), calc(100% - 40px));margin:0 auto}
.section{padding:90px 0 0}
.section.compact{padding-top:30px}
.pill,
.eyebrow,
.hero-chip,
.footer-badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:-.02em;
}
.pill{background:#ffe7ea;color:var(--primary)}
.pill-soft{background:#fff3f4;color:var(--primary-3)}
.pill-warm{background:#fff1de;color:#b66300}
.eyebrow{
  background:#ffe8eb;
  color:var(--primary);
  border:1px solid #ffd1d7;
}
.hero-chip{
  background:#fff;
  border:1px solid var(--line);
  color:var(--text);
  min-height:40px;
}
.site-header{
  position:sticky;
  top:0;
  z-index:40;
  backdrop-filter:blur(14px);
  background:rgba(255,250,251,.88);
  border-bottom:1px solid rgba(43,15,18,.06);
}
.header-inner{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand-wrap{display:flex;flex-direction:column;gap:5px}
.brand{
  font-size:24px;
  font-weight:950;
  letter-spacing:-.05em;
}
.brand-sub{font-size:12px;color:var(--muted)}
.main-nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
}
.main-nav a{font-size:14px;font-weight:800;color:var(--text)}
.main-nav a:hover{color:var(--primary)}
.header-actions{display:flex;align-items:center;gap:10px}
.call-pill,
.btn-primary,
.btn-secondary,
.card-link,
.footer-call,
.footer-link-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:999px;
  font-weight:900;
}
.call-pill,
.btn-primary,
.card-link,
.footer-call{
  color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  box-shadow:var(--shadow);
}
.btn-secondary,
.footer-link-btn{
  background:#fff;
  color:var(--ink);
  border:1px solid var(--line);
}
.call-pill{font-size:14px;min-width:168px}
.hero{padding:34px 0 0}
.hero-shell{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);
  gap:22px;
}
.hero-main,
.hero-side,
.metric-card,
.flow-card,
.symptom-card,
.highlight-card,
.area-card,
.prep-card,
.detail-card,
.faq-wrap,
.cta-banner,
.article-hero,
.summary-card,
.step-card,
.note-box,
.related-card,
.sidebar-card,
.footer-brand,
.footer-panel{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
}
.hero-main{
  padding:46px;
  background:
    linear-gradient(140deg, rgba(198,40,57,.10), rgba(255,255,255,.0) 38%),
    linear-gradient(180deg, #ffffff 0%, #fff8f9 100%);
}
.hero-main h1{
  margin:16px 0 14px;
  font-size:58px;
  line-height:1.03;
  letter-spacing:-.055em;
}
.hero-main p{margin:0;color:var(--text);font-size:17px}
.hero-actions,.footer-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hero-tags,.area-tags,.meta-tags,.related-tags,.service-tags,.footer-tags{
  display:flex;flex-wrap:wrap;gap:10px;
}
.hero-tags{margin-top:24px}
.hero-tags span,.area-tags span,.meta-tags span,.related-tags span,.service-tags span,.footer-tags span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--text);
  font-size:13px;
  font-weight:700;
}
.hero-side{
  padding:26px;
  display:flex;
  flex-direction:column;
  gap:18px;
  background:linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}
.hero-side h2,.article-hero h1{margin:0 0 10px}
.hero-side h2{font-size:28px;line-height:1.2}
.quick-diagnosis{display:grid;gap:12px}
.metric-card{padding:18px;border-radius:22px}
.metric-card strong{display:block;margin-bottom:6px;font-size:16px}
.metric-card p{margin:0;color:var(--muted);font-size:14px}
.phone-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px 18px 18px 20px;
  border-radius:24px;
  background:linear-gradient(135deg,var(--primary-3),var(--primary));
  color:#fff;
}
.phone-box small{display:block;color:rgba(255,255,255,.75);margin-bottom:4px}
.phone-box strong{font-size:28px;letter-spacing:-.03em}
.phone-box a{
  color:var(--primary-3);
  background:#fff;
  border-radius:999px;
  min-height:42px;
  padding:0 16px;
  font-size:13px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:22px;
  margin-bottom:18px;
}
.section-head h2{margin:14px 0 8px;font-size:40px;line-height:1.12;letter-spacing:-.045em}
.section-head p{margin:0;color:var(--muted)}
.section-note{max-width:320px;color:var(--muted);font-size:13px}
.grid-4,.grid-3,.symptom-grid,.overview-grid,.step-grid,.related-grid,.footer-panels,.footer-mini-links{
  display:grid;
  gap:18px;
}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-3,.overview-grid,.related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.symptom-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.flow-card,.highlight-card,.area-card,.prep-card,.summary-card,.step-card,.related-card,.sidebar-card,.footer-panel{padding:24px}
.flow-number{
  width:46px;height:46px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;
  background:#ffe6ea;color:var(--primary);font-weight:950;margin-bottom:14px;
}
.flow-card h3,.symptom-card h3,.highlight-card h3,.area-card h3,.prep-card h3,.summary-card h3,.step-card h3,.related-card h3,.sidebar-card h3,.footer-panel h3{
  margin:0 0 10px;
  font-size:21px;
  line-height:1.3;
}
.flow-card p,.symptom-card p,.highlight-card p,.area-card p,.prep-card p,.summary-card p,.step-card p,.related-card p,.note-box p,.sidebar-card p,.footer-panel p{
  margin:0;color:var(--text);font-size:15px;
}
.symptom-card{
  padding:24px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#fff 0%,#fff8f9 100%);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
}
.symptom-card::after{
  content:"";
  position:absolute;
  right:-20px;
  bottom:-24px;
  width:110px;
  height:110px;
  border-radius:50%;
  background:linear-gradient(135deg, rgba(198,40,57,.12), rgba(255,107,107,.12));
}
.symptom-card .card-link{min-width:132px;min-height:42px;margin-top:16px;border-radius:14px;font-size:13px;position:relative;z-index:1}
.symptom-card>*{position:relative;z-index:1}
.area-card{background:linear-gradient(180deg,#fff 0%,#fff8f8 100%)}
.check-list,.prep-list,.footer-panel ul{
  list-style:none;
  margin:16px 0 0;
  padding:0;
  display:grid;
  gap:10px;
}
.check-list li,.prep-list li,.footer-panel ul li{
  position:relative;
  padding-left:18px;
  color:var(--text);
  font-size:15px;
}
.check-list li::before,.prep-list li::before,.footer-panel ul li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--primary);
}
.cta-banner{
  padding:30px 34px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-top:26px;
  background:linear-gradient(135deg, rgba(198,40,57,.10), rgba(255,107,107,.10));
}
.article-wrap{padding:28px 0 0}
.breadcrumb{
  color:var(--muted);
  font-size:14px;
  margin-bottom:18px;
}
.article-hero{padding:36px;background:linear-gradient(180deg,#ffffff 0%,#fff8f9 100%)}
.article-hero p{margin:0;color:var(--text);font-size:17px}
.article-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:22px;
  margin-top:22px;
}
.detail-card{padding:28px}
.detail-section + .detail-section{margin-top:26px}
.note-box{padding:22px;margin-top:18px;background:#fff8f8}
.sidebar-stack{display:grid;gap:18px}
.sidebar-card{padding:24px}
.sidebar-card .card-link{margin-top:16px;border-radius:14px}
.faq-wrap{padding:28px}
.faq-item + .faq-item{margin-top:18px;padding-top:18px;border-top:1px dashed var(--line)}
.site-footer{padding:88px 0 40px;margin-top:88px;background:linear-gradient(180deg,#fff6f7 0%,#ffeef1 100%)}
.footer-top{display:grid;gap:22px}
.footer-brand{
  padding:34px;
  background:
    linear-gradient(135deg, rgba(198,40,57,.12), rgba(255,107,107,.05)),
    linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}
.footer-badge{background:#fff;color:var(--primary);border:1px solid #ffd1d7}
.footer-brand h2{margin:16px 0 12px;font-size:40px;line-height:1.12;letter-spacing:-.045em}
.footer-brand p{margin:0;color:var(--text);max-width:760px}
.footer-panels{grid-template-columns:repeat(4,minmax(0,1fr))}
.footer-panel{display:flex;flex-direction:column;gap:12px}
.footer-panel a{color:var(--text);font-weight:700}
.footer-panel a:hover{color:var(--primary)}
.footer-panel-dark{
  background:linear-gradient(135deg,var(--primary-3),var(--primary));
  color:#fff;
  border-color:rgba(255,255,255,.12);
}
.footer-panel-dark p,.footer-panel-dark li{color:rgba(255,255,255,.92)}
.footer-panel-dark ul li::before{background:#fff}
.footer-bottom{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid #efcbd1;
  display:flex;
  justify-content:space-between;
  gap:18px;
  color:var(--muted);
  font-size:14px;
}
.footer-mini-links{
  grid-auto-flow:column;
  width:max-content;
  gap:14px;
}
@media (max-width: 1120px){
  .hero-shell,.article-layout{grid-template-columns:1fr}
  .symptom-grid,.grid-4,.footer-panels{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 860px){
  .header-inner{flex-wrap:wrap;justify-content:center;padding:12px 0}
  .hero-main h1{font-size:42px}
  .section-head{display:block}
  .section-head h2,.footer-brand h2{font-size:32px}
  .grid-3,.overview-grid,.related-grid,.step-grid,.symptom-grid,.grid-4,.footer-panels{grid-template-columns:1fr}
  .container{width:min(var(--max), calc(100% - 28px))}
  .article-hero,.detail-card,.faq-wrap,.hero-main,.hero-side,.footer-brand,.footer-panel{padding:22px}
  .footer-bottom{display:block}
}
