﻿
/*-------------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-image: var(--card-bg-img);/*Ahora la iamgen viene del modelo en umbraco*/
        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-badge-container {
    background-color: var(--Gray-00);
    border: 1px solid rgba(226, 226, 226, 0.2); /* Gray/Transparencia/25 - #E2E2E2 20% */
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 550px;
    box-sizing: border-box;
    min-height: fit-content;
    overflow: visible;
}

.download-title {
    font-size: 19px;
    font-weight: 600;
    font-style: normal;
    line-height: 125%;
    letter-spacing: 0px;
    background: var(--Primary-Gradient-03);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
}

.store-button {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    flex-shrink: 1;
    min-width: 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;
    object-fit: contain;
}

.calificacion {
    bottom: 20px;
    position: fixed;
}
/* Contenedor de la imagen */
.img-full-height-right {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    pointer-events: none; /* No molesta clics */
    z-index: 0; /* Queda detrás del texto */
}

    /* Imagen */
    .img-full-height-right img {
        height: 100%;
        width: auto;
        object-fit: contain;
        opacity: 0.45; /* Similar al mapa de ejemplo */
    }
/* Imagen ocupando todo el alto de la fila */
.row.position-relative .img-full-height-right {
    position: absolute;
    top: 0;
    bottom: 0; /* Esto hace que la imagen cubra todo el alto */
    right: 0;
    width: auto;
    pointer-events: none;
    z-index: 0; /* Detrás del texto */
}

    /* La imagen en sí */
    .row.position-relative .img-full-height-right img {
        height: 100%;
        width: auto;
        object-fit: contain;
        opacity: 0.45; /* efecto tipo mapa INS */
    }

/* Responsive Design */

/* Mobile: reducir la imagen a un bloque pequeño detrás */
@media (max-width: 768px) {
    .row.position-relative .col-md-6 {
        position: static !important;
    }
}
@media (max-width: 768px) {

    .row.position-relative .img-full-height-right {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        z-index: 0;
        opacity: 0.45 !important;
        pointer-events: none;
    }

        .row.position-relative .img-full-height-right img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.45 !important;
        }

    /* Todo el contenido hacia arriba */
    .row.position-relative > div {
        position: relative;
        z-index: 2;
    }
}

/* SOLO MOBILE */
@media (max-width: 768px) {
    .img-full-height-right img {
        transform: scale(0.65); /* reduce el zoom */
        transform-origin: right center; /* mantiene alineado a la derecha */
    }
}



@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: clamp(1rem, 3vw, 1.5rem);
        text-align: left;
        grid-template-areas: "text" "phone";
        align-items: start;
        min-height: auto;
    }

    .app-container {
        min-height: auto;
        padding: 0 12px;
    }

    .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: 20px;
        padding-bottom: 0;
    }

    .phone-image-real {
        height: 84vh;
        max-width: 100%;
        object-position: top;
    }

    .app-badge {
        font-size: clamp(0.75rem, 2vw, 1rem) !important;
        padding: 6px 12px !important;
        margin-bottom: 8px !important;
    }

    .app-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        text-align: left;
        line-height: 1.2;
        margin-bottom: clamp(0.5rem, 2vw, 0.75rem);
    }

    .app-icons {
        gap: clamp(0.75rem, 2vw, 1rem);
        margin-bottom: clamp(0.75rem, 2vw, 1rem);
    }

    .app-description {
        text-align: left;
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        line-height: 1.4;
        margin-bottom: clamp(0.75rem, 2vw, 1rem);
    }

    .download-section {
        margin-bottom: 1rem;
    }

    .download-badge-container {
        max-width: 100%;
        padding: 12px;
        gap: 12px;
        min-height: fit-content;
        overflow: visible;
    }

    .download-title {
        font-family: var(--i-title3-enfasis);
        font-weight: 600;
        font-style: normal;
        line-height: 125%;
        letter-spacing: 0px;
        background: var(--Primary-Gradient-03);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-align: center;
        font-size: clamp(0.95rem, 2.5vw, 19px);
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .store-buttons {
        justify-content: center;
        align-items: center;
        flex-direction: row !important;
        gap: clamp(0.25rem, 1vw, 0.5rem);
        display: flex !important;
        flex-wrap: nowrap;
        width: 100%;
    }

    .store-button {
        flex-shrink: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .store-badge-img {
        height: clamp(28px, 6vw, 40px);
        max-width: clamp(90px, 20vw, 140px);
        width: auto;
        object-fit: contain;
    }

    .ins-card-denuncias {
        max-width: 328px;
    }
}

@media (max-width: 480px) {
    .app-container {
        padding: 0 12px;
        min-height: auto;
    }

    .app-content {
        gap: clamp(0.75rem, 2vw, 1rem);
    }

    .phone-section {
        padding-left: 20px;
        align-items: center;
        height: 31vh;
        overflow: hidden;
    }

    .phone-image-real {
        height: 100vh;
        max-width: 100%;
        object-position: top;
    }

    .text-section {
        margin-top: 10px;
    }

    .app-badge {
        font-size: clamp(0.7rem, 1.8vw, 0.9rem) !important;
        padding: 4px 10px !important;
        margin-bottom: 6px !important;
    }

    .app-title {
        font-size: clamp(1.3rem, 4.5vw, 1.8rem);
        line-height: 1.1;
        margin-bottom: clamp(0.4rem, 1.5vw, 0.6rem);
    }

    .app-icons {
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
        margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    }

    .app-description {
        font-size: clamp(0.75rem, 2.5vw, 0.85rem);
        line-height: 1.3;
        margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    }

    .download-section {
        margin-bottom: 0.75rem;
    }

    .download-badge-container {
        padding: 8px;
        gap: 8px;
    }

    .store-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: clamp(0.2rem, 1vw, 0.5rem);
        flex-wrap: nowrap;
        width: 100%;
    }

    .store-button {
        flex-shrink: 1;
        min-width: 0;
        width: auto;
        max-width: none;
    }

    .store-badge-img {
        height: clamp(25px, 6vw, 35px);
        max-width: clamp(80px, 18vw, 120px);
        width: auto;
        object-fit: contain;
    }

    [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;
    }

@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;
    }
}




/* COMPONENTE DE PASOS SECCIONES NUEVO */
.fila1-izquierda-layout {
    width: 550px;
    height: 160px;
    max-width: 550px;
    opacity: 1;
    gap: 8px;
}

.descripcion-texto {
    text-align: left !important;
}

.fila1-derecha-layout {
    width: 550px;
    height: 96px;
    max-width: 550px;
    opacity: 1;
    gap: 16px;
}

.seccion-pasos {
    background: var(--Gray-00);
    position: relative;
    overflow: hidden;
    min-height: 440px;
    width: 100%;
    margin: 0 auto;
    /* max-height: 440px !important;*/
    max-width: 1320px !important;
}

.app-container-pasos {
    position: relative;
    z-index: 3;
    min-height: 440px;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

/* Mantiene tus estilos base existentes intactos */

/* fila de la línea */
.linea-pasos-row {
    padding-top: 16px;
}

/* iconos */
.auto-icon svg {
    width: 22px;
    height: 22px;
    color: var(--Primary-100, #165a63);
}

/* círculos grises de los pasos */
.numero {
    width: 75px;
    height: 75px;
    line-height: 75px;
    border-radius: 999px;
    border: 6px solid var(--Primary-2);
    background: var(--Gray-00);
    color: var(--Primary-100);
    display: inline-block;
}


/* etiqueta "Paso" sobre el número */
.label-paso {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--Gray-70);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fila1-contenedor-layout {
    width: 100% !important;
    height: 160px !important;
    max-width: 1280px !important;
    justify-content: space-between !important;
    opacity: 1 !important;
}

.fila2-contenedor-layout {
    width: 100% !important;
    height: 48px !important;
    max-width: 1280px !important;
    opacity: 1 !important;
    padding-right: 32px !important;
    padding-left: 32px !important;
    gap: 16px !important;
}

/* Contenedor padre: debe ser flexible */
.fila2-3-contenedor {
    width: 100%;
    max-width: 1408px;
    /* ❌ NO uses height fija */
    /* height: 334px !important; → ELIMÍNALO */
    min-height: 334px; /* opcional: solo si necesitas un mínimo en desktop */
    opacity: 1;
    gap: 8px;
    margin: 0 auto;
    padding: 0 16px; /* para no pegarse al borde en móvil */
    box-sizing: border-box;
}
/* Fila 3: responsive + centrado + espacio cómodo entre pasos */
.fila3-contenedor-layout {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 160px));
    justify-content: space-between !important;
    justify-items: center; /* centra cada paso */
    /*gap: 100px;*/ /* 💥 más espacio entre pasos */
    text-align: center;
    padding: 32px !important; /* un poco más de respiración interna */
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1280px !important; /* respeta diseño de Figma */
    border-radius: var(--Spacing-48px, 48px);
    background: var(--Gray-Transparencia-25, rgba(226, 226, 226, 0.20));
    margin: 0 auto;
}

    /* Cada paso */
    .fila3-contenedor-layout > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 160px !important; /* 🧩 ancho visualmente equilibrado */
       
    }

    /* Título del paso */
    .fila3-contenedor-layout .i-title2-enfasis {
        display: block;
        min-height: 2.5rem;
    }








/* responsive */
@media (max-width: 576px) {
    .numero {
        width: 48px;
        height: 48px;
        line-height: 48px;
        font-size: 0.95rem;
    }

    .mega-indicator {
        height: 4px;
    }
}


/* en móvil reducimos el tamaño un poco */
@media (max-width: 576px) {
    .label-paso {
        font-size: 0.8rem;
    }
}



/* Responsive: 2 pasos por fila cuando pantalla <= 768px */
@media (max-width: 768px) {
    .fila3-contenedor-layout {
        grid-template-columns: repeat(2, 1fr);
        width: 100% !important; /* se adapta al ancho de pantalla */
    }


    .fila1-contenedor-layout {
        justify-content: center !important;
    }

    .texto-primero-fila1 {
        text-align: center !important;
    }
}

.segment-teal--flecha {
    position: relative;
    height:5px !important;
}

    .segment-teal--flecha::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        width: 24px;
        height: 24px;
        border-top: 5px solid var(--Jade-50);
        border-right: 5px solid var(--Jade-50);
    }
.segment-green-flecha, .segment-orange-flecha,
.segment-yellow-flecha {
    height: 5px !important;
}

/* Responsive móvil: 1 paso por fila cuando pantalla <= 576px */
@media (max-width: 576px) {
    .fila3-contenedor-layout {
        grid-template-columns: 1fr;
        width: 100% !important;
    }


    .descripcion-texto {
        text-align: center !important;
    }

    .texto-primero-fila1 {
        text-align: center !important;
    }
}



/* FIN DE COMPONENTE DE PASOS SECCIONES NUEVO */

/* 📱 Solo afecta a esta vista gracias al contenedor custom-responsive-dos-row */

@media (max-width: 1023px) {
    .custom-responsive-dos-row {
        display: flex;
        flex-direction: column;
        align-items: center; /* 💡 centra horizontalmente las columnas cuando se apilan */
    }

        .custom-responsive-dos-row > .col-md-6 {
            flex: 0 0 auto;
            width: 100%;
            max-width: 600px; /* opcional: define un ancho máximo visual más elegante */
        }
}

@media (min-width: 1024px) {
    .custom-responsive-dos-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

        .custom-responsive-dos-row > .col-md-6 {
            flex: 0 0 50% !important;
            max-width: 50% !important;
        }
}


/*Animacion Hero*/

.animacion-pollito {
    position: absolute;
    top: -133px; /* sobresale 20px por encima del borde superior del footer */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1; /* queda sobre el fondo, pero debajo del contenido si ajustas */
    width: 200px; /* ajusta el tamaño según necesites */
    pointer-events: none; /* evita que bloquee clics */
}
