:root {
  --text-color: #111;
  --background-color: #fff;
  --highlight-color: #a0bdd6;
  --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--background-color);
  height: 100%;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2.5rem;
  z-index: 1000;
  background-color: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

body.home .navbar.at-top {
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  position: static;
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex !important;
  gap: 2.25rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.4rem 0;
  position: relative;
  border: none;
  border-radius: 0;
  background: none;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--highlight-color);
  border: none;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===== NAVBAR DONATE CTA ===== */
.nav-link.nav-cta {
  background-color: var(--highlight-color);
  color: #0d1b2a;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.25s ease, transform 0.2s ease, color 0.25s ease;
}

.nav-link.nav-cta::after {
  display: none;
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta.active {
  background-color: #fff;
  color: #0d1b2a;
  transform: translateY(-1px);
}

.mobile-menu .nav-link.nav-cta {
  padding: 0.6rem 1.75rem;
  font-size: 1.25rem;
}

/* ===== NAVBAR DROPDOWN (desktop) ===== */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  cursor: pointer;
}

.nav-dropdown-toggle .nav-caret {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle .nav-caret,
.nav-dropdown:focus-within .nav-dropdown-toggle .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--highlight-color);
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
  width: 100%;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 230px;
  background-color: rgba(13, 27, 42, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  color: var(--highlight-color);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-soon {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background-color: rgba(160, 189, 214, 0.18);
  color: var(--highlight-color);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ===== PROJECT CAROUSEL ===== */
.project-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background-color: #d6dee5;
  box-shadow: 0 12px 28px rgba(13, 27, 42, 0.12);
}

.project-carousel--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background-color: rgba(13, 27, 42, 0.55);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, transform 0.2s ease;
  z-index: 2;
}

.carousel-arrow:hover {
  background-color: var(--highlight-color);
  color: #0d1b2a;
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev { left: 0.75rem; }
.carousel-next { right: 0.75rem; }

.carousel-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.carousel-dot.active {
  background-color: var(--highlight-color);
  transform: scale(1.25);
}

.carousel-coming-soon {
  text-align: center;
  padding: 2rem;
  color: #4a5562;
}

.carousel-coming-soon i {
  font-size: 2.6rem;
  color: var(--highlight-color);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.carousel-coming-soon-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 0.5rem;
}

.carousel-coming-soon-sub {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #6b7785;
  max-width: 360px;
  margin: 0 auto;
}

/* ===== PROJECT COLLAGE ===== */
.project-collage {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.collage-row {
  display: flex;
  gap: 1rem;
  height: 420px;
}

.collage-row:nth-child(even) {
  flex-direction: row-reverse;
}

.collage-big,
.collage-small {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(13, 27, 42, 0.12);
  background-color: #d6dee5;
  position: relative;
}

.collage-big {
  flex: 2;
}

.collage-small-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.collage-small {
  flex: 1;
}

.collage-big img,
.collage-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.collage-big:hover img,
.collage-small:hover img {
  transform: scale(1.04);
}

.collage-coming-soon {
  text-align: center;
  padding: 4rem 2rem;
  color: #4a5562;
  background-color: #f5f7f9;
  border-radius: 16px;
  border: 2px dashed #c7d1da;
}

.collage-coming-soon i {
  font-size: 3rem;
  color: var(--highlight-color);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.collage-coming-soon p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0d1b2a;
}

@media (max-width: 900px) {
  .collage-row {
    flex-direction: column !important;
    height: auto;
  }
  .collage-big,
  .collage-small-stack,
  .collage-small {
    flex: none;
  }
  .collage-big {
    aspect-ratio: 16 / 9;
  }
  .collage-small {
    aspect-ratio: 16 / 9;
  }
}

/* ===== NAVBAR DROPDOWN (mobile) ===== */
.mobile-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.mobile-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-dropdown-toggle .nav-caret {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.mobile-dropdown.open .mobile-dropdown-toggle .nav-caret {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  max-height: 400px;
  margin-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.mobile-menu .mobile-sub-link {
  font-size: 1.15rem;
  opacity: 0.9;
}

.section {
  min-height: 100vh;
  padding: 6rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #eee;
}

.menu-toggle {
  display: none;
  position: static;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* Mobile menu full-screen overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: fixed;
  inset: 0;
  background-color: rgba(13, 27, 42, 0.98);
  z-index: 2000;
}

.mobile-menu .nav-link {
  color: #fff;
  font-size: 1.5rem;
  padding: 0.75rem 1rem;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.close-menu {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

body.no-hero main {
  padding-top: 96px;
}

@media (max-width: 960px) {
  .navbar {
    padding: 0.9rem 1.25rem;
  }
  .nav-links {
    display: none !important;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .logo {
    height: 34px;
  }
}

.work-columns {
  display: flex;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease;
}

.column {
  flex: 1;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

/* Contenedor del título */
.column-content {
  z-index: 2;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.column-inner {
  position: relative;
  width: 100%; /* ocupa todo el ancho */
  max-width: 100%;
}

.column h2 {
  font-size: 2.8rem;
  margin: 0;
  transition: transform 0.3s ease;
}

.column:hover h2 {
  transform: translateY(-10px);
}

/* Submenu debajo del título */
.submenu {
  list-style: none;
  position: absolute;
  width: 100%; /* ocupa todo el ancho */
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.column:hover .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.submenu a {
  color: white;
  text-decoration: none;
  font-size: 1.95rem;
  overflow: hidden;
  display: inline-block;
  max-width: 100%;
}

.column:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 60%;
  background: white;
  clip-path: polygon(
    50% 0%,
    100% 10%, 
    100% 90%, 
    50% 100%, 
    0% 90%, 
    0% 10%
  );
}

@media (max-width: 1360px) {
  .column {
    padding: 1rem;
  }
  
}

/* Sección Stay Up To Date */
.stay-up {
  background-color: white;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stay-up-content {
  max-width: 600px;
  animation: fadeUp 1s ease-out both;
}

.stay-up h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.stay-up p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 2rem;
}

.stay-up-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stay-up-form input {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  flex: 1;
  min-width: 240px;
}

.stay-up-form button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: var(--highlight-color);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.stay-up-form button:hover {
  background-color: #364350;
  transform: scale(1.05);
}

/* Animación fadeUp */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  background-color: #111;
  color: #ccc;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  gap: 2rem;
}

.footer-contact, .footer-socials {
  flex: 1 1 300px;
  text-align: center;
}

.footer-contact h4, .footer-socials h4 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-contact p, .footer-socials p, .footer-copy {
  font-size: 1rem;
  line-height: 1.8;
  color: #aaa;
}

.footer-contact a, .footer-socials a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover, .footer-socials a:hover {
  color: var(--highlight-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a i {
  font-size: 1.5rem;
  color: #ccc;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover i {
  color: var(--highlight-color);
  transform: scale(1.2);
}

.footer-copy {
  border-top: 1px solid #333;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Ocultar versión mobile por default */
.work-columns-mobile {
  display: none;
}

/* Mobile version styles */
@media (max-width: 1000px) {
  .work-columns {
    display: none; /* Oculta desktop */
  }

  .work-columns-mobile {
    display: flex;
    flex-direction: column;
    height: 100vh;
  }

  .mobile-block {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #444;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    padding: 1rem;
  }

  .mobile-block h2 {
    margin: 0;
    font-size: 1.2rem;
  }

  .submenu-mobile {
    display: none;
    list-style: none;
    padding: 1rem 0 0;
  }

  .submenu-mobile li {
    margin: 0.5rem 0;
  }

  .submenu-mobile a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
  }

  .mobile-block.active {
    flex: 2; /* se expande */
    background-color: rgba(0, 0, 0, 0.85);
  }

  .mobile-block.active .submenu-mobile {
    display: block;
  }
}

/* Fondos con imágenes para cada bloque móvil */
@media (max-width: 1000px) {
  .mobile-block {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
  }

  /* Overlay oscuro encima de la imagen para legibilidad */
  .mobile-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
  }

  /* Asegura que el contenido esté sobre el overlay */
  .mobile-block * {
    position: relative;
    z-index: 1;
  }

  .mobile-block[data-id="faith"] {
    background-image: url("images/mfondo3.webp");
  }

  .mobile-block[data-id="workforce"] {
    background-image: url("images/futures.webp");
  }

  .mobile-block[data-id="lihtc"] {
    background-image: url("images/faith.webp");
  }

}

.about-us-main {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Título grande alineado a la izquierda */
.about-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-align: left;
  color: var(--text-color);
}

/* Imagen central y responsiva */
.about-image-section {
  text-align: center;
  margin-bottom: 3rem;
}

.about-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.about-description {
  max-width: 800px;
  margin: 0 auto 0 0;
  padding: 0 2rem 0 0;
  text-align: left;
}

.about-description p {
  font-size: 1.2rem;
  line-height: 2;
  font-weight: 300; /* 👈 más liviano */
  color: #444;
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 4rem auto;
  max-width: 1000px;
  justify-content: space-between;
}

.about-card {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 2rem;
  border-radius: 16px;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  min-height: 260px;
}

.about-card h3 {
  font-size: 1.8rem;
  margin: 0;
}

/* Botón dentro de la tarjeta */
.card-button {
  align-self: flex-end;
  margin-top: auto;
  width: 48px;
  height: 48px;
  border: 2px solid white;
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 1.5rem;
  text-align: center;
  line-height: 44px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.card-button:hover {
  background: white;
  color: black;
  transform: scale(1.1);
}


/* Estilos según fondo */
.about-card.highlight {
  background-color: var(--highlight-color);
}

.about-card.dark {
  background-color: #111;
}

/* Responsive */
@media (max-width: 768px) {
  .about-cards {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-card {
    flex: 1 1 100%;
  }
}

/* Animación base */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s ease-out;
  transition-delay: var(--delay, 0s);
}

/* Direcciones */
.fade-up {
  transform: translateY(30px);
}

.fade-left {
  transform: translateX(-30px);
}

.fade-right {
  transform: translateX(30px);
}

.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.market-page {
  padding: 0;
  margin: 0;
}

/* Hero Section */
.hero-section {
  height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content h1 {
  font-size: 3rem;
  color: white;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.guide-section {
  padding: 1rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Vision & Approach */
.vision-section,
.approach-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.vision-section p,
.approach-section p {
  text-align: justify;
}

.approach-section {
  background-color: #aaf5ff;;
  border-radius: 12px;
  padding: 4rem 2rem;
}

.vision-section h2,
.approach-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Articles */
.articles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.article-card {
  flex: 1 1 calc(33.333% - 2rem);
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: auto;
}

.article-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #111;
}

.card-content p {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 2;
  color: #666;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* Learn More button */
.learn-more-button {
  align-self: flex-start;
  text-decoration: none;
  background: transparent;
  color: #364350;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
  flex-grow: 1;
}

.learn-more-button:hover {
  color: #364350;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 768px) {
  .articles-grid {
    flex-direction: column;
  }

  .article-card {
    flex: 1 1 100%;
  }
}


.hero-article {
  height: 50vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.article-content {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.article-content h1 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  text-align: left;
}

.article-content h2 {
  font-size: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--highlight-color);
  text-align: left;
}

.article-content h3 {
  margin-bottom: 1rem;
}

.article-content ul {
  font-size: 1.1rem;
  line-height: 2;
  color: #444;
  text-align: justify;
  margin-bottom: 2rem;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 2;
  color: #444;
  text-align: justify;
  margin-bottom: 2rem;
}

.references-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.references-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--highlight-color);
  text-align: left;
}

.references-list {
  list-style: disc;
  padding: 0;
  margin: 0;
}

.references-list li {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.references-list a {
  color: var(--highlight-color);
  text-decoration: none;
}

.references-list a:hover {
  text-decoration: underline;
}

/* Animación base */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

/* Cuando el elemento entra en viewport */
.animate.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Tipos de animaciones */

/* Fade In */
.fade-in {
  transform: translateY(20px);
}

/* Slide In Left */
.slide-left {
  transform: translateX(-50px);
}

/* Slide In Right */
.slide-right {
  transform: translateX(50px);
}

/* Slide In Up */
.slide-up {
  transform: translateY(50px);
}

/* Slide In Down */
.slide-down {
  transform: translateY(-50px);
}

/* Zoom In */
.zoom-in {
  transform: scale(0.8);
}

/* Rotación leve */
.rotate-in {
  transform: rotate(-5deg) scale(0.95);
}

/* Delays opcionales */
.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.delay-3 {
  transition-delay: 0.6s;
}
.delay-4 {
  transition-delay: 0.8s;
}

/* ===== DONATE (Coming Soon) ===== */
.donate-hero {
  min-height: calc(100vh - 96px);
  padding: 6rem 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1b2a 0%, #364350 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.donate-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(160, 189, 214, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(160, 189, 214, 0.12), transparent 40%);
  pointer-events: none;
}

.donate-hero-inner {
  position: relative;
  max-width: 720px;
  text-align: center;
  animation: fadeUp 0.9s ease-out both;
}

.donate-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: rgba(160, 189, 214, 0.15);
  border: 2px solid var(--highlight-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--highlight-color);
  font-size: 2.4rem;
}

.donate-badge {
  display: inline-block;
  background-color: var(--highlight-color);
  color: #0d1b2a;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.donate-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.donate-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #d6dee5;
  margin-bottom: 1rem;
}

.donate-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: #a8b3bf;
  margin-bottom: 2.25rem;
}

.donate-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.25s ease, color 0.25s ease;
}

.donate-btn.primary {
  background-color: var(--highlight-color);
  color: #0d1b2a;
}

.donate-btn.primary:hover {
  background-color: #fff;
  transform: translateY(-2px);
}

.donate-btn.secondary {
  background-color: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.donate-btn.secondary:hover {
  border-color: var(--highlight-color);
  color: var(--highlight-color);
  transform: translateY(-2px);
}

.donate-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  color: #a8b3bf;
  font-size: 0.95rem;
}

.donate-contact p {
  margin: 0.3rem 0;
}

.donate-contact i {
  color: var(--highlight-color);
  margin-right: 0.4rem;
}

.donate-contact a {
  color: #d6dee5;
  text-decoration: none;
}

.donate-contact a:hover {
  color: var(--highlight-color);
}

@media (max-width: 640px) {
  .donate-hero h1 {
    font-size: 2rem;
  }
  .donate-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .donate-btn {
    justify-content: center;
  }
}

/* Contact Us Section */
.contact-section {
  padding: 6rem 2rem;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
}

.contact-container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.contact-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-container p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #555;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
}

.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  padding: 1rem;
  background-color: var(--highlight-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #364350;
}

.contact-info {
  flex: 1 1 300px;
  text-align: left;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1rem;
}

.contact-info i {
  margin-right: 0.5rem;
  color: var(--highlight-color);
}

/* ===== VISION SECTION (homepage — Mission tracks) ===== */
section.vision-section {
  padding: 6rem 2rem;
  max-width: none;
  margin: 0;
  background: #f5f7f9;
}

.vision-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.vision-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--highlight-color);
  margin-bottom: 1rem;
}

.vision-section .vision-headline {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.vision-section .vision-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #364350;
  max-width: 820px;
  margin-bottom: 4rem;
  text-align: left;
}

.vision-tracks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.track-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem 2.25rem;
  position: relative;
  border-top: 4px solid var(--highlight-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.track-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(13, 27, 42, 0.12);
}

.track-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 3.2rem;
  font-weight: 800;
  color: rgba(160, 189, 214, 0.28);
  letter-spacing: -2px;
  line-height: 1;
}

.track-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: transparent;
  color: #0d1b2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
  margin-left: -0.4rem;
}

.track-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.vision-section .track-card p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #4a5562;
  text-align: left;
  margin-bottom: 0.85rem;
}

.vision-section .track-card p:last-child {
  margin-bottom: 0;
}

.track-soon-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  background: var(--highlight-color);
  color: #0d1b2a;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  z-index: 1;
}

.track-card--soon {
  border-top-color: #6b7785;
}

.track-card--soon .track-icon {
  color: #6b7785;
}

@media (max-width: 1000px) {
  .vision-tracks {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .vision-section .vision-headline {
    font-size: 2.1rem;
  }
  .vision-section .vision-lead {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  section.vision-section {
    padding: 4rem 1.25rem;
  }
}

/* ===== PATHWAYS SECTION (homepage) ===== */
.pathways-section {
  background: linear-gradient(135deg, #0d1b2a 0%, #364350 100%);
  color: #fff;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.pathways-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(160, 189, 214, 0.18), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(160, 189, 214, 0.12), transparent 45%);
  pointer-events: none;
}

.pathways-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.pathways-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--highlight-color);
  margin-bottom: 1rem;
}

.pathways-headline {
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.25rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pathways-subheadline {
  font-size: 1.2rem;
  font-weight: 500;
  color: #d6dee5;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
}

.pathways-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.pathways-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pathways-btn.primary {
  background-color: var(--highlight-color);
  color: #0d1b2a;
}

.pathways-btn.primary:hover {
  background-color: #fff;
  transform: translateY(-2px);
}

.pathways-btn.secondary {
  background-color: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.pathways-btn.secondary:hover {
  border-color: var(--highlight-color);
  color: var(--highlight-color);
  transform: translateY(-2px);
}

.pathways-body {
  max-width: 820px;
  margin: 0 auto 3rem;
  text-align: left;
}

.pathways-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #d6dee5;
  margin-bottom: 1.1rem;
  text-align: justify;
}

.pathways-locations h3 {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--highlight-color);
  margin-bottom: 1.5rem;
}

.pathways-location-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pathways-location-card {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  color: #fff;
  text-decoration: none;
  min-width: 280px;
  transition: background-color 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.pathways-location-card:hover {
  background-color: rgba(160, 189, 214, 0.15);
  border-color: var(--highlight-color);
  transform: translateY(-2px);
}

.pathways-location-card i {
  color: var(--highlight-color);
  font-size: 1.6rem;
}

.pathways-location-card div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pathways-location-card strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.pathways-location-card span {
  font-size: 0.9rem;
  color: #a8b3bf;
}

@media (max-width: 768px) {
  .pathways-section {
    padding: 4rem 1.25rem;
  }
  .pathways-headline {
    font-size: 1.85rem;
  }
  .pathways-subheadline {
    font-size: 1rem;
  }
  .pathways-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .pathways-location-card {
    min-width: 0;
    width: 100%;
  }
}

