/* WJ&WJ Enterprise homepage */

:root {
    --blue: #075caf;
    --blue-bright: #1688f0;
    --blue-dark: #06233d;
    --orange: #f5a623;
    --white: #ffffff;
    --text: #111827;
    --muted: #4b5563;
    --light: #f5f7fb;
    --border: #d9e2ec;
    --footer: #17191b;
    --max: 1220px;
    --shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
    background: var(--white);
}

a {
    color: inherit;
}

.container {
    width: min(var(--max), calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 99;
    background: var(--blue);
    color: var(--white);
    padding: .75rem 1rem;
    border-radius: .5rem;
}

.skip-link:focus {
    top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.header-inner {
    min-height: 64px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

.logo {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-main {
    color: var(--blue);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.08em;
}

.logo-sub {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 900;
    display: flex;
    gap: .4rem;
    align-items: center;
}

.logo-sub span,
.footer-sub span {
    display: inline-block;
    width: 48px;
    height: 3px;
    background: var(--blue);
}

.main-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.2rem);
}

.main-nav a {
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 1.05rem 0 .75rem;
    border-bottom: 4px solid transparent;
}

.main-nav a:hover,
.main-nav .active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.call-top {
    display: inline-flex;
    gap: .65rem;
    align-items: center;
    text-decoration: none;
    font-weight: 900;
}

.phone-circle {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: var(--white);
    font-size: 1.2rem;
}

.call-top small {
    display: block;
    color: var(--blue);
    font-size: .78rem;
    line-height: 1;
}

.call-top strong {
    display: block;
    font-size: 1.3rem;
    line-height: 1.1;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: .5rem;
    cursor: pointer;
}

.menu-toggle span[aria-hidden="true"],
.menu-toggle span[aria-hidden="true"]::before,
.menu-toggle span[aria-hidden="true"]::after {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 10px;
    background: var(--blue-dark);
    content: "";
}

.menu-toggle span[aria-hidden="true"] {
    position: relative;
}

.menu-toggle span[aria-hidden="true"]::before,
.menu-toggle span[aria-hidden="true"]::after {
    position: absolute;
    left: 0;
}

.menu-toggle span[aria-hidden="true"]::before {
    top: -8px;
}

.menu-toggle span[aria-hidden="true"]::after {
    bottom: -8px;
}

/* Hero */

.hero {
    height: 430px;
    min-height: 430px;
    background-image:
      linear-gradient(90deg,
            rgba(2, 25, 47, .94) 0%,
            rgba(3, 34, 61, .76) 24%,
            rgba(3, 34, 61, .20) 42%,
            rgba(3, 34, 61, 0) 58%
        ),

      
        url("../images/hero-bg3.png?v=2");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--white);
}

.hero-overlay {
    height: 100%;
}

.hero-inner {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 630px;
    padding: 2rem 0;
}

.eyebrow {
    margin: 0 0 1.1rem;
    text-transform: uppercase;
    font-size: .95rem;
    font-weight: 900;
    letter-spacing: .035em;
}

.eyebrow::after {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    margin-top: .6rem;
    background: var(--orange);
}

.hero h1 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: .96;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.hero h1 span {
    display: block;
    color: var(--blue-bright);
}

.hero p:not(.eyebrow) {
    max-width: 500px;
    margin: 1.2rem 0 1.45rem;
    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .55rem;
    min-height: 54px;
    padding: .85rem 1.55rem;
    border-radius: .45rem;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: #064f96;
}

.btn-outline {
    border-color: rgba(255, 255, 255, .82);
    color: var(--white);
    background: rgba(0, 0, 0, .08);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .12);
}

/* Services */

.services {
    padding: 3rem 0 3rem;
    margin-top: 0;
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.65rem;
}

.service-card {
    min-height: 145px;
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.35rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.icon {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    background: var(--blue);
    display: grid;
    place-items: center;
    color: var(--white);
}

.icon::before {
    font-size: 2rem;
    font-weight: 900;
}

.icon-gutter::before {
    content: "▱";
}

.icon-electric::before {
    content: "⚡";
}

.icon-plumbing::before {
    content: "♨";
}

.icon-hvac::before {
    content: "❄";
}

.service-card h3 {
    margin: .15rem 0 .65rem;
    font-size: 1.35rem;
    line-height: 1.1;
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

/* Why */

.why {
    padding: 3rem 0;
    background: linear-gradient(180deg, #fafcff, #f1f5f9);
    border-top: 1px solid #e5e7eb;
}

.why-grid {
    display: grid;
    grid-template-columns: minmax(320px, 2.25fr) repeat(4, 1fr);
    gap: 1.25rem;
    align-items: center;
}

.why-intro {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 1.25rem;
    align-items: center;
}

.shield {
    width: 80px;
    height: 90px;
    border: 6px solid var(--blue);
    border-radius: 18px 18px 30px 30px;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    font-weight: 900;
}

.why h2,
.why h3 {
    margin: 0 0 .35rem;
    color: var(--blue-dark);
}

.why h2 {
    font-size: 1.45rem;
}

.why p {
    margin: 0;
    color: var(--muted);
}

.why-item {
    min-height: 92px;
    padding-left: 1.1rem;
    border-left: 1px solid #cbd5e1;
}

.why-item span {
    display: block;
    color: var(--blue);
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: .35rem;
}

.why-item h3 {
    font-size: .95rem;
}

.why-item p {
    font-size: .88rem;
}

/* Footer */

.site-footer {
    color: var(--white);
    background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .08), transparent 34%), linear-gradient(135deg, #151719, #222528);
    border-bottom: 8px solid var(--blue);
    padding: 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1.7fr;
    gap: 2.5rem;
    align-items: center;
}

.footer-logo {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: .9;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.footer-sub {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.55rem;
    font-weight: 900;
}

.footer-brand p {
    color: #d8e2ec;
    font-style: italic;
}

.footer-contact,
.serving {
    border-left: 1px solid rgba(255, 255, 255, .42);
    padding-left: 2rem;
}

.footer-contact h2,
.serving h2 {
    margin: 0 0 .45rem;
    color: var(--blue-bright);
    font-size: 1.25rem;
}

.footer-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: .42rem 0;
}

.footer-contact span,
.pin-icon {
    color: var(--blue-bright);
}

.footer-contact a {
    text-decoration: none;
}

.serving {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
}

.pin-icon {
    font-size: 3.1rem;
    line-height: 1;
}

.serving p {
    margin: .25rem 0;
}

.ms-shape {
    width: 90px;
    height: 125px;
    display: grid;
    place-items: center;
    color: var(--white);
    border: 3px solid var(--blue-bright);
    clip-path: polygon(30% 0, 92% 0, 88% 86%, 60% 86%, 52% 100%, 43% 84%, 22% 82%, 20% 28%);
}

/* Responsive */

@media (max-width: 1100px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-intro {
        grid-column: 1 / -1;
    }

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

    .serving {
        grid-column: 1 / -1;
    }
}

/* Fullscreen / ultra-wide hero image */
@media (min-width: 1600px) {
    .hero {
        height: 500px;
        min-height: 500px;
        background-image:
/*            linear-gradient(90deg,
                rgba(2, 25, 47, .94) 0%,
                rgba(3, 34, 61, .76) 24%,
                rgba(3, 34, 61, .20) 42%,
                rgba(3, 34, 61, 0) 58%
            ),
*/            
            url("../images/hero-bg-fullscreen1.png?v=4");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .hero-overlay,
    .hero-inner {
        height: 100%;
    }

    .hero-inner {
        align-items: center;
    }

    .hero-copy {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 3.1vw, 3.5rem);
        line-height: 1;
    }

    .hero p:not(.eyebrow) {
        font-size: 1rem;
        max-width: 490px;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 32px, var(--max));
    }

    .header-inner {
        min-height: 68px;
        grid-template-columns: auto auto auto;
        gap: 1rem;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        justify-self: end;
        order: 3;
    }

    .main-nav {
        position: absolute;
        top: 68px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: .9rem 1rem;
        border-bottom: 0;
        border-radius: 10px;
    }

    .main-nav .active {
        background: #eaf4ff;
    }

    .call-top {
        justify-self: end;
    }

    .call-top span:not(.phone-circle) {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 520px;
        background-position: 58% center;
    }

    .hero-overlay,
    .hero-inner {
        height: auto;
        min-height: inherit;
    }

    .hero-inner {
        align-items: center;
    }

    .hero-copy {
        max-width: 100%;
        padding: 3rem 0;
    }

    .hero p:not(.eyebrow) {
        max-width: 520px;
    }

    .hero-buttons {
        display: grid;
        max-width: 360px;
    }

    .footer-grid,
    .serving {
        grid-template-columns: 1fr;
    }

    .footer-contact,
    .serving {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .25);
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .ms-shape {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .logo-main {
        font-size: 2rem;
    }

    .logo-sub {
        font-size: .85rem;
    }

    .logo-sub span {
        width: 28px;
    }

    .hero {
        background-image:
        /*
            linear-gradient(90deg,
                rgba(2, 25, 47, .95) 0%,
                rgba(3, 34, 61, .78) 38%,
                rgba(3, 34, 61, .35) 68%,
                rgba(3, 34, 61, .12) 100%
            ),
            */
            url("../images/hero-bg-mobile3.png?v=6");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .hero h1 {
        font-size: 2.65rem;
            font-size: 2.65rem;
    padding-right: 80px;
    }

    .hero p:not(.eyebrow) {
        font-size: 1rem;
    }

    .service-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        grid-template-columns: 58px 1fr;
    }

    .icon {
        width: 54px;
        height: 54px;
    }

    .icon::before {
        font-size: 1.55rem;
    }

    .why-intro {
        grid-template-columns: 1fr;
    }

    .why-item {
        border-left: 0;
        border-top: 1px solid #cbd5e1;
        padding-left: 0;
        padding-top: 1rem;
    }
}



/*contact*/

/* Contact Form */

.contact-form-section {
    padding: 4rem 0 300px;
    background: var(--light);
}

.contact-form-wrap {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2rem;
    align-items: start;
}

.contact-form-intro h2 {
    margin: 0 0 1rem;
    color: var(--blue-dark);
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1;
}

.contact-form-intro p {
    color: var(--muted);
    max-width: 560px;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.contact-details li {
    padding: .7rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-details a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form-card form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: .4rem;
}

.form-row label {
    font-weight: 800;
    color: var(--blue-dark);
}

.form-row label span {
    color: #b91c1c;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: .65rem;
    padding: .8rem;
    font: inherit;
    background: var(--white);
}

.form-row textarea {
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: 3px solid rgba(22, 136, 240, .25);
    border-color: var(--blue);
}

.form-success,
.form-error {
    padding: 1rem;
    border-radius: .75rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.form-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

@media (max-width: 820px) {
    .contact-form-wrap {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 1.25rem;
    }
}



@media (max-width: 640px) {
    .contact-form-section {
        padding-bottom: 120px;
    }
}




.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
}

.site-credit {
    margin: 0;
}

.site-credit a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
}

.site-credit a:hover,
.site-credit a:focus {
    text-decoration: underline;
}

.site-credit-logo {
    display: inline-block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}