/* 아이카우 홈페이지 스타일 */

:root {
  --ink: #0A3845;        /* 브랜드 짙은 청록 (로고·대시보드) */
  --ink-deep: #072A34;
  --teal: #2A7F78;       /* 앱 강조색 */
  --teal-soft: #D7E8E5;
  --mist: #EEF3F2;       /* 구역 배경 */
  --paper: #FFFFFF;
  --text: #14272C;
  --muted: #56696D;
  --line: #D3DEDC;
  --alert: #E5484D;      /* 알림 전용 */
  --on-ink: #E8F1EF;
  --on-ink-muted: #A9C3C1;

  --font: "Wanted Sans Variable", "Wanted Sans", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --header-h: 68px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #22706A; }
.btn-ghost { border-color: rgba(232, 241, 239, .45); color: var(--on-ink); }
.btn-ghost:hover { border-color: var(--on-ink); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn-block { width: 100%; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: .02em; }
.brand img { width: 40px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { text-decoration: none; font-size: 15.5px; font-weight: 600; padding: 8px 12px; border-radius: 8px; color: var(--on-ink-muted); }
.site-nav a:hover { color: var(--on-ink); }
.site-nav .nav-cta { margin-left: 8px; background: var(--teal); color: #fff; padding: 9px 18px; border-radius: 999px; }
.site-nav .nav-cta:hover { background: #22706A; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--on-ink); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; margin: 0 auto;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }

/* ---------- 히어로 ---------- */
.hero {
  background: var(--ink);
  color: var(--on-ink);
  padding: 64px 0 88px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }

.hero h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}
.hero .lead { margin-top: 24px; font-size: 19px; line-height: 1.75; color: var(--on-ink-muted); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-facts { margin-top: 40px; display: grid; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; }
.hero-facts li { font-size: 16px; color: var(--on-ink-muted); }
.hero-facts strong { display: inline-block; min-width: 7.5em; color: var(--on-ink); font-weight: 700; }

/* CCTV 모니터 */
.monitor { position: relative; }
.monitor-screen {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .55);
}
.monitor-screen video { width: 100%; height: 100%; object-fit: cover; }
.rec {
  position: absolute; right: 14px; top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: rgba(7, 42, 52, .72); padding: 5px 12px 5px 10px; border-radius: 999px;
}
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3BD18A; box-shadow: 0 0 0 3px rgba(59, 209, 138, .25); }
.monitor figcaption { margin-top: 16px; font-size: 14px; color: var(--on-ink-muted); }

/* 휴대폰 알림 카드 — 영상 속 감지 순간에 맞춰 나타남 */
.push {
  position: absolute;
  left: -36px; bottom: 54px;
  width: min(340px, 78%);
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .97);
  color: var(--text);
  border-radius: 16px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.push.is-on { opacity: 1; transform: none; }
.push-icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: #FDE7E8; color: var(--alert);
}
.push-body { display: grid; line-height: 1.4; }
.push-app { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.push-body strong { font-size: 15.5px; font-weight: 700; margin-top: 2px; }
.push-meta { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ---------- 공통 구역 ---------- */
.section { padding: 112px 0; }
.h2 {
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 22em;
}
.section-lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 36em; }

/* ---------- 손실 ---------- */
.loss-list { margin-top: 56px; border-top: 2px solid var(--ink); }
.loss-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.loss-what h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.loss-what p { margin-top: 6px; color: var(--muted); max-width: 34em; }
.loss-cost {
  text-align: right; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.03em;
  color: var(--ink); white-space: nowrap;
}
.loss-cost span { display: block; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* ---------- 작동 방식 ---------- */
.how { background: var(--mist); }
.steps { margin-top: 60px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.steps li { position: relative; padding-right: 40px; }
.step-no {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 19px;
}
/* 단계 사이 연결선 */
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; left: 48px; right: 0;
  height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 14px);
}
.steps h3 { margin-top: 22px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.steps p { margin-top: 8px; color: var(--muted); }

/* ---------- 감지 항목 ---------- */
.risk h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.risk p { margin-top: 12px; }
.risk .note { color: var(--muted); font-size: 16px; }

.risk-estrus {
  margin-top: 56px;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start;
}
.risk-text { padding-top: 8px; }

.gallery-view {
  position: relative; aspect-ratio: 1010 / 600;
  border-radius: var(--radius-lg); overflow: hidden; background: #000;
}
.gallery-view img, .pc-view img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .3s ease;
}
.gallery-view img.is-active, .pc-view img.is-active { opacity: 1; position: relative; }

.gallery-tabs, .pc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.gallery-tabs button, .pc-tabs button {
  border: 1.5px solid var(--line); background: var(--paper);
  padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.gallery-tabs button[aria-selected="true"], .pc-tabs button[aria-selected="true"] {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
.gallery-cap { margin-top: 10px; font-size: 14px; color: var(--muted); }

.risk-pair { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.risk-pair .risk { padding: 36px; border-radius: var(--radius-lg); }
.risk-calving { background: var(--mist); }
.risk-fall { background: var(--ink); color: var(--on-ink); display: flex; flex-direction: column; }
.risk-fall h3 { color: #fff; }
.risk-fall p { color: var(--on-ink-muted); }
.push-static {
  position: static; opacity: 1; transform: none;
  width: auto; max-width: 360px; margin-top: 28px;
}
.push-icon-fall { background: #FFF1D6; color: #B7791F; }
.fall-callout {
  margin-top: auto !important; padding-top: 28px;
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #fff !important;
}

/* 분만 단계 */
.timeline { margin-top: 26px; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 30px; display: grid; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--teal);
}
.timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 6px; top: 24px; bottom: 0; width: 2px; background: var(--teal-soft);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { background: var(--teal); }
.timeline strong { font-size: 17.5px; color: var(--ink); }
.timeline span { font-size: 15px; color: var(--muted); }

/* ---------- 비교 ---------- */
.compare { background: var(--mist); }
.table-scroll { margin-top: 48px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 17px; }
.compare-table th, .compare-table td { text-align: left; padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-size: 15px; font-weight: 700; color: var(--muted); border-bottom: 2px solid var(--ink); }
.compare-table tbody th { font-weight: 600; color: var(--muted); width: 26%; }
.compare-table td { color: var(--muted); }
.compare-table .us { background: var(--paper); color: var(--ink); font-weight: 700; }
.compare-table thead .us { color: var(--ink); font-size: 17px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.compare-foot { margin-top: 24px; color: var(--muted); max-width: 40em; }

/* ---------- 서비스 화면 ---------- */
.pc { margin-top: 48px; }
.pc-tabs { margin-top: 0; margin-bottom: 16px; }
.pc-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(10, 56, 69, .35);
}
.pc-bar { display: flex; gap: 7px; padding: 12px 16px; background: var(--mist); border-bottom: 1px solid var(--line); }
.pc-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.pc-view { position: relative; aspect-ratio: 1600 / 832; }
.pc-cap { margin-top: 14px; font-size: 15.5px; color: var(--muted); }
.pc-cap span { display: none; }
.pc-cap span.is-active { display: inline; }

.phones { margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.phones li { text-align: center; }
.phones img {
  width: 100%; aspect-ratio: 400 / 672; object-fit: cover; object-position: top; border-radius: 26px;
  border: 8px solid var(--ink);
  background: var(--ink);
}
.phones p { margin-top: 14px; font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---------- 요금제 ---------- */
.plans { background: var(--ink); color: var(--on-ink); }
.plans .h2 { color: #fff; }
.plans .section-lead { color: var(--on-ink-muted); }
.plan-list { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.plan { padding: 32px 32px 8px 0; }
.plan + .plan { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .12); }
.plan h3 { font-size: 21px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.plan-key { margin-top: 10px; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: #8FD3C9; }
.plan p:not(.plan-key) { margin-top: 12px; color: var(--on-ink-muted); font-size: 16px; }

/* ---------- 공태일 계산기: 소개 구역 ---------- */
.calc { background: var(--mist); }
.calc-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.calc-intro .btn { margin-top: 32px; }
.calc-facts { border-top: 2px solid var(--ink); }
.calc-facts li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.calc-facts span { color: var(--muted); font-size: 16px; }
.calc-facts strong { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- 공태일 계산기: 모달 ---------- */
html.modal-open { overflow: hidden; }
.calc-dialog {
  width: min(980px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--paper); color: var(--text);
  box-shadow: 0 40px 80px -20px rgba(7, 42, 52, .5);
  overflow: auto;
}
.calc-dialog::backdrop { background: rgba(7, 42, 52, .62); }
.calc-head {
  position: sticky; top: 0; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 28px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.calc-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.calc-close {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer;
}
.calc-close:hover { background: var(--mist); color: var(--ink); }

.calc-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.calc-inputs { padding: 28px; display: grid; gap: 26px; align-content: start; border-right: 1px solid var(--line); }
.cfield { display: grid; gap: 10px; }
.cfield[hidden] { display: none; }
.cfield label, .clabel { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.cfield output { font-weight: 800; color: var(--teal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cfield input[type="range"] { width: 100%; accent-color: var(--teal); height: 28px; margin: 0; cursor: pointer; }
.chint { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.cmode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--mist); border-radius: 12px; }
.cmode button {
  min-height: 42px; border: 0; border-radius: 9px; background: transparent;
  font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.cmode button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(10, 56, 69, .15); }
.cderived { font-size: 13.5px; color: var(--muted); line-height: 1.8; background: var(--mist); border-radius: var(--radius-sm); padding: 12px 14px; }
.cderived strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.cwarn { display: block; margin-top: 6px; color: #A3262B; }
.cwarn[hidden] { display: none; }

.calc-result { padding: 28px; display: grid; gap: 22px; align-content: start; }
.cr-label { font-size: 15px; font-weight: 600; color: var(--muted); }
.cr-total { margin-top: -18px; font-size: clamp(34px, 4.2vw, 46px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cr-rows, .cr-change { margin: 0; border-top: 2px solid var(--ink); }
.cr-change { border-top-width: 1px; border-top-color: var(--line); }
.cr-rows div, .cr-change div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.cr-rows dt, .cr-change dt { font-size: 15.5px; color: var(--text); }
.cr-rows dt small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.cr-rows dd, .cr-change dd { margin: 0; font-weight: 700; font-size: 17px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.cr-change dd span { color: var(--muted); font-weight: 600; }
.cr-change dd em { font-style: normal; font-size: 14px; color: var(--teal); margin-left: 4px; }

.calc-notes { padding: 20px 28px 28px; border-top: 1px solid var(--line); background: var(--mist); font-size: 13px; color: var(--muted); line-height: 1.7; }
.calc-notes p + p { margin-top: 8px; }
.calc-notes details { margin-top: 14px; }
.calc-notes summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 14px; }
.calc-notes ul { margin-top: 10px; display: grid; gap: 8px; }
.calc-notes li strong { color: var(--ink); margin-right: 6px; }
.calc-notes a { color: var(--teal); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font-size: 18.5px; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 40em; }

/* ---------- 문의 ---------- */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact-intro p { margin-top: 16px; color: var(--muted); max-width: 26em; }
.contact-direct { margin-top: 32px; display: grid; gap: 10px; }
.contact-direct li { display: flex; gap: 16px; align-items: baseline; }
.contact-direct span { font-size: 14.5px; color: var(--muted); min-width: 3.5em; }
.contact-direct a { font-size: 20px; font-weight: 700; color: var(--ink); text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; }

.contact-form {
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 36px; display: grid; gap: 18px;
  border: 1px solid var(--line);
}
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.req { font-size: 12.5px; font-weight: 600; color: var(--teal); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  font-size: 16.5px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42, 127, 120, .18); }
.field [aria-invalid="true"] { border-color: var(--alert); }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.field-check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.field-check a { color: var(--teal); }
.form-msg { font-size: 15px; font-weight: 600; padding: 12px 14px; border-radius: var(--radius-sm); }
.form-msg.is-error { background: #FDE7E8; color: #A3262B; }
.form-msg.is-ok { background: var(--teal-soft); color: var(--ink); }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-ink-muted); padding: 56px 0 40px; font-size: 14.5px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-ink); font-weight: 800; font-size: 19px; }
.footer-brand img { width: 34px; height: auto; }
.footer-info { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.footer-info li { display: flex; gap: 8px; }
.footer-info li span:first-child { color: #6F8E8F; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: var(--on-ink); text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

[data-config-show].is-empty { display: none !important; }

/* ---------- 모바일 하단 고정 버튼 ---------- */
.mobile-cta { display: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 1020px) {
  .site-nav { gap: 0; }
  .site-nav a { padding: 8px 9px; font-size: 15px; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  body { font-size: 16.5px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
  .site-nav .nav-cta { margin: 14px 0 0; text-align: center; border-radius: 999px; border: 0; }

  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .lead { font-size: 17.5px; }
  .push { left: 12px; bottom: 44px; width: min(320px, calc(100% - 24px)); }

  .section { padding: 80px 0; }
  .loss-list li { grid-template-columns: 1fr; gap: 10px; }
  .loss-cost { text-align: left; }
  .loss-cost span { display: inline; margin-right: 8px; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 32px 72px; }
  .steps li:last-child { padding-bottom: 0; }
  .step-no { position: absolute; left: 0; top: 0; }
  .steps h3 { margin-top: 8px; }
  .steps li:not(:last-child)::after {
    top: 48px; left: 23px; right: auto; bottom: 0; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--teal) 0 8px, transparent 8px 14px);
  }

  .risk-estrus { grid-template-columns: 1fr; gap: 28px; }
  .risk-pair { grid-template-columns: 1fr; }
  .risk-pair .risk { padding: 28px 24px; }
  .risk h3 { font-size: 26px; }

  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }

  .plan-list { grid-template-columns: 1fr; }
  .plan, .plan + .plan { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }

  .calc-intro { grid-template-columns: 1fr; gap: 36px; }
  .calc-dialog { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .calc-head { padding: 14px 20px; }
  .calc-body { grid-template-columns: 1fr; }
  .calc-inputs { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 20px; }
  .calc-result { padding: 22px 20px; }
  .calc-notes { padding: 18px 20px 28px; }

  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px 20px; }

  .mobile-cta {
    display: flex; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mobile-cta.is-on { transform: none; }
  .mobile-cta .btn { flex: 1; min-height: 48px; padding: 0 12px; }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .hero-facts strong { min-width: 6.5em; }
  .gallery-tabs button, .pc-tabs button { padding: 7px 13px; font-size: 14.5px; }
  .compare-table { min-width: 0; font-size: 15px; }
  .compare-table th, .compare-table td { padding: 14px 10px; }
  .compare-table tbody th { width: 30%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
