/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #1a1a2e;
  line-height: 1.7;
  overflow-x: hidden;
  background: #fafafa;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

img { max-width: 100%; height: auto; }

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

section {
  padding: 100px 0;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}

#navbar.scrolled {
  background: #1a1a2e;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
}

.nav-logo {
  height: 40px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .nav-logo { height: 32px; }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.nav-login {
  margin-left: 6px;
}

.nav-login a {
  font-size: 0.75rem !important;
  padding: 4px 10px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 4px !important;
  letter-spacing: 0.5px;
  opacity: 0.5;
  transition: opacity 0.3s, background 0.3s;
}

.nav-login a:hover {
  opacity: 1;
  background: rgba(255,255,255,0.1) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 4px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 40%, #24243e 100%);
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(232,184,75,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(0,0,0,0.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15,12,41,0.85) 0%, rgba(48,43,99,0.70) 50%, rgba(36,36,62,0.85) 100%);
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content .highlight {
  background: linear-gradient(135deg, #e8b84b, #d4942e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  font-weight: 300;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }

.btn-primary {
  background: linear-gradient(135deg, #e8b84b, #d4942e);
  color: #1a1a2e;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #e8b84b;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 1.3rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #1a1a2e;
  margin-bottom: 8px;
}

.divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #e8b84b, #d4942e);
  margin: 16px auto;
  border-radius: 4px;
}

.section-subtitle {
  color: #666;
  font-size: 1.05rem;
  margin-top: 12px;
}

/* ===== NOSOTROS ===== */
#about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: #444;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #e8b84b;
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
}

.about-image .img-placeholder {
  background: linear-gradient(135deg, #1a1a2e, #302b63);
  color: #fff;
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.about-image .img-placeholder i {
  font-size: 3.5rem;
  color: #e8b84b;
}

/* ===== QUÉ CREEMOS (Misión + Visión + Pilares) ===== */
#beliefs {
  background: #f4f4f9;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.mv-card {
  background: #fff;
  padding: 40px 35px;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.mv-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.mv-card.vision .mv-icon {
  background: rgba(232,184,75,0.15);
  color: #d4942e;
}

.mv-card.mission .mv-icon {
  background: rgba(26,26,46,0.08);
  color: #1a1a2e;
}

.mv-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: #1a1a2e;
}

.mv-card p {
  color: #555;
  font-size: 0.93rem;
  line-height: 1.8;
}

.mv-card p em {
  color: #888;
  font-size: 0.88rem;
}

.beliefs-subtitle {
  text-align: center;
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  color: #1a1a2e;
  margin-bottom: 30px;
  position: relative;
}

.beliefs-subtitle::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(135deg, #e8b84b, #d4942e);
  margin: 10px auto 0;
  border-radius: 4px;
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .mv-grid { grid-template-columns: 1fr; }
  .beliefs-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-logo-img { max-width: 260px; }
}

.belief-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.04);
}

.belief-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.belief-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(232,184,75,0.15), rgba(212,148,46,0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.belief-icon i {
  font-size: 1.5rem;
  color: #e8b84b;
}

.belief-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.belief-card p {
  color: #666;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== REUNIONES ===== */
#meetings {
  background: #fff;
}

.meetings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.meeting-card {
  background: #f9f9fc;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}

.meeting-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.meeting-card.featured {
  background: linear-gradient(135deg, #1a1a2e, #302b63);
  border-color: transparent;
  color: #fff;
}

.meeting-card.featured p { color: rgba(255,255,255,0.75); }
.meeting-card.featured .meeting-tag { background: rgba(232,184,75,0.2); color: #e8b84b; }

.meeting-day {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #e8b84b;
  margin-bottom: 12px;
}

.meeting-card.featured .meeting-day { color: #e8b84b; }

.meeting-time {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: 'Merriweather', serif;
}

.meeting-time i { font-size: 1rem; margin-right: 6px; vertical-align: middle; }

.meeting-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.meeting-card p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.meeting-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  background: #eee;
  padding: 6px 16px;
  border-radius: 20px;
  color: #555;
}

/* ===== VIDEOS ===== */
#videos {
  background: #f4f4f9;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}

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

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a1a2e;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(0,0,0,0.2);
  transition: transform 0.4s;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.3s;
}

.video-card:hover .video-play {
  opacity: 1;
}

.video-play i {
  font-size: 2.5rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.video-info {
  padding: 16px 18px 18px;
}

.video-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-date {
  font-size: 0.78rem;
  color: #999;
  font-weight: 500;
}

.videos-cta {
  text-align: center;
  margin-top: 40px;
}

.videos-cta .btn {
  background: #ff0000;
  color: #fff;
}

.videos-cta .btn:hover {
  background: #cc0000;
}

/* ===== CÓMO LLEGAR ===== */
#location {
  background: #f4f4f9;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #eee;
}

.info-card i {
  font-size: 1.3rem;
  color: #e8b84b;
  margin-top: 2px;
  min-width: 24px;
}

.info-card h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.info-card p {
  color: #666;
  font-size: 0.88rem;
}

.location-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.map-container iframe {
  display: block;
}

/* ===== CONTACTO ===== */
#contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-item i {
  font-size: 1.1rem;
  color: #e8b84b;
  min-width: 28px;
  text-align: center;
}

.contact-item p, .contact-item a {
  color: #444;
  font-size: 0.95rem;
}

.contact-item a:hover { color: #e8b84b; }

.contact-item.social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.contact-item.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4f4f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background 0.3s, color 0.3s;
}

.contact-item.social a:hover {
  background: #e8b84b;
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
  background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e8b84b;
  background: #fff;
}

.contact-form .btn {
  align-self: flex-start;
}

/* ===== FOOTER ===== */
footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand i { color: #e8b84b; }

.footer-text {
  max-width: 500px;
  margin: 0 auto 8px;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-verse {
  color: #e8b84b;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

footer hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 24px auto;
  max-width: 400px;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image { order: -1; }
  .beliefs-grid { grid-template-columns: repeat(2, 1fr); }
  .meetings-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #1a1a2e;
    padding: 20px 0;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s, opacity 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-radius: 0;
  }

  section { padding: 70px 0; }
  .videos-grid { grid-template-columns: 1fr; }
  .beliefs-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 16px; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .meeting-card { padding: 30px 20px; }
  .location-info { gap: 14px; }
  .info-card { padding: 16px; }
}
/* ===== PRÓXIMAMENTE ===== */
#proximamente {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
}

#proximamente .section-header h2 {
  color: #fff;
}

#proximamente .section-subtitle {
  color: rgba(255,255,255,0.8);
}

#proximamente .cal-subtitle-link {
  color: #f0a500;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}

#proximamente .cal-subtitle-link:hover {
  color: #ffc933;
  border-bottom-color: #ffc933;
}

#proximamente .divider {
  background: #e94560;
}

.proximamente-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.proximamente-card {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.proximamente-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  padding: 20px;
  min-height: 200px;
}

.proximamente-img img {
  width: auto;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.proximamente-card:hover .proximamente-img img {
  transform: scale(1.03);
}

.proximamente-info {
  padding: 25px;
  position: relative;
}

.proximamente-badge {
  display: inline-block;
  background: #e94560;
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.proximamente-info h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
}

.proximamente-detalle {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.proximamente-detalle span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.proximamente-detalle span i {
  width: 18px;
  color: #e94560;
  font-size: 0.85rem;
}

.proximamente-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .proximamente-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  
  .proximamente-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  padding: 20px;
  min-height: 200px;
}


/* Overlay oscuro sobre la imagen de la excursion */
.proximamente-card:nth-child(3) .proximamente-img {
  position: relative;
}

.proximamente-card:nth-child(3) .proximamente-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  pointer-events: none;
}
