/* Estilos específicos para la página de donaciones */

:root {
  --accent-celeste: #5ed3f3;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px; /* Espacio para el navbar y respiro abajo */
  overflow: hidden;
  z-index: 1; /* Crea un contexto de apilamiento para los hijos */
  background: #1a1a2e; /* Color de respaldo */
}

.hero-slideshow {
  z-index: 1 !important; /* Las fotos son la capa base */
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px); /* Reducido de 12px a 2px para mayor claridad */
  z-index: 2; /* Encima de las fotos para el efecto cristal */
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* Ligeramente más claro para que los colores resalten */
  z-index: 3; /* Oscurece un poco para que resalte el texto */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero .container {
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10; /* Asegura que el texto y botones estén siempre al frente */
}

.hero-left {
  color: white;
  text-align: left;
}

.top-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #f0d890;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-left h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); /* Tamaño fluido según la pantalla */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.hero-left h1 span {
  background: linear-gradient(to right, #d4af69, #f0d890);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-left p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 550px;
}

.verse-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 24px;
  font-style: italic;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.verse-box i {
  font-size: 2rem;
  color: #f0d890;
}

.verse-box div {
  text-align: left;
}

.verse-box div strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-item i {
  font-size: 1.8rem;
  color: #d4af69;
  flex-shrink: 0;
  margin-top: 4px;
}

.hero-item div {
  text-align: left;
}

.hero-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.hero-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.content {
  padding: 4rem 0;
  background-color: #f8f6f1;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-header span {
  background: linear-gradient(to right, #d4af69, #f0d890);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1a1a2e;
  font-weight: 600;
  font-size: 0.9rem;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.payment-card .section-header {
  justify-content: center;
}

.payment-card,
.form-card {
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  border: 1px solid rgba(212, 175, 105, 0.1);
}

.payment-card {
  background: #1a1a2e;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.payment-card .section-header h2 {
  color: white;
}

.form-card {
  background: white;
}

/* ===== BANCOS ===== */

.bank-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap; /* Fuerza que estén en horizontal en desktop */
  width: 100%;
}

.bank-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 105, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex: 1;
  min-width: 280px;
  max-width: 420px;
  background: white;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
}

.bank-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d4af69, #f0d890, #d4af69);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.bank-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(212, 175, 105, 0.2);
  border-color: #d4af69;
}

.bank-title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.bank-logo {
  max-width: 160px;
  height: auto;
  border-radius: 16px;
  background: white;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.bank-card:hover .bank-logo {
  transform: scale(1.05);
}

.bank-title img {
  max-height: 60px;
  width: auto;
}

.accounts {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.account {
  padding: 1.5rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(180deg, #ffffff 0%, rgba(212, 175, 105, 0.04) 100%);
  border: 1px solid rgba(212, 175, 105, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px;
}

.account:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.account:hover {
  background: white;
  border-color: #d4af69;
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(212, 175, 105, 0.1);
}

.account h4 {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #d4af69;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.account-details p {
  margin: 0.4rem 0;
  font-size: 0.9rem;
  color: #444;
}

.account-details p strong {
  color: #f0d890;
  background: #1a1a2e;
  padding: 6px 18px;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  border: 1px solid #d4af69;
  display: inline-block;
  margin-top: 8px;
  margin-left: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.form-note {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #eee;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #d4af69;
  box-shadow: 0 0 0 3px rgba(212, 175, 105, 0.2);
}

.input-group.full-width {
  margin-bottom: 2rem;
}

.input-group textarea {
  min-height: 120px;
  resize: vertical;
}

.send-button {
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(to right, #d4af69, #f0d890);
  border: none;
  border-radius: 12px;
  color: #1a1a2e;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.send-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 105, 0.4);
}

.send-button:active {
  transform: translateY(0);
}

.secure-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  margin-top: 2rem;
}

.secure-box i {
  font-size: 1.5rem;
  color: #10b981;
}

.secure-box span {
  font-size: 0.95rem;
  color: #555;
}

/* ===== CONTACTO ===== */

.contact-section {
  text-align: center;
  margin-top: 3rem;
}

.contact-section .section-header {
  justify-content: center;
  margin-bottom: 0.5rem;
}

.contact-note {
  text-align: center;
  margin-bottom: 2.5rem;
  color: #666;
  font-size: 1.1rem;
}

.contact-actions-vertical {
  display: flex;
  flex-direction: row; /* Horizontal en pantallas grandes */
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 160px;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #1a1a2e;
  font-weight: 800;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  position: relative;
}

.contact-link img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.contact-link span {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.contact-link.whatsapp {
  border-bottom: 5px solid #25D366;
}

.contact-link.whatsapp:hover {
  transform: translateY(-10px);
  background: #25D366;
  color: white;
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
}

.contact-link.email {
  border-bottom: 5px solid #EA4335;
}

.contact-link.email:hover {
  transform: translateY(-10px);
  background: #EA4335;
  color: white;
  box-shadow: 0 20px 40px rgba(234, 67, 53, 0.3);
}

.contact-link:hover img {
  transform: scale(1.15) rotate(5deg);
  filter: brightness(0) invert(1);
}

/* Responsivesive */

@media (max-width: 992px) {
  .bank-grid {
    flex-wrap: wrap; /* Empiezan a apilarse en tablets */
    gap: 2rem;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .top-label {
    justify-content: center;
  }

  .hero-left h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-left p {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
  }

  .verse-box {
    justify-content: center;
    max-width: 600px;
  }

  .hero-right {
    justify-content: center;
  }

}

@media (max-width: 576px) {
  .payment-card,
  .form-card {
    padding: 1.5rem;
  }

  .contact-actions-vertical {
    flex-direction: column; /* Se ponen uno arriba del otro en celulares */
    width: 100%;
  }

  .verse-box {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
    padding: 1.25rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .hero-card {
    padding: 1.5rem;
  }

  .bank-grid {
    flex-wrap: wrap; /* En móviles sí permitimos que se pongan uno abajo del otro */
  }

  .bank-card {
    width: 100%; /* Ocupan todo el ancho (forma de fila/horizontal) */
    max-width: 100%;
  }

  .contact-link {
    width: 100%; /* Botones anchos apilados uno arriba del otro */
    height: auto;
    flex-direction: row; /* Icono al lado del texto dentro del botón ancho */
    justify-content: flex-start;
    padding: 1rem 2rem;
  }
}