body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0d2707;
    color: #ffffff;
    padding-top: 80px;
    
}

h1, h2, h3, h4 {
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.main-header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #5dbd4a; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out, background-color 0.3s, backdrop-filter 0.3s;
    
    display: flex; 
    justify-content: flex-start; 
    align-items: center;
    padding: 18px 5%; 
    box-sizing: border-box;
}
.menu-toggle {
    display: none; 
}

.main-header.scroll-hidden {
    transform: translateY(-100%);
}


.main-header.header-glass {
    
    background-color: rgba(93, 189, 74, 0.6); 
    
    
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.logo {
    height: 50px; 
    display: flex; 
    align-items: center; 
    margin-right: auto;  
}

.logo-texto {
    color: #ffffff; 
    font-weight: bold;
    font-size: 1.2em; 
    margin-left: 10px; 
}

.logo img {
    max-height: 100%;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center; 
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end; 
}
.main-nav li {
    margin: 0 15px; 
}


.main-nav a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 0;
    
    transition: color 0.3s ease, border-bottom 0.3s ease; 
}

.main-nav a:hover {
    color: #eeeeee; 
    
    border-bottom: 2px solid #ffffff; 
    padding-bottom: 6px; 
}

.main-nav a:active {
    color: #cccccc; 
    border-bottom-color: #cccccc; 
}

.hero-banner {
    height: 80vh;
    position: relative; 
    color: white;
    text-align: left;
}

.carousel-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; 
    z-index: 0; 
}

.slide {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    
    opacity: 0;
    visibility: hidden; 
    
    transition: opacity 1.5s ease-in-out, visibility 1.5s; 
}

.active-slide {
    opacity: 1; 
    visibility: visible;
}

.overlay {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(0, 0, 0, 0) 100% 
    );
}

.hero-content {
    position: absolute; 
    bottom: 50px; 
    left: 0; 
    width: 100%; 
    box-sizing: border-box;
    padding: 0 5%; 
    z-index: 2; 
}

.carousel-dots {
    position: absolute;
    bottom: 15px; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2; 
}

.hero-content h1 {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    max-width: 600px;
}

.cta-button {
    background-color: #ff8c00; 
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    float: none; 
    display: inline-block; 
    margin-right: 0;
}

.carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2; 
}

.dot {
    height: 10px;
    width: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

.whatsapp-float {
    position: fixed;
    width: 60px; 
    height: 60px;
    bottom: 40px; 
    right: 40px; 
    background-color: #25d366; 
    color: #FFF;
    border-radius: 50px; 
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 999; 
    display: flex; 
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s; 
}

.whatsapp-float:hover {
    background-color: #128c7e; 
    transform: scale(1.05); 
}

.whatsapp-float i {
    font-size: 30px; 
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.nuestro-trabajo {
    background-color: #355a37; 
    
    background: linear-gradient(
        45deg,                     
        #5dbd4a,                   
        #103712                    
    );
    
    color: white;
    padding: 40px 5%;
    text-align: center;
}

.nuestro-trabajo h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
.nuestro-trabajo h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #008000;
    margin: 10px auto 0;
}

.video-placeholder {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.video-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2em;
    cursor: pointer;
}

.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; 
    position: relative;
    height: 0;
}

.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.mision-vision h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    
}
.bloque-mv.mision {
    margin-top: 90px; 
    
}
.mision-vision h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #008000;
    margin: 10px auto 0;
}

.mision-vision {
    background: linear-gradient(145deg, #385e3a 0%, #2e4a2f 100%); 
    padding: 80px 20px; 
    color: #e0e0e0; 
    overflow: hidden; 
}

.mision-vision h2 {
    color: #ffffff; 
    font-size: 2.5em; 
    margin-bottom: 25px;
    font-family: 'Roboto', sans-serif; 
    font-weight: 700;
}

.mision-vision p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif; 
}

.bloque-mv {
    display: flex;
    align-items: flex-start; 
    margin-bottom: 100px; 
    gap: 60px; 
    max-width: 1300px; 
    margin-left: auto;
    margin-right: auto;
    position: relative; 
}

.mision {
    flex-direction: row;
}

.vision {
    flex-direction: row-reverse;
}

.mision .contenido-imagen {
    margin-top: -30px; 
    margin-left: -30px; 
    z-index: 2; 
}
.vision .contenido-texto {
    margin-top: -30px; 
    margin-right: -30px; 
    z-index: 2;
}


.contenido-texto {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1); 
    padding: 40px;
    border-radius: 18px; 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    position: relative;
}

.contenido-imagen {
    flex: 1;
    min-height: 350px; 
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex; 
    justify-content: center;
    align-items: center;
    background-color: #4a6d4b; 
}

.contenido-imagen img:not(.mapa-img) {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.contenido-imagen .mapa-img {
    width: 100%; 
    height: 90%; 
    object-fit: contain; 
    background-color: transparent; 
    padding: 0px; 
}

.certificaciones-tarjeta {
    margin-top: 35px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.25); 
    border-left: 6px solid #1ae30f; 
    border-radius: 10px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.certificaciones-tarjeta h3 {
    color: #1ae30f; 
    font-size: 1.4em;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
}

.certificaciones-tarjeta ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.certificaciones-tarjeta li {
    margin-bottom: 15px;
    font-size: 1em;
    display: flex;
    align-items: flex-start;
    color: #f0f0f0; 
}

.certificaciones-tarjeta li .fas {
    color: #1ae30f; 
    margin-right: 18px;
    font-size: 1.3em;
    line-height: 1.4;
}

.alcance {
    font-weight: 600;
    color: #FF8A00; 
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
    padding-top: 25px;
    margin-top: 35px;
    font-family: 'Roboto', sans-serif; 
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contacto {
    position: relative;
    padding: 80px 0; 
    min-height: 500px;
    background: linear-gradient(180deg, #f0f0f0 0%, #e8e8e8 100%); 
}

.contacto-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('placeholder-contacto-fondo.jpg');
    background-size: cover;
    background-position: bottom;
    opacity: 0.1; 
    z-index: 1;
}

.contacto-content {
    color: #333;
    position: relative;
    z-index: 2;
    display: flex;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 5%;
    gap: 40px;
}

.informacion,
.formulario {
    flex: 1;
    padding: 40px; 
    background-color: white; 
    border-radius: 16px; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.informacion:hover,
.formulario:hover {
    transform: translateY(-8px); 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}


.informacion h2 {
    color: #333; 
    font-size: 2.5em; 
    font-weight: 700;
    margin-bottom: 5px;
}

.informacion h3 {
    color: #FF8A00; 
    font-size: 1.6em;
    font-weight: 400;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px; 
}

.info-item .icon {
    font-size: 2em; 
    margin-right: 20px;
    color: #385e3a; 
    min-width: 40px; 
    text-align: center;
}

.info-item h4 {
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
    font-size: 1.1em;
}

.info-item p {
    font-size: 1em;
    color: #666;
    margin: 0;
}


.formulario h3 {
    color: #FF8A00; 
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 30px;
}

.formulario input[type="text"],
.formulario input[type="email"],
.formulario input[type="tel"],
.formulario textarea {
    width: 100%;
    padding: 14px; 
    margin-bottom: 25px;
    border: 1px solid #ddd; 
    border-radius: 10px; 
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif; 
    transition: border-color 0.3s, box-shadow 0.3s;
}

.formulario input:focus,
.formulario textarea:focus {
    border-color: #5dbd4a; 
    outline: none; 
    box-shadow: 0 0 8px rgba(93, 189, 74, 0.3);
}

.formulario textarea {
    height: 150px; 
    resize: vertical;
}

.submit-button {
    background-color: #385e3a; 
    color: white;
    border: none;
    padding: 14px 40px; 
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.1s, box-shadow 0.3s;
    float: right;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(56, 94, 58, 0.4);
}

.submit-button:hover {
    background-color: #5dbd4a; 
    box-shadow: 0 6px 15px rgba(56, 94, 58, 0.6);
}

.submit-button:active {
    transform: translateY(1px); 
}

.main-footer {
    background-color: #103712; 
    color: #ffffff;
    padding-top: 50px;
    font-family: 'Roboto', Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-col {
    flex: 1; 
    min-width: 200px; 
}

.footer-col h4 {
    font-size: 1.2em;
    font-weight: 700;
    color: #ff8c00; 
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 140, 0, 0.5); 
    padding-bottom: 5px;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.eslogan {
    font-size: 0.9em;
    opacity: 0.8;
    line-height: 1.5;
}

.nav-col ul {
    list-style: none;
    padding: 0;
}

.nav-col li {
    margin-bottom: 10px;
}

.nav-col a {
    color: #ffffff;
    transition: color 0.3s;
    font-size: 0.95em;
}

.nav-col a:hover {
    color: #ff8c00; 
}

.contact-col p {
    margin-bottom: 10px;
    font-size: 0.95em;
    line-height: 1.4;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: #ff8c00; 
    color: #385e3a; 
    border-radius: 50%;
    font-weight: bold;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding: 20px 5%;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8em;
    opacity: 0.6;
}

body {
    font-family: 'Roboto', sans-serif; 
    margin: 0;
    color: #333;
    align-items: center;
}

.main-content-equipo {
    background: linear-gradient(145deg, #385e3a 0%, #229526 100%); 
    padding: 100px 5%; 
    max-width: 100%; 
    margin: 0 auto;
    text-align: center;
}

.main-content-equipo h1 {
    font-size: 3.2em;
    color: #ffffff; 
    margin-bottom: 70px;
    font-weight: 700;
  
   
}

.seccion-equipo {
    margin-bottom: 80px;
}

.seccion-equipo h2 {
    font-size: 2.2em;
    color: #ffffff; 
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 3px solid #385e3a; 
    display: inline-block;
}

.miembros-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr)); 
    
    row-gap: 50px;    
    column-gap: 40px; 
    
    max-width: 1200px; 
    margin: 0 auto;
    
    justify-items: start;
    justify-content: center;
}

.solo-miembro .miembros-container {
    grid-template-columns: 1fr; 
    place-items: center; 
    max-width: 400px; 
    justify-items: center; 
}

.miembro-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); 
    padding: 30px; 
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 1px solid #f0f0f0; 
    width: 100%; 
}
.miembro-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); 
}

.foto-wrapper {
    width: 150px; 
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 25px auto; 
    
    display: inline-block;
    position: relative;
    padding: 5px; 
    z-index: 1; 
}

.foto-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #5dbd4a, #385e3a);
    z-index: -1; 
    box-shadow: 0 0 10px rgba(93, 189, 74, 0.5); 
}

.miembro-card img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    background-color: white; 
}

.miembro-card h3 {
    font-size: 1.6em; 
    color: #222;
    margin-bottom: 5px;
    font-weight: 700;
}

.miembro-card .cargo {
    font-style: normal; 
    color: #5dbd4a; 
    font-weight: 500;
    margin-bottom: 15px;
}

.miembro-card .contacto-info {
    font-size: 1em;
    color: #444;
}

.miembro-card .contacto-info a {
    color: #4a9f3d; 
    text-decoration: none;
    transition: color 0.3s;
}

.miembro-card .contacto-info a:hover {
    color: #FF8A00; 
    text-decoration: underline;
}

.trayectoria-header {
    background: linear-gradient(135deg, #f8fff8 0%, #eef0ee 100%);
    padding: 45px 5%;
    max-width: 1400px;
    margin: 60px auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
}

.trayectoria-content-wrapper {
    display: grid;
    grid-template-columns: 55% 45%; 
    gap: 50px;
    align-items: center;
}

.trayectoria-text {
    padding: 20px;
}

.trayectoria-text h2 {
    font-size: 2.8em;
    color: #385e3a; 
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 3px solid #FF8A00; 
    padding-bottom: 10px;
}

.subtitulo-trayectoria {
    font-size: 1.2em;
    font-weight: 400;
    color: #666;
    margin-bottom: 30px;
}

.trayectoria-text p {
    font-size: 1em;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.hitos-lista {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.hitos-lista li {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
    border-left: 4px solid #5dbd4a; 
    padding-left: 15px;
    line-height: 1.5;
}

.hitos-lista .fas {
    color: #FF8A00; 
    margin-right: 10px;
    font-size: 1.1em;
}

.trayectoria-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.imagen-principal img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); 
    object-fit: cover;
    display: block;
}

.mini-galeria {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mini-galeria img {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
}

.servicios-protocolos {
    background: linear-gradient(145deg, #385e3a 0%, #229526 100%); 
    padding: 80px 5%;
    text-align: center;
}

.servicios-protocolos h1 {
    color: #ffffff; 
    font-size: 3em;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.servicios-protocolos .introduccion {
    color: #e0e0e0; 
    margin-bottom: 60px;
    font-size: 1.2em;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio-card {
    background-color: rgba(0, 0, 0, 0.2); 
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px); 
    
    color: #f0f0f0; 
    padding: 35px; 
    border-radius: 15px; 
    
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1), 
        0 10px 20px rgba(0, 0, 0, 0.2), 
        inset 0 0 0 1px rgba(255, 255, 255, 0.1); 
    
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    
    border: 1px solid rgba(255, 255, 255, 0.15); 
    
    border-top: 5px solid #FF8A00; 
}

.servicio-card:hover {
    transform: translateY(-12px); 
    
    box-shadow: 
        0 8px 12px rgba(0, 0, 0, 0.2), 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2); 
    
    background-color: rgba(0, 0, 0, 0.3); 
}

.servicio-card h3 {
    color: #ffffff; 
    font-size: 1.5em; 
    margin: 20px 0 12px; 
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.servicio-card p {
    font-size: 1.05em; 
    line-height: 1.7;
    color: #cccccc; 
}

.card-icon {
    font-size: 3.5em; 
    color: #FF8A00; 
    margin-bottom: 15px;
    background-color: rgba(255, 138, 0, 0.08); 
    padding: 10px;
    border-radius: 50%; 
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    width: 70px; 
    height: 70px;
    transition: background-color 0.3s ease;
}

.servicio-card:hover .card-icon {
    background-color: rgba(255, 138, 0, 0.15); 
}

.servicios-certificacion-detalle {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 40px auto; 
    background-color: #385e3a; 
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative; 
}

.bloque-imagen {
    float: right; 
    margin: 0 0 15px 25px; 
    width: 350px; 
    height: 300px; 
    overflow: hidden; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
}

.img-protocolo {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}

.header-servicios {
    text-align: center;
    margin-bottom: 60px;
}

.header-servicios h2 {
    font-size: 3em;
    color: #FF8A00; 
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitulo-certificacion {
    font-size: 1.2em;
    font-weight: 300;
    color: #b3d9b3;
}

.detalle-container {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 40px;
    text-align: left;
}

.protocolos-columna {
    padding-right: 0;
}

.bloque-protocolo {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #315132; 
    border-radius: 8px;
    border-left: 5px solid #5dbd4a; 
    overflow: hidden; 
    position: relative; 
    min-height: 170px; 
}

.bloque-protocolo h3 {
    font-size: 1.8em;
    color: #5dbd4a; 
    margin-bottom: 15px;
    font-weight: 700;
}

.descripcion {
    font-size: 1em;
    margin-bottom: 15px;
    color: #ccc;
    line-height: 1.6;
}

.icono-verde {
    font-size: 1.2em;
    margin-right: 10px;
}

.lista-protocolos {
    list-style: none;
    padding-left: 0;
    margin-top: 20px; 
}

.lista-protocolos li {
    font-size: 1.1em;
    margin-bottom: 8px;
    padding-left: 20px; 
    position: relative;
    color: #fff;
}

.lista-protocolos li::before {
    content: "•";
    color: #FF8A00; 
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.lista-protocolos .addon {
    font-size: 1em;
    margin-left: 20px; 
    color: #e0e0e0;
}

.lista-protocolos a {
    color: #b3d9b3; 
    text-decoration: underline;
    transition: color 0.3s;
}

.lista-protocolos a:hover {
    color: #5dbd4a;
}

.trayectoria-banner-wrapper {
    margin-top: 50px;
    padding: 0 2%;
}

.tarjeta-historia-banner {
    background-color: #FF8A00; 
    color: #222;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.tarjeta-historia-banner h3 {
    font-size: 1.7em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.tarjeta-historia-banner p {
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lema-fondo {
    text-align: center;
    margin-top: 20px;
    font-size: 1.6em;
    font-style: italic;
    font-weight: 300;
    color: #385e3a; 
    padding: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .bloque-mv {
        flex-direction: column;
        text-align: center;
        margin-bottom: 80px;
        gap: 40px;
    }

    .vision {
        flex-direction: column;
    }

    .mision .contenido-imagen,
    .vision .contenido-texto {
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .contenido-texto, .contenido-imagen {
        width: 100%;
        height: auto;
    }
    
    .contenido-imagen img:not(.mapa-img) {
        height: 280px; 
        object-fit: cover;
    }

    .contenido-imagen .mapa-img {
        height: 250px; 
        width: 100%; 
        object-fit: contain;
    }

    .mision-vision h2 {
        font-size: 2em;
    }

    .contenido-texto {
        padding: 30px;
    }

    .certificaciones-tarjeta {
        padding: 25px;
    }

    .certificaciones-tarjeta li {
        justify-content: flex-start; 
        text-align: left;
    }
}
@media (max-width: 768px) {
    .bloque-mv, .vision {
        flex-direction: column;
        text-align: center;
    }

    .contenido-texto {
        padding: 10px 0;
    }
}

@media (max-width: 900px) {
    .contacto-content {
        flex-direction: column; 
    }
    
    .informacion {
        order: 2; 
    }
    
    .formulario {
        order: 1; 
    }
}
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 30px;
    }
    .logo-col {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-col ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .social-links {
        justify-content: center;
    }
}


@media (max-width: 950px) {
    .trayectoria-header {
        margin: 40px 5%;
    }

    .trayectoria-content-wrapper {
        grid-template-columns: 1fr;
    }

    .trayectoria-text {
        order: 2; 
    }

    .trayectoria-gallery {
        order: 1; 
    }
}


@media (max-width: 1050px) {
    .miembros-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        justify-items: center; 
        max-width: 900px;
        column-gap: 30px; 
    }
}

@media (max-width: 650px) {
    .main-content-equipo h1 {
        font-size: 2.5em;
    }
    
    .seccion-equipo h2 {
        font-size: 1.8em;
    }
    
    .miembros-container {
        grid-template-columns: 1fr; 
        gap: 20px;
        justify-items: center; 
        max-width: 400px; 
    }
    
    .solo-miembro .miembros-container {
        place-items: center;
        max-width: 400px; 
    }
}
@media (max-width: 768px) { 
    .detalle-container {
        grid-template-columns: 1fr;
    }
    
    .bloque-imagen {
        float: none; 
        margin: 15px auto; 
        width: 80%; 
        max-width: 250px; 
        height: 150px; 
    }
    
    .bloque-protocolo {
        text-align: center; 
        min-height: unset; 
    }

    .bloque-protocolo h3, .descripcion, .lista-protocolos {
        text-align: left; 
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .bloque-imagen {
        width: 160px; 
        height: 130px; 
        margin: 0 0 10px 20px;
    }
}

@media (max-width: 768px) {
    .main-content-equipo {
        padding-top: 90px;
    }
    .miembro-card {
        flex: 0 1 calc(50% - 15px); 
        min-width: 200px;
    }
}

@media (max-width: 500px) {
    .miembro-card {
        flex: 0 1 100%; 
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 15px 5%; 
    }

    .menu-toggle {
        display: block; 
        background: none;
        border: 1px solid #ffffff; 
        color: #ffffff;
        padding: 8px 10px;
        cursor: pointer;
        font-size: 1.2em;
        z-index: 101; 
        order: -1; 
        margin-right: 10px;
    }
    
    .logo {
        flex-grow: 1; 
        justify-content: center; 
    }
    
    .main-nav {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: #ffffff; 
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        z-index: 99;
        
        max-height: 0; 
        overflow: hidden; 
        transition: max-height 0.3s ease-in-out; 
    }

    .main-nav.active {
        max-height: 400px; 
    }

    .main-nav ul {
        flex-direction: column; 
        padding: 10px 0;
    }
    
    .main-nav li {
        margin: 0;
        text-align: left;
        border-bottom: 1px solid #eee;
    }
    
    .main-nav a {
        color: #333; 
        display: block;
        padding: 15px 5%; 
        transition: background-color 0.2s ease; 
    }

    .main-nav a:hover {
        background-color: #f5f5f5; 
        color: #111111; 
    }
    
    .main-nav a:active {
        background-color: #eeeeee; 
        color: #000000;
    }

    
    .main-nav li:last-child {
        border-bottom: none;
    }
}
@media (max-width: 600px) {
    .whatsapp-float {
        width: 50px; 
        height: 50px;
        bottom: 20px; 
        right: 20px; 
        font-size: 25px;
    }
}