:root {
    --green-light: #7fbc4d;
    --green: #3aaa35;
    --green-dark: #03754a;
    --grey: #706f6f;
    --ink: #706f6f;
    --green-subdark: #18342c;
    --ink-soft: #4f625d;
    --paper: #f5f7f2;
    --paper-green: #edf5e8;
    --white: #ffffff;
    --line: #dfe7dc;
    --shadow: 0 20px 55px rgba(3, 67, 43, 0.12);
    --button-radius: 0 0 0.8rem 0;
    --font: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
}

body {
    margin: 0;
    overflow-x: clip;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.consent-open {
    overflow: hidden;
}

body.consent-open::before {
    position: fixed;
    z-index: 1990;
    inset: 0;
    background: rgba(8, 29, 23, 0.52);
    content: "";
    backdrop-filter: blur(3px);
}

::selection {
    color: var(--white);
    background: var(--green-dark);
}

a {
    color: var(--green-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--green);
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    text-wrap: pretty;
}

h1,
h2,
h3 {
    margin-top: 0;
    letter-spacing: -0.035em;
    line-height: 1.06;
}

h2 {
    font-size: clamp(2.35rem, 5vw, 4.5rem);
    font-weight: 800;
}

.container {
    --bs-gutter-x: 2rem;
}

.section {
    padding-block: clamp(5.5rem, 10vw, 9.5rem);
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--green);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-transform: uppercase;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    color: var(--white);
    background: var(--green-dark);
    font-weight: 800;
    transform: translateY(-150%);
}

.skip-link:focus {
    color: var(--white);
    transform: translateY(0);
}

.btn {
    min-height: 3.45rem;
    padding: 0.88rem 1.5rem;
    border-radius: var(--button-radius);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.015em;
}

.btn-primary-green {
    color: var(--white);
    border: 2px solid var(--green-dark);
    background: var(--green-dark);
}

.btn-primary-green:hover,
.btn-primary-green:focus-visible {
    color: var(--white);
    border-color: var(--green);
    background: var(--green);
}

.btn-outline-green {
    color: var(--green-dark);
    border: 2px solid var(--green-dark);
    background: transparent;
}

.btn-outline-green:hover,
.btn-outline-green:focus-visible {
    color: var(--white);
    border-color: var(--green-dark);
    background: var(--green-dark);
}

.reveal {
    opacity: 1;
}

.reveal.reveal-ready {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-ready.is-visible {
    opacity: 1;
    transform: none;
}

/* Header */
.service-notice {
    padding: 0.58rem 0;
    color: var(--white);
    background: var(--green-dark);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.service-notice__dot {
    width: 0.48rem;
    height: 0.48rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green-light);
    box-shadow: 0 0 0 4px rgba(127, 188, 77, 0.18);
}

.site-header {
    position: sticky;
    z-index: 1020;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 8px 35px rgba(24, 52, 44, 0.08);
}

.site-header .navbar {
    min-height: 112px;
    padding-block: 0;
}

.site-logo {
    width: min(300px, 42vw);
    padding: 0;
}

.site-logo img {
    width: 100%;
    height: 82px;
    object-fit: contain;
}

.site-nav {
    gap: clamp(0.35rem, 1.4vw, 1.45rem);
}

.site-nav .nav-link {
    position: relative;
    padding: 2.65rem 0.35rem;
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 800;
}

.site-nav .nav-link::after {
    position: absolute;
    right: 0.35rem;
    bottom: 1.55rem;
    left: 0.35rem;
    height: 2px;
    background: var(--green);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible,
.site-nav .nav-link.active {
    color: var(--green-dark);
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus-visible::after,
.site-nav .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-phone {
    min-height: 66px;
    padding: 0.6rem 1.2rem;
    color: var(--green-dark);
    border-left: 1px solid var(--line);
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
}

.header-phone:hover {
    color: var(--green);
}

.header-phone__label {
    color: var(--grey);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1;
    text-transform: uppercase;
}

.header-phone strong {
    font-size: 1.2rem;
    line-height: 1.35;
}

.navbar-toggler {
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 0;
    border-radius: var(--button-radius);
    box-shadow: none !important;
}

.navbar-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--green-dark);
    transition: transform 0.2s ease;
}

/* Hero */
.hero {
    position: relative;
    min-height: min(790px, calc(100vh - 122px));
    overflow: hidden;
    padding-block: clamp(5.5rem, 10vw, 9.5rem);
    background: var(--paper);
}

.hero__grid {
    position: absolute;
    inset: 0;
    opacity: 0.55;
    background-image: linear-gradient(rgba(3, 117, 74, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(3, 117, 74, 0.05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent 3%, #000 45%, #000 100%);
}

.hero__background {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    width: min(62vw, 980px);
    height: 100%;
    opacity: 0.15;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.82) contrast(0.92);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 38%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 38%, #000 100%);
}

.hero > .container {
    z-index: 1;
}

.hero__copy {
    position: relative;
    z-index: 2;
}

.hero h1 {
    max-width: 860px;
    margin-bottom: 1.75rem;
    color: var(--ink);
    font-size: clamp(3rem, 6.4vw, 6.25rem);
    font-weight: 900;
    letter-spacing: -0.022em;
    line-height: 0.98;
}

.hero h1 .hero__title-secondary {
    display: inline-block;
    margin-top: 0.12em;
    color: var(--green);
    font-size: 0.72em;
    letter-spacing: -0.01em;
    line-height: 1.04;
}

.hero__lead {
    max-width: 650px;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero__visual {
    position: relative;
    min-height: 500px;
}

.hero__symbol-wrap {
    position: absolute;
    top: 44%;
    left: 50%;
    width: min(430px, 95%);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
}

.hero__symbol {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 26px 36px rgba(3, 117, 74, 0.12));
}

/* Quick information */
.quick-info {
    position: relative;
    z-index: 3;
    background: var(--white);
    border-block: 1px solid var(--line);
}

.quick-info__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.quick-info__item {
    display: flex;
    min-width: 0;
    padding: 2rem clamp(1rem, 3vw, 2.5rem);
    color: var(--ink);
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.quick-info__item + .quick-info__item {
    border-left: 1px solid var(--line);
}

.quick-info__item:hover {
    color: var(--green-dark);
    background: var(--paper-green);
}

.quick-info__icon {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 auto;
    color: var(--green);
    place-items: center;
}

.quick-info__icon svg {
    width: 2.15rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.quick-info__item small,
.quick-info__item strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-info__item small {
    margin-bottom: 0.15rem;
    color: var(--grey);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.quick-info__item strong {
    font-size: 1.08rem;
    white-space: nowrap;
}

/* Current campaign */
.campaign {
    padding-block: clamp(3.5rem, 7vw, 6.5rem);
    color: var(--white);
    background: var(--green-dark);
}

.campaign__carousel .carousel-inner {
    overflow: hidden;
    border-radius: 0 0 2.25rem 0;
    box-shadow: 0 28px 70px rgba(0, 33, 22, 0.24);
}

.campaign__carousel .campaign__panel {
    border-radius: 0;
    box-shadow: none;
}

.campaign__navigation {
    display: flex;
    margin-top: 1.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.campaign__indicators.carousel-indicators {
    position: static;
    display: flex;
    margin: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 0.55rem;
}

.campaign__indicators.carousel-indicators [data-bs-target] {
    width: 48px;
    height: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: var(--white);
    opacity: 0.35;
    transition: width 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.campaign__indicators.carousel-indicators .active {
    width: 72px;
    background-color: var(--green-light);
    opacity: 1;
}

.campaign__arrows {
    display: flex;
    flex: 0 0 auto;
    gap: 0.7rem;
}

.campaign__control.carousel-control-prev,
.campaign__control.carousel-control-next {
    position: static;
    display: grid;
    width: 52px;
    height: 52px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--button-radius);
    opacity: 1;
    place-items: center;
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.campaign__control.carousel-control-prev:hover,
.campaign__control.carousel-control-next:hover,
.campaign__control.carousel-control-prev:focus-visible,
.campaign__control.carousel-control-next:focus-visible {
    border-color: var(--green-light);
    background: rgba(127, 188, 77, 0.24);
    opacity: 1;
    transform: translateY(-2px);
}

.campaign__control .carousel-control-prev-icon,
.campaign__control .carousel-control-next-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.campaign__panel {
    display: grid;
    overflow: hidden;
    background: #075c3d;
    border-radius: 0 0 2.25rem 0;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    box-shadow: 0 28px 70px rgba(0, 33, 22, 0.24);
}

.campaign__visual {
    position: relative;
    min-height: 650px;
    margin: 0;
    overflow: hidden;
    background: var(--white);
}

.campaign__visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.campaign__visual figcaption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.45rem 0.75rem;
    color: var(--white);
    background: rgba(3, 48, 35, 0.88);
    font-size: 1rem;
    font-weight: 800;
}

.campaign__content {
    position: relative;
    display: flex;
    min-height: 650px;
    padding: clamp(2.25rem, 5vw, 5.25rem);
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
}

.campaign__content::before,
.campaign__content::after {
    position: absolute;
    background: var(--green-light);
    content: "";
    opacity: 0.14;
}

.campaign__content::before {
    top: -65px;
    right: -65px;
    width: 210px;
    height: 210px;
}

.campaign__content::after {
    right: 12%;
    bottom: -38px;
    width: 90px;
    height: 90px;
}

.campaign__content > * {
    position: relative;
    z-index: 1;
}

.campaign__label {
    display: flex;
    margin-bottom: 1.35rem;
    color: var(--green-light);
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.campaign__label span {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    background: var(--green-light);
}

.campaign__date {
    margin-bottom: 0.55rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    font-weight: 800;
}

.campaign h2 {
    max-width: 720px;
    margin-bottom: 0.8rem;
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.campaign__person {
    margin-bottom: 1.15rem;
    color: var(--green-light);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 900;
}

.campaign__lead {
    max-width: 660px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.campaign__facts {
    display: grid;
    margin: 0 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.campaign__facts > div {
    padding: 1rem 1.1rem 1rem 0;
}

.campaign__facts > div + div {
    padding-left: 1.1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.campaign__facts dt {
    color: rgba(255, 255, 255, 0.62);
    font-size: 1rem;
    font-weight: 800;
}

.campaign__facts dd {
    margin: 0.25rem 0 0;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 900;
}

.campaign__payment {
    margin-bottom: 1.6rem;
    padding-left: 1rem;
    color: rgba(255, 255, 255, 0.8);
    border-left: 4px solid var(--green-light);
    font-weight: 750;
}

.campaign__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.campaign__actions .btn-light {
    color: var(--green-dark);
    border-color: var(--white);
    background: var(--white);
}

.campaign__actions .btn-light:hover,
.campaign__actions .btn-light:focus-visible {
    color: var(--white);
    border-color: var(--green);
    background: var(--green);
}

.campaign__email {
    color: var(--white);
    font-weight: 850;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.campaign__email:hover,
.campaign__email:focus-visible {
    color: var(--green-light);
}

/* Compact text-only updates */
.news-strip {
    color: var(--white);
    background: var(--green-subdark);
}

.news-strip__inner {
    display: grid;
    min-height: 190px;
    padding-block: 2rem;
    align-items: center;
    grid-template-columns: 24px 145px minmax(0, 1fr) auto;
    gap: clamp(1.25rem, 3vw, 3rem);
}

.news-strip__marker {
    width: 18px;
    height: 18px;
    background: var(--green-light);
}

.news-strip__date {
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.news-strip__date span,
.news-strip__date strong {
    display: block;
}

.news-strip__date span {
    color: var(--green-light);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-strip__date strong {
    margin-top: 0.2rem;
    font-size: 1.18rem;
}

.news-strip__copy h2 {
    margin-bottom: 0.35rem;
    color: var(--white);
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
}

.news-strip__copy p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.news-strip__link {
    display: inline-flex;
    min-height: 52px;
    padding: 0.8rem 1.2rem;
    color: var(--green-dark);
    background: var(--white);
    border-radius: var(--button-radius);
    align-items: center;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.news-strip__link:hover,
.news-strip__link:focus-visible {
    color: var(--white);
    background: var(--green);
    transform: translateY(-2px);
}

/* Contracted health insurers */
.insurance-strip {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.insurance-strip__inner {
    display: grid;
    min-height: 250px;
    padding-block: 2.4rem;
    align-items: center;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.5fr);
    gap: 1rem clamp(2rem, 5vw, 5rem);
}

.insurance-strip__intro .eyebrow {
    margin-bottom: 0.55rem;
}

.insurance-strip__intro h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 3.2vw, 3.15rem);
}

.insurance-strip__logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.insurance-strip__logo {
    display: grid;
    min-height: 112px;
    padding: 1.25rem;
    border: 1px solid var(--line);
    background: var(--white);
    place-items: center;
}

.insurance-strip__logo img {
    width: min(100%, var(--insurer-logo-width, 210px));
    height: var(--insurer-logo-height, 60px);
    object-fit: contain;
}

.insurance-strip__logo-image--vszp {
    --insurer-logo-width: 210px;
    --insurer-logo-height: 60px;
}

.insurance-strip__logo-image--dovera {
    --insurer-logo-width: 170px;
    --insurer-logo-height: 48px;
}

.insurance-strip__logo-image--union {
    --insurer-logo-width: 170px;
    --insurer-logo-height: 70px;
}

/* Clinics */
.clinic-overview {
    background: var(--white);
}

.clinic-feature {
    display: grid;
    min-height: 420px;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
    border-radius: 0 0 2rem 0;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
    box-shadow: var(--shadow);
}

.clinic-feature__photo {
    position: relative;
    min-height: 420px;
    margin: 0;
    overflow: hidden;
}

.clinic-feature__photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
}

.clinic-feature__photo figcaption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.22rem 0.42rem;
    color: var(--white);
    background: rgba(3, 48, 35, 0.58);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.clinic-feature__copy {
    position: relative;
    display: flex;
    min-height: 420px;
    padding: clamp(2rem, 4vw, 4rem);
    overflow: hidden;
    color: var(--white);
    background: var(--green-dark);
    align-items: flex-start;
}

.clinic-feature__copy > div {
    position: relative;
    z-index: 1;
}

.clinic-feature__copy .eyebrow {
    color: var(--green-light);
}

.clinic-feature__copy h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    font-weight: 900;
}

.clinic-feature__copy p:last-child {
    max-width: 480px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading p:last-child {
    margin-bottom: 0.4rem;
    color: var(--ink-soft);
}

.clinic-list {
    border-top: 2px solid var(--ink);
}

.clinic-row {
    position: relative;
    display: grid;
    min-height: 150px;
    margin-inline: -1.25rem;
    padding: 1.65rem 1.25rem;
    border: 1px solid transparent;
    border-bottom-color: var(--line);
    align-items: center;
    grid-template-columns: minmax(280px, 1.65fr) minmax(190px, 0.75fr) minmax(185px, 0.75fr);
    gap: 1.5rem;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease, background-color 0.38s ease, border-color 0.38s ease;
}

.clinic-row:hover {
    z-index: 2;
    border-color: rgba(58, 170, 53, 0.18);
    background: var(--white);
    transform: translateY(-5px) scale(1.004);
    box-shadow: 0 20px 48px rgba(24, 52, 44, 0.1);
}

.clinic-row__main h3 {
    margin: 0.55rem 0 0;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 800;
}

.clinic-row__badge {
    display: inline-flex;
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    color: var(--green-dark);
    background: var(--paper);
    border-radius: 999px;
    align-items: center;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.clinic-row__badge--accepting {
    background: var(--paper-green);
    box-shadow: inset 0 0 0 1px rgba(58, 170, 53, 0.18);
}

.clinic-row__badge--accepting::before {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--green);
    content: "";
    flex: 0 0 auto;
}

.clinic-row__meta span {
    display: block;
    color: var(--ink-soft);
    font-size: 1rem;
}

.clinic-row__hours {
    color: var(--green-dark);
    font-size: 1rem;
    line-height: 1.45;
}

.clinic-cta {
    margin-top: 3.25rem;
    padding: 2.2rem 2.5rem;
    background: var(--paper-green);
    border-left: 5px solid var(--green);
}

.clinic-cta strong {
    font-size: 1.25rem;
}

.clinic-cta p {
    color: var(--ink-soft);
}

.text-link {
    flex: 0 0 auto;
    color: var(--green-dark);
    font-weight: 900;
    text-decoration: none;
}

.text-link span {
    display: inline-block;
    margin-left: 0.35rem;
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

/* Resident services */
.resident-section {
    background: var(--paper);
}

.resident-section__intro {
    position: sticky;
    top: 135px;
}

.resident-section h2,
.resident-directory h2 {
    font-size: clamp(2.25rem, 4.4vw, 4rem);
}

.resident-section__intro p:not(.eyebrow),
.resident-directory .col-lg-4 > p:last-child {
    color: var(--ink-soft);
}

.resident-section__note {
    margin: 1.5rem 0 0;
    font-weight: 700;
}

.resident-list {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2;
    column-gap: 3rem;
}

.resident-list li {
    position: relative;
    display: flex;
    min-height: 70px;
    padding: 1.05rem 0 1.05rem 2.5rem;
    break-inside: avoid;
    color: var(--ink);
    align-items: center;
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
    font-weight: 750;
    line-height: 1.4;
}

.resident-list li::before {
    position: absolute;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--green);
    content: "";
}

/* About */
.about {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--green-dark);
}

.about__mosaic {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.about .eyebrow {
    color: var(--green-light);
}

.about__visual {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 0 0 2rem 0;
    box-shadow: 0 24px 65px rgba(0, 31, 21, 0.28);
}

.about__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about__copy h2 {
    margin-bottom: 2rem;
    color: var(--white);
}

.about__copy p:not(.eyebrow) {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
}

/* FAQ */
.faq {
    background: var(--white);
}

.faq .col-lg-4 > div > p:last-child {
    color: var(--ink-soft);
}

.accordion {
    --bs-accordion-border-color: transparent;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(58, 170, 53, 0.2);
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: var(--green-dark);
}

.accordion-item {
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.accordion-item:first-child {
    border-top: 0;
}

.accordion-button {
    padding: 1.65rem 0;
    color: var(--ink);
    background: transparent;
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: none !important;
}

.accordion-button::after {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    margin-left: 1.5rem;
    color: var(--green-dark);
    border-radius: 50%;
    background-color: var(--paper-green);
    background-image: none !important;
    content: "+";
    flex: 0 0 auto;
    place-items: center;
    font-size: 1.35rem;
    line-height: 1;
    transform: none !important;
}

.accordion-button:not(.collapsed)::after {
    color: var(--white);
    background-color: var(--green-dark);
    content: "−";
}

.accordion-collapse {
    border: 0 !important;
}

.accordion-body {
    max-width: 720px;
    padding: 0 4rem 1.8rem 0;
    border: 0;
    color: var(--ink-soft);
}

/* Subpage */
.subhero {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    padding-block: clamp(5rem, 9vw, 8rem);
    color: var(--white);
    background: #062f23;
}

.subhero::after {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    mask-image: linear-gradient(90deg, transparent 35%, #000);
}

.subhero__symbol {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: max(3vw, calc((100vw - 1320px) / 2));
    width: min(430px, 38vw);
    opacity: 0.58;
    filter: saturate(0.85) brightness(1.35);
    transform: translateY(-50%) scale(1.15);
}

.subhero .container {
    z-index: 2;
}

.breadcrumb-line {
    display: flex;
    margin-bottom: clamp(4rem, 9vw, 7rem);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-weight: 800;
    gap: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.breadcrumb-line a {
    color: var(--green-light);
    text-decoration: none;
}

.subhero .eyebrow {
    color: var(--green-light);
}

.subhero h1 {
    margin-bottom: 1.4rem;
    font-size: clamp(3.4rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.022em;
}

.subhero p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.16rem;
}

.directory {
    background: var(--paper);
}

.directory-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
}

.directory-toolbar h2 {
    margin-bottom: 0;
    font-size: clamp(2.25rem, 4.5vw, 4rem);
}

.directory-search {
    width: min(410px, 100%);
}

.directory-search label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--grey);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.directory-search__field {
    position: relative;
}

.directory-search__field svg {
    position: absolute;
    top: 50%;
    left: 1rem;
    width: 1.25rem;
    fill: none;
    stroke: var(--green-dark);
    stroke-linecap: round;
    stroke-width: 1.7;
    transform: translateY(-50%);
}

.directory-search input {
    width: 100%;
    min-height: 54px;
    padding: 0.85rem 1rem 0.85rem 3rem;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 0;
    outline: 0;
    background: var(--white);
    font: inherit;
}

.directory-search input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(58, 170, 53, 0.14);
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.directory-card {
    display: flex;
    min-height: 440px;
    padding: clamp(1.6rem, 3vw, 2.5rem);
    background: var(--white);
    border-top: 5px solid var(--green);
    flex-direction: column;
    box-shadow: 0 12px 35px rgba(24, 52, 44, 0.055);
}

.directory-card[hidden] {
    display: none !important;
}

.directory-card__top {
    display: flex;
    min-height: 2.4rem;
    margin-bottom: 2.5rem;
    color: var(--green);
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.directory-card__badge {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 0.5rem 0.8rem;
    color: var(--green-dark);
    background: var(--paper-green);
    border-radius: 999px;
    align-items: center;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-align: left;
    text-transform: uppercase;
}

.directory-card__badge--accepting {
    box-shadow: inset 0 0 0 1px rgba(58, 170, 53, 0.18);
}

.directory-card__badge--accepting::before {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: var(--green);
    content: "";
    flex: 0 0 auto;
}

.directory-card h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.55rem, 2.5vw, 2.1rem);
    font-weight: 850;
}

.directory-card > p {
    color: var(--ink-soft);
}

.directory-card dl {
    margin: auto 0 0;
}

.directory-card dl > div {
    display: grid;
    padding: 0.78rem 0;
    border-top: 1px solid var(--line);
    grid-template-columns: 130px 1fr;
    gap: 1rem;
}

.directory-card dt {
    color: var(--grey);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.directory-card dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 750;
}

.directory-empty {
    margin: 3rem 0 0;
    padding: 2rem;
    background: var(--white);
    border-left: 4px solid var(--green-light);
    font-weight: 800;
}

.resident-directory {
    background: var(--white);
}

.resident-directory__grid {
    display: grid;
    border-top: 2px solid var(--ink);
    grid-template-columns: repeat(2, 1fr);
}

.resident-directory__item {
    display: grid;
    min-height: 100px;
    padding: 1.3rem 1.25rem;
    border-bottom: 1px solid var(--line);
    align-items: center;
    grid-template-columns: 28px 1fr;
    gap: 1rem;
}

.resident-directory__item:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.resident-directory__bullet {
    width: 10px;
    height: 10px;
    background: var(--green);
    box-shadow: 7px 7px 0 var(--green-light), 14px 0 0 var(--green-dark);
}

.resident-directory__item strong {
    font-size: 1rem;
}

.booking-strip {
    padding-block: clamp(4rem, 7vw, 6rem);
    color: var(--white);
    background-color: var(--green);
    background-image: linear-gradient(90deg, rgba(3, 117, 74, 0.96), rgba(3, 117, 74, 0.82)), url("../img/poliklinikajuh-trencin-vis04.png");
    background-position: center;
    background-size: cover;
}

.booking-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.booking-strip .eyebrow {
    color: var(--green-dark);
}

.booking-strip h2 {
    max-width: 650px;
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.booking-strip__actions {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 0.55rem;
}

.booking-strip__actions a {
    color: var(--white);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 850;
    text-decoration-color: rgba(255, 255, 255, 0.45);
}

/* Contact and footer */
.contact {
    background: var(--paper);
}

.contact__panel {
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-location {
    position: relative;
    min-height: 470px;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 2.25 / 1;
    background: var(--green-dark);
}

.contact-location::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 35, 28, 0.02) 38%, rgba(4, 35, 28, 0.78));
    content: "";
}

.contact-location img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
    object-position: center 48%;
}

.contact-location figcaption {
    position: absolute;
    z-index: 1;
    right: clamp(1.5rem, 4vw, 4rem);
    bottom: clamp(1.5rem, 4vw, 3rem);
    left: clamp(1.5rem, 4vw, 4rem);
    color: var(--white);
}

.contact-location figcaption span,
.contact-location figcaption strong,
.contact-location figcaption small {
    display: block;
}

.contact-location figcaption span {
    color: var(--green-light);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-location figcaption strong {
    margin-top: 0.3rem;
    font-size: clamp(1.65rem, 3vw, 2.7rem);
    font-weight: 900;
}

.contact-location figcaption small {
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    font-weight: 750;
}

.contact__visual {
    height: 100%;
    min-height: 590px;
    margin: 0;
    overflow: hidden;
    background: #25352f;
}

.contact__visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 590px;
    object-fit: cover;
    object-position: center;
}

.contact__content {
    min-height: 590px;
    padding: clamp(2rem, 3.5vw, 3.75rem);
}

.contact__content h2 {
    margin-bottom: 1.35rem;
    font-size: clamp(2.35rem, 3.6vw, 3.8rem);
}

.contact__intro {
    max-width: 440px;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.contact__links {
    margin-top: clamp(2.5rem, 6vw, 5rem);
    border-top: 1px solid var(--line);
}

.contact__links > a,
.contact__links > div {
    display: grid;
    padding: 1.1rem 0;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    text-decoration: none;
}

.contact__links > a:hover {
    color: var(--green);
}

.contact__links span {
    color: var(--grey);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact__links strong {
    font-weight: 800;
}

.contact-map {
    position: relative;
    display: block;
    height: 100%;
    min-height: 590px;
    overflow: hidden;
    background: #dfe6e2;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 590px;
    border: 0;
}

.contact-map__directions {
    position: absolute;
    z-index: 2;
    right: 1.5rem;
    bottom: 1.5rem;
    display: inline-flex;
    min-height: 54px;
    padding: 0.85rem 1.2rem;
    color: var(--white);
    background: var(--green-dark);
    border-radius: var(--button-radius);
    align-items: center;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 35px rgba(24, 52, 44, 0.24);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.contact-map__directions:hover,
.contact-map__directions:focus-visible {
    color: var(--white);
    background: var(--green);
    transform: translateY(-2px);
}

.site-footer {
    padding-top: clamp(4rem, 8vw, 7rem);
    color: var(--white);
    background: #062f23;
}

.site-footer__top {
    display: flex;
    padding-bottom: clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.site-footer__brand {
    width: min(260px, 55vw);
}

.site-footer__brand img {
    width: 100%;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 2rem;
}

.site-footer__nav a {
    color: var(--white);
    font-size: 1rem;
    font-weight: 750;
    text-decoration: none;
}

.site-footer__nav a:hover {
    color: var(--green-light);
}

.site-footer__bottom {
    display: flex;
    padding-block: 1.6rem;
    color: rgba(255, 255, 255, 0.48);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1rem;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__credit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.site-footer__bottom > div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-footer__bottom button {
    padding: 0;
    color: inherit;
    border: 0;
    background: none;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer__bottom a {
    color: rgba(255, 255, 255, 0.68);
}

.to-top {
    position: fixed;
    z-index: 990;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    width: 46px;
    height: 46px;
    color: var(--white);
    border: 0;
    background: var(--green-dark);
    border-radius: var(--button-radius);
    opacity: 0;
    place-items: center;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.error-page {
    min-height: 70vh;
    padding-block: 6rem;
    background: var(--paper);
}

.error-page img {
    width: 150px;
    margin: 0 auto 1.5rem;
}

.error-page h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
}

.error-page p:not(.eyebrow) {
    margin-bottom: 2rem;
    color: var(--ink-soft);
}

/* Consent */
.consent-banner[hidden] {
    display: none !important;
}

.consent-banner {
    position: fixed;
    z-index: 2000;
    right: 1rem;
    bottom: 1rem;
    width: min(780px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: clamp(1.35rem, 3vw, 2.2rem);
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 25px 80px rgba(4, 35, 26, 0.28);
}

.consent-banner__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.consent-banner__eyebrow {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--green);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.consent-banner h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.consent-banner > p {
    margin-bottom: 1.4rem;
    color: var(--ink-soft);
    font-size: 1rem;
}

.consent-banner__close {
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--button-radius);
    font-size: 1.5rem;
    line-height: 1;
}

.consent-options {
    display: grid;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    grid-template-columns: repeat(2, 1fr);
}

.consent-option {
    position: relative;
    display: flex;
    min-height: 86px;
    padding: 1rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}

.consent-option strong,
.consent-option small {
    display: block;
}

.consent-option strong {
    font-size: 1rem;
}

.consent-option small {
    margin-top: 0.15rem;
    color: var(--grey);
    font-size: 1rem;
    line-height: 1.35;
}

.consent-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.consent-option i {
    position: relative;
    width: 40px;
    height: 22px;
    flex: 0 0 auto;
    background: #d7ddd5;
    border-radius: 20px;
    transition: background-color 0.2s ease;
}

.consent-option i::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border-radius: 50%;
    content: "";
    transition: transform 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.consent-option input:checked + i {
    background: var(--green);
}

.consent-option input:checked + i::after {
    transform: translateX(18px);
}

.consent-option input:focus-visible + i {
    outline: 3px solid rgba(58, 170, 53, 0.25);
    outline-offset: 2px;
}

.consent-option--fixed {
    cursor: default;
}

.consent-option--fixed i {
    opacity: 0.65;
}

.consent-banner__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
}

.consent-button {
    min-height: 46px;
    padding: 0.65rem 1rem;
    color: var(--white);
    border: 2px solid var(--green-dark);
    background: var(--green-dark);
    border-radius: var(--button-radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 850;
}

.consent-button--muted {
    color: var(--ink-soft);
    border-color: var(--line);
    background: var(--white);
}

.consent-button--selection {
    color: var(--green-dark);
    border-color: var(--green-dark);
    background: var(--white);
}

.consent-button:hover,
.consent-button:focus-visible {
    color: var(--white);
    border-color: var(--green);
    background: var(--green);
}

.consent-settings {
    position: fixed;
    z-index: 980;
    right: 1rem;
    bottom: 4.7rem;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--green-dark);
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--button-radius);
    place-items: center;
    box-shadow: 0 8px 28px rgba(24, 52, 44, 0.12);
}

.consent-settings span {
    margin-top: -5px;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

@media (max-width: 1199.98px) {
    .clinic-row {
        grid-template-columns: minmax(250px, 1.4fr) minmax(170px, 0.8fr) minmax(165px, 0.8fr);
        gap: 1rem;
    }

    .hero__visual {
        min-height: 440px;
    }
}

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 85px;
    }

    .site-header .navbar {
        min-height: 90px;
    }

    .site-logo img {
        height: 68px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        padding: 1rem var(--bs-gutter-x) 1.5rem;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 35px rgba(24, 52, 44, 0.12);
    }

    .site-nav {
        align-items: stretch !important;
    }

    .site-nav .nav-link {
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.1rem;
    }

    .site-nav .nav-link::after {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero__grid {
        mask-image: linear-gradient(180deg, transparent, #000);
    }

    .hero__background {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 58%;
        opacity: 0.11;
        object-position: center;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 72%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 72%);
    }

    .hero__visual {
        min-height: 500px;
    }

    .hero__symbol-wrap {
        width: min(430px, 75vw);
    }

    .quick-info__row {
        grid-template-columns: 1fr;
    }

    .quick-info__item + .quick-info__item {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .quick-info__item {
        padding: 1.35rem 0;
    }

    .campaign__panel {
        grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    }

    .campaign__content {
        padding: 2.5rem;
    }

    .campaign__facts {
        grid-template-columns: 1fr;
    }

    .campaign__facts > div {
        padding: 0.8rem 0;
    }

    .campaign__facts > div + div {
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-left: 0;
    }

    .insurance-strip__inner {
        grid-template-columns: 1fr;
    }

    .news-strip__inner {
        grid-template-columns: 24px 145px minmax(0, 1fr);
    }

    .news-strip__link {
        grid-column: 3;
        justify-self: start;
    }

    .clinic-row {
        min-height: auto;
        grid-template-columns: 1fr 1fr;
    }

    .clinic-feature {
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    }

    .clinic-row__main {
        grid-column: 1 / -1;
    }

    .clinic-row__meta {
        grid-column: 1;
    }

    .clinic-row__hours {
        grid-column: 2;
    }

    .resident-section__intro {
        position: static;
    }

    .about__visual {
        aspect-ratio: 16 / 9;
    }

    .directory-toolbar,
    .booking-strip__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .directory-search {
        width: 100%;
    }

    .booking-strip__actions {
        align-items: flex-start;
    }

    .contact__content,
    .contact-map,
    .contact-map iframe {
        min-height: 520px;
    }

    .contact__visual,
    .contact__visual img {
        min-height: 420px;
    }

    .contact-location {
        min-height: 340px;
        aspect-ratio: 16 / 7;
    }

    .contact-location img {
        min-height: 340px;
    }
}

@media (max-width: 767.98px) {
    .container {
        --bs-gutter-x: 2rem;
    }

    .service-notice {
        font-size: 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 10.5vw, 3.25rem);
        overflow-wrap: anywhere;
    }

    .hero__visual,
    .subhero__symbol {
        display: none;
    }

    .campaign__panel {
        grid-template-columns: 1fr;
    }

    .campaign__visual {
        min-height: 0;
        aspect-ratio: auto;
    }

    .campaign__visual img {
        height: auto;
    }

    .campaign__content {
        min-height: 0;
        padding: 2rem 1.5rem 2.5rem;
    }

    .campaign__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .insurance-strip__logos {
        grid-template-columns: 1fr;
    }

    .insurance-strip__logo {
        min-height: 100px;
    }

    .news-strip__inner {
        grid-template-columns: 24px 1fr;
        gap: 1.25rem;
    }

    .news-strip__date {
        padding-right: 0;
        border-right: 0;
    }

    .news-strip__copy,
    .news-strip__link {
        grid-column: 1 / -1;
    }

    .news-strip__link {
        justify-self: stretch;
        justify-content: center;
    }

    .clinic-row {
        padding-block: 1.5rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .clinic-feature {
        grid-template-columns: 1fr;
    }

    .clinic-feature__photo,
    .clinic-feature__photo img {
        min-height: 320px;
    }

    .clinic-feature__copy {
        min-height: 340px;
    }

    .clinic-row:hover {
        transform: translateY(-2px);
    }

    .clinic-row__main,
    .clinic-row__meta,
    .clinic-row__hours {
        grid-column: 1;
    }

    .clinic-row__meta {
        margin-top: 0.2rem;
    }

    .clinic-cta {
        padding: 1.5rem;
    }

    .resident-list {
        columns: 1;
    }

    .directory-grid {
        grid-template-columns: 1fr;
    }

    .directory-card {
        min-height: 410px;
    }

    .resident-directory__grid {
        grid-template-columns: 1fr;
    }

    .resident-directory__item:nth-child(odd) {
        border-right: 0;
    }

    .site-footer__top,
    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer__nav {
        justify-content: flex-start;
    }

    .site-footer__bottom > div {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .contact__links > a,
    .contact__links > div {
        grid-template-columns: 85px 1fr;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 470px;
    }

    .contact__visual,
    .contact__visual img {
        min-height: 340px;
    }

    .contact-location {
        min-height: 320px;
        aspect-ratio: 4 / 3;
    }

    .contact-location img {
        min-height: 320px;
    }

    .contact-map__directions {
        right: 1rem;
        bottom: 1rem;
    }

    .consent-options {
        grid-template-columns: 1fr;
    }

    .consent-banner__actions {
        flex-direction: column-reverse;
    }

    .consent-button {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .site-logo {
        width: 230px;
    }

    .hero__visual {
        min-height: 365px;
    }

    .hero__symbol-wrap {
        top: 38%;
        width: 92vw;
    }

    .directory-card dl > div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .contact__content {
        min-height: auto;
    }

    .contact__visual,
    .contact__visual img {
        min-height: 300px;
    }

    .clinic-feature__photo,
    .clinic-feature__photo img {
        min-height: 270px;
    }

    .clinic-feature__copy {
        min-height: 310px;
    }

    .contact__links > a,
    .contact__links > div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .consent-banner {
        right: 0.5rem;
        bottom: 0.5rem;
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
