/* =========================================================
   JAMES POLLOCK PLUMBING
   PREMIUM LOCAL PLUMBER WEBSITE
   VERSION — SERVICES PREMIUM
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #172b3f;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}


/* =========================================================
   LAYOUT
========================================================= */

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    padding: 20px 0;
    background: #ffffff;
    border-bottom: 1px solid #e6ebef;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #17344d;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    font-weight: 800;
    white-space: nowrap;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.header-phone:hover {
    opacity: 0.75;
    transform: translateY(-1px);
}

.phone-icon {
    font-size: 0.9rem;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding: 82px 0 95px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(40, 91, 130, 0.10),
            transparent 35%
        ),
        #f3f7fa;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.hero-text {
    max-width: 680px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;

    color: #315a78;

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.hero h1 {
    max-width: 700px;

    color: #17344d;

    font-size: clamp(3.3rem, 6vw, 5.7rem);
    line-height: 0.96;
    letter-spacing: -0.06em;

    margin-bottom: 28px;
}

.hero h1 span {
    display: block;
    color: #285d82;
}

.hero-subtitle {
    max-width: 570px;
    margin-bottom: 34px;

    color: #526270;

    font-size: 1.18rem;
    line-height: 1.6;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 15px 23px;

    border: 2px solid transparent;
    border-radius: 7px;

    font-weight: 800;
    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: #17344d;

    box-shadow:
        0 10px 25px rgba(23, 52, 77, 0.18);
}

.btn-primary:hover {
    background: #214c6b;

    box-shadow:
        0 14px 30px rgba(23, 52, 77, 0.24);
}

.btn-secondary {
    color: #17344d;
    background: #ffffff;
    border-color: #17344d;
}

.btn-secondary:hover {
    color: #ffffff;
    background: #17344d;
}

.btn-light {
    color: #17344d;
    background: #ffffff;
}

.btn-light:hover {
    background: #e9f0f5;
}


/* =========================================================
   HERO TRUST
========================================================= */

.hero-trust {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-top: 29px;

    color: #425361;

    font-size: 0.92rem;
    font-weight: 600;
}

.rating {
    display: flex;
    align-items: center;
    gap: 9px;
}

.stars,
.review-stars,
.review-summary-stars {
    color: #eab308;
    letter-spacing: 3px;
}

.stars {
    font-size: 0.9rem;
}

.trust-divider {
    width: 1px;
    height: 18px;
    background: #cbd5dc;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 540px;

    object-fit: cover;

    border-radius: 18px;

    box-shadow:
        0 25px 60px rgba(23, 52, 77, 0.16);
}

.hero-badge {
    position: absolute;

    left: -25px;
    bottom: 70px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 18px 22px;

    color: #ffffff;
    background: #17344d;

    border-radius: 9px;

    box-shadow:
        0 18px 40px rgba(23, 52, 77, 0.24);
}

.hero-badge strong {
    font-size: 1.6rem;
}

.hero-badge span {
    font-size: 0.8rem;
    line-height: 1.3;
}

.hero-call-card {
    position: absolute;

    right: -20px;
    bottom: 20px;

    display: flex;
    flex-direction: column;

    padding: 15px 19px;

    background: #ffffff;
    border-radius: 9px;

    box-shadow:
        0 15px 35px rgba(23, 52, 77, 0.18);
}

.hero-call-label {
    margin-bottom: 3px;

    color: #697982;

    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.hero-call-card a {
    color: #17344d;

    font-size: 1.05rem;
    font-weight: 900;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-bottom: 20px;

    color: #17344d;

    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.section-heading p {
    color: #526270;
    font-size: 1.08rem;
}


/* =========================================================
   TRUST SECTION
========================================================= */

.trust-section {
    padding: 100px 0;
    background: #ffffff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-card {
    padding: 30px;

    background: #ffffff;

    border: 1px solid #dce5eb;
    border-radius: 12px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-6px);

    border-color: #c8d6e0;

    box-shadow:
        0 18px 40px rgba(23, 52, 77, 0.09);
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 24px;

    color: #ffffff;
    background: #17344d;

    border-radius: 50%;

    font-size: 0.9rem;
    font-weight: 900;
}

.trust-card h3 {
    margin-bottom: 10px;

    color: #17344d;
}

.trust-card p {
    color: #5c6b76;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    position: relative;

    padding: 120px 0;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(52, 105, 143, 0.28),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(40, 91, 130, 0.20),
            transparent 32%
        ),
        #10283d;

    overflow: hidden;
}


/* Decorative background glow */

.services::before {
    content: "";

    position: absolute;

    top: -180px;
    right: -180px;

    width: 500px;
    height: 500px;

    border: 1px solid rgba(255,255,255,0.07);

    border-radius: 50%;

    pointer-events: none;
}

.services::after {
    content: "";

    position: absolute;

    left: -220px;
    bottom: -220px;

    width: 500px;
    height: 500px;

    border: 1px solid rgba(255,255,255,0.05);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   SERVICES HEADING
========================================================= */

.services .section-heading {
    position: relative;
    z-index: 2;

    max-width: 760px;
    margin-bottom: 58px;
}

.services .eyebrow {
    color: #8fb2cc;
}

.services .section-heading h2 {
    color: #ffffff;
}

.services .section-heading p {
    color: #b9c8d3;
}

.services .section-heading::after {
    content: "";

    display: block;

    width: 65px;
    height: 3px;

    margin-top: 28px;

    background: #ffffff;

    border-radius: 3px;
}


/* =========================================================
   SERVICES GRID
========================================================= */

.services-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 16px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   SERVICE IMAGE
========================================================= */

.service-image {
    position: relative;

    width: 100%;
    height: 205px;

    overflow: hidden;

    background: #dce5eb;
}

.service-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.65s cubic-bezier(.2,.7,.2,1);
}

.service-card:hover .service-image img {
    transform: scale(1.07);
}


/* Image overlay */

.service-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(7, 25, 39, 0.02) 20%,
            rgba(7, 25, 39, 0.35) 100%
        );

    pointer-events: none;
}


/* =========================================================
   SERVICE CONTENT
========================================================= */

.service-content {
    position: relative;

    display: flex;
    flex-direction: column;

    flex: 1;

    min-height: 245px;

    padding: 27px 29px 29px;

    color: #17344d;
}


/* Top line */

.service-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 19px;
}

.service-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    color: #17344d;
    background: #edf3f7;

    border-radius: 50%;

    font-size: 0.72rem;
    font-weight: 900;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.service-card:hover .service-number {
    color: #ffffff;
    background: #17344d;

    transform: rotate(8deg);
}

.service-label {
    color: #82929d;

    font-size: 0.62rem;
    font-weight: 900;

    letter-spacing: 0.14em;
}


/* =========================================================
   SERVICE TITLE
========================================================= */

.service-card h3 {
    margin: 0 0 11px;

    color: #17344d;

    font-size: 1.35rem;
    line-height: 1.18;

    letter-spacing: -0.03em;
}

.service-card p {
    margin: 0;

    color: #61717d;

    font-size: 0.95rem;
    line-height: 1.65;
}


/* =========================================================
   SERVICE LINK
========================================================= */

.service-link {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    margin-top: auto;
    padding-top: 23px;

    color: #17344d;

    border-top: 1px solid #e8eef2;

    font-size: 0.84rem;
    font-weight: 900;

    transition:
        color 0.25s ease;
}

.service-link span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    color: #ffffff;
    background: #17344d;

    border-radius: 50%;

    font-size: 0.95rem;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.service-link:hover {
    color: #285d82;
}

.service-link:hover span {
    background: #285d82;
    transform: translateX(4px);
}


/* =========================================================
   FEATURED EMERGENCY CARD
========================================================= */

.featured-service {
    background: #17344d;

    border-color: #285d82;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.28);
}

.featured-service:hover {
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.34);
}

.featured-service h3 {
    color: #ffffff;
}

.featured-service p {
    color: #c2d0da;
}

.featured-service .service-number {
    color: #ffffff;
    background: rgba(255,255,255,0.12);
}

.featured-service:hover .service-number {
    color: #17344d;
    background: #ffffff;
}

.featured-service .service-label {
    color: #a8bdcc;
}

.featured-service .service-link {
    color: #ffffff;

    border-top-color: rgba(255,255,255,0.15);
}

.featured-service .service-link span {
    color: #17344d;
    background: #ffffff;
}

.featured-service .service-link:hover {
    color: #ffffff;
}

.featured-service .service-link:hover span {
    color: #ffffff;
    background: #285d82;
}


/* Premium top accent */

.featured-service::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #7fa7c0,
            #ffffff
        );

    z-index: 3;
}


/* =========================================================
   SERVICES BOTTOM PROMPT
========================================================= */

.services-contact {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-top: 42px;
    padding: 22px 26px;

    background: rgba(255,255,255,0.055);

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 12px;

    backdrop-filter: blur(8px);
}

.services-contact p {
    color: #d2dde5;

    font-size: 0.95rem;
}

.services-contact p strong {
    color: #ffffff;
}

.services-contact a {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    padding: 12px 18px;

    flex-shrink: 0;

    color: #17344d;
    background: #ffffff;

    border-radius: 7px;

    font-size: 0.82rem;
    font-weight: 900;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.services-contact a:hover {
    background: #eaf1f5;

    transform: translateY(-2px);
}


/* =========================================================
   PREMIUM CUSTOMER REVIEWS
========================================================= */

.reviews-section {
    position: relative;
    padding: 115px 0;
    background: #ffffff;
    overflow: hidden;
}


/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 55px;
}

.reviews-heading {
    max-width: 680px;
}

.reviews-heading .eyebrow {
    margin-bottom: 16px;
    color: #172f4d;
}

.reviews-heading h2 {
    margin-bottom: 18px;
    color: #172f4d;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.reviews-heading p {
    max-width: 560px;
    color: #596875;
    font-size: 1.05rem;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   OVERALL RATING
--------------------------------------------------------- */

.reviews-rating {
    min-width: 190px;
    padding: 22px 25px;

    background: #f3f7fa;

    border: 1px solid #dce5eb;
    border-radius: 12px;

    text-align: center;

    box-shadow:
        0 8px 25px rgba(23, 47, 77, 0.05);
}

.reviews-rating-stars {
    margin-bottom: 8px;

    color: #eab308;

    font-size: 1.05rem;
    letter-spacing: 4px;
}

.reviews-rating-number {
    color: #172f4d;

    font-size: 2rem;
    font-weight: 900;

    line-height: 1;
}

.reviews-rating-label {
    margin-top: 6px;

    color: #6d7b87;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   REVIEW GRID
--------------------------------------------------------- */

.reviews-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* ---------------------------------------------------------
   REVIEW CARD
--------------------------------------------------------- */

.review-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 31px;

    background: #ffffff;

    border: 1px solid #dfe6eb;
    border-radius: 14px;

    box-shadow:
        0 7px 25px rgba(23, 47, 77, 0.045);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);

    border-color: #cbd7df;

    box-shadow:
        0 18px 40px rgba(23, 47, 77, 0.10);
}


/* ---------------------------------------------------------
   CARD TOP
--------------------------------------------------------- */

.review-card-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;
}

.review-stars {
    color: #eab308;

    font-size: 0.95rem;
    letter-spacing: 3px;
}

.review-google {
    padding: 5px 9px;

    color: #64727d;

    background: #f4f6f8;

    border-radius: 5px;

    font-size: 0.65rem;
    font-weight: 900;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   REVIEW TEXT
--------------------------------------------------------- */

.review-text {
    flex: 1;

    margin: 0 0 30px;

    color: #293743;

    font-size: 1rem;
    line-height: 1.7;

    letter-spacing: -0.01em;
}


/* ---------------------------------------------------------
   AUTHOR
--------------------------------------------------------- */

.review-author {
    display: flex;

    align-items: center;

    gap: 12px;

    padding-top: 20px;

    border-top: 1px solid #edf1f3;
}

.review-avatar {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border-radius: 50%;

    color: #ffffff;

    background: #172f4d;

    font-size: 0.7rem;
    font-weight: 900;

    letter-spacing: 0.02em;
}

.review-author strong {
    display: block;

    margin-bottom: 2px;

    color: #172f4d;

    font-size: 0.88rem;
    font-weight: 900;
}

.review-author span {
    display: block;

    color: #7a8791;

    font-size: 0.7rem;
    font-weight: 600;
}


/* ---------------------------------------------------------
   SUMMARY PANEL
--------------------------------------------------------- */

.review-summary {
    position: relative;

    grid-column: 1 / -1;

    display: flex;

    align-items: center;

    gap: 20px;

    min-height: 105px;

    padding: 25px 30px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(255,255,255,0.10),
            transparent 32%
        ),
        #172f4d;

    border-radius: 14px;

    box-shadow:
        0 14px 35px rgba(23, 47, 77, 0.16);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.review-summary:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 45px rgba(23, 47, 77, 0.20);
}

.review-summary::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: #ffffff;
}

.summary-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    flex-shrink: 0;

    border: 1px solid rgba(255,255,255,0.18);

    border-radius: 50%;

    color: #eab308;

    background: rgba(255,255,255,0.08);

    font-size: 1.3rem;
}

.summary-content {
    display: flex;
    flex-direction: column;
}

.summary-label {
    margin-bottom: 3px;

    color: #aebdca;

    font-size: 0.65rem;
    font-weight: 900;

    letter-spacing: 0.13em;
}

.summary-content strong {
    margin-bottom: 3px;

    font-size: 1.35rem;
    line-height: 1.2;
}

.summary-content p {
    margin: 0;

    color: #cbd6df;

    font-size: 0.86rem;
}

.summary-arrow {
    margin-left: auto;

    font-size: 1.5rem;

    opacity: 0.75;

    transition:
        transform 0.25s ease;
}

.review-summary:hover .summary-arrow {
    transform: translateX(5px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .reviews-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .reviews-rating {
        min-width: 180px;
    }

    .reviews-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .review-summary {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .reviews-section {
        padding: 75px 0;
    }

    .reviews-header {
        margin-bottom: 40px;
        gap: 25px;
    }

    .reviews-heading h2 {
        font-size: 2.35rem;
    }

    .reviews-heading p {
        font-size: 0.98rem;
    }

    .reviews-rating {
        width: 100%;
        padding: 18px 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .review-card {
        padding: 27px;
        border-radius: 12px;
    }

    .review-text {
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .review-summary {
        grid-column: auto;

        min-height: 100px;

        padding: 23px;

        border-radius: 12px;
    }

    .summary-icon {
        width: 48px;
        height: 48px;
    }

    .summary-content strong {
        font-size: 1.2rem;
    }

    .summary-content p {
        font-size: 0.8rem;
    }
}


/* =========================================================
   EMERGENCY CTA
========================================================= */

.emergency-cta {
    padding: 110px 0;

    background: #ffffff;
}

.cta-box {
    position: relative;

    overflow: hidden;

    padding: 75px;

    border-radius: 17px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(73, 125, 161, 0.20),
            transparent 35%
        ),
        #17344d;

    color: #ffffff;

    box-shadow:
        0 25px 60px rgba(23, 52, 77, 0.20);
}

.cta-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #6e9bb8,
            #ffffff
        );
}

.cta-box .eyebrow {
    color: #b5cfdf;
}

.cta-box h2 {
    max-width: 720px;

    margin-bottom: 22px;

    font-size: clamp(2.4rem, 5vw, 4.2rem);

    line-height: 1.02;

    letter-spacing: -0.045em;
}

.cta-box p {
    max-width: 650px;

    margin-bottom: 34px;

    color: #d2dfe7;

    font-size: 1.05rem;
}

.cta-box .btn {
    background: #ffffff;
    color: #17344d;
}


/* =========================================================
   QUOTE SECTION
========================================================= */

.quote-section {
    padding: 110px 0;

    background: #f3f7fa;
}

.quote-container {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 80px;

    align-items: center;
}

.quote-text {
    max-width: 520px;
}

.quote-text h2 {
    margin-bottom: 22px;

    color: #17344d;

    font-size: clamp(2.4rem, 5vw, 4rem);

    line-height: 1.04;

    letter-spacing: -0.045em;
}

.quote-text > p {
    color: #526270;

    font-size: 1.05rem;
}

.quote-note {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;

    color: #17344d;

    font-size: 0.92rem;

    font-weight: 800;
}

.quote-note-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: #17344d;
    color: #ffffff;
}

.quote-form {
    display: flex;

    flex-direction: column;

    gap: 8px;

    padding: 38px;

    background: #ffffff;

    border: 1px solid #dce5eb;

    border-radius: 14px;

    box-shadow:
        0 15px 45px rgba(23, 52, 77, 0.08);
}

.quote-form label {
    margin-top: 10px;

    color: #17344d;

    font-size: 0.82rem;

    font-weight: 800;
}

.quote-form input,
.quote-form textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #ccd7de;

    border-radius: 7px;

    background: #ffffff;

    color: #17344d;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
    border-color: #285d82;

    box-shadow:
        0 0 0 3px rgba(40, 93, 130, 0.10);
}

.quote-form textarea {
    min-height: 125px;

    resize: vertical;
}

.quote-form button {
    width: 100%;

    margin-top: 18px;

    padding: 16px 22px;
}

.quote-form small {
    margin-top: 5px;

    color: #69737d;

    font-size: 0.75rem;

    text-align: center;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 60px 0 25px;

    color: #ffffff;

    background: #0d2233;
}

.footer-inner {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 40px;
}

.site-footer h3 {
    margin-bottom: 10px;
}

.site-footer p {
    color: #b7c7d2;
}

.footer-contact {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 6px;
}

.footer-contact span {
    color: #b7c7d2;

    font-size: 0.85rem;
}

.footer-contact a {
    font-size: 1.25rem;

    font-weight: 800;
}

.footer-bottom {
    margin-top: 45px;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.75rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .hero {
        padding: 60px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 460px;
    }

    .hero-badge {
        left: 15px;
        bottom: 70px;
    }

    .hero-call-card {
        right: 15px;
        bottom: 15px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quote-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .service-image {
        height: 220px;
    }

    .featured-service .service-image {
        height: 230px;
    }
}


/* =========================================================
   SMALL LAPTOP
========================================================= */

@media (max-width: 900px) {

    .services,
    .reviews-section,
    .emergency-cta,
    .quote-section {
        padding: 90px 0;
    }

    .quote-text {
        max-width: 700px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: 92%;
    }


    /* HEADER */

    .site-header {
        padding: 14px 0;
    }

    .header-inner {
        gap: 10px;
    }

    .logo {
        font-size: 0.9rem;
    }

    .header-phone {
        flex-shrink: 0;

        padding: 8px 10px;

        gap: 6px;

        font-size: 0.76rem;
    }


    /* HERO */

    .hero {
        padding: 45px 0 65px;
    }

    .hero-grid {
        gap: 35px;
    }

    .hero-image img {
        height: 350px;
        border-radius: 12px;
    }

    .hero h1 {
        margin-bottom: 22px;
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .trust-divider {
        display: none;
    }

    .hero-badge {
        left: 12px;
        bottom: 68px;

        padding: 14px 17px;
    }

    .hero-call-card {
        right: 12px;
        bottom: 12px;

        padding: 12px 15px;
    }


    /* SECTION SPACING */

    .trust-section,
    .services,
    .reviews-section,
    .emergency-cta,
    .quote-section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2,
    .quote-text h2,
    .cta-box h2 {
        font-size: 2.35rem;
    }


    /* TRUST */

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-card {
        padding: 28px;
    }


    /* =====================================================
       SERVICES MOBILE
    ===================================================== */

    .services {
        padding: 82px 0;
    }

    .services .section-heading {
        margin-bottom: 42px;
    }

    .services-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .service-card {
        border-radius: 13px;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    .service-image {
        height: 220px;
    }

    .featured-service .service-image {
        height: 230px;
    }

    .service-content {
        min-height: 215px;

        padding: 24px 22px 27px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.93rem;
    }

    .service-number {
        width: 40px;
        height: 40px;
    }

    .service-link {
        padding-top: 19px;
    }

    /* Bottom contact */

    .services-contact {
        flex-direction: column;

        align-items: flex-start;

        gap: 17px;

        margin-top: 28px;

        padding: 20px;
    }

    .services-contact a {
        width: 100%;

        justify-content: center;
    }


    /* REVIEWS */

    .reviews-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .review-card {
        padding: 27px;
    }

    .review-text {
        min-height: 0;
    }


    /* CTA */

    .cta-box {
        padding: 42px 25px;

        border-radius: 12px;
    }

    .cta-box h2 {
        font-size: 2.35rem;
    }

    .cta-box .btn {
        width: 100%;
    }


    /* QUOTE */

    .quote-container {
        gap: 38px;
    }

    .quote-form {
        padding: 27px 23px;

        border-radius: 12px;
    }


    /* FOOTER */

    .footer-inner {
        flex-direction: column;

        gap: 30px;
    }

    .footer-contact {
        align-items: flex-start;
    }

    .footer-bottom {
        margin-top: 35px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .container {
        width: 91%;
    }

    .logo {
        font-size: 0.82rem;
    }

    .header-phone {
        padding: 7px 8px;
        font-size: 0.69rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image img {
        height: 315px;
    }

    .service-image {
        height: 210px;
    }

    .featured-service .service-image {
        height: 220px;
    }

    .service-content {
        padding: 23px 19px 27px;
    }

    .review-card {
        padding: 24px;
    }

    .cta-box {
        padding: 38px 21px 42px;
    }

    .cta-box h2 {
        font-size: 2.15rem;
    }

    .quote-form {
        padding: 24px 20px;
    }

    .quote-text h2 {
        font-size: 2.15rem;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}