/* Homepage additions use the established quote-form styling and brand tokens. */
.quote-form .project-required{color:var(--orange-d)}
.quote-form textarea[name=details]{min-height:64px}
.quote-form .project-photo-label{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:10px 12px;border:1px dashed var(--line);border-radius:8px;background:var(--bg-soft);margin-bottom:4px}
.quote-form .project-photo-label>svg{width:18px;height:18px;flex:none;color:var(--orange-d)}
.quote-form .project-optional{font-weight:400;color:var(--muted)}
.quote-form .project-photo-label input{width:100%;min-width:0;min-height:0;margin-top:4px;padding:0;border:0;border-radius:0;background:transparent;font-size:.73rem;font-weight:400}
.quote-form .project-photo-label input::file-selector-button{border:1px solid var(--line);border-radius:5px;background:var(--bg);color:var(--navy);padding:5px 8px;margin-right:7px;cursor:pointer;font:inherit}
.quote-form .project-photo-help{font-size:.73rem;line-height:1.6;color:var(--muted);margin:0 0 12px}
.quote-form .project-consent{font-size:.76rem!important;line-height:1.65;margin-top:12px}
.quote-form .project-consent input{display:block;min-height:16px;width:16px!important;height:16px;padding:0;accent-color:var(--orange)}
.quote-form .project-consent a{color:var(--navy)}
@media(max-width:520px){.quote-form .project-photo-label input::file-selector-button{min-height:36px}}

/* Match the existing compact navigation before tablet labels become cramped. */
@media(min-width:1021px) and (max-width:1180px){.nav-toggle{display:block}.nav{display:none;position:absolute;top:74px;left:0;right:0;background:var(--bg);flex-direction:column;align-items:stretch;padding:12px 20px 22px;border-top:1px solid var(--line);box-shadow:0 14px 24px rgba(15,27,45,.12);max-height:calc(100vh - 74px);overflow:auto}.nav.open{display:flex}.nav>ul{flex-direction:column;gap:0}.nav a,.nav .dd-btn{padding:13px 4px;border-bottom:1px solid var(--line);width:100%}.nav .dd-btn::after{display:none}.dd{display:block;position:static;box-shadow:none;border:0;padding:0 0 0 14px}.dd a{padding:10px 4px;font-size:.92rem}.nav a.btn{margin:14px 0 0;justify-content:center;width:100%}}

/* Every quote form shares the homepage component and its field hierarchy. */
.quote-form.site-quote-form{--bg-soft:#f3f5f8;--line:#e4e8ee;width:100%;min-width:0;padding:28px;scroll-margin-top:95px}
.quote-form.site-quote-form h2{font-size:1.45rem;line-height:1.16;letter-spacing:-.02em;margin:0 0 10px;color:var(--navy)}
.quote-form.site-quote-form .hero-form-intro{font-size:.88rem;line-height:1.45;color:var(--muted);margin:0 0 16px}
.quote-form.site-quote-form .hero-form-trust{display:none;list-style:none;padding:0}
.quote-form.site-quote-form .hero-form-trust li{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.quote-form.site-quote-form .hero-form-trust svg{width:12px;height:12px;flex:none;color:var(--orange)}
.quote-form.site-quote-form label{margin-bottom:11px;font-size:.84rem}
.quote-form.site-quote-form select,.quote-form.site-quote-form input:not([type=file]):not([type=checkbox]):not([type=hidden]){min-height:42px;margin-top:5px}
.quote-form.site-quote-form .btn{margin-top:4px;min-height:48px}
.quote-form.site-quote-form .hero-form-reassurance{display:flex;align-items:center;justify-content:center;gap:7px;text-align:center;font-size:.73rem;line-height:1.35;color:var(--muted);margin:15px 0 0}
.quote-form.site-quote-form .hero-form-reassurance svg{width:15px;height:15px;flex:none}
@media(max-width:600px){.quote-form.site-quote-form .hero-form-trust{display:flex;flex-wrap:wrap;gap:5px 12px;margin:-2px 0 14px;font-size:.72rem;font-weight:700;line-height:1.25}}
@media(max-width:480px){.quote-form.site-quote-form{padding:23px 20px}.quote-form.site-quote-form h2{font-size:1.33rem}}
