/* 로아홈케어 공통 스타일 — 색상은 :root 값만 바꾸면 전체에 적용됩니다 */
:root{
  --primary:#0d6e7a;      /* 메인 청록색 */
  --primary-dk:#0a5761;
  --mint:#e7f5f3;         /* 연한 민트 배경 */
  --sky:#eef5fa;          /* 연한 하늘 배경 */
  --accent:#f2875a;       /* 포인트 코랄 */
  --ink:#16252b;          /* 본문 글자 */
  --muted:#56676e;        /* 보조 글자 */
  --line:#dce7e9;
  --paper:#ffffff;
  --paper-2:#f5f9f9;
  --radius:14px;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; font-family:'Pretendard Variable', Pretendard, 'Noto Sans KR', system-ui, -apple-system, 'Malgun Gothic', sans-serif; color:var(--ink); background:var(--paper); font-size:16px; line-height:1.7; word-break:keep-all; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; display:block; }
a{ color:var(--primary); text-decoration:none; }
a:hover{ color:var(--primary-dk); }
h1,h2,h3,h4{ margin:0; line-height:1.35; letter-spacing:-0.02em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
.wrap{ max-width:1160px; margin:0 auto; padding:0 24px; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* 버튼 */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 26px; border-radius:999px; font-weight:700; font-size:16px; cursor:pointer; white-space:nowrap; border:1.5px solid transparent; font-family:inherit; transition:background .15s, color .15s, border-color .15s; }
.btn-primary{ background:var(--primary); color:#fff; }
.btn-primary:hover{ background:var(--primary-dk); color:#fff; }
.btn-line{ background:#fff; color:var(--primary); border-color:var(--primary); }
.btn-line:hover{ background:var(--mint); }
.btn-white{ background:#fff; color:var(--primary-dk); }
.btn-white:hover{ background:var(--mint); color:var(--primary-dk); }
.btn-ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.55); }
.btn-ghost:hover{ background:rgba(255,255,255,.12); color:#fff; }
.btn svg{ flex-shrink:0; }

/* 상단 띠 */
.topbar{ background:var(--primary-dk); color:rgba(255,255,255,.82); font-size:13.5px; }
.topbar .wrap{ display:flex; align-items:center; justify-content:space-between; height:36px; }
.topbar a{ color:#fff; font-weight:600; }

/* 헤더 */
.site-header{ position:sticky; top:0; z-index:50; background:rgba(255,255,255,.96); backdrop-filter:saturate(1.4) blur(8px); border-bottom:1px solid var(--line); }
.hdr{ display:flex; align-items:center; justify-content:space-between; height:72px; gap:20px; }
.logo{ display:flex; align-items:center; gap:10px; color:var(--ink); }
.logo:hover{ color:var(--ink); }
.logo b{ display:block; font-size:21px; font-weight:800; letter-spacing:-0.03em; line-height:1.1; }
.logo small{ display:block; font-size:10.5px; font-weight:700; letter-spacing:.18em; color:var(--primary); line-height:1.2; margin-top:2px; }
.nav{ display:flex; align-items:center; gap:30px; }
.nav a{ color:var(--ink); font-size:16px; font-weight:600; padding:6px 0; border-bottom:2px solid transparent; }
.nav a:hover{ color:var(--primary); }
.nav a.on{ color:var(--primary); border-bottom-color:var(--primary); }
.hdr-cta{ padding:10px 20px; font-size:15px; }
.nav-toggle{ display:none; background:none; border:0; padding:8px; margin-right:-8px; cursor:pointer; color:var(--ink); }

/* 섹션 공통 */
section{ padding:96px 0; }
.sec-head{ text-align:center; margin-bottom:52px; }
.eyebrow{ display:inline-block; font-size:13px; font-weight:800; letter-spacing:.14em; color:var(--primary); margin-bottom:12px; }
.sec-head h2{ font-size:34px; font-weight:800; }
.sec-head p{ color:var(--muted); font-size:17px; margin-top:12px; }
.bg-mint{ background:var(--mint); }
.bg-soft{ background:var(--paper-2); }
.card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); }

/* 메인 히어로 */
.hero{ background:linear-gradient(160deg, #f1faf8 0%, #e5f3f6 55%, #eef5fa 100%); padding:80px 0 88px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero .eyebrow{ background:#fff; padding:6px 14px; border-radius:999px; letter-spacing:.04em; font-size:14px; box-shadow:0 1px 0 var(--line); }
.hero h1{ font-size:48px; font-weight:800; line-height:1.28; margin:8px 0 22px; }
.hero h1 em{ font-style:normal; color:var(--primary); }
.hero-lead{ font-size:18px; color:var(--muted); max-width:520px; margin-bottom:32px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:30px; }
.hero-points{ display:flex; flex-wrap:wrap; gap:10px 20px; color:var(--ink); font-size:15px; font-weight:600; }
.hero-points li{ display:flex; align-items:center; gap:7px; }
.hero-art{ position:relative; }
.hero-art svg{ width:100%; height:auto; display:block; }

/* 페이지 상단 배너 (서브페이지) */
.page-hero{ background:linear-gradient(160deg, #f1faf8 0%, #e5f3f6 60%, #eef5fa 100%); padding:64px 0 56px; }
.crumb{ font-size:14px; color:var(--muted); margin-bottom:10px; }
.crumb a{ color:var(--muted); }
.page-hero h1{ font-size:40px; font-weight:800; }
.page-hero p{ color:var(--muted); font-size:18px; margin-top:12px; max-width:680px; }

/* 서비스 카드 */
.svc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.svc{ padding:40px 36px; display:flex; flex-direction:column; transition:box-shadow .2s, transform .2s; }
.svc:hover{ box-shadow:0 14px 34px rgba(13,110,122,.12); transform:translateY(-3px); }
.svc-ico{ width:64px; height:64px; border-radius:18px; background:var(--mint); display:flex; align-items:center; justify-content:center; margin-bottom:22px; }
.svc h3{ font-size:25px; font-weight:800; margin-bottom:10px; }
.svc > p{ color:var(--muted); margin-bottom:20px; }
.check{ display:flex; flex-direction:column; gap:9px; margin-bottom:28px; }
.check li{ display:flex; gap:10px; align-items:flex-start; }
.check li::before{ content:""; flex-shrink:0; width:20px; height:20px; margin-top:3px; border-radius:50%; background:var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%230d6e7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.svc .more{ margin-top:auto; font-weight:700; display:inline-flex; align-items:center; gap:6px; }

/* 특징 */
.feat-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:22px; }
.feat{ padding:30px 26px; }
.feat-num{ font-size:13px; font-weight:800; color:var(--accent); letter-spacing:.08em; margin-bottom:14px; }
.feat h3{ font-size:19px; font-weight:800; margin-bottom:8px; }
.feat p{ color:var(--muted); font-size:15px; }

/* 진행 과정 */
.steps{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:16px; counter-reset:step; }
.step{ position:relative; padding:28px 22px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); }
.step::before{ counter-increment:step; content:counter(step, decimal-leading-zero); display:block; font-size:28px; font-weight:800; color:var(--primary); line-height:1; margin-bottom:14px; }
.step h3{ font-size:17px; font-weight:800; margin-bottom:6px; }
.step p{ color:var(--muted); font-size:14.5px; }
.steps.col4{ grid-template-columns:repeat(4, minmax(0,1fr)); }

/* CTA 띠 */
.cta-band{ background:var(--primary); color:#fff; padding:72px 0; }
.cta-band .wrap{ display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.cta-band h2{ font-size:30px; font-weight:800; }
.cta-band p{ color:rgba(255,255,255,.85); margin-top:8px; font-size:17px; }
.cta-band .btns{ display:flex; gap:12px; flex-wrap:wrap; }

/* 2단 레이아웃 */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.lead-title{ font-size:32px; font-weight:800; margin-bottom:20px; }
.lead-text{ color:var(--muted); font-size:17px; }
.lead-text + .lead-text{ margin-top:14px; }

/* 증상 체크 */
.symptoms{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.symptom{ display:flex; gap:14px; align-items:flex-start; padding:20px 22px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.symptom .dot{ flex-shrink:0; width:36px; height:36px; border-radius:10px; background:#fff1ea; color:var(--accent); display:flex; align-items:center; justify-content:center; font-weight:800; }
.symptom b{ display:block; font-size:16.5px; margin-bottom:2px; }
.symptom span{ color:var(--muted); font-size:14.5px; }

/* 표 */
.tbl{ width:100%; border-collapse:collapse; background:#fff; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); }
.tbl th, .tbl td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--line); font-size:16px; }
.tbl thead th{ background:var(--mint); color:var(--primary-dk); font-size:14.5px; font-weight:800; }
.tbl tbody tr:last-child td{ border-bottom:0; }
.tbl td.price{ font-weight:800; color:var(--primary-dk); white-space:nowrap; text-align:right; }
.tbl th.price{ text-align:right; }
.tbl td small{ display:block; color:var(--muted); font-size:13.5px; }
.note{ color:var(--muted); font-size:14px; margin-top:12px; }
.price-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.price-grid h3{ font-size:21px; font-weight:800; margin-bottom:14px; display:flex; align-items:center; gap:10px; }

/* 정보 표 (업체소개) */
.info{ width:100%; border-collapse:collapse; }
.info th, .info td{ padding:15px 4px; border-bottom:1px solid var(--line); text-align:left; font-size:16px; vertical-align:top; }
.info th{ width:120px; color:var(--muted); font-weight:600; }

/* FAQ */
.faq{ max-width:860px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq details{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:0 24px; }
.faq summary{ cursor:pointer; list-style:none; padding:20px 0; font-weight:700; font-size:17px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-size:24px; color:var(--primary); font-weight:400; line-height:1; }
.faq details[open] summary::after{ content:"−"; }
.faq details p{ color:var(--muted); padding:0 0 22px; }
.faq .q{ color:var(--primary); margin-right:8px; }

/* 문의 폼 */
.form{ padding:36px 32px; }
.form h3{ font-size:22px; font-weight:800; margin-bottom:6px; }
.form > p{ color:var(--muted); font-size:15px; margin-bottom:22px; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:14.5px; font-weight:700; margin-bottom:6px; }
.field input, .field select, .field textarea{ width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:10px; font-size:16px; font-family:inherit; color:var(--ink); background:#fff; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--primary); outline-offset:0; border-color:var(--primary); }
.field textarea{ min-height:96px; resize:vertical; }
.row2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.form .btns{ display:flex; gap:10px; flex-wrap:wrap; margin-top:8px; }
.form .btns .btn{ flex:1; }

.contact-list{ display:flex; flex-direction:column; gap:14px; }
.contact-item{ display:flex; gap:16px; align-items:center; padding:22px 24px; }
.contact-item .ico{ width:48px; height:48px; border-radius:14px; background:var(--mint); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-item small{ display:block; color:var(--muted); font-size:14px; }
.contact-item b{ font-size:19px; color:var(--ink); }

/* 갤러리 */
.tabs{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-bottom:34px; }
.tab{ padding:11px 24px; border-radius:999px; border:1.5px solid var(--line); background:#fff; color:var(--muted); font-weight:700; font-size:15.5px; cursor:pointer; font-family:inherit; }
.tab[aria-pressed="true"]{ background:var(--primary); border-color:var(--primary); color:#fff; }
.gallery{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:20px; }
.ph{ aspect-ratio:3/4; border:1.5px dashed var(--line); border-radius:var(--radius); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:var(--muted); background:var(--paper-2); font-size:14px; }
.photo{ position:relative; aspect-ratio:3/4; overflow:hidden; padding:0; cursor:zoom-in; display:block; width:100%; border:1px solid var(--line); border-radius:var(--radius); background:var(--paper-2); font:inherit; }
.photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.photo:focus-visible{ outline:3px solid var(--primary); outline-offset:2px; }
.photo.broken{ cursor:default; border-style:dashed; display:flex; align-items:center; justify-content:center; color:#b4432a; font-size:13px; padding:14px; text-align:center; }
.lb{ position:fixed; inset:0; z-index:100; background:rgba(10,22,26,.92); display:none; align-items:center; justify-content:center; padding:24px; flex-direction:column; }
.lb.open{ display:flex; }
.lb img{ max-width:100%; max-height:calc(100vh - 110px); border-radius:8px; }
.lb-cap{ color:rgba(255,255,255,.75); font-size:14px; text-align:center; margin-top:12px; }
.lb-btn{ position:absolute; background:rgba(255,255,255,.12); color:#fff; border:0; width:48px; height:48px; border-radius:50%; font-size:24px; line-height:1; cursor:pointer; }
.lb-btn:hover{ background:rgba(255,255,255,.24); }
.lb-close{ top:16px; right:16px; }
.lb-prev{ left:16px; top:50%; transform:translateY(-50%); }
.lb-next{ right:16px; top:50%; transform:translateY(-50%); }

/* 지역 태그 */
.tags{ display:flex; flex-wrap:wrap; gap:8px; }
.tags span{ background:#fff; border:1px solid var(--line); border-radius:999px; padding:6px 14px; font-size:14.5px; }

/* 푸터 */
.site-footer{ background:#0f2a30; color:rgba(255,255,255,.7); padding:52px 0 40px; font-size:15px; }
.ft-top{ display:flex; justify-content:space-between; gap:32px; flex-wrap:wrap; margin-bottom:28px; }
.ft-brand b{ display:block; color:#fff; font-size:22px; font-weight:800; }
.ft-brand span{ display:block; margin-top:4px; }
.ft-links{ display:flex; gap:22px; flex-wrap:wrap; }
.ft-links a{ color:rgba(255,255,255,.85); font-weight:600; }
.ft-info{ display:flex; flex-direction:column; gap:4px; border-top:1px solid rgba(255,255,255,.1); padding-top:24px; }
.ft-info a{ color:inherit; }
.ft-info .sep{ margin:0 10px; opacity:.4; }
.ft-copy{ margin-top:18px; color:rgba(255,255,255,.45); font-size:14px; }

/* 모바일 하단 전화/문자 바 */
.callbar{ display:none; }

/* ---------- 반응형 ---------- */
@media (max-width: 980px){
  .hero-grid, .split{ grid-template-columns:1fr; gap:40px; }
  .hero-art{ max-width:520px; margin:0 auto; width:100%; }
  .feat-grid{ grid-template-columns:1fr 1fr; }
  .steps, .steps.col4{ grid-template-columns:1fr 1fr; }
  .price-grid{ grid-template-columns:1fr; }
}
@media (max-width: 760px){
  body{ font-size:16px; padding-bottom:68px; }
  .wrap{ padding:0 16px; }
  .topbar .tb-left{ display:none; }
  .topbar .wrap{ justify-content:center; }
  .hdr{ height:64px; }
  .hdr-cta{ display:none; }
  .nav-toggle{ display:block; }
  .nav{ display:none; position:absolute; left:0; right:0; top:100%; background:#fff; flex-direction:column; align-items:stretch; gap:0; border-bottom:1px solid var(--line); box-shadow:0 12px 24px rgba(0,0,0,.08); }
  .nav.open{ display:flex; }
  .nav a{ padding:15px 20px; border-bottom:1px solid var(--line); }
  .nav a.on{ border-bottom-color:var(--line); background:var(--mint); }
  section{ padding:64px 0; }
  .hero{ padding:48px 0 56px; }
  .hero h1{ font-size:33px; }
  .hero-lead{ font-size:16.5px; }
  .hero-cta .btn{ flex:1; }
  .page-hero{ padding:44px 0 40px; }
  .page-hero h1{ font-size:30px; }
  .page-hero p{ font-size:16.5px; }
  .sec-head{ margin-bottom:36px; }
  .sec-head h2, .lead-title{ font-size:26px; }
  .svc-grid, .symptoms, .row2{ grid-template-columns:1fr; }
  .svc{ padding:30px 24px; }
  .feat-grid{ grid-template-columns:1fr; }
  .steps, .steps.col4{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:1fr 1fr; gap:12px; }
  .cta-band{ padding:56px 0; }
  .cta-band h2{ font-size:24px; }
  .cta-band .btns, .cta-band .btns .btn{ width:100%; }
  .tbl th, .tbl td{ padding:13px 14px; font-size:15px; }
  .form{ padding:26px 20px; }
  .ft-info .sep{ display:none; }
  .ft-info span.i{ display:block; }
  .callbar{ display:grid; grid-template-columns:1fr 1fr; position:fixed; left:0; right:0; bottom:0; z-index:60; background:#fff; border-top:1px solid var(--line); box-shadow:0 -6px 18px rgba(0,0,0,.06); }
  .callbar a{ display:flex; align-items:center; justify-content:center; gap:8px; height:60px; font-weight:800; font-size:16px; }
  .callbar a.call{ background:var(--primary); color:#fff; }
  .callbar a.sms{ color:var(--primary); }
}
