/* Service pages — extends the homepage styles in style.css. */

.service-page {
    padding: 120px 0 80px;
    background: #fff;
    color: #333;
}

.service-breadcrumb {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 24px;
}

.service-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.service-breadcrumb a:hover {
    text-decoration: underline;
}

.service-breadcrumb span[aria-hidden] {
    margin: 0 6px;
}

.service-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.2;
    margin-bottom: 16px;
}

.service-intro {
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-hero-img {
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.service-body {
    margin-top: 48px;
}

.service-body h2,
.service-faq h2,
.service-related h2 {
    font-size: 1.5rem;
    margin: 36px 0 12px;
}

.service-body p {
    line-height: 1.75;
    margin-bottom: 16px;
}

.service-faq {
    margin-top: 48px;
}

.service-faq-item {
    border-bottom: 1px solid #eee;
    padding: 18px 0;
}

.service-faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-faq-item p {
    line-height: 1.7;
    margin: 0;
}

.service-cta-card {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 28px;
    position: sticky;
    top: 110px;
}

.service-cta-card h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.service-contact-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 22px;
}

.service-contact-list li {
    margin-bottom: 10px;
}

.service-contact-list i {
    width: 22px;
    color: #555;
}

.service-contact-list a {
    color: inherit;
    text-decoration: none;
    word-break: break-word;
}

.service-related {
    margin-top: 64px;
}

.service-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.service-related-card {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.service-related-card:hover {
    transform: translateY(-3px);
}

.service-related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.service-related-card span {
    display: block;
    padding: 12px 14px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .service-page {
        padding-top: 100px;
    }

    .service-cta-card {
        position: static;
        margin-top: 32px;
    }
}

@media (max-width: 576px) {
    .service-page {
        padding-bottom: 56px;
    }

    .service-hero h1 {
        font-size: 1.7rem;
    }

    .service-related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .service-related-card img {
        height: 110px;
    }
}

/* Contact links in the sidebar card need full-height tap targets on phones */
.service-contact-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
