/* Kitchen cost estimator; builds on styles.css and lead-form.css. */
.nav-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1px solid #bdb3a5; }
.lang-switch button { background: transparent; border: 0; padding: 8px 11px; font: 700 12px var(--sans); letter-spacing: .5px; color: var(--muted); cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lang-switch button:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

.est-hero { padding: 64px 0 30px; }
.est-hero h1 { font: 600 clamp(40px, 4.6vw, 60px)/1.05 var(--serif); letter-spacing: -2px; margin: 0; max-width: 760px; }
.est-hero h1 i { color: #a9773d; }
.est-hero .lede { margin-bottom: 0; }

.estimator { padding: 20px 0 80px; }
.est-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: start; }
.est-step { border-top: 1px solid var(--line); padding: 26px 0 8px; margin: 0; }
.est-step[hidden] { display: none; }
.est-step legend { font: 500 22px var(--serif); padding: 0; margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; float: left; width: 100%; }
.est-step legend + * { clear: both; }
.est-step legend small { font: 400 13px var(--sans); color: var(--muted); }
.step-no { font: 700 12px var(--sans); color: var(--clay); letter-spacing: 1px; }

.est-choices { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.est-choices.three { grid-template-columns: repeat(3, 1fr); }
.est-choices.two-col { grid-template-columns: repeat(2, 1fr); }
.est-choices label { justify-content: flex-start; align-items: flex-start; text-align: left; padding: 14px 14px; min-height: 64px; }
.est-choices label input[type="radio"] { margin-top: 3px; }
.est-choices label > span { display: grid; gap: 3px; }
.est-choices b { font-size: 14px; font-weight: 700; }
.est-choices small { font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.4; }
.est-choices label:has(input:checked) small { color: #7a5140; }

.est-inline { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.est-inline[hidden] { display: none; }
.est-inline select { width: auto; min-width: 150px; }

.est-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est-checks label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #bdb3a5; padding: 13px 14px; font-weight: 500; font-size: 13px; cursor: pointer; }
.est-checks label[hidden] { display: none; }
.est-checks input { width: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 16px; accent-color: var(--clay); }
.est-checks label:has(input:checked) { border-color: var(--clay); background: #f1e4d9; }

.est-result { position: sticky; top: 110px; background: var(--ink); color: var(--paper); padding: 30px 28px; }
.est-result .eyebrow { color: #c7aa80; margin-bottom: 10px; }
.est-range { font: 600 clamp(30px, 3vw, 40px)/1.1 var(--serif); letter-spacing: -1px; margin: 0; }
.est-gst { font-size: 12px; color: #c8c1b7; margin: 8px 0 20px; }
.est-summary { list-style: none; padding: 0; margin: 0 0 16px; border-top: 1px solid #504b45; }
.est-summary li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #504b45; font-size: 13px; }
.est-summary li span { color: #c8c1b7; }
.est-summary li strong { font-weight: 600; text-align: right; }
.est-note { font-size: 13px; color: #e5ddd0; margin: 0 0 20px; }
.est-result .btn { width: 100%; justify-content: space-between; }
.est-disclaimer { font-size: 11px; line-height: 1.5; color: #a9a196; margin: 16px 0 0; }

.est-mobile-bar { display: none; }
@media (max-width: 900px) {
  .est-grid { grid-template-columns: 1fr; gap: 28px; }
  .est-result { position: static; scroll-margin-top: 90px; }
  .estimator { padding-bottom: 40px; }
  .est-mobile-bar { display: flex; position: sticky; bottom: 0; z-index: 4; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding: 12px 16px; background: var(--clay); color: #fff; text-decoration: none; }
  .est-mobile-bar span:first-child { display: grid; }
  .est-mobile-bar small { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; opacity: .85; }
  .est-mobile-bar b { font: 600 20px var(--serif); }
}
@media (max-width: 760px) {
  .nav-tools { gap: 8px; }
  .lang-switch button { padding: 7px 8px; }
  .est-hero { padding: 40px 0 16px; }
  .est-hero h1 { font-size: 40px; letter-spacing: -1.4px; }
  .est-choices, .est-choices.three, .est-choices.two-col, .est-checks { grid-template-columns: 1fr; }
  .est-step legend { font-size: 20px; }
  .est-result { padding: 24px 18px; }
  .est-inline select { width: 100%; }
}
