/*
Theme Name: Wall to Wall Construction and Paint
Author: ATX Stargate Marketing Solutions
Description: Residential bathroom remodeling, painting and drywall services.
Version: 1.0.13
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: kols-build-paint
*/
:root {
    --ink: #16222a;
    --quiet: #53616a;
    --gold: #e5b722;
    --gold-ink: #755600;
    --gold-hover: #f4cc51;
    --warm: #f7f3ec;
    --line: #dedbd5;
    --white: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .4em; font-weight: 800; line-height: 1.05; letter-spacing: -.047em; }
h1 { font-size: clamp(2.9rem, 6.8vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.28rem, 2vw, 1.62rem); letter-spacing: -.032em; }
:focus-visible { outline: 3px solid #208ce8; outline-offset: 4px; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 20; top: 10px; left: 10px; background: white; padding: .6rem; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-size: 1.18rem; font-weight: 850; letter-spacing: -.05em; line-height: 1.1; }
.brand-name { max-width: 19ch; text-wrap: balance; overflow-wrap: anywhere; }
.brand-mark { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; font-size: 2rem; font-weight: 950; color: var(--gold); background: #151618; border-radius: 4px; }
.custom-logo { width: auto; max-width: 200px; max-height: 58px; object-fit: contain; }
#main-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.55vw, 2.4rem); list-style: none; padding: 0; margin: 0; }
#main-nav a { text-decoration: none; font-size: .94rem; font-weight: 650; }
#main-nav a:hover, #main-nav .current-menu-item a { color: var(--gold-ink); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: .45rem .6rem; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .68rem; border: 1px solid transparent; border-radius: 4px; background: var(--gold); color: #151618; padding: .74rem 1rem; font-size: .95rem; line-height: 1.35; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--gold-hover); }
.button:disabled, fieldset:disabled .button { opacity: .68; cursor: default; }
.hero { position: relative; isolation: isolate; min-height: 615px; display: grid; align-items: center; overflow: hidden; background: #26343d; color: white; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-photo { object-fit: cover; object-position: center 55%; }
.hero::after { content: ""; background: linear-gradient(90deg, #101a22f5 0%, #14202bcc 37%, #17222e18 100%); }
.hero-content { padding-block: 4.5rem; }
.eyebrow { margin-bottom: 1.05rem; color: #fff1e3; font-size: .8rem; font-weight: 800; letter-spacing: .125em; text-transform: uppercase; }
.hero h1 { max-width: 16ch; }
.hero em { color: var(--gold-hover); font-style: normal; }
.hero-desc { max-width: 33ch; font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.7rem; }
.outline { background: #14202b50; color: white; border-color: #ffffffb0; }
.outline:hover { background: #14202b; color: white; }
.section-head { max-width: 45rem; margin-bottom: 2rem; }
.section-head p, .card p, .split-copy p, .steps p, .faq p { color: var(--quiet); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.card img, .examples img { width: 100%; aspect-ratio: 1.64; object-fit: cover; }
.card-content { flex: 1; display: flex; flex-direction: column; padding: 1.3rem; }
.card-content .text-link { align-self: flex-start; margin-top: auto; }
.text-link { color: var(--gold-ink); font-weight: 750; text-underline-offset: .2em; }
.about, .process { background: var(--warm); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.photo img { width: 100%; border-radius: 6px; aspect-ratio: 1.28; object-fit: cover; }
.split-copy .button { margin-top: .35rem; }
.detail h1 { margin-top: .4em; font-size: clamp(2.65rem, 5.4vw, 5rem); }
.detail ul { padding-left: 1.25rem; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { border-top: 1px solid #bcb6ab; padding-top: 1rem; counter-increment: step; }
.steps li::before { content: '0' counter(step); display: block; margin-bottom: .8rem; font-weight: 800; color: var(--gold-ink); }
figure { margin: 0; }
.examples img { border-radius: 5px; }
figcaption { font-weight: 700; margin-top: .65rem; }
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; padding-top: 0; }
details { border-top: 1px solid var(--line); padding: .9rem 0; }
summary { font-weight: 750; cursor: pointer; }
details p { margin: .6rem 0 0; }
.quote { background: var(--ink); color: white; }
.quote-grid { display: grid; grid-template-columns: .85fr 1.35fr; gap: clamp(1.7rem, 5.5vw, 5rem); }
.quote-copy p { max-width: 33ch; color: #e0e7ea; }
form { min-width: 0; }
.quote form { background: white; padding: clamp(1rem, 3vw, 1.85rem); border-radius: 6px; color: var(--ink); }
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-bottom: 1rem; }
.form-grid label { display: grid; gap: .26rem; font-size: .91rem; font-weight: 700; }
.form-grid :is(input, select, textarea) { width: 100%; min-height: 44px; background: #faf9f6; border: 1px solid #aaa9a5; color: var(--ink); border-radius: 4px; padding: .55rem; }
.full { grid-column: 1/-1; }
.form-status { margin: .65rem 0 0; font-size: .92rem; }
.form-status:empty { margin: 0; }
.site-footer { background: #f2f4f7; color: #0f2138; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.4rem; padding-block: 2rem; }
.site-footer p { margin: .35rem 0; color: #415267; }
.site-footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.footnote { grid-column: 1/-1; font-size: .83rem; }
.entry { max-width: 800px; overflow-wrap: anywhere; }
.entry article { margin-bottom: 2rem; }
[id] { scroll-margin-top: 110px; }
@media (max-width: 900px) {
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .header-inner { flex-wrap: wrap; padding-block: .7rem; min-height: 68px; }
    .has-js .menu-toggle { display: inline-flex; margin-left: auto; }
    #main-nav { order: 3; width: 100%; }
    #main-nav ul { flex-wrap: wrap; }
    .has-js #main-nav:not(.is-open) { display: none; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) {
    .admin-bar .site-header { top: 0; }
    .wrap { width: calc(100% - 2rem); }
    .brand { font-size: 1rem; gap: .42rem; }
    .brand-mark { flex-basis: 34px; width: 34px; height: 34px; font-size: 1.65rem; }
    .custom-logo { max-width: 125px; }
    .header-inner { gap: .45rem; }
    .header-quote { font-size: .77rem; padding: .54rem .55rem; }
    .header-quote span { display: none; }
    .menu-toggle { font-size: .83rem; }
    .hero { min-height: 510px; }
    .hero-photo { object-position: 57% center; }
    .hero::after { background: linear-gradient(90deg, #101a22ef, #14202b85); }
    .hero-desc { font-size: 1.05rem; }
    .cards, .split, .steps, .quote-grid, .faq, .footer-inner { grid-template-columns: 1fr; }
    .split .photo { order: 1; }
    .form-grid { grid-template-columns: 1fr; }
}

.contact-strip { background: #151618; color: white; font-size: .86rem; }
.contact-strip .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; padding-block: .4rem; }
.contact-strip a { text-decoration: none; }
.contact-strip a:hover { text-decoration: underline; }
.strip-phone { font-weight: 750; white-space: nowrap; }
.contact-strip.phone-only .wrap { justify-content: center; }
.footer-phone { font-weight: 750; text-underline-offset: 3px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0 0 1.15rem; list-style: none; }
.hero-trust li { border: 1px solid #f4cc5180; background: #151618c9; color: #f4cc51; border-radius: 4px; padding: .28rem .6rem; font-size: .84rem; font-weight: 750; }
.about-credentials { font-weight: 750; }
.owner-portrait img { width: auto; max-height: 34rem; aspect-ratio: auto; object-fit: contain; margin-inline: auto; }
.coverage { background: var(--warm); }
.coverage-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; }
.coverage-inner p:last-child { margin-bottom: 0; }
.owner-contact { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid #ffffff38; }
.owner-contact strong { color: var(--gold-hover); }
.owner-contact a { font-weight: 750; overflow-wrap: anywhere; }
.form-privacy { margin: 0 0 .85rem; color: #46515a; font-size: .86rem; }
.mobile-actions { display: none; }
@media (max-width: 600px) {
    body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
    .mobile-actions { position: fixed; inset: auto 0 0; z-index: 4; display: grid; grid-template-columns: 1fr; padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom)); gap: .5rem; background: #151618; }
    .mobile-actions.has-phone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mobile-actions .button { min-height: 44px; padding: .55rem .4rem; font-size: .86rem; text-align: center; }
    .mobile-actions .mobile-call { background: transparent; border-color: #ffffff80; color: white; }
}

.wall-logo { width: clamp(150px, 18vw, 215px); height: auto; border-radius: 4px; }
.service-offer { padding: .6rem .8rem; background: #fff6d7; border-left: 3px solid var(--gold); font-weight: 750; }
.gallery-album { margin-bottom: 2rem; }
.gallery-album h3 { margin-bottom: 1rem; }
.payment-form { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(1rem, 3vw, 2rem); }
.payment-form .form-status:empty { display: none; }
@media (max-width: 600px) {
    .wall-logo { width: 145px; }
}

.paint-price { padding-block: .9rem; background: #fff6d7; border-bottom: 1px solid #efdda6; }
.paint-price p { margin: 0; }
.paint-price strong { margin-right: .5rem; }
.area-links { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.area-links a { display: inline-flex; padding: .6rem .85rem; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-weight: 740; text-underline-offset: 3px; }
.render-showcase { background: var(--warm); }
.site-footer .wall-logo { border-radius: 0; }
.header-actions { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.header-call { background: transparent; border-color: var(--line); color: var(--ink); white-space: nowrap; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 8px; }
.gallery-slide { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; background: #101a22; }
.gallery-slide img { width: 100%; height: clamp(320px, 47vw, 565px); object-fit: cover; opacity: .9; }
.gallery-track.is-rotating { display: grid; overflow: hidden; scroll-snap-type: none; touch-action: pan-y pinch-zoom; }
.gallery-track.is-rotating .gallery-slide { grid-area: 1 / 1; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.gallery-track.is-rotating .gallery-slide.is-current { opacity: 1; pointer-events: auto; z-index: 1; }
.gallery-slide-caption { position: absolute; inset: auto 0 0; padding: 3rem clamp(1rem, 5vw, 3rem) 1.2rem; color: white; background: linear-gradient(transparent, #101a22 70%); }
.gallery-slide-caption p { margin: 0 0 .35rem; color: #ffe49b; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.gallery-controls:not([hidden]) { display: flex; gap: .75rem; align-items: center; }
.gallery-controls button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); cursor: pointer; }
.gallery-controls button:disabled { opacity: .45; cursor: default; }
@media (max-width: 1120px) { .header-call { display: none; } }
@media (min-width: 1121px) {
    .contact-strip.phone-only, .strip-phone { display: none; }
}
@media (max-width: 600px) {
    .gallery-slide-caption { padding: 2.5rem 1rem 1rem; }
    .gallery-controls:not([hidden]) { gap: .4rem; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .gallery-track.is-rotating .gallery-slide { transition: none; } }
