#landing {
    padding-top: 120px;
    /* espacio arriba (por el menú fijo) */
    padding-bottom: 80px;
    /* espacio abajo para respiración */
}

/* Sección Servicios */
.servicios-columns {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;

    max-width: 2000px;
    /*  mismo ancho que el párrafo */
    margin-left: auto;
    margin-right: auto;
    /* centra el bloque */
    padding: 0 15px;
    /* respiración en pantallas chicas */
}

.counter-text {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.caja-servicio {
    flex: 1 1 400px;
    max-width: 100%;
    background: var(--azul-card);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
    display: flex;
    flex-direction: column;
}

.caja-servicio h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--blanco);
    padding-bottom: 8px;
    color: var(--blanco);
}

.caja-servicio ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--blanco);
    text-align: left;
}

.caja-servicio ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}

@media only screen and (max-width: 768px) {
    .caja-servicio {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Sección Servicios*/
.lista-servicios {
    list-style: none;
    /* Quitamos las viñetas por defecto */
    padding: 0;
    margin: 1rem 0;
}

.lista-servicios li {
    position: relative;
    padding-left: 2rem;
    /* Espacio para el icono personalizado */
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    /* Texto en gris oscuro */
}

.lista-servicios li::before {
    content: "✔";
    /* Puedes cambiar el símbolo */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--azul-claro);
    /* Azul corporativo (puedes ajustar) */
    font-weight: bold;
    font-size: 1.2rem;
}

.lista-caja {
    list-style: none;
    /* Quitamos las viñetas por defecto */
    padding: 0;
    margin: 1rem 0;
}

.lista-caja li {
    position: relative;
    padding-left: 2rem;
    /* Espacio para el icono personalizado */
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--blanco);
    /* Texto en gris oscuro */
}

.lista-caja li::before {
    content: "✔";
    /* Puedes cambiar el símbolo */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--azul-claro);
    /* Azul corporativo (puedes ajustar) */
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sección Nuestra Red*/

.imagen-abajo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding: 0 15px;
    width: 100%;
}

.imagen-abajo img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
}

#nuestra-red {
    background-color: var(--celeste);
    /* o tu color actual */
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
    /* mismo espacio vertical */
}

#nuestra-red .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

#nuestra-red .title-section,
#nuestra-red p {
    text-align: center !important;
    margin: 0 auto 20px auto;
    padding-left: 0 !important;
    /* elimina el empuje a la izquierda */
    width: 100%;
    color: var(--azul-oscuro);
}

#nuestra-red h3 {
    color: var(--blanco);
    text-align: center;
    font-size: 3rem;
}

#nuestra-red p {
    color: var(--blanco);
    margin-bottom: 40px;
    font-size: 1rem;
}

#nuestra-red p.titulored {
    color: #000 !important;
    /* negro */
    font-weight: bold;
    font-size: 1.2rem;
}

/* Grid de métricas */
.grid-benefits {
    display: grid;
    grid-template-columns: repeat(2, 240px);
    gap: 40px;
    justify-content: center;
    /* Centra todo como en el modelo */
    margin: 0 auto;
    color: white;
}

/* Cada card */
.card-benefit {
    background: var(--azul-card);
    color: #fff;
    border-radius: 12px;
    padding: 2.2rem 1rem;
    text-align: center;
    width: 240px;
    /* Tamaño fijo como en el diseño */
    height: 200px;
    /* Ajuste para que no queden tan largas */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


.card-benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(8, 8, 171, 0.979);
}

.card-benefit h3 {
    font-size: 2rem;
    /* Tamaño más realista al mockup */
    margin-bottom: 8px;
    font-weight: bold;
    color: white;
}

.card-benefit p:last-child {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0.8rem;
    min-height: 2.6rem;
    /* iguala la altura final */
}

.card-benefit p {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.3;
    opacity: 0.9;
    color: white;
    text-align: center;
}

/* Responsivo */
@media (max-width: 992px) {
    .grid-benefits {
        flex-wrap: wrap;
    }

    .card-benefit {
        flex: 1 1 45%;
        min-height: 230px;
    }
}

@media (max-width: 600px) {
    .grid-benefits {
        flex-direction: column;
    }

    .card-benefit {
        width: 100%;
    }
}

/* 🔹 Responsive: ajusta número de columnas */
@media (max-width: 1024px) {
    .grid-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-benefits {
        grid-template-columns: 1fr;
    }
}

/* ====== Ajuste para pantallas intermedias ====== */
@media (max-width: 1366px) {
    .grid-benefits {
        grid-template-columns: repeat(3, 1fr);
        /* De 4 columnas pasa a 3 */
        gap: 1.5rem;
    }

    .card-benefit h3.counter {
        font-size: clamp(1.4rem, 3vw, 1.8rem);
        /* se ajusta la tipografía */
    }

    .card-benefit p {
        font-size: 0.95rem;
    }
}

@media (max-width: 1024px) {
    .grid-benefits {
        grid-template-columns: repeat(2, 1fr);
        /* En tabletas 2 columnas */
    }

    .card-benefit h3.counter {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    .card-benefit p {
        font-size: 0.9rem;
    }
}

@media (max-width: 932px) {
    .grid-benefits {
        grid-template-columns: repeat(2, 1fr);
        /* solo 2 columnas */
        gap: 1rem;
    }

    .card-benefit h3.counter {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
        /* más compacto */
    }

    .card-benefit p {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}

/* Fin Nuestra red */
#cuenta {
    background-color: var(--azul-claro);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 -5px 0 0 var(--azul-claro) inset;
    white-space: nowrap;
    /* que no se parta el texto */
}


/* 🔹 Mobile: solo ícono */
@media only screen and (max-width: 820px) {
    #cuenta {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        /* espacio a la izquierda */
        margin-right: 10px;
        /* espacio a la derecha */
        background: none !important;
        /* quita el fondo */
        border: none !important;
        /* quita borde si tiene */
        padding: 0 !important;
        /* quita espacio extra */
        margin: 0;
        width: auto;
        height: auto;
        font-size: 0;
        /* oculta el texto */
        box-shadow: none !important;
        /* elimina sombra */
    }

    #cuenta i {
        font-size: 20px;
        /* tamaño del ícono */
        color: #fff;
        /* mismo color que los otros íconos */
    }
}

.caja {
    display: flex;
    align-items: center;
    background-color: var(--azul-card);
    color: var(--blanco);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    gap: 15px;
}

.imagen-caja {
    width: 150px;
    /* o el tamaño que quieras */
    max-height: 120px;
    object-fit: contain;
    /* en lugar de cover */
    border-radius: 5px;
}

.contenido-caja {
    flex: 1;
}

.caja h2 {
    color: var(--blanco);
    margin-bottom: 10px;
}

.caja p {
    color: var(--blanco);
}

.caja strong {
    display: block;
    margin-bottom: 10px;
    color: var(--blanco);
}

/* Estilos para las listas dentro de Pangea Fibra */
#pangeafibra ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

#pangeafibra li {
    margin-bottom: 0.5rem;
}

li {
    margin-bottom: 0.5rem;
    /* Espacio entre ítems */
}

#pangeafibra {
    /*para centrar*/
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* 100% de la altura de la ventana */
    text-align: center;
    padding: 60px 0;
}

.video-responsive {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

#pangeafibra .container {
    max-width: 1200px;
    /* O el mismo ancho usado en el header */
    margin: 0 auto;
    padding: 0 1rem;

}

#pangeafibra .container .text-content {
    flex: 1 1 50%;
    max-width: 600px;
    color: #333;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

#pangeafibra .title-section {
    font-size: 36px;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 15px;
    display: inline-block;
    padding-bottom: 5px;
}

#pangeafibra .text-content strong {
    color: #000;
}

#pangeafibra .info-con-video {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
    /* permite que sea responsivo */
}

#pangeafibra .text-content {
    flex: 1 1 50%;
    font-size: 1rem;
    color: #111;
    line-height: 1.6;
}

#pangeafibra .video-box {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
}

#pangeafibra .video-box video {
    width: 100%;
    max-width: 750px;
    /* Aumentamos el tamaño del video */
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    aspect-ratio: 16 / 9;
    /* Mantiene proporción correcta */
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
    #pangeafibra .info-con-video {
        flex-direction: column;
        text-align: center;
    }

    #pangeafibra .text-content,
    #pangeafibra .video-box {
        flex: 1 1 100%;
    }

    #pangeafibra .video-box video {
        max-width: 100%;
    }
}

#servicios .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    /* evita que se estire demasiado */
    margin: 0 auto;
    padding: 0 1.5rem;
    /* espacio lateral */
    box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
    #servicios .container {
        padding: 0 1rem;
    }
}

/* Agregado recientemente */
/*section {
  scroll-margin-top: 6rem; /* o el equivalente en px según el header 
}*/
.logotipo img {
    width: 180px;
    /* tamaño en desktop */
    max-width: 100%;
    height: auto;
    /*background-color: var(--blanco); /* Fondo blanco */
    padding: 25px 0px;
    /* Un poquito de espacio para que respire */
    border-radius: 8px;
    /* Opcional: esquinas redondeadas */

}

@media only screen and (max-width: 1000px) {
    .logotipo img {
        width: 200px;
        /* tamaño del logo en móvil */
        height: auto;
    }
}

@media only screen and (max-width: 1000px) {
    .header-home {
        height: auto;
        /* que se ajuste al contenido */
        padding: 10px 15px;
    }
}

@media only screen and (max-width: 820px) {
    body {
        padding-top: 70px;
        /* igual a la altura del header en mobile */
    }
}

@media only screen and (max-width: 820px) {
    .imagen-caja {
        display: none;
    }
}

:root {
    --azul-oscuro: #06207c;
    --azul-claro: #0066ff;
    --blanco: #ffffff;
    --gris-texto: #333333;
    --celeste: #ddeafb;
    --azul-card: #0a3a7a;
    --negro: #010618;
}

/* ICONOS REDES */
.social-icons {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.social-icons a {
    color: var(--blanco);
    /* <-- todos en blanco */
    font-size: 22px;
    /* <-- tamaño más grande */
    margin-left: 15px;
    transition: transform 0.2s, color 0.2s;
}

.social-icons a:hover {
    transform: scale(1.2);
    /* <-- efecto hover en azul claro */
}


/* ESTILOS GLOBALES*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
   display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 100vh;
}*/

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    background: #fff;
}

header,
section,
main,
nav,
footer,
article,
figure,
hgroup {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
    outline: none;
    transition: .4s all ease-in-out;
    /* color: white;
    width: 100px;
    display: block;
    height: 100px;*/
}

/*a:hover{
    background-color: white;
    color: salmon;
}*/
ul {
    list-style: none;
}

li {
    list-style: none;
}

footer {
    align-self: flex-end;
    width: 100%;
}

/*titulos*/
h1,
h2,
h3 {
    font-weight: 700;
    color: var(--azul-oscuro);
}

h4,
h5,
h6 {
    font-weight: 400;
    color: var(--gris-texto);
}

p {
    text-align: justify;
    font-weight: 400;
    color: var(--gris-texto);
}

.container {
    max-width: 1200px;
    /* ancho máximo en desktop */
    margin: 0 auto;
    /* centra el contenido */
    padding: 0 2rem;
    /* espacio lateral izquierdo y derecho */
    box-sizing: border-box;
}

.img-responsive {
    max-width: 100%;
    width: 100%;
}

/* HEADER */
.header-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(135deg, rgba(4, 11, 38, 0.92), rgba(0, 41, 104, 0.92));*/
    /*background-color: #1c2139;*/
    background:
        linear-gradient(to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.9) 10%,
            rgba(255, 255, 255, 0.2) 30%,
            rgba(255, 255, 255, 0) 70%),
        url(../imagenes/iniciopangea111.jpeg);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: 70px;
    background-size: contain;
}

/* MAIN MENU*/
.main-menu {
    background-color: var(--azul-oscuro);
    /*cambiar color del fondo de menu*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.logotipo {
    width: auto;
}

.menu-link-desktop {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    margin-left: auto;
    flex-wrap: nowrap;
    /* evita que bajen de línea */
    white-space: nowrap;
    /* evita que "Nuestra Red" se parta */
}

.menu-link-desktop a {
    white-space: nowrap;
    padding: 0 10px;
}

.menu-link-movile {
    display: none;
    flex-direction: column;
    background: var(--azul-oscuro);
    position: fixed;
    top: 0;
    right: -250px;
    /* empieza escondido fuera de la pantalla */
    width: 250px;
    height: 100vh;
    /* ocupa toda la altura */
    padding: 2rem 1rem;
    border-radius: 0;
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    /* animación suave */
}

.menu-link-movile li {
    margin: 10px 0;
}

.menu-link-movile a {
    color: #fff;
    font-size: 18px;
    margin: 15px 0;
}

.menu-link-movile a:hover {
    text-decoration: underline;
}

/* Cuando está activo, se muestra */
.menu-link-movile.active {
    display: flex;
    right: 0;
    /* entra desde la derecha */
}

.links-menu {
    padding: 0 16px;
    line-height: 70px;
    height: 70;
    display: block;
    color: var(--blanco);
    transition: .4s all ease-in-out;
}

.links-menu:hover:not(.cta-btn) {
    box-shadow: 0 -5px 0 0 var(--azul-claro) inset;
}

.cta-btn {
    font-weight: bold;
    background-color: var(--azul-claro);
    color: var(--blanco);
    line-height: 40px;
    height: 40px;
    border-radius: 5px;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .3);
}

.cta-btn:hover,
.btns:hover {
    transform: scale(.95);
}

/*MOBILE MENU*/

@media only screen and (max-width: 1000px) {
    .logotipo {
        text-align: center;
        margin: auto;
        padding: 1rem 0;
        width: 100%;
    }

    .logotipo img {
        position: relative;
        top: 5px;
    }

    .menu-link-desktop {
        display: none;
    }

    .links-menu {
        font-size: 14px;
    }

    .cta-btn {
        line-height: 35px;
        height: 35px;
    }
}

/*HERO*/
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 140px 32px 80px;
    /* corrige espacio por menú fijo */
    min-height: 85vh;
}

.title-hero,
.description-hero {
    color: var(--azul-oscuro);
}

.title-hero {
    margin-bottom: 20px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.15;
    color: var(--azul-oscuro);
    font-weight: 600;
    animation: fadeInDown 0.8s ease-out;
}

.first-title {
    font-weight: 300;
    display: block;
    color: var(--azul-oscuro);
}

.description-hero {
    font-weight: 400;
    max-width: 550px;
    font-size: 20px;
    line-height: 28px;
    animation: fadeInUp 0.8s ease-out;
    color: var(--azul-oscuro);
}

.image-hero {
    max-width: 560px;
    width: 100%;
    animation: fadeIn 1.2s ease-out;
    filter: drop-shadow(0 0 25px rgba(0, 140, 255, 0.3));
    object-fit: contain;
    border-radius: 10px;
}

/* HERO MOBILE*/
@media only screen and (max-width: 820px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 24px 3rem;
        gap: 20px;
    }

    .title-hero {
        font-size: 34px;
        line-height: 45px;
    }

    .description-hero {
        max-width: 100%;
        font-size: 16px;
        line-height: 25px;
    }

    .image-hero {
        margin-top: 1.5rem;
    }
}

/* ============================
   ANIMACIONES SUAVES
============================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*BOTON*/

.btns {
    background-color: var(--azul-claro);
    line-height: 65px;
    height: 65px;
    padding: 0 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 300px;
    color: var(--blanco);
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .1);

}

.btns:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 25px rgba(0, 102, 255, 0.4);
}

/*BOTON MOBILE*/
@media only screen and (max-width: 820px) {
    .btns {
        max-width: 100%;
    }
}

/* SECTION PAGE SERVICES*/

.section-page {
    padding: 4rem 0;
    overflow: hidden;
}

.title-section {
    font-size: 45px;

    text-align: center;
    margin: 0 auto;
    /* asegura que quede bien centrado */
}

/*Section servicios*/
.section-services .container {
    max-width: 900px;
    /* igual que el texto */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* espacio entre cards */
}

/* Cards */
.section-services .container .box-servicios {
    flex: 1 1 400px;
    /* ancho flexible, mínimo 400px */
    max-width: 100%;
    /* nunca más ancho que el texto */
    padding: 1.5rem;
    box-sizing: border-box;
}

.section-services .container .box-servicios .box-image-services {
    box-shadow: 0 10px 40px rgba(0, 0, 0, .7);
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 2rem;
    margin: auto;
    margin-bottom: 25px;
    border: 1px white solid;
    cursor: pointer;
}

.section-services .container .box-servicios .box-image-services:hover {
    box-shadow: 0 20px 40px -20px rgba(6, 32, 124, 0.5);
    border: 1px var(--azul-claro) solid;
}

.section-services .container .box-servicios .box-image-services img {
    max-width: 160px;
}

.section-services .container .box-servicios .title-services {
    margin-bottom: 1rem;
}

/*SECTION SERVICIOS MOBILE*/
@media only screen and (max-width: 820px) {
    .title-section {
        font-size: 35px;
        text-align: center;
    }

    .section-services .container .box-servicios {
        width: 50%;
    }
}

@media only screen and (max-width: 425px) {
    .section-services .container .box-servicios {
        width: 100%;
    }
}

/*SECTION BENEFICIOS*/

/* SECTION BENEFITS */

.section-benefits {
    background-color: #DDEAFB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.section-benefits .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 2rem 0 4rem;
    width: 50%;
    justify-content: flex-start;
}

.section-benefits .title-section {
    padding-left: 2rem;
}

.section-benefits .container .box-benefits {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    margin-bottom: 20px;
}

.section-benefits .container .box-benefits figure {
    width: auto;
}

.section-benefits .container .box-benefits figure .icon-benefits {
    width: 100px;
}

.section-benefits .container .box-benefits div {
    margin-top: -25px;
    margin-left: 1rem;
}

.section-benefits .box-image-benefits {
    position: absolute;
    right: 0;
    width: 100%;
    display: contents;
}

.section-benefits .box-image-benefits img {
    max-width: 550px;
}



@media only screen and (max-width: 820px) {
    .section-benefits {
        flex-direction: column;
    }

    .section-benefits .container {
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .section-benefits .title-section {
        padding-left: 0;
    }

    .section-benefits .container .box-benefits {
        margin-bottom: 2rem;
        padding: 0 1rem 0 0;

    }

    .section-benefits .container .box-benefits h3 {
        line-height: 30px;
    }

    .section-benefits .container .box-benefits div {
        margin-top: 0;
    }

    .section-benefits .box-image-benefits {
        right: inherit;
        bottom: 0;
    }
}

/* CONTACTO*/
#contacto {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-contact {
    background: var(--celeste) url(../imagenes/img-footer.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: 350px;

}

.form-landing-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* centra horizontalmente */
    align-items: center;
    /* centra verticalmente */
    max-width: 720px;
    width: 100%;
    margin: auto;
}

.form-landing-page .input-field {
    width: 50%;
    margin-bottom: 2rem;
    padding: 0 .75rem;
    min-height: 1px;
}

.form-landing-page .input-field:nth-of-type(7) {
    width: 100%;
    margin-bottom: 1.4rem;
}

input,
select,
textarea {
    font-size: 14px;
    outline: none;
    height: 3rem;
    width: 90%;
    box-sizing: content-box;
    overflow: visible;
    color: black;
    padding: 0 1rem;
    border-radius: 5px;
    box-shadow: none;
    transition: .4s all;
    border: none;
    border: 1px solid #9c9c9c;
    /*para quitar la flechas del select
    -webkit-appearance: none;*/

}

input:focus,
textarea:focus {
    box-shadow: 0 20px 40px -20px rgba(0, 102, 255, 0.9);
    border: 1px solid var(--azul-claro);
    color: var(--azul-oscuro);
}

/*Para quitar las flechas arriba y abajo del input number*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

textarea.textarea-form {
    min-height: 150px;
    max-width: 625px;
    padding: 1rem 2rem;
}

/* personalizacion del select
select.select-form{
    appearance: none;
    line-height:normal;
    position: relative;
    background-position: right 10px top 50%;
    background-repeat: no-repeat;
    background-image: url(../imagenes/chevron-down.svg);
}*/
::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #9c9c9c;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #9c9c9c;
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: #9c9c9c;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #9c9c9c;
}

button.btn-enviar {
    border: none;
    margin-left: 0;
    outline: none;
    cursor: pointer;
    transition: .4s all;
}

button.btn-enviar:focus,
.btns:hover {
    background: var(--azul-claro);
    transform: scale(1);
}

/*CONTACTO SECTION MOBILE*/
@media only screen and (max-width: 820px) {
    .section-contact {
        background-position-y: 550px;
    }

    .form-landing-page {
        width: 90%;
    }

    .form-landing-page .input-field {
        width: 100%;
        padding: 0;
    }

    textarea.textarea-form {
        width: 80%;
        background-color: rgba(255, 255, 255, 0.8);
    }

    buttom.btn-enviar {
        width: 100%;
        margin-left: 0;
    }
}

/*FOOTER*/

.footer {
    padding: 2rem 1rem;
    background-color: var(--azul-oscuro);
    text-align: center;
    /* centramos todo el contenido */
}

.footer .copy {
    font-size: 12px;
    width: 100%;
    color: var(--blanco);
    text-align: center;
    /* aseguramos que el texto esté centrado */
}

.footer .copy a {
    color: var(--azul-claro);
    box-shadow: 0 1px 0 transparent;
}

.footer .copy a:hover {
    box-shadow: 0 1px 0 var(--blanco);
}

/*FOOTER MOBILE*/
@media only screen and (max-width: 820px) {
    .footer {
        padding: 1rem;
        /* más compacto en mobile */
    }

    .footer .copy {
        font-size: 11px;
        /* opcional: texto más pequeño */
        padding-bottom: 1rem;
        /* menos espacio */
        text-align: center;
        /* mejor centrado en pantallas chicas */
    }

    .section-services .container .box-services {
        width: 100%;
    }
}

/* ======================== */
/* 🔧 MENÚ RESPONSIVE       */
/* ======================== */

/* Ocultamos menú de escritorio en móvil */
.menu-link-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-link-movile {
    display: none;
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--blanco);
    cursor: pointer;
    margin-left: auto;
}

/* Menú móvil */
@media only screen and (max-width: 1000px) {
    .menu-link-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    #cuenta {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 10px;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        width: auto;
        height: auto;
        font-size: 0;
        /* oculta el texto */
        box-shadow: none !important;
    }

    #cuenta i {
        font-size: 20px;
        /* tamaño del icono */
        color: #fff;
        /* color en móvil */
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: var(--azul-oscuro);
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        padding: 20px;
        border-radius: 0 0 8px 8px;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: none;
    font-size: 14px;
}

.toast.show {
    display: block;
    animation: fadeout 3s forwards;
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}













/*
.hide {
    display: none;
}*/

/*.box {
    background-color: salmon;
    color: white;
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 100px;
    margin: auto;
    /*border: 10px solid black;
}*/



.footer .copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* espacio entre texto y logo */
    font-size: 14px;
}

.footer .logo-footer {
    height: 40px;
}

/* ===========================
   TARJETAS MISIÓN & VISIÓN
=========================== */
.mvv {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.productos {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.card-mvv {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px 35px;
    width: 430px;
    text-align: center;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.10);
    transition: 0.3s ease;
}

.card-productos {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px 35px;
    flex-basis: calc(33.33% - 27px);
    flex-shrink: 1;
    flex-grow: 1;
    max-width: 430px;
    text-align: center;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.10);
    transition: 0.3s ease;
}

.card-mvv:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 26px rgba(0, 0, 0, 0.15);
}

.card-productos:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 26px rgba(0, 0, 0, 0.15);
}

.icon-mvv {
    width: 85px;
    margin-bottom: 25px;
}

.card-mvv h2 {
    color: #003366;
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 28px;
}

.card-mvv p {
    line-height: 1.6;
    color: #555;
    font-size: 16px;
}

/* ===========================
   VALORES
=========================== */
/* Título */
.valores-grid {
    padding: 60px 20px;
    text-align: center;
}

.valores-grid h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #002B57;
}

/* Grid de 4 columnas (se adapta) */
.grid-valores3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

/* Tarjeta individual */
.valor-box {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.valor-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
}

/* Icono */
.valor-icon {
    width: 70px;
    margin-bottom: 20px;
}

/* Título */
.valor-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #003366;
    font-weight: 700;
}

/* Texto */
.valor-box p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .valor-box {
        padding: 30px 20px;
    }

    .valor-icon {
        width: 60px;
    }
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 768px) {
    .card-valores {
        padding: 40px 25px;
    }

    .card-valores h2 {
        font-size: 30px;
    }

    .lista-valores p {
        font-size: 15px;
    }
}

.mvv {
    margin-bottom: 0 !important;
    /* elimina margen abajo de Visión y Misión */
    padding-bottom: 0 !important;
    /* elimina padding abajo si hubiera */
}

.valores-grid {
    margin-top: 0;
    padding-top: 0;
}


/* --- SECCIÓN NUESTRA RED v2 --- */

.nuestra-red1 {
    padding: 40px 20px;
    background: #e8f0ff;
    text-align: center;
}

/* TÍTULO */
.titulo-red1 {
    font-size: 32px;
    font-weight: 800;
    color: #002f6c;
    margin-bottom: 5px;
}

.subtitulo-red1 {
    color: var(--negro);
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
}

/* ---- LAYOUT CENTRAL ---- */
.layout-red1 {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

/* MAPA */
.mapa-box1 img {
    width: 380px;
    max-width: 100%;
    display: block;
}


/* ---- BENEFICIOS ---- */

.beneficios-grid1 {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.beneficio-card1 {
    background: var(--azul-card);
    color: white;
    padding: 22px;
    border-radius: 12px;
    width: 220px;
    text-align: center;
    /* Centra el texto */
    display: flex;
    /* Asegura buen centrado vertical */
    align-items: center;
    /* Centra verticalmente */
    justify-content: center;
    /* Centra horizontalmente */
    font-weight: 700;
    /* Negrita */
    line-height: 1.4;
    /* Mejor lectura */
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .layout-red1 {
        flex-direction: column;
    }
}


/* ---------- HEADER RESPONSIVE ---------- */

@media (max-width: 1024px) {
    .header-home {
        background-position: center right;
    }
}

@media (max-width: 768px) {
    .header-home {
        background-position: center;
        /* centra la imagen cuando ya no cabe */
        background-size: cover;
    }
}

@media (max-width: 480px) {
    .header-home {
        background-position: center;
        background-size: contain;
        /* opcional: evita recortes muy fuertes */
    }
}

/* ======== RESPONSIVE PANGEA FIBRA ======== */

/* Breakpoint general — AHORA desde 1024px hacia abajo */
@media (max-width: 1024px) {
    #pangeafibra .info-con-video {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    #pangeafibra .text-content {
        width: 100%;
        text-align: center;
    }

    #pangeafibra .video-box {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #pangeafibra .video-box video {
        width: 95%;
        max-width: 550px;
        border-radius: 12px;
    }

    /* MVV Cards */
    .card-mvv {
        max-width: 100%;
    }

    /* Valores */
    .valor-box {
        max-width: 100%;
        flex-direction: column;
    }
}

/* Breakpoint para tablets y móviles */
@media (max-width: 768px) {

    #pangeafibra p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    #pangeafibra .video-box video {
        width: 100%;
        max-width: 480px;
    }

    /* MVV Cards */
    .mvv {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .card-mvv {
        max-width: 100%;
    }

    /* MVV Cards */
    .card-mvv {
        max-width: 100%;
    }

    /* Valores */
    .valor-box {
        max-width: 100%;
        flex-direction: column;
    }
}

/* Desde 1024px hacia abajo */
@media (max-width: 1024px) {
    .grid-valores3 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .grid-valores3 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
}

/* Smartphones (480px – 375px) */
@media (max-width: 480px) {
    .grid-valores3 {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }

    .valor-box {
        width: 100% !important;
        max-width: 350px;
        margin: 0 auto;
        text-align: center;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    #pangeafibra .video-box video {
        width: 100%;
        max-width: 100%;
    }

    #pangeafibra p {
        font-size: 0.88rem;
    }

    .valor-box p {
        font-size: 0.9rem;
    }

    .valores-grid {
        font-size: 0.9rem;
    }
}

/* ======== RESPONSIVE SMARTPHONE 375x667 ======== */
@media (max-width: 480px) {

    /* Contenedor principal */
    #pangeafibra .info-con-video {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Texto */
    #pangeafibra .text-content {
        width: 100%;
        text-align: left;
        padding: 0 10px;
        font-size: 15px;
        line-height: 1.45;
    }

    /* Video */
    #pangeafibra .video-box {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #pangeafibra .video-box video {
        width: 100%;
        max-width: 340px;
        border-radius: 10px;
    }

    /* Cards MVV (Visión, Misión) */
    .mvv {
        flex-direction: column;
        padding: 0 10px;
        gap: 25px;
        margin-top: 30px;
        width: 100%;
    }

    .card-mvv {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        text-align: center;
    }

    .card-mvv img.icon-mvv {
        width: 100px;
    }

    /* Valores (cuatro columnas → una columna) */
    .valores-grid {
        padding: 0 10px;
        text-align: center;
    }

    .grid-valores3 {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .valor-box {
        width: 100%;
        max-width: 350px;
        padding: 15px;
        margin: 0 auto;
        text-align: center;
    }

    .valor-box img.valor-icon {
        width: 90px;
    }
}

/**/
/* ======== RESPONSIVE MÓVIL (375 x 667 y hasta 480px) ======== */
/* ======== RESPONSIVE MÓVIL (375 x 667) ======== */
@media (max-width: 480px) {

    /* Fondo azul ocupando toda la pantalla */
    #landing {
        background: var(--azul-oscuro);
        width: 100vw;
        min-height: 100vh;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        padding: 0 20px;
        /* para respirar sin romper el centrado */
        margin: 0;
    }

    /* Centrado del texto */
    #landing .title-hero,
    #landing .first-title,
    #landing .description-hero {
        text-align: center;
        width: 100%;
        color: white;
    }
}


/* ======== DESKTOP (901px en adelante — diseño normal) ======== */
@media (min-width: 901px) {

    .layout-red1 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 40px;
    }

    .grid-benefits {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* Mantiene tus 2x2 */
        gap: 25px;
    }
}

/* ==================== BREAKPOINT: 1235px ==================== */
@media (max-width: 997px) {
    #nuestra-red1 .layout-red1 {
        flex-direction: column;
        text-align: center;
    }

    #nuestra-red1 .mapa-box1 img {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        display: block;
    }

    /* PASA A 1 COLUMNA PARA QUE NO SE ROMPA */
    #nuestra-red1 .grid-benefits {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ==================== MÓVIL ==================== */
@media (max-width: 480px) {
    #nuestra-red1 {
        padding: 20px;
    }

    #nuestra-red1 .grid-benefits {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #nuestra-red1 .beneficios-grid1 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ======== DESKTOP (901px en adelante — diseño normal) ======== */
@media (min-width: 901px) {

    .layout-red1 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 40px;
    }

    .grid-benefits {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* Mantiene tus 2x2 */
        gap: 25px;
    }
}

/* ==================== BREAKPOINT: 1235px ==================== */
@media (max-width: 997px) {
    #nuestra-red1 .layout-red1 {
        flex-direction: column;
        text-align: center;
    }

    #nuestra-red1 .mapa-box1 img {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        display: block;
    }

    /* PASA A 1 COLUMNA PARA QUE NO SE ROMPA */
    #nuestra-red1 .grid-benefits {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ==================== MÓVIL ==================== */
@media (max-width: 480px) {
    #nuestra-red1 {
        padding: 20px;
    }

    #nuestra-red1 .grid-benefits {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #nuestra-red1 .beneficios-grid1 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ===== FOOTER PANGAEA ===== */
.footer-pangea {
    background-color: #002A7C; /* Azul corporativo del footer */
    padding: 40px 20px;
    text-align: center;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 25px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-brand {
    font-size: 14px;
    margin-top: 20px;
    opacity: .9;
}

.footer-brand img {
    height: 22px;
    margin-left: 6px;
    vertical-align: middle;
}
