/* ============================================
   SVOBODA REHABILITATION CENTER
   Complete Stylesheet — matches all HTML variants
   ============================================ */

/* --- Variables --- */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #60A5FA;
    --primary-bg: #EFF6FF;
    --green: #16A34A;
    --green-dark: #15803D;
    --green-light: #22C55E;
    --red: #DC2626;
    --red-dark: #B91C1C;
    --dark: #0F172A;
    --dark-2: #1E293B;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--green) 100%);
    --gradient-hero: linear-gradient(135deg, #EEF2FF 0%, #DBEAFE 50%, #DCFCE7 100%);
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    --max-w: 1200px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary, .btn--primary {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(37,99,235,0);
}
.btn-primary:hover, .btn--primary:hover {
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(37,99,235,0.15);
}

.btn-outline, .btn--outline {
    background: var(--white);
    color: var(--primary);
    border-color: var(--gray-300);
}
.btn-outline:hover, .btn--outline:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.btn--secondary {
    background: var(--gray-100);
    color: var(--dark);
    border-color: var(--gray-200);
}
.btn--secondary:hover {
    background: var(--gray-200);
}

.btn--accent {
    background: var(--red);
    color: var(--white);
    border-color: transparent;
}
.btn--accent:hover {
    background: var(--red-dark);
}

.btn--lg { padding: 1rem 2.25rem; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* ============================================
   HEADER — index.html variant
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

/* index.html header */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 2rem;
}
.header-logo img { height: 44px; width: auto; }
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.header-nav a {
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.header-nav a:hover,
.header-nav a.active {
    color: var(--primary);
    background: var(--primary-bg);
}
.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
    flex-shrink: 0;
}
.header-phone-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}
.header-phone-link i { font-size: 0.8rem; }
.header-phone-free {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
}
.header-phone-free i { font-size: 0.7rem; }
.header-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.header-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}

/* BEM header variant (lechenie, uslugi, contacts, etc.) */
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 2rem;
}
.header__logo img { height: 44px; width: auto; }
.header__nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.header__nav-link {
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}
.header__nav-link:hover,
.header__nav-link--active {
    color: var(--primary);
    background: var(--primary-bg);
}
.header__contacts {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.header__phone {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.header__phone i { font-size: 0.8rem; }
.header__phone-free {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
}
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}

/* articles.html header variant */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 2rem;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon { height: 44px; width: auto; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
}
.nav-link:hover {
    color: var(--primary);
    background: var(--primary-bg);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: all var(--transition);
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 60%; }
.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.phone-number {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.phone-number i { font-size: 0.8rem; }
.phone-badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
    font-size: 1.25rem;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
    z-index: 999;
}
.mobile-menu.active { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { margin-bottom: 0.75rem; }
.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}
.mobile-menu a:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

/* kiev.html header (minimal) */
.logo { display: flex; align-items: center; }
.nav { display: flex; gap: 0.25rem; align-items: center; }
.nav a {
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav a:hover, .nav a.active {
    color: var(--primary);
    background: var(--primary-bg);
}
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
}
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
}
.mobile-overlay.active { display: block; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    margin-top: 72px;
    padding: 4rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(22,163,74,0.08) 0%, transparent 50%);
}

/* index.html hero */
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content { max-width: 600px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    animation: pulse-badge 2s ease-in-out infinite;
}
.hero-badge i { font-size: 1rem; }
@keyframes pulse-badge {
    0%, 100% { box-shadow: var(--shadow-sm); }
    50% { box-shadow: var(--shadow-md), 0 0 0 4px rgba(220,38,38,0.1); }
}
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-2);
}
.hero-features li i {
    color: var(--green);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Hero Card (stats) */
.hero-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
}
.hero-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}
.hero-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.hero-stat {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.hero-stat:hover {
    background: var(--gradient);
    transform: translateY(-2px);
}
.hero-stat:hover .hero-stat-number,
.hero-stat:hover .hero-stat-label { color: var(--white); }
.hero-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
    transition: color var(--transition);
}
.hero-stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    transition: color var(--transition);
}

/* Hero page variant (inner pages with photo bg) */
.hero--page {
    padding: 5rem 0 4rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    position: relative;
    z-index: 1;
}
.hero--page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.82) 0%, rgba(30,41,59,0.72) 50%, rgba(15,23,42,0.78) 100%);
    z-index: -1;
}
.hero--page .hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero--page .hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.hero--page .breadcrumbs a,
.hero--page .breadcrumbs__separator {
    color: rgba(255,255,255,0.7);
}
.hero--page .breadcrumbs a:hover {
    color: var(--white);
}
.hero--page .breadcrumbs__current {
    color: rgba(255,255,255,0.95);
}

/* ============================================
   EMERGENCY BANNER
   ============================================ */
.emergency-banner {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}
.emergency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shine-banner 4s infinite;
}
@keyframes shine-banner {
    0% { left: -100%; }
    100% { left: 200%; }
}
.emergency-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.emergency-inner i {
    font-size: 1.25rem;
    animation: pulse-badge 2s ease-in-out infinite;
}
.emergency-inner span {
    font-size: 1rem;
    font-weight: 600;
}
.emergency-phone {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.emergency-phone small {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
}

/* BEM emergency variant */
.emergency-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.emergency-banner__icon { font-size: 1.25rem; }
.emergency-banner__text {
    font-size: 1rem;
    font-weight: 600;
}
.emergency-banner__btn {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}
.section--gray {
    background: var(--gray-50);
}
.section--soft {
    background: var(--gradient-hero);
}
.section__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-label {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 550px;
    margin: 0 auto;
}

/* ============================================
   SERVICES
   ============================================ */
.services { padding: 5rem 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gradient);
    color: var(--white);
}
.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}
.service-card:hover .service-card__icon {
    background: var(--gradient);
    color: var(--white);
}

.service-title, .service-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.service-text, .service-card__text {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}
.service-link, .service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition);
}
.service-link:hover, .service-card__link:hover { gap: 0.75rem; }

.service-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 5rem 0;
    background: var(--gradient-hero);
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-content .section-label { margin-bottom: 0.75rem; }
.about-content .section-title {
    text-align: left;
    margin-bottom: 1.25rem;
}
.about-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 2rem;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.about-feature-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.about-features li strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}
.about-features li span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.about-stat-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.about-stat-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    margin: 0 auto 0.75rem;
}
.about-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.about-stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews { padding: 5rem 0; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* index.html review variant */
.review-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.review-stars {
    display: flex;
    gap: 0.125rem;
    margin-bottom: 1rem;
    color: #FBBF24;
    font-size: 0.9rem;
}
.review-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.review-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.review-name {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}
.review-city {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* reviews.html BEM variant */
.review-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.review-card__avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.review-card__info { flex: 1; }
.review-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}
.review-card__city {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.review-card__rating {
    display: flex;
    gap: 0.125rem;
    color: #FBBF24;
    font-size: 0.85rem;
}
.review-card__content {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1rem;
}
.review-card__footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-400);
}
.review-card__date { font-size: 0.8rem; color: var(--gray-400); }

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 5rem 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.cta-inner, .cta-container {
    text-align: center;
    position: relative;
    z-index: 1;
}
.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
}
.cta-subtitle, .cta__text, .cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
}

/* index.html CTA contacts */
.cta-contacts {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition);
}
.cta-contact-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
.cta-contact-item i { font-size: 1.25rem; }
.cta-contact-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}
.cta-contact-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

/* BEM CTA variant */
.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* CTA banner variant (kiev.html) */
.cta-banner {
    padding: 4rem 0;
    background: var(--gradient);
    text-align: center;
    color: var(--white);
}

/* Phone block in CTA */
.cta-phone-block {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    margin-bottom: 1.5rem;
}
.cta-phone-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    animation: ring-phone 2s infinite;
}
@keyframes ring-phone {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-8deg); }
    20%, 40% { transform: rotate(8deg); }
    50% { transform: rotate(0); }
}
.cta-phone-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}
.cta-email {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
}
.cta-email a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(180deg, #0c1220 0%, #0f172a 40%, #111827 100%);
    color: var(--white);
    padding: 4.5rem 0 0;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

/* --- Grid layout (all 4 variants) --- */
.footer-inner,
.footer__inner,
.footer__grid,
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 2.5rem 3rem;
    padding-bottom: 3rem;
}

/* --- Brand column --- */
.footer-logo,
.footer__logo,
.footer-brand {
    margin-bottom: 1rem;
}
.footer-logo img,
.footer__logo img {
    height: 44px;
    margin-bottom: 1rem;
}
.footer-brand .logo-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}
.footer-desc,
.footer__desc,
.footer-brand > p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

/* --- Social icons --- */
.footer-social {
    display: flex;
    gap: 0.625rem;
}
.footer-social-link,
.footer-brand .footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: all 0.25s ease;
}
.footer-social-link:hover,
.footer-brand .footer-social a:hover {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}

/* --- Column headings --- */
.footer-heading,
.footer__heading,
.footer-title,
.footer__menu h4,
.footer-grid > div > h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-heading::after,
.footer__heading::after,
.footer-title::after,
.footer__menu h4::after,
.footer__grid > div > h4::after,
.footer-grid > div > h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--gradient);
    border-radius: 1px;
}

/* --- Link lists --- */
.footer-links,
.footer__menu,
.footer-grid ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer__menu a,
.footer__link {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0.2rem 0;
}
.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: all 0.2s ease;
    text-decoration: none;
}
.footer-links a:hover,
.footer__menu a:hover,
.footer__link:hover,
.footer-grid ul a:hover {
    color: var(--white);
    padding-left: 4px;
}
.footer-grid ul {
    list-style: none;
}
.footer-grid ul li {
    margin-bottom: 0.5rem;
}
.footer-grid ul a {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.2rem 0;
}

/* --- Contact items (city pages) --- */
.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.2s ease;
}
.footer__contact-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
}
.footer__contact-icon {
    color: var(--primary-light);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    width: 20px;
    text-align: center;
}
.footer__contact-item strong {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}
.footer__contact-item span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* --- About block (city pages) --- */
.footer__about h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.footer__about p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}
.footer__about .btn {
    margin-top: 0.75rem;
}

/* --- Index footer contacts list --- */
.footer-contacts {
    list-style: none;
}
.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.625rem;
    padding: 0.35rem 0;
}
.footer-contacts i {
    margin-top: 0.2rem;
    color: var(--primary-light);
    font-size: 0.8rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}
.footer-contacts a {
    color: rgba(255,255,255,0.55);
    transition: color 0.2s ease;
}
.footer-contacts a:hover {
    color: var(--white);
}

/* --- Address (BEM pages) --- */
.footer__address {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* --- Bottom bar --- */
.footer-bottom,
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom p,
.footer-bottom span,
.footer__bottom p,
.footer__bottom span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}
.footer-bottom-inner p {
    margin: 0;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.85rem;
    flex-wrap: wrap;
}
.breadcrumbs a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs__separator, .breadcrumbs span:not(.current) {
    color: var(--gray-400);
}
.breadcrumbs__current, .breadcrumbs .current {
    color: var(--dark);
    font-weight: 600;
}

/* ============================================
   ARTICLES PAGE
   ============================================ */
.articles-page {
    padding: 6rem 0 4rem;
    background: var(--gradient-hero);
    min-height: 100vh;
}
.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
}
.page-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 550px;
    margin: 0 auto;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
}
.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.tab-btn.active {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

/* Article Cards */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.article-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: all var(--transition);
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.article-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.article-card-body {
    padding: 1.5rem;
}
.article-card-category {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.article-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}
.article-card-excerpt {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.article-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap var(--transition);
}
.article-card-link:hover { gap: 0.75rem; }

/* ============================================
   ARTICLE DETAIL
   ============================================ */
.article-detail {
    padding: 6rem 0 4rem;
    background: var(--gradient-hero);
    min-height: 100vh;
}
.article-detail-container {
    max-width: 780px;
    margin: 0 auto;
}
.article-detail-header { margin-bottom: 2rem; }
.article-detail-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}
.article-detail-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}
.article-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.article-detail-body {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}
.article-detail-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 0.75rem;
}
.article-detail-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 1.5rem 0 0.5rem;
}
.article-detail-body p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.article-detail-body ul {
    margin: 0.75rem 0 1rem 1.25rem;
    color: var(--gray-600);
}
.article-detail-body li {
    margin-bottom: 0.375rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1rem;
}
.article-detail-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background: var(--gradient);
    border-radius: 50%;
}
.article-detail-body strong { color: var(--dark); }

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: gap var(--transition);
}
.article-back:hover { gap: 0.75rem; }

/* ============================================
   CONTENT GRID (o-nas, lechenie pages)
   ============================================ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}
.content-grid--reverse { direction: rtl; }
.content-grid--reverse > * { direction: ltr; }
.content-grid__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.content-grid__image img {
    width: 100%;
    height: auto;
    display: block;
}
.content-grid__text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}
.content-grid__text p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.75;
}

/* ============================================
   LIST CHECK
   ============================================ */
.list-check {
    list-style: none;
}
.list-check li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}
.list-check li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--green);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* ============================================
   CONTACTS PAGE
   ============================================ */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
.contact-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.contact-card__icon {
    width: 48px;
    height: 48px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.contact-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}
.contact-card__text {
    font-size: 0.9rem;
    color: var(--gray-500);
}
.contact-card__link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.contact-card__link:hover { text-decoration: underline; }

.contacts-info { margin-bottom: 2rem; }
.contacts-info__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

/* Form */
.contacts-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}
.contacts-form__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}
.contacts-form__subtitle {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}
.contacts-form { }
.form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.375rem;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}
.form-note {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 0.375rem;
}
.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   CITY PAGES (advantages, cards, float CTA)
   ============================================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.advantage {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: all var(--transition);
}
.advantage:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.advantage__icon {
    width: 56px;
    height: 56px;
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}
.advantage h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.advantage p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* City service cards */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card__icon {
    width: 48px;
    height: 48px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Float CTA (mobile) */
.float-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--white);
    padding: 0.75rem 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    gap: 0.5rem;
    justify-content: center;
}
.float-cta__phone, .float-cta__viber {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    flex: 1;
    max-width: 200px;
}
.float-cta__phone {
    background: var(--gradient);
    color: var(--white);
}
.float-cta__viber {
    background: #7360F2;
    color: var(--white);
}

/* Scroll to top */
.scroll-top {
    display: none;
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 800;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}
.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.scroll-top.visible { display: flex; align-items: center; justify-content: center; }

/* ============================================
   ARTICLE CONTENT (on city/treatment pages)
   ============================================ */
.article-content {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
}
.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 0.75rem;
}
.article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 1.5rem 0 0.5rem;
}
.article-content p {
    margin-bottom: 1rem;
}
.article-content ul {
    margin: 0.75rem 0 1rem 1.25rem;
}
.article-content li {
    margin-bottom: 0.375rem;
}

/* ============================================
   BTLINK (breadcrumb link helper)
   ============================================ */
.btlink {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.btlink:hover { text-decoration: underline; }

/* Title helper */
.title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

/* Desc helper */
.desc {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-card { max-width: 400px; margin: 0 auto; }
    .about-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-inner, .footer__inner, .footer__grid, .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 3rem;
    }
}

@media (max-width: 768px) {
    .header-nav, .header__nav, .nav-menu, .nav { display: none; }
    .header-burger, .header__burger, .burger, .mobile-menu-btn { display: flex; }
    .header__contacts { display: none; }

    .hero { padding: 2.5rem 0; }
    .hero-title { font-size: 2rem; }
    .hero--page .hero__title { font-size: 1.75rem; }

    .services-grid, .reviews-grid, .articles-grid,
    .advantages-grid, .contacts-grid { grid-template-columns: 1fr; }

    .about-features, .about-stats, .hero-card-stats { grid-template-columns: 1fr; }

    .section-title { font-size: 1.75rem; }
    .page-title { font-size: 2rem; }
    .article-detail-title { font-size: 1.75rem; }
    .cta-title { font-size: 1.75rem; }

    .footer-inner, .footer__inner, .footer__grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom, .footer__bottom, .footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }

    .cta-contacts { flex-direction: column; align-items: center; }
    .cta-contact-item { width: 100%; max-width: 320px; justify-content: center; }

    .content-grid { grid-template-columns: 1fr; }
    .content-grid--reverse { direction: ltr; }

    .float-cta { display: flex; }
    .scroll-top.visible { bottom: 6rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .btn--lg { padding: 0.875rem 1.5rem; font-size: 1rem; }
    .cta-phone-block { flex-direction: column; padding: 1.5rem; }
    .emergency-inner { flex-direction: column; gap: 0.75rem; }
    .emergency-phone { font-size: 1.25rem; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 0.5rem;
    flex-shrink: 0;
}
.lang-btn,
.lang-current {
    padding: 0.3rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
    border: 1px solid rgba(255,255,255,0.2);
}
.lang-btn {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
    border-radius: 4px 0 0 4px;
    cursor: pointer;
}
.lang-btn:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}
.lang-current {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 0 4px 4px 0;
    cursor: default;
}

/* Header variant: index.html */
.header-inner .lang-switcher {
    margin-left: auto;
}

/* Header variant: BEM */
.header__inner .lang-switcher,
.header__contacts .lang-switcher {
    margin-left: 0.75rem;
}

/* Header variant: articles */
.nav-container .lang-switcher {
    margin-left: auto;
}

/* Header variant: city pages */
.header .lang-switcher {
    margin-left: 0.5rem;
}

/* Mobile: float switcher */
@media (max-width: 768px) {
    .lang-switcher {
        position: fixed;
        bottom: 80px;
        right: 16px;
        z-index: 1000;
        flex-direction: column;
        gap: 0;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    .lang-btn,
    .lang-current {
        padding: 0.5rem 0.65rem;
        font-size: 0.8rem;
        text-align: center;
        border: none;
        border-radius: 0;
    }
    .lang-btn {
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
}
