
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* tipografía CARDO para títulos e INTER para textos */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2 {
    font-family: 'Cardo';
    text-shadow: 2px 2px 4px #5E5916;
}

p {
    font-family: 'Inter';
    font-weight: 400;
    font-style: normal;
    color: var(--azul-1);
}



/* AZULES */
:root {
    --azul-1: #0C2749;
    --azul-2: #193D6B;
    --azul-3: #2B568D;
    --azul-4: #4272AF;
    --azul-5: #5E90D1;
    --azul-6: #7FB2F3;
    --azul-7: #A0CAFF;
    --azul-8: #BCD9FF;
    --azul-9: #D7E9FF;
    --azul-10: #F3F8FF;
}



/* AMARILLOS */
:root {
    --amarillo-1: #5E5916;
    --amarillo-2: #807A25;
    --amarillo-3: #A29B38;
    --amarillo-4: #C4BC4E;
    --amarillo-5: #E6DE68;
    --amarillo-6: #FFF681;
    --amarillo-7: #FFF89D;
    --amarillo-8: #FFFAB9;
    --amarillo-9: #FFFCD6;
    --amarillo-10: #FFFEF2;
}

html, body{
    background-color: var(--amarillo-10);
    height: 100%;
    margin: 0;
}


/*  BOTONES INICIO ------------------------------------------------------- */

 #bt-nosotros, #equipoCompleto, #areasPracticasInicio, #bt-enviar-contacto .boton-estudio{
    color: var(--amarillo-4);
 }


  
/*  HEADER ------------------------------------------------------- */
header {
    color: var(--azul-2); 
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    height: 47px;
    z-index: 999;
    top: 0; 
    left: 0;
    right: 0;
    background-color: var(--azul-2); 
    width: 100%; 
   /*  border-radius: 50px; 
    margin: 10px 20px 0 20px;  */
    box-sizing: border-box;
    overflow-y: hidden;
}

#mainIndex{
    margin-top: 47px;
    overflow-y: hidden;
}

#logoTop img {
    background-color: var(--azul-2); 
    border-radius: 50px;
    padding: 5px;
    height: 47px; 
    display: block;
    margin: 0 5px;
}

#hamburguesa {
    margin: 0 5px;
    font-size: 1.4em;
    cursor: pointer;
    color: var(--amarillo-4);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--azul-2); 
    border-radius: 70px;
    padding: 5px;
    height: 47px; 
    width: 47px; 
    line-height: 0; 
}

#opciones-links-top {
    opacity: 0;
    max-height: 0;
    flex-direction: column;
    gap: 20px;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    position: fixed;
    background-color: var(--azul-2); 
    left: 0;
    right: 0;
    top: 67px;
    padding: 0.6em;
    z-index: 1000;
    display: flex; 
}

#opciones-links-top.show{
    left: 150px;
    right: 52px;
    top: 57px;
    max-height: 350px;
    opacity: 1;
    background-color: var(--azul-2); 
    border-radius: 15px 0 15px 15px;
}

#opciones-links-top.show a , #opciones-links-top.hide a {
    left: 173px;
    right: 0.4em;
    top: 3.6em;
    text-align: right;
    color: var(--amarillo-4);
    font-size: 0.7em;
}

#opciones-links-top.hide {
    left: 150px;
    right: 52px;
    top: 57px;
    max-height: 350px;
    opacity: 0;
    background-color: var(--azul-2); 
    border-radius: 15px 0 15px 15px;
}


/* BANNER ------------------------------------------------------- */


.banner-fotos {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
  }
  
  .slider {
    position: relative;
    width: 100%;
    height: auto;
  }
  
  .slide-group {
    position: relative;
    width: 100%;
    height: auto;
  }
  
  .slide {
    display: none; 
    width: 100%;
    height: auto;
  }
  
  .slide.active-slide {
    display: block; 
  }
  
  #formaNosotros {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 20px;
  }
  
  .circles {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2%;
  }
  
  .circle {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: transparent;
    border: var(--azul-2) 2px solid;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .circle.active {
    background-color: var(--azul-2); 
  }
  

/*  - LA FIRMA --------------------------------------------------- */

    .boton-container {
        display: flex;
        justify-content: center;
        align-items: center; 
        flex-direction: column;
        min-height: 90px;
        width: 100%; 
        text-align: center; 
    }
  
    .boton-container h1 {
        color: var(--amarillo-4);
        font-size: 1.8em; 
        text-shadow: 2px 2px 4px #5E5916;
        /* white-space: nowrap; */
        width: 100%;
        margin: 0;
    }

    .boton-container .boton-estudio {
        max-width: 100%; 
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        font-size: 16px;
    }


    /*  /////// pestaña la firma --------------------------------------------------- */

    .mainPestanias {
        min-height: 93vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Mantiene el footer al final */
    }
    
    .clip-path-p {
        position: absolute;
        top: -48px;
        left: 0px;
        width: 100%;
        height: 40em;
        clip-path: circle(62% at -37% 50%);
        background-color: rgba(196, 188, 78, 0.5);
        z-index: 0;
    }
    
    .content {
        padding: 20px;
        margin-top: 50px;
        margin-bottom: 9px;
        position: relative;
        z-index: 1;
    }
    
    .content h2 {
        color: var(--azul-2);
        text-align: center;
        margin: 40px 0  30px 0;
    }
    
    .content p {
        text-align: justify;
        font-size: 1em;
        margin: 7px 0 10px 0;
    }
    
    .footerFirma {
        flex-shrink: 0;
    }
    
    



/* EQUIPO ----------------------------------------------------------------- */

#equipo {
    position: relative;
    overflow-y: hidden;
    z-index: 0;
    height: auto;
}

#equipo::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(196, 188, 78, 0.5); 
    z-index: -1;
    clip-path: circle(58% at 84% 66%);
}

#equipo .slider-equipo {
    position: relative;
    z-index: 1; 
    text-align: center;
}

.slider-equipo {
    position: relative;
    text-align: center;
    padding: 20px;
}

#equipo h2 {
    position: relative;
    z-index: 2; 
    color: var(--amarillo-4);
    font-size: 2em;
    margin: 7px 0;
}

.miembros-container {
    display: grid;
    gap: 20px; 
    grid-template-columns: repeat(1, 1fr); 
    width: 100%;
    height: auto;
    box-sizing: border-box;
    transition: transform 0.5s ease-in-out;
    overflow: hidden; 
    margin: 10px 0;
}

.miembroEquipo {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    box-sizing: border-box;
    display: none;
    width: 100%;
    height: auto;
}

.miembroEquipo img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.miembroEquipo h3 {
    margin: 20px 0;
    color: var(--azul-2);
    font-size: 1em;
}

.arrows-equipo {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

.arrow-left-equipo,
.arrow-right-equipo {
    font-size: 2em;
    color: var(--azul-2);
    cursor: pointer;
    pointer-events: all;
    padding: 20px;
    user-select: none;
}

#equipoCompleto .boton-estudio{
    margin: 20px 0;
}

 /* ////// pestaña equipo -----------------------------------*/

    .miembros-del-equipo-container {
        display: grid;
        gap: 20px;
    }

    .miembros-del-equipo-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .miembro{
        margin-top: 20px;
        background-color: rgba(196, 188, 78, 0.5);
        text-align: center;
        position: relative;   
        padding: 15px;
        border-radius: 10%;
        cursor: pointer;
    } 

    .miembro:hover{
        background-color: var(--amarillo-4);
    }

    #mainEquipo{
        padding: 20px;
        height: 100vh;
        margin-top: 40px;
    }

    #mainEquipo p{
        text-align: center;
        font-style: italic;
        align-items: center;
        font-size: 12px;
        margin-top: 20px;
        width: 100%;
    }

      
    .miembro img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
      
    #mainEquipo h2 {
        margin-top: 10px;
        font-size: 1.1rem;
        color: var(--azul-2);
        text-align: center;
        align-items: center;
    }

    #mainEquipo h3{
        text-decoration: none;
        font-size: 1em;
        color: var(--azul-1);
        margin-top: 6px;
    }

   /* ////// cada miembro del equipo -----------------------------------*/
        
      #headerAmpliacion , #cada-persona , #footerAmpliacion{
        position: relative;
        z-index: 1;
      }


        #cada-persona {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
            /* margin-top: 3em; */
            height: auto;
        }

        .persona-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 auto;
        }
  
        #nombre {
            font-size: 2em;
            text-align: center;
            margin-bottom: 20px;
            color: var(--azul-2);
            z-index: 1;
        }

        #infoCargo , #infoFormacion{
            color: var(--azul-2);
            margin-top: 10px;
            text-align: justify;
            margin-bottom: 20px;
        }

        .flecha {
            display: inline; 
        }

        #cargo, #formacion{
            color: var(--amarillo-9);
            font-size: 1.2em;
        }

        #infoCargo.hidden, #infoFormacion.hidden  {
            display: none; 
        }
  
        #imagen-redes {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 50px;
        } 
  
        #imagen {
            width: 100%;
            max-width: 250px;
            margin-left: 20px;
            z-index: 1;
        }
  
        #redes-c-u {
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 1;
        }
  
        #redes-c-u img {
            width: 30px;
            height: 30px;
        }

        .clip-path-a{
            position: fixed;
            top: -45px;
            left: 0px;
            width: 100%;
            height: 49em;
            clip-path: circle(54% at 117% 53%);
            background-color: rgba(196, 188, 78, 0.5);
            z-index: 0;
        }

        #toggle-info {
            width: 100%;
            margin-bottom: 20px;
            z-index: 1;
        }
  
        .cargoDePersona, .formacionDePersona {
            display: flex;
            justify-content: space-between; 
            align-items: center; 
            width: 100%;
            background-color: #193D6B; 
            padding: 10px;
            margin-bottom: 10px;
            color: #F3F8FF; 
            z-index: 1;
        }

        .cargoDePersona p, .formacionDePersona p {
            margin: 0;  
        }

        footer{
            z-index: 1;
        }

       #flechaCargo ,  #flechaFormacion{
            overflow-y: hidden;
        }
   

/* ÁREAS PRÁCTICAS ------------------------------------------------------- */

#areasPracticas {
    padding: 20px;
    align-items: center;
    text-align: center;
}

#areasPracticas h2 {
    text-align: center;
    color: var(--amarillo-4);
    font-size: 2em;
    margin: 7px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0px;
}

.grid-container .area {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 25px 5px;
    height: auto;
    position: relative;
    text-align: right;
    background-color: var(--azul-2);
    border: 2px solid var(--azul-2);
    border-radius: 7px;
    width: 100%;
}

.grid-container p {
    font-weight: 500;
    font-size: 1em;
    margin: 10px 0 0 0;
    color: var(--amarillo-9);
    text-align: center;
}

.material-symbols-outlined {
    color: var(--amarillo-9);
    font-size: 2em;
    margin-bottom: 10px;
}

#mainIndex #areasPracticas span{
    overflow-y: hidden;
}


/* ////// pestaña áreas prácticas -----------------------------------*/

#aPracticas{
    padding: 20px;
    height: auto;
    margin-top: 100px;
}

#aPracticas h2{
    font-size: 2em;
    color: var(--azul-2);
    text-align: center;
}

#aPracticas .iconoYtitulo p{
    font-family: 'Cardo' ;
    font-size: 20px;
    color: var(--amarillo-4);
}

#aPracticas .iconoYtitulo span{
    color: var(--amarillo-4);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 20px;
  }
  
  .area {
    border: 2px solid var(--azul-2);
    border-radius: 7px;
    padding: 20px;
    background-color: var(--azul-2);
    transition: background-color 0.3s ease-in-out;
  }
  
  .area:hover {
    background-color: var(--azul-4);
  }

  
  .iconoYtitulo {
    display: flex;
    align-items: center; 
    text-align: center;
    gap: 10px; 
    margin-bottom: 10px; 
  }
  
  .iconoYtitulo span {
    font-size: 2em; 
    color: var(--amarillo-9); 
    overflow-y: hidden;
    text-align: center;
    align-items: center;
  }
  
  .iconoYtitulo p {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--amarillo-9); 
    margin: 0; 
  }
  
  
  .areasTexto {
    font-size: 1em;
    color: var(--amarillo-9); 
    margin-top: 10px;
    font-weight: 100;
    font-style: italic ;
  }

 

/* CONTACTO ------------------------------------------------------- */

#contactoSeccion {
    padding: 20px;
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 0;
    overflow: hidden;
    background-color: var(--amarillo-4);
}

#contactoSeccion h2 {
    text-align: center;
    color: var(--azul-2);
    font-size: 2em;
    margin: 11px 0 12px 0;
    z-index: 1;
}

#contacto-container {
    display: flex;
    flex-wrap: nowrap;
    text-align: start;
    justify-content: center;
    z-index: 2;
    width: 100%;
}

#contacto {
    margin: 15px 0;
    padding: 10px 20px; 
    border-radius:  50px 0 0 50px ;
    font-size: 1em;
    text-decoration: none;
    background: none;
    border: none;
    border: 2px solid var(--azul-2);
    cursor: pointer;
    transition: color 0.3s ease-in-out, border-bottom 0.3s ease-in-out, margin-bottom 0.3s ease-in-out; 
    width: 90%;
}

#contactoSeccion .boton-estudio {
    border: transparent 3px solid;
    border-radius:  0 50px 50px 0; 
    background-color: rgba(25, 61, 107, 0.7);
    color: var(--azul-10);
    font-family: 'Cardo';
    margin: 15px 0;
    text-align: left;
    padding-left: 5px;
}

#contactoSeccion .boton-estudio:hover{
    border: 3px solid  var(--azul-2);
    background-color: var(--azul-2);
    color: var(--azul-10); 
    border-radius: 0px;
}

#contactoSeccion .boton-estudio:active{
    border: 3px solid var(--azul-1);
    background-color: var(--azul-1); 
    color: var(--azul-9); 
    border-radius: 0px;
}

    /* ////// pestaña contacto -----------------------------------*/

    #mainContacto{
        margin-top: 80px;
        height: auto;
        text-align: center;
    }

    #mainContacto h2 {
        text-align: center;
        font-size: 1em;
        color: var(--azul-2);
    }
    
    #contactoPestania {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        margin-bottom: 20px;
      }
      
      #mapa iframe {
        width: 100%;
        height: 350px;
        border-radius: 10px;
        margin-bottom: 40px;
        border: 2px solid var(--amarillo-4);
      }
      
      #datosOficina {
        display: flex;
        flex-direction: column;
        gap: 15px;
        text-align: left;
        justify-content: space-between;
        align-items: flex-start;
      }
      
      #datosOficina div {
        display: flex;
        justify-content: center;
        gap: 10px;
      }

      #datosOficina h3 {
        margin: 0;
        font-size: 1em;
        color: var(--azul-2);
      }

      #datosOficina span{
        color: var(--azul-2);
      }

      #contactoSeccion h2{
        color: var(--azul-2);
      }

/* FOOTER ----------------------------------------------------------- */

footer {
   background-color: var(--azul-2);
}

#contenidoFooter{
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
    width: calc(100% - 20px); 
    border-radius: 50px;
    margin: 10px;
    box-sizing: border-box;
    overflow-y: hidden;
    background-color: rgba(25, 61, 107, 0.7);
    z-index: 1;
}

#redes {
    padding: 20px;
    display: flex;
    justify-content: space-between; 
    gap: 35px;
}

#redes img {
    width: 25px;
    height: 25px;
    cursor: pointer;
    color: var(--amarillo-9);
}


    
/* BOTONES ------------------------------------------------------- */

.boton-estudio {
    display: inline-block;
    background-color: rgba(25, 61, 107, 0.7);
    color: var(--azul-10); 
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;

}

.boton-estudio:hover {
    border: 3px solid  var(--azul-2);
    background-color: var(--azul-2);
    color: var(--azul-10); 
    border-radius: 0px;
}

.boton-estudio:active {
    border: 3px solid var(--azul-1);
    background-color: var(--azul-1); 
    color: var(--azul-9); 
    border-radius: 0px;
} 

  /*  //NOTICIAS      --------------------------------------------------- */
  
  #mainPestaniasN{
     min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between; 
}

#contentN{
        padding: 20px;
        margin-top: 150px;
        margin-bottom: 9px;
        position: relative;
        z-index: 1;
}

    #mainPestaniasN h2{
        font-size:3em;
        color:#193D6B; 
        text-align: center;
        margin-bottom:20px;
    }
    
    #contentN p{
        font-size:16px;
        margin-bottom:20px;
        text-align:center;
        font-style: oblique;
    }
    

    #noticias {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }

    .cadaNoticia {
        border: 2px solid #193D6B;  
        padding: 15px;
        border-radius: 8px;  
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  
        transition: box-shadow 0.3s ease;
    }

    .cadaNoticia:hover {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);  
    }

    .cadaNoticia h4 {
        margin-bottom: 10px;
        font-size:22px;
        color:#193D6B;
        font-weight: bold;
    }

    #noticias p {
        font-size: 1rem;
        color: #666;
        line-height: 1.6;
        text-align:justify;
    }
    
    .cadaNoticia h5{
        font-size:18px;
        color:#C4BC4E;
        margin-bottom:10px;
    }

    .cadaNoticia a {
        display: inline-block;
        margin-top: 10px;
        margin-bottom:25px;
        padding: 10px 20px;
        background-color: #193D6B;
        color: white;
        text-decoration: none;
        font-weight: bold;
        border-radius: 5px;
        text-align: center;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }


    .cadaNoticia a:hover {
        background-color: #0C2749;
        transform: scale(1.05);
    }


    .clip-path-N{
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 90em;
        clip-path: circle(54% at 117% 53%);
        background-color: rgba(196, 188, 78, 0.5);
        z-index: 0;
        overflow-y: hidden;
    }

  
    
   video {
        width: 100%; 
        max-width: 800px;
        height: auto; 
        display: block;
        margin: 10px auto; 
    }


/* ------------------------------------------------------- TABLETS ------------------------------------------------------- */
@media (min-width: 768px)  {

    /* BANNER ------------------------------------------------------------- */
    .slide-group-tablet {
        display: block;
    }

    .boton-estudio {
        padding: 14px 26px; 
        font-size: 20px; 
    }

    #formaNosotros {
        top: 75%; 
        left: 50%;
    }

    .circle {
        width: 15px;
        height: 15px;
    }

    .circles {
        bottom: 5%;
    }

    .boton-container h1 {
        font-size: 2.5em; 
    }

    .boton-container .boton-estudio{
        padding: 14px 26px; 
        font-size: 20px; 
    }

    /*  MENU --------------------------------------------------------------- */
   
    header{
        background-color: var(--azul-2); 
        height: 55px;
    }
   
    #hamburguesa {
        display: none;
    }

    #logoTop img {
        height: 55px; 
        background-color: transparent;
    }

    #opciones-links-top {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 500;
        display: flex;
        position: static;
        flex-direction: row;
        background-color: transparent;
        height: auto;
        align-items: center;
        justify-content: flex-end;
        opacity: 1; 
        max-height: none; 
        z-index: 100;
    }
    
    #opciones-links-top a {
        align-items: center;
        text-align: right;
        color: var(--amarillo-4);
        position: relative; 
        text-decoration: none;
        font-size: 1.2em; 
    }
    
    #opciones-links-top a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background-color: var(--amarillo-4);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s ease-out;
    }
    
    #opciones-links-top a:hover::after,
    #opciones-links-top a:focus::after {
    transform: scaleX(1);
    }


    /*  EQUIPO  --------------------------------------------------------------- */

    #equipo h2 {
        font-size: 2.5em;
    }
    
    .miembros-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ////// pestaña equipo -----------------------------------*/

    #mainEquipo{
        margin-top: 60px;
    }

    .miembros-del-equipo-container {
        grid-template-columns: repeat(2, 1fr);
    }

    #mainEquipo p{
        font-size: 1.1em;
        margin-bottom: 20px;
    }

    #mainEquipo h2 {
        font-size: 2.5em;
    }

    #mainEquipo h3{
        margin-top: 8px;
        font-size: 1.2em;
    }

    /* ////// cada miembro del equipo -----------------------------------*/
            
    #cada-persona {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 65px;
    }

    .persona-info {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    #nombre {
        text-align: center;
        margin-bottom: 20px;
        font-size: 3em;
    }

    .persona-detalle {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }

    #toggle-info {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 50%;
        order: 1;
    }

    #imagen-redes {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50%;
        order: 2;
        margin-left: 5%;
    }

    #imagen {
        width: 90%;
        max-width: 450px;
        margin-left: 10px;
        z-index: 1;
    }

    #redes-c-u img {
        width: 45px;
        height: 45px;
    }

    .clip-path-a{
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 50em;
        clip-path: circle(54% at 117% 53%);
        background-color: rgba(196, 188, 78, 0.5);
        z-index: 0;
        overflow-y: hidden;
    }

    #flechaCargo, #flechaFormacion {
        display: none; 
    }

    #infoCargo.hidden, #infoFormacion.hidden  {
        display: block; 
    }

    #infoCargo, #infoFormacion {
        font-size: 1.1em;
        margin-bottom: 1em;
    }

    
    /* ÁREAS PRÁCTICAS ------------------------------------------------------- */

    #aPracticas h2{
        font-size: 2.5em;
        text-align: center;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-container p{
        font-size: 1.125em;
    }

    .material-symbols-outlined{
        font-size: 30px;
        width: 30px;
        height: 30px;
    }

    /* CONTACTO ------------------------------------------------------- */

    #contactoSeccion h2{
        font-size: 2.5em;
    }

    #contacto-container{
        width: 100%;
    }

    #contacto{
        width: 80%;
    }

    #contactoSeccion .boton-estudio {
        width: 20%;
    }

    /* ////// pestaña contacto -----------------------------------*/

    #mainContacto h2 {
        font-size: 2.5em;
    }

    #mapa iframe {
        height: 450px;
    }

    #datosOficina {
        flex-direction: row;
        align-items: center;
    }

    #datosOficina h3 {
        font-size: 1.1em;
    }

    #datosOficina span{
        font-size: 28px;
    }



    /* FOOTER ----------------------------------------------------------- */

    #redes {
        gap: 50px;
    }

    #redes img {
        width: 30px;
        height: 30px;
    }

    /*  /////// pestaña la firma --------------------------------------------------- */

    .content h2 {
        font-size: 2.5em;
        margin: 50px 0  90px 0;
    }

      .content p {
        align-items: center;
        margin-top: 4%;
        width:100%;
   
    }
    
    /*  //NOTICIAS  --------------------------------------------------- */

    video {
        max-width: 600px; 
    }

}

/* ------------------------------------------------------- ESCRITORIO -------------------------------------------------------- */
    @media all and (min-width: 1200px) {

        
        
        /* BANNER ------------------------------------------------------- */
            .slide-group-desktop {
                display: block;
            }

            .boton-estudio {
                padding: 16px 28px; 
                font-size: 22px; 
            }

            #formaNosotros {
                top: 75%; 
                left: 50%;
            }

            .circle {
                width: 20px;
                height: 20px;
            }

            .circles {
                bottom: 8%;
            }

            .boton-container h1 {
                font-size: 3em; 
            }

            .boton-container .boton-estudio{
                padding: 16px 28px; 
                font-size: 22px; 
            }

        /*  MENU -------------------------------------------------------------- */
            header{
                height: 80px;
            }
        
            #logoTop img{
                height: 65px; 
                background-color: transparent;
            }

            #opciones-links-top a {
                font-size: 1.5em; 
            }

        /* EQUIPO ------------------------------------------------------- */

            #equipo h2 {
                font-size: 3em;
            }

            .miembros-container {
                grid-template-columns: repeat(3, 1fr); 
            }

            /* ////// pestaña equipo -----------------------------------*/

            #mainEquipo{
                margin-top: 85px;
            }

            .miembros-del-equipo-container {
                grid-template-columns: repeat(3, 1fr);
            }

            #mainEquipo p{
                font-size: 1.7em;
                margin-bottom: 40px;
                text-align: center;
            }

            #mainEquipo h2 {
                font-size: 3em;
            }

            #mainEquipo h3{
                margin-top: 10px;   
                font-size: 1.5em;
            }

            /* ////// cada miembro del equipo -----------------------------------*/
            
            #cada-persona {
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                padding: 65px;
            }
        
            .persona-info {
                display: flex;
                flex-direction: column;
                width: 100%;
                height: auto;
            }
        
            #nombre {
                text-align: center;
                margin-bottom: 20px;
                font-size: 3em;
            }
        
            .persona-detalle {
                display: flex;
                justify-content: space-between;
                width: 100%;
                align-items: center;
            }
        
            #toggle-info {
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                width: 40%;
                order: 1;
            }
        
            #imagen-redes {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 60%;
                order: 2;
            }

            #imagen {
                width: 100%;
                max-width: 450px;
                margin-left: 20px;
                z-index: 1;
            }

            #redes-c-u img {
                width: 60px;
                height: 60px;
            }
    

            .clip-path-a{
                position: fixed;
                top: 0px;
                left: 0px;
                width: 100%;
                height: 50em;
                clip-path: circle(54% at 117% 53%);
                background-color: rgba(196, 188, 78, 0.5);
                z-index: 0;
                overflow-y: hidden;
            }

            #flechaCargo, #flechaFormacion {
                display: none; 
            }

            #infoCargo.hidden, #infoFormacion.hidden  {
                display: block; 
            }

            #infoCargo, #infoFormacion {
                font-size: 1.4em;
                margin-bottom: 1em;
                margin-bottom: 40px;
            }

        /* ÁREAS PRÁCTICAS ------------------------------------------------------- */
            #aPracticas h2{
                font-size: 3em;
            }

            .grid-container {
                grid-template-columns: repeat(3, 1fr);
            }

            .grid-container p{
                font-size: 1.25em;
            }

            .material-symbols-outlined{
                font-size: 39px;
                width: 39px;
                height: 39px;
            }
           
            .areasTexto p{
                font-size: 1.2em;
                color: var(--azul-10);
                order: 1;
                font-style: italic;
                font-weight: 100;
            }



        /* CONTACTO ------------------------------------------------------- */

        #contactoSeccion h2{
            font-size: 3em;
        }

            /* ////// pestaña contacto -----------------------------------*/

            #mainContacto{
                margin-top: 106px;
            }

            #mainContacto h2 {
                font-size: 3em;
                color: var(--azul-2);
            } 

            #mapa iframe {
                height: 550px;
            }

            #datosOficina h3 {
                font-size: 1.2em;
            }

            #datosOficina span{
                font-size: 32px;
            }
        

        /* FOOTER ----------------------------------------------------------- */

        #redes {
            gap: 55px;
        }
    
        #redes img {
            width: 40px;
            height: 40px;
        }

        /*  /////// pestaña la firma --------------------------------------------------- */

        .content {
            width:100%;
            padding: 20px;
            margin-top: 50px;
            margin-bottom: 9px;
        }
        
        video {
            max-width: 800px; /* Aumenta el tamaño en escritorio */
        }
    }
    
    


