
.services-main {
    padding: 48px 0 64px;
}

.services-hero {
    text-align: center;
}

.services-hero-inner {
    display: grid;
    gap: 12px;
    justify-items: center;
}

.services-title {
    margin: 0;
    font-family: 'Alfa Slab One', 'Alfa Slab One Fallback', serif;
    font-size: clamp(28px, 4vw, 40px);
    color: var(--color_1);
}

.services-subtitle {
    margin: 0;
    max-width: 640px;
    font-size: 18px;
    line-height: 1.5;
}

.services-directory {
    padding: 32px 0 72px;
    background: #f5f6f9;
}

.services-directory-inner {
    display: grid;
    gap: 32px;
}

.services-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.service-link {
    display: block;
    width: 100%;
    padding: 10px 12px;
    background: var(--color_5);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    font-weight: 600;
    color: #2d3a86;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.service-link:hover,
.service-link:focus-visible {
    border-color: rgba(45, 58, 134, 0.45);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.service-link.is-active {
    background: #2d3a86;
    color: var(--color_5);
    border-color: #2d3a86;
}

.services-empty {
    margin: 0;
    color: #1c1c1c;
}

.service-detail-card {
    background: var(--color_5);
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 22px 26px;
    display: grid;
    gap: 24px;
    align-items: center;
}

.service-detail-card.has-image {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
}

.service-detail-media {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.service-detail-content {
    order: 1;
}

.service-detail-media img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.service-detail-title {
    margin: 0 0 10px;
    font-family: 'Alfa Slab One', 'Alfa Slab One Fallback', serif;
    font-size: clamp(22px, 3vw, 28px);
    color: #2d3a86;
}

.service-detail-copy {
    line-height: 1.6;
    color: #1c1c1c;
    white-space: pre-line;
    text-indent: 1.5em;
}

@media (min-width: 900px) {
    .service-detail-copy {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }}

@media (max-width: 900px) {
    .service-detail-card.has-image {
        grid-template-columns: 1fr;
    }}

