/* --- Importación de Fuentes Personalizadas --- */
@font-face {
    font-family: 'NewYork';
    src: url('../newyork/NewYork PERSONAL USE.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --- Variables de Color y Fuentes --- */
:root {
    --accent-color: #7784f3;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'NewYork', 'Playfair Display', serif;
}

/* --- Reseteo Básico y Estilos Globales --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevenir scroll horizontal */
}

body {
    font-family: var(--font-primary);
    background-color: #FFFFFF;
    color: #333;
    overflow-x: hidden;
    /* Prevenir scroll horizontal */
    width: 100%;
    max-width: 100vw;
    /* Limitar ancho máximo */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

/* --- Estructura del Hero Header --- */
.hero-header {
    position: relative;
    height: 100vh;
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

/* --- Cintillo de Horarios --- */
.schedule-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 15;
    padding: 10px 0;
}

.schedule-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.schedule-banner-content i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeGlow 3s ease-in-out infinite;
}

@keyframes fadeGlow {

    0%,
    100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    }
}

.background-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.main-nav {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    z-index: 10;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 700;
    display: flex;
    align-items: center;
}

/* Estilos para el logo del navbar */
.logo-img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

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

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    font-weight: 400;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Hamburger menu para móvil */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

.hero-content {
    position: relative;
    z-index: 5;
    text-align: right;
    margin-right: 50px;
    margin-top: -100px;
}

.main-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.2;
}

.subtitle {
    font-family: var(--font-primary);
    letter-spacing: 1px;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 8px;
}

.church-initials {
    font-family: var(--font-primary);
    letter-spacing: 2px;
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    font-weight: 600;
    opacity: 0.8;
    text-transform: uppercase;
}

/* --- Secciones Generales --- */
.about-section,
.ministries-section,
.visit-section {
    padding: 120px 40px;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.vision-section {
    background-color: #FFFFFF;
    text-align: center;
    margin-top: -80px;
    border-radius: 80px 80px 0 0;
    z-index: 3;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    /* Para efectos de animación */
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.vision-divider {
    width: 2px;
    height: 50px;
    background-color: #e0e0e0;
    margin: 0 auto 25px;
    transform-origin: center;
    transition: all 0.8s ease;
    /* Aumentado de 0.3s a 0.8s */
}

.vision-subtitle {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 25px;
    transform: translateY(0);
    transition: all 0.8s ease;
    /* Aumentado de 0.3s a 0.8s */
}

.vision-main-text {
    font-family: var(--font-primary);
    /* Cambiar a Montserrat como las descripciones */
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    /* Tamaño más similar a las descripciones */
    line-height: 1.8;
    /* Interlineado similar a las descripciones */
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    /* Color similar a las descripciones */
    padding: 0 20px;
    text-align: center;
    /* Cambiar de justify a center para eliminar sangría */
    perspective: 1000px;
    /* Para efectos 3D */
    transform-style: preserve-3d;
    transition: all 0.8s ease;
    /* Aumentado de 0.3s a 0.8s */
    font-weight: 400;
    /* Peso normal como las descripciones */
}

/* Estilos para las palabras animadas individualmente */
.word-reveal {
    transition: all 0.6s ease;
    /* Aumentado de 0.3s a 0.6s */
    transform-origin: center bottom;
}

.word-reveal:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* --- Sección "Acerca de" --- */
.about-section {
    background: #FFFFFF;
    /* Background sólido uniforme */
    z-index: 2;
    padding: 0;
    /* Eliminar padding para que no haya espacios */
    width: 100vw;
    /* Usar todo el ancho de la viewport */
    margin: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Dos columnas iguales para máximo aprovechamiento */
    gap: 0;
    /* Sin gap para que no haya espacios entre secciones */
    width: 100vw;
    /* Usar todo el ancho de la viewport */
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 600px;
    align-items: center;
    margin: 0;
    padding: 0;
    background: #FFFFFF;
    /* Background sólido uniforme para todas las filas */
}

/* Fondos unificados para todas las filas */
.about-row:first-child {
    background: #FFFFFF;
}

.about-row:last-child {
    background: #FFFFFF;
}

.about-row:first-child .about-text {
    background: #FFFFFF;
}

.about-row:last-child .about-text {
    background: #FFFFFF;
}

/* Asegurar que las imágenes de ambas filas tengan el mismo fondo y altura */
.about-row:first-child .about-image {
    background: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-row:last-child .about-image {
    background: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-row:not(:last-child) {
    margin-bottom: 0;
    /* Eliminar espacio entre las filas */
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 40px;
    /* Agregar padding para que no esté pegado a los bordes */
    box-sizing: border-box;
    background: #FFFFFF !important;
}

/* --- Carrusel de Imágenes en Sección About --- */
.image-carousel {
    position: relative;
    width: 100%;
    /* Ocupar todo el ancho disponible en el contenedor con padding */
    height: 100%;
    /* Ocupar toda la altura de la columna */
    min-height: 520px;
    overflow: hidden;
    border-radius: 0;
    /* Sin bordes redondeados para imagen cuadrada */
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: transparent !important;
    /* Hacer transparente para mostrar el fondo del contenedor padre */
    touch-action: pan-x; /* Permitir solo swipe horizontal en móviles */
    user-select: none; /* Prevenir selección de texto durante swipe */
}

.image-carousel:hover {
    transform: translateY(-5px) scale(1.02);
    /* box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
}

.image-circle {
    width: 100%;
    height: 100%;
    border-radius: 0;
    /* Sin bordes redondeados para imagen cuadrada */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.image-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(119, 132, 243, 0.1) 0%,
            rgba(99, 102, 241, 0.1) 50%,
            rgba(79, 70, 229, 0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.image-carousel:hover .image-circle img {
    transform: scale(1.05);
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

/* Ocultar las etiquetas de caption */
.image-caption {
    display: none;
}

.about-text {
    width: 100%;
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px clamp(40px, 8vw, 120px);
    /* Padding responsivo que se adapta al ancho */
    background: #FFFFFF;
    position: relative;
    border-radius: 0;
    /* Sin bordes redondeados para que cubra toda la sección */
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
    /* Removidas las animaciones CSS para usar GSAP */
}

.about-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 1px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    /* Ancho fijo en lugar de animado */
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), rgba(119, 132, 243, 0.3));
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    /* Removidas las animaciones CSS para usar GSAP */
}

/* Removidos los delays de animación CSS ya que GSAP los maneja */

.about-text .highlight-text {
    font-weight: 600;
    /* color: var(--accent-color); */
    color: #222;
    font-style: italic;
    position: relative;
}

/* Removidos los keyframes que ya no se usan por GSAP */

/* === EFECTOS ADICIONALES PARA ANIMACIONES === */
/* Efecto de resplandor sutil para el hero content */
.hero-content {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

/* Efecto de shimmer para el título principal */
.main-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.2;
    /* Shimmer effect simplificado */
    background: linear-gradient(45deg, #ffffff, #f8f8f8, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Efecto de glow para elementos interactivos */
.btn-main,
.btn-donate,
.btn-submit {
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.btn-main:hover,
.btn-donate:hover,
.btn-submit:hover {
    box-shadow: 0 8px 25px rgba(119, 132, 243, 0.3);
}

/* Mejoras visuales para transiciones suaves - SIN afectar visibilidad inicial */
.btn-main,
.btn-donate,
.btn-submit {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Sección de Ministerios --- */
.ministries-section {
    background-color: #ffffff;
    z-index: 1;
}

.ministries-title {
    font-family: var(--font-primary);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 600;
    text-align: center;
    color: #222;
    margin-bottom: 60px;
    letter-spacing: 1px;
    text-transform: uppercase;
    /* Removidas las animaciones CSS para usar GSAP */
}

.ministry-container {
    max-width: 1200px;
}

.ministry-slider {
    align-items: center;
    position: relative;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    min-height: 550px;
    overflow: hidden;
    /* Prevenir desbordamiento durante las transiciones */
}

.ministry-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.ministry-slide.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.ministry-visual {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 0;
    /* Sin bordes redondeados para imagen cuadrada */
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ministry-visual:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.ministry-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(119, 132, 243, 0.03) 0%,
            rgba(99, 102, 241, 0.02) 50%,
            rgba(79, 70, 229, 0.03) 100%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ministry-visual:hover::before {
    opacity: 1;
}

.visual-main {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    /* Sin bordes redondeados para imagen cuadrada */
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1.05) saturate(1.1);
    display: block;
}

.ministry-visual:hover .visual-main {
    transform: scale(1.03);
    filter: brightness(1.05) contrast(1.1) saturate(1.2);
}

.ministry-info {
    padding-right: 20px;
}

.ministry-info h2 {
    font-family: var(--font-secondary);
    font-size: 4rem;
    margin-bottom: 25px;
}

.ministry-info p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.btn-main {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #222;
    color: #222;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-main:hover {
    background-color: #222;
    color: white;
}

/* Clase para ocultar call to action cuando sea necesario */
.hidden-cta {
    display: none !important;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    color: #000;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: -25px;
}

.next-arrow {
    right: -25px;
}

.ministry-slide.fade-out {
    animation: smoothFadeOut 0.4s ease forwards;
}

.ministry-slide.fade-in {
    animation: smoothFadeIn 0.6s 0.2s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes smoothFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes smoothFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animaciones escalonadas para elementos dentro de cada slide */
.ministry-slide.active .ministry-visual {
    animation: slideElementFadeIn 0.8s 0.1s ease forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.ministry-slide.active .ministry-info {
    animation: slideElementFadeIn 0.8s 0.3s ease forwards;
    opacity: 0;
    transform: translateX(30px);
}

@keyframes slideElementFadeIn {
    from {
        opacity: 0;
        transform: translateX(var(--initial-transform, 0));
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reset para elementos cuando el slide no está activo */
.ministry-slide:not(.active) .ministry-visual,
.ministry-slide:not(.active) .ministry-info {
    opacity: 1;
    transform: translateX(0);
    animation: none;
}

/* --- Sección de Donación --- */
.donation-section {
    position: relative;
    padding: 140px 40px;
    text-align: center;
    color: white;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.donation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../convertidos/donacion.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.donation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.donation-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
}

.donation-content h2 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.donation-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-donate {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--accent-color), rgba(119, 132, 243, 0.8));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(119, 132, 243, 0.3);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 10;
    cursor: pointer;
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-donate:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(119, 132, 243, 0.4);
    background: linear-gradient(135deg, rgba(119, 132, 243, 0.9), var(--accent-color));
}

.btn-donate:hover::before {
    left: 100%;
}

.btn-donate:active {
    transform: translateY(-1px) scale(1.02);
}

/* --- Sección Visítanos --- */
.visit-section {
    background-color: #f8f9fa;
    padding: 100px 40px;
}

.visit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.visit-map {
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visit-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.visit-info h2 {
    font-family: var(--font-secondary);
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin: 0;
    color: #222;
    font-weight: 600;
}

.visit-info .address {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Contenedor para los botones */
.visit-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
}

.visit-info .btn-main {
    flex: 1;
    min-width: 140px;
    padding: 14px 25px;
    background: linear-gradient(135deg, var(--accent-color), rgba(119, 132, 243, 0.8));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    border-radius: 8px;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(119, 132, 243, 0.25);
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.visit-info .btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.visit-info .btn-main:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(119, 132, 243, 0.4);
    background: linear-gradient(135deg, rgba(119, 132, 243, 0.9), var(--accent-color));
    border-color: rgba(255, 255, 255, 0.2);
}

.visit-info .btn-main:hover::before {
    left: 100%;
}

.visit-info .btn-main:active {
    transform: translateY(0) scale(1);
}

.visit-times {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(119, 132, 243, 0.1), rgba(99, 102, 241, 0.05));
    border-radius: 12px;
    padding: 20px 25px;
    color: #333;
    border: 1px solid rgba(119, 132, 243, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.visit-times:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(119, 132, 243, 0.15), rgba(99, 102, 241, 0.08));
}

.visit-times i {
    font-size: 2rem;
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color), rgba(119, 132, 243, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visit-times .schedule-text {
    flex: 1;
}

.visit-times .schedule-text p {
    color: #333;
    font-weight: 500;
    margin: 0;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* --- Sección de Podcast --- */
.podcast-section {
    padding: 80px 40px;
    background-color: #fafafa;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.podcast-container {
    max-width: 800px;
    margin: 0 auto;
}

.podcast-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(45deg, var(--accent-color), #9f8fff);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.podcast-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.podcast-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.podcast-iframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.podcast-iframe-container iframe {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podcast-iframe-container iframe:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* --- Footer --- */
.main-footer {
    padding: 40px 40px;
    background-color: #111111;
    color: #888;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

/* Estilos para el logo del footer */
.footer-logo-img {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.footer-copy {
    font-size: 0.9rem;
}

.footer-back-to-top a {
    color: #888;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-back-to-top a:hover {
    color: white;
}

/* --- Sección Formulario de Contacto "Queremos Conocerte" --- */
.contact-form-section {
    position: relative;
    padding: 120px 40px;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 26, 0.8) 50%),
        url('../convertidos/iglesia\ boletin.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    
    box-sizing: border-box;
}

.form-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.form-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.form-content {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    /* Estilo cuadrado */
    padding: 60px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
}

.form-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
    z-index: -1;
}

.form-content:hover {
    transform: translateY(-5px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.92);
}

.form-text {
    text-align: left;
}

.form-content h2 {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #222;
    position: relative;
}

.form-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), rgba(119, 132, 243, 0.5));
}

.form-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: #555;
    font-weight: 400;
}

.form-wrapper {
    width: 100%;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0;
    /* Estilo cuadrado */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #333;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    font-weight: 400;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(51, 51, 51, 0.6);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 0 25px rgba(119, 132, 243, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.form-group select {
    cursor: pointer;
    color: #333;
}

.form-group select option {
    background: #fff;
    color: #333;
}

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

.btn-submit {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--accent-color), #6366f1);
    color: white;
    border: none;
    border-radius: 0;
    /* Estilo cuadrado */
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(119, 132, 243, 0.3);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(119, 132, 243, 0.4);
    background: linear-gradient(135deg, #6366f1, var(--accent-color));
}

.btn-submit:hover::before {
    left: 100%;
}

/* --- Adaptabilidad (Responsive Design) --- */

/* Tablets grandes (1024px y menor) */
@media (max-width: 1024px) {
    /* Header y navegación */
    .hero-content {
        margin-right: 30px;
        margin-top: -80px;
    }

    .main-nav {
        top: 40px;
        padding: 20px 30px;
    }

    .logo-img {
        height: 42px;
    }

    /* Sección Acerca de - Tablets */
    .about-row {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        min-height: 500px;
        padding: 0 20px;
    }

    .about-text {
        min-height: 500px;
        padding: 50px clamp(25px, 5vw, 60px);
    }

    .about-text h2 {
        font-size: clamp(1.6rem, 2.8vw, 2rem);
        margin-bottom: 25px;
    }

    .about-text p {
        font-size: clamp(0.9rem, 1.8vw, 1rem);
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .about-image {
        min-height: 500px;
        padding: 30px;
    }

    .image-carousel {
        min-height: 440px;
        height: 100%;
    }

    /* Ministerios */
    .ministry-slide {
        gap: 40px;
    }

    .ministry-visual {
        height: 450px;
    }

    .ministry-info h2 {
        font-size: 3.2rem;
    }

    /* Sección Te Esperamos - Tablets */
    .visit-container {
        padding: 40px 20px;
    }

    .visit-map {
        height: 400px;
        border-radius: 12px;
    }

    .visit-info {
        padding: 30px;
    }

    .visit-info h2 {
        font-size: 2.4rem;
        margin-bottom: 25px;
    }

    .visit-info p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .visit-buttons {
        gap: 15px;
    }

    .visit-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Contenedores */
    .container {
        padding: 0 30px;
    }
}

/* Tablets medianos (768px y menor) */
@media (max-width: 768px) {
    /* Header responsive */
    .schedule-banner {
        padding: 8px 0;
    }

    .schedule-banner-content {
        font-size: 0.8rem;
        gap: 10px;
    }

    .main-nav {
        padding: 25px;
        justify-content: space-between;
        top: 38px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-links a {
        font-size: 1.2em;
        padding: 10px 20px;
    }
    
    .hamburger {
        display: flex;
    }

    .logo-img {
        height: 35px;
    }

    .hero-content {
        text-align: right;
        margin-right: 20px;
        margin-top: -50px;
        padding: 0 20px 0 0;
    }

    .main-title {
        font-size: clamp(2.2rem, 7vw, 3.5rem);
    }

    .subtitle {
        font-size: clamp(1rem, 3.5vw, 1.5rem);
    }

    .church-initials {
        font-size: clamp(0.8rem, 3vw, 1.2rem);
    }

    /* SECCIÓN ACERCA DE - RESPONSIVE CRÍTICO */
    .about-section {
        padding: 0;
    }

    .about-row {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
        padding: 0;
        text-align: center;
    }

    .about-row:first-child {
        /* Pastor primero */
        display: grid;
        grid-template-areas: 
            "image"
            "text";
    }

    .about-row:last-child {
        /* Comunidad segunda */
        display: grid;
        grid-template-areas: 
            "text"
            "image";
    }

    .about-row:first-child .about-image {
        grid-area: image;
        order: 1;
    }

    .about-row:first-child .about-text {
        grid-area: text;
        order: 2;
    }

    .about-row:last-child .about-text {
        grid-area: text;
        order: 1;
    }

    .about-row:last-child .about-image {
        grid-area: image;
        order: 2;
    }

    .about-text {
        min-height: auto;
        padding: 40px 25px;
        text-align: center;
        background: #FFFFFF;
    }

    .about-text h2 {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
        margin-bottom: 20px;
        text-align: center;
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }

    .about-text p {
        font-size: clamp(0.9rem, 2.2vw, 1rem);
        line-height: 1.6;
        margin-bottom: 15px;
        text-align: justify;
        max-width: 100%;
    }

    .about-image {
        min-height: 350px;
        padding: 25px;
        background: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .image-carousel {
        width: 100%;
        max-width: 320px;
        height: 300px;
        min-height: 300px;
        margin: 0 auto;
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .image-circle {
        border-radius: 15px;
    }

    .carousel-indicators {
        bottom: 10px;
        padding: 6px 10px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    /* Visión responsive */
    .vision-section {
        padding: 60px 20px;
        border-radius: 60px 60px 0 0;
        margin-top: -60px;
    }

    .vision-divider {
        height: 40px;
        margin-bottom: 20px;
    }

    .vision-subtitle {
        margin-bottom: 20px;
    }

    .vision-main-text {
        padding: 0 15px;
        max-width: 600px;
    }

    /* Ministerios responsive */
    .ministry-slide {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .ministry-visual {
        height: 350px;
        border-radius: 12px;
        margin: 0 auto;
        max-width: 400px;
    }

    .visual-main {
        border-radius: 12px;
    }

    .ministry-info {
        padding: 0 20px;
    }

    .ministry-info h2 {
        font-size: clamp(2.2rem, 6vw, 3rem);
        margin-bottom: 20px;
    }

    .ministry-info p {
        font-size: clamp(0.9rem, 2vw, 1rem);
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .slider-arrow {
        top: 175px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .prev-arrow {
        left: 10px;
    }

    .next-arrow {
        right: 10px;
    }

    .ministries-title {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        margin-bottom: 40px;
        padding: 0 20px;
    }

    /* Formulario de contacto */
    .contact-form-section {
        padding: 80px 20px;
        background-attachment: scroll;
    }

    .form-content {
        padding: 40px 25px;
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .form-content h2 {
        font-size: clamp(1.6rem, 4vw, 2rem);
    }

    .form-content p {
        font-size: clamp(0.9rem, 2.2vw, 1rem);
    }

    /* Sección Te Esperamos - Responsive mejorado */
    .visit-section {
        padding: 80px 20px;
    }

    .visit-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0;
    }

    .visit-map {
        height: 350px;
        order: 2;
        border-radius: 8px;
        margin: 0 auto;
        max-width: 100%;
        min-height: 300px;
    }

    .visit-map:hover {
        transform: none; /* Deshabilitar hover en móvil */
    }

    .visit-info {
        order: 1;
        text-align: center;
        gap: 20px;
        padding: 0 10px;
    }

    .visit-buttons {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .visit-info .btn-main {
        min-width: 140px;
        padding: 14px 25px;
        font-size: 0.95rem;
    }

    .visit-times {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
        margin: 0 auto;
        max-width: 300px;
    }

    .visit-times i {
        font-size: 1.8rem;
    }

    /* Podcast responsive */
    .podcast-section {
        padding: 60px 20px;
    }

    .podcast-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .podcast-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 15px;
    }

    .podcast-description {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .podcast-iframe-container {
        padding: 0 10px;
    }

    .podcast-iframe-container iframe {
        height: 380px;
        border-radius: 12px;
    }

    /* Donación responsive */
    .donation-section {
        background-attachment: scroll;
        padding: 100px 20px;
    }

    .donation-content h2 {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .btn-donate {
        padding: 16px 40px;
        font-size: 1rem;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo-img {
        height: 30px;
    }

    /* Contenedores generales */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
}

/* --- Media Query para Dispositivos Muy Pequeños --- */
@media (max-width: 480px) {
    /* Header móviles pequeños */
    .schedule-banner {
        padding: 7px 0;
    }

    .schedule-banner-content {
        font-size: 0.75rem;
        gap: 8px;
    }

    .schedule-banner-content i {
        font-size: 0.8rem;
    }

    .main-nav {
        padding: 20px 15px;
    }

    .logo-img {
        height: 32px;
    }

    .hero-content {
        margin-right: 15px;
        padding: 0 15px 0 0;
    }

    .main-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        line-height: 1.1;
    }

    .subtitle {
        font-size: clamp(0.9rem, 4vw, 1.3rem);
    }

    .church-initials {
        font-size: clamp(0.7rem, 3.5vw, 1rem);
    }

    /* SECCIÓN ACERCA DE - MÓVILES PEQUEÑOS */
    .about-text {
        padding: 30px 20px;
    }

    .about-text h2 {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .about-text h2::after {
        width: 40px;
        height: 2px;
    }

    .about-text p {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .about-image {
        min-height: 280px;
        padding: 20px 15px;
    }

    .image-carousel {
        max-width: 280px;
        height: 240px;
        min-height: 240px;
        border-radius: 12px;
        cursor: grab; /* Indicar que se puede arrastrar */
        -webkit-touch-callout: none; /* Desactivar menú contextual en iOS */
        -webkit-user-select: none; /* Desactivar selección en iOS */
        user-select: none; /* Desactivar selección en todos los navegadores */
    }
    
    .image-carousel:active {
        cursor: grabbing; /* Cambiar cursor durante interacción */
    }
    
    /* Indicadores sutiles y pequeños con área táctil adecuada */
    .carousel-indicators {
        margin-top: 12px;
        gap: 6px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .indicator {
        position: relative;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        padding: 8px; /* Área táctil invisible */
        margin: 0;
    }
    
    .indicator::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: inherit;
        transition: all 0.3s ease;
    }
    
    .indicator.active {
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .indicator.active::before {
        transform: translate(-50%, -50%) scale(1.3);
    }
    
    .indicator:hover {
        background-color: rgba(255, 255, 255, 0.7);
    }

    .image-circle {
        border-radius: 12px;
    }

    .carousel-indicators {
        bottom: 8px;
        padding: 4px 8px;
    }

    .indicator {
        width: 6px;
        height: 6px;
    }

    /* Visión móviles pequeños */
    .vision-section {
        padding: 50px 15px;
        border-radius: 50px 50px 0 0;
        margin-top: -50px;
    }

    .vision-divider {
        height: 35px;
        margin-bottom: 15px;
    }

    .vision-subtitle {
        font-size: clamp(0.7rem, 2vw, 0.8rem);
        margin-bottom: 15px;
    }

    .vision-main-text {
        font-size: clamp(1rem, 3vw, 1.1rem);
        padding: 0 10px;
        line-height: 1.6;
    }

    /* Ministerios móviles pequeños */
    .ministries-title {
        font-size: clamp(1rem, 4.5vw, 1.4rem);
        margin-bottom: 30px;
        padding: 0 15px;
        line-height: 1.3;
    }

    .ministry-visual {
        height: 280px;
        max-width: 320px;
        border-radius: 10px;
    }

    .visual-main {
        border-radius: 10px;
    }

    .ministry-info {
        padding: 0 15px;
    }

    .ministry-info h2 {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        margin-bottom: 15px;
        line-height: 1.1;
    }

    .ministry-info p {
        font-size: clamp(0.85rem, 2.2vw, 0.95rem);
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .slider-arrow {
        top: 140px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-arrow {
        left: 5px;
    }

    .next-arrow {
        right: 5px;
    }

    /* Formulario contacto móviles pequeños */
    .contact-form-section {
        padding: 60px 15px;
    }

    .form-content {
        padding: 30px 20px;
        gap: 25px;
    }

    .form-content h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        line-height: 1.2;
    }

    .form-content p {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        line-height: 1.5;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    /* Sección Te Esperamos - Móviles pequeños */
    .visit-section {
        padding: 60px 15px;
    }

    .visit-container {
        gap: 25px;
        padding: 0 5px;
    }

    .visit-map {
        height: 280px;
        min-height: 250px;
        border-radius: 6px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

    .visit-info {
        gap: 15px;
        padding: 0 5px;
    }

    .visit-info h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 10px;
    }

    .visit-info .address {
        font-size: clamp(0.9rem, 3vw, 1rem);
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .visit-buttons {
        flex-direction: column;
        gap: 10px;
        margin: 15px 0;
    }

    .visit-info .btn-main {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.9rem;
        min-width: unset;
        border-radius: 6px;
    }

    .visit-times {
        padding: 15px;
        gap: 10px;
        max-width: 280px;
        border-radius: 8px;
    }

    .visit-times i {
        font-size: 1.5rem;
    }

    .visit-times .schedule-text p {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        line-height: 1.4;
    }

    /* Podcast móviles pequeños */
    .podcast-section {
        padding: 50px 15px;
    }

    .podcast-container {
        padding: 0 5px;
    }

    .podcast-divider {
        height: 40px;
        margin-bottom: 20px;
    }

    .podcast-title {
        font-size: clamp(1.5rem, 7vw, 1.9rem);
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .podcast-description {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        margin-bottom: 25px;
        padding: 0 5px;
        line-height: 1.5;
    }

    .podcast-iframe-container {
        padding: 0 5px;
    }

    .podcast-iframe-container iframe {
        height: 350px;
        border-radius: 10px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    /* Donación móviles pequeños */
    .donation-section {
        padding: 80px 15px;
    }

    .donation-content h2 {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .donation-content p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .btn-donate {
        padding: 14px 35px;
        font-size: 0.95rem;
    }

    /* Footer móviles pequeños */
    .main-footer {
        padding: 30px 15px;
    }

    .footer-logo-img {
        height: 28px;
    }

    .footer-copy {
        font-size: 0.8rem;
    }

    .footer-back-to-top a {
        font-size: 1.3rem;
    }

    /* Contenedores móviles pequeños */
    .container {
        padding: 0 15px;
    }

    /* Prevenir overflow horizontal */
    body,
    html {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================
   MODAL DE ÉXITO - ESTILO SWEETALERT
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: scale(0.7) translateY(50px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.show .modal-container {
    transform: scale(1) translateY(0);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: successPulse 0.6s ease-out;
}

.success-icon i {
    color: white;
    font-size: 2.5rem;
    animation: checkMark 0.6s ease-out 0.2s both;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.modal-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 35px;
}

.modal-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modal-btn:active {
    transform: translateY(0);
}

/* Estilos para el botón de envío con loader mejorado */
.btn-submit {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 140px;
    height: auto;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit.loading {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    transform: scale(0.98);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    color: white;
}

.btn-text {
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    opacity: 1;
    transform: scale(1);
}

.btn-text.hide {
    opacity: 0;
    transform: scale(0.8) translateY(-10px);
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8) translateY(10px);
    transition: all 0.4s ease;
    width: 100%;
}

.btn-loader.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) translateY(0);
}

.btn-loader i {
    animation: spinPulse 2s ease-in-out infinite;
    color: white;
    font-size: 1rem;
    margin-right: 4px;
}

.btn-loader .loading-text {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
    animation: textPulse 2s ease-in-out infinite;
}

.btn-loader .loading-dots {
    display: inline-flex;
    gap: 2px;
    margin-left: 2px;
}

.btn-loader .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: white;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.btn-loader .dot:nth-child(1) { animation-delay: 0s; }
.btn-loader .dot:nth-child(2) { animation-delay: 0.2s; }
.btn-loader .dot:nth-child(3) { animation-delay: 0.4s; }

/* Animaciones */
/* Animaciones mejoradas para el loader */
@keyframes spinPulse {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    25% {
        transform: rotate(90deg) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: rotate(180deg) scale(1);
        opacity: 1;
    }
    75% {
        transform: rotate(270deg) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes dotBounce {
    0%, 20%, 80%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    40% {
        transform: translateY(-6px) scale(1.2);
        opacity: 1;
    }
    60% {
        transform: translateY(-3px) scale(1.1);
        opacity: 0.9;
    }
}

/* Estilos para reCAPTCHA integrado */
.recaptcha-container {
    margin: 25px 0 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.recaptcha-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.recaptcha-container.show {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
    margin: 25px 0 20px 0;
}

.recaptcha-container.show::before {
    opacity: 1;
}

.recaptcha-container .g-recaptcha {
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.recaptcha-container.show .g-recaptcha {
    transform: scale(1);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: scale(0.98);
    background: #ccc !important;
    color: #666 !important;
    transition: all 0.3s ease;
    pointer-events: none;
}

.btn-submit:disabled:hover {
    transform: scale(0.98);
    box-shadow: none;
}

/* Responsive para reCAPTCHA */
@media (max-width: 768px) {
    .recaptcha-container {
        margin: 20px 0 10px 0;
    }
    
    .recaptcha-container.show {
        margin: 20px 0 15px 0;
    }
    
    .recaptcha-container .g-recaptcha {
        transform: scale(0.85);
    }
    
    .recaptcha-container.show .g-recaptcha {
        transform: scale(0.9);
    }
    
    .recaptcha-container::before {
        width: 40px;
    }
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkMark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive para modal */
@media (max-width: 768px) {
    .modal-container {
        padding: 30px 25px;
        max-width: 350px;
        max-height: 85vh;
    }

    .success-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }

    .success-icon i {
        font-size: 2rem;
    }

    .modal-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .modal-message {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .modal-btn {
        padding: 12px 35px;
        font-size: 0.95rem;
    }

    .modal-overlay {
        padding: 15px;
    }
}

/* Media queries adicionales para modal de éxito */
@media (max-height: 600px) {
    .modal-container {
        padding: 20px 25px;
        margin: 10px auto;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .success-icon i {
        font-size: 1.8rem;
    }
    
    .modal-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .modal-message {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }
}

/* === ESTILOS PARA MODAL DE ÉXITO === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7) translateY(50px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    margin: auto;
    box-sizing: border-box;
}

.modal-overlay.show .modal-container {
    transform: scale(1) translateY(0);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: successPulse 0.6s ease-out 0.2s both;
}

.success-icon i {
    color: white;
    font-size: 2.5rem;
    animation: checkMark 0.4s ease-out 0.4s both;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.modal-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 35px;
}

.modal-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* === ESTILOS PARA MODAL DE DONACIÓN === */
.donation-modal .modal-container {
    max-width: 500px;
    padding: 45px 40px;
    max-height: 85vh;
}

.donation-modal-container {
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-size: 1rem;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.donation-header {
    margin-bottom: 35px;
}

.donation-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: successPulse 0.6s ease-out 0.2s both;
}

.donation-icon i {
    color: white;
    font-size: 2rem;
    animation: heartBeat 2s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.modal-subtitle {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
    font-weight: 400;
}

.qr-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-frame {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.qr-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b6b 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.qr-frame:hover::before {
    opacity: 1;
}

.qr-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.donation-message {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.modal-btn.secondary:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

/* Animación de entrada para el modal de donación */
.donation-modal.show .donation-modal-container {
    animation: donationModalSlide 0.5s ease-out;
}

@keyframes donationModalSlide {
    0% {
        transform: scale(0.7) translateY(100px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Mejora para pantallas con poca altura */
@media (max-height: 700px) {
    @keyframes donationModalSlide {
        0% {
            transform: scale(0.9) translateY(30px);
            opacity: 0;
        }
        100% {
            transform: scale(1) translateY(0);
            opacity: 1;
        }
    }
    
    .modal-container {
        transform: scale(0.9) translateY(20px);
    }
    
    .modal-overlay.show .modal-container {
        transform: scale(1) translateY(0);
    }
}

/* Responsive para modal de donación */
@media (max-width: 768px) {
    .donation-modal .modal-container {
        max-width: 380px;
        padding: 35px 25px;
        max-height: 90vh;
    }

    .qr-image {
        max-width: 180px;
    }

    .donation-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .donation-icon i {
        font-size: 1.8rem;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .modal-subtitle {
        font-size: 0.9rem;
    }

    .donation-message {
        font-size: 0.95rem;
    }

    .qr-frame {
        padding: 15px;
    }

    .modal-overlay {
        padding: 15px;
    }
}

/* Media queries específicas para laptops y pantallas medianas */
@media (min-width: 769px) and (max-width: 1366px) {
    .modal-overlay {
        padding: 30px;
    }
    
    .donation-modal .modal-container {
        max-height: 80vh;
        padding: 35px 30px;
    }
    
    .qr-image {
        max-width: 170px;
    }
    
    .donation-header {
        margin-bottom: 25px;
    }
    
    .donation-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }
    
    .modal-title {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }
    
    .modal-subtitle {
        font-size: 0.95rem;
    }
    
    .donation-message {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

/* Para pantallas muy pequeñas en altura (landscape en móviles) */
@media (max-height: 600px) {
    .modal-overlay {
        align-items: flex-start;
        padding: 10px;
    }
    
    .donation-modal .modal-container {
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 20px 25px;
        max-height: 95vh;
    }
    
    .donation-header {
        margin-bottom: 15px;
    }
    
    .donation-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .donation-icon i {
        font-size: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .modal-subtitle {
        font-size: 0.85rem;
        margin-top: 5px;
    }
    
    .qr-container {
        margin: 15px 0;
    }
    
    .qr-image {
        max-width: 140px;
    }
    
    .qr-frame {
        padding: 12px;
    }
    
    .donation-message {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .modal-btn {
        padding: 10px 30px;
        font-size: 0.9rem;
    }
}

/* Para laptops estándar (1366x768, 1440x900, etc.) */
@media (min-width: 1024px) and (max-width: 1440px) and (min-height: 700px) {
    .donation-modal .modal-container {
        max-height: 75vh;
        padding: 40px 35px;
    }
    
    .qr-image {
        max-width: 190px;
    }
}

/* Para pantallas grandes */
@media (min-width: 1441px) {
    .donation-modal .modal-container {
        max-height: 70vh;
        padding: 50px 45px;
    }
    
    .qr-image {
        max-width: 220px;
    }
}

/* === FOOTER === */
.main-footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(119, 132, 243, 0.3);
}

.footer-social a i {
    font-size: 1.2em;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

.footer-back-to-top a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(119, 132, 243, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(119, 132, 243, 0.3);
}

.footer-back-to-top a:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    color: white;
    box-shadow: 0 10px 25px rgba(119, 132, 243, 0.3);
}

/* Media Queries para Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-main {
        order: 1;
        gap: 20px;
    }
    
    .footer-social {
        gap: 15px;
    }
    
    .footer-copy {
        order: 2;
        font-size: 0.85em;
    }
    
    .footer-back-to-top {
        order: 3;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
    }
    
    .footer-social a i {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 30px 0;
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .footer-main {
        gap: 15px;
    }
    
    .footer-logo-img {
        height: 40px;
    }
    
    .footer-social {
        gap: 12px;
    }
    
    .footer-social a {
        width: 38px;
        height: 38px;
    }
    
    .footer-social a i {
        font-size: 1em;
    }
    
    .footer-copy {
        font-size: 0.8em;
    }
    
    .footer-back-to-top a {
        width: 40px;
        height: 40px;
        font-size: 1.1em;
    }
}