* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}

html,
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

header {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
    background: rgba(30, 30, 30, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-logo {
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.header-nav {
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 999;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.header-nav li {
    list-style: none;
    padding: 10px 14px;
    transition: all 0.3s ease;
}

.header-nav a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    white-space: nowrap;
}

.header-nav li:hover {
    background-color: rgba(42, 42, 42, 0.9);
    border-bottom: 3px solid #a4d55d;
}

/* ===== MENÚ LATERAL ELIMINADO ===== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    /* alto de sección completa */
    overflow: hidden;
    background: #ffffff;
    background: linear-gradient(-55deg, #ffffff00 15%, #000000 100%);
    padding: 80px;
    padding-top: 80px;
    border-bottom: 10px solid #a4d55d;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    /* detrás del contenido */
}

.hero-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    /* por encima del video */
    color: white;
    text-align: start;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding-right: 40%;
    gap: 20px;
}

.hero-content h1 {
    font-size: 6rem;
}

.hero-content p {
    font-size: 1.5rem;
}

.title-span {
    color: #a4d55d;
    font-weight: 900;
    font-size: 6rem;
}

.hero-btns {
    display: flex;
    gap: 10px;
}

.hero-btns button {
    padding: 10px;
    background-color: #252525;
    border-style: none;
    border-radius: 10px;
    font-size: 1.2rem;
    color: white;
}


.indicadores {
    width: 100%;
    height: auto;
    padding: 10% 5% 0 5%;
}

.indicadores h3 {
    font-size: 3rem;
    text-align: center;
    padding-bottom: 40px;
}

.kpi-section {
    width: 100%;
    height: 20vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    border-bottom: 2px solid #a4d55d;
}

.kpi {
    text-align: center;
}

.kpi-number {
    font-size: 4rem;
    font-weight: 700;
    color: #333;
    display: block;
}

.kpi p {
    font-size: 1rem;
    margin-top: 10px;
}

.secondary {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10% 40px 0;
}

.secondary-btn {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 80px 0;
}

.secondary-btn a {
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 32px;
    border-style: none;
    background-color: #333;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 3px 5px 0px #F7921E;
    transition: 0.5s;
}

.secondary-btn a:hover {
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 32px;
    border-style: none;
    background-color: #333;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 5px 8px 0px #a4d55d;
}


/* Botón */
.btn-full {
    display: inline-block;
    margin: 80px;
    padding: 16px 24px;
    background: #F7921E;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

/* Sub-página */
.slide-page {
    height: auto;
    inset: 0;
    width: 100vw;
    position: fixed;
    inset: 0;
    background: #ffffff;

    transform: translateX(-100%);
    transition: transform 0.45s ease;

    z-index: 1000;
    overflow-y: auto;

    /* Clave: evita scroll chaining */
    overscroll-behavior: contain;
    padding-bottom: 40px;
}

/* Visible */
.slide-page.active {
    transform: translateX(0);
}

/* Contenedor */
.slide-page-content {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Cada ranking */
.ranking-row {
    display: flex;
    width: 100%;
    min-height: 320px;
}

/* Alternar imagen / texto */
.ranking-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Imagen */
.ranking-image {
    width: 50%;
    background-size: cover;
    background-position: center;
}

/* Texto */
.ranking-text {
    width: 50%;
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    background: #ffffff;
}

.ranking-text h3 {
    font-size: 28px;
    margin-bottom: 16px;
    font-size: 2.2rem;
}

.ranking-text p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 520px;
}

.ranking-text span {
    font-weight: 700;
    font-size: 1.2rem;
    color: #57c786;
}

.ranking-text a {
    text-decoration: none;
    color: #57c786;
    display: flex;
    align-items: center;
    justify-content: start;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.5rem;
    gap: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .ranking-row {
        flex-direction: column;
        min-height: auto;
    }

    .ranking-row:nth-child(even) {
        flex-direction: column;
    }

    .ranking-image {
        width: 100%;
        height: 220px;
    }

    .ranking-text {
        width: 100%;
        padding: 32px;
    }
}

.ranking-row-title {
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ranking-row-title h2 {
    font-size: 8rem;
    text-transform: uppercase;
}

.row-right {
    border-radius: 32px 0 0 32px;
}

.row-left {
    border-radius: 0 32px 32px 0;
}

/* Header */
.slide-header {
    position: sticky;
    height: auto;
    z-index: 9999;
    padding: 16px 40px;
    top: 0;
    background: #ffffff00;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Botón volver */
.back-btn {
    position: sticky;
    background: #252525;
    padding: 20px;
    color: white;
    font-weight: 800;
    border-radius: 32px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Contenido */
.slide-body {
    padding: 24px;
    line-height: 1.6;
}












.secondary-cards {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.scnd-card {
    width: 350px;
    height: 600px;
    background-color: #f0f0f0;
    padding: 8px;
    border-radius: 80px;
    box-shadow: 2px 2px 12px rgba(65, 65, 65, 0.801);
    opacity: 0;
    transform: translateY(80px);
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.card-content {
    width: 100%;
    height: 100%;
    border-radius: 72px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    overflow: hidden;
}

.card-info {
    width: 100%;
    height: 40%;
    background: #555555a6;
    -webkit-backdrop-filter: blur(60px);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    padding: 20px;
    gap: 20px;
}

.card-info h2 {
    color: white;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.card-info p {
    color: white;
    font-size: 1rem;
}

/* .card-info a {
    width: 100%;
    height: 60px;
    text-decoration: none;
    font-size: 0.8rem;
    color: #252525;
    font-weight: 800;
    background-color: #f5f5f5;
    border-radius: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
} */

.card1 {
    /* IMAGEN DE FONDO */
    background-image: url("/assets/webp/city.webp");
    background-size: cover;
    background-position: center;
}

.card2 {
    /* IMAGEN DE FONDO */
    background-image: url("/assets/webp/centro.webp");
    background-size: cover;
    background-position: center;
}

.card3 {
    /* IMAGEN DE FONDO */
    background-image: url("/assets/webp/procrear.webp");
    background-size: cover;
    background-position: center;
}

.card4 {
    /* IMAGEN DE FONDO */
    background-image: url("/assets/webp/central-park.webp");
    background-size: cover;
    background-position: center;
}

/* Animación cuando entran al viewport */
.scnd-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Delay distinto para cada tarjeta */
.scnd-card:nth-child(1) {
    transition-delay: 0.1s;
}

.scnd-card:nth-child(2) {
    transition-delay: 0.3s;
}

.scnd-card:nth-child(3) {
    transition-delay: 0.5s;
}

.scnd-card:nth-child(4) {
    transition-delay: 0.7s;
}

.terciary {
    width: 100%;
    height: 100%;
    position: relative;
}

/* FONDO RECORTADO */
.terciary-bg {
    width: 100%;
    height: 70%;
    position: absolute;
    inset: 0;
    z-index: 0;

    background: linear-gradient(0deg,
            #00000057 0%,
            #00000096 50%,
            #0000008a 100%),
        url('/assets/webp/colors.webp') bottom/cover no-repeat;
    background-attachment: fixed;

    clip-path: polygon(0 10%, 100% 0, 100% 85%, 0 100%);
}

/* Título */
.terciary-title {
    position: relative;
    z-index: 1;
    padding: 15% 10%;
    text-align: center;
}

.terciary-title h2 {
    font-size: 6rem;
    color: #ffffff;
}

.terciary-title p {
    font-size: 1.5rem;
    color: white;
}

/* Contenedor de cartas */
.stacked-cards {
    width: 100%;
    height: auto;
    /* ALTURA DEL BLOQUE: ajustá según diseño */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* las alinea todas a la base */
    position: relative;
    z-index: 2;
    padding: 0 40px;
    gap: 10px;
}

/* Estilo general de tarjeta */
.card {
    width: 45%;
    padding: 30px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 24px 24px 0 0;
    padding-bottom: 7%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.473);
    transition: 0.2s;
}

.card-title {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 40px;
}

.card-title span {
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 700;
}

.card-bottom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
    font-weight: 700;
}

.card-bottom i {
    font-size: 1rem;
}

/* ALTURAS DIFERENTES (como NITEX) */
.card:nth-child(1) {
    height: 220px;
    background-color: #03cafa;
    color: #ffffff;
    z-index: 1;
}

.card:nth-child(2) {
    height: 250px;
    background-color: #0572e0;
    color: #ffffff;
    z-index: 2;
}

.card:nth-child(3) {
    height: 280px;
    background-color: #F7921E;
    color: #ffffff;
    z-index: 3;
}

.card:nth-child(4) {
    height: 310px;
    background-color: #20da9b;
    color: white;
    z-index: 4;
}

.card:nth-child(5) {
    height: 340px;
    background-color: #ea4e84;
    color: white;
    z-index: 5;
}

.card:nth-child(6) {
    height: 370px;
    background-color: #4e60b6;
    color: white;
    z-index: 6;
}

.card:nth-child(7) {
    height: 400px;
    background-color: #88c83f;
    color: white;
    z-index: 7;
}

.card:nth-child(8) {
    height: 430px;
    background-color: #065dce;
    color: white;
    z-index: 8;
}

/* Hover: sube un poco sin salir del bloque */
.card:hover {
    transform: translateY(-10px);
    z-index: 999;
}


/* ===========================
   SLIDEPAGE – ESTRUCTURA INTERNA
   =========================== */

.slide-sectores .slide-title {
    padding: 48px 10% 24px;
}

.slide-sectores .slide-title h2 {
    font-size: 6rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* Contenido principal */
.slide-sectores .slide-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    padding: 0 10% 80px;
    align-items: start;
}

/* Texto */
.slide-sectores .slide-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.slide-sectores .slide-text h3 {
    font-size: 1.6rem;
    margin: 32px 0 12px;
}

.slide-sectores .slide-text p {
    margin-bottom: 16px;
}

/* Imagen */
.slide-sectores .slide-image img {
    width: 100%;
    height: 600px;
    border-radius: 16px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
    .slide-sectores .slide-body {
        grid-template-columns: 1fr;
    }

    .slide-sectores .slide-image {
        order: -1;
    }
}

/* =====================================================
   SLIDES SECTORES – COLORES SINCRONIZADOS CON LAS CARDS
   ===================================================== */

/* CARD 1 – SALUD */
.slide-sectores.sector-economia-verde {
    background: linear-gradient(135deg, #03cafa, #03cafa);
    background-position: center;
    background-size: cover;
    color: white;
}



/* CARD 2 – COMERCIO */
.slide-sectores.sector-comercio {
    background: linear-gradient(135deg, #0b5ed7, #0b5ed7);
    background-position: center;
    background-size: cover;
    color: white;
}

/* CARD 3 – LOGÍSTICA / FINANZAS */
.slide-sectores.sector-logistica {
    background: linear-gradient(135deg, #F7921E, #F7921E);
    background-position: center;
    background-size: cover;
    color: white;
}

/* CARD 4 – SALUD / BIENESTAR / INMOBILIARIO */
.slide-sectores.sector-salud-bienestar {
    background: linear-gradient(135deg, #20da9b, #20da9b);
    background-position: center;
    background-size: cover;
    color: white;
}

/* CARD 5 – GASTRONOMÍA / SERVICIOS TI */
.slide-sectores.sector-servicios-ti {
    background: linear-gradient(135deg, #ea4e84, #ea4e84);
    background-position: center;
    background-size: cover;
    color: white;
}

/* CARD 6 – ECONOMÍA DEL CONOCIMIENTO */
.slide-sectores.sector-economia-conocimiento {
    background: linear-gradient(135deg, #4e60b6, #4e60b6);
    background-position: center;
    background-size: cover;
    color: white;
}

/* CARD 7 – TURISMO */
.slide-sectores.sector-turismo {
    background: linear-gradient(135deg, #88c83f, #a4d55d);
    background-position: center;
    background-size: cover;
    color: white;
}



/* CARD 8 – INDUSTRIAS CREATIVAS */
.slide-sectores.sector-industrias-creativas {
    background: linear-gradient(135deg, #002f6c, #002f6c);
    background-position: center;
    background-size: cover;
    color: white;
}

















.map {
    width: 100%;
    position: relative;
    /* ⭐ necesario para el fondo absoluto */
    z-index: 9;
    overflow: visible;
    /* el contenido no se corta */
    margin-top: -100px;
}

/* Estilos adicionales para la página de inicio */
.landing-page {
    width: 100%;
    min-height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(180deg,
            rgba(37, 37, 37, 1) 0%,
            rgba(37, 37, 37, 0) 100%),
        url('/assets/webp/Panorámica_Ciudad_de_Mendoza.jpg') bottom/cover no-repeat;

    clip-path: polygon(100% 5%, 0 0, 0 90%, 100% 100%);
    padding: 10% 5%;
    margin-bottom: 100px;
}

.landing-content {
    max-width: 1200px;
    width: 100%;
}

.landing-header {
    text-align: center;
    margin-bottom: 50px;
}

.landing-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.landing-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.landing-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.modos-grid {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffffd7;
    border-radius: 32px;
}

.modo-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    border-radius: 32px;
}

.map-gif {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-gif img {
    width: auto;
    height: 400px;
    border-radius: 32px;
}

.modo-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.modo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.modo-icon i {
    font-size: 40px;
    color: white;
}

.modo-parcela .modo-icon {
    background: linear-gradient(135deg, #F7921E 0%, #ff9f4b 100%);
}

.modo-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.modo-desc {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.modo-features {
    margin-bottom: 25px;
}

.modo-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #555;
}

.modo-features i {
    width: 20px;
}

.modo-features .fa-check-circle {
    color: #10b981;
}

.modo-features .fa-times-circle {
    color: #94a3b8;
}

.btn-modo {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    color: white;
}

.btn-modo-parcela {
    background: #F7921E;
}

.btn-modo-competencia {
    background: #10b981;
}

.btn-modo-exploracion {
    background: #8b5cf6;
}

.btn-modo:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.landing-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.nav-bar {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    flex-grow: 1;
}

.nav-back {
    padding: 8px 16px;
    background: #f1f5f9;
    border: none;
    border-radius: 30px;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.nav-back:hover {
    background: #e2e8f0;
}

#app {
    display: grid;
    grid-template-columns: 360px 1fr 340px;
    grid-template-rows: 1fr auto;
    grid-template-areas:
        "izquierdo mapa derecho"
        "inferior mapa derecho";
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: var(--dark-bg);
}

.actividades-section {
    display: block !important;
}





.video-hero {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    /* ⭐ Clip inicial (recortado) */
    clip-path: polygon(10% 45%, 50% 100%, 90% 45%, 50% 100%);
    transition: clip-path 0.5s ease;
}

/* ⭐ Clip final (expande) */
.video-hero.expanded {
    clip-path: polygon(0 10%, 100% 0, 100% 85%, 0 100%);
}

/* 🎥 VIDEO DE FONDO CON RECORTE */
.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;

    pointer-events: none;
    /* no tapa nada */
}



/* CONTENIDO ENCIMA */
.video-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    position: relative;
    z-index: 3;
    padding: 10%;
    color: white;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.video-content h2 {
    font-size: 6rem;
}

.video-content p {
    font-size: 1.5rem;
    max-width: 600px;
}

.video-content button {
    width: 300px;
    height: 60px;
    border-style: none;
    border-radius: 32px;
    font-size: 2rem;
    background-color: #F7921E;
    color: white;
    cursor: pointer;
}

/* ===========================
   SLIDEPAGE – INDICADORES
   =========================== */

.slide-indicadores {
    background: #ffffff;
}

.indicadores-title {
    width: 100%;
    height: 70vh;
    position: relative;
    inset: 0;
    z-index: 0;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #065dce;
    padding: 5%;
}

.indicadores-title h2 {
    font-size: 4rem;
    color: white;
}

.indicadores-body {
    display: flex;
    flex-direction: column;
}

.indicadores-content1 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 5%;
}

.indicadores-content1 p {
    font-size: 2rem;
}

.indicadores-content1 span {
    font-weight: 700;
    font-size: 2.2rem;
    color: #0572e0;
}

.indicadores-content2 {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 5%;
}

.indicadores-content2 p {
    font-size: 2rem;
}

.indicadores-content2 span {
    font-weight: 700;
    font-size: 2.2rem;
    color: #0572e0;
}

.indicadores-media {
    display: flex;
    justify-content: center;
    align-items: center;

    filter: drop-shadow(10px 0px 0px #065dce);
}

.indicadores-media img {
    width: 400px;
    height: auto;
    clip-path: polygon(100% 0%, 75% 50%, 100% 100%, 25% 100%, 0% 50%, 25% 0%);
    border-radius: 32px;
}

.indicadores-media2 {
    display: flex;
    justify-content: center;
    align-items: center;

    filter: drop-shadow(10px 0px 0px #065dce);
}

.indicadores-media2 img {
    width: 400px;
    height: auto;
    clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
    border-radius: 32px;
}


.indicadores-frame {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
}

.indicadores-frame iframe {
    width: 100%;
    height: 100vh;
}

.indicadores-frame-responsive {
    display: none;
}










/* ===============================
   CONTENEDOR GENERAL
   =============================== */
.fifth {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin-top: -200px;
}

/* ===============================
   BLOQUE PRINCIPAL
   =============================== */
.fifth-title {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding-top: 400px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}


/* ===============================
   TÍTULO
   =============================== */
.fifth-title h2 {
    font-size: 6rem;
    cursor: pointer;
}

/* ÍCONO */
.fifth-title h2 i {
    color: #1e88e5;
    transition: color 0.3s ease, transform 0.3s ease;
}



/* ===============================
   TEXTO
   =============================== */
.fifth-title p {
    font-size: 1.5rem;
}

/* ===============================
   BOTÓN
   =============================== */
.fifth-title button {
    background-color: #333;
    padding: 20px;
    border-radius: 32px;
    color: white;
    text-decoration: none;
    border-style: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
}


.inversor-body {
    width: 100%;
    height: auto;
    display: flex;
    gap: 8px;
}

.tramites-title {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 3rem;
    text-align: center;
    color: #002f6c;
}

.tramites-content {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-right: 180px;
}

.tramites-content ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tramites-content li {
    font-size: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
}

.tramites-content a {

    font-weight: 700;
    text-decoration: none;
    color: #0b5ed7;
    cursor: pointer;
}

.tramites-content p {
    font-size: 1rem;
}

.tramite-link {
    width: 20%;
    text-align: center;
    padding: 10px;
    font-size: 1.2rem;
    background-color: rgb(241, 241, 241);
    border-radius: 32px;
}

.programas-body {
    width: 100%;
    height: auto;
    padding: 40px;
    display: flex;
    gap: 40px;
}

.programa {
    border-radius: 32px;
    border: 8px solid rgb(233, 233, 233);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    padding: 40px;
    padding-right: 150px;
    color: white;
}

.programa h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.programa a {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-top: 40px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    display: flex;
    gap: 20px;
}

.programa1 {
    width: 50%;
    background: #7878fa;
    background: linear-gradient(0deg, #000000c4 50%, #a4d55d 100%), url(/assets/webp/building4.webp);
    background-size: cover;
    background-position: center;
}

.programa2 {
    width: 50%;
    background: #FD1D1D;
    background: linear-gradient(0deg, #000000d7 50%, #e67a00 100%), url(/assets/webp/building5.webp);
    background-size: cover;
    background-position: center;
}

footer {
    width: 100%;
    height: auto;
}

.footer-top {
    width: 100%;
    height: auto;

}

.news {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2A7B9B;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    gap: 400px;
    padding: 5%;
}

.news h4 {
    font-size: 3rem;
    color: white;
}

.news span {
    font-weight: 700;
    color: #a4d55d;
}

.news button {
    padding: 40px;
    border-style: none;
    border-radius: 32px;
    font-size: 2rem;
    background-color: #333;
    color: white;
    font-weight: 700;
}

.footer-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.footer-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: #00000054;
    z-index: 2;
}

.footer-left {
    width: 50%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    z-index: 9999999;
    background-color: #333;
    padding: 5%;
}

.footer-logo {
    width: 100%;
    height: 100px;
}

.footer-logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.footer-content {
    width: 100%;
    height: auto;
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.content {
    width: 100%;
    height: auto;
    padding: 40px 0;
    color: white;
}

.content span {
    font-size: 2rem;
    color: #a4d55d;
    font-weight: 700;
}

.footer-redes {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-redes i {
    font-size: 2rem;
    color: white;
}

.footer-container button {
    border-style: none;
    padding: 20px;
    font-size: 1.2rem;
    border-radius: 32px;
    box-shadow: none;
    background-color: #F7921E;
    color: white;
}

.footer-right {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 9999999;
    padding: 40px;
}

.footer-right h2 {
    position: relative;
    z-index: 99999;
    text-transform: uppercase;
    color: white;
    font-size: 5rem;
    text-align: center;
}

/* OVERLAY */
.iframe-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    z-index: 99999999;
}

/* IFRAME */
.iframe-overlay iframe {
    width: 95vw;
    height: 90vh;
    border: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: #fff;
}

/* BOTÓN CERRAR */
.close-iframe-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

/* ===============================
   POWERBI RESPONSIVE - INDICADORES
   =============================== */

/* Contenedor principal del iframe desktop */
.powerbi-container {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    display: block;
}

/* Contenedor del iframe mobile (oculto por defecto) */
.powerbi-container-mobile {
    width: 100%;
    max-width: 500px;
    margin: 40px auto;
    padding: 0 20px;
    display: none;
}

/* Wrapper para mantener proporción 16:9 */
.powerbi-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transition: box-shadow 0.3s ease;
}

.powerbi-wrapper:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Estilos del iframe */
.powerbi-iframe,
.powerbi-iframe-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

/* Loader mientras carga */
.powerbi-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #F7921E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.powerbi-iframe.loading+.powerbi-wrapper::before,
.powerbi-iframe-mobile.loading+.powerbi-wrapper::before {
    opacity: 1;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive Breakpoints */

/* Tablets grandes (hasta 1200px) */
@media screen and (max-width: 1200px) {
    .powerbi-container {
        max-width: 900px;
        margin: 35px auto;
    }

    .powerbi-wrapper {
        border-radius: 14px;
    }
}

/* Tablets (hasta 992px) */
@media screen and (max-width: 992px) {
    .powerbi-container {
        max-width: 100%;
        margin: 30px auto;
        padding: 0 25px;
    }

    .powerbi-wrapper {
        border-radius: 12px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    }
}

/* Móviles grandes (hasta 768px) */
@media screen and (max-width: 768px) {
    .powerbi-container {
        margin: 25px auto;
        padding: 0 20px;
    }

    .powerbi-wrapper {
        border-radius: 10px;
        padding-bottom: 60%;
        /* Ligeramente más alto en móviles */
    }

    .powerbi-wrapper::before {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
}

/* Móviles (hasta 576px) - Cambio al iframe mobile */
@media screen and (max-width: 576px) {
    .powerbi-container {
        display: none;
        /* Ocultamos el iframe desktop */
    }

    .powerbi-container-mobile {
        display: block;
        /* Mostramos el iframe mobile */
        margin: 20px auto;
        padding: 0 15px;
    }

    .powerbi-wrapper {
        padding-bottom: 75%;
        /* 4:3 Aspect Ratio para mejor visualización en móviles */
        border-radius: 8px;
    }
}

/* Móviles pequeños (hasta 375px) */
@media screen and (max-width: 375px) {
    .powerbi-container-mobile {
        padding: 0 12px;
    }

    .powerbi-wrapper {
        padding-bottom: 85%;
        /* Más cuadrado para pantallas muy pequeñas */
    }

    .powerbi-wrapper::before {
        width: 35px;
        height: 35px;
    }
}

/* Orientación landscape en móviles */
@media screen and (max-height: 500px) and (orientation: landscape) {

    .powerbi-container,
    .powerbi-container-mobile {
        margin: 15px auto;
    }

    .powerbi-wrapper {
        padding-bottom: 45%;
        /* Más bajo en landscape */
    }
}

/* Ajustes para el contenido existente de indicadores */
.indicadores-content1,
.indicadores-content2 {
    margin: 40px auto;
    max-width: 1000px;
}

@media screen and (max-width: 768px) {

    .indicadores-content1,
    .indicadores-content2 {
        margin: 30px auto;
        padding: 0 20px;
    }
}

@media screen and (max-width: 576px) {

    .indicadores-content1,
    .indicadores-content2 {
        margin: 25px auto;
        padding: 0 15px;
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .powerbi-wrapper::before {
        animation: none;
    }

    .powerbi-wrapper:hover {
        transform: none;
    }
}

/* ========== BOTÓN FLOTANTE (parte inferior derecha) ========== */
.btn-ir-arriba {
    position: fixed;
    bottom: 100px;
    right: 37px;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background-color: #f97316;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 19V5M5 12l7-7 7 7"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.25s ease-in-out;
    border: none;
    outline: none;
    opacity: 0.85;
}

/* Efecto hover para mejor interacción */
.btn-ir-arriba:hover {
    background-color: #e8610c;
    transform: scale(1.05);
    box-shadow: 0 12px 22px rgba(249, 115, 22, 0.5);
    opacity: 1;
}

/* Efecto al hacer clic (feedback) */
.btn-ir-arriba:active {
    transform: scale(0.95);
    background-color: #d45508;
}

/* Para dispositivos táctiles, mantener área amplia */
@media (max-width: 600px) {
    .btn-ir-arriba {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        background-size: 24px;
    }

    .content {
        padding: 1rem 1rem 4rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

}

/* Pequeña mejora: animación sutil si se desea mostrar/ocultar? 
           No es necesario, siempre visible, pero se puede agregar un fade mínimo opcional */
.btn-ir-arriba {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 0.85;
        transform: translateY(0);
    }
}

/* Estilos para la accesibilidad: foco */
.btn-ir-arriba:focus-visible {
    outline: 3px solid #ffb347;
    outline-offset: 3px;
    opacity: 1;
}