/* 서비스 상세 페이지 공통 스타일 (메인 styles.css와 분리) */
:root {
  --ink: #15201f;
  --soft: #4f5d5a;
  --paper: #fbfaf6;
  --white: #fff;
  --navy: #07366d;
  --teal: #14746f;
  --teal-d: #0c4d4a;
  --gold: #d6aa63;
  --line: rgba(21, 32, 31, 0.12);
  --radius: 14px;
  --shadow: 0 24px 60px rgba(16, 31, 30, 0.13);
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 36px); }

/* header */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(251,250,246,.93); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-inner { max-width: 1000px; margin: 0 auto; padding: 12px clamp(18px,4vw,36px); display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand small { display: block; color: var(--soft); font-size: 11px; font-weight: 700; }
.top-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; }
.top-nav a { padding: 8px 13px; border-radius: 999px; color: var(--soft); }
.top-nav a:hover { color: var(--teal); background: rgba(20,116,111,.08); }
.top-nav a.cta { color: #fff; background: var(--teal); }
.top-nav a.cta:hover { background: var(--teal-d); }
@media (max-width: 700px) { .top-nav a.hide-m { display: none; } }

/* hero */
.hero { padding: clamp(44px,7vw,84px) 0 clamp(28px,4vw,48px); }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-weight: 900; font-size: 13px; letter-spacing: .1em; }
.hero h1 { margin: 0 0 16px; font-size: clamp(28px,5vw,46px); line-height: 1.18; letter-spacing: -.02em; }
.hero .lead { margin: 0 0 26px; max-width: 640px; color: var(--soft); font-size: clamp(15px,2vw,18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 7px; border-radius: 10px; padding: 13px 22px; font-weight: 800; font-size: 15px; cursor: pointer; }
.btn.primary { color: #fff; background: var(--teal); }
.btn.primary:hover { background: var(--teal-d); }
.btn.ghost { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.btn.gold { color: #3a2c07; background: var(--gold); }

/* sections */
section.block { padding: clamp(34px,5vw,62px) 0; border-top: 1px solid var(--line); }
section.block h2 { margin: 0 0 10px; font-size: clamp(22px,3.2vw,32px); line-height: 1.25; letter-spacing: -.01em; }
section.block > .wrap > p.sub { margin: 0 0 26px; color: var(--soft); font-size: 15.5px; max-width: 660px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 12px 30px rgba(16,31,30,.05); }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--soft); font-size: 14.5px; }
.card .num { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 9px; color: #fff; background: linear-gradient(135deg,var(--teal),var(--gold)); font-size: 13px; font-weight: 900; }

.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 26px; font-size: 15px; font-weight: 600; }
.checks li::before { position: absolute; left: 0; top: .12em; content: "✓"; color: var(--teal); font-weight: 900; }

.pricebox { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 14px; margin-bottom: 20px; }
.pricebox div { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pricebox span { display: block; color: var(--soft); font-size: 13px; font-weight: 800; }
.pricebox b { display: block; margin-top: 6px; color: var(--navy); font-size: clamp(19px,2.4vw,24px); }
.note { color: var(--soft); font-size: 13.5px; }

.steps { counter-reset: s; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 58px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; }
.steps li::before { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 12px; font-weight: 900; }
.steps li span { display: block; margin-top: 3px; color: var(--soft); font-size: 14px; font-weight: 500; }

.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-list details[open] { border-color: rgba(20,116,111,.34); box-shadow: 0 14px 34px rgba(14,28,27,.07); }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 17px 50px 17px 20px; font-weight: 900; font-size: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); content: "+"; color: var(--teal); font-size: 20px; font-weight: 900; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 20px 18px; color: var(--soft); font-size: 15px; }

.cta-band { margin: clamp(34px,5vw,62px) 0; padding: clamp(32px,5vw,52px); border-radius: 20px; text-align: center; color: #fff; background: linear-gradient(140deg,var(--teal),#0f333a); box-shadow: var(--shadow); }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(21px,3.2vw,30px); }
.cta-band p { margin: 0 0 22px; color: rgba(255,255,255,.85); }

.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related a { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 800; color: var(--soft); }
.related a:hover { color: var(--teal); border-color: rgba(20,116,111,.4); }

footer.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--soft); font-size: 13px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.foot-inner b { color: var(--ink); }
