/* Products & Services index */
html.services-document {
    overflow-x: clip;
}

.services-index-page {
    background: #ffffff;
    color: #17213a;
    font-family: var(--font-body);
    overflow-x: clip;
}

.services-index-page .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Hero */
.services-hero {
    width: 100%;
    margin: 0;
    padding: clamp(64px, 8vw, 108px) 0 clamp(56px, 6vw, 84px);
    background: linear-gradient(180deg, #f4f8fb 0%, #eef4fa 100%);
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.services-hero-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.services-hero-label {
    display: inline-flex;
    padding: 6px 16px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: #e2eff9;
    color: #0e4b88;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.services-hero h1 {
    margin: 0;
    color: #07101d;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.services-hero h1 span {
    color: #1f659f;
}

.services-hero-copy {
    max-width: 700px;
    margin: 22px auto 0;
    color: #4b5768;
    font-size: 1.05rem;
    line-height: 1.7;
}

.services-hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.services-hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 8px;
    background: #0a3159;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.services-hero-cta-primary:hover,
.services-hero-cta-primary:focus-visible {
    background: #0e4b88;
    transform: translateY(-1px);
}

/* Why choose */
.services-why {
    width: 100%;
    padding: clamp(48px, 5vw, 72px) 0;
    background: #eef4fa;
}

.services-why-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 50px;
}

.services-why-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 18px;
    margin-bottom: 28px;
}

.services-why-eyebrow {
    margin: 0;
    color: #0e4b88;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.services-why-tagline {
    margin: 0;
    padding-left: 18px;
    border-left: 1px solid #c7dff2;
    color: #5b6b7f;
    font-size: 0.92rem;
}

.services-why-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding-left: 18px;
    border-left: 1px solid #c7dff2;
    color: #5b6b7f;
    font-size: 0.86rem;
}

.services-why-stats strong {
    color: #0a3159;
    font-weight: 700;
}

.services-why-link {
    margin-left: auto;
    color: #0e4b88;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.services-why-link:hover,
.services-why-link:focus-visible {
    text-decoration: underline;
}

.services-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.services-why-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-why-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid #dbe6f0;
    border-radius: 12px;
    background: #ffffff;
    flex: 1 1 auto;
}

.services-why-card-eyebrow {
    margin: 0 0 8px;
    color: #6f7c8f;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.services-why-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.services-why-card h3 {
    margin: 0;
    color: #0a3159;
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 700;
}

.services-why-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 9px;
    background: #e2eff9;
    color: #1f659f;
}

.services-why-card-icon svg {
    width: 19px;
    height: 19px;
}

.services-why-card-copy {
    margin: 10px 0 0;
    color: #5b6b7f;
    font-size: 0.9rem;
    line-height: 1.6;
}

.services-why-card-link {
    margin-top: auto;
    padding-top: 14px;
    color: #0e4b88;
    font-size: 0.85rem;
    font-weight: 700;
}

.services-why-feature {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #dbe6f0;
    box-shadow: 0 24px 48px rgba(10, 49, 89, 0.08);
}

.services-why-feature-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    margin: 0 0 20px;
    border-radius: 10px;
    background: linear-gradient(160deg, #0a3159 0%, #071d35 100%);
    overflow: hidden;
}

.services-why-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.services-why-feature-media.no-image img {
    display: none;
}

.services-why-feature-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.services-why-feature h3 {
    margin: 0;
    color: #0a3159;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
}

.services-why-feature > p {
    margin: 10px 0 0;
    color: #5b6b7f;
    font-size: 0.9rem;
    line-height: 1.65;
    text-align: center;
}

.services-why-feature-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.services-why-feature-stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.services-why-feature-stats strong {
    color: #0a3159;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.services-why-feature-stats span {
    color: #6f7c8f;
    font-size: 0.72rem;
}

/* Core offerings */
.services-core {
    width: 100%;
    padding: clamp(56px, 6vw, 88px) 0 clamp(72px, 7vw, 104px);
    background: #ffffff;
}

.services-core-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 50px;
}

.services-core-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e7eb;
}

.services-core-eyebrow {
    margin: 0 0 8px;
    color: #0e4b88;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.services-core-heading h2 {
    margin: 0;
    color: #07101d;
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 1.6rem + 1.2vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.services-core-summary {
    max-width: 460px;
    margin: 0;
    color: #5b6b7f;
    font-size: 0.94rem;
    line-height: 1.65;
}

.services-core-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.services-core-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fbfd;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.services-core-card:hover {
    border-color: #c7dff2;
    box-shadow: 0 20px 40px rgba(10, 49, 89, 0.08);
    transform: translateY(-2px);
}

.services-core-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.services-core-card-eyebrow {
    margin: 0;
    color: #1f659f;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-core-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 8px;
    background: #e2eff9;
    color: #1f659f;
}

.services-core-card-icon svg {
    width: 17px;
    height: 17px;
}

.services-core-card h3 {
    margin: 14px 0 0;
    color: #0a3159;
    font-family: var(--font-heading);
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.35;
}

.services-core-card-copy {
    margin: 10px 0 0;
    color: #5b6b7f;
    font-size: 0.88rem;
    line-height: 1.65;
}

.services-core-card-points {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.services-core-card-points li {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #475569;
    font-size: 0.84rem;
}

.services-core-card-points li span {
    color: #1f659f;
    font-weight: 700;
}

.services-core-card-link {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    color: #0e4b88;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.services-core-card-link:hover,
.services-core-card-link:focus-visible {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1100px) {
    .services-why-grid {
        grid-template-columns: 1fr;
    }

    .services-why-feature {
        order: -1;
    }

    .services-core-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .services-why-inner,
    .services-core-inner {
        padding: 0 20px;
    }

    .services-why-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-why-tagline,
    .services-why-stats {
        padding-left: 0;
        border-left: 0;
    }

    .services-why-link {
        margin-left: 0;
    }

    .services-core-grid {
        grid-template-columns: 1fr;
    }

    .services-core-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
