:root {
    --bg: #f7f8fb;
    --panel: #fff;
    --soft: #e9f1f7;
    --ink: #162434;
    --muted: #647282;
    --line: #cdd7df;
    --navy: #17324d;
    --blue: #4c82a6;
    --apricot: #ffb276;
    --red: #b94b56;
    --lime: #c9dc87;
    --shadow: 0 18px 45px -28px #17324d88;
    --font: 'Work Sans', sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1)
}

[data-theme="dark"] {
    --bg: #101820;
    --panel: #16222c;
    --soft: #1b2c38;
    --ink: #edf4f7;
    --muted: #9fb0bc;
    --line: #334754;
    --navy: #8db7d3;
    --blue: #75a9cb;
    --apricot: #ffc08e;
    --red: #e47a84;
    --lime: #cfe291;
    --shadow: 0 20px 50px -26px #000
}

* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 76px }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--font); line-height: 1.62; overflow-x: hidden;
    transition: background .4s, color .4s
}
a { text-decoration: none; color: inherit }
button, input, select, textarea { font: inherit }
button { cursor: pointer }
::selection { background: var(--apricot); color: #162434 }

.skip { position: absolute; left: 1rem; top: -5rem; z-index: 2000; background: var(--ink); color: var(--bg); padding: .7rem 1rem }
.skip:focus { top: 1rem }

.navx { position: fixed; inset: 0 0 auto; z-index: 1050; height: 76px; background: color-mix(in srgb, var(--panel) 88%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line) }
.navin { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; max-width: 1240px; margin: auto; padding: 0 1.1rem }
.logo { display: flex; align-items: center; gap: .65rem; font-weight: 800; letter-spacing: -.05em; font-size: 1.35rem }
.logo-mark { width: 38px; height: 38px; border-radius: 12px 12px 4px 12px; background: var(--navy); color: var(--bg); display: grid; place-items: center }
.navlinks { display: flex; justify-content: center; gap: .2rem }
.navlinks a { padding: .55rem .75rem; border-radius: 8px; color: var(--muted); font-size: .87rem; font-weight: 600 }
.navlinks a:hover, .navlinks a.on { background: var(--soft); color: var(--ink) }
.navact { display: flex; align-items: center; gap: .55rem }
.theme, .menu { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink) }
.menu { display: none }
.navcta { background: var(--red); color: #fff; padding: .72rem 1rem; border-radius: 10px; font-weight: 700; font-size: .83rem }

.mobile { display: none; position: fixed; inset: 76px 0 0; z-index: 1040; background: var(--bg); padding: 1rem }
.mobile.open { display: block }
.mobile a { display: block; padding: 1rem; border-bottom: 1px solid var(--line); font-weight: 700 }

.section { border-bottom: 1px solid var(--line); padding: clamp(4rem, 8vw, 7rem) max(1.2rem, calc((100vw - 1160px)/2)) }
.section.alt { background: var(--soft) }
.eyebrow { font-size: .7rem; letter-spacing: .19em; text-transform: uppercase; color: var(--red); font-weight: 800; display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem }
.eyebrow:before { content: ""; width: 26px; height: 2px; background: var(--red) }
.title { font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 800; margin: 0 0 .8rem }
.title span { color: var(--blue) }
.leadx { max-width: 58ch; color: var(--muted); font-size: 1.04rem }

.btnx { border: 0; border-radius: 12px; padding: .9rem 1.35rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--navy); color: var(--bg); transition: .3s var(--ease) }
.btnx:hover { transform: translateY(-3px); box-shadow: var(--shadow) }
.btnx.hot { background: var(--red); color: #fff }
.btnx.line { background: transparent; border: 1px solid var(--line); color: var(--ink) }

.hero { padding-top: 76px; min-height: 100vh; display: grid; grid-template-columns: 1.02fr .98fr; border-bottom: 1px solid var(--line) }
.hero-copy { padding: clamp(3.5rem, 7vw, 7rem) clamp(1.2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line) }
.hero h1 { font-size: clamp(3rem, 7vw, 6.2rem); line-height: .91; letter-spacing: -.075em; font-weight: 800; margin: 0 }
.hero h1 span { color: var(--red) }
.hero p { color: var(--muted); max-width: 48ch; font-size: 1.08rem; margin: 1.5rem 0 }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap }
.promises { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.5rem }
.promises span { border: 1px solid var(--line); border-radius: 8px; padding: .45rem .75rem; font-size: .78rem; font-weight: 650; background: var(--panel) }

.hero-tool { background: var(--soft); padding: clamp(2rem, 5vw, 4rem); display: grid; align-content: center; position: relative; overflow: hidden }
.hero-tool:after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid var(--line); border-radius: 50%; right: -180px; top: -180px }
.diagnostic { position: relative; z-index: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 1.5rem; box-shadow: var(--shadow) }
.diagnostic-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem }
.diagnostic-head h2 { font-size: 1.05rem; font-weight: 800; margin: 0 }
.diagnostic-head span { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em }
.dial-wrap { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 1rem }
.dial { position: relative; aspect-ratio: 1 }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg) }
.dial .ring { fill: none; stroke: var(--line); stroke-width: 18 }
.dial .progress { fill: none; stroke: var(--red); stroke-width: 18; stroke-linecap: round; stroke-dasharray: 534; stroke-dashoffset: 400; transition: stroke-dashoffset .7s var(--ease) }
.dial-center { position: absolute; inset: 20%; border-radius: 50%; background: var(--soft); display: grid; place-items: center; text-align: center; padding: 1rem }
.dial-center .em { font-size: 2.2rem }
.dial-center b { font-size: .9rem }
.problem-list { display: grid; gap: .45rem }
.problem { border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: .65rem .75rem; text-align: left; font-size: .82rem; font-weight: 650; display: flex; align-items: center; gap: .5rem }
.problem:hover, .problem.on { background: var(--apricot); color: #162434; border-color: var(--apricot) }
.result { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem }
.result p { font-size: .83rem; margin: 0; color: var(--muted) }
.result b { color: var(--ink) }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line) }
.trust div { padding: 1.25rem; text-align: center; border-right: 1px solid var(--line); font-size: .88rem; font-weight: 700; background: var(--panel) }
.trust div:last-child { border: 0 }
.trust i { color: var(--red); margin-right: .4rem }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center }
.about-ill { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 2rem; box-shadow: var(--shadow) }
.about-ill svg { width: 100% }
.values { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; border: 1px solid var(--line); border-radius: 16px; overflow: hidden }
.value { padding: 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel) }
.value:nth-child(2n) { border-right: 0 }
.value:nth-last-child(-n+2) { border-bottom: 0 }
.value .em { font-size: 1.4rem }
.value h3 { font-size: .98rem; margin: .35rem 0 .2rem }
.value p { font-size: .83rem; margin: 0; color: var(--muted) }

.service-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem }
.filters { display: flex; gap: .45rem; flex-wrap: wrap }
.filters button { border: 1px solid var(--line); background: var(--panel); padding: .55rem .85rem; border-radius: 8px; font-size: .8rem; font-weight: 700 }
.filters button.on { background: var(--navy); color: var(--bg) }

.timeline { position: relative }
.timeline:before { content: ""; position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: var(--line) }
.svc { position: relative; display: grid; grid-template-columns: 66px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); transition: .35s var(--ease) }
.svc:last-child { border: 0 }
.svc:hover { padding-left: .5rem; background: color-mix(in srgb, var(--panel) 60%, transparent) }
.svc-icon { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.5rem }
.svc h3 { font-size: 1.05rem; margin: 0 0 .2rem }
.svc p { font-size: .86rem; color: var(--muted); max-width: 70ch; margin: 0 }
.svc-tag { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-weight: 800 }
.svc button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel) }
.svc button:hover { background: var(--red); color: #fff }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2rem }
.why { background: var(--panel); padding: 1.7rem; min-height: 210px; transition: .35s }
.why:hover { background: var(--apricot); color: #162434 }
.why .num { font-size: .68rem; color: var(--muted); font-weight: 800 }
.why .em { font-size: 1.8rem; display: block; margin: 1rem 0 .5rem }
.why h3 { font-size: 1.05rem }
.why p { font-size: .86rem; color: var(--muted); margin: .3rem 0 0 }
.why:hover p { color: #495463 }

.property { padding: 0 }
.prop { display: grid; grid-template-columns: .75fr 1.25fr; border-bottom: 1px solid var(--line); min-height: 430px }
.prop:last-child { border-bottom: 0 }
.prop:nth-child(even) .prop-art { order: 2; border-left: 1px solid var(--line); border-right: 0 }
.prop-art { background: var(--soft); border-right: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden }
.prop-art .blob { width: 230px; height: 230px; border-radius: 45% 55% 60% 40%; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; font-size: 5rem; animation: morph 8s ease-in-out infinite }
.prop-art .n { position: absolute; top: 1.5rem; left: 1.5rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 800 }
@keyframes morph { 50% { border-radius: 60% 40% 45% 55%; transform: rotate(5deg) } }
.prop-copy { padding: clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center }
.prop-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin: .5rem 0 }
.prop-copy>p { max-width: 55ch; color: var(--muted) }
.checks { display: grid; gap: .45rem; margin: 1.2rem 0 }
.checks span { font-size: .9rem }
.checks i { color: var(--red); margin-right: .5rem }

.test-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3rem; align-items: center }
.quote-nav { display: grid; gap: .5rem }
.quote-nav button { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: .8rem; text-align: left; font-size: .82rem; font-weight: 700 }
.quote-nav button.on { background: var(--navy); color: var(--bg) }
.quote-main { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: clamp(2rem, 5vw, 4rem); box-shadow: var(--shadow) }
.stars { color: var(--red); letter-spacing: .15em }
.quote-main blockquote { font-size: clamp(1.25rem, 2.7vw, 2rem); font-weight: 650; line-height: 1.4; margin: 1rem 0 }
.person { display: flex; align-items: center; gap: .75rem }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--apricot); display: grid; place-items: center; font-size: 1.5rem }
.person b { display: block }
.person span { font-size: .8rem; color: var(--muted) }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem }
.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden }
.faq-q { width: 100%; padding: 1.1rem; display: flex; gap: .7rem; align-items: center; text-align: left; border: 0; background: transparent; font-weight: 700 }
.faq-q i { margin-left: auto; transition: .3s }
.faq.open .faq-q i { transform: rotate(45deg); color: var(--red) }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease) }
.faq.open .faq-a { grid-template-rows: 1fr }
.faq-a div { overflow: hidden }
.faq-a p { font-size: .87rem; color: var(--muted); padding: 0 1.1rem 1.1rem; margin: 0 }

.newsletter { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--navy); color: var(--bg); padding: 0 }
.nl-copy, .nl-form { padding: clamp(2rem, 5vw, 4rem) }
.nl-copy { border-right: 1px solid color-mix(in srgb, var(--bg) 20%, transparent) }
.nl-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: .5rem 0 }
.nl-copy p { color: color-mix(in srgb, var(--bg) 75%, transparent) }
.nl-form label, .form label { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; display: block; margin-bottom: .3rem }
.nl-form input, .form input, .form select, .form textarea { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--ink); margin-bottom: .8rem }
.nl-row, .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; margin: .4rem 0 1rem }
.check input { width: 18px; height: 18px; flex: 0 0 auto }
.success { display: none; margin-top: 1rem; background: var(--lime); color: #162434; padding: .8rem; border-radius: 9px; font-weight: 700 }
.success.show { display: block }
.unsub { font-size: .8rem; margin-top: .9rem }
.unsub button, .unsub a { border: 0; background: none; text-decoration: underline; color: inherit; font: inherit; padding: 0; cursor: pointer }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem }
.info { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden }
.info-row { display: flex; gap: .8rem; padding: 1rem; border-bottom: 1px solid var(--line) }
.info-row:last-child { border: 0 }
.info-row .em { font-size: 1.25rem }
.info-row b { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted) }
.info-row p { font-size: .9rem; margin: 0; color: var(--ink) }
.map { min-height: 190px; background: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 30px 30px; display: grid; place-items: center; text-align: center }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem }
.form textarea { min-height: 110px; resize: vertical }
.form .btnx { width: 100% }

.footer { background: #101c28; color: #eaf1f5; padding: 4rem max(1.2rem, calc((100vw - 1160px)/2)) 1.2rem }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem }
.footer p, .footer a { color: #aebcc6; font-size: .86rem }
.footer h3 { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--apricot); margin-bottom: .8rem }
.footer a { display: block; padding: .2rem 0 }
.footer a:hover { color: #fff }
.social { display: flex; gap: .4rem; margin-top: 1rem }
.social a { width: 38px; height: 38px; border: 1px solid #ffffff22; border-radius: 9px; display: grid; place-items: center }
.foot-bottom { border-top: 1px solid #ffffff1f; margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: #8d9ba5 }
.foot-bottom button { border: 0; background: none; color: #aebcc6 }

.legal { padding: .9rem 0; border-bottom: 1px solid var(--line) }
.legal:last-child { border: 0 }
.legal h3 { font-size: .96rem; color: var(--red); margin-bottom: .25rem }
.legal p { font-size: .86rem; color: var(--muted); margin: 0 }

[data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease) }
[data-rv].in { opacity: 1; transform: none }

.top { position: fixed; right: 1rem; bottom: 1rem; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--red); color: #fff; z-index: 1000; opacity: 0; visibility: hidden; transition: .3s }
.top.on { opacity: 1; visibility: visible }

@media(max-width:980px) {
    .hero { grid-template-columns: 1fr }
    .hero-copy { border-right: 0; border-bottom: 1px solid var(--line) }
    .about-grid, .test-layout, .contact-grid { grid-template-columns: 1fr }
    .why-grid { grid-template-columns: 1fr 1fr }
    .prop { grid-template-columns: 1fr }
    .prop-art, .prop:nth-child(even) .prop-art { order: 0; border: 0; border-bottom: 1px solid var(--line); min-height: 300px }
    .newsletter { grid-template-columns: 1fr }
    .nl-copy { border-right: 0; border-bottom: 1px solid #ffffff2a }
    .foot-grid { grid-template-columns: 1fr 1fr }
}

@media(max-width:720px) {
    .navlinks, .navcta { display: none }
    .menu { display: block }
    .trust { grid-template-columns: 1fr 1fr }
    .trust div:nth-child(2) { border-right: 0 }
    .trust div:nth-child(-n+2) { border-bottom: 1px solid var(--line) }
    .dial-wrap { grid-template-columns: 1fr }
    .why-grid, .faq-grid { grid-template-columns: 1fr }
    .values, .nl-row, .form-row { grid-template-columns: 1fr }
    .value { border-right: 0 }
    .value:nth-last-child(2) { border-bottom: 1px solid var(--line) }
    .foot-grid { grid-template-columns: 1fr }
    .svc { grid-template-columns: 56px 1fr }
    .svc-icon { width: 54px; height: 54px }
    .svc>button { grid-column: 2 }
    .quote-nav { grid-template-columns: 1fr 1fr }
}