/* =========================================
   ROOT Y RESET
   ========================================= */
:root {
    --font-title: 'Bebas Neue', display;
    --font-text: 'Montserrat', sans-serif;
    --color-black: #000000;
    --color-dark: #1D1E22;
    --color-white: #FFFFFF;
    --color-fep: #00B0B9;
    --color-background-alt: #144a50;
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-text);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* =========================================
   BOTONES
   ========================================= */
.btn-primary {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    gap: 17px;
    background: var(--color-white);
    border-radius: 8px;
    width: fit-content;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--color-fep);
    transform: none;
    box-shadow: 0 4px 10px rgba(0, 176, 185, 0.4);
}

.btn-primary .btn-text {
    font-family: var(--font-text);
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: var(--color-dark);
    transition: var(--transition);
}

.btn-primary:hover .btn-text {
    color: var(--color-white);
}

.btn-primary .btn-icon svg path {
    stroke: var(--color-dark);
    transition: var(--transition);
}

.btn-primary:hover .btn-icon svg path {
    stroke: var(--color-white);
}

/* =========================================
   HEADER & NAVBAR
   ========================================= */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(29, 30, 34, 0.9) 0%, rgba(29, 30, 34, 0.7) 50%, rgba(29, 30, 34, 0) 100%);
    z-index: 1000;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(180deg, rgba(29, 30, 34, 0.98) 0%, rgba(29, 30, 34, 0.8) 60%, rgba(29, 30, 34, 0) 100%);
}

.header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    flex-shrink: 0;
}

.nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-text);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-fep);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* =========================================
   MENÚ (Tablet + Mobile)
   ========================================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
    background: transparent;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: transform 0.35s ease, opacity 0.25s ease;
    display: block;
}

/* Animación */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Menú popup */
.hamburger-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 40px;
    background: rgba(29, 30, 34, 0.97);
    border-radius: 12px;
    padding: 24px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1050;
    /* Default */
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-width: 220px;
}

.hamburger-menu.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.hamburger-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hamburger-link {
    font-family: var(--font-text);
    font-weight: 500;
    font-size: 15px;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.25s ease, background 0.25s ease, padding-left 0.2s ease;
}

.hamburger-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 4px;
    left: 12px;
    background-color: var(--color-fep);
    transition: width 0.3s ease;
}

.hamburger-link:hover,
.hamburger-link:active {
    color: var(--color-fep);
    background: var(--color-background-alt);
    padding-left: 18px;
}

.hamburger-link:hover::after,
.hamburger-link:active::after {
    width: calc(100% - 24px);
}

/* =========================================
   SECCIÓN HERO
   ========================================= */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    height: 100vh;
    padding: 100px 90px 100px;
    gap: 32px;
    background: linear-gradient(180deg, #1D1E22 0%, rgba(0, 0, 0, 0) 19.6%), 
                linear-gradient(180deg, rgba(0, 0, 0, 0) 67.34%, rgba(0, 0, 0, 0.7) 94.22%),
                url('../img/fondo-hero.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 110px;
    line-height: 1;
    color: var(--color-white);
    max-width: 540px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0px 10px 10px rgba(0,0,0,0.15);
}

.hero-subtitle {
    font-family: var(--font-text);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    color: var(--color-white);
    max-width: 580px;
    margin-bottom: 30px;
    text-shadow: 0px 10px 10px rgba(0,0,0,0.2);
}

/* =========================================
   SECCIÓN MANIFIESTO
   ========================================= */
.section-intro {
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    width: 100%;
}

.intro-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 90px;
    gap: 130px;
    width: 100%;
    max-width: 1280px;
}

.intro-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 680px;
}

.intro-title {
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.5;
    color: var(--color-white);
    text-align: center;
    width: 100%;
}

.intro-desc {
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-white);
    text-align: left;
}

/* VÍDEO PRINCIPAL */
.intro-video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    box-shadow: 0px 0px 20px 4px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0px 0px 30px 8px rgba(0, 0, 0, 0.7);
}

.intro-video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* =========================================
   SECCIÓN: SOBRE NOSOTROS
   ========================================= */
.section-about {
    background-color: var(--color-background-alt);
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 100px 90px;
}

.about-content-wrapper {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.about-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 680px;
}

.about-logo {
    width: 300px;
    height: auto;
    margin-bottom: 40px;
}

.about-title {
    font-family: var(--font-title);
    font-size: 66px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 680px;
}

.about-subtitle {
    font-family: var(--font-text);
    font-size: 22px;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.5;
    width: 100%;
}

.about-text {
    font-family: var(--font-text);
    font-size: 15px;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.5;
    text-align: left;
}

/* =========================================
   SECCIÓN: TESTIMONIO
   ========================================= */
.section-testimonial-header {
    width: 100%;
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    padding: 80px 20px 0;
}

.testimonial-header-title {
    font-family: var(--font-title);
    font-size: 66px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    text-align: center;
    margin-bottom: 50px;
}

.section-testimonial {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0;
    background-color: var(--color-dark);
    min-height: auto;
}

.testimonial-reversed {
    flex-direction: row;
}

.testimonial-content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 150px;
}

.testimonial-name {
    font-family: var(--font-text);
    font-size: 33px;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 5px;
}

.testimonial-role {
    font-family: var(--font-text);
    font-size: 22px;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
    max-width: 400px;
}

.testimonial-image {
    flex: 0 0 50%;
    background: #444;
    background-size: cover;
    background-position: center center;
    min-height: 120vh;
}

/* =========================================
   SECCIÓN: VOCES DESDE DENTRO (NUEVO CARRUSEL)
   ========================================= */

:root {
  --vc-accent:        #e8c96d;
  --vc-card-bg:       #141414;
  --vc-radius:        14px;
  --vc-main-w:        680px;
  --vc-side-w:        330px;
  --vc-gap:           22px;
  --vc-side-opacity:  0.42;
  --vc-dur:           500ms;
  --vc-ease:          cubic-bezier(0.42, 0, 0.18, 1);
  --vc-arrow-sz:      56px;
  --vc-dot-h:         8px;
  --vc-dot-active-w:  26px;
}

@media (max-width: 1100px) {
  :root { --vc-main-w: min(580px, 78vw); --vc-side-w: min(280px, 32vw); }
}
@media (max-width: 760px) {
  :root {
    --vc-main-w: 85vw; --vc-side-w: 52vw;
    --vc-gap: 14px; --vc-arrow-sz: 38px;
    --vc-side-opacity: 0.35;
  }
}

.section-voices {
    background-color: var(--color-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.voices-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.voices-header {
    width: 100%;
    display: flex;
    justify-content: center;
}

.voices-title {
    font-family: var(--font-text);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
}

.vc-stage {
  position: relative;
  height: calc(var(--vc-main-w) * 0.5625 + 60px);
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
}
@media (max-width: 1100px) {
  .vc-stage { height: calc(min(580px, 78vw) * 0.5625 + 60px); }
}
@media (max-width: 760px) {
  .vc-stage { height: calc(85vw * 0.5625 + 60px); }
}

.vc-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 20;
  pointer-events: none;
}
.vc-fade.left  { left:  0; background: linear-gradient(to right, var(--color-dark), transparent); }
.vc-fade.right { right: 0; background: linear-gradient(to left,  var(--color-dark), transparent); }

.vc-arrow {
  position: absolute;
  z-index: 30;
  top: calc(var(--vc-main-w) * 0.5625 / 2);
  transform: translateY(-50%);
  width: var(--vc-arrow-sz);
  height: var(--vc-arrow-sz);
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 180ms, border-color 180ms, transform 180ms;
}
.vc-arrow:hover {
  background: var(--color-fep);
  border-color: var(--color-fep);
  color: #000;
  transform: translateY(-50%) scale(1.08);
}
.vc-arrow:active { transform: translateY(-50%) scale(0.95); }
.vc-arrow svg { width: 18px; height: 18px; display: block; }

.vc-arrow-left  { left:  calc(50% - var(--vc-main-w)/2 - var(--vc-arrow-sz) - 14px); }
.vc-arrow-right { right: calc(50% - var(--vc-main-w)/2 - var(--vc-arrow-sz) - 14px); }

@media (max-width: 760px) {
    .vc-arrow-left  { left:  8px; }
    .vc-arrow-right { right: 8px; }
    .vc-fade { width: 50px; }
}

.vc-track {
  display: flex;
  align-items: center;
  gap: var(--vc-gap);
  position: absolute;
  left: 0;
  height: 100%;
  will-change: transform;
  cursor: grab;
}
.vc-track.is-grabbing { cursor: grabbing; }

.vc-card {
  flex-shrink: 0;
  width: var(--vc-side-w);
  border-radius: var(--vc-radius);
  overflow: visible;
  background: transparent;
  position: relative;
  cursor: pointer;
  opacity: var(--vc-side-opacity);
  transition: width var(--vc-dur) var(--vc-ease), opacity var(--vc-dur) var(--vc-ease);
}

.vc-card.is-active {
  width: var(--vc-main-w);
  opacity: 1;
  cursor: default;
}

.vc-card:not(.is-active)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
}

.vc-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
  border-radius: var(--vc-radius);
  box-shadow: 0 6px 28px rgba(0,0,0,0.55);
  transition: box-shadow var(--vc-dur) var(--vc-ease);
}
.vc-card.is-active .vc-video-wrapper {
  box-shadow: 0 20px 80px rgba(0,0,0,0.9);
}

.vc-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

.vc-thumb {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  transition: opacity 280ms;
  cursor: pointer;
}
.vc-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.vc-play {
  position: relative;
  z-index: 1;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform 180ms, background 180ms, opacity 280ms;
  opacity: 0;
}
.vc-card.is-active .vc-play {
  opacity: 1;
}
.vc-play svg { margin-left: 4px; }
.vc-thumb:hover .vc-play { transform: scale(1.1); background: var(--color-fep); }
.vc-thumb.hidden { opacity: 0; pointer-events: none; }

.voice-name {
    font-family: var(--font-text);
    font-size: 22px;
    font-weight: 500;
    color: var(--color-white);
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--vc-dur) var(--vc-ease),
                transform var(--vc-dur) var(--vc-ease);
}

.vc-card.is-active .voice-name {
    opacity: 1;
    transform: translateY(0);
}

.vc-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}
.vc-dot {
  height: var(--vc-dot-h);
  width: var(--vc-dot-h);
  border-radius: 100px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  border: none;
  transition: width 300ms cubic-bezier(0.34,1.56,0.64,1), background 300ms;
  flex-shrink: 0;
}
.vc-dot.is-active {
  width: var(--vc-dot-active-w);
  background: var(--color-fep);
}

/* =========================================
   SECCIÓN: TOOLKIT
   ========================================= */
.section-toolkit {
    background-color: #3A3A3A;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 100px 0;
}

.toolkit-container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 90px;
}

.toolkit-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.toolkit-title {
    font-family: var(--font-title);
    font-size: 66px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.toolkit-subtitle {
    font-family: var(--font-text);
    font-size: 22px;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.2;
}

/* Flechas y Contenedor */
.toolkit-carousel-container {
    width: 100%;
    position: relative;
    padding: 0 60px; /* Espacio para las flechas que van absolutas */
}

.toolkit-arrow-btn {
    position: absolute;
    top: calc(50% - 20px); /* Centrado vertical con las imágenes (descontando el hueco para dots y texto) */
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.toolkit-arrow-left {
    left: 0;
}
.toolkit-arrow-right {
    right: 0;
}

.toolkit-arrow-btn:hover,
.toolkit-arrow-btn:active {
    background: var(--color-fep);
    transform: translateY(-50%) scale(1.05);
}

.toolkit-arrow-btn.swiper-button-disabled {
    opacity: 0.2;
    pointer-events: none;
}

.toolkit-swiper {
    width: 100%;
    padding-bottom: 20px;
}

.toolkit-item {
    aspect-ratio: 310 / 500;
    background-color: #444;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.toolkit-item::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transition: var(--transition);
}

.toolkit-item-icons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    color: var(--color-white);
    font-size: 20px;
    z-index: 2;
    opacity: 0;
    transition: var(--transition);
}

@media (hover: hover) {
    .toolkit-item:hover::after {
        opacity: 1;
    }
    .toolkit-item:hover .toolkit-item-icons {
        opacity: 1;
    }
}
@media (hover: none) {
    .toolkit-item::after { display: none; }
    .toolkit-item-icons { display: none; }
}

.toolkit-download-link {
    color: var(--color-white);
    transition: var(--transition);
}

.toolkit-download-link:hover,
.toolkit-item-icons i:hover {
    color: #00B0B9;
    transform: scale(1.1);
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
}
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, 
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 6px;
}
.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background-color: var(--color-white);
    opacity: 0.4;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.swiper-pagination-bullet-active,
.swiper-pagination-bullet:hover {
    background-color: var(--color-white);
    opacity: 1;
}

.toolkit-action {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* =========================================
   COLABORADORES
   ========================================= */
.section-funders {
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 50px 0;
}

.funders-container {
    width: 100%;
    max-width: 1150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.funders-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.funders-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
    width: 100%;
}

.funders-logo-box {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.funders-label {
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 10px;
    line-height: 1.2;
    color: var(--color-white);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 20px;
}
.funders-label-sub {
    font-family: var(--font-text);
    font-weight: 300;
    font-size: 10px;
    line-height: 1.2;
    color: var(--color-white);
    text-align: center;
    letter-spacing: 1px;
}
.funders-label-sub a{
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 10px;
    line-height: 1.2;
    color: var(--color-white);
    text-align: center;
    letter-spacing: 1px;
    text-decoration: none;
}
.funders-label-sub a:hover{
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 10px;
    line-height: 1.2;
    color: var(--color-fep);
    text-align: center;
    letter-spacing: 1px;
    text-decoration: none;
}

.funders-logo-fep {
    height: 80px;
    width: auto;
}

.funders-logo-fz {
    height: 80px;
    width: auto;
}
.funders-logo-pf {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.funders-logo {
    max-width: 100%;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.funders-logo-mdsca {
    height: 35px;
    object-fit: contain;
}

/* =========================================
   FOOTER PRINCIPAL
   ========================================= */
.footer-main {
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
}


.footer-main-top {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 0 20px;
}

.footer-main-container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-logo-col {
    flex: 0 0 18%;
    max-width: 18%;
}

/* Columna social — más ancha, centrada visualmente */
.footer-social {
    flex: 1 1 auto;
    max-width: 42%;
}

/* Columna contacto */
.footer-info {
    flex: 0 0 28%;
    max-width: 28%;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}

.footer-main-logo {
    max-height: 55px;
    width: auto;
    transition: opacity 0.25s ease;
}

.footer-main-logo:hover {
    opacity: 0.8;
}

.footer-dark-text {
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-dark);
    line-height: 1.6;
}

.footer-dark-text a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-dark-text a:hover {
    color: var(--color-fep);
}

.footer-cyan-title {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-fep);
    margin-bottom: 4px;
    line-height: 1.2;
}

.social-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background-color: #8D8D8D;
    border-radius: 8px;
    color: var(--color-white);
    transition: var(--transition);
    font-size: 20px;
    flex-shrink: 0;
}

.social-link:hover {
    background-color: var(--color-fep);
    transform: translateY(-2px);
}

.footer-legal-bar {
    width: 100%;
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.footer-legal-inner {
    width: 90%;
    max-width: 1280px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-copy {
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 400;
    color: var(--color-dark);
    line-height: 1.4;
}

.footer-legal-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.footer-legal-link {
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-legal-link:hover {
    color: var(--color-fep);
}

/* =========================================
   MEDIA QUERIES — TABLET (≤1024px)
   ========================================= */
@media (max-width: 1024px) {

    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
    }

    .hamburger-menu {
        right: 40px;
    }

    .header-container {
        padding: 15px 40px;
    }

    .logo img {
        height: 36px;
    }

    /* HERO Tablet */
    .hero {
        padding: 120px 40px 60px 40px;
        height: 100vh;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        gap: 12px;
        align-items: center;
    }

    .hero-title {
        font-size: 80px;
        max-width: 400px;
    }

    .hero-subtitle {
        font-size: 18px;
        max-width: 400px;
    }

    .btn-primary {
        padding: 6px 10px;
        gap: 12px;
    }

    .btn-primary .btn-text {
        font-size: 12px;
    }

    /* INTRO Tablet */
    .intro-container {
        padding: 80px 40px;
        gap: 60px;
    }

    .intro-text-wrapper {
        max-width: 500px;
        gap: 15px;
    }

    .intro-title {
        font-size: 18px;
    }

    .intro-video-wrapper {
        max-width: 720px;
    }

    /* ABOUT Tablet */
    .section-about {
        padding: 80px 40px;
    }

    .about-content-wrapper {
        gap: 33px;
    }

    .about-header, .about-content {
        max-width: 500px;
    }

    .about-logo {
        width: 230px;
    }

    .about-title {
        font-size: 45px;
    }

    .about-subtitle {
        font-size: 18px;
    }

    /* TESTIMONIOS Tablet */
    .section-testimonial {
        min-height: 573px;
    }

    .testimonial-content {
        padding: 0 40px;
    }

    .testimonial-name {
        font-size: 24px;
    }

    .testimonial-role {
        font-size: 18px;
    }

    .section-voices {
        padding: 80px 0;
    }

    .carousel-btn {
        opacity: 0.85;
        pointer-events: auto;
    }

    .carousel-btn:hover,
    .carousel-btn:active {
        opacity: 1;
    }

    .voices-swiper {
        padding: 10px 0;
    }

    .voice-card { width: 367px; }
    .swiper-slide-active.voice-card { width: 525px; }

    /* TOOLKIT Tablet */
    .section-toolkit {
        padding: 50px 0;
    }

    .toolkit-container {
        padding: 0 40px;
        gap: 30px;
    }

    .toolkit-carousel-container {
        padding: 0 45px;
    }

    .toolkit-arrow-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* FUNDERS Tablet */
    .section-funders {
        padding: 40px 0;
    }

    .funders-logo-mdsca {
        width: 20%;
    }

    /* FOOTER Tablet */
    .footer-main-top {
        padding: 50px 0 40px;
    }

    .footer-main-container {
        flex-wrap: wrap;
        gap: 32px;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-logo-col {
        flex: 1 1 42%;
        max-width: 45%;
        order: 1;
    }

    .footer-info {
        flex: 1 1 42%;
        max-width: 45%;
        order: 2;
    }

    .footer-social {
        flex: 1 1 100%;
        max-width: 100%;
        order: 3;
        align-items: center;
        text-align: center;
    }

    .footer-social .social-icons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .social-link {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .footer-legal-bar {
        padding: 14px 0;
    }

    .footer-legal-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .footer-legal-links {
        gap: 20px;
    }

} /* fin @media max-width 1024px */

/* =========================================
   MEDIA QUERIES — MOBILE (≤480px)
   ========================================= */
@media (max-width: 480px) {
    .header-container {
        padding: 15px 20px;
    }

    .hamburger-menu {
        right: 20px;
    }

    .logo img {
        height: 32px;
        width: auto;
    }

    .hero {
        padding: 100px 20px 40px;
        height: auto;
        min-height: 483px;
        justify-content: flex-end;
    }

    .hero-title {
        font-size: 60px;
        max-width: 335px;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 18px;
        max-width: 335px;
    }

    /* INTRO Mobile */
    .intro-container {
        padding: 60px 20px 40px;
        gap: 40px;
    }

    .intro-text-wrapper {
        max-width: 335px;
    }

    .intro-video-wrapper {
        aspect-ratio: 16 / 9;
    }

    /* ABOUT Mobile */
    .section-about {
        padding: 80px 20px;
    }

    .about-content-wrapper {
        gap: 40px;
    }

    .about-logo {
        width: 134px;
    }

    .about-title {
        font-size: 45px;
    }

    .about-subtitle {
        font-size: 22px;
    }

    /* TESTIMONIAL Mobile */
    .section-testimonial-header {
        padding: 60px 20px 0;
    }
    .testimonial-header-title {
        font-size: 45px;
    }

    .section-testimonial {
        flex-direction: column;
        min-height: auto;
    }

    .testimonial-image {
        min-height: 300px;
        width: 100%;
        flex: 0 0 100%;
        order: 1;
    }

    .testimonial-content {
        padding: 60px 20px;
        flex: 0 0 100%;
        order: 2;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .testimonial-name {
        font-size: 28px;
    }

    .testimonial-role {
        font-size: 18px;
    }

    .testimonial-text {
        max-width: 100%;
    }

    /* VOCES Mobile */
    .section-voices {
        padding: 60px 0;
    }

    .voices-title {
        font-size: 22px;
    }

    .voice-card { width: 153px; }
    .swiper-slide-active.voice-card { width: 325px; }

    .voice-name {
        font-size: 18px;
    }

    /* TOOLKIT Mobile */
    .toolkit-container {
        padding: 0 20px;
    }

    .toolkit-carousel-container {
        padding: 0;
    }

    .toolkit-title {
        font-size: 45px;
    }

    .toolkit-subtitle {
        font-size: 18px;
    }

    /* Flechas toolkit */
    .toolkit-arrow-btn {
        display: none !important;
    }

    /* Menú MOBILE */
    .hamburger-menu {
        right: 0;
        left: 0;
        border-radius: 0 0 14px 14px;
        min-width: unset;
        width: 100%;
        padding: 28px 24px 32px;
    }

    .hamburger-nav-list {
        gap: 6px;
    }

    .hamburger-link {
        font-size: 16px;
        display: block;
        padding: 10px 8px;
        border-radius: 6px;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .hamburger-link:hover {
        background: rgba(0, 176, 185, 0.15);
        color: var(--color-fep);
    }

    /* FOOTER Mobile */
    .footer-main-top {
        padding: 40px 0 32px;
    }

    .footer-main-container {
        flex-direction: column;
        align-items: center;
        gap: 36px;
        width: 100%;
    }

    .footer-col {
        width: 100%;
        max-width: 100%;
        align-items: center;
        text-align: center;
        order: unset;
        flex: unset;
    }

    .footer-logo-col,
    .footer-info,
    .footer-social {
        max-width: 100%;
        flex: unset;
    }

    .footer-social .social-icons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-link {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .footer-legal-bar {
        padding: 14px 0;
    }

    .footer-legal-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .footer-legal-links {
        gap: 16px;
    }

}

@media (max-width: 760px) {
    .funders-logos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        padding: 0 5%;
    }

    .funders-logo-box {
        height: 80px;
    }

    .funders-logo {
        max-height: 55px;
    }
}

/* =========================================
   ANIMATIONS & EFFECTS
   ========================================= */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left.is-visible,
.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   TOOLKIT LIGHTBOX (MODAL)
   ========================================= */
.toolkit-lightbox {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.toolkit-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.toolkit-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}
.toolkit-lightbox-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 90%;
    max-height: 95vh;
    box-sizing: border-box;
    transform: scale(0.95) translateY(15px);
    transition: transform 0.5s cubic-bezier(0.34, 1.15, 0.64, 1);
}
.toolkit-lightbox.active .toolkit-lightbox-content {
    transform: scale(1) translateY(0);
}
.toolkit-lightbox-close {
    position: absolute;
    top: -40px; right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.2s;
}
.toolkit-lightbox-close:hover { transform: scale(1.1); }
#toolkit-lightbox-img {
    max-width: 100%;
    max-height: calc(95vh - 120px);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    object-fit: contain;
}

@media (max-width: 760px) {
    .toolkit-lightbox-content { gap: 10px; max-width: 94%; }
    #toolkit-lightbox-img { max-height: calc(90vh - 110px); }
    .toolkit-lightbox-close { right: 0; top: -35px; }
}

.color-accent {
    color: var(--color-fep);
}