/* ========================================
   FINANCING PAGE SPECIFIC STYLES
   ======================================== */

/* Hero Section */
.financing-hero {
    position: relative;
    padding: 8rem 0 6rem;
    background-image: url("../images/hero-solar.c23051301d3e.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.financing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.financing-hero .container {
    position: relative;
    z-index: 2;
}

/* Trust Chips */
.trust-chips {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-chip {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.trust-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.trust-chip i {
    color: var(--solar-yellow, #F7B801);
}

/* Financing Grid Layout */
.financing-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Financing Card Base */
.financing-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--gray-200, #E5E7EB);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.financing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Card Header */
.card-header-styled {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    background: transparent;
    border: none;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gray-50, #F9FAFB);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--deep-blue, #2C3E50);
    transition: all 0.3s ease;
}

.financing-card:hover .icon-wrapper {
    background: var(--solar-orange, #FF6B35);
    color: white;
}

.card-title-styled {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue, #2C3E50);
    margin-bottom: 0.5rem;
}

.card-desc-styled {
    color: var(--gray-600, #4B5563);
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 3rem;
}

/* Tags & Badges */
.card-top-tag {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background: var(--gray-100, #F3F4F6);
    color: var(--gray-600, #4B5563);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem;
}

/* Card Body */
.card-body-styled {
    padding: 0 2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--gray-700, #374151);
    line-height: 1.4;
}

.benefits-list li i {
    color: var(--energy-green, #2ECC71);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Card Footer */
.card-footer-styled {
    padding: 0 2rem 2.5rem;
    margin-top: auto;
}

/* Highlighted / Primary Card */
.financing-card.highlighted {
    border: 2px solid var(--solar-orange, #FF6B35);
    transform: scale(1.05);
    /* Slight lift to emphasize size */
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(255, 107, 53, 0.15);
}

.financing-card.highlighted:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(255, 107, 53, 0.25);
}

.financing-card.highlighted .popular-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--solar-orange, #FF6B35);
    color: white;
    text-align: center;
    padding: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    z-index: 20;
}

.financing-card.highlighted .icon-wrapper {
    background: rgba(255, 107, 53, 0.1);
    color: var(--solar-orange, #FF6B35);
}

.financing-card.highlighted:hover .icon-wrapper {
    background: var(--solar-orange, #FF6B35);
    color: white;
}

/* Buttons */
.btn-styled {
    display: block;
    width: 100%;
    padding: 0.875rem;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary-styled {
    background: var(--solar-orange, #FF6B35);
    color: white;
    border: 2px solid var(--solar-orange, #FF6B35);
}

.btn-primary-styled:hover {
    background: var(--solar-orange-dark, #E65420);
    border-color: var(--solar-orange-dark, #E65420);
    color: white;
}

.btn-outline-styled {
    background: transparent;
    color: var(--deep-blue, #2C3E50);
    border: 2px solid var(--gray-200, #E5E7EB);
}

.btn-outline-styled:hover {
    border-color: var(--solar-orange, #FF6B35);
    color: var(--solar-orange, #FF6B35);
}

/* Banking Partners */
.banking-partners-section {
    padding: 5rem 0;
    background: var(--gray-50, #F9FAFB);
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.partner-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-100, #F3F4F6);
    /* Subtle border */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--gray-500, #6B7280);
}

.partner-card:hover {
    border-color: var(--solar-orange, #FF6B35);
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: var(--deep-blue, #2C3E50);
}

/* CTA Section */
.decision-cta {
    background: var(--deep-blue, #2C3E50);
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.decision-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.decision-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Commercial Badge */
.commercial-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--deep-blue, #2C3E50);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    z-index: 5;
}

/* Responsive */
@media (max-width: 992px) {
    .financing-grid-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .financing-card.highlighted {
        transform: scale(1);
    }

    .financing-card.highlighted:hover {
        transform: translateY(-5px);
    }
}