/* ==========================================================================
   IGLESIA FAMILIAS DE PAZ - DESIGN SYSTEM & STYLESHEET
   Location: Las Heras 460, San Felipe, Chile
   Coverage: CCINT — Centro Cristiano Internacional
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --bg-main: #F5F6F7;
  --bg-card: #FFFFFF;
  --bg-dark: #121824;
  --bg-dark-card: #1E2638;
  
  --text-primary: #171717;
  --text-secondary: #555555;
  --text-muted: #888888;
  --text-white: #FFFFFF;
  
  --accent-orange: #FF941F;
  --accent-orange-hover: #E8800C;
  --accent-orange-light: rgba(255, 148, 31, 0.12);

  --accent-blue: #0F172A;

  --border-light: rgba(0, 0, 0, 0.07);
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Elevation / Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-orange: 0 8px 25px rgba(255, 148, 31, 0.3);

  /* Layout Boundaries - Leveraging Wide Screen Viewports */
  --site-width: 92%;
  --max-width: 1560px;
  
  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font-family: inherit;
}

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

/* Layout Container */
.container {
  width: var(--site-width);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.text-orange {
  color: var(--accent-orange);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.section-badge i {
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & UI ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--text-white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 148, 31, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background-color: var(--bg-card);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--text-primary);
  color: var(--text-white);
}

.btn-dark:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.header.scrolled {
  padding: 4px 0;
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  transition: height var(--transition-fast);
}

.header.scrolled .nav-container {
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-fast);
}

.header.scrolled .header-logo-img {
  height: 64px;
}

.footer-logo-img {
  height: 140px;
  width: auto;
  object-fit: contain;
}

.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-orange);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu para Discipulado */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  list-style: none;
  padding: 10px 0;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: background var(--transition-fast);
}

.dropdown-menu li a:hover {
  background: var(--bg-main);
  color: var(--accent-orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 24px 0 40px 0;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: clamp(520px, 75vh, 660px);
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 10s ease;
}

.hero-card:hover .hero-bg {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.25) 0%,
    rgba(15, 23, 42, 0.65) 50%,
    rgba(15, 23, 42, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 50px clamp(24px, 5vw, 60px);
  max-width: 900px;
  color: var(--text-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: rgba(255, 148, 31, 0.25);
  border: 1px solid rgba(255, 148, 31, 0.4);
  backdrop-filter: blur(8px);
  color: #FFB356;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-title {
  color: var(--text-white);
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 400;
  margin-bottom: 32px;
  line-height: 1.5;
  max-width: 720px;
}

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

.hero-footer-bar {
  margin-top: 18px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-info-item i {
  color: var(--accent-orange);
  font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   7. QUICK SCHEDULE BAR / REUNIONES RAPIDAS
   -------------------------------------------------------------------------- */
.schedule-section {
  padding: 20px 0 60px 0;
}

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

.schedule-card {
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.schedule-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.schedule-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.schedule-card:hover .schedule-card-bg img {
  transform: scale(1.08);
}

.schedule-card-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 20, 0.35) 0%,
    rgba(10, 10, 20, 0.82) 100%
  );
  transition: background var(--transition-normal);
}

.schedule-card:hover .schedule-card-bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 20, 0.2) 0%,
    rgba(10, 10, 20, 0.88) 100%
  );
}

.schedule-card-inner {
  position: relative;
  z-index: 2;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
  color: var(--text-white);
}

.schedule-card-inner .schedule-title {
  color: var(--text-white);
}

.schedule-card-inner .schedule-time {
  color: rgba(255, 255, 255, 0.75);
}

.schedule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background var(--transition-fast);
}

.schedule-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.schedule-card:hover::before {
  background: var(--accent-orange);
}

.schedule-icon-wrapper {
  width: 52px;
  height: 52px;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: all var(--transition-fast);
}

.schedule-card:hover .schedule-icon-wrapper {
  background: var(--accent-orange);
  color: var(--text-white);
}

.schedule-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.tag-presencial {
  background-color: #E0F2FE;
  color: #0284C7;
}

.tag-online {
  background-color: #FEE2E2;
  color: #DC2626;
}

.schedule-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.schedule-time {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 20px;
}

.schedule-btn {
  margin-top: auto;
  padding: 10px 16px;
  font-size: 0.85rem;
  width: 100%;
}

/* --------------------------------------------------------------------------
   8. NUESTRA IGLESIA / ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

.about-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.about-badge-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-badge-desc {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.6;
}

.pastors-card {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border-light);
}

.pastors-avatar {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--accent-orange);
}

.pastors-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pastors-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.cobertura-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.04);
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

.cobertura-tag strong {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   9. "HAY UN LUGAR PARA TI" - AREAS & MINISTRIES
   -------------------------------------------------------------------------- */
.areas-section {
  padding: 90px 0;
  position: relative;
}

.areas-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 246, 243, 0.55);
  backdrop-filter: blur(0px);
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header p {
  font-size: 1.1rem;
  margin-top: 10px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.area-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 148, 31, 0.3);
}

.area-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.area-card:hover .area-icon {
  background: var(--accent-orange);
  color: var(--text-white);
}

.area-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.area-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. CUNA PROFÉTICA - KIDS SECTION
   -------------------------------------------------------------------------- */
.cuna-section {
  padding: 40px 0 90px 0;
}

.cuna-card {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 148, 31, 0.2);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.cuna-content {
  padding: 60px clamp(24px, 4vw, 60px);
}

.cuna-age-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-orange);
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.cuna-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 14px;
  color: var(--text-primary);
}

.cuna-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.cuna-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.cuna-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.cuna-feature-item i {
  color: var(--accent-orange);
  font-size: 1.1rem;
}

.cuna-image {
  height: 100%;
  min-height: 400px;
}

.cuna-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   11. SECCIÓN REUNIONES DETALLADA
   -------------------------------------------------------------------------- */
.reuniones-section {
  padding: 90px 0;
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.reuniones-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.reuniones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.reunion-card {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.reunion-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 148, 31, 0.3);
}

.reunion-day {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin-bottom: 10px;
}

.reunion-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.reunion-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 28px 0;
}

.reunion-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.reunion-detail-item i {
  color: var(--accent-orange);
  width: 18px;
}

/* Dark-bg overrides for reuniones-section */
.reuniones-section .section-header h2,
.reuniones-section .section-header p,
.reuniones-section .section-header .section-badge {
  color: var(--text-white);
}
.reuniones-section .section-header p {
  color: rgba(255, 255, 255, 0.75);
}
.reuniones-section .section-badge {
  background: rgba(255, 148, 31, 0.2);
  border-color: rgba(255, 148, 31, 0.4);
  color: var(--accent-orange);
}
.reuniones-section .reunion-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}
.reuniones-section .reunion-name {
  color: var(--text-white);
}
.reuniones-section .reunion-detail-item {
  color: rgba(255, 255, 255, 0.8);
}
.reuniones-section .reunion-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 148, 31, 0.4);
}

/* --------------------------------------------------------------------------
   12. UBICACIÓN & ESTACIONAMIENTO / SERVICIOS
   -------------------------------------------------------------------------- */
.location-section {
  padding: 90px 0;
  position: relative;
}

.location-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 246, 240, 0.60);
  z-index: 1;
}

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

.location-info h2 {
  margin-bottom: 14px;
}

.location-address-box {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.address-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-orange);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.address-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.address-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.services-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 16px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
}

.service-item i {
  color: var(--accent-orange);
  font-size: 1.1rem;
}

.map-container {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------------------------------------------
   13. PREDICACIONES & MEDIA
   -------------------------------------------------------------------------- */
.media-section {
  padding: 90px 0;
  background: var(--bg-dark);
  color: var(--text-white);
}

.media-section h2, .media-section h3 {
  color: var(--text-white);
}

.media-section p {
  color: rgba(255, 255, 255, 0.7);
}

.sermon-card {
  background: var(--bg-dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  box-shadow: var(--shadow-lg);
}

.sermon-thumbnail-wrapper {
  position: relative;
  height: 100%;
  min-height: 380px;
}

.youtube-embed-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
}

.youtube-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  background: var(--accent-orange);
  color: var(--text-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-orange);
  transition: transform var(--transition-fast);
  cursor: pointer;
}

.play-button-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.sermon-info {
  padding: 50px clamp(24px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sermon-tag {
  display: inline-block;
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.sermon-title {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.sermon-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   14. INSTAGRAM & COMMUNITY GRID
   -------------------------------------------------------------------------- */
.social-section {
  padding: 90px 0;
  text-align: center;
}

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

.insta-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-sm);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.insta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 148, 31, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 2rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.insta-item:hover img {
  transform: scale(1.08);
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   15. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 90px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.contact-card {
  background: var(--bg-main);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-white);
}

.icon-wsp { background: #25D366; }
.icon-phone { background: var(--accent-orange); }
.icon-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.icon-yt { background: #FF0000; }
.icon-tiktok { background: #010101; }

.contact-card-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   16. FINAL CTA BANNER
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: 80px 0;
}

.final-cta-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 80px clamp(24px, 5vw, 60px);
  text-align: center;
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
}

.final-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(255, 148, 31, 0.85));
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.final-cta-content h2 {
  color: var(--text-white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.final-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 32px;
}

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

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  font-size: 0.92rem;
  border-top: 1px solid var(--border-dark);
}

.footer h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo-title {
  color: var(--text-white);
  font-size: 1.25rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 20px 0;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-hour-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 8px;
}

.footer-hour-item strong {
  color: var(--text-white);
  font-size: 0.88rem;
}

.footer-hour-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--accent-orange);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-cobertura {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   18. FLOATING WHATSAPP BUTTON (DESKTOP & MOBILE)
   -------------------------------------------------------------------------- */
.floating-wsp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.floating-wsp i {
  font-size: 1.4rem;
}

.floating-wsp:hover {
  background-color: #20BA5A;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE DESIGN (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .about-grid, .cuna-card, .location-grid, .sermon-card {
    grid-template-columns: 1fr;
  }

  .cuna-image {
    min-height: 260px;
  }

  .sermon-thumbnail-wrapper {
    min-height: 260px;
  }

  .hero-card {
    height: auto;
    min-height: 540px;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-actions {
    display: none;
  }

  .hero-footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .schedule-card {
    min-height: 210px;
  }

  .schedule-card-inner {
    padding: 12px 10px;
    justify-content: space-between;
  }

  .schedule-card-inner .schedule-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
    margin-bottom: 6px;
    width: fit-content;
  }

  .schedule-card-inner .schedule-title {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .schedule-card-inner .schedule-time {
    font-size: 0.72rem;
    margin-bottom: 8px;
  }

  .schedule-card-inner .schedule-btn {
    font-size: 0.72rem;
    padding: 6px 8px;
    margin-top: auto;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .area-card {
    padding: 16px 14px;
  }

  .area-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .area-title {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .area-desc {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .reuniones-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .reunion-card {
    padding: 16px 12px;
    min-height: 180px;
  }

  .reunion-day {
    font-size: 0.65rem;
    margin-bottom: 4px;
  }

  .reunion-name {
    font-size: 0.95rem;
    margin-bottom: 4px;
    line-height: 1.2;
  }

  .reunion-details {
    margin: 8px 0 12px 0;
    gap: 4px;
  }

  .reunion-detail-item {
    font-size: 0.7rem;
  }

  .reunion-card .btn {
    font-size: 0.7rem;
    padding: 6px 8px;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .insta-item {
    height: 150px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .service-item {
    font-size: 0.75rem;
    padding: 8px 10px;
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .floating-wsp span {
    display: none;
  }

  .floating-wsp {
    padding: 14px;
    border-radius: var(--radius-full);
    bottom: 20px;
    right: 20px;
  }

  .hero-buttons, .final-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}
