/* ==========================================================================
   Services Section - Heading + Paragraph + Highlighted Phone + Services Table
   ========================================================================== */

.services-section {
    background: #f7fafd;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    padding: 5px 20px 40px;
}

.services-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.services-section__eyebrow {
    text-align: center;
    margin: 0 0 14px;
}

.services-section__eyebrow-subtitle {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.45;
    margin: 0;
}

.services-section__eyebrow-highlight {
    display: inline-block;
    color: #1565c0;
    background: #e3f2fd;
    font-weight: 800;
    padding: 2px 12px;
    border-radius: 6px;
}

.services-section__text {
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
    margin: 0 auto 20px;
    max-width: 760px;
    text-align: center;
}

/* Highlighted phone number */
.services-section__phone {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 26px;
    text-align: center;
    scroll-margin-top: 16px;
}

.services-section__phone-badge {
    display: inline-block;
    background: #1565c0;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.services-section__phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e3f2fd;
    text-decoration: none;
    color: #1565c0;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.3px;
    border-radius: 999px;
    padding: 6px 16px;
    animation: servicesPhoneHighlight 1.4s ease-in-out infinite;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-section__phone-link:hover,
.services-section__phone-link:focus-visible {
    background: #1565c0;
    color: #ffffff;
    transform: scale(1.05);
    outline: none;
}

@keyframes servicesPhoneHighlight {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(21, 101, 192, 0.35);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(21, 101, 192, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-section__phone-link {
        animation: none;
    }
}

/* Interlink card grid */
.services-section__links-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 14px;
}

.services-section__links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.services-section__link-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-left: 4px solid #1565c0;
    border-radius: 6px;
    padding: 12px 14px;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.services-section__link-card:hover,
.services-section__link-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.22);
    border-color: #0d3b66;
    outline: none;
}

/* ---------------- Mobile responsive ---------------- */
@media (max-width: 640px) {
    .services-section {
        padding: 5px 14px 30px;
    }

    .services-section__eyebrow {
        margin: 0 0 12px;
    }

    .services-section__eyebrow-subtitle {
        font-size: 17px;
        line-height: 1.4;
    }

    .services-section__eyebrow-highlight {
        padding: 1px 8px;
    }

    .services-section__text {
        font-size: 14px;
    }

    .services-section__phone {
        gap: 8px;
        margin: 0 auto 22px;
    }

    .services-section__phone-link {
        font-size: 16px;
        padding: 6px 14px;
    }

    .services-section__links-title {
        font-size: 16px;
    }

    .services-section__links-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .services-section__link-card {
        font-size: 14px;
        padding: 14px 16px;
    }
}

@media (min-width: 641px) and (max-width: 860px) {
    .services-section__links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .services-section__eyebrow-subtitle {
        font-size: 15px;
        line-height: 1.45;
    }

    .services-section__phone-link {
        font-size: 15px;
    }
}
