/* RESCO Page – MISVA styling (blue & green theme) */

/* Hero – full-width image, dark overlay, text left */
.resco-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}
.resco-hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?w=1920&q=85') center/cover no-repeat;
    background-color: #e0f2fe;
}
.resco-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.35) 55%, rgba(15, 23, 42, 0.08) 100%);
}
.resco-hero-section .container {
    position: relative;
    z-index: 2;
}
.resco-hero-section .resco-hero-inner {
    max-width: 640px;
    text-align: left;
}
.resco-hero-section h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.resco-hero-section h1 .resco-hero-tagline {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    font-style: italic;
    color: #86efac;
    letter-spacing: 0.02em;
    margin-top: 0.35rem;
}
.resco-hero-section .resco-hero-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.resco-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 1.5rem;
}
.resco-hero-cta .btn { min-width: 200px; }

/* What is RESCO – two-column, image right */
.resco-what-section {
    padding: 5rem 0;
    background: #fff;
}
.resco-what-section .intro-content {
    align-items: center;
}
.resco-what-section .intro-text p,
.resco-what-section .intro-text ul {
    color: #374151;
}
.resco-what-section .intro-text ul {
    margin: 1rem 0;
}
.resco-what-section .intro-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    object-fit: cover;
}
.resco-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}
.resco-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 50px;
    color: #166534;
    font-weight: 600;
    font-size: 0.95rem;
}
.resco-pill i {
    color: #059669;
}

/* How RESCO Works – step flow */
.resco-how-section {
    padding: 5rem 0;
    background: #f8fafc;
    position: relative;
}
.resco-how-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1565793298595-6a879b1d9492?w=1200&q=80') center/cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
}
.resco-steps-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}
.resco-step-item {
    flex: 1 1 140px;
    max-width: 160px;
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}
.resco-step-num {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.resco-step-item p {
    font-size: 0.9rem;
    color: #374151;
    margin: 0;
    line-height: 1.4;
}

/* MISVA Role – supporting image */
.resco-role-section {
    padding: 5rem 0;
    background: #fff;
}
.resco-role-visual {
    max-width: 900px;
    margin: 2rem auto 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.resco-role-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* What You Gain – 2x3 grid + bg */
.resco-gain-section {
    padding: 5rem 0;
    background: #f0fdf4;
    position: relative;
}
.resco-gain-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1517649763962-0c6235910132?w=1200&q=80') center/cover no-repeat;
    opacity: 0.05;
    pointer-events: none;
}
.resco-gain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .resco-gain-grid { grid-template-columns: repeat(2, 1fr); }
}
.resco-gain-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #dcfce7;
}
.resco-gain-card i {
    color: #059669;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.resco-gain-card span {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 500;
}

/* Comparison – split visual + table */
.resco-capex-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 600px) { .resco-capex-visual { grid-template-columns: 1fr; } }
.resco-capex-card {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e5e7eb;
}
.resco-capex-card.resco-side {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}
.resco-capex-card.capex-side {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #cbd5e1;
}
.resco-capex-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}
.resco-capex-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-radius: 12px;
    overflow: hidden;
}
.comparison-table th, .comparison-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}
.comparison-table thead th {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    font-weight: 600;
}
.comparison-table tbody tr:nth-child(even) { background: #f8fafc; }
.comparison-table tbody tr:hover { background: #f1f5f9; }
.comparison-table .col-criteria { font-weight: 600; color: #1e293b; width: 28%; }

/* Who Should Choose – industry cards with images */
.resco-industry-section {
    padding: 5rem 0;
    background: #f8fafc;
}
.resco-industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.resco-industry-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}
.resco-industry-card:hover {
    transform: translateY(-4px);
}
.resco-industry-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    filter: grayscale(20%);
}
.resco-industry-card .resco-industry-label {
    padding: 1rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

/* ESG – image + icons */
.resco-esg-section {
    padding: 5rem 0;
    background: #fff;
}
.resco-esg-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 768px) { .resco-esg-wrap { grid-template-columns: 1fr; } }
.resco-esg-wrap img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    object-fit: cover;
}
.resco-esg-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.resco-esg-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}
.resco-esg-icon i {
    font-size: 1.5rem;
    color: #059669;
}
.resco-esg-icon span {
    font-weight: 600;
    color: #166534;
}

/* CTA – background image + overlay card */
.resco-cta-section {
    position: relative;
    padding: 5rem 2rem;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.resco-cta-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1611273426858-450d8e3c9fce?w=1920&q=85') center/cover no-repeat;
}
.resco-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
}
.resco-cta-section .container {
    position: relative;
    z-index: 2;
}
.resco-cta-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem;
    background: rgba(255,255,255,0.98);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.resco-cta-card h2 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
}
.resco-cta-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}
.resco-cta-card .btn {
    min-width: 220px;
}

/* Responsive */
@media (max-width: 768px) {
    .resco-hero-section {
        min-height: 60vh;
        margin-top: 70px;
    }
    .resco-hero-section h1 {
        font-size: 2rem;
    }
    .resco-hero-section .resco-hero-sub {
        font-size: 1rem;
    }
    .resco-hero-cta {
        justify-content: flex-start;
    }
    .resco-steps-flow {
        flex-direction: column;
        align-items: center;
    }
    .resco-step-item {
        max-width: 100%;
    }
    .resco-esg-wrap {
        gap: 2rem;
    }
}

/* RESCO FAQ – layout, accordion, CTA (aligned with MISVA style) */
.faq-section {
    padding: 64px 0;
    background: #f8fafc;
}
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.faq-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}
.faq-section .section-header h2 {
    margin-bottom: 0.5rem;
}
.faq-intro {
    max-width: 640px;
    margin: 0 auto;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}
.faq-section .faq-grid.resco-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.resco-faq-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.25s ease, background-color 0.2s ease;
}
.resco-faq-item:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
.resco-faq-item.resco-faq-open {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
.resco-faq-question {
    padding: 16px 20px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    user-select: none;
    transition: background-color 0.2s ease;
}
.resco-faq-item.resco-faq-open .resco-faq-question {
    background: #eff6ff;
}
.resco-faq-question:hover {
    background: #f8fafc;
}
.resco-faq-item.resco-faq-open .resco-faq-question:hover {
    background: #dbeafe;
}
.resco-faq-q-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.resco-faq-icon {
    color: #2563eb;
    font-size: 1rem;
    flex-shrink: 0;
}
.resco-faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}
.resco-faq-arrow {
    color: #6b7280;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.resco-faq-item.resco-faq-open .resco-faq-arrow {
    transform: rotate(180deg);
    color: #2563eb;
}
.resco-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.resco-faq-item.resco-faq-open .resco-faq-answer {
    max-height: 800px;
}
.resco-faq-answer p {
    padding: 0 20px 16px 20px;
    margin: 0 0 0 2.25rem;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}
.faq-updated {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin: 1.5rem 0 0;
}
.faq-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}
.faq-cta-text {
    font-size: 1.1rem;
    color: #374151;
    margin: 0 0 1rem;
    font-weight: 500;
}
.faq-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
@media (max-width: 768px) {
    .faq-section .faq-grid.resco-faq-grid {
        grid-template-columns: 1fr;
    }
    .resco-faq-answer p {
        margin-left: 0;
    }
}
