/* =========================================================
   김포·일산 철거·원상복구 상담 — styles.css
   정적 페이지 (Cloudflare Pages 호환, 빌드 없음)
   ========================================================= */

:root{
  --ink:#1b1712;
  --ink-2:#3b332a;
  --muted:#6f6558;
  --line:#e7ddcd;
  --bg:#fffdf9;
  --bg-alt:#faf4ea;
  --brand:#b4451a;
  --brand-deep:#8c3412;
  --brand-light:#fdeee3;
  --accent:#e0762c;
  --frost:#f7ecdf;
  --warm:#fdf7f0;
  --danger:#c0392b;
  --radius:16px;
  --radius-sm:10px;
  --shadow-sm:0 1px 2px rgba(27,23,18,.06), 0 6px 18px rgba(27,23,18,.05);
  --shadow-md:0 10px 34px rgba(27,23,18,.10);
  --max:1120px;
  --font:"Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
[hidden]{display:none !important;}
section[id]{scroll-margin-top:84px;}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%;}
body{
  margin:0; font-family:var(--font); color:var(--ink); background:var(--bg);
  font-size:16px; line-height:1.7; letter-spacing:-.01em;
  word-break:keep-all; overflow-wrap:break-word;
}
h1,h2,h3,h4{margin:0; line-height:1.28; letter-spacing:-.03em; font-weight:700;}
p{margin:0;}
ul,ol{margin:0; padding:0; list-style:none;}
a{color:inherit; text-decoration:none;}
img,svg{max-width:100%;}
button{font-family:inherit;}
:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:6px;}

.wrap{width:min(var(--max), 100% - 40px); margin-inline:auto;}
@media (max-width:560px){ .wrap{width:min(var(--max), 100% - 32px);} }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:12px 20px; border-radius:999px; border:1px solid transparent;
  font-size:15px; font-weight:600; line-height:1.2; cursor:pointer;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--brand); color:#fff; box-shadow:0 6px 16px rgba(180,69,26,.24);}
.btn-primary:hover{background:var(--brand-deep); transform:translateY(-1px);}
.btn-line{border-color:rgba(180,69,26,.35); color:var(--brand-deep); background:#fff;}
.btn-line:hover{background:var(--brand-light);}
.btn-ghost{color:var(--ink-2); background:rgba(255,255,255,.7); border-color:var(--line);}
.btn-ghost:hover{background:#fff;}
.btn-light{background:#fff; color:var(--brand-deep);}
.btn-light:hover{transform:translateY(-1px); box-shadow:var(--shadow-sm);}
.btn-text{background:none; color:var(--muted); text-decoration:underline; text-underline-offset:4px;}
.btn-lg{padding:15px 26px; font-size:16px;}
.btn-submit{width:100%; padding:16px; font-size:17px; border-radius:12px;}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,253,249,.88); backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(231,221,205,.9);
}
.header-inner{display:flex; align-items:center; gap:24px; height:68px;}
.brand{display:flex; align-items:center; gap:10px; margin-right:auto;}
.brand-mark{width:30px; height:30px; color:var(--brand); flex:0 0 auto;}
.brand-text{display:flex; flex-direction:column; line-height:1.2;}
.brand-text strong{font-size:15.5px; letter-spacing:-.03em;}
.brand-text small{font-size:11.5px; color:var(--muted); font-weight:500; letter-spacing:0;}
.nav{display:flex; gap:22px; font-size:14.5px; font-weight:500; color:var(--ink-2);}
.nav a:hover{color:var(--brand);}
.header-cta{display:flex; gap:8px; align-items:center;}
.header-cta .btn{padding:9px 16px; font-size:14px;}
@media (max-width:900px){ .nav{display:none;} }
@media (max-width:520px){
  .brand-text small{display:none;}
  .header-cta .btn-ghost{display:none;}
}

/* ---------- eyebrow ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:.02em;
  color:var(--brand); margin-bottom:14px;
}
.eyebrow .dot{width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px rgba(224,118,44,.16);}
.eyebrow.light{color:#f6d9c4;}

/* ---------- hero ---------- */
.hero{position:relative; overflow:hidden; padding:76px 0 84px; background:#fdf9f3;}
.hero-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(224,118,44,.16), transparent 62%),
    radial-gradient(700px 400px at 92% 6%, rgba(180,69,26,.12), transparent 60%),
    radial-gradient(600px 300px at 60% 100%, rgba(247,236,223,.95), transparent 70%);
}
.hero-bg::after{
  content:""; position:absolute; inset:0;
  background-image:radial-gradient(rgba(140,52,18,.10) 1px, transparent 1px);
  background-size:22px 22px; opacity:.45;
  mask-image:linear-gradient(to bottom, #000 0%, transparent 72%);
  -webkit-mask-image:linear-gradient(to bottom, #000 0%, transparent 72%);
}
.hero-inner{position:relative; display:grid; grid-template-columns:1.08fr .92fr; gap:48px; align-items:center;}
.hero h1{font-size:clamp(32px, 4.1vw, 50px); letter-spacing:-.04em; line-height:1.22;}
.hero h1 .hl{color:var(--brand); position:relative;}
.hero h1 .hl::after{
  content:""; position:absolute; left:0; right:0; bottom:2px; height:10px;
  background:rgba(224,118,44,.20); border-radius:4px; z-index:-1;
}
.lead{margin-top:20px; font-size:17px; color:var(--ink-2); max-width:33em;}
.lead strong{color:var(--brand-deep); font-weight:700;}
.hero-cta{display:flex; gap:10px; margin-top:28px; flex-wrap:wrap;}
.trust-chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:24px;}
.trust-chips li{
  font-size:13px; font-weight:600; color:var(--brand-deep);
  background:rgba(255,255,255,.8); border:1px solid rgba(180,69,26,.16);
  padding:7px 13px; border-radius:999px;
}
.trust-chips li::before{content:"✓"; margin-right:6px; color:var(--accent); font-weight:800;}

.hero-card{
  background:#fff; border:1px solid var(--line); border-radius:20px;
  padding:26px 26px 20px; box-shadow:var(--shadow-md);
}
.hero-card-head{display:flex; flex-direction:column; gap:8px; margin-bottom:18px;}
.hero-card-head .tag{
  align-self:flex-start; font-size:11.5px; font-weight:700; color:var(--brand-deep);
  background:var(--brand-light); padding:4px 10px; border-radius:999px;
}
.hero-card-head h2{font-size:19px;}
.check-list{display:flex; flex-direction:column; gap:16px;}
.check-list li{display:flex; gap:12px;}
.check-no{
  flex:0 0 24px; height:24px; border-radius:50%;
  display:grid; place-items:center; font-size:12px; font-weight:700;
  background:var(--brand-light); color:var(--brand-deep); margin-top:2px;
}
.check-list strong{display:block; font-size:14.5px; margin-bottom:2px;}
.check-list p{font-size:13.5px; color:var(--muted); line-height:1.6;}
.hero-card-foot{margin-top:18px; padding-top:14px; border-top:1px dashed var(--line); font-size:13px; color:var(--muted);}

@media (max-width:900px){
  .hero{padding:52px 0 60px;}
  .hero-inner{grid-template-columns:1fr; gap:34px;}
  .hero-card{order:2;}
}

/* ---------- section base ---------- */
.section{padding:96px 0;}
.section-alt{background:var(--bg-alt);}
.section-head{max-width:740px; margin-bottom:44px;}
.section-head h2{font-size:clamp(25px, 2.9vw, 34px);}
.section-head h2 em{font-style:normal; color:var(--brand);}
.section-desc{margin-top:14px; color:var(--muted); font-size:15.5px; line-height:1.75;}
.section-desc strong{color:var(--ink-2);}
@media (max-width:900px){ .section{padding:64px 0;} .section-head{margin-bottom:32px;} }

/* ---------- symptom / case grid ---------- */
.symptom-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.symptom-grid li{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:24px 22px; transition:transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.symptom-grid li:hover{transform:translateY(-3px); box-shadow:var(--shadow-sm); border-color:#ecd6bf;}
.sym-ico{
  display:inline-block; font-size:12px; font-weight:800; letter-spacing:.04em;
  color:var(--accent); margin-bottom:10px;
}
.symptom-grid h3{font-size:16.5px; margin-bottom:6px;}
.symptom-grid p{font-size:14px; color:var(--muted); line-height:1.65;}
@media (max-width:900px){ .symptom-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .symptom-grid{grid-template-columns:1fr;} }

/* ---------- services ---------- */
.service-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px;}
.service{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 24px; display:flex; flex-direction:column; gap:10px;
  transition:box-shadow .2s ease, transform .2s ease;
}
.service:hover{box-shadow:var(--shadow-sm); transform:translateY(-2px);}
.service-wide{grid-column:1 / -1; background:linear-gradient(135deg,#fdf3ea 0%, #ffffff 55%); border-color:#f0d6bf;}
.service-top{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
.service-no{font-size:12px; font-weight:800; color:#bda98f; letter-spacing:.06em;}
.service h3{font-size:18.5px;}
.service-badge{
  font-size:11.5px; font-weight:700; color:#fff; background:var(--brand);
  padding:3px 9px; border-radius:999px; letter-spacing:0;
}
.service p{font-size:14.5px; color:var(--muted); line-height:1.7;}
.service-tags{display:flex; flex-wrap:wrap; gap:6px; margin-top:2px;}
.service-tags li{
  font-size:12px; font-weight:600; color:var(--brand-deep);
  background:var(--brand-light); padding:4px 9px; border-radius:6px;
}
.service-price{margin-top:auto; padding-top:12px; font-size:14px; font-weight:700; color:var(--ink); border-top:1px solid var(--line);}
@media (max-width:820px){ .service-grid{grid-template-columns:1fr;} }

/* ---------- scope (철거 vs 원상복구) ---------- */
.scope{background:linear-gradient(160deg, #2b1a10 0%, #7a3a17 52%, #a5521f 100%); color:#fff; position:relative; overflow:hidden;}
.scope::before{
  content:""; position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size:26px 26px; opacity:.6;
  mask-image:radial-gradient(620px 420px at 88% 18%, #000, transparent 72%);
  -webkit-mask-image:radial-gradient(620px 420px at 88% 18%, #000, transparent 72%);
}
.scope-inner{position:relative; display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start;}
.scope h2{font-size:clamp(24px,2.8vw,33px); line-height:1.32;}
.scope-copy p{margin-top:16px; font-size:15px; color:#f2ddcd; line-height:1.8;}
.scope-copy p strong{color:#fff;}
.scope-copy .btn{margin-top:26px;}
.scope-list{
  background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.18);
  border-radius:16px; padding:24px 24px 18px; backdrop-filter:blur(4px);
}
.scope-list h3{font-size:15.5px; color:#fff; margin-bottom:14px;}
.scope-list ul{display:flex; flex-direction:column; gap:9px;}
.scope-list li{
  font-size:13.5px; color:#f4e4d6; padding-left:20px; position:relative; line-height:1.55;
}
.scope-list li::before{
  content:""; position:absolute; left:2px; top:7px; width:8px; height:8px;
  border:1.5px solid #f0b98d; border-radius:2px;
}
.scope-note{margin-top:14px; font-size:12.5px; color:#dcc0a8;}
@media (max-width:880px){ .scope-inner{grid-template-columns:1fr; gap:32px;} }

/* ---------- price tables ---------- */
.table-block{margin-bottom:36px;}
.table-title{font-size:18px; margin-bottom:14px; display:flex; align-items:center; gap:10px;}
.table-title::before{content:""; width:4px; height:18px; background:var(--accent); border-radius:2px;}
.table-scroll{overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); background:#fff;}
.price-table{width:100%; border-collapse:collapse; font-size:14.5px; min-width:560px;}
.price-table thead th{
  text-align:left; font-size:12.5px; font-weight:700; color:var(--muted);
  background:#fdf7f0; padding:12px 18px; border-bottom:1px solid var(--line); letter-spacing:.02em;
}
.price-table td, .price-table tbody th{
  padding:13px 18px; border-bottom:1px solid #f6eee3; vertical-align:top;
}
.price-table tbody th{text-align:left; font-weight:600; color:var(--ink); width:34%;}
.price-table td{color:var(--brand-deep); font-weight:600;}
.price-table td + td{color:var(--muted); font-weight:400; font-size:13.5px;}
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td{border-bottom:0;}
.price-table tbody tr:hover{background:#fffcf8;}
.table-note{margin-top:12px; font-size:12.5px; color:var(--muted); line-height:1.7;}
@media (max-width:640px){
  .price-table{min-width:0;}
  .price-table thead{display:none;}
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td{display:block; width:100%;}
  .price-table tr{border-bottom:1px solid var(--line); padding:12px 16px;}
  .price-table tr:last-child{border-bottom:0;}
  .price-table tbody th{border:0; padding:0 0 2px; font-size:14.5px; width:auto;}
  .price-table td{border:0; padding:0; font-size:14px;}
  .price-table td + td{padding-top:2px;}
}

.price-reasons{margin-top:56px;}
.price-reasons h3{font-size:19px; margin-bottom:18px;}
.reason-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.reason-grid li{background:#fff; border:1px solid var(--line); border-radius:12px; padding:18px;}
.reason-grid strong{display:block; font-size:14.5px; margin-bottom:5px; color:var(--brand-deep);}
.reason-grid p{font-size:13.5px; color:var(--muted); line-height:1.65;}
@media (max-width:900px){ .reason-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:480px){ .reason-grid{grid-template-columns:1fr;} }

/* ---------- law ---------- */
.law-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.law-grid article{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 24px;
}
.law-badge{
  display:inline-block; font-size:11.5px; font-weight:700; color:var(--brand-deep);
  background:var(--brand-light); padding:4px 10px; border-radius:999px; margin-bottom:12px;
}
.law-grid h3{font-size:17px; margin-bottom:8px;}
.law-grid p{font-size:14px; color:var(--muted); line-height:1.75;}
.law-grid strong{color:var(--ink-2);}
.law-note{margin-top:18px; font-size:12.5px; color:var(--muted); line-height:1.7;}
@media (max-width:880px){ .law-grid{grid-template-columns:1fr;} }

/* ---------- steps ---------- */
.steps{display:grid; grid-template-columns:repeat(5,1fr); gap:14px;}
.steps li{
  position:relative; background:#fff; border:1px solid var(--line);
  border-radius:14px; padding:22px 18px;
}
.steps li::after{
  content:""; position:absolute; top:34px; right:-14px; width:14px; height:1px;
  background:var(--line);
}
.steps li:last-child::after{display:none;}
.step-no{
  display:grid; place-items:center; width:26px; height:26px; border-radius:50%;
  background:var(--brand); color:#fff; font-size:12.5px; font-weight:700; margin-bottom:12px;
}
.steps h3{font-size:15px; margin-bottom:6px;}
.steps p{font-size:13.5px; color:var(--muted); line-height:1.65;}
@media (max-width:980px){ .steps{grid-template-columns:repeat(3,1fr);} .steps li::after{display:none;} }
@media (max-width:640px){ .steps{grid-template-columns:1fr;} }

/* ---------- FAQ ---------- */
.faq-wrap{max-width:860px;}
.faq-list{display:flex; flex-direction:column; gap:10px;}
.faq-list details{
  background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:0 20px; transition:border-color .18s ease, box-shadow .18s ease;
}
.faq-list details[open]{border-color:#f0d6bf; box-shadow:var(--shadow-sm);}
.faq-list summary{
  list-style:none; cursor:pointer; padding:17px 34px 17px 0; position:relative;
  font-size:15.5px; font-weight:600; line-height:1.5;
}
.faq-list summary::-webkit-details-marker{display:none;}
.faq-list summary::after{
  content:"+"; position:absolute; right:2px; top:50%; transform:translateY(-50%);
  font-size:20px; font-weight:400; color:var(--brand); line-height:1;
}
.faq-list details[open] summary::after{content:"–";}
.faq-a{padding:0 0 18px; border-top:1px dashed var(--line); margin-top:-2px;}
.faq-a p{padding-top:14px; font-size:14.5px; color:var(--muted); line-height:1.8;}

/* ---------- quote form ---------- */
.quote-section{background:linear-gradient(155deg,#2a1a10 0%, #6d3517 58%, #93461f 100%); color:#fff;}
.quote-inner{display:grid; grid-template-columns:.86fr 1.14fr; gap:56px; align-items:start;}
.quote-copy h2{font-size:clamp(24px,2.8vw,33px); line-height:1.32;}
.quote-copy > p{margin-top:16px; font-size:15px; color:#f0dccb; line-height:1.8;}
.quote-points{margin-top:24px; display:flex; flex-direction:column; gap:9px;}
.quote-points li{font-size:13.5px; color:#f6e6d8; padding-left:18px; position:relative;}
.quote-points li::before{content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%; background:#f0a868;}

.form-card{
  background:#fff; color:var(--ink); border-radius:20px; padding:30px;
  box-shadow:0 24px 60px rgba(30,15,5,.35);
}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.field{display:flex; flex-direction:column; gap:6px; margin-bottom:14px;}
.field label, .field legend{font-size:13.5px; font-weight:600; color:var(--ink-2);}
.req{color:var(--danger);}
.hint{font-weight:400; color:var(--muted); font-size:12.5px;}
.field input[type=text], .field input[type=tel], .field select, .field textarea{
  width:100%; font-family:inherit; font-size:15px; color:var(--ink);
  padding:12px 14px; border:1px solid #ddd0bd; border-radius:10px; background:#fffcf7;
  transition:border-color .15s ease, background .15s ease, box-shadow .15s ease;
  appearance:none;
}
.field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236f6558' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:34px;
}
.field textarea{resize:vertical; min-height:96px; line-height:1.65;}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--accent); background:#fff; box-shadow:0 0 0 3px rgba(224,118,44,.14);
}
.field.invalid input, .field.invalid select{border-color:var(--danger); background:#fff8f7;}
.err{margin:0; font-size:12.5px; color:var(--danger); display:none;}
.err.show{display:block;}

.symptoms-field{border:0; padding:0; margin:0 0 14px;}
.symptoms-field legend{padding:0; margin-bottom:8px;}
.chip-row{display:flex; flex-wrap:wrap; gap:8px;}
.chip{position:relative; cursor:pointer;}
.chip input{position:absolute; opacity:0; width:1px; height:1px;}
.chip span{
  display:inline-block; font-size:13.5px; font-weight:500; color:var(--ink-2);
  border:1px solid #ddd0bd; background:#fffcf7; border-radius:999px; padding:9px 15px;
  transition:all .15s ease;
}
.chip input:checked + span{background:var(--brand-light); border-color:var(--accent); color:var(--brand-deep); font-weight:700;}
.chip input:focus-visible + span{outline:2px solid var(--accent); outline-offset:2px;}

.consent{display:flex; gap:10px; align-items:flex-start; font-size:12.5px; color:var(--muted); line-height:1.6; margin:6px 0 4px; cursor:pointer;}
.consent input{margin-top:2px; flex:0 0 auto; width:16px; height:16px; accent-color:var(--brand);}
.err-consent{margin-bottom:10px;}
.form-note{margin-top:10px; font-size:12px; color:#a38f78; text-align:center;}

.result{text-align:left; padding-top:6px;}
.result h3{font-size:19px; margin-bottom:8px;}
.result p{font-size:14px; color:var(--muted);}
.result-body{
  margin:16px 0; padding:16px 18px; background:#fdf7f0; border:1px dashed #e5cfb6;
  border-radius:10px; font-family:inherit; font-size:13.5px; line-height:1.75;
  white-space:pre-wrap; color:var(--ink-2); overflow-wrap:anywhere;
}
.result-actions{display:flex; flex-wrap:wrap; gap:8px; align-items:center;}
.result-actions .btn{font-size:14px; padding:11px 18px;}
@media (max-width:900px){
  .quote-inner{grid-template-columns:1fr; gap:32px;}
  .form-card{padding:22px;}
  .form-grid{grid-template-columns:1fr;}
}

/* ---------- area ---------- */
.area-section{padding:72px 0;}
.area-inner{display:grid; grid-template-columns:.5fr 1.5fr; gap:40px; align-items:start;}
.area-inner h2{font-size:clamp(22px,2.4vw,28px);}
.area-cols{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.area-cols h3{font-size:14.5px; color:var(--brand-deep); margin-bottom:8px;}
.area-cols p{font-size:13.5px; color:var(--muted); line-height:1.75;}
@media (max-width:860px){ .area-inner{grid-template-columns:1fr; gap:24px;} .area-cols{grid-template-columns:1fr; gap:18px;} }

/* ---------- footer ---------- */
.site-footer{background:#1a120c; color:#b8a48f; padding:44px 0 56px; font-size:13px;}
.footer-inner{display:grid; grid-template-columns:.9fr 1.1fr; gap:32px;}
.footer-brand strong{color:#f0e2d3; font-size:15px; display:block; margin-bottom:8px;}
.footer-brand p{line-height:1.7; color:#a6927e;}
.footer-meta p{line-height:1.75;}
.footer-meta .small{margin-top:10px; font-size:12px; color:#93806d;}
@media (max-width:760px){ .footer-inner{grid-template-columns:1fr; gap:22px;} .site-footer{padding-bottom:88px;} }

/* ---------- mobile bar ---------- */
.mobile-bar{
  display:none; position:fixed; bottom:0; left:0; right:0; z-index:60;
  padding:10px 16px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,253,249,.95); backdrop-filter:blur(10px);
  border-top:1px solid var(--line); gap:8px;
}
.mobile-bar .btn{flex:1;}
.mobile-bar .btn-ghost{flex:0 0 auto; padding-inline:20px;}
@media (max-width:760px){ .mobile-bar{display:flex;} }

/* ---------- reveal ---------- */
[data-reveal]{opacity:0; transform:translateY(14px); transition:opacity .55s ease, transform .55s ease;}
[data-reveal].is-in{opacity:1; transform:none;}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  [data-reveal]{opacity:1; transform:none; transition:none;}
  .btn:hover{transform:none;}
}

/* ---------- 접수처 고지 바 ---------- */
.notice-bar{
  display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:center; gap:10px;
  margin:0; padding:11px 20px;
  background:#fdf3e7; border-bottom:1px solid #efdcc4;
  font-size:13px; line-height:1.6; color:var(--ink-2); text-align:center;
}
.notice-bar strong{color:var(--brand-deep);}
.notice-tag{
  flex:0 0 auto; font-size:11.5px; font-weight:700; letter-spacing:.02em;
  color:var(--brand-deep); background:#f7e3cb; border-radius:999px; padding:2px 10px; margin-top:1px;
}

/* ---------- 접수처 성격 안내 ---------- */
.how-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.how-grid article{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow-sm);}
.how-no{
  display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:.02em;
  color:var(--brand-deep); background:var(--brand-light); border-radius:999px; padding:3px 10px; margin-bottom:10px;
}
.how-grid h3{font-size:16.5px; margin-bottom:10px;}
.how-grid ul{display:flex; flex-direction:column; gap:7px;}
.how-grid li{position:relative; padding-left:14px; font-size:13.5px; color:var(--muted); line-height:1.65;}
.how-grid li::before{content:""; position:absolute; left:0; top:8px; width:5px; height:5px; border-radius:50%; background:var(--accent);}
@media (max-width:860px){ .how-grid{grid-template-columns:1fr; gap:12px;} }

/* ---------- 견적서 체크 ---------- */
.quote-check{display:grid; grid-template-columns:.95fr 1.05fr; gap:56px; align-items:center;}
.quote-check-copy h2{font-size:clamp(23px,2.6vw,31px);}
.quote-check-copy p:not(.eyebrow){margin-top:14px; font-size:15px; color:var(--muted); line-height:1.8;}
.check-box{display:flex; flex-direction:column; gap:10px;}
.check-box li{
  display:flex; gap:14px; align-items:center;
  background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:15px 18px; font-size:14.5px; color:var(--ink-2); font-weight:500;
}
.check-box li span{font-size:12px; font-weight:700; color:var(--brand); flex:0 0 auto;}
@media (max-width:860px){ .quote-check{grid-template-columns:1fr; gap:30px;} }

/* ---------- 폼 위 사전 확인 ---------- */
.precheck{margin-top:26px; padding:16px 18px; border:1px solid rgba(255,255,255,.24); border-radius:12px; background:rgba(255,255,255,.08);}
.precheck h3{font-size:13.5px; color:#fff; margin-bottom:10px;}
.precheck ol{display:flex; flex-direction:column; gap:8px; counter-reset:pc;}
.precheck li{position:relative; padding-left:22px; font-size:13px; color:#f7e5d6; line-height:1.55; counter-increment:pc;}
.precheck li::before{
  content:counter(pc); position:absolute; left:0; top:1px; width:16px; height:16px; border-radius:50%;
  background:rgba(255,255,255,.2); color:#fff; font-size:10.5px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.precheck a{color:#fff; font-weight:600; text-decoration:underline; text-underline-offset:3px;}
.precheck span{display:block; font-size:12px; color:#dcbf9f;}

/* ---------- 희망 연락 방식 ---------- */
.radio-row{display:grid; gap:8px;}
.radio{
  display:flex; align-items:flex-start; gap:10px; cursor:pointer;
  border:1px solid #ddd0bd; border-radius:10px; padding:11px 13px; background:#fffcf7;
  transition:border-color .15s ease, background .15s ease;
}
.radio input{margin-top:3px; flex:0 0 auto; accent-color:var(--brand);}
.radio span{display:flex; flex-direction:column; gap:2px;}
.radio strong{font-size:13.5px; font-weight:600; color:var(--ink-2);}
.radio small{font-size:12px; color:var(--muted); line-height:1.5;}
.radio:has(input:checked){border-color:var(--accent); background:#fff6ec;}
.radio:has(input:checked) strong{color:var(--brand-deep);}
.contact-field.invalid .radio{border-color:#e8b8b2;}

/* ---------- 동의 / 결과 ---------- */
.consent span strong{color:var(--ink-2); font-weight:700;}
.consent u{text-decoration-color:var(--accent); text-underline-offset:2px;}
.botcheck{position:absolute; left:-9999px; width:1px; height:1px; opacity:0;}
.result .result-id{margin-top:10px; font-size:13px; color:var(--ink-2);}
.result .result-id b{font-variant-numeric:tabular-nums; letter-spacing:.02em;}
.footer-meta a{text-decoration:underline; text-underline-offset:3px; color:#e6d3bd;}
.contact-field{border:0; padding:0; margin:0 0 14px;}
.contact-field legend{padding:0; margin-bottom:8px;}
