/* ===== Estilos Generales ===== */
/* body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;   */
}

/* El body usará Manrope Regular (peso 400) */
body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

/* Los encabezados usarán Manrope Extra Bold (peso 800) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
}




/* ===== Header ===== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo-container img {
    height: 60px;
}

.site-header .flags-container {
    display: flex;
    gap: 10px;
}

.site-header .flags-container img {
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.site-header .flags-container img:hover {
    transform: scale(1.1);
}

/* ===== Sección Hero ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('https://www.groupmovi.us/images/movi_wholesale_partner_miami.webp'); /* Reemplaza con tu imagen */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    /* Sombra oscura para que el texto blanco se lea bien */
    background-color: #1a1a1a; 
}

.hero-content {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    color: #ffffff;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content .blue-text {
    color: #0052eb;
}

.hero-content .hero-subtitle {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ===== Botones ===== */
.hero-buttons .btn-primary {
    background-color: #0052eb;
    border: none;
    padding: 12px 24px;
    font-weight: 500;
}

.hero-buttons .btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
    padding: 10px 22px;
}

.hero-buttons .btn-outline-light:hover {
    background-color: #ffffff;
    color: #0052eb;
}

/* Escritorio */
.hero-content h1 {
    color: #ffffff;
    font-weight: 800;
    font-size: 3rem;          /* Antes era 3.5rem, reducido para que quepa */
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Asegurar que la parte azul no se parta en dos líneas */
.hero-content h1 .blue-text {
    display: inline-block;    /* Permite que actúe como bloque pero en línea */
    white-space: nowrap;      /* Impide que el texto se divida */
}

/* Móvil (si también deseas que quepa en una sola línea en pantallas pequeñas) */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;    /* Reducido aún más para evitar el salto de línea */
    }
    .hero-content h1 .blue-text {
        white-space: nowrap;
    }
}


/* ===== Sección de Tarjetas (Cards) ===== */
.features-section {
    position: relative;
    z-index: 10;
    margin-top: -60px; /* En escritorio se superpone 100px a la imagen */
    padding-bottom: 50px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid #f0f0f0;
}

/* Iconos */
.icon-circle {
    width: 60px;
    height: 60px;
    border: 2px solid #0052eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: #0052eb;
    font-size: 24px;
    background-color: #ffffff;
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1rem;
}

.feature-card p {
    color: #333333;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.feature-card .blue-text {
    color: #0052eb;
    font-weight: 700;
    font-size: 1.2rem;
}

.feature-card .small-text {
    font-size: 0.85rem;
    color: #555555;
}

/* ===== Ajuste Móvil (Solo móvil, misma imagen de fondo) ===== */
@media (max-width: 768px) {
    
    .site-header {
        padding: 20px;
    }
    
    .hero-section {
        /* Usa la misma imagen de fondo, sin cambiar a una versión móvil */
        min-height: 80vh;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0 !important;
    }

    /* ===== CARDS 20PX DEBAJO DE LA FOTO ===== */
    .features-section {
        /* En vez de superponerse (-100px), se coloca 20px debajo */
        margin-top: 40px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}




/* ===== SECCIÓN WHAT WE DO ===== */
.wwd-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('https://www.groupmovi.us/images/movi_wholesale_distributor_miami.webp'); /* CAMBIAR RUTA */
    background-size: cover;
    background-position: center right; /* Imagen abarca todo el ancho */
    padding: 80px 0 40px;
    overflow: hidden;
}

/* Overlay blanco para la mitad izquierda */
.wwd-left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1;
}

.wwd-container {
    position: relative;
    z-index: 2;
}

.wwd-content {
    padding-right: 40px;
    padding-left: 20px;
}

/* Textos */
.wwd-eyebrow {
    color: #0052eb;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.wwd-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 10px;
}

.wwd-subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: #0052eb;
    margin-bottom: 40px;
}

/* Fila de iconos superiores */
.wwd-icons-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.wwd-icon-item {
    text-align: center;
    flex: 0 0 25%;
    padding: 0 10px;
    transition: transform 0.3s ease;
}

.wwd-icon-item:hover {
    transform: translateY(-5px);
}

.wwd-icon-item .icon-circle {
    width: 60px;
    height: 60px;
    border: 2px solid #0052eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: #0052eb;
    font-size: 24px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.wwd-icon-item:hover .icon-circle {
    background-color: #0052eb;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 82, 235, 0.3);
}

.wwd-icon-item p {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333333;
    margin: 0;
}

/* ===== Cards Inferiores (una sola línea, fondo blanco, sombra) ===== */
.wwd-cards-container {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    display: flex;
    flex-wrap: nowrap;           /* Fuerza una sola línea en todos los dispositivos */
    justify-content: center;
    align-items: stretch;
    padding: 0 15px;
}

.wwd-card {
    flex: 0 0 25%;               /* Cada card ocupa el 25% siempre */
    max-width: 25%;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 25px 10px;
    text-align: center;
    margin: 0 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.wwd-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.wwd-card .icon-circle {
    width: 55px;
    height: 55px;
    border: 2px solid #0052eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: #0052eb;
    font-size: 22px;
    background-color: #ffffff;
    position: relative;
}

/* Icono especial para el escudo con check */
.wwd-card .icon-circle i.fa-shield-alt {
    position: relative;
}
.wwd-card .icon-circle i.fa-check {
    position: absolute;
    font-size: 12px;
    bottom: 12px;
    right: 12px;
    color: #0052eb;
    background-color: #ffffff;
    border-radius: 50%;
}

.wwd-card p {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333333;
    margin: 0;
}

/* ===== Ajustes Móviles (Cards siempre en una línea) ===== */
@media (max-width: 768px) {
    .wwd-section {
        background-position: center; /* La imagen cubre todo */
        padding: 60px 0 20px;
    }

    .wwd-left-overlay {
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
    }

    .wwd-content {
        padding: 20px;
    }

    .wwd-title {
        font-size: 2rem;
    }

    .wwd-subtitle {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .wwd-icons-row {
        flex-wrap: wrap;
    }

    .wwd-icon-item {
        flex: 0 0 50%;
        margin-bottom: 20px;
    }

    /* Cards inferiores: se mantienen en una sola línea (scroll horizontal si es necesario) */
    .wwd-cards-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .wwd-card {
        flex: 0 0 25%;
        max-width: 25%;
        min-width: 80px;
        padding: 15px 5px;
        margin: 0 5px;
    }

    .wwd-card p {
        font-size: 0.75rem;
    }

    .wwd-card .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
/* ===== SECCIÓN WHAT WE DO  08 ==== */
.wwd-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('https://www.groupmovi.us/images/movi_wholesale_distributor_miami.webp'); /* CAMBIAR RUTA */
    background-size: cover;
    background-position: center left; /* Imagen abarca todo el ancho, enfocada a la izquierda */
    padding: 80px 0 40px;
    overflow: hidden;
}

/* Overlay blanco para la mitad derecha (donde va el texto) */
.wwd-right-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1;
}

.wwd-container {
    position: relative;
    z-index: 2;
}

.wwd-content {
    padding-left: 40px; /* Ajuste para separar el texto del borde */
}

/* Textos */
.wwd-eyebrow {
    color: #0052eb;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.wwd-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 10px;
}

.wwd-subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: #0052eb;
    margin-bottom: 40px;
}

/* Fila de iconos superiores */
.wwd-icons-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.wwd-icon-item {
    text-align: center;
    flex: 0 0 25%;
    padding: 0 10px;
    transition: transform 0.3s ease;
}

.wwd-icon-item:hover {
    transform: translateY(-5px);
}

.wwd-icon-item .icon-circle {
    width: 60px;
    height: 60px;
    border: 2px solid #0052eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: #0052eb;
    font-size: 24px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.wwd-icon-item:hover .icon-circle {
    background-color: #0052eb;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 82, 235, 0.3);
}

.wwd-icon-item p {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333333;
    margin: 0;
}

/* ===== Cards Inferiores (una sola línea, fondo blanco, sombra, bajadas 60px) ===== */
.wwd-cards-container {
    position: relative;
    z-index: 2;
    margin-top: 120px; /* Aumentado 60px (antes era 60px, ahora 120px) */
    display: flex;
    flex-wrap: nowrap;           /* Fuerza una sola línea en todos los dispositivos */
    justify-content: center;
    align-items: stretch;
    padding: 0 15px;
}

.wwd-card {
    flex: 0 0 25%;               /* Cada card ocupa el 25% siempre */
    max-width: 25%;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 25px 10px;
    text-align: center;
    margin: 0 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.wwd-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.wwd-card .icon-circle {
    width: 55px;
    height: 55px;
    border: 2px solid #0052eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: #0052eb;
    font-size: 22px;
    background-color: #ffffff;
    position: relative;
}

/* Icono especial para el escudo con check */
.wwd-card .icon-circle i.fa-shield-alt {
    position: relative;
}
.wwd-card .icon-circle i.fa-check {
    position: absolute;
    font-size: 12px;
    bottom: 12px;
    right: 12px;
    color: #0052eb;
    background-color: #ffffff;
    border-radius: 50%;
}

.wwd-card p {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333333;
    margin: 0;
}

/* ===== Ajustes Móviles (Cards siempre en una línea, texto a la derecha) ===== */
@media (max-width: 768px) {
    .wwd-section {
        background-position: center; /* La imagen cubre todo */
        padding: 60px 0 20px;
    }

    .wwd-right-overlay {
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
    }

    .wwd-content {
        padding: 20px;
    }

    .wwd-title {
        font-size: 2rem;
    }

    .wwd-subtitle {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .wwd-icons-row {
        flex-wrap: wrap;
    }

    .wwd-icon-item {
        flex: 0 0 50%;
        margin-bottom: 20px;
    }

    /* Cards inferiores: se mantienen en una sola línea (scroll horizontal si es necesario) */
    .wwd-cards-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .wwd-card {
        flex: 0 0 25%;
        max-width: 25%;
        min-width: 80px;
        padding: 15px 5px;
        margin: 0 5px;
    }

    .wwd-card p {
        font-size: 0.75rem;
    }

    .wwd-card .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
#what-we-do .wwd-cards-container {
    position: relative;
    z-index: 2;s
    margin-top: 60px; /* 120px + 50px adicionales */
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    padding: 0 15px;
}


/* Ajustes móviles (sin scroll horizontal) */
@media (max-width: 768px) {
    .wwd-cards-container {
        flex-wrap: nowrap;
        overflow: hidden;        /* Elimina el scroll horizontal */
        justify-content: center;
        padding-bottom: 0;
    }

    .wwd-card {
        flex: 0 0 25%;
        max-width: 25%;
        min-width: 0;            /* Permite que se compriman si es necesario */
        padding: 15px 5px;       /* Menos padding para que quepan mejor */
        margin: 0;
    }

    .wwd-card p {
        font-size: 0.75rem;
    }

    .wwd-card .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ===== SECCIÓN BRANDS ===== */
.brands-section {
    padding: 80px 0;
    background-color: #ffffff; /* Fondo blanco general de la sección */
}

/* --- Letreros (Centrados y ancho 1440px) --- */
.brands-header {
    text-align: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px 50px;
}

/* a. LETRERO PEQUEÑO: CAMBIAR TAMAÑO O COLOR AQUÍ */
.brands-eyebrow {
    color: #0052FC;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* b. TÍTULO 1: CAMBIAR TAMAÑO O COLOR AQUÍ */
.brands-title {
    color: #051a49;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

/* c. TÍTULO 2: CAMBIAR TAMAÑO O COLOR AQUÍ */
.brands-subtitle {
    color: #051a49;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* d y e. DESCRIPCIÓN: CAMBIAR TAMAÑO O COLOR AQUÍ */
.brands-description {
    color: #555555;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- Logos (Cards horizontales) --- */
.brands-logos-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 7 en una sola línea siempre */
.brands-row {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: center;
    margin-bottom: 15px;
}

.brand-card {
    background-color: #FEFEFE;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    flex: 0 0 calc(100% / 7); /* Cada card ocupa exactamente 1/7 del ancho */
    margin: 0 5px;
}

.brand-card img {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
}

/* --- Ajuste Móvil (Mantener 7 en una sola línea) --- */
@media (max-width: 768px) {
    .brands-title, .brands-subtitle {
        font-size: 1.8rem;
    }
    
    .brands-description {
        font-size: 1rem;
    }

    /* Las cards se encogen pero se mantienen en una sola línea.
       Si no caben en la pantalla, se puede hacer scroll horizontal */
    .brands-row {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .brand-card {
        height: 60px;
        flex: 0 0 calc(100% / 7);
        min-width: 70px; /* Tamaño mínimo para que no se aplasten demasiado */
        margin: 0 2px;
    }

    .brand-card img {
        max-width: 90%;
    }
}

/* ===== SECCIÓN BRANDS ===== */
.brands-section {
    padding: 80px 0;
    background-color: #ffffff; 
}

.brands-header {
    text-align: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px 50px;
}

.brands-eyebrow {
    color: #0052FC;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brands-title {
    color: #051a49;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

/* ===== CAMBIO DE COLOR AQUÍ (Tercer texto) ===== */
.brands-subtitle {
    color: #0052fc; /* <--- Cambiado a #0052fc */
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

.brands-description {
    color: #555555;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- Logos (Cards horizontales) --- */
.brands-logos-container {
    max-width: 1440px;
    margin: 0 auto;
    /* ===== ESPACIO IZQUIERDA Y DERECHA ===== */
    padding: 0 40px; /* Espacio de 40px a cada lado */
}

.brands-row {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: center;
    margin-bottom: 15px;
    /* ===== ELIMINAR SCROLL HORIZONTAL ===== */
    overflow: hidden;
}

.brand-card {
    background-color: #FEFEFE;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    flex: 1 1 0; /* Se encogen de forma flexible y equitativa para caber sin scroll */
    min-width: 0; /* Permite que se compriman si es necesario */
    margin: 0 5px;
    box-sizing: border-box; 
}

.brand-card img {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
}

/* --- Ajuste Móvil --- */
@media (max-width: 768px) {
    .brands-title, .brands-subtitle {
        font-size: 1.8rem;
    }
    
    .brands-description {
        font-size: 1rem;
    }

    /* Mantener 7 en una sola línea sin scroll en móviles */
    .brands-row {
        overflow: hidden; /* Sin scroll */
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .brand-card {
        height: 50px;
        flex: 1 1 0;
        min-width: 0; 
        margin: 0 2px;
    }

    .brand-card img {
        max-width: 90%;
    }
}
/* --- Logos (Cards horizontales) ---7 y 4 */
.brands-logos-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px; /* Espacio izquierda y derecha */
    overflow: hidden; /* Bloquea cualquier scroll horizontal */
}

/* Filas de logos: ahora permiten envoltura (wrap) según el tamaño */
.brands-row {
    display: flex;
    flex-wrap: wrap;          /* Permitir que los elementos pasen a la siguiente línea */
    justify-content: center;
    margin-bottom: 15px;
}

/* Tarjeta individual: Estilo común */
.brand-card {
    background-color: #FEFEFE;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;           /* Altura fija en desktop */
    margin: 0 5px;           /* Separación entre tarjetas */
    box-sizing: border-box;
}

/* --- Ajuste Desktop (7 por línea) --- */
@media (min-width: 769px) {
    .brand-card {
        flex: 0 0 calc(100% / 7 - 10px); /* Ancho = 100% entre 7, menos los 5px de margen a cada lado */
        max-width: calc(100% / 7 - 10px);
    }
    
    .brand-card img {
        max-width: 80%;
        max-height: 60%;
        object-fit: contain;
    }
}

/* --- Ajuste Móvil (4 por línea) --- */
@media (max-width: 768px) {
    .brands-logos-container {
        padding: 0 15px; /* Menos espacio en móviles */
    }
    
    .brand-card {
        flex: 0 0 calc(25% - 10px); /* 4 por línea (100% / 4) menos el margen */
        max-width: calc(25% - 10px);
        height: 70px;               /* Altura reducida en móvil */
        margin: 0 5px 10px 5px;     /* Margen inferior para separar las filas nuevas */
    }
    
    .brand-card img {
        max-width: 90%;
        max-height: 70%;
    }
}



/* ===== SECCIÓN CURRENT MARKETS ===== */
.cm-section {
    position: relative;
    width: 100%;
    /* CAMBIAR A LA RUTA DE TU IMAGEN DE FONDO */
    background-image: url('https://www.groupmovi.us/images/movi_wholesale_partner_miami_map.webp'); 
    background-size: cover;
    background-position: center;
    min-height: 800px;
    padding: 100px 0;
    overflow: hidden;
}

.cm-container {
    max-width: 1440px;
}

.cm-content {
    padding-right: 50px; /* Espacio para que no toque el borde */
}

/* 1. LETRERO PEQUEÑO CURRENT MARKETS */
.cm-eyebrow {
    color: #051a49;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 3px solid #0052eb; /* Línea azul debajo */
    padding-bottom: 5px;
}

/* 2. TÍTULO ACROSS (Azul oscuro) */
.cm-title-dark {
    color: #051a49;
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 0;
}

/* 3. TÍTULO THE AMERICAS (Color 051a49) */
.cm-title-light {
    color: #051a49; /* Si quieres el azul brillante de la imagen, cambia a #0052eb */
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 50px;
}

/* --- Lista de Países --- */
.cm-countries {
    margin-bottom: 40px;
}

.cm-country {
    display: flex;
    align-items: center;
    padding: 15px 0;
    /* Línea muy delgada entre países */
    border-bottom: 1px solid #e0e0e0; 
}

/* Sin línea al final de la lista */
.cm-country:last-child {
    border-bottom: none;
}

/* Fondo redondo gris claro para las banderas */
.cm-flag-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.cm-flag-circle img {
    width: 30px;
    height: auto;
    object-fit: contain;
}

/* Nombre del país en negritas */
.cm-country span {
    font-weight: 700;
    font-size: 1rem;
    color: #333333;
}

/* --- Icono del mundo y Footer --- */
.cm-footer {
    display: flex;
    align-items: center;
    color: #555555;
    font-size: 0.9rem;
}

.cm-footer i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #555555;
}

/* --- Ajuste Móvil --- */
@media (max-width: 768px) {
    .cm-section {
        min-height: auto;
        background-position: left center; /* En móvil es mejor enfocar a la izquierda */
    }

    .cm-content {
        padding-right: 15px;
        /* Añadimos un fondo semi-transparente si la imagen no tiene el lado blanco en móvil */
        background: rgba(255, 255, 255, 0.95); 
        border-radius: 10px;
        padding: 20px;
    }

    .cm-title-dark, .cm-title-light {
        font-size: 2.5rem;
    }

    .cm-title-light {
        margin-bottom: 30px;
    }

    .cm-flag-circle {
        width: 35px;
        height: 35px;
    }

    .cm-flag-circle img {
        width: 25px;
    }
}

/* 1. Mayor margen izquierdo para los letreros (títulos y contenido) */
.cm-content {
    padding-right: 50px; 
    padding-left: 150px; /* Añadido margen izquierdo de 50px */
}

/* 2. Líneas divisorias a la mitad de longitud */
.cm-country {
    display: flex;
    align-items: center;
    padding: 15px 0;
    /* Se eliminó la línea larga original */
    border-bottom: none; 
    position: relative; /* Necesario para posicionar la línea corta */
}

/* Nueva línea divisoria (solo la mitad de longitud) */
.cm-country::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 65px; /* Comienza justo después del círculo de la bandera */
    width: 50%; /* Mitad de la longitud */
    height: 1px;
    background-color: #e0e0e0;
}

/* Ocultar la línea en el último país */
.cm-country:last-child::after {
    display: none;
}

/* Base (escritorio y tablet) */
.cm-content {
    padding-right: 50px; 
    padding-left: 150px; /* Cambiado de 50px a 150px */
}

/* Móvil */
@media (max-width: 768px) {
    .cm-content {
        padding-right: 15px;
        padding-left: 120px; /* 120px para móviles */
        /* El fondo blanco y el resto se mantienen igual */
        background: rgba(255, 255, 255, 0.95); 
        border-radius: 10px;
        padding: 20px;
    }
}

/* ===== Reducción de espacio entre países y títulos ===== */

/* Título "the Americas" con menos espacio inferior (antes 50px) */
.cm-title-light {
    color: #051a49; 
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.0;
    margin-bottom: 20px; /* Reducido de 50px a 25px */
}

/* Filas de países con menos padding vertical (antes 15px) */
.cm-country {
    display: flex;
    align-items: center;
    padding: 4px 0; /* Reducido de 15px a 4px */
    border-bottom: none; 
    position: relative;
}

/* Línea divisoria (se mantiene al 50% y con el margen izquierdo de 150px) */
.cm-country::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 65px; /* Cambiar a 150px si quieres que empiece justo después del margen */
    width: 50%; 
    height: 1px;
    background-color: #e0e0e0;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .cm-title-light {
        margin-bottom: 20px;
    }
    
    .cm-country {
        padding: 6px 0; /* Un poco más compacto en móviles */
    }
}
/* Eliminar o hacer blanca la línea gris superior izquierda */
.cm-section,
.cm-section * {
    border-top: none !important;
    border-left: none !important;
}

/* Forzar que el fondo de la sección sea transparente (o blanco, según lo que se vea detrás) */
.cm-section {
    border: none;
}

/* Si la línea viene del contenedor interior */
.cm-container,
.cm-content {
    border: none;
    box-shadow: none;
}
/* ===== ELIMINAR LÍNEA SUPERIOR DERECHA EN CURRENT MARKETS ===== */
.cm-section,
.cm-container,
.cm-row,
.cm-content {
    border-top: none !important;
    box-shadow: none !important;
}


/* Forzar que el fondo de la sección ocupe todo el alto sin huecos */
.cm-section {
    background-color: transparent !important;
    background-image: url('https://www.groupmovi.us/images/movi_wholesale_partner_miami_map.webp'); /* Verifica que la ruta sea correcta */
    background-size: cover !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
}

/* Asegurar que las columnas internas tampoco tengan bordes */
.cm-section * {
    border-top: none !important;
    border-left: none !important;
}

/* ===== SECCIÓN CONTACTO / WHATSAPP ===== */
.contact-section {
    width: 100%;
    max-width: 1440px; /* Ancho máximo de 1440px */
    margin: 0 auto;
    background-color: #011231;
    /* Imagen de fondo superpuesta al color azul */
    background-image: url('https://www.groupmovi.us/images/movi_contact_wholesale_distribuitor.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.contact-container {
    max-width: 900px; /* Contenedor interno */
    margin: 0 auto;
}s

/* --- Cabecera Superior --- */
.contact-header {
    margin-bottom: 60px;
}

.movi-logo {
    max-height: 200px;
    margin-bottom: 15px;
}

/* Raya azul debajo del logo */
.movi-line {
    width: 60px;
    height: 3px;
    background-color: #0247c5;
    margin: 0 auto 20px auto;
}

.movi-tagline {
    color: #cacdd5;
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 400;
    margin: 0;
}

/* --- Estructura de la Fila --- */
.contact-row {
    align-items: flex-start;
}

/* --- Parte Izquierda: Formulario --- */
.contact-form-col {
    padding-right: 40px;
}

.contact-title {
    color: #cacdd5;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #cacdd5;
    font-size: 1rem;
    margin-bottom: 30px;
}

.contact-input {
    background-color: rgba(0, 25, 59, 0.4); /* Fondo transparente azulado */
    border: 1px solid #2a4a7a;
    color: #ffffff;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

.contact-input::placeholder {
    color: #8099b5;
}

.contact-input:focus {
    background-color: rgba(0, 25, 59, 0.6);
    border-color: #0052eb;
    box-shadow: none;
    color: #ffffff;
}

/* Botón Enviar */
.btn-contact {
    background-color: #0044cd;
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #0037a8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 68, 205, 0.4);
}

/* --- Divisor Vertical (entre columnas en desktop) --- */
.contact-divider {
    border-left: 1px solid rgba(202, 205, 213, 0.3); /* Línea sutil */
    height: 100%;
    min-height: 400px;
    padding: 0;
}

/* --- Parte Derecha: WhatsApp --- */
.contact-whatsapp-col {
    padding-left: 40px;
}

.qr-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
}

.qr-img {
    max-width: 220px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.scan-text {
    color: #cacdd5;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.scan-text i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: #cacdd5;
}

/* ===== AJUSTE MÓVIL (Apilar en columnas de 3 en móvil) ===== */
@media (max-width: 768px) {
    .contact-section {
        padding: 50px 15px;
    }

    .contact-header {
        margin-bottom: 40px;
    }

    .movi-logo {
        max-height: 150px;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    /* Ajustar espaciados para que se apilen verticalmente */
    .contact-form-col {
        padding-right: 15px;
        margin-bottom: 40px;
    }

    .contact-divider {
        display: none; /* Ocultar divisor vertical */
    }

    .contact-whatsapp-col {
        padding-left: 15px;
    }

    .qr-img {
        max-width: 180px;
    }
}

/* ===== LÍNEA SEPARADORA ENTRE SECCIONES ===== */
.contact-separator {
    width: 100%;
    max-width: 1440px;
    height: 20px;
    /* Cambia este color si quieres otro tono de azul */
    background-color: #ffffff; /*0247c5  Azul intermedio */
    margin: 0 auto; /* Centrada horizontalmente */
}




/* ===== SECCIÓN FOOTER ===== */
.footer-section {
    width: 100%;
    max-width: 1440px; /* Ancho de la sección */
    margin: 0 auto;
    background-color: #eff0f2; /* Fondo solicitado */
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 900px; /* Ancho del contenido central */
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Primer Row: 3 Columnas --- */
.footer-row {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

/* Cada columna */
.footer-col {
    text-align: center;
    padding: 20px 15px;
}

/* Separación vertical entre columnas (solo desktop) */
.footer-col:not(:last-child) {
    border-right: 1px solid #d1d5db; /* Línea gris delgada */
}

/* --- Iconos Circulares --- */
.icon-circle-footer {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #d5e0f0; /* Fondo redondo azul claro */
    color: #003cc5; /* Color del icono */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 22px;
}

/* --- Títulos y Textos --- */
.footer-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #051a49;
    margin-bottom: 8px;
    text-align: center;
}

.footer-text {
    color: #555555;
    font-size: 0.9rem;
    margin: 0;
}

.footer-link {
    color: #555555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #003cc5;
    text-decoration: underline;
}

/* --- Línea Divisoria Horizontal --- */
.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #d1d5db; /* Raya muy delgada gris */
    margin: 0 auto 30px auto;
}

/* --- Segundo Row: Textos Legales --- */
.footer-legal-row {
    text-align: center;
}

.footer-legal-text {
    color: #051a49;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.footer-copyright {
    color: #555555;
    font-size: 0.85rem;
    margin: 0;
}

/* ===== AJUSTE MÓVIL ===== */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 0 20px;
    }

    .footer-container {
        max-width: 100%;
    }

    /* Apilar columnas en móvil y eliminar bordes verticales */
    .footer-col {
        border-right: none !important;
        border-bottom: 1px solid #d1d5db; /* Línea horizontal entre columnas apiladas */
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .footer-col:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .footer-title {
        font-size: 1.1rem;
    }
}


/* ===== LISTA DE CONTACTO DIRECTO ===== */
.contact-direct-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espacio entre items */
}

.contact-item {
    display: flex;
    align-items: center;
    color: #cacdd5; /* Color del texto */
    font-family: 'Manrope', sans-serif;
}

.contact-icon {
    width: 25px;
    color: #cacdd5; /* Color del icono (puedes cambiarlo a #0052eb si prefieres azul) */
    margin-right: 15px;
    font-size: 1.1rem;
}

.contact-link {
    color: #cacdd5;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.contact-link:hover {
    color: #ffffff; /* Hover blanco */
}

/* Icono de WhatsApp (junto al número) */
.whatsapp-icon {
    margin-left: 15px;
    color: #25D366; /* Color oficial de WhatsApp */
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}

/* Espaciador de un renglón */
.contact-spacer {
    height: 20px;
}

/* Texto simple (USA - Based...) */
.contact-text {
    font-size: 1rem;
    color: #cacdd5;
}

/* Comportamiento del enlace del QR */
.whatsapp-qr-link {
    display: inline-block;
    transition: all 0.3s ease; /* Transición suave para el efecto */
    cursor: pointer; /* Cursor de mano para indicar que es un enlace */
}

.whatsapp-qr-link:hover {
    opacity: 0.8;          /* Ligera transparencia al pasar el mouse */
    transform: scale(1.05); /* Aumenta sutilmente su tamaño */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Sombra suave para dar profundidad */
}


/* ===== AJUSTES PARA VERSIÓN EN ESPAÑOL (_es) ===== */

/* --- HERO --- */
.hero-title_es {
    font-size: 3.2rem; /* Reducido para que no se desborde */
}
.hero-subtitle_es {
    font-size: 1.05rem; /* Ligeramente más pequeño */
}
.btn-partner_es {
    padding: 12px 20px; /* Ajusta el botón "Conviértete en Socio" */
    font-size: 1rem;
}

/* --- WHAT WE DO --- */
.wwd-title_es {
    font-size: 2.5rem; /* Reducido de 2.8rem */
}
.wwd-subtitle_es {
    font-size: 2rem; /* Ajuste para "Construido para tu Negocio." */
}

/* --- BRANDS --- */
.brands-title_es {
    font-size: 2.8rem; /* "Marcas que Conoces." */
}
.brands-subtitle_es {
    font-size: 2.4rem; /* "Socios en los que Puedes Confiar." más largo */
}

/* --- CURRENT MARKETS --- */
.cm-title-dark_es {
    font-size: 3.5rem; /* "A través de" más largo que "Across" */
}
.cm-title-light_es {
    font-size: 3.5rem; /* "las Américas." */
}

/* --- CONTACTO --- */
.movi-tagline_es {
    font-size: 0.85rem; /* "ABASTECIENDO. CONECTANDO. ENTREGANDO." más largo */
    letter-spacing: 2px; /* Mantener legible */
}

/* Ajuste para móviles (opcional, si se requiere) */
@media (max-width: 768px) {
    .hero-title_es { font-size: 2rem; }
    .wwd-title_es { font-size: 1.8rem; }
    .wwd-subtitle_es { font-size: 1.5rem; }
    .brands-title_es { font-size: 1.8rem; }
    .brands-subtitle_es { font-size: 1.5rem; }
    .cm-title-dark_es, .cm-title-light_es { font-size: 2.2rem; }
    .movi-tagline_es { font-size: 0.75rem; }
}


