/* Service-section styles are scoped to preserve the original website design. */
#home-service.ffl-services {
    --services-green: #087a5a;
    --services-ink: #142c25;
    --services-muted: #54645f;
    --services-line: #dbe7df;
    padding: 104px 0 0;
    background: #fff;
    color: var(--services-ink);
    font: 400 16px/1.65 "Airbnb-book", Arial, sans-serif;
}
#home-service .services-container {
    scroll-margin-top: 110px;
}
#home-service .services-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 35px;
}
#home-service .services-eyebrow {
    margin: 0 0 20px;
    color: var(--services-green);
    font-family: "Airbnb-bold", Arial, sans-serif;
    font-size: .8125rem;
    line-height: 1.5;
    letter-spacing: .14em;
}
#home-service .services-heading h2 {
    margin: 0;
    color: var(--services-ink);
    font-family: "Airbnb-medium", Arial, sans-serif;
    font-size: clamp(2.5rem, 3.6vw, 3.5rem);
    font-weight: 500;
    line-height: 1.13;
    letter-spacing: -.045em;
}
#home-service .services-heading h2 em {
    color: var(--services-green);
    font-style: normal;
}
#home-service .services-intro {
    max-width: 390px;
    margin-bottom: 5px;
    color: var(--services-muted);
}
#home-service .services-intro p { margin: 0 0 15px; }
#home-service .services-brochure {
    color: var(--services-green);
    font-family: "Airbnb-medium", Arial, sans-serif;
    font-size: .9375rem;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}
#home-service .services-brochure span { font-size: .8125rem; }
#home-service .service-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin: 36px 0 27px;
}
#home-service .service-filters { display: flex; flex-wrap: wrap; gap: 8px; }
#home-service .service-filter {
    min-height: 45px;
    padding: 10px 16px;
    border: 1px solid var(--services-line);
    border-radius: 6px;
    background: #fff;
    color: var(--services-muted);
    font: inherit;
    font-size: .875rem;
    cursor: pointer;
}
#home-service .service-filter[aria-pressed="true"] {
    border-color: var(--services-green);
    background: var(--services-green);
    color: #fff;
}
#home-service .service-filter:hover { border-color: var(--services-green); }
#home-service .service-count {
    margin: 0;
    color: var(--services-muted);
    font-size: .875rem;
    white-space: nowrap;
}
#home-service .services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
#home-service .service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 343px;
    padding: 26px 22px 23px;
    border: 1px solid var(--services-line);
    border-radius: 18px;
    background: #fff;
    scroll-margin-top: 110px;
    transition: border-color .2s, box-shadow .2s;
}
#home-service .service-card:hover {
    border-color: #7bab91;
    box-shadow: 0 8px 25px #0c3e3210;
}
#home-service .service-card-top { margin-bottom: 28px; }
#home-service .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    margin-bottom: 17px;
    border-radius: 12px;
    background: #eff7f2;
    color: var(--services-green);
}
#home-service .service-category {
    color: var(--services-muted);
    font-size: .75rem;
    line-height: 1.4;
}
#home-service .service-card h3 {
    margin: 0 0 13px;
    color: var(--services-ink);
    font-family: "Airbnb-medium", Arial, sans-serif;
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.02em;
}
#home-service .service-card > p {
    margin: 0 0 26px;
    color: var(--services-muted);
    font-size: .9375rem;
    line-height: 1.65;
}
#home-service .service-link {
    align-self: flex-start;
    margin-top: auto;
    padding: 5px 0;
    color: var(--services-green);
    font-family: "Airbnb-medium", Arial, sans-serif;
    font-size: .8125rem;
    line-height: 1.65;
    text-decoration: none;
    text-underline-offset: 5px;
}
#home-service .service-link:hover { text-decoration: underline; }
#home-service :is(a, button):focus-visible {
    outline: 3px solid var(--services-green);
    outline-offset: 5px;
}
#home-service .service-card[hidden],
#home-service #service-filter-controls[hidden] { display: none !important; }
@media (max-width: 1199px) {
    #home-service .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
    #home-service.ffl-services { padding-top: 76px; }
    #home-service .services-heading { gap: 40px; }
    #home-service .services-intro { max-width: 320px; }
    #home-service .service-toolbar { align-items: flex-start; flex-direction: column; gap: 15px; }
    #home-service .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 649px) {
    #home-service.ffl-services { padding-top: 63px; }
    #home-service .services-heading { display: block; margin-bottom: 25px; }
    #home-service .services-eyebrow { margin-bottom: 16px; font-size: .75rem; }
    #home-service .services-heading h2 { margin-bottom: 22px; font-size: 2.55rem; }
    #home-service .services-intro { max-width: none; margin-bottom: 0; }
    #home-service .service-toolbar { margin: 27px 0 20px; }
    #home-service .service-filter { padding: 9px 12px; font-size: .8125rem; }
    #home-service .services-grid { grid-template-columns: 1fr; gap: 14px; }
    #home-service .service-card { min-height: 0; padding: 24px; }
    #home-service .service-card-top { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
    #home-service .service-icon { flex-shrink: 0; margin: 0; }
    #home-service .service-category { font-size: .8125rem; }
    #home-service .service-card h3 { font-size: 1.25rem; }
    #home-service .service-card > p { margin-bottom: 20px; font-size: 1rem; }
    #home-service .service-link { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
    #home-service .service-card { transition: none; }
}
