/* ========================================================
   REDISEÑO GPOS: ¿Por qué elegir GPOS? & Beneficios
   ======================================================== */

:root {
    --gpos-cyan: #00c0d3;
    /* Cyan color from image reference */
    --gpos-gray-text: #666;
    --gpos-dark-title: #333;
}

/* --- Columna Izquierda: Lista tipo Píldora --- */

.gpos-pill-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gpos-pill-card {
    background: #fff;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 10px 25px 10px 10px;
    /* Adjusted padding */
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gpos-pill-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.gpos-pill-icon-wrapper {
    position: relative;
    min-width: 45px;
    height: 45px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* El rombo */
.gpos-pill-icon {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1.5px solid var(--gpos-cyan);
    border-radius: 6px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 188, 212, 0.2);
}

.gpos-pill-icon i {
    transform: rotate(-45deg);
    color: var(--gpos-cyan);
    font-size: 16px;
}

.gpos-pill-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #009dae;
    margin: 0;
    line-height: 1.2;
}

.gpos-pill-content p {
    font-size: 13px;
    color: #009eb0;
    margin: 3px 0 0 0;
    line-height: 1.3;
}

/* --- Columna Derecha: Grid 2x2 tipo Tarjetas --- */

/* Contenedor del grid */
.gpos-benefits-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.gpos-benefits-col {
    width: 50%;
    /* 2 columnas */
    padding: 0 15px;
    margin-bottom: 50px;
    /* Espacio vertical extra para el icono protruded del siguiente o separation */
}

@media (max-width: 768px) {
    .gpos-benefits-col {
        width: 100%;
        /* 1 columna en movil */
    }
}

.gpos-feature-card {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    padding: 45px 25px 30px;
    /* Top padding extra para contenido bajado */
    text-align: center;
    position: relative;
    height: 100%;
    border: 1px solid #f0f0f0;
    margin-top: 25px;
    /* Espacio para que el icono de arriba no se corte */
    transition: transform 0.3s ease;
}

.gpos-feature-card:hover {
    transform: translateY(-5px);
}

/* Icono Flotante Superior */
.gpos-feature-icon-wrapper {
    position: absolute;
    top: -25px;
    /* Mitad de 50px hacia arriba */
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid var(--gpos-cyan);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.gpos-feature-icon-wrapper i {
    transform: rotate(-45deg);
    color: var(--gpos-cyan);
    font-size: 22px;
}

/* Decoración pequeña dentro del rombo (opcional, como en la imagen) */
.gpos-feature-icon-wrapper::after {
    content: '';
    /* Si quisieramos un puntito o detalle extra */
}

.gpos-feature-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #009dae;
    margin-bottom: 15px;
}

.gpos-feature-content p {
    font-size: 13px;
    color: #009eb0;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Ajustes Títulos Sección */
.column-title h2 {
    color: #00c0d3 !important;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* --- Modular Section Split Header --- */
.modular-header-split .modular-title {
    color: var(--gpos-cyan);
    font-weight: 800;
    font-size: 42px;
    /* Large Title */
    line-height: 1.1;
    text-align: left;
}

.modular-header-split .modular-subtitle {
    color: #009dae;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: left;
}

.modular-header-split .modular-description {
    color: #009eb0;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 0;
}

/* Mobile adjust for border */
@media (max-width: 991px) {
    .header-right {
        border-left: none !important;
        padding-left: 15px !important;
        margin-top: 10px;
        /* Reducido de 30px */
        padding-top: 15px;
        /* Reducido de 30px */
        border-top: 1px solid #eee;
    }

    /* Agregar margin-bottom al header-left para separar del contenido siguiente */
    .header-left {
        margin-bottom: 5px;
        /* Reducido de 20px */
    }

    .modular-header-split .modular-title {
        margin-bottom: 15px;
        padding-top: 30px !important;
        /* Agregar padding superior en móvil */
    }

    /* Reducir margen del section-footer en tablets grandes */
    .section-footer {
        margin-top: 2.5rem !important;
    }

    .section-footer h3 {
        margin-top: 1.2rem !important;
        font-size: 20px;
    }
}

/* --- Pill Title Button --- */
.modular-pill-title {
    background: transparent;
    border: none;
    color: var(--gpos-cyan);
    font-weight: 800;
    font-size: 20px;
    text-transform: uppercase;
    padding: 0;
    border-radius: 0;
    letter-spacing: 1px;
    box-shadow: none;
}

/* --- Secondary Block (Grid Images) --- */
.modular-secondary-block {
    margin-top: 80px;
}

.modular-secondary-block .modular-section-title {
    font-size: 36px;
    /* Aumentado de default */
    text-align: center;
    color: var(--gpos-cyan);
    font-weight: 700;
    margin-bottom: 50px;
}

.modular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .modular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modular-grid {
        grid-template-columns: 1fr;
    }

    /* Reducir margen del section-footer en tablets */
    .section-footer {
        margin-top: 2rem !important;
    }

    .section-footer h3 {
        margin-top: 1rem !important;
        font-size: 18px;
    }
}

.modular-card-image-grid {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modular-card-image-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--gpos-cyan);
}

.modular-card-title-bar {
    border-bottom: 2px solid var(--gpos-cyan);
    padding: 15px 10px;
    background: #fff;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modular-card-title-bar h4 {
    color: var(--gpos-cyan);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.modular-card-image-wrapper {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.modular-card-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);*/
    transition: transform 0.3s;
}

.modular-card-image-grid:hover .modular-card-image-wrapper img {
    transform: scale(1.02);
}

/* --- Textos unificados a Cyan #009eb0 --- */

/* Aliados cards footer */
.aliado-card .card-footer p {
    color: #009eb0;
}

/* Oval features list items */
.oval-features li {
    color: #009eb0;
}

/* Modular footer text */
.modular-footer .footer-text {
    color: #009eb0;
}

/* Card features list items */
.aliado-card .card-features li,
.card-features li {
    color: #009eb0 !important;
}

/* Banner text white */
.gmaster-title-section p {
    color: #fff !important;
}

/* Responsive adicional para pantallas pequeñas */
@media (max-width: 576px) {
    .gpos-pill-card {
        padding: 8px 15px 8px 8px;
    }

    .gpos-pill-icon-wrapper {
        min-width: 40px;
        height: 40px;
        margin-right: 15px;
    }

    .gpos-pill-icon {
        width: 32px;
        height: 32px;
    }

    .gpos-pill-icon i {
        font-size: 14px;
    }

    .gpos-pill-content h3 {
        font-size: 14px;
    }

    .gpos-pill-content p {
        font-size: 12px;
    }

    .gpos-feature-card {
        padding: 35px 20px 25px;
        margin-top: 20px;
    }

    .gpos-feature-icon-wrapper {
        top: -20px;
        width: 45px;
        height: 45px;
    }

    .gpos-feature-icon-wrapper i {
        font-size: 20px;
    }

    .gpos-feature-content h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .gpos-feature-content p {
        font-size: 12px;
    }

    .column-title h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .modular-pill-title {
        font-size: 16px;
        padding: 10px 30px;
    }

    .modular-header-split .modular-title {
        font-size: 32px;
    }

    .modular-header-split .modular-subtitle {
        font-size: 18px;
    }

    .modular-header-split .modular-description {
        font-size: 14px;
    }

    .modular-secondary-block .modular-section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .modular-card-title-bar h4 {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .gpos-pill-card {
        flex-direction: column;
        padding: 15px;
        text-align: center;
        border-radius: 25px;
    }

    .gpos-pill-icon-wrapper {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .gpos-pill-content h3 {
        font-size: 13px;
    }

    .gpos-pill-content p {
        font-size: 11px;
    }

    .gpos-feature-card {
        padding: 30px 15px 20px;
        margin-top: 18px;
    }

    .gpos-feature-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .gpos-feature-icon-wrapper i {
        font-size: 18px;
    }

    .gpos-feature-content h3 {
        font-size: 14px;
    }

    .gpos-feature-content p {
        font-size: 11px;
    }

    .column-title h2 {
        font-size: 20px;
    }

    .modular-pill-title {
        font-size: 14px;
        padding: 8px 25px;
    }

    .modular-header-split .modular-title {
        font-size: 26px;
        line-height: 1.2;
    }

    .modular-header-split .modular-subtitle {
        font-size: 16px;
    }

    .modular-secondary-block .modular-section-title {
        font-size: 24px;
    }

    .modular-card-title-bar {
        padding: 12px 8px;
        min-height: 50px;
    }

    .modular-card-title-bar h4 {
        font-size: 14px;
    }

    /* Reducir margen excesivo del section-footer en móviles */
    .section-footer {
        margin-top: 1.5rem !important;
    }

    .section-footer h3 {
        margin-top: 0.8rem !important;
        font-size: 16px;
    }
}

/* ========================================================
   REDISEÑO GPOS: App Web Section (Carousel + Grid)
   ======================================================== */

/* --- Card Styles --- */
.app-web-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.app-web-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 192, 211, 0.25);
    border-color: #00c0d3;
}

/* --- Icon Styles --- */
.app-web-icon {
    min-width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #e0f7f9;
    /* Light Cyan Background */
    border: 1px solid rgba(0, 192, 211, 0.2);
    transition: all 0.3s ease;
}

.app-web-card:hover .app-web-icon {
    background: #00c0d3;
    box-shadow: 0 4px 10px rgba(0, 192, 211, 0.4);
}

.app-web-icon i {
    font-size: 24px;
    color: #00c0d3;
    /* Brand Cyan */
    transition: color 0.3s ease;
}

.app-web-card:hover .app-web-icon i {
    color: #fff;
}

/* Remove colored gradients usage */
.bg-icon-blue,
.bg-icon-purple,
.bg-icon-green,
.bg-icon-orange,
.bg-icon-teal,
.bg-icon-indigo,
.bg-icon-red,
.bg-icon-gray {
    background: #e0f7f9;
}

/* --- Content Styles --- */
.app-web-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #009dae;
    margin-bottom: 5px;
}

.app-web-content p {
    font-size: 13px;
    color: #009eb0;
    line-height: 1.4;
    margin: 0;
}

/* --- Layout --- */
.app-web-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .app-web-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Adjust Owl Carousel dots if needed */
.app-web-carousel .owl-dots {
    margin-top: 15px !important;
}

/* --- Carousel Images Height Standardization --- */
.app-web-carousel .item img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    border: 5px solid #fff;
}

/* Responsive adjustments for App Web Carousel Images */
/* Responsive adjustments for App Web Carousel Images */
@media (max-width: 991px) {
    .app-web-carousel .item img {
        height: 300px !important;
        min-height: 300px !important;
        width: 100%;
        object-fit: contain !important;
        background-color: #fff;
        /* Ensure clean background for letterboxing */
        border: 2px solid #f0f0f0;
        /* Slightly lighter border for mobile */
        object-position: center;
    }
}