/* 디코 클린 디자인 샘플 — 밝은 블루 견적 랜딩형 */
:root {
  --blue: #1F7AE0; --blue-d: #155CB0; --sky: #EAF4FF; --aqua: #22C1C3; --navy: #0B2545; --yellow: #FFD23F;
  --text: #22324A; --sub: #5F6E85; --line: #DCE6F2;
  --header-h: 68px;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Noto Sans KR', sans-serif;
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--sans); color: var(--text); background: #fff; line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; padding-bottom: 76px; }
svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul, ol, fieldset { margin: 0; padding: 0; list-style: none; border: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 48px); }
.ph { display: inline-block; padding: 0 6px; border: 1.5px dashed #F08C2E; border-radius: 6px; color: #B85F12; font-size: .92em; }

.sample-banner { background: var(--navy); color: #CFDDF0; font-size: 12.5px; }
.sample-banner__inner { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.sample-banner__tag { flex: none; padding: 0 10px; background: var(--yellow); color: var(--navy); border-radius: 99px; font-weight: 800; }
.sample-banner a { color: var(--yellow); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 40px; height: 40px; }
.logo b { font-size: 21px; font-weight: 900; color: var(--navy); letter-spacing: -.02em; }
.header-call { padding: 10px 18px; border-radius: 99px; background: var(--blue); color: #fff; font-weight: 800; text-decoration: none; font-size: 14.5px; transition: background .3s; }
.header-call:hover { background: var(--navy); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 14px; font-weight: 800; font-size: 15.5px; text-decoration: none; border: 0; font-family: inherit; cursor: pointer; transition: transform .3s var(--pop), box-shadow .3s; }
.btn:hover { transform: translateY(-3px); }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(255, 210, 63, .9); }
.btn--yellow:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--white { background: #fff; color: var(--blue); }
.btn--lg { padding: 17px 28px; font-size: 16.5px; }

/* 등장 */
.has-motion .rise { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .8s var(--pop); transition-delay: var(--d, 0s); }
.has-motion .rise.is-in { opacity: 1; transform: none; }

/* 히어로 */
.hero { position: relative; padding: 70px 0 100px; background: linear-gradient(160deg, var(--blue) 0%, #3E95F2 55%, var(--aqua) 100%); color: #fff; overflow: hidden; }
.bubbles i { position: absolute; bottom: -60px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.15) 40%, rgba(255,255,255,.05) 70%); border: 1px solid rgba(255, 255, 255, .5); }
.bubbles i:nth-child(1) { left: 5%; width: 40px; height: 40px; } .bubbles i:nth-child(2) { left: 18%; width: 22px; height: 22px; } .bubbles i:nth-child(3) { left: 32%; width: 56px; height: 56px; } .bubbles i:nth-child(4) { left: 46%; width: 18px; height: 18px; }
.bubbles i:nth-child(5) { left: 60%; width: 34px; height: 34px; } .bubbles i:nth-child(6) { left: 72%; width: 26px; height: 26px; } .bubbles i:nth-child(7) { left: 86%; width: 48px; height: 48px; } .bubbles i:nth-child(8) { left: 94%; width: 20px; height: 20px; }
.has-motion .bubbles i { animation: rise-b 9s linear infinite; }
.bubbles i:nth-child(2n) { animation-duration: 12s !important; animation-delay: -4s !important; } .bubbles i:nth-child(3n) { animation-delay: -7s !important; }
@keyframes rise-b { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(20px, -50vh); } 100% { transform: translate(-10px, -110vh); opacity: 0; } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .2); font-weight: 700; font-size: 14px; }
.hero__title { margin-top: 18px; font-size: clamp(38px, 4.8vw, 62px); font-weight: 900; line-height: 1.2; letter-spacing: -.035em; }
.shine { position: relative; color: var(--yellow); background: linear-gradient(110deg, var(--yellow) 40%, #fff 50%, var(--yellow) 60%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.has-motion .shine { animation: shine 3s ease-in-out infinite; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.hero__lead { margin-top: 20px; font-size: 17.5px; color: #E6F1FF; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__trust { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; margin-top: 34px; font-size: 13.5px; color: #DCEBFF; }
.hero__trust b { display: block; font-size: 16px; color: #fff; }
.hero .ph { border-color: rgba(255, 255, 255, .7); color: #fff; }

.wipe { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11, 37, 69, .6); --p: 100%; }
.wipe__room, .wipe__dirt { width: 100%; height: auto; }
.wipe__dirt { position: absolute; inset: 0; clip-path: inset(0 0 0 calc(100% - var(--p))); }
.squeegee { position: absolute; top: -5%; bottom: -5%; left: calc(100% - var(--p)); width: 0; }
.squeegee { transition: opacity .4s; }
.wipe.is-clean .squeegee { opacity: 0; }
.squeegee span { position: absolute; left: -9px; top: 0; bottom: 0; width: 18px; border-radius: 9px; background: linear-gradient(90deg, #0B2545, #22324A); box-shadow: 0 0 0 4px rgba(255, 255, 255, .5); }
.squeegee span::after { content: ""; position: absolute; left: 50%; top: 45%; width: 70px; height: 12px; margin-left: 4px; border-radius: 6px; background: var(--yellow); }
.sparkles path { opacity: 0; transform-box: fill-box; transform-origin: center; }
.wipe.is-clean .sparkles path { animation: spark 1.6s ease-in-out infinite; }
.wipe.is-clean .sparkles path:nth-child(2) { animation-delay: .4s; } .wipe.is-clean .sparkles path:nth-child(3) { animation-delay: .8s; } .wipe.is-clean .sparkles path:nth-child(4) { animation-delay: 1.2s; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; transform: scale(1.2) rotate(30deg); } }
.wipe__label { position: absolute; top: 14px; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.wipe__label--b { right: 14px; background: rgba(11, 37, 69, .7); color: #fff; transition: opacity .4s; }
.wipe__label--a { left: 14px; background: #fff; color: var(--blue); }
.wipe.is-clean .wipe__label--b { opacity: 0; }
.wipe__again { position: absolute; right: 14px; bottom: 14px; padding: 8px 14px; border: 0; border-radius: 99px; background: #fff; color: var(--blue); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .4s; }
.wipe.is-clean .wipe__again { opacity: 1; pointer-events: auto; }

/* 섹션 공통 */
.section { padding: 110px 0; }
.section--blue { background: var(--blue); color: #E6F1FF; }
.section--sky { background: var(--sky); }
.section--navy { background: var(--navy); color: #C9D7EA; }
.head { text-align: center; margin-bottom: 50px; }
.eyebrow { font-weight: 900; font-size: 13px; letter-spacing: .22em; color: var(--blue); margin-bottom: 10px; }
.eyebrow--light { color: var(--yellow); }
h2 { font-size: clamp(32px, 3.8vw, 48px); font-weight: 900; letter-spacing: -.03em; line-height: 1.25; color: var(--navy); }
.section--blue h2, .section--navy h2 { color: #fff; }
.lead { margin-top: 16px; font-size: 17px; }

/* 이런 고민 */
.worry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.worry__q { display: grid; gap: 14px; }
.worry__q li { padding: 20px 24px; border-radius: 22px 22px 22px 6px; background: #F1F4F8; color: var(--sub); font-size: 17px; font-weight: 600; }
.worry__q li:nth-child(2) { margin-left: 30px; } .worry__q li:nth-child(3) { margin-left: 10px; }
.worry__a { display: grid; gap: 14px; }
.worry__a li { position: relative; padding: 20px 24px 20px 64px; border-radius: 22px 22px 6px 22px; background: var(--sky); }
.worry__a li::before { content: "✓"; position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 900; }
.worry__a b { display: block; font-size: 18px; color: var(--navy); }
.worry__a p { color: var(--sub); font-size: 15px; }

/* 견적 계산기 */
.est__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.est__warn { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-size: 14px; }
.calc { padding: 34px; border-radius: 28px; background: #fff; color: var(--text); box-shadow: 0 30px 60px -30px rgba(11, 37, 69, .6); display: grid; gap: 26px; }
.calc legend, .calc__label { display: flex; justify-content: space-between; width: 100%; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.calc__label output { color: var(--blue); font-size: 20px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg input, .opts input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 12px 0; border-radius: 12px; border: 2px solid var(--line); text-align: center; font-weight: 700; cursor: pointer; transition: all .25s; }
.seg input:checked + span { border-color: var(--blue); background: var(--sky); color: var(--blue); }
.seg input:focus-visible + span, .opts input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
input[type="range"] { width: 100%; accent-color: var(--blue); height: 6px; }
.calc__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--sub); margin-top: 6px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opts span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all .25s; }
.opts span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 6px; border: 2px solid #B3C3D8; transition: all .25s; }
.opts input:checked + span { border-color: var(--blue); background: var(--sky); }
.opts input:checked + span::before { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--blue); }
.calc__result { padding: 22px; border-radius: 18px; background: var(--navy); color: #C9D7EA; text-align: center; }
.calc__price { margin: 6px 0; font-size: 18px; color: #fff; }
.calc__price b { font-size: clamp(26px, 3vw, 34px); font-weight: 900; color: var(--yellow); font-variant-numeric: tabular-nums; }
.calc__meta { font-size: 14px; }
.calc__cta { width: 100%; }

/* 청소 범위 */
.tabs__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tabs__list button { padding: 12px 22px; border: 2px solid var(--line); border-radius: 99px; background: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; transition: all .3s; }
.tabs__list button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-3px); }
.tabs__panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tabs__panel[hidden] { display: none; }
.tabs__panel li { position: relative; padding: 22px 22px 22px 58px; border-radius: 18px; background: var(--sky); font-weight: 700; color: var(--navy); }
.tabs__panel li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none'/%3E%3C/svg%3E") center / 14px no-repeat; }
.has-motion .tabs__panel:not([hidden]) li { animation: tick-in .5s var(--pop) both; }
.tabs__panel li:nth-child(2) { animation-delay: .05s !important; } .tabs__panel li:nth-child(3) { animation-delay: .1s !important; } .tabs__panel li:nth-child(4) { animation-delay: .15s !important; } .tabs__panel li:nth-child(5) { animation-delay: .2s !important; } .tabs__panel li:nth-child(6) { animation-delay: .25s !important; }
@keyframes tick-in { from { opacity: 0; transform: scale(.85); } }

/* 진행 과정 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: f; }
.flow li { position: relative; padding: 30px 24px; border-radius: 24px; background: #fff; text-align: center; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--blue); border-right: 3px solid var(--blue); transform: translateY(-50%) rotate(45deg); }
.flow__n { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 900; font-size: 22px; }
.flow h3 { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.flow p { font-size: 15px; color: var(--sub); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 18px; border: 2px solid var(--line); padding: 0 22px; transition: border-color .3s; }
.faq-list details[open] { border-color: var(--blue); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 14px; padding: 20px 0; font-weight: 800; font-size: 17px; color: var(--navy); cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--blue); transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { padding-bottom: 20px; color: var(--sub); }

/* 견적 신청 */
.ct__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.ct__info { margin-top: 30px; }
.ct__info > div { display: grid; grid-template-columns: 100px 1fr; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ct__info dt { font-weight: 800; color: #fff; }
.contact .ph { border-color: rgba(255, 210, 63, .7); color: var(--yellow); }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 30px; border-radius: 24px; background: #fff; color: var(--text); }
.qform label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; color: var(--navy); }
.qform input:not([type="checkbox"]), .qform textarea { padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; font-weight: 500; transition: border-color .3s; }
.qform input:focus, .qform textarea:focus { outline: none; border-color: var(--blue); }
.qform__full, .qform__agree { grid-column: 1 / -1; }
.qform__agree { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; color: var(--sub) !important; }
.qform .ph { border-color: #F08C2E; color: #B85F12; }
.qform__note { font-size: 12.5px; color: var(--sub); }

/* 하단 고정 바 */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(11, 37, 69, .96); color: #fff; transform: translateY(100%); transition: transform .5s var(--pop); }
.stickybar.is-shown { transform: none; }
.stickybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.stickybar b { color: var(--yellow); }

.site-footer { padding: 30px 0; background: #071A33; color: #8DA0BA; font-size: 13px; }
.site-footer b { color: #fff; }
.site-footer .ph { border-color: rgba(255, 210, 63, .5); color: var(--yellow); }
.credit a { display: inline-flex; align-items: center; gap: 6px; color: #fff; vertical-align: middle; }
.credit img { filter: brightness(0) invert(1); }

@media (max-width: 1023.98px) {
  .hero__grid, .est__grid, .ct__grid, .worry__grid { grid-template-columns: 1fr; gap: 40px; }
  .wipe { max-width: 560px; margin: 0 auto; width: 100%; }
  .tabs__panel { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li::after { display: none; }
}
@media (max-width: 767.98px) {
  :root { --header-h: 60px; }
  .container, .container--narrow { width: calc(100% - 40px); }
  .sample-banner__inner { align-items: flex-start; font-size: 12px; }
  .header-call { padding: 8px 14px; font-size: 13px; }
  .hero { padding: 40px 0 70px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__trust { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .worry__q li:nth-child(n) { margin-left: 0; }
  .calc { padding: 22px 18px; }
  .seg span { font-size: 14px; }
  .opts { grid-template-columns: 1fr; }
  .tabs__panel { grid-template-columns: 1fr; }
  .tabs__list button { padding: 10px 14px; font-size: 14px; }
  .flow { grid-template-columns: 1fr; }
  .qform { grid-template-columns: 1fr; padding: 22px 18px; }
  .stickybar__inner { height: 68px; }
  .stickybar p { font-size: 13.5px; }
  body { padding-bottom: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
