/* FMS Phase 1 homepage: presentation only.
   Layout, typography, columns, header, footer, hero art and carousel
   remain controlled by the existing Genesis/FMS theme. */

/* Preserve the site's established blue and existing heading sizes. */
#services .price,
#plans .price {
    color: #164188;
    font-size: 3.2rem;
    margin-bottom: 6px;
}
#plans .price span { color: inherit; font-size: 1.6rem; }
#services .qualifier { font-size: 1.6rem; margin-bottom: 24px; }
#services .service-note { font-size: 1.6rem; }

/* The two supporting project services should not compete with the main offer. */
#services .supporting-service figure img {
    max-width: 330px;
    width: 100%;
}
#services .supporting-service figure { margin-bottom: 14px; text-align: center; }
#services .supporting-service figure img { display: block; margin-left: auto; margin-right: auto; }

/* Existing brand colours, applied in the approved section sequence. */
#plans, #resources { background-color: #EBF7FF; }
#who-we-help, #testimonials { background-color: #f9f9f9; }

/* Keep the site's open, unboxed service and Care Plan columns. */
#plans ul.check { margin-bottom: 22px; }
#plans ul.check li { margin-bottom: 7px; }

/* Reuse the existing Who We Help illustration at a balanced responsive width. */
#who-we-help .one-half.first > figure {
    max-width: 521px;
    margin-inline: auto;
}

/* Keep smaller editorial artwork distinctly secondary. */
#resources .one-third img { border-radius: 8px; }

/* One reusable marker for the new process, care and reassurance steps. */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid #3187DB;
    border-radius: 50%;
    background: #EBF7FF;
    color: #164188;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 16px;
}
#how-it-works .step-number { margin-top: 14px; }
#how-it-works .process-container > .one-fourth { padding: 0 1.5%; }
#how-it-works .process-container > .one-third { padding: 0 2%; }

/* Native FAQ disclosure elements; improve spacing without extra HR markup. */
#faqs .faq-group details { margin-bottom: 2.2rem; }
#faqs .faq-group summary { padding: 7px 0; }
#faqs .faq-group summary.question {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
}
#faqs .faq-group summary.question::-webkit-details-marker { display: none; }
#faqs .faq-group summary.question::marker { content: ""; }
#faqs .faq-group summary.question .faq-toggle {
    flex: 0 0 auto;
    color: #3187DB;
    font-size: 2.4rem;
    line-height: 1;
}
#faqs .faq-group summary.question .faq-toggle::before { content: "+"; }
#faqs .faq-group details[open] > summary.question .faq-toggle::before { content: "−"; }


/* Trustpilot's star colour, scoped to the review carousel, not the widget. */
#testimonials .trustpilot-stars { color: #00B67A; }

/* Respect the original Trustpilot/Owl components; only add breathing room. */
#testimonials .trustpilot-reviews-widget { text-align: center; margin-bottom: 30px; }
#testimonials .testimonials-container + p { margin-top: 32px; }

/* Existing theme's icon-free pricing button is a secondary outline on blue. */
#hero .pricing-button,
#final-cta .pricing-button {
    background: transparent;
    border: 2px solid rgba(255,255,255,.8);
    margin: 0 6px 14px;
    vertical-align: middle;
}
#hero .lead-button, #final-cta .footer-button {
    margin: 0 6px 14px;
    vertical-align: middle;
}
#hero .pricing-button a,
#final-cta .pricing-button a {
    color: #fff;
    padding: 14px 46px;
}
#hero .pricing-button:hover, #hero .pricing-button:focus-within,
#final-cta .pricing-button:hover, #final-cta .pricing-button:focus-within { background: rgba(255,255,255,.15); }

/* The care plan comparison also has a quieter secondary CTA. */
#plans .pricing-button { background: transparent; border: 2px solid #3187DB; }
#plans .pricing-button a { color: #164188; padding: 14px 32px; }
#plans .pricing-button:hover, #plans .pricing-button:focus-within { background: #fff; }

/* Remove artificial narrowing of the two concluding sentences. */
#final-cta .textwidget:not(.closing-note) { max-width: 820px; }
#final-cta .closing-note { font-size: 1.6rem; margin-top: 8px; }
#final-cta .closing-note p { margin-bottom: 0; }

@media only screen and (min-width: 861px) and (max-width: 1199px) {
    #how-it-works .process-container > .one-fourth {
        width: 48.717948717948715%;
        margin-bottom: 28px;
    }
    #how-it-works .process-container > .one-fourth:nth-child(3) { clear: left; margin-left: 0; }
}
@media only screen and (max-width: 860px) {
    #how-it-works .process-container > .one-fourth { padding: 0; }
}
