/*menu*/
      

             

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

       html,
body{
    width:100%;
    overflow-x:hidden;
     scroll-behavior: smooth;
     font-family: Arial, Helvetica, sans-serif;
    
        }


        
        .menu-principal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;

            height: 85px;

            background:
                linear-gradient(
                    180deg,#609dee,#123b68
                );

            box-shadow:  0 4px 20px rgba(0, 0, 0, 0.25);

            z-index: 9999;

            transition:
                height 0.35s ease,
                box-shadow 0.35s ease,
                background 0.35s ease;
        }


        

        .menu-principal.menu-scroll {

            height: 60px;

            background:
                linear-gradient(
                    180deg,
                  #609dee, 
                   #071426
                    
                );

            box-shadow:
                0 3px 15px rgba(0, 0, 0, 0.40);
        }



        .contenedor-menu {

            width: 92%;
            max-width: 1400px;

            height: 100%;

            margin: auto;

            display: flex;

            align-items: center;

            justify-content: space-between;
        }


        

        .logo {

            display: flex;
            align-items: center;

            text-decoration: none;

            color: #ffffff;

            transition:
                transform 0.35s ease,
                font-size 0.35s ease;
        }

        .logo img {

            width: 170px;

            max-height: 65px;

            object-fit: contain;

            transition:
                width 0.35s ease,
                max-height 0.35s ease;
        }


       
        .menu-principal.menu-scroll .logo img {

            width: 130px;

            max-height: 48px;
        }


       
        .lista-menu {

            display: flex;

            align-items: center;

            gap: 28px;

            list-style: none;
        }


        .lista-menu > li {

            position: relative;
        }


        .lista-menu > li > a {

            position: relative;

            display: flex;

            align-items: center;

            gap: 6px;

            height: 85px;

            color: #ffffff;

            text-decoration: none;

            font-size: 15px;

            font-weight: 600;

            letter-spacing: 0.4px;

            transition:
                height 0.35s ease,
                color 0.25s ease;
        }


        

        .menu-principal.menu-scroll
        .lista-menu > li > a {

            height: 60px;
        }


       

        .lista-menu > li > a::after {

            content: "";

            position: absolute;

            left: 0;
            bottom: 18px;

            width: 0;

            height: 2px;

            background: #e4e8ec;

            transition: width 0.3s ease;
        }


        .lista-menu > li > a:hover::after {

            width: 100%;
        }


        .lista-menu > li > a:hover {

            color: #e4e8ec;
        }


       

        .flecha {

            font-size: 10px;

            transition:
                transform 0.3s ease;
        }


        .lista-menu li:hover > a .flecha {

            transform: rotate(180deg);
        }


       

        .submenu {

            position: absolute;

            top: calc(100% - 1px);

            left: 0;

            min-width: 230px;

            background:
                linear-gradient(
                    145deg,
                    #102b4b,
                   #609dee
                );

            border:
                1px
                solid
                #c0c7ce;

            border-radius: 6px;

            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);

            list-style: none;

            padding: 8px 0;

            opacity: 0;

            visibility: hidden;

            transform:
                translateY(10px);

            transition:
                opacity 0.25s ease,
                visibility 0.25s ease,
                transform 0.25s ease;
        }


        

        .lista-menu li:hover > .submenu {

            opacity: 1;

            visibility: visible;

            transform:
                translateY(0);
        }


      

        .submenu li {

            position: relative;
        }


        .submenu a {

            display: flex;

            align-items: center;

            justify-content: space-between;

            width: 100%;

            padding: 12px 18px;

            color: #ffffff;

            text-decoration: none;

            font-size: 14px;

            transition:
                background 0.25s ease,
                padding-left 0.25s ease,
                color 0.25s ease;
        }


        .submenu a:hover {

            background:
                rgba(192, 199, 206, 0.12);

            color: #e4e8ec;

            padding-left: 24px;
        }


          .submenu .submenu {

            top: -9px;

            left: calc(100% + 1px);

            transform:
                translateX(10px);
        }


        .submenu li:hover > .submenu {

            transform:
                translateX(0);
        }


        

        .boton-menu {

            display: none;

            width: 42px;

            height: 42px;

            border:
                1px solid
                #c0c7ce;

            border-radius: 6px;

            background:
                transparent;

            cursor: pointer;

            flex-direction: column;

            justify-content: center;

            align-items: center;

            gap: 5px;
        }


        .boton-menu span {

            display: block;

            width: 23px;

            height: 2px;

            background:
                #ffffff;

            transition:
                transform 0.3s ease,
                opacity 0.3s ease;
        }


       

        .contenido {

            padding-top: 130px;

            width: 90%;

            max-width: 1200px;

            margin: auto;
        }


        .contenido h1 {

            color:
               #609dee;

            margin-bottom: 20px;
        }


        .contenido p {

            line-height: 1.8;

            margin-bottom: 25px;
        }


        

        @media (max-width: 900px) {

            .boton-menu {

                display: flex;
            }


            .lista-menu {

                position: absolute;

                top: 85px;

                left: 0;

                width: 100%;

                background:
                    linear-gradient(
                        145deg,
                       #609dee,
                        #071426
                    );

                border-top:
                    1px solid
                    #c0c7ce;

                display: none;

                flex-direction: column;

                align-items: stretch;

                gap: 0;

                padding: 10px 20px;

                max-height: calc(100vh - 60px);

                overflow-y: auto;
            }


            .lista-menu.menu-abierto {

                display: flex;
            }


            .lista-menu > li > a {

                height: auto;

                min-height: 50px;

                padding: 12px 5px;

                border-bottom:
                    1px solid
                    rgba(192, 199, 206, 0.25);
            }


            .lista-menu > li > a::after {

                display: none;
            }


            /* SUBMENÚ MÓVIL */

            .submenu {

                position: static;

                min-width: 100%;

                display: none;

                opacity: 1;

                visibility: visible;

                transform: none;

                box-shadow: none;

                border:
                    1px solid
                    #c0c7ce;

                margin:
                    5px 0 10px;

                border-radius: 5px;
            }


            .lista-menu li:hover > .submenu {

                display: none;
            }


            .lista-menu li.submenu-abierto > .submenu {

                display: block;
            }


            .submenu .submenu {

                position: static;

                transform: none;

                margin-left: 10px;

                width: calc(100% - 10px);
            }


            .submenu li:hover > .submenu {

                transform: none;
            }


            .submenu a {

                padding:
                    13px 15px;
            }


            .menu-principal.menu-scroll
            .lista-menu {

                top: 60px;
            }


            .menu-principal.menu-scroll
            .lista-menu > li > a {

                height: auto;
            }

        }


        

        @media (max-width: 500px) {

            :root {

                --alto-menu: 70px;

                --alto-menu-scroll: 55px;

                --logo-ancho: 140px;

                --logo-ancho-scroll: 115px;
            }


            .contenedor-menu {

                width: 94%;
            }


            .lista-menu {

                padding:
                    10px 12px;
            }

        }

    
       
 
 
 
/*------------------------------------------aqui comienza slideshow----------------------------------------------------------------------*/
 
 
 
 
* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

       
        .slideshow-contenedor {
            position: relative;
            width: 100%;
            max-width: 100%; /* Puedes cambiar el tamaño máximo aquí */
            height: 850px;    /* Altura del slideshow */
            margin: 50px auto;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        }

       
        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out; 
        }

        .slide.activo {
            opacity: 1;
        }

      
        .slide.activo img {
            animation: zoomEfecto 6s ease-out forwards; 
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        @keyframes zoomEfecto {
            from {
                transform: scale(1);
            }
            to {
                transform: scale(1.15); 
            }
        }

        
        .btn-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 15px 20px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            border-radius: 50%;
            transition: background-color 0.3s;
            z-index: 10;
        }

        .btn-control:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        .btn-prev {
            left: 15px;
        }

        .btn-next {
            right: 15px;
        }

       
        


    



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

.contenedor1 {
  display: flex;
  flex-wrap: wrap;
  max-width: 95%;
  min-height: auto;
  border-radius: orangered;
}

/* Estilo para las 3 columnas */
.columna1 {
  /* 
    flex: grow shrink basis;
    - 1: Crece para llenar el espacio.
    - 1: Se encoge si es necesario.
    - 300px: Si la pantalla mide menos de 900px (300px * 3), 
             las columnas empezarán a bajarse.
  */
  flex: 1 1 300px; 
  padding: 33px;
  margin: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-weight: bold;
  color: white;
  border-radius: 10px 10px 10px 10px;
}


.col-1 { background-color: #66a1db; }
.col-2 { background-color:  #66a1db; }
.col-3 { background-color:  #66a1db; }


/* --------------------------------  tres columnas 2  -------------------------------------------------------*/
     
  
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.contenedor2 {
  display: flex;
  flex-wrap: wrap; 
  max-width: 95%;
  min-height: auto;
  border-radius: orangered;
  color: #071426;
}


.columna2 {
  /* 
    flex: grow shrink basis;
    - 1: Crece para llenar el espacio.
    - 1: Se encoge si es necesario.
    - 300px: Si la pantalla mide menos de 900px (300px * 3), 
             las columnas empezarán a bajarse.
  */
  flex: 1 1 300px; 
  padding: 33px;
  margin: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-weight: bold;
  border-radius: 10px 10px 10px 10px;
}


.col-11 { background-color: #ffffff00; }
.col-21 { background-color: #ffffff00; }
.col-31 { background-color: #ffffff00; }


/* --------------------------------  tres columnas 3  -------------------------------------------------------*/
     
     
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.contenedor3 {
  display: flex;
  flex-wrap: wrap; 
  max-width: 100%;
  min-height: auto;
  border-radius: orangered;
  color: #071426;
}


.columna3 {
  /* 
    flex: grow shrink basis;
    - 1: Crece para llenar el espacio.
    - 1: Se encoge si es necesario.
    - 300px: Si la pantalla mide menos de 900px (300px * 3), 
             las columnas empezarán a bajarse.
  */
  flex: 1 1 300px; 
  padding: 33px;
  margin: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-weight: bold;
  border-radius: 10px 10px 10px 10px;
}


.col-13 { background-color: #ffffff00; }
.col-23 { background-color: #ffffff00; }
.col-33 { background-color: #ffffff00; }