/* InWorky SEO service pages - clean readability layer */

.seo-breadcrumb {
    line-height: 1.6;
}

.seo-hero {
    border-bottom: 1px solid var(--border);
}

.seo-hero .container,
.seo-section .container {
    max-width: 1120px;
}

.seo-hero h1 {
    max-width: 880px;
    letter-spacing: 0;
}

.seo-hero p.lead {
    max-width: 820px;
}

.seo-section {
    position: relative;
}

.seo-section h2 {
    letter-spacing: 0;
    line-height: 1.25;
    max-width: 880px;
}

.seo-section .sub {
    max-width: 820px;
    line-height: 1.75;
}

.answer-box {
    max-width: 860px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--orange);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
    margin-top: 24px;
}

.answer-box p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 14px;
}

.darija-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.darija-keywords span {
    background: var(--blue-light);
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    padding: 6px 12px;
    border-radius: 18px;
}

.content-list {
    max-width: 880px;
    color: var(--text-light);
    line-height: 1.8;
    list-style: disc;
    padding-left: 22px;
}

.content-list li {
    margin-bottom: 10px;
}

.urgent-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.tip-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
    color: var(--text-light);
    line-height: 1.7;
}

.choice-steps {
    counter-reset: choice;
    max-width: 900px;
}

.choice-steps li {
    counter-increment: choice;
    list-style: none;
    position: relative;
    padding: 0 0 18px 42px;
    color: var(--text-light);
    line-height: 1.75;
}

.choice-steps li::before {
    content: counter(choice);
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
}

.steps-container {
    align-items: stretch;
}

.step,
.service-icon-card,
.feature-card,
.faq-item,
.task-card,
.tip-box,
.answer-box {
    border-radius: 12px !important;
}

.service-icon-card,
.feature-card,
.task-card {
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04) !important;
}

.service-icon-card h3,
.feature-card h3,
.task-card h3 {
    line-height: 1.35;
}

.service-icon-card p,
.feature-card p,
.local-context,
.content-list,
.choice-steps li {
    color: var(--text-light);
}

.cost-table {
    display: table;
    width: 100%;
    max-width: 760px !important;
}

.cost-table th,
.cost-table td {
    vertical-align: middle;
}

.cost-note {
    max-width: 760px;
    line-height: 1.65;
}

.zones-wrap {
    max-width: 920px;
}

.zone-pill {
    border: 1px solid rgba(36, 79, 157, 0.14);
    line-height: 1.2;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
}

.faq-item summary {
    min-height: 56px;
}

.faq-item summary h3 {
    line-height: 1.35;
}

.faq-item p {
    line-height: 1.75;
}

.seo-cta {
    border-radius: 14px !important;
    box-shadow: 0 18px 45px rgba(36, 79, 157, 0.18);
}

.seo-cta h2 {
    max-width: none;
}

.seo-cta .btn {
    justify-content: center;
}

@media (max-width: 768px) {
    .seo-breadcrumb {
        padding-top: 88px !important;
    }

    .seo-hero {
        padding: 28px 0 42px !important;
    }

    .seo-hero h1 {
        font-size: 30px !important;
        line-height: 1.18 !important;
    }

    .seo-hero p.lead {
        font-size: 16px !important;
    }

    .hero-ctas,
    .seo-cta {
        gap: 10px;
    }

    .hero-ctas .btn,
    .seo-cta .btn {
        width: 100%;
        min-height: 48px;
        white-space: normal;
        text-align: center;
    }

    .steps-container {
        gap: 14px;
    }

    .step-connector {
        display: none !important;
    }

    .cost-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 12px;
    }

    .cost-table table,
    .cost-table tbody,
    .cost-table tr {
        width: 100%;
    }

    .faq-item summary {
        padding-right: 42px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .seo-section h2 {
        font-size: 24px !important;
    }

    .seo-services-grid {
        gap: 12px !important;
    }

    .service-icon-card,
    .feature-card,
    .task-card,
    .faq-item {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

/* Keep the urgent-service panel readable on phones: the advice box must
   stack below the service details instead of squeezing the text column. */
@media (max-width: 900px) {
    .urgent-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .urgent-panel .local-context {
        min-width: 0;
    }

    .urgent-panel .content-list {
        padding-left: 22px;
    }
}

@media (max-width: 480px) {
    .urgent-panel {
        gap: 16px;
    }

    .urgent-panel .local-context {
        font-size: 15px;
        line-height: 1.75;
    }

    .urgent-panel .content-list li {
        margin-bottom: 12px;
    }

    .urgent-panel .tip-box {
        padding: 16px;
    }
}
