:root {
            --primary: #0066CC;
            --primary-dark: #004999;
            --primary-light: #E8F4FF;
            --accent: #00C9A7;
            --accent-dark: #00A68A;
            --dark: #1A2B3C;
            --gray-900: #212529;
            --gray-700: #495057;
            --gray-500: #6c757d;
            --gray-300: #dee2e6;
            --gray-100: #f8f9fa;
            --white: #ffffff;
            --gradient-primary: linear-gradient(135deg, #0066CC 0%, #00C9A7 100%);
            --gradient-hero: linear-gradient(135deg, #E8F4FF 0%, #E0F7F3 100%);
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
            --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
        }

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

        body {
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            line-height: 1.7;
            color: var(--gray-700);
            background-color: var(--white);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            color: var(--dark);
            line-height: 1.3;
        }

        /* ===== NAVIGATION ===== */
        .navbar {
            padding: 1rem 0;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.95);
            top: 36px !important;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }

        .navbar.scrolled {
            padding: 0.5rem 0;
            box-shadow: var(--shadow-sm);
        }

        .navbar-brand {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .navbar-logo {
            height: 50px;
            width: auto;
            transition: all 0.3s ease;
        }

        .navbar.scrolled .navbar-logo {
            height: 40px;
        }

        .nav-link {
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 0.875rem;
            letter-spacing: 0.5px;
            color: var(--dark) !important;
            padding: 0.5rem 1.25rem !important;
            position: relative;
            transition: color 0.3s ease;
        }

        /* Underline on ::before so .dropdown-toggle keeps Bootstrap caret on ::after */
        .nav-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::before,
        .nav-link.active::before {
            width: 60%;
        }

        .nav-link:hover {
            color: var(--primary) !important;
        }

        .dropdown-menu {
            border: none;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-lg);
            padding: 0.75rem 0;
            min-width: 280px;
            background: var(--white);
            margin-top: 0;
        }

        @media (min-width: 992px) {
            .nav-item.dropdown:hover > .dropdown-menu {
                display: block;
            }
            .nav-item.dropdown > .dropdown-toggle::after {
                transition: transform 0.2s ease;
            }
            .nav-item.dropdown:hover > .dropdown-toggle::after {
                transform: rotate(180deg);
            }
        }

        .dropdown-item {
            font-family: 'Inter', sans-serif;
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--dark);
            padding: 0.625rem 1.5rem;
            transition: all 0.2s ease;
        }

        .dropdown-item:hover,
        .dropdown-item:focus {
            background: var(--primary-light);
            color: var(--primary);
        }

        .navbar-phone {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            font-size: 1rem;
        }

        .navbar-phone i {
            font-size: 1.25rem;
        }

        .btn-nav {
            background: var(--gradient-primary);
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.875rem;
            color: var(--white);
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
        }

        .btn-nav:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
            color: var(--white);
        }

        /* ===== HERO SECTION ===== */
        .hero-section {
            min-height: auto;
            padding: 130px 0 50px;
            background: var(--gradient-hero);
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 80%;
            height: 150%;
            background: radial-gradient(circle, rgba(0, 201, 167, 0.1) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-section::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 80px;
            background: linear-gradient(to top, var(--white), transparent);
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow-sm);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.02); }
        }

        .hero-badge i {
            color: var(--accent);
        }

        .hero-title {
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }

        .hero-title span {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 1.125rem;
            color: var(--gray-700);
            margin-bottom: 2rem;
            max-width: 500px;
        }

        .benefits-list {
            list-style: none;
            padding: 0;
            margin: 0 0 2rem 0;
        }

        .benefits-list li {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.75rem 0;
            font-size: 1.0625rem;
            font-weight: 500;
            color: var(--dark);
        }

        .benefits-list li i {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--accent);
            color: var(--white);
            border-radius: 50%;
            font-size: 0.875rem;
        }

        .btn-primary-custom {
            background: var(--gradient-primary);
            border: none;
            padding: 1rem 2rem;
            border-radius: var(--radius-sm);
            font-weight: 700;
            font-size: 1rem;
            color: var(--white);
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
        }

        .btn-primary-custom:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0, 102, 204, 0.4);
            color: var(--white);
        }

        .btn-primary-custom i {
            transition: transform 0.3s ease;
        }

        .btn-primary-custom:hover i {
            transform: translateX(3px);
        }

        .btn-outline-custom {
            background: transparent;
            border: 2px solid var(--primary);
            padding: 1rem 2rem;
            border-radius: var(--radius-sm);
            font-weight: 700;
            font-size: 1rem;
            color: var(--primary);
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
        }

        .btn-outline-custom:hover {
            background: var(--primary);
            color: var(--white);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
        }

        .hero-image-wrapper {
            position: relative;
            z-index: 2;
        }

        .hero-image {
            width: 100%;
            height: 500px;
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-lg);
            object-fit: cover;
        }

        .hero-stats {
            position: absolute;
            bottom: 30px;
            left: -30px;
            background: var(--white);
            padding: 1.25rem 1.5rem;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-md);
            display: flex;
            gap: 1.5rem;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--primary);
            line-height: 1;
        }

        .stat-label {
            font-size: 0.75rem;
            color: var(--gray-500);
            margin-top: 0.25rem;
        }

        /* ===== SECTION STYLES ===== */
        section {
            padding: 70px 0;
            position: relative;
        }

        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 3rem;
        }

        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--primary-light);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 1rem;
        }

        .section-title {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-size: 1.125rem;
            color: var(--gray-500);
        }

        /* ===== FEDERAL PROGRAM SECTION ===== */
        #federal-program {
            background: var(--white);
        }

        .program-card {
            background: var(--gray-100);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            height: 100%;
        }

        .program-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .program-card p {
            color: var(--gray-700);
            margin-bottom: 1rem;
        }

        .treatment-list {
            list-style: none;
            padding: 0;
            margin: 1.5rem 0 0 0;
        }

        .treatment-list li {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--gray-300);
        }

        .treatment-list li:last-child {
            border-bottom: none;
        }

        .treatment-list li i {
            color: var(--accent);
            font-size: 1.25rem;
            margin-top: 0.125rem;
        }

        /* Before-After Slider */
        .before-after-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            box-shadow: var(--shadow-md);
        }

        .before-after-header {
            text-align: center;
            margin-bottom: 1rem;
        }

        .before-after-header h4 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }

        .before-after-slider {
            border-radius: var(--radius-md);
            overflow: hidden;
        }

        .juxtapose {
            max-width: 100%;
            height: 500px;
        }

        /* ===== STEPS SECTION ===== */
        #appointment {
            background: var(--gradient-hero);
        }

        .step-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 2rem;
            height: 100%;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .step-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary-light);
        }

        .step-number {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-primary);
            color: var(--white);
            font-family: 'Montserrat', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            border-radius: 50%;
            margin: 0 auto 1.5rem;
        }

        .step-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 1.5rem;
        }

        .step-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: invert(33%) sepia(98%) saturate(1497%) hue-rotate(190deg) brightness(91%) contrast(101%);
        }

        .step-card h4 {
            font-size: 1.125rem;
            margin-bottom: 0.75rem;
        }

        .step-card p {
            color: var(--gray-500);
            font-size: 0.9375rem;
            margin: 0;
        }

        /* Steps Vertical Layout */
        .steps-vertical {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .step-horizontal {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            background: var(--white);
            padding: 1.25rem;
            border-radius: var(--radius-md);
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .step-horizontal:hover {
            transform: translateX(8px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }

        .step-number-sm {
            width: 44px;
            height: 44px;
            min-width: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-primary);
            color: var(--white);
            font-family: 'Montserrat', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            border-radius: 50%;
        }

        .step-content-h h5 {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 0.25rem;
        }

        .step-content-h p {
            color: var(--gray-500);
            font-size: 0.875rem;
            margin: 0;
            line-height: 1.5;
        }

        /* ===== FORM SECTION ===== */
        .form-card {
            background: var(--white);
            border-radius: var(--radius-xl);
            padding: 2.5rem;
            box-shadow: var(--shadow-lg);
        }

        .form-card h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .form-card .subtitle {
            color: var(--gray-500);
            margin-bottom: 2rem;
        }

        .form-section-title {
            font-family: 'Inter', sans-serif;
            font-size: 0.9375rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 1rem;
        }

        .form-check {
            padding: 0.75rem 0 0.75rem 2rem;
            border-bottom: 1px solid var(--gray-100);
        }

        .form-check:last-child {
            border-bottom: none;
        }

        .form-check-input {
            width: 1.25rem;
            height: 1.25rem;
            margin-top: 0;
            border: 2px solid var(--gray-300);
        }

        .form-check-input:checked {
            background-color: var(--primary);
            border-color: var(--primary);
        }

        .form-check-label {
            font-size: 0.9375rem;
            color: var(--gray-700);
            cursor: pointer;
        }

        .form-control {
            padding: 0.875rem 1rem;
            border: 2px solid var(--gray-300);
            border-radius: var(--radius-sm);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
        }

        .form-label {
            font-weight: 600;
            font-size: 0.875rem;
            color: var(--dark);
            margin-bottom: 0.5rem;
        }

        .input-group-text {
            background: var(--gray-100);
            border: 2px solid var(--gray-300);
            border-right: none;
            font-size: 1.25rem;
        }

        .input-group .form-control {
            border-left: none;
        }

        .btn-submit {
            width: 100%;
            background: var(--gradient-primary);
            border: none;
            padding: 1rem 2rem;
            border-radius: var(--radius-sm);
            font-weight: 700;
            font-size: 1rem;
            color: var(--white);
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
        }

        .btn-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0, 102, 204, 0.4);
            color: var(--white);
        }

        /* ===== DOCTOR SECTION ===== */
        #doctor {
            background: var(--white);
        }

        .doctor-card {
            background: var(--gradient-hero);
            border-radius: var(--radius-xl);
            padding: 3rem;
            position: relative;
            overflow: hidden;
        }

        .doctor-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -30%;
            width: 60%;
            height: 150%;
            background: radial-gradient(circle, rgba(0, 201, 167, 0.15) 0%, transparent 70%);
            pointer-events: none;
        }

        .doctor-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 1rem;
        }

        .doctor-name {
            font-size: 1.75rem;
            margin-bottom: 0.5rem;
        }

        .doctor-specialty {
            color: var(--gray-500);
            font-size: 1rem;
            margin-bottom: 1.5rem;
        }

        .doctor-credentials {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .credential-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--white);
            padding: 0.75rem 1rem;
            border-radius: var(--radius-sm);
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--dark);
        }

        .credential-item i {
            color: var(--primary);
        }

        .doctor-questions {
            margin-top: 1.5rem;
        }

        .question-btn {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            background: var(--white);
            border: none;
            padding: 1rem 1.25rem;
            border-radius: var(--radius-sm);
            margin-bottom: 0.75rem;
            font-size: 0.9375rem;
            font-weight: 600;
            color: var(--dark);
            text-align: left;
            transition: all 0.3s ease;
        }

        .question-btn:hover {
            background: var(--primary);
            color: var(--white);
            transform: translateX(5px);
        }

        .question-btn i {
            opacity: 0.5;
            transition: all 0.3s ease;
        }

        .question-btn:hover i {
            opacity: 1;
            transform: translateX(3px);
        }

        .doctor-image-wrapper {
            position: relative;
            z-index: 1;
        }

        .doctor-image {
            width: 100%;
            height: 500px;
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-lg);
            object-fit: cover;
        }

        .doctor-experience {
            position: absolute;
            bottom: 30px;
            right: -15px;
            background: var(--gradient-primary);
            color: var(--white);
            padding: 1.25rem 1.5rem;
            border-radius: var(--radius-md);
            text-align: center;
            box-shadow: var(--shadow-md);
        }

        .experience-number {
            font-family: 'Montserrat', sans-serif;
            font-size: 2rem;
            font-weight: 700;
            line-height: 1;
        }

        .experience-label {
            font-size: 0.75rem;
            opacity: 0.9;
        }

        /* ===== EVLK SECTION ===== */
        #evlk {
            background: var(--gray-100);
        }

        .evlk-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            height: 100%;
        }

        .evlk-image-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .evlk-image-grid img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: var(--radius-md);
            transition: all 0.3s ease;
        }

        .evlk-image-grid img:hover {
            transform: scale(1.02);
        }

        /* ===== ABOUT SECTION ===== */
        #about {
            background: var(--white);
        }

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

        .about-feature {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .about-feature i {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-light);
            color: var(--primary);
            border-radius: var(--radius-sm);
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .about-feature h5 {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .about-feature p {
            font-size: 0.875rem;
            color: var(--gray-500);
            margin: 0;
        }

        .contact-card {
            background: var(--gradient-primary);
            border-radius: var(--radius-lg);
            padding: 2rem;
            color: var(--white);
        }

        .contact-card h4 {
            color: var(--white);
            font-size: 1.25rem;
            margin-bottom: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .contact-item i {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            font-size: 1rem;
        }

        .contact-item span {
            font-size: 1rem;
        }

        .contact-item .phone {
            font-size: 1.25rem;
            font-weight: 700;
        }

        .about-image {
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-lg);
            width: 100%;
            height: 500px;
            object-fit: cover;
        }

        /* ===== FOOTER ===== */
        .footer {
            background: var(--dark);
            color: var(--white);
            padding: 60px 0 30px;
        }

        .footer-logo-img {
            height: 60px;
            width: auto;
            margin-bottom: 1.5rem;
            filter: brightness(0) invert(1);
        }

        .footer-contacts {
            margin-top: 1.5rem;
        }

        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 1rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .footer-contact-item i {
            color: var(--accent);
            font-size: 1rem;
            margin-top: 0.25rem;
        }

        .footer-contact-item a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-contact-item a:hover {
            color: var(--accent);
        }

        .footer-contact-label {
            display: block;
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 0.25rem;
        }

        .footer-phone {
            display: block;
            font-size: 1rem;
            font-weight: 600;
            color: var(--white) !important;
        }

        .footer-phone:hover {
            color: var(--accent) !important;
        }

        .footer-description {
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .footer-address {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            font-size: 0.9375rem;
        }

        .footer-address i {
            color: var(--accent);
            margin-top: 0.25rem;
        }

        .map-container {
            height: 350px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            margin-bottom: 20px;
        }

        #map {
            width: 100%;
            height: 100%;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 40px;
            padding-top: 20px;
            text-align: center;
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.5);
        }

        /* ===== FLOATING ELEMENTS ===== */
        .floating-cta {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .floating-btn {
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: none;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-md);
        }

        .floating-btn.phone {
            background: var(--gradient-primary);
            color: var(--white);
        }

        .floating-btn:hover {
            transform: scale(1.1);
        }

        /* ===== RESPONSIVE ===== */
        
        /* Tablet */
        @media (max-width: 991px) {
            .hero-section {
                padding: 100px 0 40px;
            }

            .hero-image {
                height: 400px;
            }

            .hero-stats {
                position: relative;
                bottom: auto;
                left: auto;
                margin-top: 1.5rem;
                justify-content: center;
            }

            .hero-title {
                font-size: 2rem;
            }

            .section-title {
                font-size: 1.75rem;
            }

            .doctor-card {
                padding: 2rem;
            }

            .doctor-image {
                height: 400px;
            }

            .doctor-experience {
                right: 20px;
                bottom: 20px;
            }

            .about-features {
                grid-template-columns: 1fr;
            }

            .about-image {
                height: 400px;
            }

            .program-card {
                padding: 1.5rem;
            }

            .evlk-card {
                padding: 1.5rem;
            }
        }

        /* Mobile */
        @media (max-width: 767px) {
            html, body {
                overflow-x: hidden;
                width: 100%;
            }

            .container {
                overflow-x: hidden;
            }

            section {
                padding: 40px 0;
                overflow-x: hidden;
            }

            .row {
                margin-left: 0;
                margin-right: 0;
            }

            .section-header {
                margin-bottom: 2rem;
            }

            .section-badge {
                font-size: 0.7rem;
                padding: 0.4rem 0.75rem;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .section-subtitle {
                font-size: 1rem;
            }

            /* Hero */
            .hero-section {
                padding: 90px 0 30px;
                overflow: hidden;
            }

            .hero-image-wrapper {
                overflow: hidden;
            }

            .hero-badge {
                font-size: 0.75rem;
                padding: 0.4rem 0.75rem;
            }

            .hero-title {
                font-size: 1.5rem;
                margin-bottom: 1rem;
            }

            .hero-subtitle {
                font-size: 1rem;
                margin-bottom: 1.5rem;
            }

            .benefits-list li {
                font-size: 0.9375rem;
                padding: 0.5rem 0;
            }

            .benefits-list li i {
                width: 24px;
                height: 24px;
                font-size: 0.75rem;
            }

            .btn-primary-custom,
            .btn-outline-custom {
                padding: 0.875rem 1.5rem;
                font-size: 0.9375rem;
                width: 100%;
                justify-content: center;
            }

            .hero-image-wrapper {
                margin-top: 2rem;
            }

            .hero-image {
                height: 280px;
                border-radius: var(--radius-lg);
            }

            .hero-stats {
                left: 0;
                right: 0;
                flex-wrap: wrap;
                gap: 1rem;
                padding: 1rem;
            }

            .stat-number {
                font-size: 1.5rem;
            }

            .stat-label {
                font-size: 0.7rem;
            }

            /* Program */
            .program-card {
                padding: 1.25rem;
            }

            .program-card h3 {
                font-size: 1.25rem;
            }

            .program-card h4 {
                font-size: 1.125rem !important;
            }

            .treatment-list li {
                padding: 0.5rem 0;
                font-size: 0.875rem;
            }

            .before-after-card {
                padding: 1rem;
                margin-top: 1.5rem;
            }

            .juxtapose {
                height: 350px;
            }

            /* Steps */
            .steps-vertical {
                margin-bottom: 2rem;
            }

            .step-horizontal {
                padding: 1rem;
            }

            .step-number-sm {
                width: 36px;
                height: 36px;
                min-width: 36px;
                font-size: 1rem;
            }

            .step-content-h h5 {
                font-size: 0.9375rem;
            }

            .step-content-h p {
                font-size: 0.8125rem;
            }

            /* Form */
            .form-card {
                padding: 1.25rem;
            }

            .form-card h3 {
                font-size: 1.25rem;
            }

            .form-section-title {
                font-size: 0.875rem;
            }

            .form-check {
                padding: 0.5rem 0 0.5rem 1.75rem;
            }

            .form-check-label {
                font-size: 0.875rem;
            }

            .form-control {
                padding: 0.75rem;
                font-size: 0.9375rem;
            }

            .btn-submit {
                padding: 0.875rem 1.5rem;
                font-size: 0.9375rem;
            }

            /* Doctor */
            .doctor-card {
                padding: 1.5rem;
            }

            .doctor-badge {
                font-size: 0.7rem;
            }

            .doctor-card h3 {
                font-size: 1rem;
            }

            .doctor-name {
                font-size: 1.5rem;
            }

            .doctor-specialty {
                font-size: 0.9375rem;
            }

            .doctor-credentials {
                gap: 0.5rem;
            }

            .credential-item {
                padding: 0.5rem 0.75rem;
                font-size: 0.75rem;
            }

            .question-btn {
                padding: 0.75rem 1rem;
                font-size: 0.8125rem;
            }

            .doctor-image {
                height: 350px;
                margin-top: 1.5rem;
            }

            .doctor-card {
                overflow: hidden;
            }

            .doctor-experience {
                right: 10px;
                bottom: 20px;
                padding: 1rem;
            }

            .doctor-image-wrapper {
                overflow: hidden;
            }

            .experience-number {
                font-size: 1.5rem;
            }

            /* EVLK */
            .evlk-card {
                padding: 1.25rem;
            }

            .evlk-image-grid {
                grid-template-columns: 1fr 1fr;
                gap: 0.5rem;
                margin-top: 1.5rem;
            }

            .evlk-image-grid img {
                height: 150px;
            }

            /* About */
            .about-features {
                gap: 1rem;
                margin: 1.5rem 0;
            }

            .about-feature i {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .about-feature h5 {
                font-size: 0.9375rem;
            }

            .about-feature p {
                font-size: 0.8125rem;
            }

            .contact-card {
                padding: 1.25rem;
            }

            .contact-card h4 {
                font-size: 1.125rem;
                margin-bottom: 1rem;
            }

            .contact-item {
                margin-bottom: 0.75rem;
            }

            .contact-item i {
                width: 36px;
                height: 36px;
                font-size: 0.875rem;
            }

            .contact-item .phone {
                font-size: 1.125rem;
            }

            .about-image {
                height: 300px;
                margin-top: 1.5rem;
            }

            /* Footer */
            .footer {
                padding: 40px 0 20px;
            }

            .footer-logo-img {
                height: 50px;
            }

            .footer-description {
                font-size: 0.8125rem;
            }

            .footer-address {
                font-size: 0.875rem;
            }

            .map-container {
                height: 250px;
                margin-top: 1.5rem;
            }

            .footer-bottom {
                margin-top: 30px;
                padding-top: 15px;
                font-size: 0.75rem;
            }

            /* Floating */
            .floating-cta {
                bottom: 15px;
                right: 15px;
                gap: 0.5rem;
            }

            .floating-btn {
                width: 48px;
                height: 48px;
                font-size: 1.25rem;
            }

            /* Navbar */
            .navbar {
                padding: 0.75rem 0;
            }

            .navbar-logo {
                height: 36px;
            }

            .navbar-collapse {
                background: var(--white);
                padding: 1rem;
                margin-top: 0.5rem;
                border-radius: var(--radius-md);
                box-shadow: var(--shadow-md);
            }

            .nav-link {
                padding: 0.75rem 1rem !important;
                border-bottom: 1px solid var(--gray-100);
            }

            .nav-link::before {
                display: none;
            }

            .navbar-collapse .d-flex {
                flex-direction: column;
                gap: 0.75rem;
                margin-top: 1rem;
            }

            .navbar-phone {
                justify-content: center;
                padding: 0.75rem;
                background: var(--primary-light);
                border-radius: var(--radius-sm);
            }

            .btn-nav {
                width: 100%;
                text-align: center;
            }
        }

        /* Small Mobile */
        @media (max-width: 375px) {
            .hero-title {
                font-size: 1.375rem;
            }

            .section-title {
                font-size: 1.375rem;
            }

            .hero-stats {
                flex-direction: column;
                align-items: center;
            }

            .stat-item {
                width: 100%;
            }

            .evlk-image-grid {
                grid-template-columns: 1fr;
            }

            .evlk-image-grid img {
                height: 180px;
            }

            .doctor-credentials {
                flex-direction: column;
            }

            .credential-item {
                width: 100%;
                justify-content: center;
            }
        }

        /* ===== ANIMATIONS ===== */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .animate-float {
            animation: float 3s ease-in-out infinite;
        }

        /* ===== TOP BAR ===== */
        .top-bar {
            background: var(--dark);
            color: rgba(255,255,255,0.8);
            padding: 0.5rem 0;
            font-size: 0.8125rem;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1060;
        }
        .top-bar a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: color 0.3s;
        }
        .top-bar a:hover { color: var(--accent); }
        .top-bar-contacts { display: flex; gap: 1.5rem; }
        .top-bar-contacts i, .top-bar-links i { margin-right: 0.35rem; }

        /* ===== HERO CAROUSEL ===== */
        .hero-carousel-section { margin-top: 112px; }
        .carousel-slide {
            min-height: 550px;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            position: relative;
        }
        .carousel-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(0,30,60,0.7) 0%, rgba(0,102,204,0.4) 100%);
        }
        .carousel-caption-custom {
            position: relative;
            z-index: 2;
            color: var(--white);
            max-width: 600px;
            padding: 2rem 0;
        }
        .carousel-badge {
            display: inline-block;
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            padding: 0.4rem 1rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 1.25rem;
            color: var(--white);
        }
        .carousel-caption-custom h1 {
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 700;
            color: var(--white);
            margin-bottom: 1rem;
        }
        .carousel-caption-custom p {
            font-size: 1.125rem;
            opacity: 0.9;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }
        .carousel-control-prev, .carousel-control-next {
            width: 50px;
            height: 50px;
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(5px);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.8;
        }
        .carousel-control-prev { left: 20px; }
        .carousel-control-next { right: 20px; }
        .carousel-control-prev:hover, .carousel-control-next:hover { opacity: 1; background: var(--primary); }
        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 6px;
        }

        .hero-video-section { position: relative; overflow: hidden; }
        .hero-video-frame {
            position: relative;
            min-height: 550px;
            display: flex;
            align-items: stretch;
        }
        .hero-video-bg {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }
        .hero-video-frame .carousel-overlay { z-index: 1; }
        .hero-video-caption-layer {
            position: absolute;
            inset: 0;
            z-index: 2;
            display: flex;
            align-items: center;
            pointer-events: none;
        }
        .hero-video-caption-layer > .container {
            align-self: stretch;
            display: flex;
            align-items: center;
        }
        .hero-video-caption-rotator {
            position: relative;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: 1fr;
        }
        .hero-video-caption-slide {
            grid-area: 1 / 1;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.55s ease, visibility 0.55s;
            pointer-events: none;
        }
        .hero-video-caption-slide.is-active {
            opacity: 1;
            visibility: visible;
            z-index: 1;
            pointer-events: auto;
        }

        /* ===== PAGINATION INFO HIDE ===== */
        nav[aria-label="Pagination Navigation"] > div:first-child {
            display: none !important;
        }

        /* ===== PAGE HEADER ===== */
        .page-header-section {
            background: var(--gradient-hero);
            padding: 160px 0 40px;
            text-align: center;
        }
        .page-header-title {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 0.75rem;
        }
        .page-header-section .breadcrumb {
            justify-content: center;
            margin: 0;
        }
        .page-header-section .breadcrumb-item a {
            color: var(--primary);
            text-decoration: none;
        }

        /* ===== WELCOME SECTION ===== */
        .section-welcome {
            padding: 70px 0;
            background: var(--white);
        }
        .glavvrach-card {
            background: var(--gradient-hero);
            border-radius: var(--radius-xl);
            overflow: hidden;
            text-align: center;
            box-shadow: var(--shadow-md);
        }
        .glavvrach-photo {
            width: 100%;
            height: 320px;
            object-fit: cover;
        }
        .glavvrach-info {
            padding: 1.5rem;
        }
        .glavvrach-title {
            display: block;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .glavvrach-info h4 {
            font-size: 1.125rem;
            margin: 0;
        }

        /* ===== DEPARTMENTS SECTION ===== */
        .section-departments {
            padding: 70px 0;
            background: var(--gray-100);
        }
        .department-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            background: var(--white);
            padding: 2rem 1.5rem;
            border-radius: var(--radius-lg);
            transition: all 0.3s ease;
            text-decoration: none;
            color: var(--dark);
            height: 100%;
            border: 1px solid transparent;
        }
        .department-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary-light);
            color: var(--primary);
        }
        .department-icon {
            width: 64px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-light);
            color: var(--primary);
            border-radius: var(--radius-md);
            font-size: 1.75rem;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }
        .department-card:hover .department-icon {
            background: var(--gradient-primary);
            color: var(--white);
        }
        .department-card h5 {
            font-family: 'Inter', sans-serif;
            font-size: 0.9375rem;
            font-weight: 700;
            margin: 0;
        }

        /* ===== DOCTORS GRID ===== */
        .section-doctors {
            padding: 70px 0;
            background: var(--gradient-hero);
        }
        .doctor-card-grid {
            background: var(--white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            padding: 1.5rem;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .doctor-card-grid:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        .doctor-card-photo {
            width: 100%;
            height: 280px;
            border-radius: var(--radius-md);
            overflow: hidden;
            margin-bottom: 1rem;
        }
        .doctor-card-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .doctor-card-placeholder {
            width: 100%;
            height: 100%;
            background: var(--gray-100);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: var(--gray-300);
        }
        .doctor-card-body {
            flex: 1;
            margin-bottom: 1rem;
        }
        .doctor-card-body h5 {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }
        .doctor-card-spec {
            color: var(--gray-500);
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }
        .doctor-card-dept {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary);
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        /* ===== DOCTORS CAROUSEL ===== */
        .doctors-carousel .owl-stage {
            display: flex;
        }
        .doctors-carousel .owl-item {
            display: flex;
        }
        .doctors-carousel .doctor-card-grid {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .doctors-carousel .doctor-card-photo {
            height: 220px;
            flex-shrink: 0;
        }
        .doctors-carousel .doctor-card-photo img {
            height: 220px;
            object-fit: cover;
            width: 100%;
        }
        .doctors-carousel .doctor-card-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        .doctors-carousel .doctor-card-body h5 {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 0.95rem;
        }
        .doctors-carousel .doctor-card-spec {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .doctors-carousel .doctor-card-grid .btn {
            flex-shrink: 0;
            font-size: 0.8rem;
            padding: 0.4rem 0.5rem;
            margin-top: auto;
        }
        .doctors-carousel .owl-nav {
            position: absolute;
            top: -70px;
            right: 0;
            display: flex;
            gap: 0.5rem;
        }
        .doctors-carousel .owl-nav button.owl-prev,
        .doctors-carousel .owl-nav button.owl-next {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--white) !important;
            border: 2px solid var(--primary) !important;
            color: var(--primary) !important;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            transition: all 0.3s ease;
        }
        .doctors-carousel .owl-nav button.owl-prev:hover,
        .doctors-carousel .owl-nav button.owl-next:hover {
            background: var(--primary) !important;
            color: var(--white) !important;
        }
        .doctors-carousel .owl-nav button span {
            display: none;
        }
        .doctors-carousel .owl-stage-outer {
            overflow: hidden;
        }

        /* ===== SERVICES CARDS ===== */
        .section-services {
            padding: 70px 0;
            background: var(--white);
        }
        .section-services-list { padding: 50px 0; }
        .service-card-link {
            text-decoration: none;
            color: inherit;
            display: block;
            height: 100%;
        }
        .service-card {
            background: var(--gray-100);
            border-radius: var(--radius-lg);
            padding: 2rem;
            height: 100%;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
            background: var(--white);
        }
        .service-card-icon {
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-primary);
            color: var(--white);
            border-radius: var(--radius-md);
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        .service-card h5 {
            font-family: 'Inter', sans-serif;
            font-size: 1.0625rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }
        .service-card p {
            color: var(--gray-500);
            font-size: 0.875rem;
            margin-bottom: 0.75rem;
        }
        .service-more {
            color: var(--primary);
            font-weight: 600;
            font-size: 0.875rem;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            transition: gap 0.3s;
        }
        .service-card:hover .service-more { gap: 0.75rem; }

        /* ===== NEWS CARDS ===== */
        .section-news {
            padding: 70px 0;
            background: var(--gray-100);
        }
        /* ===== NEWS INDEX ===== */
        .section-news-list { padding: 50px 0; }
        .news-card-link {
            text-decoration: none;
            color: inherit;
            display: block;
            height: 100%;
        }
        .news-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        .news-card-img {
            height: 200px;
            background-size: cover;
            background-position: center;
        }
        .news-card-img-placeholder {
            background: var(--gradient-hero);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: var(--primary);
        }
        .news-card-body {
            padding: 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .news-card-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }
        .news-card-date {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.8125rem;
            color: var(--gray-500);
        }
        .news-card-badge {
            display: inline-block;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--primary);
            background: var(--primary-light);
            padding: 0.2rem 0.65rem;
            border-radius: 50px;
        }
        .news-card-body h5 {
            font-family: 'Inter', sans-serif;
            font-size: 1.0625rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--dark);
            line-height: 1.4;
        }
        .news-card-body p {
            color: var(--gray-500);
            font-size: 0.875rem;
            margin: 0;
            flex: 1;
        }
        .news-card-readmore {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.8125rem;
            font-weight: 600;
            color: var(--primary);
            margin-top: 1rem;
            transition: gap 0.2s;
        }
        .news-card:hover .news-card-readmore { gap: 0.65rem; }

        /* Featured Card */
        .news-featured-link {
            text-decoration: none;
            color: inherit;
            display: block;
            margin-bottom: 1rem;
        }
        .news-featured {
            display: flex;
            background: var(--white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            min-height: 340px;
        }
        .news-featured:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }
        .news-featured-img {
            position: relative;
            width: 50%;
            min-height: 340px;
            background-size: cover;
            background-position: center;
        }
        .news-featured-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            background: var(--gradient-hero);
            font-size: 5rem;
            color: var(--primary);
        }
        .news-featured-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent 60%, rgba(255,255,255,0.1));
        }
        .news-featured-body {
            width: 50%;
            padding: 2.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .news-featured-badge {
            display: inline-block;
            font-size: 0.8125rem;
            font-weight: 600;
            color: var(--white);
            background: var(--primary);
            padding: 0.3rem 1rem;
            border-radius: 50px;
            margin-bottom: 1rem;
            width: fit-content;
        }
        .news-featured-body h2 {
            font-family: 'Inter', sans-serif;
            font-size: 1.625rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 0.75rem;
            line-height: 1.3;
        }
        .news-featured-body p {
            color: var(--gray-500);
            font-size: 0.9375rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        }
        .news-featured-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.875rem;
            color: var(--gray-500);
        }
        .news-featured-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
        .news-featured-read {
            font-weight: 600;
            color: var(--primary);
            transition: gap 0.2s;
        }
        .news-featured:hover .news-featured-read { gap: 0.65rem !important; }

        /* ===== NEWS DETAIL (SHOW) ===== */

        /* Hero */
        .news-hero {
            padding: 160px 0 80px;
            background: var(--gradient-primary);
            background-size: cover;
            background-position: center;
            color: var(--white);
        }
        .news-hero .breadcrumb { margin-bottom: 1.5rem; }
        .news-hero .breadcrumb-item a { color: rgba(255,255,255,0.8); }
        .news-hero .breadcrumb-item.active { color: rgba(255,255,255,0.6); }
        .news-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
        .news-hero-content { max-width: 750px; }
        .news-hero-meta {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            margin-bottom: 1.25rem;
        }
        .news-hero-date, .news-hero-category {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.9375rem;
            color: rgba(255,255,255,0.85);
        }
        .news-hero-category {
            background: rgba(255,255,255,0.15);
            padding: 0.25rem 0.85rem;
            border-radius: 50px;
        }
        .news-hero h1 {
            font-family: 'Inter', sans-serif;
            font-size: 2.25rem;
            font-weight: 800;
            line-height: 1.25;
            margin: 0;
        }

        /* Article Body */
        .news-article-section { padding: 60px 0; }
        .news-article-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            box-shadow: var(--shadow-sm);
        }
        .news-article-img {
            width: 100%;
            border-radius: var(--radius-md);
            object-fit: cover;
            max-height: 420px;
            margin-bottom: 2rem;
        }
        .news-article-content {
            line-height: 1.85;
            color: var(--gray-700);
            font-size: 1rem;
        }
        .news-article-content h3 {
            font-family: 'Inter', sans-serif;
            font-size: 1.375rem;
            font-weight: 700;
            color: var(--dark);
            margin-top: 2rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary-light);
        }
        .news-article-content h3:first-child { margin-top: 0; }
        .news-article-content p { margin-bottom: 1.125rem; font-size: 0.9375rem; }
        .news-article-content ul, .news-article-content ol {
            padding-left: 1.5rem;
            margin-bottom: 1.25rem;
        }
        .news-article-content li {
            margin-bottom: 0.5rem;
            font-size: 0.9375rem;
        }
        /* Quill: маркеры задаются через .ql-ui в редакторе; в БД остаётся <ol><li data-list="bullet">… */
        .news-article-content ol li[data-list="bullet"] {
            list-style-type: disc;
        }
        .news-article-content ol li[data-list="bullet"] .ql-ui,
        .news-article-content ol li[data-list="ordered"] .ql-ui {
            display: none;
        }
        .news-article-content blockquote {
            border-left: 4px solid var(--primary);
            background: var(--gray-100);
            padding: 1.25rem 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            font-style: italic;
            color: var(--gray-600);
            font-size: 0.9375rem;
            line-height: 1.7;
        }
        .news-article-content strong { color: var(--dark); }
        .news-article-content img {
            max-width: 100%;
            height: auto;
            border-radius: var(--radius-md);
            margin: 1rem 0;
        }
        .news-article-content p:empty { display: none; }
        .news-article-content div { display: contents; }
        .news-article-content .doccure_post-details-meta,
        .news-article-content .entry-content,
        .news-article-content .footer-meta,
        .news-article-content .tags-share { display: none; }
        .news-article-content a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .news-article-content a:hover { color: var(--primary-dark, #0a3d62); }

        .news-article-footer {
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--gray-200, #e2e8f0);
        }

        /* Article Navigation */
        .news-nav {
            display: flex;
            justify-content: space-between;
            gap: 1.5rem;
            margin-top: 2rem;
        }
        .news-nav-item {
            display: flex;
            flex-direction: column;
            padding: 1.25rem 1.5rem;
            background: var(--white);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            text-decoration: none;
            transition: all 0.3s ease;
            flex: 1;
            max-width: 48%;
        }
        .news-nav-item:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }
        .news-nav-next { text-align: right; }
        .news-nav-label {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.8125rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        .news-nav-title {
            font-family: 'Inter', sans-serif;
            font-size: 0.9375rem;
            font-weight: 600;
            color: var(--dark);
            line-height: 1.4;
        }
        .news-nav-item:hover .news-nav-title { color: var(--primary); }

        /* Sidebar */
        .news-sidebar-sticky { position: sticky; top: 100px; }
        .news-sidebar-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            box-shadow: var(--shadow-sm);
            margin-bottom: 1.5rem;
        }
        .news-sidebar-card-title {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .news-sidebar-card-title i { color: var(--primary); }

        /* Share Buttons */
        .news-share-buttons { display: flex; gap: 0.75rem; }
        .news-share-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.5rem 1rem;
            border-radius: var(--radius-md);
            text-decoration: none;
            font-size: 0.8125rem;
            font-weight: 600;
            color: var(--white);
            transition: all 0.2s;
            flex: 1;
            justify-content: center;
        }
        .news-share-btn:hover { transform: translateY(-2px); color: var(--white); }
        .news-share-vk { background: #4a76a8; }
        .news-share-vk:hover { background: #3d6590; }
        .news-share-tg { background: #2AABEE; }
        .news-share-tg:hover { background: #1d96d4; }
        .news-share-wa { background: #25D366; }
        .news-share-wa:hover { background: #1db954; }

        /* Contact Card in Sidebar */
        .news-contact-card {
            background: var(--gradient-primary) !important;
            color: var(--white);
            text-align: center;
        }
        .news-contact-icon {
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.15);
            border-radius: 50%;
            font-size: 1.5rem;
            margin: 0 auto 1rem;
        }
        .news-contact-card h5 {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .news-contact-card p {
            font-size: 0.875rem;
            opacity: 0.9;
            margin-bottom: 1rem;
        }
        .news-contact-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9375rem;
            margin-bottom: 0.5rem;
            justify-content: center;
        }

        /* Sidebar News Links */
        .news-sidebar-link {
            display: flex;
            gap: 0.75rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--gray-200);
            text-decoration: none;
            transition: all 0.2s;
        }
        .news-sidebar-link:last-child { border-bottom: none; }
        .news-sidebar-link:hover { padding-left: 0.25rem; }
        .news-sidebar-thumb {
            width: 64px;
            height: 52px;
            min-width: 64px;
            border-radius: var(--radius-sm);
            background-size: cover;
            background-position: center;
        }
        .news-sidebar-thumb-placeholder {
            background: var(--gradient-hero);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 1.25rem;
        }
        .news-sidebar-link-date {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.75rem;
            color: var(--gray-500);
        }
        .news-sidebar-link-body h6 {
            font-family: 'Inter', sans-serif;
            font-size: 0.8125rem;
            font-weight: 600;
            color: var(--dark);
            margin: 0.2rem 0 0;
            line-height: 1.35;
        }
        .news-sidebar-link:hover h6 { color: var(--primary); }

        /* CTA */
        .news-cta {
            padding: 70px 0;
            background: var(--gradient-primary);
            color: var(--white);
        }
        .news-cta-content {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }
        .news-cta-content h2 {
            font-family: 'Inter', sans-serif;
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.75rem;
        }
        .news-cta-content p {
            font-size: 1.125rem;
            opacity: 0.9;
            margin-bottom: 2rem;
        }
        .news-cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* ===== ABOUT PAGE ===== */
        .section-about-content { padding: 50px 0; }
        .section-why-us {
            padding: 70px 0;
            background: var(--gray-100);
        }
        .why-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 2rem;
            text-align: center;
            height: 100%;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        .why-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }
        .why-card-icon {
            width: 64px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-primary);
            color: var(--white);
            border-radius: 50%;
            font-size: 1.5rem;
            margin: 0 auto 1.25rem;
        }
        .why-card h5 {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 1.0625rem;
            margin-bottom: 0.75rem;
        }
        .why-card p {
            color: var(--gray-500);
            font-size: 0.875rem;
            margin: 0;
        }

        /* ===== FAQ SECTION ===== */
        .section-faq { padding: 70px 0; }
        .faq-item {
            border: none;
            margin-bottom: 0.75rem;
            border-radius: var(--radius-md) !important;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }
        .faq-item .accordion-button {
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 1rem;
            color: var(--dark);
            background: var(--white);
            border: none;
            padding: 1.25rem 1.5rem;
        }
        .faq-item .accordion-button:not(.collapsed) {
            background: var(--primary-light);
            color: var(--primary);
            box-shadow: none;
        }
        .faq-item .accordion-body {
            padding: 1rem 1.5rem 1.5rem;
            color: var(--gray-700);
            line-height: 1.7;
        }

        /* ===== CONTACT PAGE ===== */
        .section-contacts { padding: 50px 0; }
        .contact-info-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 2rem;
            text-align: center;
            box-shadow: var(--shadow-sm);
            height: 100%;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        .contact-info-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }
        .contact-info-icon {
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-primary);
            color: var(--white);
            border-radius: 50%;
            font-size: 1.25rem;
            margin: 0 auto 1rem;
        }
        .contact-info-card h5 {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .contact-info-card p {
            color: var(--gray-500);
            font-size: 0.9375rem;
            margin-bottom: 0.25rem;
        }

        /* ===== DEPARTMENT DETAIL (NEW) ===== */
        .dept-hero {
            padding: 180px 0 90px;
            background: var(--gradient-primary);
            background-size: cover;
            background-position: center top;
            color: var(--white);
            position: relative;
            min-height: 420px;
            display: flex;
            align-items: flex-end;
        }
        .dept-hero .breadcrumb { margin-bottom: 1.5rem; }
        .dept-hero .breadcrumb-item a { color: rgba(255,255,255,0.8); }
        .dept-hero .breadcrumb-item.active { color: rgba(255,255,255,0.6); }
        .dept-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
        .dept-hero-content { max-width: 700px; }
        .dept-hero-icon {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-lg);
            font-size: 2.25rem;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(255,255,255,0.3);
        }
        .dept-hero h1 {
            font-family: 'Inter', sans-serif;
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            line-height: 1.2;
            color: #ffffff;
        }
        .dept-hero-desc {
            font-size: 1.125rem;
            opacity: 0.9;
            line-height: 1.7;
            margin-bottom: 2rem;
        }
        .dept-hero-btn {
            font-weight: 600;
            padding: 0.75rem 2rem;
            border-radius: var(--radius-md);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }
        .dept-hero-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

        /* Features */
        .dept-features {
            padding: 70px 0;
            background: var(--gray-100);
        }
        a.dept-feature-card-link {
            display: block;
            height: 100%;
            color: inherit;
            text-decoration: none;
        }
        a.dept-feature-card-link:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
            border-radius: var(--radius-lg);
        }
        .dept-feature-card {
            display: flex;
            gap: 1.25rem;
            padding: 1.5rem;
            background: var(--white);
            border-radius: var(--radius-lg);
            height: 100%;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        .dept-feature-card--linked {
            cursor: pointer;
        }
        .dept-feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }
        .dept-feature-icon {
            width: 52px;
            height: 52px;
            min-width: 52px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-light);
            color: var(--primary);
            border-radius: var(--radius-md);
            font-size: 1.375rem;
            transition: all 0.3s ease;
        }
        .dept-feature-card:hover .dept-feature-icon {
            background: var(--gradient-primary);
            color: var(--white);
        }
        .dept-feature-body h5 {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.375rem;
            color: var(--dark);
        }
        .dept-feature-body p {
            font-size: 0.875rem;
            color: var(--gray-500);
            margin: 0;
            line-height: 1.5;
        }

        /* About section */
        .dept-about { padding: 70px 0; }
        .dept-about-content {
            line-height: 1.8;
            color: var(--gray-700);
        }
        .dept-about-content h3 {
            font-family: 'Inter', sans-serif;
            font-size: 1.375rem;
            font-weight: 700;
            color: var(--dark);
            margin-top: 2rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary-light);
        }
        .dept-about-content h3:first-child { margin-top: 0; }
        .dept-about-content p { margin-bottom: 1rem; font-size: 0.9375rem; }
        .dept-about-content ul, .dept-about-content ol {
            padding-left: 1.5rem;
            margin-bottom: 1rem;
        }
        .dept-about-content li {
            margin-bottom: 0.5rem;
            font-size: 0.9375rem;
        }

        /* Sidebar */
        . { position: sticky; top: 100px; }
        .dept-contact-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 2rem;
            box-shadow: var(--shadow-md);
            text-align: center;
            border-top: 4px solid var(--primary);
        }
        .dept-contact-icon {
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-light);
            color: var(--primary);
            border-radius: 50%;
            font-size: 1.5rem;
            margin: 0 auto 1rem;
        }
        .dept-contact-card h4 {
            font-family: 'Inter', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .dept-contact-card > p {
            font-size: 0.875rem;
            color: var(--gray-500);
            margin-bottom: 1.25rem;
        }
        .dept-contact-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.625rem 0;
            border-top: 1px solid var(--gray-200);
            text-align: left;
        }
        .dept-contact-item i {
            color: var(--primary);
            font-size: 1rem;
            min-width: 20px;
        }
        .dept-contact-item span {
            font-size: 0.9375rem;
            color: var(--dark);
        }
        .dept-sidebar-image img {
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            width: 100%;
            height: 220px;
            object-fit: cover;
        }
        .dept-advantages-card {
            background: var(--gray-100);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
        }
        .dept-advantages-card h5 {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }
        .dept-advantages-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .dept-advantages-card li {
            display: flex;
            align-items: center;
            gap: 0.625rem;
            padding: 0.5rem 0;
            font-size: 0.9375rem;
            color: var(--dark);
        }
        .dept-advantages-card li i {
            color: var(--success, #28a745);
            font-size: 0.875rem;
        }

        /* Doctors section */
        .dept-doctors {
            padding: 70px 0;
            background: var(--gray-100);
        }

        /* CTA section */
        .dept-cta {
            padding: 70px 0;
            background: var(--gradient-primary);
            color: var(--white);
        }
        .dept-cta-content {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }
        .dept-cta-content h2 {
            font-family: 'Inter', sans-serif;
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 1rem;
        }
        .dept-cta-content p {
            font-size: 1.125rem;
            opacity: 0.9;
            margin-bottom: 2rem;
        }
        .dept-cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }
        .dept-cta-buttons .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            padding: 0.75rem 1.75rem;
            border-radius: var(--radius-md);
        }

        /* ===== FOOTER SOCIAL ===== */
        .footer-heading {
            font-size: 1.125rem;
            color: var(--white);
            margin-bottom: 1.25rem;
        }
        .footer-social {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.25rem;
        }
        .footer-social-link {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.15);
            color: var(--white);
            border-radius: 50%;
            text-decoration: none;
            font-size: 1.125rem;
            transition: all 0.3s ease;
        }
        .footer-social-link:hover {
            background: var(--accent);
            color: var(--white);
            transform: scale(1.1);
        }

        /* ===== RESPONSIVE NEW ===== */
        @media (max-width: 991px) {
            .hero-carousel-section { margin-top: 98px; }
            .carousel-slide { min-height: 400px; }
            .hero-video-frame { min-height: 400px; }
            .carousel-caption-custom h1 { font-size: 1.75rem; }
            .page-header-section { padding: 130px 0 30px; }
            .glavvrach-photo { height: 250px; }
            .dept-hero { padding: 140px 0 60px; }
            .dept-hero h1 { font-size: 2rem; }
            .dept-sidebar { position: static; }
            .dept-features, .dept-about, .dept-doctors, .dept-cta { padding: 50px 0; }
        }
        @media (max-width: 767px) {
            .top-bar-contacts { display: none !important; }
            .hero-carousel-section { margin-top: 92px; }
            .carousel-slide { min-height: 350px; }
            .hero-video-frame { min-height: 350px; }
            .carousel-caption-custom h1 { font-size: 1.5rem; }
            .carousel-caption-custom p { font-size: 1rem; }
            .carousel-control-prev, .carousel-control-next { width: 36px; height: 36px; }
            .carousel-control-prev { left: 10px; }
            .carousel-control-next { right: 10px; }
            .page-header-section { padding: 120px 0 25px; }
            .section-welcome,
            .section-departments,
            .section-doctors,
            .section-services,
            .section-news,
            .section-why-us,
            .section-faq { padding: 40px 0; }
            .department-card { padding: 1.25rem 1rem; }
            .department-icon { width: 48px; height: 48px; font-size: 1.25rem; }
            .doctor-card-photo { height: 200px; }
            .news-card-img { height: 160px; }
            .news-featured { flex-direction: column; min-height: auto; }
            .news-featured-img { width: 100%; min-height: 220px; }
            .news-featured-body { width: 100%; padding: 1.5rem; }
            .news-featured-body h2 { font-size: 1.25rem; }
            .news-hero { padding: 120px 0 50px; }
            .news-hero h1 { font-size: 1.5rem; }
            .news-article-card { padding: 1.5rem; }
            .news-article-content h3 { font-size: 1.125rem; }
            .news-nav { flex-direction: column; }
            .news-nav-item { max-width: 100%; }
            .news-share-buttons { flex-direction: column; }
            .news-cta-content h2 { font-size: 1.5rem; }
            .news-cta-buttons { flex-direction: column; align-items: center; }
            .glavvrach-photo { height: 200px; }
            .dept-hero { padding: 120px 0 50px; }
            .dept-hero h1 { font-size: 1.75rem; }
            .dept-hero-icon { width: 60px; height: 60px; font-size: 1.75rem; }
            .dept-hero-desc { font-size: 1rem; }
            .dept-feature-card { padding: 1.25rem; }
            .dept-cta-content h2 { font-size: 1.5rem; }
            .dept-cta-buttons { flex-direction: column; align-items: center; }
        }

        /* ===== DOCTORS CATALOG PAGE ===== */
        .doctors-hero-section {
            padding: 140px 0 40px;
            background: var(--gradient-hero);
        }
        .doctors-hero-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
        }
        .doctors-hero-header h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 0.5rem;
        }
        .doctors-hero-subtitle {
            font-size: 1.1rem;
            color: var(--gray-500);
        }

        .doctors-catalog-section {
            padding: 40px 0 80px;
        }
        .doctors-search-bar {
            max-width: 700px;
            margin: 0 auto 30px;
        }
        .doctors-search-bar .input-group {
            background: var(--white);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
        }
        .doctors-search-bar .input-group-text {
            background: transparent;
            border: none;
            color: var(--primary);
            font-size: 1.2rem;
            padding-left: 1.25rem;
        }
        .doctors-search-bar .form-control {
            border: none;
            font-size: 1rem;
            padding: 0.85rem 1rem;
        }
        .doctors-search-bar .form-control:focus {
            box-shadow: none;
        }

        .doctors-catalog-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 30px;
            align-items: start;
        }

        /* Filter Sidebar */
        .doctors-filter-sidebar {
            background: var(--white);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            padding: 1.5rem;
            position: sticky;
            top: 100px;
        }
        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--gray-300);
        }
        .filter-section:last-of-type {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        .filter-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--dark);
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .filter-title i {
            color: var(--primary);
        }
        .filter-options {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            max-height: 220px;
            overflow-y: auto;
        }
        .filter-checkbox,
        .filter-radio {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            padding: 0.35rem 0;
            font-size: 0.9rem;
            color: var(--gray-700);
            transition: color 0.2s;
        }
        .filter-checkbox:hover,
        .filter-radio:hover {
            color: var(--primary);
        }
        .filter-checkbox input,
        .filter-radio input {
            accent-color: var(--primary);
        }
        .filter-checkbox-label,
        .filter-radio-label {
            flex: 1;
        }
        .filter-badge {
            background: var(--primary-light);
            color: var(--primary);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.1rem 0.5rem;
            border-radius: 12px;
        }
        .filter-rating-stars {
            display: inline-flex;
            gap: 2px;
            color: #f59e0b;
            font-size: 0.85rem;
        }
        .filter-experience-btns {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .filter-exp-btn {
            padding: 0.35rem 0.9rem;
            border: 1px solid var(--gray-300);
            border-radius: var(--radius-sm);
            background: var(--white);
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: var(--gray-700);
        }
        .filter-exp-btn:hover,
        .filter-exp-btn.active {
            background: var(--primary);
            color: var(--white);
            border-color: var(--primary);
        }

        /* Catalog Toolbar */
        .doctors-catalog-toolbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.25rem;
        }
        .doctors-count {
            font-size: 0.95rem;
            color: var(--gray-500);
        }
        .doctors-sort .form-select {
            width: auto;
            border-color: var(--gray-300);
            font-size: 0.85rem;
        }

        /* Doctor Cards Grid */
        .doctors-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
        }
        .doctor-catalog-card {
            background: var(--white);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        .doctor-catalog-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
        .doctor-catalog-card-link {
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        .doctor-catalog-photo {
            aspect-ratio: 1 / 1;
            overflow: hidden;
            background: var(--gray-100);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .doctor-catalog-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
            transition: transform 0.4s ease;
        }
        .doctor-catalog-card:hover .doctor-catalog-photo img {
            transform: scale(1.05);
        }
        .doctor-catalog-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: var(--gray-300);
            background: var(--gray-100);
        }
        .doctor-catalog-info {
            padding: 1.25rem;
            flex: 1;
        }
        .doctor-catalog-name {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
            color: var(--dark);
            line-height: 1.3;
        }
        .doctor-catalog-position {
            font-size: 0.85rem;
            color: var(--gray-500);
            margin-bottom: 0.5rem;
        }
        .doctor-catalog-rating {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            margin-bottom: 0.4rem;
        }
        .stars-row {
            display: inline-flex;
            gap: 1px;
            color: #f59e0b;
            font-size: 0.85rem;
        }
        .rating-value {
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--dark);
        }
        .rating-count {
            font-size: 0.8rem;
            color: var(--gray-500);
        }
        .doctor-catalog-experience {
            font-size: 0.85rem;
            color: var(--gray-500);
            margin-bottom: 0.5rem;
        }
        .doctor-catalog-experience i {
            color: var(--primary);
            margin-right: 0.3rem;
        }
        .doctor-catalog-dept {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.2rem 0.65rem;
            border-radius: 12px;
        }
        .doctor-catalog-actions {
            padding: 0 1.25rem 1.25rem;
            display: flex;
            gap: 0.5rem;
        }
        .doctor-catalog-actions .btn {
            flex: 1;
            font-size: 0.8rem;
        }
        .btn-custom {
            background: var(--primary);
            color: var(--white);
            border: none;
            border-radius: var(--radius-sm);
            font-weight: 600;
            transition: all 0.3s;
        }
        .btn-custom:hover {
            background: var(--primary-dark);
            color: var(--white);
        }
        .btn-outline-custom {
            border: 1px solid var(--primary);
            color: var(--primary);
            background: transparent;
            border-radius: var(--radius-sm);
            font-weight: 600;
            transition: all 0.3s;
        }
        .btn-outline-custom:hover {
            background: var(--primary);
            color: var(--white);
        }

        .doctors-empty {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            color: var(--gray-500);
        }
        .doctors-empty i {
            font-size: 3rem;
            margin-bottom: 1rem;
            display: block;
            color: var(--gray-300);
        }
        .doctors-empty p {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        .doctors-pagination {
            margin-top: 2rem;
            display: flex;
            justify-content: center;
        }

        /* ===== DOCTOR PROFILE PAGE (v2) ===== */
        .doc-page-section {
            padding: 140px 0 80px;
            background: var(--gray-100);
            min-height: 100vh;
        }

        /* Doctor Card */
        .doc-card {
            display: flex;
            gap: 2rem;
            background: var(--white);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            padding: 2rem;
            margin-bottom: 2rem;
            border-left: 5px solid var(--primary);
        }
        .doc-card-photo {
            flex-shrink: 0;
            width: 240px;
            height: 300px;
            border-radius: var(--radius-md);
            overflow: hidden;
            background: var(--gray-100);
        }
        .doc-card-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .doc-card-photo-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
            color: var(--gray-300);
        }
        .doc-card-body {
            flex: 1;
            min-width: 0;
        }
        .doc-card-name {
            font-size: 1.85rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 0.25rem;
            line-height: 1.2;
        }
        .doc-card-position {
            font-size: 1.05rem;
            color: var(--gray-500);
            margin-bottom: 1rem;
        }
        .doc-card-actions {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 1.25rem;
            flex-wrap: wrap;
        }
        .doc-card-actions .btn {
            padding: 0.6rem 1.5rem;
            font-size: 0.92rem;
            font-weight: 600;
        }
        .doc-card-divider {
            height: 1px;
            background: var(--gray-300);
            margin-bottom: 1.25rem;
        }
        .doc-card-fields {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }
        .doc-field {
            display: flex;
            gap: 0.5rem;
            font-size: 0.95rem;
            line-height: 1.5;
        }
        .doc-field-label {
            font-weight: 700;
            color: var(--dark);
            white-space: nowrap;
            min-width: 140px;
        }
        .doc-field-value {
            color: var(--gray-700);
        }
        .doc-field-value a {
            color: var(--primary);
            text-decoration: none;
        }
        .doc-field-value a:hover {
            text-decoration: underline;
        }
        .doc-field-rating {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .doc-field-rating .stars-row {
            color: #f59e0b;
            font-size: 0.9rem;
            display: flex;
            gap: 1px;
        }
        .doc-field-rating strong {
            font-size: 1rem;
            color: var(--dark);
        }
        .doc-field-rating a {
            font-size: 0.85rem;
            color: var(--primary);
            text-decoration: none;
        }
        .doc-field-rating a:hover {
            text-decoration: underline;
        }

        /* Content Blocks */
        .doc-block {
            background: var(--white);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            padding: 2rem;
            margin-bottom: 1.5rem;
        }
        .doc-block-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--dark);
        }
        .doc-block-title i {
            color: var(--primary);
            font-size: 1.05rem;
        }
        .doc-block-text {
            color: var(--gray-700);
            line-height: 1.8;
        }

        /* Education Timeline */
        .education-timeline {
            position: relative;
            padding-left: 1.5rem;
            border-left: 2px solid var(--primary-light);
        }
        .education-item {
            position: relative;
            padding: 0.75rem 0 0.75rem 1rem;
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }
        .education-item::before {
            content: '';
            position: absolute;
            left: -1.75rem;
            top: 1.1rem;
            width: 12px;
            height: 12px;
            background: var(--primary);
            border-radius: 50%;
            border: 2px solid var(--white);
            box-shadow: 0 0 0 2px var(--primary);
        }
        .education-year {
            flex-shrink: 0;
            font-weight: 700;
            font-size: 0.85rem;
            color: var(--primary);
            min-width: 50px;
        }
        .education-details h6 {
            font-size: 0.95rem;
            margin-bottom: 0.15rem;
            color: var(--dark);
        }
        .education-degree {
            font-size: 0.85rem;
            color: var(--gray-500);
        }

        /* Achievements */
        .achievements-list {
            list-style: none;
            padding: 0;
        }
        .achievements-list li {
            padding: 0.5rem 0;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.95rem;
            color: var(--gray-700);
            border-bottom: 1px solid var(--gray-100);
        }
        .achievements-list li:last-child {
            border-bottom: none;
        }
        .achievements-list li i {
            color: var(--accent);
            font-size: 1rem;
        }

        /* Schedule Table */
        .schedule-table-wrap {
            overflow-x: auto;
        }
        .schedule-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
        }
        .schedule-table th {
            background: var(--primary-light);
            color: var(--primary);
            font-weight: 600;
            font-size: 0.85rem;
            padding: 0.75rem 1rem;
            text-align: left;
        }
        .schedule-table th:first-child {
            border-radius: var(--radius-sm) 0 0 0;
        }
        .schedule-table th:last-child {
            border-radius: 0 var(--radius-sm) 0 0;
        }
        .schedule-table td {
            padding: 0.65rem 1rem;
            font-size: 0.9rem;
            border-bottom: 1px solid var(--gray-100);
        }
        .schedule-day {
            font-weight: 600;
            color: var(--dark);
        }
        .schedule-time {
            color: var(--gray-700);
        }
        tr.day-off td {
            color: var(--gray-500);
            background: var(--gray-100);
        }

        /* Reviews */
        .reviews-summary {
            display: flex;
            gap: 2rem;
            padding: 1.5rem;
            background: var(--gray-100);
            border-radius: var(--radius-md);
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        .reviews-summary-score {
            text-align: center;
            min-width: 120px;
        }
        .score-number {
            font-size: 3rem;
            font-weight: 800;
            color: var(--dark);
            line-height: 1;
            display: block;
        }
        .reviews-summary-score .stars-row {
            font-size: 1rem;
            margin: 0.5rem 0 0.25rem;
        }
        .score-count {
            font-size: 0.85rem;
            color: var(--gray-500);
        }
        .reviews-histogram {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
            justify-content: center;
        }
        .histogram-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .histogram-star {
            font-size: 0.8rem;
            color: #f59e0b;
            min-width: 35px;
            text-align: right;
            white-space: nowrap;
        }
        .histogram-bar {
            flex: 1;
            height: 8px;
            background: var(--gray-300);
            border-radius: 4px;
            overflow: hidden;
        }
        .histogram-fill {
            height: 100%;
            background: #f59e0b;
            border-radius: 4px;
            transition: width 0.6s ease;
        }
        .histogram-count {
            font-size: 0.8rem;
            color: var(--gray-500);
            min-width: 20px;
        }

        .doctor-review-card {
            padding: 1.25rem;
            border-bottom: 1px solid var(--gray-100);
        }
        .doctor-review-card:last-child {
            border-bottom: none;
        }
        .review-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }
        .review-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: var(--gradient-primary);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.1rem;
            text-transform: uppercase;
            flex-shrink: 0;
        }
        .review-meta {
            flex: 1;
        }
        .review-meta strong {
            display: block;
            font-size: 0.95rem;
            color: var(--dark);
        }
        .review-date {
            font-size: 0.8rem;
            color: var(--gray-500);
        }
        .review-stars {
            color: #f59e0b;
            font-size: 0.85rem;
        }
        .review-body {
            font-size: 0.95rem;
            color: var(--gray-700);
            line-height: 1.7;
        }
        .reviews-empty {
            text-align: center;
            padding: 2rem;
            color: var(--gray-500);
        }
        .reviews-empty i {
            font-size: 2.5rem;
            color: var(--gray-300);
            margin-bottom: 0.75rem;
            display: block;
        }

        /* Review Form */
        .review-form-wrap {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--gray-100);
        }
        .review-form-wrap h5 {
            font-weight: 700;
            margin-bottom: 1rem;
        }
        .rating-input {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .rating-input span {
            font-size: 0.95rem;
            color: var(--gray-700);
        }
        .rating-stars-input {
            display: inline-flex;
            gap: 4px;
            font-size: 1.4rem;
            color: #f59e0b;
            cursor: pointer;
        }
        .rating-stars-input i {
            transition: transform 0.15s;
        }
        .rating-stars-input i:hover {
            transform: scale(1.2);
        }

        /* Content + Sidebar Layout */
        .doc-content-layout {
            display: flex;
            gap: 1.25rem;
            align-items: flex-start;
        }
        .doc-content-main {
            flex: 1;
            min-width: 0;
        }
        .doc-content-sidebar {
            width: 340px;
            flex-shrink: 0;
            position: sticky;
            top: 100px;
            font-size: 0.88rem;
        }

        /* Sidebar */
        .doc-sidebar-card {
            background: var(--white);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            padding: 1rem 1.1rem;
            margin-bottom: 0.85rem;
            font-size: 0.9rem;
        }
        .doc-sidebar-card h5 {
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 0.85rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .doc-sidebar-card h5 i {
            color: var(--primary);
        }
        .doc-sidebar-appointment {
            border-top: 3px solid var(--primary);
        }
        .doc-sidebar-appointment .form-control {
            font-size: 0.85rem;
        }
        .doc-sidebar-reviews {
            border-top: 3px solid var(--accent);
        }

        /* Sidebar Reviews */
        .doc-reviews-summary {
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--gray-300);
        }
        .doc-reviews-score {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            margin-bottom: 0.75rem;
        }
        .doc-reviews-number {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--dark);
            line-height: 1;
        }
        .doc-reviews-score .stars-row {
            display: flex;
            gap: 2px;
            color: #f59e0b;
            font-size: 0.9rem;
        }
        .doc-reviews-count {
            font-size: 0.78rem;
            color: var(--gray-500);
            display: block;
        }
        .doc-reviews-bars {}
        .doc-reviews-bar-row {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            margin-bottom: 0.2rem;
        }
        .doc-bar-star {
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--gray-700);
            min-width: 30px;
            display: flex;
            align-items: center;
            gap: 2px;
        }
        .doc-bar-star i { color: #f59e0b; font-size: 0.65rem; }
        .doc-bar-track {
            flex: 1;
            height: 6px;
            background: var(--gray-300);
            border-radius: 3px;
            overflow: hidden;
        }
        .doc-bar-fill {
            height: 100%;
            background: #f59e0b;
            border-radius: 3px;
        }
        .doc-bar-count {
            font-size: 0.72rem;
            color: var(--gray-500);
            min-width: 16px;
            text-align: right;
        }
        .doc-reviews-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            max-height: 450px;
            overflow-y: auto;
            padding-right: 4px;
        }
        .doc-reviews-list::-webkit-scrollbar { width: 4px; }
        .doc-reviews-list::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 2px; }
        .doc-review-item {
            padding: 0.75rem;
            background: var(--gray-100);
            border-radius: var(--radius-sm);
        }
        .doc-review-head {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.3rem;
        }
        .doc-review-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--primary-light);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.8rem;
            flex-shrink: 0;
        }
        .doc-review-head strong {
            display: block;
            font-size: 0.82rem;
            color: var(--dark);
        }
        .doc-review-date {
            font-size: 0.7rem;
            color: var(--gray-500);
            display: block;
        }
        .doc-review-stars {
            color: #f59e0b;
            font-size: 0.72rem;
            margin-bottom: 0.3rem;
        }
        .doc-review-text {
            font-size: 0.82rem;
            line-height: 1.5;
            color: var(--gray-700);
        }
        .doc-reviews-empty {
            text-align: center;
            padding: 1.5rem 0;
            color: var(--gray-500);
        }
        .doc-reviews-empty i {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            display: block;
        }
        .doc-review-form {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--gray-300);
        }
        .doc-review-form h6 {
            font-size: 0.9rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
        }
        .doc-rating-input {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.82rem;
        }
        .doc-rating-input .rating-stars-input i {
            font-size: 1.1rem;
            cursor: pointer;
            color: #f59e0b;
        }

        /* Related Doctors (sidebar) */
        .doc-related-list {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }
        .doc-related-item {
            display: flex;
            align-items: center;
            gap: 0.65rem;
            padding: 0.55rem;
            border-radius: var(--radius-sm);
            text-decoration: none;
            color: inherit;
            transition: background 0.2s;
        }
        .doc-related-item:hover { background: var(--gray-100); }
        .doc-related-photo {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
            background: var(--gray-100);
        }
        .doc-related-photo img { width: 100%; height: 100%; object-fit: cover; }
        .doc-related-placeholder {
            width: 100%; height: 100%;
            display: flex; align-items: center; justify-content: center;
            color: var(--gray-300); font-size: 1.1rem;
        }
        .doc-related-info { flex: 1; min-width: 0; }
        .doc-related-info strong {
            display: block; font-size: 0.82rem; color: var(--dark);
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .doc-related-info span {
            font-size: 0.72rem; color: var(--gray-500); display: block;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .doc-related-rating { font-size: 0.72rem; color: #f59e0b; font-weight: 600; }

        /* ===== DOCTORS RESPONSIVE ===== */
        @media (max-width: 1199px) {
            .doctors-catalog-layout {
                grid-template-columns: 1fr;
            }
            .doctors-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 991px) {
            .doc-content-layout {
                flex-direction: column;
            }
            .doc-content-sidebar {
                width: 100%;
                position: static;
            }
            .doc-card {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            .doc-card-photo {
                width: 200px;
                height: 250px;
            }
            .doc-card-actions {
                justify-content: center;
            }
            .doc-card-fields {
                align-items: center;
            }
            .doc-field {
                flex-direction: column;
                gap: 0.15rem;
                text-align: center;
            }
            .doc-field-label {
                min-width: auto;
            }
            .doc-field-rating {
                justify-content: center;
            }
            .doc-card-name {
                font-size: 1.5rem;
            }
        }
        @media (max-width: 767px) {
            .doc-page-section {
                padding-top: 120px;
            }
            .doctors-hero-header h1 {
                font-size: 1.75rem;
            }
            .doctors-grid {
                grid-template-columns: 1fr;
            }
            .doctors-catalog-toolbar {
                flex-direction: column;
                gap: 0.75rem;
                align-items: flex-start;
            }
            .doc-card {
                padding: 1.25rem;
            }
            .doc-card-photo {
                width: 160px;
                height: 200px;
            }
            .doc-card-name {
                font-size: 1.3rem;
            }
            .doc-block {
                padding: 1.25rem;
            }
            .doc-reviews-list {
                max-height: none;
            }
        }

/* ===== Legal Pages ===== */
.legal-content-section {
    padding: 3rem 0 5rem;
}
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 3rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.legal-updated {
    display: inline-block;
    background: var(--primary-light, #e8f4fd);
    color: var(--primary, #0d6efd);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light, #e8f4fd);
}
.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}
.legal-content p {
    color: #444;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}
.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content ul li {
    color: #444;
    line-height: 1.75;
    margin-bottom: 0.35rem;
}
.legal-content a {
    color: var(--primary, #0d6efd);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-content a:hover {
    color: var(--primary-dark, #0a58ca);
}
.legal-content .table {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
.legal-content .table th {
    background: var(--primary-light, #e8f4fd);
    color: #1a1a2e;
    font-weight: 600;
    white-space: nowrap;
}
.legal-content code {
    background: #f0f0f0;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.85em;
    color: #d63384;
}
.legal-highlight {
    background: linear-gradient(135deg, var(--primary-light, #e8f4fd) 0%, #f0f7ff 100%);
    border-left: 4px solid var(--primary, #0d6efd);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}
.legal-highlight p {
    margin-bottom: 0;
    color: #1a1a2e;
}

/* Footer Legal Links */
.footer-legal {
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-legal a {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-legal-sep {
    color: rgba(255,255,255,0.3);
    margin: 0 0.5rem;
}
@media (max-width: 576px) {
    .footer-legal {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-legal-sep {
        display: none;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
    padding: 1.25rem 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-consent.show {
    transform: translateY(0);
}
.cookie-consent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-consent-text {
    flex: 1;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
    min-width: 280px;
}
.cookie-consent-text a {
    color: var(--primary, #0d6efd);
    text-decoration: underline;
}
.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
.cookie-consent-accept {
    background: var(--primary, #0d6efd);
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-consent-accept:hover {
    background: var(--primary-dark, #0a58ca);
}
@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== ACCESSIBILITY / ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ ===== */
.btn-accessible-toggle {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.9);
    font-size: 0.75rem;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.btn-accessible-toggle:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.btn-accessible-toggle.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.accessibility-panel {
    background: #f0f4f8;
    border-bottom: 2px solid #ccc;
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1055;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0;
}
.accessibility-panel.open {
    max-height: 200px;
    padding: 0.75rem 0;
}
.accessibility-panel-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.accessibility-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.accessibility-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    margin-right: 0.25rem;
    white-space: nowrap;
}
.acc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 0.5rem;
    border: 2px solid #aaa;
    background: #fff;
    color: #333;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Inter', sans-serif;
}
.acc-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.acc-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}
.acc-btn-md { font-size: 1rem; }
.acc-btn-lg { font-size: 1.2rem; }

.acc-color-normal { background: #fff; color: #333; }
.acc-color-bw { background: #fff; color: #000; border-color: #000; }
.acc-color-wb { background: #000; color: #fff; border-color: #fff; }
.acc-color-db { background: #9dd1ff; color: #063462; border-color: #063462; }
.acc-color-gb { background: #a6d4a2; color: #3b2300; border-color: #3b2300; }

.acc-reset-btn {
    border-color: #e74c3c;
    color: #e74c3c;
    font-size: 0.78rem;
    gap: 0.25rem;
}
.acc-reset-btn:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

@media (max-width: 768px) {
    .accessibility-panel.open { max-height: 350px; }
    .accessibility-panel-inner { gap: 0.6rem 1rem; }
    .accessibility-label { font-size: 0.72rem; }
    .acc-btn { min-width: 28px; height: 28px; font-size: 0.72rem; }
    .acc-btn-md { font-size: 0.85rem; }
    .acc-btn-lg { font-size: 1rem; }
}

/* --- Font size modes --- */
body.acc-font-small { font-size: 14px !important; }
body.acc-font-normal { font-size: 16px !important; }
body.acc-font-large { font-size: 22px !important; }
body.acc-font-large h1 { font-size: 2.4rem !important; }
body.acc-font-large h2 { font-size: 2rem !important; }
body.acc-font-large h3 { font-size: 1.6rem !important; }
body.acc-font-large h4,
body.acc-font-large h5,
body.acc-font-large h6 { font-size: 1.3rem !important; }
body.acc-font-large p,
body.acc-font-large li,
body.acc-font-large td,
body.acc-font-large th,
body.acc-font-large span,
body.acc-font-large a,
body.acc-font-large label,
body.acc-font-large input,
body.acc-font-large textarea,
body.acc-font-large select,
body.acc-font-large button { font-size: inherit !important; }
body.acc-font-large .nav-link { font-size: 1rem !important; }

body.acc-font-small h1 { font-size: 1.6rem !important; }
body.acc-font-small h2 { font-size: 1.4rem !important; }
body.acc-font-small h3 { font-size: 1.1rem !important; }
body.acc-font-small .nav-link { font-size: 0.78rem !important; }

/* --- Letter spacing modes --- */
body.acc-spacing-medium * { letter-spacing: 0.08em !important; }
body.acc-spacing-large * { letter-spacing: 0.18em !important; word-spacing: 0.3em !important; }

/* --- Images off --- */
body.acc-images-off img,
body.acc-images-off svg,
body.acc-images-off [style*="background-image"],
body.acc-images-off .carousel-slide,
body.acc-images-off .hero-video-bg,
body.acc-images-off .hero-carousel-section .owl-carousel {
    visibility: hidden !important;
    height: auto;
}
body.acc-images-off img { display: none !important; }
body.acc-images-off .navbar-logo { display: none !important; }

/* --- Color scheme: Black on White --- */
body.acc-scheme-black-white,
body.acc-scheme-black-white * {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #333 !important;
}
body.acc-scheme-black-white a { color: #00c !important; text-decoration: underline !important; }
body.acc-scheme-black-white .navbar,
body.acc-scheme-black-white .top-bar,
body.acc-scheme-black-white .accessibility-panel,
body.acc-scheme-black-white footer { background-color: #e8e8e8 !important; }
body.acc-scheme-black-white .btn-custom,
body.acc-scheme-black-white .btn-nav {
    background: #000 !important; color: #fff !important;
    border-color: #000 !important;
}
body.acc-scheme-black-white .dropdown-menu { background-color: #f5f5f5 !important; }
body.acc-scheme-black-white .card,
body.acc-scheme-black-white .sidebar-widget {
    box-shadow: 0 0 0 1px #333 !important;
}
body.acc-scheme-black-white .floating-cta .floating-btn {
    background: #000 !important; color: #fff !important;
}

/* --- Color scheme: White on Black --- */
body.acc-scheme-white-black,
body.acc-scheme-white-black * {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #666 !important;
}
body.acc-scheme-white-black a { color: #ff0 !important; text-decoration: underline !important; }
body.acc-scheme-white-black .navbar,
body.acc-scheme-white-black .top-bar,
body.acc-scheme-white-black .accessibility-panel,
body.acc-scheme-white-black footer { background-color: #1a1a1a !important; }
body.acc-scheme-white-black .btn-custom,
body.acc-scheme-white-black .btn-nav {
    background: #fff !important; color: #000 !important;
    border-color: #fff !important;
}
body.acc-scheme-white-black .dropdown-menu { background-color: #222 !important; }
body.acc-scheme-white-black input,
body.acc-scheme-white-black textarea,
body.acc-scheme-white-black select {
    background-color: #222 !important; color: #fff !important;
    border-color: #555 !important;
}
body.acc-scheme-white-black .card,
body.acc-scheme-white-black .sidebar-widget {
    box-shadow: 0 0 0 1px #555 !important;
}
body.acc-scheme-white-black .floating-cta .floating-btn {
    background: #fff !important; color: #000 !important;
}

/* --- Color scheme: Dark Blue on Light Blue --- */
body.acc-scheme-dark-blue,
body.acc-scheme-dark-blue * {
    background-color: #9dd1ff !important;
    color: #063462 !important;
    border-color: #063462 !important;
}
body.acc-scheme-dark-blue a { color: #0a2a70 !important; text-decoration: underline !important; }
body.acc-scheme-dark-blue .navbar,
body.acc-scheme-dark-blue .top-bar,
body.acc-scheme-dark-blue .accessibility-panel,
body.acc-scheme-dark-blue footer { background-color: #7ec0f5 !important; }
body.acc-scheme-dark-blue .btn-custom,
body.acc-scheme-dark-blue .btn-nav {
    background: #063462 !important; color: #fff !important;
    border-color: #063462 !important;
}
body.acc-scheme-dark-blue input,
body.acc-scheme-dark-blue textarea,
body.acc-scheme-dark-blue select {
    background-color: #c8e4ff !important; color: #063462 !important;
}
body.acc-scheme-dark-blue .floating-cta .floating-btn {
    background: #063462 !important; color: #9dd1ff !important;
}

/* --- Color scheme: Brown on Green --- */
body.acc-scheme-green-brown,
body.acc-scheme-green-brown * {
    background-color: #a6d4a2 !important;
    color: #3b2300 !important;
    border-color: #3b2300 !important;
}
body.acc-scheme-green-brown a { color: #5c3500 !important; text-decoration: underline !important; }
body.acc-scheme-green-brown .navbar,
body.acc-scheme-green-brown .top-bar,
body.acc-scheme-green-brown .accessibility-panel,
body.acc-scheme-green-brown footer { background-color: #8cc487 !important; }
body.acc-scheme-green-brown .btn-custom,
body.acc-scheme-green-brown .btn-nav {
    background: #3b2300 !important; color: #fff !important;
    border-color: #3b2300 !important;
}
body.acc-scheme-green-brown input,
body.acc-scheme-green-brown textarea,
body.acc-scheme-green-brown select {
    background-color: #cce8ca !important; color: #3b2300 !important;
}
body.acc-scheme-green-brown .floating-cta .floating-btn {
    background: #3b2300 !important; color: #a6d4a2 !important;
}

/* Navbar top is set dynamically by JS; content offset via CSS var */
