/* ============================================
   IDV_WEB - Professional Styles
   Iglesia del Dios Viviente
   ============================================ */

/* ----- CSS Custom Properties ----- */
:root {
    --primary-dark: #142157;
    --primary: #1e3a8a;
    --primary-light: #2d4ba8;
    --accent: #f7941e;
    --accent-light: #f97316;
    --gold: #d4af37;
    --gold-light: #e8c068;
    --gold-dark: #b8860b;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #f0f2f5;
    --gray: #6b7280;
    --text-dark: #111827;
    --text-body: #374151;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --max-width: 1200px;
    --nav-height: 80px;
}

/* ----- Reset ----- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background:
        radial-gradient(ellipse 1200px 800px at 30% 50%, rgba(20,33,87,0.9) 0%, rgba(30,58,138,0.6) 50%, transparent 80%),
        radial-gradient(ellipse 800px 600px at 80% 80%, rgba(247,148,30,0.15) 0%, transparent 60%),
        linear-gradient(170deg, #0f1b4a 0%, #142157 40%, #1e3a8a 70%, #142157 100%) fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 0.75rem;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--accent);
    vertical-align: middle;
    margin: 0 10px;
}

.section-tag.light {
    color: var(--gold-light);
}
.section-tag.light::before,
.section-tag.light::after {
    background: var(--gold-light);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title.light {
    color: var(--white);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-desc.light {
    color: rgba(255,255,255,0.85);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ============================================
   NAVBAR - Floating Pill Design
   ============================================ */
.navbar {
    position: fixed;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1100px;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 62px;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    border-color: rgba(255,255,255,0.5);
}

.nav-container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.03);
}

.logo-image {
    width: 110px;
    height: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-dark);
    position: relative;
    padding: 0.25rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

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

.nav-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(247,148,30,0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
    z-index: 1001;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Nav link icons (hidden on desktop) */
.nav-link i {
    display: none;
}

/* Mobile overlay backdrop */
.mobile-overlay {
    display: none;
}

/* Nav menu header (logo + close) */
.nav-menu-header {
    display: none;
}

.nav-menu-logo {
    width: 100px;
    height: auto;
}

.nav-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.nav-menu-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* Bottom mobile nav */
.bottom-nav {
    display: none;
}

/* ============================================
   ANIVERSARIO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--nav-height) + 1.5rem);
    background: transparent;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
}

.hero-title .highlight {
    color: var(--accent);
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(247,148,30,0.4);
}

.hero-btn i {
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(5px);
}

.church-seal {
    margin-top: 1rem;
}

.seal-image {
    width: clamp(70px, 10vw, 110px);
    height: auto;
    opacity: 0.9;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

.hero-scroll-indicator i {
    font-size: 1.2rem;
    animation: bounce-arrow 2s ease-in-out infinite;
}

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

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(5px); opacity: 1; }
}

/* ============================================
   CONGREGACION
   ============================================ */
.congregacion {
    background: transparent;
}

.text-section blockquote {
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--accent);
    background: rgba(255,255,255,0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.text-section blockquote strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.text-section blockquote em {
    color: var(--accent);
    font-style: italic;
    font-size: 1.05rem;
}

.text-section p {
    line-height: 1.9;
    color: rgba(255,255,255,0.75);
}

.text-section .section-title {
    color: var(--white);
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247,148,30,0.35);
}

.button i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.button:hover i {
    transform: translateX(4px);
}

.image-frame {
    position: relative;
    display: inline-block;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: var(--radius-md);
    opacity: 0.3;
    z-index: 0;
}

.main-image {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   ANIVERSARIO
   ============================================ */
.aniversario-section {
    background: transparent;
    padding: 2.5rem 0;
}

.aniversario {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 2px solid rgba(212,175,55,0.25);
    border-radius: var(--radius-md);
    max-width: 700px;
    width: 100%;
    position: relative;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    margin: 0 auto;
    transition: var(--transition);
}

.aniversario:hover {
    border-color: rgba(212,175,55,0.5);
    background: rgba(255,255,255,0.06);
}

.aniv-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
}

.aniv-invite {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    margin: 0.25rem 0 1rem;
}

.contador {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin: 1.25rem 0;
    flex-wrap: wrap;
}

.contador-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.contador-item span {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.contador-item small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-top: 0.2rem;
}

.fechas {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.25rem 0;
    flex-wrap: wrap;
}

.fiesta {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.25rem;
    width: 120px;
    transition: var(--transition);
}

.fiesta:hover {
    border-color: rgba(212,175,55,0.5);
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
}

.fiesta-dia {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.25rem;
}

.fecha-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin: 0.15rem 0;
}

.fiesta small {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
}

.aniv-verse {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    max-width: 400px;
    margin: 0.75rem auto 0;
    font-style: italic;
}

/* ============================================
   VIDEO
   ============================================ */
.video-section {
    height: 100vh;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.video-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.video-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* ============================================
   CREENCIAS (NEW)
   ============================================ */
.creencias-section {
    background: transparent;
    position: relative;
}

.creencias-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.creencias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.creencia-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.creencia-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.creencia-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

.creencia-card:hover .creencia-icon {
    transform: scale(1.1) rotate(5deg);
}

.creencia-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.creencia-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

/* ============================================
   ACTIVIDADES (TABS)
   ============================================ */
.actividades-section {
    background:
        radial-gradient(ellipse 1200px 800px at 30% 50%, rgba(20,33,87,0.5) 0%, rgba(30,58,138,0.4) 50%, transparent 80%),
        radial-gradient(ellipse 800px 600px at 80% 80%, rgba(247,148,30,0.1) 0%, transparent 60%),
        linear-gradient(170deg, rgba(15,27,74,0.88) 0%, rgba(20,33,87,0.75) 40%, rgba(30,58,138,0.55) 70%, rgba(20,33,87,0.75) 100%),
        url("../img/bgTL.svg") center/cover fixed;
}

.actividades-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.actividad-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.7);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.actividad-tab i {
    font-size: 1rem;
}

.actividad-tab:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    transform: translateY(-2px);
}

.actividad-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(247,148,30,0.35);
}

.actividad-panel {
    display: none;
}

.actividad-panel.active {
    display: block;
    animation: actividadFadeIn 0.45s ease both;
}

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

/* ---- Tabla de actividades ---- */
.actividades-table-wrap {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.actividades-table {
    width: 100%;
    border-collapse: collapse;
}

.actividades-table thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    white-space: nowrap;
}

.actividades-table tbody td {
    padding: 0.95rem 1.25rem;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    vertical-align: middle;
}

.actividades-table tbody tr {
    transition: var(--transition);
}

.actividades-table tbody tr:hover {
    background: rgba(255,255,255,0.07);
}

.actividades-table tbody tr:last-child td {
    border-bottom: 0;
}

.actividades-table td strong {
    color: var(--white);
    font-weight: 600;
}

.act-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
    display: block;
    max-width: 280px;
}

html.light-mode .act-desc {
    color: var(--gray);
}

.act-estado {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    white-space: nowrap;
}

.act-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.act-estado-activo    { color: #34d399; background: rgba(52,211,153,0.12); }
.act-estado-pendiente { color: #fbbf24; background: rgba(251,191,36,0.12); }
.act-estado-cancelado { color: #f87171; background: rgba(248,113,113,0.12); }

.actividades-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255,255,255,0.6);
}

.actividades-empty i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

/* ---- Programacion semanal ---- */
.programacion-card {
    max-width: 820px;
    margin: 0 auto;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.programacion-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.programacion-header i {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.programacion-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.programacion-header p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}

.programacion-img-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
}

.programacion-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.programacion-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.btn-download-prog {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-download-prog:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247,148,30,0.3);
}

.btn-download-prog:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

html.light-mode .btn-download-prog {
    color: var(--primary);
    border-color: rgba(30,42,103,0.2);
    background: rgba(30,42,103,0.06);
}

html.light-mode .btn-download-prog:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
}

/* ============================================
   MINISTERIOS
   ============================================ */
.ministerios {
    background: transparent;
}

.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.slide {
    position: absolute;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.85);
    z-index: 1;
}

.slide img {
    width: 800px;
    max-width: 80vw;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 3;
}

.slide.left {
    opacity: 0.6;
    transform: translateX(-55%) scale(0.85);
    z-index: 2;
}

.slide.right {
    opacity: 0.6;
    transform: translateX(55%) scale(0.85);
    z-index: 2;
}

.carousel-btn {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.15);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 5;
    backdrop-filter: blur(8px);
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.1);
}

.indicators {
    text-align: center;
    margin-top: 1.25rem;
}

.indicators button {
    border: none;
    background: rgba(255,255,255,0.15);
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.indicators button.active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
    background: transparent;
    position: relative;
}

.servicios::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("../img/bgcarousel.svg") center/cover no-repeat;
    opacity: 0.05;
    mix-blend-mode: overlay;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 600;
}

.card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    flex: 1;
}

.card .hora {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   ESCUELA DOMINICAL
   ============================================ */
.escuela-section {
    background: transparent;
}

.escuela-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.escuela-content .descripcion {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.escuela-content .horario {
    font-weight: 600;
    color: var(--accent);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.escuela-imagenes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.imagen-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    width: 280px;
    transition: var(--transition);
    overflow: hidden;
}

.imagen-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.imagen-card span {
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    display: block;
    text-align: center;
    font-size: 0.9rem;
}

.imagen-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.collage-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: var(--max-width);
    margin: 2rem auto 0;
}

.collage-track {
    display: flex;
    width: fit-content;
    animation: scrollRight 45s linear infinite;
}

.collage-item {
    flex: 0 0 250px;
    margin: 0 0.75rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.collage-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.collage-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@keyframes scrollRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   CELULAS
   ============================================ */
.celulas-section {
    background: transparent;
    position: relative;
}

.containercel {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    padding: 2rem 0 0;
}

.box_cel {
    overflow: hidden;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.box_cel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.box_cel:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.box_cel:hover img {
    transform: scale(1.08);
}

.box_cel:nth-child(1),
.box_cel:nth-child(4),
.box_cel:nth-child(8) {
    grid-column: span 2;
}

/* ============================================
   PASTORES
   ============================================ */
.pastores-section {
    background: transparent;
}

.pastores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pastor-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.pastor-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.pastor-img-wrapper {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    padding: 4px;
}

.pastor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.pastor-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.pastor-card p {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   UBICACION
   ============================================ */
.ubicacion-section {
    background: transparent;
}

.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================
   CONTACTO
   ============================================ */
.contact-section {
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.form-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white);
    transition: var(--transition);
    background: rgba(255,255,255,0.06);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
    padding-left: 1rem;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.3);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group.textarea-group i {
    top: 1.2rem;
    transform: none;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 4px rgba(247,148,30,0.08);
}

.input-group input:focus + i,
.input-group textarea:focus ~ i {
    color: var(--accent);
}

.send-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(247,148,30,0.3);
}

.send-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.send-btn i {
    transition: transform 0.3s ease;
}

.send-btn:hover i {
    transform: translateX(4px);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn.whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn.whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}

.btn.facebook {
    background: #1877F2;
    color: var(--white);
}

.btn.facebook:hover {
    background: #0d6bdb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24,119,242,0.3);
}

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

.contact-image-frame {
    max-width: 500px;
}

.contact-image-frame img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: transparent;
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 130px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.6);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.footer-contact i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   FLOATING COUNTER
   ============================================ */
.floating-counter {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    background: rgba(15,27,74,0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(247,148,30,0.3);
    border-radius: 60px;
    padding: 0.6rem 1.8rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-counter.collapsed {
    transform: translateX(-50%) translateY(120px);
    opacity: 0;
}

.fc-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    white-space: nowrap;
}

.fc-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
}

.fc-digits {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.fc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 28px;
}

.fc-item span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.fc-item small {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
}

.fc-sep {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: rgba(255,255,255,0.3);
    line-height: 1;
}

.fc-fecha {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

/* ============================================
   COUNTER MODAL
   ============================================ */
.counter-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.counter-modal.open { display: flex; }

.counter-modal-content {
    background: rgba(15,27,74,0.96);
    border: 1px solid rgba(247,148,30,0.3);
    border-radius: 24px;
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 16px 64px rgba(0,0,0,0.5);
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.counter-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.2s;
}
.counter-modal-close:hover { color: var(--white); }

.counter-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.counter-modal-label {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.counter-modal-digits {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.counter-modal-digits .fc-item span { font-size: 2rem; }
.counter-modal-digits .fc-item small { font-size: 0.65rem; }
.counter-modal-digits .fc-sep { font-size: 1.5rem; }

.counter-modal-fecha {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.counter-modal-img {
    width: 100%;
    border-radius: 16px;
    margin-top: 0.5rem;
    border: 1px solid rgba(247,148,30,0.2);
}

@media (min-width: 768px) {
    .counter-modal-img {
        max-height: 350px;
        object-fit: cover;
    }
}

html.light-mode .counter-modal-content {
    background: rgba(255,255,255,0.96);
    border-color: rgba(247,148,30,0.4);
}
html.light-mode .counter-modal-fecha { color: rgba(0,0,0,0.5); }
html.light-mode .counter-modal-close { color: rgba(0,0,0,0.4); }
html.light-mode .counter-modal-close:hover { color: var(--text-dark); }
html.light-mode .counter-modal-digits .fc-item span { color: var(--text-dark); }

@media (max-width: 480px) {
    .counter-modal-content { padding: 1.5rem; }
    .counter-modal-digits .fc-item span { font-size: 1.5rem; }
    .counter-modal-digits .fc-sep { font-size: 1.2rem; }
    .counter-modal-label { font-size: 1.1rem; }
}

/* ============================================
   FLOATING BUTTONS (WhatsApp + Theme)
   ============================================ */
.floating-buttons {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 901;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.fab-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.fab-btn:active {
    transform: scale(0.95);
}

.fab-whatsapp {
    background: #25D366;
}

.fab-whatsapp:hover {
    background: #1da851;
}

.fab-theme {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.fab-theme:hover {
    background: rgba(255,255,255,0.25);
}

.fab-theme .fa-sun { display: none; }
.fab-theme .fa-moon { display: inline-block; }

/* ============================================
   LIGHT MODE
   ============================================ */
html.light-mode {
    --primary-dark: #e8edf5;
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --accent: #f7941e;
    --accent-light: #f97316;
    --gold: #b8860b;
    --gold-light: #d4af37;
    --gold-dark: #8b6914;
    --white: #111827;
    --off-white: #f8fafc;
    --light-gray: #e5e7eb;
    --gray: #6b7280;
    --text-dark: #0f172a;
    --text-body: #1e293b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

html.light-mode body {
    background:
        radial-gradient(ellipse 1200px 800px at 30% 50%, rgba(59,130,246,0.1) 0%, rgba(99,102,241,0.06) 50%, transparent 80%),
        radial-gradient(ellipse 800px 600px at 80% 80%, rgba(247,148,30,0.06) 0%, transparent 60%),
        linear-gradient(170deg, #f1f5f9 0%, #f8fafc 40%, #e2e8f0 70%, #f1f5f9 100%) fixed;
    color: var(--text-body);
}

html.light-mode .navbar {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

html.light-mode .navbar.scrolled {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

html.light-mode .nav-link {
    color: var(--text-body);
}

html.light-mode .nav-link::after {
    background: var(--accent);
}

html.light-mode .nav-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
}

html.light-mode .hero-title {
    color: var(--text-dark);
}

html.light-mode .hero-subtitle {
    color: rgba(15,23,42,0.7);
}

html.light-mode .section-title.light {
    color: var(--text-dark);
}

html.light-mode .section-desc.light {
    color: rgba(15,23,42,0.7);
}

html.light-mode .section-tag.light {
    color: var(--accent);
}

html.light-mode .button {
    color: var(--white);
}

html.light-mode .text-section p {
    color: rgba(15,23,42,0.7);
}

html.light-mode .text-section blockquote {
    background: rgba(0,0,0,0.04);
    border-left-color: var(--accent);
}

html.light-mode .text-section blockquote em {
    color: var(--accent);
}

html.light-mode .card {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

html.light-mode .card:hover {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

html.light-mode .card h3 {
    color: var(--text-dark);
}

html.light-mode .card p {
    color: rgba(15,23,42,0.7);
}

html.light-mode .card .hora {
    color: var(--accent);
}

html.light-mode .creencia-card {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

html.light-mode .creencia-card:hover {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

html.light-mode .creencia-card h3 {
    color: var(--text-dark);
}

html.light-mode .creencia-card p {
    color: rgba(15,23,42,0.7);
}

html.light-mode .pastor-card {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

html.light-mode .pastor-card:hover {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

html.light-mode .pastor-card h3 {
    color: var(--text-dark);
}

html.light-mode .pastor-card p {
    color: var(--accent);
}

html.light-mode .imagen-card {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,0,0,0.08);
}

html.light-mode .imagen-card:hover {
    background: rgba(255,255,255,0.95);
}

html.light-mode .imagen-card span {
    color: var(--text-dark);
}

html.light-mode .escuela-content .descripcion {
    color: rgba(15,23,42,0.7);
}

html.light-mode .escuela-content .horario {
    color: var(--accent);
}

html.light-mode .actividades-table-wrap {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

html.light-mode .actividades-table thead th {
    color: var(--gray);
    background: rgba(0,0,0,0.04);
    border-bottom-color: rgba(0,0,0,0.08);
}

html.light-mode .actividades-table tbody td {
    color: var(--text-body);
    border-bottom-color: rgba(0,0,0,0.06);
}

html.light-mode .actividades-table tbody tr:hover {
    background: rgba(0,0,0,0.03);
}

html.light-mode .actividades-table td strong {
    color: var(--text-dark);
}

html.light-mode .actividades-empty {
    color: var(--gray);
}

html.light-mode .actividad-tab {
    background: rgba(255,255,255,0.7);
    border-color: rgba(0,0,0,0.08);
    color: var(--text-body);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

html.light-mode .actividad-tab:hover {
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
}

html.light-mode .programacion-card {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,0,0,0.08);
}

html.light-mode .programacion-header h3 {
    color: var(--text-dark);
}

html.light-mode .programacion-header p {
    color: var(--text-body);
}

html.light-mode .floating-counter {
    background: rgba(255,255,255,0.92);
    border-color: rgba(247,148,30,0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

html.light-mode .fc-item span {
    color: var(--text-dark);
}

html.light-mode .fc-fecha {
    color: rgba(15,23,42,0.5);
}

html.light-mode .fab-theme {
    background: rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.12);
    color: var(--text-dark);
}

html.light-mode .fab-theme:hover {
    background: rgba(0,0,0,0.14);
}

html.light-mode .fab-theme .fa-sun { display: inline-block; }
html.light-mode .fab-theme .fa-moon { display: none; }

html.light-mode .footer {
    color: rgba(15,23,42,0.8);
}

html.light-mode .footer h4 {
    color: var(--text-dark);
}

html.light-mode .footer-desc {
    color: rgba(15,23,42,0.6);
}

html.light-mode .footer-links a {
    color: rgba(15,23,42,0.6);
}

html.light-mode .footer-links a:hover {
    color: var(--accent);
}

html.light-mode .footer-contact p {
    color: rgba(15,23,42,0.6);
}

html.light-mode .footer-bottom {
    border-top-color: rgba(0,0,0,0.08);
}

html.light-mode .footer-bottom p {
    color: rgba(15,23,42,0.4);
}

html.light-mode .footer-logo {
    filter: none;
}

html.light-mode .footer-social a {
    background: rgba(0,0,0,0.06);
    color: var(--text-dark);
}

html.light-mode .footer-social a:hover {
    background: var(--accent);
    color: #fff;
}

html.light-mode .input-group input,
html.light-mode .input-group textarea {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.1);
    color: var(--text-dark);
}

html.light-mode .input-group input::placeholder,
html.light-mode .input-group textarea::placeholder {
    color: rgba(15,23,42,0.35);
}

html.light-mode .input-group input:focus,
html.light-mode .input-group textarea:focus {
    background: rgba(0,0,0,0.05);
    border-color: var(--accent);
}

html.light-mode .carousel-btn {
    background: rgba(0,0,0,0.06);
    color: var(--text-dark);
    border-color: rgba(0,0,0,0.1);
}

html.light-mode .carousel-btn:hover {
    background: rgba(0,0,0,0.12);
    border-color: var(--accent);
    color: var(--accent);
}

html.light-mode .indicators button {
    background: rgba(0,0,0,0.1);
}

html.light-mode .indicators button.active {
    background: var(--accent);
}

html.light-mode .bar {
    background: var(--text-dark);
}

/* Light mode: video text always white */
html.light-mode .video-content h2,
html.light-mode .video-content p {
    color: #ffffff;
}

/* Light mode: actividades titles stay light (dark bg) */
html.light-mode .actividades-section .section-title.light,
html.light-mode .actividades-section .section-tag.light,
html.light-mode .actividades-section .section-desc.light {
    color: #ffffff;
}

/* ============================================
   RESPONSIVE PROFESIONAL
   ============================================ */

/* Tablet landscape / 1024px */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .hero-content { align-items: center; }
    .hero-btn { align-self: center; }
    .hero-scroll-indicator { display: none; }
    .hero-title { text-align: center; }
    .hero-photo { max-width: 380px; margin: 0 auto; }

    .pastores-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

    .floating-counter { padding: 0.5rem 1.4rem; }
    .fc-label { font-size: 0.85rem; }
    .fc-item span { font-size: 1.15rem; }
}

/* Tablet portrait / 992px */
@media (max-width: 992px) {
    .section { padding: 3.5rem 0; }
    .section-header { margin-bottom: 2.5rem; }

    .cards { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .creencias-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    .grid-2 { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .grid-2 .text-section { text-align: left; }
    .button { align-self: flex-start; }
    .image-frame::before { display: none; }
}

/* ============================================
   MOBILE / 768px
   ============================================ */
@media (max-width: 768px) {
    /* --- BOTTOM NAV --- */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 950;
        background: rgba(15,27,74,0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255,255,255,0.08);
        padding: 0.35rem 0.5rem;
        padding-bottom: max(0.35rem, env(safe-area-inset-bottom));
        justify-content: space-around;
        align-items: center;
        gap: 0.25rem;
    }

    .bn-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        padding: 0.35rem 0.6rem;
        color: rgba(255,255,255,0.45);
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.25s ease;
        min-width: 56px;
        position: relative;
    }

    .bn-item i {
        font-size: 1.2rem;
        transition: transform 0.25s ease;
    }

    .bn-item span {
        font-size: 0.6rem;
        font-weight: 500;
        letter-spacing: 0.3px;
    }

    .bn-item.active {
        color: var(--accent);
    }

    .bn-item.active::before {
        content: '';
        position: absolute;
        top: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        background: var(--accent);
        border-radius: 0 0 3px 3px;
    }

    .bn-item:active {
        transform: scale(0.9);
    }

    /* Light mode bottom nav */
    html.light-mode .bottom-nav {
        background: rgba(255,255,255,0.95);
        border-top-color: rgba(0,0,0,0.08);
    }
    html.light-mode .bn-item {
        color: rgba(15,23,42,0.4);
    }
    html.light-mode .bn-item.active {
        color: var(--accent);
    }

    /* --- NAVBAR --- */
    .navbar {
        top: 0.5rem;
        width: calc(100% - 1rem);
        height: 50px;
        border-radius: 50px;
        background: rgba(15,27,74,0.9);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255,255,255,0.1);
    }

    .navbar.scrolled {
        background: rgba(15,27,74,0.96);
    }

    html.light-mode .navbar {
        background: rgba(255,255,255,0.9);
        border-color: rgba(0,0,0,0.08);
    }

    .nav-container { padding: 0 0.75rem; }
    .logo-image { width: 75px; }
    .bar { background: var(--white); }

    html.light-mode .bar { background: var(--text-dark); }

    /* Hamburger */
    .hamburger {
        display: flex;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
        align-items: center;
        justify-content: center;
        gap: 3px;
    }

    .bar {
        width: 18px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    /* --- MOBILE OVERLAY --- */
    .mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* --- SIDE DRAWER MENU --- */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        background: rgba(15,27,74,0.98);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        z-index: 999;
        padding: 0;
        gap: 0;
        align-items: stretch;
        justify-content: flex-start;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    html.light-mode .nav-menu {
        background: rgba(255,255,255,0.98);
    }

    /* Menu header */
    .nav-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    html.light-mode .nav-menu-header {
        border-bottom-color: rgba(0,0,0,0.06);
    }

    .nav-menu-logo {
        width: 90px;
        filter: brightness(0) invert(1);
    }

    html.light-mode .nav-menu-logo {
        filter: none;
    }

    .nav-menu-close {
        background: rgba(255,255,255,0.1);
        border: none;
        color: var(--white);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.25s ease;
    }

    html.light-mode .nav-menu-close {
        background: rgba(0,0,0,0.06);
        color: var(--text-dark);
    }

    .nav-menu-close:hover {
        background: var(--accent);
        transform: rotate(90deg);
    }

    /* Menu links */
    .nav-menu .nav-item {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1rem;
        font-weight: 500;
        color: rgba(255,255,255,0.8);
        padding: 0.9rem 1.5rem;
        border-left: 3px solid transparent;
        transition: all 0.25s ease;
    }

    .nav-link i {
        display: inline-block;
        width: 22px;
        text-align: center;
        font-size: 1rem;
        color: rgba(255,255,255,0.35);
        transition: color 0.25s ease;
    }

    .nav-link::after { display: none; }

    .nav-link:hover,
    .nav-link:active {
        color: var(--white);
        background: rgba(255,255,255,0.05);
        border-left-color: var(--accent);
    }

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

    html.light-mode .nav-link {
        color: var(--text-body);
    }
    html.light-mode .nav-link i {
        color: rgba(15,23,42,0.35);
    }
    html.light-mode .nav-link:hover,
    html.light-mode .nav-link:active {
        color: var(--text-dark);
        background: rgba(0,0,0,0.03);
        border-left-color: var(--accent);
    }
    html.light-mode .nav-link:hover i {
        color: var(--accent);
    }

    .nav-btn {
        background: linear-gradient(135deg, var(--accent), var(--accent-light));
        color: #fff !important;
        margin: 0.75rem 1.5rem;
        padding: 0.85rem 1.5rem;
        border-radius: 14px;
        text-align: center;
        justify-content: center;
        font-weight: 600;
        border-left: none !important;
    }

    .nav-btn i {
        color: #fff !important;
    }

    .nav-btn:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(247,148,30,0.3);
        background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
    }

    /* --- HERO --- */
    .hero {
        min-height: 100vh;
        padding: calc(var(--nav-height) + 2.5rem) 0.75rem 7rem;
        justify-content: center;
        text-align: center;
    }
    .hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-content { align-items: center; gap: 1rem; }
    .hero-title { font-size: 1.9rem; text-align: center; line-height: 1.25; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-btn { padding: 0.85rem 2rem; font-size: 0.9rem; align-self: center; }
    .hero-photo { max-width: 260px; margin: 0 auto; }
    .seal-image { width: 60px; }
    .hero-scroll-indicator { display: none; }

    /* --- SECTIONS --- */
    .section { padding: 2.5rem 0; }
    .container { padding: 0 1rem; }
    .section-header { margin-bottom: 1.75rem; }
    .section-title { font-size: 1.55rem; }
    .section-desc { font-size: 0.9rem; line-height: 1.6; }

    .grid-2 { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .grid-2 .text-section { text-align: center; }
    .button { align-self: center; }
    .image-frame { margin: 0 auto; display: block; }
    .image-frame::before { display: none; }
    .main-image { max-width: 280px; margin: 0 auto; }

    .text-section p { text-align: center; }
    .text-section blockquote { text-align: center; border-left: none; border-top: 3px solid var(--accent); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }

    /* --- FLOATING COUNTER --- */
    .floating-counter {
        bottom: 4.8rem;
        left: 0.5rem;
        right: 0.5rem;
        transform: none;
        border-radius: 40px;
        padding: 0.45rem 1rem;
    }
    .floating-counter.collapsed {
        transform: translateY(140px);
    }
    .fc-inner { gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
    .fc-label { font-size: 0.75rem; letter-spacing: 0.5px; }
    .fc-item span { font-size: 1.05rem; }
    .fc-item small { font-size: 0.48rem; }
    .fc-sep { font-size: 0.75rem; }
    .fc-fecha { font-size: 0.68rem; }

    /* --- FLOATING BUTTONS --- */
    .floating-buttons {
        bottom: 5.5rem;
        right: 0.6rem;
        gap: 0.5rem;
    }
    .fab-btn {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    /* --- CARDS --- */
    .cards { grid-template-columns: 1fr; gap: 1rem; }
    .card { padding: 1.5rem; text-align: center; }

    .creencias-grid { grid-template-columns: 1fr; gap: 1rem; }
    .creencia-card { padding: 1.5rem; }

    .pastores-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .pastor-card { padding: 1.5rem 0.75rem; }
    .pastor-img-wrapper { width: 85px; height: 85px; }
    .pastor-card h3 { font-size: 0.9rem; }

    /* --- VIDEO --- */
    .video-section { min-height: 40vh; }
    .video-content { padding: 1.5rem 1rem; }
    .video-content h2 { font-size: 1.35rem; }
    .video-content p { font-size: 0.85rem; }

    /* --- ACTIVIDADES --- */
    .actividades-tabs { gap: 0.6rem; margin-bottom: 1.75rem; }
    .actividad-tab { padding: 0.7rem 1.2rem; font-size: 0.82rem; }
    .programacion-card { padding: 1.5rem; }

    .act-desc {
        max-width: none;
        font-size: 0.8rem;
    }

    .btn-download-prog {
        width: 100%;
        justify-content: center;
        font-size: 0.82rem;
        padding: 0.65rem 1.25rem;
    }

    /* Tabla apilada en movil */
    .actividades-table,
    .actividades-table tbody,
    .actividades-table tr,
    .actividades-table td {
        display: block;
        width: 100%;
    }

    .actividades-table thead { display: none; }

    .actividades-table tbody tr {
        padding: 0.85rem 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .actividades-table tbody tr:last-child { border-bottom: 0; }

    .actividades-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 0.32rem 0;
        border-bottom: 0;
        font-size: 0.88rem;
    }

    .actividades-table tbody td::before {
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: rgba(255,255,255,0.45);
        flex-shrink: 0;
    }

    .actividades-table tbody tr.actividades-empty-row td {
        display: block;
        width: 100%;
        padding: 0;
    }

    .actividades-table tbody tr.actividades-empty-row td::before {
        content: none;
    }

    html.light-mode .actividades-table tbody td::before {
        color: var(--gray);
    }

    /* --- CAROUSEL --- */
    .carousel-wrapper { flex-direction: column; gap: 0.5rem; padding: 0 0.5rem; }
    .carousel { height: 200px; }
    .slide img { height: 200px; max-width: 85vw; }
    .carousel-btn { width: 38px; height: 38px; font-size: 0.9rem; }

    /* --- ESCUELA --- */
    .escuela-imagenes { gap: 1rem; justify-content: center; }
    .imagen-card { width: 100%; max-width: 260px; }
    .escuela-content .descripcion { font-size: 0.9rem; text-align: center; }
    .escuela-content .horario { justify-content: center; }

    /* --- CELULAS --- */
    .containercel {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 140px;
        gap: 8px;
        padding: 0;
    }
    .box_cel:nth-child(1),
    .box_cel:nth-child(4),
    .box_cel:nth-child(8) { grid-column: span 1; }

    /* --- MAP --- */
    .map-container iframe { height: 280px; }

    /* --- FOOTER --- */
    .footer { padding: 3rem 0 5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-links ul { align-items: center; }
    .footer-contact p { justify-content: center; }
    .footer-logo { width: 100px; }
}

/* ============================================
   SMALL MOBILE / 480px
   ============================================ */
@media (max-width: 480px) {
    .container { padding: 0 0.75rem; }

    .hero {
        padding: calc(var(--nav-height) + 2rem) 0.5rem 6rem;
    }
    .hero-title { font-size: 1.55rem; }
    .hero-subtitle { font-size: 0.8rem; }
    .hero-btn { padding: 0.7rem 1.4rem; font-size: 0.82rem; }
    .hero-photo { max-width: 200px; }

    .section { padding: 2rem 0; }
    .section-header { margin-bottom: 1.5rem; }
    .section-title { font-size: 1.35rem; }
    .section-desc { font-size: 0.85rem; }

    .floating-counter {
        bottom: 4.5rem;
        border-radius: 30px;
        padding: 0.4rem 0.7rem;
    }
    .fc-inner { gap: 0.35rem; }
    .fc-label { font-size: 0.68rem; }
    .fc-item span { font-size: 0.95rem; }
    .fc-item small { font-size: 0.42rem; }
    .fc-sep { font-size: 0.7rem; }
    .fc-fecha { display: none; }

    .floating-buttons { bottom: 5rem; right: 0.4rem; gap: 0.4rem; }
    .fab-btn { width: 38px; height: 38px; font-size: 1rem; }

    .bottom-nav { padding: 0.3rem 0.3rem; padding-bottom: max(0.3rem, env(safe-area-inset-bottom)); }
    .bn-item i { font-size: 1.05rem; }
    .bn-item span { font-size: 0.55rem; }
    .bn-item { min-width: 48px; padding: 0.3rem 0.4rem; }

    .cards { gap: 0.6rem; }
    .card { padding: 1.25rem 1rem; }
    .card-icon { width: 40px; height: 40px; font-size: 1rem; }
    .card h3 { font-size: 1rem; }
    .card p { font-size: 0.82rem; }
    .card .hora { font-size: 0.78rem; }

    .creencias-grid { gap: 0.6rem; }
    .creencia-card { padding: 1.25rem 1rem; }
    .creencia-icon { width: 45px; height: 45px; font-size: 1.2rem; }
    .creencia-card h3 { font-size: 1rem; }

    .pastores-grid { grid-template-columns: 1fr; gap: 0.6rem; }
    .pastor-card { max-width: 220px; margin: 0 auto; }
    .pastor-img-wrapper { width: 75px; height: 75px; }

    .containercel { grid-template-columns: 1fr; grid-auto-rows: 170px; }

    .carousel { height: 160px; }
    .slide img { height: 160px; max-width: 88vw; }
    .slide.left { transform: translateX(-35%) scale(0.85); }
    .slide.right { transform: translateX(35%) scale(0.85); }

    .collage-item { flex: 0 0 140px; }
    .collage-item img { height: 100px; }

    .actividades-table tbody tr { padding: 0.75rem 0.9rem; }
    .actividad-tab { width: 100%; justify-content: center; }
    .programacion-card { padding: 1.25rem 1rem; }

    /* Bottom nav con 5 items */
    .bottom-nav { gap: 0.1rem; padding-left: 0.2rem; padding-right: 0.2rem; }
    .bn-item { min-width: 48px; padding: 0.3rem 0.3rem; }

    .video-content h2 { font-size: 1.15rem; }
    .video-content p { font-size: 0.8rem; }

    .map-container iframe { height: 220px; }

    .footer { padding: 2.5rem 0 5.5rem; }
    .footer-logo { width: 85px; }
    .footer h4 { font-size: 0.95rem; }
    .footer-bottom p { font-size: 0.7rem; }

    .image-card { max-width: 100%; }
    .escuela-imagenes { gap: 0.75rem; }
}

/* ============================================
   AOS Overrides
   ============================================ */
[data-aos] {
    pointer-events: none;
}
[data-aos].aos-animate {
    pointer-events: auto;
}