:root {
    --green-950: #052b1c;
    --green-900: #073b26;
    --green-800: #075535;
    --green-700: #008043;
    --green-600: #00913b;
    --green-500: #16a854;
    --green-200: #b9e6ca;
    --green-100: #e4f5ea;
    --green-50: #f1faf4;
    --ink: #14251c;
    --ink-2: #2d4035;
    --muted: #617369;
    --muted-2: #7f9087;
    --line: #dde9e1;
    --line-strong: #c9dacd;
    --bg: #f6faf7;
    --white: #ffffff;
    --amber: #f2b544;
    --danger: #bf3d3d;
    --danger-bg: #fff0f0;
    --success: #0b7a43;
    --success-bg: #e9f8ef;
    --info: #2f6f9f;
    --info-bg: #edf6fd;
    --shadow-sm: 0 1px 2px rgba(9, 51, 31, 0.05);
    --shadow-md: 0 12px 30px rgba(9, 51, 31, 0.08);
    --shadow-lg: 0 24px 60px rgba(9, 51, 31, 0.14);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 34px;
    --container: 1180px;
    --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

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

a {
    color: var(--green-700);
    text-decoration: none;
    transition: color 0.18s ease;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2rem, 4.2vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

h3 {
    font-size: 1.18rem;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.container--narrow {
    width: min(calc(100% - 40px), 900px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 1000;
    background: var(--green-800);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 0 0 10px 10px;
}

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

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    display: inline-block;
    vertical-align: -0.2em;
}

.icon--flip {
    transform: scaleX(-1);
}

.icon--up {
    transform: rotate(-90deg);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-700);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.eyebrow .icon {
    width: 17px;
    height: 17px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid var(--green-600);
    border-radius: 999px;
    background: var(--green-600);
    color: var(--white);
    font-weight: 700;
    font-size: 0.94rem;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 145, 59, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 145, 59, 0.24);
}

.button:active {
    transform: translateY(0);
}

.button--small {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.84rem;
    gap: 6px;
}

.button--small .icon {
    width: 16px;
    height: 16px;
}

.button--soft {
    background: var(--green-100);
    border-color: transparent;
    color: var(--green-800);
    box-shadow: none;
}

.button--soft:hover {
    background: var(--green-200);
    border-color: transparent;
    color: var(--green-900);
    box-shadow: none;
}

.button--ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink-2);
    box-shadow: none;
}

.button--ghost:hover {
    background: var(--white);
    border-color: var(--green-500);
    color: var(--green-800);
    box-shadow: var(--shadow-sm);
}

.button--light {
    background: var(--white);
    border-color: var(--white);
    color: var(--green-800);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.button--light:hover {
    background: var(--green-50);
    border-color: var(--green-50);
    color: var(--green-900);
}

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

.section {
    padding: 72px 0;
}

.section--tinted {
    background: linear-gradient(180deg, var(--white), var(--green-50));
    border-block: 1px solid rgba(221, 233, 225, 0.7);
}

.section--categories {
    padding-top: 54px;
}

.section--intro {
    padding-top: 0;
}

.section--reviews {
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 145, 59, 0.07), transparent 35%),
        var(--white);
}

.section--article {
    padding-top: 40px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

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

.section-heading--stacked {
    display: block;
}

.section-heading__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
    padding-bottom: 2px;
}

.section-heading__link .icon {
    width: 17px;
    height: 17px;
}

.topbar {
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
}

.topbar__note,
.topbar__links {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar__note .icon,
.topbar__links .icon {
    width: 14px;
    height: 14px;
}

.topbar__links {
    gap: 20px;
}

.topbar a {
    color: rgba(255, 255, 255, 0.82);
}

.topbar a:hover {
    color: var(--white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(9, 51, 31, 0.07);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    color: var(--ink);
}

.brand:hover {
    color: var(--ink);
}

.brand__mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    box-shadow: 0 6px 16px rgba(0, 145, 59, 0.16);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.02;
}

.brand__text strong {
    font-size: 1.2rem;
    letter-spacing: -0.04em;
}

.brand__text span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--green-700);
    font-weight: 700;
    margin-top: 3px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.main-nav a {
    color: var(--ink-2);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--green-600);
    transition: right 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--green-700);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    right: 0;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.icon-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink-2);
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.icon-button:hover {
    background: var(--green-50);
    color: var(--green-700);
    border-color: var(--green-200);
}

.mobile-toggle {
    display: none;
}

.mobile-toggle__close {
    display: none;
}

.mobile-toggle.is-open .mobile-toggle__open {
    display: none;
}

.mobile-toggle.is-open .mobile-toggle__close {
    display: inline-flex;
}

.header-search {
    border-top: 1px solid var(--line);
    background: var(--white);
    padding: 14px 0;
}

.header-search .search-form {
    max-width: 720px;
    margin-inline: auto;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--white);
    max-height: calc(100vh - 78px);
    overflow: auto;
}

.mobile-nav .container {
    display: grid;
    gap: 2px;
    padding-block: 12px 20px;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
    border-radius: 10px;
    color: var(--ink-2);
    font-weight: 600;
}

.mobile-nav a:hover {
    background: var(--green-50);
    color: var(--green-700);
}

.mobile-nav .icon {
    width: 18px;
    height: 18px;
    color: var(--green-600);
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 5px;
    box-shadow: var(--shadow-sm);
}

.search-form:focus-within {
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(0, 145, 59, 0.1);
}

.search-form__icon {
    display: inline-flex;
    padding-left: 14px;
    color: var(--muted-2);
}

.search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 11px 12px;
    color: var(--ink);
    font-size: 0.98rem;
}

.search-form input::placeholder {
    color: var(--muted-2);
}

.search-form__submit {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--green-600);
    color: var(--white);
    font-weight: 700;
    padding: 12px 24px;
    font-size: 0.9rem;
}

.search-form__submit:hover {
    background: var(--green-700);
}

.search-form--hero {
    border: 0;
    padding: 7px;
    box-shadow: 0 20px 50px rgba(5, 43, 28, 0.16);
    max-width: 620px;
}

.search-form--hero input {
    font-size: 1rem;
    padding-block: 13px;
}

.search-form--hero .search-form__submit {
    padding-inline: 28px;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(115deg, rgba(5, 43, 28, 0.97), rgba(0, 111, 60, 0.92)),
        radial-gradient(circle at 80% 20%, #21b568, transparent 50%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.hero__glow--one {
    width: 420px;
    height: 420px;
    right: -140px;
    top: -180px;
    background: rgba(67, 219, 137, 0.25);
}

.hero__glow--two {
    width: 300px;
    height: 300px;
    left: 44%;
    bottom: -220px;
    background: rgba(255, 255, 255, 0.08);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    align-items: center;
    gap: 50px;
    padding: 78px 0 72px;
}

.hero .eyebrow {
    color: var(--green-200);
}

.hero h1 {
    color: var(--white);
    max-width: 680px;
    margin-bottom: 20px;
}

.hero__lead {
    max-width: 570px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    margin-bottom: 30px;
}

.hero__stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__stats div {
    display: flex;
    flex-direction: column;
}

.hero__stats strong {
    font-size: 1.7rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 7px;
}

.hero__stats span {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 110px;
    line-height: 1.35;
}

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

.hero__visual::before {
    content: "";
    position: absolute;
    inset: 8% 2% 6% 6%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 48% 52% 55% 45%;
    transform: rotate(-8deg);
}

.hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.hero-card strong {
    display: block;
    font-size: 0.9rem;
}

.hero-card span {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.35;
}

.hero-card__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--green-100);
    color: var(--green-700);
    flex: 0 0 auto;
}

.hero-card--main {
    top: 52px;
    left: 24px;
    width: 250px;
}

.hero-card--rating {
    top: 64px;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 168px;
    text-align: left;
}

.hero-card__score {
    font-size: 2rem !important;
    font-weight: 800;
    color: var(--ink) !important;
    letter-spacing: -0.05em;
    line-height: 1 !important;
}

.hero-card__stars {
    display: flex;
    gap: 2px;
    color: var(--amber);
}

.hero-card__stars .icon {
    width: 15px;
    height: 15px;
}

.hero-card--map {
    bottom: 62px;
    right: 18px;
    width: 270px;
}

.hero-card--shield {
    bottom: 24px;
    left: 0;
    padding: 13px 18px;
    font-weight: 700;
    font-size: 0.82rem;
}

.hero-card--shield .hero-card__icon {
    width: 38px;
    height: 38px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.category-grid--large {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.category-card:hover {
    color: var(--ink);
    transform: translateY(-3px);
    border-color: var(--green-200);
    box-shadow: var(--shadow-md);
}

.category-card__icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 14px;
    background: var(--green-50);
    color: var(--green-700);
}

.category-card__icon .icon {
    width: 23px;
    height: 23px;
}

.category-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.category-card__body strong {
    font-size: 0.89rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.category-card__body span {
    color: var(--muted-2);
    font-size: 0.72rem;
    margin-top: 4px;
}

.category-card__arrow {
    margin-left: auto;
    color: var(--green-600);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.category-card__arrow .icon {
    width: 17px;
    height: 17px;
}

.category-card:hover .category-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

.intro-panel {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 34px 42px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.intro-panel__mark {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--green-100), var(--green-50));
    color: var(--green-600);
    transform: rotate(-6deg);
}

.intro-panel__mark .icon {
    width: 54px;
    height: 54px;
}

.prose--intro {
    color: var(--ink-2);
    font-size: 1rem;
}

.prose--intro p:last-child {
    margin-bottom: 0;
}

.clinic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.clinic-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clinic-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.clinic-card:hover {
    transform: translateY(-4px);
    border-color: var(--green-200);
    box-shadow: var(--shadow-md);
}

.clinic-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--green-50);
}

.clinic-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.clinic-card:hover .clinic-card__media img {
    transform: scale(1.045);
}

.clinic-card__category {
    position: absolute;
    left: 14px;
    top: 14px;
    max-width: calc(100% - 28px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(5, 43, 28, 0.82);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 0.68rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.clinic-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}

.clinic-card__title {
    font-size: 1.08rem;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.clinic-card__title a {
    color: var(--ink);
}

.clinic-card__title a:hover {
    color: var(--green-700);
}

.clinic-card__address {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 13px;
}

.clinic-card__address .icon {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    color: var(--green-600);
}

.clinic-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--amber);
    font-size: 0.78rem;
}

.rating-badge .icon {
    width: 15px;
    height: 15px;
}

.rating-badge strong {
    color: var(--ink);
    font-size: 0.84rem;
}

.rating-badge span {
    color: var(--muted-2);
    font-size: 0.7rem;
}

.rating-badge--empty {
    color: var(--muted-2);
}

.views-badge {
    color: var(--muted-2);
    font-size: 0.7rem;
    margin-left: auto;
}

.clinic-card__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.clinic-card__website {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.clinic-card__website .icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: var(--green-600);
}

.clinic-card__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.clinic-card__more .icon {
    width: 14px;
    height: 14px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.review-card {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.review-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
}

.review-card__head > div {
    min-width: 0;
}

.review-card__head strong {
    display: block;
    font-size: 0.84rem;
}

.review-card__head div span {
    display: block;
    color: var(--muted-2);
    font-size: 0.68rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-card__badge,
.comment__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.62rem;
    font-weight: 700;
    white-space: nowrap;
}

.review-card__badge .icon,
.comment__badge .icon {
    width: 12px;
    height: 12px;
}

.review-card p {
    color: var(--ink-2);
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}

.review-card > a .icon {
    width: 13px;
    height: 13px;
}

.avatar {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-800);
    font-size: 0.73rem;
    font-weight: 800;
}

.cta-band {
    color: var(--white);
    background:
        linear-gradient(110deg, rgba(5, 43, 28, 0.96), rgba(0, 122, 59, 0.9)),
        radial-gradient(circle at 80% 50%, #30c275, transparent 50%);
}

.cta-band--soft {
    background:
        linear-gradient(110deg, rgba(7, 85, 53, 0.95), rgba(0, 145, 59, 0.88)),
        radial-gradient(circle at 80% 50%, #30c275, transparent 50%);
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-block: 48px;
}

.cta-band h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    margin-bottom: 8px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 620px;
}

.page-hero {
    padding: 30px 0 52px;
    background:
        radial-gradient(circle at 13% 0%, rgba(0, 145, 59, 0.1), transparent 35%),
        linear-gradient(180deg, var(--white), var(--green-50));
    border-bottom: 1px solid var(--line);
}

.page-hero--compact {
    padding-bottom: 38px;
}

.page-hero__content {
    max-width: 800px;
}

.page-hero__content--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
    max-width: none;
}

.page-hero h1 {
    margin-bottom: 14px;
}

.page-hero__content > p {
    color: var(--muted);
    max-width: 680px;
    margin-bottom: 0;
}

.page-hero--search .search-form {
    margin-top: 26px;
}

.category-hero__stats {
    display: flex;
    gap: 34px;
    padding: 20px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.category-hero__stats div {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.category-hero__stats strong {
    font-size: 1.35rem;
    letter-spacing: -0.04em;
}

.category-hero__stats span {
    color: var(--muted-2);
    font-size: 0.68rem;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: start;
}

.content-layout--article {
    grid-template-columns: minmax(0, 1fr) 340px;
}

.content-layout__main {
    min-width: 0;
}

.content-layout__aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.results-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.results-head h2 {
    font-size: 1.45rem;
    margin-bottom: 3px;
}

.results-head p {
    color: var(--muted-2);
    font-size: 0.8rem;
    margin: 0;
}

.sort-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.sort-nav a {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 7px 11px;
    border-radius: 999px;
    white-space: nowrap;
}

.sort-nav a:hover {
    color: var(--green-700);
}

.sort-nav a.is-active {
    background: var(--green-600);
    color: var(--white);
}

.aside-card {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.aside-card__title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.94rem;
    margin-bottom: 16px;
}

.aside-card__title .icon {
    width: 17px;
    height: 17px;
    color: var(--green-600);
}

.aside-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 2px;
}

.aside-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--ink-2);
    font-size: 0.8rem;
    padding: 8px 7px;
    border-radius: 8px;
}

.aside-list a:hover {
    background: var(--green-50);
    color: var(--green-700);
}

.aside-list a span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.aside-list a .icon {
    width: 15px;
    height: 15px;
    color: var(--green-600);
}

.aside-list small {
    color: var(--muted-2);
}

.aside-list--plain a {
    justify-content: flex-start;
    padding-left: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
}

.aside-list--plain li:last-child a {
    border-bottom: 0;
}

.aside-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    margin-top: 12px;
}

.aside-card__link .icon {
    width: 14px;
    height: 14px;
}

.aside-card--accent {
    color: var(--white);
    border: 0;
    background:
        linear-gradient(135deg, var(--green-800), var(--green-600)),
        radial-gradient(circle at 80% 20%, #38cc7d, transparent 50%);
    box-shadow: var(--shadow-md);
}

.aside-card--accent .aside-card__title {
    color: var(--white);
}

.aside-card--accent p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.aside-card__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    margin-bottom: 14px;
}

.aside-card--sticky {
    position: sticky;
    top: 100px;
}

.breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--muted-2);
    font-size: 0.73rem;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.breadcrumbs li + li::before {
    content: "/";
    color: var(--line-strong);
}

.breadcrumbs a {
    color: var(--muted);
}

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

.breadcrumbs span {
    color: var(--ink-2);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 38px;
}

.pagination__item {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--white);
    color: var(--ink-2);
    font-size: 0.82rem;
    font-weight: 600;
}

.pagination__item:hover {
    border-color: var(--green-500);
    color: var(--green-700);
}

.pagination__item--active {
    background: var(--green-600);
    border-color: var(--green-600);
    color: var(--white);
}

.pagination__item--wide {
    gap: 5px;
    padding-inline: 14px;
}

.pagination__item--wide .icon {
    width: 15px;
    height: 15px;
}

.pagination__dots {
    color: var(--muted-2);
    padding: 0 3px;
}

.empty-state {
    text-align: center;
    padding: 56px 28px;
    background: var(--white);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
}

.empty-state--small {
    padding: 32px 20px;
}

.empty-state__icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--green-50);
    color: var(--green-600);
    margin-bottom: 16px;
}

.empty-state__icon .icon {
    width: 30px;
    height: 30px;
}

.empty-state h2,
.empty-state h3 {
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 20px;
}

.flash-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(420px, calc(100% - 40px));
}

.flash {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 14px 14px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--info);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    animation: flash-in 0.3s ease;
}

.flash--success {
    border-left-color: var(--success);
    background: var(--success-bg);
}

.flash--error {
    border-left-color: var(--danger);
    background: var(--danger-bg);
}

.flash .icon {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.flash--success .icon {
    color: var(--success);
}

.flash--error .icon {
    color: var(--danger);
}

.flash--info .icon {
    color: var(--info);
}

.flash span {
    flex: 1;
}

.flash__close {
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 0;
    display: inline-flex;
}

.flash__close .icon {
    width: 15px;
    height: 15px;
}

@keyframes flash-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-hero {
    padding: 28px 0 50px;
    background:
        radial-gradient(circle at 90% 20%, rgba(0, 145, 59, 0.08), transparent 32%),
        linear-gradient(180deg, var(--white), var(--green-50));
    border-bottom: 1px solid var(--line);
}

.article-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 46px;
    align-items: center;
}

.article-hero__content h1 {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    margin: 14px 0 16px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.73rem;
    font-weight: 700;
}

.badge--green {
    background: var(--green-100);
    color: var(--green-800);
}

.badge .icon {
    width: 15px;
    height: 15px;
}

.article-hero__address {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 17px;
}

.article-hero__address .icon {
    width: 17px;
    height: 17px;
    color: var(--green-600);
    margin-top: 2px;
}

.article-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 23px;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 7px;
}

.rating-summary strong {
    font-size: 1rem;
}

.rating-summary > span:last-child {
    color: var(--muted-2);
    font-size: 0.72rem;
}

.stars {
    display: inline-flex;
    gap: 1px;
    color: var(--line-strong);
}

.stars__star .icon {
    width: 16px;
    height: 16px;
}

.stars__star.is-filled {
    color: var(--amber);
}

.meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--line-strong);
}

.article-hero__views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted-2);
    font-size: 0.72rem;
}

.article-hero__views .icon {
    width: 15px;
    height: 15px;
}

.article-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.article-hero__website {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.article-hero__website .icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--green-600);
}

.article-hero__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-hero__media img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.article-hero__media-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--green-800);
    font-size: 0.68rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.article-hero__media-badge .icon {
    width: 15px;
    height: 15px;
}

.toc {
    padding: 20px 22px;
    margin-bottom: 28px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius);
}

.toc__title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.toc__title .icon {
    width: 17px;
    height: 17px;
    color: var(--green-600);
}

.toc ol {
    margin: 0;
    padding-left: 18px;
    columns: 2;
    column-gap: 24px;
}

.toc li {
    font-size: 0.78rem;
    margin-bottom: 5px;
    break-inside: avoid;
}

.toc a {
    color: var(--ink-2);
}

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

.prose {
    color: var(--ink-2);
    font-size: 0.98rem;
    line-height: 1.78;
}

.prose p {
    margin-bottom: 1em;
}

.prose h3 {
    margin: 1.8em 0 0.65em;
    font-size: 1.22rem;
    scroll-margin-top: 110px;
}

.prose h3:first-child {
    margin-top: 0;
}

.prose ul,
.prose ol {
    margin-bottom: 1em;
    padding-left: 1.4em;
}

.prose li {
    margin-bottom: 0.35em;
}

.prose img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.3em 0;
    box-shadow: var(--shadow-sm);
}

.prose a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose blockquote {
    margin: 1.4em 0;
    padding: 14px 20px;
    border-left: 4px solid var(--green-500);
    background: var(--green-50);
    border-radius: 0 12px 12px 0;
    color: var(--ink-2);
}

.prose--panel {
    padding: 30px 34px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.prose--static h3 {
    margin-top: 1.6em;
}

.prose--static h3:first-child {
    margin-top: 0;
}

.rating-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    padding: 26px 28px;
    margin-top: 34px;
    background: linear-gradient(135deg, var(--white), var(--green-50));
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.rating-box h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.rating-box p {
    color: var(--muted);
    font-size: 0.8rem;
    max-width: 480px;
    margin: 0;
}

.rating-form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.rating-form fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 2px;
}

.rating-input label {
    position: relative;
    cursor: pointer;
    color: var(--line-strong);
    transition: transform 0.15s ease, color 0.15s ease;
}

.rating-input label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-input label .icon {
    width: 30px;
    height: 30px;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input label:has(input:checked),
.rating-input label:has(input:checked) ~ label {
    color: var(--amber);
}

.rating-input label:hover {
    transform: scale(1.1);
}

.rating-input label:focus-within {
    outline: 2px solid var(--green-500);
    outline-offset: 3px;
    border-radius: 4px;
}

.rating-form__message {
    font-size: 0.76rem;
    color: var(--green-700);
    min-height: 18px;
    margin: 0;
}

.comments {
    margin-top: 42px;
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.comments__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.comments__head h2 {
    font-size: 1.5rem;
    margin: 0;
}

.comments__count {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-800);
    font-weight: 800;
    font-size: 0.82rem;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment {
    display: flex;
    gap: 12px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.comment__body {
    min-width: 0;
    flex: 1;
}

.comment__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 7px;
}

.comment__head strong {
    font-size: 0.86rem;
}

.comment__head time {
    color: var(--muted-2);
    font-size: 0.68rem;
    margin-left: auto;
}

.comment__text {
    color: var(--ink-2);
    font-size: 0.88rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.comment__text p:last-child {
    margin-bottom: 0;
}

.comment-form-wrap {
    margin-top: 26px;
    padding: 26px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.comment-form-wrap h3 {
    margin-bottom: 6px;
}

.form-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 18px;
}

.form-note .icon {
    width: 15px;
    height: 15px;
    color: var(--green-600);
    margin-top: 2px;
}

.stack-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stack-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stack-form label > span {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--ink-2);
}

.stack-form label > span small {
    color: var(--muted-2);
    font-weight: 400;
}

.stack-form input,
.stack-form textarea,
.stack-form select {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    padding: 11px 13px;
    font-size: 0.9rem;
    outline: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.stack-form input:focus,
.stack-form textarea:focus,
.stack-form select:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(0, 145, 59, 0.1);
}

.stack-form textarea {
    resize: vertical;
    min-height: 120px;
}

.stack-form--compact {
    gap: 10px;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.stack-form .checkbox-field {
    flex-direction: row;
    gap: 9px;
}

.checkbox-field input[type="checkbox"] {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 1px 0 0;
    padding: 0;
    accent-color: var(--green-600);
}

.stack-form .checkbox-field > span {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.5;
}

.checkbox-field a {
    color: var(--green-700);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.form-actions > span {
    color: var(--muted-2);
    font-size: 0.72rem;
}

.contact-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-card__title {
    font-size: 1rem;
    margin-bottom: 14px;
}

.contact-card__item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 0.82rem;
    line-height: 1.45;
}

.contact-card__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-card__item > span:first-child {
    color: var(--green-600);
    margin-top: 1px;
}

.contact-card__item .icon {
    width: 17px;
    height: 17px;
}

a.contact-card__item:hover {
    color: var(--green-700);
}

.appointment-card {
    padding: 24px;
    color: var(--white);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, var(--green-900), var(--green-700)),
        radial-gradient(circle at 80% 20%, #35c979, transparent 50%);
    box-shadow: var(--shadow-md);
}

.appointment-card__icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 14px;
}

.appointment-card h2 {
    color: var(--white);
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.appointment-card > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    margin-bottom: 16px;
}

.appointment-card .stack-form label > span {
    color: rgba(255, 255, 255, 0.8);
}

.appointment-card .stack-form input {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.appointment-card .stack-form input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.appointment-card .stack-form input:focus {
    border-color: rgba(255, 255, 255, 0.66);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.appointment-card .button {
    background: var(--white);
    border-color: var(--white);
    color: var(--green-800);
}

.appointment-card .button:hover {
    background: var(--green-50);
    border-color: var(--green-50);
    color: var(--green-900);
}

.appointment-card__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.76rem;
    font-weight: 600;
}

.appointment-card__phone:hover {
    color: var(--white);
}

.stub-message {
    min-height: 16px;
    margin: 4px 0 0;
    color: var(--green-200);
    font-size: 0.7rem;
    line-height: 1.4;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.contact-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.contact-tile:hover {
    color: var(--ink);
    border-color: var(--green-200);
    box-shadow: var(--shadow-md);
}

.contact-tile > span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--green-50);
    color: var(--green-600);
    margin-bottom: 6px;
}

.contact-tile strong {
    font-size: 0.82rem;
}

.contact-tile small {
    color: var(--muted);
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.value-card {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.value-card > span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--green-50);
    color: var(--green-600);
    margin-bottom: 12px;
}

.value-card h2 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.value-card p {
    color: var(--muted);
    font-size: 0.78rem;
    margin: 0;
}

.error-page {
    min-height: 58vh;
    display: flex;
    align-items: center;
}

.error-page__card {
    position: relative;
    text-align: center;
    padding: 60px 34px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.error-page__code {
    position: absolute;
    right: 18px;
    top: -22px;
    font-size: 9rem;
    font-weight: 900;
    color: var(--green-50);
    letter-spacing: -0.08em;
    line-height: 1;
    pointer-events: none;
}

.error-page__icon {
    position: relative;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: var(--green-50);
    color: var(--green-600);
    margin-bottom: 18px;
}

.error-page__icon .icon {
    width: 34px;
    height: 34px;
}

.error-page h1 {
    position: relative;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 10px;
}

.error-page p {
    position: relative;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 24px;
}

.error-page__actions {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}

.site-footer {
    margin-top: 0;
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.64);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 40px;
    padding: 58px 0 38px;
}

.brand--footer {
    color: var(--white);
    margin-bottom: 16px;
}

.brand--footer:hover {
    color: var(--white);
}

.brand--footer .brand__text span {
    color: var(--green-200);
}

.site-footer__brand p {
    max-width: 300px;
    font-size: 0.8rem;
    line-height: 1.6;
}

.site-footer__title {
    color: var(--white);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
}

.site-footer__links a:hover {
    color: var(--white);
}

.site-footer__note {
    font-size: 0.76rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.site-footer .button--soft {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.site-footer .button--soft:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom p {
    margin: 0;
    font-size: 0.72rem;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--green-800);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: transform 0.18s ease, background 0.18s ease;
}

.back-to-top:hover {
    background: var(--green-700);
    transform: translateY(-2px);
}

.back-to-top .icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 1120px) {
    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 0.8rem;
    }

    .category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .clinic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 28px;
    }

    .hero-card--main {
        left: 0;
    }

    .hero-card--rating {
        right: -8px;
    }

    .hero-card--map {
        right: 0;
    }
}

@media (max-width: 980px) {
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .mobile-nav:not([hidden]) {
        display: block;
    }

    .site-header__actions {
        margin-left: auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        padding: 54px 0 48px;
    }

    .hero__visual {
        display: none;
    }

    .hero__lead {
        max-width: 640px;
    }

    .content-layout,
    .content-layout--article {
        grid-template-columns: 1fr;
    }

    .content-layout__aside {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .aside-card--sticky {
        position: static;
    }

    .article-hero__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .article-hero__media img {
        height: 300px;
    }

    .page-hero__content--split {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .category-hero__stats {
        width: fit-content;
    }

    .site-footer__grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .site-footer__grid > div:last-child {
        grid-column: 1 / -1;
    }

    .category-grid,
    .category-grid--large {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    .container,
    .container--narrow {
        width: min(calc(100% - 28px), var(--container));
    }

    .topbar__note {
        display: none;
    }

    .topbar__links {
        width: 100%;
        justify-content: center;
        min-height: 34px;
        font-size: 0.72rem;
    }

    .topbar__links a:last-child {
        display: none;
    }

    .site-header__inner {
        min-height: 68px;
        gap: 12px;
    }

    .brand__mark {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .brand__text strong {
        font-size: 1.08rem;
    }

    .brand__text span {
        font-size: 0.62rem;
    }

    .hero__inner {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 2.05rem;
    }

    .hero__lead {
        font-size: 0.94rem;
    }

    .hero__stats {
        gap: 18px;
        margin-top: 26px;
        padding-top: 20px;
    }

    .hero__stats strong {
        font-size: 1.35rem;
    }

    .hero__stats span {
        font-size: 0.68rem;
    }

    .search-form {
        padding: 4px;
    }

    .search-form__icon {
        padding-left: 11px;
    }

    .search-form input {
        padding: 10px 8px;
        font-size: 0.88rem;
    }

    .search-form__submit {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .section {
        padding: 48px 0;
    }

    .section--categories {
        padding-top: 38px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .section-heading__link {
        white-space: normal;
    }

    .category-grid,
    .category-grid--large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .category-card {
        padding: 13px;
        gap: 10px;
    }

    .category-card__icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .category-card__icon .icon {
        width: 19px;
        height: 19px;
    }

    .category-card__body strong {
        font-size: 0.78rem;
    }

    .category-card__body span {
        font-size: 0.66rem;
    }

    .category-card__arrow {
        display: none;
    }

    .clinic-grid,
    .clinic-grid--two {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    .clinic-card__body {
        padding: 15px 16px 17px;
    }

    .clinic-card__title {
        font-size: 1rem;
    }

    .intro-panel {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }

    .intro-panel__mark {
        width: 74px;
        height: 74px;
        border-radius: 20px;
    }

    .intro-panel__mark .icon {
        width: 34px;
        height: 34px;
    }

    .cta-band__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding-block: 38px;
    }

    .page-hero {
        padding: 20px 0 38px;
    }

    .page-hero h1 {
        font-size: 1.85rem;
    }

    .page-hero__content > p {
        font-size: 0.9rem;
    }

    .category-hero__stats {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        padding: 15px 18px;
    }

    .category-hero__stats div {
        min-width: 0;
    }

    .category-hero__stats strong {
        font-size: 1.15rem;
    }

    .results-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .results-head h2 {
        font-size: 1.25rem;
    }

    .sort-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        border-radius: 12px;
        justify-content: flex-start;
    }

    .content-layout__aside {
        grid-template-columns: 1fr;
    }

    .article-hero {
        padding: 18px 0 34px;
    }

    .article-hero__media {
        order: -1;
    }

    .article-hero__media img {
        height: 220px;
    }

    .article-hero__actions {
        gap: 6px;
    }

    .article-hero__actions .button {
        flex: 1 1 auto;
        padding-inline: 14px;
        font-size: 0.84rem;
    }

    .toc ol {
        columns: 1;
    }

    .prose {
        font-size: 0.94rem;
    }

    .prose--panel {
        padding: 22px;
    }

    .rating-box {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px;
    }

    .rating-form {
        align-items: flex-start;
    }

    .comment-form-wrap {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .comment {
        padding: 14px;
    }

    .comment__head time {
        width: 100%;
        margin-left: 0;
    }

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

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

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
        padding: 42px 0 30px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__grid > div:last-child {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding-bottom: 20px;
    }

    .flash-stack {
        right: 14px;
        bottom: 14px;
        width: calc(100% - 28px);
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 420px) {
    .category-grid,
    .category-grid--large {
        grid-template-columns: 1fr;
    }

    .hero__stats {
        flex-wrap: wrap;
    }
}

.cookie-notice {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 210;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    width: min(480px, calc(100% - 40px));
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--green-600);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice__text {
    flex: 1;
}

.cookie-notice__title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 7px;
    color: var(--ink);
    font-size: 0.88rem;
}

.cookie-notice__title .icon {
    width: 17px;
    height: 17px;
    color: var(--green-600);
}

.cookie-notice p {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.55;
}

.cookie-notice a {
    color: var(--green-700);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-notice__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.cookie-notice__link {
    font-size: 0.72rem;
}

@media (max-width: 640px) {
    .cookie-notice {
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .cookie-notice__actions {
        flex-direction: row;
        justify-content: space-between;
    }

    body:has(.cookie-notice:not([hidden])) .flash-stack {
        bottom: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
