
/*-------------SECCIÓN "DONDE QUIERA QUE ESTÉ"-------------*/

.seccion-app {
    background: var(--Primary-Dim);
    position: relative;
    overflow: hidden;
    min-height: 440px;
    width: 100%;
    margin: 0 auto;
    max-height: 440px !important;
    max-width: 1320px !important;
}

    .seccion-app::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
        background-size: 24px 24px;
        background-position: 0 0, 12px 12px;
        pointer-events: none;
        z-index: 2;
    }

.adorno-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 660px;
    height: 100%;
    background-image: url('/media/z51ba243/bk-donde-quiera-que-este.webp');
    background-size: 660px 100%;
    background-position: left top;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

.app-container {
    position: relative;
    z-index: 3;
    min-height: 440px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 440px;
    grid-template-areas: "phone text";
}

.phone-section {
    grid-area: phone;
    display: block;
    justify-content: flex-start;
    align-items: flex-end;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-left: 100px;
    height: 100%;
    max-height: 480px;
}

.phone-image-real {
    width: auto;
    height: 60vh;
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    object-fit: contain;
    margin-top: 10px;
    object-position: bottom;
}

.text-section {
    grid-area: text;
    color: white;
}

.app-badge {
    display: inline-block !important;
    background: #e9ecef !important;
    color: #00776d !important;
    padding: 8px 16px !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    border-radius: 0 24px 0 24px !important;
    box-shadow: none !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
    border: none !important;
    position: relative !important;
}

    .app-badge::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #e9ecef;
        border-radius: 0 24px 0 24px;
        z-index: -1;
    }

.app-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.app-icons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.app-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Estilos para las secciones de servicios con imagen de fondo */

/* Para data-cardServiciosWeb: imagen que se repite para cubrir todo el ancho */
[data-cardServiciosWeb] {
    position: relative;
    padding-bottom: 150px; /* Espacio para la imagen de fondo */
}

    [data-cardServiciosWeb]::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 125.71px;
        background-image: url('/media/54lpkvbs/bk-ciudad.svg');
        background-repeat: repeat-x;
        background-position: bottom center;
        background-size: auto 125.71px;
        opacity: 0.35;
        z-index: 1;
    }

/* Para data-cardServiciosMobile: imagen en swiper-hero-buttons */
[data-cardServiciosMobile] {
    position: relative;
}
[data-cardServiciosMobile] .swiper-hero::before, .swiper-hero::after {
    content: none;
}

    /*    [data-cardServiciosMobile] .swiper-hero-buttons {
        position: relative;
        height: 125.71px;
        z-index: 1;
    }*/

    /* Imagen de fondo separada para que no afecte los botones */
    [data-cardServiciosMobile] .swiper-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('/media/54lpkvbs/bk-ciudad.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        opacity: 0.35;
        z-index: -1;
    }

    /* Asegurar que el contenido esté por encima de la imagen de fondo */
    [data-cardServiciosWeb] .col-sm-12,
    [data-cardServiciosMobile] .col-12 {
        position: relative;
        z-index: 2;
    }

    /* Los botones del swiper deben estar por encima de la imagen de fondo */
    [data-cardServiciosMobile] .swiper-hero-buttons .swiper-button-prev,
    [data-cardServiciosMobile] .swiper-hero-buttons .swiper-button-next,
    [data-cardServiciosMobile] .swiper-hero-buttons .swiper-pagination {
        position: relative;
        z-index: 3;
    }

.download-section {
    margin-bottom: 2rem;
}

.download-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.store-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-button {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

    .store-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

.store-badge-img {
    height: 40px;
    width: auto;
    max-width: 140px;
}

.calificacion {
    bottom: 20px;
    position: fixed;
}
/* Responsive Design */
@media (max-width: 768px) {
    .seccion-app {
        max-height: none !important;
    }

    .adorno-background {
        width: 100%;
        height: 100%;
        background-size: 100% 100% !important;
    }

    .app-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
        grid-template-areas: "text" "phone";
        align-items: start;
        min-height: auto;
    }

    .phone-section {
        padding-left: 0;
        align-items: center;
        grid-area: phone;
        justify-self: center;
        max-height: none;
        overflow: hidden;
        width: 100%;
    }

    .text-section {
        grid-area: text;
        justify-self: start;
        text-align: left;
        margin-top: 40px;
    }

    .phone-image-real {
        height: 84vh;
        max-width: 100%;
        object-position: top;
    }

    .app-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        text-align: left;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .app-description {
        text-align: left;
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .download-title {
        text-align: left;
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        margin-bottom: 1rem;
    }

    .store-buttons {
        justify-content: flex-start;
        flex-direction: row !important;
        gap: 0.5rem;
        display: flex !important;
        flex-wrap: wrap;
    }

    .store-button {
        min-width: auto;
        flex-shrink: 0;
    }

    .store-badge-img {
        height: clamp(30px, 8vw, 35px);
        max-width: clamp(100px, 25vw, 120px);
        width: auto;
    }

    .ins-card-denuncias {
        max-width: 328px;
    }
}

@media (max-width: 480px) {
    .app-container {
        padding: 0 16px;
    }

    .phone-section {
        padding-left: 20px;
        align-items: center;
        height: 31vh;
        overflow: hidden;
    }

    .phone-image-real {
        height: 100vh;
        max-width: 100%;
        object-position: top;
    }

    .app-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        line-height: 1.1;
    }

    .app-description {
        font-size: clamp(0.8rem, 3vw, 0.9rem);
        line-height: 1.4;
    }

    .store-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 0.3rem;
        flex-wrap: wrap;
    }

    .store-button {
        width: auto;
        max-width: none;
    }

    .store-badge-img {
        height: clamp(25px, 10vw, 30px);
        max-width: clamp(80px, 30vw, 100px);
    }
    [data-cardServiciosMobile] .swiper-slide {
        margin-right: 0px !important;
    }
    [data-cardServiciosMobile] .swiper-wrapper {
        padding-left: 0px !important;
    }
}

.ins-icono-chat {
    color: #006064; /* Ajustar al color institucional si aplica */
}

.ins-btn-canal {
    font-size: 0.875rem;
    font-weight: 500;
}

.ins-card-denuncias img {
    object-fit: cover;
    height: 150px;
    object-fit: cover;
    max-width: 328px;
    max-height: 250px;
    min-height: 200px;
    opacity: 1;
}

.ins-card-denuncias {
    max-width: 312px;
    max-height: 450px;
    background-color: var(--Gray-00);
}

    .ins-card-denuncias .card-body .card-title {
        min-height: 60px;
        padding-inline: 6px;
    }

[data-cardServiciosWeb] {
    display: none;
}

@media (min-width: 834px) {
    [data-cardServiciosWeb] {
        display: flex;
    }

    [data-cardServiciosMobile] {
        display: none;
    }
}

@media (max-width: 767px) {
    .swiper-hero-buttons .swiper-pagination {
        margin: 0;
        position: relative !important;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        width: auto;
    }
}
