@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,400i,500,700,900");

html {
  font-size: 16px;
}

body.page-fundacion {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: "Raleway", sans-serif;
  overflow-x: hidden;
  color: #3b3d48;
}

p {
  color: #3b3d48;
  font-size: 14px;
  font-weight: 500;
}

.bg-lightgray {
  background-color: #f1f2f2;
}

.bg-fundacion {
  background-color: #e33538;
}

.bg-white {
  background-color: #fff;
}

.site-header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-header.navbar {
  --bs-navbar-padding-y: 0;
}

.site-header .logo img {
  max-height: 56px;
  width: auto;
}

.site-header .navbar-nav .nav-link {
  color: #231f20;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus {
  color: #e33538;
}

.site-header .navbar-toggler {
  border: 1px solid rgba(35, 31, 32, 0.15);
}

.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(227, 53, 56, 0.25);
}

#loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#loader.hidden {
  display: none;
}

.loader-title {
  font-size: 1.5rem;
  color: #e33538;
  text-transform: uppercase;
}

.fundacion-subtitle {
  color: #e33538;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 40px;
  margin: 0 0 15px 0;
}

.fundacion-subtitle.inverse {
  color: #fff;
}

@media screen and (max-width: 768px) {
  .fundacion-subtitle {
    font-size: 30px;
    margin-top: 15px;
  }
}

.fundacion-title {
  color: #231f20;
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 30px 0;
}

.fundacion-title.max-width {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .fundacion-title {
    font-size: 20px;
  }
}

.two-columns {
  column-count: 2;
  column-gap: 40px;
}

@media screen and (max-width: 768px) {
  .two-columns {
    column-count: 1;
  }
}

.logo-column img {
  margin: 30px auto 0 auto;
}

.btn-fundacion {
  display: inline-block;
  background-color: #e33538;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 5px;
  padding: 10px 20px;
  transition: 0.3s;
  margin: 30px 0 0 0;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.btn-fundacion:hover {
  background-color: #b01b1e;
  color: #fff;
}

.section-fundacion {
  padding: 80px 0;
}

/* Etiqueta roja pequeña sobre el título de bloque (p. ej. Sobre nosotros) */
.fundacion-eyebrow {
  color: #e33538;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin: 0 0 0.5rem;
}

.fundacion-prose {
  max-width: 52rem;
  margin: 0 auto 1.25rem;
}

.fundacion-prose--tight {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.fundacion-prose p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.section-fundacion--quienes .fundacion-quiene-title {
  margin-bottom: 2rem;
}

.quienes-somos-prose {
  text-align: left;
  margin-bottom: 2rem;
}

.quienes-somos-logo-wrap {
  text-align: center;
  margin-top: 0.5rem;
}

.quienes-somos-logo {
  margin: 0 auto;
  max-width: min(400px, 100%);
  height: auto;
}

/* Bloques imagen + texto: el layout lo define Bootstrap (.row / .col-*); acá solo estilos de componente */
.fundacion-split__figure {
  margin-bottom: 0;
}

.fundacion-split__img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.fundacion-split__heading {
  margin-top: 0;
  margin-bottom: 1rem;
}

.fundacion-split__content .btn-fundacion {
  margin-top: 1.25rem;
}

.section-fundacion .two-columns p {
  font-size: 18px;
  text-align: justify;
}

@media screen and (max-width: 768px) {
  .section-fundacion {
    padding: 40px 0;
  }
  .section-fundacion p {
    font-size: 16px;
  }
  .btn-fundacion {
    font-size: 14px;
    margin-bottom: 15px;
  }
}

.card-list {
  list-style: none;
  padding: 0;
  max-width: 70%;
  margin: 0 auto;
  display: flex;
}

@media screen and (max-width: 768px) {
  .card-list {
    max-width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .card-list {
    flex-wrap: wrap;
  }
}

.card-list li {
  flex-grow: 1;
  flex-basis: 33.33%;
  max-width: 33.33%;
  padding: 0 15px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .card-list li {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.card-list.extend {
  max-width: 100%;
  justify-content: center;
}

.card-list-item {
  text-align: center;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 20px;
  max-width: 260px;
  margin: 0 auto 15px auto;
}

.card-list-item-title {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  margin: 20px 0 0 0;
}

.contact-list-content {
  text-align: center;
}

.contact-list-icon {
  background-color: #e33538;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-list-text {
  font-size: 14px;
  margin: 0;
  text-align: center !important;
}

.contact-list-text a {
 color: black;
}

.mt-3 {
  margin-top: 1rem;
}

.text-center {
  text-align: center;
}

#fundacionSliderLogo {
  max-width: 500px;
  height: auto;
  margin: 0 auto !important;
}

@media screen and (max-width: 576px) {
  #fundacionSliderLogo {
    max-width: 200px;
  }
}

#fundacionSlider .item {
  position: relative;
}

#fundacionSlider .item img {
  max-height: 500px;
  object-fit: cover;
  max-width: 60%;
  margin: 0 0 0 auto;
}

#fundacionSlider .item-overlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 992px) {
  #fundacionSlider .item-overlay {
    width: 70%;
  }
}

@media screen and (max-width: 576px) {
  #fundacionSlider .item img {
    max-width: 100%;
  }
  #fundacionSlider .item-overlay {
    width: 100%;
    position: relative;
    padding: 15px 0;
  }
}

#fundacionSlider .item-overlay-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Compatibilidad con clases de imágenes heredadas (Bootstrap 5 usa .img-fluid) */
.img-responsive {
  max-width: 100%;
  height: auto;
}

/* Quiénes somos: títulos centrados + texto + logo abajo */
.fundacion-section-heading {
  margin-bottom: 0.35em;
}


/* Footer sitio */
.site-footer {
  padding: 3rem 0 1.5rem;
  color: #fff;
  clear: both;
}

.site-footer__grid {
  margin-bottom: 2rem;
}

.site-footer__brand .site-footer__logo {
  max-height: 64px;
  width: auto;
  margin-bottom: 1rem;
}

.site-footer__tagline {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.site-footer__heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  color: #fff;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li {
  margin-bottom: 0.5rem;
}

.site-footer__links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__contact a {
  color: #fff;
  font-weight: 600;
}

.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 1.25rem;
  text-align: center;
}

.site-footer__legal small {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.site-footer__fineprint {
  margin: 0.75rem 0 0;
}

.site-footer__fineprint a {
  color: #fff;
}

@media screen and (max-width: 767px) {
  .site-footer__nav,
  .site-footer__contact {
    margin-top: 1.5rem;
  }
}

/* Owl nav (theme) */
#fundacionSlider .owl-nav button {
  position: absolute;
  top: 40%;
  background: transparent;
  border: none;
  color: #e33538;
  font-size: 2rem;
  cursor: pointer;
}

#fundacionSlider .owl-nav .owl-prev {
  left: 10px;
}
#fundacionSlider .owl-nav .owl-next {
  right: 10px;
}

#fundacionSlider .owl-dots {
  text-align: center;
  margin-top: 10px;
}

#fundacionSlider .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px;
  background: #ccc;
  display: block;
  border-radius: 50%;
}

#fundacionSlider .owl-dots .owl-dot.active span {
  background: #e33538;
}

/* Home: últimas noticias (Swiper) */
.home-blog-swiper {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.home-blog-swiper__title {
  margin-top: 0.35rem;
  margin-bottom: 2rem;
}

.homeSwiper {
  padding-bottom: 3rem;
  --swiper-theme-color: #e33538;
  --swiper-navigation-size: 28px;
}

.home-blog-card {
  height: 100%;
  background: #fafafa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.home-blog-card__media {
  display: block;
  overflow: hidden;
  background: #eee;
}

.home-blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.home-blog-card__body {
  padding: 1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.home-blog-card__title a {
  color: #231f20;
  text-decoration: none;
}

.home-blog-card__title a:hover {
  color: #e33538;
}

.home-blog-card__excerpt {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 1rem;
  flex: 1;
  line-height: 1.45;
}

.home-blog-card__more {
  align-self: flex-start;
  padding: 0.45rem 1rem;
  font-size: 13px;
}

.home-swiper-pagination {
  bottom: 0 !important;
}

.home-swiper-nav {
  color: #e33538;
}

.home-swiper-nav::after {
  font-size: 1.35rem;
}

.home-blog-swiper__all {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
