/* =========================================================
   한성창호 — Design System
   Brand: #72be45  ·  Mobile first
   ========================================================= */
:root {
  --brand: #72be45;
  --brand-600: #5fa834;
  --brand-700: #3d7c1d;      /* 텍스트용 (흰 배경 대비 확보) */
  --brand-800: #2d5e14;
  --brand-50: #f2f9ec;
  --brand-100: #e3f2d6;
  --brand-200: #c9e6b1;

  --ink: #121a14;
  --ink-2: #3f4a43;
  --muted: #6f7a73;
  --line: #e4e8e2;
  --line-2: #d3d9d0;
  --bg: #f7f8f4;
  --surface: #ffffff;
  --deep: #10241a;          /* 다크 섹션 */
  --warn: #d9480f;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16,36,26,.06), 0 2px 8px rgba(16,36,26,.05);
  --shadow: 0 8px 30px rgba(16,36,26,.08);
  --shadow-lg: 0 20px 60px rgba(16,36,26,.14);

  --container: 1160px;
  --gutter: 20px;
  --header-h: 64px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.6; letter-spacing: -0.01em; word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.hero-grid > *, .pain-grid > *, .est-grid > *, .detail-grid > * { min-width: 0; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.bg-white { background: var(--surface); }
.bg-brand-soft { background: var(--brand-50); }
.bg-deep { background: var(--deep); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--brand-700);
  background: var(--brand-100); padding: 6px 12px; border-radius: 999px;
}
.bg-deep .eyebrow { background: rgba(114,190,69,.18); color: #b7e39a; }
.sec-head { margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(26px, 6.4vw, 40px); line-height: 1.28; font-weight: 800; letter-spacing: -0.035em; margin-top: 14px; }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.bg-deep .sec-head p { color: #a9b8ae; }
.sec-head.center { text-align: center; }
.hl { color: var(--brand-700); }
.bg-deep .hl { color: var(--brand); }
.note { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #0d1a0f; box-shadow: 0 6px 18px rgba(114,190,69,.35); }
.btn-primary:hover { background: #69b33d; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #24302a; }
.btn-line { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-lg { height: 60px; padding: 0 30px; font-size: 18px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.logo img { height: 34px; width: auto; }
.gnb { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-tel { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); }
.header-tel span { display: none; }
.header-cta { display: none; }
.menu-btn { width: 42px; height: 42px; border: 0; background: transparent; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.menu-btn .ic { width: 26px; height: 26px; }

.gnb.open {
  display: flex; flex-direction: column; position: fixed; inset: var(--header-h) 0 auto 0;
  background: #fff; padding: 8px var(--gutter) 20px; box-shadow: 0 20px 40px rgba(0,0,0,.12); border-top: 1px solid var(--line);
}
.gnb.open a { padding: 15px 4px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line); }
.gnb.open a:last-child { border-bottom: 0; }
.gnb .gnb-call { color: var(--brand-700); display: flex; align-items: center; gap: 8px; }

@media (min-width: 1000px) {
  :root { --header-h: 76px; }
  .logo img { height: 40px; }
  .gnb, .gnb.open { display: flex; position: static; flex-direction: row; gap: 4px; margin-left: 28px; padding: 0; background: none; box-shadow: none; border: 0; }
  .gnb a, .gnb.open a { padding: 10px 14px; font-size: 16px; font-weight: 600; color: var(--ink-2); border: 0; border-radius: 10px; }
  .gnb a:hover, .gnb a.active { color: var(--ink); background: var(--brand-50); }
  .gnb .gnb-call { display: none; }
  .header-tel { width: auto; height: auto; padding: 8px 4px; background: none; gap: 6px; font-weight: 800; font-size: 18px; color: var(--ink); }
  .header-tel span { display: inline; }
  .header-tel .ic { color: var(--brand-700); }
  .header-cta { display: inline-flex; margin-left: 8px; }
  .menu-btn { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: #0c1a12; color: #9fb0a5; padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); font-size: 14px; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 14px; }
.footer-brand p { line-height: 1.6; }
.footer-tel { display: inline-block; margin-top: 14px; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.footer-hours { font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: #dbe5de; font-weight: 600; }
.footer-info p { margin-bottom: 4px; }
.footer-info strong { color: #dbe5de; }
.footer-info .copy { margin-top: 14px; color: #6f8277; }
@media (min-width: 900px) {
  .site-footer { padding-bottom: 56px; }
  .footer-inner { grid-template-columns: 1.1fr .9fr 1.4fr; }
  .footer-links { flex-direction: column; }
}

/* ---------- Mobile CTA bar ---------- */
.mobile-cta {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1.8fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06);
  transform: translateY(0); transition: transform .25s ease;
}
.mobile-cta a { height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 800; font-size: 16px; }
.mc-call { background: var(--ink); color: #fff; }
.mc-quote { background: var(--brand); color: #0d1a0f; }
body[data-page="estimate"] .mobile-cta { display: none; }
body[data-page="estimate"] .site-footer { padding-bottom: 48px; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface); }
.hero-grid { display: grid; gap: 28px; padding: 32px 0 40px; }
.hero h1 { font-size: clamp(32px, 8.6vw, 58px); line-height: 1.18; font-weight: 800; letter-spacing: -0.045em; margin-top: 16px; }
.hero h1 .hl { color: var(--brand-600); }
.hero-sub { margin-top: 16px; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--brand-50); color: var(--ink-2); font-weight: 600; font-size: 14px; }
.chip .ic { color: #fff; background: var(--brand-600); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

.search-box {
  margin-top: 24px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 6px 6px 6px 16px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow);
}
.search-box .ic { width: 22px; height: 22px; color: var(--muted); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 17px; font-weight: 600; padding: 12px 0; background: transparent; }
.search-box input::placeholder { color: #9aa49d; font-weight: 500; }
.search-box .btn { height: 48px; border-radius: 13px; padding: 0 18px; }
.hero-sub-cta { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero-sub-cta a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.hero-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.2; box-shadow: var(--shadow-lg); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 14px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.hero-badge .num { font-size: 22px; font-weight: 800; color: var(--brand-700); letter-spacing: -0.03em; }
.hero-badge p { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.hero-badge strong { color: var(--ink); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; padding: 64px 0 72px; }
  .hero-visual { aspect-ratio: 4/4.4; }
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat { background: #fff; padding: 20px 16px; }
.stat b { display: block; font-size: clamp(24px, 6vw, 34px); font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.stat b small { font-size: .55em; font-weight: 700; margin-left: 2px; }
.stat span { font-size: 13.5px; color: var(--muted); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: 26px 24px; } }

/* ---------- Brand strip ---------- */
.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.brand-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; min-height: 92px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
}
.brand-card img { height: 30px; width: auto; object-fit: contain; }
.brand-card .wordmark { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: #1f3d73; }
.brand-card small { font-size: 12.5px; color: var(--muted); }
.brand-card .tier { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--bg); color: var(--ink-2); }
.brand-card .tier.p { background: var(--ink); color: #fff; }
@media (min-width: 800px) { .brands { grid-template-columns: repeat(4, 1fr); gap: 16px; } .brand-card { min-height: 130px; } .brand-card img { height: 38px; } }

/* ---------- Before / After compare ---------- */
.pain-grid { display: grid; gap: 28px; }
.pain-list { display: grid; gap: 10px; margin-top: 20px; }
.pain-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.pain-item .ico { width: 42px; height: 42px; border-radius: 12px; background: #fff1ea; color: var(--warn); display: grid; place-items: center; flex: none; }
.pain-item .ico .ic { width: 22px; height: 22px; }
.pain-item b { display: block; font-size: 16.5px; }
.pain-item p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }

.compare { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; user-select: none; touch-action: pan-y; box-shadow: var(--shadow-lg); background: #ddd; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-1.5px); box-shadow: 0 0 12px rgba(0,0,0,.3); }
.compare .knob {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; border-radius: 50%; transform: translate(-50%, -50%);
  background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; font-weight: 800; color: var(--ink); font-size: 18px;
}
.compare .tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 800; color: #fff; background: rgba(0,0,0,.55); }
.compare .tag.l { left: 14px; }
.compare .tag.r { right: 14px; background: var(--brand-600); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-caption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 960px) { .pain-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } }

/* ---------- Packages ---------- */
.pkgs { display: grid; gap: 14px; }
.pkg { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; display: flex; flex-direction: column; }
.pkg.best { border-color: var(--brand); box-shadow: 0 12px 40px rgba(114,190,69,.18); }
.pkg .ribbon { position: absolute; top: -12px; left: 22px; background: var(--brand); color: #0d1a0f; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 99px; }
.pkg-name { font-size: 14px; font-weight: 800; color: var(--brand-700); letter-spacing: .02em; }
.pkg h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-top: 4px; }
.pkg .stars { color: #f5a623; letter-spacing: 2px; margin-top: 6px; font-size: 15px; }
.pkg .stars i { color: #dfe3dc; font-style: normal; }
.pkg ul { margin: 18px 0 20px; display: grid; gap: 9px; }
.pkg li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.pkg li .ic { color: var(--brand-600); margin-top: 3px; }
.pkg .for { font-size: 13.5px; color: var(--muted); background: var(--bg); border-radius: 10px; padding: 10px 12px; margin-bottom: 18px; }
.pkg .btn { margin-top: auto; }
@media (min-width: 900px) { .pkgs { grid-template-columns: repeat(3, 1fr); gap: 20px; } .pkg.best { transform: translateY(-8px); } }

.tech { display: grid; gap: 12px; margin-top: 28px; }
.tech-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; }
.tech-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); flex: none; }
.tech-card b { font-size: 16px; }
.tech-card p { font-size: 14px; color: var(--muted); margin-top: 3px; }
@media (min-width: 900px) { .tech { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Why ---------- */
.why { display: grid; gap: 12px; }
.why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px; }
.why-card .num { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .06em; }
.why-card h3 { font-size: 20px; font-weight: 800; margin-top: 8px; letter-spacing: -0.03em; }
.why-card p { color: #b3c2b8; font-size: 15px; margin-top: 8px; }
@media (min-width: 800px) { .why { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Process ---------- */
.process { display: grid; gap: 10px; counter-reset: step; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.step .n { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand-700); font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.step b { font-size: 16.5px; }
.step p { font-size: 14px; color: var(--muted); }
.step.done .n { background: var(--brand); color: #0d1a0f; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .step { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px 12px; }
}
.oneday { margin-top: 18px; display: flex; gap: 12px; align-items: center; background: var(--deep); color: #fff; border-radius: var(--radius); padding: 18px 20px; }
.oneday .ic { width: 28px; height: 28px; color: var(--brand); }
.oneday b { color: var(--brand); }

/* ---------- Cases ---------- */
.cases-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cases-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.case-thumb { position: relative; aspect-ratio: 4/3; background: var(--line); overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-thumb .ba { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; }
.case-thumb .ba img { height: 100%; }
.case-thumb .lbl { position: absolute; top: 10px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(0,0,0,.55); }
.case-thumb .lbl.l { left: 10px; } .case-thumb .lbl.r { right: 10px; background: var(--brand-600); }
.case-body { padding: 16px 18px 18px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag-s { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); }
.tag-s.g { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.case-body h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.4; }
.case-body p { font-size: 14px; color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 12px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }
@media (min-width: 700px) { .h-scroll { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .h-scroll { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 0; margin: 0; gap: 20px; } }
.swipe-hint { font-size: 13px; color: var(--muted); margin: -12px 0 14px; }
@media (min-width: 1000px) { .swipe-hint { display: none; } }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review .stars { color: #f5a623; letter-spacing: 2px; }
.review p { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; flex: 1; }
.review .who { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- Checklist ---------- */
.checks { display: grid; gap: 10px; }
.check { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: #fff; border-radius: var(--radius); padding: 16px; border: 1px solid var(--line); }
.check .n { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.check b { font-size: 16px; display: block; }
.check p { font-size: 14px; color: var(--muted); margin-top: 3px; }
.check .ok { display: inline-flex; gap: 4px; align-items: center; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--brand-700); }
@media (min-width: 900px) { .checks { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--brand-600); font-weight: 800; margin-right: 10px; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 20px 20px 44px; color: var(--ink-2); font-size: 15px; line-height: 1.75; }

/* ---------- Final CTA ---------- */
.final-cta { border-radius: var(--radius-lg); background: var(--brand); color: #0d1a0f; padding: 36px 24px; text-align: center; position: relative; overflow: hidden; }
.final-cta::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; background: url(/assets/img/logo/mark.png) center/contain no-repeat; opacity: .14; filter: brightness(0); }
.final-cta h2 { font-size: clamp(26px, 6.4vw, 38px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.3; }
.final-cta p { margin-top: 10px; font-weight: 500; }
.final-cta .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; position: relative; z-index: 1; }
@media (min-width: 640px) { .final-cta { padding: 56px 40px; } .final-cta .actions { flex-direction: row; justify-content: center; } }

/* ---------- Page head (sub pages) ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 36px 0 28px; }
.page-head h1 { font-size: clamp(28px, 7vw, 42px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.25; margin-top: 12px; }
.page-head p { color: var(--muted); margin-top: 10px; }

/* ---------- Filter chips ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-bg { position: absolute; inset: 0; background: rgba(8,16,11,.6); }
.modal-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: #fff;
  border-radius: 22px 22px 0 0; padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom));
}
.modal-close { position: sticky; top: 0; margin-left: auto; display: flex; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); align-items: center; justify-content: center; z-index: 2; }
@media (min-width: 800px) {
  .modal-panel { left: 50%; top: 50%; bottom: auto; width: min(880px, 92vw); transform: translate(-50%, -50%); border-radius: 24px; padding: 28px; }
}

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Prose (privacy etc) ---------- */
.prose { max-width: 820px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.prose h2 { font-size: 18px; margin: 26px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 15px; }
.prose ul { list-style: disc; padding-left: 20px; }

/* brand estimate cards */
.pkg-logo { height: 30px; width: auto; align-self: flex-start; margin-top: 6px; }
.pkg h3 { margin-top: 14px; }
.pkg-model { font-size: 14px; font-weight: 700; color: var(--brand-700); margin-top: 2px; }
.pkg li span b { color: var(--ink); }
.tech-title { margin-top: 40px; font-size: 18px; font-weight: 800; text-align: center; }
.tech-title + .tech { margin-top: 16px; }
