:root {
    --estimate-brand: #4f46e5;
    --estimate-brand-strong: #4338ca;
    --estimate-text: #252b3a;
    --estimate-text-soft: #667085;
    --estimate-text-faint: #8a94a6;
    --estimate-page: #f4f6fb;
    --estimate-card: #ffffff;
    --estimate-line: #e5e9f2;
    --estimate-success: #137a55;
    --estimate-radius: 20px;
    --estimate-control-radius: 12px;
    --estimate-shadow: 0 18px 48px rgba(31, 42, 68, 0.06);
}

.estimate-page {
    margin: 0;
    color: var(--estimate-text);
    background: var(--estimate-page);
    font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    word-break: keep-all;
}

.estimate-page .site-consult-bar { display: none !important; }
.estimate-main { min-height: 80vh; padding: 56px 0 96px; background: radial-gradient(circle at 80% 4%, rgba(79, 70, 229, 0.08), transparent 34%), var(--estimate-page); }
.estimate-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.estimate-card { background: var(--estimate-card); border: 1px solid var(--estimate-line); border-radius: var(--estimate-radius); box-shadow: var(--estimate-shadow); }
.estimate-eyebrow { margin: 0 0 12px; color: var(--estimate-brand); font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: 0.14em; }

.estimate-hero__card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 48px; align-items: end; padding: 48px; overflow: hidden; position: relative; }
.estimate-hero__card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -120px; border-radius: 50%; background: rgba(79, 70, 229, 0.08); pointer-events: none; }
.estimate-hero h1 { margin: 0; max-width: 780px; color: var(--estimate-text); font-size: clamp(38px, 5vw, 64px); font-weight: 800; line-height: 1.12; letter-spacing: -0.045em; }
.estimate-hero h1 span { color: var(--estimate-brand); }
.estimate-hero__copy > p:last-child { max-width: 650px; margin: 20px 0 0; color: var(--estimate-text-soft); font-size: 17px; line-height: 1.75; }
.estimate-hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; position: relative; z-index: 1; }
.estimate-hero__facts div { min-width: 0; padding: 18px 14px; border-radius: var(--estimate-control-radius); background: #f6f7fb; }
.estimate-hero__facts dt { color: var(--estimate-text-faint); font-size: 11px; font-weight: 700; }
.estimate-hero__facts dd { margin: 6px 0 0; color: var(--estimate-text); font-size: 15px; font-weight: 800; white-space: nowrap; }

.estimate-workspace { margin-top: 24px; }
.estimate-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.estimate-wizard { min-height: 570px; padding: 32px; }
.estimate-progress__meta { display: flex; justify-content: space-between; gap: 16px; color: var(--estimate-text-soft); font-size: 13px; font-weight: 700; }
.estimate-progress__meta strong { color: var(--estimate-brand); font-variant-numeric: tabular-nums; }
.estimate-progress__track { height: 6px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: #edf0f6; }
.estimate-progress__track span { display: block; width: 12%; height: 100%; border-radius: inherit; background: var(--estimate-brand); transition: width .2s ease; }
.estimate-screen { padding: 40px 0 24px; }
.estimate-screen h2 { margin: 0; color: var(--estimate-text); font-size: clamp(25px, 3vw, 34px); line-height: 1.3; letter-spacing: -0.03em; }
.estimate-screen__lead { margin: 12px 0 0; color: var(--estimate-text-soft); font-size: 15px; line-height: 1.65; }
.estimate-screen__lead strong { display: inline-flex; margin-left: 6px; padding: 3px 8px; border-radius: 999px; color: var(--estimate-brand); background: #efefff; font-size: 11px; line-height: 1.4; vertical-align: 1px; }
.estimate-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.estimate-options--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.estimate-option { min-height: 100px; padding: 18px 20px; border: 1px solid var(--estimate-line); border-radius: var(--estimate-control-radius); color: var(--estimate-text); background: var(--estimate-card); text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.estimate-option[data-multiple="true"] { position: relative; padding-right: 62px; }
.estimate-option[data-multiple="true"]::after { content: "+"; position: absolute; top: 18px; right: 18px; display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--estimate-line); border-radius: 50%; color: var(--estimate-text-soft); background: #fff; font-size: 18px; font-weight: 700; }
.estimate-option[data-multiple="true"].is-selected::after { content: "✓"; border-color: var(--estimate-brand); color: #fff; background: var(--estimate-brand); font-size: 14px; }
.estimate-option[data-service] { position: relative; padding-right: 56px; }
.estimate-option[data-service]::after { content: ""; position: absolute; top: 50%; right: 22px; width: 16px; height: 16px; color: #ccd1de; background: currentColor; transform: translateY(-50%); transition: color .15s ease, transform .15s ease; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.estimate-option[data-service]:hover::after { color: var(--estimate-brand); transform: translate(3px, -50%); }
.estimate-option strong { display: block; font: inherit; font-size: 16px; font-weight: 800; line-height: 1.4; }
.estimate-option span { display: block; margin-top: 6px; color: var(--estimate-text-soft); font-size: 13px; line-height: 1.55; }
.estimate-option:hover { border-color: #b8b4f4; transform: translateY(-1px); }
.estimate-option.is-selected { border-color: var(--estimate-brand); background: #f3f2ff; box-shadow: inset 0 0 0 1px var(--estimate-brand); }
.estimate-option:focus-visible, .estimate-button:focus-visible, .estimate-answer:focus-visible, .estimate-faq summary:focus-visible, .estimate-form input:focus-visible, .estimate-form textarea:focus-visible { outline: 3px solid rgba(79, 70, 229, .28); outline-offset: 2px; }
.estimate-feedback { min-height: 22px; margin: 0; color: #b54708; font-size: 13px; font-weight: 700; }
.estimate-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--estimate-line); }
.estimate-nav[hidden] { display: none; }

.estimate-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--estimate-control-radius); font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.estimate-button:hover { transform: translateY(-1px); }
.estimate-button--primary { color: #fff; background: var(--estimate-brand); }
.estimate-button--primary:hover { background: var(--estimate-brand-strong); }
.estimate-button--quiet { color: var(--estimate-text); border-color: var(--estimate-line); background: #f8f9fc; }
.estimate-button--kakao { color: #252316; background: #fee500; }

.estimate-side { position: sticky; top: 112px; padding: 28px; }
.estimate-side h2 { margin: 0; font-size: 21px; line-height: 1.4; letter-spacing: -0.02em; }
.estimate-side > p:not(.estimate-eyebrow):not(.estimate-side__note) { margin: 10px 0 0; color: var(--estimate-text-soft); font-size: 14px; line-height: 1.6; }
.estimate-side__list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.estimate-side__list li { padding: 12px 14px; border-radius: var(--estimate-control-radius); background: #f6f7fb; color: var(--estimate-text-soft); font-size: 13px; line-height: 1.5; }
.estimate-side__list strong { display: block; color: var(--estimate-text); font-size: 12px; }
.estimate-side__note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--estimate-line); color: var(--estimate-text-faint); font-size: 12px; line-height: 1.6; }

.estimate-result-wrap, .estimate-consult, .estimate-faq { margin-top: 24px; }
#estimate-wizard, #estimate-result, #consult { scroll-margin-top: 100px; }
.estimate-result-card { padding: 40px; }
.estimate-result__heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.estimate-result__heading h2, .estimate-form-card h2, .estimate-faq h2 { margin: 0; font-size: 30px; line-height: 1.3; letter-spacing: -0.03em; }
.estimate-tier { padding: 8px 12px; border-radius: 999px; color: var(--estimate-brand); background: #f0efff; font-size: 12px; font-weight: 800; }
.estimate-price { margin-top: 24px; color: var(--estimate-text); font-size: clamp(36px, 6vw, 56px); font-weight: 850; line-height: 1.1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.estimate-price small { margin-left: 8px; color: var(--estimate-text-soft); font-size: .42em; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.estimate-price--items { margin-top: 28px; }
.estimate-price-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.estimate-price-item { padding: 18px 20px; border: 1px solid var(--estimate-line); border-radius: var(--estimate-control-radius); background: #f8f9fc; }
.estimate-price-item > span { display: block; color: var(--estimate-text-soft); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.estimate-price-item > strong { display: block; margin-top: 7px; color: var(--estimate-text); font-size: clamp(23px, 3vw, 32px); line-height: 1.2; letter-spacing: -0.035em; }
.estimate-price-item > small { display: block; margin: 7px 0 0; font-size: 12px; }
.estimate-vat { margin: 12px 0 0; color: var(--estimate-text-soft); font-size: 14px; }
.estimate-result__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--estimate-line); }
.estimate-result__grid h3 { margin: 0 0 16px; font-size: 16px; }
.estimate-result__grid h3 small { display: block; margin-top: 5px; color: var(--estimate-text-faint); font-size: 11px; font-weight: 500; }
.estimate-check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.estimate-check-list li { position: relative; padding-left: 24px; color: var(--estimate-text-soft); font-size: 14px; line-height: 1.5; }
.estimate-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--estimate-success); font-weight: 900; }
.estimate-answer-list { display: grid; gap: 8px; }
.estimate-answer { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--estimate-line); border-radius: var(--estimate-control-radius); color: var(--estimate-text); background: #f8f9fc; text-align: left; cursor: pointer; }
.estimate-answer span { display: block; color: var(--estimate-text-faint); font-size: 11px; }
.estimate-answer strong { display: block; margin-top: 3px; font-size: 13px; }
.estimate-notes { display: grid; gap: 8px; margin-top: 28px; padding: 18px 20px; border-radius: var(--estimate-control-radius); background: #f6f7fb; }
.estimate-notes p { margin: 0; color: var(--estimate-text-soft); font-size: 12px; line-height: 1.55; }
.estimate-result__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.estimate-form-card { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 48px; padding: 40px; }
.estimate-form-card__intro > p:last-child { margin: 14px 0 0; color: var(--estimate-text-soft); font-size: 14px; line-height: 1.7; }
.estimate-form { display: grid; gap: 18px; }
.estimate-form[hidden] { display: none; }
.estimate-form label:not(.estimate-consent) { display: grid; gap: 8px; color: var(--estimate-text); font-size: 13px; font-weight: 800; }
.estimate-form label > span { color: var(--estimate-text-faint); font-size: 11px; font-weight: 600; }
.estimate-form input, .estimate-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #d9deea; border-radius: var(--estimate-control-radius); color: var(--estimate-text); background: #fff; font: inherit; font-size: 15px; line-height: 1.5; }
.estimate-form textarea { min-height: 112px; resize: vertical; }
.estimate-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--estimate-text-soft); font-size: 12px; line-height: 1.6; cursor: pointer; }
.estimate-hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.estimate-consent input { width: 20px; min-height: 20px; margin: 2px 0 0; accent-color: var(--estimate-brand); }
.estimate-consent span { color: inherit; font-size: inherit; font-weight: 500; }
.estimate-recaptcha { margin: 0; color: var(--estimate-text-faint); font-size: 11px; line-height: 1.5; }
.estimate-recaptcha a { color: var(--estimate-text-soft); }
.estimate-form__submit { width: 100%; }
.estimate-form__message { min-height: 20px; margin: 0; color: #b54708; font-size: 13px; font-weight: 700; }
.estimate-success { grid-column: 2; align-self: center; width: 100%; padding: 32px; border-radius: var(--estimate-control-radius); background: #eef9f4; }
.estimate-success strong { color: var(--estimate-success); font-size: 20px; }
.estimate-success p { margin: 10px 0 20px; color: var(--estimate-text-soft); font-size: 14px; line-height: 1.6; }

.estimate-faq__card { padding: 40px; }
.estimate-faq details { border-top: 1px solid var(--estimate-line); }
.estimate-faq details:first-of-type { margin-top: 24px; }
.estimate-faq details:last-of-type { border-bottom: 1px solid var(--estimate-line); }
.estimate-faq summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0; color: var(--estimate-text); font-size: 15px; font-weight: 800; line-height: 1.5; list-style: none; cursor: pointer; }
.estimate-faq summary::-webkit-details-marker { display: none; }
.estimate-faq summary::after { content: "+"; flex: 0 0 auto; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--estimate-line); border-radius: 50%; color: var(--estimate-text-soft); font-size: 18px; font-weight: 700; line-height: 1; transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease; }
.estimate-faq summary:hover::after { border-color: var(--estimate-brand); color: var(--estimate-brand); }
.estimate-faq details[open] summary::after { transform: rotate(45deg); border-color: var(--estimate-brand); color: #fff; background: var(--estimate-brand); }
.estimate-faq details[open] summary { color: var(--estimate-brand); }
.estimate-faq details p { margin: -4px 0 22px; padding-right: 46px; color: var(--estimate-text-soft); font-size: 14px; line-height: 1.7; }
.grecaptcha-badge { visibility: hidden !important; }

@media (max-width: 900px) {
    .estimate-main { padding-top: 40px; }
    .estimate-hero__card, .estimate-layout, .estimate-form-card { grid-template-columns: 1fr; }
    .estimate-hero__card { gap: 32px; }
    .estimate-side { position: static; }
    .estimate-result__grid { grid-template-columns: 1fr; }
    .estimate-price-items { grid-template-columns: 1fr; }
    .estimate-success { grid-column: 1; }
}

@media (max-width: 640px) {
    .estimate-main { padding-bottom: 64px; }
    .estimate-container { width: calc(100% - 32px); }
    .estimate-hero__card, .estimate-wizard, .estimate-result-card, .estimate-form-card, .estimate-faq__card { padding: 24px; }
    .estimate-hero h1 { font-size: 36px; }
    .estimate-hero__facts { grid-template-columns: 1fr; }
    .estimate-hero__facts div { display: flex; justify-content: space-between; align-items: center; }
    .estimate-hero__facts dd { margin: 0; }
    .estimate-options, .estimate-options--services { grid-template-columns: 1fr; }
    .estimate-screen { padding-top: 32px; }
    .estimate-result__heading { display: block; }
    .estimate-tier { display: inline-flex; margin-top: 14px; }
    .estimate-price { font-size: 38px; }
    .estimate-price small { display: block; margin: 8px 0 0; font-size: 15px; }
    .estimate-result__actions { display: grid; }
    .estimate-button { width: 100%; }
    .estimate-nav .estimate-button { width: auto; min-width: 104px; }
}

@media (prefers-reduced-motion: reduce) {
    .estimate-page *, .estimate-page *::before, .estimate-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
