@font-face {
    font-family: 'InterLocal';
    src: url('./fonts/inter-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ManropeLocal';
    src: url('./fonts/manrope-cyrillic-ext.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'ManropeLocal';
    src: url('./fonts/manrope-cyrillic.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'ManropeLocal';
    src: url('./fonts/manrope-latin.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Material Symbols Outlined';
    src: url('./fonts/material-symbols-outlined.woff2') format('woff2');
    font-weight: 100 700;
    font-style: normal;
    font-display: block;
}

:root {
    color-scheme: light;
    --bg: #f4f7f5;
    --surface: #ffffff;
    --surface-2: #ecf4f1;
    --text: #152237;
    --muted: #4f637d;
    --primary: #2e7d6b;
    --primary-700: #1f5f52;
    --accent: #e3eeff;
    --accent-2: #e8f5f2;
    --border: #d2dde8;
    --danger: #b42318;
    --success: #027a48;
    --gold: #d8ab50;
    --gold-soft: #f0d99c;
    --service-surface: #d5dddf;
    --directions-wave-bg: #d5dddf;
    --control-radius: 12px;
    --control-height: 48px;
    --control-height-sm: 40px;
    --control-border: #c8d2d9;
    --control-bg: linear-gradient(180deg, #fbfdfd 0%, #f2f6f5 100%);
    --control-bg-hover: linear-gradient(180deg, #f4faf8 0%, #eaf2ef 100%);
    --control-text: #29493d;
    --control-shadow: 0 8px 20px rgba(23, 44, 66, 0.08);
    --focus-ring: rgba(46, 125, 107, 0.45);
    --shadow: 0 18px 44px rgba(17, 40, 73, 0.09);
    --radius-lg: 22px;
    --radius-md: 14px;
    --header-nav-font-size: 0.95rem;
    --header-nav-gap: 0.9rem;
    --header-nav-item-gap: 0.16rem;
    --bg-radial-left: #eef7f2;
    --bg-radial-right: #edf3fe;
    --header-bg: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(244, 247, 251, 0.92) 100%);
    --header-border: #dbe3ee;
    --header-nav-link: #29493d;
    --header-nav-link-active: #1f4f42;
    --dropdown-bg: linear-gradient(180deg, rgba(252, 255, 254, 0.98) 0%, rgba(246, 251, 249, 0.98) 100%);
    --dropdown-border: #c8d8d2;
    --dropdown-link-bg: linear-gradient(180deg, #ffffff 0%, #f6fbf9 100%);
    --dropdown-link-hover-bg: linear-gradient(180deg, #fbfffd 0%, #edf7f3 100%);
    --dropdown-link-active-bg: linear-gradient(180deg, #e9f6f1 0%, #ddf0e9 100%);
    --dropdown-link-border: #d7e3de;
    --dropdown-link-text: #244e45;
    --dropdown-link-hover-border: #b7d0c7;
    --dropdown-link-active-border: #8ab8aa;
    --section-alt-bg: linear-gradient(180deg, rgba(228, 238, 252, 0.7) 0%, rgba(234, 244, 241, 0.65) 100%);
    --hero-overlay-home: linear-gradient(
            90deg,
            rgba(248, 252, 251, 0.72) 0%,
            rgba(248, 252, 251, 0.52) 36%,
            rgba(248, 252, 251, 0.38) 62%,
            rgba(248, 252, 251, 0.48) 100%
        ),
        radial-gradient(circle at 82% 18%, rgba(216, 171, 80, 0.14) 0%, rgba(216, 171, 80, 0) 48%);
    --hero-overlay-inner: linear-gradient(
        90deg,
        rgba(248, 252, 251, 0.68) 0%,
        rgba(248, 252, 251, 0.44) 44%,
        rgba(248, 252, 251, 0.58) 100%
    );
    --hero-panel-bg: rgba(255, 255, 255, 0.5);
    --hero-panel-border: rgba(171, 196, 188, 0.56);
    --hero-panel-shadow: 0 16px 34px rgba(30, 66, 56, 0.18);
    --hero-chip-bg: rgba(241, 249, 246, 0.84);
    --hero-chip-border: rgba(83, 139, 125, 0.45);
    --hero-chip-text: #1f6658;
    --about-hero-next-bg: #dfe9e6;
    --footer-bg: #2d5f55;
    --footer-text: #e6f2ed;
    --footer-muted: #bfd8ce;
}

html[data-theme='dark'] {
    color-scheme: dark;
    --bg: #0f1719;
    --surface: #172427;
    --surface-2: #1d2e31;
    --text: #e8f1ee;
    --muted: #a4b8b3;
    --primary: #4ea58f;
    --primary-700: #3a8a76;
    --accent: #1f3136;
    --accent-2: #21353a;
    --border: #2b3d42;
    --gold: #d5ae64;
    --gold-soft: #f0ddb0;
    --service-surface: #17292d;
    --directions-wave-bg: #16262b;
    --control-border: #3b5158;
    --control-bg: linear-gradient(180deg, #23373b 0%, #1d2f33 100%);
    --control-bg-hover: linear-gradient(180deg, #294146 0%, #21363a 100%);
    --control-text: #dce9e5;
    --focus-ring: rgba(78, 165, 143, 0.58);
    --shadow: 0 16px 38px rgba(2, 10, 12, 0.38);
    --bg-radial-left: #173034;
    --bg-radial-right: #1a2b38;
    --header-bg: linear-gradient(180deg, rgba(18, 30, 34, 0.96) 0%, rgba(15, 25, 29, 0.92) 100%);
    --header-border: #2d4248;
    --header-nav-link: #d4e6e1;
    --header-nav-link-active: #f0faf7;
    --dropdown-bg: linear-gradient(180deg, rgba(29, 45, 49, 0.98) 0%, rgba(22, 35, 39, 0.98) 100%);
    --dropdown-border: #3e5961;
    --dropdown-link-bg: linear-gradient(180deg, #203238 0%, #1b2c31 100%);
    --dropdown-link-hover-bg: linear-gradient(180deg, #294249 0%, #223840 100%);
    --dropdown-link-active-bg: linear-gradient(180deg, #2b4a4e 0%, #244046 100%);
    --dropdown-link-border: #3e5961;
    --dropdown-link-text: #d6e9e2;
    --dropdown-link-hover-border: #4c6970;
    --dropdown-link-active-border: #5f858c;
    --section-alt-bg: linear-gradient(180deg, rgba(36, 53, 60, 0.78) 0%, rgba(27, 43, 48, 0.74) 100%);
    --hero-overlay-home: linear-gradient(
            90deg,
            rgba(8, 17, 19, 0.56) 0%,
            rgba(8, 17, 19, 0.42) 38%,
            rgba(8, 17, 19, 0.34) 66%,
            rgba(8, 17, 19, 0.42) 100%
        ),
        radial-gradient(circle at 82% 18%, rgba(78, 165, 143, 0.22) 0%, rgba(78, 165, 143, 0) 52%);
    --hero-overlay-inner: linear-gradient(
        90deg,
        rgba(8, 17, 19, 0.56) 0%,
        rgba(8, 17, 19, 0.44) 44%,
        rgba(8, 17, 19, 0.52) 100%
    );
    --hero-panel-bg: rgba(14, 24, 26, 0.68);
    --hero-panel-border: rgba(102, 148, 138, 0.46);
    --hero-panel-shadow: 0 16px 34px rgba(2, 10, 12, 0.42);
    --hero-chip-bg: rgba(31, 57, 54, 0.78);
    --hero-chip-border: rgba(122, 172, 161, 0.45);
    --hero-chip-text: #a9d6c8;
    --hero-gold-1: #f7e7bf;
    --hero-gold-2: #e4c57f;
    --hero-gold-3: #c89c43;
    --hero-gold-4: #f2d99f;
    --about-hero-next-bg: #14242a;
    --footer-bg: #0f1b20;
    --footer-text: #e7f2ee;
    --footer-muted: #a9c4bb;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'InterLocal', 'Segoe UI', Arial, sans-serif;
    background: radial-gradient(circle at 0 0, var(--bg-radial-left) 0, transparent 42%),
        radial-gradient(circle at 100% 0, var(--bg-radial-right) 0, transparent 40%),
        var(--bg);
    color: var(--text);
    line-height: 1.56;
}

h1,
h2,
h3,
h4 {
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.01em;
    line-height: 1.15;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    margin: 0;
    padding-left: 1.1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.ms-icon {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 1.15em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15em;
    height: 1.15em;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    visibility: hidden;
}

html.icons-ready .ms-icon {
    visibility: visible;
}

.icon-inline {
    margin-right: 0.28rem;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header .container {
    width: min(1340px, calc(100% - 2rem));
}

.section {
    padding: 4.3rem 0;
}

.section-alt {
    background: var(--section-alt-bg);
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.3rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    backdrop-filter: blur(12px);
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
}

.site-header::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, rgba(216, 171, 80, 0) 0%, rgba(216, 171, 80, 0.85) 25%, rgba(240, 217, 156, 0.95) 50%, rgba(216, 171, 80, 0.85) 75%, rgba(216, 171, 80, 0) 100%);
}

.header-inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: inherit;
    text-decoration: none;
    justify-self: start;
}

.brand-mark {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(140deg, #2e7d6b, #4f9f89);
    color: #fff;
    font-weight: 700;
}

.brand-logo {
    width: auto;
    height: clamp(40px, 4.4vw, 54px);
    max-width: min(300px, 26vw);
    border-radius: 0;
    object-fit: contain;
    border: none;
    background: transparent;
    display: block;
}

.brand-logo-dark {
    display: none;
}

html[data-theme='dark'] .brand.brand-has-dark-logo .brand-logo-light {
    display: none;
}

html[data-theme='dark'] .brand.brand-has-dark-logo .brand-logo-dark {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--header-nav-gap);
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    justify-self: center;
    overflow: visible;
}

.nav-link {
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--header-nav-link);
    text-decoration: none;
    font-size: var(--header-nav-font-size);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--header-nav-item-gap);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link .ms-icon {
    font-size: 1em;
}

.nav-link-home {
    justify-content: center;
    color: var(--header-nav-link);
}

.nav-link-home .ms-icon {
    font-size: 1.02rem;
}

.nav-link.active,
.nav-link:hover {
    background: transparent;
    border-color: transparent;
    color: var(--header-nav-link-active);
    opacity: 0.84;
    text-decoration: none;
}

.nav-link-home.active,
.nav-link-home:hover {
    color: var(--header-nav-link-active);
    opacity: 0.84;
}

.main-nav .nav-link:focus {
    outline: 3px solid var(--focus-ring);
    outline-offset: 1px;
}

.main-nav .nav-link:focus:not(:focus-visible) {
    outline: none;
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    isolation: isolate;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    top: calc(100% - 2px);
    height: 18px;
    z-index: 139;
}

.nav-dropdown-trigger {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-family: 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: var(--header-nav-font-size);
    font-weight: 600;
    line-height: 1.56;
    color: var(--header-nav-link);
    letter-spacing: normal;
    text-transform: none;
    background: transparent;
}

@media (min-width: 1680px) {
    :root {
        --header-nav-font-size: 1.1rem;
        --header-nav-gap: 1.22rem;
        --header-nav-item-gap: 0.22rem;
    }
}

@media (min-width: 1400px) and (max-width: 1679px) {
    :root {
        --header-nav-font-size: 1.02rem;
        --header-nav-gap: 1.05rem;
        --header-nav-item-gap: 0.18rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    :root {
        --header-nav-font-size: 0.93rem;
        --header-nav-gap: 0.74rem;
        --header-nav-item-gap: 0.14rem;
    }
}

@media (min-width: 981px) and (max-width: 1199px) {
    :root {
        --header-nav-font-size: 0.84rem;
        --header-nav-gap: 0.5rem;
        --header-nav-item-gap: 0.1rem;
    }
}

@media (min-width: 981px) and (max-width: 1060px) {
    :root {
        --header-nav-font-size: 0.8rem;
        --header-nav-gap: 0.36rem;
        --header-nav-item-gap: 0.09rem;
    }
}

.nav-dropdown-chevron {
    font-size: 1.06em;
    margin-left: -0.04rem;
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-chevron,
.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown:focus-within .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.16rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 278px;
    width: max-content;
    max-width: 360px;
    padding: 0.52rem;
    border-radius: 14px;
    border: 1px solid var(--dropdown-border);
    background: var(--dropdown-bg);
    box-shadow: 0 16px 34px rgba(19, 55, 49, 0.16);
    display: grid;
    gap: 0.34rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 140;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown-menu-doctors {
    min-width: 320px;
    max-width: 380px;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -6px;
    width: 12px;
    height: 12px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--surface);
    border-top: 1px solid var(--dropdown-border);
    border-left: 1px solid var(--dropdown-border);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
    min-height: 38px;
    padding: 0 0.62rem;
    border: 1px solid var(--dropdown-link-border);
    border-radius: 9px;
    background: var(--dropdown-link-bg);
    color: var(--dropdown-link-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    font-size: 0.84rem;
    font-weight: 620;
    white-space: nowrap;
}

.nav-dropdown-link-doctor {
    align-items: flex-start;
    min-height: auto;
    padding-top: 0.48rem;
    padding-bottom: 0.48rem;
    white-space: normal;
}

.nav-dropdown-avatar {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    margin-top: 0.04rem;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(86, 127, 115, 0.22);
    box-shadow: 0 4px 10px rgba(19, 55, 49, 0.08);
    background: linear-gradient(180deg, #f5fbf8 0%, #e8f2ee 100%);
}

.nav-dropdown-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.nav-dropdown-link .ms-icon {
    color: #2f7f6d;
    font-size: 1.08em;
    flex: 0 0 auto;
    margin-top: 0.08rem;
}

.nav-dropdown-link-body {
    min-width: 0;
    display: grid;
    gap: 0.08rem;
}

.nav-dropdown-link-title {
    color: inherit;
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 650;
}

.nav-dropdown-link-meta {
    color: #6a7c77;
    font-size: 0.7rem;
    line-height: 1.18;
    text-transform: none;
    white-space: normal;
}

.nav-dropdown-link:hover {
    border-color: var(--dropdown-link-hover-border);
    background: var(--dropdown-link-hover-bg);
    text-decoration: none;
    color: var(--header-nav-link-active);
}

.nav-dropdown-link.active {
    border-color: var(--dropdown-link-active-border);
    background: var(--dropdown-link-active-bg);
    color: var(--header-nav-link-active);
}

.nav-dropdown-link:hover .nav-dropdown-link-meta,
.nav-dropdown-link.active .nav-dropdown-link-meta {
    color: #55706a;
}

.main-nav .nav-dropdown-trigger:focus {
    outline: 3px solid var(--focus-ring);
    outline-offset: 1px;
}

.main-nav .nav-dropdown-trigger:focus:not(:focus-visible) {
    outline: none;
}

.main-nav .nav-dropdown-link:focus {
    outline: 3px solid var(--focus-ring);
    outline-offset: 1px;
}

.main-nav .nav-dropdown-link:focus:not(:focus-visible) {
    outline: none;
}

.header-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.62rem;
    justify-self: end;
    position: relative;
    min-height: 58px;
    padding-right: 0;
}

.theme-switch {
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 44px;
    border: 1px solid var(--control-border);
    border-radius: 999px;
    background: var(--control-bg);
    box-shadow: 0 8px 16px rgba(16, 39, 34, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--control-text);
    cursor: pointer;
    padding: 0;
    overflow: hidden;
}

.theme-switch .theme-switch-icon {
    font-size: 1.2rem;
    line-height: 1;
    width: 1.2rem;
    height: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.theme-switch .theme-switch-icon-sun {
    color: #f1b650;
    opacity: 1;
}

.theme-switch .theme-switch-icon-moon {
    color: #5f8fbe;
    opacity: 0;
}

.header-cta > .theme-switch {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    align-self: center;
    display: block;
    flex: 0 0 auto;
}

.header-cta > .header-contact-dropdown {
    order: 1;
}

.theme-switch-thumb {
    display: none;
}

.theme-switch[data-theme-current='dark'] .theme-switch-thumb {
    transform: none;
}

.theme-switch[data-theme-current='dark'] .theme-switch-icon-sun {
    opacity: 0;
}

.theme-switch[data-theme-current='dark'] .theme-switch-icon-moon {
    color: #b6d7ff;
    opacity: 1;
}

.theme-switch[data-theme-current='light'] .theme-switch-icon-sun {
    opacity: 1;
}

.theme-switch[data-theme-current='light'] .theme-switch-icon-moon {
    opacity: 0;
}

.theme-switch:focus {
    outline: 3px solid var(--focus-ring);
    outline-offset: 1px;
}

.theme-switch:focus:not(:focus-visible) {
    outline: none;
}

.mobile-theme-controls {
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-2);
    padding: 0.5rem 0.58rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
}

.theme-switch-mobile {
    width: 40px;
    min-width: 40px;
    height: 40px;
}

.mobile-theme-system-btn {
    min-height: 38px;
    border: 1px solid #b9cbc3;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8f6 100%);
    color: #2a4e45;
    font-weight: 620;
    cursor: pointer;
    padding: 0 0.72rem;
}

.mobile-theme-system-btn.is-active {
    border-color: #2f8a75;
    background: linear-gradient(155deg, #2f8a74 0%, #2e7d6b 55%, #276a5b 100%);
    color: #f5fffb;
}

.header-contact-dropdown {
    position: relative;
    width: 254px;
}

.phone-card {
    display: inline-grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.18rem 0.62rem;
    min-width: 194px;
    min-height: 54px;
    padding: 0 0.78rem 0 0.56rem;
    border-radius: 12px;
    border: 1px solid #d6bc7f;
    background: linear-gradient(180deg, #fffef8 0%, #fff7e3 100%);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(131, 97, 23, 0.12);
}

.phone-card-toggle {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
    font: inherit;
    width: 100%;
}

.phone-card-icon {
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.94rem;
    font-weight: 700;
    color: #61451b;
    background: linear-gradient(150deg, #f3dfaa 0%, #fff3cf 100%);
    border: 1px solid rgba(190, 147, 58, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.phone-card-icon .ms-icon {
    font-size: 1rem;
}

.phone-card-meta {
    display: grid;
    justify-items: start;
}

.phone-card-label {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #87682f;
    font-weight: 700;
    line-height: 1.15;
}

.phone-card-number {
    font-size: 0.95rem;
    font-weight: 700;
    color: #21354e;
    white-space: nowrap;
    line-height: 1.2;
}

.phone-card-caret {
    font-size: 1.14rem;
    color: #87682f;
    transition: transform 0.2s ease;
}

.phone-card:hover {
    text-decoration: none;
    border-color: #caa358;
    background: linear-gradient(180deg, #fffefb 0%, #fff3d8 100%);
}

.header-contact-dropdown.is-open .phone-card {
    border-color: #caa358;
    background: linear-gradient(180deg, #fffefb 0%, #fff0d2 100%);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 8px 16px rgba(131, 97, 23, 0.14);
}

.header-contact-dropdown.is-open .phone-card-caret {
    transform: rotate(180deg);
}

.header-contact-panel {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    width: 100%;
    border: 0;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg, #fffef9 0%, #fff8e7 100%);
    box-shadow: none;
    padding: 0 0.72rem;
    display: grid;
    gap: 0.58rem;
    z-index: 170;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    transition: max-height 0.28s ease, opacity 0.18s ease, padding 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, visibility 0.24s ease;
}

.header-contact-dropdown.is-open .header-contact-panel {
    border: 1px solid #d6bc7f;
    border-top: 0;
    box-shadow: 0 16px 30px rgba(131, 97, 23, 0.15);
    padding: 0.62rem 0.72rem 0.72rem;
    max-height: 560px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.header-contact-agent {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    min-height: 176px;
    padding: 0.15rem 0.25rem 0;
    border: 1px solid #dccca3;
    border-radius: 10px;
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.35) 44%, rgba(255, 255, 255, 0) 72%),
        linear-gradient(180deg, #fffef9 0%, #fff8e7 100%);
    overflow: hidden;
}

.header-contact-agent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 26px;
    background: linear-gradient(180deg, rgba(255, 248, 231, 0) 0%, #fff8e7 100%);
    pointer-events: none;
}

.header-contact-agent img {
    display: block;
    width: min(100%, 250px);
    height: 182px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 8px 14px rgba(63, 45, 15, 0.17));
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
}

.header-contact-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.42rem;
}

.header-contact-item {
    min-height: 42px;
    padding: 0.36rem 0.58rem;
    border: 1px solid #dccca3;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf4 100%);
    color: #2b4d42;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.82rem;
    line-height: 1.3;
}

.header-contact-item .ms-icon {
    color: #8a6a2f;
    font-size: 1.06rem;
    flex-shrink: 0;
}

.custom-color-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask-image: var(--icon-url);
    mask-image: var(--icon-url);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.header-contact-item-icon {
    width: 1.06rem;
    height: 1.06rem;
    color: #8a6a2f;
    flex-shrink: 0;
}

.header-contact-item-icon-image {
    width: 1.06rem;
    height: 1.06rem;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(39%) sepia(19%) saturate(1469%) hue-rotate(11deg) brightness(94%) contrast(89%);
}

.header-contact-item:hover {
    text-decoration: none;
    border-color: #ccb27b;
    background: linear-gradient(180deg, #fffefb 0%, #fff8e7 100%);
}

.header-contact-item:focus {
    outline: 3px solid var(--focus-ring);
    outline-offset: 1px;
}

.header-contact-item:focus:not(:focus-visible) {
    outline: none;
}

.header-contact-item-static {
    cursor: default;
}

.header-contact-item-static:hover {
    border-color: #dccca3;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf4 100%);
}

.header-contact-panel .header-book-btn {
    width: 100%;
    justify-content: center;
}

.btn.header-book-btn {
    display: inline-grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.2rem 0.62rem;
    min-width: 194px;
    min-height: 54px;
    padding: 0 0.78rem 0 0.56rem;
    border-radius: 12px;
    border: 1px solid #2d8b74;
    background: linear-gradient(155deg, #2f8a74 0%, #2e7d6b 55%, #276a5b 100%);
    color: #f6fffb;
    box-shadow: 0 10px 24px rgba(26, 102, 85, 0.3);
}

.header-book-btn-icon {
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    background: linear-gradient(150deg, #43ac92 0%, #328a75 100%);
    border: 1px solid rgba(201, 246, 233, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.header-book-btn-icon .ms-icon {
    font-size: 1.16rem;
}

.header-book-btn-text {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.2;
}

.btn.header-book-btn:hover {
    border-color: #3ea48c;
    background: linear-gradient(155deg, #2c816b 0%, #276f5e 100%);
    color: #ffffff;
    text-decoration: none;
}

.header-book-btn:hover .header-book-btn-icon {
    background: linear-gradient(150deg, #4ab69b 0%, #358f7a 100%);
}

.phone-card:focus,
.phone-card-toggle:focus,
.btn.header-book-btn:focus,
.mobile-menu summary:focus {
    outline: 3px solid var(--focus-ring);
    outline-offset: 1px;
}

.phone-card:focus:not(:focus-visible),
.phone-card-toggle:focus:not(:focus-visible),
.btn.header-book-btn:focus:not(:focus-visible),
.mobile-menu summary:focus:not(:focus-visible) {
    outline: none;
}

.mobile-menu {
    display: none;
    position: relative;
}

.mobile-menu summary {
    list-style: none;
    cursor: pointer;
    min-height: 54px;
    padding: 0 0.9rem;
    border: 1px solid var(--control-border);
    border-radius: var(--control-radius);
    background: var(--control-bg);
    color: var(--control-text);
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    box-shadow: var(--control-shadow);
}

.mobile-menu-panel {
    position: absolute;
    top: 62px;
    right: 0;
    width: min(340px, calc(100vw - 1rem));
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.8rem;
    display: grid;
    gap: 0.34rem;
}

.mobile-menu-panel a:not(.btn) {
    min-height: var(--control-height-sm);
    padding: 0 0.7rem;
    border: 1px solid #d3dde4;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    text-decoration: none;
    color: var(--text);
}

.mobile-menu-link .ms-icon {
    font-size: 1.12em;
    color: #2e6b5f;
}

.mobile-menu-panel a:not(.btn):hover {
    background: var(--control-bg-hover);
    border-color: #bed0c7;
}

.mobile-menu-panel .btn {
    width: 100%;
}

.hero-section {
    padding: 4.5rem 0 3.8rem;
    background: radial-gradient(circle at 18% 7%, #d8eee7 0, #f3f8f6 45%, transparent 75%),
        radial-gradient(circle at 94% 18%, #dbe7f8 0, #f5f8fc 48%, transparent 75%);
}

.hero-section.has-video-bg {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #111d2f;
    min-height: 62vh;
    max-height: 74vh;
    padding-top: clamp(1.8rem, 3.2vw, 2.8rem);
    padding-bottom: clamp(1.8rem, 3.2vw, 2.8rem);
}

.hero-section.has-video-bg.video-wave-bottom::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(clamp(28px, 4.5vw, 46px) - 46px);
    height: clamp(44px, 7.5vw, 86px);
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(221, 235, 243, 0) 0 18%,
            rgba(221, 235, 243, 0.11) 18% 36%,
            rgba(221, 235, 243, 0.2) 36% 54%,
            rgba(221, 235, 243, 0.31) 54% 72%,
            rgba(221, 235, 243, 0.45) 72% 100%
        );
}

.hero-section.has-video-bg.video-wave-bottom::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(40px, 6.8vw, 84px);
    z-index: 2;
    pointer-events: none;
    background: var(--hero-next-bg, var(--bg));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C32 C120%2C98 240%2C102 360%2C58 C470%2C20 590%2C16 720%2C55 C850%2C94 980%2C102 1100%2C66 C1220%2C30 1330%2C26 1440%2C74 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C32 C120%2C98 240%2C102 360%2C58 C470%2C20 590%2C16 720%2C55 C850%2C94 980%2C102 1100%2C66 C1220%2C30 1330%2C26 1440%2C74 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

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

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: transparent;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 1.6rem;
    align-items: stretch;
}

.hero-grid.video-mode {
    grid-template-columns: 1fr;
    align-items: center;
    min-height: inherit;
    position: relative;
    z-index: 3;
}

.hero-copy {
    max-width: none;
}

.hero-copy-panel {
    display: grid;
}

.has-video-bg .hero-copy {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    isolation: isolate;
}

.has-video-bg .hero-copy::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(100%, 940px);
    height: calc(100% + clamp(2.2rem, 4vw, 3.2rem));
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    filter: blur(18px);
    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.72) 0%,
            rgba(255, 255, 255, 0.48) 42%,
            rgba(255, 255, 255, 0.16) 68%,
            rgba(255, 255, 255, 0) 86%
        );
}

.hero-media {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid #d3dfeb;
    background: #fff;
    box-shadow: var(--shadow);
    min-height: 100%;
}

.has-video-bg .eyebrow {
    display: block;
    margin: 0 0 0.7rem;
    padding: 0;
    color: #1f6658;
    background: transparent;
    border-radius: 0;
    letter-spacing: 0.08em;
    box-shadow: none;
}

.has-video-bg h1 {
    color: #163b34;
    text-shadow: none;
    line-height: 1.15;
}

.has-video-bg .hero-text,
.has-video-bg .hero-points li {
    color: #244b45;
    text-shadow: none;
}

.has-video-bg .hero-line-chip {
    display: inline;
    background: transparent;
    color: inherit;
    border-radius: 0;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.has-video-bg .eyebrow .hero-line-chip {
    padding: 0;
}

.has-video-bg h1 .hero-line-chip {
    padding: 0;
    background: transparent;
    color: inherit;
}

.has-video-bg .hero-text .hero-line-chip {
    padding: 0;
}

.has-video-bg .hero-points .hero-line-chip {
    padding: 0;
}

.home-main-hero .hero-bg-overlay {
    background: var(--hero-overlay-home);
}

.home-main-hero .hero-copy {
    max-width: 980px;
}

.hero-section.home-main-hero .hero-copy::before {
    display: none;
}

.hero-section.home-main-hero .hero-copy-panel {
    padding: clamp(1rem, 2.4vw, 1.7rem) clamp(0.9rem, 2.2vw, 1.55rem);
    background: var(--hero-panel-bg);
    border: 1px solid var(--hero-panel-border);
    border-radius: 22px;
    box-shadow: var(--hero-panel-shadow);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.hero-section.home-main-hero .eyebrow {
    display: flex;
    justify-content: center;
    margin: 0 0 0.84rem;
}

.home-main-hero .eyebrow .hero-line-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 1.06rem;
    border-radius: 999px;
    border: 1px solid var(--hero-chip-border);
    background: var(--hero-chip-bg);
    color: var(--hero-chip-text);
    letter-spacing: 0.14em;
    font-size: 0.79rem;
    font-weight: 700;
}

.home-main-hero h1 .hero-line-chip {
    color: #0f3f35;
    font-weight: 760;
    padding: 0;
    background: transparent;
    text-shadow: none;
}

.home-main-hero h1 {
    line-height: 1.18;
    margin-bottom: 0.72rem;
}

.home-main-hero .hero-text .hero-line-chip {
    color: #2a4f48;
    font-size: clamp(1.1rem, 1.65vw, 1.28rem);
    line-height: 1.42;
    padding: 0;
    background: transparent;
    text-shadow: none;
}

.has-video-bg .hero-actions {
    justify-content: center;
}

.has-video-bg .hero-points {
    width: fit-content;
    max-width: min(92%, 42rem);
    margin-left: auto;
    margin-right: auto;
    justify-items: start;
}

.has-video-bg .hero-points li {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
}

.has-video-bg .hero-points li::before {
    display: none;
}

.has-video-bg .btn-light {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(176, 204, 194, 0.9);
    color: #1f4f42;
    box-shadow: 0 8px 16px rgba(21, 54, 45, 0.12);
}

.has-video-bg .btn-light:hover {
    background: rgba(245, 251, 248, 0.96);
    border-color: rgba(149, 188, 176, 0.95);
    color: #184b3e;
}

.hero-section.home-main-hero .hero-copy {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    transform: translateY(0);
}

.hero-section.home-main-hero.has-video-bg {
    padding-top: 0;
    min-height: clamp(560px, calc(100vh - 90px), 760px);
}

.hero-section.home-main-hero .hero-grid.video-mode {
    align-items: start;
    padding-top: 38px;
    padding-bottom: clamp(38px, 5vh, 64px);
    box-sizing: border-box;
}

.hero-section.home-main-hero .hero-actions {
    margin-top: 1.55rem;
    justify-content: center;
}

.hero-section.home-main-hero .hero-points {
    margin-top: 1.2rem;
    width: auto;
    max-width: 100%;
    justify-items: center;
    gap: 0.64rem;
}

.hero-section.home-main-hero .hero-points li {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(181, 208, 198, 0.88);
    background: rgba(249, 252, 251, 0.8);
    color: #21463f;
}

.hero-section.home-main-hero .hero-points li .ms-icon {
    color: #2d7f6c;
    margin-top: 0;
}

.hero-section.home-main-hero .btn-primary {
    min-height: 56px;
    padding: 0 1.45rem;
    border-radius: 12px;
    border-color: rgba(131, 224, 193, 0.42);
    box-shadow: 0 12px 24px rgba(16, 68, 55, 0.34);
}

.hero-section.home-main-hero .btn-light {
    min-height: 56px;
    padding: 0 1.2rem;
    border-radius: 12px;
    border: 1px solid #d6bc7f;
    background: linear-gradient(180deg, #fffef8 0%, #fff7e3 100%);
    color: #21354e;
    box-shadow: 0 8px 18px rgba(131, 97, 23, 0.12);
    gap: 0;
}

.hero-section.home-main-hero .btn-light .ms-icon {
    display: none;
}

.hero-section.home-main-hero .btn-light:hover {
    background: linear-gradient(180deg, #fffefb 0%, #fff3d8 100%);
    border-color: #caa358;
    color: #21354e;
}

/* Match video hero text treatment with home style on all other video sections. */
.hero-section.has-video-bg:not(.home-main-hero) .hero-bg-overlay {
    background: var(--hero-overlay-inner);
}

.hero-section.has-video-bg:not(.home-main-hero) .hero-copy {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-section.has-video-bg:not(.home-main-hero) .hero-copy::before {
    display: none;
}

.hero-section.has-video-bg:not(.home-main-hero) .hero-copy-panel {
    padding: clamp(1rem, 2.4vw, 1.7rem) clamp(0.9rem, 2.2vw, 1.55rem);
    background: var(--hero-panel-bg);
    border: 1px solid var(--hero-panel-border);
    border-radius: 22px;
    box-shadow: var(--hero-panel-shadow);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.hero-section.has-video-bg:not(.home-main-hero) .eyebrow {
    display: flex;
    justify-content: center;
    margin: 0 0 0.84rem;
}

.hero-section.has-video-bg:not(.home-main-hero) .eyebrow .hero-line-chip {
    padding: 0.3rem 1.06rem;
    border-radius: 999px;
    border: 1px solid var(--hero-chip-border);
    background: var(--hero-chip-bg);
    color: var(--hero-chip-text);
    letter-spacing: 0.14em;
    font-size: 0.79rem;
    font-weight: 700;
}

.hero-section.has-video-bg:not(.home-main-hero) h1 .hero-line-chip {
    display: inline;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #163b34;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.hero-section.has-video-bg:not(.home-main-hero) h1 {
    line-height: 1.18;
    margin-bottom: 0.72rem;
}

.hero-section.has-video-bg:not(.home-main-hero) .hero-text .hero-line-chip {
    display: inline;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #2a4f48;
    font-size: clamp(1.1rem, 1.65vw, 1.28rem);
    line-height: 1.42;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.hero-section.has-video-bg:not(.home-main-hero) .hero-actions {
    margin-top: 1.55rem;
    justify-content: center;
}

.hero-section.has-video-bg:not(.home-main-hero) .hero-points {
    margin-top: 1.2rem;
    width: auto;
    max-width: 100%;
    justify-items: center;
    gap: 0.64rem;
}

.hero-section.has-video-bg:not(.home-main-hero) .hero-points li {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(181, 208, 198, 0.88);
    background: rgba(249, 252, 251, 0.8);
    color: #21463f;
}

.hero-section.has-video-bg:not(.home-main-hero) .hero-points li .ms-icon {
    color: #2d7f6c;
    margin-top: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.hero-section h1 {
    margin: 0.2rem 0 0.62rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
}

.eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    font-size: 0.79rem;
    font-weight: 700;
}

.hero-text {
    color: var(--muted);
    font-size: clamp(1.02rem, 2vw, 1.14rem);
    max-width: none;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.3rem;
}

.hero-points {
    margin-top: 1.1rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.56rem;
    max-width: none;
}

.hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.32rem;
    padding-left: 0;
    color: #2f415d;
}

.hero-points li::before {
    display: none;
}

.hero-points li .ms-icon {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.1rem;
}

.has-video-bg .hero-points li .ms-icon {
    color: #2e7d6b;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: calc(var(--control-height) - 4px);
    padding: 0 0.82rem;
    border-radius: var(--control-radius);
    font-weight: 650;
    text-decoration: none;
    border: 1px solid var(--control-border);
    background: var(--control-bg);
    color: var(--control-text);
    box-shadow: var(--control-shadow);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn .ms-icon {
    font-size: 1.15em;
}

.btn:hover {
    background: var(--control-bg-hover);
    border-color: #b6cac0;
    color: #1f4f42;
    text-decoration: none;
}

.btn-primary {
    border-color: #2d8b74;
    background: linear-gradient(155deg, #2f8a74 0%, #2e7d6b 55%, #276a5b 100%);
    color: #f6fffb;
    box-shadow: 0 10px 24px rgba(26, 102, 85, 0.26);
}

.btn-primary:hover {
    border-color: #3ea48c;
    background: linear-gradient(155deg, #2c816b 0%, #276f5e 100%);
    color: #ffffff;
    text-decoration: none;
}

.btn-light {
    border-color: var(--control-border);
    background: var(--control-bg);
    color: var(--control-text);
    box-shadow: var(--control-shadow);
}

.btn-light:hover {
    background: var(--control-bg-hover);
    border-color: #b7c8c0;
    color: #1f4f42;
    text-decoration: none;
}

.btn-gold {
    border-color: #d6bc7f;
    background: linear-gradient(180deg, #fffef8 0%, #fff7e3 100%);
    color: #21354e;
    box-shadow: 0 8px 18px rgba(131, 97, 23, 0.12);
}

.btn-gold .ms-icon {
    color: #826328;
}

.btn-gold:hover {
    background: linear-gradient(180deg, #fffefb 0%, #fff3d8 100%);
    border-color: #caa358;
    color: #21354e;
    text-decoration: none;
}

.section-heading {
    margin-bottom: 1.3rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.7vw, 2.05rem);
}

.section-heading p {
    margin-top: 0.35rem;
    color: var(--muted);
}

.section-heading-center {
    text-align: center;
}

.directions-section {
    --directions-wave-gap: 50px;
    padding: 2.3rem 0 calc(2.9rem + var(--directions-wave-gap));
    background: var(--directions-wave-bg);
    position: relative;
    z-index: 1;
    --directions-next-color: #0d3f46;
}

.directions-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(28px, 4.8vw, 56px);
    z-index: 2;
    pointer-events: none;
    background: var(--directions-next-color);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C32 C120%2C98 240%2C102 360%2C58 C470%2C20 590%2C16 720%2C55 C850%2C94 980%2C102 1100%2C66 C1220%2C30 1330%2C26 1440%2C74 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C32 C120%2C98 240%2C102 360%2C58 C470%2C20 590%2C16 720%2C55 C850%2C94 980%2C102 1100%2C66 C1220%2C30 1330%2C26 1440%2C74 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.directions-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(-150px, calc(-78px - 3.8vw), -104px);
    position: relative;
    z-index: 6;
}

.direction-card {
    --direction-card-surface: #ffffff;
    background: var(--direction-card-surface);
    border: 1px solid #d6e0dc;
    border-radius: 22px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(19, 47, 70, 0.09);
}

.direction-media {
    position: relative;
    aspect-ratio: 16 / 6.7;
    background: #d6e1e3;
}

.direction-media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(11, 34, 49, 0.05) 0%, rgba(11, 34, 49, 0.18) 100%);
    pointer-events: none;
}

.direction-media video {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.direction-media .video-step-cut {
    display: none;
}

.direction-media .video-wave-cut {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 34px;
    z-index: 2;
    pointer-events: none;
    background: var(--direction-card-surface);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C32 C120%2C98 240%2C102 360%2C58 C470%2C20 590%2C16 720%2C55 C850%2C94 980%2C102 1100%2C66 C1220%2C30 1330%2C26 1440%2C74 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C32 C120%2C98 240%2C102 360%2C58 C470%2C20 590%2C16 720%2C55 C850%2C94 980%2C102 1100%2C66 C1220%2C30 1330%2C26 1440%2C74 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.direction-body {
    padding: 1.15rem 1.2rem 1.2rem;
    background: var(--direction-card-surface);
}

.direction-heading {
    display: inline-flex;
    flex-direction: column;
    gap: 0.48rem;
    align-items: flex-start;
    margin-bottom: 0.86rem;
    color: #2f655d;
    text-decoration: none;
}

.direction-heading:hover {
    text-decoration: none;
}

.direction-icon {
    width: 2.7rem;
    height: 2.7rem;
    display: inline-flex;
    color: #5f9f95;
}

.direction-icon svg {
    width: 100%;
    height: 100%;
}

.direction-heading h2 {
    margin: 0;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.12;
    color: #224640;
}

.direction-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.56rem;
}

.direction-chip {
    min-height: 40px;
    padding: 0.42rem 0.8rem 0.45rem 0.88rem;
    border: 1px solid var(--control-border);
    border-radius: 12px;
    background: var(--control-bg);
    color: var(--control-text);
    box-shadow: 0 7px 16px rgba(22, 46, 68, 0.09);
    font-size: 0.95rem;
    font-weight: 560;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.direction-chip::after {
    content: "↗";
    font-size: 0.78rem;
    color: #2e7d6b;
    opacity: 0.78;
    transform: translateY(-1px);
}

.direction-chip:hover {
    background: var(--control-bg-hover);
    border-color: #a8c0b7;
    color: #234b3f;
    box-shadow: 0 10px 20px rgba(20, 43, 66, 0.11);
    transform: translateY(-1px);
    text-decoration: none;
}

.direction-chip:hover::after {
    opacity: 1;
    transform: translate(1px, -1px);
}

.direction-chip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring), 0 8px 16px rgba(20, 43, 66, 0.11);
}

.service-topics-section {
    padding-top: 2.1rem;
    padding-bottom: 1.9rem;
}

.what-we-treat-section {
    padding-top: 2.9rem;
    padding-bottom: 3.15rem;
    background: var(--service-surface);
}

.what-we-treat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.15rem;
    row-gap: 2.65rem;
}

.what-we-treat-grid.what-we-treat-grid-tail-center .what-we-treat-card:last-child {
    grid-column: 2;
}

.what-we-treat-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 0.82rem;
    row-gap: 0;
    padding: 0.2rem 0;
}

.what-we-treat-card-icon {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f8a76;
    background: #ffffff;
    border: 1px solid rgba(86, 129, 120, 0.22);
    box-shadow: 0 8px 18px rgba(27, 63, 54, 0.06);
}

.what-we-treat-card-icon svg {
    width: 1.6rem;
    height: 1.6rem;
}

.what-we-treat-card-content {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.what-we-treat-card-title {
    margin: 0 0 0.9rem;
    color: #264844;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.16rem, 1.1vw, 1.36rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.what-we-treat-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.62rem;
}

.what-we-treat-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 0.72rem;
    color: #3a5354;
    line-height: 1.34;
    font-size: clamp(0.91rem, 1vw, 0.99rem);
}

.what-we-treat-term {
    position: relative;
    padding-left: 1rem;
}

.what-we-treat-term::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.53em;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #35a689;
}

.what-we-treat-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-self: end;
    padding-top: 0.1rem;
}

.what-we-treat-help {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    border: 1px solid #87bbae;
    background: #ffffff;
    color: #77ab9d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    padding: 0;
    box-shadow: 0 4px 10px rgba(27, 63, 54, 0.08);
    font-family: 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.what-we-treat-help:focus {
    outline: 3px solid var(--focus-ring);
    outline-offset: 1px;
}

.what-we-treat-help:focus:not(:focus-visible) {
    outline: none;
}

.what-we-treat-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.45rem);
    transform: translate(-50%, 6px);
    width: min(21rem, 74vw);
    padding: 0.7rem 0.78rem;
    border-radius: 12px;
    border: 1px solid #adcfc5;
    background: rgba(240, 250, 246, 0.985);
    color: #294853;
    font-size: 0.84rem;
    line-height: 1.4;
    box-shadow: 0 12px 24px rgba(17, 42, 59, 0.16);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.what-we-treat-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 0.62rem;
    height: 0.62rem;
    transform: translateX(-50%) rotate(45deg);
    background: rgba(240, 250, 246, 0.985);
    border-right: 1px solid #adcfc5;
    border-bottom: 1px solid #adcfc5;
}

.what-we-treat-tip:hover .what-we-treat-tooltip,
.what-we-treat-tip:focus-within .what-we-treat-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.what-we-treat-tip[data-tip-position='left'] .what-we-treat-tooltip {
    left: auto;
    right: calc(100% + 0.5rem);
    bottom: 50%;
    transform: translate(-6px, 50%);
    width: min(20.5rem, 68vw);
}

.what-we-treat-tip[data-tip-position='left'] .what-we-treat-tooltip::after {
    left: auto;
    right: -0.35rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.what-we-treat-tip[data-tip-position='left']:hover .what-we-treat-tooltip,
.what-we-treat-tip[data-tip-position='left']:focus-within .what-we-treat-tooltip {
    transform: translate(0, 50%);
}

.what-we-treat-tip[data-tip-position='right'] .what-we-treat-tooltip {
    left: calc(100% + 0.5rem);
    right: auto;
    bottom: 50%;
    transform: translate(6px, 50%);
    width: min(20.5rem, 68vw);
}

.what-we-treat-tip[data-tip-position='right'] .what-we-treat-tooltip::after {
    left: -0.35rem;
    right: auto;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.what-we-treat-tip[data-tip-position='right']:hover .what-we-treat-tooltip,
.what-we-treat-tip[data-tip-position='right']:focus-within .what-we-treat-tooltip {
    transform: translate(0, 50%);
}

.what-we-treat-section .section-heading {
    margin: 0 auto 2.3rem;
    max-width: 56rem;
    text-align: center;
}

.what-we-treat-section .section-heading h2 {
    color: #244e47;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.84rem, 2.35vw, 2.3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.what-we-treat-section .section-heading p {
    margin: 0.95rem auto 0;
    max-width: 46rem;
    color: #5c7470;
    font-size: clamp(0.98rem, 1.16vw, 1.25rem);
    line-height: 1.35;
}

.our-services-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: clamp(2rem, 3vw, 2.8rem);
    padding-bottom: calc(clamp(3rem, 4.2vw, 3.5rem) + 3.125rem);
    background: linear-gradient(180deg, #d9e8e3 0%, #dfede8 100%);
}

.our-services-section::before,
.our-services-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: clamp(30px, 4.8vw, 64px);
    pointer-events: none;
    z-index: 1;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C32 C120%2C98 240%2C102 360%2C58 C470%2C20 590%2C16 720%2C55 C850%2C94 980%2C102 1100%2C66 C1220%2C30 1330%2C26 1440%2C74 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C32 C120%2C98 240%2C102 360%2C58 C470%2C20 590%2C16 720%2C55 C850%2C94 980%2C102 1100%2C66 C1220%2C30 1330%2C26 1440%2C74 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.our-services-section::before {
    top: -1px;
    background: var(--service-surface);
    transform: scaleY(-1);
}

.our-services-section::after {
    bottom: -1px;
    background: var(--bg);
}

.our-services-section .container {
    position: relative;
    z-index: 2;
}

.our-services-section .section-heading {
    margin: 3.125rem auto 1.85rem;
    max-width: 56rem;
    text-align: center;
}

.our-services-section .section-heading h2 {
    color: #244e47;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.52rem, 1.95vw, 1.96rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.01em;
}

.our-services-section .section-heading p {
    margin: 0.68rem auto 0;
    max-width: 46rem;
    color: #5c7470;
    font-size: clamp(0.94rem, 1.04vw, 1.06rem);
    line-height: 1.4;
}

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

.our-services-grid.our-services-grid-tail-center .our-service-card:last-child {
    grid-column: 2;
}

.our-services-grid.our-services-grid-tail-two-center {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.our-services-grid.our-services-grid-tail-two-center .our-service-card {
    flex: 0 0 calc((100% - 2rem) / 3);
    max-width: calc((100% - 2rem) / 3);
}

.our-service-card {
    border-radius: 18px;
    padding: 1rem 1.05rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(122, 161, 151, 0.34);
    display: grid;
    gap: 0.68rem;
    box-shadow: 0 8px 22px rgba(33, 73, 84, 0.05);
}

.our-service-card-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.66rem;
}

.our-service-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2b876f;
    background: #d4e5df;
    border: 1px solid rgba(86, 129, 120, 0.14);
    flex-shrink: 0;
}

.our-service-icon svg {
    width: 1.23rem;
    height: 1.23rem;
}

.our-service-card h3 {
    margin: 0;
    color: #264844;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.04rem, 1vw, 1.18rem);
    line-height: 1.18;
    letter-spacing: 0.01em;
}

.our-service-card p {
    margin: 0;
    color: #3d5958;
    font-size: 0.93rem;
    line-height: 1.4;
}

.our-service-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.58rem;
}

.our-service-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 0.56rem;
    padding: 0.6rem 0.66rem;
    border-radius: 12px;
    border: 1px solid rgba(127, 173, 161, 0.35);
    background: linear-gradient(180deg, rgba(245, 251, 248, 0.95) 0%, rgba(235, 246, 241, 0.92) 100%);
    color: #3a5354;
    font-size: 0.89rem;
    line-height: 1.34;
}

.our-service-list-icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.08rem;
    color: #2f8a76;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.our-service-list-icon svg {
    width: 1rem;
    height: 1rem;
}

.our-service-list-copy {
    display: grid;
    gap: 0.14rem;
    min-width: 0;
}

.our-service-list li strong {
    color: #274843;
    font-weight: 600;
}

.our-service-list li span {
    color: #4b6869;
}

.our-service-accordion {
    display: block;
}

.our-service-accordion-item + .our-service-accordion-item {
    margin-top: 15px;
}

.our-service-accordion-item {
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(122, 161, 151, 0.34);
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(33, 73, 84, 0.04);
}

.our-service-accordion-item summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.66rem;
    padding: 0.9rem 1rem;
    transition: background-color 0.2s ease;
}

.our-service-accordion-item summary::-webkit-details-marker {
    display: none;
}

.our-service-accordion-item summary::after {
    content: '›';
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    border: 1px solid #87bbae;
    color: #2f7f6b;
    background: #edf6f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 600;
    transform: rotate(0deg);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.our-service-summary-title {
    color: #264844;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.06rem, 1vw, 1.18rem);
    line-height: 1.15;
}

.our-service-accordion-item summary:hover {
    background: rgba(227, 240, 235, 0.55);
}

.our-service-accordion-item[open] summary {
    border-bottom: 1px solid rgba(122, 161, 151, 0.24);
}

.our-service-accordion-item[open] summary::after {
    background: #e2f1ec;
    border-color: #6fafa0;
    color: #235f50;
    transform: rotate(90deg);
}

.our-service-body {
    padding: 0.86rem 1rem 0.98rem;
    display: grid;
    gap: 0.66rem;
}

.our-service-body p {
    margin: 0;
    color: #3d5958;
    font-size: 0.93rem;
    line-height: 1.4;
}

.our-service-lead {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 0.62rem;
    padding: 0.64rem 0.72rem;
    border-radius: 12px;
    border: 1px solid rgba(127, 173, 161, 0.35);
    background: linear-gradient(180deg, rgba(244, 250, 247, 0.94) 0%, rgba(233, 244, 239, 0.9) 100%);
}

.our-service-lead-icon {
    width: 1.28rem;
    height: 1.28rem;
    color: #27836e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.04rem;
}

.our-service-lead-icon svg {
    width: 1.02rem;
    height: 1.02rem;
}

.our-service-lead-text {
    color: #3d5958;
    font-size: 0.93rem;
    line-height: 1.4;
}

.service-topics-card h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.diagnostics-extra-section {
    padding-top: 0;
}

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

.trust-item {
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.trust-item h3 {
    margin: 0;
    font-size: 1.45rem;
}

.trust-item p {
    margin: 0.32rem 0 0;
    color: var(--muted);
}

.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: center;
}

.split-media {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #cfdae6;
    background: #fff;
    box-shadow: var(--shadow);
}

.split-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.split-copy {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.4rem;
    box-shadow: var(--shadow);
}

.split-copy h2 {
    margin-top: 0;
    margin-bottom: 0.65rem;
}

.split-copy p {
    color: var(--muted);
}

.split-copy ul {
    margin: 0.8rem 0 1rem;
}

.home-wave-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    --section-bg: var(--bg);
    --wave-next-color: var(--bg);
    background: var(--section-bg);
}

.home-wave-section.section {
    padding-top: clamp(4.7rem, 7.6vw, 6rem);
    padding-bottom: clamp(4.7rem, 7.6vw, 6rem);
}

.home-wave-section::before,
.home-wave-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: clamp(28px, 4.8vw, 56px);
    pointer-events: none;
    z-index: 1;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C32 C120%2C98 240%2C102 360%2C58 C470%2C20 590%2C16 720%2C55 C850%2C94 980%2C102 1100%2C66 C1220%2C30 1330%2C26 1440%2C74 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C32 C120%2C98 240%2C102 360%2C58 C470%2C20 590%2C16 720%2C55 C850%2C94 980%2C102 1100%2C66 C1220%2C30 1330%2C26 1440%2C74 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.home-wave-section::before {
    display: none;
}

.home-wave-section::after {
    bottom: -1px;
    background: var(--wave-next-color);
}

.home-wave-section > .container {
    position: relative;
    z-index: 2;
}

.home-section-head {
    margin: 0 auto 1.45rem;
    max-width: 62rem;
    text-align: center;
}

.home-section-head h2 {
    margin: 0;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.55rem, 2.35vw, 2.18rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #204741;
}

.home-section-head p {
    margin: 0.72rem auto 0;
    color: #54706b;
    max-width: 46rem;
    font-size: clamp(0.95rem, 1.08vw, 1.1rem);
}

.home-about-section {
    --section-bg: #dfe9e6;
    --wave-next-color: #2d5f55;
}

.home-about-lead {
    margin: 0.82rem auto 0;
    max-width: 65rem;
    color: #2f5750;
    font-size: clamp(0.98rem, 1.08vw, 1.14rem);
    line-height: 1.56;
}

.home-about-features {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem;
}

.home-about-feature {
    border-radius: 18px;
    padding: 1rem 1.02rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(123, 163, 152, 0.32);
    box-shadow: 0 10px 26px rgba(33, 65, 72, 0.08);
    min-height: 238px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-about-feature-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.home-about-feature-badge {
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1;
    color: #2d6f62;
}

.home-about-feature-icon-box {
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
}

.home-about-feature-icon-box img {
    width: clamp(4.4rem, 5.1vw, 5.2rem);
    height: clamp(4.4rem, 5.1vw, 5.2rem);
    display: block;
}

.home-about-feature h3 {
    margin: 0.74rem 0 0;
    color: #2f5750;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.04rem, 1.34vw, 1.28rem);
    font-weight: 700;
    line-height: 1.2;
    width: 100%;
}

.home-about-feature p {
    margin: 0.52rem 0 0;
    color: #496965;
    font-size: 0.9rem;
    line-height: 1.46;
    width: 100%;
    max-width: 27ch;
}

.home-slogan-section {
    --section-bg: #2d5f55;
    --wave-next-color: #e7eef0;
}

.home-slogan-wrap {
    text-align: center;
    max-width: 58rem;
    margin: 0 auto;
}

.home-slogan-wrap h2 {
    margin: 0;
    color: #f3fbf8;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.55rem, 2.7vw, 2.6rem);
    font-weight: 700;
    line-height: 1.13;
}

.home-slogan-wrap h2 span {
    color: #d4e7dc;
}

.home-slogan-wrap .btn {
    margin-top: 1.1rem;
}

.home-doctors-section {
    --section-bg: #e7eef0;
    --wave-next-color: #dbe6e2;
}

.home-doctors-section .doctors-grid {
    margin-top: 0.88rem;
}

.home-center-action {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.home-principles-section {
    --section-bg: #dbe6e2;
    --wave-next-color: #edf3f0;
}

.home-principles-top {
    margin: 0 auto;
    max-width: 64rem;
    text-align: center;
}

.home-principles-top p {
    margin: 0.7rem auto 0;
    max-width: 50rem;
    color: #446761;
    font-size: clamp(0.95rem, 1.08vw, 1.12rem);
}

.home-principles-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.home-principle-card {
    border-radius: 18px;
    padding: 1.02rem 1.08rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(118, 161, 150, 0.32);
    box-shadow: 0 10px 24px rgba(31, 63, 75, 0.08);
}

.home-principle-num {
    margin: 0 0 0.26rem;
    color: #2e7d6b;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
}

.home-principle-card h3 {
    margin: 0;
    color: #2c544f;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.14rem, 1.65vw, 1.36rem);
}

.home-principle-card p {
    margin: 0.48rem 0 0;
    color: #4f6965;
    font-size: 0.95rem;
    line-height: 1.48;
}

.home-faq-section {
    --section-bg: #edf3f0;
    --wave-next-color: #13263e;
}

.about-hero-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(520px, 74vh, 760px);
    display: flex;
    align-items: center;
    padding: clamp(4.2rem, 8vw, 6.2rem) 0;
    background: #dce8e4;
}

.about-hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(36px, 5vw, 62px);
    background: #dfe9e6;
    pointer-events: none;
    z-index: 1;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C40 C114%2C96 238%2C100 360%2C62 C488%2C22 612%2C18 740%2C55 C864%2C90 976%2C100 1110%2C68 C1242%2C36 1348%2C30 1440%2C54 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C40 C114%2C96 238%2C100 360%2C62 C488%2C22 612%2C18 740%2C55 C864%2C90 976%2C100 1110%2C68 C1242%2C36 1348%2C30 1440%2C54 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(clamp(36px, 5vw, 62px) - 46px);
    height: clamp(42px, 7vw, 82px);
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(236, 245, 242, 0) 0 18%,
            rgba(236, 245, 242, 0.18) 18% 36%,
            rgba(236, 245, 242, 0.3) 36% 54%,
            rgba(236, 245, 242, 0.42) 54% 72%,
            rgba(236, 245, 242, 0.58) 72% 100%
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.2) 0 8%,
            rgba(220, 236, 230, 0.18) 8% 16%
        );
}

.about-hero-media,
.about-hero-overlay {
    position: absolute;
    inset: 0;
}

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

.about-hero-overlay {
    z-index: 0;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.2) 0 2px,
            rgba(227, 241, 236, 0.15) 2px 7px
        ),
        radial-gradient(circle at 12% 16%, rgba(247, 253, 250, 0.26) 0%, rgba(247, 253, 250, 0.05) 52%, transparent 78%),
        linear-gradient(110deg, rgba(235, 246, 242, 0.12) 0%, rgba(235, 246, 242, 0.06) 45%, rgba(235, 246, 242, 0.1) 100%),
        linear-gradient(180deg, rgba(245, 252, 250, 0.06) 0%, rgba(245, 252, 250, 0.14) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: grid;
    justify-items: center;
}

.about-hero-kicker {
    margin: 0;
    color: #2d7868;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    font-weight: 700;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.72),
        0 0 12px rgba(255, 255, 255, 0.34),
        0 0 20px rgba(255, 255, 255, 0.2);
}

.about-hero-content h1 {
    margin: 0.52rem 0 0.62rem;
    color: #1f4f45;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.78rem, 3.3vw, 2.95rem);
    line-height: 1.08;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 16px rgba(255, 255, 255, 0.42),
        0 0 28px rgba(255, 255, 255, 0.25);
}

.about-hero-lead {
    margin: 0;
    max-width: 62ch;
    color: #355f57;
    font-size: clamp(1rem, 1.22vw, 1.16rem);
    line-height: 1.5;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7),
        0 0 13px rgba(255, 255, 255, 0.32),
        0 0 22px rgba(255, 255, 255, 0.18);
}

.about-hero-points {
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.42rem;
    justify-items: center;
}

.about-hero-points li {
    color: #355f57;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 0.33rem;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.66),
        0 0 11px rgba(255, 255, 255, 0.3),
        0 0 18px rgba(255, 255, 255, 0.16);
}

.about-hero-points .ms-icon {
    color: #2e7d6b;
}

.about-hero-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.about-story-section {
    --section-bg: #dfe9e6;
    --wave-next-color: #edf3f0;
}

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

.about-story-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(129, 168, 158, 0.34);
    box-shadow: 0 12px 30px rgba(33, 65, 72, 0.08);
}

.about-story-card-main {
    grid-column: 1;
    background:
        radial-gradient(circle at 88% 12%, rgba(220, 240, 233, 0.5) 0, rgba(220, 240, 233, 0) 54%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 250, 247, 0.9) 100%);
}

.about-story-card-mission {
    grid-column: 2;
    background:
        radial-gradient(circle at 14% 14%, rgba(215, 238, 229, 0.56) 0, rgba(215, 238, 229, 0) 56%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(242, 249, 246, 0.9) 100%);
}

.about-card-kicker {
    margin: 0;
    color: #2e7d6b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.about-story-card h2 {
    margin: 0.38rem 0 0.58rem;
    color: #244f47;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.24rem, 1.86vw, 1.62rem);
    line-height: 1.15;
}

.about-story-lead {
    font-size: 1rem;
    color: #365e56;
}

.about-story-card p {
    margin: 0;
    color: #4b6964;
    line-height: 1.56;
}

.about-story-card p + p {
    margin-top: 0.58rem;
}

.about-story-pill-row {
    margin-top: 0.72rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.44rem;
}

.about-story-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.26rem;
    min-height: 30px;
    padding: 0 0.6rem;
    border-radius: 999px;
    border: 1px solid #bad8ce;
    background: linear-gradient(180deg, #fbfefc 0%, #eef8f4 100%);
    color: #2d5e54;
    font-size: 0.8rem;
    font-weight: 620;
}

.about-story-pill .ms-icon {
    font-size: 1.02em;
    color: #2f7d6c;
}

.about-story-checklist {
    margin: 0.82rem 0 0.76rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.about-story-checklist li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.38rem;
    align-items: start;
    color: #355d56;
    line-height: 1.5;
}

.about-story-checklist li .ms-icon {
    color: #2f7d6c;
    font-size: 1.02rem;
    margin-top: 0.14rem;
}

.about-story-note {
    margin-top: 0.56rem;
    padding: 0.7rem 0.78rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 190, 177, 0.45);
    background: rgba(231, 244, 239, 0.76);
    color: #2d5c53;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.3rem;
}

.about-story-note .ms-icon {
    color: #2e7d6b;
    margin-top: 0.12rem;
}

.about-story-mission-grid {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.58rem;
}

.about-story-mission-item {
    padding: 0.7rem 0.76rem;
    border: 1px solid rgba(156, 194, 183, 0.45);
    border-radius: 12px;
    background: rgba(238, 247, 243, 0.76);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.42rem;
    align-items: start;
}

.about-story-mission-item .ms-icon {
    font-size: 1.06rem;
    color: #2f7d6c;
    margin-top: 0.12rem;
}

.about-story-mission-item p {
    margin: 0;
    color: #365d56;
    line-height: 1.45;
}

.about-story-media {
    grid-column: 1 / -1;
    grid-row: 2;
    border-radius: 20px;
    border: 1px solid rgba(129, 168, 158, 0.36);
    padding: 0;
    overflow: hidden;
    background: #d7e4e0;
    box-shadow: 0 12px 30px rgba(33, 65, 72, 0.08);
    min-height: clamp(220px, 28vw, 360px);
}

.about-story-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.about-why-section {
    --section-bg: #edf3f0;
    --wave-next-color: #dce8e4;
}

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

.about-why-card {
    border-radius: 18px;
    padding: 1.02rem 1.08rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(123, 163, 152, 0.32);
    box-shadow: 0 10px 26px rgba(33, 65, 72, 0.08);
}

.about-why-card h3 {
    margin: 0;
    color: #295249;
    font-size: clamp(1.05rem, 1.55vw, 1.26rem);
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    line-height: 1.16;
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
}

.about-why-card h3 .ms-icon {
    color: #2e7d6b;
    font-size: 1.1em;
}

.about-why-card p {
    margin: 0.56rem 0 0;
    color: #4f6965;
    font-size: 0.95rem;
    line-height: 1.48;
}

.about-principles-section {
    --section-bg: #dce8e4;
    --wave-next-color: #2d5f55;
}

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

.about-principle-card {
    border-radius: 18px;
    padding: 1.02rem 1.08rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(118, 161, 150, 0.32);
    box-shadow: 0 10px 24px rgba(31, 63, 75, 0.08);
}

.about-principle-num {
    margin: 0 0 0.28rem;
    color: #2e7d6b;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
}

.about-principle-card h3 {
    margin: 0;
    color: #2c544f;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.14rem, 1.65vw, 1.36rem);
}

.about-principle-card p {
    margin: 0.48rem 0 0;
    color: #4f6965;
    font-size: 0.95rem;
    line-height: 1.48;
}

.about-slogan-section {
    --section-bg: #2d5f55;
    --wave-next-color: #e7eef0;
}

.about-slogan-wrap {
    max-width: 66rem;
    margin: 0 auto;
    text-align: center;
}

.about-slogan-wrap h2 {
    margin: 0;
    color: #f0fbf8;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 2.22rem);
    line-height: 1.2;
}

.about-team-section {
    --section-bg: #e7eef0;
    --wave-next-color: #13263e;
}

.about-team-photo {
    margin: 0.88rem 0 0;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(118, 161, 150, 0.28);
    box-shadow: 0 14px 34px rgba(33, 65, 72, 0.12);
}

.about-team-photo img {
    width: 100%;
    height: clamp(260px, 41vw, 540px);
    object-fit: cover;
    display: block;
}

.home-health-check-section {
    --section-bg: #0d3f46;
    --wave-next-color: #dfe9e6;
    background: var(--section-bg);
}

.home-health-check-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.2rem;
    align-items: center;
    border-radius: 22px;
    border: 1px solid rgba(111, 154, 144, 0.34);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 247, 244, 0.92) 100%);
    box-shadow: 0 14px 32px rgba(32, 65, 74, 0.09);
}

.home-health-check-kicker {
    margin: 0;
    color: #2e7d6b;
    font-weight: 700;
    font-size: 0.83rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.home-health-check-copy h2 {
    margin: 0.44rem 0 0.48rem;
    color: #1f4742;
    font-size: clamp(1.42rem, 2.1vw, 1.95rem);
}

.home-health-check-copy p {
    margin: 0;
    color: #4f6a66;
}

.home-health-check-copy ul {
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.42rem;
}

.home-health-check-copy li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #2f4f4a;
    font-size: 0.94rem;
}

.home-health-check-copy li .ms-icon {
    color: #2e7d6b;
}

.home-health-check-actions {
    display: grid;
    gap: 0.65rem;
    justify-items: stretch;
}

.home-health-check-actions .btn {
    min-width: 245px;
}

.health-check-section {
    padding-top: 3.3rem;
}

.health-check-shell {
    border-radius: 24px;
    border: 1px solid #c7d8d2;
    background:
        radial-gradient(circle at 92% 4%, rgba(216, 238, 230, 0.75) 0, rgba(216, 238, 230, 0.18) 34%, transparent 70%),
        linear-gradient(180deg, #f8fcfb 0%, #f0f6f3 100%);
}

.health-check-hero {
    max-width: 55rem;
}

.health-check-kicker {
    margin: 0;
    color: #2e7d6b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.health-check-hero h1 {
    margin: 0.45rem 0 0.62rem;
    color: #1f4742;
    font-size: clamp(1.76rem, 2.8vw, 2.34rem);
}

.health-check-lead {
    margin: 0;
    color: #4d6765;
    font-size: clamp(1rem, 1.2vw, 1.14rem);
    max-width: 62ch;
}

.health-check-disclaimer {
    margin: 0.72rem 0 0;
    color: #355b54;
    font-size: 0.91rem;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.3rem;
}

.health-check-disclaimer .ms-icon {
    margin-top: 0.1rem;
}

.hc-progress-wrap {
    margin-top: 1rem;
}

.hc-progress-track {
    width: 100%;
    height: 0.54rem;
    border-radius: 999px;
    background: #dce8e4;
    overflow: hidden;
}

.hc-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #37a588 0%, #2e7d6b 100%);
    transition: width 0.28s ease;
}

.hc-progress-text {
    margin: 0.48rem 0 0;
    color: #416862;
    font-size: 0.9rem;
    font-weight: 600;
}

.health-check-form {
    margin-top: 0.82rem;
}

.hc-screen {
    margin-top: 0.8rem;
}

.hc-js .hc-screen {
    display: none;
}

.hc-js .hc-screen.is-active {
    display: block;
    animation: hcStepIn 0.28s ease;
}

@keyframes hcStepIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hc-start-card {
    border: 1px solid #c8dad4;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    padding: 0.94rem 1rem;
}

.hc-start-card h2 {
    margin: 0;
    color: #264844;
    font-size: clamp(1.18rem, 1.45vw, 1.34rem);
}

.hc-start-card p,
.hc-start-card li {
    color: #496463;
}

.hc-start-card ol {
    margin-top: 0.58rem;
    margin-bottom: 0;
    display: grid;
    gap: 0.38rem;
}

.hc-start-time {
    margin-top: 0.52rem;
    margin-bottom: 0.36rem;
    color: #25564b !important;
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hc-step-head {
    margin-bottom: 0.9rem;
}

.hc-step-kicker {
    margin: 0;
    color: #468275;
    font-size: 0.81rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.hc-step-head h2 {
    margin: 0.34rem 0 0.3rem;
    color: #204741;
    font-size: clamp(1.34rem, 2vw, 1.72rem);
}

.hc-step-head p {
    margin: 0;
    color: #57716d;
}

.hc-question-stack {
    display: grid;
    gap: 0.9rem;
}

.hc-question {
    margin: 0;
    border: 1px solid #c9d9d4;
    border-radius: 16px;
    padding: 0.84rem 0.9rem 0.9rem;
    background: rgba(255, 255, 255, 0.88);
    min-width: 0;
}

.hc-question-title {
    padding: 0;
    margin: 0 0 0.72rem;
    color: #2f5851;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.08rem, 1.4vw, 1.24rem);
    line-height: 1.2;
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-wrap: anywhere;
}

.hc-question-title span {
    display: block;
}

.hc-question-title small {
    display: block;
    margin-top: 0.26rem;
    color: #607b77;
    font-family: 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: 0.86rem;
    line-height: 1.3;
}

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

.hc-option {
    min-width: 0;
    position: relative;
}

.hc-option-main {
    min-height: 44px;
    border: 1px solid #c5d8d1;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
    color: #345652;
    font-size: 0.92rem;
    line-height: 1.25;
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    padding: 0.52rem 2.35rem 0.52rem 0.64rem;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.hc-option-main input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: #2e7d6b;
    flex-shrink: 0;
}

.hc-option-label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.hc-option-main:hover {
    border-color: #9fc5b8;
    background: linear-gradient(180deg, #ffffff 0%, #ebf5f0 100%);
}

.hc-option-main:has(input:checked) {
    border-color: #4da08c;
    background: linear-gradient(180deg, #f3fcf9 0%, #e4f3ed 100%);
    box-shadow: 0 8px 16px rgba(43, 112, 94, 0.1);
}

.hc-option.is-exclusive .hc-option-main {
    border-style: dashed;
}

.hc-option-tip {
    display: inline-grid;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 0.64rem;
    transform: translateY(-50%);
    z-index: 3;
}

.hc-option-help {
    width: 1.24rem;
    height: 1.24rem;
    border-radius: 999px;
    border: 1px solid #87bbae;
    background: #ffffff;
    color: #77ab9d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    padding: 0;
    box-shadow: 0 4px 10px rgba(27, 63, 54, 0.08);
    font-family: 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
}

.hc-option-help:focus {
    outline: 3px solid var(--focus-ring);
    outline-offset: 1px;
}

.hc-option-help:focus:not(:focus-visible) {
    outline: none;
}

.hc-option-tooltip {
    position: absolute;
    right: -0.2rem;
    bottom: calc(100% + 0.45rem);
    width: min(22rem, 76vw);
    padding: 0.7rem 0.78rem;
    border-radius: 12px;
    border: 1px solid #adcfc5;
    background: rgba(240, 250, 246, 0.985);
    color: #294853;
    font-size: 0.84rem;
    line-height: 1.4;
    box-shadow: 0 12px 24px rgba(17, 42, 59, 0.16);
    z-index: 28;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.hc-option-tooltip::after {
    content: '';
    position: absolute;
    right: 0.34rem;
    top: 100%;
    width: 0.62rem;
    height: 0.62rem;
    transform: rotate(45deg);
    background: rgba(240, 250, 246, 0.985);
    border-right: 1px solid #adcfc5;
    border-bottom: 1px solid #adcfc5;
}

.hc-option-tip:hover .hc-option-tooltip,
.hc-option-tip:focus-within .hc-option-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hc-question-error {
    margin: 0.54rem 0 0;
    color: #9b2c1c;
    font-size: 0.82rem;
}

.hc-actions {
    margin-top: 0.95rem;
    display: flex;
    justify-content: space-between;
    gap: 0.64rem;
    flex-wrap: wrap;
}

.hc-toast {
    position: fixed;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%);
    z-index: 120;
    max-width: min(92vw, 34rem);
    min-height: 44px;
    padding: 0.58rem 0.9rem;
    border-radius: 12px;
    border: 1px solid #e2ae9f;
    background: linear-gradient(180deg, #fffaf8 0%, #ffede7 100%);
    color: #8d2e1c;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(66, 25, 17, 0.22);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.hc-toast.is-visible {
    opacity: 1;
}

.health-check-faq-section {
    --section-bg: #eef4f1;
    --wave-next-color: #13263e;
}

.health-check-result-section {
    padding-top: 3.1rem;
}

.questionnaire-section {
    padding-top: 3.3rem;
}

.questionnaire-shell {
    border-radius: 24px;
    border: 1px solid #c7d8d2;
    background:
        radial-gradient(circle at 92% 4%, rgba(216, 238, 230, 0.75) 0, rgba(216, 238, 230, 0.18) 34%, transparent 70%),
        linear-gradient(180deg, #f8fcfb 0%, #f0f6f3 100%);
}

.questionnaire-hero {
    max-width: 58rem;
}

.questionnaire-kicker {
    margin: 0;
    color: #2e7d6b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.questionnaire-hero h1 {
    margin: 0.45rem 0 0.62rem;
    color: #1f4742;
    font-size: clamp(1.72rem, 2.7vw, 2.3rem);
}

.questionnaire-lead {
    margin: 0;
    color: #4d6765;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    max-width: 64ch;
}

.questionnaire-disclaimer {
    margin: 0.72rem 0 0;
    color: #355b54;
    font-size: 0.91rem;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.3rem;
}

.questionnaire-progress {
    margin-top: 1rem;
}

.questionnaire-progress-track {
    width: 100%;
    height: 0.54rem;
    border-radius: 999px;
    background: #dce8e4;
    overflow: hidden;
}

.questionnaire-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #37a588 0%, #2e7d6b 100%);
    transition: width 0.28s ease;
}

.questionnaire-progress-text {
    margin: 0.48rem 0 0;
    color: #416862;
    font-size: 0.9rem;
    font-weight: 600;
}

.questionnaire-screen {
    display: none;
    margin-top: 0.95rem;
}

.questionnaire-screen.is-active {
    display: block;
    animation: hcStepIn 0.28s ease;
}

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

.questionnaire-intro-card,
.questionnaire-result-card {
    border: 1px solid #c8dad4;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    padding: 1rem 1.05rem;
}

.questionnaire-intro-card h2,
.questionnaire-step-head h2,
.questionnaire-result-card h2 {
    margin: 0;
    color: #264844;
    font-size: clamp(1.18rem, 1.7vw, 1.48rem);
}

.questionnaire-intro-card ol {
    margin: 0.7rem 0 0;
    display: grid;
    gap: 0.44rem;
    color: #496463;
}

.questionnaire-intro-points {
    display: grid;
    gap: 0.56rem;
    margin-top: 0.9rem;
}

.questionnaire-intro-point {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    color: #496463;
}

.questionnaire-intro-point .ms-icon {
    color: #2e7d6b;
}

.questionnaire-band-list {
    display: grid;
    gap: 0.66rem;
    margin-top: 0.7rem;
}

.questionnaire-band-list-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.questionnaire-band-card {
    border: 1px solid #c5d8d1;
    border-radius: 14px;
    padding: 0.76rem 0.82rem;
    background: linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
    color: #496463;
    opacity: 0.6;
    filter: saturate(0.8);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.questionnaire-band-card p,
.questionnaire-band-card h3,
.questionnaire-step-head p,
.questionnaire-result-summary,
.questionnaire-result-note {
    margin: 0;
}

.questionnaire-band-card h3 {
    margin-top: 0.22rem;
    color: #264844;
    font-size: 1rem;
}

.questionnaire-band-card.is-active {
    border-color: #1f5e50;
    background: linear-gradient(180deg, #255f52 0%, #18463c 100%);
    box-shadow: 0 14px 28px rgba(24, 70, 60, 0.24);
    color: #ddf1eb;
    transform: translateY(-2px);
    opacity: 1;
    filter: none;
}

.questionnaire-band-card.is-active h3,
.questionnaire-band-card.is-active p {
    color: inherit;
}

.questionnaire-result-band-list:has(.questionnaire-band-card.is-active) .questionnaire-band-card:not(.is-active) {
    opacity: 0.38;
    filter: saturate(0.55);
}

.questionnaire-step-head {
    margin-bottom: 0.9rem;
}

.questionnaire-step-kicker,
.questionnaire-result-kicker {
    margin: 0 0 0.34rem;
    color: #468275;
    font-size: 0.81rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.questionnaire-step-head p {
    margin-top: 0.3rem;
    color: #57716d;
}

.questionnaire-step-help {
    margin-top: 0.62rem;
    padding: 0.72rem 0.78rem;
    border-radius: 14px;
    border: 1px solid #d5e4df;
    background: rgba(248, 252, 250, 0.92);
    color: #3f5f59;
    font-size: 0.92rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.44rem;
}

.questionnaire-step-help .ms-icon {
    color: #2e7d6b;
    font-size: 1rem;
    flex: 0 0 auto;
    margin-top: 0.06rem;
}

.questionnaire-fieldset {
    margin: 0;
    border: 1px solid #c9d9d4;
    border-radius: 18px;
    padding: 0.95rem;
    background: rgba(255, 255, 255, 0.86);
}

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

.questionnaire-scale-option {
    min-height: 88px;
    border: 1px solid #c5d8d1;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
    padding: 0.78rem 0.84rem;
    display: grid;
    align-content: start;
    gap: 0.3rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.questionnaire-scale-option:hover {
    border-color: #9fc5b8;
    transform: translateY(-1px);
}

.questionnaire-scale-option:has(input:checked) {
    border-color: #4da08c;
    box-shadow: 0 12px 24px rgba(43, 112, 94, 0.12);
    background: linear-gradient(180deg, #f3fcf9 0%, #e4f3ed 100%);
}

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

.questionnaire-scale-value {
    color: #2e7d6b;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.questionnaire-scale-label {
    color: #496463;
    font-size: 0.92rem;
    line-height: 1.3;
}

.questionnaire-field-error {
    margin: 0.62rem 0 0;
    color: #9b2c1c;
    font-size: 0.84rem;
}

.questionnaire-actions {
    margin-top: 0.95rem;
    display: flex;
    justify-content: space-between;
    gap: 0.64rem;
    flex-wrap: wrap;
}

.questionnaire-result-label {
    margin: 0;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.questionnaire-result-summary {
    margin-top: 0.22rem;
    color: #345652;
    font-size: clamp(1.28rem, 1.7vw, 1.64rem);
    line-height: 1.16;
}

.questionnaire-result-note {
    margin-top: 0.38rem;
    color: #57716d;
}

.questionnaire-result-alert {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.88rem;
    align-items: start;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid #c9d9d4;
    background: linear-gradient(180deg, #f8fcfb 0%, #eef6f3 100%);
}

.questionnaire-result-alert-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 18px rgba(17, 42, 59, 0.08);
}

.questionnaire-result-alert-icon .ms-icon {
    font-size: 1.5rem;
}

.questionnaire-result-alert-body {
    min-width: 0;
}

.questionnaire-result-alert.is-good {
    border-color: #7cc6af;
    background: linear-gradient(180deg, #ebfaf4 0%, #dcf2e8 100%);
}

.questionnaire-result-alert.is-good .questionnaire-result-label,
.questionnaire-result-alert.is-good .questionnaire-result-alert-icon .ms-icon {
    color: #1f7a61;
}

.questionnaire-result-alert.is-warning {
    border-color: #e5c36b;
    background: linear-gradient(180deg, #fff8e6 0%, #f8efcf 100%);
}

.questionnaire-result-alert.is-warning .questionnaire-result-label,
.questionnaire-result-alert.is-warning .questionnaire-result-alert-icon .ms-icon {
    color: #a87400;
}

.questionnaire-result-alert.is-danger {
    border-color: #e1a095;
    background: linear-gradient(180deg, #fff2ef 0%, #f9e0da 100%);
}

.questionnaire-result-alert.is-danger .questionnaire-result-label,
.questionnaire-result-alert.is-danger .questionnaire-result-alert-icon .ms-icon {
    color: #b54634;
}

.questionnaire-result-meta-note {
    margin-top: 0.72rem;
    color: #57716d;
}

.questionnaire-result-score,
.questionnaire-result-range-note,
.questionnaire-result-reference-title {
    margin: 0;
}

.questionnaire-result-score {
    color: #355b54;
    font-weight: 700;
}

.questionnaire-result-range-note {
    margin-top: 0.18rem;
    font-size: 0.9rem;
}

.questionnaire-result-reference-title {
    color: #57716d;
    font-size: 0.9rem;
}

.questionnaire-result-band-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.questionnaire-result-band-list-reference {
    gap: 0.56rem;
}

.questionnaire-result-band-list-reference .questionnaire-band-card {
    padding: 0.68rem 0.76rem;
    opacity: 0.72;
}

.questionnaire-result-reference {
    margin-top: 1rem;
}

.questionnaire-result-reference-title,
.questionnaire-result-reference-line {
    margin: 0;
}

.questionnaire-result-reference-title {
    color: #355b54;
    font-weight: 700;
}

.questionnaire-result-reference-line {
    margin-top: 0.24rem;
    color: #1f1f1f;
    font-size: 0.95rem;
    line-height: 1.45;
}

.questionnaire-result-reference-line strong {
    color: #1f1f1f;
}

.questionnaire-print-modal-dialog {
    align-items: stretch;
    justify-content: stretch;
}

.questionnaire-print-modal-body {
    width: min(1120px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    padding: 0.9rem;
    overflow: auto;
    display: grid;
    gap: 0.8rem;
    background:
        radial-gradient(circle at top right, rgba(194, 229, 216, 0.28), transparent 34%),
        linear-gradient(180deg, #f6fbf9 0%, #edf5f2 100%);
}

.questionnaire-print-modal-head h2,
.questionnaire-print-preview-sheet h3,
.questionnaire-print-preview-section h4,
.questionnaire-print-preview-card h4 {
    margin: 0;
}

.questionnaire-print-modal-kicker {
    margin: 0 0 0.4rem;
    color: #2e7d6b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
}

.questionnaire-print-modal-head p {
    margin: 0.42rem 0 0;
    color: #56706a;
}

.questionnaire-print-preview {
    min-height: 0;
}

.questionnaire-print-preview-sheet {
    border: 1px solid #d4e1dc;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(22, 54, 48, 0.12);
    padding: 0.8rem 0.85rem;
}

.questionnaire-print-preview-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
    gap: 0.8rem;
    align-items: start;
    padding-bottom: 0.65rem;
    margin-bottom: 0.65rem;
    border-bottom: 1px solid #e3ece8;
}

.questionnaire-print-preview-clinic {
    margin: 0 0 0.3rem;
    color: #2f7f6d;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
}

.questionnaire-print-preview-sheet h3 {
    color: #1f4742;
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.1;
}

.questionnaire-print-preview-disclaimer {
    margin: 0;
    color: #617771;
    font-size: 0.74rem;
    line-height: 1.32;
}

.questionnaire-print-preview-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.72fr);
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}

.questionnaire-print-preview-card {
    border: 1px solid #d8e4df;
    border-radius: 12px;
    padding: 0.6rem 0.7rem;
    background: #fbfdfc;
}

.questionnaire-print-preview-card p {
    margin: 0.18rem 0 0;
    color: #546b66;
    line-height: 1.3;
    font-size: 0.76rem;
}

.questionnaire-print-preview-label {
    margin: 0 0 0.35rem !important;
    color: #2f7f6d !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    font-weight: 700;
}

.questionnaire-print-preview-card h4 {
    font-size: 0.95rem;
    line-height: 1.22;
}

.questionnaire-print-preview-score {
    align-content: start;
}

.questionnaire-print-preview-score strong {
    color: #315650;
    font-size: 0.76rem;
}

.questionnaire-print-preview-score-value {
    margin-top: 0.22rem;
    color: #1f4742;
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    line-height: 1;
    font-weight: 800;
}

.questionnaire-print-preview-score span {
    display: block;
    margin-top: 0.2rem;
    color: #607670;
    font-size: 0.72rem;
}

.questionnaire-print-preview-section {
    margin-top: 0.65rem;
}

.questionnaire-print-preview-section-head {
    display: flex;
    justify-content: space-between;
    gap: 0.65rem;
    align-items: end;
    margin-bottom: 0.45rem;
}

.questionnaire-print-preview-section-head span {
    color: #607670;
    font-size: 0.72rem;
}

.questionnaire-print-preview-columns {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 36px;
    gap: 0.45rem;
    padding: 0 0 0.3rem;
    border-bottom: 1px solid #d8e4df;
    color: #607670;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.questionnaire-print-preview-columns span:last-child {
    text-align: right;
}

.questionnaire-print-preview-answer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.08rem;
    margin-top: 0.2rem;
}

.questionnaire-print-preview-answer {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 36px;
    gap: 0.45rem;
    align-items: start;
    border-bottom: 1px solid #e1ebe7;
    border-radius: 0;
    padding: 0.26rem 0;
    background: #fff;
}

.questionnaire-print-preview-answer-index {
    width: 22px;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: #2f7f6d;
    display: block;
    font-weight: 700;
    font-size: 0.66rem;
    line-height: 1.25;
    padding-top: 0.06rem;
}

.questionnaire-print-preview-answer-body h4 {
    color: #223c38;
    font-size: 0.74rem;
    line-height: 1.22;
}

.questionnaire-print-preview-answer-body p,
.questionnaire-print-preview-answer-meta {
    margin: 0.04rem 0 0;
}

.questionnaire-print-preview-answer-body p {
    color: #223c38;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.2;
}

.questionnaire-print-preview-answer-meta {
    color: #6b817b;
    font-size: 0.64rem;
    line-height: 1.14;
}

.questionnaire-print-preview-answer-score {
    padding-top: 0.04rem;
    color: #2f7f6d;
    font-size: 0.74rem;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.questionnaire-print-preview-reference {
    padding-top: 0.65rem;
    border-top: 1px solid #e3ece8;
}

.questionnaire-print-preview-reference ul {
    margin: 0.35rem 0 0;
    padding-left: 0.9rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.16rem 0.75rem;
    color: #2b3e3a;
    font-size: 0.68rem;
    line-height: 1.18;
}

.questionnaire-print-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
    flex-wrap: wrap;
}

html[data-theme='dark'] .questionnaire-print-modal-body {
    background:
        radial-gradient(circle at top right, rgba(80, 154, 132, 0.18), transparent 34%),
        linear-gradient(180deg, #1b2f34 0%, #18282d 100%);
}

html[data-theme='dark'] .questionnaire-print-modal-head p,
html[data-theme='dark'] .questionnaire-print-preview-disclaimer,
html[data-theme='dark'] .questionnaire-print-preview-card p,
html[data-theme='dark'] .questionnaire-print-preview-columns,
html[data-theme='dark'] .questionnaire-print-preview-section-head span,
html[data-theme='dark'] .questionnaire-print-preview-answer-meta,
html[data-theme='dark'] .questionnaire-print-preview-reference ul {
    color: #d2e7e1;
}

html[data-theme='dark'] .questionnaire-print-preview-sheet,
html[data-theme='dark'] .questionnaire-print-preview-card,
html[data-theme='dark'] .questionnaire-print-preview-answer {
    background: #21353a;
    border-color: rgba(120, 154, 145, 0.32);
    box-shadow: none;
}

html[data-theme='dark'] .questionnaire-print-preview-sheet h3,
html[data-theme='dark'] .questionnaire-print-preview-card h4,
html[data-theme='dark'] .questionnaire-print-preview-section h4,
html[data-theme='dark'] .questionnaire-print-preview-answer-body h4,
html[data-theme='dark'] .questionnaire-print-preview-answer-body p {
    color: #f0faf7;
}

html[data-theme='dark'] .questionnaire-print-preview-head,
html[data-theme='dark'] .questionnaire-print-preview-reference {
    border-color: rgba(120, 154, 145, 0.22);
}

html[data-theme='dark'] .questionnaire-print-preview-answer-index {
    background: rgba(143, 211, 193, 0.12);
    color: #8fd3c1;
}

@media (max-width: 900px) {
    .questionnaire-print-preview-head,
    .questionnaire-print-preview-summary {
        grid-template-columns: 1fr;
    }

    .questionnaire-print-preview-answer-score {
        text-align: left;
        padding-top: 0;
    }

    .questionnaire-print-preview-sheet {
        padding: 0.85rem;
    }
}

@media (max-width: 640px) {
    .questionnaire-print-modal-body {
        width: min(100vw, calc(100vw - 1rem));
        padding: 0.75rem;
    }

    .questionnaire-print-modal-actions .btn {
        width: 100%;
    }

    .questionnaire-print-preview-section-head {
        display: grid;
        gap: 0.32rem;
    }

    .questionnaire-print-preview-columns,
    .questionnaire-print-preview-answer {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .questionnaire-print-preview-columns span:last-child,
    .questionnaire-print-preview-answer-score {
        text-align: left;
    }

    .questionnaire-print-preview-answer-score {
        grid-column: 2;
    }
}

.questionnaires-catalog-section {
    padding-top: 3.3rem;
}

.questionnaires-catalog-kicker {
    margin: 0;
    color: #2e7d6b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.questionnaires-catalog-head h1 {
    margin: 0.45rem 0 0.62rem;
    color: #1f4742;
    font-size: clamp(1.8rem, 2.8vw, 2.34rem);
}

.questionnaires-catalog-lead {
    margin: 0;
    max-width: 64ch;
    color: #4d6765;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.questionnaires-featured-card {
    margin-top: 1rem;
}

.questionnaires-catalog-list-head {
    margin-top: 1.1rem;
}

.questionnaires-catalog-list-head h2 {
    margin: 0;
    color: #1f4742;
    font-size: clamp(1.28rem, 1.7vw, 1.56rem);
}

.questionnaires-catalog-list-head p {
    margin: 0.36rem 0 0;
    color: #57716d;
}

.articles-grid.questionnaires-catalog-grid {
    margin-top: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
}

.questionnaires-catalog-card {
    min-height: 100%;
    width: 100%;
    max-width: 280px;
    justify-self: start;
    display: grid;
    grid-template-rows: auto 1fr;
}

.questionnaires-catalog-card .article-card-media {
    aspect-ratio: 16 / 8.2;
}

.questionnaires-catalog-card .article-card-body {
    height: 100%;
    gap: 0.36rem;
    padding: 0.72rem;
    grid-template-rows: auto auto auto minmax(6em, 1fr) auto auto;
}

.questionnaires-catalog-title {
    margin: 0;
    color: #204741;
    font-size: clamp(1rem, 1.1vw, 1.14rem);
    line-height: 1.2;
}

.questionnaires-catalog-badge {
    margin: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    background: #e7f3ee;
    color: #2e7d6b;
    font-size: 0.8rem;
    font-weight: 700;
}

.questionnaires-catalog-subtitle {
    margin: 0.08rem 0 0;
    color: #57716d;
    font-size: 0.82rem;
    line-height: 1.3;
    min-height: 0;
}

.questionnaires-catalog-subtitle.is-empty {
    visibility: hidden;
}

.questionnaires-catalog-description {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    min-height: 6em;
    line-height: 1.5;
}

.questionnaires-catalog-meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.42rem;
    margin-top: 0.2rem;
    color: #416862;
    font-size: 0.74rem;
    font-weight: 600;
}

.questionnaires-catalog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    white-space: nowrap;
    min-width: 0;
}

.questionnaires-catalog-meta .ms-icon {
    font-size: 1rem;
}

.questionnaires-catalog-actions {
    margin-top: auto;
    align-self: end;
}

.questionnaires-catalog-actions .btn {
    min-height: 40px;
    padding: 0.62rem 0.9rem;
    font-size: 0.92rem;
}

html[data-theme='dark'] .questionnaire-shell,
html[data-theme='dark'] .questionnaire-intro-card,
html[data-theme='dark'] .questionnaire-result-card,
html[data-theme='dark'] .questionnaire-fieldset,
html[data-theme='dark'] .questionnaire-band-card,
html[data-theme='dark'] .questionnaire-scale-option {
    border-color: #355058;
    background: linear-gradient(180deg, #1f3237 0%, #1a2b30 100%);
    box-shadow: 0 10px 24px rgba(3, 12, 15, 0.3);
}

html[data-theme='dark'] .questionnaire-kicker,
html[data-theme='dark'] .questionnaire-step-kicker,
html[data-theme='dark'] .questionnaire-result-kicker,
html[data-theme='dark'] .questionnaire-scale-value,
html[data-theme='dark'] .questionnaire-result-label,
html[data-theme='dark'] .questionnaires-catalog-kicker,
html[data-theme='dark'] .questionnaires-catalog-badge {
    color: #7fd2bc;
}

html[data-theme='dark'] .questionnaire-hero h1,
html[data-theme='dark'] .questionnaire-intro-card h2,
html[data-theme='dark'] .questionnaire-step-head h2,
html[data-theme='dark'] .questionnaire-result-card h2,
html[data-theme='dark'] .questionnaire-band-card h3,
html[data-theme='dark'] .questionnaires-catalog-head h1,
html[data-theme='dark'] .questionnaires-catalog-title,
html[data-theme='dark'] .questionnaires-catalog-list-head h2 {
    color: #eef9f5;
}

html[data-theme='dark'] .questionnaire-lead,
html[data-theme='dark'] .questionnaire-disclaimer,
html[data-theme='dark'] .questionnaire-progress-text,
html[data-theme='dark'] .questionnaire-intro-card ol,
html[data-theme='dark'] .questionnaire-intro-point,
html[data-theme='dark'] .questionnaire-step-head p,
html[data-theme='dark'] .questionnaire-step-help,
html[data-theme='dark'] .questionnaire-scale-label,
html[data-theme='dark'] .questionnaire-band-card p,
html[data-theme='dark'] .questionnaire-result-summary,
html[data-theme='dark'] .questionnaire-result-note,
html[data-theme='dark'] .questionnaires-catalog-lead,
html[data-theme='dark'] .questionnaires-catalog-subtitle,
html[data-theme='dark'] .questionnaires-catalog-description,
html[data-theme='dark'] .questionnaires-catalog-meta,
html[data-theme='dark'] .questionnaires-catalog-list-head p {
    color: #c7ddd6;
}

html[data-theme='dark'] .questionnaire-progress-track {
    background: rgba(255, 255, 255, 0.08);
}

html[data-theme='dark'] .questionnaire-step-help {
    border-color: rgba(101, 148, 134, 0.34);
    background: rgba(26, 54, 49, 0.86);
}

html[data-theme='dark'] .questionnaire-step-help .ms-icon {
    color: #8fd3c1;
}

html[data-theme='dark'] .questionnaire-band-card.is-active,
html[data-theme='dark'] .questionnaire-scale-option:has(input:checked) {
    border-color: rgba(127, 210, 188, 0.72);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    background:
        radial-gradient(circle at top right, rgba(92, 170, 145, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(24, 59, 53, 0.98) 0%, rgba(18, 42, 38, 0.98) 100%);
}

html[data-theme='dark'] .questionnaire-result-band-list:has(.questionnaire-band-card.is-active) .questionnaire-band-card:not(.is-active) {
    opacity: 0.32;
}

html[data-theme='dark'] .questionnaire-result-alert {
    border-color: rgba(77, 160, 140, 0.24);
    background:
        radial-gradient(circle at top right, rgba(79, 143, 123, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(19, 43, 40, 0.98) 0%, rgba(16, 35, 33, 0.98) 100%);
}

html[data-theme='dark'] .questionnaire-result-alert-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(143, 211, 193, 0.14);
}

html[data-theme='dark'] .questionnaire-result-alert.is-good {
    background:
        radial-gradient(circle at top right, rgba(103, 195, 167, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(18, 55, 45, 0.98) 0%, rgba(15, 42, 35, 0.98) 100%);
    border-color: rgba(127, 210, 188, 0.56);
}

html[data-theme='dark'] .questionnaire-result-alert.is-warning {
    background:
        radial-gradient(circle at top right, rgba(188, 169, 104, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(66, 76, 33, 0.98) 0%, rgba(48, 57, 25, 0.98) 100%);
    border-color: rgba(229, 195, 107, 0.48);
}

html[data-theme='dark'] .questionnaire-result-alert.is-danger {
    background:
        radial-gradient(circle at top right, rgba(194, 118, 108, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(72, 37, 33, 0.98) 0%, rgba(53, 28, 26, 0.98) 100%);
    border-color: rgba(225, 160, 149, 0.46);
}

html[data-theme='dark'] .questionnaire-result-alert.is-good .questionnaire-result-label,
html[data-theme='dark'] .questionnaire-result-alert.is-good .questionnaire-result-alert-icon .ms-icon {
    color: #7fd2bc;
}

html[data-theme='dark'] .questionnaire-result-alert.is-warning .questionnaire-result-label,
html[data-theme='dark'] .questionnaire-result-alert.is-warning .questionnaire-result-alert-icon .ms-icon {
    color: #f0cd72;
}

html[data-theme='dark'] .questionnaire-result-alert.is-danger .questionnaire-result-label,
html[data-theme='dark'] .questionnaire-result-alert.is-danger .questionnaire-result-alert-icon .ms-icon {
    color: #ef9f95;
}

html[data-theme='dark'] .questionnaire-result-reference-line,
html[data-theme='dark'] .questionnaire-result-reference-line strong {
    color: #e6f2ee;
}

@media (max-width: 1100px) {
    .articles-grid.questionnaires-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .questionnaire-intro-grid,
    .questionnaire-band-list-compact,
    .questionnaire-scale-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 640px) {
    .questionnaire-intro-grid,
    .questionnaire-band-list-compact,
    .questionnaire-scale-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .articles-grid.questionnaires-catalog-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .questionnaires-catalog-card {
        max-width: none;
        justify-self: stretch;
    }

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

    .questionnaires-catalog-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.health-check-result-card {
    border-radius: 24px;
    border: 1px solid #c5d7d1;
    background:
        radial-gradient(circle at 95% 8%, rgba(213, 236, 228, 0.72) 0, rgba(213, 236, 228, 0.2) 34%, transparent 70%),
        linear-gradient(180deg, #f8fcfb 0%, #eff7f4 100%);
}

.health-result-badge {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 34px;
    border-radius: 999px;
    padding: 0.2rem 0.72rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #95c6ba;
    background: #ebf7f3;
    color: #1d6150;
}

.health-result-badge.is-high {
    border-color: #e2ae9f;
    background: #fff1ed;
    color: #8e3220;
}

.health-check-result-card h1 {
    margin: 0.68rem 0 0.52rem;
    color: #1e4640;
    font-size: clamp(1.56rem, 2.45vw, 2.2rem);
}

.health-result-disclaimer {
    margin: 0;
    color: #4f6c68;
}

.health-result-emergency {
    margin-top: 1rem;
    border: 1px solid #efc1b6;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffaf8 0%, #ffefea 100%);
    padding: 0.85rem 0.92rem;
}

.health-result-emergency h2 {
    margin: 0;
    color: #8f3120;
    font-size: clamp(1.16rem, 1.5vw, 1.3rem);
}

.health-result-emergency ul {
    margin: 0.64rem 0 0;
    padding-left: 1rem;
    color: #8f3120;
    display: grid;
    gap: 0.42rem;
}

.health-result-emergency-actions {
    margin-top: 0.74rem;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.health-result-emergency-note {
    margin: 0.62rem 0 0;
    color: #7f463a;
    font-size: 0.9rem;
    line-height: 1.4;
}

.health-result-emergency-note strong {
    color: #8f3120;
}

.health-result-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.health-result-block {
    border: 1px solid #c7d8d2;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    padding: 0.88rem 0.92rem;
}

.health-result-block h2 {
    margin: 0;
    color: #244943;
    font-size: clamp(1.15rem, 1.5vw, 1.3rem);
}

.health-route-stack {
    margin-top: 0.7rem;
    display: grid;
    gap: 0.54rem;
}

.health-route-item {
    display: grid;
    gap: 0.1rem;
    border: 1px solid #c4d7d0;
    border-radius: 12px;
    padding: 0.58rem 0.66rem;
    background: linear-gradient(180deg, #ffffff 0%, #f4faf8 100%);
    text-decoration: none;
}

.health-route-item.is-secondary {
    border-style: dashed;
}

.health-route-label {
    color: #5a7d77;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
}

.health-route-title {
    color: #274a44;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: 1.1rem;
}

.health-recommended-doctor {
    margin-top: 0.72rem;
}

.health-recommended-doctor a {
    color: #1d5f51;
    font-weight: 700;
    text-decoration: none;
}

.health-recommended-doctor p {
    margin: 0.22rem 0 0;
    color: #4f6b68;
}

.health-reason-list {
    margin: 0.74rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.health-reason-list li {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.3rem;
    color: #355955;
}

.health-reason-list .ms-icon {
    color: #2f8a76;
    margin-top: 0.14rem;
}

.health-symptom-tags {
    margin-top: 0.78rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.44rem;
}

.health-tag {
    min-height: 32px;
    padding: 0.28rem 0.6rem;
    border: 1px solid #d9b765;
    border-radius: 999px;
    background: linear-gradient(180deg, #e3bf6e 0%, #d3a44a 100%);
    color: #fff;
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
}

.health-result-actions {
    margin-top: 0.95rem;
    display: flex;
    gap: 0.62rem;
    flex-wrap: wrap;
}

.health-result-extra {
    margin-top: 0.82rem;
    border-radius: 18px;
}

.health-result-extra h2 {
    margin: 0;
    color: #244943;
    font-size: clamp(1.2rem, 1.55vw, 1.36rem);
}

.health-articles-grid {
    margin-top: 0.72rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.health-article-item {
    border: 1px solid #c8dad4;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    padding: 0.72rem 0.74rem;
}

.health-article-item h3 {
    margin: 0;
    color: #254843;
    font-size: 1.06rem;
}

.health-article-item p {
    margin: 0.45rem 0 0;
    color: #587371;
    font-size: 0.89rem;
}

.health-article-item a {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    font-weight: 650;
}

.health-tip-list {
    margin: 0.72rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.42rem;
}

.health-tip-list li {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.3rem;
    color: #355a56;
}

.health-tip-list .ms-icon {
    margin-top: 0.1rem;
    color: #2e7d6b;
}

.services-grid,
.doctors-grid {
    display: grid;
    gap: 1rem;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.doctor-services-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 290px));
    justify-content: center;
    gap: 0.8rem;
}

.doctors-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.doctors-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(270px, 320px));
    justify-content: center;
}

.service-doctors-grid {
    grid-template-columns: minmax(0, 980px);
    justify-content: center;
}

.service-card,
.doctor-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.doctor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 38px rgba(20, 42, 73, 0.13);
}

.service-thumb {
    aspect-ratio: 16 / 10;
    border-radius: 13px;
    overflow: hidden;
    background: #eaf1f8;
    margin-bottom: 0.75rem;
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-compact {
    padding: 0.72rem;
    border-radius: 16px;
}

.service-card-compact .service-thumb {
    aspect-ratio: 16 / 7;
    margin-bottom: 0.52rem;
    border-radius: 12px;
}

.service-card-compact h3 {
    margin-bottom: 0.32rem;
    font-size: clamp(1.02rem, 1.28vw, 1.2rem);
    line-height: 1.2;
}

.service-card-compact .link-arrow {
    margin-top: 0.34rem;
}

.service-card h3,
.doctor-card h3 {
    margin: 0 0 0.45rem;
}

.service-card p,
.doctor-card p {
    color: var(--muted);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.26rem;
    margin-top: 0.5rem;
    font-weight: 700;
}

.link-arrow::after {
    display: none;
}

.link-arrow .ms-icon {
    font-size: 1.08em;
}

.doctor-photo-wrap {
    display: block;
    aspect-ratio: 5 / 6;
    border-radius: 14px;
    overflow: hidden;
    background: #edf3f9;
    margin-bottom: 0.9rem;
    border: 1px solid #cfddda;
}

.doctor-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.doctor-card-modern {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5faf8 100%);
    height: 100%;
}

.doctor-card-horizontal {
    grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
    grid-template-areas:
        "photo body"
        "photo footer";
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.68rem;
    align-items: stretch;
}

.doctor-card-horizontal .doctor-photo-wrap {
    grid-area: photo;
    margin-bottom: 0;
    min-height: 100%;
    aspect-ratio: auto;
}

.doctor-card-horizontal .doctor-card-body {
    grid-area: body;
}

.doctor-card-horizontal .doctor-card-footer {
    grid-area: footer;
    margin-top: 0;
    align-items: center;
}

.doctor-card-horizontal .doctor-card-role,
.doctor-card-horizontal h3,
.doctor-card-horizontal .doctor-card-degree,
.doctor-card-horizontal .doctor-card-bio,
.doctor-card-horizontal .doctor-card-tags {
    min-height: 0;
}

.doctor-card-horizontal .doctor-card-bio {
    -webkit-line-clamp: 5;
}

.doctor-card-horizontal .doctor-card-link {
    width: auto;
    min-width: 172px;
}

.doctor-card-body {
    display: grid;
    gap: 0.46rem;
}

.doctor-card-role {
    margin: 0;
    color: #2f6f5e;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.28;
    min-height: calc(1.28em * 2);
}

.doctor-card h3 a {
    color: #1f4038;
    text-decoration: none;
}

.doctor-card h3 {
    min-height: calc(1.16em * 2);
}

.doctor-card-degree {
    margin: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 0.3rem;
    color: #3c5f57;
    font-size: 0.92rem;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
}

.doctor-card-degree .ms-icon {
    color: #d4a84d;
    margin-top: 0.08rem;
}

.doctor-card-bio {
    margin: 0;
    color: #536f6b;
    line-height: 1.4;
    min-height: calc(1.4em * 4);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.doctor-card-tags {
    margin: 0.14rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.36rem;
    align-content: start;
    min-height: 62px;
}

.doctor-card-tags li {
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    border: 1px solid #bfd4cd;
    background: #f2f8f5;
    color: #2f6253;
    font-size: 0.8rem;
    line-height: 1.35;
}

.doctor-card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.6rem;
    margin-top: 0.82rem;
}

.doctor-card-exp {
    margin: 0;
    color: #365754;
    font-size: 0.9rem;
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.26rem;
    line-height: 1.3;
}

.doctor-card-exp .ms-icon {
    color: #2e7d6b;
    margin-top: 0.08rem;
}

.doctor-card-link {
    min-height: 42px;
    padding: 0 0.8rem;
    border-radius: 11px;
    gap: 0.2rem;
    width: 164px;
    justify-content: center;
    align-items: center;
}

.doctor-card-link span:last-child {
    white-space: nowrap;
}

.doctor-profile-main {
    display: grid;
    grid-template-columns: minmax(250px, 360px) 1fr;
    gap: 1.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.doctor-profile-main img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--border);
}

.doctor-profile-main h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.doctor-profile-summary {
    display: grid;
    align-content: start;
}

.doctor-profile-specialty {
    margin: 0;
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2e6f5f;
    font-weight: 700;
}

.doctor-profile-degree {
    margin: 0 0 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #335852;
    font-size: 0.94rem;
    font-weight: 600;
}

.doctor-profile-degree .ms-icon {
    color: #d4a84d;
}

.doctor-profile-text {
    margin: 0.52rem 0 0;
    color: #3f5d59;
}

.doctor-profile-actions {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.52rem;
}

.doctor-profile-actions .btn {
    min-height: 42px;
}

.doctor-details {
    margin-top: 1.15rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem 1.15rem;
}

.doctor-details-modern {
    display: grid;
    gap: 0.95rem;
}

.doctor-details-group {
    background: linear-gradient(180deg, #ffffff 0%, #f5faf8 100%);
    border: 1px solid #cfddd9;
    border-radius: 16px;
    padding: 0.9rem 1rem;
}

.doctor-details-group h2 {
    margin: 0 0 0.58rem;
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    font-size: clamp(1.2rem, 1.7vw, 1.46rem);
}

.doctor-details-group h2 .ms-icon {
    color: #2d7b68;
}

.doctor-feature-list,
.doctor-education-list {
    margin: 0;
    display: grid;
    gap: 0.54rem;
}

.doctor-feature-list {
    padding: 0.12rem 0 0 1.28rem;
}

.doctor-feature-list li {
    padding-left: 0.06rem;
}

.doctor-feature-list li::marker {
    color: #2f7d6a;
}

.doctor-education-list {
    padding: 0;
}

.doctor-feature-list li,
.doctor-education-list li {
    color: #3b5856;
    line-height: 1.52;
}

.doctor-education-list,
.doctor-achievements-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.58rem;
}

.doctor-timeline-item {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: start;
    gap: 0.46rem;
    padding: 0.62rem 0.72rem;
    border-radius: 12px;
    border: 1px solid #d3e1dc;
    background: rgba(247, 251, 249, 0.9);
}

.doctor-timeline-item.no-period {
    grid-template-columns: 1fr;
}

.doctor-timeline-year {
    display: inline-flex;
    align-self: start;
    justify-self: start;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #e4f1ec;
    border: 1px solid #c4ddd3;
    color: #1f6658;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.18;
    white-space: normal;
}

.doctor-timeline-text {
    color: #345a54;
    line-height: 1.5;
}

.doctor-achievements-list {
    gap: 0.62rem;
}

.doctor-achievement-item {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.58rem;
}

.doctor-achievement-item.no-period {
    grid-template-columns: auto minmax(0, 1fr);
}

.doctor-achievement-icon {
    color: #2e7d6b;
    font-size: 1.12rem;
    margin-top: 0.1rem;
}

.doctor-achievement-content {
    display: grid;
    gap: 0.3rem;
}

.doctor-grid-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.8rem;
}

.meta-pill {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-2);
    padding: 0.65rem;
    font-size: 0.9rem;
}

.meta-pill .label {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-layout {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 1rem;
    align-items: start;
}

.price-sticky {
    position: sticky;
    top: 96px;
}

.price-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.7rem;
}

.price-tag {
    min-height: 34px;
    border: 1px solid #bfd3c9;
    background: linear-gradient(180deg, #f8fcfb 0%, #eef5f2 100%);
    color: #2d5447;
    border-radius: 10px;
    padding: 0 0.66rem;
    font-size: 0.84rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.price-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.price-table th,
.price-table td {
    padding: 0.78rem 0.72rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.price-table thead th {
    background: #edf4ff;
    font-size: 0.83rem;
    text-transform: uppercase;
    color: #385a84;
    letter-spacing: 0.05em;
}

.price-page-section {
    --section-bg: #dfe9e6;
    --wave-next-color: #e8efed;
    background: var(--section-bg);
}

.price-page-shell {
    width: min(1360px, calc(100% - 2rem));
}

.price-page-head {
    max-width: 60rem;
    margin: 0 auto;
    text-align: center;
}

.price-page-head h1 {
    margin: 0;
    color: #204741;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.84rem, 2.8vw, 2.54rem);
}

.price-page-head p {
    margin: 0.8rem auto 0;
    color: #55706c;
    font-size: clamp(0.98rem, 1.2vw, 1.15rem);
    max-width: 48rem;
}

.price-filter-row {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.56rem;
}

.price-download-row {
    margin-top: 0.9rem;
    display: flex;
    justify-content: center;
}

.price-download-btn {
    min-height: 42px;
}

.price-filter-btn {
    min-height: 42px;
    padding: 0 1.04rem;
    border-radius: 12px;
    border: 1px solid #c4d7d1;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7f5 100%);
    color: #335651;
    font-size: 0.94rem;
    font-weight: 620;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.price-filter-btn:hover {
    border-color: #a8c9bf;
    background: linear-gradient(180deg, #ffffff 0%, #eaf4f0 100%);
    color: #234c43;
}

.price-filter-btn.is-active {
    border-color: #2f8a75;
    background: linear-gradient(155deg, #2f8a74 0%, #2e7d6b 55%, #276a5b 100%);
    color: #f4fffb;
    box-shadow: 0 10px 22px rgba(26, 102, 85, 0.24);
}

.price-table-area {
    margin-top: 30px;
}

.price-table-modern {
    border: 1px solid #c5d8d2;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 26px rgba(31, 63, 75, 0.08);
}

.price-table-modern .price-table {
    border-radius: 0;
    background: transparent;
    table-layout: fixed;
}

.price-table-modern .price-table th {
    background: #e8f1ed;
    color: #2b7465;
    border-bottom: 1px solid #c9dbd4;
    font-size: 0.8rem;
    font-weight: 700;
    padding-top: 0.88rem;
    padding-bottom: 0.88rem;
}

.price-table-modern .price-table td {
    border-bottom: 1px solid #d8e5df;
    color: #2f5d54;
    font-size: 0.96rem;
    vertical-align: middle;
    padding-top: 0.88rem;
    padding-bottom: 0.88rem;
}

.price-table-modern .price-table tr:hover td {
    background: rgba(244, 251, 248, 0.78);
}

.price-table-modern .price-table tr.is-unavailable td {
    background: rgba(239, 243, 245, 0.88);
}

.price-table-modern .price-table tr.is-unavailable:hover td {
    background: rgba(236, 241, 243, 0.94);
}

.price-table-modern .price-table th:nth-child(1),
.price-table-modern .price-table td:nth-child(1) {
    width: 22%;
}

.price-table-modern .price-table th:nth-child(2),
.price-table-modern .price-table td:nth-child(2) {
    width: 47%;
}

.price-table-modern .price-table th:nth-child(3),
.price-table-modern .price-table td:nth-child(3) {
    width: 12%;
}

.price-table-modern .price-table th:nth-child(3) {
    text-align: right;
    padding-right: 0.75rem;
}

.price-table-modern .price-table th:nth-child(4),
.price-table-modern .price-table td:nth-child(4) {
    width: 19%;
}

.price-col-category,
.price-col-service,
.price-col-price,
.price-col-action {
    vertical-align: middle;
}

.price-col-price {
    text-align: right;
    padding-right: 0.75rem;
}

.price-category-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.46rem;
    width: 100%;
    min-width: 0;
}

.price-category-content {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.price-category-icon {
    width: 1.78rem;
    height: 1.78rem;
    border-radius: 10px;
    border: 1px solid rgba(83, 133, 123, 0.28);
    background: linear-gradient(180deg, #f4fbf8 0%, #e9f4f0 100%);
    color: #2d8a74;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 10px rgba(22, 63, 55, 0.08);
}

.price-category-title {
    color: #215247;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1rem, 1.03vw, 1.12rem);
    line-height: 1.12;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.price-category-code {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: #3f7065;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    line-height: 1.2;
}

.price-category-code .ms-icon {
    font-size: 0.95em;
    color: #3e8a78;
}

.price-category-code.is-muted {
    color: #74878d;
}

.price-service-item {
    display: block;
}

.price-service-title {
    color: #24544a;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(0.98rem, 1.02vw, 1.16rem);
    line-height: 1.26;
    letter-spacing: 0.005em;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.price-value {
    color: #1f6b59;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-weight: 730;
    font-size: clamp(1.08rem, 1.14vw, 1.24rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.price-data-row.is-unavailable .price-value {
    color: #63767b;
}

.price-data-row.is-unavailable .price-category-title,
.price-data-row.is-unavailable .price-service-title {
    color: #5c7075;
}

.price-data-row.is-unavailable .price-category-icon {
    border-color: rgba(138, 152, 160, 0.35);
    background: linear-gradient(180deg, #f3f6f7 0%, #ebf0f1 100%);
    color: #6d8790;
}

.price-data-row.is-unavailable .price-category-code {
    color: #70858b;
}

.price-data-row.is-unavailable .price-category-code .ms-icon {
    color: #7d9198;
}

.price-section-row td {
    padding: 0.52rem 0.7rem;
    border-bottom: 1px solid #d2e1db;
    background: linear-gradient(180deg, #2f7e6c 0%, #2a705f 100%);
}

.price-section-row td:hover {
    background: linear-gradient(180deg, #2f7e6c 0%, #2a705f 100%);
}

.price-table-modern .price-table tr.price-section-row:hover td {
    background: linear-gradient(180deg, #2f7e6c 0%, #2a705f 100%);
}

.price-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    color: #f4fffb;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1rem, 1.04vw, 1.14rem);
    font-weight: 600;
    letter-spacing: 0.008em;
}

.price-section-badge .ms-icon {
    color: #dcf6ef;
    font-size: 1.02em;
}

.price-col-action {
    text-align: right;
    padding-right: 0.4rem;
}

.price-row-action {
    min-height: 42px;
    padding: 0 0.82rem;
    border-radius: 999px;
    font-weight: 620;
    white-space: nowrap;
    width: 100%;
    max-width: 196px;
    margin-left: auto;
    justify-content: center;
}

.price-row-action .ms-icon {
    font-size: 1.08em;
}

.price-row-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 0.72rem;
    border-radius: 999px;
    border: 1px dashed #c4d3d7;
    background: #f0f4f5;
    color: #667b81;
    font-size: 0.82rem;
    font-weight: 650;
    white-space: nowrap;
}

.price-table-modern .price-table td.price-col-action,
.price-table-modern .price-table th:nth-child(4) {
    padding-right: 0.4rem;
}

.price-empty-row td {
    text-align: center;
    padding: 1.2rem 0.8rem;
    color: #607974;
    background: rgba(255, 255, 255, 0.45);
}

.price-disclaimer {
    margin: 0.8rem 0 0;
    text-align: center;
}

.price-page-actions {
    margin-top: 0.86rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.62rem;
}

.service-clinical-section {
    padding-top: 2.35rem;
    padding-bottom: 2.6rem;
}

.service-symptoms-showcase {
    border-radius: 24px;
    border: 1px solid #c7d8d2;
    background:
        radial-gradient(circle at 95% 8%, rgba(222, 239, 233, 0.9) 0, rgba(222, 239, 233, 0.25) 36%, transparent 68%),
        linear-gradient(180deg, #f4faf8 0%, #edf6f2 100%);
    box-shadow: 0 16px 30px rgba(30, 68, 74, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas:
        "head media"
        "chips chips";
}

.service-symptoms-head {
    grid-area: head;
    padding: 1.25rem 1.3rem 0.85rem;
}

.service-symptoms-kicker {
    margin: 0 0 0.36rem;
    color: #4a7f73;
    font-size: 0.8rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 700;
}

.service-symptoms-head h2 {
    margin: 0;
    color: #204841;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.34rem, 1.8vw, 1.74rem);
    line-height: 1.16;
}

.service-symptoms-lead {
    margin: 0.56rem 0 0;
    color: #4d6966;
    font-size: 0.95rem;
    line-height: 1.42;
    max-width: 50ch;
}

.service-symptoms-media {
    grid-area: media;
    align-self: end;
    padding: 0.9rem 1rem 0.7rem 0;
}

.service-symptoms-media img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    max-height: 230px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    border: 1px solid rgba(117, 158, 148, 0.35);
    box-shadow: 0 12px 24px rgba(31, 67, 58, 0.12);
    filter: saturate(0.88) contrast(1.02);
}

.service-symptom-chips {
    grid-area: chips;
    margin: 0;
    padding: 0.35rem 1.3rem 1.25rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.service-symptom-chips li {
    min-height: 38px;
    padding: 0.47rem 0.76rem;
    border-radius: 999px;
    border: 1px solid #ddbd73;
    background: linear-gradient(180deg, #e2bd69 0%, #d6a94b 100%);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.15;
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    box-shadow: 0 5px 14px rgba(153, 112, 36, 0.21);
}

.service-symptom-chip-icon {
    width: 0.43rem;
    height: 0.43rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.service-questionnaires-section {
    padding-top: 0;
}

.service-questionnaires-head {
    margin-bottom: 1.35rem;
    max-width: 42rem;
}

.service-questionnaires-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(44, 127, 103, 0.88);
}

.service-questionnaires-head h2 {
    margin: 0;
    font-size: clamp(1.85rem, 2.8vw, 2.5rem);
    color: #214e46;
}

.service-questionnaires-head p {
    margin: 0.85rem 0 0;
    max-width: 42rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(44, 66, 62, 0.78);
}

.articles-grid.service-questionnaires-grid {
    align-items: start;
}

.service-questionnaire-card {
    justify-self: start;
}

.service-guides-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-guide-card {
    border-radius: 20px;
    border: 1px solid #c9d9d3;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbf9 100%);
    padding: 1.02rem 1.05rem 1.08rem;
    box-shadow: 0 10px 24px rgba(30, 68, 74, 0.07);
}

.service-guide-card h3 {
    margin: 0 0 0.64rem;
    color: #244742;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.14rem, 1.2vw, 1.36rem);
    line-height: 1.18;
}

.service-guide-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.54rem;
}

.service-guide-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 0.52rem;
    color: #476465;
    font-size: 0.93rem;
    line-height: 1.35;
}

.service-guide-list-icon {
    width: 1.14rem;
    height: 1.14rem;
    border-radius: 999px;
    margin-top: 0.08rem;
    background: linear-gradient(180deg, #4a9d87 0%, #2b8770 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-guide-list-icon::before {
    content: '';
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #fff;
}

.service-info-sections {
    padding-top: 0.4rem;
    padding-bottom: 2.2rem;
}

.service-info-stack {
    display: grid;
    gap: 0.95rem;
}

.service-info-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
    border: 1px solid #c9d9d3;
}

.service-info-card h2 {
    margin-top: 0;
    margin-bottom: 0.45rem;
    color: #244742;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.28rem, 1.55vw, 1.62rem);
    line-height: 1.18;
}

.service-info-card h3 {
    margin: 0.8rem 0 0.45rem;
    color: #2f564f;
    font-size: 1.02rem;
}

.service-info-subtitle {
    margin: 0;
    color: #38645d;
    font-weight: 650;
}

.service-info-meta {
    margin: 0.2rem 0 0;
    color: #34504b;
    font-weight: 600;
}

.service-info-text {
    margin: 0.65rem 0 0;
    color: #4a6562;
}

.service-info-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #425e5c;
    display: grid;
    gap: 0.34rem;
}

.service-info-note {
    margin: 0.82rem 0 0;
    padding: 0.58rem 0.72rem;
    border-radius: 12px;
    background: #eef7f3;
    border: 1px solid #c6ddd5;
    color: #365e57;
    font-weight: 530;
}

.service-info-actions {
    margin-top: 0.85rem;
}

.faq-list {
    display: block;
}

.faq-item + .faq-item {
    margin-top: 15px;
}

.faq-item summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.66rem;
    padding: 0.9rem 1rem;
}

.faq-icon .ms-icon {
    font-size: 1.08rem;
    color: #2b876f;
}

.faq-summary-title {
    font-size: clamp(1.02rem, 1.02vw, 1.14rem);
}

.faq-body {
    padding: 0.86rem 1rem 0.98rem;
    display: block;
}

.faq-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.45;
}

.faq-item-static .faq-static-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.66rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(122, 161, 151, 0.24);
    background: rgba(227, 240, 235, 0.55);
}

.faq-item-static .faq-body {
    padding-top: 0.9rem;
}

.appointment-page .container.appointment-page-container {
    width: min(1360px, calc(100% - 2rem));
}

.appointment-page-container {
    display: grid;
    gap: 1.2rem;
}

.appointment-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 20px;
}

.appointment-hero-copy h1 {
    margin: 0 0 0.5rem;
}

.appointment-hero-copy .muted {
    margin: 0;
    max-width: 56ch;
}

.appointment-hero-points {
    margin: 0.92rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.52rem;
}

.appointment-hero-points li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.42rem;
    align-items: start;
    color: #2e475f;
    font-size: 0.95rem;
}

.appointment-hero-points .ms-icon {
    color: #2b876f;
    margin-top: 0.02rem;
}

.appointment-hero-stats {
    display: grid;
    gap: 0.66rem;
    align-content: start;
}

.appointment-hero-stat {
    border: 1px solid #d4e1dc;
    border-radius: 16px;
    padding: 0.76rem 0.84rem;
    background: linear-gradient(180deg, #f7fcfa 0%, #edf5f2 100%);
}

.appointment-hero-stat .ms-icon {
    color: #2e7d6b;
    font-size: 1.2rem;
}

.appointment-hero-stat strong {
    display: block;
    margin-top: 0.24rem;
    color: #1f4f42;
    font-size: 1.02rem;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
}

.appointment-hero-stat p {
    margin: 0.18rem 0 0;
    color: #4f637d;
    font-size: 0.9rem;
}

.appointment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.36fr) minmax(300px, 0.64fr);
    gap: 1.2rem;
    align-items: start;
}

.appointment-form-wrap,
.appointment-aside {
    min-width: 0;
}

.appointment-aside {
    display: grid;
    gap: 1rem;
}

.appointment-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.15rem;
    display: grid;
    gap: 0.95rem;
    box-shadow: var(--shadow);
}

.appointment-page,
.appointment-page-container,
.appointment-layout,
.appointment-form-wrap,
.appointment-form,
.field-grid,
.field-grid > * {
    min-width: 0;
}

.appointment-form .btn[type="submit"].is-loading,
.appointment-form .btn[type="submit"]:disabled {
    opacity: 0.86;
    cursor: wait;
    pointer-events: none;
}

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

.form-field {
    display: grid;
    gap: 0.38rem;
}

.form-label {
    font-weight: 600;
}

label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

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

input,
select,
textarea {
    border: 1px solid #b9c7d6;
    border-radius: 11px;
    padding: 0.64rem 0.68rem;
    background: #fff;
}

.appointment-form input[type="date"],
.appointment-form input[type="time"],
.appointment-form input[type="text"],
.appointment-form input[type="tel"],
.appointment-form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
}

.appointment-form textarea {
    resize: vertical;
    min-height: 112px;
}

.form-field-file input[type="file"] {
    min-height: 48px;
    padding: 0.58rem 0.64rem;
    border-radius: 12px;
    border: 1px dashed #9ebcb2;
    background: linear-gradient(180deg, #fbfdfd 0%, #f1f6f5 100%);
    color: #1f3d56;
}

.form-field-file input[type="file"]::file-selector-button {
    margin-right: 0.6rem;
    border: 1px solid #c0d3cc;
    border-radius: 10px;
    background: #ffffff;
    color: #1f4f42;
    padding: 0.34rem 0.68rem;
    font-weight: 600;
    cursor: pointer;
}

.form-field-file input[type="file"]::file-selector-button:hover {
    background: #eff7f4;
    border-color: #9dbeb2;
}

.form-field-file .muted {
    margin-top: 0.06rem;
    color: #5d7470;
    font-size: 0.83rem;
    line-height: 1.34;
}

.custom-select {
    position: relative;
    min-width: 0;
}

.custom-select-trigger {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    min-height: 48px;
    border: 1px solid #b9c7d6;
    border-radius: 12px;
    padding: 0.55rem 0.72rem;
    background: linear-gradient(180deg, #fbfdfd 0%, #f1f6f5 100%);
    color: #1f3d56;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.46rem;
    align-items: center;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.custom-select-trigger:hover {
    border-color: #8fb7ab;
}

.custom-select-trigger.is-empty .custom-select-value {
    color: #7a8e9d;
}

.custom-select-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 520;
}

.custom-select-chevron {
    color: #2b876f;
    transition: transform 0.18s ease;
}

.custom-select.is-open .custom-select-chevron {
    transform: rotate(180deg);
}

.custom-select-menu {
    position: absolute;
    top: calc(100% + 0.32rem);
    left: 0;
    right: 0;
    z-index: 24;
    border: 1px solid #c2d3cb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 28px rgba(18, 46, 38, 0.15);
    padding: 0.34rem;
    max-height: 300px;
    overflow: auto;
}

.custom-select-option {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 0.48rem 0.54rem;
    background: transparent;
    color: #1f3d56;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.46rem;
    align-items: center;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.16s ease;
}

.custom-select-option:hover {
    background: #edf5f2;
}

.custom-select-option.is-selected {
    background: #e6f2ed;
    color: #1e5a4c;
}

.custom-select-check {
    opacity: 0;
    color: #2b876f;
    transition: opacity 0.16s ease;
}

.custom-select-option.is-selected .custom-select-check {
    opacity: 1;
}

.custom-select-option-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select.is-invalid .custom-select-trigger {
    border-color: #cf3e32;
}

.custom-select-error {
    margin-top: 0.16rem;
}

.custom-picker {
    position: relative;
    min-width: 0;
}

.custom-picker-trigger {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    min-height: 48px;
    border: 1px solid #b9c7d6;
    border-radius: 12px;
    padding: 0.52rem 0.68rem;
    background: linear-gradient(180deg, #fbfdfd 0%, #f1f6f5 100%);
    color: #1f3d56;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.44rem;
    align-items: center;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.custom-picker-trigger:hover {
    border-color: #8fb7ab;
}

.custom-picker-trigger.is-empty .custom-picker-value {
    color: #7a8e9d;
}

.custom-picker-leading {
    color: #2b876f;
    font-size: 1.05em;
}

.custom-picker-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 520;
}

.custom-picker-chevron {
    color: #2b876f;
    transition: transform 0.18s ease;
}

.custom-picker.is-open .custom-picker-chevron {
    transform: rotate(180deg);
}

.custom-picker-panel {
    position: absolute;
    top: calc(100% + 0.34rem);
    left: 0;
    right: 0;
    z-index: 26;
    border: 1px solid #c2d3cb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 28px rgba(18, 46, 38, 0.15);
}

.custom-date-panel {
    padding: 0.58rem;
}

.custom-date-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    margin-bottom: 0.46rem;
    column-gap: 0.38rem;
}

.custom-date-head strong {
    text-align: center;
    color: #1f4f42;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: 0.98rem;
}

.custom-date-nav {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #c7d7d1;
    background: #f8fbfa;
    color: #2b876f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.custom-date-nav:hover {
    background: #edf5f2;
}

.custom-date-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-bottom: 0.34rem;
}

.custom-date-weekdays span {
    text-align: center;
    color: #708292;
    font-size: 0.75rem;
    font-weight: 600;
}

.custom-date-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.24rem;
}

.custom-date-day {
    min-height: 34px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #1f3d56;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.86rem;
    font-weight: 560;
}

.custom-date-day:hover {
    background: #edf5f2;
}

.custom-date-day.is-outside {
    color: #95a4af;
}

.custom-date-day.is-today {
    border-color: #a5c8bd;
}

.custom-date-day.is-selected {
    background: #2f7d6b;
    color: #fff;
    border-color: #2f7d6b;
}

.custom-time-panel {
    padding: 0.56rem;
}

.custom-time-head {
    margin-bottom: 0.4rem;
}

.custom-time-head strong {
    display: block;
    color: #1f4f42;
    font-size: 0.9rem;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
}

.custom-time-head p {
    margin: 0.14rem 0 0;
    color: #708292;
    font-size: 0.79rem;
}

.custom-time-list {
    max-height: 218px;
    overflow: auto;
    display: grid;
    gap: 0.22rem;
    padding-right: 0.1rem;
}

.custom-time-option {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.42rem 0.54rem;
    background: transparent;
    color: #1f3d56;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.custom-time-option:hover {
    background: #edf5f2;
}

.custom-time-option.is-selected {
    background: #e6f2ed;
    color: #1e5a4c;
}

.custom-time-check {
    opacity: 0;
    color: #2b876f;
}

.custom-time-option.is-selected .custom-time-check {
    opacity: 1;
}

.custom-picker.is-invalid .custom-picker-trigger {
    border-color: #cf3e32;
}

.custom-picker-error {
    margin-top: 0.16rem;
}

/* iOS Safari: prevent focus-zoom/layout jump in appointment form fields */
@supports (-webkit-touch-callout: none) {
    .appointment-form input[type="date"],
    .appointment-form input[type="time"],
    .appointment-form input[type="text"],
    .appointment-form input[type="tel"],
    .appointment-form textarea,
    .appointment-form .custom-select-trigger,
    .appointment-form .custom-picker-trigger {
        font-size: 16px;
    }
}

.appointment-disclosures h2 {
    margin-top: 0;
    margin-bottom: 0.7rem;
}

.appointment-disclosure {
    border: 1px solid #cbdbd4;
    border-radius: 14px;
    background: #fdfefe;
    overflow: hidden;
}

.appointment-disclosure + .appointment-disclosure {
    margin-top: 0.72rem;
}

.appointment-disclosure summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.5rem;
    padding: 0.84rem 0.9rem;
    color: #1f4f42;
    font-weight: 600;
}

.appointment-disclosure summary::-webkit-details-marker {
    display: none;
}

.appointment-disclosure-chevron {
    transition: transform 0.2s ease;
}

.appointment-disclosure[open] .appointment-disclosure-chevron {
    transform: rotate(180deg);
}

.appointment-disclosure-body {
    border-top: 1px solid #d8e4df;
    padding: 0.76rem 0.9rem 0.88rem;
    color: #4f637d;
    font-size: 0.92rem;
}

.appointment-disclosure-body p {
    margin: 0;
}

.appointment-contacts-card h2 {
    margin-top: 0;
}

.appointment-contacts-card p {
    margin: 0 0 0.58rem;
}

.appointment-success-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.appointment-success-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.appointment-success-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(8, 26, 34, 0.42);
    backdrop-filter: blur(3px);
    cursor: pointer;
}

.appointment-success-card {
    position: relative;
    z-index: 1;
    width: min(520px, calc(100% - 1rem));
    text-align: center;
    border-radius: 18px;
    border: 1px solid #cfe0da;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbf9 100%);
    box-shadow: 0 22px 46px rgba(17, 44, 66, 0.18);
    padding: 1.25rem 1.15rem 1rem;
}

.appointment-success-kicker {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    color: #2d7f6c;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.appointment-success-kicker .ms-icon {
    font-size: 1.08em;
}

.appointment-success-card h2 {
    margin: 0.5rem 0 0.4rem;
    color: #224b43;
    font-size: clamp(1.34rem, 2.4vw, 1.7rem);
}

.appointment-success-card p {
    margin: 0 0 0.9rem;
    color: #4f6763;
}

.appointment-error-card {
    border-color: #e8cec6;
    background: linear-gradient(180deg, #fffefe 0%, #fff6f4 100%);
}

.appointment-error-kicker {
    color: #b34735;
}

.appointment-error-kicker .ms-icon {
    font-size: 1.08em;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
summary:focus,
a:focus {
    outline: 3px solid var(--focus-ring);
    outline-offset: 1px;
}

input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

.consent {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-weight: 500;
}

.error {
    color: var(--danger);
    font-size: 0.78rem;
}

.alert {
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
}

.alert.error {
    background: #fdecea;
    color: #8f1e14;
}

.alert.success {
    background: #e8f8ef;
    color: #0e6f42;
}

.alert.warning {
    background: #fff4e0;
    color: #8a5a11;
}

.breadcrumbs {
    margin-top: 0.9rem;
}

.breadcrumbs ol {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumbs li + li::before {
    content: '›';
    margin-right: 0.45rem;
    color: #95a5b2;
}

.cta-section {
    text-align: center;
    padding: 1.8rem 1.2rem;
}

.cta-section p {
    color: var(--muted);
    max-width: 650px;
    margin: 0.5rem auto 1rem;
}

.cta-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    background: linear-gradient(135deg, #22455b 0%, #2f7767 55%, #3b8d78 100%);
    color: #fff;
}

.cta-banner h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.cta-banner p {
    margin: 0;
    color: #e2f3ec;
}

.cta-banner-actions {
    display: grid;
    gap: 0.65rem;
    justify-items: end;
}

.cta-banner .btn-primary {
    border-color: rgba(255, 255, 255, 0.72);
    background: linear-gradient(180deg, #ffffff 0%, #eef8f4 100%);
    color: #225449;
    box-shadow: none;
}

.cta-banner .btn-primary:hover {
    border-color: rgba(255, 255, 255, 0.84);
    background: linear-gradient(180deg, #ffffff 0%, #e7f4ee 100%);
}

.cta-banner .btn-light {
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: none;
}

.cta-banner .btn-light:hover {
    background: rgba(255, 255, 255, 0.13);
}

.contacts-layout {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.contacts-column {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.contacts-layout .card {
    border-radius: 18px;
}

.contact-entrance-card h2 {
    margin: 0 0 0.9rem;
}

.contact-entrance-media {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #d4e2dd;
    background: #d8e6e1;
    aspect-ratio: 2292 / 2296;
}

.contact-entrance-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.contact-block p {
    display: flex;
    align-items: center;
    gap: 0.36rem;
    margin: 0.35rem 0;
}

.contact-block p .ms-icon {
    color: #2f7768;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.contact-social-icon {
    width: 1rem;
    height: 1rem;
    color: currentColor;
    flex-shrink: 0;
}

.contact-social-icon-image {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(30%) sepia(16%) saturate(1121%) hue-rotate(116deg) brightness(93%) contrast(89%);
}

.contacts-cta-card .contact-actions {
    margin: 0;
}

.contacts-cta-card .btn {
    min-height: 44px;
}

.quick-note h2 {
    margin-top: 0;
}

.quick-note p {
    margin-bottom: 0;
    color: var(--muted);
}

.contact-route-note {
    margin-top: 0.2rem;
}

.map-section h2 {
    margin-top: 0;
}

.map-frame iframe {
    width: 100%;
    border: 0;
    min-height: 320px;
    border-radius: 12px;
}

.license-block p {
    margin-bottom: 0;
    color: var(--muted);
}

.license-block-body > :first-child {
    margin-top: 0;
}

.license-block-body > :last-child {
    margin-bottom: 0;
}

.license-block-body h2,
.license-block-body h3 {
    margin-top: 0.75rem;
    color: #1f4742;
}

.license-block-body p,
.license-block-body li {
    color: var(--muted);
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.legal-page-section {
    padding-top: clamp(3.3rem, 5.6vw, 4.5rem);
    padding-bottom: clamp(3rem, 5.2vw, 4.2rem);
}

.legal-page-section-doc {
    padding-top: 0;
}

.legal-page-head {
    max-width: 64rem;
    margin-inline: auto;
    text-align: center;
}

.legal-page-kicker {
    margin: 0;
    color: #2e7d6b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.legal-page-head h1 {
    margin: 0.48rem 0 0.6rem;
    color: #224a43;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.72rem, 3vw, 2.42rem);
    line-height: 1.12;
}

.legal-page-head p {
    margin: 0;
    color: #4d6764;
    font-size: clamp(0.98rem, 1.15vw, 1.12rem);
    line-height: 1.52;
}

.legal-page-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    align-items: start;
    gap: 1rem;
}

.legal-doc-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    border: 1px solid #cfe0da;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(31, 63, 75, 0.09);
}

.legal-doc-body {
    color: #345754;
}

.legal-doc-body h2 {
    margin: 1.25rem 0 0.65rem;
    color: #1f4f45;
    font-family: 'ManropeLocal', 'InterLocal', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.22rem, 1.9vw, 1.58rem);
    line-height: 1.2;
}

.legal-doc-body h3 {
    margin: 1rem 0 0.56rem;
    color: #2a5b51;
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    font-weight: 700;
    line-height: 1.3;
}

.legal-doc-body p {
    margin: 0.48rem 0;
    color: #456460;
    font-size: 0.96rem;
    line-height: 1.58;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.legal-doc-body ul {
    margin: 0.54rem 0 0.76rem;
    padding-left: 1.08rem;
    display: grid;
    gap: 0.38rem;
}

.legal-doc-body li {
    color: #3f605b;
    line-height: 1.52;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.legal-side-card {
    position: sticky;
    top: 112px;
    border-radius: 18px;
    border: 1px solid #cde0d9;
    background: linear-gradient(180deg, #f8fcfb 0%, #eff6f4 100%);
    box-shadow: 0 12px 28px rgba(31, 63, 75, 0.08);
}

.legal-side-card h2 {
    margin: 0;
    color: #245047;
    font-size: 1.14rem;
}

.legal-side-card ul {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
}

.legal-side-card p {
    margin-top: 0.68rem;
}

.legal-links {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.56rem;
}

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

.small {
    font-size: 0.86rem;
}

.prose {
    max-width: none;
}

.prose h1 {
    margin-top: 0;
    font-size: clamp(1.95rem, 3vw, 2.6rem);
}

.prose h2 {
    margin-top: 1.2rem;
}

.prose p,
.prose li {
    color: var(--muted);
}

.articles-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.articles-split {
    display: grid;
    gap: 1.8rem;
}

.articles-group {
    display: grid;
    gap: 1rem;
}

.articles-group-head h1,
.articles-group-head h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.1vw, 1.9rem);
}

.articles-group-head p {
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.article-card {
    display: grid;
    gap: 0.55rem;
}

.article-card--media {
    overflow: hidden;
    gap: 0;
    min-height: 100%;
}

.article-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #d9e6e2;
    border-radius: 16px;
    border: 1px solid #c7d8d2;
    box-shadow: 0 8px 18px rgba(19, 62, 52, 0.12);
}

.article-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.article-card--media:hover .article-card-media img {
    transform: scale(1.035);
}

.article-card-chip {
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    background: rgba(20, 73, 63, 0.88);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    padding: 0.2rem 0.54rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.article-card-body {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem;
}

.article-card h2 {
    margin: 0;
    font-size: 1.24rem;
}

.article-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.article-category {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #41786f;
    font-weight: 700;
}

.article-card p {
    margin: 0;
    color: var(--muted);
}

.article-card-description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: 6em;
}

.article-card-author {
    margin-top: 0.28rem;
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.55rem;
}

.article-card-author img {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 999px;
    object-fit: cover;
    object-position: center top;
    border: 1px solid #c8d9d3;
    background: #edf5f1;
}

.article-author-label {
    margin: 0;
    color: #5f7c77;
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.article-author-name {
    margin: 0.12rem 0 0;
    color: #244d43;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.article-card-actions {
    display: flex;
    gap: 0.58rem;
    flex-wrap: wrap;
    margin-top: 0.55rem;
}

.article-card-actions .btn {
    min-width: 118px;
}

.article-page h1 {
    margin-top: 0.18rem;
}

.article-page-rich {
    display: grid;
    gap: 1rem;
}

.article-page-header {
    display: grid;
    gap: 0.3rem;
}

.article-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.1rem;
}

.article-page-meta p {
    margin: 0;
}

.article-cover {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d4e2dd;
    background: #d8e6e1;
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.article-lead {
    font-size: 1.04rem;
    line-height: 1.62;
    color: #35564d;
    margin: 0;
}

.article-subsection {
    border-top: 1px solid #d6e3de;
    padding-top: 0.8rem;
}

.article-subsection h2 {
    margin: 0 0 0.5rem;
}

.article-rich-content {
    display: grid;
    gap: 0.95rem;
}

.article-rich-block {
    background: #f4faf7;
    border: 1px solid #d4e1dc;
    border-radius: 14px;
    padding: 0.9rem;
}

.article-rich-block > :first-child {
    margin-top: 0;
}

.article-rich-block > :last-child {
    margin-bottom: 0;
}

.article-gallery {
    display: grid;
    gap: 0.85rem;
}

.article-gallery h2 {
    margin: 0;
}

.article-gallery-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.article-gallery-item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ccddd7;
    background: #dce9e4;
    min-height: 120px;
}

.article-gallery-open {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    display: block;
}

.article-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.article-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 260;
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.article-gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.article-gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 22, 32, 0.58);
    cursor: pointer;
}

.article-gallery-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    background: #ffffff;
    border: 1px solid #c7d8d2;
    border-radius: 18px;
    box-shadow: 0 26px 52px rgba(13, 38, 54, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-gallery-modal-close {
    position: absolute;
    top: 0.62rem;
    right: 0.62rem;
    width: 38px;
    height: 38px;
    border: 1px solid #c6d8d2;
    border-radius: 10px;
    background: rgba(250, 254, 252, 0.95);
    color: #245349;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}

.article-gallery-modal-close:hover {
    background: #edf6f3;
    border-color: #9dbeb2;
}

.article-gallery-modal-media {
    width: 100%;
    max-height: calc(100vh - 2rem);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-gallery-modal-media img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 4rem);
    object-fit: contain;
    display: block;
}

body.modal-open {
    overflow: hidden;
}

.article-tool {
    display: grid;
    gap: 0.95rem;
    border: 1px solid #c8ddd6;
    background: linear-gradient(180deg, #f9fdfb 0%, #edf6f3 100%);
}

.article-tool-head h2 {
    margin: 0.1rem 0 0.28rem;
}

.article-tool-head p {
    margin: 0;
    color: #4f6d67;
}

.article-tool-badge {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    font-weight: 700;
    color: #2b6d5f;
}

.article-tool-stage h3 {
    margin: 0.2rem 0;
}

.article-tool-stage p {
    margin: 0.2rem 0;
}

.article-tool-gender {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.article-tool-progress-wrap {
    display: grid;
    gap: 0.34rem;
}

.article-tool-progress {
    height: 10px;
    border-radius: 999px;
    background: #ddebe5;
    overflow: hidden;
}

.article-tool-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #1f745f 0%, #2f8f79 100%);
    transition: width 0.28s ease;
}

.article-tool-question {
    border: 1px solid #cadfd8;
    border-radius: 12px;
    background: #fff;
    padding: 0.85rem;
}

.article-tool-hint {
    color: #55726b;
}

.article-tool-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
    margin-top: 0.86rem;
}

.article-tool-matched {
    margin: 0.6rem 0 0;
    padding-left: 1.2rem;
}

.article-tool-disclaimer {
    margin: 0.4rem 0 0;
    color: #667f79;
    font-size: 0.84rem;
}

.article-tool-refs {
    margin: 0;
    color: #5f7872;
    padding-left: 1.2rem;
}

.doctors-intro-card {
    display: grid;
    gap: 0.62rem;
    width: 100%;
    justify-items: center;
    text-align: center;
}

.doctors-intro-card h1 {
    margin: 0 0 0.12rem;
}

.doctors-intro-card p {
    margin: 0;
    color: var(--muted);
}

.doctors-intro-card ul {
    margin: 0.12rem 0 0.24rem;
    width: fit-content;
    max-width: min(100%, 52rem);
    text-align: left;
}

.doctors-intro-card .doctors-intro-action {
    justify-self: center;
}

.doctors-cta-lift {
    margin-top: -80px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    list-style: none;
    padding: 0;
}

.feature-list li {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 0.7rem 0.8rem;
    color: #334b69;
}

.note-box {
    border: 1px solid #bdd2e9;
    border-radius: 14px;
    background: #f3f8ff;
    padding: 0.85rem;
    color: #385980;
}

.main-content {
    min-height: 60vh;
}

.main-content > .section:last-of-type.home-wave-section::after {
    display: none;
}

.hidden {
    display: none !important;
}

[hidden] {
    display: none !important;
}

.phone-nowrap {
    white-space: nowrap;
}

.sticky-mobile-cta {
    position: fixed;
    inset: auto 0 0;
    display: none;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--border);
    z-index: 98;
}

.sticky-mobile-cta .btn {
    flex: 1;
    gap: 0.35rem;
}

.site-footer {
    position: relative;
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: clamp(34px, 4.2vw, 58px);
    --footer-wave-height: clamp(38px, 5.6vw, 72px);
    padding: 3.4rem 0 5.4rem;
    isolation: isolate;
    overflow: visible;
    z-index: 3;
}

.site-footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: calc((var(--footer-wave-height) * -1) + 10px);
    height: calc(var(--footer-wave-height) + 2px);
    background: var(--footer-bg);
    pointer-events: none;
    z-index: 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C54 C120%2C74 244%2C76 366%2C62 C486%2C48 610%2C46 734%2C58 C858%2C70 982%2C74 1106%2C64 C1230%2C54 1342%2C50 1440%2C58 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0%2C54 C120%2C74 244%2C76 366%2C62 C486%2C48 610%2C46 734%2C58 C858%2C70 982%2C74 1106%2C64 C1230%2C54 1342%2C50 1440%2C58 L1440%2C120 L0%2C120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--footer-bg);
    pointer-events: none;
    z-index: 0;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.1fr 0.86fr 1fr;
}

.site-footer h3,
.site-footer h4 {
    margin: 0.1rem 0 0.55rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin: 0.1rem 0 0.65rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.footer-logo {
    display: block;
    width: auto;
    height: clamp(35px, 4.8vw, 50px);
    max-width: min(280px, 100%);
    filter: brightness(0) invert(1);
}

.footer-logo-dark {
    display: none;
    filter: none;
}

html[data-theme='dark'] .footer-brand.footer-brand-has-dark-logo .footer-logo-light {
    display: none;
}

html[data-theme='dark'] .footer-brand.footer-brand-has-dark-logo .footer-logo-dark {
    display: block;
}

.footer-brand-fallback {
    color: var(--footer-text);
    font-weight: 760;
    font-size: clamp(1.2rem, 2.1vw, 1.5rem);
    line-height: 1;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.site-footer a {
    color: var(--footer-text);
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
}

.footer-link .ms-icon {
    font-size: 1.08em;
}

.site-footer .small {
    color: var(--footer-muted);
    font-size: 0.84rem;
}

.footer-creator {
    margin-top: 0.62rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--footer-muted);
    text-decoration: none;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 500;
    transition: color .2s ease;
}

.footer-creator img {
    width: 18px;
    height: 18px;
    display: block;
    border-radius: 999px;
    filter: grayscale(1) brightness(1.15);
    transition: filter .2s ease, transform .2s ease;
}

.footer-creator:hover {
    color: var(--footer-text);
}

.footer-creator:hover img {
    filter: grayscale(0.7) brightness(1.2);
    transform: none;
}

.footer-creator-mobile-wrap {
    display: none;
}

html[data-theme='dark'] .site-header::before {
    background: linear-gradient(90deg, rgba(213, 174, 100, 0) 0%, rgba(213, 174, 100, 0.65) 25%, rgba(240, 221, 176, 0.78) 50%, rgba(213, 174, 100, 0.65) 75%, rgba(213, 174, 100, 0) 100%);
}

html[data-theme='dark'] .mobile-menu-panel {
    background: #1a2b2f;
    border-color: var(--border);
}

html[data-theme='dark'] .mobile-menu-panel a:not(.btn) {
    border-color: #345058;
    background: linear-gradient(180deg, #24393f 0%, #1e3136 100%);
    color: #dce9e5;
}

html[data-theme='dark'] .mobile-menu-panel a:not(.btn):hover {
    background: linear-gradient(180deg, #2b454c 0%, #233b42 100%);
    border-color: #4c6c74;
}

html[data-theme='dark'] .mobile-menu-link .ms-icon {
    color: #8ac2b2;
}

html[data-theme='dark'] .mobile-theme-controls {
    border-color: #365259;
    background: rgba(20, 33, 37, 0.78);
}

html[data-theme='dark'] .mobile-theme-system-btn {
    border-color: #426169;
    background: linear-gradient(180deg, #264046 0%, #20363b 100%);
    color: #d5e6e1;
}

html[data-theme='dark'] .mobile-theme-system-btn.is-active {
    border-color: #61b39e;
    background: linear-gradient(155deg, #3f9b85 0%, #367d6c 55%, #2a6456 100%);
    color: #f5fffb;
}

html[data-theme='dark'] .hero-section {
    background: radial-gradient(circle at 18% 7%, rgba(42, 85, 81, 0.44) 0, rgba(20, 33, 36, 0.58) 45%, transparent 75%),
        radial-gradient(circle at 94% 18%, rgba(41, 70, 97, 0.45) 0, rgba(18, 27, 34, 0.58) 48%, transparent 75%);
}

html[data-theme='dark'] .hero-section.has-video-bg {
    background: #091317;
}

html[data-theme='dark'] .hero-section.has-video-bg.video-wave-bottom::before {
    background: linear-gradient(
        180deg,
        rgba(19, 34, 37, 0) 0 18%,
        rgba(19, 34, 37, 0.12) 18% 36%,
        rgba(19, 34, 37, 0.24) 36% 54%,
        rgba(19, 34, 37, 0.38) 54% 72%,
        rgba(19, 34, 37, 0.52) 72% 100%
    );
}

html[data-theme='dark'] .about-main-hero.hero-section.has-video-bg.video-wave-bottom::before {
    background: linear-gradient(
        180deg,
        rgba(7, 14, 17, 0) 0%,
        rgba(7, 14, 17, 0.44) 100%
    );
}

html[data-theme='dark'] .has-video-bg .eyebrow {
    color: #a7d4c8;
}

html[data-theme='dark'] .has-video-bg h1 {
    color: var(--gold);
}

html[data-theme='dark'] .has-video-bg .hero-text,
html[data-theme='dark'] .has-video-bg .hero-points li {
    color: #cddfd9;
}

html[data-theme='dark'] .home-main-hero h1 .hero-line-chip {
    color: var(--gold);
}

html[data-theme='dark'] .hero-section.has-video-bg:not(.home-main-hero) h1 .hero-line-chip {
    color: var(--gold);
}

html[data-theme='dark'] .hero-section.has-video-bg h1 .hero-line-chip {
    background: linear-gradient(
        180deg,
        var(--hero-gold-1) 0%,
        var(--hero-gold-2) 36%,
        var(--hero-gold-3) 62%,
        var(--hero-gold-4) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 1px 0 rgba(255, 244, 214, 0.16),
        0 0 12px rgba(213, 174, 100, 0.22),
        0 0 26px rgba(3, 11, 14, 0.34);
    -webkit-text-stroke: 0.35px rgba(255, 225, 160, 0.18);
    font-weight: 780;
}

html[data-theme='dark'] .about-hero-content h1 {
    background: linear-gradient(
        180deg,
        var(--hero-gold-1) 0%,
        var(--hero-gold-2) 36%,
        var(--hero-gold-3) 62%,
        var(--hero-gold-4) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 1px 0 rgba(255, 244, 214, 0.14),
        0 0 12px rgba(213, 174, 100, 0.2),
        0 0 22px rgba(3, 11, 14, 0.3);
    -webkit-text-stroke: 0.3px rgba(255, 225, 160, 0.16);
}

html[data-theme='dark'] .home-main-hero .hero-text .hero-line-chip,
html[data-theme='dark'] .hero-section.has-video-bg:not(.home-main-hero) .hero-text .hero-line-chip {
    color: #cfe0da;
}

html[data-theme='dark'] .hero-section.home-main-hero .hero-points li,
html[data-theme='dark'] .hero-section.has-video-bg:not(.home-main-hero) .hero-points li {
    background: rgba(18, 35, 39, 0.72);
    border-color: rgba(106, 152, 141, 0.48);
    color: #d4e5df;
}

html[data-theme='dark'] .hero-section.home-main-hero .hero-points li .ms-icon,
html[data-theme='dark'] .hero-section.has-video-bg:not(.home-main-hero) .hero-points li .ms-icon {
    color: #88c7b5;
}

html[data-theme='dark'] .has-video-bg .btn-light {
    background: rgba(25, 40, 45, 0.86);
    border-color: rgba(98, 146, 136, 0.65);
    color: #dbebe6;
    box-shadow: 0 8px 16px rgba(4, 14, 18, 0.34);
}

html[data-theme='dark'] .has-video-bg .btn-light:hover {
    background: rgba(30, 48, 53, 0.92);
    border-color: rgba(115, 171, 160, 0.78);
    color: #e9f7f3;
}

html[data-theme='dark'] .btn-light {
    background: linear-gradient(180deg, #253b41 0%, #1f3237 100%);
    border-color: #49666f;
    color: #dcede7;
    box-shadow: 0 8px 16px rgba(4, 14, 18, 0.3);
}

html[data-theme='dark'] .btn-light:hover {
    background: linear-gradient(180deg, #2e4a51 0%, #264047 100%);
    border-color: #5b7d86;
    color: #ecf8f5;
}

html[data-theme='dark'] .home-wave-section {
    --section-bg: #132126;
    --wave-next-color: #132126;
}

html[data-theme='dark'] .home-about-section {
    --section-bg: #14242a;
    --wave-next-color: #12353c;
}

html[data-theme='dark'] .home-slogan-section {
    --section-bg: #12353c;
    --wave-next-color: #1b2d33;
}

html[data-theme='dark'] .home-doctors-section {
    --section-bg: #1b2d33;
    --wave-next-color: #16282d;
}

html[data-theme='dark'] .home-principles-section {
    --section-bg: #16282d;
    --wave-next-color: #1a3035;
}

html[data-theme='dark'] .home-faq-section {
    --section-bg: #1a3035;
    --wave-next-color: #133730;
}

html[data-theme='dark'] .home-health-check-section {
    --section-bg: #10353d;
    --wave-next-color: #14242a;
}

html[data-theme='dark'] .about-story-section {
    --section-bg: #14242a;
    --wave-next-color: #1a3035;
}

html[data-theme='dark'] .about-why-section {
    --section-bg: #1a3035;
    --wave-next-color: #173039;
}

html[data-theme='dark'] .about-principles-section {
    --section-bg: #173039;
    --wave-next-color: #1b2d33;
}

html[data-theme='dark'] .about-slogan-section {
    --section-bg: #1b2d33;
    --wave-next-color: #1f3339;
}

html[data-theme='dark'] .about-team-section {
    --section-bg: #1f3339;
    --wave-next-color: #133730;
}

html[data-theme='dark'] .our-services-section {
    background: linear-gradient(180deg, #173039 0%, #152a32 100%);
}

html[data-theme='dark'] .our-services-section::before {
    background: var(--service-surface);
}

html[data-theme='dark'] .our-services-section::after {
    background: #132126;
}

html[data-theme='dark'] .our-services-section .section-heading h2 {
    color: var(--gold);
}

html[data-theme='dark'] .our-services-section .section-heading p {
    color: #cfe3dd;
}

html[data-theme='dark'] .our-service-card {
    background: linear-gradient(180deg, #233b42 0%, #1d3137 100%);
    border-color: #3f6068;
    box-shadow: 0 10px 22px rgba(3, 12, 15, 0.34);
}

html[data-theme='dark'] .our-service-icon {
    color: #8fcec0;
    background: #2a4349;
    border-color: rgba(112, 161, 149, 0.35);
}

html[data-theme='dark'] .our-service-card h3 {
    color: #eef8f5;
}

html[data-theme='dark'] .our-service-card p {
    color: #d2e5df;
}

html[data-theme='dark'] .our-service-list li {
    border-color: #4e7279;
    background: linear-gradient(180deg, #2a454c 0%, #243b42 100%);
    color: #d6e9e3;
}

html[data-theme='dark'] .our-service-list-icon {
    color: #8dccbc;
}

html[data-theme='dark'] .our-service-list li strong {
    color: #ecf9f5;
}

html[data-theme='dark'] .our-service-list li span {
    color: #d1e4de;
}

html[data-theme='dark'] .price-page-section {
    --section-bg: #14242a;
    --wave-next-color: #1a3035;
}

html[data-theme='dark'] .health-check-faq-section {
    --section-bg: #1a3035;
    --wave-next-color: #133730;
}

html[data-theme='dark'] .home-section-head h2,
html[data-theme='dark'] .home-section-head p,
html[data-theme='dark'] .home-about-lead,
html[data-theme='dark'] .home-principles-top p,
html[data-theme='dark'] .home-principle-card h3,
html[data-theme='dark'] .home-principle-card p,
html[data-theme='dark'] .home-about-feature h3,
html[data-theme='dark'] .home-about-feature p,
html[data-theme='dark'] .contact-block p,
html[data-theme='dark'] .legal-page-head p,
html[data-theme='dark'] .legal-doc-body p,
html[data-theme='dark'] .legal-doc-body li,
html[data-theme='dark'] .article-card p {
    color: #cbdeda;
}

html[data-theme='dark'] .home-section-head h2 {
    color: var(--gold);
}

html[data-theme='dark'] .directions-section {
    background: var(--directions-wave-bg);
    --directions-next-color: #10353d;
}

html[data-theme='dark'] .direction-card {
    --direction-card-surface: #182a30;
    background: var(--direction-card-surface);
    border-color: #31474d;
    box-shadow: 0 14px 30px rgba(4, 12, 15, 0.36);
}

html[data-theme='dark'] .direction-media {
    background: #1a2c31;
}

html[data-theme='dark'] .direction-media::after {
    background: linear-gradient(180deg, rgba(8, 18, 23, 0.16) 0%, rgba(8, 18, 23, 0.44) 100%);
}

html[data-theme='dark'] .direction-media video {
    filter: brightness(0.88) saturate(0.9);
}

html[data-theme='dark'] .direction-media .video-wave-cut {
    background: var(--direction-card-surface);
}

html[data-theme='dark'] .direction-heading {
    color: #d2e8e2;
}

html[data-theme='dark'] .direction-icon {
    color: #7fc4b3;
}

html[data-theme='dark'] .direction-heading h2 {
    color: var(--gold);
}

html[data-theme='dark'] .direction-chip {
    border-color: #405860;
    background: linear-gradient(180deg, #263b42 0%, #21343a 100%);
    color: #e4f2ef;
    box-shadow: 0 8px 18px rgba(3, 11, 14, 0.3);
}

html[data-theme='dark'] .direction-chip::after {
    color: #8fcec0;
}

html[data-theme='dark'] .direction-chip:hover {
    background: linear-gradient(180deg, #2e4950 0%, #284148 100%);
    border-color: #4e6c73;
    color: #f0faf7;
}

html[data-theme='dark'] .what-we-treat-section .section-heading h2 {
    color: var(--gold);
}

html[data-theme='dark'] .what-we-treat-section .section-heading p {
    color: #d9ece6;
}

html[data-theme='dark'] .what-we-treat-card-title {
    color: #ecf9f5;
}

html[data-theme='dark'] .what-we-treat-list li,
html[data-theme='dark'] .what-we-treat-term {
    color: #e3f2ee;
}

html[data-theme='dark'] .what-we-treat-term::before {
    background: #56c1a8;
}

html[data-theme='dark'] .what-we-treat-card-icon {
    background: #d5e3de;
    border-color: #6e948a;
    color: #1f5e52;
    box-shadow: 0 8px 18px rgba(3, 12, 15, 0.24);
}

html[data-theme='dark'] .what-we-treat-help {
    border-color: #7ba297;
    background: #cfe0da;
    color: #1f5d51;
    box-shadow: 0 5px 12px rgba(3, 12, 15, 0.2);
}

html[data-theme='dark'] .what-we-treat-tooltip {
    border-color: #4b6d75;
    background: rgba(34, 56, 62, 0.97);
    color: #e6f4f0;
    box-shadow: 0 12px 24px rgba(3, 12, 15, 0.34);
}

html[data-theme='dark'] .what-we-treat-tooltip::after {
    background: rgba(34, 56, 62, 0.97);
    border-right-color: #4b6d75;
    border-bottom-color: #4b6d75;
}

html[data-theme='dark'] .service-questionnaires-kicker {
    color: #8fd3c1;
}

html[data-theme='dark'] .service-questionnaires-head h2 {
    color: #eefaf6;
}

html[data-theme='dark'] .service-questionnaires-head p {
    color: rgba(223, 241, 236, 0.78);
}

html[data-theme='dark'] .service-symptoms-showcase {
    border-color: #3e5d65;
    background:
        radial-gradient(circle at 94% 10%, rgba(107, 171, 154, 0.18) 0, rgba(107, 171, 154, 0) 42%),
        linear-gradient(180deg, #233b42 0%, #1d3137 100%);
    box-shadow: 0 14px 30px rgba(3, 12, 15, 0.34);
}

html[data-theme='dark'] .service-symptoms-kicker {
    color: #9fd5c7;
}

html[data-theme='dark'] .service-symptoms-head h2 {
    color: var(--gold);
}

html[data-theme='dark'] .service-symptoms-lead {
    color: #e5f3ef;
}

html[data-theme='dark'] .service-symptoms-media img {
    border-color: #4f727a;
    box-shadow: 0 12px 26px rgba(3, 12, 15, 0.35);
    filter: saturate(0.9) brightness(0.92) contrast(1.04);
}

html[data-theme='dark'] .service-symptom-chips li {
    border-color: #d1b67e;
    background: linear-gradient(180deg, #fff8ea 0%, #f3e2bf 52%, #e6cf9f 100%);
    color: #2f4c44;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 7px 16px rgba(4, 14, 17, 0.28);
}

html[data-theme='dark'] .service-symptom-chips li .service-symptom-chip-icon {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(165, 126, 56, 0.24);
}

html[data-theme='dark'] .service-guide-card {
    border-color: #3f6068;
    background: linear-gradient(180deg, #233b42 0%, #1d3137 100%);
    box-shadow: 0 12px 26px rgba(3, 12, 15, 0.34);
}

html[data-theme='dark'] .service-guide-card h3 {
    color: #ecf9f5;
}

html[data-theme='dark'] .service-guide-list li {
    color: #e8f6f2;
}

html[data-theme='dark'] .service-guide-list-icon {
    background: linear-gradient(180deg, #66b39f 0%, #489985 100%);
}

html[data-theme='dark'] .service-info-card {
    border-color: #3f6068;
    background: linear-gradient(180deg, #233b42 0%, #1d3137 100%);
    box-shadow: 0 12px 26px rgba(3, 12, 15, 0.34);
}

html[data-theme='dark'] .service-info-card h2 {
    color: var(--gold);
}

html[data-theme='dark'] .service-info-card h3 {
    color: #e8f6f2;
}

html[data-theme='dark'] .service-info-subtitle,
html[data-theme='dark'] .service-info-meta,
html[data-theme='dark'] .service-info-text,
html[data-theme='dark'] .service-info-list {
    color: #e6f4f0;
}

html[data-theme='dark'] .service-info-note {
    background: rgba(46, 77, 84, 0.8);
    border-color: #517881;
    color: #edf8f5;
}

html[data-theme='dark'] .doctor-card-modern,
html[data-theme='dark'] .doctor-details-group,
html[data-theme='dark'] .doctor-profile-main,
html[data-theme='dark'] .doctor-details {
    background: linear-gradient(180deg, #233b42 0%, #1d3137 100%);
    border-color: #3f6068;
    color: #e4f2ee;
    box-shadow: 0 12px 26px rgba(3, 12, 15, 0.34);
}

html[data-theme='dark'] .doctor-photo-wrap {
    background: #2a3f45;
    border-color: #46666f;
}

html[data-theme='dark'] .doctor-card-role {
    color: #9fd2c4;
}

html[data-theme='dark'] .doctor-card h3 a,
html[data-theme='dark'] .doctor-card h3 {
    color: #eff9f6;
}

html[data-theme='dark'] .doctor-card-degree,
html[data-theme='dark'] .doctor-card-bio,
html[data-theme='dark'] .doctor-card-exp {
    color: #cfe3dd;
}

html[data-theme='dark'] .doctor-card-degree .ms-icon,
html[data-theme='dark'] .doctor-card-exp .ms-icon,
html[data-theme='dark'] .doctor-profile-degree .ms-icon {
    color: #e0ba6b;
}

html[data-theme='dark'] .doctor-card-tags li {
    border-color: #4e7279;
    background: #2a434a;
    color: #d7ebe4;
}

html[data-theme='dark'] .doctor-profile-specialty {
    color: #a5d8cb;
}

html[data-theme='dark'] .doctor-profile-degree,
html[data-theme='dark'] .doctor-profile-text {
    color: #d4e6e1;
}

html[data-theme='dark'] .doctor-details-group h2 {
    color: #eef8f5;
}

html[data-theme='dark'] .doctor-details-group h2 .ms-icon,
html[data-theme='dark'] .doctor-achievement-icon {
    color: #8dccbc;
}

html[data-theme='dark'] .doctor-feature-list li,
html[data-theme='dark'] .doctor-education-list li,
html[data-theme='dark'] .doctor-timeline-text {
    color: #d1e4de;
}

html[data-theme='dark'] .doctor-feature-list li::marker {
    color: #7ec5b3;
}

html[data-theme='dark'] .doctor-timeline-item {
    border-color: #4a6870;
    background: rgba(40, 64, 70, 0.76);
}

html[data-theme='dark'] .doctor-timeline-year {
    background: #2d4c52;
    border-color: #517881;
    color: #d6ebe4;
}

html[data-theme='dark'] .about-story-card,
html[data-theme='dark'] .about-why-card,
html[data-theme='dark'] .about-principle-card {
    background: linear-gradient(180deg, #233b42 0%, #1d3137 100%);
    border-color: #3f6068;
    box-shadow: 0 12px 26px rgba(3, 12, 15, 0.34);
}

html[data-theme='dark'] .about-story-card-main {
    background:
        radial-gradient(circle at 88% 12%, rgba(93, 145, 132, 0.16) 0, rgba(93, 145, 132, 0) 54%),
        linear-gradient(180deg, #233b42 0%, #1d3137 100%);
}

html[data-theme='dark'] .about-story-card-mission {
    background:
        radial-gradient(circle at 14% 14%, rgba(78, 129, 117, 0.2) 0, rgba(78, 129, 117, 0) 56%),
        linear-gradient(180deg, #233b42 0%, #1d3137 100%);
}

html[data-theme='dark'] .about-card-kicker {
    color: #9cd6c8;
}

html[data-theme='dark'] .article-page.article-page-rich {
    background: linear-gradient(180deg, #1f3237 0%, #1a2b30 100%);
    border-color: #355058;
    box-shadow: 0 12px 28px rgba(3, 12, 15, 0.34);
    color: #e3f1ed;
}

html[data-theme='dark'] .article-page h1,
html[data-theme='dark'] .article-page h3,
html[data-theme='dark'] .article-page h4 {
    color: #eef8f5;
}

html[data-theme='dark'] .article-page h2 {
    color: var(--gold);
}

html[data-theme='dark'] .article-page h1 {
    color: var(--gold);
}

html[data-theme='dark'] .article-page-meta p,
html[data-theme='dark'] .article-category {
    color: #a9d8cc;
}

html[data-theme='dark'] .article-lead {
    color: #e3f1ed;
}

html[data-theme='dark'] .article-subsection {
    border-top-color: #3b5a62;
}

html[data-theme='dark'] .article-rich-block {
    background: linear-gradient(180deg, #274149 0%, #21373d 100%);
    border-color: #43666f;
    box-shadow: 0 10px 22px rgba(4, 14, 17, 0.3);
}

html[data-theme='dark'] .article-rich-block p,
html[data-theme='dark'] .article-rich-block li,
html[data-theme='dark'] .article-rich-block span,
html[data-theme='dark'] .article-rich-block strong,
html[data-theme='dark'] .article-rich-block em {
    color: #e2f2ed !important;
}

html[data-theme='dark'] .article-rich-block h2,
html[data-theme='dark'] .article-rich-block h3,
html[data-theme='dark'] .article-rich-block h4,
html[data-theme='dark'] .article-rich-block h5,
html[data-theme='dark'] .article-rich-block h6 {
    color: #f0faf7 !important;
}

html[data-theme='dark'] .article-rich-block a {
    color: #9fdacc !important;
}

html[data-theme='dark'] .article-rich-block ul li::marker,
html[data-theme='dark'] .article-rich-block ol li::marker {
    color: #8fcec0;
}

html[data-theme='dark'] .article-tool {
    border-color: #3f6068;
    background: linear-gradient(180deg, #233b42 0%, #1d3137 100%);
    box-shadow: 0 12px 26px rgba(3, 12, 15, 0.34);
}

html[data-theme='dark'] .article-tool-head p,
html[data-theme='dark'] .article-tool-stage p,
html[data-theme='dark'] .article-tool-refs,
html[data-theme='dark'] .article-tool-disclaimer,
html[data-theme='dark'] .article-tool-hint {
    color: #d7ebe5;
}

html[data-theme='dark'] .article-tool-badge {
    color: #9fd5c7;
}

html[data-theme='dark'] .article-tool-head h2,
html[data-theme='dark'] .article-tool-stage h3 {
    color: #edf8f5;
}

html[data-theme='dark'] .article-tool-question {
    border-color: #476970;
    background: linear-gradient(180deg, #2c4750 0%, #253d44 100%);
}

html[data-theme='dark'] .legal-side-card {
    background: linear-gradient(180deg, #233b42 0%, #1d3137 100%);
    border-color: #3f6068;
    box-shadow: 0 12px 26px rgba(3, 12, 15, 0.34);
}

html[data-theme='dark'] .legal-side-card h2 {
    color: #eef8f5;
}

html[data-theme='dark'] .legal-side-card p,
html[data-theme='dark'] .legal-side-card li {
    color: #d8ebe5;
}

html[data-theme='dark'] .legal-side-card a {
    color: #9fdacc;
}

html[data-theme='dark'] .about-story-card h2,
html[data-theme='dark'] .about-why-card h3,
html[data-theme='dark'] .about-principle-card h3 {
    color: #eef9f6;
}

html[data-theme='dark'] .about-story-lead,
html[data-theme='dark'] .about-story-card p,
html[data-theme='dark'] .about-story-checklist li,
html[data-theme='dark'] .about-why-card p,
html[data-theme='dark'] .about-principle-card p {
    color: #d4e7e1;
}

html[data-theme='dark'] .about-story-pill {
    border-color: #51767f;
    background: linear-gradient(180deg, #2a454c 0%, #243b42 100%);
    color: #d9ece6;
}

html[data-theme='dark'] .about-story-pill .ms-icon,
html[data-theme='dark'] .about-story-checklist li .ms-icon,
html[data-theme='dark'] .about-story-note .ms-icon,
html[data-theme='dark'] .about-story-mission-item .ms-icon,
html[data-theme='dark'] .about-why-card h3 .ms-icon {
    color: #8dccbc;
}

html[data-theme='dark'] .about-story-note,
html[data-theme='dark'] .about-story-mission-item {
    border-color: #4d7079;
    background: rgba(44, 68, 74, 0.72);
    color: #d7ebe4;
}

html[data-theme='dark'] .about-story-mission-item p {
    color: #d7ebe4;
}

html[data-theme='dark'] .about-principle-num {
    color: #9cd6c8;
}

html[data-theme='dark'] .our-service-accordion-item {
    border-color: #355058;
    background: linear-gradient(180deg, #1f3237 0%, #1a2b30 100%);
    box-shadow: 0 10px 24px rgba(3, 12, 15, 0.3);
}

html[data-theme='dark'] .our-service-accordion-item summary:hover {
    background: rgba(41, 65, 71, 0.46);
}

html[data-theme='dark'] .our-service-summary-title,
html[data-theme='dark'] .faq-summary-title {
    color: #e5f2ee;
}

html[data-theme='dark'] .our-service-body p,
html[data-theme='dark'] .faq-body p {
    color: #d1e2dd;
}

html[data-theme='dark'] .faq-item-static .faq-static-head {
    border-bottom-color: rgba(88, 127, 119, 0.35);
    background: rgba(37, 59, 64, 0.62);
}

html[data-theme='dark'] .our-service-accordion-item summary::after {
    border-color: #5a8d80;
    color: #95d2c2;
    background: #22363b;
}

html[data-theme='dark'] .our-service-accordion-item[open] summary::after {
    background: #2b484e;
    border-color: #74afa1;
    color: #b4e6d9;
}

html[data-theme='dark'] .site-footer {
    margin-top: 0;
}

html[data-theme='dark'] .site-footer::before {
    top: calc(var(--footer-wave-height) * -1);
}

html[data-theme='dark'] .site-footer::after {
    display: none;
}

html[data-theme='dark'] .home-about-feature,
html[data-theme='dark'] .home-principle-card,
html[data-theme='dark'] .service-guide-card,
html[data-theme='dark'] .service-info-card,
html[data-theme='dark'] .appointment-form,
html[data-theme='dark'] .appointment-hero-stat,
html[data-theme='dark'] .contacts-layout .card,
html[data-theme='dark'] .patient-additional-docs li,
html[data-theme='dark'] .patient-control-card,
html[data-theme='dark'] .article-card,
html[data-theme='dark'] .legal-doc-card,
html[data-theme='dark'] .quick-note {
    background: linear-gradient(180deg, #1f3237 0%, #1a2b30 100%);
    border-color: #355058;
    color: #ddebe7;
    box-shadow: 0 10px 24px rgba(3, 12, 15, 0.3);
}

html[data-theme='dark'] .home-health-check-card,
html[data-theme='dark'] .health-check-shell,
html[data-theme='dark'] .health-check-result-card,
html[data-theme='dark'] .service-symptoms-showcase {
    border-color: #42626b;
    background: linear-gradient(180deg, #274149 0%, #1f343a 100%);
    box-shadow: 0 14px 30px rgba(4, 14, 17, 0.32);
}

html[data-theme='dark'] .home-health-check-kicker,
html[data-theme='dark'] .health-check-kicker,
html[data-theme='dark'] .hc-step-kicker,
html[data-theme='dark'] .service-symptoms-kicker {
    color: #9cd6c8;
}

html[data-theme='dark'] .home-health-check-copy h2,
html[data-theme='dark'] .health-check-hero h1,
html[data-theme='dark'] .hc-step-head h2,
html[data-theme='dark'] .health-check-result-card h1,
html[data-theme='dark'] .service-symptoms-head h2 {
    color: var(--gold);
}

html[data-theme='dark'] .about-hero-content h1 {
    color: var(--gold);
}

html[data-theme='dark'] .home-health-check-copy p,
html[data-theme='dark'] .home-health-check-copy li,
html[data-theme='dark'] .health-check-lead,
html[data-theme='dark'] .health-check-disclaimer,
html[data-theme='dark'] .hc-progress-text,
html[data-theme='dark'] .hc-step-head p,
html[data-theme='dark'] .health-result-disclaimer,
html[data-theme='dark'] .service-symptoms-lead {
    color: #d5e8e2;
}

html[data-theme='dark'] .home-health-check-copy li .ms-icon,
html[data-theme='dark'] .health-check-disclaimer .ms-icon,
html[data-theme='dark'] .service-symptoms-head .ms-icon {
    color: #86c8b7;
}

html[data-theme='dark'] .hc-question {
    border-color: #43626a;
    background: linear-gradient(180deg, #2b454d 0%, #243b42 100%);
}

html[data-theme='dark'] .hc-question-title {
    color: #eaf7f3;
}

html[data-theme='dark'] .hc-question-title small {
    color: #c8dcd6;
}

html[data-theme='dark'] .hc-option-main {
    border-color: #47666e;
    background: linear-gradient(180deg, #2a444b 0%, #243c43 100%);
    color: #e2f0eb;
}

html[data-theme='dark'] .hc-option-main:hover {
    border-color: #5a8089;
    background: linear-gradient(180deg, #315058 0%, #2a434a 100%);
}

html[data-theme='dark'] .hc-option-main:has(input:checked) {
    border-color: #76b7a5;
    background: linear-gradient(180deg, #35575f 0%, #2d4a51 100%);
    box-shadow: 0 8px 16px rgba(12, 35, 40, 0.26);
}

html[data-theme='dark'] .hc-start-card {
    border-color: #476970;
    background: linear-gradient(180deg, #2b454d 0%, #243b42 100%);
    box-shadow: 0 10px 22px rgba(4, 14, 17, 0.3);
}

html[data-theme='dark'] .hc-start-card h2 {
    color: #edf8f5;
}

html[data-theme='dark'] .hc-start-card p,
html[data-theme='dark'] .hc-start-card li {
    color: #d9ece6;
}

html[data-theme='dark'] .hc-start-time {
    color: #b8e4d8 !important;
}

html[data-theme='dark'] .hc-start-time .ms-icon {
    color: #90cebe;
}

html[data-theme='dark'] .service-symptoms-media img,
html[data-theme='dark'] .about-team-photo,
html[data-theme='dark'] .about-story-media,
html[data-theme='dark'] .article-card-media {
    border-color: #3c5860;
}

html[data-theme='dark'] .price-table-modern {
    border-color: #38555c;
    background: rgba(20, 34, 38, 0.82);
    box-shadow: 0 10px 26px rgba(4, 14, 17, 0.33);
}

html[data-theme='dark'] .price-table-modern .price-table th {
    background: #24393f;
    color: #9fd7c8;
    border-bottom-color: #39565e;
}

html[data-theme='dark'] .price-table-modern .price-table td {
    border-bottom-color: #2f474e;
    color: #d4e7e1;
}

html[data-theme='dark'] .price-table-modern .price-table tr:hover td {
    background: rgba(41, 63, 69, 0.55);
}

html[data-theme='dark'] .price-table-modern .price-table tr.is-unavailable td,
html[data-theme='dark'] .price-table-modern .price-table tr.is-unavailable:hover td {
    background: rgba(33, 47, 52, 0.72);
}

html[data-theme='dark'] .price-category-title,
html[data-theme='dark'] .price-service-title {
    color: #d7ebe4;
}

html[data-theme='dark'] .price-category-code,
html[data-theme='dark'] .price-empty-row td {
    color: #9bb3ad;
}

html[data-theme='dark'] .price-value {
    color: #74d1b6;
}

html[data-theme='dark'] .price-filter-btn {
    border-color: #3a5860;
    background: linear-gradient(180deg, #253b41 0%, #1f3237 100%);
    color: #d3e6e0;
}

html[data-theme='dark'] .price-filter-btn:hover {
    border-color: #4c7078;
    background: linear-gradient(180deg, #2f4950 0%, #264047 100%);
    color: #e7f4f0;
}

html[data-theme='dark'] .price-row-disabled {
    border-color: #456169;
    background: #24363b;
    color: #a9bcb8;
}

html[data-theme='dark'] .appointment-form input[type="date"],
html[data-theme='dark'] .appointment-form input[type="time"],
html[data-theme='dark'] .appointment-form input[type="text"],
html[data-theme='dark'] .appointment-form input[type="tel"],
html[data-theme='dark'] .appointment-form textarea,
html[data-theme='dark'] .custom-select-trigger,
html[data-theme='dark'] .custom-picker-trigger,
html[data-theme='dark'] .custom-select-menu,
html[data-theme='dark'] .custom-picker-panel {
    background: #22363b;
    border-color: #3b575f;
    color: #dcebe6;
}

html[data-theme='dark'] .custom-select-trigger.is-empty .custom-select-value,
html[data-theme='dark'] .custom-picker-trigger.is-empty .custom-picker-value {
    color: #a8bcb8;
}

html[data-theme='dark'] .custom-select-option,
html[data-theme='dark'] .custom-time-option,
html[data-theme='dark'] .custom-date-day {
    color: #dcebe6;
}

html[data-theme='dark'] .custom-select-option:hover,
html[data-theme='dark'] .custom-time-option:hover,
html[data-theme='dark'] .custom-date-day:hover {
    background: #2b464d;
}

html[data-theme='dark'] .custom-select-option.is-selected,
html[data-theme='dark'] .custom-time-option.is-selected,
html[data-theme='dark'] .custom-date-day.is-selected {
    background: #2e7d6b;
    color: #f7fffc;
}

html[data-theme='dark'] .contact-social-icon-image {
    filter: brightness(0) saturate(100%) invert(84%) sepia(8%) saturate(707%) hue-rotate(109deg) brightness(94%) contrast(93%);
}

html[data-theme='dark'] .footer-logo-light {
    filter: brightness(0) invert(1);
}

/* Dark theme: accent color for major public headings */
html[data-theme='dark'] .main-content h1,
html[data-theme='dark'] .main-content h2 {
    color: var(--gold);
}

.admin-body {
    background: #f3f5f8;
}

.admin-wrap {
    max-width: 1100px;
    margin: 1.4rem auto;
    width: calc(100% - 2rem);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.admin-card {
    max-width: 420px;
    margin: 3rem auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
}

.admin-login-brand-wrap {
    width: 100%;
    margin: 0.35rem auto 0.9rem;
    min-height: 140px;
    border: 1px solid #d5dfd8;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
    box-shadow: 0 10px 22px rgba(32, 71, 62, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
}

.admin-login-brand-image {
    width: min(280px, 100%);
    height: auto;
    max-height: 96px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.admin-form {
    display: grid;
    gap: 0.8rem;
}

.admin-login-submit {
    margin-top: 15px;
}

.admin-form label {
    display: grid;
    gap: 0.34rem;
    color: #244743;
    font-size: 0.92rem;
    font-weight: 600;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    border: 1px solid #c5d3db;
    border-radius: 10px;
    padding: 0.56rem 0.68rem;
    background: #ffffff;
    color: #22384f;
    font: inherit;
    line-height: 1.45;
}

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

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    border-color: #8bb8aa;
    box-shadow: 0 0 0 3px rgba(46, 125, 107, 0.16);
    outline: none;
}

.admin-form--clinic {
    background: #fff;
    border: 1px solid #d2dee6;
    border-radius: 16px;
    padding: 1rem;
}

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

.admin-json-details {
    margin-top: 0.72rem;
    background: #fff;
    border: 1px solid #d2dee6;
    border-radius: 12px;
    padding: 0.62rem;
}

.admin-json-details summary {
    cursor: pointer;
    font-weight: 650;
    color: #244743;
    margin-bottom: 0.45rem;
}

.admin-json-details textarea {
    width: 100%;
    border: 1px solid #c5d3db;
    border-radius: 10px;
    padding: 0.56rem 0.68rem;
    background: #fbfcfd;
    color: #20364d;
    font: 500 0.85rem/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.admin-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.admin-grid > .card {
    text-decoration: none;
    color: #214242;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
    border: 1px solid #d0dde5;
    box-shadow: 0 8px 18px rgba(25, 56, 79, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-grid > .card:hover {
    transform: translateY(-2px);
    border-color: #b8cdc4;
    box-shadow: 0 12px 24px rgba(25, 56, 79, 0.12);
    text-decoration: none;
}

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

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

.admin-form--section {
    background: #ffffff;
    border: 1px solid #d2dee6;
    border-radius: 16px;
    padding: 1rem;
}

.admin-seo-section {
    border: 1px solid #d4e0e8;
    border-radius: 14px;
    padding: 0.82rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    display: grid;
    gap: 0.66rem;
}

.admin-seo-section + .admin-seo-section {
    margin-top: 0.3rem;
}

.admin-seo-section-head h3 {
    margin: 0;
    color: #1f4742;
    font-size: 1rem;
}

.admin-seo-section-head .small {
    margin: 0.24rem 0 0;
    color: #5f7288;
    font-size: 0.78rem;
    line-height: 1.35;
}

.admin-seo-pages {
    display: grid;
    gap: 0.66rem;
}

.admin-seo-page-list {
    display: grid;
    gap: 0.45rem;
}

.admin-seo-page-item {
    width: 100%;
    text-align: left;
    border: 1px solid #d2dee6;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.58rem 0.64rem;
    display: grid;
    gap: 0.18rem;
    position: relative;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-seo-page-item:hover {
    border-color: #b4cbc2;
    box-shadow: 0 10px 20px rgba(22, 56, 79, 0.1);
}

.admin-seo-page-item-title {
    font-weight: 700;
    color: #244743;
    font-size: 0.84rem;
}

.admin-seo-page-item-path {
    color: #5f7388;
    font-size: 0.72rem;
}

.admin-seo-page-item-path code {
    color: #35556f;
    font-size: 0.72rem;
}

.admin-seo-page-item-meta {
    color: #5c7085;
    font-size: 0.74rem;
    line-height: 1.32;
}

.admin-seo-page-item-og {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.admin-seo-page-item-og-preview {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cfdde6;
    background: #f3f8fa;
    flex-shrink: 0;
    display: none;
}

.admin-seo-page-item-og-preview.is-visible {
    display: inline-block;
}

.admin-seo-page-item-og-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.admin-seo-page-item-og-text {
    color: #5f7288;
    font-size: 0.71rem;
    line-height: 1.25;
}

.admin-seo-page-item-action {
    margin-top: 0.08rem;
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
    color: #2d7f67;
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-seo-page-item-badge {
    position: absolute;
    top: 0.56rem;
    right: 0.56rem;
    border: 1px solid #e0c492;
    border-radius: 999px;
    padding: 0.12rem 0.42rem;
    font-size: 0.66rem;
    font-weight: 700;
    color: #7b5a1f;
    background: #fff7e9;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.admin-seo-pages-storage {
    display: none;
}

.admin-seo-page-card {
    padding: 0.72rem 0.78rem;
    border-radius: 12px;
    border: 1px solid #d7e3eb;
    background: #ffffff;
    box-shadow: none;
}

.admin-seo-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.66rem;
    flex-wrap: wrap;
}

.admin-seo-page-head h4 {
    margin: 0;
    color: #214545;
    font-size: 0.96rem;
}

.admin-seo-page-head .small {
    margin: 0;
    color: #607689;
}

.admin-seo-page-modal-dialog {
    width: 85vw;
    max-width: 85vw;
    height: 85vh;
    max-height: 85vh;
    min-height: 0;
    margin: 7.5vh auto;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    overflow: hidden;
}

.admin-seo-page-modal-head h3 {
    margin: 0;
    color: #163a36;
}

.admin-seo-page-modal-head .small {
    margin: 0.2rem 0 0;
    color: #5f7388;
}

.admin-seo-page-modal-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    border-radius: 10px;
    border: 1px solid #d4e0e8;
    background: linear-gradient(180deg, #f9fcfd 0%, #f5faf8 100%);
    padding: 0.8rem;
}

.admin-seo-page-modal-body .admin-seo-page-editor {
    display: grid !important;
    gap: 0.9rem;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.admin-seo-og-field {
    display: grid;
    gap: 0.42rem;
}

.admin-seo-og-upload {
    display: inline-flex;
    align-items: center;
    gap: 0.52rem;
    flex-wrap: wrap;
    margin-top: 0.14rem;
}

.admin-seo-og-picker,
.admin-seo-og-picker.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    position: relative;
    overflow: hidden;
    white-space: nowrap !important;
    flex-shrink: 0;
    gap: 0.34rem;
    min-height: 36px;
    width: max-content;
    max-width: 100%;
    padding: 0 0.68rem;
    font-size: 0.88rem;
    line-height: 1.05;
}

.admin-seo-og-picker .ms-icon {
    margin: 0;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.admin-seo-og-picker > span {
    display: inline-block;
    white-space: nowrap !important;
}

.admin-seo-og-picker input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.admin-seo-og-upload-name {
    color: #5f7288;
    font-size: 0.74rem;
    line-height: 1.3;
    font-weight: 600;
}

.admin-seo-og-preview {
    border: 1px dashed #c8d7e1;
    border-radius: 10px;
    padding: 0.45rem;
    background: #f7fbfd;
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.admin-seo-og-preview img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    border-radius: 6px;
    display: none;
}

.admin-seo-og-preview.is-visible img {
    display: block;
}

.admin-seo-og-preview-empty {
    color: #6a7f94;
    font-size: 0.74rem;
    text-align: center;
    line-height: 1.35;
}

.admin-social-editor {
    border: 1px solid #d4e0e8;
    border-radius: 12px;
    padding: 0.8rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    display: grid;
    gap: 0.66rem;
}

.admin-social-editor-head h3 {
    margin: 0;
    color: #1f4742;
    font-size: 0.98rem;
}

.admin-social-editor-head .small {
    margin: 0.24rem 0 0;
    color: #5f7288;
    font-size: 0.78rem;
    line-height: 1.35;
}

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

.admin-social-list {
    display: grid;
    gap: 0;
    border: 1px solid #d7e3eb;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.admin-social-row {
    display: grid;
    grid-template-columns: auto minmax(140px, 0.9fr) minmax(220px, 1.8fr) auto auto;
    align-items: center;
    gap: 0.4rem;
    padding: 0.36rem 0.44rem;
    border-bottom: 1px solid #e2e9ef;
}

.admin-social-row:last-child {
    border-bottom: 0;
}

.admin-social-toggle {
    min-height: 30px;
    gap: 0.3rem;
    margin-right: 0.18rem;
    align-self: center;
    font-size: 0.72rem;
}

.admin-social-field {
    display: block;
}

.admin-social-field input {
    min-height: 30px;
    border-radius: 8px;
    font-size: 0.75rem;
    padding: 0.25rem 0.42rem;
}

.admin-social-upload {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    flex-wrap: nowrap;
    min-width: 0;
}

.admin-social-icon-preview {
    width: 0.95rem;
    height: 0.95rem;
    color: #2f7768;
    opacity: 0;
    transition: opacity 0.16s ease;
}

.admin-social-icon-preview.is-visible {
    opacity: 1;
}

.admin-social-picker {
    position: relative;
    overflow: hidden;
    width: 30px;
    min-height: 30px;
    padding: 0;
    border-radius: 8px;
    justify-content: center;
}

.admin-social-picker .ms-icon {
    font-size: 1rem;
}

.admin-social-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.admin-social-file-name {
    max-width: 150px;
    font-size: 0.72rem;
    color: #4f6379;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-social-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
}

.admin-social-actions .btn {
    min-height: 30px;
    width: 30px;
    padding: 0;
    border-radius: 8px;
    justify-content: center;
}

.admin-social-actions .ms-icon {
    font-size: 0.95rem;
}

.admin-price-pdf-box {
    border: 1px solid #d4e0e8;
    border-radius: 14px;
    padding: 0.68rem 0.78rem;
    margin-bottom: 0.62rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
}

.admin-price-pdf-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-price-pdf-head h2 {
    margin: 0;
    color: #1f4742;
    font-size: 0.96rem;
}

.admin-price-pdf-head .small {
    margin: 0.24rem 0 0;
    color: #5f7288;
    font-size: 0.78rem;
    line-height: 1.35;
}

.admin-price-pdf-help {
    margin: 0.32rem 0 0.16rem 1.1rem;
    padding: 0;
    color: #4d667e;
    font-size: 0.76rem;
    line-height: 1.38;
    display: grid;
    gap: 0.2rem;
}

.admin-price-pdf-help strong {
    color: #2a4d68;
}

.admin-price-pdf-form {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    flex-wrap: wrap;
}

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

.admin-price-pdf-picker {
    min-height: 34px;
    padding: 0.34rem 0.58rem;
    border-radius: 10px;
    font-size: 0.78rem;
    gap: 0.3rem;
}

.admin-price-pdf-filename {
    max-width: 220px;
    font-size: 0.75rem;
    color: #4f6379;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-price-pdf-form .btn {
    min-height: 34px;
    padding: 0 0.62rem;
    border-radius: 10px;
    font-size: 0.78rem;
}

.admin-price-editor-wrap {
    overflow-x: auto;
    border: 1px solid #d4e0e8;
    border-radius: 12px;
    background: #ffffff;
}

.admin-price-editor-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.admin-price-editor-table th,
.admin-price-editor-table td {
    padding: 0.34rem 0.38rem;
    border-bottom: 1px solid #dde7ed;
    vertical-align: top;
}

.admin-price-editor-table thead th {
    background: #ecf4f7;
    color: #28524d;
    text-align: left;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.admin-price-editor-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-price-editor-table input,
.admin-price-editor-table select {
    width: 100%;
    min-height: 30px;
    border-radius: 7px;
    font-size: 0.74rem;
    line-height: 1.2;
    padding: 0.2rem 0.32rem;
}

.admin-price-category-select {
    position: relative;
}

.admin-price-category-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-color: #bfcfda;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
    padding-right: 1.35rem;
}

.admin-price-category-select::after {
    content: "";
    position: absolute;
    right: 0.56rem;
    top: 50%;
    width: 0.42rem;
    height: 0.42rem;
    margin-top: -0.28rem;
    border-right: 2px solid #2d6458;
    border-bottom: 2px solid #2d6458;
    transform: rotate(45deg);
    pointer-events: none;
    opacity: 0.72;
}

.admin-price-editor-table td:nth-child(1) {
    width: 11%;
    min-width: 150px;
}

.admin-price-editor-table td:nth-child(2) {
    width: 12%;
    min-width: 120px;
}

.admin-price-editor-table td:nth-child(3) {
    width: 51%;
}

.admin-price-editor-table td:nth-child(4) {
    width: 13%;
    min-width: 138px;
}

.admin-price-editor-table td:nth-child(5) {
    width: 13%;
    min-width: 138px;
}

.admin-price-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    margin-top: 0.24rem;
}

.admin-price-flags .admin-checkbox {
    min-height: auto;
    align-self: auto;
    font-size: 0.7rem;
    gap: 0.25rem;
}

.admin-price-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    flex-wrap: wrap;
}

.admin-price-row-actions .btn {
    min-height: 27px;
    padding: 0 0.42rem;
    border-radius: 7px;
    font-size: 0.68rem;
    line-height: 1;
}

.admin-price-actions {
    margin-top: 0.46rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.42rem;
    flex-wrap: wrap;
}

.admin-price-actions-top {
    margin-top: 0;
    margin-bottom: 0.55rem;
}

.admin-price-actions-left {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    flex-wrap: wrap;
}

.admin-price-actions .btn {
    min-height: 34px;
    padding: 0 0.65rem;
    border-radius: 10px;
    font-size: 0.78rem;
}

.admin-price-generate-modal-text {
    margin: 0 0 0.5rem;
    color: #37556f;
    line-height: 1.45;
}

.admin-price-generate-modal-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.admin-legal-list {
    border: 1px solid #d4e0e8;
    border-radius: 12px;
    padding: 0.8rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    display: grid;
    gap: 0.66rem;
}

.admin-legal-list-head h3 {
    margin: 0;
    color: #1f4742;
    font-size: 0.98rem;
}

.admin-legal-list-head .small {
    margin: 0.24rem 0 0;
    color: #5f7288;
    font-size: 0.78rem;
    line-height: 1.35;
}

.admin-legal-docs {
    display: grid;
    gap: 0.45rem;
}

.admin-legal-doc-btn {
    width: 100%;
    text-align: left;
    border: 1px solid #d2dee6;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.56rem 0.62rem;
    display: grid;
    gap: 0.18rem;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-legal-doc-btn:hover {
    border-color: #b4cbc2;
    box-shadow: 0 10px 20px rgba(22, 56, 79, 0.1);
}

.admin-legal-doc-title {
    font-weight: 700;
    color: #244743;
    font-size: 0.84rem;
}

.admin-legal-doc-desc {
    font-size: 0.74rem;
    color: #536981;
}

.admin-legal-doc-preview {
    font-size: 0.74rem;
    color: #6a7f94;
    line-height: 1.3;
}

.admin-legal-doc-action {
    margin-top: 0.12rem;
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
    color: #2d7f67;
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-legal-storage {
    display: none;
}

.admin-legal-modal-dialog,
.admin-rich-editor-modal-dialog {
    width: min(85vw, 1400px);
    max-width: calc(100vw - 2rem);
    height: 85vh;
    max-height: 85vh;
    min-height: 0;
    margin: 7.5vh auto;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    overflow: hidden;
}

.admin-legal-toolbar,
.admin-rich-editor-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    flex-wrap: wrap;
    padding: 0.2rem;
    border: 1px solid #d3dfe7;
    border-radius: 10px;
    background: #f8fbfc;
}

.admin-legal-toolbar .btn,
.admin-rich-editor-toolbar .btn {
    min-height: 34px;
    padding: 0 0.52rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.26rem;
    line-height: 1;
}

.admin-legal-toolbar .btn .ms-icon,
.admin-rich-editor-toolbar .btn .ms-icon {
    font-size: 1rem;
}

.admin-rich-editor-tool {
    white-space: nowrap;
    font-size: 0.74rem;
    font-weight: 600;
}

.admin-rich-editor-area,
.admin-legal-editor {
    flex: 1;
    min-height: 0;
    border: 1px solid #c9d8e2;
    border-radius: 10px;
    padding: 0.72rem;
    background: #ffffff;
    overflow: auto;
    color: #20364d;
    line-height: 1.55;
    font-size: 0.95rem;
}

.admin-rich-editor-area:focus,
.admin-legal-editor:focus {
    outline: none;
    border-color: #8bb8aa;
    box-shadow: 0 0 0 3px rgba(46, 125, 107, 0.16);
}

.admin-legal-editor h2,
.admin-legal-editor h3 {
    margin: 0.75rem 0 0.5rem;
    color: #18324a;
}

.admin-legal-editor p {
    margin: 0.5rem 0;
}

.admin-legal-editor ul {
    margin: 0.45rem 0 0.45rem 1.1rem;
}

.admin-legal-modal-actions,
.admin-rich-editor-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-wrap: wrap;
}

@media (max-width: 820px) {
    .admin-social-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .admin-social-upload {
        justify-self: start;
    }

    .admin-social-actions {
        justify-self: end;
    }

    .admin-price-pdf-form {
        width: 100%;
    }

    .admin-price-pdf-filename {
        max-width: 100%;
    }

    .admin-legal-modal-dialog,
    .admin-rich-editor-modal-dialog {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
        height: calc(100vh - 1rem);
        max-height: calc(100vh - 1rem);
        margin: 0.5rem auto;
    }

    .admin-seo-page-modal-dialog {
        width: 85vw;
        max-width: 85vw;
        height: 85vh;
        max-height: 85vh;
        margin: 7.5vh auto;
    }
}

.admin-tech-card {
    border: 1px solid #d6e0e7;
    border-radius: 12px;
    padding: 0.85rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    display: grid;
    gap: 0.65rem;
}

.admin-tech-card h3 {
    margin: 0;
    color: #1f4742;
    font-size: 1rem;
}

.admin-tech-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.admin-tech-lock-box {
    border: 1px solid #d6dde3;
    border-radius: 12px;
    padding: 0.85rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6faf9 100%);
    display: grid;
    gap: 0.68rem;
}

.admin-tech-warning {
    margin: 0;
    border: 1px solid #e7b2b9;
    border-radius: 10px;
    padding: 0.62rem 0.72rem;
    background: linear-gradient(180deg, #fff7f8 0%, #ffeef1 100%);
}

.admin-tech-warning h3 {
    margin: 0;
    color: #8b2f40;
    font-size: 0.95rem;
}

.admin-tech-warning p {
    margin: 0.28rem 0 0;
    color: #7b3540;
    font-size: 0.81rem;
    line-height: 1.42;
    font-weight: 600;
}

.admin-tech-lock-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    border: 1px solid #d6bc7f;
    border-radius: 10px;
    padding: 0.62rem 0.72rem;
    background: linear-gradient(180deg, #fffdf7 0%, #f8f4e8 100%);
}

.admin-tech-lock-panel h3 {
    margin: 0;
    color: #6f541e;
    font-size: 0.96rem;
}

.admin-tech-lock-panel p {
    margin: 0.2rem 0 0;
    color: #7d6540;
    font-size: 0.84rem;
    line-height: 1.35;
}

.admin-tech-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.admin-tech-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-tech-switch-track {
    width: 48px;
    height: 26px;
    border-radius: 999px;
    background: #cfd8dc;
    border: 1px solid #b7c4ca;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.admin-tech-switch-thumb {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ffffff;
    position: absolute;
    left: 2px;
    top: 2px;
    box-shadow: 0 1px 3px rgba(23, 32, 44, 0.2);
    transition: transform 0.2s ease;
}

.admin-tech-switch input:checked + .admin-tech-switch-track {
    background: #2f8b67;
    border-color: #2f8b67;
}

.admin-tech-switch input:checked + .admin-tech-switch-track .admin-tech-switch-thumb {
    transform: translateX(22px);
}

.admin-tech-switch-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #42556f;
}

.admin-tech-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.admin-tech-fieldset[disabled] {
    opacity: 0.62;
    filter: grayscale(0.1);
    pointer-events: none;
}

@media (max-width: 680px) {
    .admin-tech-lock-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-home-direction-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-home-direction-actions .btn {
        width: 100%;
    }

    .admin-home-direction-chip-row {
        grid-template-columns: 1fr;
    }

    .admin-direction-link-row {
        grid-template-columns: 1fr;
    }
}

.admin-repeater {
    display: grid;
    gap: 0.85rem;
}

.admin-repeat-item {
    border-radius: 14px;
    border: 1px solid #d4e0e8;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    box-shadow: 0 8px 18px rgba(22, 53, 76, 0.07);
    padding: 0.95rem;
    display: grid;
    gap: 0.72rem;
}

.admin-repeat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.admin-repeat-head h3 {
    margin: 0;
    color: #1f4742;
    font-size: 1.02rem;
}

.admin-repeat-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.admin-home-directions-editor {
    gap: 1rem;
}

.admin-home-direction-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.64rem;
    flex-wrap: wrap;
}

.admin-home-directions-list {
    gap: 0.7rem;
}

.admin-home-direction-item {
    padding: 0;
    overflow: hidden;
}

.admin-home-direction-details {
    border-radius: 14px;
}

.admin-home-direction-summary {
    display: grid;
    gap: 0.2rem;
    cursor: pointer;
    list-style: none;
    padding: 0.9rem 0.95rem;
    background: linear-gradient(180deg, #f9fcff 0%, #f3f8fb 100%);
    border-bottom: 1px solid #d8e4ec;
}

.admin-home-direction-summary::-webkit-details-marker {
    display: none;
}

.admin-home-direction-summary-title {
    color: #152635;
    font-weight: 700;
    line-height: 1.25;
}

.admin-home-direction-summary-meta {
    color: #617080;
    font-size: 0.82rem;
    line-height: 1.3;
}

.admin-home-direction-body {
    padding: 0.75rem 0.95rem 0.95rem;
    display: grid;
    gap: 0.78rem;
}

.admin-home-direction-block {
    border: 1px solid #d9e4ec;
    border-radius: 12px;
    background: #fcfdff;
    padding: 0.74rem;
    display: grid;
    gap: 0.62rem;
}

.admin-home-direction-block h4 {
    margin: 0;
    color: #1f374b;
    font-size: 0.94rem;
    line-height: 1.3;
}

.admin-home-direction-chips {
    gap: 0.54rem;
}

.admin-home-direction-chip-row {
    border: 1px solid #dce6ee;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.56rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 0.45rem;
    align-items: end;
}

.admin-directions-list-card {
    display: grid;
    gap: 0.72rem;
}

.admin-directions-table td {
    vertical-align: top;
}

.admin-directions-table td:last-child {
    white-space: nowrap;
}

.admin-directions-links-list {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.24rem;
}

.admin-users-modal-dialog.admin-direction-editor-modal-dialog {
    width: 85vw;
    max-width: 85vw;
    height: 85vh;
    max-height: 85vh;
    margin: 7.5vh auto;
    padding: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
}

.admin-direction-editor-modal-head {
    padding: 0.9rem 3.1rem 0.8rem 1rem;
    border-bottom: 1px solid #d8e3eb;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
}

.admin-direction-editor-modal-head h3 {
    margin: 0;
}

.admin-direction-editor-modal-body {
    min-height: 0;
}

.admin-direction-editor-modal-body iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.admin-direction-editor-overview {
    border: 1px solid #d7e2ea;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.9rem;
    background: linear-gradient(160deg, #fbfdff 0%, #f4f8fc 100%);
    display: grid;
    gap: 0.7rem;
}

.admin-direction-editor-overview-head h2 {
    margin: 0;
    color: #1b3248;
    font-size: 1.06rem;
}

.admin-direction-editor-overview-head p {
    margin: 0.26rem 0 0;
    color: #556a80;
    font-size: 0.86rem;
    line-height: 1.4;
}

.admin-direction-editor-steps {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem 0.9rem;
}

.admin-direction-editor-steps li {
    color: #3f566e;
    font-size: 0.84rem;
    line-height: 1.35;
}

.admin-direction-editor-steps a {
    color: #204f7d;
    text-decoration: none;
    border-bottom: 1px dashed rgba(32, 79, 125, 0.35);
}

.admin-direction-editor-steps a:hover {
    color: #1a3f66;
    border-bottom-color: rgba(26, 63, 102, 0.7);
}

@media (max-width: 1100px) {
    .admin-direction-editor-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.admin-direction-editor-tip {
    margin: 0;
    border: 1px solid #cfe0ec;
    border-radius: 12px;
    padding: 0.55rem 0.65rem;
    background: #ffffff;
    color: #51667d;
    font-size: 0.8rem;
    line-height: 1.4;
}

.admin-direction-editor-form {
    gap: 1rem;
}

.admin-direction-editor-block {
    border: 1px solid #d8e4ec;
    border-radius: 16px;
    padding: 0.95rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    display: grid;
    gap: 0.72rem;
    scroll-margin-top: 0.8rem;
}

.admin-direction-editor-block-head {
    display: grid;
    gap: 0.26rem;
    padding-bottom: 0.48rem;
    border-bottom: 1px solid #e2ebf2;
}

.admin-direction-editor-step {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.14rem 0.52rem;
    background: #e8f2f7;
    color: #2d4f69;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.admin-direction-editor-block h2 {
    margin: 0;
    color: #1b3248;
    font-size: 1.04rem;
    line-height: 1.2;
}

.admin-direction-editor-block-head p {
    margin: 0;
    color: #5a6f84;
    font-size: 0.82rem;
    line-height: 1.38;
}

.admin-direction-editor-hint {
    margin: 0;
    border-left: 3px solid #9ec4be;
    border-radius: 8px;
    background: #f3faf8;
    padding: 0.5rem 0.62rem;
    color: #3f5f64;
    font-size: 0.8rem;
    line-height: 1.4;
}

.admin-direction-editor-empty {
    margin: 0;
    border: 1px dashed #cbd9e4;
    border-radius: 10px;
    padding: 0.7rem;
    color: #5c7187;
    background: #f9fcff;
    font-size: 0.84rem;
}

.admin-direction-link-row {
    border: 1px solid #dce6ee;
    border-radius: 10px;
    background: #fbfdff;
    padding: 0.62rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(210px, auto);
    gap: 0.5rem;
    align-items: end;
}

.admin-direction-link-row label {
    margin: 0;
}

.admin-direction-link-actions {
    display: grid;
    gap: 0.36rem;
    justify-items: end;
}

.admin-direction-link-picker {
    display: inline-grid;
    grid-template-columns: minmax(130px, 1fr) auto;
    gap: 0.34rem;
    align-items: center;
    width: 100%;
}

.admin-direction-link-picker select {
    min-width: 0;
    font-size: 0.78rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.admin-direction-link-picker .btn {
    white-space: nowrap;
}

.admin-direction-what-board {
    border: 1px solid #d5e0ea;
    border-radius: 12px;
    background: #f7fbff;
    padding: 0.56rem;
    display: grid;
    gap: 0.48rem;
}

.admin-direction-what-hint {
    margin: 0;
    font-size: 0.75rem;
    padding: 0.42rem 0.5rem;
}

.admin-direction-what-groups {
    gap: 0.45rem;
}

.admin-direction-what-group-row {
    border: 1px solid #d8e4ee;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.48rem;
    display: grid;
    gap: 0.38rem;
}

.admin-direction-what-group-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem;
    align-items: end;
}

.admin-direction-what-group-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(130px, 0.42fr);
    gap: 0.36rem;
}

.admin-direction-what-items {
    gap: 0.34rem;
}

.admin-direction-compact-actions {
    gap: 0.28rem;
}

.admin-direction-compact-actions .btn.btn-sm {
    min-height: 28px;
    padding: 0 0.42rem;
    font-size: 0.74rem;
}

.admin-direction-what-board > .btn.btn-sm {
    justify-self: start;
}

.admin-direction-what-group-row > .btn.btn-sm {
    justify-self: start;
}

.admin-direction-pair-row {
    border: 1px solid #dce7ef;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 0.44rem;
    align-items: end;
}

.admin-direction-pair-row .admin-repeat-actions {
    align-self: stretch;
    align-items: flex-end;
}

.admin-direction-field-compact {
    gap: 0.22rem !important;
    font-size: 0.76rem !important;
    color: #5a6e83 !important;
    font-weight: 600 !important;
}

.admin-direction-field-compact input {
    font-size: 0.83rem;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
}

.admin-direction-what-board .admin-direction-field-compact {
    font-size: 0.72rem !important;
}

.admin-direction-what-board .admin-direction-field-compact input {
    font-size: 0.8rem;
    padding-top: 0.36rem;
    padding-bottom: 0.36rem;
}

.admin-direction-our-board {
    border: 1px solid #d5e0ea;
    border-radius: 12px;
    background: #f7fbff;
    padding: 0.56rem;
    display: grid;
    gap: 0.48rem;
}

.admin-direction-our-hint {
    margin: 0;
    font-size: 0.75rem;
    padding: 0.42rem 0.5rem;
}

.admin-direction-our-services {
    gap: 0.45rem;
}

.admin-direction-our-service-row {
    border: 1px solid #d8e4ee;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.48rem;
    display: grid;
    gap: 0.38rem;
}

.admin-direction-our-meta-fields {
    display: grid;
    grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr);
    gap: 0.36rem;
}

.admin-direction-our-items {
    gap: 0.34rem;
}

.admin-direction-our-board > .btn.btn-sm {
    justify-self: start;
}

.admin-direction-our-service-row > .btn.btn-sm {
    justify-self: start;
}

.admin-direction-our-board .admin-direction-field-compact {
    font-size: 0.72rem !important;
}

.admin-direction-our-board .admin-direction-field-compact input {
    font-size: 0.8rem;
    padding-top: 0.36rem;
    padding-bottom: 0.36rem;
}

.admin-direction-doctors-grid {
    display: grid;
    gap: 0.62rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-direction-doctors-grid > .admin-direction-editor-empty {
    grid-column: 1 / -1;
}

.admin-direction-doctor-card {
    min-width: 0;
}

.admin-direction-doctor-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-direction-doctor-shell {
    border: 1px solid #d8e4ec;
    border-radius: 12px;
    background: #ffffff;
    padding: 0.62rem 0.6rem 0.58rem;
    min-height: 162px;
    height: 100%;
    display: grid;
    grid-template-rows: auto auto 1fr;
    justify-items: center;
    gap: 0.38rem;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-direction-doctor-shell:hover {
    border-color: #b7cbd9;
    box-shadow: 0 10px 20px rgba(23, 48, 72, 0.08);
}

.admin-direction-doctor-checkbox:checked + .admin-direction-doctor-shell {
    border-color: #6ea892;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbf8 100%);
    box-shadow: 0 12px 24px rgba(38, 94, 79, 0.12);
}

.admin-direction-doctor-checkmark {
    position: absolute;
    top: 0.34rem;
    right: 0.34rem;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid #cad8e4;
    color: transparent;
    background: #f7fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-direction-doctor-checkmark .ms-icon {
    font-size: 0.86rem;
    line-height: 1;
}

.admin-direction-doctor-checkbox:checked + .admin-direction-doctor-shell .admin-direction-doctor-checkmark {
    border-color: #4f8c74;
    background: #4f8c74;
    color: #ffffff;
}

.admin-direction-doctor-avatar {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #d5e0ea;
    background: linear-gradient(180deg, #f6f9fc 0%, #ecf3f8 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.admin-direction-doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-direction-doctor-avatar-fallback {
    font-size: 0.76rem;
    font-weight: 700;
    color: #50657d;
    letter-spacing: 0.03em;
}

.admin-direction-doctor-meta {
    min-width: 0;
    display: grid;
    gap: 0.18rem;
    align-content: start;
}

.admin-direction-doctor-name {
    color: #1f3347;
    font-size: 0.82rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-direction-doctor-specialty {
    color: #62768c;
    font-size: 0.74rem;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1260px) {
    .admin-direction-doctors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .admin-direction-doctors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.admin-direction-editor-form textarea::placeholder,
.admin-direction-editor-form input::placeholder {
    color: #7f8ea1;
}

.admin-direction-editor-form .admin-home-direction-actions {
    margin-top: 0.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid #dbe6ee;
}

@media (max-width: 700px) {
    .admin-direction-editor-steps {
        grid-template-columns: 1fr;
    }

    .admin-direction-link-actions {
        justify-items: stretch;
    }

    .admin-direction-link-picker {
        grid-template-columns: 1fr;
    }

    .admin-direction-what-group-head {
        grid-template-columns: 1fr;
    }

    .admin-direction-what-group-fields {
        grid-template-columns: 1fr;
    }

    .admin-direction-our-meta-fields {
        grid-template-columns: 1fr;
    }

    .admin-direction-pair-row {
        grid-template-columns: 1fr;
    }

    .admin-direction-doctors-grid {
        grid-template-columns: 1fr;
    }

    .admin-doctors-toolbar,
    .admin-doctors-catalog-head {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-doctors-toolbar-actions {
        width: 100%;
    }

    .admin-doctors-toolbar-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

.admin-checkbox {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    align-self: end;
    font-weight: 600;
    color: #2e5553;
}

.admin-checkbox input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    border-radius: 4px;
    margin: 0;
    accent-color: #2e7d6b;
}

.admin-seo-panel {
    border: 1px solid #cadee7;
    border-radius: 12px;
    background: linear-gradient(180deg, #f7fbff 0%, #f4f9f7 100%);
    padding: 0.72rem;
    display: grid;
    gap: 0.52rem;
}

.admin-seo-panel h4 {
    margin: 0;
    font-size: 0.92rem;
    color: #234944;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-seo-panel .small {
    font-size: 0.75rem;
    color: #5f7489;
}

.admin-seo-panel .small.is-danger {
    color: #a3382b;
    font-weight: 700;
}

.admin-seo-preview {
    border: 1px dashed #c2d4df;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.58rem 0.62rem;
    display: grid;
    gap: 0.28rem;
    margin-top: 0.18rem;
}

.admin-seo-preview-title {
    margin: 0;
    color: #133f8f;
    font-size: 0.93rem;
    line-height: 1.25;
    font-weight: 600;
}

.admin-seo-preview-desc {
    margin: 0;
    color: #4e6176;
    font-size: 0.8rem;
    line-height: 1.35;
}

.admin-media-box {
    display: grid;
    gap: 0.62rem;
    margin-bottom: 0.8rem;
    border-radius: 14px;
    border: 1px solid #d0dde5;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
}

.admin-media-box h2 {
    margin: 0;
    color: #1f4742;
    font-size: 1.05rem;
}

.admin-media-controls {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    flex-wrap: wrap;
}

.admin-media-progress {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #dce8e4;
    overflow: hidden;
}

.admin-media-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #3ba58a 0%, #2e7d6b 100%);
    transition: width 0.18s ease;
}

.admin-media-result {
    display: grid;
    gap: 0.5rem;
}

.admin-media-preview-wrap {
    border: 1px solid #cfdbe3;
    border-radius: 10px;
    padding: 0.42rem;
    background: #f9fcfd;
    width: fit-content;
    max-width: 100%;
}

.admin-media-preview {
    display: block;
    width: auto;
    max-width: min(360px, 100%);
    max-height: 180px;
    border-radius: 8px;
    object-fit: contain;
}

.admin-generated-password {
    display: inline-block;
    margin: 0.42rem 0;
    padding: 0.42rem 0.58rem;
    border-radius: 8px;
    border: 1px solid #bfd4ca;
    background: #f3faf7;
    color: #1d4a43;
    font-weight: 700;
}

.admin-users-list-card {
    margin-bottom: 0.95rem;
}

.admin-users-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.7rem;
}

.admin-users-list-head h2 {
    margin: 0;
}

.admin-users-create-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.admin-users-plus-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #2f8b67;
    background: linear-gradient(180deg, #2f9f75 0%, #2f8b67 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    box-shadow: 0 8px 18px rgba(24, 90, 68, 0.22);
}

.admin-users-plus-btn:hover {
    transform: translateY(-1px);
}

.admin-users-plus-btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    box-shadow: none;
}

.admin-users-plus-btn .ms-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.admin-doctors-layout {
    display: grid;
    gap: 1rem;
}

.admin-questionnaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0.9rem;
}

.admin-questionnaire-card {
    border: 1px solid #d4e0e8;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    padding: 0.9rem;
    display: grid;
    gap: 0.8rem;
}

.admin-questionnaire-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.admin-questionnaire-card-head h3 {
    margin: 0;
    color: #1f4742;
}

.admin-questionnaire-card-head .small {
    margin: 0.18rem 0 0;
    color: #5f7288;
}

.admin-questionnaire-card-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.admin-questionnaire-card-stats span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 0.62rem;
    border-radius: 999px;
    background: #eef6f3;
    color: #2f6459;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-questionnaire-card-body {
    display: grid;
    gap: 0.85rem;
}

.admin-questionnaire-meta-stack {
    display: grid;
    gap: 0.85rem;
}

.admin-questionnaire-image-meta {
    display: grid;
    gap: 0.34rem;
}

.admin-questionnaire-image-path {
    margin: 0;
    padding: 0.72rem 0.82rem;
    border: 1px solid #c5d3db;
    border-radius: 10px;
    background: #f9fcfd;
    color: #314963;
    font: 600 0.92rem/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    word-break: break-all;
}

.admin-questionnaire-links-box {
    display: grid;
    gap: 0.5rem;
}

.admin-questionnaire-links-label {
    color: #244743;
    font-size: 0.92rem;
    font-weight: 600;
}

.admin-questionnaire-links-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.55rem;
}

.admin-checkbox--tile {
    min-height: 48px;
    align-self: stretch;
    border: 1px solid #d4e0e8;
    border-radius: 12px;
    padding: 0.62rem 0.74rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
}

.admin-checkbox--tile:has(input:checked) {
    border-color: #86b7aa;
    background: linear-gradient(180deg, #eef8f4 0%, #e7f4ef 100%);
    box-shadow: 0 8px 18px rgba(27, 84, 68, 0.08);
}

.admin-doctors-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.admin-doctors-toolbar h2,
.admin-doctors-catalog-head h3 {
    margin: 0;
    color: #1f4742;
}

.admin-doctors-toolbar .small,
.admin-doctors-catalog-head .small {
    margin: 0.24rem 0 0;
    color: #5f7288;
}

.admin-doctors-toolbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.admin-doctors-catalog-block,
.admin-doctors-editors-wrap {
    border: 1px solid #d4e0e8;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    padding: 0.9rem;
    display: grid;
    gap: 0.8rem;
}

.admin-doctors-storage {
    display: none;
}

.admin-doctors-catalog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.admin-doctors-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.admin-doctor-card {
    border: 1px solid #d0dde5;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbf9 100%);
    box-shadow: 0 10px 22px rgba(25, 56, 79, 0.08);
    overflow: hidden;
    display: grid;
    min-height: 100%;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.admin-doctor-card:hover,
.admin-doctor-card.is-current {
    transform: translateY(-1px);
    border-color: #a9c8be;
    box-shadow: 0 16px 30px rgba(25, 56, 79, 0.12);
}

.admin-doctor-card--inactive {
    opacity: 0.68;
    filter: saturate(0.78);
}

.admin-doctor-card-media {
    aspect-ratio: 4 / 3;
    background: #edf4f2;
    overflow: hidden;
}

.admin-doctor-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.admin-doctor-card-body {
    padding: 0.78rem 0.82rem 0.3rem;
    display: grid;
    gap: 0.28rem;
}

.admin-doctor-card-topline {
    display: flex;
    justify-content: flex-start;
}

.admin-doctor-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: #e7f6ef;
    color: #1f6c57;
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-doctor-card-badge--muted {
    background: #eef2f5;
    color: #667785;
}

.admin-doctor-card h4 {
    margin: 0;
    color: #214545;
    font-size: 0.98rem;
    line-height: 1.25;
}

.admin-doctor-card p {
    margin: 0;
    color: #557083;
    font-size: 0.82rem;
    line-height: 1.35;
}

.admin-doctor-card-actions {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    padding: 0 0.82rem 0.82rem;
    margin-top: auto;
}

.admin-doctor-editor {
    display: grid;
    gap: 0.8rem;
    border-radius: 16px;
    border: 1px solid #d0dde5;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(25, 56, 79, 0.08);
}

.admin-doctor-editor-head {
    align-items: flex-start;
}

.admin-doctor-editor-head .small {
    margin: 0.2rem 0 0;
    color: #5f7388;
}

.admin-doctor-editor.is-current {
    border-color: #b8d4cb;
}

.admin-doctor-modal-dialog {
    width: 88vw;
    max-width: 88vw;
    height: 88vh;
    max-height: 88vh;
}

.admin-doctor-modal-body .admin-doctor-editor {
    display: grid !important;
}

.admin-doctors-empty {
    border: 1px dashed #cad8e0;
    border-radius: 12px;
    background: #f7fbfd;
    color: #5f7288;
    padding: 0.9rem;
    text-align: center;
    font-weight: 600;
}

.admin-doctors-toolbar--bottom {
    padding-top: 0.1rem;
    border-top: 1px solid #e1e8ee;
}

.admin-users-plus-btn.is-open .ms-icon {
    transform: rotate(45deg);
}

.admin-users-create-popover {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    width: min(340px, calc(100vw - 3rem));
    border: 1px solid #cfe0dc;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(17, 36, 59, 0.18);
    padding: 0.8rem;
    z-index: 30;
}

.admin-users-table .admin-users-actions-col {
    width: 120px;
    text-align: center;
}

.admin-users-table .admin-users-actions {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.admin-users-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #c9d8e2;
    background: #ffffff;
    color: #2f8b67;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.admin-users-icon-btn:hover {
    background: #f1f8f5;
    border-color: #a3c5bb;
}

.admin-users-icon-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.admin-users-icon-btn.danger {
    color: #b84d56;
    border-color: #e7c6ca;
}

.admin-users-icon-btn.danger:hover {
    background: #fdf2f3;
    border-color: #da9ea5;
}

.admin-users-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.admin-users-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.admin-users-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.46);
}

.admin-users-modal-dialog {
    position: relative;
    width: min(520px, calc(100vw - 2rem));
    max-width: min(520px, calc(100vw - 2rem));
    margin: min(10vh, 70px) auto;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #d2dee6;
    padding: 1rem;
    box-shadow: 0 24px 52px rgba(19, 35, 58, 0.3);
}

.admin-users-modal-dialog.admin-rich-editor-modal-dialog {
    width: min(92vw, 1600px);
    max-width: min(92vw, 1600px);
    height: 90vh;
    max-height: 90vh;
    margin: 5vh auto;
}

.admin-users-modal-dialog.admin-seo-page-modal-dialog,
.admin-users-modal-dialog.admin-direction-editor-modal-dialog,
.admin-users-modal-dialog.admin-doctor-modal-dialog {
    width: min(92vw, 1600px);
    max-width: min(92vw, 1600px);
    height: 90vh;
    max-height: 90vh;
    margin: 5vh auto;
}

@media (max-width: 820px) {
    .admin-users-modal-dialog.admin-rich-editor-modal-dialog,
    .admin-users-modal-dialog.admin-seo-page-modal-dialog,
    .admin-users-modal-dialog.admin-direction-editor-modal-dialog,
    .admin-users-modal-dialog.admin-doctor-modal-dialog {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
        height: calc(100vh - 1rem);
        max-height: calc(100vh - 1rem);
        margin: 0.5rem auto;
    }
}

.admin-users-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #d0dbe4;
    background: #f7fafb;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-users-modal-dialog h3 {
    margin: 0 0 0.72rem;
}

.admin-users-delete-form {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    justify-content: flex-end;
    margin-top: 0.9rem;
}

.btn.danger {
    background: linear-gradient(180deg, #ca636c 0%, #b84d56 100%);
    border-color: #a63d47;
    color: #ffffff;
}

.btn.danger:hover {
    color: #ffffff;
    filter: brightness(0.97);
}

@media (max-width: 760px) {
    .admin-users-list-head {
        align-items: flex-start;
    }

    .admin-users-create-popover {
        right: auto;
        left: 0;
        width: min(320px, calc(100vw - 2.4rem));
    }

    .admin-users-delete-form {
        justify-content: stretch;
    }

    .admin-users-delete-form .btn {
        flex: 1 1 auto;
    }
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.7rem;
}

.tab {
    min-height: var(--control-height-sm);
    padding: 0 0.7rem;
    border: 1px solid var(--control-border);
    border-radius: 10px;
    background: var(--control-bg);
    text-decoration: none;
    color: var(--control-text);
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.tab:hover {
    background: var(--control-bg-hover);
    border-color: #b7c9c0;
    text-decoration: none;
}

.tab.active {
    background: linear-gradient(180deg, #eaf7f2 0%, #e1f1eb 100%);
    border-color: #9fcabd;
    color: #1f4f42;
}

.it-portal-panel,
.it-portal-list {
    margin-bottom: 0.9rem;
}

.it-portal-panel-head {
    margin-bottom: 0.72rem;
}

.it-portal-panel-head h2 {
    margin: 0;
    color: #15293f;
    font-size: 1.2rem;
}

.it-portal-panel-head p {
    margin: 0.3rem 0 0;
    color: #5a6d84;
    font-size: 0.92rem;
    line-height: 1.45;
}

.it-portal-list h3 {
    margin: 0 0 0.62rem;
    color: #1f3650;
    font-size: 1.03rem;
}

.it-portal-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-bottom: 0.7rem;
}

.it-portal-form-source {
    display: none !important;
}

.it-portal-table {
    font-size: 0.83rem;
}

.it-portal-table thead th {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    padding-top: 0.56rem;
    padding-bottom: 0.56rem;
}

.it-portal-table td {
    font-size: 0.81rem;
    line-height: 1.32;
    padding-top: 0.54rem;
    padding-bottom: 0.54rem;
    vertical-align: middle;
}

.it-portal-create-wrap {
    position: relative;
}

.it-portal-create-popover {
    width: min(760px, calc(100vw - 3rem));
    max-height: min(82vh, 760px);
    overflow: auto;
}

.it-service-view-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem 0.95rem;
}

.it-service-view-grid dt {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.2rem;
}

.it-service-view-grid dd {
    margin: 0;
    color: #233a57;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.it-service-view-block {
    margin-top: 0.85rem;
    padding: 0.72rem 0.78rem;
    border: 1px solid #d5e0e9;
    border-radius: 10px;
    background: linear-gradient(180deg, #fcfefe 0%, #f6faf9 100%);
}

.it-service-view-block h4 {
    margin: 0 0 0.45rem;
    color: #1f3f66;
    font-size: 0.9rem;
}

.it-service-view-block p,
.it-service-view-block pre {
    margin: 0;
    color: #304d67;
    line-height: 1.48;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
}

.it-portal-form-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.it-portal-list table td code {
    font: 600 0.72rem/1.25 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: #365a77;
    background: #eef4f8;
    border: 1px solid #d4e0e9;
    border-radius: 7px;
    padding: 0.16rem 0.32rem;
}

.it-secret-value {
    display: inline-block;
    min-width: 8ch;
    font: 700 0.85rem/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: #1f4f42;
}

.it-portal-list .small {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.4;
}

.it-portal-editor-dialog {
    width: min(1040px, 92vw);
    max-width: 92vw;
}

.it-portal-editor-body .admin-form {
    display: grid;
    gap: 0.72rem;
}

.it-portal-editor-body .it-portal-form-actions {
    margin-top: 0.2rem;
}

@media (max-width: 980px) {
    .it-portal-form-actions .btn {
        flex: 1 1 auto;
    }

    .it-portal-list-head {
        align-items: flex-start;
    }

    .it-portal-create-popover {
        width: min(560px, calc(100vw - 2rem));
        right: 0;
    }

    .it-service-view-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .it-portal-create-popover {
        width: min(420px, calc(100vw - 1.4rem));
        right: 0;
    }
}

/* Admin layout v2 */
.admin-body {
    margin: 0;
    min-height: 100vh;
    background: #f3f5f8;
    color: #1f2937;
}

.admin-body-auth .admin-wrap {
    max-width: 460px;
    margin: 5.5rem auto;
    width: min(460px, calc(100% - 2rem));
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    border-right: 1px solid #d8dee7;
    background: #f5f7fa;
}

.admin-sidebar-brand {
    border-bottom: 1px solid #d8dee7;
    padding: 1.05rem 1.15rem;
}

.admin-sidebar-brand a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
}

.admin-sidebar-brand img {
    display: block;
    width: auto;
    height: 52px;
    max-width: 100%;
}

.admin-sidebar-decor {
    border-top: 1px solid #d8dee7;
    border-bottom: 1px solid #d8dee7;
    background: #ffffff;
    padding: 0;
    line-height: 0;
    aspect-ratio: 3010 / 2000;
    overflow: hidden;
}

.admin-sidebar-decor img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.admin-sidebar-nav {
    padding: 0.9rem 0.7rem;
    display: grid;
    gap: 0.24rem;
    align-content: start;
    overflow-y: auto;
}

.admin-nav-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.56rem 0.72rem;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    font-size: 0.93rem;
    font-weight: 600;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.admin-nav-divider {
    border: 0;
    border-top: 1px solid #d8dee7;
    margin: 0.42rem 0.1rem 0.2rem;
}

.admin-nav-section-title {
    margin: 0.18rem 0.2rem 0.12rem;
    color: #6b7280;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.admin-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #9ca3af;
    flex: 0 0 auto;
}

.admin-nav-icon {
    font-size: 1.1rem;
    line-height: 1;
    color: #64748b;
    flex: 0 0 auto;
}

.admin-nav-link:hover {
    background: #e9edf3;
    text-decoration: none;
    color: #1f2937;
}

.admin-nav-link.is-active {
    background: #2f8b67;
    color: #ffffff;
}

.admin-nav-link.is-active .admin-nav-icon {
    color: #ffffff;
}

.admin-nav-link.is-active .admin-nav-dot {
    background: #ffffff;
}

.admin-sidebar-footer {
    border-top: 1px solid #d8dee7;
    padding: 0.8rem 0.86rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.62rem;
}

.admin-sidebar-user {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.admin-sidebar-user strong {
    color: #1f2937;
    font-size: 0.92rem;
}

.admin-sidebar-user span {
    color: #6b7280;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-sidebar-logout {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid #c5d0df;
    background: #ffffff;
    color: #375775;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.admin-sidebar-footer form {
    justify-self: end;
    margin: 0;
}

.admin-sidebar-logout .ms-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.admin-sidebar-logout:hover {
    background: #eff5f3;
    border-color: #7cb69b;
    color: #2f8b67;
}

.admin-main {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
}

.admin-topbar {
    min-height: 64px;
    border-bottom: 1px solid #d8dee7;
    background: #f7f9fc;
    padding: 0 1.55rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.admin-to-site {
    color: #526581;
    font-weight: 600;
    text-decoration: none;
}

.admin-to-site:hover {
    color: #2f8b67;
    text-decoration: none;
}

.admin-content {
    padding: 1.3rem 1.45rem 2rem;
}

.admin-body-embed {
    background: #ffffff;
}

.admin-content.admin-content-embed {
    min-height: 100vh;
    padding: 0.9rem 1rem 1rem;
}

.admin-content > .card,
.admin-content > .admin-form--section,
.admin-content > .admin-media-box {
    background: #ffffff;
}

.admin-page-head {
    margin-bottom: 1rem;
}

.admin-page-head h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.46rem, 1.6vw, 1.86rem);
    line-height: 1.12;
}

.admin-page-head p {
    margin: 0.3rem 0 0;
    color: #64748b;
    font-size: 0.94rem;
}

.admin-dashboard {
    display: grid;
    gap: 1rem;
}

.admin-dash-section {
    background: #ffffff;
    border: 1px solid #d5dde8;
    border-radius: 16px;
    padding: 0.9rem;
    box-shadow: 0 8px 18px rgba(27, 44, 64, 0.06);
}

.admin-dash-section-head {
    margin-bottom: 0.72rem;
}

.admin-dash-section-head h2 {
    margin: 0;
    color: #182230;
    font-size: 1.04rem;
    line-height: 1.2;
}

.admin-dash-section-head p {
    margin: 0.26rem 0 0;
    color: #6b7280;
    font-size: 0.84rem;
    line-height: 1.35;
}

.admin-dash-grid {
    display: grid;
    gap: 0.72rem;
    grid-template-columns: repeat(auto-fit, minmax(164px, 1fr));
}

.admin-dash-tile {
    --dash-bg-top: #f7faff;
    --dash-bg-bottom: #f1f5fb;
    --dash-border: #d2dceb;
    --dash-border-hover: #bcc9d8;
    --dash-icon: #355a78;
    min-height: 156px;
    border-radius: 14px;
    border: 1px solid var(--dash-border);
    background: linear-gradient(180deg, var(--dash-bg-top) 0%, var(--dash-bg-bottom) 100%);
    text-decoration: none;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.58rem;
    text-align: center;
    padding: 0.85rem 0.75rem;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.admin-dash-tile-icon {
    font-size: 2.52rem;
    width: 1em;
    height: 1em;
    color: var(--dash-icon);
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 48;
}

.admin-dash-tile-title {
    color: #1f2937;
    font-size: 0.92rem;
    line-height: 1.32;
    font-weight: 700;
    max-width: 18ch;
}

.admin-dash-tile--ops {
    --dash-bg-top: #f4f9ff;
    --dash-bg-bottom: #edf4fb;
    --dash-border: #cfdceb;
    --dash-border-hover: #b8cce2;
    --dash-icon: #2f5a7f;
}

.admin-dash-tile--settings {
    --dash-bg-top: #f4f9f3;
    --dash-bg-bottom: #edf5ee;
    --dash-border: #cfe0d1;
    --dash-border-hover: #b7cfba;
    --dash-icon: #3b6b4f;
}

.admin-dash-tile--content {
    --dash-bg-top: #fbf7ef;
    --dash-bg-bottom: #f6f1e7;
    --dash-border: #e2d8c8;
    --dash-border-hover: #d3c4ac;
    --dash-icon: #725d3f;
}

.admin-dash-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 22px rgba(24, 42, 62, 0.12);
    border-color: var(--dash-border-hover);
    text-decoration: none;
}

.admin-dash-tile:focus-visible {
    outline: 2px solid #4b8f79;
    outline-offset: 2px;
}

.admin-stats-periods {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
}

.admin-stats-period {
    min-height: 34px;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    border: 1px solid #ced7e4;
    background: #f7f9fc;
    color: #334155;
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 650;
}

.admin-stats-period:hover {
    text-decoration: none;
    background: #eef3f9;
    border-color: #b9c8dc;
}

.admin-stats-period.is-active {
    border-color: #2f8b67;
    background: #2f8b67;
    color: #ffffff;
}

.admin-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.7rem;
    margin-bottom: 0.85rem;
}

.admin-stats-card {
    border: 1px solid #d5dde8;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%);
    padding: 0.72rem 0.74rem;
}

.admin-stats-card-label {
    margin: 0;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.25;
}

.admin-stats-card-value {
    margin: 0.34rem 0 0;
    color: #0f172a;
    font-size: 1.48rem;
    line-height: 1.1;
    font-weight: 800;
}

.admin-stats-tables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.74rem;
}

.admin-stats-table-wrap {
    border: 1px solid #dbe3ed;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.admin-stats-table-wrap h3 {
    margin: 0;
    padding: 0.56rem 0.7rem;
    border-bottom: 1px solid #e1e8f1;
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.84rem;
}

.admin-stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.admin-stats-table th,
.admin-stats-table td {
    text-align: left;
    padding: 0.52rem 0.7rem;
    border-bottom: 1px solid #edf2f7;
    vertical-align: top;
}

.admin-stats-table th {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    background: #ffffff;
}

.admin-stats-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-content .admin-grid > .card {
    min-height: 84px;
    display: grid;
    align-items: center;
}

.admin-content .admin-json-details {
    margin-top: 1rem;
}

@media (max-width: 1180px) {
    .admin-shell {
        grid-template-columns: 232px minmax(0, 1fr);
    }
}

@media (max-width: 980px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        border-right: 0;
        border-bottom: 1px solid #d8dee7;
    }

    .admin-sidebar-brand {
        padding: 0.7rem 0.9rem;
    }

    .admin-sidebar-brand img {
        height: 42px;
    }

    .admin-sidebar-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.38rem;
        padding: 0.7rem 0.8rem;
    }

    .admin-nav-link {
        min-height: 38px;
        font-size: 0.88rem;
    }

    .admin-sidebar-footer {
        padding: 0.7rem 0.8rem;
    }

    .admin-topbar {
        min-height: 52px;
        padding: 0 0.85rem;
    }

    .admin-content {
        padding: 0.95rem 0.8rem 1.35rem;
    }

    .admin-dash-tile {
        min-height: 142px;
    }

    .admin-dash-tile-icon {
        font-size: 2.24rem;
    }

    .admin-stats-tables {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 900px) and (min-width: 981px) {
    .hero-section.has-video-bg {
        min-height: 56vh;
        max-height: none;
        padding-top: clamp(1.1rem, 2.1vh, 1.8rem);
        padding-bottom: clamp(1.15rem, 2.2vh, 1.8rem);
    }

    .hero-section.has-video-bg.video-wave-bottom::before {
        bottom: calc(clamp(24px, 3.8vw, 38px) - 38px);
        height: clamp(32px, 5.2vw, 54px);
    }

    .hero-section.has-video-bg.video-wave-bottom::after {
        height: clamp(30px, 4.8vw, 52px);
    }

    .hero-section.has-video-bg .hero-copy {
        max-width: min(900px, 92vw);
    }

    .hero-section.home-main-hero .hero-copy-panel,
    .hero-section.has-video-bg:not(.home-main-hero) .hero-copy-panel {
        padding: clamp(0.78rem, 1.7vh, 1.2rem) clamp(0.78rem, 1.8vw, 1.2rem);
        border-radius: 18px;
    }

    .hero-section.home-main-hero .hero-copy {
        transform: translateY(0);
    }

    .hero-section.home-main-hero.has-video-bg {
        min-height: clamp(500px, calc(100vh - 90px), 620px);
    }

    .hero-section.home-main-hero .hero-grid.video-mode {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .hero-section.home-main-hero .eyebrow,
    .hero-section.has-video-bg:not(.home-main-hero) .eyebrow {
        margin-bottom: 0.55rem;
    }

    .hero-section.home-main-hero h1,
    .hero-section.has-video-bg:not(.home-main-hero) h1 {
        font-size: clamp(2rem, 4.6vw, 3.15rem);
        line-height: 1.12;
        margin-bottom: 0.5rem;
    }

    .hero-section.home-main-hero .hero-text .hero-line-chip,
    .hero-section.has-video-bg:not(.home-main-hero) .hero-text .hero-line-chip {
        font-size: clamp(0.96rem, 1.35vw, 1.08rem);
        line-height: 1.34;
    }

    .hero-section.home-main-hero .hero-actions,
    .hero-section.has-video-bg:not(.home-main-hero) .hero-actions {
        margin-top: 0.95rem;
    }

    .hero-section.home-main-hero .btn-primary,
    .hero-section.home-main-hero .btn-light,
    .hero-section.has-video-bg:not(.home-main-hero) .btn-primary,
    .hero-section.has-video-bg:not(.home-main-hero) .btn-light {
        min-height: 50px;
        padding-left: 1.08rem;
        padding-right: 1.08rem;
    }

    .hero-section.home-main-hero .hero-points,
    .hero-section.has-video-bg:not(.home-main-hero) .hero-points {
        margin-top: 0.75rem;
        gap: 0.45rem;
    }

    .hero-section.home-main-hero .hero-points li,
    .hero-section.has-video-bg:not(.home-main-hero) .hero-points li {
        padding: 0.35rem 0.82rem;
        font-size: 0.92rem;
        line-height: 1.28;
    }

}

@media (max-height: 800px) and (min-width: 981px) {
    .hero-section.has-video-bg {
        min-height: 52vh;
        max-height: none;
        padding-top: 0.85rem;
        padding-bottom: 1rem;
    }

    .hero-section.has-video-bg.video-wave-bottom::before {
        bottom: -22px;
        height: 40px;
    }

    .hero-section.has-video-bg.video-wave-bottom::after {
        height: 36px;
    }

    .hero-section.home-main-hero .hero-copy-panel,
    .hero-section.has-video-bg:not(.home-main-hero) .hero-copy-panel {
        padding: 0.72rem 0.8rem;
    }

    .hero-section.home-main-hero .hero-copy {
        transform: translateY(0);
    }

    .hero-section.home-main-hero.has-video-bg {
        min-height: clamp(440px, calc(100vh - 90px), 560px);
    }

    .hero-section.home-main-hero .hero-grid.video-mode {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .hero-section.home-main-hero h1,
    .hero-section.has-video-bg:not(.home-main-hero) h1 {
        font-size: clamp(1.72rem, 3.9vw, 2.65rem);
        line-height: 1.1;
        margin-bottom: 0.38rem;
    }

    .hero-section.home-main-hero .hero-text .hero-line-chip,
    .hero-section.has-video-bg:not(.home-main-hero) .hero-text .hero-line-chip {
        font-size: clamp(0.9rem, 1.18vw, 1rem);
        line-height: 1.3;
    }

    .hero-section.home-main-hero .hero-actions,
    .hero-section.has-video-bg:not(.home-main-hero) .hero-actions {
        margin-top: 0.7rem;
    }

    .hero-section.home-main-hero .btn-primary,
    .hero-section.home-main-hero .btn-light,
    .hero-section.has-video-bg:not(.home-main-hero) .btn-primary,
    .hero-section.has-video-bg:not(.home-main-hero) .btn-light {
        min-height: 46px;
        padding-left: 0.92rem;
        padding-right: 0.92rem;
    }

    .hero-section.home-main-hero .hero-points,
    .hero-section.has-video-bg:not(.home-main-hero) .hero-points {
        margin-top: 0.58rem;
        gap: 0.34rem;
    }

    .hero-section.home-main-hero .hero-points li,
    .hero-section.has-video-bg:not(.home-main-hero) .hero-points li {
        padding: 0.28rem 0.7rem;
        font-size: 0.86rem;
        line-height: 1.24;
    }

}

@media (max-width: 1040px) {
    .header-contact-dropdown {
        width: 58px;
    }

    .phone-card {
        width: 58px;
        min-width: 58px;
        min-height: 54px;
        padding: 0;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0;
        position: relative;
    }

    .phone-card-meta {
        display: none;
    }

    .phone-card-icon {
        width: 2rem;
        height: 2rem;
    }

    .phone-card-caret {
        position: absolute;
        top: 2px;
        right: 2px;
        font-size: 0.92rem;
    }

    .header-contact-panel {
        top: calc(100% + 0.42rem);
        left: auto;
        right: 0;
        width: min(360px, calc(100vw - 1rem));
        transform: none;
        border: 1px solid #d6bc7f;
        border-radius: 14px;
        box-shadow: 0 18px 32px rgba(131, 97, 23, 0.18);
        padding: 0 0.72rem;
    }

    .header-contact-dropdown.is-open .phone-card {
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .header-contact-dropdown.is-open .header-contact-panel {
        border: 1px solid #d6bc7f;
        border-top: 1px solid #d6bc7f;
        border-radius: 14px;
        box-shadow: 0 18px 32px rgba(131, 97, 23, 0.18);
    }
}

@media (max-width: 1080px) {
    .hero-grid,
    .appointment-layout,
    .price-layout,
    .service-guides-grid,
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .appointment-hero-card {
        grid-template-columns: 1fr;
    }

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

    .cta-banner {
        grid-template-columns: 1fr;
    }

    .cta-banner-actions {
        justify-items: start;
    }

    .price-sticky {
        position: static;
    }
}

@media (max-width: 1103px) and (min-width: 981px) {
    .price-table-modern .price-table th:nth-child(1),
    .price-table-modern .price-table td:nth-child(1) {
        width: 22%;
    }

    .price-table-modern .price-table th:nth-child(2),
    .price-table-modern .price-table td:nth-child(2) {
        width: 42%;
    }

    .price-table-modern .price-table th:nth-child(3),
    .price-table-modern .price-table td:nth-child(3) {
        width: 12%;
    }

    .price-table-modern .price-table th:nth-child(4),
    .price-table-modern .price-table td:nth-child(4) {
        width: 24%;
    }

    .price-service-title {
        font-size: clamp(0.92rem, 1.2vw, 1rem);
        line-height: 1.22;
    }

    .price-value {
        font-size: clamp(1rem, 1.05vw, 1.12rem);
    }

    .price-col-action {
        padding-right: 0.18rem;
    }

    .price-table-modern .price-table td.price-col-action,
    .price-table-modern .price-table th:nth-child(4) {
        padding-right: 0.18rem;
    }

    .price-row-action {
        min-height: 40px;
        padding: 0 0.58rem;
        font-size: 0.86rem;
        gap: 0.18rem;
        max-width: 184px;
    }

    .price-row-action .ms-icon {
        font-size: 0.98em;
    }
}

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

    .header-cta .theme-switch {
        display: none;
    }

    .mobile-menu {
        display: block;
        justify-self: end;
        z-index: 8;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        position: relative;
    }

    .header-cta {
        display: flex;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 7;
        min-height: 0;
        padding-right: 0;
    }

    .header-contact-panel {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .directions-grid {
        margin-top: -90px;
    }

    .brand-logo {
        height: clamp(40px, 9vw, 56px);
        max-width: min(300px, 68vw);
    }

    .price-page-shell {
        width: min(1240px, calc(100% - 1.6rem));
    }

    .appointment-page .container.appointment-page-container {
        width: min(1240px, calc(100% - 1.6rem));
    }

    .split-block,
    .doctor-profile-main,
    .contacts-layout,
    .footer-grid,
    .legal-page-shell,
    .directions-grid,
    .trust-grid,
    .about-story-grid,
    .about-why-grid,
    .about-principles-grid,
    .home-about-features,
    .home-principles-grid,
    .doctor-grid-meta,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .footer-creator-inline {
        display: none;
    }

    .footer-creator-mobile-wrap {
        display: block;
        position: relative;
        z-index: 1;
        margin-top: 0.9rem;
    }

    .footer-creator-mobile {
        display: inline-flex;
    }

    .contacts-column-main {
        order: 2;
    }

    .contacts-column-map {
        order: 1;
    }

    .contacts-column-main .contacts-cta-card {
        order: 1;
    }

    .contacts-column-main .contact-entrance-card {
        order: 2;
    }

    .what-we-treat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.55rem;
        row-gap: 2rem;
    }

    .home-health-check-card,
    .hc-start-grid,
    .health-result-grid,
    .health-articles-grid {
        grid-template-columns: 1fr;
    }

    .home-health-check-actions {
        justify-items: start;
    }

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

    .doctor-card-footer {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 0.5rem;
    }

    .doctor-profile-main img {
        max-height: 520px;
    }

    .legal-side-card {
        position: static;
    }

    .about-story-card-main,
    .about-story-card-mission,
    .about-story-media {
        grid-column: auto;
        grid-row: auto;
    }

    .about-story-media {
        min-height: 320px;
    }

    .service-symptoms-showcase {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "media"
            "chips";
    }

    .service-symptoms-head {
        padding-bottom: 0.66rem;
    }

    .service-symptoms-media {
        padding: 0 1.3rem;
    }

    .service-symptoms-media img {
        min-height: 200px;
        max-height: 230px;
    }

    .service-info-card h2 {
        font-size: clamp(1.14rem, 2.2vw, 1.4rem);
    }

    .appointment-hero-card,
    .appointment-form {
        padding: 0.95rem;
    }

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

    .our-services-grid.our-services-grid-tail-two-center {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .our-services-grid.our-services-grid-tail-two-center .our-service-card {
        flex: initial;
        max-width: none;
    }

    .our-services-grid.our-services-grid-tail-center .our-service-card:last-child {
        grid-column: auto;
    }

    .what-we-treat-grid.what-we-treat-grid-tail-center .what-we-treat-card:last-child {
        grid-column: auto;
    }

    .what-we-treat-section .section-heading h2 {
        font-size: clamp(1.62rem, 3.1vw, 2.02rem);
    }

    .what-we-treat-section .section-heading p {
        font-size: clamp(0.94rem, 1.85vw, 1.08rem);
    }

    .what-we-treat-card-title {
        font-size: clamp(1.06rem, 1.72vw, 1.2rem);
    }

    .our-services-section .section-heading h2 {
        font-size: clamp(1.36rem, 2.3vw, 1.72rem);
    }

    .split-media img,
    .hero-media img {
        min-height: 280px;
    }

    .hero-section.home-main-hero .hero-copy {
        transform: translateY(0);
    }
}

@media (max-width: 760px) {
    .section {
        padding: 3rem 0;
    }

    .appointment-page .container.appointment-page-container {
        width: min(1240px, calc(100% - 1.2rem));
    }

    .hero-section.home-main-hero .hero-copy {
        transform: translateY(0);
    }

    .appointment-hero-card,
    .appointment-form,
    .appointment-contacts-card,
    .appointment-disclosures {
        border-radius: 16px;
        padding: 0.86rem;
    }

    .appointment-hero-stat {
        border-radius: 14px;
    }

    .appointment-hero-copy h1 {
        font-size: clamp(1.34rem, 6.8vw, 1.9rem);
    }

    .appointment-hero-points li {
        font-size: 0.89rem;
    }

    .custom-select-option-text {
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }

    .custom-picker-trigger {
        min-height: 46px;
    }

    .custom-picker-panel {
        border-radius: 11px;
    }

    .custom-date-panel {
        padding: 0.5rem;
    }

    .custom-date-day {
        min-height: 32px;
        border-radius: 8px;
        font-size: 0.82rem;
    }

    .custom-time-list {
        max-height: 200px;
    }

    .about-hero-section {
        min-height: clamp(420px, 72vh, 620px);
        padding-top: clamp(3.8rem, 13vw, 5rem);
        padding-bottom: clamp(3.8rem, 13vw, 5rem);
    }

    .about-hero-section::after {
        height: clamp(26px, 8vw, 38px);
    }

    .about-hero-section::before {
        bottom: -22px;
        height: 52px;
    }

    .about-hero-content h1 {
        font-size: clamp(1.38rem, 7.2vw, 1.95rem);
    }

    .about-hero-lead,
    .about-hero-points li {
        font-size: 0.9rem;
    }

    .about-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-story-card,
    .about-why-card,
    .about-principle-card {
        border-radius: 15px;
        padding: 0.88rem 0.86rem;
    }

    .about-story-card h2,
    .about-why-card h3,
    .about-principle-card h3 {
        font-size: clamp(1.02rem, 4.9vw, 1.24rem);
    }

    .about-story-card p,
    .about-story-card li,
    .about-why-card p,
    .about-principle-card p {
        font-size: 0.9rem;
    }

    .about-story-media {
        min-height: 230px;
        border-radius: 15px;
    }

    .about-slogan-wrap h2 {
        font-size: clamp(1.18rem, 6.1vw, 1.6rem);
    }

    .about-team-photo {
        border-radius: 16px;
    }

    .about-team-photo img {
        height: clamp(220px, 65vw, 320px);
    }

    .directions-grid {
        margin-top: -56px;
    }

    .home-wave-section.section {
        padding-top: clamp(3.7rem, 10vw, 4.4rem);
        padding-bottom: clamp(3.5rem, 9vw, 4.2rem);
    }

    .home-wave-section::before,
    .home-wave-section::after {
        height: clamp(22px, 7.5vw, 34px);
    }

    .home-section-head h2 {
        font-size: clamp(1.26rem, 6vw, 1.54rem);
    }

    .home-section-head p,
    .home-about-lead,
    .home-principles-top p,
    .home-principle-card p {
        font-size: 0.9rem;
    }

    .legal-page-head h1 {
        font-size: clamp(1.34rem, 6.7vw, 1.82rem);
    }

    .legal-page-head p,
    .legal-doc-body p,
    .legal-doc-body li {
        font-size: 0.9rem;
    }

    .legal-doc-card,
    .legal-side-card {
        border-radius: 15px;
    }

    .legal-doc-body h2 {
        font-size: clamp(1.06rem, 5vw, 1.26rem);
    }

    .legal-doc-body h3 {
        font-size: clamp(0.96rem, 4.2vw, 1.08rem);
    }

    .home-about-feature {
        padding: 0.88rem 0.86rem;
        border-radius: 15px;
        min-height: 212px;
    }

    .home-about-feature h3 {
        font-size: 1rem;
    }

    .home-about-feature-icon-box img {
        width: clamp(3.7rem, 13vw, 4.5rem);
        height: clamp(3.7rem, 13vw, 4.5rem);
    }

    .home-about-feature p {
        font-size: 0.87rem;
        max-width: none;
    }

    .home-about-features {
        grid-template-columns: 1fr;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 0.86rem;
    }

    .service-doctors-grid {
        grid-template-columns: 1fr;
    }

    .doctor-card-modern {
        padding: 0.86rem;
        border-radius: 15px;
    }

    .doctor-card-horizontal {
        grid-template-columns: 1fr;
        grid-template-areas:
            "photo"
            "body"
            "footer";
        row-gap: 0;
    }

    .doctor-card-horizontal .doctor-photo-wrap {
        min-height: 0;
        aspect-ratio: 5 / 6;
        margin-bottom: 0.72rem;
    }

    .doctor-card-footer {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 0.5rem;
    }

    .doctor-card-link {
        width: 100%;
        justify-content: center;
    }

    .doctor-profile-main {
        padding: 0.88rem;
        gap: 0.88rem;
    }

    .doctor-profile-main img {
        min-height: 300px;
    }

    .doctor-profile-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .doctor-profile-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .doctor-details-group {
        padding: 0.8rem 0.86rem;
        border-radius: 14px;
    }

    .doctor-details-group h2 {
        font-size: clamp(1.02rem, 5vw, 1.2rem);
    }

    .doctor-services-grid {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    .service-card-compact {
        padding: 0.68rem;
    }

    .service-card-compact .service-thumb {
        aspect-ratio: 16 / 8;
    }

    .doctor-timeline-item {
        grid-template-columns: 1fr;
        gap: 0.42rem;
    }

    .doctor-achievement-item,
    .doctor-achievement-item.no-period {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .home-slogan-wrap h2 {
        font-size: clamp(1.26rem, 6.3vw, 1.72rem);
    }

    .home-principles-grid {
        gap: 0.74rem;
    }

    .home-principle-card {
        border-radius: 15px;
        padding: 0.88rem 0.86rem;
    }

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

    .price-page-head h1 {
        font-size: clamp(1.4rem, 7.2vw, 1.76rem);
    }

    .price-page-head p {
        font-size: 0.92rem;
    }

    .price-filter-row {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        margin-left: -0.1rem;
        margin-right: -0.1rem;
        padding-left: 0.1rem;
    }

    .price-filter-row::-webkit-scrollbar {
        height: 6px;
    }

    .price-filter-btn {
        white-space: nowrap;
    }

    .price-table-modern .price-table thead {
        display: none;
    }

    .price-table-modern .price-table,
    .price-table-modern .price-table tbody,
    .price-table-modern .price-table tr,
    .price-table-modern .price-table td {
        display: block;
        width: 100%;
    }

    .price-table-modern .price-table tr {
        padding: 0.5rem 0.72rem;
        border-bottom: 1px solid #d7e5de;
    }

    .price-table-modern .price-table td {
        border: 0;
        padding: 0.34rem 0;
        background: transparent !important;
        width: auto !important;
    }

    .price-table-modern .price-table td::before {
        content: attr(data-label);
        display: block;
        color: #64817d;
        font-size: 0.73rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        margin-bottom: 0.08rem;
    }

    .price-table-modern .price-table .price-section-row td {
        padding: 0.5rem 0.72rem;
        background: linear-gradient(180deg, #2f7e6c 0%, #2a705f 100%) !important;
    }

    .price-table-modern .price-table .price-section-row td::before {
        display: none;
    }

    .price-row-action {
        width: 100%;
    }

    .price-row-disabled {
        width: 100%;
    }

    .price-category-item {
        display: grid;
    }

    .price-category-icon {
        width: 1.62rem;
        height: 1.62rem;
    }

    .price-category-title {
        font-size: 1rem;
    }

    .price-service-title {
        font-size: 0.98rem;
    }

    .price-value {
        font-size: 1.05rem;
    }

    .price-col-action {
        text-align: left;
        padding-right: 0;
    }

    .price-page-actions .btn {
        width: 100%;
    }

    .sticky-mobile-cta {
        display: flex;
    }

    .hero-section {
        padding-top: 3.5rem;
    }

    .service-clinical-section {
        padding-top: 1.65rem;
        padding-bottom: 2.15rem;
    }

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

    .service-symptoms-showcase {
        border-radius: 20px;
    }

    .service-symptoms-head {
        padding: 1rem 0.95rem 0.58rem;
    }

    .service-symptoms-kicker {
        font-size: 0.74rem;
    }

    .service-symptoms-head h2 {
        font-size: clamp(1.14rem, 4.8vw, 1.42rem);
    }

    .service-symptoms-lead {
        margin-top: 0.5rem;
        font-size: 0.88rem;
    }

    .service-symptoms-media {
        padding: 0 0.95rem;
    }

    .service-symptoms-media img {
        min-height: 170px;
        max-height: 185px;
        border-radius: 14px;
    }

    .service-symptom-chips {
        padding: 0.52rem 0.95rem 0.95rem;
        gap: 0.45rem;
    }

    .service-symptom-chips li {
        min-height: 34px;
        padding: 0.38rem 0.66rem;
        font-size: 0.86rem;
    }

    .service-guides-grid {
        margin-top: 0.78rem;
        gap: 0.8rem;
    }

    .service-guide-card {
        border-radius: 16px;
        padding: 0.88rem 0.9rem;
    }

    .service-guide-card h3 {
        font-size: 1.08rem;
        margin-bottom: 0.5rem;
    }

    .service-questionnaires-head h2 {
        font-size: 1.8rem;
    }

    .service-guide-list li {
        font-size: 0.88rem;
        column-gap: 0.45rem;
    }

    .service-info-sections {
        padding-top: 0.2rem;
        padding-bottom: 1.9rem;
    }

    .service-info-stack {
        gap: 0.72rem;
    }

    .service-info-card h2 {
        font-size: clamp(1.05rem, 4.8vw, 1.28rem);
    }

    .service-info-card h3 {
        font-size: 0.96rem;
    }

    .service-info-text,
    .service-info-note,
    .service-info-list li,
    .service-info-subtitle,
    .service-info-meta {
        font-size: 0.88rem;
    }

    .what-we-treat-section {
        padding-top: 2.2rem;
        padding-bottom: 2.2rem;
    }

    .our-services-section {
        padding-top: 1.65rem;
        padding-bottom: 3.35rem;
    }

    .our-services-section::before,
    .our-services-section::after {
        height: clamp(24px, 8vw, 38px);
    }

    .what-we-treat-grid {
        grid-template-columns: 1fr;
        row-gap: 1.4rem;
    }

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

    .hc-question-title {
        font-size: 1rem;
    }

    .hc-option-tooltip {
        width: min(18rem, 78vw);
        right: -0.1rem;
    }

    .home-health-check-copy h2 {
        font-size: clamp(1.24rem, 6vw, 1.56rem);
    }

    .home-health-check-copy p,
    .home-health-check-copy li,
    .health-check-lead,
    .health-result-disclaimer {
        font-size: 0.9rem;
    }

    .home-health-check-actions .btn {
        min-width: 0;
        width: 100%;
    }

    .health-result-actions .btn,
    .health-result-emergency-actions .btn {
        width: 100%;
    }

    .our-services-grid {
        grid-template-columns: 1fr;
    }

    .our-services-grid.our-services-grid-tail-two-center {
        display: grid;
        grid-template-columns: 1fr;
    }

    .what-we-treat-section .section-heading {
        margin-bottom: 1.55rem;
    }

    .what-we-treat-section .section-heading h2 {
        font-size: clamp(1.46rem, 6.2vw, 1.78rem);
    }

    .what-we-treat-section .section-heading p {
        font-size: clamp(0.9rem, 4vw, 1.02rem);
    }

    .our-services-section .section-heading {
        margin: 2.4rem auto 1.3rem;
    }

    .our-services-section .section-heading h2 {
        font-size: clamp(1.28rem, 5.1vw, 1.56rem);
    }

    .our-services-section .section-heading p {
        font-size: clamp(0.86rem, 3.7vw, 0.98rem);
    }

    .what-we-treat-card-icon {
        width: 2.8rem;
        height: 2.8rem;
    }

    .what-we-treat-card {
        column-gap: 0.68rem;
    }

    .what-we-treat-card-title {
        font-size: clamp(1rem, 4.5vw, 1.14rem);
        margin-bottom: 0.72rem;
    }

    .our-service-card {
        padding: 0.88rem 0.9rem;
        gap: 0.58rem;
    }

    .our-service-card h3,
    .our-service-summary-title {
        font-size: 1.02rem;
    }

    .our-service-card p,
    .our-service-body p,
    .our-service-lead-text {
        font-size: 0.89rem;
    }

    .our-service-list li {
        font-size: 0.84rem;
        padding: 0.52rem 0.58rem;
        column-gap: 0.5rem;
    }

    .our-service-lead {
        padding: 0.56rem 0.62rem;
        column-gap: 0.52rem;
    }

    .our-service-list-icon {
        width: 1.08rem;
        height: 1.08rem;
    }

    .our-service-list-icon svg {
        width: 0.9rem;
        height: 0.9rem;
    }

    .what-we-treat-list li {
        font-size: 0.93rem;
    }

    .what-we-treat-tooltip {
        width: min(18rem, 82vw);
        left: auto;
        right: 0;
        transform: translate(0, 6px);
    }

    .what-we-treat-tooltip::after {
        left: auto;
        right: 0.4rem;
        transform: rotate(45deg);
    }

    .what-we-treat-tip:hover .what-we-treat-tooltip,
    .what-we-treat-tip:focus-within .what-we-treat-tooltip {
        transform: translate(0, 0);
    }

    .hero-section.has-video-bg.video-wave-bottom::before {
        bottom: -22px;
        height: 52px;
    }

    .hero-section.has-video-bg.video-wave-bottom::after {
        height: 50px;
    }

    .direction-media .video-step-cut {
        bottom: -30px;
        height: 24px;
    }

.direction-media .video-wave-cut {
    height: 28px;
}
}

.patient-page-section {
    padding-bottom: 2.6rem;
}

.patient-page-head {
    max-width: 52rem;
}

.patient-page-highlights {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.patient-page-highlight {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #c7ddd5;
    background: linear-gradient(180deg, rgba(246, 252, 249, 0.96) 0%, rgba(238, 247, 243, 0.98) 100%);
    color: #1d4a40;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0 0.82rem;
    font-weight: 620;
    font-size: 0.93rem;
    box-shadow: 0 10px 22px rgba(30, 64, 58, 0.08);
}

.patient-page-highlight .ms-icon {
    color: #2f816f;
}

.patient-docs-section {
    background: linear-gradient(180deg, #eaf4f1 0%, #e3efeb 100%);
}

.patient-section-heading {
    margin-bottom: 1rem;
}

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

.patient-doc-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.72rem;
    min-height: 100%;
}

.patient-doc-preview {
    border-radius: 14px;
    border: 1px solid #d3e2dc;
    background: #f5f9f7;
    overflow: hidden;
    min-height: 220px;
    display: grid;
    place-items: center;
}

.patient-doc-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f2f6f4;
}

.patient-doc-placeholder {
    min-height: 220px;
    display: grid;
    place-items: center;
    color: #2f816f;
}

.patient-doc-placeholder .ms-icon {
    font-size: 2rem;
}

.patient-doc-body h3 {
    margin: 0;
    color: #1f4f45;
    font-size: 1.05rem;
    line-height: 1.28;
}

.patient-doc-body p {
    margin: 0.45rem 0 0;
    color: #4b6761;
    font-size: 0.93rem;
}

.patient-doc-link {
    min-height: 42px;
    width: fit-content;
}

.patient-additional-docs {
    margin-top: 1rem;
    border-color: #ccdcd6;
    box-shadow: 0 12px 28px rgba(31, 63, 75, 0.08);
}

.patient-additional-docs h3 {
    margin: 0 0 0.65rem;
    color: #1f4f45;
    font-size: 1.02rem;
}

.patient-additional-docs ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.patient-additional-docs li {
    padding: 0.65rem 0.72rem;
    border: 1px solid #d6e2de;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fcfa 100%);
}

.patient-additional-docs li a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #245248;
    font-weight: 650;
    text-decoration: none;
}

.patient-additional-docs li a .ms-icon {
    color: #2f7f6d;
}

.patient-additional-docs li p {
    margin: 0.35rem 0 0;
    color: #54716a;
    font-size: 0.9rem;
}

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

.patient-control-card {
    border-color: #caded6;
    box-shadow: 0 12px 28px rgba(31, 63, 75, 0.08);
}

.patient-control-card h3 {
    margin: 0;
    color: #1f4f45;
    font-size: 1.08rem;
}

.patient-control-card p {
    margin: 0.55rem 0 0.7rem;
    color: #4f6a65;
    font-size: 0.93rem;
}

.patient-control-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.48rem;
}

.patient-control-card li {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.32rem;
    color: #315953;
    font-size: 0.92rem;
    line-height: 1.42;
}

.patient-control-card li .ms-icon {
    color: #2f7f6d;
    margin-top: 0.1rem;
}

.patient-control-card li a {
    color: #245248;
    text-decoration: none;
}

.patient-control-card li a:hover {
    text-decoration: underline;
}

.patient-control-card .patient-control-address {
    color: #4c6661;
}

.patient-rules-section .card h2 {
    margin-top: 0;
}

.patient-rules-section .service-columns {
    display: grid;
    gap: 15px;
}

.patient-rules-section .card ul {
    margin-top: 0.7rem;
    display: grid;
    gap: 0.42rem;
}

@media (max-width: 980px) {
    .patient-page-highlights,
    .patient-control-grid,
    .patient-docs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .patient-page-highlight {
        min-height: 46px;
        font-size: 0.88rem;
    }

    .patient-doc-body h3 {
        font-size: 0.98rem;
    }

    .patient-doc-body p,
    .patient-control-card p,
    .patient-control-card li {
        font-size: 0.88rem;
    }

    .doctors-cta-lift {
        margin-top: -36px;
    }

    .articles-grid.service-questionnaires-grid {
        grid-template-columns: 1fr;
    }
}

/* Unified button radius (matches header "Регистратура"). */
.btn,
.home-health-check-actions .btn,
.health-result-actions .btn,
.health-result-emergency-actions .btn,
.price-page-actions .btn,
.doctor-profile-actions .btn,
.contacts-cta-card .btn,
.article-card-actions .btn,
.sticky-mobile-cta .btn {
    border-radius: 12px !important;
}

.admin-appointments-counters {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px;
}

.admin-appointments-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
}

.admin-appointments-counter .ms-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ecf5f1;
    color: #2d7d69;
}

.admin-appointments-counter strong {
    display: block;
    font-size: 1.2rem;
    color: #1f2a44;
}

.admin-appointments-counter small {
    color: #5f718f;
}

.admin-appointments-counter.warning .ms-icon {
    background: #fff3dd;
    color: #a96f00;
}

.admin-appointments-counter.success .ms-icon {
    background: #e7f6ee;
    color: #1f8a57;
}

.admin-appointments-filters-card {
    margin-bottom: 14px;
}

.admin-appointments-filters {
    grid-template-columns: 1.4fr repeat(5, minmax(120px, 1fr));
}

.admin-appointments-filter-actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-appointments-table-wrap {
    overflow-x: auto;
}

.admin-appointments-table td,
.admin-appointments-table th {
    vertical-align: middle;
}

.admin-appointments-table {
    font-size: 0.84rem;
}

.admin-appointments-table th {
    font-size: 0.73rem;
    letter-spacing: 0.04em;
    padding-top: 0.58rem;
    padding-bottom: 0.58rem;
}

.admin-appointments-table td {
    font-size: 0.82rem;
    line-height: 1.35;
    padding-top: 0.54rem;
    padding-bottom: 0.54rem;
}

.admin-appointments-empty {
    text-align: center;
    color: #60708d;
    padding: 18px !important;
}

.admin-appointments-phone {
    color: #2b5a4f;
    text-decoration: none;
    font-weight: 650;
}

.admin-appointments-phone:hover {
    text-decoration: underline;
}

.admin-appointments-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 650;
    border: 1px solid transparent;
}

.admin-status-chip.is-sent {
    background: #e8f7ee;
    color: #20714a;
    border-color: #b7e8cb;
}

.admin-status-chip.is-partial {
    background: #fff4df;
    color: #865e00;
    border-color: #efd7a2;
}

.admin-status-chip.is-failed {
    background: #ffe8e8;
    color: #9e3737;
    border-color: #efb4b4;
}

.admin-status-chip.is-skipped {
    background: #edf2f8;
    color: #5b6680;
    border-color: #d2dcec;
}

.admin-appointments-details {
    margin: 0;
    display: grid;
    gap: 10px;
}

.admin-appointments-details > div {
    display: grid;
    gap: 4px;
    border: 1px solid #d6e3df;
    border-radius: 12px;
    padding: 10px 12px;
    background: #f8fbfa;
}

.admin-appointments-details dt {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #617086;
}

.admin-appointments-details dd {
    margin: 0;
    color: #1c2a45;
    word-break: break-word;
}

@media (max-width: 1300px) {
    .admin-appointments-counters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .admin-appointments-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-appointments-counters,
    .admin-appointments-filters {
        grid-template-columns: 1fr;
    }
}

/* Keep dark-theme visual parity after late responsive overrides. */
html[data-theme='dark'] .price-table-modern .price-table td::before {
    color: #9fb6b1;
}

html[data-theme='dark'] .price-table-modern .price-table .price-section-row td {
    background: linear-gradient(180deg, #2f8a75 0%, #286e5f 100%) !important;
}

html[data-theme='dark'] .sticky-mobile-cta {
    background: rgba(18, 31, 35, 0.96);
    border-top-color: #2f474e;
}

html[data-theme='dark'] .sticky-mobile-cta .btn-light {
    background: #243a40;
    border-color: #47666e;
    color: #e2f0ec;
}

.cookie-consent {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1150;
    pointer-events: none;
}

.cookie-consent.is-visible {
    pointer-events: auto;
}

.cookie-consent__panel {
    width: min(720px, 100%);
    margin-left: auto;
    margin-right: auto;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 40px rgba(16, 35, 40, 0.18);
    backdrop-filter: blur(8px);
    padding: 18px 20px;
}

.cookie-consent__title {
    margin: 0;
    font-size: clamp(1.1rem, 1rem + 0.3vw, 1.35rem);
    font-weight: 760;
    color: var(--text);
}

.cookie-consent__text {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.45;
}

.cookie-consent__links {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.cookie-consent__links a {
    color: var(--primary-700);
    text-decoration: none;
}

.cookie-consent__links a:hover {
    text-decoration: underline;
}

.cookie-consent__actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

html[data-theme='dark'] .cookie-consent__panel {
    border-color: #36525a;
    background: rgba(20, 35, 39, 0.92);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

html[data-theme='dark'] .cookie-consent__title {
    color: #eaf4f0;
}

html[data-theme='dark'] .cookie-consent__text {
    color: #bfd1cb;
}

html[data-theme='dark'] .cookie-consent__links {
    color: #9eb5af;
}

html[data-theme='dark'] .cookie-consent__links a {
    color: #77cab4;
}

@media (max-width: 768px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .cookie-consent__panel {
        border-radius: 14px;
        padding: 14px;
    }

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