/* =============================================
   AGUA Y CUENCAS — estilo 2026
============================================= */

/* --- ¿Por qué son importantes las cuencas? --- */
.agua-why {
  max-width: 1100px;
  margin: 0 auto var(--space-10);
}

.agua-why-title {
  font-size: 22px;
  font-weight: 700;
  color: #033e8c;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-5);
  display: inline-block;
  animation: aguaWhyTitleSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
#aguaCuencasTitle {
  margin-bottom: 0;
}
.sostenible-intro-kicker {
  color: #00b3e6 !important;
}
.sostenible-intro {
  max-width: 920px;
}

@keyframes aguaWhyTitleSlideIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .agua-why-title {
    animation: none;
  }
}

.agua-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

@media (max-width: 900px) {
  .agua-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .agua-why-grid {
    grid-template-columns: 1fr;
  }
}

.agua-why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfe 100%);
  border: 1px solid rgba(3,62,140,0.07);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(3,62,140,0.07), 0 1px 3px rgba(3,62,140,0.05);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.agua-why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 90px at 100% 0%, rgba(13,182,221,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.agua-why-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.agua-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(3,62,140,0.14);
  border-color: rgba(13,182,221,0.3);
}
.agua-why-card:hover::before {
  opacity: 1;
}

.agua-why-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb347 0%, var(--color-orange) 100%);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(255,171,64,0.5);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.agua-why-card:hover .agua-why-icon {
  transform: rotate(-6deg) scale(1.08);
}
.agua-why-icon svg {
  width: 22px;
  height: 22px;
}

.agua-why-text {
  position: relative;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #444;
}

@media (prefers-reduced-motion: reduce) {
  .agua-why-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Arroyos de norte a sur --- */
.agua-streams {
  max-width: 1100px;
  margin: 0 auto var(--space-10);
}

.agua-streams-title {
  font-size: 22px;
  font-weight: 700;
  color: #033e8c;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-6);
}

.agua-streams-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 36px;
}
.agua-streams-list::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 5px;
  width: 2px;
  background: linear-gradient(180deg, #0db6dd, rgba(3,62,140,0.12));
  border-radius: 2px;
}

.agua-stream {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border: 1px solid rgba(3,62,140,0.06);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(3,62,140,0.06);
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  transition-delay: calc(var(--stream-i, 0) * 0.08s);
}

.agua-stream-body {
  flex: 1;
  min-width: 0;
}

.agua-stream-thumb {
  flex-shrink: 0;
  width: 130px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(3,62,140,0.12);
}

@media (max-width: 560px) {
  .agua-stream-thumb {
    width: 64px;
    height: 50px;
  }
}
.agua-stream.in-view {
  opacity: 1;
  transform: translateX(0);
}
.agua-stream:last-child {
  margin-bottom: 0;
}
.agua-stream:hover {
  box-shadow: 0 10px 24px rgba(3,62,140,0.12);
  border-color: rgba(13,182,221,0.28);
}

.agua-stream-dot {
  position: absolute;
  top: 20px;
  left: -36px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #0db6dd;
  box-shadow: 0 0 0 5px rgba(13,182,221,0.16);
}

.agua-stream-name {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  color: #033e8c;
}

.agua-stream-alt {
  font-weight: 500;
  font-size: 12.5px;
  color: #888;
}

.agua-stream-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #555;
}

@media (prefers-reduced-motion: reduce) {
  .agua-stream {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
