@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);
}

section {
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    section {
        margin-bottom: 48px;
    }
}

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

.hero {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    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: 160px 100px 110px;
    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;
}

body.contacto-page > header > nav {
    background: var(--white);
}

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);
}

.nav-links li {
    position: relative;
}

.nav-links .submenu-inicio,
.nav-links .submenu-nosotros {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 8px 24px rgba(53, 0, 28, 0.16);
    z-index: 120;
}

.nav-links .submenu-inicio li,
.nav-links .submenu-nosotros li {
    width: 100%;
}

.nav-links .submenu-inicio a,
.nav-links .submenu-nosotros a {
    display: block;
    width: 100%;
    color: #35001c;
    padding: 8px 14px;
    border-bottom: none;
}

.nav-links .submenu-inicio a:hover,
.nav-links .submenu-nosotros a:hover {
    border-bottom: none;
    background: #f5f5f5;
}

.nav-links .has-submenu:hover .submenu-inicio,
.nav-links .has-submenu.open .submenu-inicio,
.nav-links .has-submenu:hover .submenu-nosotros,
.nav-links .has-submenu.open .submenu-nosotros {
    display: block;
}

.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-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: column;
    width: min(100%, 740px);
    max-width: 740px;
    gap: 20px;
    z-index: 1;
    text-align: left;
}

.hero-secondary {
    width: min(100%, 380px);
    max-width: 380px;
    color: #35001c;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-size: var(--h5-size);
    line-height: var(--h5-lh);
    text-align: justify;
    z-index: 1;
}

.hero-secondary p {
    margin: 0;
}

.hero-content h1 {
    margin-top: 1.5em;
    margin-bottom: 20px;
    text-transform: none;
    color: #35001c;
    font-family: 'Ariana Pro Black', sans-serif;
}

.hero-title-accent {
    color: #c3221f;
    font-weight: 900;
}

.hero-subtitle {
    font-size: var(--h4-size);
    color: #35001c;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-weight: 400;
    width: min(100%, 620px);
    max-width: 620px;
    text-align: justify;
}

.hero-subnote {
    font-size: var(--h4-size);
    color: #35001c;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-weight: 400;
    width: min(100%, 620px);
    max-width: 620px;
    text-align: justify;
    margin-top: -6px;
}

.hero-body {
    font-size: var(--h4-size);
    color: #35001c;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-weight: 400;
    width: min(100%, 620px);
    max-width: 620px;
    text-align: justify;
}

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-cta-note {
    font-family: 'Ariana Pro Regular', sans-serif;
    font-size: 0.82rem;
    line-height: 1.3;
    color: #35001c;
    margin-top: -8px;
    width: min(100%, 620px);
    max-width: 620px;
    text-align: justify;
}

@media (min-width: 1024px) {
    .hero-content {
        margin-left: 40px;
    }
}

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

#como-funciona-v2.cards-feature-section {
    padding: 90px 30px;
}

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

.cards-feature-title {
    color: #35001c;
    font-family: 'Ariana Pro Black', sans-serif;
    text-align: center;
    margin-bottom: 34px;
}

.cards-feature-title-accent {
    color: #c3221f;
}

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

.cards-feature-card {
    background: linear-gradient(135deg, #edede9 0%, #e6e2dd 100%);
    border-radius: 16px;
    border: 1px solid #d0cac4;
    box-shadow: 8px 10px 24px rgba(53, 0, 28, 0.08);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.cards-feature-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c3221f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Ariana Pro Black', sans-serif;
    font-weight: 900;
}

.cards-feature-card h3,
.cards-feature-card h6,
.cards-feature-card p {
    color: #35001c;
}

.cards-feature-card h3 {
    font-family: 'Ariana Pro Black', sans-serif;
    text-align: center;
}

.cards-feature-number {
    margin: 0 auto;
}

.cards-feature-subtitle,
.cards-feature-text {
    font-family: 'Ariana Pro Regular', sans-serif;
    text-align: justify;
}

.cards-feature-footer {
    margin-top: 30px;
    text-align: center;
    color: #35001c;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-size: var(--h5-size);
    line-height: var(--h5-lh);
}

.cards-feature-cta {
    margin: 22px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #35001c 0%, #c3221f 100%);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0.8px;
    font-size: 18px;
    border: 1px solid rgba(53, 0, 28, 0.35);
    box-shadow: 0 2px 0 rgba(53, 0, 28, 0.25);
}

#problema-contraste {
    width: 100%;
    background: rgba(232, 229, 224, 0.4);
    padding: 60px 20px;
}

#problema-contraste .problem-block {
    background: #edede9;
    color: #35001c;
    border-radius: 16px;
    padding: 40px;
}

#problema-contraste .problem-block p {
    color: #35001c;
}

.problem-container,
.contrast-container {
    max-width: 1200px;
    margin: 0 auto;
}

.problem-visual-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 34px;
}

.problem-visual-item h5 {
    color: #35001c;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Ariana Pro Black', sans-serif;
}

.problem-visual-placeholder {
    width: 100%;
    min-height: 160px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.5);
    background: rgba(237, 237, 233, 0.16);
}

.problem-visual-placeholder--isotipo {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.problem-visual-isotipo {
    display: block;
    position: absolute;
    inset: 7.5%;
    width: 85%;
    height: 85%;
    object-fit: contain;
    margin: auto;
}

.problem-visual-note {
    min-height: 160px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
    padding: 14px;
}

.problem-container h2 {
    color: #35001c;
    text-align: center;
    font-family: 'Ariana Pro Black', sans-serif;
    margin-bottom: 20px;
}

.problem-intro {
    color: #35001c;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 34px;
    font-family: 'Ariana Pro Regular', sans-serif;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.problem-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    color: #35001c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.problem-card h3 {
    background: #3A0F35;
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 10px;
    text-align: left;
    font-weight: 600;
    font-family: 'Ariana Pro Black', sans-serif;
    margin: 0;
}

.problem-card ul {
    list-style: disc;
    margin-top: 16px;
    margin-bottom: 0;
    padding-left: 18px;
    text-align: left;
    display: grid;
    gap: 10px;
    font-family: 'Ariana Pro Regular', sans-serif;
}

.problem-card li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #4A1942;
}

.problem-card.resultado {
    border: 1.5px solid rgba(74, 25, 66, 0.25);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .problem-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .problem-card.resultado {
        transform: none;
    }
}

.problem-note {
    margin-top: 18px;
    color: #35001c;
    text-align: center;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-size: var(--h5-size);
    line-height: var(--h5-lh);
}

.contrast-block {
    background: transparent;
    padding: 80px 20px;
}

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

.contrast-card {
    position: relative;
    background: linear-gradient(to right, #d0cac4 0%, #d0cac4 50%, #ffffff 50%, #ffffff 100%);
    border-radius: 14px;
    border: 1px solid #d0cac4;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
}

.contrast-card::before {
    content: "RedCarga";
    position: absolute;
    top: 8px;
    left: 75%;
    transform: translateX(-50%);
    color: #c3221f;
    font-family: 'Ariana Pro Black', sans-serif;
    font-weight: 900;
    font-size: 16px;
    z-index: 3;
    pointer-events: none;
}

.contrast-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-100%, -50%);
    width: 46px;
    height: 46px;
    background: url("../img/flecha.png") center / contain no-repeat;
    z-index: 3;
    pointer-events: none;
}

.contrast-card h6,
.contrast-card p {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.contrast-card h6:first-of-type,
.contrast-card p:first-of-type {
    background: #d0cac4;
    color: #43484d;
    text-align: center;
}

.contrast-card h6:first-of-type {
    grid-column: 1;
    grid-row: 1;
    padding: 24px 24px 8px;
    font-family: 'Ariana Pro Black', sans-serif;
    font-size: var(--h5-size);
    line-height: var(--h5-lh);
    font-weight: 900;
}

.contrast-card p:first-of-type {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    padding: 4px 24px 0;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-size: calc(var(--p-size) * 0.75);
    line-height: var(--p-lh);
}

.contrast-card h6:last-of-type {
    display: none;
}

.contrast-card p:last-of-type {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    padding: 120px 24px 18px;
    color: #c3221f;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-size: var(--p-size);
    line-height: var(--p-lh);
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.contrast-card .contrast-after-image-wrap {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    justify-self: center;
    padding: 54px 20px 0;
    z-index: 2;
    pointer-events: none;
}

.contrast-card .contrast-after-image {
    width: auto;
    max-width: 100%;
    max-height: 114px;
    height: auto;
    object-fit: contain;
    display: block;
}

.contrast-card p:last-of-type {
    padding-top: 188px;
}

.contrast-card .contrast-before-image-wrap {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 82px 24px 14px;
    z-index: 1;
}

.contrast-card .contrast-before-image {
    width: auto;
    max-width: 100%;
    max-height: 78px;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0.9;
    filter: saturate(0.9);
}

#segmentos {
    padding: 90px 30px;
    background: #ffffff;
}

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

#segmentos .segmentos-title {
    color: #35001c;
    font-weight: 600;
    text-align: left;
    margin-bottom: 12px;
    font-family: 'Ariana Pro Black', sans-serif;
}

#segmentos .segmentos-logo {
    display: block;
    width: min(100%, 420px);
    height: auto;
    margin: 0 0 28px;
}

#segmentos .segmentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

#segmentos .segmentos-card {
    background: #edede9;
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#segmentos .segmentos-card h3 {
    color: #35001c;
    font-weight: 600;
    font-family: 'Ariana Pro Black', sans-serif;
    text-align: center;
    margin: 0 0 20px;
    min-height: 96px;
}

#segmentos .segmentos-card p,
#segmentos .segmentos-card li {
    color: #35001c;
    font-family: 'Ariana Pro Regular', sans-serif;
}

#segmentos .segmentos-intro {
    min-height: 168px;
    margin: 0 0 8px;
}

#segmentos > .segmentos-container > .segmentos-grid > article:nth-child(1) > p.segmentos-intro,
#segmentos > .segmentos-container > .segmentos-grid > article:nth-child(2) > p.segmentos-intro,
#segmentos > .segmentos-container > .segmentos-grid > article:nth-child(3) > p.segmentos-intro {
    text-align: justify;
}

#segmentos .segmentos-kicker {
    margin: 0 0 6px;
}

#segmentos .segmentos-card ul {
    list-style: disc;
    padding-left: 18px;
    margin: 0 0 8px;
    display: grid;
    gap: 6px;
}

#segmentos .segmentos-accent {
    color: #c3221f;
}

#segmentos .segmentos-cta {
    margin-top: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #35001c 0%, #c3221f 100%);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    border: 1px solid rgba(53, 0, 28, 0.35);
    box-shadow: 0 2px 0 rgba(53, 0, 28, 0.28);
    text-align: center;
}

#segmentos .segmentos-cta-small {
    display: block;
    font-size: 0.5em;
    font-weight: 700;
    line-height: 1.1;
}

#segmentos .segmentos-cta-strong {
    display: block;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.1;
}

#segmentos .segmentos-decor {
    margin-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

#segmentos .segmentos-decor-item {
    width: 68px;
    height: auto;
    opacity: 0.55;
}

#segmentos .segmentos-decor-item-rotate {
    transform: rotate(90deg);
    transform-origin: center;
}

#integracion {
    padding: 90px 30px;
    background: #edede9;
}

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

#integracion .integracion-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 28px;
}

#integracion .integracion-header img {
    height: 82px;
    width: auto;
}

#integracion .integracion-header h2 {
    color: #35001c;
    font-weight: 700;
    font-family: 'Ariana Pro Black', sans-serif;
}

#integracion .integracion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

#integracion .integracion-left p,
#integracion .integracion-left h3,
#integracion .integracion-mini-card p,
#integracion .integracion-value-block h3,
#integracion .integracion-value-block li {
    color: #35001c;
}

#integracion .integracion-left p,
#integracion .integracion-value-block li,
#integracion .integracion-mini-card p {
    font-family: 'Ariana Pro Regular', sans-serif;
}

#integracion > .integracion-container > .integracion-grid > .integracion-left > p:nth-child(1),
#integracion > .integracion-container > .integracion-grid > .integracion-left > p:nth-child(2) {
    text-align: justify;
}

#integracion .integracion-left h3,
#integracion .integracion-value-block h3 {
    font-family: 'Ariana Pro Black', sans-serif;
    margin-top: 20px;
    margin-bottom: 14px;
    text-align: center;
}

#integracion .integracion-mini-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#integracion .integracion-mini-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(53, 0, 28, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#integracion .integracion-mini-card img {
    max-width: 80px;
    width: 100%;
    height: auto;
}

#integracion .integracion-mini-card p {
    text-align: center;
}

#integracion .integracion-main-image {
    max-width: 100%;
    height: auto;
    display: block;
}

#integracion .integracion-value-block {
    margin-top: 18px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(53, 0, 28, 0.1);
}

#integracion .integracion-value-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

#integracion .integracion-cta {
    margin: 16px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: fit-content;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #35001c 0%, #c3221f 100%);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    border: 1px solid rgba(53, 0, 28, 0.35);
    box-shadow: 0 2px 0 rgba(53, 0, 28, 0.28);
    text-align: center;
}

#faq {
    background: #ffffff;
    padding: 40px 30px;
}

#faq .faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

#faq .faq-title {
    color: #35001c;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    font-family: 'Ariana Pro Black', sans-serif;
}

#faq .faq-list {
    display: grid;
    gap: 0;
}

#faq .faq-item {
    display: block;
    position: relative;
    background: transparent;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    border: none;
    box-shadow: none;
    transition: all 0.2s ease;
}

#faq .faq-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -7px;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(208, 202, 196, 0) 0%,
            rgba(208, 202, 196, 0.9) 18%,
            rgba(208, 202, 196, 0.9) 82%,
            rgba(208, 202, 196, 0) 100%);
    pointer-events: none;
}

#faq .faq-item:hover {
    box-shadow: none;
}

#faq .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#faq .faq-question img {
    width: 16px;
    height: auto;
    flex: 0 0 auto;
    border: none;
    box-shadow: none;
}

#faq .faq-question p {
    color: #35001c;
    margin: 0;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-weight: 400;
    flex: 1;
}

#faq .faq-question::after {
    content: "›";
    color: #35001c;
    font-size: 20px;
    line-height: 1;
    transform: rotate(90deg);
    transition: all 0.2s ease;
}

#faq .faq-question[aria-expanded="true"]::after {
    color: #c3221f;
    transform: rotate(-90deg);
}

#faq .faq-answer {
    display: none;
    margin-top: 10px;
    transition: all 0.2s ease;
}

#faq .faq-item.is-open .faq-answer {
    display: block;
}

#faq .faq-answer p {
    color: #35001c;
    text-align: left;
    margin: 0;
    line-height: 1.5;
    padding-left: 18px;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-size: 0.92em;
}

#faq .faq-cta-wrap {
    margin-top: 18px;
    text-align: center;
    display: grid;
    gap: 14px;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
}

#faq .faq-cta-wrap p {
    color: #35001c;
    margin: 0;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-weight: 700;
}

#faq .faq-cta {
    margin: 0 auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #35001c 0%, #c3221f 100%);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    border: 1px solid rgba(53, 0, 28, 0.35);
    box-shadow: 0 2px 0 rgba(53, 0, 28, 0.28);
    text-align: center;
}

#faq .faq-cta strong {
    margin-left: 4px;
}

#nosotros {
    padding: 80px 24px;
    background: #ffffff;
}

#nosotros .nosotros-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

#nosotros .nosotros-block h1,
#nosotros .nosotros-block h2,
#nosotros .nosotros-block p,
#nosotros .nosotros-cierre p {
    color: #35001c;
}

#nosotros .nosotros-hero {
    margin-top: 48px;
    margin-bottom: 40px;
}

#nosotros .nosotros-hero h1,
#nosotros .nosotros-hero p {
    text-align: left;
}

#nosotros .nosotros-accent {
    color: #c3221f;
}

#nosotros .nosotros-hero p {
    margin-top: 14px;
    font-size: var(--h2-size);
    line-height: var(--h2-lh);
}

#nosotros .nosotros-hero p,
#nosotros .nosotros-block p,
#nosotros .nosotros-cierre p {
    font-family: 'Ariana Pro Regular', sans-serif;
}

#nosotros #nosotros-origen {
    position: relative;
    background: #edede9;
    border-radius: 12px;
    padding: 34px 32px;
    overflow: hidden;
}

#nosotros #nosotros-origen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/nosotros-origen-bg.png") right center / cover no-repeat;
    pointer-events: none;
    z-index: 0;
}

#nosotros #nosotros-origen h2,
#nosotros #nosotros-origen p {
    position: relative;
    z-index: 1;
    max-width: 58%;
}

#nosotros #nosotros-origen h2 {
    margin-bottom: 18px;
    font-family: 'Ariana Pro Black', sans-serif;
    font-weight: 900;
}

#nosotros #nosotros-origen .nosotros-accent {
    color: #c3221f;
}

#nosotros #nosotros-origen p {
    text-align: justify;
    font-size: var(--p-size);
    line-height: var(--p-lh);
}

#nosotros .nosotros-problema {
    border-top: 1px solid #d0cac4;
    padding-top: 40px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

#nosotros #nosotros-problema::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/nosotros-problema-bg.png) right center / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}

#nosotros #nosotros-problema h2,
#nosotros #nosotros-problema p {
    position: relative;
    z-index: 1;
}

#nosotros #nosotros-problema h2 {
    margin-bottom: 18px;
}

#nosotros #nosotros-problema p {
    font-family: 'Ariana Pro Regular', sans-serif;
    font-weight: 400;
    text-align: justify;
    font-size: var(--p-size);
    line-height: var(--p-lh);
}

#nosotros #nosotros-experiencia {
    background-image: url(../img/fondo-servicios-de-envios.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #edede9;
    border-radius: 12px;
    padding: 40px 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 28px;
}

#nosotros #nosotros-experiencia h2,
#nosotros #nosotros-experiencia p {
    grid-column: 1;
}

#nosotros #nosotros-experiencia p {
    text-align: justify;
    font-size: var(--p-size);
    line-height: var(--p-lh);
}

#nosotros #nosotros-experiencia .nosotros-experiencia-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    max-width: 460px;
    height: auto;
    display: block;
    justify-self: end;
    border: 0;
    box-shadow: none;
    border-radius: 8px;
    object-fit: cover;
}

#nosotros .nosotros-divider-wide {
    width: 100vw;
    height: 1px;
    margin: 8px 0 20px;
    margin-left: calc(50% - 50vw);
    background: linear-gradient(90deg,
            rgba(208, 202, 196, 0) 0%,
            rgba(208, 202, 196, 0.92) 15%,
            rgba(208, 202, 196, 0.92) 85%,
            rgba(208, 202, 196, 0) 100%);
}

#nosotros #nosotros-propuesta {
    background: #ffffff;
}

#nosotros #nosotros-propuesta h2 {
    margin-bottom: 18px;
}

#nosotros #nosotros-propuesta p {
    font-family: 'Ariana Pro Regular', sans-serif;
    font-weight: 400;
    text-align: justify;
    font-size: var(--p-size);
    line-height: var(--p-lh);
}

#nosotros #nosotros-propuesta .nosotros-propuesta-image {
    display: block;
    width: min(100%, 258px);
    height: auto;
    margin: 26px auto 0;
}

#nosotros .nosotros-vision {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

#nosotros #nosotros-vision::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/nosotros-problema-bg.png) right center / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}

#nosotros #nosotros-vision h2,
#nosotros #nosotros-vision p {
    position: relative;
    z-index: 1;
}

#nosotros-vision > p {
    text-align: justify;
}

#nosotros .nosotros-cierre {
    margin-top: 60px;
}

#nosotros .nosotros-cierre p {
    text-align: left;
    font-size: 22px;
    font-weight: 500;
}

.how-works-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #35001c;
    color: #edede9;
    font-family: 'Ariana Pro Black', sans-serif;
    font-size: 20px;
    font-weight: 900;
}

.how-works-card h3 {
    color: #35001c;
    font-family: 'Ariana Pro Black', sans-serif;
    font-weight: 900;
    font-size: var(--h4-size);
    line-height: var(--h4-lh);
}

.how-works-subtitle {
    color: #35001c;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-weight: 700;
    font-size: var(--h5-size);
    line-height: var(--h5-lh);
}

.how-works-text {
    color: #35001c;
    font-family: 'Ariana Pro Regular', sans-serif;
    text-align: justify;
    font-size: var(--p-size);
    line-height: var(--p-lh);
    margin-top: auto;
}

.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);
}

.final-cta {
    width: min(100%, 760px);
    text-align: center;
    margin: 48px auto 0;
}

.final-cta-text {
    font-size: 1.1rem;
    color: #4A1942;
    margin-bottom: 16px;
}

.final-cta-button {
    display: inline-block;
}

.shipments-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 20px;
    align-items: center;
}

.shipment-card {
    min-height: 72px;
    border-radius: 14px;
    border: 1px dashed rgba(195, 34, 31, 0.35);
    background: rgba(255, 255, 255, 0.6);
}

.shipment-card--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-style: solid;
    background: #fff;
}

.shipment-card img {
    width: 100%;
    max-width: 140px;
    display: block;
    margin: 0 auto;
}

#empresas.shipments-section {
    display: block;
    padding: 0 100px 90px;
    background-color: #edede9;
    background-image: linear-gradient(rgba(255,255,255,0.80), rgba(255,255,255,0.80)), url('/assets/fondo_blanco_continuo.png');
    background-repeat: repeat;
    background-size: auto;
    backdrop-filter: blur(4px);
}

#empresas > h2 {
    color: #000;
    width: 72%;
    margin-top: 18px;
    margin-bottom: 22px;
}

#empresas > p {
    color: #000;
    width: 72%;
    margin-bottom: 24px;
    font-size: var(--h4-size);
    text-align: justify;
}

#empresas .respaldados {
    width: 100%;
    margin-top: 10px;
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 18px;
    padding: 22px;
}

#empresas .carousel-row {
    margin-bottom: 0;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

#empresas .redcarga-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

#empresas .redcarga-carousel-track {
    display: flex;
    gap: 25px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

#empresas .logo-card {
    flex: 0 0 calc((100% - 75px) / 4);
    min-width: 0;
    height: 180px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

#empresas .logo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

#empresas .logo-card img {
    max-height: 90px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

#empresas .logo-card:hover img {
    filter: grayscale(0%) opacity(1);
}

#empresas .logo-name {
    font-size: 13px;
    color: #555;
    text-align: center;
    line-height: 1.2;
}

#empresas .carousel-arrow {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    color: #5a5a5a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

#empresas .carousel-arrow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

#empresas .carousel-dots {
    --dot-size: 10px;
    --dot-gap: 10px;
    --dot-step: calc(var(--dot-size) + var(--dot-gap));
    --active-index: 0;
    grid-column: 1 / -1;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--dot-gap);
    width: fit-content;
    margin: 14px auto 0;
    padding: 0;
}

#empresas .carousel-dots::after {
    display: none;
}

#empresas .carousel-dot {
    width: 22px;
    height: 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

#empresas .carousel-dot::before {
    content: "";
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 999px;
    background: rgba(90,90,90,.35);
    transition: opacity 0.2s ease;
}

#empresas .carousel-dot.is-active {
    background: url("../img/carousel-dot-active.png") center / contain no-repeat;
}

#empresas .carousel-dot.is-active::before {
    opacity: 0;
}

#empresas .iconos-envios {
    display: none;
}

@media (max-width: 1100px) {
    #empresas > h2,
    #empresas > p {
        width: 100%;
    }

    #empresas .logo-card {
        flex-basis: calc((100% - 50px) / 3);
        height: 165px;
        padding: 18px;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    #empresas.shipments-section {
        padding: 0 20px 60px;
    }

    #empresas > h2,
    #empresas > p {
        width: 100%;
    }

    #empresas .carousel-row {
        grid-template-columns: 1fr;
    }

    #empresas .carousel-arrow {
        display: none;
    }

    #empresas .logo-card {
        flex-basis: calc((100% - 25px) / 2);
        min-width: 140px;
        height: 140px;
        padding: 16px;
        gap: 10px;
    }

    #empresas .logo-card img {
        max-height: 70px;
    }
}

@media (max-width: 480px) {
    #empresas .logo-card {
        flex-basis: 100%;
    }
}
.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;
    gap: 24px;
}

.reviews h2 {
    color: var(--primary-red);
    max-width: 420px;
    margin: 0;
    order: 1;
    text-align: left;
    flex: 0 0 34%;
    font-family: 'Ariana Pro Regular';
}

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

.reviews-content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    margin-top: 80px;
    width: 100%;
    order: 3;
}

.reviews img {
    width: 100%;
}

.reviews > img.proceso {
    width: 60%;
    order: 2;
    margin-left: auto;
    flex: 0 0 60%;
}

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

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

.review-card h4 {
    margin: 0;
    min-height: 2.4em;
    display: flex;
    align-items: flex-end;
}

.review-card .role {
    margin: 0;
}

#resenas > .review-card:nth-child(1) > div > p:nth-child(3),
#resenas > .review-card:nth-child(2) > div > p:nth-child(3),
#resenas > .review-card:nth-child(3) > div > p:nth-child(3),
#resenas > .review-card:nth-child(4) > div > p:nth-child(3) {
    text-align: justify;
}

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

#resenas > .review-card:nth-child(1) .user,
#resenas > .review-card:nth-child(2) .user,
#resenas > .review-card:nth-child(3) .user,
#resenas > .review-card:nth-child(4) .user {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
}

.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;
}

main > section[id],
main > div[id] {
    position: relative;
}

.back-top-wrap {
    position: absolute;
    right: 24px;
    bottom: 24px;
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
    z-index: 5;
}

.back-top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #35001c;
    font-family: 'Ariana Pro Regular', sans-serif;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(195, 34, 31, 0.45);
    border-radius: 999px;
    padding: 4px 8px;
}

.back-top-link span {
    color: #35001c;
}

.back-top-link img {
    width: 18px;
    height: auto;
    transform: rotate(-90deg);
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid #35001c;
    box-shadow: 0 0 0 1px #ffffff;
}

.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,
.cta form select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-family: 'Muller Regular';
    font-size: var(--font-body);
    outline: none;
    background-color: #ffffff;
    color: inherit;
}

.cta form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.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);
}

.cta form button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.cta form .form-error {
    width: 100%;
    margin: 0;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.25);
    color: var(--white);
    text-align: center;
    font-size: 0.9rem;
}

.cta form .form-privacy {
    width: 100%;
    margin: 0;
    color: var(--white);
    font-size: 0.85rem;
    text-align: center;
    opacity: 0.9;
}

.cta form .form-privacy a {
    color: var(--white);
    text-decoration: underline;
}

.cta .waitlist-success {
    width: 35%;
    text-align: center;
    color: var(--white);
}

.cta .waitlist-success h3 {
    color: var(--white);
    margin: 0 0 10px;
}

.cta .waitlist-success p {
    color: var(--white);
    margin: 0;
}

@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: 130px 40px 80px;
        height: auto;
        min-height: 500px;
    }

    .hero-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .hero-secondary {
        width: min(100%, 460px);
        max-width: 460px;
        text-align: left;
    }

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

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

    #como-funciona-v2.cards-feature-section {
        padding: 80px 40px;
    }

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

    .problem-block,
    .contrast-block {
        padding: 70px 20px;
    }

    .problem-visual-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .problem-visual-placeholder {
        min-height: 130px;
    }


    .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%;
    }

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

    .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%;
    }

    .reviews-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .review-card {
        width: 100%;
    }

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

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

    #resenas > .review-card:nth-child(1) .user,
    #resenas > .review-card:nth-child(2) .user,
    #resenas > .review-card:nth-child(3) .user,
    #resenas > .review-card:nth-child(4) .user {
        width: 180px;
        height: 180px;
        border-radius: 22px;
    }

    .review-card br {
        display: none;
    }

    #resenas .review-card .role br {
        display: block;
    }


    .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;
    }

    .nav-links .submenu-inicio,
    .nav-links .submenu-nosotros {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border-radius: 8px;
        padding: 6px 0 0;
        margin-top: 6px;
        background: #f5f5f5;
    }

    .nav-links .submenu-inicio a,
    .nav-links .submenu-nosotros a {
        color: #35001c;
        padding: 8px 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: 120px 30px 80px;
    }

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

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

    .hero-layout {
        align-items: center;
        gap: 24px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        padding-left: 0;
    }

    .hero-secondary {
        max-width: 500px;
        width: 100%;
        text-align: center;
    }

    .hero-subtitle,
    .hero-subnote,
    .hero-body {
        max-width: 100%;
    }

    #como-funciona-v2.cards-feature-section {
        padding: 70px 30px;
    }

    .cards-feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #segmentos {
        padding: 70px 30px;
    }

    #segmentos .segmentos-grid {
        grid-template-columns: 1fr;
    }

    #segmentos .segmentos-logo {
        width: min(100%, 300px);
        margin-bottom: 24px;
    }

    #segmentos .segmentos-decor-item {
        width: 52px;
        opacity: 0.5;
    }

    #segmentos .segmentos-card h3,
    #segmentos .segmentos-intro {
        min-height: auto;
    }

    #integracion {
        padding: 70px 30px;
    }

    #integracion .integracion-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    #faq {
        padding: 70px 30px;
    }

    #nosotros {
        padding: 60px 16px;
    }

    #nosotros .nosotros-container {
        gap: 22px;
    }

    #nosotros .nosotros-vision {
        padding: 24px;
    }

    #nosotros #nosotros-origen {
        padding: 24px;
    }

    #nosotros #nosotros-origen h2,
    #nosotros #nosotros-origen p {
        max-width: 100%;
    }

    #nosotros #nosotros-origen::after {
        inset: auto 0 0 0;
        height: 42%;
        background-position: center bottom;
        background-size: cover;
        opacity: 0.22;
    }

    #nosotros #nosotros-experiencia {
        padding: 24px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #nosotros #nosotros-experiencia .nosotros-experiencia-image {
        grid-column: 1;
        grid-row: auto;
        justify-self: stretch;
        max-width: 100%;
    }

    #nosotros .nosotros-cierre {
        margin-top: 40px;
    }

    .problem-visual-grid,
    .contrast-grid {
        grid-template-columns: 1fr;
    }

    .problem-cards {
        grid-template-columns: 1fr;
    }

    .problem-visual-placeholder {
        min-height: 120px;
    }

    .problem-block,
    .contrast-block {
        padding: 60px 20px;
    }

    .contrast-card {
        min-height: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        align-items: start;
    }

    .contrast-card::after {
        display: none;
    }

    .contrast-card h6:first-of-type {
        padding: 18px 16px 8px;
    }

    .contrast-card p:first-of-type {
        grid-column: 1;
        grid-row: 2;
        padding: 0 16px;
        align-self: start;
        min-height: 88px;
    }

    .contrast-card .contrast-before-image-wrap {
        grid-column: 1;
        grid-row: 3;
        padding: 16px 16px 18px;
        align-self: start;
        min-height: 88px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contrast-card .contrast-before-image {
        max-height: 68px;
    }

    .contrast-card .contrast-after-image-wrap {
        grid-column: 2;
        grid-row: 3;
        padding: 16px 16px 18px;
        align-self: start;
        min-height: 88px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contrast-card .contrast-after-image {
        max-height: 94px;
    }

    .contrast-card p:last-of-type {
        grid-column: 2;
        grid-row: 2;
        padding: 0 16px;
        align-self: start;
        min-height: 88px;
        display: block;
    }

    .contrast-grid > article:nth-child(4) p:last-of-type {
        min-height: 116px;
    }

    .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 {
        min-height: 64px;
    }

    .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%;
        flex: 0 0 100%;
        margin: 0 auto 20px;
        text-align: center;
        order: 0;
    }

    .reviews-content {
        order: 2;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .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%;
    }
}
.legal-background {
    background-color: #edede9;
    background-image: url('/assets/fondo_blanco_continuo.png');
    background-repeat: repeat;
    background-size: auto;
    position: relative;
}

.legal-background::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 0;
}
/* ===== LEGAL BACKGROUND SYSTEM ===== */
body.legal-background {
  background-color: #edede9;
  background-image: url('/assets/fondo_blanco_continuo.png');
  background-repeat: repeat;
  background-size: auto;
}

/* Capa de suavizado */
body.legal-background::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.80);
  pointer-events: none;
  z-index: 0;
}

/* Asegurar contenido arriba */
body.legal-background #footer-redcarga {
  position: relative;
  z-index: 2;
}

.legal-container {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  max-width: 1100px;
  margin: 40px auto;
  border: 1px solid #d0cac4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#aviso-privacidad > p,
#terminos-uso > p,
#nda > p,
#propiedad-intelectual > a,
#cookies > p,
#contacto-legal > p {
  text-align: justify;
}


#footer-redcarga {
  background-color: #35001c;
  color: #edede9;
  padding: 60px 20px 40px 20px;
}

#footer-redcarga .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

#footer-redcarga .footer-col h4 {
  margin-bottom: 12px;
}

#footer-redcarga .footer-logo {
  filter: brightness(0) invert(1);
  background: transparent;
}

#footer-redcarga a {
  color: #edede9;
  text-decoration: none;
}

#footer-redcarga a:hover {
  color: #c3221f;
}

#footer-redcarga ul {
  list-style: none;
  padding: 0;
}

#footer-redcarga li {
  margin-bottom: 8px;
}

#footer-redcarga .footer-btn {
  display: inline-block;
  background-color: #c3221f;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
}

#footer-redcarga > div.footer-container > div.footer-col.footer-cta > a:hover {
  color: #35001c;
}

#footer-redcarga .footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #d0cac4;
  padding-top: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  #footer-redcarga .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===== FOOTER OPTIMIZATION ===== */
#footer-redcarga {
  padding: 40px 20px 24px 20px;
}

#footer-redcarga .footer-container {
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
}

#footer-redcarga .footer-logo {
  max-width: 120px;
  height: auto;
  margin-bottom: 12px;
}

#footer-redcarga img {
  max-width: 120px;
  height: auto;
}

#footer-redcarga p {
  margin: 8px 0;
}

#footer-redcarga h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

#footer-redcarga li {
  margin-bottom: 6px;
  font-size: 14px;
}

#footer-redcarga .footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

#footer-redcarga .footer-btn {
  padding: 8px 14px;
  font-size: 14px;
}

#footer-redcarga .footer-bottom {
  margin-top: 24px;
  padding-top: 12px;
  font-size: 13px;
}

@media (max-width: 768px) {
  #footer-redcarga .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #footer-redcarga .footer-nav {
    grid-template-columns: 1fr;
  }
}



#redcarga-novedades {
  margin-top: 28px;
}

.redcarga-novedades-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.redcarga-novedades-texto h2 {
  margin-bottom: 24px;
}

#redcarga-novedades > div > div.redcarga-novedades-texto > p {
  text-align: justify;
}

.redcarga-novedades-texto strong {
  display: inline-block;
  margin-top: 24px;
}

.redcarga-imagenes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.img-redcarga {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .redcarga-novedades-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
    .shipments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
