:root {
  --ink: #101d2d;
  --navy: #14283f;
  --blue: #1769ff;
  --coral: #e4674f;
  --paper: #fffdf9;
  --mist: #f2f5f8;
  --line: #d8dee6;
  --muted: #607086;
  --max: 1280px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); }
body, button, input, select, textarea { font: inherit; }
button, input, select, textarea { letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }
h1, h2, h3, p { margin: 0; word-break: keep-all; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { width: 1em; height: 1em; stroke-width: 1.8; }
section[id] { scroll-margin-top: 112px; }

.utility-tier {
  position: sticky;
  z-index: 99;
  top: 0;
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 650;
}

.site-header {
  position: sticky;
  z-index: 98;
  top: 32px;
  display: grid;
  min-height: 68px;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid rgba(16, 29, 45, .12);
  color: var(--ink);
  background: rgba(255, 253, 249, .96);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; width: max-content; align-items: center; gap: 11px; font-size: 20px; font-weight: 850; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--ink); border-radius: 6px; color: var(--blue); }
.brand-mark svg { width: 19px; height: 19px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 16px; font-weight: 680; }
.desktop-nav a { position: relative; display: grid; min-height: 48px; place-items: center; }
.header-cta { justify-self: end; min-height: 46px; padding: 0 20px; border: 1px solid var(--blue); border-radius: 6px; color: #fff; background: var(--blue); font-size: 15px; font-weight: 800; }

.hero { position: relative; min-height: 720px; overflow: hidden; color: #fff; background: #0c1724; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 14, 24, .9) 0%, rgba(7, 14, 24, .69) 34%, rgba(7, 14, 24, .1) 68%, rgba(7, 14, 24, .08) 100%); }
.hero-copy { position: relative; z-index: 1; display: grid; width: min(var(--max), calc(100% - 48px)); min-height: 620px; align-content: center; gap: 25px; margin: 0 auto; padding: 54px 0 118px; }
.kicker, .eyebrow { color: var(--blue); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.hero .kicker { color: #a9c7ff; }
.hero h1 { display: grid; gap: 4px; max-width: 690px; font-size: 66px; line-height: 1.12; font-weight: 820; }
.hero-copy > p:not(.kicker) { max-width: 600px; color: rgba(255, 255, 255, .82); font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid currentColor; border-radius: 6px; font-size: 16px; font-weight: 800; transition: transform 180ms ease, color 180ms ease, background 180ms ease; }
.button.primary { border-color: var(--blue); color: #fff; background: var(--blue); }
.button.ghost { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(8,16,26,.2); backdrop-filter: blur(8px); }
.button.light { border-color: #fff; color: var(--ink); background: #fff; }
.hero-facts { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; width: min(var(--max), calc(100% - 48px)); grid-template-columns: repeat(3, 1fr); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.4); }
.hero-facts div { display: grid; min-height: 94px; align-content: center; gap: 6px; padding: 0 26px; border-right: 1px solid rgba(255,255,255,.23); }
.hero-facts div:first-child { padding-left: 0; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { font-size: 16px; }
.hero-facts span { color: rgba(255,255,255,.65); font-size: 13px; }

.services { display: grid; width: min(var(--max), calc(100% - 48px)); grid-template-columns: 150px 1fr; gap: 56px; margin: 0 auto; padding: 132px 0; }
.section-index { border-right: 1px solid var(--line); }
.section-index span { display: block; color: var(--blue); font-size: 56px; line-height: 1; font-weight: 770; }
.section-index p { margin-top: 16px; color: var(--muted); font-size: 14px; }
.services-main { min-width: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading h2, .estimate h2, .process h2, .protection h2, .inquiry h2, .news h2, .final h2 { font-size: 48px; line-height: 1.2; font-weight: 790; }
.section-heading .eyebrow { align-self: start; }
.service-switcher { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(420px, 1.2fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.service-tabs { display: grid; border-right: 1px solid var(--line); }
.service-tabs button { display: grid; min-height: 84px; grid-template-columns: 42px 1fr; align-items: center; padding: 0 24px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.service-tabs button:last-child { border-bottom: 0; }
.service-tabs button span { color: #8895a6; font-size: 12px; }
.service-tabs button strong { font-size: 22px; }
.service-tabs button[aria-selected="true"] { color: #fff; background: var(--navy); }
.service-tabs button[aria-selected="true"] span { color: #a9c7ff; }
.service-detail { display: grid; min-height: 336px; align-content: center; gap: 18px; padding: 42px 54px; background: var(--mist); }
.service-label { color: var(--blue); font-size: 12px; font-weight: 800; }
.service-detail h3 { font-size: 36px; }
.service-detail > p:not(.service-label) { max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.service-detail ul { display: flex; flex-wrap: wrap; gap: 8px; }
.service-detail li { padding: 8px 11px; border: 1px solid #c7d0db; border-radius: 4px; font-size: 13px; font-weight: 700; }
.service-detail a { display: inline-flex; width: max-content; align-items: center; border-bottom: 1px solid currentColor; font-weight: 780; }

.estimate { padding: 118px max(24px, calc((100% - var(--max)) / 2)); background: var(--mist); }
.estimate-head { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 58px; }
.estimate-head h2 { max-width: 680px; margin-top: 12px; }
.estimate-head > p { max-width: 360px; color: var(--muted); line-height: 1.7; }
.factor-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.factor-grid article { position: relative; min-height: 290px; padding: 28px 28px 34px; border-right: 1px solid var(--line); }
.factor-grid article:last-child { border-right: 0; }
.factor-grid article > span { color: var(--blue); font-size: 12px; font-weight: 850; }
.factor-grid svg { display: block; width: 36px; height: 36px; margin: 38px 0 28px; color: var(--blue); }
.factor-grid h3 { margin-bottom: 12px; font-size: 22px; }
.factor-grid p { color: var(--muted); line-height: 1.65; }
.estimate-link { display: flex; width: max-content; align-items: center; gap: 10px; margin: 30px 0 0 auto; border-bottom: 1px solid currentColor; font-weight: 780; }

.process { display: grid; width: min(var(--max), calc(100% - 48px)); grid-template-columns: .85fr 1.15fr; gap: 90px; margin: 0 auto; padding: 132px 0; }
.process-heading { position: sticky; top: 140px; align-self: start; }
.process-heading h2 { margin: 14px 0 20px; }
.process-heading > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.7; }
.process-list { counter-reset: move-step; border-top: 1px solid var(--ink); }
.process-list li { display: grid; min-height: 148px; grid-template-columns: 70px 1fr; align-items: center; gap: 26px; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--blue); font-size: 16px; font-weight: 850; }
.process-list strong { display: block; margin-bottom: 10px; font-size: 25px; }
.process-list p { color: var(--muted); line-height: 1.6; }

.protection { display: grid; min-height: 700px; grid-template-columns: 1.1fr .9fr; background: var(--navy); color: #fff; }
.protection-media { min-height: 700px; overflow: hidden; }
.protection-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.protection-copy { display: grid; align-content: center; gap: 24px; padding: 72px max(46px, calc((100vw - var(--max)) / 2)); }
.protection-copy .eyebrow { color: #a9c7ff; }
.protection-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.75; }
.protection-copy dl { margin-top: 12px; border-top: 1px solid rgba(255,255,255,.35); }
.protection-copy dl div { display: grid; min-height: 74px; grid-template-columns: 120px 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.16); }
.protection-copy dt { color: #a9c7ff; font-weight: 800; }
.protection-copy dd { color: rgba(255,255,255,.82); }

.inquiry { display: grid; width: min(var(--max), calc(100% - 48px)); grid-template-columns: 330px 1fr; gap: 66px; margin: 0 auto; padding: 132px 0; }
.inquiry-intro { padding-top: 10px; }
.inquiry-intro h2 { margin: 14px 0 20px; }
.inquiry-intro > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.inquiry-intro ul { display: grid; gap: 22px; margin-top: 46px; }
.inquiry-intro li { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; }
.inquiry-intro li > svg { width: 26px; height: 26px; color: var(--blue); }
.inquiry-intro li span { display: grid; gap: 4px; color: var(--muted); font-size: 13px; }
.inquiry-intro li strong { color: var(--ink); font-size: 15px; }
.inquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; padding: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 28px 60px rgba(21, 38, 60, .07); }
.wide { grid-column: 1 / -1; }
.form-head { display: flex; align-items: end; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.form-head span { color: var(--blue); font-size: 11px; font-weight: 850; }
.form-head h3 { margin-top: 7px; font-size: 26px; }
.form-head p { color: var(--muted); font-size: 12px; }
.form-head p strong, .form-field em, .consent-field em { color: var(--coral); font-style: normal; }
.form-field { display: grid; gap: 9px; min-width: 0; }
.form-field > span, .upload-field > div:first-child > span { font-size: 14px; font-weight: 760; }
.form-field :is(input, select, textarea) { width: 100%; min-width: 0; border: 1px solid #cbd3dc; border-radius: 5px; color: var(--ink); background: #fff; outline: 0; transition: border-color 160ms ease, box-shadow 160ms ease; }
.form-field :is(input, select) { min-height: 50px; padding: 0 13px; }
.form-field textarea { resize: vertical; min-height: 112px; padding: 13px; line-height: 1.6; }
.form-field :is(input, select, textarea):focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,255,.12); }
.upload-field { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px 20px; padding: 20px; background: var(--mist); }
.upload-field > div:first-child p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.upload-field small { color: var(--muted); font-weight: 550; }
.upload-field > label { display: inline-flex; min-height: 46px; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid var(--ink); border-radius: 5px; font-size: 13px; font-weight: 750; cursor: pointer; }
.upload-field > label input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.upload-preview { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 8px; }
.upload-chip { display: inline-flex; max-width: 210px; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid #cbd3dc; border-radius: 4px; background: #fff; font-size: 12px; }
.upload-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-chip button { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.form-submit { display: grid; grid-template-columns: 1fr 220px; align-items: center; gap: 20px; margin-top: 4px; }
.consent-field { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.consent-field input { margin-top: 2px; accent-color: var(--blue); }
.form-submit .button { width: 100%; border: 0; cursor: pointer; }
.form-submit .button:disabled { opacity: .58; cursor: wait; }
.form-status { min-height: 20px; color: #17603a; font-size: 13px; font-weight: 700; }

.news { display: grid; padding: 112px max(24px, calc((100% - var(--max)) / 2)); grid-template-columns: 330px 1fr; gap: 66px; background: var(--mist); }
.news-heading h2 { margin-top: 12px; }
.news-list { border-top: 1px solid var(--ink); }
.news-list a { display: grid; min-height: 78px; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); transition: color 160ms ease, padding 160ms ease; }
.news-list time { color: var(--muted); font-size: 13px; }
.news-list strong { font-size: 16px; }
.news-list span { padding: 6px 9px; border: 1px solid #c7d0db; border-radius: 4px; color: var(--muted); font-size: 11px; }

.final { position: relative; min-height: 670px; overflow: hidden; color: #fff; background: var(--navy); }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,14,24,.88), rgba(7,14,24,.56) 48%, rgba(7,14,24,.05)); }
.final-copy { position: relative; z-index: 1; display: grid; width: min(var(--max), calc(100% - 48px)); min-height: 670px; align-content: center; gap: 24px; margin: 0 auto; }
.final-copy .eyebrow { color: #a9c7ff; }
.final-copy dl { width: min(590px, 100%); border-top: 1px solid rgba(255,255,255,.36); }
.final-copy dl div { display: grid; min-height: 64px; grid-template-columns: 110px 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.17); }
.final-copy dt { color: #a9c7ff; font-size: 13px; font-weight: 800; }
.final-copy dd { color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.45; }
.final-copy .button { width: max-content; margin-top: 4px; }

.site-footer { display: flex; min-height: 100px; align-items: center; gap: 32px; padding: 0 max(24px, calc((100% - var(--max)) / 2)); border-top: 1px solid var(--line); font-size: 13px; }
.site-footer strong { margin-right: auto; font-size: 17px; }
.site-footer a { color: var(--muted); }

.section-reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.8,.2,1); }
.section-reveal.is-visible { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-2px); }
  .service-tabs button:hover:not([aria-selected="true"]) { background: #f6f8fa; }
  .news-list a:hover { padding-right: 8px; color: var(--blue); }
}

@media (max-width: 1080px) {
  .desktop-nav { gap: 20px; font-size: 15px; }
  .site-header { grid-template-columns: minmax(190px, 1fr) auto minmax(160px, 1fr); }
  .hero h1 { font-size: 56px; }
  .section-heading h2, .estimate h2, .process h2, .protection h2, .inquiry h2, .news h2, .final h2 { font-size: 42px; }
  .services { grid-template-columns: 110px 1fr; gap: 38px; }
  .service-switcher { grid-template-columns: 300px 1fr; }
  .inquiry, .news { grid-template-columns: 280px 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  body { padding-bottom: 0; }
  .utility-tier { display: none; }
  .site-header { top: 0; min-height: 64px; grid-template-columns: 1fr auto; padding: 0 16px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .hero { min-height: calc(100svh - 64px); }
  .hero-media { object-position: 60% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(7,14,24,.28) 0%, rgba(7,14,24,.47) 32%, rgba(7,14,24,.89) 100%); }
  .hero-copy { width: calc(100% - 36px); min-height: calc(100svh - 64px); align-content: end; gap: 18px; padding: 76px 0 154px; }
  .hero h1 { gap: 2px; font-size: 42px; line-height: 1.16; }
  .hero-copy > p:not(.kicker) { max-width: none; font-size: 16px; line-height: 1.7; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { min-height: 54px; }
  .hero-actions .ghost { display: none; }
  .hero-facts { width: calc(100% - 36px); grid-template-columns: repeat(3, 1fr); }
  .hero-facts div { min-height: 104px; padding: 0 10px; }
  .hero-facts div:first-child { padding-left: 0; }
  .hero-facts strong { font-size: 13px; }
  .hero-facts span { font-size: 10px; line-height: 1.45; }
  .services, .process, .inquiry { display: block; width: calc(100% - 36px); padding: 88px 0; }
  .section-index { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; padding-bottom: 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-index span { font-size: 30px; }
  .section-index p { margin: 0; }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading h2, .estimate h2, .process h2, .protection h2, .inquiry h2, .news h2, .final h2 { font-size: 34px; line-height: 1.24; }
  .service-switcher { display: block; border-top-color: var(--line); }
  .service-tabs { grid-template-columns: repeat(2, 1fr); border-right: 0; }
  .service-tabs button { min-height: 70px; grid-template-columns: 32px 1fr; padding: 0 14px; border-right: 1px solid var(--line); }
  .service-tabs button:nth-child(2n) { border-right: 0; }
  .service-tabs button strong { font-size: 17px; }
  .service-detail { min-height: 330px; padding: 34px 24px; }
  .service-detail h3 { font-size: 30px; }
  .estimate { padding: 86px 18px; }
  .estimate-head { display: block; margin-bottom: 36px; }
  .estimate-head > p { margin-top: 18px; }
  .factor-grid { grid-template-columns: repeat(2, 1fr); }
  .factor-grid article { min-height: 250px; padding: 24px 18px; border-bottom: 1px solid var(--line); }
  .factor-grid article:nth-child(2n) { border-right: 0; }
  .factor-grid article:nth-last-child(-n+2) { border-bottom: 0; }
  .factor-grid svg { margin: 28px 0 22px; }
  .factor-grid h3 { font-size: 19px; }
  .factor-grid p { font-size: 14px; }
  .process-heading { position: static; margin-bottom: 38px; }
  .process-list li { min-height: 124px; grid-template-columns: 46px 1fr; gap: 16px; }
  .process-list strong { font-size: 21px; }
  .process-list p { font-size: 14px; }
  .protection { display: flex; min-height: 0; flex-direction: column; }
  .protection-media { min-height: 410px; order: 2; }
  .protection-media img { object-position: 43% center; }
  .protection-copy { gap: 20px; padding: 80px 18px 56px; }
  .protection-copy dl div { grid-template-columns: 94px 1fr; }
  .inquiry-intro { margin-bottom: 38px; }
  .inquiry-intro h2 br { display: none; }
  .inquiry-intro ul { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; }
  .inquiry-intro li { display: block; padding-top: 14px; border-top: 1px solid var(--line); }
  .inquiry-intro li > svg { width: 22px; height: 22px; margin-bottom: 12px; }
  .inquiry-form { display: block; padding: 24px 18px; }
  .inquiry-form > * + * { margin-top: 20px; }
  .form-head { margin-top: 0 !important; }
  .upload-field { display: block; }
  .upload-field > label { margin-top: 16px; }
  .upload-preview { margin-top: 12px; }
  .form-submit { display: flex; flex-direction: column; align-items: stretch; }
  .form-submit .button { min-height: 56px; }
  .news { display: block; padding: 86px 18px; }
  .news-heading { margin-bottom: 34px; }
  .news-list a { min-height: 94px; grid-template-columns: 48px 1fr; gap: 12px; }
  .news-list a span { display: none; }
  .news-list strong { font-size: 15px; line-height: 1.5; }
  .final, .final-copy { min-height: 720px; }
  .final > img { object-position: 66% center; }
  .final-shade { background: linear-gradient(180deg, rgba(7,14,24,.36), rgba(7,14,24,.9) 70%); }
  .final-copy { width: calc(100% - 36px); align-content: end; padding-bottom: 64px; }
  .final-copy dl div { grid-template-columns: 84px 1fr; }
  .final-copy .button { width: 100%; }
  .site-footer { min-height: 140px; flex-wrap: wrap; gap: 18px 24px; padding: 28px 18px; }
  .site-footer strong { width: 100%; margin-right: 0; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 38px; }
  .hero-copy { padding-bottom: 150px; }
  .hero-facts div { padding-right: 7px; padding-left: 7px; }
  .section-heading h2, .estimate h2, .process h2, .protection h2, .inquiry h2, .news h2, .final h2 { font-size: 31px; }
  .factor-grid article { min-height: 238px; padding-right: 14px; padding-left: 14px; }
  .factor-grid p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .section-reveal { opacity: 1; transform: none; }
}
