body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f5efe6;
}

.main-header {
  position: relative;
  padding-left: 90px; /* espacio para el logo */
}
.logo-izquierda {
  position: absolute;
  top: 15px;
  left: 20px;
  height: 60px;
}

<style>

h1 {
  text-align: center;
  color: #6b3e26;
}

p {
  text-align: center;
}

.btn-unete {
  background-color: #7a4b2a;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-block;
}


.donacion-box {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.donacion-box h3 {
  color: #6b3e26;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background: #6b3e26;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

.btn:hover {
  background: #4a2d1f;
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
  color: #777;
}</style>

:root {
  --color-principal: #5a3e2b;
}

.header {
  background-color: var(--color-principal);
}

.logo {
  width: 80px;
}

nav a {
  color: white !important;        /* texto blanco */
  text-decoration: underline;     /* SIEMPRE subrayado */
  margin: 0 15px;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #5a3b2e;
}

.btn-donar {
  background: #f4a261;
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  margin-left: 10px;
  transition: all 0.3s ease;
}
.btn-donar:hover {
  background: #e76f51;
  transform: scale(1.05);
}

.btn-donar {
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* HERO */
.hero {
  background: url('hero.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3e2a1f;
  text-align: center;
}

.hero-text {
  background: rgba(255,255,255,0.85);
  padding: 30px;
  border-radius: 10px;
}

.btn {
  padding: 10px 20px;
  background: #6b3e26;
  color: white;
  margin: 5px;
  border-radius: 8px;
  text-decoration: none;
}

.btn2 {
  background: #d89b2b;
}

.nav-top {
  margin: 20px 40px;
  font-size: 14px;
}

.nav-top a {
  color: #7a4b2c;
  text-decoration: none;
  font-weight: bold;
}
.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
}
.impacto {
  margin-top: 0px;
  margin-bottom: 0px;
}
.impacto p {
  margin: 3px 0;
  font-size: 15px;
  color: #444;
}

.impacto h2 {
  color: #f5efe6;
}

.impacto p {
  color: #f5efe6;
}


.impacto h2 {
  color: white !important;
}

/* DONACIONES */
.donar {
  text-align: center;
  padding: 60px;
}

.donaciones div {
  display: inline-block;
  margin: 10px;
  padding: 15px;
  background: #fff;
  border-radius: 10px;
}

.idiomas button {
  background-color: rgba(255,255,255,0.2);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 15px;
  font-weight: bold;
  cursor: pointer;
}

.idiomas button {
  font-size: 18px;   /* tamaño más grande */
  padding: 8px 14px; /* más espacio */
  font-weight: bold;
}


.idiomas button:hover {
  background-color: rgba(255,255,255,0.4);
}

.idiomas {
  margin-top: 15px;
}

.lang-btn {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 20px;
  cursor: pointer;
}

.lang-btn:hover {
  background: white;
  color: #7a4b2a;
}

.impacto {
  text-align: center;
  padding: 80px 20px;
}

.impacto h2 {
  font-size: 32px;
  color: #4a2d1f;
}



.cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 30px;
  width: 250px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.card {
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
}

.card h3 {
  color: #6b3e26;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}


.seccion-proyectos {
  text-align: center;
}

.btn-proyectos {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 20px;
  background: #6b3e26;
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

.boton-centro {
  display: flex;
  justify-content: center;
}

.btn-proyectos {
  display: inline-block;
  margin: 20px auto;
  padding: 12px 25px;
}


/* .btn-proyectos {
  display: block;
  margin: 20px auto;
}*/


a.btn-donar:hover {
  transform: scale(1.05);
}


.donar {
  text-align: center;
  padding: 60px 20px;
  background: #f5f5f5;
}

.donar p {
  margin-bottom: 10px; 
}


.footer {
  background: #5a3e2b;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
}

.footer h3 {
  margin-bottom: 10px;
}

.footer p {
  margin: 5px 0;
}

a {
  cursor: pointer;
}

.lang-btn,
.btn,
.btn2,
.btn-donar {
  cursor: pointer;
}

button:hover,
a:hover {
  opacity: 0.8;
  transition: 0.3s;
}

.lang-btn {
  cursor: pointer !important;
  position: relative;
  z-index: 999;
}

.idiomas {
  position: relative;
  z-index: 999;
}

.lang-btn:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 24px;
  }
}

a.btn-donar {
  background-color: #e67e22 !important;
  color: white !important;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none !important;
  font-weight: bold;
  display: inline-block;
}

.header .lang-btn {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 20px;
}

.header .lang-btn:hover {
  background: white;
  color: #7a4b2a;}/* ===== BOTONES IDIOMA IGUALES EN TODA LA WEB ===== */


.lang-btn {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 3px 7px;
  font-size: 11px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* HOVER */
.lang-btn:hover {
  background: white;
  color: #7a4b2a;
}

/* ACTIVO */
.lang-btn.activo {
  background: white;
  color: #7a4b2a;
}


.header-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* 👈 separación entre elementos */
}

.header h1 {
  color: white;
  margin-bottom: 10px;
}

.idiomas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.idiomas button {
  background-color: white;
  color: #7a4b2a; /* ← esto faltaba */
  border: none;
  padding: 8px 12px;
  font-weight: bold;
  border-radius: 5px;
}

.btn-donar {
  background-color: #f4a261;
  color: white;
  padding: 8px 14px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
.bloque-ayuda {
  text-align: center;
  padding: 40px 20px;
}

.bloque-ayuda h2 {
  color: #7a4b2a;
  margin-bottom: 10px;
}

.bloque-ayuda h3 {
  margin: 20px 0;
}

.caja-don {
  background: #9c5c5c;
  color: #fce5b3;
  padding: 30px 20px;
  margin-top: 15px;
  border-radius: 5px;
}

.caja-don h4 {
  margin-bottom: 10px;
}


/* FORZAR HEADER CENTRADO */
.header.header-centrado .header-contenido {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* MENÚ CENTRADO */
.header.header-centrado .menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0;
}

/* BOTONES CENTRADOS */
.header.header-centrado .acciones {
  display: flex;
  justify-content: center;
}
.header {
  background: #7a4b2a;
  color: white;
  padding: 20px 0; /* 👈 más altura arriba y abajo */
}

/* BOTONES IDIOMA - FORZAR ESTILO GLOBAL */
.header .lang-btn,
.header-centrado .lang-btn {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 3px 7px;
  font-size: 11px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.header .lang-btn:hover,
.header-centrado .lang-btn:hover {
  background: white;
  color: #7a4b2a;
}

.lang-switch {
  text-align: center;
  margin-top: 10px;
}

.lang-switch button {
  margin: 5px;
  padding: 5px 10px;
  border: 1px solid white;
  background: transparent;
  color: white;
  border-radius: 15px;
  cursor: pointer;
}


.colaborar h2 {
  text-align: center;
  margin-bottom: 20px;
}

.colaborar h3 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 10px;
}


.colaborar h2 {
  border-bottom: 2px solid #7a4b2a;
  display: inline-block;
  padding-bottom: 5px;
}

.colaborar {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
  text-align: center; /* 👈 esto centra TODO */
}

.colaborar ul {
  text-align: left;
  display: inline-block;
}


.contacto {
  max-width: 800px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.contact-box {
  margin: 30px 0;
  line-height: 1.8;
}

.contact-box a {
  color: #7a4b2a;
  text-decoration: none;
  font-weight: bold;
}

.email-box {
  background-color: white;
  padding: 15px 25px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 10px;
}

.email-box a {
  color: #1a2ea6; /* azul tipo enlace */
  text-decoration: underline;
  font-weight: bold;
  font-size: 18px;
}

.qr-box img {
  width: 180px;
  margin-top: 15px;
}



.lang-btn.activo {
  background: white;
  color: #7a4b2a;
}
.header h1 {
  margin: 0;
}

/* Reducir espacio entre textos */
.bloque-ayuda h2 {
  margin-bottom: 8px;
}

.bloque-ayuda p {
  margin-bottom: 10px;
}

/* Reducir espacio antes de "Comment nous aider?" */
.bloque-ayuda h3 {
  margin: 15px 0 10px;
}

/* Caja roja (FAIRE UN DON) */
.caja-don {
  margin-top: 5px;
  margin-bottom: 1px;
  padding: 20px;
}
.caja-don {
  text-align: center;
  padding: 20px;
}

.caja-don h4 {
  font-size: 28px;
  letter-spacing: 1px;
  font-weight: bold;
}

/* Texto impacto (los 10€, 25€, 50€) */
.impacto {
  margin-top: 0px;
 padding-top: 10px
}

.impacto p {
  margin: 5px 0;
}
section {
  padding-top: 5px;
  padding-bottom: 5px;
}

.titulo-videos {
  text-align: center;
  margin: 40px 0 20px;
}

h2, h3, h4 {
  margin-top: 10px;
}

.bloque-con-imagenes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lightbox {
  display: none;
}


.videos-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 👈 4 en línea */
  gap: 15px;
  padding: 20px 40px;
}

.video-item {
  position: relative;
}

.video-thumb {
  width: 100%;
  height: 200px; /* 👈 igual que fotos */
  object-fit: cover;
  border-radius: 10px;
}

/* icono play */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 10px 15px;
  border-radius: 50%;
}

/* lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.galeria-impacto img {
  cursor: pointer;
  transition: transform 0.3s;
}

.galeria-impacto img:hover {
  transform: scale(1.03);
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
  color: #ddd;
}


.cerrar-img {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.video-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#videoGrande {
  max-width: 90%;
  max-height: 80%;
  z-index: 1;
}

.cerrar-video {
  position: absolute;
  top: -40px;   /* 👈 fuera del video */
  right: 0;
  font-size: 35px;
  color: white;
  cursor: pointer;
  z-index: 9999;
}


#videoBox {
  display: none;
  position: fixed;
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.video-thumb {
  cursor: pointer;
}

.play-icon {
  pointer-events: none;
  font-size: 30px;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 10px 15px;
  border-radius: 50%;
}
.cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .videos-mini {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-thumb {
    height: 140px;
  }
}

.lado {
  flex: 1;
  text-align: center;
}

.lado img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
}

.contenido {
  flex: 2;
  text-align: center;
}


.sobre-nosotros h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.sobre-nosotros p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}


.sobre-nosotros h1 {
  font-size: 38px;
  margin-bottom: 30px;
}

.intro p {
  font-size: 20px;
  margin-bottom: 10px;
}

.bloque-valores {
  margin-top: 40px;
}

.bloque-valores h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.bloque-valores ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.bloque-valores li {
  margin: 8px 0;
  font-size: 18px;
}

.frase-final {
  margin-top: 10px;
  font-style: italic;
  font-size: 30px;
}


.bloque {
  margin-bottom: 40px;
}

.frase {
  font-style: italic;
  margin-top: 10px;
}

h2 {
  margin-bottom: 10px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 5px 0;
}

.sobre-nosotros {
  background-image: url("puente.jpg");
}

.sobre-nosotros {
  position: relative;
  width: 100%;
  height: calc(100vh - 120px); /* ajusta según altura del header */
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.sobre-nosotros {
  background-image: url("puente.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 100vh;
  width: 100%;
}

/* Texto encima */
.sobre-nosotros .overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 40px;
  color: white;
}
.sobre-nosotros h1,
.sobre-nosotros h2 {
  text-align: center;
  width: 100%;
}

.sobre-nosotros p,
.sobre-nosotros ul {
  max-width: 800px;
  margin: 0 auto;
}


.titulo-principal {
  text-align: center;
  font-size: 64px;
  font-weight: 800;
  color: #4a2d18;

  text-shadow: 
    2px 2px 0px rgba(0,0,0,0.3),
    4px 4px 10px rgba(0,0,0,0.4);

  letter-spacing: 1px;
}

.donar::before {
  background: rgba(90, 60, 30, 0.3);
}

.sobre-nosotros * {20:44 14/04/2026
  position: relative;
  z-index: 2;
  color: white;
}

footer,
.footer-bottom {
  background-color: #7a4b2a;
  color: white;
}

.qr-box {
  margin-top: 30px;
  text-align: center;
}

.qr-box img {
  width: 180px;
}

@media (max-height: 500px) {

  .sobre-nosotros {
    height: auto !important;
    min-height: auto !important;
  }

}  

@media (max-width: 768px) and (orientation: portrait) {

  .sobre-nosotros {
    min-height: 100dvh;
    height: auto;
    padding: 40px 15px;
  }

}


@media (max-width: 768px) and (orientation: landscape) {

  .titulo-principal {
    font-size: 28px;
  }

  .subtitulo {
    font-size: 16px;
  }

  .sobre-nosotros p {
    font-size: 14px;
  }

}

  .subtitulo {
    font-size: 18px;
    text-align: center;
    padding: 0 10px;
  }

  .sobre-nosotros p {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 10px;
  }

  .sobre-nosotros ul {
    text-align: center;
    padding-left: 0;
    list-style-position: inside;
  }

}


@media (max-width: 768px) and (orientation: landscape) {

  .sobre-nosotros {
    height: auto !important;
    min-height: auto !important;
    padding: 20px 15px;
  }

}

/* HERO */
.hero-proyecto {
  background: url("puente.jpg") center/cover no-repeat;
  height: 60vh;
  position: relative;
}

.overlay {
  background: rgba(0, 0, 0, 0.25); /* ← CLAVE (antes 0.5) */
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}
/* CONTENIDO */
.projet-phare {
  padding: 60px 20px;
  background: #f5efe6;
  text-align: center;
}

.container {
  max-width: 1000px;
  margin: auto;
}

.intro {
  margin-bottom: 40px;
}

/* PILARES */
.piliers {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.pilier {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* VISIÓN */
.vision {
  margin-top: 40px;
}

/* IMPACTO */
.impacto {
  background: #6b3e26;
  color: white;
  padding: 40px 20px;
}

.impacto-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

}.impacto {
  background: #6b3e26;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.impacto-item h3 {
  color: white;
  font-size: 32px;
  margin-bottom: 10px;
}

.impacto-item p {
  color: #ffffff; /* ← CLAVE */
  font-size: 16px;
  opacity: 0.9;   /* opcional para suavizar */
}

/* COLABORAR */
.colaborar {
  text-align: center;
  padding: 60px 20px;
}

.colaborar-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

/* BOTÓN */
.btn {
  background: #e48a2c;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}


.hero-proyecto {
  background: url("puente.jpg") center/cover no-repeat;
  height: 60vh;
  filter: brightness(1.1);
}

.overlay {
  background: rgba(0,0,0,0.15);
}
.proyecto {
  background: #f2ebe3;
  padding: 50px 20px;
  text-align: center;
}

.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.verde { color: #4CAF50; }
.naranja { color: #f28c28; }
.azul { color: #3b6e8c; }
.rojo { color: #d9534f; }

.vision {
  background: #e6d8c9;
  margin-top: 30px;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.impacto {
  background: #6b3e26;
  color: white;
  padding: 40px 20px;
}

.impacto-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.galeria-impacto {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 30px 40px;
  background: #f5efe6;
}

.galeria-impacto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.galeria-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 30px 40px;
  background: #f5efe6;
}

.galeria-videos video {
  width: 100%;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .galeria-videos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .galeria-impacto {
    grid-template-columns: 1fr;
  }
}

.colaborar {
  padding: 50px 20px;
  text-align: center;
}

.colaborar-cards {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.small {
  width: 220px;
}

.btn {
  background: #f28c28;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}


.email-destacado {
  display: inline-block;
  background: white;
  padding: 10px 20px;
  border-radius: 8px;
  margin-top: 15px;
}

.email-destacado a {
  color: #1a2ea6;
  font-weight: bold;
  text-decoration: underline;
}

.mapa {
  padding: 40px;
  text-align: center;
}
