/* ==================================================
   HOMEPAGE ONLY
================================================== */


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

.hero-section {
    padding: 15px 0 0;
}

body.translatepress-fr_CA .hero-content {
    min-height: 500px;
}

.hero-wrapper {
    position: relative;

    min-height: 442px;

    overflow: visible;
}

.hero-background {
    position: absolute;
    inset: 0;

    overflow: hidden;

    border-radius: var(--radius);

    background: var(--primary-gradient-reverse);
}

.hero-map {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 56%;
    max-width: none;
    height: auto;

    opacity: 1;

    pointer-events: none;
    user-select: none;
}

.hero-content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 54%;
    min-height: 442px;

    padding: 0 0 0 38px;
}

.hero-content h1 {
    max-width: 590px;

    color: var(--white);

    font-family: var(--heading-font);
    font-size: 54px;
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: 0;
}

.hero-content p {
    max-width: 585px;

    margin-top: 18px;

    color: var(--white);

    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

p.hero-tagline {
    font-weight: 700;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 22px;
}

.hero-actions .btn {
    min-height: 42px;

    padding: 12px 16px;

    font-size: 14px;
    line-height: 17px;
}

.hero-actions .btn-light {
    min-width: 181px;
}

.hero-actions .btn-phone {
    min-width: 195px;
}

.hero-truck {
    position: absolute;
    right: 26px;
    bottom: -18px;
    z-index: 4;

    width: 43%;
    max-width: none;
    height: auto;

    pointer-events: none;
    user-select: none;
}


/* ==================================================
   HERO RESPONSIVE - 1199px
================================================== */

@media (max-width: 1199px) {

    .hero-wrapper,
    .hero-content {
        min-height: 410px;
    }

    .hero-content {
        width: 57%;

        padding-left: 34px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-map {
        width: 58%;
    }

    .hero-truck {
        right: 18px;

        width: 45%;
    }
}


/* ==================================================
   HERO RESPONSIVE - 991px
================================================== */

@media (max-width: 991px) {

    .hero-wrapper {
        min-height: 440px;
    }

    .hero-content {
        justify-content: flex-start;

        width: 100%;
        min-height: auto;

        padding: 48px 40px 0;
    }

    .hero-content h1 {
        max-width: 620px;

        font-size: 44px;
    }

    .hero-content p {
        max-width: 560px;
    }

    .hero-map {
        top: 50px;
        right: 0;

        width: 100%;
    }

    .hero-truck {
        display: none;
    }
}


/* ==================================================
   HERO RESPONSIVE - 767px
================================================== */

@media (max-width: 767px) {

    .hero-section {
        padding-top: 12px;
    }

    .hero-wrapper {
        min-height: 350px;
    }

    .hero-content {
        padding: 38px 28px 0;
    }

    .hero-content h1 {
        font-size: 38px;
        line-height: 1.15;
    }

    .hero-content p {
        margin-top: 16px;

        font-size: 15px;
        line-height: 26px;
    }

    .hero-actions {
        gap: 12px;

        margin-top: 20px;
    }

    .hero-actions .btn {
        min-width: 0;
    }
}


/* ==================================================
   HERO RESPONSIVE - 575px
================================================== */

@media (max-width: 575px) {

    .hero-wrapper {
        min-height: 430px;
    }

    .hero-content {
        padding: 32px 0;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}


/* ==================================================
   HOME ABOUT / VEHICLE TRANSPORT EXPERTS
================================================== */

.home-about .content-split {
    grid-template-columns: 1fr 1fr;

    gap: 78px;
}

.home-about-image {
    height: 382px;

    border-top-width: 6px;
}

.home-about-image img {
    object-position: center;
}

.home-about .content-split-content {
    max-width: 500px;
}

.home-about .content-split-content h2 {
    font-size: 48px;
    line-height: 1.14;
}

.home-about .content-split-content h2 .heading-highlight {
    display: block;
}

.home-about .content-split-content > p {
    margin-top: 16px;
}

.home-about .check-list {
    margin-top: 18px;
}

.home-about .check-list + .btn {
    margin-top: 24px;
}

.home-about .btn {
    min-width: 121px;
}


/* ==================================================
   TRANSPORT STATS
================================================== */

.home-stats {
    background: var(--primary-gradient-reverse);
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    align-items: center;

    min-height: 150px;
}

.home-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.home-stat-number {
    display: block;

    color: var(--white);

    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
}

.home-stat-label {
    display: block;

    margin-top: 8px;

    color: var(--white);

    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
}


/* ==================================================
   STATS RESPONSIVE - 991px
================================================== */

@media (max-width: 991px) {

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

        min-height: auto;

        padding: 32px 0;

        row-gap: 32px;
    }
}


/* ==================================================
   STATS RESPONSIVE - 575px
================================================== */

@media (max-width: 575px) {

    .home-stats-grid {
        grid-template-columns: 1fr;

        padding: 32px 0;

        gap: 28px;
    }

    .home-stat-number {
        font-size: 34px;
    }

    .home-stat-label {
        margin-top: 6px;

        font-size: 14px;
    }
}


/* ==================================================
   HOME SERVICES
================================================== */

.home-services .section-heading {
    max-width: 760px;

    margin-bottom: 52px;
}

.home-services .section-heading h2 {
    line-height: 1.12;
}

.home-services .section-heading h2 span {
    color: var(--primary);
}

.home-services .section-heading p {
    max-width: 690px;

    margin-top: 18px;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 6px 10px;
}

.home-service-card {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 190px;

    padding: 26px 24px;

    text-align: center;

    transition:
        transform var(--transition),
        border-color var(--transition);
}

.home-service-card:hover {
    transform: translateY(-2px);
}

.home-service-card h3 {
    max-width: 250px;

    margin: 0 auto;

    font-size: 25px;
    line-height: 1.15;
}

.home-service-card p {
    max-width: 260px;

    margin: 16px auto 0;

    color: var(--text);

    font-size: 16px;
    line-height: 22px;
}

.home-services-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 44px;
}

.home-services-actions .btn-primary {
    min-width: 181px;
}

.home-services-actions .btn-phone {
    min-width: 195px;
}


/* ==================================================
   WHY CHOOSE US
================================================== */

.home-why-box {
    position: relative;

    min-height: 510px;

    padding-bottom: 138px;
}

.home-why-media {
    position: relative;

    height: 480px;

    overflow: hidden;

    border-radius: var(--radius);
}

body.translatepress-fr_CA .home-why-media {
	height: 560px;
}

.home-why-media::after {
    content: '';

    position: absolute;
    inset: 0;

    background: rgba(18, 34, 52, 0.38);
}

.home-why-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.home-why-heading {
    position: absolute;
    top: 143px;
    left: 50%;
    z-index: 2;

    width: min(720px, calc(100% - 60px));

    transform: translateX(-50%);

    text-align: center;
}

.home-why-heading h2 {
    color: var(--white);

    font-size: 48px;
}

.home-why-heading p {
    max-width: 650px;

    margin: 18px auto 0;

    color: var(--white);
}

.home-why-cards {
    position: absolute;
    right: 38px;
    bottom: 0;
    left: 38px;
    z-index: 3;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 6px 10px;
}

.home-why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 120px;

    padding: 22px 18px;

    border: 1px solid var(--primary-dark);
    border-top: 6px solid var(--primary);
    border-radius: var(--radius);

    background: var(--white);

    text-align: center;
}

.home-why-card h3 {
    margin: 0;

    font-size: 25px;
    line-height: 1.15;
}

.home-why-card p {
    max-width: 260px;

    margin: 12px auto 0;

    font-size: 16px;
    line-height: 22px;
}


/* ==================================================
   HOME CTA - FULL WIDTH
================================================== */

.home-cta {
    width: 100%;
}

.home-cta-bg {
    width: 100%;

    background: var(--primary-gradient-reverse);
}

.home-cta-inner {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 310px;

    overflow: visible;
}

.home-cta-content {
    position: relative;
    z-index: 2;

    width: 56%;
    max-width: 610px;

    padding: 48px 0;
}

.home-cta h2 {
    color: var(--white);

    font-size: 48px;
    line-height: 1.14;
}

.home-cta p {
    max-width: 610px;

    margin-top: 18px;

    color: var(--white);
}

.home-cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 26px;
}

.home-cta-actions .btn-light {
    min-width: 181px;
}

.home-cta-actions .btn-phone {
    min-width: 195px;
}

.home-cta-truck {
    position: absolute;
    right: 0;
    bottom: -8px;
    z-index: 2;

    width: 500px;
    max-width: none;
    height: auto;

    pointer-events: none;
    user-select: none;
}

/* ==================================================
   PERSIAN CTA TRUCK
================================================== */

html[dir="rtl"] .home-cta-truck {
    right: auto;
    left: 0;

    transform: scaleX(-1);
}


/* ==================================================
   HOME FAQ
================================================== */

.home-faq .section-heading {
    max-width: 760px;

    margin-bottom: 46px;
}

.home-faq .section-heading h2 {
    font-size: 48px;
    line-height: 1.12;
}

.home-faq .section-heading p {
    max-width: 680px;

    margin-top: 18px;
}

.home-faq .faq-list {
    max-width: 790px;
}

.home-faq .faq-item {
    margin-bottom: 14px;
}

.home-faq .faq-question {
    min-height: 62px;
}

.home-faq .faq-answer {
    padding-top: 0;
}


/* ==================================================
   RESPONSIVE - 1199px
================================================== */

@media (max-width: 1199px) {

    .home-about .content-split {
        gap: 55px;
    }

    .home-about-image {
        height: 360px;
    }

    .home-about .content-split-content h2,
    .home-why-heading h2,
    .home-cta h2,
    .home-faq .section-heading h2 {
        font-size: 42px;
    }

    .home-service-card h3,
    .home-why-card h3 {
        font-size: 22px;
    }

    .home-cta-content {
        width: 58%;
    }

    .home-cta-truck {
        width: 430px;
    }
}


/* ==================================================
   RESPONSIVE - 991px
================================================== */

@media (max-width: 991px) {

    .home-about .content-split {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .home-about-image {
        height: 430px;
    }

    .home-about .content-split-content {
        max-width: 100%;
    }

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

    .home-why-box {
        min-height: auto;

        padding-bottom: 0;
    }

    .home-why-media {
        height: 360px;
    }

    .home-why-heading {
        top: 125px;
    }

    .home-why-cards {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        margin: -55px 28px 0;
    }

    .home-cta-inner {
        min-height: auto;
    }

    .home-cta-content {
        width: 100%;
        max-width: 620px;

        padding: 48px 0;
    }

    .home-cta-truck {
        display: none;
    }
}


/* ==================================================
   RESPONSIVE - 767px
================================================== */

@media (max-width: 767px) {

    .home-about-image {
        height: 380px;
    }

    .home-about .content-split-content h2,
    .home-why-heading h2,
    .home-cta h2,
    .home-faq .section-heading h2 {
        font-size: 34px;
    }

    .home-services-grid,
    .home-why-cards {
        grid-template-columns: 1fr;
    }

    .home-service-card {
        min-height: 165px;
    }

    .home-services-actions {
        margin-top: 34px;
    }

    .home-why-media {
        height: 330px;
    }

    .home-why-heading {
        top: 100px;

        width: calc(100% - 40px);
    }

    .home-why-cards {
        margin: -40px 20px 0;
    }

    .home-cta-content {
        padding: 42px 0;
    }

    .home-faq .faq-question {
        min-height: 58px;
    }
}


/* ==================================================
   RESPONSIVE - 575px
================================================== */

@media (max-width: 575px) {

    .home-about-image {
        height: 320px;
    }

    .home-about .content-split-content h2,
    .home-why-heading h2,
    .home-cta h2,
    .home-faq .section-heading h2 {
        font-size: 30px;
    }

    .home-services .section-heading {
        margin-bottom: 38px;
    }

    .home-services-actions,
    .home-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-why-media {
        height: 300px;
    }

    .home-why-heading {
        top: 75px;
    }

    .home-why-cards {
        margin-right: 14px;
        margin-left: 14px;
    }

    .home-cta-content {
        padding: 38px 0;
    }

    .home-cta-actions .btn {
        width: 100%;
    }
}