.nosotros-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  color: #333;
}

.nosotros-section .container {
  max-width: 900px;
  margin: auto;
}

.titulo-principal {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: #000;
  font-weight: bold;
}

.parrafo {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.volcan-container {
  text-align: center;
  margin-top: 40px;
}

.volcan {
  width: 200px;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.volcan:hover {
  content: url('/assets/IMG/20250624_2334_Volcanic Eruption Animation_simple_compose_01jyjezewxfgzvq7rj2spx9btp.gif'); /* o volcan_explota.png */
  transform: scale(1.1) rotate(-2deg);
  filter: brightness(1.2);
}

footer {
    background-color: #111;
    color: #eee;
    padding: 40px 0 10px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1 1 250px;
    margin: 20px 0;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
    border-bottom: 2px solid #444;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section p {
    font-size: 14px;
    color: #bbb;
    margin: 8px 0;
}

.footer-section i {
    margin-right: 8px;
}

.social-icons a {
    color: #eee;
    margin-right: 15px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #1da1f2;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 13px;
    color: #888;
}

.volcan-container {
  text-align: center;
  margin-top: 40px;
}

/* Tamaño y comportamiento base */
.volcan-animado {
  width: 190px;
  max-width: 40vw;
  cursor: pointer;
  overflow: visible;
  transition: transform 0.25s ease;
}

/* Mini zoom al pasar el mouse */
.volcan-animado:hover {
  transform: scale(1.05);
}

/* Estado inicial: nada de erupción visible */
.volcan-animado .lava-flow,
.volcan-animado .lava-jet,
.volcan-animado .lava-drop,
.volcan-animado .lava-particle,
.volcan-animado .smoke,
.volcan-animado .ash {
  opacity: 0;
}

/* Necesario para que las transformaciones funcionen bien en SVG */
.volcan-animado .lava-flow,
.volcan-animado .lava-jet,
.volcan-animado .lava-drop,
.volcan-animado .lava-particle,
.volcan-animado .smoke,
.volcan-animado .ash {
  transform-box: fill-box;
  transform-origin: center;
}

/* ---------- ANIMACIONES AL HOVER ---------- */

/* 0 a 2 segundos: humo suave + cenizas */
.volcan-animado:hover .smoke {
  animation: humoSube 2s ease-out forwards;
}

.volcan-animado:hover .ash {
  animation: cenizas 2s ease-out forwards;
}

/* A partir de los 2s: lava en erupción */
.volcan-animado:hover .lava-flow {
  animation: lavaCae 1.4s ease-out forwards;
  animation-delay: 2s;
}

.volcan-animado:hover .lava-jet {
  animation: lavaChorro 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 2s;
}

.volcan-animado:hover .drop-left {
  animation: gotaIzq 1.1s ease-out forwards;
  animation-delay: 2s;
}

.volcan-animado:hover .drop-right {
  animation: gotaDer 1.1s ease-out forwards;
  animation-delay: 2s;
}

.volcan-animado:hover .p1 {
  animation: particula1 1.1s ease-out forwards;
  animation-delay: 2.05s;
}

.volcan-animado:hover .p2 {
  animation: particula2 1.1s ease-out forwards;
  animation-delay: 2.1s;
}

.volcan-animado:hover .p3 {
  animation: particula3 1.1s ease-out forwards;
  animation-delay: 2.15s;
}

/* ---------- KEYFRAMES ---------- */

/* Humo suave subiendo y disipándose (0–2s) */
@keyframes humoSube {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.85);
  }
  20% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translateY(-42px) scale(1.2);
  }
}

/* Cenizas flotando */
@keyframes cenizas {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-25px);
  }
}

/* Lava que cae por el volcán */
@keyframes lavaCae {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Chorro de lava vertical */
@keyframes lavaChorro {
  0% {
    opacity: 0;
    transform: translateY(0) scaleY(0.4);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-35px) scaleY(1);
  }
}

/* Gotas laterales */
@keyframes gotaIzq {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-18px, -24px);
  }
}

@keyframes gotaDer {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(18px, -24px);
  }
}

/* Partículas pequeñas de lava */
@keyframes particula1 {
  0% { opacity: 0; transform: translate(0,0); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(-10px, -30px); }
}

@keyframes particula2 {
  0% { opacity: 0; transform: translate(0,0); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(12px, -32px); }
}

@keyframes particula3 {
  0% { opacity: 0; transform: translate(0,0); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(0, -36px); }
}