@font-face {
    font-family: Manrope;
    src: url("../fonts/manrope-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

body.cv-service-directory {
    --ds-ink: #153a2c;
    --ds-text: #405d50;
    --ds-green: #25583d;
    --ds-deep: #112e23;
    --ds-leaf: #d1e9a6;
    --ds-paper: #f6f8f1;
    --ds-line: #d5e0d0;
    --ds-font: Manrope, "Be Vietnam Pro", sans-serif;
    --ds-ease: cubic-bezier(.2,.75,.25,1);
    background: var(--ds-paper);
    color: var(--ds-text);
}
.cv-service-directory .cv-wrap { width: min(1280px, calc(100% - clamp(38px, 10vw, 152px))); }
.cv-service-directory .cv-topline { background: #174331; color: #e8f2e4; }
.cv-service-directory .cv-header { background: #f8faf4f5; border-color: #dce6d7; }
.cv-service-directory .cv-brand strong { font-family: var(--ds-font); font-weight: 800; }
.cv-service-directory .cv-header-actions .cv-button { border-radius: 999px; background: var(--ds-green); border-color: var(--ds-green); }
.cv-service-directory .dh-legacy-arrow { display: none; }

.ds-hero {
    position: relative; display: grid; isolation: isolate; overflow: clip; text-align: center;
    padding: 20px 0 clamp(98px, 10vw, 147px); color: #f2f8ee; background: var(--ds-deep);
}
.ds-hero-image { position: absolute; inset: 0; z-index: -2; }
.ds-hero-image img {
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%;
    filter: saturate(.7);
}
.ds-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(ellipse at 50% 47%, #112e23f5 8%, #112e23e5 40%, #112e23a0 77%),
                linear-gradient(0deg, #112e23f5, #112e2377 46%, #112e23a9);
}
.ds-breadcrumbs {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    color: #e1eee1; font-size: .81rem; margin: 0 0 clamp(29px, 5vw, 64px);
}
.ds-breadcrumbs a { text-underline-offset: 4px; }
.ds-breadcrumbs a:hover { text-decoration: underline; }
.ds-hero-copy { max-width: 790px; margin-inline: auto; }
.ds-kicker {
    display: flex; align-items: center; justify-content: center; gap: 12px; color: #e0efcd;
    font-size: .75rem; font-weight: 700; letter-spacing: .13em; margin-bottom: 19px;
}
.ds-kicker::before, .ds-kicker::after { content: ""; width: 23px; height: 1px; background: currentColor; }
.cv-service-directory .ds-hero h1 {
    font: 800 clamp(3.1rem, 6.2vw, 6rem)/1.01 var(--ds-font);
    margin: 0 0 23px; color: #f4f8ef; letter-spacing: -.053em; word-spacing: .025em;
}
.ds-hero h1 > span, .ds-hero h1 > em { display: block; }
.ds-hero h1 > em { color: var(--ds-leaf); font-weight: 700; }
.ds-hero .ds-intro { max-width: 57ch; margin: 0 auto 27px; font-size: 1rem; line-height: 1.78; text-wrap: pretty; color: #e6f1e3; }
.ds-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.ds-page .ds-button {
    display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 49px;
    padding: 10px 22px; border: 1px solid transparent; border-radius: 999px;
    font: 800 .88rem/1.45 var(--ds-font);
    transition: transform .35s var(--ds-ease), background .28s, border-color .28s, box-shadow .28s;
}
.ds-button .cv-icon { width: 18px; height: 18px; }
.ds-page .ds-button-lime { color: #193523; background: var(--ds-leaf); }
.ds-page .ds-button-glass { color: #f3f8ed; background: #ffffff0c; border-color: #c7e0c479; }
.ds-button:hover { transform: translateY(-3px); }
.ds-page .ds-button-lime:hover { background: #e4f5c5; box-shadow: 0 8px 25px #cced9840; }
.ds-page .ds-button-glass:hover { background: #fff2; border-color: #c7e0c4; }

.ds-photo-grid {
    position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.8vw, 25px); margin-top: clamp(-91px, -6.6vw, -64px);
}
.ds-photo-card {
    position: relative; isolation: isolate; display: grid; align-items: end; min-width: 0;
    aspect-ratio: 1.88; overflow: hidden; border: 1px solid #f4f8eeda; border-radius: 18px;
    background: #204532; box-shadow: 0 16px 42px -22px #1636296b;
}
.ds-photo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#0c281de8 0%,#0c281db5 20%,transparent 68%); }
.ds-photo-card img {
    position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
    object-fit: cover; object-position: 50% 56%; transition: transform .65s var(--ds-ease);
}
.ds-photo-card:nth-child(2) img { object-position: 50% 71%; }
.ds-photo-card:is(:hover, :focus-visible) img { transform: scale(1.06); }
.ds-photo-card > span {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: #fff; padding: 13px 8px; text-align: center;
    font: 800 clamp(.85rem, 1.6vw, 1.28rem)/1.26 var(--ds-font);
}
.ds-photo-card .cv-icon { width: 20px; height: 20px; color: #d6eead; }

.ds-directory { padding: clamp(65px, 7.4vw, 112px) 0 clamp(65px, 8vw, 112px); }
.ds-heading { text-align: center; max-width: 48rem; margin: 0 auto 29px; }
.ds-page :is(.ds-heading, .ds-urgent) h2 {
    font: 800 clamp(2.38rem, 4.4vw, 4.42rem)/1.08 var(--ds-font);
    color: var(--ds-ink); letter-spacing: -.048em; margin: 0 0 15px; text-wrap: balance;
}
.ds-page .ds-heading h2 em { color: #427450; font-weight: 650; }
.ds-heading p { color: var(--ds-text); font-size: 1rem; line-height: 1.75; max-width: 59ch; margin: 0 auto; text-wrap: pretty; }

.ds-toolbar {
    display: flex; align-items: center; flex-direction: column; gap: 15px;
    max-width: 56rem; margin: 29px auto clamp(32px, 4.3vw, 60px);
    padding: 21px clamp(14px, 4vw, 36px) 16px;
    border: 1px solid var(--ds-line); border-radius: 20px; background: #edf3e6;
}
.ds-search-label { display: block; width: min(100%, 38rem); color: var(--ds-ink); font-size: .88rem; text-align: center; font-weight: 700; }
.ds-search-field {
    display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 0 14px;
    border: 1px solid #becfbc; border-radius: 12px; background: #fcfdf9; color: #346349;
}
.ds-search-field:focus-within { outline: 2px solid #76a16e; outline-offset: 2px; }
.ds-search-field .cv-icon { width: 20px; height: 20px; }
.cv-service-directory .ds-search-field input {
    width: 100%; min-width: 0; box-shadow: none; outline: 0; border: 0; color: #1c3d2f; background: transparent;
    min-height: 48px; font-size: 1rem;
}
.ds-search-field input::placeholder { color: #5d7064; font-size: .89rem; }
.ds-filter { display: flex; justify-content: center; gap: 7px; flex-wrap: wrap; }
.ds-filter button, .ds-card .ds-small-button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 7px 13px; border: 1px solid #bbd0b9; border-radius: 999px;
    color: #254c35; background: #f8fbf5; font: 800 .83rem/1.4 var(--ds-font);
    transition: background .24s, border-color .24s, color .24s;
}
.ds-filter button:hover, .ds-card .ds-small-button:hover { background: #e2eedb; border-color: #9dbb99; }
.ds-filter button[aria-pressed="true"] { background: var(--ds-green); color: #fff; border-color: var(--ds-green); }
.ds-toolbar .ds-result-count { margin: 0; color: #476250; font-size: .83rem; text-align: center; font-variant-numeric: tabular-nums; }

.ds-group + .ds-group { margin-top: clamp(46px, 6.8vw, 93px); }
.ds-group-heading { margin: 0 auto 23px; text-align: center; }
.ds-page .ds-group-heading h3 { font: 800 clamp(1.8rem, 3.3vw, 2.9rem)/1.12 var(--ds-font); color: var(--ds-ink); letter-spacing: -.046em; margin: 0 0 7px; }
.ds-group-heading p { margin: 0; color: var(--ds-text); line-height: 1.72; font-size: .95rem; text-wrap: pretty; }

.ds-grid { --ds-card-gap: clamp(13px, 1.8vw, 23px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--ds-card-gap); }
.ds-card {
    flex: 0 1 calc((100% - 2 * var(--ds-card-gap)) / 3); min-width: 0;
    display: flex; flex-direction: column; align-items: center; padding: clamp(17px, 2.2vw, 31px);
    text-align: center; background: #fdfefb; border: 1px solid #d9e4d4; border-radius: 18px;
    transition: border-color .3s, box-shadow .35s, transform .4s var(--ds-ease);
}
.ds-group:not([data-service-group="clinical"]) .ds-card { flex-basis: calc((100% - 3 * var(--ds-card-gap)) / 4); }
.ds-card:is(:hover, :focus-within) { border-color: #a7c3a6; box-shadow: 0 15px 33px -23px #174e31a0; }
.ds-card-icon, .ds-prep-grid .cv-icon, .ds-urgent-icon {
    display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%;
    background: #e7f0dd; border: 1px solid #d9e7d1; color: #2c6244;
}
.ds-card-icon { margin-bottom: 13px; transition: transform .43s var(--ds-ease), background .3s; }
.ds-card:is(:hover, :focus-within) .ds-card-icon { transform: translateY(-2px) rotate(-7deg); background: #d7ebca; }
.ds-card h4 { color: var(--ds-ink); font: 800 clamp(1.15rem, 1.65vw, 1.5rem)/1.22 var(--ds-font); letter-spacing: -.025em; margin: 0 0 10px; text-wrap: balance; }
.ds-card h4 a:hover { color: #306848; }
.ds-card > p { color: var(--ds-text); font-size: .89rem; line-height: 1.7; margin: 0 0 15px; }
.ds-card .ds-card-note {
    width: 100%; padding: 9px 10px; background: #f1f6eb; border-radius: 9px; margin-top: auto;
    font-size: .79rem; line-height: 1.57; color: #456050;
}
.ds-card-note strong { display: block; color: #254a35; font-size: .76rem; margin-bottom: 2px; }
.ds-card-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 15px; margin-top: auto; }
.ds-page .ds-link {
    position: relative; display: inline-flex; width: fit-content; padding-bottom: 3px;
    color: #275a3c; border-bottom: 1px solid #84a98b;
    font: 800 .87rem/1.5 var(--ds-font);
}
.ds-link::after {
    position: absolute; content: ""; inset: auto 0 -1px; height: 2px; background: currentColor;
    transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ds-ease);
}
.ds-link:is(:hover,:focus-visible)::after { transform: scaleX(1); transform-origin: left; }

.ds-empty { text-align: center; padding: 28px 12px; }
.ds-empty .cv-icon { margin-bottom: 10px; color: #37694a; }
.ds-page .ds-empty h3 { color: var(--ds-ink); font: 800 1.4rem/1.3 var(--ds-font); margin-bottom: 7px; }
.ds-empty p { margin-bottom: 13px; }

.ds-preparation { padding: clamp(53px, 7vw, 96px) 0; background: #e9f1e1; }
.ds-prep-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(10px, 2vw, 25px); }
.ds-prep-grid > div { display: grid; justify-items: center; align-content: start; text-align: center; padding: clamp(18px, 2.6vw, 32px); border: 1px solid #d4e2d0; border-radius: 17px; background: #f6faf2; }
.ds-prep-grid .cv-icon { padding: 10px; width: 43px; height: 43px; margin-bottom: 12px; }
.ds-page .ds-prep-grid h3 { font: 800 1.19rem/1.29 var(--ds-font); color: var(--ds-ink); margin-bottom: 8px; }
.ds-prep-grid p { font-size: .88rem; margin: 0; line-height: 1.7; }
.ds-preparation .ds-actions { margin-top: 23px; }
.ds-urgent { padding: clamp(44px,6.8vw,87px) 0; background: radial-gradient(ellipse at 50% 110%,#275c3d,transparent 70%), #163b2b; color: #edf5e9; text-align: center; }
.ds-urgent-inner { max-width: 740px; }
.ds-page .ds-urgent h2 { color: #f5f8ee; font-size: clamp(2rem,3.4vw,3.3rem); }
.ds-urgent-icon { margin: 0 auto 14px; color: #d6edaf; background: #ffffff12; border-color: #d6edaf50; }
.ds-urgent p { max-width: 55ch; margin: 0 auto 22px; font-size: 1rem; line-height: 1.75; text-wrap: pretty; }

@media (prefers-reduced-motion: no-preference) {
    .ds-hero h1 > span, .ds-hero h1 > em { animation: ds-title-in .85s .07s both var(--ds-ease); }
    .ds-hero h1 > em { animation-delay: .15s; }
    .ds-hero .ds-enter { animation: ds-rise-in .75s .15s both var(--ds-ease); }
    .ds-hero .ds-intro { animation-delay: .24s; }
    .ds-hero .ds-actions { animation-delay: .34s; }
    .ds-hero-image { animation: ds-photo-in 1.25s both var(--ds-ease); }
    @keyframes ds-title-in { from { opacity: 0; translate: 0 25%; clip-path: inset(0 0 100%); } to { opacity: 1; translate: 0 0; clip-path: inset(-12% -5%); } }
    @keyframes ds-rise-in { from { opacity: 0; translate: 0 17px; } to { opacity: 1; translate: 0 0; } }
    @keyframes ds-photo-in { from { opacity: .22; scale: 1.065; } to { opacity: 1; scale: 1; } }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.cv-service-directory) { scroll-behavior: auto; }
    .ds-page *, .ds-page *::before, .ds-page *::after { transition-duration: .01ms !important; animation: none !important; }
}
@media (max-width: 1010px) {
    .ds-group[data-service-group] .ds-card { flex-basis: calc((100% - var(--ds-card-gap)) / 2); }
}
@media (max-width: 710px) {
    .ds-hero { padding-bottom: 95px; }
    .ds-hero h1 { letter-spacing: -.055em; }
    .ds-photo-card { aspect-ratio: 1.06; border-radius: 11px; }
    .ds-photo-card > span { flex-direction: column; gap: 5px; padding: 6px 4px 9px; font-size: .74rem; }
    .ds-photo-card .cv-icon { width: 15px; height: 15px; }
    .ds-prep-grid { grid-template-columns: 1fr; }
}
@media (max-width: 490px) {
    .ds-hero { padding-top: 13px; }
    .ds-breadcrumbs { margin-bottom: 23px; }
    .ds-kicker { margin-bottom: 13px; font-size: .67rem; }
    .cv-service-directory .ds-hero h1 { font-size: clamp(2.7rem, 11vw, 3.5rem); margin-bottom: 17px; }
    .ds-hero .ds-intro { font-size: .94rem; margin-bottom: 19px; }
    .ds-actions { gap: 7px; }
    .ds-page .ds-button { padding-inline: 13px; font-size: .81rem; min-height: 44px; }
    .ds-photo-grid { gap: 6px; }
    .ds-filter { gap: 6px; }
    .ds-filter button { min-height: 38px; padding-inline: 9px; font-size: .77rem; }
    .ds-group[data-service-group] .ds-card { flex-basis: 100%; }
    .ds-toolbar { border-radius: 14px; }
}
