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

@font-face {
  font-family: 'neulis alt medium';
  src: url('../fonts/neulis-alt-medium.woff2') format('woff2'),
       url('../fonts/neulis-alt-medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'neulis alt medium', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  
}


header {
  background: linear-gradient(135deg, #ff914d, #ff4e00);
  padding: 10px 0 0px; 
  position: relative;
  text-align: center;
  overflow: visible;
  z-index: 2;
}


header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.15);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 1;
}

header::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 100%, 0 0, 100% 100%);
  z-index: 1;
}


header img.logo-header {
  max-height: 180px;
  width: auto;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.4s ease;
}

header img.logo-header:hover {
  transform: scale(1.05) rotate(-2deg);
}


/* --- HEADER --- */
header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* === AJUSTES HEADER RESPONSIVE === */
@media (max-width: 900px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    text-align: center;
    position: relative;
  }

  .header-contenido {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .header-logo img {
    width: 90px; /* se ajusta el tamaño del logo */
    height: auto;
  }

  .texto-header h1 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin: 6px 0 0;
  }

  .texto-header p {
    font-size: 0.9rem;
    margin: 0;
  }

  /* evita que nada se desplace horizontalmente */
  body, html {
    overflow-x: hidden;
  }
}


/* NAVBAR */
.menu-bar {
  background: linear-gradient(90deg, #ff6600, #ff8533); /* degradado */
  padding: 12px 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* sombra debajo */
  position: sticky;
  top: 0;
  z-index: 1000;
  border-radius: 0 0 12px 12px;
}

.menu-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Links */
.menu-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
  flex-wrap: wrap;
}

.menu-links li {
  position: relative;
}

.menu-links a {
  display: block;
  padding: 12px 18px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.menu-links a:hover {
  background: rgba(255,255,255,0.2); /* efecto glass */
  color: #fff;
}

/* Submenus */
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  padding: 10px 0;
  display: none;
  min-width: 180px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.submenu li a {
  color: #333;
  padding: 10px 20px;
  display: block;
  white-space: nowrap;
  font-weight: 500;
  transition: background 0.2s ease;
}

.submenu li a:hover {
  background: #ff8533;
  color: #fff;
}

@media (min-width: 768px) {
  .menu-links li:hover > .submenu {
    display: block;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Activo en móvil */
.menu-links li.open > .submenu {
  display: block;
  opacity: 1;
  transform: translate(-50%, 0);
}


/* === MENU HAMBURGUESA === */

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 35px;
  height: 30px;
  z-index: 2001; /* Asegura que quede por encima del menú */
}

.menu-toggle span {
  position: relative;
  display: block;
  width: 100%;
  height: 3px;
  margin: 4px 0;
  background: #000; /* negro para que se vea sobre fondo claro */
  border-radius: 3px;
  transition: all 0.35s ease-in-out;
}

/* 🔥 Animación a "X" */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Menú por defecto (desktop) */
.menu-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .menu-links {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) scaleY(0.9);
    transform-origin: top center;
    width: 90%;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    z-index: 2000;

    /* 🌙 Fondo translúcido y efecto vidrio */
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(6px);

    /* 🎬 Animación suave */
    opacity: 0;
    transition:
      transform 0.45s cubic-bezier(0.25, 1.25, 0.5, 1),
      opacity 0.4s ease,
      max-height 0.45s ease;
  }

  .menu-links.active {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
    max-height: 90vh;
    overflow-y: auto;
  }

  .menu-links li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .menu-links li a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.25s, color 0.25s, transform 0.25s;
  }

  .menu-links li a:hover {
    background: #ff6600;
    color: #fff;
    transform: scale(1.03);
  }
}
 
.submenu-arrow {
  margin-left: 6px;
  cursor: pointer;
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.submenu-arrow.active {
  transform: rotate(180deg);
}

.submenu {
  display: none;
}
.submenu.active {
  display: block;
}


/*BANNER*/
header {
  position: relative; /* Necesario para los triángulos */
  background: linear-gradient(135deg, #ff914d, #ff4e00);
  padding: 20px 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* evita que sobresalgan */
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.12);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.08);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}


.header-contenido {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
}

.logo-header {
  max-height: 120px;
  width: auto;
}

.texto-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
}

.texto-header p {
  font-size: 1.2rem;
  margin: 5px 0 0;
}





/* --- FOOTER --- */

footer {
  background-color: #000000;
  color: white;
  padding: 2rem 3rem;
  font-family: 'neulis alt medium';
  font-size: 0.95rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  overflow-x: hidden; /* evita desbordes en móviles */
}

/* Contenedor principal */
footer > .redes-info-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto; /* centra el contenido en pantallas grandes */
}

/* Redes sociales */
.redes-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: left;
}

.texto-redes {
  margin-right: 1rem;
  font-weight: 500;
  white-space: nowrap;
}

.redes {
  display: flex;
  gap: 1rem;
}

.icono-red {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s;
  cursor: pointer;
}

.icono-red:hover {
  transform: scale(1.2);
  filter: brightness(0.7) invert(1);
}

/* Info de contacto */
.footer-info {
  max-width: 400px;
  text-align: right;
  line-height: 1.4;
  flex-shrink: 0;
}

/* Parte legal */
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2rem;
  line-height: 1.6;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 0.3rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  footer {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  footer > .redes-info-container {
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
  }

  .redes-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
  }

  .texto-redes {
    margin: 0;
    font-size: 1rem;
  }

  .redes {
    justify-content: center;
  }

  .footer-info {
    text-align: center;
    max-width: 100%;
    font-size: 0.9rem;
  }

  .footer-legal {
    font-size: 0.8rem;
  }
}

/* ANIMACIONES */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* OLA */
.wave-container {
  position: relative;
  width: 100%;
  line-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.wave {
  display: block;
  width: 100%;
  height: 90px;
  transform: translateY(2px);
  margin: 0;
  padding: 0;
  pointer-events: none;
}

@media (max-width: 600px) {
  .wave {
    height: 60px; /* más compacta en pantallas chicas */
  }
}





/* Body centrado con flexbox */
body {
  background-color: #f5f5f5;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  display: block; 

}




/*TARJETAS*/

.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  font-size: 40px;
  color: #ff6600;
  margin-bottom: 15px;
}


/*CALENDARIO*/

/* Sidebar del calendario */
.calendar {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  overflow: hidden;
  margin: 0 auto;
}

.calendar-header {
  background: #ff6b35;
  color: white;
  text-align: center;
  padding: 12px;
  font-weight: bold;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-header button {
  background: white;
  color: #ff6b35;
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-weight: bold;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 10px;
}

.day-name {
  font-size: 12px;
  text-align: center;
  font-weight: bold;
  color: #777;
}

.calendar-day {
  padding: 14px 0;
  text-align: center;
  border-radius: 8px;
  position: relative;
}

.calendar-day.has-event {
  background: #fff7f4;
  border: 1px solid #ff6b35;
  cursor: pointer;
}

.calendar-day.has-event:hover {
  background: #ffe1d4;
}

/* Tooltip */
.tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 10;
}

.calendar-day.has-event:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 10px;
}

.event-list {
  margin-top: 15px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.event-list h4 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #e65a2c;
  text-align: center;
}

.event-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-list li {
  font-size: 14px;
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
}

.event-list li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .calendar {
    display: none;
  }
}


/* Pantalla Splash superpuesta*/
/* Splash Screen */
#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(-45deg, #ffb37a, #fca76a, #f78b6d, #fcb17e);
  background-size: 400% 400%;
  animation: gradientMove 8s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}

.splash-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.splash-content p {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
  .splash-content h1 {
    font-size: 1.5rem;
  }
  .splash-content p {
    font-size: 0.9rem;
  }
}

/* Ocultar splash */
#splash.hide {
  opacity: 0;
  pointer-events: none;
}


/* INICIO */
.presentacion {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.card-presentacion {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card-presentacion h2 {
  font-size: 26px;
  color: #333;
  margin-bottom: 10px;
}

.divider {
  width: 60px;
  height: 3px;
  background: #e65c00;
  margin: 0 auto 20px;
}

.card-presentacion p {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  background: #e65c00;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #cc5200;
}


/* CARDS FLIP  */
/* --- Contenedor de las cards --- */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin: 0 auto;
  max-width: 1100px;
}

/* --- Card flip --- */
.flip-card {
  background: transparent;
  width: 260px;
  height: 280px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

/* --- Front & Back --- */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.flip-card-front {
  background: #fff;
  color: #2c2c2c;
}

.flip-card-front i {
  font-size: 2.5rem;
  color: #f45c0c;
  margin-bottom: 1rem;
}

.flip-card-front h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.flip-card-front p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.flip-card-back {
  background: linear-gradient(135deg, #f45c0c, #f98e42);
  color: #fff;
  transform: rotateY(180deg);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .flip-card {
    width: 230px;
    height: 260px;
  }
  .flip-card-front p,
  .flip-card-back {
    font-size: 0.9rem;
  }
  .flip-card-front i {
    font-size: 2rem;
  }
}


/* --- APORTE VOLUNTARIO --- */
.aportes-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 35px 30px;
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aportes-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.aportes-card .icono-aporte {
  font-size: 3rem;
  color: #f37021;
  margin-bottom: 15px;
}

.aportes-card h3 {
  color: #f37021;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.aportes-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-aporte {
  display: inline-block;
  background: #f37021;
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(243, 112, 33, 0.25);
}

.btn-aporte:hover {
  background: #007bbf;
  box-shadow: 0 6px 16px rgba(0, 123, 191, 0.35);
  transform: translateY(-3px);
}

.aportes-card .vigencia {
  font-size: 0.9rem;
  color: #666;
  margin-top: 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .aportes-card {
    padding: 25px 20px;
    margin: 25px 15px;
  }

  .aportes-card h3 {
    font-size: 1.4rem;
  }

  .aportes-card p {
    font-size: 0.95rem;
  }

  .btn-aporte {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
  }

  .aportes-card .icono-aporte {
    font-size: 2.5rem;
  }
}



/* Banner pag volunt */

.banner {
  background: url("../img/voluntarioo.jpg") no-repeat center center/cover;
  height: 350px; /* un poco más chico */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: #fff;
}

.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* oscurece la imagen para que resalte el texto */
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}


.btn-unirme {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff6600;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-unirme:hover {
  background-color: #e65c00;
}


/* Tarjeta */


/* --- SECCIÓN VOLUNTARIOS --- */
.voluntarios {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff; /* fondo blanco limpio */
}

.voluntarios h2 {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 40px;
  position: relative;
}



.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card .icon {
  font-size: 2.5rem;
  color: #ff6600;
  margin-bottom: 15px;
  display: block;
}

.card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}


.separador-voluntariado {
  height: 80px;
  background: linear-gradient(to bottom right, #f5f5f5 50%, #ffffff 50%);
}

.separador.linea {
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #e0e0e0, #f7f7f7);
}


/* IMPACTO CONTADOR */
.impacto {
    text-align: center;
    margin: 70px auto;
}

.impacto h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #020202;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contador {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.card-contador {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-contador:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-contador i {
    font-size: 36px;
    color: #ff6600;
    margin-bottom: 10px;
}

.card-contador h3 {
    font-size: 40px;
    margin: 0;
    color: #ff6600;
    font-weight: bold;
}

.card-contador p {
    font-size: 15px;
    margin-top: 5px;
    color: #444;
}

/* TESTIMONIO */
.testimonio {
    max-width: 750px;
    margin: 60px auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    position: relative;
    text-align: center;
}

.comillas {
    font-size: 60px;
    color: #ff6600;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.4;
}

.comillas.cierre {
    bottom: 10px;
    right: 20px;
    top: auto;
    left: auto;
}

.texto-testimonio {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin: 20px 0;
}

.autor-testimonio {
    font-weight: bold;
    color: #555;
    font-size: 16px;
    margin-top: 15px;
}

#testimonios h2 {
  border: none !important;
  box-shadow: none !important;
}


/* Sección Voluntariado */
.voluntariado {
  background: #fff7f3;
  padding: 60px 20px;
  text-align: center;
}

.voluntariado h2 {
  font-size: 2.2rem;
  color: #e85a0c;
  margin-bottom: 15px;
}

.voluntariado .intro {
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.vol-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.vol-cards .card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vol-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.vol-cards .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.vol-cards h3 {
  color: #e85a0c;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.vol-cards p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.btn-voluntario {
  display: inline-block;
  background: #e85a0c;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-voluntario:hover {
  background: #cf4e0a;
}







/*HISTORIA LINEA*/
.historia {
  text-align: center;
  padding: 50px 20px;
}

/* Estilo general para títulos de sección */
section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #000000; /* Color institucional */
  display: inline-block;     
  border-bottom: 3px solid #ff9800; /* Línea decorativa */
  padding-bottom: 5px;       
}


.historia .intro {
  font-size: 1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1100px;
  margin: auto;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: #ff6600; /* Naranja en la línea */
}

.evento {
  position: relative;
  width: 45%;
  padding: 20px;
}

.evento .contenido {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.evento img {
  width: 75%;   /* un poco más chica */
  border-radius: 10px;
  margin-bottom: 15px;
}

/* círculo */
.evento::before {
  content: "";
  position: absolute;
  top: 40px;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 3px solid #ff6600; /* Naranja */
  border-radius: 50%;
  z-index: 1;
}

/* Izquierda */
.evento.left {
  left: 0;
}
.evento.left::before {
  right: -11px;
}

/* Derecha */
.evento.right {
  left: 55%;
}
.evento.right::before {
  left: -11px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .evento {
    width: 100%;
    left: 0 !important;
    margin-bottom: 40px;
    padding-left: 50px; /* espacio para la línea */
  }

  .timeline::before {
    left: 20px; /* la línea va a la izquierda */
  }

  .evento::before {
    left: 10px; /* círculo alineado a la línea */
    right: auto;
  }
}

/* cards team  */
/* SECCIÓN EQUIPO */
.nuestro-equipo {
  text-align: center;
  padding: 50px 20px;
}

.nuestro-equipo h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #000000; /* Color institucional */
  display: inline-block;     /* 👈 necesario para que la línea se ajuste al texto */
  border-bottom: 3px solid #ff9800; /* 👈 subrayado con color institucional */
  padding-bottom: 5px;       /* separación entre texto y línea */
}


.nuestro-equipo .descripcion {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* GRID TARJETAS */
.team-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* TARJETAS */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* FOTO */
.card img {
  width: 100%;
  height: 300px;           /* altura uniforme */
  object-fit: cover;       /* recorta de forma elegante sin deformar */
  border-radius: 8px;      /* bordes suaves que combinan con las cards */
  display: block;
  margin: 0 auto 15px auto;
}


/* NOMBRE */
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}

/* ROL */
.card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ff6600;
}

/* DESCRIPCIÓN */
.card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .team-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-container {
    grid-template-columns: 1fr;
  }
}





/* --- ESTRUCTURA PRINCIPAL --- */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.layout {
  display: grid;
  grid-template-columns: 1.2fr 320px; /* ✅ contenido un poco más ancho y centrado */
  gap: 50px; /* ✅ más espacio entre columnas */
  align-items: start;
  padding: 30px 60px; /* ✅ leve sangría interna a los costados */
  margin: 0 auto;
  max-width: 1500px; /* ✅ centrado general */
  box-sizing: border-box;
}


/* --- LATERAL DERECHO NORMAL --- */
.sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.sidebar-right .img-lateral {
  width: 320px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: block;
}

.sidebar-right .calendar-container,
.sidebar-right .aportes-card {
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .sidebar-right .img-lateral {
    display: none;
  }
}

/* --- CONTENIDO CENTRAL --- */
.contenido-central {
  width: 100%;
  box-sizing: border-box;
}

/* --- RESPONSIVE --- */
@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 1fr;
    margin: 0 auto;
    padding: 20px;
  }

  .sidebar-left {
    position: static;
    width: 100%;
    align-items: center;
  }

  .sidebar-left .img-lateral {
    width: 140px;
  }

  .sidebar-right {
    align-items: center;
  }

  .sidebar-right .img-lateral {
    width: 100%;
    max-width: 480px;
  }

  .sidebar-right .calendar-container,
  .sidebar-right .aportes-card {
    max-width: 100%;
  }
}



/* QUIENES SOMOS */

.banner-nosotros {
  position: relative;
  width: 100%;
  height: 70vh;
  background: url('../img/foto2.jpeg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}


/* Oscurecer ligeramente la imagen para mejorar la lectura */
.overlay-oscuro {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.contenido-nosotros {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.contenido-nosotros h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  

  color: #f8eeee;
  text-shadow: 2px 2px 5px rgba(175, 135, 94, 0.9);
}


.contenido-nosotros p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subsecciones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.subsecciones div {
  flex: 1 1 250px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 12px;
  backdrop-filter: blur(3px);
}

.subsecciones h3 {
  color: #ff7b00;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.subsecciones p {
  font-size: 1rem;
  color: #f9f9f9;
}

/* --- Ajuste solo para pantallas chicas (celulares) --- */
@media (max-width: 768px) {
  .sobre-nosotros {
    background-size: contain; /* muestra toda la imagen */
    background-position: top;
    background-color: #000; /* opcional, para relleno si sobran márgenes */
  }

  .sobre-nosotros::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* oscurece un poco para leer texto */
    z-index: 0;
  }

  .sobre-nosotros * {
    position: relative;
    z-index: 1;
  }
}





.historia-resumen {
  max-width: 900px;
  margin: 60px auto 80px;
  text-align: justify;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #333;
  background: #fff;
  padding: 40px 50px;
  border-left: 5px solid #ff7a00;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.historia-resumen h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ff7a00;
}


/* recursos */


/* 🎨 Estilos sección recursos */
.recursos {
  padding: 50px 20px;
  background: #f9f9f9;
  text-align: center;
}

.recursos-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.recursos-sub {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1rem;
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.recurso-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.recurso-card:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 2.5rem;
  color: #000; /* negro elegante */
  margin-bottom: 15px;
}

.recurso-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}

.recurso-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.4;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: #ff7b00; /* naranja corporativo */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e76a00;
}


/* EVENTOS  */


#eventos {
  text-align: center;
  margin: 80px 0;
}

.eventos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.evento-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s;
}

.evento-card:hover {
  transform: translateY(-5px);
}

.evento-card .fecha {
  display: inline-block;
  background: #e63946;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.evento-card h3 {
  color: #222;
  margin-bottom: 10px;
}

.btn-evento {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #ff6b6b;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn-evento:hover {
  background: #d62828;
}




/* Accesos rápidos */
.accesos-rapidos {
  text-align: center;
  margin: 3rem auto;
  max-width: 1000px;
}

.accesos-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.acceso-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  width: 180px;
  transition: transform 0.2s ease;
}

.acceso-card i {
  font-size: 2rem;
  color: #ff6600;
  margin-bottom: 0.5rem;
}

.acceso-card:hover {
  transform: translateY(-5px);
}
.accesos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.acceso-card {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  color: inherit; /* para mantener el color del texto */
  text-decoration: none; /* sacar subrayado */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Efecto hover (cuando pasas el mouse en PC) */
.acceso-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Efecto click/tap (como que se hunde) */
.acceso-card:active {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}



/* --- Sección Próximas Actividades --- */

.proximas-actividades {
  text-align: center;
  margin-top: 40px;
}

.proximas-actividades h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 25px;
}

.actividades-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  align-items: stretch; /* 🔹 hace que todas las tarjetas tengan la misma altura */
}

.actividad-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px 25px;
  width: 270px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 5px solid #F37021;
  display: flex;              /* 🔹 estructura flexible */
  flex-direction: column;     /* 🔹 ordena el contenido en columna */
  justify-content: space-between; /* 🔹 mantiene equilibrio vertical */
}

.actividad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.actividad-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #F37021;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.actividad-card h3 i {
  color: #F37021;
  font-size: 1rem;
}

.actividad-card p {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 10px;
  flex-grow: 1; /* 🔹 permite que el texto empuje y mantenga altura pareja */
}

.actividad-card span {
  display: inline-block;
  background-color: #fff3e8;
  color: #F37021;
  font-weight: 600;
  border-radius: 8px;
  padding: 4px 10px;
  margin-top: 5px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .accesos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }

  .acceso-card {
    width: 100%;
    padding: 1rem;
  }

  .acceso-card i {
    font-size: 1.6rem;
  }

  .acceso-card h3 {
    font-size: 0.95rem;
  }
}

/* 💻 Ajustes específicos para Netbooks y Notebooks */
@media screen and (min-width: 1280px) and (max-width: 1600px) {
  .accesos-rapidos {
    max-width: 1100px;   /* un poco más ancho que en mobile */
    margin: 2.5rem auto;
    padding: 0 1rem;
  }

  .accesos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas parejas */
    gap: 1.5rem;
    justify-content: center;
  }

  .acceso-card {
    width: 100%; 
    max-width: 260px; /* asegura que no se estire de más */
    padding: 1.5rem;
    text-align: center;
  }

  .acceso-card i {
    font-size: 2rem;
  }

  .acceso-card h3 {
    font-size: 1.05rem;
  }
}


/* ---------- Banner principal med ---------- */
/* --- BANNER PRINCIPAL --- */
.banner-principal {
  position: relative;
  width: 100%;
  height: 70vh; /* más bajo que antes */
  background: url('../img/bannerprob.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* Efecto "glass naranja" */
.glass-overlay {
  position: absolute;
  inset: 0;
  background: rgba(253, 110, 15, 0.25); /* tono naranja suave */
  backdrop-filter: brightness(0.8) blur(2px); /* oscurece un poco la imagen */
  z-index: 1;
}

.banner-contenido {
  position: relative;
  z-index: 2;
  max-width: 90%;
}

.banner-contenido h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.banner-contenido p {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 25px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.banner-botones {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- Botones con estilo elegante --- */
.btn-banner {
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Botón Unirse */
.btn-banner.unirse {
  background: #ff7b00;
  color: #fff;
  border: 2px solid transparent;
}

.btn-banner.unirse:hover {
  background: #ff944d;
  transform: scale(1.05);
}

/* Botón Ayuda */
.btn-banner.ayuda {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn-banner.ayuda:hover {
  background: #fff;
  color: #ff7b00;
  transform: scale(1.05);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .banner-principal {
    height: 55vh;
  }

  .banner-contenido h1 {
    font-size: 2.2rem;
  }

  .banner-contenido p {
    font-size: 1.1rem;
  }

  .btn-banner {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}


/* === SECCIÓN GENERAL FORM === */
.seccion-formulario {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1rem 1.5rem;
}

/* === ENCABEZADO === */
.encabezado-form {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, #b8e1ff, rgb(248, 243, 241));
  padding: 2.2rem 1.5rem 3rem;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  max-width: 780px;
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
}

.iconos-corazones {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.contenido-encabezado h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f3c58;
  margin-bottom: 0.5rem;
}

.contenido-encabezado p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1f3c58;
  max-width: 580px;
  margin: 0 auto;
}

/* === CURVA SUAVE INFERIOR === */
.curva-inferior {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 35px;
  background: #fff;
  border-top-left-radius: 100% 35px;
  border-top-right-radius: 100% 35px;
}

/* === CONTENEDOR DEL FORMULARIO === */
.contenedor-formulario {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 1.2rem;
  max-width: 780px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contenedor-formulario:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .encabezado-form {
    padding: 1.8rem 1rem 2.5rem;
  }

  .contenido-encabezado h2 {
    font-size: 1.5rem;
  }

  .contenido-encabezado p {
    font-size: 0.9rem;
  }

  .contenedor-formulario {
    padding: 1rem;
  }

  .contenedor-formulario iframe {
    height: 550px;
  }

  .curva-inferior {
    height: 28px;
  }
}



/* ===== ÚLTIMAS PUBLICACIONES ===== */

.redes-section {
  background: #fcf8f8;
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}

/* Eliminamos la línea naranja */
.section-title::after {
  display: none;
}

.redes-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.red-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.red-card:nth-child(2) {
  animation-delay: 0.2s;
}

.red-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.red-content {
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.red-content h3 {
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.red-content h3 i {
  margin-right: 6px;
}

/* Colores específicos */
.red-content h3 i.fa-instagram,
.red-content h3:has(.fa-instagram) {
  color: #e1306c;
}

.red-content h3 i.fa-facebook,
.red-content h3:has(.fa-facebook) {
  color: #1877f2;
}

/* Párrafo más ordenado */
.red-content p {
  color: #333;
  font-size: 0.95rem;
  margin: 10px 0 20px;
  line-height: 1.6;
  text-align: justify;
  max-width: 280px;
}

/* Botones centrados */
.red-btn {
  display: inline-block;
  background: #e1306c;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s ease;
}

.red-btn.fb {
  background: #1877f2;
}

.red-btn:hover {
  background: #b8255a;
}

.red-btn.fb:hover {
  background: #125fd1;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .redes-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .red-card {
    width: 90%;
    max-width: 400px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .red-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
  }

  .red-content {
    padding: 18px 20px 25px;
    text-align: center;
  }

  .red-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .red-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 15px;
  }

  .red-btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 12px 0;
    border-radius: 25px;
  }
}





section.grupos,
.grupos,
.grupos .card,
.grupo-card {
  background: transparent !important;
  box-shadow: none !important;
}

 /* actividades part*/
/* Sección general */
.actividades {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.actividades h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-left: 18px;
}


.actividades .subtitulo {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

/* === NUEVA GRID FLEXIBLE === */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

/* === CARD === */
.card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 340px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-icon {
  font-size: 2.5rem;
  background: #ff7b00;
  color: #fff;
  border-radius: 50%;
  padding: 15px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 10px;
}

.card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.card button {
  background: #ff7b00;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.card button:hover {
  background: #ff9c42;
}

.actividades {
  padding: 60px 20px;
  background: #fafafa;
  text-align: center;
}

.actividades h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

/* Grid horizontal y adaptable */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
}

/* Card individual */
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 25px 20px;
  max-width: 320px;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Ícono */
.card-icon {
  font-size: 40px;
  background: #ff7b00;
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* Texto */
.card h3 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Botón */
.btn-vermas {
  display: inline-block;
  background: #ff7b00;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-vermas:hover {
  background: #ff9c42;
}


/* === RESPONSIVE === */
@media (max-width: 900px) {
  .cards-grid {
    flex-direction: row;
    justify-content: center;
  }

  .card {
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .cards-grid {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }
}

 /* testimonios  */
.testimonios {
  background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
  text-align: center;
  padding: 80px 20px;
}

.testimonios .contenedor {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonios h2 {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.decoracion {
  color: #ff7a00;
  opacity: 0.4;
  font-size: 2.5rem;
}

.subtitulo {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
}

.testimonios-contenedor {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.testimonio-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.8rem;
  width: 320px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
}

.testimonio-card::before {
  content: "“";
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 2rem;
  color: #ff7a00;
  opacity: 0.7;
}

.testimonio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonio-card .texto {
  color: #333;
  font-style: italic;
  margin-top: 15px;
}

.testimonio-card .autor {
  margin-top: 15px;
  font-weight: bold;
  color: #222;
  text-align: right;
}

.frase-central {
  font-size: 1.6rem;
  font-style: italic;
  color: #ff7a00;
  margin: 3rem 0 1.2rem;
  font-weight: 600;
}

.invitacion {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.boton-testimonio {
  background-color: #ff7a00;
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.boton-testimonio:hover {
  background-color: #e96d00;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.4);
}

.nota {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #777;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .testimonios-contenedor {
    flex-direction: column;
    align-items: center;
  }
  .testimonio-card {
    width: 90%;
  }
}



/* ==== SECCIÓN DIA Y NUM DE URGENCIAS ==== */

/* 🎨 Estilos Prevención */
.prevencion {
  padding: 40px 20px;
  background: rgb(250, 247, 246); 
  text-align: center;
}

.prevencion-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #222;
  font-weight: bold;
}

.prevencion-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  max-width: 350px;
  flex: 1 1 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #000; /* Íconos negros */
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #444;
}

.card p {
  margin: 8px 0;
  font-size: 1rem;
  color: #555;
}

.slogan {
  margin-top: 15px;
  font-style: italic;
  color: #d17a00;
  font-weight: bold;
}

/* ✅ Ajustes Responsive */
@media (max-width: 768px) {
  .prevencion-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 90%; /* que no ocupe todo el ancho en móvil */
  }
}



/* ======= ESTILO GENERA CHARLASL ======= */
body {
  margin: 0;
  background: #f9f9f9;
  color: #333;
}

/* ======= ENCABEZADO ======= */
.header {
  background: linear-gradient(100deg, #fff 65%, #ffffff 35%);
  color: #222;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  gap: 40px;
}

.header h1 {
  font-size: 2.4em;
  color: #ff6600;
  margin-bottom: 10px;
  font-weight: 700;
}

.header p {
  font-size: 1.05em;
  color: #444;
  max-width: 500px;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    background: linear-gradient(180deg, #fff 60%, #ff6600 40%);
  }
}



/* ======= SECCIÓN PRINCIPAL ======= */
.charlas-section {
  padding: 60px 10%;
}

.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 70px;
}

.hero-img {
  flex: 1 1 350px;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.text {
  flex: 1 1 400px;
}

.text h2 {
  color: #222;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.text p {
  font-size: 1em;
  line-height: 1.6;
  color: #444;
}

/* ======= PRÓXIMAS CHARLAS ======= */
.proximas-charlas {
  text-align: center;
}

.proximas-charlas h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #222;
  position: relative;
}


.charlas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.charla-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.charla-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.charla-card h3 {
  color: #222;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.charla-card p {
  font-size: 0.95em;
  color: #555;
  margin: 8px 0;
}

.btn {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #e55a00;
}

/* ======= PARTICIPAR ======= */
.participa {
  background: #fff7f0;
  text-align: center;
  padding: 80px 20px;
}

.participa h2 {
  color: #222;
  font-size: 1.8em;
}

.participa p {
  color: #555;
  margin: 15px 0 30px;
  font-size: 1.05em;
}

.btn-large {
  background: #ff6600;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-large:hover {
  background: #e55a00;
}



/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    text-align: center;
  }

  .hero-img {
    width: 100%;
  }
}

/* === SECCIÓN TESTIMONIOS === */

.testimonios {
  background: linear-gradient(180deg, #fefefe 0%, #f4f7ff 100%);
  padding: 90px 20px;
  text-align: center;
  color: #333;
}

.testimonios h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
}

.testimonios .intro {
  font-size: 1.1rem;
  color: #555;
  max-width: 750px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.grid-testimonios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-items: center;
}

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-width: 350px;
  padding: 40px 25px;
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.foto-icono {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 3px solid #000000;
}

.foto-icono i {
  font-size: 40px;
  color: #000000;
}

.card .texto {
  font-size: 1rem;
  color: #444;
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.6;
}

.card h4 {
  color: #000000;
  font-weight: 600;
}

@media (max-width: 600px) {
  .testimonios h2 {
    font-size: 2rem;
  }
  .card {
    padding: 25px;
  }
}

/* ====== HERO ====== */
.hero-espacios {
  position: relative;
  background: url('../img/contencion.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-espacios .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-espacios .hero-content {
  position: relative;
  z-index: 1;
}

.hero-espacios h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-espacios p {
  font-size: 1.2rem;
  color: #fff;
}

/* ====== INTRO ====== */
.ofrecemos {
  max-width: 900px;
  margin: 100px auto;
  padding: 40px 20px;
  text-align: center;
}

.ofrecemos h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 15px; /* antes era 8px */
}

.ofrecemos .linea {
  width: 80px;
  height: 4px;
  background-color: #ffffff;
  border-radius: 2px;
  margin: 0 auto 70px; /* antes era 50px — aumenta la distancia hacia las secciones */
}



.ofrecemos-lista {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  position: relative;
  padding-left: 40px;
}

.ofrecemos-lista::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #ff7a00, #ffa64d);
  border-radius: 2px;
}

.ofrecemos-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.ofrecemos-item .icono {
  background-color: #fff;
  border: 3px solid #ff7a00;
  color: #ff7a00;
  font-size: 1.5rem;
  font-weight: bold;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ofrecemos-item .texto {
  background-color: #ffffff;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.ofrecemos-item h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 6px;
  font-weight: 700;
}

.ofrecemos-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 700px) {
  .ofrecemos-lista {
    padding-left: 20px;
  }

  .ofrecemos-lista::before {
    left: 12px;
  }

  .ofrecemos-item .texto {
    padding: 15px;
  }
}


/* ====== ACTIVIDADES ====== */
.actividades-espacios {
  background: white;
  padding: 60px 20px;
  text-align: center;
}

.actividades-espacios h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 40px;
}

.grid-actividades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card-actividad {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-actividad:hover {
  transform: translateY(-8px);
}

.card-actividad img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-actividad h3 {
  font-size: 1.3rem;
  color: #222;
  margin: 15px 0 10px;
}

.card-actividad p {
  padding: 0 20px 25px;
  color: #555;
}

.frase-final.minimalista {
  background-color: #fff;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.frase-final.minimalista::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ff7a00;
  opacity: 0.3;
}

.frase-final.minimalista p {
  display: inline-block;
  background: #fff;
  padding: 0 20px;
  font-size: 1.4rem;
  font-style: italic;
  color: #333;
  position: relative;
  z-index: 1;
}


.wave-top {
  top: 0;
  background-image: url('../img/wave-top-white.svg');
  transform: translateY(-99%);
}

.wave-bottom {
  bottom: 0;
  background-image: url('../img/wave-bottom-white.svg');
  transform: translateY(99%);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .hero-espacios h1 { font-size: 2.3rem; }
  .intro-espacios h2, .actividades-espacios h2 { font-size: 1.8rem; }
  .frase-espacios blockquote { font-size: 1.2rem; }
}


/* Autor: Florencia Agustina Gutiérrez - Copyright 2025 */