/* Estilos para el Encabezado de Ecosistema Electrónico */

/* Contenedor principal del encabezado personalizado */
.ecosistema-header-section {
    padding: 100px 0 80px 0;
    position: relative;
    overflow: hidden;
}

/* Alineación del texto y contenido izquierdo */
.ecosistema-header-content {
    position: relative;
    z-index: 2;
    padding-right: 20px;
}

/* Etiqueta Soluciones Globus */
.ecosistema-pill {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    border: none;
    /* Sin borde como solicitado */
    border-radius: 50px;
    color: #ffffff;
    /* Blanco solicitado */
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    /* Efecto visual sutil para que parezca botón pero sin borde */
    box-shadow: 0 4px 15px rgba(0, 192, 211, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

/* Título con negrita en Ecosistema Electrónico */
.ecosistema-tit {
    margin-bottom: 40px;
}

.ecosistema-title h1 {
    font-size: 48px;
    color: #ffffff;
    /* Blanco solicitado */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ecosistema-title h1 span {
    color: #ffffff;
    /* Blanco solicitado */
}

/* Subtítulo */
.ecosistema-description p {
    color: #ffffff;
    /* Blanco solicitado */
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 1;
    /* Opacidad completa para ver el color bien */
    text-align: justify;
}

/* Contenedor de botones */
.ecosistema-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Estilos de botones específicos */
.btn-ecosistema {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-ecosistema i {
    font-size: 20px;
}

/* Botón Normativa */
.btn-coljuegos,
.btn-dian {
    background-color: var(--cyan);
    color: #ffffff !important;
    border: 2px solid var(--cyan);
    box-shadow: 0 4px 15px rgba(0, 192, 211, 0.3);
}

.btn-coljuegos:hover,
.btn-dian:hover {
    background-color: #ffffff;
    color: var(--cyan) !important;
}

/* Contenedor de la imagen derecha */
.ecosistema-image-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.ecosistema-image-container img {
    max-width: 100%;
    height: auto;
    /* animation: float 6s ease-in-out infinite; Removed by request */
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Sección Normativa Coljuegos (Grid Bento) --- */

.coljuegos-section {
    padding: 60px 0;
    position: relative;
    scroll-margin-top: 150px;
    /* Fix for fixed header blocking title */
}


.coljuegos-header {
    margin-bottom: 40px;
}

/* Contenedor flexible para alinear icono y título */
.coljuegos-header-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* Caja del icono cuadrada/redondeada */
.coljuegos-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--cyan) 0%, #009dae 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 192, 211, 0.3);
    flex-shrink: 0;
}

.coljuegos-icon-box i {
    font-size: 30px;
    color: #ffffff;
}

.coljuegos-title h2 {
    font-size: 42px;
    color: #009dae;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
}

.coljuegos-subtitle p {
    color: #009eb0;
    font-size: 18px;
    max-width: 800px;
}

/* Grid Layout */
.coljuegos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    /* Auto height rows */
    gap: 20px;
    /* Reducir espacio */
}

/* Tarjeta Base - Estilo GPOS (Blanca / Row Layout) - Unified Theme */
.coljuegos-card {
    background: #ffffff;
    /* Fondo Blanco */
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Sombra suave */
    display: flex;
    flex-direction: row;
    /* Layout Horizontal */
    align-items: flex-start;
    gap: 20px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.coljuegos-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 192, 211, 0.25);
    border-color: #00c0d3;
}

/* Icon Wrapper Styles (Left Side) */
.card-icon-wrapper {
    min-width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 192, 211, 0.2);
    transition: all 0.3s ease;
}

/* Color variantes para iconos (Unified Cyan) */
.bg-icon-cyan,
.bg-icon-orange {
    background: #e0f7f9;
    /* Light Cyan Background for ALL */
    border-color: rgba(0, 192, 211, 0.2);
}

.card-icon-wrapper i {
    font-size: 24px;
    transition: color 0.3s ease;
}

.bg-icon-cyan i,
.bg-icon-orange i {
    color: #00c0d3;
    /* Cyan for ALL icons */
}

.coljuegos-card:hover .card-icon-wrapper.bg-icon-cyan,
.coljuegos-card:hover .card-icon-wrapper.bg-icon-orange {
    background: #00c0d3;
    box-shadow: 0 4px 10px rgba(0, 192, 211, 0.4);
}

.coljuegos-card:hover .card-icon-wrapper.bg-icon-cyan i,
.coljuegos-card:hover .card-icon-wrapper.bg-icon-orange i {
    color: #fff;
}

/* Contenido de la tarjeta */
.card-content {
    flex-grow: 1;
}

.coljuegos-card h3 {
    color: #009dae;
    /* Dark Cyan Title */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.coljuegos-card p {
    color: #009eb0;
    /* Light Cyan Text */
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
    text-align: justify;
}

.coljuegos-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.coljuegos-card ul li {
    color: #009eb0;
    /* Light Cyan List Text */
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    font-size: 16px;
}

.coljuegos-card ul li i {
    color: var(--cyan);
    margin-right: 8px;
    margin-top: 3px;
    font-size: 14px;
}

/* Card 2: Imagen */
.card-image-container {
    padding: 0;
    border: none;
    background: transparent;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Card 4: Importante (Unified White/Cyan Theme) */
.card-important {
    background: #ffffff;
    /* Fondo Blanco */
    border-color: rgba(0, 192, 211, 0.5);
    /* Borde Cyan suave */
    box-shadow: 0 5px 15px rgba(0, 192, 211, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centrar contenido vertical y horizontalmente */
    text-align: center;
}

.card-important:hover {
    border-color: #00c0d3;
    /* Cyan hover */
    box-shadow: 0 5px 20px rgba(0, 192, 211, 0.25);
}

.card-important h3 {
    color: #009dae;
    /* Cyan Title */
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    /* Centrar horizontalmente */
}

.card-important p {
    color: #009eb0;
    /* Cyan Text */
}

/* Botón Normativa en Card 4 */
.btn-normativa {
    margin-top: auto;
    background-color: var(--cyan);
    /* Cyan Button */
    color: #ffffff !important;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    align-self: flex-start;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 192, 211, 0.3);
}

.btn-normativa:hover {
    background-color: #008c9e;
    /* Darker Cyan Hover */
    transform: scale(1.05);
}

/* Card 1: Transmisión X18 - Centrada */
/* Card 1: Transmisión X18 - Centrada */
.card-transmission {
    justify-content: center;
    /* Centrar contenido horizontalmente */
    align-items: flex-start;
    /* Alinear items arriba */
}

/* Métricas en Card 3 */
.metrics-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.metric-box {
    background: #f9f9f9;
    /* Fondo claro */
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    border: 1px solid #e0e0e0;
    /* Borde gris suave */
}

.metric-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #009dae;
}

.metric-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #888888;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 991px) {
    .ecosistema-header-section {
        padding: 80px 0 50px 0;
        text-align: center;
    }

    .ecosistema-header-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .ecosistema-title h1 {
        font-size: 36px;
    }

    .ecosistema-description p {
        text-align: center;
        font-size: 16px;
    }

    /* Ajustar la etiqueta Soluciones Globus */
    .ecosistema-pill {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 10px;
    }

    /* Ajustes de botones en tablets */
    .ecosistema-buttons {
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .ecosistema-buttons .btn {
        font-size: 14px;
        padding: 10px 15px;
    }

    /* Ajustes específicos para botones de normativa */
    .btn-ecosistema {
        width: auto;
        /* Ancho automático según contenido */
        white-space: nowrap;
        /* No partir texto en varias líneas */
    }

    /* Ajustes para header de Normativa Coljuegos en tablets */
    .coljuegos-header-top {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .coljuegos-icon-box {
        width: 50px;
        height: 50px;
    }

    .coljuegos-icon-box i {
        font-size: 24px;
    }

    .coljuegos-title h2 {
        font-size: 32px;
    }

    .coljuegos-subtitle p {
        font-size: 16px;
        text-align: center;
    }

    .coljuegos-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-image-container {
        min-height: 250px;
    }

    /* Ajustes para tarjetas en tablets */
    .coljuegos-card {
        flex-direction: column;
        /* Cambiar a vertical en tablets */
        padding: 15px;
        gap: 15px;
    }

    .card-icon-wrapper {
        align-self: center;
        /* Centrar icono en tablets */
    }

    .coljuegos-card h3 {
        font-size: 18px;
        text-align: center;
    }

    .coljuegos-card p {
        font-size: 14px;
        text-align: center;
    }

    .coljuegos-card ul {
        font-size: 13px;
    }
}

/* Responsive para móviles pequeños */
@media (max-width: 767px) {

    /* Ajustes para header principal en móviles */
    .ecosistema-header-section {
        padding: 60px 0 40px 0;
    }

    .ecosistema-pill {
        font-size: 11px;
        padding: 5px 10px;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .ecosistema-title h1 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .ecosistema-description p {
        font-size: 14px;
        text-align: center;
        padding: 0 5px;
        line-height: 1.5;
    }

    /* Botones en columna para móviles */
    .ecosistema-buttons {
        flex-direction: row;
        /* Mantener en fila, no en columna */
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .ecosistema-buttons .btn {
        width: auto;
        /* Ancho automático según el texto */
        max-width: none;
        /* Quitar límite de ancho */
        font-size: 12px;
        /* Texto más pequeño */
        padding: 8px 12px;
        /* Padding más compacto */
    }

    /* Ajustes específicos para botones de normativa en móvil */
    .btn-ecosistema {
        width: auto;
        white-space: nowrap;
        display: inline-flex;
    }

    .btn-ecosistema i {
        font-size: 16px;
        /* Reducir tamaño de iconos */
    }

    /* Ajustes adicionales para Normativa Coljuegos en móviles */
    .coljuegos-header-top {
        gap: 8px;
    }

    .coljuegos-icon-box {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }

    .coljuegos-icon-box i {
        font-size: 22px;
    }

    .coljuegos-title h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .coljuegos-subtitle p {
        font-size: 14px;
        padding: 0 10px;
    }

    /* Ajustes adicionales para tarjetas en móviles pequeños */
    .coljuegos-card {
        padding: 12px;
        gap: 12px;
    }

    .card-icon-wrapper {
        min-width: 45px;
        height: 45px;
    }

    .card-icon-wrapper i {
        font-size: 20px;
    }

    .coljuegos-card h3 {
        font-size: 16px;
        line-height: 1.3;
    }

    .coljuegos-card p {
        font-size: 13px;
        padding: 0 5px;
    }

    .coljuegos-card ul {
        font-size: 12px;
        padding: 0 5px;
    }

    .coljuegos-card ul li {
        margin-bottom: 4px;
    }

    .card-important h3 {
        font-size: 14px;
    }

    .btn-normativa {
        font-size: 12px;
        padding: 6px 15px;
        width: auto;
        /* Ocupar solo el espacio del texto */
        text-align: center;
        display: inline-block;
        /* Para permitir centrado */
    }
}

/* --- Secci�n Facturaci�n Electr�nica (Redise�o) --- */
.facturacion-section {
    padding: 60px 0;
}

.facturacion-main-card {
    background-color: #ffffff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.facturacion-image-container img {
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.facturacion-content .section-title {
    color: #009dae;
    font-weight: 800;
    font-size: 2.2rem;
}

.facturacion-content .icon-box {
    color: #009dae;
    font-size: 2.5rem;
}

.facturacion-content h4 {
    color: #009dae;
    font-weight: 700;
    font-size: 1.2rem;
}

.facturacion-content p {
    color: #009eb0;
    font-size: 16px;
    line-height: 1.6;
}

.facturacion-card {
    display: flex;
    flex-direction: column;
    background-color: #f4fdff;
    border-radius: 15px;
    height: 100%;
    border: 1px solid #e0f7f9;
    padding: 20px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facturacion-card ul {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0;
}

.facturacion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 192, 211, 0.15);
    border-color: #00c0d3;
}

.facturacion-card h5 {
    color: #009dae;
    font-weight: 700;
    font-size: 1.1rem;
}

.facturacion-card ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

/* Responsive adjustments for Facturacion */
@media (max-width: 991px) {
    .facturacion-section {
        padding: 40px 0;
    }

    .facturacion-main-card {
        padding: 25px;
    }

    .facturacion-content {
        padding-left: 0 !important;
        margin-top: 30px;
        text-align: center;
    }

    /* Ajustar título e icono en tablets */
    .facturacion-content .d-flex {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .facturacion-content .section-title {
        font-size: 1.8rem;
        /* Reducir título */
    }

    .facturacion-content .icon-box {
        font-size: 2rem;
        /* Reducir icono */
    }

    .facturacion-content h4 {
        font-size: 1.1rem;
        text-align: center;
    }

    .facturacion-content p {
        font-size: 14px;
        text-align: center;
        padding: 0 10px;
    }

    .facturacion-card {
        margin-bottom: 15px;
        padding: 15px !important;
    }

    .facturacion-card h5 {
        font-size: 1rem;
    }

    .facturacion-card ul {
        font-size: 12px;
    }

    .facturacion-card ul li {
        margin-bottom: 6px;
    }

    .facturacion-card i {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 767px) {
    .facturacion-section {
        padding: 30px 0;
    }

    .facturacion-main-card {
        padding: 20px;
        border-radius: 20px;
    }

    .facturacion-content {
        margin-top: 20px;
    }

    /* Ajustes adicionales para móvil */
    .facturacion-content .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .facturacion-content .section-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .facturacion-content .icon-box {
        font-size: 1.8rem;
    }

    .facturacion-content h4 {
        font-size: 1rem;
        padding: 0 5px;
    }

    .facturacion-content p {
        font-size: 13px;
        padding: 0 5px;
        line-height: 1.5;
    }

    .facturacion-image-container img {
        height: auto;
        max-height: 250px;
        object-fit: cover;
        width: 100%;
        /* Asegurar que la imagen ocupe todo el ancho disponible */
    }

    /* Mini grid de tarjetas en móvil */
    .facturacion-card {
        padding: 12px !important;
        margin-bottom: 12px;
    }

    .facturacion-card h5 {
        font-size: 0.95rem;
    }

    .facturacion-card ul {
        font-size: 11px;
        padding: 0;
    }

    .facturacion-card ul li {
        margin-bottom: 5px;
    }

    .facturacion-card i {
        font-size: 1rem !important;
    }

    .facturacion-card .d-flex {
        flex-direction: row;
        /* Mantener icono y título en fila */
        justify-content: center;
        gap: 8px;
    }
}

/* Responsive para móviles pequeños (max-width: 767px) */
@media (max-width: 767px) {
    .facturacion-image-container img {
        max-height: 200px;
        /* Reducir altura máxima en móviles */
        width: 100%;
        height: auto;
        object-fit: contain;
        /* Usar contain para mostrar la imagen completa sin recortar */
    }
}


/* Styles for Facturaci�n Header Container with Large Icon */
.facturacion-header-container {
    position: relative;
    padding-right: 20px;
}

.icon-highlight {
    background: #f4fdff;
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 192, 211, 0.1);
    box-shadow: 0 8px 20px rgba(0, 192, 211, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.icon-highlight i {
    font-size: 50px;
    color: #e0e0e0;
    /* Light gray base */
    background: -webkit-linear-gradient(45deg, #009dae, #00c0d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.icon-highlight:hover {
    transform: rotate(5deg) scale(1.05);
    border-color: #00c0d3;
    box-shadow: 0 10px 25px rgba(0, 192, 211, 0.2);
}

.facturacion-content .icon-cyan-style {
    font-size: 1.5rem;
    color: #009dae !important;
}

.facturacion-content .icon-check {
    color: #009dae;
}

/* Responsive fix for the new header layout */
@media (max-width: 991px) {
    .facturacion-header-container {
        flex-direction: column;
        /* Cambiar de column-reverse a column para orden correcto */
        align-items: center;
        text-align: center;
        gap: 15px;
        padding-right: 0;
        width: 100%;
    }

    .text-container {
        text-align: center;
        width: 100%;
    }

    .icon-highlight {
        margin: 0 auto;
        /* Centrar con margin auto */
        margin-bottom: 0;
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icon-highlight i {
        font-size: 36px;
    }
}

/* Responsive para móviles pequeños */
@media (max-width: 767px) {
    .facturacion-header-container {
        gap: 10px;
    }

    .icon-highlight {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

    .icon-highlight i {
        font-size: 30px;
    }

    .facturacion-content .section-title {
        font-size: 1.3rem;
    }

    .facturacion-content .subtitle {
        font-size: 0.9rem;
    }
}


/* Styles for Unified Normativa Cards (Documento Soporte & Eventos) */
.normativa-grid-section .normativa-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Asegurar que ambas tarjetas tengan la misma altura */
}

.normativa-grid-section .normativa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 192, 211, 0.15);
    border-color: #00c0d3;
}

.normativa-grid-section .card-icon-header .icon-circle {
    width: 60px;
    height: 60px;
    background: #e0f7f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00c0d3;
    font-size: 30px;
}

.normativa-grid-section .normativa-title {
    color: #009dae;
    font-weight: 700;
    font-size: 1.5rem;
}

.normativa-grid-section .normativa-subtitle-small {
    color: #009dae;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.normativa-grid-section .normativa-highlight {
    color: #009dae;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.normativa-grid-section .normativa-text {
    color: #009eb0;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
}

.normativa-grid-section .section-label {
    color: #009dae !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-bottom: 2px solid #e0f7f9;
    display: inline-block;
    padding-bottom: 3px;
}

.normativa-grid-section .custom-list li {
    margin-bottom: 8px;
    color: #009eb0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
}

.normativa-grid-section .custom-list li i {
    color: #00c0d3;
    margin-right: 10px;
    font-size: 1.1rem;
    margin-top: 2px;
}

.normativa-grid-section .benefits-box {
    background: #f4fdff;
    border-radius: 12px;
    border: 1px solid rgba(0, 192, 211, 0.1);
    min-height: 220px;
    /* Altura mínima para igualar tamaño de cajas de beneficios */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.normativa-grid-section .benefits-box .custom-list li i {
    color: #00c0d3;
}

/* Responsive styles for normativa cards (Documento Soporte & Eventos) */
@media (max-width: 991px) {
    .normativa-grid-section .normativa-card {
        padding: 20px !important;
        /* Reducir padding en tablets */
    }

    .normativa-grid-section .normativa-title {
        font-size: 1.3rem;
        /* Reducir tamaño de título */
    }

    .normativa-grid-section .normativa-highlight {
        font-size: 1rem;
        /* Reducir tamaño de highlight */
    }

    .normativa-grid-section .normativa-text {
        font-size: 0.9rem;
        /* Reducir tamaño de texto */
    }

    .normativa-grid-section .card-icon-header .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 26px;
        /* Reducir tamaño de icono */
    }

    .normativa-grid-section .custom-list li {
        font-size: 0.85rem;
        /* Reducir tamaño de lista */
    }

    .normativa-grid-section .section-label {
        font-size: 0.8rem;
        /* Reducir tamaño de labels */
    }
}

@media (max-width: 767px) {
    .normativa-grid-section .normativa-card {
        padding: 15px !important;
        /* Reducir aún más el padding en móviles */
        margin-bottom: 20px;
    }

    .normativa-grid-section .normativa-title {
        font-size: 1.1rem;
        /* Título más pequeño en móviles */
    }

    .normativa-grid-section .normativa-subtitle-small {
        font-size: 0.75rem;
        /* Subtítulo más pequeño */
    }

    .normativa-grid-section .normativa-highlight {
        font-size: 0.95rem;
        /* Highlight más pequeño */
    }

    .normativa-grid-section .normativa-text {
        font-size: 0.85rem;
        /* Texto más pequeño */
        text-align: left;
        /* Mejor legibilidad en móviles */
    }

    .normativa-grid-section .card-icon-header .icon-circle {
        width: 45px;
        height: 45px;
        font-size: 22px;
        /* Icono más pequeño en móviles */
    }

    .normativa-grid-section .custom-list li {
        font-size: 0.8rem;
        margin-bottom: 6px;
        /* Lista más compacta */
    }

    .normativa-grid-section .custom-list li i {
        font-size: 1rem;
        /* Icono de lista más pequeño */
    }

    .normativa-grid-section .section-label {
        font-size: 0.75rem;
        /* Labels más pequeños */
    }

    .normativa-grid-section .benefits-box {
        padding: 12px !important;
        /* Beneficios box más compacto */
    }
}



/* Styles for Nomina Image Placeholder */
.nomina-image-placeholder {
    width: 100%;
    height: 400px;
    /* Adjust height as needed */
    background-color: #f0f8ff;
    /* Light alice blue */
    border: 2px dashed #00c0d3;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #009dae;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nomina-image-placeholder:hover {
    background-color: #e0f7f9;
    border-color: #009dae;
}


/* Reduce padding for Nomina section to avoid large gap */
#nomina-electronica {
    padding-bottom: 0 !important;
}

/* Responsive: Modern UI Section (Dos frentes, una sola solución) */
@media (max-width: 991px) {
    .modern_ui_section .section_title h2 {
        font-size: 24px !important;
        /* Reducir tamaño de título en tablets */
    }

    .modern_ui_section .section_title p {
        font-size: 16px !important;
        /* Reducir tamaño de texto en tablets */
    }
}

@media (max-width: 767px) {
    .modern_ui_section .section_title h2 {
        font-size: 20px !important;
        /* Reducir aún más en móviles */
    }

    .modern_ui_section .section_title p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        /* Ajustar line-height para mejor legibilidad */
    }
}

/* Responsive: Experts Team Section (Tranquilidad para crecer sin riesgos) */
@media (max-width: 991px) {
    .experts_team_section .section_title h2 {
        font-size: 24px !important;
        /* Reducir tamaño de título en tablets */
    }

    .experts_team_section .section_title p {
        font-size: 16px !important;
        /* Reducir tamaño de texto en tablets */
    }
}

@media (max-width: 767px) {
    .experts_team_section .section_title h2 {
        font-size: 20px !important;
        /* Reducir aún más en móviles */
    }

    .experts_team_section .section_title p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        /* Ajustar line-height para mejor legibilidad */
        max-width: 100% !important;
        /* Permitir que ocupe todo el ancho */
    }
}

/* Fix for fixed header blocking title */
#normativa-dian {
    scroll-margin-top: 150px;
}