/* Estimate page: based on the supplied 1920 x 2562 design. */
.estimate-page { font-size:16px; line-height:1.8; }
.estimate-container { width:min(1000px,calc(100% - 48px)); margin-inline:auto; }
.estimate-title { height:150px; padding:26px 24px 0; color:#fff; text-align:center; background:var(--navy) url('../images/page-title-background.webp') center/cover no-repeat; }
.estimate-title h1 { font-size:42px; line-height:60px; }
.estimate-title p { font-size:21px; line-height:32px; }
.estimate-breadcrumb { padding-block:18px 40px; font-size:15px; }
.estimate-breadcrumb a:hover { text-decoration:underline; }
.estimate-intro { padding-bottom:76px; }
.estimate-intro h2 { color:var(--navy); text-align:center; font-size:32px; line-height:1.5; margin-bottom:30px; }
.estimate-intro p { font-size:18px; }
.estimate-calculation { background:#f5f5f5; padding:80px 0; }
.estimate-layout { display:grid; grid-template-columns:minmax(0,610fr) minmax(0,360fr); gap:30px; align-items:start; }
.estimate-form { padding:26px 20px 32px; background:#fff; border-radius:10px; min-width:0; }
.estimate-form h2 { color:var(--navy); font-size:26px; line-height:1.5; }
.estimate-help { font-size:14px; margin-top:8px; margin-bottom:30px; }
.estimate-help a { text-decoration:underline; text-underline-offset:3px; }
.estimate-field { border:0; margin:0 0 28px; padding:0; min-width:0; display:flow-root; }
.estimate-field legend,.estimate-field__label { float:left; width:32%; padding:0 12px 0 4px; font-size:18px; font-weight:700; line-height:36px; }
.estimate-field legend > span,.estimate-field__label > span { display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%; margin-right:5px; color:#fff; background:var(--navy); line-height:1; }
.estimate-choices,.estimate-area { margin-left:32%; }
.estimate-choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 9px; }
.estimate-choices label { position:relative; min-width:0; cursor:pointer; }
.estimate-choices input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; margin:0; }
.estimate-choices label > span { display:flex; align-items:center; justify-content:center; min-height:40px; height:100%; border:1px solid #bcbcbc; border-radius:4px; padding:4px 5px; font-size:16px; text-align:center; line-height:1.5; }
.estimate-choices input:checked + span { border-color:var(--navy); box-shadow:inset 0 0 0 1px var(--navy); color:var(--navy); background:#f6faff; }
.estimate-choices input:checked + span::after { content:'✓'; position:absolute; right:-4px; top:-7px; width:17px; height:17px; border-radius:50%; background:var(--navy); color:#fff; font-size:12px; line-height:17px; }
.estimate-choices input:focus-visible + span { outline:3px solid #d39b00; outline-offset:3px; }
.estimate-area { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.estimate-area input { width:min(200px,80%); min-height:42px; border:1px solid #aaa; border-radius:4px; padding:6px 10px; font:inherit; text-align:right; background:#fff; color:inherit; }
.estimate-area small { flex-basis:100%; font-size:12px; color:#555; line-height:1.6; }
.estimate-button { display:block; margin:44px auto 40px; padding:14px 24px; min-height:58px; width:248px; max-width:100%; border:0; background:var(--navy); color:#fff; font:inherit; font-weight:700; cursor:pointer; }
.estimate-button:hover { background:#0053b1; }
.estimate-button:focus-visible,.estimate-consult:focus-visible { outline:3px solid #d39b00; outline-offset:3px; }
.estimate-notice { padding:16px 20px; border-radius:4px; background:#e0eff7; font-size:14px; }
.estimate-notice h3 { color:var(--navy); font-size:16px; }
.estimate-notice p + p { margin-top:8px; }
.estimate-result { border-radius:10px; overflow:hidden; background:#fff; scroll-margin-top:100px; }
.estimate-result > h2 { background:var(--navy); color:#fff; text-align:center; font-size:26px; padding:12px; }
.estimate-result__body { padding:16px 20px 24px; }
.estimate-hint { font-size:14px; margin-bottom:14px; color:#555; }
.estimate-total { padding:18px 24px; border:1px solid #c4c4c4; border-radius:8px; }
.estimate-total { text-align:center; }
.estimate-total h3 { color:var(--navy); font-size:20px; }
.estimate-total output { display:block; color:var(--navy); font-weight:700; font-size:clamp(24px,2vw,36px); line-height:1.5; margin-top:6px; overflow-wrap:anywhere; }
.estimate-separate { margin-top:20px; font-size:15px; }
.estimate-consult { display:block; margin-top:22px; color:var(--navy); font-weight:700; font-size:15px; text-align:center; text-decoration:underline; text-underline-offset:4px; }
.estimate-guide { margin-top:50px; border-radius:4px; overflow:hidden; background:#fff; scroll-margin-top:100px; }
.estimate-guide > h2 { padding:14px 20px; background:#e0eff7; color:var(--navy); font-size:20px; }
.estimate-guide > div { padding:20px; }
.estimate-guide h3 { color:var(--navy); font-size:18px; margin-bottom:6px; }
.estimate-guide p + h3 { margin-top:20px; }
@media(max-width:1000px) {
 .estimate-layout { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:20px; }
 .estimate-field legend,.estimate-field__label { float:none; display:block; width:100%; margin-bottom:12px; }
 .estimate-choices,.estimate-area { margin-left:0; }
 .estimate-total { padding:16px; }
}
@media(max-width:767px) {
 .estimate-container { width:calc(100% - 40px); }
 .estimate-title { height:140px; padding-top:28px; }
 .estimate-title h1 { font-size:32px; line-height:46px; }
 .estimate-title p { font-size:17px; line-height:28px; }
 .estimate-breadcrumb { font-size:13px; padding-block:16px 28px; }
 .estimate-intro { padding-bottom:40px; }
 .estimate-intro h2 { font-size:24px; margin-bottom:20px; }
 .estimate-intro p { font-size:16px; }
 .estimate-calculation { padding:40px 0 48px; }
 .estimate-layout { grid-template-columns:1fr; gap:28px; }
 .estimate-form { padding:22px 16px; }
 .estimate-form h2,.estimate-result > h2 { font-size:22px; }
 .estimate-choices { gap:12px 8px; }
 .estimate-choices label > span { min-height:46px; font-size:14px; }
 .estimate-button { margin-block:32px; }
 .estimate-notice { padding:14px; }
 .estimate-result__body { padding:18px; }
 .estimate-total output { font-size:32px; }
 .estimate-guide { margin-top:32px; }
 .estimate-guide > div { padding:18px; }
 .estimate-guide > h2 { font-size:18px; }
 .estimate-guide h3 { font-size:16px; }
 .estimate-guide p { font-size:14px; }
}
