/* Importar tipografías de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de colores */
    --primary-deep-blue: #0428a6;
    --primary-royal-blue: #2a6bbe;
    --primary-gold: #d4a237;
    --primary-warm-gold: #f8ab34;
    --accent-burgundy: #410f67;
    --accent-cream: #fef7ed;
    
    /* Colores neutros sofisticados */
    --primary-dark: #0f172a;
    --secondary-dark: #1e293b;
    --tertiary-dark: #334155;
    --text-white: #ffffff;
    --text-cream: #fef7ed;
    --text-gray: #e2e8f0;
    --text-medium-gray: #94a3b8;
    --text-dark-gray: #475569;
    --text-dark: #1e293b;
    
    /* Tipografías elegantes */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Crimson Text', serif;
    
    /* Sombras y efectos */
    --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-medium: 0 8px 30px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 15px 50px rgba(15, 23, 42, 0.2);
    --shadow-donation: 0 20px 60px rgba(212, 175, 55, 0.25);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
    font-weight: 400;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navegación elegante */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
            z-index: 1000;
            padding: 1.2rem 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .navbar.scrolled {
            background: rgba(15, 23, 42, 0.98);
            padding: 0.8rem 0;
            border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .nav-logo .logo-image {
            height: 55px;
            width: auto;
            max-width: 140px;
            object-fit: contain;
            filter: brightness(1.1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-logo .logo-image:hover {
            filter: brightness(1.2);
            transform: scale(1.02);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            align-items: center;
        }

        .nav-link {
            color: var(--text-cream);
            text-decoration: none;
            font-weight: 500;
            font-family: var(--font-body);
            font-size: 0.95rem;
            letter-spacing: 0.5px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            padding: 0.8rem 0;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary-gold);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-gold), var(--primary-warm-gold));
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

/* Hero Section con imagen de fondo */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 90px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.85) 0%, 
        rgba(30, 65, 175, 0.7) 35%, 
        rgba(124, 45, 18, 0.7) 70%, 
        rgba(212, 175, 55, 0.3) 100%);
    z-index: 2;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-white);
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    color: var(--text-white);
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    color: var(--text-cream);
    margin-bottom: 2rem;
    font-style: italic;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-verse {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-cream);
    line-height: 1.6;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Sección de Impacto Mejorada */
        .impact-section {
            padding: 6rem 0;
            background: linear-gradient(135deg, var(--accent-cream) 0%, #fff 100%);
        }

        .section-title {
            font-family: var(--font-heading);
            font-size: 3rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 1.5rem;
            color: var(--text-dark);
            letter-spacing: 1.5px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-gold), var(--primary-warm-gold));
            border-radius: 2px;
        }

        .section-subtitle {
            text-align: center;
            font-family: var(--font-accent);
            font-size: 1.3rem;
            color: var(--text-dark-gray);
            font-style: italic;
            margin-bottom: 4rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Grid de Impacto Elegante */
        .impact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            margin-bottom: 4rem;
        }

        .impact-showcase {
            background: var(--text-white);
            border-radius: var(--border-radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-medium);
            transition: all 0.3s ease;
            border: 1px solid rgba(212, 175, 55, 0.1);
            position: relative;
        }

        .impact-showcase:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .impact-image {
            position: relative;
            height: 220px;
            overflow: hidden;
        }

        .impact-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .impact-showcase:hover .impact-image img {
            transform: scale(1.05);
        }

        .impact-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.4), rgba(212, 175, 55, 0.3));
        }

        .impact-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--primary-gold);
            color: var(--text-white);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .impact-icon-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--primary-gold);
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow-soft);
        }

        .impact-content {
            padding: 2rem;
        }

        .impact-title {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 1rem;
        }

        .impact-description {
            color: var(--text-dark-gray);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .impact-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid var(--text-gray);
        }

        .impact-number {
            font-family: var(--font-heading);
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-gold);
        }

        .impact-label {
            font-size: 0.9rem;
            color: var(--text-dark-gray);
            text-align: right;
        }

        /* Sección de Versículo */
        .donation-verse-section {
            background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(15, 23, 42, 0.95) 100%);
            padding: 3rem;
            border-radius: var(--border-radius-lg);
            text-align: center;
            margin-top: 3rem;
            position: relative;
            overflow: hidden;
        }

        .donation-verse-section::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 120px;
            height: 120px;
            background-image: url('/Img/Logo.webp');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            opacity: 0.15;
            filter: brightness(0.8);
        }

        .verse-content {
            position: relative;
            z-index: 2;
        }

        .donation-verse {
            font-family: var(--font-accent);
            font-size: 1.4rem;
            font-style: italic;
            color: var(--text-white);
            margin-bottom: 1.5rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        .verse-reference {
            color: var(--primary-gold);
            font-size: 1.1rem;
            font-style: normal;
            font-weight: 600;
            letter-spacing: 1px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .impact-section {
                padding: 4rem 0;
            }

            .section-title {
                font-size: 2.2rem;
            }

            .impact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .impact-showcase {
                max-width: 100%;
            }

            .impact-content {
                padding: 1.5rem;
            }

            .donation-verse-section {
                padding: 2rem;
                margin-top: 2rem;
            }

            .donation-verse {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .impact-image {
                height: 180px;
            }

            .impact-icon-overlay {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }

            .impact-stats {
                flex-direction: column;
                gap: 0.5rem;
                text-align: center;
            }

            .donation-verse-section::before {
                width: 80px;
                height: 80px;
            }

            .donation-verse {
                font-size: 1rem;
            }
        }

/* Donation Methods Section elegante */
.donation-methods {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
}

.donation-methods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-warm-gold));
}

.donation-methods .section-title {
    color: var(--text-white);
}

.donation-methods .section-subtitle {
    color: var(--text-gray);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.method-card {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--tertiary-dark) 100%);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-warm-gold));
}

.method-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(212, 175, 55, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.method-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-12px);
    box-shadow: var(--shadow-donation);
}

.method-card:hover::after {
    opacity: 1;
}

.method-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-warm-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--text-white);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.method-card:hover .method-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-strong);
}

.method-card h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.method-card p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

.method-details {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    text-align: left;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    z-index: 2;
}

.method-details h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.method-details p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-cream);
    font-weight: 500;
}

.donate-btn {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-warm-gold) 100%);
    color: var(--text-white);
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: var(--shadow-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.donate-btn:hover {
    background: linear-gradient(135deg, var(--primary-warm-gold) 0%, var(--primary-gold) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.donate-btn::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;
}

.donate-btn:hover::before {
    left: 100%;
}

/* Modal para transferencia digital */
.digital-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px 0;
}

.digital-modal .modal-content {
    background-color: var(--text-white);
    margin: 2% auto;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-strong);
    position: relative;
    animation: fadeInUp 0.3s ease-out;
    max-height: 95vh;
    overflow-y: auto;
}

.digital-modal h3 {
    color: var(--primary-deep-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2.2rem;
}

.transfer-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.transfer-card {
    background: linear-gradient(135deg, #f8fafc 0%, var(--accent-cream) 100%);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.transfer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-warm-gold));
}

.transfer-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.transfer-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    background: white;
    padding: 5px;
}

.transfer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.transfer-card h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.phone-number {
    background: var(--text-white);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 2px dashed var(--primary-gold);
    margin: 1rem 0 1.5rem 0;
    position: relative;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-deep-blue);
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-gold);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-warm-gold);
}

.copy-btn.copied {
    background: #10b981;
}

.qr-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.qr-section h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 600;
}

.qr-code {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    background: white;
    border: 2px solid var(--text-gray);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    padding: 10px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Placeholder para cuando no hay imagen */
.qr-placeholder {
    width: 180px;
    height: 180px;
    background: 
        repeating-linear-gradient(
            0deg,
            #000 0px,
            #000 3px,
            #fff 3px,
            #fff 6px
        ),
        repeating-linear-gradient(
            90deg,
            #000 0px,
            #000 3px,
            #fff 3px,
            #fff 6px
        );
    background-size: 6px 6px;
    border-radius: 4px;
    display: none; /* Oculto por defecto, se muestra si no hay imagen */
}

.qr-instructions {
    color: var(--text-dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.qr-instructions p {
    margin-bottom: 0.5rem;
}

.qr-instructions p:first-child {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.whatsapp-section {
    margin-top: 2.5rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--text-gray);
}

.whatsapp-section p {
    margin-bottom: 1.5rem;
    color: var(--text-dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Modal para donación con tarjeta */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--text-white);
    margin: 5% auto;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-strong);
    position: relative;
    animation: fadeInUp 0.3s ease-out;
}

.close {
    color: var(--text-medium-gray);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-gold);
}

.modal h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.donation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    padding: 1rem;
    border: 2px solid var(--text-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-gold);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--primary-gold);
    color: var(--text-white);
}

.submit-donation {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-warm-gold) 100%);
    color: var(--text-white);
    padding: 1.2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-donation:hover {
    background: linear-gradient(135deg, var(--primary-warm-gold) 0%, var(--primary-gold) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Footer elegante */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: var(--text-white);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-warm-gold));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo .footer-logo-image {
    height: 70px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(1.1);
}

.footer-logo p {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-cream);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--text-gray);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.footer-column ul li a:hover {
    color: var(--primary-gold);
    padding-left: 8px;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.footer-social a {
    width: 55px;
    height: 55px;
    background: var(--tertiary-dark);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-warm-gold));
    color: var(--text-white);
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--tertiary-dark);
}

.footer-bottom p {
    color: var(--text-medium-gray);
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 400;
}

/* Notificación de éxito */
.success-notification {
    position: fixed;
    top: 120px;
    right: 2rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    z-index: 10001;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.success-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive para modal digital */
@media (max-width: 768px) {
    .digital-modal {
        padding: 10px 0;
    }
    
    .digital-modal .modal-content {
        margin: 1% auto;
        padding: 1.5rem;
        width: 95%;
        max-width: 95%;
        max-height: 98vh;
    }
    
    .transfer-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .qr-code {
        width: 150px;
        height: 150px;
    }
    
    .transfer-logo {
        width: 50px;
        height: 50px;
    }
    
    .phone-number {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .copy-btn {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
    
    .transfer-card {
        padding: 1.5rem;
    }
    
    .qr-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .qr-section h4 {
        font-size: 1.2rem;
    }
    
    .qr-instructions {
        font-size: 0.85rem;
    }
    
    .whatsapp-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .digital-modal .modal-content {
        padding: 1rem;
        margin: 0.5% auto;
    }
    
    .qr-code {
        width: 130px;
        height: 130px;
    }
    
    .transfer-card {
        padding: 1rem;
    }
    
    .qr-section {
        padding: 1rem;
    }
    
    .transfer-card h4 {
        font-size: 1.2rem;
    }
    
    .phone-number {
        font-size: 0.85rem;
        padding: 0.7rem;
    }
}

/* Responsive Design General */
@media (max-width: 1024px) {
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
        height: 60vh;
        min-height: 400px;
    }
    
    .impact-section,
    .donation-methods {
        padding: 6rem 0;
    }
    
    .method-card {
        padding: 2.5rem 2rem;
    }
    
    .impact-card {
        padding: 2.5rem 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .method-card h3 {
        font-size: 1.8rem;
    }
    
    .impact-card h3 {
        font-size: 1.6rem;
    }
    
    .donate-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

/* Animaciones suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ==========================================
   ESTILOS ADICIONALES PARA MERCADO PAGO
   Agregar DESPUÉS de los estilos del modal existente
   ========================================== */

/* Logo de Mercado Pago */
.mp-logo {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.mp-logo img {
    height: 35px;
    width: auto;
}

/* Badge de seguridad */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 8px;
    color: #0369a1;
    font-size: 0.95rem;
    border: 1px solid #bae6fd;
    font-weight: 500;
}

.security-badge i {
    font-size: 1.3rem;
    color: #0284c7;
}

/* Botón de submit mejorado con estados */
.submit-donation {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    color: white;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-donation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.submit-donation:hover::before {
    left: 100%;
}

.submit-donation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.submit-donation:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-donation:disabled:hover {
    transform: none;
    box-shadow: none;
}

.submit-donation i {
    font-size: 1.2rem;
}

/* Animación de spinner para cuando está cargando */
.submit-donation .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Botones de monto MEJORADOS */
.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.amount-btn {
    padding: 1.2rem 1rem;
    border: 2px solid #D4AF37;
    background: white;
    color: #1a237e;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.amount-btn:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.amount-btn.selected {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    color: white;
    border-color: #F4D03F;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
}

/* Input de monto personalizado */
#customAmount {
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 500;
}

#customAmount:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

#customAmount::placeholder {
    color: #94a3b8;
}

/* Notificación de éxito MEJORADA */
.success-notification {
    display: none;
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    z-index: 10001;
    animation: slideInRight 0.5s ease-out;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.success-notification.show {
    display: flex;
    align-items: center;
}

.success-notification i {
    font-size: 1.8rem;
}

@keyframes slideInRight {
    0% {
        transform: translateX(400px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Modal mejorado */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scrollbar personalizado para el modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #F4D03F;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .amount-buttons {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
        margin: 5% auto;
    }

    .submit-donation {
        padding: 1rem;
        font-size: 1rem;
    }

    .success-notification {
        right: 10px;
        left: 10px;
        top: 80px;
        padding: 1.2rem 1.5rem;
        font-size: 0.95rem;
    }

    .mp-logo img {
        height: 28px;
    }

    .security-badge {
        font-size: 0.85rem;
        padding: 1rem;
    }

    .amount-btn {
        padding: 1rem;
        font-size: 1rem;
    }
}