/**
 * partners.css - Partners Page Styles
 * Holiday Lights Decor - Multi-Franchise Template
 * 
 * Loaded via: $page_css = ['partners.css']
 * Dependencies: main.css (global), pages-common.css (breadcrumb, section-header)
 * 
 * @version 10.0.0 (INTERSTATE)
 */


/* ==========================================================================
   PARTNERS HERO
   ========================================================================== */

.partners-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.partners-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/images/hero-bg.avif') center / cover no-repeat;
    opacity: 0.2;
}

.partners-hero .container {
    position: relative;
    z-index: 2;
}

.partners-hero-content {
    max-width: 680px;
    padding: 6rem 0 2rem;
    text-align: center;
    margin: 0 auto;
}

.partners-hero .hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gold);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.partners-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.partners-hero-content > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Hero Stats */
.partners-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}


/* ==========================================================================
   PARTNERSHIP TYPES — 3 cards with featured
   ========================================================================== */

.partners-types-section {
    padding: 5rem 0;
    background: var(--light);
}

.partners-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: stretch;
}

.partner-type-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.partner-type-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Featured card */
.partner-type-card.featured {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.partner-type-card.featured h3 {
    color: #fff;
}

.partner-type-card.featured p {
    color: rgba(255, 255, 255, 0.7);
}

.partner-type-card.featured .partner-benefits-list li span {
    color: rgba(255, 255, 255, 0.85);
}

.partner-type-card.featured .partner-benefits-list svg {
    color: var(--gold);
}

.partner-type-card.featured .partner-type-earning {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.partner-type-card.featured .earning-label {
    color: rgba(255, 255, 255, 0.6);
}

.partner-type-card.featured .earning-value {
    color: var(--gold);
}

/* Card header */
.partner-type-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.partner-type-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-type-icon svg {
    width: 22px;
    height: 22px;
}

.partner-type-icon.installation {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
}

.partner-type-icon.supplier {
    background: var(--light);
    color: var(--primary);
}

.partner-type-icon.referral {
    background: var(--light);
    color: var(--primary);
}

.partner-type-badge {
    background: var(--gold);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.partner-type-card h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.partner-type-card > p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Benefits list */
.partner-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.partner-benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.85rem;
}

.partner-benefits-list li svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.partner-benefits-list li span {
    color: var(--text-light);
}

/* Earning box */
.partner-type-earning {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--light);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.earning-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.earning-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

/* Card buttons */
.partner-type-card .btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    background: #fff;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid #fff;
    transition: all 0.3s;
}

.partner-type-card .btn-white:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.partner-type-card .btn-white svg {
    width: 16px;
    height: 16px;
}

.partner-type-card .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

.partner-type-card .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.partner-type-card .btn-outline svg {
    width: 16px;
    height: 16px;
}


/* ==========================================================================
   BENEFITS GRID
   ========================================================================== */

.partners-benefits-section {
    padding: 5rem 0;
    background: #fff;
}

.benefits-grid-partners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.benefit-card-partner {
    background: var(--light);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.benefit-card-partner:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--primary);
}

.benefit-icon-partner {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1rem;
}

.benefit-icon-partner svg {
    width: 22px;
    height: 22px;
}

.benefit-card-partner h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.benefit-card-partner p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}


/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */

.partners-process-section {
    padding: 5rem 0;
    background: var(--light);
}

.partners-process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.process-step-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
    flex: 1;
}

.step-number-partner {
    width: 48px;
    height: 48px;
    background: var(--dark);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.process-step-partner h3 {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.process-step-partner p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.process-connector-partner {
    width: 60px;
    height: 2px;
    background: #d1d5db;
    margin-bottom: 2rem;
    flex-shrink: 0;
}


/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.partners-testimonials-section {
    padding: 5rem 0;
    background: #fff;
}

.partners-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.partner-testimonial-card {
    background: var(--light);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    margin-bottom: 1rem;
}

.testimonial-quote svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.author-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--dark);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.88rem;
    color: var(--text);
}

.author-info > span {
    font-size: 0.78rem;
    color: var(--text-light);
}

.partner-type-tag {
    display: inline-block;
    margin-top: 0.25rem;
    background: rgba(98, 163, 64, 0.1);
    color: var(--primary);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    width: fit-content;
}


/* ==========================================================================
   IDEAL PARTNERS
   ========================================================================== */

.partners-ideal-section {
    padding: 5rem 0;
    background: var(--light);
}

.ideal-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.ideal-partner-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.ideal-partner-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ideal-icon {
    width: 48px;
    height: 48px;
    background: var(--dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--gold);
}

.ideal-icon svg {
    width: 22px;
    height: 22px;
}

.ideal-partner-item h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.ideal-partner-item p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}


/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.partners-cta-section {
    padding: 5rem 0;
    background: var(--primary);
    text-align: center;
}

.partners-cta-content {
    max-width: 560px;
    margin: 0 auto;
}

.partners-cta-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.partners-cta-icon svg {
    width: 100%;
    height: 100%;
}

.partners-cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 0.5rem;
}

.partners-cta-content > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.partners-cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.partners-cta-buttons .btn-primary {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.partners-cta-buttons .btn-primary:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

.partners-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.partners-cta-phone:hover {
    color: #fff;
}

.partners-cta-phone svg {
    width: 18px;
    height: 18px;
}

.partners-cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
}

.partners-cta-note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .partners-types-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefits-grid-partners {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .ideal-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-hero-content {
        padding: 5rem 0 1.5rem;
    }
    
    .partners-hero-stats {
        gap: 1.5rem;
    }
    
    .benefits-grid-partners {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .partners-process-steps {
        flex-direction: column;
    }
    
    .process-step-partner {
        max-width: 280px;
    }
    
    .process-connector-partner {
        width: 2px;
        height: 32px;
        margin-bottom: 0;
    }
    
    .ideal-partners-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .partners-cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .partners-hero h1 {
        font-size: 1.7rem;
    }
    
    .partners-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}