* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

html,
body {
    overflow-x: hidden;
}

header {
    width: 100%;
    height: 80px;
    display: flex;
}

.header-logo {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: start;
}

.header-logo img {
    width: auto;
    height: 80%;
    object-fit: contain;
}

.header-nav {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: end;
}

.header-nav ul {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 40px;
    border-bottom: 2px solid white;
}

.header-nav li {
    list-style: none;
    color: white;
    font-weight: 700;
}

.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;
    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;
}

.principal {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    padding: 5%;
    gap: 80px;
}

.principal-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10%;
    text-align: center;
    gap: 20px;
    color: white;
    box-shadow: 2px 2px 6px black;
    border-radius: 32px;
    background: #ffffff;
    background: linear-gradient(-180deg, #00000060 0%, #000000c0 100%), url(/assets/images/pexels-imagevain-2539658.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* 🔥 Parallax */
    background-attachment: fixed;
}

.principal-content p {
    font-size: 1.3rem;
    font-weight: 700;
}

.principal-content span {
    font-size: 3rem;
    font-weight: 800;
    color: #a4d55d;
}

.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;
}

.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;
}

/* 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;
}

.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: #5555557a;
    -webkit-backdrop-filter: blur(60px);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

.card-info h2 {
    color: white;
    font-size: 2rem;
    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/images/city.jpg");
    background-size: cover;
    background-position: center;
}

.card2 {
    /* IMAGEN DE FONDO */
    background-image: url("/assets/images/centro.jpg");
    background-size: cover;
    background-position: center;
}

.card3 {
    /* IMAGEN DE FONDO */
    background-image: url("/assets/images/procrear.jpg");
    background-size: cover;
    background-position: center;
}

.card4 {
    /* IMAGEN DE FONDO */
    background-image: url("/assets/images/central-park.jpg");
    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,
            #00000000 0%,
            #00000096 50%,
            #0000008a 100%),
        url('/assets/images/parque-sm.jpg') 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: 250px;
    background-color: #03cafa;
    color: #ffffff;
    z-index: 1;
}

.card:nth-child(2) {
    height: 270px;
    background-color: #0572e0;
    color: #ffffff;
    z-index: 2;
}

.card:nth-child(3) {
    height: 320px;
    /* más alta, como en la imagen */
    background-color: #F7921E;
    color: #ffffff;
    z-index: 3;
}

.card:nth-child(4) {
    height: 350px;
    background-color: #20da9b;
    color: white;
    z-index: 4;
}

.card:nth-child(5) {
    height: 425px;
    background-color: #ea4e84;
    color: white;
    z-index: 5;
}

.card:nth-child(6) {
    height: 260px;
    background-color: #4e60b6;
    color: white;
    z-index: 6;
}

.card:nth-child(7) {
    height: 240px;
    background-color: #88c83f;
    color: white;
    z-index: 7;
}

.card:nth-child(8) {
    height: 280px;
    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;
    }
}

/*CARD 1*/

.slide-sectores.sector-comercio {
    background: linear-gradient(35deg, #0b5ed7, #03c9fa7a), url(/assets/images/comercio.jpg);
    background-position: center;
    background-size: cover;
    ;
    color: white;
}


/*CARD 2*/

.slide-sectores.sector-servicios-ti {
    background: linear-gradient(0deg, #0b5dd75e, #002f6c), url(/assets/images/gastronomia.jpg);
    background-position: center;
    background-size: cover;
    color: white;
}

.slide-sectores.sector-servicios-ti .slide-title h2 {
    color: #ffffff;
}

.slide-sectores.sector-servicios-ti .slide-image img {
    border-radius: 0;
    filter: contrast(1.1);
}


/*CARD 3*/

.slide-sectores.sector-turismo {
    background: linear-gradient(0deg, #f7921ec9, #f7921e), url(/assets/images/comunicaciones.jpg);
    color: white;
}


/*CARD 4*/

.slide-sectores.sector-economia-conocimiento {
    background: linear-gradient(135deg, #0b5dd7b4, #20da9b), url(/assets/images/cientificos.jpg);
    background-position: center;
    background-size: cover;
    color: white;
}


/*CARD 5*/

.slide-sectores.sector-industrias-creativas {
    background: linear-gradient(0deg, #ea4e858a, #7a032d), url(/assets/images/cultura.jpg);
    background-position: center;
    background-size: cover;
    color: white;
}


/*CARD 6*/

.slide-sectores.sector-logistica {
    background: linear-gradient(135deg, #4e60b6, #11216e8e), url(/assets/images/finanzas.jpg);
    background-position: center;
    background-size: cover;
    color: white;
}


/*CARD 7*/

.slide-sectores.sector-economia-verde {
    background: linear-gradient(135deg, #88c83f, #4581016e), url(/assets/images/salud.jpg);
    background-position: center;
    background-size: cover;
    ;
    color: white;
}


/*CARD 8*/

.slide-sectores.sector-salud-bienestar {
    background: linear-gradient(135deg, #0b5ed7, #065dce94), url(/assets/images/inmobiliario.jpg);
    background-position: center;
    background-size: cover;
    ;
    color: white;
}


















.map {
    width: 100%;
    position: relative;
    /* ⭐ necesario para el fondo absoluto */
    padding: 10% 5%;
    z-index: 9;
    overflow: visible;
    /* el contenido no se corta */
    margin-top: -100px;
}

.map-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 80%;
    /* ⭐ El fondo ocupa solo parte del contenedor */
    z-index: 0;
    /* ⭐ Por debajo del texto y tarjetas */

    background: linear-gradient(180deg,
            rgba(37, 37, 37, 1) 0%,
            rgba(37, 37, 37, 0.6) 100%),
        url('/assets/images/const.jpg') bottom/cover no-repeat;

    clip-path: polygon(100% 5%, 0 0, 0 90%, 100% 100%);
    /* tu recorte */
    background-attachment: fixed;
}

.mapa-title,
.mapa-cards {
    position: relative;
    z-index: 2;
    /* ⭐ encima del fondo */
}

.mapa-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: white;
    text-align: center;
    padding: 10%;
}

.mapa-title h2 {
    font-size: 6rem;
    text-transform: uppercase;
}

.mapa-title p {
    font-size: 1.5rem;
}

.mapa-title button {
    width: 300px;
    height: 60px;
    border-style: none;
    border-radius: 32px;
    font-size: 2rem;
    background-color: #F7921E;
    color: white;
    cursor: pointer;
}

.mapa-cards {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mapa-tarjeta {
    width: 300px;
    height: 400px;
    background: #252525;
    background: linear-gradient(180deg, #252525 0%, #252525 100%, #eddd5300 100%);
    border-radius: 32px;
}

.tarjeta-content {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    background: #252525;
    background: linear-gradient(180deg, rgba(37, 37, 37, 1) 0%, rgba(37, 37, 37, 0.6) 100%, rgba(237, 221, 83, 0) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    padding: 10px;
}

.tarjeta-content i {
    color: white;
    font-size: 6rem;
}

.tarjeta-content span {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}
/* ===========================
   SLIDEPAGE – MAPA
   =========================== */

.slide-mapa {
  background: #ffffff;
}

/* Header */
.slide-mapa .slide-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid #eaeaea;
}

/* Cuerpo del mapa */
.slide-mapa-body {
  width: 100%;
  height: calc(100vh - 72px); /* resta altura del header */
  overflow: hidden;
}

/* Iframe */
.slide-mapa-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.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: #e67a00;
    background: linear-gradient(0deg, rgba(230, 122, 0, 0) 0%, rgba(6, 93, 206, 1) 100%),
        url('/assets/images/construction.jpg') bottom/cover no-repeat;
    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;
}











/* ===============================
   CONTENEDOR GENERAL
   =============================== */
.fifth {
    width: 100%;
    height: auto;
    display: flex;
    margin-top: -200px;
}

/* ===============================
   BLOQUE PRINCIPAL
   =============================== */
.fifth-title {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;

    padding-top: 400px;
    padding-bottom: 300px;

    position: relative;
    overflow: hidden;
    background-color: #fff;
}

/* ===============================
   OVERLAY DE FONDO (ANIMABLE)
   =============================== */
.fifth-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #F7921E;
    background-position: center;
    background-size: cover;


    opacity: 0;

    transition: opacity 0.5s ease;
    z-index: 0;
}

/* Activación del fondo en hover */
.fifth-title:hover::before {
    opacity: 1;
}

/* Asegura que el contenido quede arriba */
.fifth-title>* {
    position: relative;
    z-index: 1;
}

/* ===============================
   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;
}

/* Hover del contenedor afecta solo al ícono */
.fifth-title:hover h2 i {
    color: #ffffff;
}

/* ===============================
   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;
}




/* ===========================
   SLIDEPAGE – SERVICIOS AL INVERSOR
   =========================== */

.slide-inversor {
    background: #ffffff;
}

/* Body */
.slide-inversor-body {
    padding: 0;

}

.slide-inversor-body h2 {
    font-size: 4rem;
    text-transform: uppercase;
}

.tramites {
    width: 100%;
    height: 70vh;
    position: relative;
    inset: 0;
    z-index: 0;

    background: #e67a00;
    background: linear-gradient(0deg, rgba(230, 122, 0, 0) 0%, rgba(6, 93, 206, 1) 100%),
        url('/assets/images/building.jpg') bottom/cover no-repeat;
    background-attachment: fixed;

    clip-path: polygon(0 10%, 100% 0, 100% 85%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #065dce;
}

.tramites h2 {
    color: white;
}

.tramites-container {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 40px;
    padding: 5% 0;
}

.tramite-title {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: start;
}

.tramite-title h2 {
    font-size: 2rem;
    border-bottom: 4px solid #002f6c;
}

.tramite-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.tramite-content p {
    font-size: 1.2rem;
}

.tramite-content a {
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    color: #0572e0;
}

.tramite1 {
    grid-column: span 2 / span 2;
}

.tramite2 {
    grid-column: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 2;
}

.tramite3 {
    grid-column: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 3;
}

.tramite4 {
    grid-column: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 4;
}

.content1 {
    grid-column: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 1;
}

.content2 {
    grid-column: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 2;
}

.content3 {
    grid-column: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 3;
}

.content4 {
    grid-column: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 4;
}


.asistencia {
    width: 100%;
    height: 70vh;
    position: relative;
    inset: 0;
    z-index: 0;

    background: #e67a00;
    background: linear-gradient(0deg, rgba(230, 122, 0, 0) 0%, rgba(247, 146, 30, 1) 100%),
        url('/assets/images/building2.jpg') bottom/cover no-repeat;
    background-attachment: fixed;

    clip-path: polygon(0 10%, 100% 0, 100% 85%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
}

.asistencia h2 {
    color: white;
    text-align: center;
}

.assist-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px;
}

.assist-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* Imagen */
.assist-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;

    filter: drop-shadow(10px 0px 0px #F7921E);
}

.assist-media img {
    width: 100%;
    max-width: 480px;
    height: auto;
    clip-path: polygon(0 10%, 100% 0, 100% 85%, 0 100%);

}

/* Texto */
.assist-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.assist-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    max-width: 520px;
}

/* Responsive */
@media (max-width: 900px) {
    .assist-row {
        flex-direction: column;
        text-align: center;
    }

    .assist-text {
        margin: 0 auto;
    }
}

.asist-button {
    width: 100%;
    height: 80px;
    border-style: none;
    margin-top: 40px;
    border-radius: 32px;
    font-size: 2rem;
    font-weight: 700;
    color: #F7921E;
    cursor: pointer;
}

.fomento {
    width: 100%;
    height: 70vh;
    position: relative;
    inset: 0;
    z-index: 0;

    background: #e67a00;
    background: linear-gradient(0deg, rgba(230, 122, 0, 0) 0%, rgba(136, 200, 63, 1) 100%),
        url('/assets/images/DJI_0722nieve-min.jpg') bottom/cover no-repeat;
    background-attachment: fixed;

    clip-path: polygon(0 10%, 100% 0, 100% 85%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
}

.fomento h2 {
    color: white;
    text-align: center;
}

.fomento-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px;
}

.foment-button {
    width: 100%;
    height: 80px;
    border-style: none;
    margin-top: 40px;
    border-radius: 32px;
    font-size: 2rem;
    font-weight: 700;
    color: #a4d55d;
    cursor: pointer;
}

.fomnet-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;

    filter: drop-shadow(10px 0px 0px #88c83f);
}

.fomnet-media img {
    width: 100%;
    max-width: 480px;
    height: auto;
    clip-path: polygon(0 10%, 100% 0, 100% 85%, 0 100%);

}











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: linear-gradient(90deg, #2a7b9bb4 0%, #2a7b9bb4 50%, #57c786 100%), url(/assets/images/building1.jpg);
    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;
}