.site-navbar {
  background: rgba(94, 128, 125, 0.86);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 0.9rem 0;
}

.site-navbar.scrolled {
  background: rgba(94, 128, 125, 0.98);
  box-shadow: 0 10px 28px rgba(35, 50, 49, 0.35);
  padding: 0.6rem 0;
}

.site-navbar .nav-link,
.site-navbar .navbar-brand {
  color: #fff;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--color-brand-yellow);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-donate-btn {
  box-shadow: 0 10px 20px rgba(191, 182, 54, 0.35);
}

.navbar-brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-yellow), var(--color-brand-fuchsia));
  display: inline-grid;
  place-items: center;
  color: #fff;
  margin-right: 0.6rem;
  font-weight: 800;
}

.help-card {
  padding: 1.6rem;
  text-align: center;
}

.help-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(191, 182, 54, 0.16);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.story-video {
  border-radius: var(--radius-lg);
  min-height: 380px;
  background: linear-gradient(rgba(16, 20, 32, 0.52), rgba(200, 201, 202, 0.52)),
  url('../../img/videoport.jpg') center / cover no-repeat;
  background-position: center 70%;
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertical */
  flex-direction: column;  /* apila el texto y botón */
  place-items: center;
  gap: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);

}
}

.video-copy h3 {
  color: #fff;
  max-width: 620px;
}

.video-trigger {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 0;
  background: rgba(191, 182, 54, 0.96);
  color: #fff;
  box-shadow: 0 16px 30px rgba(8, 10, 14, 0.32);
  transition: transform 0.25s ease;
  
}

.video-trigger:hover,
.video-trigger:focus {
  transform: scale(1.06);
}

.play-circle {
  font-size: 1.7rem;
  margin-left: 0.2rem;
}

.card-soft {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-soft:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 40px rgba(94, 128, 125, 0.14);
}

.story-block {
  border-left: 4px solid var(--color-primary);
  padding-left: 1rem;
}

.cta-band {
  border-radius: var(--radius-lg);
  background: #5e807d;
  color: #fff;
  padding: 2rem;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.image-caption {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-top: 0.65rem;
}

.site-footer {
  background: var(--color-brand-green);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer .text-white {
  color: var(--color-brand-yellow) !important;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-brand-yellow);
}

.site-footer .btn-brand {
  background: var(--color-brand-fuchsia);
  border-color: var(--color-brand-fuchsia);
  color: #fff;
}

.site-footer .btn-brand:hover,
.site-footer .btn-brand:focus {
  background: var(--color-brand-yellow);
  border-color: var(--color-brand-yellow);
  color: var(--color-btn-text-dark);
}

.social-links li + li {
  margin-top: 0.25rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
}

.metric-highlight {
  text-align: center;
  padding: 1.6rem 1rem;
}

.impact-card {
  padding: 1.6rem;
  text-align: center;
}

.impact-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(191, 182, 54, 0.17);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.value-card,
.quote-card,
.action-card {
  padding: 2rem;
}

.value-icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.9rem;
  background: rgba(191, 182, 54, 0.14);
  font-size: 1.55rem;
}

.program-card {
  overflow: hidden;
}

.program-image {
  min-height: 220px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transition: transform 0.5s ease;
}

.program-card:hover .program-image {
  transform: scale(1.08);
}

.quote-card p {
  font-size: 1.05rem;
  color: var(--color-muted);
}

.action-card .btn {
  margin-top: auto;
}

.about-visual .image-placeholder {
  min-height: 100%;
}

.donation-band {
  color: #fff;
  background: linear-gradient(rgba(12, 15, 27, 0.8), rgba(12, 15, 27, 0.8)),
    url('../../img/esperanza.png') center / cover no-repeat;
  background-position: center 35%;
}

.donation-band h2 {
  color: #fff;
  max-width: 760px;
  margin: 0 auto;
}

.ally-marquee {
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  padding: 0.75rem 0;
  background: #fff;
}

.ally-track {
  display: flex;
  width: max-content;
  animation: allyMarquee 24s linear infinite;
}

.ally-track span {
  padding: 0 2rem;
  font-weight: 600;
  color: #404756;
}

.btn,
.nav-link,
.form-control,
.form-select {
  transition: all 0.25s ease;
}

@keyframes allyMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 991px) {
  .site-navbar {
    background: rgba(94, 128, 125, 0.98);
  }

  .nav-donate-btn {
    margin-bottom: 0.5rem;
    width: max-content;
  }

  .story-video {
    min-height: 300px;
  }
}
