/* Our Services page sections added in the PAWC-344 redesign (Figma "Our Services" frame).
   Loaded after style.css; reuses .heading-h2, .dm-style-text, .badge-text-green and
   .customfaq-button from there and only adds what those can't express. */

.services-badge {
    margin: 0 0 16px;
    font-size: 12px;
    letter-spacing: 0;
    padding: 4px 13px;
}

.badge-text-green.services-badge {
    background: #e6ebe7;
    color: #10393e;
}

.services-badge-outline {
    display: inline-block;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    font-family: var(--font-intel) !important;
    font-weight: 500;
}

.services-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 26px;
}

.services-pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-intel);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.services-pill-green {
    background-color: #5c7a5a;
    color: #ffffff;
}

.services-pill-green:hover,
.services-pill-green:focus-visible {
    background-color: #4a6649;
    color: #ffffff;
}

.services-pill-outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.services-pill-outline:hover,
.services-pill-outline:focus-visible {
    background-color: #ffffff;
    color: #10393e;
}

.services-pill:focus-visible,
.services-arrow-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #10393e;
}

.services-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #10393e;
    font-family: var(--font-intel);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
}

.services-arrow-link:hover {
    color: #10393e;
    text-decoration: underline;
}

/* How It Works */
.services-how .heading-h2 {
    font-size: 36px;
    line-height: 46px;
    margin: 0;
}

.services-how-text {
    color: #3f4a63;
    font-family: var(--font-intel);
    font-size: 17px;
    line-height: 28px;
    margin: 0 0 32px;
}

.services-logos {
    list-style: none;
    margin: 44px 0 0;
    padding: 24px 30px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 32px;
    background: #f9faf8;
    border-radius: 18px;
    box-shadow: 0 4px 7px rgba(16, 57, 62, 0.07);
}

.services-logos li {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-logos img {
    display: block;
    width: auto;
    height: auto;
    max-height: 48px;
    max-width: 150px;
}

/* One Practice */
.services-one-practice-card {
    background: #10393e;
    border-radius: 22px;
    padding: 64px 72px;
}

.services-one-practice .heading-h2 {
    font-size: 36px;
    line-height: 46px;
    margin: 0;
}

.services-one-practice-text {
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-intel);
    font-size: 17.5px;
    line-height: 29px;
    margin: 0 0 28px;
}

/* FAQ */
/* .padding96 is a shorthand declared after .padding-top-64 in style.css, so the top
   padding has to be set here to win. */
.services-faq.padding96 {
    padding-top: 64px;
}

.services-faq-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 545;
    object-fit: cover;
    border-radius: 16px;
}

.services-faq-header {
    margin-bottom: 30px;
}

.services-faq-header .badge-text-green {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0;
    padding: 4px 13px;
    background: #e6ebe7;
    color: #10393e;
}

.services-faq-header .heading-h2 {
    margin: 0;
}

.services-faq .accordion.customfaq-button {
    margin-bottom: 13px;
}

.services-faq .customfaq-button .accordion-item {
    border-radius: 12px;
    overflow: hidden;
}

.services-faq .customfaq-button button.accordion-button {
    padding: 20px 22px;
    font-size: 16.5px;
    line-height: 24px;
    color: #111827;
    border-radius: 12px !important;
}

/* .customfaq-button (style.css) removes Bootstrap's focus shadow; give keyboard users a ring back. */
.services-faq .customfaq-button button.accordion-button:focus-visible {
    outline: 2px solid #10393e;
    outline-offset: -2px;
}

.services-faq .customfaq-button .accordion-body {
    padding: 0 22px 22px;
    color: #4b5875;
    line-height: 26px;
}

@media (max-width: 991.98px) {
    .services-one-practice-card {
        padding: 48px 32px;
    }
}

@media (max-width: 767.98px) {
    .services-how .heading-h2,
    .services-one-practice .heading-h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .services-logos {
        justify-content: center;
        padding: 20px;
    }

    .services-logos li {
        flex: 0 0 calc(50% - 16px);
    }

    .services-logos img {
        max-width: 130px;
        max-height: 40px;
    }

    .services-one-practice-card {
        padding: 40px 24px;
        border-radius: 18px;
    }
}
