
:root {
    --primary-color: #00cc99;
    --secondary-color: #0e1f1b;
    --text-color: #d2f4e3;
    --background-gradient: linear-gradient(135deg, #003d33, #006655);
    --card-background: rgba(0, 77, 59, 0.2);
    --transition-speed: 0.3s;
}


body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}



.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px;
    z-index: 100;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}


header {
    background: linear-gradient(135deg, #004d3b, #003d33);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 255, 180, 0.3);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 180, 0.1) 0%, rgba(0, 255, 180, 0) 100%);
    pointer-events: none;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.logo {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 0 4px #00ffcc);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

h1, h2, h3 {
    margin: 1rem 0;
    color: #aaffcc;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.3rem;
    position: relative;
    display: inline-block;
    text-align: center;
    background: linear-gradient(45deg, #00ffcc, #00b386);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00cc99, transparent);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00cc99, transparent);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.tagline {
    font-size: 1.2rem;
    color: #b0ffe3;
    text-align: center;
    margin: 1rem 0 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


nav {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

nav a {
    text-decoration: none;
    color: #b0ffe3;
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(0, 204, 153, 0.1);
}

nav a:hover {
    color: #66ffaa;
    border-bottom: 2px solid #66ffaa;
    background: rgba(0, 204, 153, 0.2);
    transform: translateY(-2px);
}

/* Controles de accesibilidad */
.accessibility-controls {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.read-button {
    background: rgba(0, 204, 153, 0.2);
    color: #b0ffe3;
    border: 2px solid #00cc99;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.read-button:hover {
    background: rgba(0, 204, 153, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.read-button.playing {
    background: #00cc99;
    color: #0e1f1b;
}

.read-button i {
    font-size: 1.2rem;
}

.read-button .shortcut {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-left: 0.5rem;
}


section {
    border-bottom: 1px solid #004d3b;
    margin-bottom: 4rem;
    padding: 6rem 2rem;
    position: relative;
    text-align: center;
}

section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

section h2 {
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00cc99, transparent);
}

section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d2f4e3;
}

.impacto-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.grafico {
    background: #1a3d33;
    border-left: 5px solid #00cc99;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 255, 200, 0.2);
    border-radius: 1rem;
}

.sponsors { justify-content: center; }
.sponsor-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }

.sponsor-logo {
  width: 150px;   /* ajustable */
  height: 100px;  /* ajustable */
  background-color: transparent;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto; border: none; border-radius: 1rem;
}

.sponsor-logo img {
  display: block;
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  background: transparent;
  margin: 0 auto;
}


footer {
    background-color: #002b1f;
    color: #ffffff;
    text-align: center;
    padding: 3rem;
    border-top: 1px solid #00cc99;
    margin-top: 4rem;
}


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


html {
    scroll-behavior: smooth;
}


section:hover {
    background-color: rgba(0, 255, 180, 0.05);
    transition: background-color 0.3s ease;
}


.contacto-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.contacto-info {
    background: rgba(0, 77, 59, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 204, 153, 0.2);
    backdrop-filter: blur(5px);
}

.contacto-info h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 1rem;
}

.contacto-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.redes-sociales a {
    color: var(--text-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.redes-sociales a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contacto-form {
    background: rgba(0, 77, 59, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #004d3b;
}

.form-header {
    margin-bottom: 2rem;
    text-align: left;
}

.form-header h3 {
    color: #00cc99;
    margin-bottom: 0.5rem;
    text-align: left;
}

.form-header p {
    color: #d2f4e3;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #aaffcc;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #004d3b;
    border-radius: 0.5rem;
    background: rgba(0, 77, 59, 0.2);
    color: #d2f4e3;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00cc99;
    box-shadow: 0 0 0 2px rgba(0, 204, 153, 0.2);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300cc99'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.btn-enviar {
    background: #00cc99;
    color: #0e1f1b;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-enviar:hover {
    background: #00b386;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 204, 153, 0.3);
}


.galeria-filtros {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #00cc99;
    background: transparent;
    color: #00cc99;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filtro-btn:hover,
.filtro-btn.active {
    background: #00cc99;
    color: #0e1f1b;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.galeria-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-overlay h3 {
    color: #00cc99;
    margin-bottom: 0.5rem;
}

.galeria-overlay p {
    color: #d2f4e3;
    margin-bottom: 1rem;
}

.ver-mas {
    background: #00cc99;
    color: #0e1f1b;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ver-mas:hover {
    background: #00b386;
    transform: translateY(-2px);
}

.galeria-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: #0e1f1b;
    border-radius: 1rem;
    overflow: hidden;
}

.cerrar-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #00cc99;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
}

.modal-img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.modal-info {
    padding: 1.5rem;
    text-align: center;
}

.modal-info h3 {
    color: #00cc99;
    margin-bottom: 0.5rem;
}

.modal-info p {
    color: #d2f4e3;
}


@media (max-width: 768px) {
    .contacto-container {
        grid-template-columns: 1fr;
    }

    .galeria-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}


.galeria-carrusel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1rem;
}

.carrusel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrusel-slide {
    min-width: 100%;
    height: 400px;
}

.carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 204, 153, 0.7);
    color: #0e1f1b;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s ease;
    z-index: 10;
}

.carrusel-btn:hover {
    background: rgba(0, 204, 153, 0.9);
}

.carrusel-btn.prev {
    left: 0;
    border-radius: 0 1rem 1rem 0;
}

.carrusel-btn.next {
    right: 0;
    border-radius: 1rem 0 0 1rem;
}

@media (max-width: 768px) {
    .galeria-carrusel {
        max-width: 100%;
    }
    
    .carrusel-slide {
        height: 300px;
    }
}


.equipo-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.integrante {
    background: rgba(0, 77, 59, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.integrante:hover {
    transform: translateY(-5px);
}

.integrante-imagen {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #00cc99;
}

.integrante-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.integrante h3 {
    color: #00cc99;
    margin-bottom: 0.5rem;
}

.integrante .redes-sociales {
    margin-top: 1rem;
    gap: 1rem;
}

.integrante .redes-sociales a {
    font-size: 1.4rem;
    color: #aaffcc;
    transition: color 0.2s ease, transform 0.2s ease;
}

.integrante .redes-sociales a:hover {
    color: #00cc99;
    transform: translateY(-2px);
}


.integrante .rol {
    color: #aaffcc;
    font-weight: 500;
    margin-bottom: 1rem;
}

.integrante .descripcion {
    color: #d2f4e3;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .equipo-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    .equipo-container {
        grid-template-columns: 1fr;
    }

    .sponsors {
        gap: 2rem;
    }

    .accessibility-controls {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        top: auto;
    }

    .carrusel-slide img {
        height: 300px;
    }
}
  #video {
  text-align: center;
  padding: 4rem 2rem;
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 2px solid rgba(0, 204, 153, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}