:root {
    --estimate-navy: #063b78;
    --estimate-blue: #0b5ba8;
    --estimate-cyan: #11b8d6;
    --estimate-yellow: #ffd83d;
    --estimate-text: #1c2a3a;
    --estimate-muted: #66758a;
    --estimate-line: #d8e2ee;
    --estimate-bg: #f4f7fb;
    --estimate-error: #c72f3c;
    --estimate-success: #087d65;
}

.estimate-mock-page {
    max-width: 1180px;
    padding: 0 18px 80px;
}

.estimate-mock-main {
    width: 100% !important;
    color: var(--estimate-text);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

.estimate-mock-main *,
.estimate-mock-main *::before,
.estimate-mock-main *::after { box-sizing: border-box; }

.estimate-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(220px, .45fr);
    gap: 22px;
    min-height: 238px;
    margin-top: 18px;
    padding: 28px 42px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(125deg, #073468 0%, #07529b 65%, #087ab4 100%);
    border-radius: 22px;
}

.estimate-hero::before {
    content: "";
    position: absolute;
    inset: auto -80px -150px auto;
    width: 360px;
    height: 360px;
    background: rgba(17, 184, 214, .3);
    border-radius: 50%;
}

.estimate-hero__copy { position: relative; z-index: 1; }
.estimate-hero__eyebrow,
#main_content .estimate-hero__eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    padding: 5px 12px;
    color: #063b78;
    background: var(--estimate-yellow);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

.estimate-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 3.35vw, 42px);
    line-height: 1.25;
    letter-spacing: .01em;
}

#main_content .estimate-hero__lead {
    max-width: 650px;
    margin: 12px 0 15px;
    color: #eaf7ff;
    font-size: 17px;
    line-height: 1.65;
}

.estimate-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.estimate-hero__points li { font-size: 14px; font-weight: 700; }
.estimate-hero__points li::before { content: "✓"; margin-right: 7px; color: var(--estimate-yellow); }

.estimate-hero__visual { position: relative; min-height: 170px; z-index: 1; }
.quote-card {
    position: absolute;
    width: 176px;
    height: 116px;
    padding: 17px;
    background: #fff;
    color: var(--estimate-navy);
    border-radius: 13px;
    box-shadow: 0 18px 40px rgba(0, 25, 65, .28);
}
.quote-card::after {
    content: "";
    display: block;
    width: 72%;
    height: 5px;
    margin-top: 12px;
    background: #dceaf6;
    border-radius: 10px;
    box-shadow: 0 12px 0 #dceaf6, 0 24px 0 #dceaf6;
}
.quote-card span { display: block; color: var(--estimate-cyan); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.quote-card strong { display: block; margin-top: 4px; font-size: 17px; }
.quote-card--back { top: 8px; left: 0; transform: rotate(-7deg); opacity: .82; }
.quote-card--front { top: 48px; right: 0; transform: rotate(4deg); }
.quote-card--front i {
    position: absolute;
    right: 13px;
    bottom: 11px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #fff;
    background: var(--estimate-cyan);
    border-radius: 50%;
    font-style: normal;
}

.form-steps { max-width: 620px; margin: 18px auto; }
.form-steps ol { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.form-steps li { position: relative; color: #8b98a8; font-size: 13px; font-weight: 700; text-align: center; }
.form-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: #dce4ed; z-index: 0; }
.form-steps li:first-child::before { display: none; }
.form-steps li span { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 6px; color: #68788b; background: #fff; border: 2px solid #dce4ed; border-radius: 50%; }
.form-steps li.is-current { color: var(--estimate-navy); }
.form-steps li.is-current span { color: #fff; background: var(--estimate-blue); border-color: var(--estimate-blue); }
.form-steps li.is-complete::before,
.form-steps li.is-complete span { background: var(--estimate-success); border-color: var(--estimate-success); color: #fff; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 315px; gap: 28px; align-items: start; }
.estimate-form,
.confirm-panel,
.complete-panel {
    padding: 38px;
    background: #fff;
    border: 1px solid var(--estimate-line);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(19, 55, 91, .08);
}

.form-intro { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 25px; border-bottom: 1px solid var(--estimate-line); }
.section-kicker,
#main_content .section-kicker { margin: 0 0 5px; color: var(--estimate-blue); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
#main_content .form-intro h2,
#main_content .confirm-panel h2,
#main_content .complete-panel h1,
#main_content .complete-panel h2,
#main_content .reassurance-panel h2 { margin: 0; padding: 0; color: var(--estimate-text); border: 0; background: none; font-size: 25px; line-height: 1.45; }
#main_content .form-intro h2::before,
#main_content .confirm-panel h2::before,
#main_content .complete-panel h1::before,
#main_content .complete-panel h2::before,
#main_content .reassurance-panel h2::before { display: none; }

.completion-meter { flex: 0 0 145px; padding-top: 4px; color: var(--estimate-muted); font-size: 12px; text-align: right; }
.completion-meter b { color: var(--estimate-blue); font-size: 18px; }
.completion-meter > div { height: 6px; margin-top: 7px; overflow: hidden; background: #e7edf4; border-radius: 99px; }
.completion-meter i { display: block; width: 0; height: 100%; background: var(--estimate-cyan); border-radius: inherit; transition: width .25s ease; }

#main_content .required-guide { margin: 20px 0 0; color: var(--estimate-muted); font-size: 14px; }
.required-guide span,
.field-group label em,
.privacy-box em { display: inline-block; margin-right: 5px; padding: 2px 7px; color: #fff; background: var(--estimate-error); border-radius: 4px; font-size: 11px; font-style: normal; vertical-align: 1px; }

.form-section { min-width: 0; margin: 32px 0 0; padding: 0; border: 0; }
.form-section legend { width: 100%; margin-bottom: 20px; padding-bottom: 11px; color: var(--estimate-navy); border-bottom: 2px solid #cbddec; font-size: 19px; font-weight: 800; }
.form-section legend span { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 7px; color: #fff; background: var(--estimate-blue); border-radius: 50%; font-size: 12px; }
.form-section--estimate { padding: 25px; background: #f7fbfe; border: 1px solid #cfe4f3; border-radius: 14px; }

.field-group { margin-bottom: 24px; }
.field-group > label,
.field-group > .field-label { display: block; margin-bottom: 8px; color: var(--estimate-text); font-size: 15px; font-weight: 750; }
.field-group > label > span { margin-left: 6px; color: #718093; font-size: 12px; font-weight: 500; }
.field-group input[type="text"],
.field-group input[type="email"],
.field-group input[type="tel"],
.field-group input[type="month"],
.field-group select,
.field-group textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    color: var(--estimate-text);
    background: #fff;
    border: 1px solid #aebdcd;
    border-radius: 9px;
    font: inherit;
    font-size: 16px;
    transition: border-color .15s, box-shadow .15s;
}
.field-group textarea { resize: vertical; line-height: 1.65; }
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus { outline: none; border-color: var(--estimate-blue); box-shadow: 0 0 0 3px rgba(11, 91, 168, .16); }
.field-group input::placeholder,
.field-group textarea::placeholder { color: #9aa5b2; }
.field-group.has-error input,
.field-group.has-error select,
.field-group.has-error .file-drop,
.privacy-box.has-error { border-color: var(--estimate-error); }
.field-help,
#main_content .field-help { margin: 7px 0 0; color: var(--estimate-muted); font-size: 12px; line-height: 1.6; }
.field-error,
#main_content .field-error { min-height: 0; margin: 6px 0 0; color: var(--estimate-error); font-size: 13px; font-weight: 700; }
.field-error:empty { display: none; }
.two-column-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.input-suffix { display: flex; align-items: stretch; }
.input-suffix input { border-radius: 9px 0 0 9px !important; }
.input-suffix span { display: grid; place-items: center; min-width: 52px; color: #536477; background: #eef3f7; border: 1px solid #aebdcd; border-left: 0; border-radius: 0 9px 9px 0; }

.file-drop { display: grid !important; place-items: center; min-height: 150px; margin: 0 !important; padding: 22px; color: var(--estimate-blue) !important; background: #fff; border: 2px dashed #9ec6df; border-radius: 12px; cursor: pointer; text-align: center; transition: background .15s, border-color .15s; }
.file-drop:hover,
.file-drop.is-dragging { background: #edf9fc; border-color: var(--estimate-cyan); }
.file-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.file-drop__icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 8px; color: #fff; background: var(--estimate-cyan); border-radius: 50%; font-size: 22px; }
.file-drop strong { display: block; font-size: 15px; }
.file-drop small { display: block; margin-top: 5px; color: var(--estimate-muted); font-weight: 400; }

.field-group--message { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--estimate-line); }
.character-count,
#main_content .character-count { margin: 5px 0 0; color: var(--estimate-muted); font-size: 12px; text-align: right; }

.privacy-box { margin-top: 28px; padding: 18px; background: var(--estimate-bg); border: 1px solid var(--estimate-line); border-radius: 10px; }
.privacy-box label { display: flex; gap: 12px; align-items: flex-start; color: #37485a; line-height: 1.65; cursor: pointer; }
.privacy-box input { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--estimate-blue); }
.privacy-box a { color: var(--estimate-blue); text-decoration: underline; }
.submit-area { margin-top: 28px; text-align: center; }
.primary-button,
.secondary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
}
.primary-button { width: min(100%, 440px); color: #fff; background: linear-gradient(90deg, #087ca8, #04aebe); border: 0; box-shadow: 0 8px 20px rgba(5, 142, 169, .25); }
.primary-button:hover { filter: brightness(.96); transform: translateY(-1px); }
.primary-button:focus-visible,
.secondary-button:focus-visible { outline: 3px solid var(--estimate-yellow); outline-offset: 3px; }
.secondary-button { color: var(--estimate-blue) !important; background: #fff; border: 1px solid #9bb6ce; }
#main_content .submit-area p { margin: 9px 0 0; color: var(--estimate-muted); font-size: 12px; }

.error-summary { margin-bottom: 24px; padding: 18px; color: #7a1720; background: #fff1f2; border: 1px solid #e6a9ae; border-radius: 10px; }
.error-summary strong { display: block; margin-bottom: 6px; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: inherit; }

.reassurance-panel { position: sticky; top: 18px; }
.reassurance-panel__inner { padding: 26px; background: #fff; border: 1px solid var(--estimate-line); border-radius: 16px; box-shadow: 0 10px 30px rgba(19, 55, 91, .07); }
#main_content .reassurance-panel h2 { font-size: 20px; }
.reassurance-panel ol { margin: 25px 0; padding: 0; list-style: none; }
.reassurance-panel li { display: flex; gap: 12px; padding: 15px 0; border-bottom: 1px solid #e8eef4; }
.reassurance-panel li > span { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; color: var(--estimate-blue); background: #eaf5fb; border-radius: 50%; font-size: 11px; font-weight: 800; }
.reassurance-panel li strong { font-size: 14px; }
#main_content .reassurance-panel li p { margin: 3px 0 0; color: var(--estimate-muted); font-size: 12px; line-height: 1.5; }
.privacy-note { padding: 15px; color: #165c4e; background: #edf9f5; border-radius: 10px; }
.privacy-note strong { font-size: 13px; }
#main_content .privacy-note p { margin: 4px 0 0; font-size: 11px; line-height: 1.55; }

.confirm-panel,
.complete-panel { max-width: 820px; margin: 0 auto; }
#main_content .confirm-panel__lead { margin: 10px 0 24px; color: var(--estimate-muted); }
.confirm-list { margin: 25px 0; border-top: 1px solid var(--estimate-line); }
.confirm-list div { display: grid; grid-template-columns: 190px 1fr; border-bottom: 1px solid var(--estimate-line); }
.confirm-list dt { padding: 15px; color: #526477; background: #f5f8fb; font-weight: 700; }
.confirm-list dd { margin: 0; padding: 15px; overflow-wrap: anywhere; }
.confirm-actions { display: flex; justify-content: center; gap: 14px; align-items: center; }
.confirm-submit-form { flex: 1; max-width: 440px; }
.confirm-submit-form .primary-button { width: 100%; }
.complete-panel { padding-top: 58px; padding-bottom: 58px; text-align: center; }
.complete-panel__icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; color: #fff; background: var(--estimate-success); border-radius: 50%; font-size: 34px; }
#main_content .complete-panel > p { color: var(--estimate-muted); }
#main_content .complete-panel__note { padding: 10px; color: #684e00; background: #fff9d9; border-radius: 8px; font-size: 13px; }

@media (max-width: 900px) {
    .estimate-hero { grid-template-columns: 1fr; padding: 26px 32px; }
    .estimate-hero__visual { display: none; }
    .form-layout { grid-template-columns: 1fr; }
    .reassurance-panel { position: static; }
    .reassurance-panel__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; }
    .reassurance-panel ol { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
    .reassurance-panel li { border: 0; }
    .privacy-note { align-self: start; }
}

@media (max-width: 600px) {
    .estimate-mock-page { padding: 0 10px 50px; }
    .estimate-hero { min-height: 0; margin-top: 12px; padding: 18px 20px; border-radius: 14px; }
    .estimate-hero__eyebrow,
    #main_content .estimate-hero__eyebrow { margin-bottom: 8px; font-size: 12px; }
    .estimate-hero h1 { font-size: 26px; line-height: 1.22; }
    #main_content .estimate-hero__lead { margin: 9px 0 11px; font-size: 13px; line-height: 1.55; }
    .estimate-hero__points { display: flex; gap: 5px 13px; }
    .estimate-hero__points li { font-size: 11px; }
    .form-steps { margin: 15px 8px; }
    .estimate-form,
    .confirm-panel,
    .complete-panel { padding: 23px 17px; border-radius: 13px; box-shadow: none; }
    .form-intro { display: block; }
    .completion-meter { margin-top: 15px; text-align: left; }
    .two-column-fields { grid-template-columns: 1fr; gap: 0; }
    .form-section--estimate { margin-right: -6px; margin-left: -6px; padding: 18px 12px; }
    .reassurance-panel__inner { display: block; padding: 20px; }
    .reassurance-panel ol { display: block; margin: 15px 0; }
    .confirm-list div { grid-template-columns: 1fr; }
    .confirm-list dt { padding-bottom: 5px; background: #f5f8fb; }
    .confirm-list dd { padding-top: 8px; }
    .confirm-actions { flex-direction: column-reverse; }
    .confirm-actions > *,
    .confirm-submit-form { width: 100%; max-width: none; }
    .primary-button,
    .secondary-button { width: 100%; min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
    .estimate-mock-main *,
    .estimate-mock-main *::before,
    .estimate-mock-main *::after { scroll-behavior: auto !important; transition: none !important; }
}

#main_content .current-file {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #eef8fb;
    color: #23445a;
    line-height: 1.6;
}

#main_content .honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

#pageTop {
    display: none !important;
}
