/* Sprague Electric, LLC */

:root {
    --navy: #0c2240;
    --navy-dark: #08182d;
    --navy-deep: #061325;
    --red: #c8202e;
    --red-dark: #a4161f;
    --white: #ffffff;
    --ink: #16202e;
    --gray: #5a6573;
    --light: #f4f6f9;
    --line: #e3e8ef;
    --font-head: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --wrap: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    font-size: 17px;
}

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

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

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

p {
    margin: 0 0 1rem;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.75rem;
}


/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.05rem;
    padding: 10px 40px;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn-red {
    background: var(--red);
    color: var(--white);
    border-color: var(--white);
}

.btn-red:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-light:hover {
    background: transparent;
    color: var(--white);
}


/* Header */

.header-banner {
	color: #fff;
	background: var(--red);
	text-align: center;
}

.header-banner .header-banner-inner {
	max-width: var(--wrap);
	margin: auto;
    padding: 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    /* box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15); */
}

.header-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 2px;
}

.header-logo img {
    height: 56px;
    width: auto;
    display: block;
}

.header-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.9rem;
}

.header-nav a {
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.98rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.header-nav a:hover {
    color: #cdd8e6;
    border-color: var(--red);
}

.header-phone {
    flex: 0 0 auto;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 10px 40px;
    border-radius: 2px;
    transition: background 0.18s ease;
    border: 1px solid #fff;
}

.header-phone:hover {
    background: var(--red-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 26px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Hero */

.hero {
    position: relative;
    background-color: var(--navy);
    background-image: url('/wp-content/uploads/2026/07/8164f297-ecf4-4f62-8273-6ef98df32eba-1-1.png');
    background-size: cover;
    background-position: center right;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 28%, rgba(12, 34, 64, 0.85) 45%, rgba(12, 34, 64, 0.2) 70%, rgba(12, 34, 64, 0) 100%);
}

.hero-inner {
    position: relative;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 160px 20px 120px;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.6rem);
    color: var(--white);
    margin-bottom: 40px;
}

.hero-sub {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 40px;
}

.hero-sub svg {
    color: var(--white);
}

.hero-area {
    margin: 1.5rem 0 0;
    font-size: 0.95rem;
    color: #b9c6d6;
}


/* Service strip */

.service-strip {
    position: relative;
    z-index: 5;
    max-width: var(--wrap);
    margin: -5rem auto 0;
    padding: 0 1.5rem;
}

.service-strip-inner {
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 18px 45px rgba(8, 24, 45, 0.16);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 40px;
}

.svc-card {
    position: relative;
    padding: 0;
    text-align: left;
    /* border-right: 1px solid var(--line); */
}

.svc-card:last-child {
    border-right: 0;
}

.svc-star {
    color: var(--red);
    display: inline-flex;
    margin-bottom: 0.6rem;
    /* justify-content: center; */
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 8px,
        #d0d0d0 8px,
        #d0d0d0 9px
    );
    height: 14px;
    width: 100%;
    margin-bottom: 30px;
}

.svc-content {
    display: flex;
    gap: 20px;
}

.svc-icon {
    display: block;
    color: var(--navy);
    margin-bottom: 0.9rem;
    width: 30%;
}

.svc-card h3 {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 0.6rem;
    line-height: 28px;
}

.svc-card p {
    margin: 0;
    color: var(--gray);
    font-size: 0.98rem;
}

.svc-star svg {
    width:40px;
    height:18px;
    background:#fff;
    fill:#C10001; /* red */
    margin-left: 30%;
}

.svc-icon svg {
    width: 68px;
    height: 68px;
}

.svc-right {
    width: 70%;
    display: block;
    padding-right: 20px;
}
/* About */

.about {
    padding: 6rem 1.5rem;
}

.about-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-photo {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.about-badge {
    position: absolute;
    right: -1.4rem;
    bottom: -1.8rem;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(8, 24, 45, 0.22);
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    margin-bottom: 1.2rem;
}

.about-text p {
    color: var(--gray);
}

.about-points {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.about-points li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-head);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--navy);
}

.about-points svg {
    color: var(--red);
    flex: 0 0 auto;
}


/* Section head */

.section-head {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-head p {
    color: var(--gray);
    margin: 0;
}


/* Services grid */

.services {
    padding: 6rem 1.5rem;
    background: var(--light);
}

.services-inner {
    max-width: var(--wrap);
    margin: 0 auto;
}

.services-group-label {
    font-size: 1.05rem;
    color: var(--navy);
    margin: 2.5rem 0 1.4rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--line);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.service-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 2rem 1.8rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(8, 24, 45, 0.12);
    border-color: transparent;
}

.service-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
    margin-bottom: 1.1rem;
}

.service-item h4 {
    font-size: 1.18rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.service-item p {
    margin: 0;
    color: var(--gray);
    font-size: 0.97rem;
}


/* Why */

.why {
    padding: 5rem 1.5rem;
    background: var(--navy);
    color: var(--white);
}

.why-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-text .eyebrow {
    color: #ff6b73;
}

.why-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.why-text p {
    color: #c1cdda;
    margin: 0;
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-stat {
    background: var(--navy-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.6rem 1rem;
    text-align: center;
}

.why-stat-num {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--white);
}

.why-stat-label {
    display: block;
    font-size: 0.9rem;
    color: #9fb0c2;
    margin-top: 0.3rem;
}


/* Gallery */

.gallery {
    padding: 6rem 1.5rem;
}

.gallery-inner {
    max-width: var(--wrap);
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
    gap: 1.5rem;
}

.gallery-item {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-tall {
    grid-row: span 2;
}


/* Footer */

.footer-cta {
    background: var(--red);
    color: var(--white);
}

.footer-cta-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.footer-cta-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.4rem;
}

.footer-cta-text p {
    margin: 0;
    opacity: 0.92;
}

.site-footer .footer-main {
    background: var(--navy);
    color: #c1cdda;
}

.footer-grid {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
}

.footer-brand img {
    height: 84px;
    width: auto;
    margin-bottom: 1.1rem;
}

.footer-brand p {
    margin: 0;
    font-size: 0.97rem;
}

.footer-col h3 {
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 1.1rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    font-size: 0.97rem;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-contact a {
    color: var(--white);
    font-weight: 600;
}

.footer-bottom {
    background: var(--navy-deep);
    color: #8595a8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.3rem 1.5rem;
    font-size: 0.88rem;
}

.footer-bottom p {
    max-width: var(--wrap);
    margin: 0;
}


/* Tablet */

@media (max-width: 980px) {

    .header-nav {
        gap: 1.3rem;
    }

    .about-inner,
    .why-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-badge {
        width: 120px;
        height: 120px;
        right: 1rem;
    }

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

}


/* Mobile */

@media (max-width: 760px) {

    body {
        font-size: 16px;
    }

    .site-header {
        background: #ffffff;
        position: relative;
    }

    .header-logo {
        position: relative;
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 12px 0;
    }

    .header-logo img {
        height: 72px;
        margin: 0;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 0 30px;
        padding: 0px 20px 30px;
        justify-content: center;
    }


    .header-phone {
        order: 2;
        font-size: 0.95rem;
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .header-nav {
        order: 4;
        margin-left: 0;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease;
    }

    .header-nav.is-open {
        max-height: 380px;
        margin-top: 0.5rem;
    }

    .header-nav a {
		color: var(--navy);
        padding: 0.85rem 0.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .header-nav a:hover {
        border-color: rgba(255, 255, 255, 0.12);
    }

    .hero-inner {
        padding: 50px 20px 30px;
        text-align: left;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(12, 34, 64, 0.55) 0%, rgba(12, 34, 64, 0.82) 100%);
    }

    .nav-toggle span {
        background: #061325;
    }

    .service-strip {
        margin-top: 0;
        padding: 0;
    }

    .service-strip-inner {
        grid-template-columns: 1fr;
        box-shadow: none;
        padding: 0;
    }

    .svc-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .svc-card:last-child {
        border-bottom: 0;
    }

    .svc-card .svc-star {
        display: none;
    }

    .svc-card .svc-icon {
        text-align: left;
        margin-bottom: 0;
    }

    .svc-content {
        display: flex;
        gap: 20px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .svc-right {
        width: 100%;
        text-align: left;
        padding-right: 0;
    }

    .about,
    .services,
    .why,
    .gallery {
        padding: 3.5rem 1.2rem;
    }

    .about-badge {
        width: 100px;
        height: 100px;
        right: 0.5rem;
        bottom: -1rem;
    }

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

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-tall {
        grid-row: span 1;
    }

    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.2rem 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.4rem;
    }

}


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

    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }

}