/* =====================================================
VARIABLES Y ESTILOS GLOBALES
===================================================== */
:root {
    --primary-color: #007bff;
    --secondary-color: #36b8ca;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
}

* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

/* =====================================================
    ESCALA TIPOGRÁFICA - GOLDEN RATIO (1.125)
    ===================================================== */
html {
    font-size: 16px;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.77rem;
}

h4 {
    font-size: 1.58rem;
}

h5 {
    font-size: 1.41rem;
}

h6 {
    font-size: 1.25rem;
}

body {
    color: var(--text-primary);
    line-height: 1.6;
}

.hero-video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}


.hero-video {
    width: 100%;
    max-height: 80vh;
    object-fit: cover;
    display: block;
}

/* Capa oscura opcional para mejorar legibilidad */
.hero-video-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #7a7a7a3f;
}

/* Contenedor del texto */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 20px;
}

/* Título HERO */
.hero-overlay h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 5.5rem);
    font-weight: 200;
    line-height: 1.05;
    max-width: 950px;
    /* ajusta el ancho */
    margin: 0 auto;

    letter-spacing: -1.5px;

    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

/* Texto destacado */
.hero-overlay h1 strong {
    font-weight: 800;
    display: inline-block;
}

/* =====================================================
    CARRUSEL DE CATEGORÍAS - DISEÑO PREMIUM
    ===================================================== */
.categories-carousel-wrapper {
    background: #ffffff;
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.categories-carousel-wrapper .titulo-empresas {
    color: var(--text-primary) !important;
}

.categories-carousel-wrapper .titulo-underline-empresas {
    border-bottom: 4px solid #007bff !important;
}

.categories-carousel-wrapper .subtitulo-empresas {
    color: var(--text-secondary) !important;
}

.category-card-premium {
    background: linear-gradient(90deg, rgba(0, 65, 126, 1) 0%, rgba(31, 33, 65, 1) 100%);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    min-height: 180px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    pointer-events: none;
}

.category-card-premium:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-card-premium:hover svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.category-card-premium svg {
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    z-index: 2;
    position: relative;
}

.category-card-text {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
    text-align: center;
    letter-spacing: 0.3px;
    line-height: 1.4;
    z-index: 2;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .category-card-premium {
        min-height: 160px;
        padding: 1.5rem 1.2rem;
    }

    .category-card-premium svg {
        width: 70px;
        height: 70px;
    }

    .category-card-text {
        font-size: 1rem;
        margin-top: 0.8rem;
    }
}

@media (max-width: 768px) {
    .categories-carousel-wrapper {
        padding: 3rem 0;
    }

    .category-card-premium {
        min-height: 140px;
        padding: 1.5rem 1rem;
    }

    .category-card-premium svg {
        width: 60px;
        height: 60px;
    }

    .category-card-text {
        font-size: 0.95rem;
        margin-top: 0.6rem;
    }
}

@media (max-width: 480px) {
    .categories-carousel-wrapper {
        padding: 2rem 0;
    }

    .category-card-premium {
        min-height: 120px;
        padding: 1.2rem 1rem;
    }

    .category-card-premium svg {
        width: 50px;
        height: 50px;
    }

    .category-card-text {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
}

/* =====================================================
    LAYOUT Y ESTRUCTURA
    ===================================================== */
.seccion-mipymes {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.seccion-mipymes>.contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.seccion-mipymes>.contenedor>div:first-child {
    width: 100%;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

.titulo-principal {
    font-size: clamp(1.5rem, 6vw, 2.8rem);
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.subtitulo {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.btn-registrate {
    background: linear-gradient(to bottom, #0eb4e7 0%, #04526f 100%);
    /* border: 2px solid #04526f; */
    color: white;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.btn-registrate:hover {
    background: linear-gradient(to bottom, #0eb4e7 0%, #04526f 100%);
    border-color: #04526f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.btn-registrate:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}



/* =====================================================
    BANNER Y ACCIONES RÁPIDAS
    ===================================================== */
.banner {
    background: linear-gradient(135deg, #0d6efd 0%, #00bcd4 100%);
    color: white;
}

.quick-actions a {
    min-width: 160px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.categories .badge {
    font-size: 0.95rem;
    padding: 10px 15px;
    border-radius: 20px;
    transition: var(--transition);
}

/* =====================================================
    MESA DE SERVICIOS - PRIMERA SECCIÓN
    ===================================================== */
.mesa-servicios:first-of-type {
    background-color: #e9f6f6;
}

.mesa-servicios:first-of-type .btn-info {
    background-color: #00a3ad;
    border: none;
    transition: var(--transition);
}

.mesa-servicios:first-of-type .btn-info:hover {
    background-color: #007b80;
}

/* =====================================================
    HERO BLUR
    ===================================================== */
.hero-blur {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1rem;
    margin: 2rem auto;
    max-width: 900px;
    padding: 3rem 1rem;
    box-shadow: var(--shadow-lg);
}

/* =====================================================
    SERVICIOS DESTACADOS
    ===================================================== */
.servicios-destacados .card i {
    transition: var(--transition);
    color: var(--primary-color);
}

.servicios-destacados .card:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* =====================================================
    MESA DE SERVICIOS EMPRESARIALES (MEJORADO)
    ===================================================== */
.mesa-servicios {
    padding: 4rem 1.5rem 6rem 1.5rem;
    background: #ffffff;
    border-top: none;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.mesa-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
    grid-auto-rows: auto;
}

.mesa-servicios > .container {
    max-width: 100%;
}

.mesa-servicios-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.mesa-opciones {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.titulo-mesa {
    font-size: clamp(2rem, 6vw, 2.8rem);
    font-weight: 950;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.titulo-mesa::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
    border-radius: 0;
}

.subtitulo-mesa {
    font-size: 1rem;
    color: #888888;
    margin-bottom: 0;
    line-height: 1.6;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mesa-opciones>h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 2rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 0;
}

.lista-servicios {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lista-servicios li {
    padding: 1.2rem 0;
    background: transparent;
    border-radius: 0;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #888888;
    font-weight: 600;
    border-left: none;
    border-bottom: 1px solid #dddddd;
    box-shadow: none;
}

.lista-servicios li:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
    color: var(--text-primary);
}

.icono-flecha {
    font-size: 1.3rem;
    color: #cccccc;
    transition: all 0.3s ease;
    font-weight: bold;
    flex-shrink: 0;
    margin-left: 1rem;
}

.lista-servicios li:hover .icono-flecha {
    transform: none;
    color: var(--primary-color);
}

.mesa-imagen {
    position: relative;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.mesa-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    transition: transform 0.4s ease;
}

.mesa-imagen:hover img {
    transform: scale(1.04);
}

.btn-ayuda {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(to bottom, #0eb4e7 0%, #04526f 100%);
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
}

.btn-ayuda:hover {
    background: #0097a7;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 188, 212, 0.5);
    color: white;
}

.btn-ayuda:active {
    transform: translateY(-1px);
}

/* =====================================================
    RUEDA DE NEGOCIOS
    ===================================================== */
.rueda-negocios {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9) 0%, rgba(0, 188, 212, 0.9) 100%),
        url('img/mipymenegocia/comunidad/Baner-principal1.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    padding: 3rem 2rem;
    color: #fff;
}

.contenedor-banner {
    max-width: 1200px;
    margin: auto;
}

.contenido-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.texto-izquierda h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logos-acopi {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.logos-acopi img {
    height: 45px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.contenido-derecha {
    text-align: center;
    flex-shrink: 0;
}

.logo-rueda {
    height: 70px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.fecha-label {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contador-fecha {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.contador-fecha .item {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    min-width: 75px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.contador-fecha .item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.contador-fecha .item span {
    font-size: 1.6rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.contador-fecha .item small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-registro {
    background: linear-gradient(135deg, #00c3ff 0%, #0097a7 100%);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 195, 255, 0.3);
}

.btn-registro:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 195, 255, 0.4);
}

/* =====================================================
    CONTENEDORES VACÍOS
    ===================================================== */
.no-empresas-container,
.no-productos-container {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px dashed var(--border-color);
    border-radius: 1rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.no-productos-container {
    margin-bottom: 4rem;
}

.no-empresas-img,
.no-productos-img {
    max-width: 150px;
    opacity: 0.6;
}

.no-productos-img {
    opacity: 0.65;
}

.no-empresas-container h5,
.no-productos-container h5 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.no-empresas-container p,
.no-productos-container p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

/* =====================================================
    SECCIÓN COWORKING
    ===================================================== */
.inicio-coworking-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.inicio-coworking-card {
    background: var(--bg-lighter);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.inicio-coworking-copy {
    padding: 3rem;
}

.inicio-coworking-copy h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.3;
}

.inicio-coworking-copy h2 span:first-child {
    font-size: 0.9em;
    color: var(--text-secondary);
}

.inicio-coworking-copy p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
}

.inicio-coworking-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inicio-coworking-list li {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.inicio-coworking-list i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.1em;
}

.inicio-coworking-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.inicio-coworking-btn-primary {
    background: linear-gradient(to bottom, #0eb4e7 0%, #04526f 100%);
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    border-radius: 10px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.inicio-coworking-btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.btn-outline-dark {
    /* border: 2px solid var(--text-primary); */
    color: white;
    background: linear-gradient(to bottom, #0eb4e7 0%, #04526f 100%);
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    border-radius: 10px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-outline-dark:hover {
    background-color: var(--text-primary);
    color: white;
}



/* =====================================================
    SECCIÓN ALIADOS
    ===================================================== */
.aliados-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.aliados-header {
    margin-bottom: 2rem;
}

.titulo-aliados {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.titulo-underline-aliados {
    border-bottom: 4px solid var(--secondary-color);
    padding-bottom: 10px;
    display: inline-block;
    position: relative;
}

.subtitulo-aliados {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.3px;
}

.container-carrusel {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
    background: var(--bg-lighter);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 80s linear infinite;
    align-items: center;
    height: 100%;
    gap: 0;
}

.image-wrapper {
    width: 200px;
    height: 100%;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.image-wrapper:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08) 0%, rgba(0, 188, 212, 0.08) 100%);
}

.carrusel-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: grayscale(0%) brightness(1);
    transition: var(--transition);
}

.image-wrapper:hover .carrusel-img {
    filter: grayscale(0%) brightness(1.15);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =====================================================
    SECCIÓN EMPRESAS DESTACADAS
    ===================================================== */
.empresas-section {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.empresas-header {
    margin-bottom: 2.5rem;
}

.titulo-empresas {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.titulo-underline-empresas {
    border-bottom: 4px solid var(--secondary-color);
    padding-bottom: 10px;
    display: inline-block;
    position: relative;
}

.subtitulo-empresas {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.3px;
}

/* =====================================================
    SECCIÓN PRODUCTOS DESTACADOS
    ===================================================== */
.productos-section {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* =====================================================
    ESTILOS DE TARJETAS DE PRODUCTO (x-product)
    ===================================================== */
.card-product__carousel {
    min-height: 480px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    background: white;
}

.card-product__carousel:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

/* Badge de envío gratis - TOP LEFT */
.card-product__carousel .badge,
.card-product__carousel [class*="discount"],
.card-product__carousel [class*="sale"],
.card-product__carousel [class*="off"] {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #4CAF50;
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    z-index: 10;
    text-transform: capitalize;
    white-space: nowrap;
}

.card-product__carousel .badge:hover,
.card-product__carousel [class*="discount"]:hover,
.card-product__carousel [class*="sale"]:hover,
.card-product__carousel [class*="off"]:hover {
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    transform: none;
}

/* Contenedor de imagen - LANDSCAPE CON ALTURA FIJA */
.card-product__carousel .content-img-product,
.card-product__carousel .image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
    position: relative;
}

/* Imagen del producto */
.card-product__carousel img,
.card-product__carousel .img-product {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.card-product__carousel:hover img,
.card-product__carousel:hover .img-product {
    transform: scale(1.1);
}

/* Botón favorito - ARRIBA DERECHA */
.card-product__carousel .product-item-like {
    transition: var(--transition);
    top: 12px;
    right: 12px;
    left: auto;
}

.card-product__carousel .product-item-like:hover {
    transform: scale(1.15);
}

.card-product__carousel .product-item-like svg {
    width: 22px;
    height: 20px;
}

/* Contenido de la tarjeta - SIMPLIFICADO CON ALTURA DISTRIBUIDA */
.card-product__carousel .card-body,
.card-product__carousel .card-product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.2rem 1rem;
    background: white;
    gap: 0.3rem;
    min-height: 160px;
}

/* Título del producto - SIMPLE CON TRUNCADO */
.card-product__carousel .card-title,
.card-product__carousel .titulo-product {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin: 0;
    text-decoration: none;
    transition: var(--transition);
    min-height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-product__carousel .card-title:hover,
.card-product__carousel .titulo-product:hover {
    color: var(--primary-color);
}

/* Rating + Disponibilidad en una línea */
.card-product__carousel .rating-availability {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    margin: 0.3rem 0;
    flex-wrap: wrap;
}

.card-product__carousel .stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin: 0;
    white-space: nowrap;
}

/* Disponibilidad y vendedor */
.card-product__carousel .card-text,
.card-product__carousel .availability {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
    margin: 0.2rem 0 0 0;
    text-transform: none;
}

.card-product__carousel .vendor-store {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
    margin: 0.2rem 0 0 0;
    text-transform: none;
}

/* Ocultar elementos innecesarios EN EL CARRUSEL DE OFERTAS */
.ofertas-section .card-product__carousel .rating-availability,
.ofertas-section .card-product__carousel .stars,
.ofertas-section .card-product__carousel .span,
.ofertas-section .card-product__carousel .price-section,
.ofertas-section .card-product__carousel .original-price,
.ofertas-section .card-product__carousel .current-price,
.ofertas-section .card-product__carousel .savings,
.ofertas-section .card-product__carousel .text-secondary.text-sm,
.ofertas-section .card-product__carousel .card-body > div {
    display: none !important;
}

/* Mostrar solo vendor EN EL CARRUSEL */
.ofertas-section .card-product__carousel .vendor-store {
    display: block !important;
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
    margin: 0.4rem 0 0 0 !important;
    text-transform: none;
}

/* Ocultar disponibles EN EL CARRUSEL */
.ofertas-section .card-product__carousel .card-text {
    display: none !important;
}

/* Sección de precios - IMPACTO VISUAL */
.card-product__carousel .price-section {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.card-product__carousel .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.78rem;
    font-weight: 500;
    margin: 0;
}

.card-product__carousel .current-price {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1;
}

.card-product__carousel .savings {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #333;
    padding: 0.3rem 0.65rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 900;
    white-space: nowrap;
    text-align: center;
    margin: 0;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.25);
}

/* Sección botones */
.card-product__carousel .container-footer,
.card-product__carousel .card-product-footer {
    display: flex;
    gap: 0.5rem;
    padding: 0.8rem 1rem 1rem 1rem;
    margin-top: auto;
    border-top: 1px solid #eee;
}

.card-product__carousel .container-footer a,
.card-product__carousel .card-product-footer a,
.card-product__carousel .container-footer button,
.card-product__carousel .card-product-footer button {
    flex: 1;
    padding: 0.65rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: capitalize;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

/* Botón primario (Agregar/Compra) */
.card-product__carousel .btn-success,
.card-product__carousel .btn-primary {
    background: #007bff;
    color: white;
    box-shadow: none;
}

.card-product__carousel .btn-success:hover,
.card-product__carousel .btn-primary:hover {
    transform: none;
    box-shadow: none;
    background: #0056b3;
}

.card-product__carousel .btn-success:disabled,
.card-product__carousel .btn-success[disabled] {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* Botón secundario (Detalles) */
.card-product__carousel .btn-details {
    background: white;
    color: #007bff;
    border: 1px solid #ddd;
    font-weight: 700;
    box-shadow: none;
}

.card-product__carousel .btn-details:hover {
    background: #f5f5f5;
    color: #007bff;
    transform: none;
    box-shadow: none;
}

.productos-header,
.ofertas-header,
.webinars-header {
    margin-bottom: 2.5rem;
}

.titulo-ofertas {
    font-size: 2.4rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 950;
}

.titulo-underline-ofertas {
    border-bottom: 5px solid var(--secondary-color);
    padding-bottom: 8px;
    display: inline-block;
    position: relative;
}

.subtitulo-ofertas {
    font-size: 1.05rem;
    color: #888;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.2px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================
    SECCIÓN WEBINARS Y CONTENIDOS
    ===================================================== */
.webinars-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f3f8 100%);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ofertas-section {
    background: #f8f8f8;
    padding: 4rem 1.5rem;
    border-top: none;
    border-bottom: none;
}

.ofertas-header {
    margin-bottom: 3.5rem;
}

/* =====================================================
    SECCIÓN COMUNIDAD EMPRESARIAL
    ===================================================== */
.comunidad-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.comunidad-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.comunidad-image {
    flex: 1;
    min-width: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comunidad-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

.comunidad-copy {
    flex: 1;
    min-width: 300px;
}

.comunidad-copy h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.comunidad-copy p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-weight: 500;
}

.comunidad-list {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.comunidad-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.comunidad-list li::before {
    content: "✅";
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.comunidad-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    border: none;
    cursor: pointer;
}

.comunidad-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
    color: white;
}



/* =====================================================
    SECCIÓN RUEDA DE NEGOCIOS - CONTADOR
    ===================================================== */
.negocios-banner {
    background: url('/img/mipymenegocia/inicio/fondo-baner-rueda-mapa.png') no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    overflow: hidden;
}

.img-ejecutivo {
    max-width: 100%;
    height: auto;
}

.contador-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    min-width: 80px;
    text-align: center;
}

.contador-numero {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    color: #fff;
}

.contador-label {
    font-size: 0.8rem;
    color: #ddd;
}

/* =====================================================
    RESPONSIVE DESIGN - CONSOLIDADO (TODAS LAS SECCIONES)
    ===================================================== */


@media (max-width: 768px) {



    /* Mesa */
    .mesa-servicios {
        padding: 2.5rem 1rem 3.5rem 1rem;
    }

    .mesa-servicios-header {
        margin-bottom: 2rem;
    }

    .mesa-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mesa-opciones>h3 {
        font-size: 1.15rem;
        margin-top: 0.5rem;
    }

    .lista-servicios li {
        padding: 0.8rem 0;
        font-size: 0.85rem;
    }

    .titulo-mesa {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .subtitulo-mesa {
        font-size: 0.9rem;
    }

    .mesa-imagen {
        aspect-ratio: 16 / 10;
    }

    .btn-ayuda {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .texto-izquierda h2 {
        font-size: 1.5rem;
    }

    /* Coworking */
    .inicio-coworking-copy {
        padding: 2rem 1.5rem;
    }

    .inicio-coworking-copy h2 {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    /* Banner */
    .contenido-banner {
        gap: 1rem;
    }

    .contador-fecha {
        gap: 0.75rem;
    }

    /* Empresas y Webinars */
    .titulo-empresas,
    .titulo-webinars,
    .titulo-productos,
    .titulo-ofertas,
    .titulo-aliados {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }

    .subtitulo-empresas,
    .subtitulo-webinars,
    .subtitulo-productos,
    .subtitulo-ofertas,
    .subtitulo-aliados {
        font-size: 0.95rem;
    }

    .empresas-section,
    .webinars-section,
    .productos-section,
    .ofertas-section {
        padding: 2.5rem 1rem;
    }

    /* Carrusel */
    .container-carrusel {
        height: 120px;
    }

    .image-wrapper {
        width: 150px;
        padding: 10px;
    }

    /* Plazas y Comunidad */
    .plazas-content,
    .comunidad-content {
        flex-direction: column;
        gap: 2rem;
    }

    .plazas-copy,
    .plazas-image,
    .comunidad-copy,
    .comunidad-image {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .plazas-actions {
        flex-direction: column;
    }

    .plazas-actions .btn {
        width: 100%;
        text-align: center;
    }

    .comunidad-copy h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .btn-registrate {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    /* Mesa */
    .mesa-servicios {
        padding: 1.5rem 0.8rem 2.5rem 0.8rem;
    }

    .mesa-servicios-header {
        margin-bottom: 1.5rem;
    }

    .mesa-grid {
        gap: 1rem;
    }

    .mesa-opciones>h3 {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .lista-servicios li {
        padding: 0.7rem 0;
        font-size: 0.8rem;
    }

    .titulo-mesa {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .subtitulo-mesa {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .mesa-imagen {
        aspect-ratio: 16 / 12;
    }

    .btn-ayuda {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Coworking */
    .inicio-coworking-copy {
        padding: 1.5rem 1rem;
    }

    .inicio-coworking-copy h2 {
        font-size: 1.2rem;
    }

    .inicio-coworking-copy p {
        font-size: 0.95rem;
    }

    .inicio-coworking-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    .inicio-coworking-btn-primary,
    .btn-outline-dark {
        width: 100%;
        text-align: center;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }

    /* Empresas, Webinars, Productos, Ofertas */
    .titulo-empresas,
    .titulo-webinars,
    .titulo-productos,
    .titulo-ofertas,
    .titulo-aliados {
        font-size: clamp(1.1rem, 3.5vw, 1.4rem);
        margin-bottom: 0.8rem;
    }

    .subtitulo-empresas,
    .subtitulo-webinars,
    .subtitulo-productos,
    .subtitulo-ofertas,
    .subtitulo-aliados {
        font-size: 0.85rem;
    }

    .empresas-header,
    .webinars-header,
    .productos-header,
    .ofertas-header {
        margin-bottom: 1.2rem;
    }

    /* Carrusel */
    .container-carrusel {
        height: 100px;
    }

    .image-wrapper {
        width: 120px;
        padding: 8px;
    }

    /* Plazas y Comunidad */
    .plazas-copy h2,
    .comunidad-copy h2 {
        font-size: 1.3rem;
    }

    .plazas-copy p,
    .comunidad-copy p {
        font-size: 0.95rem;
    }

    /* Mesa Servicios */
    .mesa-servicios-title {
        font-size: 1.3rem;
    }

    .mesa-servicios-subtitle {
        font-size: 0.9rem;
    }
}

/* --- Estructura Base --- */
.seccion-mipymes {
    padding: 60px 0;
    /* Padding controlado */
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    text-align: center;
}

/* =========================================
HEADER HERO CENTRADO
========================================= */
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.header-content .titulo-principal {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.header-content .subtitulo {
    text-align: center;
    margin-top: 0.8rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.titulo-principal {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    /* Tamaño fluido */
    font-weight: 900;
    color: #000000;
    /* Ajusta a tu color primario */
    margin-bottom: 1rem;
}

.subtitulo {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

/* --- Grilla de Tarjetas --- */
.tarjetas-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Estilo de Tarjeta --- */
.tarjeta {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.tarjeta:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tarjeta img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.tarjeta h3 {
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
    color: #333;
    line-height: 1.3;
}

.tarjeta p {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    line-height: 1.4;
    margin: 0;
}

.tarjeta-footer {
    padding: 0 15px 20px;
}

.btn-secundario {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #009fdf;
    color: #009fdf;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 2.5vw, 0.95rem);
}

.btn-secundario:hover {
    background: #009fdf;
    color: white;
}

/* --- Ajustes para Tablets --- */
@media (max-width: 768px) {
    .seccion-mipymes {
        padding: 2.5rem 1rem;
        overflow-x: hidden;
    }

    .tarjetas-servicios {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        padding: 0 0;
        width: 100%;
        box-sizing: border-box;
    }

    .tarjeta {
        width: 100%;
        box-sizing: border-box;
    }

    .tarjeta img {
        height: 150px;
    }

    .tarjeta h3 {
        margin-bottom: 6px;
    }

    .tarjeta-footer {
        padding: 0 12px 18px;
    }
}

/* --- Ajustes para Móviles Pequeños --- */
@media (max-width: 480px) {
    .seccion-mipymes {
        padding: 1.5rem 1rem;
    }

    .header-content {
        margin-bottom: 1.5rem;
    }

    .titulo-principal {
        font-size: clamp(1.3rem, 5vw, 2rem);
        margin-bottom: 0.6rem;
        letter-spacing: -0.3px;
    }

    .subtitulo {
        font-size: clamp(0.8rem, 2.8vw, 0.95rem);
        margin: 0.5rem auto 1rem;
        padding: 0 8px;
    }

    .tarjetas-servicios {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 0;
        margin-top: 1.5rem;
        width: 100%;
    }

    .tarjeta {
        border-radius: 10px;
        width: 100%;
    }

    .tarjeta img {
        height: 140px;
    }

    .tarjeta h3 {
        font-size: 0.95rem;
        margin-bottom: 5px;
        padding-top: 8px;
    }

    .tarjeta p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .tarjeta-footer {
        padding: 0 10px 15px;
    }

    .btn-secundario {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
}

/* --- Ajustes para Móviles Ultra Pequeños (< 380px) --- */
@media (max-width: 380px) {
    .seccion-mipymes {
        padding: 1rem 0.8rem;
    }

    .titulo-principal {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .subtitulo {
        font-size: 0.75rem;
        margin: 0.4rem auto 0.8rem;
        padding: 0 6px;
    }

    .tarjetas-servicios {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 0;
        margin-top: 1rem;
        width: 100%;
    }

    .tarjeta {
        width: 100%;
        border-radius: 8px;
    }

    .tarjeta img {
        height: 120px;
    }

    .tarjeta h3 {
        font-size: 0.85rem;
        margin-bottom: 4px;
        padding-top: 6px;
    }

    .tarjeta p {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .tarjeta-footer {
        padding: 0 8px 12px;
    }

    .btn-secundario {
        padding: 6px 8px;
        font-size: 0.7rem;
    }
}

/* =====================================================
    SECCIÓN TRES PILARES UN SOLO PROPÓSITO
    ===================================================== */
.tres-pilares-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #f8fbff 0%, #fdfcfc 100%);
    border-bottom: 1px solid var(--border-color);
}

.tres-pilares-container {
    max-width: 1300px;
    margin: 0 auto;
}

.tres-pilares-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Title styling moved to use existing .titulo-ofertas styles for consistency */

.tres-pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.pilar-card {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    overflow: visible;
    transition: var(--transition);
    border: 1px solid rgba(0, 123, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.pilar-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 123, 255, 0.15);
}

.pilar-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #f5f8fc 0%, #f0f5ff 100%);
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.pilar-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
    overflow: hidden;
}

.pilar-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background: white;
    border: 2px solid var(--secondary-color);
    color: rgb(0, 0, 0);
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
    z-index: 10;
    white-space: nowrap;
}

.pilar-section-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    line-height: 1.2;
    text-align: center;
}

.pilar-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.pilar-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pilar-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: flex-start;
}

.pilar-features li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.6rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .tres-pilares-section {
        padding: 3rem 1rem;
    }

    .tres-pilares-header {
        margin-bottom: 2.5rem;
    }

    .tres-pilares-title {
        font-size: clamp(1.4rem, 5vw, 2.2rem);
        margin-bottom: 1rem;
    }

    .tres-pilares-grid {
        gap: 2rem;
    }

    .pilar-card {
        border-radius: var(--border-radius-lg);
    }

    .pilar-image {
        height: 180px;
    }

    .pilar-content {
        padding: 1.5rem;
    }

    .pilar-section-title {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .pilar-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .pilar-features li {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .tres-pilares-section {
        padding: 2rem 1rem;
    }

    .tres-pilares-header {
        margin-bottom: 2rem;
    }

    .tres-pilares-title {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        margin-bottom: 0.8rem;
    }

    .tres-pilares-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pilar-image {
        height: 150px;
    }

    .pilar-content {
        padding: 1.2rem;
    }

    .pilar-label {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }

    .pilar-section-title {
        font-size: 1rem;
    }

    .pilar-description {
        font-size: 0.85rem;
    }

    .pilar-features li {
        font-size: 0.8rem;
    }
}

/* =====================================================
    SECCIÓN TODO EN UN SOLO LUGAR
    ===================================================== */
.todo-un-lugar-section {
    padding: 5rem 1.5rem;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.todo-un-lugar-container {
    max-width: 1400px;
    margin: 0 auto;
}

.todo-un-lugar-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Reuse existing .titulo-ofertas / .titulo-underline-ofertas styling instead of custom rules */

.todo-un-lugar-subtitle {
    font-size: clamp(0.95rem, 3.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.todo-un-lugar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.opcion-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: var(--border-radius-lg);
    padding: 1.8rem 1rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.opcion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.opcion-card:hover {
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.12);
    transform: translateY(-8px);
}

.opcion-card:hover::before {
    transform: scaleX(1);
}

.opcion-icon {
    font-size: clamp(2rem, 8vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: inline-block;
}

.opcion-card:hover .opcion-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.2));
}

.opcion-title {
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.opcion-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-weight: 500;
}

.opcion-btn {
    display: inline-block;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    background: linear-gradient(to bottom, #0eb4e7 0%, #04526f 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.25);
    align-self: center;
}

.opcion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 39, 212, 0.4);
}

.opcion-btn:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .todo-un-lugar-section {
        padding: 3rem 1rem;
    }

    .todo-un-lugar-header {
        margin-bottom: 2.5rem;
    }

    .todo-un-lugar-title {
        font-size: clamp(1.4rem, 5vw, 2.2rem);
        margin-bottom: 1rem;
    }

    .todo-un-lugar-title::after {
        width: 100px;
    }

    .todo-un-lugar-subtitle {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    .todo-un-lugar-grid {
        gap: 2rem;
    }

    .opcion-card {
        padding: 2rem 1.2rem;
    }

    .opcion-icon {
        font-size: clamp(2rem, 6vw, 2.8rem);
        margin-bottom: 1rem;
    }

    .opcion-title {
        font-size: 1.2rem;
    }

    .opcion-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .todo-un-lugar-section {
        padding: 2rem 1rem;
    }

    .todo-un-lugar-header {
        margin-bottom: 2rem;
    }

    .todo-un-lugar-title {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        margin-bottom: 0.8rem;
        padding-bottom: 1rem;
    }

    .todo-un-lugar-title::after {
        width: 80px;
    }

    .todo-un-lugar-subtitle {
        font-size: 0.9rem;
    }

    .todo-un-lugar-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .opcion-card {
        padding: 1.5rem 1rem;
    }

    .opcion-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .opcion-title {
        font-size: 1rem;
    }

    .opcion-description {
        font-size: 0.85rem;
    }

    .opcion-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* =====================================================
SECCIÓN ¿POR QUÉ UNIRTE AL ECOSISTEMA?
===================================================== */

.por-que-unirte-section {
    padding: 5rem 1.5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.por-que-unirte-container {
    max-width: 1300px;
    margin: 0 auto;
}

.por-que-unirte-header {
    text-align: center;
    margin-bottom: 0;
}

.por-que-unirte-subtitle {
    font-size: clamp(0.95rem, 3.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* =====================================================
BANNER FULL WIDTH
===================================================== */

.por-que-unirte-banner {
    position: relative;
    width: 100%;
    min-height: 700px;
    background: url('/img/mipymenegocia/inicio/baner-asesor.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.por-que-unirte-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    z-index: 1;
}

.por-que-unirte-banner-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1300px;

    margin: 0 auto;
    padding: 4rem 2rem;
}

.por-que-unirte-content {
    max-width: 550px;
    color: #fff;
}

.por-que-unirte-content h3 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.por-que-unirte-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 1.8rem;
    font-weight: 500;
    line-height: 1.6;
}

.por-que-unirte-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.9rem 2.2rem;

    background: linear-gradient(to bottom, #0eb4e7 0%, #04526f 100%);

    color: white;
    text-decoration: none;

    border-radius: 12px;

    font-weight: 700;
    font-size: 0.9rem;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    transition: var(--transition);

    box-shadow: 0 4px 14px rgba(0, 188, 212, 0.35);
}

.por-que-unirte-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.45);
    color: white;
}

/* =====================================================
RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .por-que-unirte-section {
        padding: 3rem 1rem 1.5rem;
    }

    .por-que-unirte-banner {
        min-height: 450px;

        /* Evita problemas en móviles */
        background-attachment: scroll;
    }

    .por-que-unirte-banner-container {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }

    .por-que-unirte-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .por-que-unirte-content h3 {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }
}

@media (max-width: 480px) {

    .por-que-unirte-banner {
        min-height: 380px;
    }

    .por-que-unirte-content h3 {
        font-size: 1.5rem;
    }

    .por-que-unirte-content p {
        font-size: 0.95rem;
    }

    .por-que-unirte-btn {
        width: 100%;
        max-width: 260px;
    }
}

/* =====================================================
    SECCIÓN RUEDAS DE NEGOCIO (REDISEÑO)
    ===================================================== */
.rueda-negocio-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
}

.rueda-negocio-container {
    max-width: 1300px;
    margin: 0 auto;
}

.rueda-negocio-header {
    text-align: center;
    margin-bottom: 8rem;
}

.rueda-negocio-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    font-weight: 950;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.rueda-negocio-subtitle {
    font-size: clamp(0.95rem, 3.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.rueda-negocio-card {
    background: linear-gradient(to left, #012347 0%, #236ebe 100%);
    border-radius: var(--border-radius-xl);
    overflow: visible;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 0rem 2.5rem;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.rueda-negocio-label-top {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    z-index: 5;
}

.rueda-negocio-image {
    flex: 0 0 35%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    max-width: 320px;
    min-width: 280px;
}

.rueda-negocio-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
}

.rueda-negocio-content {
    flex: 1;
    display: flex;
    gap: 2rem;
    color: white;
    min-height: 280px;

}

.rueda-negocio-content-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
}

.rueda-negocio-content-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex: 1;
    color: white;
}

.rueda-negocio-content-left h3 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 900;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.rueda-negocio-counter {
    display: flex;
    gap: 1.2rem;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.rueda-negocio-counter-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    min-width: 70px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.rueda-negocio-counter-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.rueda-negocio-counter-item span:first-child {
    font-size: 1.6rem;
    font-weight: 900;
    display: block;
    line-height: 1.1;
}

.rueda-negocio-counter-item span:last-child {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.rueda-negocio-text {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.rueda-negocio-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(to bottom, #0eb4e7 0%, #04526f 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 195, 255, 0.3);
    align-self: center;
}

.rueda-negocio-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 195, 255, 0.4);
    color: white;
}

@media (max-width: 768px) {
    .rueda-negocio-section {
        padding: 3rem 1rem;
    }

    .rueda-negocio-card {
        flex-direction: column;
        gap: 1.5rem;
        overflow: hidden;
    }

    .rueda-negocio-label-top {
        display: none;
    }

    .rueda-negocio-image {
        flex: 1 1 100%;
        max-width: 100%;
        min-height: 250px;
    }

    .rueda-negocio-content {
        flex-direction: column;
        gap: 1.5rem;
        min-height: auto;
    }

    .rueda-negocio-content-left {
        align-items: center;
        text-align: center;
    }

    .rueda-negocio-content-right {
        align-items: center;
        text-align: center;
    }

    .rueda-negocio-content-left h3 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    .rueda-negocio-counter {
        gap: 1rem;
        justify-content: center;
    }

    .rueda-negocio-counter-item {
        min-width: 70px;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .rueda-negocio-section {
        padding: 2rem 1rem;
    }

    .rueda-negocio-card {
        padding: 1.5rem 1rem;
    }

    .rueda-negocio-content-left h3 {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
        margin-bottom: 0.6rem;
    }

    .rueda-negocio-counter {
        gap: 0.8rem;
        margin: 0.6rem 0 1rem 0;
    }

    .rueda-negocio-counter-item {
        min-width: 60px;
        padding: 0.6rem 0.8rem;
    }

    .rueda-negocio-text {
        font-size: 0.85rem;
    }
}
