/* Shared layouts for SEO-focused detail pages */
.subpage { background: var(--paper); }

.subpage-section { padding: clamp(78px, 8vw, 120px) 0; }
.subpage-section--first { padding-top: clamp(52px, 6vw, 84px); }
.subpage-section--cream { background: var(--cream); }
.content-intro { display: grid; grid-template-columns: minmax(0,.75fr) minmax(420px,1fr); gap: clamp(55px,9vw,145px); align-items: start; }
.content-intro__label { margin: 0; color: var(--gold); font-family: var(--latin); font-size: 11px; font-weight: 600; letter-spacing: .2em; }
.content-intro h1, .content-intro h2 { margin: 17px 0 0; font-family: var(--serif); font-size: clamp(36px,4.5vw,64px); font-weight: 700; letter-spacing: -.045em; line-height: 1.37; }
.content-intro h1 em, .content-intro h2 em { color: var(--gold); font-style: normal; }
.content-intro__copy > p { margin: 0 0 20px; color: rgba(22,26,23,.62); font-size: 15px; line-height: 2; }
.content-intro__copy .line-button { margin-top: 36px; }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 80px; background: var(--line); border: 1px solid var(--line); }
.feature-card { min-height: 330px; padding: 42px; background: var(--paper); }
.feature-card > span { color: var(--gold); font-family: var(--latin); font-size: 12px; }
.feature-card h3 { margin: 58px 0 17px; font-family: var(--serif); font-size: 25px; letter-spacing: -.04em; }
.feature-card p { margin: 0; color: rgba(22,26,23,.58); font-size: 13px; line-height: 1.9; }
.feature-card ul { margin: 22px 0 0; padding: 0; color: rgba(22,26,23,.62); list-style: none; font-size: 12px; line-height: 2.2; }

.detail-list { margin: 70px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.detail-list li { display: grid; min-height: 150px; grid-template-columns: 80px minmax(220px,.65fr) 1fr; gap: 35px; align-items: start; padding: 33px 0; border-bottom: 1px solid var(--line); }
.detail-list > li > span { color: var(--gold); font-family: var(--latin); font-size: 12px; }
.detail-list h3 { margin: 0; font-family: var(--serif); font-size: 23px; letter-spacing: -.04em; }
.detail-list p { max-width: 670px; margin: 0; color: rgba(22,26,23,.58); font-size: 13px; line-height: 1.9; }

.case-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 55px 28px; margin-top: 70px; }
.case-card figure { position: relative; height: 440px; margin: 0 0 23px; overflow: hidden; background: #edf1f4; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.case-card:hover img { transform: scale(1.025); }
.case-card__meta { display: flex; justify-content: space-between; color: var(--gold); font-family: var(--latin); font-size: 10px; letter-spacing: .12em; }
.case-card h3 { margin: 10px 0 0; font-family: var(--serif); font-size: 25px; letter-spacing: -.04em; }
.case-card p { margin: 10px 0 0; color: rgba(22,26,23,.55); font-size: 12px; }

.visit-layout { display: grid; grid-template-columns: minmax(380px,.72fr) minmax(0,1.05fr); gap: clamp(55px,8vw,120px); align-items: stretch; }
.visit-layout .location__map { min-height: 590px; }
.contact-stack { display: grid; align-content: center; }
.contact-stack h1, .contact-stack h2 { margin: 14px 0 25px; font-family: var(--serif); font-size: clamp(38px,4.3vw,62px); font-weight: 700; letter-spacing: -.045em; line-height: 1.35; }
.contact-stack h1 em, .contact-stack h2 em { color: var(--gold); font-style: normal; }
.contact-stack > p { color: rgba(22,26,23,.6); font-size: 14px; line-height: 1.9; }
.contact-options { display: grid; gap: 12px; margin-top: 28px; }
.contact-options a { display: flex; min-height: 84px; align-items: center; justify-content: space-between; padding: 0 24px; background: var(--cream); border: 1px solid var(--line); }
.contact-options a strong { display: block; font-family: var(--serif); font-size: 18px; }
.contact-options a small { display: block; margin-top: 5px; color: rgba(22,26,23,.5); font-size: 10px; }
.contact-options a:last-child { color: var(--white); background: var(--forest); }
.contact-options a:last-child small { color: rgba(255,255,255,.55); }

.page-cta { padding: clamp(72px,7vw,105px) 0; color: var(--white); background: #122a3c; }
.page-cta__inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.page-cta__inner p { margin: 0 0 13px; color: var(--gold-light); font-family: var(--latin); font-size: 11px; letter-spacing: .2em; }
.page-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(36px,4.5vw,62px); font-weight: 700; letter-spacing: -.045em; line-height: 1.35; }
.page-cta h2 em { color: var(--gold-light); font-style: normal; }
.page-cta__actions { display: flex; gap: 28px; align-items: center; }
.page-cta__phone { font-family: var(--latin); font-size: 24px; font-weight: 600; white-space: nowrap; }
.page-cta__phone small { display: block; margin-bottom: 4px; color: rgba(255,255,255,.48); font-family: var(--sans); font-size: 9px; font-weight: 400; letter-spacing: .1em; }

@media (max-width: 980px) {
  .content-intro { grid-template-columns: 1fr; gap: 38px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1 / -1; }
  .visit-layout { grid-template-columns: 1fr; }
  .page-cta__inner { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .feature-grid, .case-grid { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; }
  .feature-card { min-height: 270px; padding: 31px 25px; }
  .feature-card h3 { margin-top: 38px; }
  .detail-list li { grid-template-columns: 42px 1fr; gap: 17px; }
  .detail-list li p { grid-column: 2; }
  .case-card figure { height: 78vw; min-height: 310px; }
  .visit-layout .location__map { min-height: 430px; }
  .page-cta__actions { display: grid; }
  .page-cta__phone { font-size: 22px; }
}

/* Consultation form controls */
.estimate-form { border-top: 1px solid var(--ink); }
.form-section { margin: 0; padding: 43px 0; border: 0; border-bottom: 1px solid var(--line); }
.form-section legend { display: flex; gap: 14px; align-items: center; padding: 0; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.form-section legend span { color: var(--gold); font-family: var(--latin); font-size: 12px; }
.choice-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 180px)); gap: 10px; margin-top: 28px; }
.choice-pills label { cursor: pointer; }
.choice-pills input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.choice-pills label > span { display: grid; min-height: 48px; place-items: center; padding: 0 18px; color: rgba(22,26,23,.6); background: var(--cream); border: 1px solid transparent; border-radius: 30px; font-size: 12px; font-weight: 600; transition: color 180ms ease, background 180ms ease, border 180ms ease; }
.choice-pills input:checked + span { color: var(--ink); background: var(--paper); border-color: var(--gold); }
.choice-pills input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice-pills--three { grid-template-columns: repeat(3, minmax(0, 150px)); }
.consultation-province-options { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.consultation-province-options label > span, .choice-pills--budget label > span { border-radius: 0; }
.consultation-province-options label > span { min-height: 50px; padding-inline: 10px; }
.consultation-area-options { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); margin-top: 0; }
.consultation-area-options label > span { min-height: 46px; padding: 7px 8px; text-align: center; }
.consultation-area-empty { color: rgba(22,26,23,.5); font-size: 10px; }
.consultation-area-field { grid-column: 1 / -1; }
.choice-pills--budget { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; margin-top: 0; }
.choice-pills--budget label > span { min-height: 54px; gap: 3px; padding: 7px 9px; text-align: center; }
.choice-pills--budget label > span small { color: rgba(22,26,23,.48); font-size: 9px; font-weight: 500; }
.choice-pills--budget input:checked + span small { color: rgba(22,26,23,.62); }
.consultation-area-field[hidden] { display: none; }
.consultation-region-empty { grid-column: 1 / -1; margin: 0; padding: 12px; color: #8c332b; background: #fff3f1; border: 1px solid #efcbc6; font-size: 11px; }
.estimate-fields { display: grid; gap: 22px; margin-top: 30px; }
.estimate-fields--two, .estimate-fields--location { grid-template-columns: 1fr 1fr; }
.estimate-field { display: grid; gap: 10px; margin-top: 24px; }
.estimate-fields .estimate-field { margin-top: 0; }
.estimate-field > span:first-child { color: rgba(22,26,23,.76); font-size: 13px; font-weight: 650; }
.estimate-field > span i { margin-left: 5px; color: var(--gold); font-style: normal; font-size: 9px; font-weight: 500; }
.estimate-field input:not([type="file"]), .estimate-field select, .estimate-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(22,26,23,.2);
  border-radius: 0;
  font: 14px var(--sans);
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}
.estimate-field .choice-pills input {
  width: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
}
.estimate-field textarea { resize: vertical; line-height: 1.8; }
.estimate-field input:focus, .estimate-field select:focus, .estimate-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,143,85,.11); }
.estimate-field select:disabled { color: rgba(22,26,23,.4); background: #eeece6; }
.estimate-field-help { margin: 13px 0 0; color: rgba(22,26,23,.48); font-size: 10px; line-height: 1.7; }
.estimate-field > span:first-child small { margin-left: 6px; color: rgba(22,26,23,.48); font-size: 10px; font-weight: 500; }
.estimate-field--quality { margin-top: 30px; }
.estimate-field--quality .choice-pills { margin-top: 2px; }
.estimate-file { padding: 20px; background: var(--cream); border: 1px solid var(--line); }
.estimate-file input { max-width: 100%; font-size: 11px; }
.estimate-file small { color: rgba(22,26,23,.52); font-size: 10px; }
.estimate-consent { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; color: rgba(22,26,23,.68); cursor: pointer; font-size: 12px; line-height: 1.65; }
.estimate-consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--forest); }
.estimate-consent strong { margin-right: 4px; color: var(--gold); }
.estimate-submit { display: inline-flex; min-width: 240px; min-height: 58px; align-items: center; justify-content: space-between; padding: 0 24px; border: 1px solid var(--forest); cursor: pointer; font-size: 13px; font-weight: 700; }
.estimate-submit { color: var(--white); background: var(--forest); }
.estimate-submit:hover { background: var(--ink); }
.space-category-panel { margin-top: 16px; padding: 18px; background: #f5f8fa; border: 1px solid #dbe5ec; }
.space-category-panel[hidden], .space-category-options[hidden] { display: none; }
.space-category-panel__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.space-category-panel__heading small { color: var(--gold); font-family: var(--latin); font-size: 8px; font-weight: 750; letter-spacing: .12em; }
.space-category-panel__heading strong { color: #425566; font-size: 12px; }
.space-category-options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-top: 15px; }
.space-category-options label { position: relative; cursor: pointer; }
.space-category-options input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.space-category-options span { display: grid; min-height: 44px; place-items: center; padding: 7px 9px; color: #596b79; background: #fff; border: 1px solid #dbe3e9; font-size: 11px; font-weight: 650; text-align: center; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.space-category-options input:checked + span { color: #fff; background: var(--gold); border-color: var(--gold); }
.space-category-options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.request-examples { margin: 24px 0 8px; border: 1px solid var(--line); }
.request-examples summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; padding: 0 17px; color: var(--ink); background: #f5f8fa; cursor: pointer; font-size: 12px; font-weight: 700; list-style: none; }
.request-examples summary::-webkit-details-marker { display: none; }
.request-examples summary i { display: grid; width: 24px; height: 24px; place-items: center; color: var(--gold); border: 1px solid #b8c8d4; border-radius: 50%; font-size: 16px; font-style: normal; transition: transform 180ms ease; }
.request-examples[open] summary i { transform: rotate(45deg); }
.request-examples__panel { padding: 21px; border-top: 1px solid var(--line); }
.request-examples__panel > p { margin: 0 0 18px; color: #425566; font-size: 12px; line-height: 1.8; }
.request-examples__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.request-examples__grid article { padding: 16px; background: #fff; border: 1px solid #e2e8ed; }
.request-examples__grid h3 { margin: 0 0 9px; font-size: 13px; line-height: 1.5; }
.request-examples__grid article p { margin: 0; color: #5d6b76; font-size: 11px; line-height: 1.75; }

@media (max-width: 700px) {
  .estimate-fields--two, .estimate-fields--location { grid-template-columns: 1fr; gap: 17px; }
  .choice-pills, .choice-pills--three { grid-template-columns: 1fr 1fr; }
  .choice-pills--three label:last-child { grid-column: 1 / -1; }
  .space-category-panel { padding: 15px; }
  .space-category-panel__heading { display: grid; gap: 5px; }
  .space-category-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .estimate-submit { min-width: 0; width: 100%; }
}

/* Unified consultation portal */
.consultation-portal-page { background: #fff; }
.consult-steps-shell { padding-block: 12px; }
.consultation-portal-page .estimate-roadmap { overflow: hidden; background: #fff; border: 1px solid var(--line); }
.consultation-portal-page .estimate-roadmap ol { display: grid; min-width: 0; grid-template-columns: repeat(8,1fr); margin: 0; padding: 0; list-style: none; }
.consultation-portal-page .estimate-roadmap li { position: relative; display: flex; min-height: 143px; flex-direction: column; align-items: center; justify-content: center; padding: 14px 7px; border-right: 1px solid var(--line); text-align: center; }
.consultation-portal-page .estimate-roadmap li:last-child { border-right: 0; }
.consultation-portal-page .estimate-roadmap li > .estimate-step__number { margin-bottom: 7px; color: var(--gold); font-family: var(--latin); font-size: 8px; font-weight: 700; }
.consultation-portal-page .estimate-roadmap .estimate-step__icon { display: grid; width: 62px; height: 62px; place-items: center; margin-bottom: 9px; color: var(--gold); background: #eef3f6; border: 1px solid #dfe7ec; border-radius: 50%; }
.consultation-portal-page .estimate-roadmap .estimate-step__icon svg { width: 39px; height: 39px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.consultation-portal-page .estimate-roadmap li strong { font-family: var(--serif); font-size: 12px; line-height: 1.4; }
.consultation-portal-page .estimate-roadmap li i { position: absolute; top: 50%; right: -7px; z-index: 1; display: grid; width: 14px; height: 22px; place-items: center; color: #7891a4; background: #fff; font-size: 0; font-style: normal; transform: translateY(calc(-50% + 4px)); }
.consultation-portal-page .estimate-roadmap li i::before { width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; content: ""; transform: rotate(45deg); }
.consultation-portal-page .estimate-roadmap li.is-current { background: #eef7fd; box-shadow: inset 0 -3px var(--gold); }
.consultation-portal-page .estimate-roadmap li.is-current .estimate-step__icon { color: var(--gold); background: #dcecf6; border-color: #b8d7e9; }
.consultation-portal-page .estimate-roadmap li.is-complete > .estimate-step__number, .consultation-portal-page .estimate-roadmap li.is-complete strong { color: #71808c; }
.consultation-portal-page .estimate-roadmap li.is-complete .estimate-step__icon { color: #71808c; background: #f0f2f3; border-color: #e2e6e8; }

.consult-portal-content { padding: 28px 0 clamp(72px,7vw,98px); background: linear-gradient(180deg,#fff 0%,#f7fafc 100%); }
.consult-portal-content--first { padding-top: 36px; }
.consult-method-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin: 20px 0 30px; }
.consult-method-heading p { margin: 0 0 8px; color: var(--gold); font-family: var(--latin); font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.consult-method-heading h1, .consult-method-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(30px,3.4vw,46px); font-weight: 700; letter-spacing: -.045em; }
.consult-method-heading > span { max-width: 440px; color: rgba(22,26,23,.54); font-size: 12px; line-height: 1.8; text-align: right; }
.consult-method-heading > span strong { display: block; color: var(--ink); font-size: 13px; font-weight: 700; }
.consult-method-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.consult-method-card { position: relative; display: flex; min-height: 330px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 32px 34px; color: var(--ink); background: #fff; border: 1px solid #d9e2e8; border-top: 4px solid var(--gold); box-shadow: 0 16px 42px rgba(26,58,78,.06); transition: transform 180ms ease, box-shadow 180ms ease; }
.consult-method-card::after { position: absolute; top: -118px; right: -82px; width: 230px; height: 230px; border: 1px solid rgba(27,119,177,.12); border-radius: 50%; content: ""; }
.consult-method-card:hover { box-shadow: 0 22px 55px rgba(24,58,80,.14); transform: translateY(-5px); }
.consult-method-card__number { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; color: var(--gold); font-family: var(--latin); }
.consult-method-card__number b { font-size: 42px; font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.consult-method-card__number em { padding: 7px 10px; color: #547082; background: #eef4f7; border-radius: 99px; font-family: var(--font); font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: 0; }
.consult-method-card > div { position: relative; z-index: 2; margin-top: auto; margin-bottom: 26px; }
.consult-method-card small { color: var(--gold); font-family: var(--latin); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.consult-method-card h3 { margin: 8px 0 10px; font-family: var(--serif); font-size: 31px; letter-spacing: -.04em; }
.consult-method-card p { margin: 0; color: rgba(22,26,23,.58); font-size: 12px; line-height: 1.75; }
.consult-method-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0 0; padding: 0; list-style: none; }
.consult-method-card li { padding: 7px 9px; color: #526b7b; background: #f2f6f8; border-radius: 3px; font-size: 9px; font-weight: 650; }
.consult-method-card > b { position: relative; z-index: 2; display: flex; min-height: 46px; align-items: center; justify-content: space-between; padding: 0 14px; color: #fff; background: var(--gold); font-size: 11px; font-weight: 700; }
.consult-method-card i { color: var(--gold); font-style: normal; }
.consult-method-card > b i { color: inherit; }
.consult-method-card--dark { color: #fff; background: linear-gradient(135deg,#17364e 0%,#102b3f 100%); border-color: #17364e; }
.consult-method-card--dark::after { border-color: rgba(255,255,255,.12); }
.consult-method-card--dark .consult-method-card__number em { color: rgba(255,255,255,.75); background: rgba(255,255,255,.1); }
.consult-method-card--dark p { color: rgba(255,255,255,.66); }
.consult-method-card--dark li { color: rgba(255,255,255,.78); background: rgba(255,255,255,.09); }
.consult-method-card--dark > b { color: var(--ink); background: #fff; }

.consult-followup { display: grid; grid-template-columns: .82fr 1.68fr; margin-top: 20px; overflow: hidden; background: #fff; border: 1px solid #d9e2e8; box-shadow: 0 14px 36px rgba(26,58,78,.05); }
.consult-followup__intro { padding: 28px 32px; color: #fff; background: var(--gold); }
.consult-followup__intro small { display: block; margin-bottom: 11px; color: rgba(255,255,255,.68); font-family: var(--latin); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.consult-followup__intro strong { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.48; letter-spacing: -.035em; }
.consult-followup__intro p { margin: 10px 0 0; color: rgba(255,255,255,.68); font-size: 10px; line-height: 1.7; }
.consult-followup ol { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 0; list-style: none; }
.consult-followup li { display: flex; gap: 13px; align-items: flex-start; padding: 31px 23px; border-right: 1px solid #e1e8ec; }
.consult-followup li:last-child { border-right: 0; }
.consult-followup li > span { flex: 0 0 auto; color: var(--gold); font-family: var(--latin); font-size: 10px; font-weight: 700; }
.consult-followup li strong { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 750; }
.consult-followup li small { display: block; color: rgba(22,26,23,.5); font-size: 10px; line-height: 1.65; }

.consultation-unified-section { padding-top: clamp(34px,4.5vw,54px); }
.consultation-unified-layout { row-gap: 0; }
.consult-type-switch { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0 0 25px; }
.consult-type-option { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; min-height: 82px; align-items: center; padding: 15px 18px; color: var(--ink); background: #fff; border: 1px solid #d5dfe6; border-radius: 0; text-align: left; transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.consult-type-option:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 9px 24px rgba(26,58,78,.1); }
.consult-type-option:focus-visible { outline: 3px solid rgba(185,143,85,.35); outline-offset: 3px; }
.consult-type-option__number { color: var(--gold); font-family: var(--latin); font-size: 12px; font-weight: 700; }
.consult-type-option__copy { display: grid; gap: 4px; }
.consult-type-option__copy b { font-family: var(--serif); font-size: 19px; letter-spacing: -.03em; }
.consult-type-option__copy small { color: rgba(22,26,23,.54); font-size: 10px; line-height: 1.45; }
.consult-type-option__arrow { color: #7891a4; font-size: 18px; line-height: 1; }
.consult-type-option.is-selected { color: #fff; background: var(--forest); border-color: var(--forest); box-shadow: 0 12px 28px rgba(22,52,71,.18); }
.consult-type-option.is-selected .consult-type-option__number { color: var(--gold-light); }
.consult-type-option.is-selected .consult-type-option__copy small, .consult-type-option.is-selected .consult-type-option__arrow { color: rgba(255,255,255,.68); }

.portal-form-section { padding: 45px 0 95px; background: var(--paper); }
.portal-form-section--first { padding-top: clamp(36px,5vw,58px); }
.portal-form-layout { display: grid; grid-template-columns: minmax(0,980px); justify-content: center; align-items: start; }
.portal-form-card { max-width: 870px; padding: 38px 45px 45px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 55px rgba(22,26,23,.06); }
.portal-form-card__heading { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 27px; padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.portal-form-card__heading > span { grid-column: 1 / -1; margin-bottom: 5px; color: var(--gold); font-family: var(--latin); font-size: 9px; letter-spacing: .12em; }
.portal-form-card__heading h1, .portal-form-card__heading h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 750; letter-spacing: -.04em; }
.portal-form-card__heading p { margin: 0; color: rgba(22,26,23,.5); font-size: 10px; }
.portal-form-card__heading p i { color: var(--gold); font-style: normal; }
.portal-form-card .estimate-form { border-top: 0; }
.consultation-unified-card { width: 100%; max-width: none; }
.consultation-card-steps { margin: 0 0 16px; }
.consultation-card-steps .estimate-roadmap { margin: 0 0 2px; }
.consultation-card-steps .estimate-roadmap ol { min-width: 0; }
.consultation-unified-form .consultation-mode-panel[hidden] { display: none; }
.consultation-unified-form .form-section legend b, .consultation-unified-form .estimate-field > span b { font: inherit; }
.form-section--compact { padding: 28px 0; }
.portal-form-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.portal-form-actions--submit-only { justify-content: flex-end; }
.portal-form-actions > a { display: inline-flex; min-width: 150px; min-height: 54px; align-items: center; justify-content: center; color: rgba(22,26,23,.65); border: 1px solid var(--line); font-size: 12px; }
.portal-form-actions .estimate-submit { min-width: 230px; }
.form-honeypot { position: absolute!important; left: -10000px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }
.form-server-error { display: grid; gap: 4px; margin: -4px 0 24px; padding: 14px 16px; color: #8c332b; background: #fff3f1; border: 1px solid #efcbc6; font-size: 11px; line-height: 1.6; }
.form-server-error strong { font-size: 12px; }
.estimate-submit:disabled { cursor: wait; opacity: .72; }

.portal-complete-section { min-height: 690px; padding: 60px 0 100px; background: var(--paper); }
.portal-complete-layout { display: grid; grid-template-columns: minmax(0,720px); justify-content: center; align-items: start; }
.portal-complete-card { padding: 75px 55px; background: #f6f9fc; border: 1px solid var(--line); text-align: center; }
.portal-complete-card > span { display: grid; width: 60px; height: 60px; place-items: center; margin: 0 auto 22px; color: var(--gold-light); background: var(--forest); border-radius: 50%; font-family: var(--latin); }
.portal-complete-card > p:first-of-type { color: var(--gold); font-family: var(--latin); font-size: 9px; letter-spacing: .15em; }
.portal-complete-card h1 { margin: 12px 0 18px; font-family: var(--serif); font-size: clamp(32px,4vw,48px); font-weight: 700; letter-spacing: -.045em; }
.portal-complete-card > p:last-of-type { color: rgba(22,26,23,.58); font-size: 12px; line-height: 1.9; }
.portal-complete-card > p:last-of-type strong { color: var(--ink); font-family: var(--latin); font-size: 13px; letter-spacing: .03em; }
.portal-complete-card > div { display: flex; gap: 22px; align-items: center; justify-content: center; margin-top: 31px; }
.portal-complete-card .line-button { width: 210px; }

@media (max-width: 980px) {
  .consult-steps-shell { width: 100%; padding-block: 8px; }
  .consultation-portal-page .estimate-roadmap { border-inline: 0; }
  .consultation-portal-page .estimate-roadmap ol { min-width: 0; grid-template-columns: repeat(4,1fr); }
  .consultation-portal-page .estimate-roadmap li { min-height: 132px; align-items: center; padding: 13px 5px; border-bottom: 1px solid var(--line); text-align: center; }
  .consultation-portal-page .estimate-roadmap li:nth-child(4n) { border-right: 0; }
  .consultation-portal-page .estimate-roadmap li:nth-child(n+5) { border-bottom: 0; }
  .consultation-portal-page .estimate-roadmap li > .estimate-step__number { margin-bottom: 5px; font-size: 8px; }
  .consultation-portal-page .estimate-roadmap .estimate-step__icon { width: 55px; height: 55px; margin-bottom: 7px; }
  .consultation-portal-page .estimate-roadmap .estimate-step__icon svg { width: 34px; height: 34px; }
  .consultation-portal-page .estimate-roadmap li strong { font-size: 10px; }
  .consultation-portal-page .estimate-roadmap li i { display: none; }
  .consult-method-grid { grid-template-columns: 1fr 1fr; }
  .consult-followup { grid-template-columns: 1fr; }
  .consult-followup__intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5px 24px; align-items: center; }
  .consult-followup__intro small, .consult-followup__intro p { margin: 0; }
  .consult-followup__intro strong { grid-row: span 2; }
  .portal-form-layout, .portal-complete-layout { grid-template-columns: 1fr; }
  .portal-form-card { max-width: none; }
  .consultation-card-steps .estimate-roadmap { border-inline: 0; }
}

@media (max-width: 700px) {
  .consult-type-switch { gap: 8px; margin-bottom: 20px; }
  .consult-type-option { min-height: 76px; gap: 9px; padding: 13px 12px; }
  .consult-type-option__copy b { font-size: 16px; }
  .consult-type-option__copy small { font-size: 9px; }
  .consult-type-option__arrow { font-size: 16px; }
  .consultation-province-options { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .consultation-area-options { grid-template-columns: repeat(auto-fit,minmax(84px,1fr)); gap: 7px; }
  .choice-pills--budget { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .consult-method-heading { display: block; margin-top: 24px; }
  .consult-method-heading > span { display: block; margin-top: 14px; text-align: left; }
  .consult-method-grid { grid-template-columns: 1fr; }
  .consult-method-card, .consult-method-card:last-child { grid-column: auto; min-height: 300px; padding: 26px 24px; }
  .consult-method-card__number b { font-size: 36px; }
  .consult-followup__intro { display: block; padding: 25px 24px; }
  .consult-followup__intro small { margin-bottom: 10px; }
  .consult-followup__intro p { margin-top: 9px; }
  .consult-followup ol { grid-template-columns: 1fr; }
  .consult-followup li { padding: 19px 22px; border-right: 0; border-bottom: 1px solid #e1e8ec; }
  .consult-followup li:last-child { border-bottom: 0; }
  .portal-form-section { padding-top: 24px; }
  .portal-form-card { margin-inline: -18px; padding: 30px 20px 38px; border-right: 0; border-left: 0; }
  .portal-form-card__heading { display: block; }
  .portal-form-card__heading p { margin-top: 8px; }
  .request-examples__grid { grid-template-columns: 1fr; }
  .portal-form-actions { gap: 10px; }
  .portal-form-actions > a, .portal-form-actions .estimate-submit { min-width: 0; width: 50%; }
  .portal-form-actions--submit-only .estimate-submit { width: 100%; }
  .space-category-options[data-space-category-group="residential"] label:last-child { grid-column: 1 / -1; }
  .portal-complete-section { padding-top: 25px; }
  .portal-complete-card { margin-inline: -18px; padding: 58px 22px; border-right: 0; border-left: 0; }
  .portal-complete-card > div { display: grid; }
  .portal-complete-card .line-button { width: 100%; }
}

@media (max-width: 520px) {
  .consult-type-option { grid-template-columns: auto 1fr; min-height: 70px; padding: 11px 10px; }
  .consult-type-option__arrow { display: none; }
  .consult-type-option__copy b { font-size: 15px; }
  .consult-type-option__copy small { font-size: 8px; }
  .portal-form-card, .portal-complete-card { margin-inline: -14px; }
  .portal-form-actions { display: grid; }
  .portal-form-actions > a, .portal-form-actions .estimate-submit { width: 100%; }
}
