@font-face {
    font-family: 'Ariana Pro Black';
    src: url('../font/Ariana Pro Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Ariana Pro Regular';
    src: url('../font/Ariana Pro Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Muller Regular';
    src: url('../font/Muller-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

:root {
    --primary-red: #c2221f;
    --secundary-red: #35001c;
    --dark-grey: #1A1A1A;
    --dark: #000000;
    --text-color: #333;
    --light-grey: #F5F5F5;
    --white: #FFFFFF;
    --font-heading: 'Ariana Pro Black', sans-serif;
    --font-body: 'Muller Regular', sans-serif;

    --h1-size: 75px;
    --h1-lh: 1.2em;
    --h2-size: 36px;
    --h2-lh: 1.2em;
    --h3-size: 28px;
    --h3-lh: 1.2em;
    --h4-size: 21px;
    --h4-lh: 1.2em;
    --h5-size: 18px;
    --h5-lh: 1.5em;
    --h6-size: 16px;
    --h6-lh: 1.5em;
    --p-size: 18px;
    --p-lh: 1.5em;
    --nav-size: 14px;
    --nav-lh: 1.5em;
}

@media (max-width: 1023px) {
    :root {
        --h1-size: 64px;
        --h2-size: 32px;
        --h3-size: 24px;
    }
}

@media (max-width: 666px) {
    :root {
        --h1-size: 48px;
        --h2-size: 28px;
        --h3-size: 23px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--p-size);
    line-height: var(--p-lh);
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 900;
}

h1 {
    font-size: var(--h1-size);
    line-height: var(--h1-lh);
}

h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-lh);
}

h3 {
    font-size: var(--h3-size);
    line-height: var(--h3-lh);
}

h4 {
    font-size: var(--h4-size);
    line-height: var(--h4-lh);
}

h5 {
    font-size: var(--h5-size);
    line-height: var(--h5-lh);
}

h6 {
    font-size: var(--h6-size);
    line-height: var(--h6-lh);
}

p {
    font-size: var(--p-size);
    line-height: var(--p-lh);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url(../img/hero-red-carga.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    color: var(--dark-grey);
    display: flex;
    justify-content: center;
    padding: 100px;
    overflow: hidden;
}

.service-title {
    color: var(--primary-red);
}

.service-card h6,
.service-card p {
    color: var(--dark);
}

.service-card.empresa .service-title,
.service-card.empresa p,
.service-card.empresa h6 {
    padding-left: 0px;
    padding-right: 200px;
}

.service-card.empresa a {
    margin-top: 20px;
    margin-right: 200px;
}

.service-card.transportista .service-title,
.service-card.transportista p,
.service-card.transportista h6 {
    padding-left: 200px;
    padding-right: 0px;
}

.service-card.transportista a {
    margin-top: 20px;
    margin-left: 200px;
}

span.text {
    line-height: 1em;
    display: block;
    max-height: 14px;
}


nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: transparent;
    transition: all 0.4s ease;
}


nav.header-hidden {
    transform: translateY(-100%);
}

nav.header-sticky {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 5%;
}

.logo img {
    width: 180px;
    transition: width 0.3s;
}

nav.header-sticky .logo img {
    width: 180px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #36031D;
    background: -webkit-linear-gradient(90deg, rgba(54, 3, 29, 1) 0%, rgba(194, 34, 31, 1) 50%);
    background: -moz-linear-gradient(90deg, rgba(54, 3, 29, 1) 0%, rgba(194, 34, 31, 1) 50%);
    background: linear-gradient(90deg, rgba(54, 3, 29, 1) 0%, rgba(194, 34, 31, 1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#36031D", endColorstr="#C2221F", GradientType=1);
    padding: 8px 10px 8px 25px;
    border-radius: 150px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: var(--nav-size);
    line-height: var(--nav-lh);
    transition: color 0.3s;
}

.nav-links a:hover {
    border-bottom: 1px solid var(--white);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    display: block;
    background-color: var(--white);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.btn-connect {
    background: #000;
    color: #fff;
    padding: 3px 3px 3px 15px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-connect img {
    width: 30px;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: column;
    max-width: 650px;
    gap: 20px;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 20px;
    text-transform: capitalize;
}

.hero-content p {
    font-size: var(--h4-size);
}

span.carga {
    color: var(--primary-red);
}

.btn-info {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 40px;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: var(--h4-size);
}

.hero-shape {
    position: absolute;
    right: -70px;
    z-index: 5;
    margin: auto 0;
}

.service-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    padding: 100px;
}

.service-card {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.btn-action {
    background: #000;
    color: #fff;
    padding: 3px 3px 3px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: transform 0.3s;
    width: fit-content;
}

.reverse {
    padding: 3px 20px 3px 3px;
}

.btn-action img {
    width: 30px;
}

.services-divider {
    width: 20%;
    margin-top: 150px;
    HEIGHT: stretch;
    position: relative;
}

.services-divider img {
    width: 100%;
}

.image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.service-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
}

.service-img.mobile {
    display: none;
}

.service-img.desktop {
    display: block;
}

.shipments-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 0 0 0 100px;
    background-image: url(../img/fondo-servicios-de-envios.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.shipments-section h2 {
    color: var(--primary-red);
}

.shipments-section .respaldados {
    width: 530px;
}

.respaldados p {
    color: var(--primary-red);
    margin-bottom: 40px;
    padding-right: 5px;
    font-size: var(--h4-size);
}

.shipments-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 20px;
    align-content: center;
}

.shipment-card {
    width: 30%;
}

.shipment-card img {
    width: 100%;
    max-width: 140px;
}

.iconos-envios {
    background-image: url(../img/icon-empresas-mexico.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-end;
    justify-content: space-between;
    height: stretch;
    width: 50%;
    padding: 300px 60px 300px;
}

.iconos-envios .icon-logo {
    width: 180px;
}

.reviews {
    padding: 100px 100px 100px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.reviews h2 {
    color: var(--primary-red);
    max-width: 300px;
    margin-left: -300px;
    font-family: 'Ariana Pro Regular';
}

.reviews span {
    font-family: 'Ariana Pro Black';
}

.reviews-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
}

.reviews img {
    width: 100%;
}

.review-card {
    background-color: var(--secundary-red);
    border-radius: 25px;
    padding: 0px 30px 40px;
    color: var(--white);
    width: 28%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    height: stretch;
}

.review-card div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.review-card .user {
    width: 200px;
    height: auto;
    margin: -60px auto 20px;
}

.review-card .role {
    font-family: 'Ariana Pro Black';
}

.review-card .icons-stars {
    width: 130px;
    height: auto;
    margin-top: 20px;
}

.metrics {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 100px;
    background-image: url(../img/fondo-metricas.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.stats {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    align-content: center;
}

.stat {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat h2 {
    color: var(--secundary-red);
}

.stat h6 {
    color: var(--secundary-red);
    text-align: center;
}

.stats hr {
    width: 2px;
    height: 180px;
    background-color: var(--primary-red);
    border: none;
}

.awards {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    align-content: center;
}

.award {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--secundary-red);
    text-align: center;
    padding: 0 60px;
}

.award img {
    width: 75px;
}

.apps {
    padding: 50px 100px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.apps .apps-stores {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.apps .logo-h {
    max-width: 300px;
    width: 100%;
}

.apps h2 {
    color: var(--primary-red);
    font-family: 'Ariana Pro Regular';
    width: 580px;
    text-align: center;
}

.apps span {
    font-family: 'Ariana Pro Black';
}

.apps .app-store {
    width: 200px;
}

.apps .play-store {
    width: 200px;
}

.cta {
    background-color: var(--secundary-red);
    padding: 50px 100px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cta h2,
.cta p {
    color: var(--white);
    text-align: center;
}

.cta form {
    width: 35%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cta form input,
.cta form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-family: 'Muller Regular';
    font-size: var(--font-body);
    outline: none;
}

.cta form button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    background-color: var(--primary-red);
    color: var(--white);
    cursor: pointer;
    font-family: 'Muller Regular';
    font-size: var(--font-body);
}

@media(max-width:1023px) {

    nav,
    nav.header-sticky {
        padding: 15px 40px;
    }

    .nav-container {
        padding: 5px 15px;
        gap: 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .logo img,
    nav.header-sticky .logo img {
        width: 150px;
    }

    .hero {
        padding: 80px 40px;
        height: auto;
        min-height: 500px;
    }

    .hero-shape {
        right: -220px;
        z-index: 0;
    }

    .hero-shape img {
        width: 70%;
    }

    .service-section {
        padding: 80px 40px;
    }

    .service-card.empresa .service-title,
    .service-card.empresa p,
    .service-card.empresa h6 {
        padding-right: 100px;
    }

    .service-card.empresa a {
        margin-right: 100px;
    }

    .service-card.transportista .service-title,
    .service-card.transportista p,
    .service-card.transportista h6 {
        padding-left: 100px;
    }

    .service-card.transportista a {
        margin-left: 100px;
    }

    .services-divider {
        margin-top: 100px;
    }

    .shipments-section {
        padding: 0 0 0 40px;
    }

    .shipments-section .respaldados {
        width: 50%;
    }

    .iconos-envios {
        width: 45%;
        padding: 150px 15px 150px;
    }

    .iconos-envios .icon-logo {
        width: 130px;
    }

    .reviews {
        padding: 80px 40px;
    }

    .reviews h2 {
        max-width: 260px;
        margin-bottom: 40px;
    }

    .reviews img {
        width: 90%;
    }

    .review-card {
        width: 31%;
    }

    .review-card {
        padding: 0 25px 30px;
    }

    .review-card .user {
        width: 180px;
    }

    .review-card br {
        display: none;
    }


    .metrics {
        padding: 80px 40px;
    }

    .award {
        padding: 0 30px;
    }

    .stats hr {
        height: 160px;
    }

    .apps {
        padding: 40px;
    }

    .apps .logo-h {
        max-width: 260px;
    }

    .apps .app-store {
        width: 160px;
    }

    .apps .play-store {
        width: 160px;
    }

    .apps h2 {
        width: 100%;
        max-width: 580px;
    }

    .contacto {
        padding: 40px;
    }

    .cta {
        padding: 40px;
    }
}

@media(max-width:666px) {
    .hamburger {
        display: flex;
        order: 3;
        margin-left: 15px;
    }

    .btn-connect {
        order: 2;
        margin-left: auto;
        margin-right: 0;
    }

    .logo {
        max-width: 120px;
    }

    .logo img {
        width: 100%;
    }

    nav.header-sticky .logo img {
        max-width: 120px;
    }

    .nav-container {
        padding: 5px 10px;
        gap: 10px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 0px;
        gap: 10px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .nav-links.active {
        display: flex;
        align-items: flex-start;
        border-radius: 25px;
    }

    .nav-links.active li {
        border-bottom: 1px solid var(--primary-red);
        padding: 5px 15px;
        width: 100%;
    }

    .nav-links.active li:last-child {
        border-bottom: none;
        padding-bottom: 15px;
    }

    .nav-links.active li:first-child {
        padding-top: 10px;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav,
    nav.header-sticky {
        padding: 15px 30px;
    }

    .nav-links a {
        color: var(--dark);
    }

    .nav-links a:hover {
        color: var(--primary-red);
    }

    .hero {
        padding: 80px 30px;
    }

    .hero-shape {
        right: -60px;
        display: flex;
        justify-content: flex-end;
        bottom: 0;
    }

    .hero-shape img {
        width: 50%;
    }

    .hero-content p {
        font-size: var(--font-body);
    }

    .service-section {
        padding: 70px 30px;
        flex-wrap: wrap;
    }

    .services-divider {
        width: 100%;
        margin: 0px;
        padding: 20px 0;
        text-align: center;
    }

    .services-divider img {
        width: 150px;
    }

    .service-card {
        width: 100%;
    }

    .service-card.empresa .service-title,
    .service-card.empresa p,
    .service-card.empresa h6,
    .service-card.transportista .service-title,
    .service-card.transportista p,
    .service-card.transportista h6 {
        padding: 0px;
    }

    .service-card.empresa a {
        margin-right: 0px;
    }

    .service-card.transportista a {
        margin-left: 0px;
    }

    .service-img.desktop {
        display: none;
    }

    .service-img.mobile {
        display: block;
        width: 80%;
    }

    .shipments-section {
        padding: 70px 30px 30px;
        background-position: right;
    }

    .shipments-section .respaldados {
        width: 100%;
    }

    .shipment-card {
        width: 45%;
    }

    .iconos-envios {
        width: 100%;
        background: none;
        padding: 0%;
    }

    .iconos-envios .icon-logo {
        width: 60px;
    }

    .reviews {
        padding: 70px 30px;
    }

    .reviews img.proceso {
        width: 100%;
        order: 1;
    }

    .reviews h2 {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        text-align: center;
        order: 0;
    }

    .reviews-content {
        order: 2;
        gap: 90px;
    }

    .review-card {
        width: 100%;
    }

    .review-card .icons-stars {
        margin: 0%;
    }

    .metrics {
        padding: 70px 30px;
    }

    .stats {
        gap: 20px;
    }

    .stat {
        width: 100%;
    }

    .stats hr {
        height: 2px;
        width: 80%;
        margin: 0 auto;
    }

    .award {
        padding: 0px;
        width: 100%;
    }

    .apps {
        padding: 30px;
    }

    .cta {
        padding: 30px;
    }

    .cta form {
        width: 100%;
    }
}