        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            background-color: #fff;
            /*background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);*/
            color: white;
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            height: 100px;
            font-size: 1.8rem;
            font-weight: bold;
            background: linear-gradient(45deg, #87CEEB, #ffffff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: #1e3c72;
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: 500;
        }

        .nav-links a:hover {
            color: #87CEEB;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #87CEEB 100%);
            color: white;
            padding: 200px;
            text-align: center;
            position: relative;
            overflow: hidden;
            clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
        }

        .hero::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            animation: fadeInUp 1s ease-out;
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        .cta-button {
            display: inline-block;
            background: linear-gradient(45deg, #87CEEB, #ffffff);
            color: #1e3c72;
            padding: 15px 40px;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0,0,0,0.3);
        }

        /* Services Section */
        .services {
            padding: 60px 0 100px;
            background: linear-gradient(45deg, #f8fbff 0%, #ffffff 100%);
            position: relative;
            margin-top: -40px;
        }

        .services .container {
            position: relative;
            z-index: 2;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #1e3c72;
            font-weight: 700;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 2fr);
            gap: 1rem;
            margin-top: 3rem;
        }

        .service-card {
            background: white;
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(30, 60, 114, 0.1);
            transition: all 0.3s ease;
            border: 1px solid rgba(135, 206, 235, 0.2);
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .service-card:hover::before {
            left: 100%;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(30, 60, 114, 0.15);
        }

        .service-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #87CEEB, #2a5298);
            border-radius: 50%;
            margin: 0 auto 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: white;
            box-shadow: 0 8px 25px rgba(30, 60, 114, 0.15);
        }

        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #1e3c72;
            font-weight: 600;
        }

        .service-card p {
            color: #666;
            line-height: 1.6;
        }

        /* About Section */
        .about {
            padding: 100px 0;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            color: white;
            position: relative;
            clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
            margin-top: -40px;
        }

        .about-content {
            text-align: center;
        }

        .about h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            font-weight: 700;
        }

        .about p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
            line-height: 1.8;
            text-align: justify;
        }

        /* Contact Section */
        .contact {
            padding: 80px 0;
            background: linear-gradient(45deg, #f8fbff 0%, #ffffff 100%);
            position: relative;
        }

        .contact-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            text-align: center;
        }

        .contact-item {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .contact-item:hover {
            transform: translateY(-5px);
        }

        .contact-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #87CEEB, #2a5298);
            border-radius: 50%;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            padding-top: 16px; /*agregado para modificar los iconos en el centro del circulo azul*/
        }

        .contact-item h4 {
            color: #1e3c72;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .contact-item p {
            color: #666;
            font-weight: 500;
        }

        /* Footer */
        footer {
            background: #1e3c72;
            color: white;
            text-align: center;
            padding: 2rem 0;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .hamburger {
    display: none;
    font-size: 1.8rem;
    color: #1e3c72;
    cursor: pointer;
}


        /* Boton NOVEDADES */

        .floating-mortgage-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #87CEEB 0%, #2a5298 100%);
    color: white;
    padding: 18px 25px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(30, 60, 114, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    max-width: 350px;
    animation: floatingPulse 3s infinite ease-in-out;
}

.floating-mortgage-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(30, 60, 114, 0.6);
}

.floating-btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.floating-btn-content i {
    font-size: 1.5rem;
    animation: bounceIcon 2s infinite;
}

.floating-btn-text {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

.badge-novedad {
    position: absolute;
    top: -25px;
    left: -10px;
    background: linear-gradient(45deg, #ff6b6b, #ff8787);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: badgePulse 2s infinite;
}

@keyframes floatingPulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounceIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .floating-mortgage-btn {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: calc(100% - 40px);
        padding: 15px 20px;
    }
    
    .floating-btn-text {
        font-size: 0.85rem;
    }
    
    .floating-btn-content i {
        font-size: 1.3rem;
    }
}

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100px;
        right: 20px;
        background: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        display: flex !important;
    }

           .hero {
            margin-top: 80px;
    padding: 80px 50px;
    clip-path: none;
}

            .hero h1 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .contact-info {
                grid-template-columns: 1fr;
            }
        }

        /* Smooth scroll behavior */
        html {
            scroll-behavior: smooth;
        }

        /* Scroll indicator */
        .scroll-indicator {
            position: fixed;
            top: 70px;
            left: 0;
            width: 0%;
            height: 3px;
            background: linear-gradient(90deg, #87CEEB, #2a5298);
            z-index: 1000;
            transition: width 0.3s ease;
        }

        /* ======== Estilos adicionales para las FAQs visuales ======== */
        .faq {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: white;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(30, 60, 114, 0.1);
            margin-bottom: 1.2rem;
            padding: 1.5rem 2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            border-left: 5px solid transparent;
        }

        .faq-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 35px rgba(30, 60, 114, 0.15);
            border-left: 5px solid #87CEEB;
        }

        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #1e3c72;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .faq-answer {
            margin-top: 0.8rem;
            color: #555;
            line-height: 1.6;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: all 0.4s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 200px;
            opacity: 1;
        }

        .faq-item i {
            transition: transform 0.3s ease;
        }

        .faq-item.active i {
            transform: rotate(180deg);
            color: #87CEEB;
        }

        /* --- Testimonios --- */
        .testimonios {
            padding: 100px 0;
            background: linear-gradient(45deg, #f8fbff 0%, #ffffff 100%);
        }

        .testimonios .section-title {
            text-align: center;
            font-size: 2.5rem;
            color: #1e3c72;
            margin-bottom: 3rem;
        }

        .testimonios-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .testimonio-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(30, 60, 114, 0.1);
            padding: 2rem;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .testimonio-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(30, 60, 114, 0.15);
        }

        .testimonio-foto {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 1.2rem;
            border: 3px solid #87CEEB;
        }

        .testimonio-texto {
            font-style: italic;
            color: #555;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .testimonio-nombre {
            font-weight: 600;
            color: #1e3c72;
        }

        /* BOTON de pago stripe */

.floating-payment-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 18px 25px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    max-width: 350px;
    animation: floatingPulsePayment 3s infinite ease-in-out;
}

.floating-payment-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.6);
}

.floating-payment-btn .floating-btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.floating-payment-btn .floating-btn-content i {
    font-size: 1.5rem;
    animation: bounceIconPayment 2s infinite;
}

.floating-payment-btn .floating-btn-text {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

.badge-oferta {
    position: absolute;
    top: -25px;
    left: -10px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    animation: badgePulsePayment 2s infinite;
}

@keyframes floatingPulsePayment {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounceIconPayment {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes badgePulsePayment {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(255, 165, 0, 0.6);
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .floating-payment-btn {
        bottom: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
        padding: 15px 20px;
    }
    
    .floating-payment-btn .floating-btn-text {
        font-size: 0.85rem;
    }
    
    .floating-payment-btn .floating-btn-content i {
        font-size: 1.3rem;
    }
}