@charset "utf-8";

body.service-page::before,
body.service-page::after {
    content: "";
    position: fixed;
    top: 0;
    width: 46px;
    height: 100vh;
    pointer-events: none;
    opacity: 1;
    z-index: 1000;
}

body.spray-foam::before,
body.crawlspace::before {
    left: -18px;
}

body.spray-foam::after,
body.crawlspace::after {
    right: -18px;
}

body.blown-in::before {
    left: -5px;
    width: 41px;
}

body.blown-in::after {
    right: -5px;
    width: 41px;
}

body.fiberglass::before {
    left: -8px;
    width: 45px;
}

body.fiberglass::after {
    right: -8px;
    width: 45px;
}

body.spray-foam::before,
body.crawlspace::before {
    background-image: url("/img/assets/foam-border-left.png");
}

body.spray-foam::after,
body.crawlspace::after {
    background-image: url("/img/assets/foam-border-right.png");
}

body.blown-in::before {
    background-image: url("/img/assets/blown-in-border-left.png");
}

body.blown-in::after {
    background-image: url("/img/assets/blown-in-border-right.png");
}

body.fiberglass::before {
    background-image: url("/img/assets/fiberglass-border-left.png");
}

body.fiberglass::after {
    background-image: url("/img/assets/fiberglass-border-right.png");
}

.service-hero {
    position: relative;
    height: 85vh;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.sprayfoam-hero {
    background-image: url("/img/content/sprayfoam-hero.jpg");
}

.blownin-hero {
    background-image: url("/img/content/blown-in-hero.jpg");
}

.fiberglass-hero {
    background-image: url("/img/content/fiberglass-hero.jpg");
}

.crawlspace-hero {
    background-image: url("/img/content/crawlspace-hero.jpg");
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(1,16,57,0.75),
        rgba(1,16,57,0.15)
    );
}

.service-hero-content {
    position: relative;
    max-width: 900px;
    padding: 0 4rem;
    color: #ffffff;
}

.service-hero-content h1 {
    font-family: "Bully";
    font-size: clamp(3rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.service-hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.btn-hero {
    background: #FF7900;
    color: #ffffff;
    text-decoration: none;
    padding: 1.2rem 2.6rem;
    font-family: "Bully";
    font-size: 1.2rem;
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(255,121,0,0.5);
}

/* VALUE BAND */

.service-value {
    background: #011039;
    padding: 3rem 2rem;
}

.service-value-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.service-value p {
    color: #d6e9f4;
    font-size: 1.3rem;
    line-height: 1.6;
}

/* SECTIONS */

.service-section {
    padding: 6rem 2rem;
    background: #ffffff;
}

.service-section.alt {
    background: #f4f9fd;
}

.service-section-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.service-section-inner.two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.service-text h2 {
    font-size: 2.4rem;
    text-align: left;
}

.service-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}


/* APPLICATIONS */

.application-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.application-card {
    background: #ffffff;
    padding: 2rem;
    border-left: 6px solid #288DBE;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* BENEFITS */

.service-benefits h2 {
    color: #fff;
    text-align: center;
}

.service-benefits {
    background: linear-gradient(135deg, #288DBE, #011039);
    color: #ffffff;
    padding: 6rem 2rem;
}

.benefit-list {
    max-width: 1100px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    background: rgba(255,255,255,0.12);
    padding: 1.4rem;
    border-radius: 4px;
    text-align: center;
    font-family: "CandaraB";
    font-size: 1.2rem;
}

/* GALLERY */

.service-gallery.full {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.service-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}


.about-wrapper {
    padding: clamp(4rem, 8vw, 7rem) 2rem;
    background: #ffffff;
    margin-top: 150px;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-media img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(1,16,57,0.15);
}

.about-content h1 {
    font: normal clamp(2rem, 2.6vw, 2.6rem) "Bully";
    color: #011039;
    margin-bottom: 1.2rem;
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: #288DBE;
    margin-bottom: 1.4rem;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #333;
    margin-bottom: 1.1rem;
}

.about-highlight {
    padding-left: 1.2rem;
    border-left: 4px solid #FF7900;
    font-weight: 600;
    color: #011039;
    margin-top: 1.8rem;
}

.about-content .cta-primary {
    display: inline-block;
    margin-top: 2rem;
}

.quote-wrapper {
    padding: clamp(4rem, 8vw, 7rem) 2rem;
    background:
        linear-gradient(
            135deg,
            rgba(40,141,190,0.12),
            rgba(40,141,190,0.03)
        );
    margin-top: 150px;
}

.quote-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: flex-start;
}

.quote-content h1 {
    font: normal clamp(2.2rem, 3vw, 2.8rem) "Bully";
    color: #011039;
    margin-bottom: 1.2rem;
}

.quote-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: #288DBE;
    margin-bottom: 1.4rem;
}

.quote-content p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #333;
    margin-bottom: 1.2rem;
}

.quote-points {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0;
}

.quote-points li {
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #011039;
}

.quote-note {
    font-size: 0.95rem;
    color: #555;
    border-left: 4px solid #FF7900;
    padding-left: 1rem;
    margin-top: 1.8rem;
}

/* FORM PANEL */
.quote-form {
    background: #ffffff;
    padding: 1.8rem;
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(1,16,57,0.15);
}

/* Jotform iframe */
.jotform-frame {
    width: 100%;
    min-height: 600px;
    border: none;
}

.areas-wrapper {
    padding: clamp(4rem, 8vw, 7rem) 2rem;
    background: #ffffff;
    margin-top: 100px;
}

.areas-header {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.areas-header h1 {
    font: normal clamp(2.4rem, 3vw, 3rem) "Bully";
    color: #011039;
    margin-bottom: 1.2rem;
}

.areas-header p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #444;
}

.areas-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: flex-start;
}

/* COPY SIDE */

.areas-content h2 {
    font-size: 1.6rem;
    color: #011039;
    margin-bottom: 0.6rem;
}

.areas-content p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #333;
    margin-bottom: 1.2rem;
}

.areas-note {
    margin-top: 1.6rem;
    padding-left: 1rem;
    border-left: 4px solid #FF7900;
    font-weight: 600;
    color: #011039;
}

.areas-content .cta-primary {
    display: inline-block;
    margin-top: 2rem;
}

/* MAP SIDE */

.map-frame {
    position: relative;
    width: 100%;
    padding-top: 65%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(1,16,57,0.18);
}

.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.contact-wrapper {
    padding: clamp(4rem, 8vw, 7rem) 2rem;
    background: #ffffff;
    margin-top: 100px;
}

.contact-header {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.contact-header h1 {
    font: normal clamp(2.4rem, 3vw, 3rem) "Bully";
    color: #011039;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: #444;
}

/* GRID */

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 5rem);
}

/* INFO SIDE */

.info-card {
    margin-bottom: 2.5rem;
}

.info-card h2 {
    font-size: 1.4rem;
    color: #011039;
    margin-bottom: 0.8rem;
}

.business-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.phone a {
    color: #288DBE;
    font-weight: 700;
    text-decoration: none;
}

.phone a:hover {
    color: #FF7900;
}

/* FORM PANEL */

.form-panel {
    background: #ffffff;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(1,16,57,0.15);
}

.form-panel h2 {
    margin-bottom: 1.2rem;
    color: #011039;
}

/* MAP SECTION */

.contact-map-section {
    margin-top: clamp(4rem, 8vw, 6rem);
}

.map-container {
    width: 100%;
    height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.services-hero {
    margin: auto;
    margin-top: 250px;
    max-width: 1100px;
}

.services-hero-content,
.services-benefits,
.services-intro {
    max-width: 1100px;
    margin: auto;
}

.services-grid-inner{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:40px;
    max-width: 1100px;
margin:auto;
}

.service-card img{
width:100%;
height:200px;
object-fit:cover;
border-radius:8px;
}

.service-card{
text-decoration:none;
color:inherit;
}




/* MOBILE */

@media (max-width: 1000px) {
    .service-hero-inner {
        grid-template-columns: 1fr;
    }

    .use-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-gallery-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .quote-inner {
        grid-template-columns: 1fr;
    }

    .quote-form {
        padding: 1.2rem;
    }
    .about-inner {
        grid-template-columns: 1fr;
    }
    .areas-inner {
        grid-template-columns: 1fr;
    }

    .map-frame {
        padding-top: 75%;
    }
    .contact-inner {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 380px;
    }
}



@media (max-width: 600px) {

body.service-page::before,
body.service-page::after {
    display: none;
}

.use-case-grid,
.benefit-grid,
.service-gallery-inner {
    grid-template-columns: 1fr;
}

.service-hero-content {
    max-width: 600px;
    padding: 0 2rem;
}

.service-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.service-hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 580px;
    margin-bottom: 2.5rem;
}

.service-section {
    padding: 3rem 1rem;
    background: #ffffff;
}

.service-section-inner {
    max-width: 600px;
}

.service-section-inner.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-text h2 {
    font-size: 2rem;
    text-align: center;
}

.application-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.application-card {
    padding: 1rem;
    border-left: 3px solid #288DBE;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.benefit-list {
    max-width: 600px;
    margin: 1rem auto 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benefit-item {
    padding: 1rem;
    border-radius: 4px;
    font-size: 1.2rem;
}

.contact-wrapper {
    padding: clamp(4rem, 8vw, 7rem) 1rem;
    margin-top: 100px;
}

.form-panel {
    padding: 1rem;
}

.quote-form {
    padding: 1.8rem 0;
}

.about-wrapper {
    padding: clamp(4rem, 8vw, 7rem) 2rem;
    margin-top: 50px;
}

.contact-wrapper {
    margin-top: 50px;
}

}