/* ============================================
   HERO — новый двухколоночный дизайн
   ============================================ */

@keyframes rv-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.8); }
}
@keyframes rv-fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rv-hero {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: center;
    padding: 48px 0 0;
}

.rv-hero-left { display: flex; flex-direction: column; }

.rv-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(29,158,117,0.12); border: 0.5px solid rgba(29,158,117,0.25);
    border-radius: 20px; padding: 5px 14px;
    font-size: 12px; font-weight: 600; color: var(--teal-light);
    margin-bottom: 28px; align-self: flex-start;
    animation: rv-fadeUp .5s ease both;
}
.rv-hero-badge-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
    animation: rv-pulse 2s ease infinite;
}

.rv-hero-h1 {
    font-family: 'PT Serif', serif;
    font-size: 42px; font-weight: 700; line-height: 1.15;
    color: var(--white); margin-bottom: 16px;
    animation: rv-fadeUp .5s .1s ease both;
}
.rv-hero-h1 em { color: var(--teal-light); font-style: normal; }

.rv-hero-sub {
    font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.7;
    max-width: 460px; margin-bottom: 28px;
    animation: rv-fadeUp .5s .2s ease both;
}

.rv-hero-cta {
    display: flex; gap: 14px; margin-bottom: 32px;
    animation: rv-fadeUp .5s .3s ease both;
}
.rv-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--teal); border-radius: 10px;
    padding: 14px 28px;
    font-size: 15px; font-weight: 700; color: #E1F5EE;
    text-decoration: none; border: none; cursor: pointer;
    transition: transform .15s, opacity .15s;
}
.rv-btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.rv-btn-primary:active { transform: scale(.98); }
.rv-btn-primary svg { width: 16px; height: 16px; }

.rv-btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 0.5px solid rgba(255,255,255,0.35);
    border-radius: 10px; padding: 14px 28px;
    font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.80);
    text-decoration: none; cursor: pointer;
    transition: border-color .15s, color .15s;
}
.rv-btn-secondary:hover { border-color: rgba(255,255,255,0.55); color: var(--white); }

.rv-hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    animation: rv-fadeUp .5s .4s ease both;
}
.rv-stat {
    background: rgba(255,255,255,0.05); border: 0.5px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 18px 20px;
}
.rv-stat-num {
    font-family: 'PT Serif', serif;
    font-size: 26px; font-weight: 700; color: var(--teal-light);
    margin-bottom: 6px; line-height: 1;
}
.rv-stat-label { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.45; }

.rv-founder-card {
    background: rgba(255,255,255,0.05); border: 0.5px solid rgba(255,255,255,0.12);
    border-radius: 16px; padding: 24px;
    animation: rv-fadeUp .5s .2s ease both;
}
.rv-founder-card-label {
    font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.35);
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 20px;
}
.rv-founder-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.rv-founder-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--teal); flex-shrink: 0;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; color: #E1F5EE;
}
.rv-founder-avatar img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.rv-founder-name { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.rv-founder-role { font-size: 12px; color: rgba(255,255,255,0.35); }

.rv-founder-quote {
    border-left: 2px solid var(--teal);
    padding-left: 16px; margin-bottom: 16px;
    font-family: 'PT Serif', serif; font-size: 15px; font-style: italic;
    color: rgba(255,255,255,0.80); line-height: 1.7;
}
.rv-founder-detail {
    font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; margin-bottom: 22px;
}

.rv-founder-divider { border: none; border-top: 0.5px solid rgba(255,255,255,0.08); margin-bottom: 20px; }

.rv-founder-link {
    font-size: 13px; font-weight: 600; color: var(--teal-light);
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
    transition: gap .15s;
}
.rv-founder-link:hover { gap: 10px; }

.rv-trust-bar {
    border-top: 0.5px solid rgba(255,255,255,0.08);
    padding: 14px 0;
    display: flex; align-items: center; justify-content: space-between;
}
.rv-trust-items { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.rv-trust-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,0.35); }
.rv-trust-item svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; }
.rv-trust-emergency {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; color: rgba(255,255,255,0.35);
    text-decoration: none;
}
.rv-trust-emergency svg { width: 14px; height: 14px; }
.rv-trust-emergency:hover { color: rgba(255,255,255,0.55); }

.rv-hero-wrap {
    background: linear-gradient(150deg,#060f1c 0%,#0c1d35 45%,#081b1b 100%);
    padding-bottom: 16px;
}

@media (max-width: 900px) {
.rv-hero-wrap {
    padding-bottom: 16px;
}

.rv-hero {
        grid-template-columns: 1fr;
        padding: 40px 0 48px;
        min-height: auto; gap: 32px;
    }
    .rv-hero-h1 { font-size: 36px; }
    .rv-hero-cta { flex-direction: column; }
    .rv-btn-primary, .rv-btn-secondary { justify-content: center; }
    .rv-trust-bar { flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 24px; }
}
@media (max-width: 480px) {
    .rv-hero-stats { grid-template-columns: 1fr; }
    .rv-trust-items { flex-direction: column; align-items: flex-start; gap: 10px; }
}

[data-theme="light"] .rv-hero-wrap {
    background: linear-gradient(150deg, #e8f4f0 0%, #d4eee6 45%, #c8e6dc 100%);
}
[data-theme="light"] .rv-hero {
}
[data-theme="light"] .rv-hero-h1 { color: #0d1b2a; }
[data-theme="light"] .rv-hero-h1 em { color: #1b998b; }
[data-theme="light"] .rv-hero-sub { color: rgba(13,27,42,0.6); }
[data-theme="light"] .rv-hero-badge { background: rgba(27,153,139,0.1); border-color: rgba(27,153,139,0.25); color: #1b998b; }
[data-theme="light"] .rv-hero-badge-dot { background: #1b998b; }
[data-theme="light"] .rv-btn-primary { background: #1b998b; color: #fff; }
[data-theme="light"] .rv-btn-primary:hover { background: #158f7f; }
[data-theme="light"] .rv-btn-secondary { border-color: rgba(13,27,42,0.25); color: rgba(13,27,42,0.75); }
[data-theme="light"] .rv-btn-secondary:hover { border-color: #1b998b; color: #1b998b; }
[data-theme="light"] .rv-stat { background: rgba(13,27,42,0.04); border-color: rgba(13,27,42,0.1); }
[data-theme="light"] .rv-stat-num { color: #1b998b; }
[data-theme="light"] .rv-stat-label { color: rgba(13,27,42,0.45); }
[data-theme="light"] .rv-founder-card { background: rgba(13,27,42,0.04); border-color: rgba(13,27,42,0.1); }
[data-theme="light"] .rv-founder-card-label { color: rgba(13,27,42,0.35); }
[data-theme="light"] .rv-founder-name { color: #0d1b2a; }
[data-theme="light"] .rv-founder-role { color: rgba(13,27,42,0.4); }
[data-theme="light"] .rv-founder-quote { color: rgba(13,27,42,0.7); border-left-color: #1b998b; }
[data-theme="light"] .rv-founder-detail { color: rgba(13,27,42,0.4); }
[data-theme="light"] .rv-founder-divider { border-top-color: rgba(13,27,42,0.1); }
[data-theme="light"] .rv-founder-link { color: #1b998b; }
[data-theme="light"] .rv-trust-bar { border-top-color: rgba(13,27,42,0.1); }
[data-theme="light"] .rv-trust-item { color: rgba(13,27,42,0.4); }
[data-theme="light"] .rv-trust-item svg { color: #1b998b; }
[data-theme="light"] .rv-trust-emergency { color: rgba(13,27,42,0.4); }


/* ========== VARIABLES ========== */
:root {
    --navy: #0d1b2a;
    --navy-mid: #16213e;
    --navy-deep: #0f3460;
    --navy-light: #1b2838;
    --teal: #1b998b;
    --teal-light: #2ED3A5;
    --teal-soft: #e6f5f0;
    --gold: #e9c46a;
    --gold-dark: #d4b05a;
    --red: #e76f51;
    --cream: #f5f0e8;
    --white: #ffffff;
    --text: #1a2634;
    --muted: #5a6a7a;
    --border: #e0dcd4;
    --success: #22c55e;
    --warning-bg: #fdf6e3;
    --danger-bg: #fdf0ec;
    --chat-bg: #f0f4f8;
    --black: #000000;
    --blue: #2563eb;
    --card-bg: rgba(13,27,43,0.6);
    --card-fg: #e0e1dd;
    --card-muted: rgba(255,255,255,0.7);
    --card-border: rgba(255,255,255,0.1);
    --text-muted: #6b7c8d;
    --shadow: 0 2px 12px rgba(13,27,42,0.06);
    --shadow-hover: 0 8px 24px rgba(13,27,42,0.12);
    --radius: 14px;
    --transition: 0.25s ease;
    --bg: #f5f0e8;
    --bg-alt: #ffffff;
    --hero-bg: linear-gradient(160deg, #071320 0%, #0d2137 45%, #0b2828 100%);
    --hero-fg: #ffffff;
    --hero-fg-muted: rgba(255,255,255,0.7);
    --hero-fg-dim: rgba(255,255,255,0.35);
    --navbar-bg: #0d1b2a;
    --navbar-fg: rgba(255,255,255,0.7);
    --footer-bg: #0d1b2a;
}

[data-theme="light"] {
    --bg: #ffffff;
    --bg-alt: #f8f6f2;
    --card-bg: #ffffff;
    --card-fg: #1a2634;
    --card-muted: #5a6a7a;
    --card-border: rgba(13,27,43,0.12);
    --text-muted: #6b7c8d;
    --hero-bg: linear-gradient(160deg, #e8f4f0 0%, #d4eee6 45%, #e0e8e4 100%);
    --hero-fg: #0d1b2a;
    --hero-fg-muted: rgba(13,27,42,0.65);
    --hero-fg-dim: rgba(13,27,42,0.35);
    --navbar-bg: rgba(255,255,255,0.95);
    --navbar-fg: rgba(13,27,42,0.7);
    --footer-bg: #1a2634;
}

[data-theme="light"] body {
    background: var(--bg);
}

[data-theme="light"] .navbar {
    background: var(--navbar-bg);
    border-bottom-color: var(--teal);
}

[data-theme="light"] .navbar .logo,
[data-theme="light"] .nav-links a {
    color: rgba(13,27,42,0.85);
}

[data-theme="light"] .nav-links a:hover {
    color: var(--navy);
    background: rgba(13,27,42,0.08);
}

[data-theme="light"] .nav-links a.active {
    color: var(--teal);
    background: var(--teal-soft);
    font-weight: 800;
}

[data-theme="light"] .nav-burger span {
    background: var(--navy);
}

[data-theme="light"] .lang-btn {
    color: rgba(13,27,42,0.75);
}

[data-theme="light"] .lang-btn.active {
    background: var(--teal);
    color: var(--white);
}

[data-theme="light"] .navbar-scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

[data-theme="light"] .hero-desktop {
    background: linear-gradient(150deg, #e8f4f0 0%, #d4eee6 45%, #e0e8e4 100%);
}

[data-theme="light"] .hd-title { color: var(--navy); }
[data-theme="light"] .hd-renova { color: var(--navy); }
[data-theme="light"] .hd-via { color: var(--teal); }

[data-theme="light"] .hd-eyebrow {
    color: var(--teal);
}

[data-theme="light"] .hd-slogan {
    color: rgba(13,27,42,0.65);
}

[data-theme="light"] .hd-desc {
    color: rgba(13,27,42,0.6);
}
[data-theme="light"] .hd-desc strong {
    color: rgba(13,27,42,0.85);
}

[data-theme="light"] .hd-stats {
    background: rgba(13,27,42,0.04);
    border-color: rgba(27,153,139,0.2);
}

[data-theme="light"] .hd-stat-n {
    color: var(--teal);
}

[data-theme="light"] .hd-stat-l {
    color: rgba(13,27,42,0.45);
}

[data-theme="light"] .hd-btn-primary {
    background: var(--teal);
    color: var(--white);
}

[data-theme="light"] .hd-btn-outline {
    border-color: rgba(13,27,42,0.25);
    color: rgba(13,27,42,0.8);
}
[data-theme="light"] .hd-btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
}

[data-theme="light"] .hd-btn-sm {
    border-color: rgba(13,27,42,0.11);
    color: rgba(13,27,42,0.45);
}
[data-theme="light"] .hd-btn-sm:hover {
    border-color: var(--teal);
    color: var(--teal);
}

[data-theme="light"] .hd-btn-emergency {
    color: var(--red);
    background: rgba(231,111,81,0.08);
}

[data-theme="light"] .hero-scroll-hint {
    color: var(--hero-fg-dim);
}

[data-theme="light"] .hero-desktop .hd-glow-teal {
    background: radial-gradient(circle,rgba(27,153,139,.08) 0%,transparent 60%);
}

[data-theme="light"] .hero-desktop .hd-glow-blue {
    background: radial-gradient(circle,rgba(30,80,180,.05) 0%,transparent 65%);
}

[data-theme="light"] .hero-desktop .hd-glow-gold {
    background: radial-gradient(circle,rgba(233,196,106,.04) 0%,transparent 65%);
}

[data-theme="light"] .hero-desktop .hd-grid {
    background-image:
        linear-gradient(rgba(27,153,139,.04) 1px,transparent 1px),
        linear-gradient(90deg,rgba(27,153,139,.04) 1px,transparent 1px);
}

[data-theme="light"] .hd-logo-ring {
    border-color: rgba(27,153,139,.12);
}

[data-theme="light"] .founder-story {
    background: var(--bg-alt);
}

[data-theme="light"] .founder-heading {
    color: var(--navy);
}

[data-theme="light"] .founder-text {
    color: rgba(13,27,42,0.65);
}

[data-theme="light"] .founder-name {
    color: var(--navy);
}

[data-theme="light"] .cta-section {
    background: var(--bg-alt);
    color: var(--navy);
}

[data-theme="light"] .cta-section p {
    color: rgba(13,27,42,0.65);
}

[data-theme="light"] .map-section {
    background: var(--bg-alt);
    color: var(--navy);
}

[data-theme="light"] .map-section .section-title {
    color: var(--navy);
}

[data-theme="light"] .map-section-desc {
    color: rgba(13,27,42,0.65);
}

[data-theme="light"] .quote-block {
    background: var(--bg-alt);
    color: var(--navy);
}

[data-theme="light"] .quote-block p {
    color: rgba(13,27,42,0.8);
}

[data-theme="light"] .quote-block::before {
    color: rgba(27,153,139,0.12);
}

[data-theme="light"] .quote-block .author {
    color: var(--teal);
}

[data-theme="light"] .page-header {
    background: linear-gradient(135deg, #e8f4f0 0%, #d4eee6 100%);
    color: var(--navy);
}

[data-theme="light"] .page-header h1 {
    color: var(--navy);
}

[data-theme="light"] .page-header p {
    color: rgba(13,27,42,0.65);
}

[data-theme="light"] .footer {
    background: var(--footer-bg);
}

[data-theme="light"] .nav-links.open {
    background: rgba(255,255,255,0.98);
}

[data-theme="light"] .nav-links.open a {
    color: rgba(13,27,42,0.7);
    border-bottom-color: rgba(13,27,42,0.06);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 var(--radius) var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

:focus-visible {
    outline: 3px solid var(--teal-light);
    outline-offset: 2px;
}

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

body {
    font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

a:hover {
    color: var(--teal-light);
}

/* ========== NAVBAR ========== */
.navbar {
    background: var(--navy);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--teal);
}

/* ========== READING PROGRESS BAR ========== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gold);
    z-index: 1001;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 2px 0 8px rgba(212,168,67,0.4);
}
.reading-progress[aria-valuenow="100"] {
    background: var(--teal);
    box-shadow: 2px 0 8px rgba(27,153,139,0.4);
}
.reading-progress.hidden {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ========== AUTOSCROLL ========== */
.autoscroll-indicator {
    position: fixed;
    bottom: 90px;
    right: 80px;
    z-index: 9002;
    background: var(--navy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border: 2px solid var(--teal);
}
.autoscroll-indicator.visible {
    opacity: 1;
    visibility: visible;
}
.autoscroll-indicator .autoscroll-speed {
    background: var(--teal);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}
.autoscroll-indicator button {
    background: none;
    border: none;
    color: var(--teal-light);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 4px;
    font-weight: 700;
}
.autoscroll-indicator button:hover {
    color: var(--white);
}
@media (max-width: 600px) {
    .reading-progress {
        height: 3px;
    }
    .autoscroll-indicator {
        bottom: 80px;
        right: 8px;
        font-size: 0.76rem;
        padding: 6px 12px;
    }
}

/* ========== ACCESSIBILITY BAR ========== */
.a11y-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 2px solid var(--teal);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.a11y-bar.visible {
    transform: translateY(0);
}
.a11y-bar.hidden-bar {
    transform: translateY(100%) !important;
}
.a11y-toggle {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    border: 2px solid var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.a11y-toggle:hover {
    background: var(--teal-light);
    transform: scale(1.1);
}
.a11y-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    line-height: 1;
}
.a11y-toggle:focus-visible {
    outline: 3px solid var(--teal-light);
    outline-offset: 3px;
}
.a11y-btn {
    font-family: inherit;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.a11y-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--teal);
}
.a11y-btn:focus-visible {
    outline: 3px solid var(--teal-light);
    outline-offset: 2px;
}
.a11y-btn.active {
    background: var(--teal);
    border-color: var(--teal-light);
}
.a11y-btn-speak {
    background: rgba(27,153,139,0.3);
    border-color: var(--teal);
}
.a11y-btn-speak.speaking {
    background: var(--red);
    border-color: var(--red);
    animation: pulse-speak 1s ease infinite;
}
.a11y-btn-autoscroll.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}
@keyframes pulse-speak {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.a11y-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.15);
    margin: 0 4px;
}
.a11y-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-right: 4px;
}
html.font-sm { font-size: 18px; }
html.font-lg { font-size: 22px; }
html.font-xl { font-size: 26px; }
@media (max-width: 600px) {
    .a11y-bar {
        gap: 4px;
        padding: 6px 8px;
        flex-wrap: wrap;
    }
    .a11y-btn {
        font-size: 0.76rem;
        padding: 5px 8px;
    }
    .a11y-label {
        display: none;
    }
    .a11y-toggle {
        width: 42px;
        height: 42px;
        bottom: 12px;
        right: 12px;
        font-size: 1.1rem;
    }
}

/* ========== SHORTCUTS OVERLAY ========== */
.shortcuts-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.85);
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.shortcuts-overlay.visible {
    opacity: 1;
    visibility: visible;
}
.shortcuts-panel {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 36px;
    max-width: 680px;
    width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.4);
    position: relative;
}
.shortcuts-panel h2 {
    font-family: 'PT Serif', serif;
    color: var(--navy);
    margin-bottom: 4px;
    font-size: 1.5rem;
}
.shortcuts-sub {
    color: var(--teal);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.shortcuts-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--cream);
    color: var(--navy);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.shortcuts-close:hover {
    background: var(--teal);
    color: var(--white);
}
.shortcuts-close:focus-visible {
    outline: 3px solid var(--teal-light);
    outline-offset: 2px;
}
.shortcuts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.shortcut-group h3 {
    font-size: 0.85rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--cream);
}
.shortcut-group table {
    width: 100%;
    border-collapse: collapse;
}
.shortcut-group td {
    padding: 5px 0;
    font-size: 0.88rem;
    color: var(--text);
    vertical-align: middle;
}
.shortcut-group td:first-child {
    width: 90px;
    white-space: nowrap;
}
kbd {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'PT Sans', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    min-width: 22px;
    text-align: center;
    box-shadow: 0 2px 0 rgba(10,25,47,0.3);
}
.shortcuts-note {
    margin-top: 18px;
    font-size: 0.78rem;
    color: #999;
    text-align: center;
}
@media (max-width: 600px) {
    .shortcuts-panel {
        padding: 20px 18px;
    }
    .shortcuts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .shortcut-group td:first-child {
        width: 75px;
    }
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: 'PT Serif', serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 800;
}

.logo-icon-img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(46,211,165,0.35));
    transition: transform var(--transition), filter var(--transition);
}

.logo:hover .logo-icon-img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 16px rgba(46,211,165,0.5));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all var(--transition);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.nav-links a.active {
    color: var(--teal);
    background: rgba(46,211,165,0.15);
    font-weight: 800;
}

.nav-register {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    margin-left: 4px;
    white-space: nowrap !important;
    overflow: visible !important;
}

.nav-lang {
    display: flex;
    align-items: center;
}

.founder-list {
    margin: 12px 0;
    padding-left: 24px;
    line-height: 2;
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}
    .nav-dropdown { display: block; position: static; transform: none; background: none; border: none; box-shadow: none; padding: 0 0 0 20px; min-width: auto; }
    .nav-dropdown a { font-size: 0.9rem; padding: 8px 20px; }
.nav-more { position: relative; }
.nav-more-btn { background: var(--teal); border: none; border-radius: 6px; color: #0d1b2a; font: inherit; font-weight: 700; cursor: pointer; padding: 8px 16px; display: flex; align-items: center; gap: 4px; transition: all var(--transition); }
.nav-more-btn:hover { background: #15847a; color: #fff; }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--navy); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 8px 0; min-width: 200px; z-index: 1000; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.nav-more:hover .nav-dropdown, .nav-more.open .nav-dropdown { display: block; }
.nav-dropdown li { list-style: none; }
.nav-dropdown a { display: block; padding: 10px 18px; font-size: 0.9rem; white-space: nowrap; border-bottom: none; }
.nav-dropdown a:hover { background: rgba(27,153,139,0.15); color: var(--teal); }

.lang-switch {
    display: flex;
    gap: 2px;
    margin-left: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2px;
    align-items: center;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--white);
}

.lang-btn.active {
    background: var(--teal);
    color: var(--white);
}

.theme-toggle {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
    font-size: 1.1rem;
    color: var(--white);
    margin-right: 6px;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.18);
    transform: rotate(15deg);
}

.theme-icon-dark {
    display: none;
}

[data-theme="light"] .theme-icon-dark {
    display: inline;
}

[data-theme="light"] .theme-icon-light {
    display: none;
}

[data-theme="light"] .theme-toggle {
    color: var(--navy);
    background: rgba(13,27,42,0.08);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(13,27,42,0.14);
}

.nav-burger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}


.btn-emergency {
    display: inline-block;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid var(--red);
    color: var(--white);
    border-radius: var(--radius);
    text-decoration: none;
    background: rgba(231,111,81,0.15);
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-emergency:hover {
    background: var(--red);
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-buttons .hd-btn-primary,
.hero-buttons .hd-btn-outline {
    white-space: normal;
    min-width: 0;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    min-width: 0;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--teal-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27,153,139,0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(27,153,139,0.2);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--teal-light);
    color: var(--teal-light);
    transform: translateY(-2px);
}

.btn-outline:active {
    transform: translateY(0);
}

.btn-outline-sm {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--teal);
    display: inline-block;
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline-sm:hover {
    border-color: var(--teal-light);
    color: var(--teal-light);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== SECTION ========== */
.section {
    padding: 64px 0;
    border-radius: 0;
}

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

.section-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'PT Serif', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.3;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin-bottom: 40px;
}

/* ========== CARDS GRID ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

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

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

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

@media (max-width: 1024px) {
    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards-grid-2 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--teal);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card.gold-border {
    border-left-color: var(--gold);
}

.card.teal-border {
    border-left-color: var(--teal);
}

.card.red-border {
    border-left-color: var(--red);
}

.card.teal-border {
    border-left-color: var(--teal);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.card-icon svg {
    color: var(--teal);
    display: block;
}

[data-theme="light"] .card-icon svg {
    color: var(--teal);
}

.card h3 {
    font-family: 'PT Serif', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
}

.card .tag {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-soft);
    padding: 4px 12px;
    border-radius: 100px;
}

.card-dark {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    color: var(--card-fg);
}
.card-dark h3 {
    color: var(--card-fg);
}
.card-dark p, .card-dark li, .card-dark span {
    color: var(--card-muted);
}
.card-dark input[type="email"], .card-dark input[type="text"] {
    background: var(--bg);
    color: var(--text);
    border-color: var(--card-border);
}
[data-theme="light"] .card-dark {
    box-shadow: 0 2px 16px rgba(13,27,43,0.08);
}

/* ========== STEPS ========== */
.steps {
    position: relative;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 0;
    transition: transform var(--transition), box-shadow var(--transition);
    border-radius: var(--radius);
    padding: 12px;
}

.step:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 8px 24px rgba(13,27,42,0.1);
}

.step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'PT Serif', serif;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-num.teal { background: var(--teal); }
.step-num.gold { background: var(--gold-dark); }
.step-num.red { background: var(--red); }

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--teal-light), rgba(46,196,182,0.15));
    min-height: 32px;
    margin: 4px 0;
}

.step-content {
    padding-bottom: 40px;
    flex: 1;
}

.step-content h3 {
    font-family: 'PT Serif', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    margin-top: 14px;
}

.step-content p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.step-tag {
    display: inline-block;
    background: var(--teal-soft);
    color: var(--teal);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 8px;
}

/* ========== CHECKLIST ========== */
.checklist {
    list-style: none;
    margin: 12px 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 8px;
}

.checklist li::before {
    content: '\2713';
    color: var(--teal);
    font-weight: 700;
    flex-shrink: 0;
}

/* ========== QUOTE ========== */
.quote-block {
    background: var(--navy);
    color: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.quote-block::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 24px;
    font-size: 8rem;
    font-family: 'PT Serif', serif;
    color: rgba(27,153,139,0.2);
    line-height: 1;
}

.quote-block p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.quote-block .author {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--teal-light);
    font-weight: 600;
}

.article-body {
    font-family: 'PT Serif', serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text, #1a1a1a);
    max-width: 680px;
}

.article-body p {
    margin-bottom: 24px;
}

.article-body p:first-of-type::first-letter {
    font-size: 4rem;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin: 6px 12px 0 0;
    color: var(--teal);
    font-family: 'PT Serif', serif;
}

.article-reading-time {
    font-size: 0.85rem;
    color: var(--hero-fg-muted, #888);
    margin-left: 12px;
}

.highlight {
    background: linear-gradient(135deg, var(--teal-soft), var(--warning-bg));
    border-left: 4px solid var(--teal);
    border-radius: var(--radius);
    padding: 24px 28px;
    font-size: 0.95rem;
    line-height: 1.75;
}

.highlight strong {
    color: var(--navy);
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--teal);
    margin-right: 12px;
    vertical-align: middle;
}

.pull-quote {
    border: none;
    border-left: 4px solid var(--teal);
    margin: 40px 0;
    padding: 24px 32px;
    background: transparent;
    position: relative;
}

.pull-quote::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 12px;
    font-size: 6rem;
    font-family: 'PT Serif', serif;
    color: rgba(27,153,139,0.12);
    line-height: 1;
    pointer-events: none;
}

.pull-quote p {
    font-family: 'PT Serif', serif;
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    position: relative;
    z-index: 1;
    margin: 0;
}

.pull-quote cite {
    display: block;
    margin-top: 12px;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--teal);
    font-weight: 700;
    letter-spacing: 0.02em;
}

[data-theme="light"] .pull-quote p {
    color: var(--navy);
}

[data-theme="light"] .pull-quote::before {
    color: rgba(27,153,139,0.08);
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27,153,139,0.15) 0%, transparent 70%);
}

.page-header h1 {
    font-family: 'PT Serif', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 16px;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    display: inline;
}

.breadcrumbs li + li::before {
    content: ' / ';
    color: rgba(255,255,255,0.6);
}

.breadcrumbs a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--teal-light);
}

.breadcrumbs span {
    color: rgba(255,255,255,0.45);
}

/* ========== INFO BOX ========== */
.info-box {
    background: var(--teal-soft);
    border-radius: var(--radius);
    padding: 24px;
    margin: 24px 0;
}

.info-box.warning {
    background: var(--warning-bg);
    border-left: 4px solid var(--gold);
}

.info-box.danger {
    background: var(--danger-bg);
    border-left: 4px solid var(--red);
}

.info-box h4 {
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-box p,
.info-box li {
    font-size: 0.88rem;
    color: var(--text);
}

/* ========== TABLE ========== */
.table-wrap {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 24px 0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

thead {
    background: var(--navy);
    color: var(--white);
}

thead th {
    padding: 14px 20px;
    text-align: left;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--teal-soft);
}

td {
    padding: 12px 20px;
    font-size: 0.88rem;
    color: var(--text);
    vertical-align: top;
}

td:first-child {
    font-weight: 600;
    color: var(--navy);
}

/* ========== FORM ========== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--teal);
}

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

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

/* ========== CONTACTS GRID ========== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--teal-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.88rem;
    color: var(--muted);
}

/* ========== FAQ ========== */
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--teal);
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--teal);
    transition: transform var(--transition);
    font-weight: 300;
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========== RESEARCH CARD ========== */
.research-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    border-top: 3px solid var(--teal);
    transition: transform var(--transition), box-shadow var(--transition);
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.research-card h3 {
    font-family: 'PT Serif', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.research-card .meta {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.research-card p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
}

.research-card .source {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-soft);
    padding: 4px 12px;
    border-radius: 100px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--navy);
    color: var(--white);
    padding: 64px 0;
    text-align: center;
}

.cta-section h2 {
    font-family: 'PT Serif', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    margin: 0 auto 28px;
    font-size: 1rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.45);
    padding: 40px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-top: 12px;
    line-height: 1.6;
}

.footer-col h4 {
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--teal-light);
    font-size: 0.85rem;
    transition: color var(--transition);
    text-decoration: underline;
    text-decoration-color: var(--teal-light);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.footer-col a:hover {
    color: var(--white);
    text-decoration-color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
}

.footer-bottom a {
    color: var(--teal-light);
    text-decoration: underline;
    text-decoration-color: var(--teal-light);
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration-color: var(--white);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ACCORDION JS ========== */
.faq-item .faq-answer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.35s ease;
}

.faq-item.expanded .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-top: 0;
    padding-bottom: 20px;
}

.faq-item.collapsed .faq-toggle {
    transform: rotate(0deg);
}

.faq-item.expanded .faq-toggle {
    transform: rotate(45deg);
}

/* ========== NAVBAR SCROLL ========== */
.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    background: rgba(13, 27, 42, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.navbar-scrolled .logo {
    font-size: 1.1rem;
}

.navbar-scrolled .logo-icon-img {
    width: 36px;
    height: 36px;
}

.navbar-scrolled .container {
    min-height: 56px;
}

/* ========== BURGER ANIMATION ========== */
.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
}

.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 148px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s ease;
    box-shadow: 0 4px 16px rgba(27,153,139,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--teal-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(27,153,139,0.4);
}

/* ========== FORM VALIDATION ========== */
.input-error {
    border-color: var(--red) !important;
    background: var(--danger-bg) !important;
}

.form-error {
    color: var(--red);
    font-size: 0.78rem;
    margin-top: 4px;
    font-weight: 500;
}

.btn-success {
    background: var(--success) !important;
    pointer-events: none;
}

/* ========== MOBILE ========== */
@media (max-width: 900px) {
    .hero-buttons {
        justify-content: center;
    }

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

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

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

.founder-grid {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 32px;
}

.founder-photo-col {
    text-align: center;
}

.founder-avatar-wrap {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--navy-deep));
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27,153,139,0.25);
}

.founder-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-name {
    margin: 0;
    font-size: 1.1rem;
    color: var(--white);
}

.founder-role {
    color: var(--teal-light);
    font-size: 0.85rem;
    margin: 4px 0;
}

.founder-location {
    color: rgba(255,255,255,0.65);
    font-size: 0.8rem;
    font-style: italic;
}

.founder-label {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--teal-light);
    font-weight: 600;
    margin-bottom: 12px;
}

.founder-heading {
    font-family: 'PT Serif', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 16px;
}

.founder-heading em {
    color: var(--teal-light);
}

.founder-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    margin-bottom: 24px;
}

.founder-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.founder-buttons .btn {
    font-size: 0.9rem;
    padding: 10px 24px;
}

.founder-story {
    padding: 80px 0;
    background: var(--navy);
}

@media (max-width: 768px) {
    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-text {
        max-width: 100%;
    }

    .founder-buttons {
        justify-content: center;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

        .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13,27,42,0.98);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        padding: 12px 0;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.06);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 12px 20px;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .nav-dropdown {
        display: block;
        position: static;
        transform: none;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        min-width: auto;
    }
    .nav-dropdown a {
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    .nav-burger {
        display: flex;
        background: rgba(27,153,139,0.25);
        border-radius: 8px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .cards-grid,
    .cards-grid-3,
    .cards-grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 0;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
}


.legal-text {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text);
}

.legal-text h2 {
    font-family: 'PT Serif', serif;
    font-size: 1.25rem;
    color: var(--navy);
    margin-top: 36px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--teal-light);
}

.legal-text h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-text p {
    margin-bottom: 10px;
}

.legal-text ul,
.legal-text ol {
    margin-left: 20px;
    margin-bottom: 12px;
}

.legal-text li {
    margin-bottom: 4px;
}

.legal-text strong {
    color: var(--navy);
}

.legal-text a {
    color: var(--teal);
    text-decoration: underline;
}

.legal-text a:hover {
    color: var(--navy);
}

.article-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 8px;
    font-style: italic;
}

.exercise-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin: 16px 0;
}

.exercise-card .exercise-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.exercise-card .exercise-body h3 {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 6px;
}

.exercise-card .exercise-body p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
}

.exercise-difficulty {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 12px;
    margin-top: 6px;
    font-weight: 600;
}

.exercise-difficulty.passive {
    background: var(--teal-soft);
    color: var(--teal);
}

.exercise-difficulty.active-assisted {
    background: var(--warning-bg);
    color: #b8860b;
}

.exercise-difficulty.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.exercise-difficulty.functional {
    background: #f3e5f5;
    color: #7b1fa2;
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 20px;
    font-style: italic;
}

.consent-block {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 24px;
}

.consent-block h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.consent-block p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 8px;
    line-height: 1.7;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.consent-check input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--teal);
    flex-shrink: 0;
}

.consent-check label {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text);
    cursor: pointer;
}

.consent-check label a {
    color: var(--teal);
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 40px 0;
    }

    .card {
        padding: 20px;
    }

    .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    #chat-widget .chat-window {
        right: 8px;
        bottom: 70px;
        width: calc(100vw - 16px);
    height: 80vh;
    }

    .back-to-top {
        bottom: 24px;
        right: 24px;
    }
}

/* ========== TELEGRAM FLOAT BUTTON ========== */
#tg-float {
    position: fixed;
    bottom: 24px;
    right: 92px;
    z-index: 10000;
}
.tg-float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2AABEE;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(42,171,238,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.tg-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(42,171,238,0.5);
}
.tg-float-btn svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}
.tg-float-label {
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
#tg-float:hover .tg-float-label {
    opacity: 1;
}
body.cookie-visible #tg-float,
.cookie-banner.visible ~ #tg-float {
    z-index: 9998;
}

/* ========== CHAT BOT WIDGET ========== */
#chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    font-family: 'PT Sans', sans-serif;
}

.chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(27,153,139,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.chat-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(27,153,139,0.5);
}

.chat-toggle.hidden {
    display: none;
}

.chat-window {
    position: fixed;
    bottom: 88px;
    right: 24px;
    width: 380px;
    height: 520px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(13,27,42,0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.chat-window.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: var(--navy);
    color: var(--white);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
    padding: 0 4px;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    display: flex;
    max-width: 85%;
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.55;
    word-break: break-word;
}

.chat-msg.bot .chat-bubble {
    background: var(--chat-bg);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
    background: var(--teal);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.chat-quick-btn {
    background: var(--white);
    border: 1px solid var(--teal-light);
    color: var(--teal);
    padding: 11px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
    min-height: 44px;
}

.chat-quick-btn:hover {
    background: var(--teal);
    color: var(--white);
}

.chat-quick-secondary {
    display: none;
}
.chat-quick-secondary.visible {
    display: inline-block;
}
.chat-quick-more {
    background: var(--teal-light);
    color: var(--navy);
    border-color: var(--teal-light);
    font-weight: 600;
}

.chat-input-wrap {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border);
    padding: 10px 12px;
    gap: 8px;
}

.chat-input-wrap input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.88rem;
    outline: none;
    font-family: inherit;
}

.chat-input-wrap input:focus {
    border-color: var(--teal);
}

#chatSend {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--teal);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

#chatSend:hover {
    background: var(--navy);
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 10px;
    opacity: 0.5;
    cursor: default;
    transition: opacity 0.2s;
}

.app-badge.active {
    opacity: 1;
    cursor: pointer;
}

.app-badge.active:hover {
    opacity: 0.85;
}

.app-badge-small {
    font-size: 0.65rem;
    opacity: 0.7;
}

.app-badge-big {
    font-size: 1.05rem;
    font-weight: 700;
}

/* ========== REGISTRATION ========== */
.hidden { display: none !important; }

.reg-steps-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.reg-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.reg-step-dot span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.reg-step-dot small {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 500;
}

.reg-step-dot.active span {
    background: var(--teal);
    color: var(--white);
}

.reg-step-dot.active small {
    color: var(--teal);
}

.reg-step-dot.done span {
    background: var(--navy);
    color: var(--white);
}

.reg-step-dot.done small {
    color: var(--navy);
}

.reg-step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 6px;
    margin-bottom: 18px;
    min-width: 30px;
    max-width: 80px;
}

.reg-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
    text-align: center;
}

.reg-section-sub {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.6;
}

.reg-roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .reg-roles { grid-template-columns: 1fr; }
}

.reg-role-card {
    display: block;
    cursor: pointer;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    position: relative;
}

.reg-role-card:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.reg-role-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.reg-role-card input[type="radio"]:checked + .reg-role-content {
    color: var(--teal);
}

.reg-role-card input[type="radio"]:checked ~ .reg-role-content::before {
    content: '';
}

.reg-role-card:has(input:checked) {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(27,153,139,0.15);
}

.reg-role-card.gold-border:has(input:checked) {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(233,196,106,0.2);
}

.reg-role-card.red-border:has(input:checked) {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(231,111,81,0.15);
}

.reg-role-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.reg-role-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.reg-role-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
}

.reg-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.reg-nav .btn:only-child {
    margin-left: auto;
}

.form-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 4px;
}

.reg-code-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.reg-code-input {
    flex: 0 0 180px;
    font-size: 1.5rem !important;
    font-weight: 700;
    letter-spacing: 8px;
    text-align: center;
}

.btn-sm {
    font-size: 0.82rem;
    padding: 8px 14px;
    white-space: nowrap;
}

.reg-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.reg-consent {
    margin-top: 20px;
    margin-bottom: 8px;
}

.reg-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text);
    cursor: pointer;
    line-height: 1.5;
}

.reg-consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--teal);
    cursor: pointer;
}

.reg-consent-label a {
    color: var(--teal);
    text-decoration: underline;
}

.reg-success {
    text-align: center;
    padding: 40px 0;
}

.reg-success-icon {
    font-size: 4rem;
    width: 80px;
    height: 80px;
    background: var(--teal);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.reg-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ========== BLOG ========== */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-item {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.blog-item:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.blog-date {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 500;
}

.blog-tag {
    font-size: 0.72rem;
    padding: 3px 10px;
}

.blog-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-item p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.blog-platforms {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.blog-pl {
    font-size: 0.78rem;
    color: var(--teal);
    background: var(--teal-soft);
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 500;
}

.source-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    padding: 4px 12px;
    background: var(--teal-soft);
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    word-break: break-all;
}

.source-link:hover {
    background: var(--teal);
    color: var(--white);
}

.source-link::before {
    content: '\2197  ';
}

/* ========== PAGE LOAD ========== */
.page-enter {
    animation: pageIn 0.4s ease both;
}

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

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========== COOKIE CONSENT ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: var(--white);
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
}
.cookie-banner.visible {
    transform: translateY(0);
}
.cookie-banner.visible ~ #chat-widget,
.cookie-banner.visible ~ .a11y-toggle,
.cookie-banner.visible ~ .a11y-bar {
    z-index: 9000 !important;
}
body.cookie-visible #chat-widget,
body.cookie-visible .a11y-toggle,
body.cookie-visible .a11y-bar {
    z-index: 9000 !important;
}
.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 24px 20px;
}
.cookie-banner-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.72);
    margin-bottom: 16px;
}
.cookie-banner-text a {
    color: var(--teal-light);
    text-decoration: underline;
}
.cookie-banner-text a:hover {
    color: var(--gold);
}
.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}
.cookie-btn {
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}
.cookie-btn-accept {
    background: var(--teal);
    color: var(--white);
}
.cookie-btn-accept:hover {
    background: var(--teal-light);
}
.cookie-btn-reject {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.2);
}
.cookie-btn-reject:hover {
    background: rgba(255,255,255,0.06);
    color: var(--white);
}
.cookie-btn-settings {
    background: transparent;
    color: var(--teal-light);
    padding: 10px 14px;
}
.cookie-btn-settings:hover {
    color: var(--gold);
}
.cookie-settings {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-settings.open {
    display: block;
}
.cookie-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cookie-setting-row:last-child {
    border-bottom: none;
}
.cookie-setting-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 2px;
}
.cookie-setting-info p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}
.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.cookie-toggle-track {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: background var(--transition);
}
.cookie-toggle-track::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 3px;
    left: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: transform var(--transition);
}
.cookie-toggle input:checked + .cookie-toggle-track {
    background: var(--teal);
}
.cookie-toggle input:checked + .cookie-toggle-track::after {
    transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle-track {
    opacity: 0.6;
    cursor: not-allowed;
}
.cookie-toggle input:focus-visible + .cookie-toggle-track {
    outline: 3px solid var(--teal-light);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        padding: 20px 16px 16px;
    }
    .cookie-banner-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-btn {
        text-align: center;
    }
}

/* ========== PARTNERS MAP ========== */
.map-section {
    padding: 56px 0;
    background: var(--navy);
    color: var(--white);
}

.map-section .section-label {
    color: var(--gold);
}

.map-section .section-title {
    color: var(--white);
}

.map-section-desc {
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 20px;
}

.map-section .map-filters {
    justify-content: center;
    margin-bottom: 20px;
}

.map-section .map-filter-btn {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: var(--white);
}

.map-section .map-container {
    max-width: 900px;
    margin: 0 auto;
}

.map-section .map-legend {
    justify-content: center;
    color: rgba(255,255,255,0.7);
}

.map-container {
    height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    z-index: 1;
    position: relative;
}
.map-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.map-filter-btn {
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.map-filter-btn .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.map-filter-btn.active {
    border-color: currentColor;
    background: var(--cream);
}
.map-filter-btn:hover {
    border-color: var(--teal);
}
.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--muted);
}
.map-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.map-legend-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .map-container {
        height: 340px;
    }
    .map-filters {
        gap: 6px;
    }
    .map-filter-btn {
        font-size: 0.76rem;
        padding: 5px 12px;
    }
}

/* ========== HERO DESKTOP — responsive ========== */
@media (max-width: 900px) {
    .hero-desktop {
        padding: 80px 24px 40px;
    }
    .hd-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hd-left {
        order: 1;
    }
    .hd-logo-img {
        max-width: 260px;
    }
    .hd-logo-ring.r1 { inset: -24px; }
    .hd-logo-ring.r2 { inset: -44px; }
    .hd-right {
        order: 2;
        align-items: center;
        text-align: center;
    }
    .hd-desc {
        max-width: 100%;
    }
    .hd-stats {
        width: auto;
    }
    .hd-btns {
        justify-content: center;
    }
    .hd-btns-sm {
        justify-content: center;
    }
}
@media (max-width: 480px) {
    #tg-float {
        right: 80px;
        bottom: 20px;
    }
    .tg-float-btn {
        width: 42px;
        height: 42px;
    }
    .tg-float-btn svg {
        width: 20px;
        height: 20px;
    }
    .tg-float-label {
        display: none;
    }
    .hero-desktop {
        padding: 72px 16px 32px;
    }
    .hd-logo-img {
        max-width: 180px;
    }
    .hd-logo-ring.r1 { inset: -18px; }
    .hd-logo-ring.r2 { inset: -32px; }
    .hd-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
    .hd-stats {
        flex-direction: column;
    }
    .hd-stat-sep {
        width: 100%;
        height: 1px;
    }
}

.adapt-checklist {
    max-width: 720px;
    margin: 0 auto;
}

.adapt-checklist-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: flex-start;
}

.adapt-checklist-item svg {
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.adapt-checklist-item h4 {
    font-family: 'PT Serif', serif;
    font-size: 1.05rem;
    color: var(--navy);
    margin: 0 0 4px;
}

.adapt-checklist-item p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

[data-theme="light"] .adapt-checklist-item {
    border-bottom-color: rgba(0,0,0,0.06);
}

[data-theme="light"] .adapt-checklist-item h4 {
    color: var(--navy-deep);
}

.adapt-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.form-input,
.adapt-form select,
.adapt-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'PT Sans', sans-serif;
    transition: border-color 0.2s;
}

.form-input:focus,
.adapt-form select:focus,
.adapt-form textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(27,153,139,0.15);
}

[data-theme="light"] .form-input,
[data-theme="light"] .adapt-form select,
[data-theme="light"] .adapt-form textarea {
    border-color: rgba(0,0,0,0.12);
    background: #fff;
}

.adapt-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7c8d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.mid-cta {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    color: var(--white);
    text-align: center;
}

.mid-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.mid-cta p {
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin: 0 auto 24px;
}

.mid-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.mid-cta .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}

.mid-cta .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

[data-theme="light"] .mid-cta {
    background: linear-gradient(135deg, #1b998b, #0d1b2a);
    color: var(--white);
}

.quick-jump {
    position: sticky;
    top: 60px;
    z-index: 90;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.quick-jump .container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.quick-jump-btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.quick-jump-btn:hover,
.quick-jump-btn.active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

[data-theme="light"] .quick-jump {
    background: #f5f5f5;
}

[data-theme="light"] .quick-jump-btn {
    background: #fff;
    border-color: rgba(0,0,0,0.12);
}

[data-theme="light"] .map-section .map-filter-btn {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.15);
    color: var(--navy);
}

[data-theme="light"] .map-section .map-legend {
    color: rgba(13,27,42,0.65);
}

.nav-emergency {
    display: flex;
    align-items: center;
}

.nav-emergency-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #c0392b;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.nav-emergency-link:hover {
    background: #e74c3c;
    color: #fff;
}

@media (max-width: 768px) {
    .nav-emergency {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 14px;
        z-index: 1001;
    }
    .nav-emergency-link {
        font-size: 0.85rem;
        padding: 6px 14px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(192,57,43,0.3);
    }
    .nav-links .nav-emergency {
        display: none;
    }
}
.nav-emergency-mobile {
    display: none;
}

.nav-emergency-float {
    display: none;
}

@media (max-width: 768px) {
    .nav-emergency-float {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #c0392b;
        color: #fff;
        font-weight: 700;
        font-size: 0.85rem;
        padding: 6px 14px;
        border-radius: 6px;
        text-decoration: none;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 8px rgba(192,57,43,0.3);
        margin-right: 10px;
    }
    .nav-emergency-float:hover {
        background: #e74c3c;
        color: #fff;
    }
    .nav-links .nav-emergency {
        display: none;
    }
}

.hd-title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 8px;
}

.text-center { text-align: center; }
.card-action { margin-top: 12px; }
.card-btn-sm { font-size: 0.82rem; padding: 6px 14px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }

:root .rv-guest .nav-protected { display: none !important; }
:root .rv-logged-in .nav-guest-only { display: none !important; }

.rv-gate-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--navy, #0d1b2a);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 16px; text-align: center;
    color: #e0e1dd; font-family: PT Sans, sans-serif;
}
.rv-gate-overlay h2 { color: var(--teal, #1b998b); font-size: 1.5rem; margin: 0; }
.rv-gate-overlay p { max-width: 400px; line-height: 1.6; color: rgba(255,255,255,0.75); margin: 0; }
.rv-gate-overlay a { display: inline-block; padding: 12px 32px; border-radius: 8px; font-weight: 600; text-decoration: none; margin-top: 8px; }
.rv-gate-overlay .rv-gate-reg { background: var(--teal, #1b998b); color: #fff; }
.rv-gate-overlay .rv-gate-login { color: var(--teal, #1b998b); }

:root.rv-guest .rv-lock-badge { display: inline-flex !important; }
.rv-lock-badge {
    display: none !important;
    align-items: center; gap: 4px;
    background: rgba(27,153,139,0.1); border: 1px solid rgba(27,153,139,0.25);
    color: var(--teal, #1b998b); border-radius: 20px;
    padding: 2px 10px; font-size: 0.7rem; font-weight: 600;
    position: absolute; top: 8px; right: 8px; z-index: 5;
    cursor: pointer; text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.rv-lock-badge:hover { background: rgba(27,153,139,0.2); transform: scale(1.05); }
.rv-lock-badge svg { width: 12px; height: 12px; flex-shrink: 0; }

.rv-toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
    z-index: 100000; display: flex; align-items: center; gap: 12px;
    background: var(--navy, #0d1b2a); color: #e0e1dd;
    border: 1px solid rgba(27,153,139,0.3); border-radius: 12px;
    padding: 14px 24px; font-family: PT Sans, sans-serif;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    opacity: 0; transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s;
    max-width: 420px; width: calc(100% - 32px);
}
.rv-toast.visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.rv-toast-icon { color: var(--teal, #1b998b); flex-shrink: 0; }
.rv-toast-text { font-size: 0.88rem; line-height: 1.4; }
.rv-toast-text strong { color: var(--teal, #1b998b); }
.rv-toast-close { background: none; border: none; color: rgba(255,255,255,0.4); cursor: pointer; font-size: 1.2rem; padding: 0 0 0 8px; line-height: 1; }
.rv-toast-close:hover { color: rgba(255,255,255,0.7); }
.rv-toast a { color: var(--teal, #1b998b); font-weight: 600; text-decoration: underline; }

:root.rv-guest .nav-register {
    background: var(--teal, #1b998b) !important;
    color: #fff !important;
    border-color: var(--teal, #1b998b) !important;
    animation: rv-pulse-reg 3s ease-in-out infinite;
}
@keyframes rv-pulse-reg {
    0%, 100% { box-shadow: 0 0 0 0 rgba(27,153,139,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(27,153,139,0); }
}

:root.rv-logged-in .rv-lock-badge { display: none !important; }
:root.rv-logged-in .rv-toast { display: none !important; }

.rv-doctor-toggle { display: none !important; }
:root.rv-doctors-enabled .rv-doctor-toggle { display: revert !important; }

:root:not(.rv-subscribed) .nav-doctors-link { display: none !important; }
.mt-24 { margin-top: 24px; }
.container-sm { max-width: 700px; }
.list-left { text-align: left; margin-top: 8px; }
.btn-center { justify-content: center; gap: 16px; }