/* ==================================================
   HOME 
   Shared styles live in global.css
================================================== */

.home-hero {
    position: relative;
    padding-block: 80px;
    color: #deded7;

    background:
        linear-gradient(
            90deg,
            rgba(22, 22, 20, 0.7),
            rgba(22, 22, 20, 0.52)
        ),
        url("images/index_hero.webp") center 65% / cover no-repeat,
        var(--charcoal);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 85px;
}

.hero-copy h1 {
    max-width: 650px;
    color: #fff;
    font-size: clamp(36px, 3.8vw, 53px);
}

.hero-copy > p:not(.eyebrow) {
    max-width: 590px;
    margin-top: 26px;
    font-size: 15px;
}

.hero-copy .eyebrow {
    color: #deded7;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
}

/* ==================================================
   HERO CHECKLIST
================================================== */

.hero-checks {
    margin-block: 26px 34px;
    max-width: 580px;
}

.hero-checks li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid #ffffff35;
    padding-block: 11px;
    font-size: 13px;
}

.hero-checks li::before {
    content: "✓";
    color: #fff;
}

/* ==================================================
   HERO BUTTONS
================================================== */

.hero-copy .button--secondary {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

.hero-copy .button--secondary:hover {
    background: #e9e9e5;
}

/* ==================================================
   HERO ENQUIRY PANEL
================================================== */

.enquiry-panel {
    padding: 26px;
}

.enquiry-panel h2,
.enquiry-panel > p {
    text-align: center;
}

.enquiry-panel > p {
    margin-top: 8px;
}

.enquiry-panel .field :is(input, select, textarea) {
    padding-inline: 0;
    border: 0;
    border-bottom: 1px solid #75756b;
}

.enquiry-panel .field label {
    font-size: 10px;
}

.enquiry-panel .form-grid {
    gap: 10px 22px;
}

.enquiry-panel textarea {
    min-height: 60px;
}

/* ==================================================
   LICENCES
================================================== */

.licence-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.licence-card {
    min-width: 0;
}

.licence-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.3;
    object-fit: cover;
    background: #e5e5df;
}

.licence-card h3 {
    margin-block: 19px 9px;
}

.licence-card p {
    font-size: 13px;
}

/* LICENCES — TABLET */

@media (max-width: 1100px) {

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

/* LICENCES — MOBILE */

@media (max-width: 760px) {

    .licence-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ==================================================
   FEATURED SERVICES
================================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.feature-card img {
    width: 100%;
    aspect-ratio: 1.7;
    object-fit: cover;
    background: #40403c;
}

.feature-card h3 {
    margin-block: 22px 14px;
}

.feature-card p {
    margin-bottom: 24px;
    font-size: 14px;
}

.feature-card .button {
    margin-top: auto;
}

/* ==================================================
   SERVICE CARDS — “The full list”.
================================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 940px;
    margin-inline: auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 20px;
    border: 1px solid var(--line);
    background: #fff;
}

.card-number {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    color: #a2a29c;
}

.service-card h3 {
    margin-bottom: 14px;
    font-size: 21px;
}

.service-card ul {
    flex: 1;
    margin-bottom: 16px;
}

.service-card li {
    padding-block: 7px;
    border-top: 1px solid #e6e6e2;
    font-size: 12px;
    line-height: 1.55;
}

.service-card .button {
    padding: 11px 8px;
    min-height: 40px;
    font-size: 11px;
}

/* HIGHLIGHTED SERVICE CARD — the orange Asbestos Removal column */

.service-card--accent {
    color: #fff;
    background: var(--orange);
    border-color: var(--orange);
}

.service-card--accent :is(h3, .card-number) {
    color: #fff;
}

.service-card--accent li {
    border-top-color: #ffffff45;
}

.service-card--accent .button {
    color: var(--ink);
    background: #fff;
    border-color: #fff;
}

.service-card--accent .button:hover {
    background: #eee;
}

/* ==================================================
   HOME STRATA SUPPORT
================================================== */

.home-strata {
    padding-block: 72px;
    background: var(--light);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.home-strata-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
    gap: 70px;
}

.home-strata-intro,
.home-strata-services {
    min-width: 0;
}

.home-strata-intro .eyebrow {
    color: var(--ink);
}

.home-strata-intro h2 {
    max-width: 510px;
    margin-bottom: 24px;
    font-size: clamp(30px, 2.8vw, 38px);
    line-height: 1.15;
}

.home-strata-intro > p:not(.eyebrow) {
    max-width: 510px;
    margin-bottom: 28px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.75;
}

.home-strata-services {
    border-top: 1px solid var(--line);
}

.home-strata-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 18px;
    padding-block: 24px;
    border-bottom: 1px solid var(--line);
}

.home-strata-number {
    padding-top: 3px;
    color: var(--orange-hover);
    font-size: 13px;
    line-height: 1.4;
}

.home-strata-item h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.2;
}

.home-strata-item p {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.7;
}

/* STRATA SUPPORT — TWO PHOTOS */

.home-strata-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.home-strata-photos img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center 60%;
}

@media (max-width: 760px) {

    .home-strata-photos img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

/* STRATA SUPPORT — TABLET */

@media (max-width: 1100px) {

    .home-strata-grid {
        gap: 40px;
    }
}

/* STRATA SUPPORT — MOBILE */

@media (max-width: 760px) {

    .home-strata {
        padding-block: 54px;
    }

    .home-strata-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-strata-intro h2,
    .home-strata-intro > p:not(.eyebrow) {
        max-width: none;
    }

    .home-strata-intro h2 {
        font-size: 30px;
    }

    .home-strata-intro > p:not(.eyebrow) {
        font-size: 14px;
    }

    .home-strata-item {
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 12px;
        padding-block: 22px;
    }

    .home-strata-item h3 {
        font-size: 20px;
    }
}

/* ==================================================
   WHY CHOOSE US - Benefit cards 
================================================== */

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.benefit-card {
    padding: 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.benefit-card h3 {
    margin-bottom: 14px;
    font-size: 21px;
}

.benefit-card p {
    font-size: 13px;
}

.section--white {
    background: #fff;
}

/* WHY CHOOSE US — ICONS */

.benefit-icon {
    display: block;
    width: 42px;
    height: 42px;
    margin-bottom: 30px;
    color: var(--orange);
}

@media (max-width: 760px) {

    .benefit-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 24px;
    }
}

/* ==================================================
   COMPANY PROFILE AND COMPLIANCE
================================================== */

.home-profile-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.home-profile-image {
    min-width: 0;
}

.home-profile-image img {
    display: block;
    width: 100%;
    height: auto;
}

.home-profile-copy {
    min-width: 0;
}

.home-profile-copy h2 {
    margin-bottom: 24px;
}

.home-profile-copy > p:not(.eyebrow) {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.7;
}

.home-profile-copy .button {
    margin-top: 12px;
    justify-content: center;
    text-align: center;
}

/* COMPANY PROFILE — TABLET */

@media (max-width: 1100px) {

    .home-profile-grid {
        gap: 40px;
    }
}

/* COMPANY PROFILE — MOBILE*/

@media (max-width: 760px) {

    .home-profile-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .home-profile-image {
        width: 100%;
        max-width: 450px;
        margin-inline: auto;
    }

    .home-profile-copy > p:not(.eyebrow) {
        font-size: 14px;
    }
}

/* ==================================================
   AREAS WE SERVICE
================================================== */

.home-service-areas {
    color: #deded7;
    background-color: var(--charcoal);

    background-image:
        linear-gradient(
            90deg,
            rgba(22, 22, 20, 0.7),
            rgba(22, 22, 20, 0.52)
        ),
        url("images/Service_areas.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-service-areas .section-heading h2 {
    color: #fff;
}

.home-service-areas .section-heading p {
    color: #deded7;
}

/* SERVICE AREA CARDS */

.home-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.home-area-card {
    padding: 32px;
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.home-area-card h3 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 26px;
}

.home-area-card p {
    margin: 0;
    color: #deded7;
    font-size: 14px;
    line-height: 1.7;
}

/* AREAS WE SERVICE — MOBILE */
@media (max-width: 760px) {

    .home-areas-grid {
        grid-template-columns: 1fr;
    }

    .home-area-card {
        padding: 26px;
    }
}

/* ==================================================
   PROJECT GALLERY
================================================== */

.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
} 

.home-gallery-grid img {
    display: block;
    width: 100%;
    height: auto;
    min-width: 0;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.home-gallery-item {
    min-width: 0;
    margin: 0;
}

.home-gallery-item figcaption {
    margin-top: 12px;
    color: var(--body);
    font-size: 14px;
    line-height: 1.6;
}

/* CAPABILITY STATEMENT ANIMATION */

.home-profile-image {
    opacity: 1;
    transform: translateX(0);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.home-profile-image.is-waiting {
    opacity: 0;
    transform: translateX(-40px);
}

.home-profile-image img {
    transition: transform 0.35s ease;
}

@media (hover: hover) {

    .home-profile-image img:hover {
        transform: translateY(-6px) rotate(-1deg);
    }
}

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

    .home-profile-image,
    .home-profile-image img {
        transition: none;
        transform: none;
    }

    .home-profile-image.is-waiting {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {

    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {

    .home-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==================================================
   HOMEPAGE FAQ AND PHOTO
================================================== */

.split-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 60px;
}

.split-photo {
    align-self: stretch;
}

.split-photo img {
    width: 100%;
    height: 100%;
    min-height: 550px;
    object-fit: cover;
    background: #e5e5df;
}

.split-layout .text-link {
    margin-top: 30px;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 1100px) {

    .hero-grid {
        gap: 38px;
    }

    .enquiry-panel {
        padding: 28px;
    }

    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .split-layout {
        gap: 36px;
    }
	
	.home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 760px) {

    /* HOME HERO */

    .home-hero {
        padding-block: 50px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero-copy h1 {
        font-size: 39px;
    }

    .hero-copy > p:not(.eyebrow) {
        font-size: 14px;
    }

    .hero-copy .button-group .button {
        flex: 1 1 150px;
    }

    /* ENQUIRY PANEL */

    .enquiry-panel {
        padding: 28px 22px;
    }

    /* LICENCES AND FEATURED SERVICES */

    .licence-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* SERVICE CARDS */

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

    .service-card {
        padding: 26px;
    }

    .service-card h3 {
        min-height: 0;
    }

    .service-card li {
        font-size: 13px;
    }

    .service-card .button {
        align-self: flex-start;
        padding-inline: 25px;
    }


    /* BENEFIT CARDS */

    .benefit-card {
        padding: 22px 18px;
    }

    .benefit-card .card-number {
        margin-bottom: 34px;
    }


    /* HOMEPAGE FAQ AND PHOTO */

    .split-layout {
        grid-template-columns: 1fr;
    }

    .split-photo img {
        min-height: 0;
        height: auto;
        aspect-ratio: 1.3;
    }


    /* PROJECT GALLERY */


    .home-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 420px) {

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

    .hero-copy h1 {
        font-size: 35px;
    }
}