/* =========================================================
   REPTILISH 3D 출력 견적 — print.reptilish.com (시안 2026-10-19)
   토큰 · 글꼴 · 버튼은 global-site/static/assets/css/site.css 와 같게(복사본 — 그쪽이 바뀌면 같이).
   ========================================================= */
:root{
  --cream:#FAF7F2; --warm:#F3EEE6; --paper:#FFFFFF; --deep:#3E3832;
  --ink:#3A3531; --mute:#6E655D; --accent:#6E5940; --line:#E7DFD4;
  --od-head:#F2EDE6; --od-body:#D9D2C8; --od-gold:#C6AE8A;
  --ok:#4F6B4A; --warn:#9A6A1F; --bad:#9B3B2F;
  --body:'Noto Serif KR','Noto Serif',serif;
  --display:'Cormorant Garamond', var(--body);
  --gut:16px; --max:1240px; --hdr:60px; --track:3px;
}
@media (min-width:768px){ :root{ --gut:32px; --hdr:68px; } }
@media (min-width:1200px){ :root{ --gut:40px; } }

*{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:calc(var(--hdr) + 16px); }
body{
  background:var(--cream); color:var(--ink);
  font-family:var(--body); font-weight:300; font-size:15px; line-height:1.8;
  -webkit-font-smoothing:antialiased; overflow-x:hidden; word-break:keep-all; line-break:strict;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button, input, select, textarea{ font:inherit; color:inherit; }
button{ background:none; border:0; cursor:pointer; }
h1,h2,h3,h4{ font-weight:400; text-wrap:balance; }
p, li{ text-wrap:pretty; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 var(--gut); }

.label{ font-family:var(--display); font-weight:400; font-size:12px; line-height:1.4; letter-spacing:var(--track); text-transform:uppercase; color:var(--accent); }
.num{ font-family:'Cormorant Garamond',serif; font-style:italic; font-weight:300; color:var(--accent); }
.small{ font-size:13px; line-height:1.75; color:var(--mute); }
.tiny{ font-size:12px; line-height:1.7; color:var(--mute); }
.sep{ display:block; width:36px; height:1px; background:var(--accent); }
.tnum{ font-variant-numeric:tabular-nums; }

/* ---------- buttons (site.css 와 같은 모양) ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:48px; padding:12px 24px; border-radius:1px;
  font-weight:400; font-size:14px; line-height:1.35; letter-spacing:.02em;
  border:1px solid var(--accent); background:var(--accent); color:#fff; transition:background .2s, border-color .2s, color .2s;
}
.btn:hover{ background:var(--deep); border-color:var(--deep); }
.btn.outline{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn.outline:hover{ background:var(--ink); color:var(--cream); }
.btn.block{ display:flex; width:100%; }
.btn:disabled{ opacity:.45; cursor:not-allowed; }
.ico{ width:18px; height:18px; flex:0 0 18px; display:block; }

/* ---------- header ---------- */
.hdr{ position:sticky; top:0; z-index:50; background:rgba(250,247,242,.96); backdrop-filter:blur(6px); border-bottom:1px solid var(--line); }
.hdr-in{ height:var(--hdr); display:flex; align-items:center; justify-content:space-between; gap:16px; }
.hdr-logo{ display:flex; align-items:center; gap:12px; }
.hdr-logo img{ height:24px; width:auto; }
.hdr-logo .tag{ font-size:12px; color:var(--mute); padding-left:12px; border-left:1px solid var(--line); white-space:nowrap; }
@media (min-width:768px){ .hdr-logo img{ height:28px; } }
.hdr-nav{ display:none; gap:28px; font-size:14px; letter-spacing:.04em; }
.hdr-nav a{ padding:6px 0; border-bottom:1px solid transparent; }
.hdr-nav a:hover{ color:var(--accent); border-bottom-color:var(--accent); }
.hdr-cta{ font-size:13px; padding:8px 14px; min-height:0; }
@media (min-width:960px){ .hdr-nav{ display:flex; } }

/* ---------- hero (짧게) ---------- */
.hero{ padding:28px 0 20px; }
.hero .in{ display:grid; gap:14px; }
.hero h1{ font-size:24px; line-height:1.45; font-weight:300; }
.hero .lead{ font-size:15px; color:var(--ink); max-width:44em; }
.facts{ display:flex; flex-wrap:wrap; gap:8px; margin-top:4px; }
.facts li{ list-style:none; font-size:12.5px; padding:4px 12px; border:1px solid var(--line); background:var(--paper); border-radius:999px; color:var(--mute); }
.facts b{ font-weight:500; color:var(--ink); }
@media (min-width:768px){ .hero{ padding:40px 0 28px; } .hero h1{ font-size:34px; } .hero .lead{ font-size:16px; } }

/* ---------- 카드 · 격자 ---------- */
.sec{ padding:12px 0 28px; }
.grid{ display:grid; gap:16px; }
@media (min-width:960px){
  .grid.g2{ grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:20px; align-items:start; }
  .grid.g3{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
  .grid.g-form{ grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); gap:20px; align-items:start; }
}
.card{ background:var(--paper); border:1px solid var(--line); padding:20px; }
@media (min-width:768px){ .card{ padding:26px 28px; } }
.card-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:14px; }
.card-head h2{ font-size:19px; font-weight:400; }
.card-head .label{ white-space:nowrap; }
.card h3{ font-size:15px; font-weight:500; margin:16px 0 6px; }
.card h3:first-of-type{ margin-top:0; }
.card ul.dots{ list-style:none; display:grid; gap:4px; }
.card ul.dots li{ position:relative; padding-left:14px; font-size:13.5px; line-height:1.7; }
.card ul.dots li::before{ content:''; position:absolute; left:2px; top:.8em; width:4px; height:4px; border-radius:50%; background:var(--accent); }
.card ul.dots.no li::before{ background:var(--bad); }
.bg-warm{ background:var(--warm); }

/* ---------- 셀프 견적 ---------- */
.drop{
  display:grid; place-items:center; gap:6px; text-align:center; cursor:pointer;
  border:1px dashed #CBBFAF; background:var(--cream); padding:26px 16px; transition:border-color .2s, background .2s;
}
.drop:hover, .drop.over{ border-color:var(--accent); background:#F6F0E7; }
.drop strong{ font-weight:500; font-size:15px; }
.drop .ext{ font-size:12px; color:var(--mute); letter-spacing:.03em; }
.drop input{ position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.opts{ display:grid; grid-template-columns:1fr 1fr; gap:10px 12px; margin-top:16px; }
@media (min-width:560px){ .opts{ grid-template-columns:repeat(4,1fr); } }
.fld{ display:grid; gap:4px; }
.fld > span{ font-size:12px; color:var(--mute); }
.fld select, .fld input, .fld textarea{
  width:100%; min-height:42px; padding:8px 10px; background:var(--paper); border:1px solid var(--line); border-radius:1px; font-size:14px;
}
.fld textarea{ min-height:84px; resize:vertical; line-height:1.6; }
.fld select:focus, .fld input:focus, .fld textarea:focus{ outline:none; border-color:var(--accent); }
.status{ margin-top:14px; font-size:13px; color:var(--mute); min-height:1.6em; }
.status.err{ color:var(--bad); }

.files{ display:grid; gap:8px; margin-top:14px; }
.file{ display:grid; grid-template-columns:1fr auto; gap:2px 12px; align-items:center; padding:10px 12px; border:1px solid var(--line); background:var(--cream); font-size:13px; }
.file .nm{ font-weight:500; overflow-wrap:anywhere; }
.file .meta{ grid-column:1/-1; color:var(--mute); font-size:12.5px; }
.file .x{ font-size:12px; color:var(--mute); text-decoration:underline; }
.badge{ display:inline-block; font-size:11.5px; padding:1px 8px; border-radius:999px; border:1px solid currentColor; line-height:1.6; margin-left:6px; white-space:nowrap; font-weight:400; }
.badge.ok{ color:var(--ok); } .badge.warn{ color:var(--warn); } .badge.bad{ color:var(--bad); }

.result{ margin-top:16px; border-top:1px solid var(--line); padding-top:16px; }
.kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.kpi{ background:var(--cream); padding:10px 12px; }
.kpi .k{ font-size:11.5px; color:var(--mute); }
.kpi .v{ font-size:20px; font-weight:400; line-height:1.3; }
.kpi .v small{ font-size:12px; color:var(--mute); margin-left:2px; }
.kpi .r{ font-size:11.5px; color:var(--mute); }
.bill{ width:100%; border-collapse:collapse; margin-top:14px; font-size:13.5px; }
.bill td{ padding:7px 0; border-bottom:1px solid var(--line); vertical-align:top; }
.bill td:last-child{ text-align:right; white-space:nowrap; padding-left:12px; }
.bill .how{ display:block; font-size:12px; color:var(--mute); }
.bill tr.sum td{ border-bottom:0; border-top:1px solid var(--ink); padding-top:10px; font-size:15px; font-weight:500; }
.bill tr.sum td:last-child{ font-size:20px; }
.warns{ list-style:none; display:grid; gap:6px; margin-top:12px; }
.warns li{ font-size:12.5px; line-height:1.65; padding:8px 10px; background:#FBF4E8; border-left:2px solid var(--warn); }
.warns li.bad{ background:#F8ECE9; border-left-color:var(--bad); }
.result .after{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.result .after .btn{ flex:1 1 160px; }

/* ---------- 계산 방식 ---------- */
.formula{ display:grid; gap:8px; }
/* 1~5 — 재료비 · 출력비(핵심)는 흰 바탕 + 왼쪽 굵은 선 + 큰 글자, 나머지는 얇은 줄, 합계는 진한 바탕(10/19 사용자: 시인성) */
.frow{ display:grid; grid-template-columns:30px 1fr; gap:12px; align-items:start; padding:10px 12px; border:1px solid #DDD3C5; background:rgba(255,255,255,.55); }
.frow .fn{ width:26px; height:26px; border-radius:50%; display:grid; place-items:center; font-size:13px; font-weight:500; line-height:1;
  background:var(--paper); color:var(--accent); border:1px solid var(--accent); font-family:var(--body); font-style:normal; margin-top:1px; }
.frow .ft{ font-size:14px; font-weight:500; color:var(--deep); line-height:1.5; }
.frow .fv{ font-weight:400; color:var(--ink); margin-left:6px; }
.frow .fd{ font-size:12.5px; line-height:1.65; color:#544C45; margin-top:2px; }
.frow.key{ background:var(--paper); border:1px solid #D9CBB6; border-left:4px solid var(--accent); padding:14px 14px 14px 12px; box-shadow:0 1px 6px rgba(62,56,50,.06); }
.frow.key .fn{ background:var(--accent); color:#fff; width:28px; height:28px; font-size:14px; }
.frow.key .ft{ font-size:15px; display:flex; align-items:center; gap:8px; }
.frow.key .fx{ font-size:17px; font-weight:500; color:var(--accent); line-height:1.45; margin-top:4px; }
.tag-core{ font-size:11px; font-weight:500; padding:1px 8px; border-radius:999px; background:#F1E6D6; color:var(--accent); letter-spacing:.02em; }
.frow.sum{ background:var(--deep); border-color:var(--deep); }
.frow.sum .fn{ background:transparent; color:var(--od-gold); border-color:var(--od-gold); }
.frow.sum .ft{ color:#fff; }
.frow.sum .fv{ color:var(--od-gold); }
.frow.sum .fd{ color:var(--od-body); }
@media (min-width:768px){ .frow.key .fx{ font-size:18px; } }
.rate{ width:100%; border-collapse:collapse; font-size:13px; margin-top:6px; }
.rate th, .rate td{ text-align:left; padding:6px 0; border-bottom:1px solid var(--line); font-weight:300; }
.rate th{ font-size:12px; color:var(--mute); }
.rate td:last-child, .rate th:last-child{ text-align:right; }
.ex{ margin-top:6px; font-size:13px; }
.ex td{ padding:4px 0; }

/* ---------- 장비 ---------- */
.printers{ display:grid; gap:12px; }
.printer{ padding-bottom:12px; border-bottom:1px solid var(--line); }
.printer:last-child{ border-bottom:0; padding-bottom:0; }
.printer .nm{ font-weight:500; font-size:14.5px; }
.printer .nm small{ font-weight:300; color:var(--mute); font-size:12px; margin-left:6px; }
.printer p{ font-size:13px; color:var(--mute); line-height:1.7; }

/* ---------- 신청 ---------- */
.form{ display:grid; gap:12px; }
.form .two{ display:grid; gap:12px; }
@media (min-width:560px){ .form .two{ grid-template-columns:1fr 1fr; } }
.attach{ font-size:13px; padding:10px 12px; background:var(--cream); border:1px solid var(--line); }
.consent{ display:flex; gap:10px; align-items:flex-start; font-size:12.5px; line-height:1.65; color:var(--mute); }
.consent input{ margin-top:4px; width:16px; height:16px; accent-color:var(--accent); flex:0 0 16px; }
.consent details{ margin-top:2px; }
.consent summary{ cursor:pointer; text-decoration:underline; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.done{ padding:16px; background:#EEF2EC; border-left:2px solid var(--ok); font-size:14px; }

.side{ display:grid; gap:16px; }
.talk{ display:flex; gap:18px; align-items:center; margin-top:4px; }
.circle{ display:grid; justify-items:center; gap:6px; font-size:12px; color:var(--mute); }
.circle .dot{ width:58px; height:58px; border-radius:50%; display:grid; place-items:center; box-shadow:0 2px 10px rgba(62,56,50,.12); transition:transform .15s; }
.circle:hover .dot{ transform:translateY(-2px); }
.circle .ico{ width:26px; height:26px; flex-basis:26px; }
.dot.kakao{ background:#FEE500; }
.dot.insta{ background:linear-gradient(45deg,#F58529 0%,#DD2A7B 42%,#8134AF 72%,#515BD4 100%); color:#fff; }
.makes{ display:grid; gap:10px; margin-top:4px; }
.make{
  display:flex; align-items:center; gap:12px; padding:12px 16px; border-radius:14px;
  border:1px solid var(--line); background:var(--paper); transition:border-color .2s, transform .15s;
}
.make:hover{ border-color:var(--accent); transform:translateY(-1px); }
.make .mk{ width:36px; height:36px; border-radius:10px; display:grid; place-items:center; flex:0 0 36px; }
.make .mk.naver{ background:#03C75A; color:#fff; }
.make .mk.naver .ico{ width:15px; height:15px; flex-basis:15px; }
.make .mk.site{ background:var(--deep); color:var(--od-head); }
.make .t{ display:grid; line-height:1.4; }
.make .t b{ font-weight:500; font-size:14px; }
.make .t span{ font-size:12px; color:var(--mute); }
.make .arr{ margin-left:auto; color:var(--mute); font-family:'Cormorant Garamond',serif; font-size:18px; }

/* 옆에 떠 있는 상담 동그라미(카카오 · 인스타) */
.dock{ position:fixed; right:14px; bottom:16px; z-index:60; display:grid; gap:10px; }
.dock a{ width:50px; height:50px; border-radius:50%; display:grid; place-items:center; box-shadow:0 4px 14px rgba(62,56,50,.22); position:relative; }
.dock a .ico{ width:24px; height:24px; flex-basis:24px; }
.dock a .tip{ position:absolute; right:60px; top:50%; transform:translateY(-50%); white-space:nowrap; font-size:12px; background:var(--deep); color:var(--od-head); padding:4px 10px; opacity:0; pointer-events:none; transition:opacity .15s; }
.dock a:hover .tip, .dock a:focus-visible .tip{ opacity:1; }
@media (min-width:1360px){ .dock{ right:22px; top:50%; bottom:auto; transform:translateY(-50%); } .dock a{ width:54px; height:54px; } }

/* ---------- footer ---------- */
.ftr{ background:var(--deep); color:var(--od-body); padding:28px 0 90px; margin-top:16px; font-size:12.5px; line-height:1.8; }
.ftr .wrap{ display:grid; gap:10px; }
.ftr a{ text-decoration:underline; text-underline-offset:3px; }
.ftr .biz{ color:#B5ADA2; }
.ph{ font-family:ui-monospace,Menlo,monospace; font-size:.9em; background:rgba(198,174,138,.25); padding:0 5px; }
@media (min-width:1360px){ .ftr{ padding-bottom:28px; } }

/* 접기(폰에서 닫힘 · PC 960px↑ 에서 처음부터 열림 — print.js) */
.fold > summary{ list-style:none; cursor:pointer; position:relative; }
.fold > summary::-webkit-details-marker{ display:none; }
.fold > summary::after{ content:'+'; font-family:'Cormorant Garamond',serif; font-size:22px; line-height:1; color:var(--accent); margin-left:10px; }
.fold[open] > summary::after{ content:'−'; }
.fold:not([open]) > summary.card-head{ margin-bottom:0; }
.fold > summary.card-head .label{ margin-left:auto; }
.fold.more{ margin-top:14px; border-top:1px solid var(--line); padding-top:12px; }
.fold.more > summary{ display:flex; align-items:baseline; gap:8px; font-size:14px; font-weight:500; }
.fold.more > summary::after{ margin-left:auto; }
@media (min-width:960px){ .fold > summary{ cursor:default; } .fold > summary::after{ display:none; } }
@media (max-width:559px){ .card{ padding:18px 16px; } }

/* ---------- 강조(10/19 — 힘 줄 곳: 굵기 · 색 · 크기) ---------- */
.hl{ font-weight:500; color:var(--accent); }
.em{ font-weight:500; color:var(--bad); }
.hl-mark{ color:var(--accent); font-weight:400; background:linear-gradient(transparent 64%, rgba(198,174,138,.38) 0); padding:0 2px; }
.em-link{ color:var(--accent); font-weight:500; text-decoration:underline; text-underline-offset:3px; }
.hero h1{ font-weight:400; }
.facts li.strong{ border-color:var(--accent); background:var(--accent); color:#fff; }
.facts li.strong a{ font-weight:500; }
.card-head h2{ font-weight:500; color:var(--deep); }
.no-h{ color:var(--bad); }
.warn-li{ background:#F8ECE9; padding:6px 8px 6px 22px !important; }
.warn-li::before{ left:10px !important; }
.kpi.key{ background:var(--deep); color:var(--od-head); }
.kpi.key .k, .kpi.key .r, .kpi.key .v small{ color:var(--od-body); }
.kpi.key .v{ font-weight:500; }
.bill tr.sum td:last-child{ font-size:24px; color:var(--accent); }
.total-sm{ font-weight:500; color:var(--accent); font-size:15px; }
.btn.kakao{ background:#FEE500; border-color:#FEE500; color:#191919; }
.btn.kakao:hover{ background:#F2D900; border-color:#F2D900; }
.btn.insta{ background:linear-gradient(45deg,#F58529 0%,#DD2A7B 42%,#8134AF 72%,#515BD4 100%); border:0; color:#fff; }
.btn.insta:hover{ filter:brightness(.93); }

/* 3D 파일 없는 사람 상자 */
.nomodel{ margin-top:12px; padding:16px; border:1.5px solid var(--accent); background:#FBF6EE; display:grid; gap:10px; }
.nm-head{ display:grid; gap:6px; }
.nm-head strong{ font-weight:500; font-size:16px; line-height:1.5; color:var(--deep); }
.pill-accent{ justify-self:start; font-size:11.5px; font-weight:500; padding:2px 10px; border-radius:999px; background:var(--accent); color:#fff; letter-spacing:.02em; }
.nm-points{ list-style:none; display:grid; gap:3px; font-size:13.5px; line-height:1.7; }
.nm-points li{ position:relative; padding-left:14px; }
.nm-points li::before{ content:''; position:absolute; left:2px; top:.8em; width:4px; height:4px; border-radius:50%; background:var(--accent); }
.nm-points li.mute{ color:var(--mute); font-size:12.5px; }
.nm-btns{ display:grid; gap:8px; grid-template-columns:1fr 1fr; }
.nm-btns .btn{ min-height:44px; padding:10px 12px; font-size:13px; }
@media (max-width:400px){ .nm-btns{ grid-template-columns:1fr; } }
