/* =========================================================
   CHS PERTH
   Main Stylesheet
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --chs-blue: #2f79ae;
    --chs-blue-dark: #17496b;
    --chs-blue-deep: #0d426a;

    --hero-light: #e4edf3;
    --hero-mid: #8795a3;
    --hero-dark: #17496b;

    --white: #ffffff;
    --yellow: #ffe451;

    --text: #202b33;
    --muted: #667681;

    --dark: #101820;
    --dark-soft: #17232e;

    --off-white: #f6f8fa;
    --border: #dfe6eb;

    --container: 1000px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--white);

    color: var(--text);

    line-height: 1.6;
}

body,
button,
a {
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}

/* =========================================================
   HIDDEN ELEMENTS
   ========================================================= */

[hidden] {
    display: none !important;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: var(--chs-blue);
}

.top-nav {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;
}

.main-nav a {
    position: relative;

    padding: 8px 0;

    color: var(--white);

    font-size: 13px;
    font-weight: 500;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.main-nav a:hover {
    color: #dbeeff;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 2px;

    width: 0;
    height: 1px;

    background: var(--white);

    transform: translateX(-50%);

    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;

    border: 0;

    padding: 6px;

    background: transparent;

    color: var(--white);

    font-size: 30px;

    line-height: 1;

    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    width: 100%;

    background:
        linear-gradient(
            90deg,
            var(--hero-light) 0%,
            #c1cdd7 20%,
            var(--hero-mid) 43%,
            #45586a 58%,
            var(--hero-dark) 78%,
            var(--chs-blue-deep) 100%
        );

    overflow: hidden;
}

.hero-inner {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    min-height: 490px;

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        0.95fr 1.05fr;

    align-items: center;

    gap: 55px;
}


/* =========================================================
   HERO LEFT
   ========================================================= */

.hero-left {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}

.hero-logo {
    width: 390px;

    max-width: 100%;

    height: auto;

    object-fit: contain;
}

.review-block {
	
	transform: translateY(-34px);
	
    margin-top: 34px;

    text-align: center;

    color: var(--white);
}

.review-title {
    font-size: 20px;
    font-weight: 400;

    line-height: 1.2;
}

.review-stars {
    margin-top: 6px;

    color: #ffc928;

    font-size: 22px;

    line-height: 1;

    letter-spacing: 2px;
}


/* =========================================================
   HERO RIGHT
   ========================================================= */

.hero-right {
    min-width: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    color: var(--white);

    padding: 34px 0;
}

.hero-heading {
    width: 100%;
}

.hero h1 {
    margin: 0;

    color: var(--white);

    font-size: clamp(
        36px,
        3.6vw,
        47px
    );

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: 0;
}

.hero-copy {
    max-width: 570px;

    margin: 13px 0 0;

    color: var(--white);

    font-size: clamp(
        27px,
        2.7vw,
        39px
    );

    font-weight: 300;

    line-height: 1.22;
}


/* =========================================================
   HERO CTA
   ========================================================= */

.hero-bottom-row {
    margin-top: 55px;

    display: flex;

    align-items: center;
}

.quote-wrap {
    display: flex;

    flex-direction: column;

    align-items: center;
}

.hero-quote-button {
    min-width: 215px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 22px;

    background: var(--chs-blue);

    color: var(--yellow);

    font-size: 14px;

    font-weight: 500;

    letter-spacing: 0.03em;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.hero-quote-button:hover {
    background: #276a9a;

    transform: translateY(-2px);
}

.hero-scroll {
    margin-top: 8px;

    color: #121f72;

    font-size: 34px;

    line-height: 1;

    transition: transform 0.2s ease;
}

.hero-scroll:hover {
    transform: translateY(4px);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 80px 0;
}

.section-heading {
    max-width: 760px;

    margin-bottom: 45px;
}

.section-heading h2,
.about-grid h2,
.areas-panel h2,
.contact-panel h2 {
    margin: 0;

    font-size: clamp(
        32px,
        4vw,
        46px
    );

    font-weight: 600;

    line-height: 1.1;
}

.section-heading p,
.about-grid p,
.areas-panel p,
.contact-panel p {
    margin-top: 16px;

    color: var(--muted);

    font-size: 17px;
}

.eyebrow {
    margin: 0 0 12px;

    color: var(--chs-blue);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.15em;
}


/* =========================================================
   SERVICES
   Swindon-style blue section
   ========================================================= */

.services-section {
    background: var(--chs-blue);

    color: var(--white);
}

.services-section .section-heading {
    max-width: 900px;

    margin-bottom: 48px;
}

.services-section .section-heading h2 {
    color: var(--white);

    font-weight: 400;
}

.services-section .section-heading p {
    color: rgba(
        255,
        255,
        255,
        0.9
    );
}


/* service items */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        50px 35px;
}

.service-card {
    min-width: 0;

    padding: 10px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    background: transparent;

    border: 0;

    box-shadow: none;
}

.service-icon {
    width: 92px;
    height: 92px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    font-size: 58px;

    line-height: 1;
}

.service-card h3 {
    margin: 12px 0 6px;

    color: var(--white);

    font-size: 18px;

    font-weight: 600;

    line-height: 1.25;
}

.service-card p {
    max-width: 260px;

    margin: 0;

    color: rgba(
        255,
        255,
        255,
        0.82
    );

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   ABOUT
   ========================================================= */

.section-dark {
    background: var(--dark);

    color: var(--white);
}

.section-dark .eyebrow {
    color: #64b5f6;
}

.section-dark p {
    color: rgba(
        255,
        255,
        255,
        0.75
    );
}

.about-grid {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 70px;

    align-items: center;
}

.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;
}

.trust-card {
    min-height: 135px;

    padding: 22px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    background:
        rgba(255, 255, 255, 0.05);
}

.trust-card strong {
    color: #64b5f6;

    font-size: 26px;
}

.trust-card span {
    margin-top: 5px;

    color:
        rgba(
            255,
            255,
            255,
            0.75
        );

    font-size: 14px;
}


/* =========================================================
   AREAS
   ========================================================= */

.areas-section {
    padding: 65px 0;
}

.areas-panel {
    padding: 45px;

    display: grid;

    grid-template-columns:
        1fr auto;

    gap: 50px;

    align-items: center;

    background: var(--off-white);

    border:
        1px solid
        var(--border);
}

.areas-badge {
    width: 190px;
    height: 190px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        var(--chs-blue);

    color: var(--white);

    font-size: 26px;

    font-weight: 800;

    letter-spacing: 0.1em;
}

.muted {
    color: #84929b !important;
}

/* =========================================================
   AREAS CTA
   ========================================================= */

.areas-link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 18px;

    padding: 11px 20px;

    background: var(--chs-blue);

    color: var(--white);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.04em;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.areas-link:hover {
    background: #276a9a;
    transform: translateY(-2px);
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    padding: 65px 0;
    background: #f5f9fc;
}

.contact-section .eyebrow {
    color: #1f638f;
}

.contact-panel.contact-panel-modern {
    padding: 30px 55px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    column-gap: 60px;
    row-gap: 28px;
    align-items: center;
    background: #eaf3fb;
    border: 1px solid #cadfeb;
}

.contact-main {
    min-width: 0;
}

.contact-main h2 {
    max-width: 520px;
    margin: 0;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.contact-main > p:not(.eyebrow) {
    max-width: 590px;
    margin: 18px 0 0;
    color: #4f5f69;
    font-size: 16px;
    line-height: 1.7;
}

/* Contact methods */

.contact-methods {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-method {
    width: 100%;
    min-height: 74px;
    padding: 12px 18px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    border-radius: 8px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 66, 106, .14);
}

.contact-method:focus-visible,
.work-request-button:focus-visible {
    outline: 3px solid rgba(47, 121, 174, .35);
    outline-offset: 3px;
}

.contact-method-phone {
    background: linear-gradient(135deg, #2f79ae, #2370a7);
    color: #fff;
}

.contact-method-whatsapp {
    background: linear-gradient(135deg, #20b45a, #17a84f);
    color: #fff;
}

.contact-method-email {
    background: #fff;
    color: #17232e;
    border: 1px solid #dce7ef;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}

.contact-method-email .contact-method-icon {
    background: #eaf3fb;
}

.contact-method-icon svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.contact-method-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.contact-method-text strong {
    font-size: 16px;
    font-weight: 700;
}

.contact-method-text > span {
    margin-top: 3px;
    font-size: 14px;
    opacity: .9;
    overflow-wrap: anywhere;
}

.contact-method-arrow {
    padding-left: 8px;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

/* Request work card */

.work-request-card {
    min-width: 0;
    padding: 30px 34px;
    background: #fff;
    border: 1px solid #dce7ef;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(13, 66, 106, .10);
}

.work-request-eyebrow {
    margin: 0;
    color: #1f638f !important;
    font-size: 13px !important;
    font-weight: 800;
    letter-spacing: .12em;
}

.work-request-card h3 {
    margin: 10px 0 0;
    color: #17232e;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.015em;
}

.work-request-card > p:not(.work-request-eyebrow) {
    margin: 14px 0 0;
    color: #4f5f69;
    font-size: 15px;
    line-height: 1.6;
}

.work-request-points {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.work-request-point {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.work-request-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf3fb;
    color: #1f638f;
    font-size: 20px;
    font-weight: 800;
}

.work-request-point > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.work-request-point strong {
    color: #17232e;
    font-size: 15px;
    line-height: 1.3;
}

.work-request-point span:not(.work-request-icon) {
    margin-top: 3px;
    color: #667681;
    font-size: 13px;
    line-height: 1.45;
}

.work-request-button {
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--chs-blue);
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.work-request-button span {
    font-size: 27px;
    font-weight: 300;
    line-height: 1;
}

.work-request-button:hover {
    background: #276a9a;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(13, 66, 106, .18);
}

/* Full-width contact trust row */

.contact-panel-modern > .contact-trust {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    border-top: 1px solid rgba(23, 73, 107, .15);
}

.contact-trust > .contact-trust-item {
    min-width: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 0;
}

.contact-panel-modern .contact-trust-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--chs-blue);
}

.contact-panel-modern .contact-trust-icon svg {
    width: 27px;
    height: 27px;
    display: block;
    fill: var(--chs-blue);
}

.contact-trust .contact-trust-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-trust .contact-trust-text strong {
    margin: 0;
    color: #17232e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.contact-trust .contact-trust-text > span {
    margin-top: 3px;
    color: #667681;
    font-size: 12px;
    line-height: 1.35;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    margin-top: 0;
    background: #09131c;
    color: var(--white);
}

.footer-grid {
    padding: 38px 0;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: 50px;
}

.footer-brand strong {
    font-size: 20px;
}

.footer-brand p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 20px;
}

.footer-links a {
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact-live {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footer-contact-live a {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
}

.footer-contact-live a:hover {
    color: var(--white);
}

.footer-heading {
    color: #fff;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 4px;
}

.footer-social-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform .2s ease, opacity .2s ease;
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-social-link:hover {
    transform: translateY(-3px);
    opacity: .8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom-inner p {
    margin: 0;
    color: rgba(255, 255, 255, .48);
    font-size: 12px;
}

.form-terms {
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4f5f69;
}

.form-terms a {
    color: #17496b;
    font-weight: 600;
    text-decoration: underline;
}

.footer-bottom .form-terms {
    margin: 0;
}

.footer-bottom .form-terms a {
    color: #9fb2bf;
}

.footer-bottom .form-terms a:hover {
    color: #fff;
}


/* =========================================================
   TABLET / MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 900px) {

    .top-nav {
        min-height: 62px;

        justify-content: flex-end;

        padding: 0 18px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;

        position: absolute;

        top: 62px;
        left: 0;
        right: 0;

        z-index: 2000;

        padding: 22px 20px;

        flex-direction: column;

        gap: 18px;

        background: var(--chs-blue);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        font-size: 14px;
    }


    /* HERO */

    .hero-inner {
        width: 100%;

        min-height: auto;

        padding:
            34px
            24px
            38px;

        display: flex;

        flex-direction: column;

        gap: 0;
    }

    .hero-left {
        width: 100%;
    }

    .hero-logo {
        width: min(
            280px,
            66vw
        );
    }

    .review-block {
        margin-top: 20px;
    }

    .hero-right {
        width: 100%;

        padding: 0;

        align-items: center;

        text-align: center;
    }

    .hero-heading {
        width: 100%;
    }

    .hero h1 {
        margin-top: 26px;

        font-size: 34px;

        text-align: center;
    }

    .hero-copy {
        max-width: 560px;

        margin:
            13px
            auto
            0;

        font-size: 24px;

        text-align: center;
    }

    .hero-bottom-row {
        margin-top: 30px;

        justify-content: center;
    }


    /* SECTIONS */

    .service-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns:
            1fr;

        gap: 45px;
    }

    .areas-panel,
    .contact-panel {
        grid-template-columns:
            1fr;
    }
	
	    /* Contact */

    .contact-panel.contact-panel-modern {
        padding: 42px;
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .contact-main h2 {
        max-width: 650px;
    }

    .contact-main > p:not(.eyebrow) {
        max-width: 680px;
    }

    .work-request-card {
        width: 100%;
    }

}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 600px) {

    .container {
        width:
            calc(100% - 32px);
    }


    /* HEADER */

    .top-nav {
        min-height: 56px;

        padding: 0 14px;
    }

    .main-nav {
        top: 56px;
    }


    /* HERO */

    .hero-inner {
        padding:
            26px
            16px
            28px;
    }

    .hero-logo {
        width: min(
            235px,
            62vw
        );
    }

    .review-block {
        margin-top: 14px;
    }

    .review-title {
        font-size: 16px;
    }

    .review-stars {
        margin-top: 4px;

        font-size: 18px;
    }

    .hero h1 {
        margin-top: 22px;

        font-size: 29px;

        line-height: 1.12;
    }

    .hero-copy {
        max-width: 360px;

        margin-top: 12px;

        font-size: 20px;

        line-height: 1.32;
    }

    .hero-bottom-row {
        margin-top: 24px;
    }

    .hero-quote-button {
        min-width: 195px;

        padding: 11px 18px;

        font-size: 12px;
    }

    .hero-scroll {
        margin-top: 6px;

        font-size: 27px;
    }


    /* SECTIONS */

    .section {
        padding: 58px 0;
    }
	
	.areas-section {
    padding: 50px 0;
	}

	.contact-section {
		padding: 0 0 50px;
	}

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .about-grid h2,
    .areas-panel h2,
    .contact-panel h2 {
        font-size: 31px;
    }

    .section-heading p,
    .about-grid p,
    .areas-panel p,
    .contact-panel p {
        font-size: 16px;
    }


    /* SERVICES */

    .service-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap:
            35px 16px;
    }

    .service-icon {
        width: 70px;
        height: 70px;

        font-size: 45px;
    }

    .service-card {
        padding: 4px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 13px;
    }


	/* ABOUT TRUST CARDS */

	.trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));

		gap: 12px;
	}

	.trust-card {
		min-height: 0;

		padding: 22px 18px;
	}

	.trust-card strong {
		font-size: 20px;
	}

	.trust-card span {
		font-size: 13px;

		line-height: 1.5;
	}


    /* AREAS */

    .areas-panel,
    .contact-panel {
        padding: 28px;
    }

    .areas-badge {
        width: 140px;
        height: 140px;

        font-size: 21px;
    }


    /* Contact */

    .contact-section {
        padding: 50px 0;
    }

    .contact-panel.contact-panel-modern {
        padding: 30px 22px;
        gap: 32px;
    }

    .contact-main h2 {
        font-size: 34px;
        line-height: 1.08;
    }

    .contact-main > p:not(.eyebrow) {
        font-size: 15px;
        line-height: 1.65;
    }

    .contact-methods {
        margin-top: 25px;
    }

    .contact-method {
        min-height: 70px;
        padding: 10px 13px;
        grid-template-columns: 45px minmax(0, 1fr) auto;
        gap: 11px;
    }

    .contact-method-icon {
        width: 45px;
        height: 45px;
    }

    .contact-method-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-method-text strong {
        font-size: 14px;
    }

    .contact-method-text > span {
        font-size: 13px;
    }

    .contact-method-arrow {
        padding-left: 3px;
        font-size: 28px;
    }

    .work-request-card {
        padding: 28px 22px;
        border-radius: 10px;
    }

    .work-request-card h3 {
        font-size: 27px;
    }

    .work-request-point {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
    }

    .work-request-icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .contact-panel-modern > .contact-trust {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-trust > .contact-trust-item {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 0 0 14px;
        border-bottom: 1px solid rgba(23, 73, 107, .10);
    }

    .contact-trust > .contact-trust-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .contact-trust .contact-trust-text strong {
        white-space: normal;
    }

    /* Footer */

    .footer-grid {
        grid-template-columns: 1fr auto;
        gap: 40px;
    }

    .footer-bottom-inner {
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .hero-logo {
        width: 215px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .hero-copy {
        font-size: 18px;
    }

    .service-grid {
        grid-template-columns:
            1fr;
    }

}

/* =====================================================
   GOOGLE REVIEW STAR LOAD ANIMATION
   ===================================================== */

.review-stars span {
    display: inline-block;
    transform-origin: center;
    animation: reviewStarSpin 0.7s ease-out both;
}

.review-stars span:nth-child(1) { animation-delay: 0.65s; }
.review-stars span:nth-child(2) { animation-delay: 0.72s; }
.review-stars span:nth-child(3) { animation-delay: 0.79s; }
.review-stars span:nth-child(4) { animation-delay: 0.86s; }
.review-stars span:nth-child(5) { animation-delay: 0.93s; }

@keyframes reviewStarSpin {
    0% {
        transform: rotate(0deg) scale(0);
        opacity: 0;
    }

    70% {
        transform: rotate(380deg) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

/* =====================================================
   GOOGLE REVIEW TEXT WAVE
   ===================================================== */

.review-title-wave span {
    display: inline-block;
    opacity: 0;
    transform: translateY(0);
    animation: reviewTextWave 0.55s ease-out forwards;
}

/* Wave from left to right */
.review-title-wave span:nth-child(1)  { animation-delay: 0.00s; }
.review-title-wave span:nth-child(2)  { animation-delay: 0.03s; }
.review-title-wave span:nth-child(3)  { animation-delay: 0.06s; }
.review-title-wave span:nth-child(4)  { animation-delay: 0.09s; }
.review-title-wave span:nth-child(5)  { animation-delay: 0.12s; }
.review-title-wave span:nth-child(6)  { animation-delay: 0.15s; }
.review-title-wave span:nth-child(7)  { animation-delay: 0.18s; }
.review-title-wave span:nth-child(8)  { animation-delay: 0.21s; }
.review-title-wave span:nth-child(9)  { animation-delay: 0.24s; }
.review-title-wave span:nth-child(10) { animation-delay: 0.27s; }
.review-title-wave span:nth-child(11) { animation-delay: 0.30s; }
.review-title-wave span:nth-child(12) { animation-delay: 0.33s; }
.review-title-wave span:nth-child(13) { animation-delay: 0.36s; }
.review-title-wave span:nth-child(14) { animation-delay: 0.39s; }
.review-title-wave span:nth-child(15) { animation-delay: 0.42s; }
.review-title-wave span:nth-child(16) { animation-delay: 0.45s; }
.review-title-wave span:nth-child(17) { animation-delay: 0.48s; }
.review-title-wave span:nth-child(18) { animation-delay: 0.51s; }
.review-title-wave span:nth-child(19) { animation-delay: 0.54s; }
.review-title-wave span:nth-child(20) { animation-delay: 0.57s; }
.review-title-wave span:nth-child(21) { animation-delay: 0.60s; }

.review-title-wave .review-space {
    width: 0.15em;
}

@keyframes reviewTextWave {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    45% {
        opacity: 1;
        transform: translateY(-8px);
    }

    75% {
        transform: translateY(3px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   FOOTER SOCIAL ICONS
   ===================================================== */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-social-link:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.footer-contact-live {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 4px;
}

.service-card-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* =========================================================
   ACCESSIBILITY - CONTRAST IMPROVEMENTS
   ========================================================= */

/* Main CTA buttons */
.hero-quote-button {
    background: #17496b;
    color: #ffe451;
}

.hero-quote-button:hover {
    background: #103d5a;
}


/* Homepage services section */
.services-section .section-heading p {
    color: #ffffff;
}

.services-section .service-card p {
    color: #ffffff;
}


/* Areas + contact supporting text */
.areas-panel p,
.contact-panel p {
    color: #4f5f69;
}


/* Eyebrows on light backgrounds */
.areas-section .eyebrow,
.contact-section .eyebrow {
    color: #1f638f;
}

.form-terms {
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4f5f69;
}

.form-terms a {
    color: #17496b;
    font-weight: 600;
    text-decoration: underline;
}