

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            color: #000;
            line-height: 1.6;
            background: #fff;
        }

        header {
            border-bottom: 1px solid #e5e5e5;
            background: #fff;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            text-decoration: none;
            color: #000;
        }

        nav a {
            margin-left: 2rem;
            text-decoration: none;
            color: #000;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        nav a:hover {
            color: #666;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

       /* ==================== HERO =================== */
.hero-prestamos {
    background: url('/images/principales-diferencias-prestamo-credito.jpg') no-repeat center center;
    background-size: cover;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    color: #fff; /* texto blanco para contraste */
}

/* Overlay opcional para mejorar legibilidad */
.hero-prestamos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); /* oscurece la imagen */
    z-index: 0;
}

.hero-prestamos h1,
.hero-prestamos p,
.interest-badge {
    position: relative;
    z-index: 1; /* asegura que el texto quede encima del overlay */
}

.hero-prestamos h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.hero-prestamos p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #f0f0f0; /* tono claro para contraste */
}

.interest-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 0.8rem 2rem;
    margin-top: 1.5rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
}
        /* ==================== PRÉSTAMOS =================== */
        .prestamos-section {
            max-width: 1200px;
            margin: 4rem auto;
            padding: 0 2rem;
        }

        .prestamos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .prestamo-card {
            border: 1px solid #e5e5e5;
            background: #fff;
            overflow: hidden;
            transition: all 0.3s;
        }

        .prestamo-card:hover {
            border-color: #000;
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .prestamo-image {
            width: 100%;
            height: 250px;
            background-size: cover;
            background-position: center;
            border-bottom: 1px solid #e5e5e5;
        }

        .prestamo-content {
            padding: 2rem;
        }

        .prestamo-content h3 {
            font-size: 1.5rem;
            font-weight: 400;
            margin-bottom: 1rem;
            border-left: 3px solid #000;
            padding-left: 1rem;
        }

        .prestamo-content p {
            color: #555;
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        .prestamo-features {
            list-style: none;
            margin-bottom: 2rem;
        }

        .prestamo-features li {
            padding: 0.6rem 0;
            color: #444;
            border-bottom: 1px solid #f5f5f5;
            font-size: 0.95rem;
        }

        .prestamo-features li:last-child {
            border-bottom: none;
        }

        .prestamo-features li:before {
            content: "→ ";
            font-weight: bold;
            margin-right: 0.5rem;
        }

        .solicitar-btn {
            display: block;
            width: 100%;
            background: #000;
            color: #fff;
            padding: 1rem;
            text-align: center;
            text-decoration: none;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: background 0.3s;
        }

        .solicitar-btn:hover {
            background: #333;
        }

        /* ==================== INFO ADICIONAL =================== */
        .info-section {
            background: #f9f9f9;
            padding: 4rem 2rem;
            margin-top: 4rem;
        }

        .info-content {
            max-width: 1000px;
            margin: 0 auto;
            text-align: center;
        }

        .info-content h2 {
            font-size: 2rem;
            font-weight: 300;
            margin-bottom: 1.5rem;
        }

        .info-content p {
            font-size: 1.05rem;
            color: #555;
            margin-bottom: 1rem;
            line-height: 1.8;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .info-box {
            padding: 2rem;
            background: #fff;
            border: 1px solid #e5e5e5;
        }

        .info-box h3 {
            font-size: 2rem;
            font-weight: 300;
            margin-bottom: 0.5rem;
        }

        .info-box p {
            font-size: 0.9rem;
            color: #666;
        }

        /* CTA */
        .cta-section {
            background: #000;
            color: #fff;
            padding: 4rem 2rem;
            text-align: center;
        }

        .cta-section h2 {
            font-size: 2rem;
            font-weight: 300;
            margin-bottom: 1rem;
        }

        .cta-button {
            display: inline-block;
            background: #fff;
            color: #000;
            padding: 1rem 3rem;
            text-decoration: none;
            border-radius: 4px;
            margin-top: 1rem;
            font-weight: 600;
            transition: all 0.3s;
        }

        .cta-button:hover {
            background: #f0f0f0;
        }

        /* Footer */
        footer {
            background: #f9f9f9;
            padding: 3rem 2rem;
            border-top: 1px solid #e5e5e5;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
            color: #666;
        }

        /* Responsive */
        @media (max-width: 768px) {
            nav { display: none; }
            .mobile-menu-btn { display: block; }
            
            .hero-prestamos h1 {
                font-size: 2rem;
            }

            .hero-prestamos p {
                font-size: 1rem;
            }

            .prestamos-grid {
                grid-template-columns: 1fr;
            }

            .info-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .hero-prestamos {
                padding: 3rem 1rem;
            }

            .hero-prestamos h1 {
                font-size: 1.8rem;
            }

            .prestamo-content {
                padding: 1.5rem;
            }

            .interest-badge {
                font-size: 1rem;
                padding: 0.6rem 1.5rem;
            }
        }
