/* Mobile fixes shared with the whole site. */
img,svg,video { max-width:100%; }
@media(min-width:991px) and (max-width:1200px) { .desktop-nav { gap:10px; font-size:11px; } .header-inner { gap:10px; } }
@media(max-width:900px) {
  .featured-grid .product-card { display:flex!important; flex-direction:column!important; grid-template-columns:none!important; min-width:0; }
  .featured-grid .product-image { display:grid; width:100%; min-width:0; min-height:0; aspect-ratio:1.14; place-items:center; background:#fff; }
  .featured-grid .product-image img { width:84%; height:84%; object-fit:contain; }
  .featured-grid .product-content { display:flex; flex-direction:column; flex:1; width:100%; min-width:0; }
  .featured-grid .product-content h3,.featured-grid .product-content p,.featured-grid .product-bottom { min-width:0; overflow-wrap:anywhere; }
  .featured-grid .product-bottom { margin-top:auto; padding-top:14px; display:flex; flex-wrap:wrap; gap:9px; }
  .featured-grid .product-bottom > * { white-space:normal; max-width:100%; }
  .quick-contact .quick-toggle { font-size:14px; gap:10px; }
  .footer { padding-bottom:64px; }
}
@media(max-width:360px) { .featured-grid { grid-template-columns:1fr; } }
@media(max-width:420px) { .header-inner { gap:8px; } .brand-logo { max-width:36vw; } .quick-contact .quick-toggle { font-size:13px; min-height:44px; padding:7px 13px; } }

/* Project selector and calculator. */
.project-hero { background:linear-gradient(120deg,#0b1a2b 0%,#162b3d 72%,#2d3c45 100%); color:#fff; padding:clamp(50px,8vw,105px) 0; }
.project-hero-inner { display:grid; grid-template-columns:minmax(0,1fr) 190px; gap:36px; align-items:end; }
.project-hero .eyebrow,.project-aside .eyebrow { color:#d8b372; }
.project-hero h1 { max-width:900px; font-size:clamp(36px,5.4vw,68px); line-height:1.07; letter-spacing:-.045em; margin:18px 0 20px; }
.project-hero h1 em { color:#d5af70; font-style:normal; }
.project-hero p { max-width:670px; color:#dce3e7; font-size:clamp(16px,1.5vw,19px); line-height:1.7; margin:0; }
.project-hero-badge { border-left:1px solid rgba(216,179,114,.55); padding:6px 0 7px 25px; display:grid; gap:10px; }
.project-hero-badge strong { color:#d8b372; font-size:32px; line-height:1; }
.project-hero-badge span { color:#dce3e7; font-size:11px; letter-spacing:.1em; line-height:1.6; }
.project-section { background:#f5f6f5; }
.project-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:26px; align-items:start; }
.project-panel { min-width:0; background:#fff; border:1px solid #dde4e7; padding:clamp(20px,4vw,44px); }
.project-progress-head { display:flex; justify-content:space-between; gap:15px; color:#526372; font-size:11px; letter-spacing:.09em; margin-bottom:11px; }
.project-progress-head strong { color:#0b1a2b; letter-spacing:0; }
.project-progress { height:5px; background:#e5eaed; margin-bottom:38px; }
.project-progress span { display:block; height:100%; background:#c9a15c; transition:width .2s; }
.project-step h2,.project-result h2 { font-size:clamp(27px,3vw,38px); line-height:1.15; letter-spacing:-.035em; margin:12px 0 13px; color:#0b1a2b; }
.project-step > p,.project-result > p { color:#647482; line-height:1.7; }
.project-panel label:not(.project-choice) { color:#182b3a; }
.project-panel label[for] { display:block; font-weight:700; margin:22px 0 8px; }
.project-optional { font-weight:400; color:#76828b; font-size:.87em; }
.project-panel input[type=number],.project-panel textarea,.project-panel select,.project-panel input[type=file] { width:100%; min-width:0; max-width:100%; min-height:48px; border:1px solid #bac5cb; background:#fff; border-radius:0; padding:12px 14px; font:inherit; color:#0b1a2b; }
.project-panel textarea { min-height:88px; resize:vertical; }
.project-panel :focus-visible { outline:3px solid #c9a15c; outline-offset:2px; }
.project-panel fieldset { border:0; padding:0; margin:24px 0 0; min-width:0; }
.project-panel legend { padding:0; margin-bottom:12px; color:#0b1a2b; font-weight:750; }
.project-choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.project-choice { position:relative; cursor:pointer; min-width:0; }
.project-choice input { position:absolute; opacity:0; width:1px; height:1px; }
.project-choice span { min-height:126px; display:flex; flex-direction:column; gap:9px; padding:17px; border:1px solid #d7dfe4; background:#fff; }
.project-choice b { color:#b88d46; font-size:11px; letter-spacing:.1em; }
.project-choice strong { color:#0b1a2b; font-size:16px; line-height:1.25; }
.project-choice small { color:#697986; font-size:13px; line-height:1.35; }
.project-choice input:checked + span { border:2px solid #bd914b; background:#fbf7ef; padding:16px; }
.project-choice input:focus-visible + span { outline:3px solid #c9a15c; outline-offset:2px; }
.project-radio-list { display:grid; gap:9px; }
.project-radio-list label { display:flex; align-items:center; gap:10px; min-height:46px; padding:10px 13px; border:1px solid #d9e0e4; cursor:pointer; }
.project-radio-list label:has(input:checked) { border-color:#bd914b; background:#fbf7ef; }
.project-radio-list input,.project-item-check input { accent-color:#a87d36; width:18px; height:18px; flex:none; }
.project-radio-inline { grid-template-columns:repeat(2,minmax(0,1fr)); }
.project-text-button { border:0; background:none; padding:10px 0; color:#0b1a2b; font:inherit; font-weight:750; text-decoration:underline; text-decoration-color:#c9a15c; text-underline-offset:5px; cursor:pointer; }
.project-hint { color:#647482; font-size:13px; line-height:1.6; }
.project-area-help { border-top:1px solid #dce3e7; border-bottom:1px solid #dce3e7; margin-top:24px; padding:16px 0; }
.project-area-help summary { color:#102338; font-weight:750; cursor:pointer; }
.project-area-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.project-area-grid label { min-width:0; font-size:13px; }
.project-area-grid input,.project-area-grid select { margin-top:8px; }
.project-photo-preview { margin-top:15px; display:flex; align-items:center; gap:16px; }
.project-photo-preview img { width:105px; height:105px; object-fit:cover; }
.project-error,.project-alert { border-left:3px solid #b46e40; padding:12px 14px; background:#fff4eb; color:#6b2f16; line-height:1.5; }
.project-actions { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-top:32px; }
.project-actions .button { min-height:50px; margin-left:auto; }
.project-back { border:0; background:none; color:#13283b; padding:12px 0; font:inherit; font-weight:700; cursor:pointer; }
.project-aside { background:#0f2335; color:#fff; padding:30px; position:sticky; top:110px; }
.project-aside h2 { color:#fff; font-size:28px; line-height:1.18; margin:14px 0; }
.project-aside p { color:#cbd5dc; line-height:1.7; font-size:14px; }
.project-aside ol { list-style:none; padding:0; margin:25px 0; }
.project-aside li { display:flex; gap:13px; padding:12px 0; border-top:1px solid #405162; font-size:13px; line-height:1.4; }
.project-aside li b { color:#d8b372; }
.project-aside-note { border-top:1px solid #405162; padding-top:18px; }
.project-notice { padding:15px 17px; border-left:3px solid #c9a15c; background:#fbf7ef; color:#4a4235; line-height:1.6; margin:12px 0; }
.project-item { display:grid; grid-template-columns:94px minmax(0,1fr); gap:18px; padding:20px 0; border-top:1px solid #e1e6e9; min-width:0; }
.project-item img { width:94px; height:94px; object-fit:contain; background:#fff; }
.project-item h3 { color:#0b1a2b; font-size:19px; line-height:1.25; margin:0 0 8px; overflow-wrap:anywhere; }
.project-item p { color:#62727e; font-size:14px; line-height:1.55; margin:8px 0; }
.project-item strong { color:#142b3d; }
.project-item-check { display:flex; gap:9px; align-items:start; margin:12px 0; font-size:14px; line-height:1.4; cursor:pointer; }
.project-manual { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.project-manual label { min-width:0; font-size:13px; }
.project-manual select,.project-manual input { margin-top:8px; }
.project-result-links { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-top:25px; }
.project-result-links .button { min-height:50px; }
.project-result-photo { max-width:200px; max-height:200px; object-fit:contain; margin:8px 0 20px; }
.project-related { border-top:1px solid #dce3e7; margin-top:28px; padding-top:20px; }
.project-related ul { padding-left:20px; color:#50616f; line-height:1.7; }
.project-home { background:#102437; color:#fff; padding:clamp(55px,8vw,100px) 0; }
.project-home-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(270px,.9fr); gap:clamp(25px,5vw,70px); align-items:center; }
.project-home h2 { color:#fff; font-size:clamp(32px,4vw,54px); line-height:1.1; letter-spacing:-.035em; margin:14px 0 18px; }
.project-home h2 em { color:#d8b372; font-style:normal; }
.project-home p { color:#cfdae1; max-width:580px; line-height:1.7; }
.project-home-image { min-height:260px; height:100%; max-height:450px; width:100%; object-fit:cover; }
.project-home-steps { display:flex; gap:18px; flex-wrap:wrap; margin:24px 0; color:#e7edf1; font-size:13px; }
.project-home-steps b { color:#d8b372; margin-right:6px; }
.project-store-link { margin:16px 0 22px; }
@media(max-width:900px) {
  .project-layout { grid-template-columns:minmax(0,1fr); }
  .project-aside { position:static; }
  .project-home-grid { grid-template-columns:minmax(0,1fr); }
  .project-home-image { max-height:300px; }
}
@media(max-width:600px) {
  .project-hero-inner { grid-template-columns:minmax(0,1fr); }
  .project-hero-badge { display:none; }
  .project-choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .project-choice span { min-height:112px; padding:13px; }
  .project-choice input:checked + span { padding:12px; }
  .project-area-grid { grid-template-columns:1fr; gap:0; }
  .project-panel { padding:20px 17px 24px; }
  .project-actions .button { max-width:70%; }
  .project-item { grid-template-columns:68px minmax(0,1fr); gap:12px; }
  .project-item img { width:68px; height:68px; }
  .project-result-links { align-items:stretch; flex-direction:column; }
  .project-result-links .button { width:100%; justify-content:center; }
  .project-manual { grid-template-columns:1fr; gap:0; }
}
@media(max-width:350px) { .project-choice-grid { grid-template-columns:1fr; } }
@media print {
  .site-header,.footer,.quick-contact,.project-hero,.project-aside,.project-progress,.project-progress-head,.project-result-links,.project-text-button { display:none!important; }
  .project-section { padding:0; background:#fff; }
  .project-layout { display:block; }
  .project-panel { border:0; padding:0; }
}
