body[data-page="services"] {
    font-family: "Geist", sans-serif;
}

.services__hero {
    min-height: 8.25rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(90deg, #6fa8dc, #69c8bd);
    border-bottom-right-radius: 6.875rem;
}

.services__hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.services__hero p {
    max-width: 42rem;
    margin: 0.5rem 0 0;
    color: rgb(255 255 255 / 90%);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.625;
}

.services__hero > div {
    width: 100%;
}

.services__layout,
.services__approach {
    width: min(100%, 72rem);
    margin-inline: auto;
    box-sizing: border-box;
}

.services__layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 2rem;
    padding: 2.5rem 1.25rem;
}

.services__image-container {
    position: relative;
    min-width: 0;
    height: 16rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.services__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.services__list {
    border-top: 1px solid #e2e8f0;
}

.service__status {
    margin: 0;
    padding: 1rem 0;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.625;
}

.service {
    border-bottom: 1px solid #e2e8f0;
}

.service summary {
    min-height: 3.5rem;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    list-style: none;
    color: #2d3748;
    font-size: 1rem;
    font-weight: 600;
}

.service summary::-webkit-details-marker {
    display: none;
}

.service__chevron {
    width: 0.875rem;
    height: 0.875rem;
    margin-left: auto;
    flex: 0 0 auto;
    color: #518898;
    font-size: 0.875rem;
    transition: transform 180ms ease;
}

.service[open] .service__chevron {
    transform: rotate(180deg);
}

.service summary:focus-visible {
    outline: 2px solid #518898;
    outline-offset: 4px;
}

.service__number {
    width: 3rem;
    flex: 0 0 auto;
    color: #518898;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1875rem;
    font-weight: 400;
}

.service__description {
    padding: 0 1rem 1.25rem 4rem;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.625;
}

.service__description p {
    margin: 0;
}

.service__description a {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #518898;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.service__arrow {
    width: 0.75rem;
    height: 0.75rem;
    flex: 0 0 auto;
    font-size: 0.75rem;
}

.service__description a:hover {
    color: #376878;
}

.services__approach {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 2rem;
    padding: 2rem 1.25rem 3rem;
}

.services__eyebrow {
    margin: 0 0 0.75rem;
    color: #518898;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services__approach h2 {
    margin: 0 0 0.75rem;
    color: #1a202c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
}

.services__approach > div > p:last-child {
    margin: 0;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.625;
}

.services__points {
    display: grid;
    gap: 1.25rem;
}

.services__points article {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.services__icon {
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #518898;
    font-size: 1rem;
}

.services__points h3 {
    margin: 0 0 0.25rem;
    color: #1a202c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 600;
}

.services__points p {
    margin: 0;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.625;
}

@media (min-width: 640px) {
    .services__layout,
    .services__approach {
        padding-inline: 2rem;
    }

    .services__hero {
        min-height: 9.25rem;
        border-bottom-right-radius: 9.375rem;
    }
}

@media (min-width: 768px) {
    .services__hero h1 {
        font-size: 2rem;
    }

    .services__hero {
        padding: 1.75rem 6rem;
    }

    .services__layout {
        padding-block: 3rem;
    }

    .services__approach {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding-top: 2.5rem;
        padding-bottom: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .services__layout {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .services__image-container {
        grid-column: span 4;
        height: auto;
    }

    .services__list {
        grid-column: span 8;
    }
}

@media (max-width: 767px) {
    .service summary {
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service__chevron {
        transition: none;
    }
}
