/* ========================================
   TECHMINDS AFRICA — Expertise Detail Page
   ======================================== */

/* ===== HERO EXPERTISE ===== */
.hero--expertise {
    padding: 120px 0 80px;
}

.hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.hero__breadcrumb a:hover {
    color: #fff;
}

.hero__breadcrumb span {
    color: #fff;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 28px;
    font-weight: 600;
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

.btn--whatsapp {
    background: #22c55e;
    color: #fff;
    padding: 12px 28px;
}

.btn--whatsapp:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
}


/* ===== SECTION LABEL ===== */
.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section__label--center {
    display: block;
    text-align: center;
}


/* ===== IMPACT CARDS ===== */
.expertise-impact {
    background: #fff;
    padding: 60px 0;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.impact-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.impact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.impact-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.impact-card__value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 4px;
}

.impact-card__label {
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.5;
}


/* ===== PROBLEM SECTION ===== */
.expertise-problem {
    background: #f9fafb;
}

.problem-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.problem-content .section__title {
    margin-bottom: 16px;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.6;
}

.problem-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.problem-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-stat {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    color: #fff;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
}

.problem-stat__number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}

.problem-stat__text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}


/* ===== SOLUTION SECTION ===== */
.expertise-solution {
    background: #fff;
}

.expertise-solution__subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid #e5e7eb;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: #2563eb;
}

.solution-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.solution-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.3;
}

.solution-card__text {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.7;
}


/* ===== RESULTS SECTION ===== */
.expertise-results {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    color: #fff;
}

.expertise-results .section__label {
    color: rgba(255, 255, 255, 0.7);
}

.expertise-results .section__title {
    color: #fff;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.result-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.result-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.result-card__metric {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1;
}

.result-card__label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}


/* ===== METHOD SECTION ===== */
.expertise-method {
    background: #f9fafb;
}

.expertise-method__subtitle {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

.method-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.method-step {
    flex: 1;
    text-align: center;
    padding: 0 16px;
}

.method-step__number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 16px;
    line-height: 1;
}

.method-step__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.method-step__text {
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.7;
}

.method-step__connector {
    width: 40px;
    height: 2px;
    background: #d1d5db;
    flex-shrink: 0;
    margin-top: 20px;
    position: relative;
}

.method-step__connector::after {
    content: '';
    position: absolute;
    right: -3px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #2563eb;
    border-top: 2px solid #2563eb;
    transform: rotate(45deg);
}


/* ===== AUDIENCE SECTION ===== */
.expertise-audience {
    background: #fff;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}

.audience-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f9fafb;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.audience-card:hover {
    transform: translateY(-2px);
    border-color: #2563eb;
}

.audience-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.audience-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.audience-card__text {
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.6;
}


/* ===== CTA SECTION ===== */
.expertise-cta {
    background: #f9fafb;
}

.expertise-cta__wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
    align-items: center;
}

.expertise-cta__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    line-height: 1.2;
}

.expertise-cta__text {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 28px;
}

.expertise-cta__benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.expertise-cta__benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.expertise-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.expertise-cta__contact-info {
    font-size: 0.875rem;
    color: #6b7280;
}

.expertise-cta__contact-info a {
    color: #2563eb;
    transition: color 0.2s;
}

.expertise-cta__contact-info a:hover {
    color: #1d4ed8;
}

.expertise-cta__visual {
    display: flex;
    justify-content: center;
}

.expertise-cta__card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    max-width: 340px;
    width: 100%;
    transition: border-color 0.25s ease;
}

.expertise-cta__card:hover {
    border-color: #2563eb;
}

.expertise-cta__card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.expertise-cta__card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.expertise-cta__card-text {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
}

.expertise-cta__card-email {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    transition: color 0.2s;
}

.expertise-cta__card-email:hover {
    color: #1d4ed8;
}


/* ===== OTHER EXPERTISES ===== */
.expertise-others {
    background: #fff;
}

.others-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.other-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.other-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.other-card__img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.other-card__body {
    padding: 20px 24px 24px;
}

.other-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.other-card__text {
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 12px;
}

.other-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563eb;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .method-step {
        flex: 0 0 calc(50% - 12px);
    }

    .method-step__connector {
        display: none;
    }

    .others-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .hero--expertise {
        padding: 100px 0 56px;
    }

    .impact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .impact-card {
        padding: 20px 16px;
    }

    .impact-card__value {
        font-size: 1.375rem;
    }

    .problem-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .problem-stat {
        max-width: 100%;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .method-steps {
        flex-direction: column;
        align-items: center;
    }

    .method-step {
        flex: 0 0 100%;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .expertise-cta__wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .expertise-cta__benefits {
        grid-template-columns: 1fr;
    }

    .expertise-cta__title {
        font-size: 1.5rem;
    }

    .others-grid {
        grid-template-columns: 1fr;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .impact-cards {
        grid-template-columns: 1fr;
    }

    .expertise-cta__actions {
        flex-direction: column;
    }

    .expertise-cta__actions .btn {
        width: 100%;
        justify-content: center;
    }
}
