/* ===== RESET & GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #1e1e2f;
  line-height: 1.5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  background: #0d2c28;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.logo i {
  font-size: 2rem;
  color: #f4b642;
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.75rem;
  background: #f4b64220;
  padding: 2px 8px;
  border-radius: 40px;
  font-weight: 500;
  color: #f4b642;
}

/* Navegación y menú hamburguesa */
.navbar {
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  font-size: 1rem;
}

.nav-link:hover {
  color: #f4b642;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  /* Usamos una imagen de respaldo de Unsplash (iglesia) por si la local no carga */
  background: url('../iglesia2.jpg') center/cover no-repeat;
  /* Si tienes una imagen local, descomenta la siguiente línea y comenta la de arriba */
  /* background: url('iglesia2.jpg') center/cover no-repeat; */
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d2c28e6, #0d2c28b3);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.verse-day {
  background: #f4b642dd;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: #1e2a2a;
  backdrop-filter: blur(2px);
}

.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1rem;
}

.btn-primary {
  background: #f4b642;
  color: #0d2c28;
}

.btn-primary:hover {
  background: #e0a12e;
  transform: scale(1.02);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #f4b642;
  color: #f4b642;
}

.btn-secondary:hover {
  background: #f4b64220;
}

/* ===== SECCIONES GENERALES ===== */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: #f9f7f3;
}

.bg-dark {
  background-color: #0e2f30;
  color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #0d2c28;
}

.bg-dark .section-header h3 {
  color: #f4b642;
}

/* Cards (Misión, Visión, Creemos) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  background: white;
  padding: 32px 24px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.card i {
  font-size: 2.5rem;
  color: #f4b542;
  margin-bottom: 16px;
}

/* Evangelismo: columna principal */
.evangelism-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.gospel-card, .testimony-card {
  background: white;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 16px 30px rgba(0,0,0,0.05);
}

/* ===== ESTILOS DE LOS 7 PASOS ===== */
.gospel-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.step-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0d2c28 0%, #1a4a44 100%);
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.step-header:hover {
  background: linear-gradient(135deg, #1a4a44 0%, #0d2c28 100%);
}

.step-num {
  width: 40px;
  height: 40px;
  background: #f4b642;
  color: #0d2c28;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-header h4 {
  flex: 1;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.step-ref {
  font-family: monospace;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.step-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.step-card.active .step-icon {
  transform: rotate(180deg);
}

.step-content {
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: #fefaf5;
  border-top: 1px solid #e0d6c8;
}

.step-card.active .step-content {
  max-height: 300px;
  padding: 20px;
}

.step-content p {
  margin: 10px 0;
  line-height: 1.6;
  color: #1a2f2b;
}

.step-content p:first-child {
  font-weight: 600;
  color: #0d2c28;
}

/* Botón de oración */
.btn-prayer {
  background: #0d2c28;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
  margin-top: 16px;
}

.btn-prayer:hover {
  background: #1a4a44;
}

.prayer-message {
  margin-top: 20px;
  background: #eef4f0;
  padding: 16px;
  border-radius: 20px;
  font-style: normal;
  line-height: 1.6;
}

.hidden {
  display: none;
}

/* Discipulado */
.discipulado-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 40px 0;
}

.discipulo-card {
  background: white;
  padding: 28px;
  border-radius: 28px;
  text-align: center;
  transition: 0.2s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.discipulo-card:hover {
  transform: translateY(-5px);
}

.discipulo-card i {
  font-size: 2.2rem;
  color: #f4b642;
}

.card-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  color: #0d2c28;
  text-decoration: none;
  border-bottom: 2px solid #f4b642;
  transition: 0.2s;
}

.card-link:hover {
  color: #f4b642;
}

.discipulado-cta {
  text-align: center;
  margin-top: 32px;
  font-size: 1.1rem;
  background: #f4b64220;
  padding: 16px;
  border-radius: 60px;
}

/* Recursos */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.resource-item {
  background: white;
  padding: 24px;
  border-radius: 24px;
  transition: 0.2s;
}

.resource-item:hover {
  transform: translateY(-3px);
}

.resource-item ul {
  list-style: none;
  margin: 16px 0;
}

.resource-item li {
  margin: 8px 0;
}

.btn-outline-small {
  background: none;
  border: 1px solid #0d2c28;
  padding: 8px 16px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.btn-outline-small:hover {
  background: #f4b642;
  border-color: #f4b642;
  color: #0d2c28;
}

/* Eventos */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.event-card {
  display: flex;
  gap: 20px;
  background: white;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.event-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.event-date {
  background: #f4b642;
  border-radius: 20px;
  padding: 12px;
  text-align: center;
  min-width: 70px;
  font-weight: bold;
  color: #0d2c28;
}

.event-date span {
  display: block;
}

.event-date span:first-child {
  font-size: 1.4rem;
  font-weight: 800;
}

.services-info {
  background: #e8e2d4;
  padding: 16px;
  border-radius: 60px;
  text-align: center;
  font-weight: 500;
}

/* Contacto */
.contacto-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-details {
  list-style: none;
  margin: 24px 0;
}

.contact-details li {
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icons a {
  color: white;
  background: #f4b64230;
  width: 40px;
  height: 40px;
  display: inline-flex;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: 0.2s;
}

.social-icons a:hover {
  background: #f4b642;
  color: #0d2c28;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 20px;
  font-family: inherit;
  background: white;
  border: 1px solid #ddd;
  transition: 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: #f4b642;
  box-shadow: 0 0 0 3px rgba(244,182,66,0.2);
}

.full-width {
  width: 100%;
  justify-content: center;
}

.form-feedback {
  margin-top: 8px;
  font-size: 0.9rem;
}

/* Mapa */
.map-container iframe {
  width: 100%;
  height: 350px;
  margin-top: 48px;
  border-radius: 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
  background: #051f1e;
  color: #ccc;
  text-align: center;
  padding: 36px 0;
}

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

.footer a:hover {
  text-decoration: underline;
}

/* Scroll top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #f4b642;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d2c28;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.2s;
  z-index: 99;
  text-decoration: none;
}

.scroll-top:hover {
  background: #e0a12e;
  transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .evangelism-content {
    grid-template-columns: 1fr;
  }
  .contacto-flex {
    grid-template-columns: 1fr;
  }
  .hero h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .navbar {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: #0d2c28;
    transition: 0.3s;
    padding: 2rem;
    z-index: 999;
    box-shadow: 4px 0 20px rgba(0,0,0,0.3);
  }
  .navbar.active {
    left: 0;
  }
  .nav-menu {
    flex-direction: column;
    gap: 32px;
  }
  .step-header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .step-header h4 {
    width: 100%;
    order: 1;
  }
  .step-ref {
    order: 2;
    margin-left: auto;
  }
  .step-icon {
    order: 3;
  }
  .step-num {
    order: 0;
  }
  .map-container iframe {
    height: 250px;
  }
  .event-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .event-date {
    width: 100%;
    max-width: 100px;
  }
}