/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html{
  margin: 0 !important;
  padding: 0 !important;
  background-color: white;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #000000;
  padding: 0 !important;
  margin: 0 !important;
}

a {
  text-decoration: none;
  color: #f25f70;
}

a:hover {
  color: #7d143b;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #f25f70;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #7d143b;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}



/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 90px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  background: #fff;
  box-shadow: 0 4px 10px -3px rgba(191, 191, 191, 0.5);
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a, #header .logo h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 8vh;
}

@media (max-width: 992px) {
  #header {
    height: 70px;
  }
}

.scrolled-offset {
  margin-top: 6vh;
  padding-top: 9vh;
}

@media (max-width: 992px) {
  .scrolled-offset {
    margin-top: 6vh;
    padding-top: 6vh;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: center;    /* CAMBIO 1: Centra el contenido horizontalmente */
  padding: 10px 20px;         /* CAMBIO 2: Mismo espacio a izquierda y derecha */
  font-size: 15px;
  color: #151515;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: #f25f70;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  font-weight: 600;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: #f25f70;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}


/*--------------------------------------------------------------
# NAVEGACIÓN MÓVIL
--------------------------------------------------------------*/  
.mobile-nav-toggle {
  color: #151515;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 15px;
  color: #151515;
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: #f25f70;
}

.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #f25f70;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}
/* Botón Donar en el menú */
.navbar .btn-donar {
  background-color: #f25f70;
  color: #fff;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 500;
  text-transform: none;
  transition: all 0.3s ease;
  margin-left: 20px;
  border: 1px solid transparent; 
}

.navbar .btn-donar:hover {
  background-color: #fff; 
  color: #de7278; 
  border-color: #de7278; 
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}


#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45); 
  z-index: 1;
}

#hero .hero-container {
  position: relative;
  z-index: 2; 
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 15px;
  color: #fff;
  height: 100%;
}

#hero .hero-container {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 15px;
}

#hero .hero-logo {
  margin-bottom: 30px;
}

#hero h1 {
  margin: 0 0 30px 0;
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
  color: #fff;
}

#hero h2 {
  color: #ffffff;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

#hero .btn-get-started {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 30px;
  border-radius: 3px;
  margin: 10px;
  color: #fff;
  background: #f25f70;
}

#hero .btn-get-started:hover {
  transition: 0.5s;
  background: #fff;
  color: #f25f70;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    line-height: 22px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: whitesmoke;
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-bottom: 0;
  color: #151515;
}

.section-title p {
  margin-bottom: 0;
  color: #aeaeae;
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/

.image {
  display: flex;
  justify-content: center;
  align-items: center;

}

.video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: visible !important;
  border-radius: 12px;
  margin: 0 auto;
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  pointer-events: auto;
}

.about .image {
  padding: 20px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.about .content ul i {
  font-size: 24px;
  padding: 2px 6px 0 0;
  color: #f25f70;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.services .icon-box i {
  font-size: 48px;
  float: left;
  color: #f25f70;
}

.services .icon-box p {
  font-size: 15px;
  color: #959595;
  margin-left: 60px;
}
.service-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  transition: opacity 0.5s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.acordeon-completo{
    display:flex;
    justify-content: center;
}

.accordion-item {
  border-left: none !important;
  border-right: none !important;
  border-top: 1px solid #ddd;   /* línea superior */
  border-bottom: 1px solid #ddd; /* línea inferior */
  border-radius: 0 !important;  /* esquinas rectas */
}
/* Quita el ícono de flecha por defecto de Bootstrap */
.accordion-button::after {
  display: none !important;
}

.accordion-button:not(.collapsed) {
    color: #5a0428;
    background-color: #d9153030;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

/* Agrega el nuevo ícono + a la derecha */
.accordion-button {
  position: relative;
  justify-content: space-between; /* separa texto e ícono */
  font-weight: 600;
  color: #d96c6c;
  background: none;
  border: none;
  box-shadow: none !important;
}

/* Ícono personalizado a la derecha */
.accordion-button::before {
  content: "+";
  font-size: 1.5rem;
  color: #d96c6c;
  position: absolute;
  right: 1rem; /* distancia del borde derecho */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Cambia el ícono al abrir el acordeón */
.accordion-button:not(.collapsed)::before {
  content: "–";
}

/* Quita enfoque azul */
.accordion-button:focus {
  box-shadow: none !important;
}

@media (max-width: 1024px) {
  .why-us .content, .why-us .accordion-list {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 992px) {
  .why-us .content {
    padding-top: 30px;
  }
  .why-us .accordion-list {
    padding-bottom: 30px;
  }
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}




/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.donaciones {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}

.donaciones .section-title h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #000;
}

.donacion-card {
  border: 1px solid #f25f70;
  border-radius: 10px;
  padding: 35px 25px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  width: 320px;   /* ancho fijo */
  height: 450px;  /* alto fijo */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.donacion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px #7d143b;
}

.donacion-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.donacion-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000;
  text-align: center;
}

.donacion-card p {
  font-size: 15px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: center;
}

.btn-donar {
  display: inline-block;
  background-color: #f25f70;
  color: #fff;
  padding: 10px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-donar:hover {
  background-color: #7d143b;
  text-decoration: none;
  color: #fff;
}

/* Contenedor de las tarjetas alineado uniformemente */
.donaciones .row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
}

/* Responsividad */
@media (max-width: 992px) {
  .donacion-card {
    width: 280px;
    height: 420px;
  }
}

@media (max-width: 768px) {
  .donacion-card {
    width: 100%;
    max-width: 320px;
    height: auto;
  }
}

/*--------------------------------------------------------------
# Contact – FORMULARIO CF7 ADAPTADO
--------------------------------------------------------------*/

/* Ajuste general del formulario CF7 con tu estilo */
.contact .php-email-form {
  width: 100%;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
}

/* Grupos */
.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.fix-input {
    width: 50%;
}

/* Estados CF7 */
.contact .php-email-form .wpcf7-form-control-wrap {
  width: 100%;
}

.form-container{
    display: flex;
    justify-content: center;
}

.contacto{
    margin-bottom: 8px !important;
}

/*Aviso*/
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #fba913;
    text-align: center;
}

/* Errores */

.wpcf7 form.spam .wpcf7-response-output {
    border-color: #c90c40;
}
.contact .php-email-form .wpcf7-not-valid-tip {
  color: #9e1044;
  font-size: 13px;
  margin-top: 4px;
  text-align: center;
}

/* Mensaje de envío fallido */
.contact .php-email-form .wpcf7-response-output.wpcf7-validation-errors {
  color: #fff;
  background: #9e1044;
  padding: 15px;
  font-weight: 600;
  border: none;
  margin: 10px 0 0;
  text-align: center;
}

/* Mensaje enviado */
.contact .php-email-form .wpcf7-response-output.wpcf7-mail-sent-ok {
  color: #fff;
  background: #7d143b;
  padding: 15px;
  font-weight: 600;
  border: none;
  text-align: center;
  margin: 10px 0 0;
}

/* Loading */
.contact .php-email-form .wpcf7-spinner {
  margin: 10px auto;
  display: flex;
}

/* Inputs */
.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  width: 100%;
  border: 1px solid #ccc;
}

.contact .php-email-form input {
  height: 44px;
  padding: 10px 12px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
  resize: vertical;
}

/* Botón */
.contact .php-email-form input[type="submit"],
.contact .php-email-form button[type="submit"] {
  background: #f25f70;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
  cursor: pointer;
  max-width: 12vh;
}

.contact .php-email-form input[type="submit"]:hover,
.contact .php-email-form button[type="submit"]:hover {
  background: #7d143b;
}

/* Mantengo tu animación */
@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 14px;
  position: relative;
}

#footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #000000;
  z-index: 1;
}

#footer .footer-top {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 35px 0;
}

#footer .footer-logo img {
  height: 100px;
  margin-bottom: 20px;
}

#footer .footer-top h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 30px 0 0 0;
  margin-bottom: 0;
}

#footer .footer-top p {
  font-size: 15;
  font-style: italic;
  margin: 30px 0 0 0;
  padding: 0;
}

#footer .footer-top .footer-newsletter {
  text-align: center;
  font-size: 15px;
  margin-top: 30px;
}

#footer .footer-top .footer-newsletter form {
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #f25f70;
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #7d143b;
}

#footer .footer-top .social-links {
  margin-top: 30px;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #f25f70;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #7d143b;
  color: #fff;
  text-decoration: none;
}

#footer .footer-bottom {
  border-top: 1px solid #222222;
  z-index: 2;
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  padding-top: 5px;
}



/* Sección general */
.shop-section {
  position: relative;
  background-image: url('../img/tienda.png'); /* tu imagen completa */
  background-size: cover; /* que ocupe todo el ancho */
  background-position: center; /* centrada */
  background-repeat: no-repeat;
  height: 100vh; /* ocupa toda la pantalla, puedes ajustar */
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Capa para suavizar el contraste */
.shop-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 8%;
    background-image: url(../../img/tienda1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    justify-content: flex-start;
}

/* Bloque de texto */
.shop-text {
max-width: 450px;
padding: 40px;
  border-radius: 12px;

}

.shop-text h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.shop-text p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    text-align: start;
    margin-bottom: 25px;
}

.shop-btn {
  background-color: #f25f70;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.shop-btn:hover {
  background-color: #7d143b;
  color:#ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------
# RESPONSIVE SHOP SECTION (Móviles)
-------------------------------------------------------------- */
@media (max-width: 768px) {
  .shop-section {
    height: auto;          /* Altura flexible */
    min-height: 100vh;     /* Pero que ocupe al menos toda la pantalla */
    padding: 0;            /* Quitamos padding extra del contenedor padre */
  }

  .shop-overlay {
    flex-direction: column; /* Cambia la dirección: Texto arriba, espacio abajo */
    padding-left: 0;        /* Quitamos el empuje de la izquierda */
    justify-content: flex-start; /* Alineamos todo al inicio (arriba) */
    padding-top: 60px;      /* Espacio arriba para que no pegue con el menú */
    
    /* Mover la imagen tienda1.png abajo */
    background-position: center bottom 10%; /* Centrada y abajo */
    background-size: 80%;   /* Ajustar tamaño para que quepa bien en pantalla */
    padding-bottom: 300px;  /* ¡Importante! Espacio vacío abajo para que se vea la imagen */
  }

  .shop-text {
    max-width: 90%;         /* Ancho seguro */
    margin: 0 auto;         /* Centrado en pantalla */
    text-align: center;     /* Texto centrado para celular */
    
    /* Tarjeta de "Cristal" para asegurar lectura */
    background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco casi sólido */
    backdrop-filter: blur(5px); /* Efecto borroso bonito detrás */
  }

  .shop-text p {
    text-align: center; /* Forzamos que el párrafo también se centre */
  }
  
  /* Ajuste de títulos para que no sean gigantes en celular */
  .shop-text h2 {
    font-size: 1.8rem; 
  }
}

/*--------------------------------------------------------------
# RECURSOS
--------------------------------------------------------------*/
.container.rec{
  max-width: 830px;
}

h3.recu{
font-size: 1.30rem;
color: #f25f70;
margin-bottom: 20px;
text-align: center;
}

.recursos {
    padding: 60px 0;
    background-color: #fff;
    font-family: "Montserrat", sans-serif;
    color: #000000; 
  }
  
  .recursos .section-title {
    text-align: center;
    margin-bottom: 24px;
    text-decoration: underline #b8235a 5px;
}
  
  .recursos .section-title h2 {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 800;
    color: #7d143b;
    margin-bottom: 10px;
  }
  
  .recursos .section-title p {
    font-size: 16px;
    color: #000000;
  }
  
  /* Cada bloque de recurso */
  .recurso {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    flex-wrap: wrap;
  }
  
  /* Texto del recurso */
  .recurso-texto {
    text-align: left;
    flex: 1;
  }
  
  .recurso-texto h4 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
  }
  
  .recurso-texto p {
    font-size: 15px;
    color: #000000;
    margin: 0;
    text-align: left;
  }

  .texto-recursos{
    text-align: start;
  }
  
  /* Botón */
  /* Botón */
  .btn-leer {
    background: #7d143b;
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  }
  
  .btn-leer:hover {
     background: #ec6272;
    color: #fff;
  }
  
  /*---------------------
  MEMORIAS
-----------------------*/
  
.spad {
	padding-top: 80px;
	padding-bottom: 80px;
}
  
.section-title {
	text-align: center;
	margin-bottom: 70px;
  
}
  
.section-title h2 {
	font-size: 32px;
	font-weight: 700;
	margin-top: 10px;
}

/*---------------------
  Categoría y Botones
-----------------------*/

.catalog-title {
    display: inline-block;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7d143b;
    padding: 6px 25px;
    border-radius: 25px;
    text-decoration: underline #b8235a 5px;
}

button,
.btn-memorias {
  background: rgb(125, 20, 59);
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none; /* MUY IMPORTANTE para <a> */
  display: inline-block;
}

button:hover,
.btn-memorias:hover {
  background: rgb(236, 98, 114);
}

/*---------------------
  Review Section
-----------------------*/

.review-section {
	background-position: right top;
}

.review-item {
	text-align: center;
	margin-bottom: 30px;
	position: relative; /* Para posicionar el score */
}

.review-cover {
	overflow: hidden;
	border-radius: 10px;

	box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.review-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.review-cover:hover img {
	transform: scale(1.08);
}

/* Score fuera de la imagen */
.review-item .score {
	position: absolute;
	top: -27px;
	left: 26px;
	width: 54px;
	height: 54px;
	padding-top: 15px;
	font-size: 18px;
	font-weight: 500;
	background-color: #d73a6c !important;
	color: #fff;
	text-align: center;
	border-radius: 50%;
	z-index: 2;
}

/* Colores de etiquetas */
.score.yellow { background: #ffb320; }
.score.purple { background: #7d143b; }
.score.green  { background: #4eae60; }
.score.pink   { background: #ff20ae; }

.review-text h5 {
	margin: 8% 0%;
	font-size: 17px;
	font-weight: 500;
}

/*---------------------
  Responsividad
-----------------------*/

@media (max-width: 767px) {
	.review-cover {
	  height: 280px;
	}
	.section-title h2 {
	  font-size: 26px;
	}
}

/* Contenedor de las memorias */
.row-memoria {
	display: flex;
	flex-wrap: wrap; /* Permite que se vaya a la siguiente fila */
	justify-content: center; /* Centra los elementos si son menos de 3 */
	gap: 30px; /* Espacio entre columnas */
}


/* Ajuste para tablet / móvil */
@media (max-width: 991px) {
	.col-lg-3 {
		flex: 0 0 calc(50% - 15px); /* 2 columnas en tablet */
	}
}

@media (max-width: 767px) {
	.col-lg-3 {
		flex: 0 0 100%; /* 1 columna en móvil */
	}
}

/*--------------------------------------------------------------
# Recursos accesibles
--------------------------------------------------------------*/  
.my-5 {
    margin-top: 14vh !important;
    margin-bottom: 3rem !important;
}
  
  .canvas-secciones {
    font-family: 'Poppins', sans-serif;
    color: #2e4057;
    padding: 2rem 1rem;
  }
  
  .canvas-bloque {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: #fafafa;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }


  .boton-fijo{
    margin-top: auto;
  }

  
  .canvas-bloque:hover {
    transform: translateY(-5px);
  }
  
  .canvas-bloque h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  
  .canvas-bloque p {
      text-align: start;
  }
  
  h1 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    text-align: center;
  }
  
  p {
  
    text-align: center;
  }
  
  .canvas-bloque p {
    max-width: 700px;
    margin: 0 auto 1.8rem;
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .canvas-bloque img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .canvas-bloque img:hover {
    transform: scale(1.03);
  }
  
  /* Forzar centrado en la página de recursos */
.canvas-bloque .card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centra el contenido horizontalmente */
    text-align: center !important;
}

.canvas-bloque .card h3 {
    width: 100%;
    text-align: center !important;
}

.canvas-bloque .canvas-botones {
    justify-content: center !important;
}
  
 .canvas-botones {
    display: grid;
    grid-template-columns: repeat(2, auto); 
    gap: 25px 40px; 
    justify-content: center; 
}

  
  .card {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 220px;
  }
  
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  }
  
  .card h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .card button {
    background: #7d143b;
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
  }
  
  .card button:hover {
    background: rgb(236, 98, 114);
  }
  
/*--------------------------------------------------------------
# Equipo
--------------------------------------------------------------*/

/* ===== Sección Quienes Somos ===== */
.quienes {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.quienes-box {
  position: relative;
  background-color: #902045;
  color: #fff;
  border-radius: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1000px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 40px 80px 40px 260px; /* espacio suficiente para el logo */
  overflow: hidden;
}

/* Imagen circular pegada al borde izquierdo */
.quienes-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.quienes-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Texto */
.quienes-box p {
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
  text-align: justify;
  max-width: 680px;
  position: relative;
  z-index: 2; /* asegura que el texto esté por encima del logo */
}

/* ===== Responsividad ===== */
@media (max-width: 992px) {
  .quienes-box {
    flex-direction: column;
    padding: 180px 30px 40px;
    border-radius: 60px;
  }

  .quienes-logo {
    position: static;
    transform: none;
    margin: 0 auto 20px;
    width: 160px;
    height: 160px;
  }

  .quienes-box p {
    text-align: center;
    font-size: 15px;
  }
}


/* ===== Misión ===== */
.mision {
  background-color: #4b4b4b;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.mision-text {
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 16px;
}

/* ===== Equipo ===== */
.equipo {
  background-color: #fff;
  color: #1b1b1b;
  padding: 80px 0;
  text-align: center;
}

.equipo p {
  max-width: 800px;
  margin: 0 auto 25px;
  line-height: 1.7;
  font-size: 15px;
  color: #2e2e2e;
}

.btn-memoria {
  display: inline-block;
  background-color: #902045;
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-memoria:hover {
  background-color: #5c1e2b;
  color: #fff;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  background: #fff;
  padding: 60px 0;
}

.team .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  text-transform: capitalize;
  color: #1a2b57; 
  margin: 60px 0 40px;
}

/* ===== cartas ===== */
.team .member {
  margin-bottom: 20px;
  overflow: hidden;
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: -40px;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: bottom ease-in-out 0.4s;
  background: rgba(242, 95, 112);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a i {
  line-height: 0;
}

.team .member .social a:hover {
  color: #fff;
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin: 15px 0 5px 0;
  font-size: 18px;
  text-align: center;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 15px;
  color: #f25f70;
  text-align: center;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #888888;
  text-align: justify;
}

/* Hover redes */
.team .member:hover .social {
  bottom: 0;
  opacity: 1;
  transition: bottom ease-in-out 0.4s;
}

/* ===== Responsividad ===== */
@media (max-width: 768px) {
  .quienes-box {
    flex-direction: column;
    text-align: center;
  }

  .team .section-title {
    font-size: 24px;
  }

  .team .member .member-info p {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# libro
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Estilos globales
--------------------------------------------------------------*/


a {
  text-decoration: none;
  color: #f25f70;
}

a:hover {
  color: #7d143b;
  text-decoration: none;
}

 h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  color: #222;
}
h1{
  font-family: "Montserrat", sans-serif;
  margin: 0;
  color: #ffffff;
}


p {
  text-align: center;
  line-height: 1.6;
  margin: 0 0 1rem;
}

/*--------------------------------------------------------------
# Hero - Portada del Libro
--------------------------------------------------------------*/
.hero-libro {
  position: relative;
  background: url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-libro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-principal {
  background-color: #f96c73;
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px;
  transition: 0.3s;
  font-weight: 500;
}

.btn-principal:hover {
  background-color: #ff8b90;
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Introducción
--------------------------------------------------------------*/
.intro {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 60px;
  padding: 0 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.intro p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 25px;
}

.intro strong {
  color: #f96c73;
  font-weight: 600;
}

.intro .iconos {
  margin-top: 10px;
  font-size: 1.8rem;
  color: #f96c73;
}

.intro .iconos i {
  margin: 0 8px;
}


/*--------------------------------------------------------------
# Sección del libro
--------------------------------------------------------------*/
.libro-familias {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.libro-visor {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  max-width: 1100px;
  width: 100%;
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  padding-top: 70%; /* relación 16:9 ampliada */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  background: #000;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/*--------------------------------------------------------------
# Botón de descarga (real button)
--------------------------------------------------------------*/
.btn-descarga {
  display: inline-block;
  background-color: #f96c73;
  color: #fff;
  padding: 12px 32px;
  border-radius: 40px;
  border: none;
  margin-top: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(249, 108, 115, 0.3);
}

.btn-descarga:hover {
  background-color: #ff8b90;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 139, 144, 0.4);
}

/*--------------------------------------------------------------
# Audiolibro
--------------------------------------------------------------*/
.audiolibro {
  background-color: #f8f8f8;
  text-align: center;
  border-radius: 20px;
  padding: 60px 10%;
}

.audio-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.audio-container img {
  width: 220px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

audio {
  width: 100%;
  max-width: 600px;
}

/*--------------------------------------------------------------
# Transcripción
--------------------------------------------------------------*/
.transcripcion {
  text-align: center;
  padding: 60px 20px;
}

/*--------------------------------------------------------------
# Colaboradores
--------------------------------------------------------------*/
.colaboradores {
  background-color: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 60px 20px;
  text-align: center;
}

.grid-colaboradores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.card-libro {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.card-libro:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

/*--------------------------------------------------------------
# Responsividad
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .libro-visor .iframe-wrapper {
    padding-top: 90%;
  }

  .libro-visor iframe {
    height: 400px;
  }

  .audio-container img {
    width: 160px;
  }

  .btn-descarga {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# noticias
--------------------------------------------------------------*/

/* Forzamos que el contenedor tenga altura y posición */
.news-hero {
    position: relative !important;
    width: 100%;
    min-height: 400px; /* Le damos altura obligada */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #333; /* Fondo gris por si la imagen falla */
}

/* Forzamos a la imagen a mostrarse sí o sí */
.fondo-noticias-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important; /* Detrás del texto */
    display: block !important;
    opacity: 0.6; /* Un poco oscura para leer el texto */
}

/* El texto encima */
.news-hero h1 {
    position: relative;
    z-index: 10;
    color: white;
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

a {
  text-decoration: none;
  color: #f25f70;
}

a:hover {
  color: #7d143b;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
}


/* Hero de Noticias */
.news-hero {
  position: relative;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  color: white;
  text-align: center;
  border-radius: 12px;
  overflow: hidden; /* importante para que la imagen no se salga */
}

.news-hero img.fondo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover; /* se comporta igual que background-size: cover */
  top: 0;
  left: 0;
  z-index: -1; /* queda atrás del texto */
}


.news-hero h1 {
  font-size: 3em;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
  margin: 0;
}

/* Cards de noticias */
/* ====================================== */
/*             CARDS DE NOTICIAS          */
/* ====================================== */

.noticia-single .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 16px;
}

.titulo-noticia {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.noticia-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.imgdestacada-noticia img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 25px;
}

.contenido-noticia {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: black;
}

.noticia-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  display: flex;
  flex-direction: column;
  height: auto; /* todas las cards iguales */
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Imagen fija, incluso si no existe */
.news-image {
  height: 220px;
  background: #e6e6e6; /* color por si no hay imagen */
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenido flexible para igualar alturas */
.news-content {
  padding: 20px;
  text-align: center;

  display: flex;
  flex-direction: column;
  flex-grow: 1; /* permite que el contenido se expanda */
}

.news-content h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.news-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  word-break: break-word;
}

/* Botón siempre al fondo */
.diseno {
  background: #7d143b;
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;

  margin-top: auto; /* empuja el botón hacia abajo */
}

.diseno:hover {
  background: #ec6272;
}

.pagination {
    display: flex;
    justify-content: center;
    width: 100%; /* Asegura que el contenedor ocupe todo el ancho */
}

.pagination ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
    padding: 0; /* ESTO ES LO QUE FALTA: Quita el margen interno que traen las listas */
    margin: 0;
}

.pagination li a, .pagination li span {
    border: 1px solid #ccc;
    padding: 5px 12px;
    border-radius: 3px;
    text-decoration: none;
    color: #333; /* O el color que prefieras */
}

.pagination li span.current {
    background: #7d143b;
    color: white;
    border-color: #7d143b;
}

/* --- Celular --- */
@media (max-width: 480px) {
    /* No hace falta repetir .pagination display flex si ya está arriba */
    
    .pagination ul {
        gap: 5px; /* Un poco menos de espacio entre botones */
    }

    .pagination li a, .pagination li span {
        padding: 6px 8px; /* Reducimos el padding lateral para que no toque los bordes */
        font-size: 11px;   /* Un pelín más pequeño ayuda a que respire el texto */
    }
}

/* ====================================== */
/*               RESPONSIVO               */
/* ====================================== */

@media (max-width: 767px) {
  .news-image {
    height: 180px;
  }
  .news-content h5 {
    font-size: 16px;
  }
}



/*--------------------------------------------------------------
# Equipo
--------------------------------------------------------------*/

button:focus-visible,
a:focus-visible {
  outline: 3px solid #f25f70 !important;
  outline-offset: 3px;
  border-radius: 4px;
}

.quienes-somos {
  background-color: #fff;
  padding: 60px 0;
  text-align: center;
}

.quienes-box {
  background-color: #902045; 
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 180px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.quienes-logo {
  width: 260px;
  height: auto;
  flex-shrink: 0;
  margin-left: 0;
}

.quienes-box p {
  flex: 1;
  padding: 40px 80px 40px 40px; 
  text-align: justify;
  line-height: 1.7;
  font-size: 16px;
  margin: 0;
}

/* Misión */
.mision {
  color: #fff;
  padding: 100px 0;
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(0, 0, 0, 75%); /* color + opacidad */
  background-blend-mode: multiply;
  background-position: center;
}

.mision-text {
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 16px;
}

/* Equipo */
.equipo {
  background-color: #fff;
  color: #1b1b1b;
  padding: 80px 0 0;
  text-align: center;
}

.equipo p {
  max-width: 800px;
  padding-top: 2%;
  text-align: justify;
  margin: 0 auto 25px;
  line-height: 1.7;
  font-size: 16px;
  color: #2e2e2e;
}

.btn-memoria {
  display: inline-block;
  background-color: #902045;
  color: #fff!important;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-memoria:hover {
  background-color: #5c1e2b;
  color: #fff;
}

/* Personas */
.team {
  background: #fff;
  padding: 0;
}

.team .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  text-transform: capitalize;
  color: #000000; 
  margin: 60px 0 40px;
}


.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  max-width: 19rem;
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: -40px;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: bottom ease-in-out 0.4s;
  background: rgba(242, 95, 112);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a i {
  line-height: 0;
}

.team .member .social a:hover {
  color: #fff;
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin: 15px 0 5px 0;
  font-size: 18px;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 15px;
  color: #f25f70;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #888888;
  text-align: left;
}

/* Responsivoo */
@media (max-width: 768px) {
  .quienes-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    border-radius: 40px;
  }

  .quienes-logo {
    width: 150px;
    margin-bottom: 20px;
  }

  .quienes-box p {
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    padding: 0;
  }


  .team .section-title {
    font-size: 24px;
  }

  .team .member .member-info p {
    text-align: center;
  }
}
/*--------------------------------------------------------------
# Cursos
--------------------------------------------------------------*/
.section-titulo-curso {
    /* Medidas */
    width: 100%;
    height: 300px; /* O la altura que quieras */
    
    /* Configuración del fondo */
    background-size: cover;      /* Rellena todo el espacio */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat;
    
    /* Para centrar el texto "Cursos" */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Un toque extra: Una capa oscura para que se lea el texto */
    position: relative;
}

/* Opcional: Capa oscura (overlay) sobre la imagen */
.section-titulo-curso::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); /* Negro al 40% */
}

.section-titulo-curso h2 {
    color: white;
    position: relative; /* Para que quede encima de la capa oscura */
    z-index: 2;
}


.cursos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px; /* para juntar o separar mas las tarjetas */
    padding: 80px 20px;
     max-width: 960px;
    margin: 0 auto;
}


.cursos-card {
    width: 260px; /* antes 240px → un poquito más grande */
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    text-align: center;

    /* para que todas midan lo mismo */
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 380px; /* <-- AJUSTA AQUÍ el alto global */
}


.cursos-card img {
    width: 100%;
    border-radius: 4px;
    transition: transform 0.7s ease; /* Suavidad */
}

.cursos-card:hover img {
    transform: scale(1.08); /* Zoom */
}


.cursos-card h3 {
    font-size: 15px;
    margin: 10px 0;
}

.autor {
    font-size: 12px;
    color: #444;
    margin-bottom: 10px;
}

.info-curso {
    font-size: 12px;
    color: #666;
    padding: 0;
    list-style: none;
    margin: 0 0 10px;
}

.precio-curso {
    color: green;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-curso {
  display: inline-block;
  background-color: #f25f70;
  color: #fff;
  padding: 10px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-curso:hover {
  background-color: #7d143b;
  text-decoration: none;
  color: #fff;
}

.cursos-card h3,
.cursos-card .autor,
.cursos-card .info-curso,
.cursos-card .precio-curso {
    flex-shrink: 0; /* evita deformaciones */
}

/*------------------------------------------------------------
# A:VISITED
------------------------------------------------------------*/

/* ======================================================
   CORRECCIÓN DEFINITIVA DE COLORES Y ENLACES
   ====================================================== */

/* 1. Enlaces normales (Menú, párrafos, footer) */
/* Deben tener color para verse sobre el fondo blanco */
a, 
a:visited {
  color: #f25f70; /* Tu color rosado/rojo normal */
}

a:hover, 
a:focus {
  color: #7d143b; /* Color oscuro al pasar el mouse */
}

/* 2. LISTA VIP: Botones que OBLIGATORIAMENTE deben tener texto blanco */
/* Aquí puse todas las clases de botones que tienes en tu archivo */
.shop-btn,
.btn-donar,
.btn-get-started,
.btn-leer,
.btn-memorias,
.btn-memoria,
.btn-principal,
.btn-descarga,
.btn-curso,
.diseno,           /* <--- Este era el rebelde de las noticias */
.back-to-top,
.social-links a {  /* Los iconos del footer */
    color: #ffffff !important;
}

/* Aseguramos que al visitarlos SIGAN siendo blancos */
.shop-btn:visited,
.btn-donar:visited,
.btn-get-started:visited,
.btn-leer:visited,
.btn-memorias:visited,
.btn-memoria:visited,
.btn-principal:visited,
.btn-descarga:visited,
.btn-curso:visited,
.diseno:visited,
.back-to-top:visited,
.social-links a:visited {
    color: #ffffff !important;
}

/* 3. Ajuste especial para tu menú (que a veces se ponía gris/blanco) */
.navbar a.nav-link:visited {
    color: #151515 !important; /* Negro suave para que se vea limpio */
}
.navbar a.nav-link:hover {
    color: #f25f70 !important; /* Rosado al pasar el mouse */
}

/* CONVERTIR EL ÚLTIMO ITEM DEL MENÚ EN BOTÓN */



/* 1. Estilo base: Normal, Visitado y sus hijos (*) */
.navbar ul li:last-child a,
.navbar ul li:last-child a:visited, /* <--- AQUÍ ESTÁ EL CAMBIO IMPORTANTE */
.navbar ul li:last-child a * { 
    background-color: #902045 !important;
    color: #ffffff !important; /* Blanco forzado siempre */
    border-radius: 50px !important;
    transition: all 0.3s ease !important; 
}

/* 2. Ajustes de la "caja" (padding y márgenes) */
.navbar ul li:last-child a {
    padding: 10px 25px !important;
    margin-left: 15px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: inline-block !important; 
    text-decoration: none !important; /* Por si acaso aparece subrayado */
}

/* 3. Efecto al pasar el mouse (Hover) */
.navbar ul li:last-child a:hover,
.navbar ul li:last-child a:hover * {
    background-color: #f25f70 !important; 
    color: #ffffff !important;
}

/* 4. Animación de movimiento */
.navbar ul li:last-child a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* FINAL MOBILE */
/* --- VERSIÓN MÓVIL (Pantallas menores a 768px) --- */
@media (max-width: 768px) {
  .navbar ul li:last-child {
    padding: 6px 15px !important; /* Mucho menos relleno que en escritorio */
    font-size: 14px !important;   /* Letra un poco más chica */
    width: auto !important;       /* Se ajusta al texto */
    margin-left: 5px !important;  /* Menos margen para que quepa bien */
    display: flex;
    justify-content: center;
  }
}

.mobile-nav-toggle {
  color: #000;       /* Color del icono (negro suave) */
  font-size: 28px;      /* Tamaño grande y cómodo para el dedo */
  cursor: pointer;
  display: none;        /* Oculto en PC por defecto */
  line-height: 0;
  transition: 0.5s;
  z-index: 9999;        /* Asegura que flote sobre todo */
}

/* Solo mostrar en celulares */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
}

/*------------------------------------------------------------
# 404
------------------------------------------------------------*/

/* 1. El Contenedor Principal (Centra todo en la pantalla) */
.contenedor-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80vh; /* Ocupa el 80% de la altura de la pantalla */
    padding: 20px;
    background-color: #f9f9f9; /* Un gris muy clarito de fondo */
}

/* 2. El Número Gigante "404" */
.titulo-404 {
    font-size: 10rem; /* Tamaño enorme */
    font-weight: 900;
    line-height: 1;
    color: #f25f70; /* Tu color Rosado */
    opacity: 0.15;  /* Transparente para que sea un fondo sutil */
    margin: 0;
    user-select: none; /* Evita que se seleccione al arrastrar */
}

/* 3. El Mensaje Principal ("Vaya!...") */
.subtitulo-404 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #902045; /* Tu color Vino */
    margin-top: -60px; /* Truco: Lo subimos para que pise el número 404 */
    margin-bottom: 20px;
    position: relative; /* Para que quede encima del número */
}

/* 4. El Texto de descripción */
.texto-404 {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px; /* Para que el texto no sea muy ancho */
    margin: 0 auto 40px auto; /* Centrado horizontal */
    line-height: 1.6;
}

/* 5. El Botón "Volver al Inicio" */
.btn-404 {
    display: inline-block;
    background-color: #902045; /* Fondo Vino */
    color: #ffffff !important; /* Texto Blanco */
    padding: 15px 40px;
    border-radius: 50px; /* Bordes redondos */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease; /* Animación suave */
    box-shadow: 0 4px 15px rgba(144, 32, 69, 0.3); /* Sombra suave color vino */
}

/* Efecto al pasar el mouse por el botón */
.btn-404:hover {
    background-color: #f25f70; /* Cambia a Rosado */
    transform: translateY(-3px); /* Se eleva un poquito */
    box-shadow: 0 8px 25px rgba(242, 95, 112, 0.4); /* Sombra rosada */
}

/* --- VERSIÓN MÓVIL (Para que no se rompa en celulares) --- */
@media (max-width: 768px) {
    .titulo-404 {
        font-size: 6rem; /* Número más chico en celular */
    }
    .subtitulo-404 {
        font-size: 1.8rem;
        margin-top: -30px;
    }
    .texto-404 {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/*--------------------------------------------------------------
# ACCESIBILIDAD: SKIP TO CONTENT
--------------------------------------------------------------*/

/* 1. Oculta el texto para usuarios visuales pero lo deja para lectores de pantalla */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* 2. Hace que el texto APAREZCA cuando navegas con la tecla TAB */
.screen-reader-text:focus {
    background-color: #ffffff; /* Fondo blanco para que resalte */
    border-radius: 0 0 10px 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    color: #902045 !important; /* Tu color vino para el texto */
    display: block;
    font-size: 14px;
    font-weight: 700;
    left: 50%;
    margin-left: -100px; /* Centrado horizontal aproximado */
    padding: 15px 30px;
    position: absolute;
    top: 0;
    width: 200px;
    text-align: center;
    text-decoration: none;
    z-index: 100000; /* Por encima de todo el header */
    clip: auto !important;
    clip-path: none;
    height: auto;
}

/* ==========================================================================
   BUSCADOR GLOBAL OVERLAY
   ========================================================================== */

/* Icono de Lupa en el Menú */
.search-toggle {
    margin-left: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #444;
    transition: 0.3s;
    display: inline-block;
}

.search-toggle:hover {
    color: #7d143b;
}

/* El panel que cae desde arriba */
.search-overlay {
    position: fixed;
    top: -120px; /* Escondido arriba */
    left: 0;
    width: 100%;
    height: 100px;
    background: #ffffff;
    z-index: 99999; /* Máxima prioridad visual */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    transition: all 0.4s ease-in-out;
    
    /* "Seguros" para que empiece invisible */
    visibility: hidden;
    opacity: 0;
}

/* Clase que activa el JS */
.search-overlay.active {
    top: 12px;
    visibility: visible;
    opacity: 1;
    z-index: 8;
}

/* Contenedor interno del formulario */
.search-form-overlay {
    display: flex;
    align-items: center;
    position: relative;
    top: -28px;
    width: 100%;
    gap: 15px;
}

/* El input de texto */
.search-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #7d143b;
    padding: 10px 0;
    font-size: 1.5rem;
    outline: none;
    background: transparent;
}

/* Botón de buscar (lupa interna) */
.search-submit-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #7d143b;
    cursor: pointer;
    padding: 0;
}

/* Botón de cerrar (X) */
.search-close {
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    transition: 0.3s;
}

.search-close:hover {
    color: #7d143b;
    transform: rotate(90deg);
}

/* Ajustes para Móvil */
@media (max-width: 768px) {
    .search-form-overlay {
    display: flex;
    align-items: center;
    position: relative;
    top: -15px;
    width: 100%;
    gap: 15px;
    }
    .search-toggle{
        margin-right: 15px;
    }
    .search-overlay {
        height: 80px;
    }
    .search-input {
        font-size: 1.1rem;
    }
    .search-close {
        font-size: 1.8rem;
    }
}

/*---------------------------------------------------------
# PÁGINA RESULTADOS GLOBAL
---------------------------------------------------------*/

.search-result-header {
    background: #a93460;
    padding: 60px 20px;
    margin: 4% 0%;
    color: white;
    border-radius: 10px;
    border-left: 5px solid #ed5f6c;
}

.search-result-header h1 {
    color: white;
    font-weight: 700;
}

.search-result-header p {
    color: #f7efef;
    font-weight: 400;
    font-style: italic;
}

.no-results {
    background: #fff;
    border: 1px dashed #ccc;
    border-radius: 10px;
}

/*--------------------------------------------------------------
# BARRA ADMINISTRATIVA DE WORDPRESS
--------------------------------------------------------------*/
#wpadminbar {
  display: none !important;
}


