/* Shared typography, controls, dialogs and form components */

:root { --orange:#ed652c;--orange-dark:#c74816;--ink:#20252a;--muted:#687078;--line:#e5e8eb;--light:#f5f6f8;--radius:14px;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif }

* { box-sizing:border-box }

html { scroll-behavior:smooth;scroll-padding-top:110px }

body { margin:0;background:#fff;color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased }

button,
input,
textarea,
select { font:inherit }

button,
a,
input,
textarea,
select { -webkit-tap-highlight-color:transparent }

button,
a { touch-action:manipulation }

button { cursor:pointer }

a { color:inherit;text-decoration:none }

button { color:inherit }

img { max-width:100%;display:block }

button:disabled { opacity:.45;cursor:default }

[hidden] { display:none!important }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible { outline:3px solid #d55c29;outline-offset:4px }

.container { width:min(1550px,calc(100% - 112px));margin-inline:auto }

.icon { display:inline-block;width:24px;height:24px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle }

.icon-sprite { position:absolute;width:0;height:0;overflow:hidden }

.skip { position:fixed;left:16px;top:-80px;z-index:100;padding:12px 20px;background:#fff;border:2px solid var(--orange) }

.skip:focus { top:16px }

.brand { display:flex;align-items:center;gap:12px;flex-shrink:0 }

.brand-mark { width:45px;height:45px;display:grid;place-items:center;border-radius:11px;background:var(--orange);color:#fff }

.brand-mark .icon { width:29px;height:29px;stroke-width:1.8 }

.brand strong { display:block;font-size:19px;letter-spacing:-.5px;font-weight:700;line-height:1.2 }

.brand small { display:block;font-size:12px;letter-spacing:.3px;color:#6c747c;margin-top:5px }

.button { min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 24px;border:1px solid var(--orange);border-radius:8px;background:var(--orange);font-weight:600;font-size:15px;line-height:1.35;color:white;transition:background .15s,border-color .15s,transform .15s;text-align:center }

.button:hover { background:var(--orange-dark);border-color:var(--orange-dark) }

.button:active { transform:translateY(1px) }

.button .icon { width:20px;height:20px }

.button-outline { border-color:#d8dde1;background:transparent;color:var(--ink) }

.button-outline:hover { background:#f6f7f8;border-color:#b7bfc5 }

.button-wide { width:100% }

.text-button { padding:10px 0;border:0;background:none;display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:15px;color:var(--ink);min-height:44px }

.text-button:hover { color:var(--orange) }

.icon-button { padding:10px;width:44px;height:44px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:8px;flex-shrink:0 }

.eyebrow { font-size:12px;font-weight:700;letter-spacing:1.7px;color:#707780;line-height:1.5;display:flex;align-items:center;gap:10px;margin-bottom:21px }

h1,
h2,
h3,
p { margin-top:0 }

h1 { font-size:clamp(48px,4.8vw,80px);font-weight:600;line-height:1.065;letter-spacing:-3.8px;margin-bottom:28px }

h2 { font-size:clamp(34px,3.1vw,49px);font-weight:600;line-height:1.13;letter-spacing:-1.9px;margin-bottom:0 }

h3 { font-size:21px;font-weight:600;line-height:1.3;letter-spacing:-.5px;margin-bottom:10px }

.orange { color:var(--orange) }

.section { padding:94px 0 }

.section-top { display:flex;align-items:flex-end;justify-content:space-between;gap:35px;margin-bottom:40px }

.section-top .eyebrow { margin-bottom:15px }

.section-description { color:#6f777f;line-height:1.75;font-size:15px;margin:0 0 4px;max-width:420px }

.tag { display:inline-block;font-size:12px;font-weight:500;padding:6px 11px;background:#fff;border:1px solid #e5e8eb;border-radius:5px;color:#454e56;line-height:1.35 }

.quiet-note { font-size:12px;line-height:1.7;color:#7e858c;margin:22px 0 0;max-width:950px }

fieldset { padding:0;border:0;margin:0 }

legend { padding:0;font-size:14px;margin-bottom:12px;font-weight:500 }

select { appearance:none;display:block;width:100%;padding:13px 34px 13px 13px;border:1px solid #dce2e6;border-radius:5px;background:#fff;font-size:13px;color:#414a52;min-height:47px }

.price-dash { font-weight:400;font-size:.8em;color:#989fa5;padding:0 .1em }

.socket-illustration { display:grid;place-items:center;background:linear-gradient(125deg,#f3f4f6,#e7ebee) }

.socket-rail { display:flex;gap:3px;background:#f9fafb;padding:9px;transform:rotate(-7deg);border-radius:9px;box-shadow:8px 15px 18px #233c4e1a,0 1px 1px #fff;width:78%;max-width:270px }

.socket-rail>span { display:flex;align-items:center;justify-content:center;gap:10px;aspect-ratio:1;background:radial-gradient(circle,#e9edef 44%,#f8fafb 46%);border:1px solid #f3f5f6;flex:1;border-radius:3px;position:relative }

.socket-rail i { width:4px;height:6px;border-radius:3px;background:#6d7881 }

.socket-rail>span:after { content:"";position:absolute;left:calc(50% - 3px);top:25%;width:6px;height:2px;background:#a1aab0 }

.socket-measure { position:absolute;bottom:56px;left:15%;right:17%;height:6px;border-top:1px solid #ed652c90;border-left:1px solid var(--orange);border-right:1px solid var(--orange);transform:rotate(-7deg) }

.cable-illustration { background:linear-gradient(120deg,#edf0f3,#f7f8f9) }

.cable-line { position:absolute;top:-10%;height:120%;width:11px;background:linear-gradient(90deg,#8b969e,#c2cbd0 43%,#78868e);transform:rotate(-29deg);border-radius:2px;box-shadow:3px 5px 4px #33475316 }

.c1 { left:29% }

.c2 { left:36% }

.c3 { left:43% }

.c4 { left:50% }

.cable-clip { position:absolute;left:28%;top:22%;width:36%;height:8px;background:#e1e7eb;border:1px solid #c9d2d9;transform:rotate(-29deg);box-shadow:0 4px 5px #667c8a16 }

.cl2 { top:48%;left:39% }

.cl3 { top:74%;left:50% }

.signature-monogram { display:grid;place-items:center;width:49px;height:49px;border-radius:50%;background:#e9edf0;color:#7c8993;font-family:Georgia,serif;font-size:19px }

.brief-form { display:flex;flex-direction:column }

.brief-form h3 { font-size:21px;margin-bottom:22px }

.brief-form>label:not(.consent) { font-size:12px;color:#53616b;margin-bottom:7px }

.optional { color:#98a0a7;font-size:10px;float:right }

.brief-form>input,
.brief-form>textarea { padding:12px 14px;border:1px solid #dfe5e9;border-radius:6px;background:#fff;font-size:13px;min-height:46px;color:var(--ink);width:100%;margin-bottom:16px }

.brief-form>input::placeholder,
.brief-form>textarea::placeholder { color:#99a2a9 }

.brief-form>textarea { resize:vertical;min-height:86px }

.consent { display:flex;align-items:flex-start;gap:8px;font-size:11px;color:#7b8790;line-height:1.7;margin:2px 0 17px;cursor:pointer }

.consent input { accent-color:var(--orange);width:15px;height:15px;flex-shrink:0;margin:3px 0 0 }

.consent button { border:0;border-bottom:1px solid #bbc5cd;background:transparent;padding:0;font-size:inherit;color:inherit;line-height:1.6;display:inline }

.brief-form>.button { font-size:14px }

.form-note { font-size:10px;color:#919ba3;line-height:1.7;text-align:center;margin:12px 0 0 }

.content-dialog { border:1px solid #e3e7eb;border-radius:13px;width:min(710px,calc(100% - 32px));max-height:85vh;padding:28px 32px;box-shadow:0 30px 110px #14232e35;color:var(--ink);background:#fff;overflow-y:auto }

.content-dialog::backdrop { background:#17252e66;backdrop-filter:blur(5px) }

.dialog-head { display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:20px }

.dialog-head h2 { font-size:25px;line-height:1.3;letter-spacing:-.7px }

#dialog-body>p { font-size:14px;line-height:1.8;color:#6b7780 }

.estimate-table-wrap { overflow-x:auto }

.estimate-table { border-collapse:collapse;width:100%;font-size:13px }

.estimate-table th { text-align:left;color:#6a7780;font-weight:500;font-size:11px;background:#f8f9fa }

.estimate-table td,
.estimate-table th { padding:12px 10px;border-bottom:1px solid #e8ecef }

.estimate-table td:last-child { white-space:nowrap;text-align:right }

.estimate-table th:last-child { text-align:right }

.estimate-table td small { display:block;color:#929da5;font-size:10px;margin-top:4px }

.estimate-table td:nth-child(2) { white-space:nowrap;font-size:12px }

.estimate-table tfoot td,
.estimate-table tfoot th { font-size:15px;font-weight:600;background:white }

.dialog-actions { display:flex;gap:12px;margin-top:25px;flex-wrap:wrap }

.conditions-list { list-style:none;padding:0;margin:0 }

.conditions-list li { display:grid;gap:5px;border-bottom:1px solid var(--line);padding:15px 0 }

.conditions-list strong { font-size:15px;font-weight:600 }

.conditions-list span { font-size:14px;color:#7d8992;line-height:1.8 }

.toast { position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:min(550px,calc(100% - 32px));padding:15px 22px;background:#273139;color:#fff;border-radius:8px;z-index:100;font-size:14px;box-shadow:0 10px 40px #0002 }

.noscript-note { padding:20px;background:#fff4ed;font-size:14px }

@media(max-width:1250px) {
.container { width:calc(100% - 72px) }
.brand strong { font-size:17px }
.brand small { font-size:11px }
.brand-mark { width:40px;height:40px }
.section { padding-block:76px }
.section-description { font-size:13px;max-width:370px }
select { font-size:12px;padding-left:10px }
}

@media(max-width:1100px) {
.eyebrow { font-size:10px;letter-spacing:1.4px }
.tag { font-size:10px }
.section-description { max-width:300px }
h2 { font-size:35px }
}

@media(max-width:760px) {
html { scroll-padding-top:85px }
body { padding-bottom:calc(66px + env(safe-area-inset-bottom)) }
.container { width:calc(100% - 40px) }
.brand-mark { width:36px;height:36px;border-radius:9px }
.brand-mark .icon { width:24px;height:24px }
.brand { gap:9px }
.brand strong { font-size:16px }
.brand small { font-size:10px;margin-top:3px }
.section { padding-block:58px }
.section-top { display:block;margin-bottom:28px }
.section-top .eyebrow { margin-bottom:13px;font-size:9px;letter-spacing:1.5px }
h2 { font-size:31px;letter-spacing:-1.35px;line-height:1.16 }
.section-description { font-size:13px;margin-top:18px;line-height:1.8;max-width:none }
.section-description br { display:none }
.section-top>.button { font-size:12px;margin-top:20px;min-height:44px;padding:12px 17px }
.quiet-note { font-size:11px;margin-top:18px;line-height:1.8 }
select { font-size:11px;min-height:46px;padding-left:9px;padding-right:24px }
.socket-rail { padding:6px;gap:1px;width:85% }
.socket-rail i { width:2px;height:4px }
.socket-rail>span { gap:6px }
.socket-measure { bottom:52px }
.cable-line { width:8px }
.brief-form h3 { font-size:19px;margin-bottom:20px }
.brief-form>label:not(.consent) { font-size:12px }
.brief-form>input,
.brief-form>textarea { font-size:16px;min-height:48px;padding:12px 13px }
.brief-form>textarea { font-size:14px }
.consent { font-size:11px;line-height:1.8 }
.form-note { font-size:10px }
.content-dialog { padding:21px 20px;width:calc(100% - 24px);max-height:83vh;border-radius:10px }
.dialog-head { gap:15px;margin-bottom:16px }
.dialog-head h2 { font-size:22px;line-height:1.3 }
.dialog-head .icon-button { width:36px;height:36px;padding:7px }
.dialog-head .icon-button .icon { width:20px;height:20px }
#dialog-body>p { font-size:13px;line-height:1.8 }
.estimate-table { font-size:11px }
.estimate-table td,
.estimate-table th { padding:11px 6px }
.estimate-table th { font-size:10px }
.estimate-table td:nth-child(2) { font-size:10px }
.estimate-table td:last-child { font-size:11px }
.estimate-table td small { font-size:9px }
.estimate-table tfoot td,
.estimate-table tfoot th { font-size:13px }
.dialog-actions>.button { font-size:12px;min-height:44px;padding:12px 15px }
.toast { bottom:calc(83px + env(safe-area-inset-bottom));font-size:12px;padding:13px 18px }
.conditions-list strong { font-size:14px }
.conditions-list span { font-size:13px }
}

@media(max-width:370px) {
.container { width:calc(100% - 32px) }
.brand strong { font-size:15px }
.brand small { font-size:9px }
}

@media(prefers-reduced-motion:reduce) {
html { scroll-behavior:auto }
*,
*:before,
*:after { transition:none!important;animation:none!important }
}

@media print {
body { padding:0;font-family:Arial,sans-serif }
.toast { display:none!important }
.printing-estimate #dialog-body { display:block }
.estimate-table { font-size:11pt }
.estimate-table td,
.estimate-table th { padding:8pt }
.estimate-table thead { display:table-header-group }
.estimate-table tr { break-inside:avoid }
.estimate-table td small { font-size:9pt }
.dialog-head h2 { font-size:19pt }
main { display:block }
a { color:#000 }
}

@media screen {
.brand small { font-size:14px;letter-spacing:0 }
.button,
.text-button,
.section-top>.button,
.dialog-actions>.button { font-size:14px }
.section-description,
#dialog-body>p,
.conditions-list span { font-size:16px }
.tag { font-size:14px }
.quiet-note,
.form-note { font-size:14px }
legend,
.brief-form>label:not(.consent),
.optional,
.consent { font-size:14px }
select,
.brief-form>input,
.brief-form>textarea { font-size:16px }
.form-note { font-size:12px }
.optional { font-size:12px }
.consent input { width:17px;height:17px }
.brand strong { font-size:19px }
}

@media screen and (max-width:760px) {
.brand strong { font-size:16px }
.brand small { font-size:12px }
.socket-rail { max-width:270px }
.brief-form>input { font-size:16px }
.brand-mark { width:35px;height:35px }
}

@media screen and (max-width:370px) {
.brand small { font-size:11px }
}

@media screen {
.button:not(.button-outline) { background:#c94b1a;border-color:#c94b1a }
.button:not(.button-outline):hover { background:#b53f13;border-color:#b53f13 }
.estimate-table { font-size:14px }
.estimate-table td:last-child,
.estimate-table td:nth-child(2) { font-size:14px }
.estimate-table td small { font-size:12px }
}

@media screen and (max-width:760px) {
.estimate-table td,
.estimate-table th { padding:12px 5px }
.estimate-table td:first-child { overflow-wrap:anywhere }
.estimate-table td:last-child,
.estimate-table td:nth-child(2) { font-size:14px }
.estimate-table td small { font-size:12px }
.estimate-table tfoot td,
.estimate-table tfoot th { font-size:14px }
}

@media screen {
.section-description,
.quiet-note,
.form-note,
.consent { color:#69737b }
}

.document-estimate-table { min-width:600px }

.document-estimate-table th:first-child { width:40% }

.brand-logo { display:block;width:255px;height:auto;max-width:100% }

.consent-pair { display:grid;gap:10px;margin:3px 0 20px }

.consent-pair .consent { margin:0;font-size:14px;line-height:1.7 }

.consent-pair .consent button { font-size:inherit;min-height:0 }

.consent-pair .consent input { width:17px;height:17px;flex-shrink:0 }



.document-page { background:#f5f7f9;padding:40px 20px }

.document-page-inner { max-width:1000px;margin:auto;padding:40px;background:#fff;border:1px solid #e4e9ed;border-radius:12px }

.document-home { display:block;width:250px;margin-bottom:35px }

.document-page h1 { font-size:34px;line-height:1.25;letter-spacing:-1px }

.document-page p { font-size:16px;line-height:1.8;color:#69737b }

.document-page .estimate-table-wrap { margin:28px 0 }

.document-page .button { margin-top:20px }

@media(max-width:1100px) {
.brand-logo { width:235px }
}

@media(max-width:760px) {
.brand-logo { width:210px }
.consent-pair .consent { font-size:14px }
.document-page { padding:15px }
.document-page-inner { padding:25px 20px }
.document-page h1 { font-size:27px }
.document-page .estimate-table { font-size:13px }
.document-home { width:230px }
}

@media(max-width:370px) {
.brand-logo { width:200px }
.document-page { padding:8px }
.document-page-inner { padding:22px 16px }
}

@media print {
.document-page { padding:0;background:#fff }
.document-page-inner { border:0;padding:0 }
.document-page .button { display:none }
}

.price-prefix { font-size:.55em;letter-spacing:0 }
