:root {
    --navy: #091a31;
    --blue: #376cff;
    --ink: #132238;
    --muted: #647389
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    line-height: 1.65
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #79a4ff;
    outline-offset: 3px
}

.wrap {
    width: min(1180px, calc(100% - 44px));
    margin: auto
}

.skip {
    position: absolute;
    left: -9999px;
    background: white;
    padding: 10px;
    z-index: 40
}

.skip:focus {
    left: 8px;
    top: 8px
}

.top {
    background: #071324;
    color: #c8d6e8;
    font-size: 12px
}

.top .wrap {
    display: flex;
    justify-content: space-between;
    padding: 8px 0
}

.top a {
    color: white
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: white;
    border-bottom: 1px solid #e8edf4
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.nav img {
    display: block;
    width: 200px;
    height: auto
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 13px;
    font-weight: 700
}

.nav nav>a:hover:not(.btn) {
    color: var(--blue)
}

#menu {
    display: none;
    background: none;
    border: 0;
    font-size: 28px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: var(--blue);
    color: white;
    border: 1px solid var(--blue);
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s, background .2s
}

.btn:hover {
    transform: translateY(-3px);
    background: #2155e8;
    color: white;
}

.btn.ghost {
    background: transparent;
    border-color: #8b9cb5
}

.btn.light {
    background: white;
    color: #2456dc;
    border-color: white
}

.btn.outline {
    background: transparent;
    color: var(--ink)
}

.hero {
    background: radial-gradient(circle at 77% 40%, #204879 0%, #0c2648 36%, #071426 75%);
    color: white;
    overflow: hidden
}

.hero-grid {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 36px;
    align-items: center;
    padding: 70px 0
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2.2px;
    font-weight: 800;
    color: #91b4ff
}

.eyebrow.blue {
    color: var(--blue)
}

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

h1,
h2 {
    line-height: 1.13;
    letter-spacing: -1.8px
}

h1 {
    font-size: clamp(42px, 5vw, 70px);
    margin: 24px 0
}

h1 em,
.dark h2 em {
    font-style: normal;
    color: #8eb3ff
}

h2 {
    font-size: clamp(34px, 4vw, 54px);
    margin: 16px 0 24px
}

h2 span {
    color: #8190a4
}

h3 {
    line-height: 1.25
}

p {
    color: var(--muted)
}

.hero p {
    color: #c5d2e3;
    max-width: 550px
}

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

.smallprint {
    margin-top: 48px;
    color: #9fb0c8;
    font-size: 11px;
    letter-spacing: 1.6px
}

.hero-art {
    height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}

.ring {
    width: 370px;
    height: 370px;
    border: 1px solid #789aff45;
    border-radius: 50%;
    box-shadow: 0 0 0 55px #6f96ff0b, 0 0 0 105px #6f96ff08;
    position: absolute
}

.art-logo {
    position: relative;
    background: #ffffffed;
    padding: 24px 16px;
    border-radius: 10px;
    box-shadow: 0 20px 65px #0007;
    transform: rotate(-3deg)
}

.art-logo img {
    display: block;
    width: min(370px, 100%);
    height: auto
}

.art-label,
.art-foot {
    position: absolute;
    left: 5%;
    font-weight: 800;
    letter-spacing: 2px;
    color: #c0d5f6;
    font-size: 11px
}

.art-label {
    top: 8px
}

.art-foot {
    bottom: 5px;
    font-size: 15px;
    letter-spacing: 1px
}

.section {
    padding: 100px 0
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start
}

.textlink {
    color: var(--blue);
    font-weight: 800
}

.pale {
    background: #f4f7fb
}

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

.heading>p {
    max-width: 315px
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px
}

.cards article {
    background: white;
    padding: 28px 23px;
    min-height: 325px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e7edf5;
    transition: transform .2s, box-shadow .2s
}

.cards article:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px #1d35571a
}

.cards small {
    color: #9ba8b9;
    font-weight: 800
}

.symbol {
    font-size: 40px;
    color: var(--blue);
    margin: 26px 0 14px
}

.cards h3 {
    font-size: 19px
}

.cards p {
    font-size: 14px
}

.cards a {
    margin-top: auto;
    color: var(--blue);
    font-weight: 800;
    font-size: 12px
}

.dark {
    background: var(--navy);
    color: white
}

.dark h2 {
    font-size: clamp(40px, 5vw, 66px);
    margin: 25px 0 60px
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}

.values>div {
    border-top: 1px solid #3c506a;
    padding-top: 20px
}

.values b {
    color: #83aaff
}

.values h3 {
    margin: 28px 0 10px
}

.values p {
    color: #aebed2
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.steps>div {
    border-top: 2px solid #dbe4ef;
    padding-top: 24px
}

.steps b {
    font-size: 28px;
    color: var(--blue)
}

.steps h3 {
    margin: 30px 0 10px
}

.steps p {
    font-size: 14px
}

.banner {
    background: linear-gradient(110deg, #2458d8, #477bff);
    color: white;
    padding: 58px 0
}

.banner .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.banner h2 {
    margin: 10px 0
}

.banner p {
    color: #e7efff;
    margin: 0
}

.banner .eyebrow {
    color: #d5e4ff
}

.faqs details {
    border-bottom: 1px solid #dce3ed;
    padding: 18px 0
}

.faqs summary {
    cursor: pointer;
    font-weight: 800;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 10px
}

.faqs summary:after {
    content: '+';
    color: var(--blue);
    font-size: 23px
}

.faqs details[open] summary:after {
    content: '−'
}

.faqs p {
    padding-top: 12px;
    font-size: 14px
}

.info {
    margin: 32px 0
}

.info>div {
    border-bottom: 1px solid #dce4ee;
    padding: 13px 0;
    display: flex;
    flex-direction: column
}

.info small {
    font-weight: 800;
    color: #8190a3;
    letter-spacing: 1px
}

.info a {
    font-weight: 700
}

.info a:hover {
    color: var(--blue)
}

.map-card {
    background: white;
    border: 1px solid #e0e7f0;
    box-shadow: 0 20px 50px #152a4810;
    align-self: stretch
}

.map-art {
    height: 300px;
    background: repeating-linear-gradient(35deg, transparent 0 38px, #ffffff17 39px 43px), repeating-linear-gradient(125deg, transparent 0 60px, #ffffff14 61px 65px), linear-gradient(140deg, #18385c, #3971b2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 10px;
    letter-spacing: 3px
}

.map-art span {
    font-size: 90px;
    line-height: 1
}

.map-info {
    padding: 28px
}

.map-info h3 {
    margin-bottom: 8px
}

.map-info a {
    font-weight: 800;
    color: var(--blue)
}

footer {
    background: #081526;
    color: #d2ddea;
    padding: 65px 0 25px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px
}

.footer-grid img {
    background: white;
    padding: 7px;
    border-radius: 4px;
    max-width: 100%;
    height: auto
}

.footer-grid p {
    color: #8fa2bb
}

.footer-grid>div {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px
}

.footer-grid strong {
    color: white;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 12px
}

.footer-grid a {
    font-size: 13px
}

.foot-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #314057;
    margin-top: 55px;
    padding-top: 22px;
    font-size: 12px;
    color: #91a2ba
}

@media(max-width:950px) {

    .cards,
    .steps {
        grid-template-columns: repeat(2, 1fr)
    }

    .hero-grid {
        grid-template-columns: 1fr
    }

    .hero-art {
        height: 280px
    }

    .ring {
        width: 230px;
        height: 230px
    }

    .art-logo img {
        width: 270px
    }

    .two {
        gap: 35px
    }

    .nav nav {
        gap: 12px
    }
}

@media(max-width:700px) {
    .top .wrap {
        gap: 10px;
        font-size: 10px
    }

    .nav {
        min-height: 70px
    }

    .nav img {
        width: 160px
    }

    #menu {
        display: block
    }

    .nav nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 20px 24px;
        box-shadow: 0 18px 30px #0012
    }

    .nav nav.open {
        display: flex
    }

    .hero-grid {
        padding: 65px 0 40px;
        min-height: auto
    }

    .hero-art {
        height: 270px
    }

    .hero-art .art-foot {
        bottom: 0
    }

    .section {
        padding: 70px 0
    }

    .two,
    .values {
        grid-template-columns: 1fr
    }

    .heading,
    .banner .wrap {
        flex-direction: column;
        align-items: start
    }

    .cards,
    .steps {
        grid-template-columns: 1fr
    }

    .cards article {
        min-height: 270px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid>div:first-child {
        grid-column: 1/-1
    }

    .foot-bottom {
        gap: 20px
    }

    .hero h1 {
        font-size: 44px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important
    }
}

/* Multi-page refinement */
html {
    scroll-behavior: smooth
}

body {
    overflow-x: hidden
}

*,
*::before,
*::after {
    box-sizing: border-box
}

img {
    max-width: 100%;
    height: auto
}

a,
button,
input,
textarea {
    touch-action: manipulation
}

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

#links a.active:not(.btn) {
    color: #2466ee;
    font-weight: 800
}

.intro {
    max-width: 760px;
    margin: 0 0 30px;
    color: #536173;
    line-height: 1.8
}

.split {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 36px;
    margin-top: 36px;
    align-items: start
}

.split>div,
.split aside,
.contact-panel {
    background: #f0f5fc;
    padding: 34px;
    border-radius: 20px
}

.split aside {
    background: #0b2444;
    color: #fff
}

.split aside p {
    color: #d6e3f8
}

.split h3,
.contact-panel h3 {
    font-size: 1.5rem;
    margin: 0 0 20px
}

.checks {
    padding-left: 20px;
    line-height: 2.2
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    margin-top: 32px
}

.contact-panel p {
    line-height: 1.9
}

.contact-panel label {
    display: block;
    font-weight: 650;
    margin: 14px 0
}

.contact-panel input,
.contact-panel textarea {
    display: block;
    width: 100%;
    border: 1px solid #cad6e7;
    background: white;
    border-radius: 10px;
    padding: 13px;
    margin-top: 7px;
    color: #12243a;
    font: inherit
}

.contact-panel textarea {
    resize: vertical
}

.contact-panel button {
    border: 0;
    cursor: pointer
}

.footer-grid.revised {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: start
}

.footer-left address {
    font-style: normal;
    line-height: 1.85
}

.footer-left p {
    margin: 12px 0
}

.footer-center {
    text-align: center;
    align-self: center
}

.footer-center span {
    display: block;
    font-size: 11px;
    letter-spacing: .13em;
    margin-bottom: 14px
}

.footer-center a {
    font-weight: 800;
    font-size: 1.1rem
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px
}

.footer-right .btn {
    display: none
}

.footer-right strong {
    margin-bottom: 8px
}

.footer-grid a {
    overflow-wrap: anywhere
}

.footer-right a.active {
    font-weight: 800
}

.footer-grid .footer-left img {
    max-width: 220px
}

.footer-right a:hover,
.footer-center a:hover {
    text-decoration: underline
}

.faqs {
    max-width: 900px
}

.faqs details {
    border-bottom: 1px solid #d8e1ed;
    padding: 18px 4px
}

.faqs summary {
    font-weight: 750;
    cursor: pointer
}

.faqs details p {
    line-height: 1.8;
    color: #526274
}

.cards article {
    min-width: 0
}

.cards a {
    display: inline-block;
    margin-top: 8px
}

.nav #links {
    gap: clamp(8px, 1vw, 17px)
}

.nav #links a {
    font-size: clamp(12px, .92vw, 15px)
}

.nav #links .btn {
    white-space: nowrap
}

.nav .brand {
    flex-shrink: 0
}

.hero h1 {
    overflow-wrap: break-word
}

@media(max-width:1100px) {
    .nav #links {
        gap: 8px
    }

    .nav #links a {
        font-size: 12px
    }

    .nav .brand img {
        width: 170px
    }
}

@media(max-width:900px) {

    .split,
    .contact-layout {
        grid-template-columns: 1fr
    }

    .footer-grid.revised {
        grid-template-columns: 1fr 1fr
    }

    .footer-center {
        order: 3;
        grid-column: 1/-1;
        text-align: left
    }

    .footer-right {
        align-items: flex-end
    }
}

@media(max-width:760px) {
    .footer-grid.revised {
        grid-template-columns: 1fr
    }

    .footer-center {
        grid-column: auto;
        order: 2
    }

    .footer-right {
        order: 3;
        align-items: flex-start
    }

    .footer-left {
        order: 1
    }

    .top-inner {
        gap: 8px
    }

    .top-inner span {
        font-size: 11px
    }

    .contact-panel,
    .split>div,
    .split aside {
        padding: 24px
    }

    .hero h1 {
        font-size: clamp(2.2rem, 9vw, 3.5rem)
    }

    .section {
        padding-block: 65px
    }

    body {
        padding-bottom: 52px
    }

    .mobile-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        display: flex;
        background: #0b2444;
        box-shadow: 0 -5px 22px #0002
    }

    .mobile-cta a {
        flex: 1;
        text-align: center;
        color: #fff;
        text-decoration: none;
        padding: 15px 8px;
        font-weight: 800
    }

    .mobile-cta a+a {
        background: #376bff
    }
}

@media(min-width:761px) {
    .mobile-cta {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }
}

/* Approval-stage creative polish */
.foot-bottom {
    display: grid;
    grid-template-columns: 1fr 1.25fr .65fr;
    align-items: center;
    gap: 20px
}

.foot-bottom .credit {
    text-align: center
}

.foot-bottom>span:last-child {
    text-align: right
}

.foot-bottom .credit a {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: #4d80ff;
    text-underline-offset: 4px
}

.footer-grid.revised {
    grid-template-columns: 1fr 1fr
}

.footer-grid.revised .footer-right {
    align-items: flex-end
}

.directory-hero {
    background: radial-gradient(circle at 85% 15%, #28558b, #071729 65%);
    color: #fff;
    padding: 100px 0
}

.directory-hero h1 {
    font-size: clamp(42px, 7vw, 85px);
    max-width: 850px;
    margin: 20px 0
}

.directory-hero em {
    font-style: normal;
    color: #94b8ff
}

.directory-hero p {
    color: #d4e2f3;
    font-size: 18px;
    max-width: 630px
}

.directory-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px
}

.directory-toolbar h2 {
    margin: 0
}

.directory-toolbar label {
    font-size: 12px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.directory-toolbar input {
    min-width: 300px;
    border: 1px solid #c4d3e7;
    padding: 15px;
    border-radius: 9px;
    font: inherit;
    background: #fff
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0
}

.filter {
    border: 1px solid #d1dceb;
    background: #fff;
    border-radius: 99px;
    padding: 12px 15px;
    font-size: 12px;
    font-weight: 800;
    color: #1d3554;
    cursor: pointer
}

.filter:hover,
.filter.active {
    background: #245de4;
    border-color: #245de4;
    color: #fff
}

.results-count {
    font-size: 13px
}

.service-directory {
    display: grid;
    gap: 25px
}

.service-group {
    padding: 28px;
    background: #fff;
    border: 1px solid #e2e9f3;
    border-radius: 14px
}

.service-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #e4eaf4;
    margin-bottom: 15px
}

.service-group-head h3 {
    font-size: 24px
}

.service-group-head span {
    font-size: 11px;
    letter-spacing: 1px;
    color: #7087a4;
    font-weight: 800
}

.service-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px
}

.service-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
    background: #f3f7fd;
    border-radius: 7px;
    color: #1c3658;
    font-weight: 700;
    font-size: 14px
}

.service-row span:last-child {
    color: #2b64eb
}

.service-row:hover {
    background: #e1edff;
    transform: translateX(3px)
}

.service-row[hidden],
.service-group[hidden] {
    display: none !important
}

.service-caveat {
    font-size: 12px;
    margin-top: 30px
}

.photo-placeholder {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 9px;
    padding: 28px;
    border-radius: 15px;
    color: #fff;
    background: radial-gradient(ellipse at 85% 10%, #5b89c3, transparent 48%), repeating-linear-gradient(135deg, #ffffff0c 0 1px, transparent 1px 30px), linear-gradient(130deg, #122c4c, #081728);
    border: 1px solid #557aa477
}

.photo-placeholder small {
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #a9cbff
}

.photo-placeholder strong {
    font-size: clamp(18px, 2vw, 28px);
    max-width: 390px
}

.photo-placeholder span {
    font-size: 12px;
    color: #d0dff1
}

.hero-photo {
    height: 410px;
    transform: rotate(-3deg);
    box-shadow: 0 30px 70px #0008
}

.hero-art .ring {
    z-index: 0;
    pointer-events: none
}

.hero-art .hero-photo {
    z-index: 1;
    position: relative
}

.hero-art .art-label,
.hero-art .art-foot {
    display: none
}

.interior-photo {
    margin-top: 25px;
    margin-bottom: 35px
}

.service-teaser {
    background: #eaf1ff;
    padding: 22px 0
}

.service-teaser a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #1944a6;
    font-weight: 800
}

.service-teaser a:hover {
    color: #3974ff
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #3974ff;
    outline-offset: 3px
}

@media(max-width:900px) {
    .foot-bottom {
        grid-template-columns: 1fr
    }

    .foot-bottom .credit,
    .foot-bottom>span:last-child {
        text-align: left
    }

    .directory-toolbar {
        flex-direction: column;
        align-items: stretch
    }

    .directory-toolbar input {
        width: 100%;
        min-width: 0
    }
}

@media(max-width:650px) {
    .service-rows {
        grid-template-columns: 1fr
    }

    .service-group {
        padding: 16px
    }

    .service-group-head h3 {
        font-size: 19px
    }

    .directory-hero {
        padding: 70px 0
    }

    .directory-hero h1 {
        font-size: 43px
    }

    .directory-hero p {
        font-size: 16px
    }

    .footer-grid.revised {
        grid-template-columns: 1fr
    }

    .footer-grid.revised .footer-right {
        align-items: flex-start
    }

    .hero-photo {
        height: 255px;
        transform: none
    }
}

@media(prefers-reduced-motion:reduce) {
    .hero-photo {
        transform: none
    }
}

/* SMS estimate dialog */
.estimate-modal {
    width: min(92vw, 650px);
    max-height: min(90dvh, 850px);
    padding: 0;
    border: 1px solid #b9cce5;
    border-radius: 22px;
    color: #13233b;
    background: #fff;
    box-shadow: 0 35px 110px #03132c88;
    overflow: auto
}

.estimate-modal::backdrop {
    background: rgba(3, 15, 34, .75);
    backdrop-filter: blur(6px)
}

.estimate-modal-inner {
    padding: clamp(20px, 4vw, 38px);
    position: relative
}

.estimate-modal h2 {
    font-size: clamp(27px, 4vw, 39px);
    color: #0c1f3b;
    margin: 12px 35px 10px 0
}

.estimate-modal h3 {
    color: #0c1f3b
}

.estimate-lead {
    line-height: 1.55;
    color: #48566a
}

.estimate-close {
    position: absolute;
    right: 16px;
    top: 14px;
    border: 0;
    background: #edf3fb;
    color: #132b50;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer
}

.estimate-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.estimate-modal label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px
}

.estimate-modal input,
.estimate-modal select,
.estimate-modal textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #aebed1;
    border-radius: 9px;
    background: white;
    color: #162b46;
    padding: 12px;
    font: inherit;
    font-weight: 400
}

.estimate-modal input:focus-visible,
.estimate-modal select:focus-visible,
.estimate-modal textarea:focus-visible {
    outline: 3px solid #497dff;
    outline-offset: 2px
}

.estimate-submit {
    width: 100%;
    cursor: pointer
}

.estimate-note {
    font-size: 12px;
    color: #536276;
    line-height: 1.5
}

.estimate-next {
    padding: 20px;
    border: 1px solid #b9d1f6;
    border-radius: 14px;
    background: #edf5ff
}

.estimate-next-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.estimate-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 25px 0
}

.foot-bottom .credit {
    display: inline-block;
    margin: 0 12px
}

.foot-bottom .credit a {
    text-decoration: underline
}

@media(max-width:650px) {

    .estimate-fields,
    .estimate-step-grid {
        grid-template-columns: 1fr
    }

    .estimate-modal {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 14px
    }

    .estimate-modal-inner {
        padding: 20px
    }

    .estimate-modal label {
        margin-bottom: 9px
    }
}

/* Refined copyright bar: brand left, developer attribution right */
.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px 36px;
    flex-wrap: wrap
}

.foot-bottom .copyright-left {
    flex: 1 1 300px;
    text-align: left
}

.foot-bottom .copyright-right {
    flex: 0 1 auto;
    text-align: right
}

.foot-bottom .copyright-right a {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: #4d80ff;
    text-underline-offset: 4px
}

.foot-bottom .copyright-right a:hover {
    color: #9dc0ff
}

@media(max-width:700px) {
    .foot-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .foot-bottom .copyright-left,
    .foot-bottom .copyright-right {
        flex: auto;
        text-align: left
    }
}


/* PROCRAFT final responsive layout and interaction refinement */
:root {
    --blue: #3268ee;
    --navy: #091a31;
    --ink: #132238;
    --muted: #5e7088
}

html {
    scroll-padding-top: 104px
}

body {
    min-width: 320px;
    background: #fff
}

main {
    min-height: 52vh
}

main>section {
    position: relative
}

p {
    overflow-wrap: break-word
}

h1,
h2,
h3 {
    overflow-wrap: break-word;
    text-wrap: balance
}

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

button {
    cursor: pointer
}

.wrap {
    width: min(1200px, calc(100% - clamp(32px, 6vw, 88px)))
}

.nav {
    min-height: 76px
}

.nav img {
    width: clamp(148px, 15vw, 190px)
}

.nav nav {
    gap: clamp(9px, 1.2vw, 21px);
    flex-wrap: wrap;
    justify-content: flex-end
}

.nav nav>a {
    white-space: nowrap
}

.nav nav .btn {
    padding: 12px 15px
}

.hero-grid {
    min-height: 540px;
    gap: clamp(24px, 4vw, 64px);
    padding-block: clamp(56px, 6vw, 85px)
}

.hero-art {
    min-width: 0
}

.hero-photo {
    width: 100%;
    max-width: 530px;
    min-height: 340px;
    transform: rotate(-1.5deg)
}

.hero h1 {
    max-width: 770px
}

.section {
    padding-block: clamp(56px, 7vw, 92px)
}

.two {
    gap: clamp(28px, 5vw, 70px);
    align-items: center
}

.two>*,
.split>*,
.contact-layout>*,
.footer-grid>* {
    min-width: 0
}

.heading {
    margin-bottom: 30px
}

.heading h2 {
    margin-bottom: 0
}

.cards {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.cards article {
    min-height: 285px;
    border-radius: 15px;
    padding: clamp(20px, 2vw, 27px);
    box-shadow: 0 8px 28px #142d4a0a
}

.cards article:hover {
    box-shadow: 0 20px 45px #142d4a20
}

.cards .symbol {
    margin: 15px 0 12px
}

.steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px
}

.steps>div {
    padding: 22px;
    background: #f4f7fc;
    border: 1px solid #e2e9f3;
    border-top: 3px solid #376cff;
    border-radius: 12px;
    min-height: 205px
}

.steps h3 {
    margin: 16px 0 9px
}

.steps p {
    margin: 0
}

.values {
    gap: 24px
}

.values>div {
    padding: 24px;
    background: #ffffff0a;
    border: 1px solid #ffffff1a;
    border-radius: 14px
}

.values h3 {
    margin: 18px 0 10px
}

.banner .wrap {
    min-height: 150px
}

.map-card {
    border-radius: 16px;
    overflow: hidden
}

.map-art {
    height: 260px
}

.footer-grid.revised {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 30px
}

.footer-grid .footer-right {
    align-items: flex-end
}

.foot-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: center
}

.copyright-right {
    text-align: right
}

.copyright-right a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px
}

.footer-left address {
    overflow-wrap: anywhere
}

.service-row {
    align-items: center;
    transition: background .2s, transform .2s
}

.service-row:hover {
    transform: translateY(-2px)
}

.service-group {
    box-shadow: 0 9px 28px #0b2a5010
}

.photo-placeholder {
    overflow: hidden
}

.split {
    align-items: stretch
}

.split>div,
.split aside {
    min-width: 0
}

.directory-toolbar {
    gap: 12px
}

.estimate-modal {
    max-width: calc(100vw - 20px)
}

@media(max-width:1100px) {
    .nav nav {
        gap: 9px;
        font-size: 12px
    }

    .nav nav .btn {
        padding: 10px
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .cards article {
        min-height: 245px
    }

    .hero-grid {
        grid-template-columns: 1.1fr .9fr
    }

    .hero-photo {
        min-height: 290px
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:850px) {
    .nav {
        min-height: 70px
    }

    .nav img {
        width: 164px
    }

    #menu {
        display: block;
        flex: none;
        min-width: 44px;
        min-height: 44px
    }

    .nav nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 16px clamp(20px, 5vw, 44px) 24px;
        box-shadow: 0 16px 30px #081a3026;
        max-height: calc(100dvh - 70px);
        overflow: auto;
        gap: 0
    }

    .nav nav.open {
        display: flex
    }

    .nav nav>a {
        padding: 12px 8px;
        border-bottom: 1px solid #e9eef5;
        font-size: 14px
    }

    .nav nav .btn {
        margin-top: 10px;
        padding: 14px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 25px
    }

    .hero-art {
        height: auto;
        min-height: 260px
    }

    .hero-photo {
        height: 300px;
        min-height: 260px;
        max-width: none;
        transform: none
    }

    .ring {
        display: none
    }

    .two,
    .split,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 26px
    }

    .two>div>h2 {
        margin-bottom: 14px
    }

    .heading {
        align-items: start;
        flex-direction: column;
        gap: 12px
    }

    .heading>p {
        max-width: 680px
    }

    .values {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px
    }

    .values>div {
        padding: 18px
    }

    .footer-grid.revised {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    .wrap {
        width: calc(100% - 36px)
    }

    .top .wrap {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 3px 15px
    }

    .hero-grid {
        padding-block: 48px 35px
    }

    .hero h1 {
        font-size: clamp(38px, 10vw, 52px);
        letter-spacing: -1.5px;
        margin: 16px 0
    }

    .hero-art {
        min-height: 235px
    }

    .hero-photo {
        height: 240px;
        min-height: 235px;
        padding: 22px
    }

    .smallprint {
        margin-top: 24px
    }

    .actions {
        gap: 10px
    }

    .actions .btn {
        flex: 1 1 190px;
        text-align: center
    }

    .section {
        padding-block: 56px
    }

    .section h2 {
        font-size: clamp(31px, 9vw, 42px);
        letter-spacing: -1px
    }

    .cards,
    .steps,
    .values,
    .service-rows {
        grid-template-columns: 1fr
    }

    .cards article,
    .steps>div {
        min-height: 0
    }

    .cards article {
        padding: 23px
    }

    .cards .symbol {
        margin: 9px 0
    }

    .steps>div {
        padding: 20px
    }

    .steps h3 {
        margin: 9px 0
    }

    .values>div {
        padding: 18px
    }

    .values h3 {
        margin: 8px 0
    }

    .banner {
        padding: 38px 0
    }

    .banner .wrap {
        align-items: stretch
    }

    .banner .btn {
        width: 100%
    }

    .footer-grid.revised {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .footer-grid .footer-right {
        align-items: flex-start
    }

    .foot-bottom {
        grid-template-columns: 1fr;
        text-align: left;
        margin-top: 34px
    }

    .copyright-right {
        text-align: left
    }

    .footer-grid img {
        max-width: 180px
    }

    .service-group {
        padding: 18px
    }

    .service-group-head {
        align-items: start;
        flex-direction: column;
        gap: 0
    }

    .service-row {
        padding: 14px
    }

    .map-art {
        height: 210px
    }

    .contact-panel,
    .split>div,
    .split aside {
        padding: 22px
    }

    .estimate-modal-inner {
        padding: 24px 18px
    }

    .estimate-modal {
        max-height: 94dvh
    }

    .estimate-fields {
        grid-template-columns: 1fr
    }
}

@media(max-width:370px) {
    .wrap {
        width: calc(100% - 28px)
    }

    .hero h1 {
        font-size: 36px
    }

    .nav img {
        width: 140px
    }

    .service-row {
        font-size: 12px
    }

    .footer-grid a {
        font-size: 12px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

/* Final editorial layout refinements */
html {
    overflow-x: clip
}

body {
    overflow-wrap: break-word
}

h1,
h2,
h3 {
    text-wrap: balance;
    overflow-wrap: break-word
}

p,
li {
    text-wrap: pretty
}

main p {
    max-width: 74ch
}

.wrap {
    width: min(calc(100% - 36px), 1200px)
}

.phone-prompt {
    font-size: .8rem;
    opacity: .85;
    margin-left: 12px
}

.directory-hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(290px, .9fr);
    gap: clamp(20px, 5vw, 65px);
    align-items: center
}

.service-art {
    min-height: 290px;
    border-radius: 24px;
    background: radial-gradient(circle at 80% 20%, #237bc6, transparent 40%), linear-gradient(130deg, #071a32, #154877);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
}

.service-art strong {
    font-size: clamp(5rem, 11vw, 10rem);
    line-height: .9;
    letter-spacing: -.09em;
    color: #fff
}

.service-art strong span {
    font-size: .3em;
    vertical-align: top
}

.service-art p {
    font-size: 1.25rem;
    color: #fff;
    max-width: 22ch
}

.service-art small {
    color: #c9e2fa;
    letter-spacing: .12em
}

.directory-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1.35fr) !important;
    gap: 24px;
    align-items: end
}

.directory-toolbar label,
.directory-toolbar input {
    width: 100% !important;
    max-width: none !important
}

.directory-toolbar input {
    min-height: 56px
}

.new-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px
}

.new-cards article {
    padding: clamp(22px, 3vw, 34px);
    border-radius: 20px;
    background: #fff;
    border: 1px solid #dce6f0;
    min-width: 0
}

.new-cards h3 {
    margin-top: 0
}

.new-cards a {
    font-weight: 700
}

.design-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, .3fr);
    gap: 25px;
    align-items: center;
    background: linear-gradient(115deg, #091d36, #17538a);
    color: #fff;
    border-radius: 24px;
    padding: clamp(24px, 4vw, 45px);
    margin-top: 26px
}

.design-band p {
    color: #d7e8f8
}

.design-band b {
    font-size: clamp(4rem, 9vw, 8rem);
    text-align: center;
    color: #9cd6ff
}

.map-grid {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: 22px;
    align-items: stretch;
    margin-top: 26px
}

.map-info {
    padding: clamp(24px, 3vw, 36px);
    background: #fff;
    border-radius: 20px
}

.map-embed {
    min-height: 380px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #dbe6f1
}

.map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0
}

.map-embed>a {
    position: absolute;
    left: 15px;
    bottom: 15px;
    background: #fff;
    color: #153c61;
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 700;
    box-shadow: 0 3px 15px #0002
}

.insurer-title {
    margin-top: 42px
}

.insurer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px
}

.insurer-grid span {
    padding: 16px 8px;
    background: white;
    border: 1px solid #dce6f0;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    color: #19436a
}

.fineprint {
    font-size: .85rem;
    color: #576a7d;
    margin-top: 16px
}

.service-row {
    min-width: 0
}

@media(max-width:850px) {

    .directory-hero .wrap,
    .map-grid,
    .design-band {
        grid-template-columns: 1fr
    }

    .directory-toolbar {
        grid-template-columns: 1fr !important
    }

    .insurer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:600px) {
    .wrap {
        width: min(calc(100% - 28px), 1200px)
    }

    .new-cards {
        grid-template-columns: 1fr
    }

    .service-art {
        min-height: 230px;
        padding: 24px
    }

    .map-embed {
        min-height: 320px
    }

    .design-band b {
        display: none
    }

    .phone-prompt {
        display: none
    }

    .insurer-grid span {
        font-size: .83rem
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }
}

/* Device-local estimate history */
.estimate-history-section {
    background: #f4f7fb
}

.history-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 22px;
    flex-wrap: wrap
}

.history-heading>div {
    max-width: 740px
}

.history-heading h2 {
    margin-bottom: 14px
}

.history-disclaimer {
    font-size: .87rem;
    max-width: 850px !important;
    color: #516780
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px
}

.history-card {
    min-width: 0;
    background: white;
    border: 1px solid #dce6f1;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 32px #102e4b0b
}

.history-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: .8rem;
    color: #63758a
}

.history-status {
    padding: 5px 10px;
    border-radius: 30px;
    background: #e7f0ff;
    color: #2055b2;
    font-weight: 800
}

.history-card h3 {
    font-size: 1.35rem;
    margin: 18px 0 4px
}

.history-service {
    font-weight: 700;
    color: #2357ad
}

.history-description {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere
}

.history-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 22px
}

.history-card-actions .btn {
    padding: 10px 13px;
    font-size: .78rem
}

.history-delete {
    border: 0;
    background: none;
    color: #b3273b;
    text-decoration: underline;
    font-weight: 700;
    padding: 10px;
    cursor: pointer
}

.history-empty {
    padding: 42px 24px;
    text-align: center;
    background: white;
    border: 1px dashed #b7c9e1;
    border-radius: 18px;
    margin-top: 24px
}

.history-empty[hidden],
#history-clear[hidden] {
    display: none
}

.history-details-dialog {
    width: min(580px, calc(100vw - 24px));
    max-height: 90dvh;
    overflow: auto;
    border: 0;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 28px 80px #07142655
}

.history-details-dialog::backdrop {
    background: #081a30aa
}

.history-details-inner {
    position: relative;
    padding: 32px
}

.history-details-inner h2 {
    font-size: clamp(26px, 4vw, 38px)
}

#history-details-data {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 13px;
    border-top: 1px solid #e2eaf2;
    padding-top: 18px
}

#history-details-data dt {
    font-weight: 800;
    color: #667990
}

#history-details-data dd {
    margin: 0;
    overflow-wrap: anywhere
}

.history-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px
}

@media(max-width:720px) {
    .history-grid {
        grid-template-columns: 1fr
    }

    .history-card {
        padding: 19px
    }

    .history-heading {
        align-items: start
    }

    .history-details-inner {
        padding: 25px 18px
    }

    #history-details-data {
        grid-template-columns: 90px minmax(0, 1fr)
    }
}

/* Final-review photography slots. Replace assets/photos/*.webp in place. */
.photo-asset {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit
}

.interior-photo .photo-asset {
    width: 100%;
    height: clamp(230px, 36vw, 490px);
    object-fit: cover;
    border-radius: 22px
}

.hero-photo.photo-asset,
.hero-art>.photo-asset {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

@media(max-width:640px) {
    .interior-photo .photo-asset {
        height: clamp(220px, 60vw, 330px)
    }
}