/* =====================================================
   VIDEO-CIRCLES.CSS - Стили для круглых видео в стиле Telegram
   ===================================================== */

/* Контейнер для слайдера видео-кружков */
.video-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: var(--space-lg) 0;
}

.video-slider-track {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-md) var(--space-lg);
    scroll-snap-type: x mandatory;
}

.video-slider-track::-webkit-scrollbar {
    display: none;
}

/* Видео-кружок в стиле Telegram */
.video-circle {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    cursor: pointer;
    scroll-snap-align: center;
    transition: transform var(--transition-base);
}

.video-circle:hover {
    transform: scale(1.05);
}

/* Градиентная обводка как в Telegram */
.video-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d44f59 0%, #f7797d 50%, #fbc2c4 100%);
    z-index: -1;
    animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        background: linear-gradient(0deg, #d44f59 0%, #f7797d 50%, #fbc2c4 100%);
    }
    25% {
        background: linear-gradient(90deg, #d44f59 0%, #f7797d 50%, #fbc2c4 100%);
    }
    50% {
        background: linear-gradient(180deg, #d44f59 0%, #f7797d 50%, #fbc2c4 100%);
    }
    75% {
        background: linear-gradient(270deg, #d44f59 0%, #f7797d 50%, #fbc2c4 100%);
    }
    100% {
        background: linear-gradient(360deg, #d44f59 0%, #f7797d 50%, #fbc2c4 100%);
    }
}

/* Внутренний контейнер видео */
.video-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-200);
    border: 3px solid var(--white);
    position: relative;
}

.video-circle video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Скрываем плейсхолдер когда видео загружено */
.video-circle video[src]:not([src=""]) ~ .video-circle-placeholder {
    display: none;
}

/* Заглушка когда видео нет */
.video-circle-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    color: var(--gray-400);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.video-circle-placeholder svg {
    width: 40px;
    height: 40px;
}

/* Иконка play/pause */
.video-circle-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.video-circle:hover .video-circle-play {
    opacity: 1;
}

.video-circle.playing .video-circle-play {
    opacity: 0;
}

/* Подпись под видео */
.video-circle-label {
    text-align: center;
    margin-top: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-weight: 500;
    max-width: 120px;
}

/* Контейнер для одного видео с подписью */
.video-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

/* Навигация слайдера */
.video-slider-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.video-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-600);
    transition: all var(--transition-fast);
}

.video-slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.video-slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Индикаторы (точки) */
.video-slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.video-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.video-slider-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: var(--radius-full);
}

/* =====================================================
   РАЗМЕРЫ ВИДЕО-КРУЖКОВ
   ===================================================== */

/* Маленький (для FAQ) */
.video-circle-sm {
    width: 80px;
    height: 80px;
}

.video-circle-sm .video-circle-placeholder svg {
    width: 28px;
    height: 28px;
}

.video-circle-sm + .video-circle-label {
    max-width: 80px;
    font-size: var(--font-size-xs);
}

/* Средний (по умолчанию) */
.video-circle-md {
    width: 120px;
    height: 120px;
}

/* Большой (для главной) */
.video-circle-lg {
    width: 160px;
    height: 160px;
}

.video-circle-lg .video-circle-placeholder svg {
    width: 50px;
    height: 50px;
}

.video-circle-lg + .video-circle-label {
    max-width: 160px;
    font-size: var(--font-size-base);
}

/* Очень большой (для детальной страницы) */
.video-circle-xl {
    width: 200px;
    height: 200px;
}

.video-circle-xl .video-circle-placeholder svg {
    width: 60px;
    height: 60px;
}

/* =====================================================
   HERO СЕКЦИЯ КОНСУЛЬТАЦИИ - КОМПАКТНЫЙ LAYOUT
   ===================================================== */

.hero-consultation {
    position: relative;
    padding: 80px 0 30px;
    overflow: hidden;
}

/* Фоновое изображение (стоматологическое кресло) */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) brightness(0.95);
    transform: scale(1.02);
}

/* Затемняющий оверлей */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.7) 100%
    );
}

/* Сетка: контент слева, доктор справа */
.hero-consultation-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--space-xl);
    align-items: start;
}

/* Левая часть с контентом */
.hero-consultation-content {
    max-width: 100%;
}

/* Заголовок с элегантными шрифтами */
.hero-consultation-header {
    margin-bottom: var(--space-lg);
}

.hero-consultation-header h1 {
    font-family: var(--font-family-display);
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-consultation-header p {
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gray-600);
    margin: 0;
    letter-spacing: 0.02em;
}

/* =====================================================
   HERO VIDEO PLAYER - Центрированный кружок
   ===================================================== */

.hero-video-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.hero-video-circle {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Большой кружок XL */
.video-circle-xl {
    width: 260px;
    height: 260px;
}

.video-circle-xl .video-circle-placeholder svg {
    width: 55px;
    height: 55px;
}

/* Кнопка звука - сбоку от кружка */
.video-sound-btn {
    position: absolute;
    bottom: 15px;
    right: -60px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 10;
}

.video-sound-btn:hover {
    transform: scale(1.1);
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.video-sound-btn svg {
    width: 20px;
    height: 20px;
    color: var(--gray-700);
}

.video-sound-btn.unmuted .icon-muted {
    display: none;
}

.video-sound-btn.unmuted .icon-unmuted {
    display: block !important;
}

/* =====================================================
   WORK VIDEO CONTAINER - для страниц работ
   ===================================================== */

.work-video-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.work-video-container .video-circle-xl {
    width: 280px;
    height: 280px;
}

.work-sound-btn {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: var(--space-sm);
}

/* FAQ Sound Button */
.faq-sound-btn {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: var(--space-sm);
}

.faq-video-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}


/* MOBILE VIDEO CIRCLE FIX */
@media (max-width: 768px) {
    .work-video-container .video-circle-xl {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .work-video-container .video-circle-xl {
        width: 200px;
        height: 200px;
    }
}

/* Подпись к видео - под кружком */
.hero-video-label {
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-top: var(--space-md);
    text-align: center;
    letter-spacing: 0.01em;
}

/* Точки индикатора - под текстом */
.hero-video-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: var(--space-sm);
}

.hero-video-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-video-dot.active {
    width: 24px;
    border-radius: 8px;
    background: var(--primary);
}

.hero-video-dot:hover:not(.active) {
    background: var(--gray-400);
}

/* Кнопки соцсетей - компактные в ряд */
.social-buttons-row {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: nowrap;
}

.social-buttons-row .social-btn {
    padding: 10px 18px;
    font-family: var(--font-family-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: var(--radius-full);
}

.social-buttons-row .social-btn svg {
    width: 18px;
    height: 18px;
}

.social-buttons-row .social-btn span {
    display: inline;
}

/* Фото доктора справа - сверху */
.hero-doctor {
    position: relative;
    align-self: start;
    margin-top: 0;
}

.hero-doctor img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: top center;
}

.hero-doctor-name {
    display: block;
    text-align: center;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 500;
    font-style: italic;
    color: var(--gray-700);
    margin-top: var(--space-md);
    letter-spacing: 0.03em;
}
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* =====================================================
   АДАПТИВНОСТЬ HERO
   ===================================================== */

@media (max-width: 1200px) {
    .hero-consultation-grid {
        grid-template-columns: 1fr 240px;
        gap: var(--space-lg);
    }
    
    .hero-consultation-header h1 {
        font-size: 2.25rem;
    }
    
    .video-circle-xl {
        width: 220px;
        height: 220px;
    }
    
    .video-sound-btn {
        right: -55px;
    }
}

@media (max-width: 992px) {
    .hero-consultation-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-consultation-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-consultation-header h1 {
        font-size: 2rem;
    }
    
    .hero-video-circle {
        justify-content: center;
    }
    
    .video-sound-btn {
        right: calc(50% - 180px);
    }
    
    .social-buttons-row {
        justify-content: center;
    }
    
    .hero-doctor {
        order: 1;
        max-width: 200px;
        margin: 0 auto var(--space-lg);
    }
    
    .hero-doctor img {
        max-height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-consultation {
        padding: 70px 0 20px;
    }
    
    .hero-consultation-header h1 {
        font-size: 1.75rem;
    }
    
    .hero-consultation-header p {
        font-size: 1rem;
    }
    
    .video-circle-xl {
        width: 280px;
        height: 280px;
    }
    
    .video-sound-btn {
        width: 44px;
        height: 44px;
        right: calc(50% - 190px);
    }
    
    .social-buttons-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .social-buttons-row .social-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        filter: saturate(1.15) brightness(1.05);
    }
    
    .social-buttons-row .social-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .hero-doctor {
        max-width: 180px;
    }
    
    .hero-doctor-name {
        font-size: 1.25rem;
    }
}

/* =====================================================
   СТАРАЯ СЕКЦИЯ (для обратной совместимости)
   ===================================================== */

.consultation-video-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 50%, #fef7f8 100%);
}

.consultation-video-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.consultation-video-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
}

/* Кнопки соцсетей */
.social-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    text-decoration: none;
    border: 2px solid transparent;
}

/* Telegram */
.social-btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a2e8 100%);
    color: white;
}

.social-btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
    color: white;
}

/* WhatsApp */
.social-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.social-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Instagram */
.social-btn-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
    color: white;
}

/* =====================================================
   FAQ С ВИДЕО
   ===================================================== */

.faq-video-item {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
    padding: var(--space-md) var(--space-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-sm);
    transition: all var(--transition-base);
}

.faq-video-item.active {
    padding: var(--space-lg);
}

.faq-video-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-video-question {
    flex: 1;
}

.faq-video-question h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--gray-800);
}

.faq-video-item.active .faq-video-question h3 {
    margin-bottom: var(--space-sm);
}

.faq-video-question h3:hover {
    color: var(--primary);
}

.faq-video-answer {
    display: none;
    padding-top: var(--space-md);
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-video-answer.show {
    display: block;
}

.faq-video-circle {
    flex-shrink: 0;
    display: none;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-base);
}

.faq-video-item.active .faq-video-circle {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

/* =====================================================
   РАБОТЫ ДО/ПОСЛЕ С ВИДЕО
   ===================================================== */

.work-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.work-detail-images {
    display: flex;
    gap: var(--space-lg);
}

.work-detail-image {
    flex: 1;
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.work-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.work-detail-image-label {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.work-detail-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.work-detail-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.work-detail-description h2 {
    margin-bottom: var(--space-lg);
}

.work-detail-description p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: var(--font-size-lg);
}

/* =====================================================
   АДАПТИВНОСТЬ
   ===================================================== */


/* MOBILE VIDEO CIRCLE FIX */
@media (max-width: 768px) {
    .video-circle {
        width: 100px;
        height: 100px;
    }
    
    .video-circle-lg {
        width: 130px;
        height: 130px;
    }
    
    .video-circle-xl {
        width: 280px;
        height: 280px;
    }
    
    .social-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--space-lg);
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
    
    .faq-video-item {
        flex-direction: column;
    }
    
    .faq-video-item.active {
        flex-direction: column;
    }
    
    .faq-video-circle {
        align-self: center;
        order: -1;
        margin-bottom: var(--space-md);
    }
    
    .faq-video-circle .video-circle-lg {
        width: 200px;
        height: 200px;
    }
    
    .faq-video-question {
        width: 100%;
    }
    
    .work-detail-header {
        grid-template-columns: 1fr;
    }
    
    .work-detail-images {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .video-circle {
        width: 80px;
        height: 80px;
    }
    
    .video-circle-lg {
        width: 100px;
        height: 100px;
    }
    
    .video-slider-track {
        gap: var(--space-md);
        padding: var(--space-sm) var(--space-md);
    }
}

/* =====================================================
   MOBILE FIX - РЈРІРµР»РёС‡РµРЅРЅС‹Р№ РІРёРґРµРѕ-РєСЂСѓР¶РѕРє РґР»СЏ РјРѕР±РёР»СЊРЅС‹С…
   ===================================================== */

@media (max-width: 992px) {
    .hero-video-circle .video-circle.video-circle-xl {
        width: 65vw !important;
        height: 65vw !important;
        max-width: 320px;
        max-height: 320px;
        min-width: 250px;
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .hero-video-circle .video-circle.video-circle-xl {
        width: 75vw !important;
        height: 75vw !important;
        max-width: 350px;
        max-height: 350px;
        min-width: 280px;
        min-height: 280px;
    }
}

/* =====================================================
   MOBILE COMPACT - РЈРјРµРЅСЊС€РµРЅРЅС‹Рµ РѕС‚СЃС‚СѓРїС‹ РґР»СЏ РјРѕР±РёР»СЊРЅС‹С…
   ===================================================== */

@media (max-width: 768px) {
    .hero-consultation {
        padding: 60px 0 15px !important;
    }
    
    .hero-doctor {
        max-width: 140px !important;
        margin-bottom: 10px !important;
    }
    
    .hero-doctor img {
        max-height: 180px !important;
    }
    
    .hero-doctor-name {
        font-size: 1.1rem !important;
        margin-top: 5px !important;
    }
    
    .hero-consultation-header {
        margin-bottom: 10px !important;
    }
    
    .hero-consultation-header h1 {
        font-size: 1.5rem !important;
        margin-bottom: 5px !important;
    }
    
    .hero-consultation-header p {
        font-size: 0.9rem !important;
    }
    
    .hero-video-player {
        margin-bottom: 15px !important;
    }
}

@media (max-width: 576px) {
    .hero-consultation {
        padding: 55px 0 10px !important;
    }
    
    .hero-doctor {
        max-width: 120px !important;
        margin-bottom: 8px !important;
    }
    
    .hero-doctor img {
        max-height: 150px !important;
    }
    
    .hero-doctor-name {
        font-size: 1rem !important;
        margin-top: 3px !important;
    }
    
    .hero-consultation-header {
        margin-bottom: 8px !important;
    }
    
    .hero-consultation-header h1 {
        font-size: 1.4rem !important;
        margin-bottom: 3px !important;
    }
    
    .hero-consultation-header p {
        font-size: 0.85rem !important;
    }
    
    .hero-video-player {
        margin-bottom: 10px !important;
    }
}
@media (max-width: 768px) { .hero-consultation { padding: 60px 0 15px !important; } .hero-doctor { max-width: 140px !important; margin-bottom: 10px !important; } .hero-doctor img { max-height: 180px !important; } .hero-doctor-name { font-size: 1.1rem !important; margin-top: 5px !important; } .hero-consultation-header { margin-bottom: 10px !important; } .hero-consultation-header h1 { font-size: 1.5rem !important; margin-bottom: 5px !important; } .hero-video-player { margin-bottom: 15px !important; } }

/* MOBILE COMPACT - Уменьшенные отступы для мобильных */
@media (max-width: 768px) {
    .hero-consultation {
        padding: 60px 0 15px !important;
    }
    .hero-doctor {
        max-width: 140px !important;
        margin-bottom: 10px !important;
    }
    .hero-doctor img {
        max-height: 180px !important;
    }
    .hero-doctor-name {
        font-size: 1.1rem !important;
        margin-top: 5px !important;
    }
    .hero-consultation-header {
        margin-bottom: 10px !important;
    }
    .hero-consultation-header h1 {
        font-size: 1.5rem !important;
        margin-bottom: 5px !important;
    }
    .hero-video-player {
        margin-bottom: 15px !important;
    }
}
@media (max-width: 576px) {
    .hero-consultation {
        padding: 55px 0 10px !important;
    }
    .hero-doctor {
        max-width: 120px !important;
        margin-bottom: 8px !important;
    }
    .hero-doctor img {
        max-height: 150px !important;
    }
    .hero-consultation-header h1 {
        font-size: 1.4rem !important;
    }
    .hero-video-player {
        margin-bottom: 10px !important;
    }
}

/* MOBILE HEADER - Фото доктора в шапке */
@media (max-width: 768px) {
    /* Скрываем блок доктора в hero секции */
    .hero-doctor {
        display: none !important;
    }
    
    /* Показываем маленькое фото в шапке */
    .header-doctor-photo {
        display: block !important;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 10px;
        border: 2px solid var(--primary, #d44f59);
    }
    
    .header-doctor-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Шапка - выравнивание */
    .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav .logo {
        order: 1;
    }
    
    .header-doctor-photo {
        order: 2;
        margin-left: auto;
    }
    
    .nav-toggle {
        order: 3;
        margin-left: 10px !important;
    }
    
    /* Hero секция - убираем лишние отступы */
    .hero-consultation {
        padding-top: 70px !important;
    }
    
    .hero-consultation-grid {
        grid-template-columns: 1fr !important;
    }
    
    .hero-consultation-content {
        order: 1 !important;
    }
}

/* Скрываем фото в шапке на десктопе */
@media (min-width: 769px) {
    .header-doctor-photo {
        display: none !important;
    }
}

/* HEADER FIX v2 - Фото доктора в шапке естественное */
@media (max-width: 768px) {
    /* Скрываем блок доктора в hero секции */
    .hero-doctor {
        display: none !important;
    }
    
    /* Фото в шапке - естественное, не круглое */
    .header-doctor-photo {
        display: flex !important;
        width: 40px;
        height: 50px;
        border-radius: 0 !important;
        overflow: hidden;
        margin-right: 12px;
        border: none !important;
        background: transparent;
    }
    
    .header-doctor-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        border-radius: 0 !important;
    }
    
    /* Шапка - правильное выравнивание */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255,255,255,0.98);
    }
    
    .nav {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 60px;
    }
    
    .nav .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .header-doctor-photo {
        order: 2;
        margin-left: auto !important;
    }
    
    .nav-toggle {
        order: 3;
        margin-left: 8px !important;
    }
    
    /* ВАЖНО: Отступ сверху для контента чтобы не уезжал под шапку */
    .hero-consultation {
        padding-top: 80px !important;
        margin-top: 0 !important;
    }
    
    .hero-consultation-grid {
        grid-template-columns: 1fr !important;
    }
    
    .hero-consultation-content {
        order: 1 !important;
    }
    
    /* Заголовок ближе к верху */
    .hero-consultation-header {
        margin-bottom: 15px !important;
    }
}

/* Скрываем фото в шапке на десктопе */
@media (min-width: 769px) {
    .header-doctor-photo {
        display: none !important;
    }
}

/* HEADER FIX v3 - Простое решение */
.header-doctor-photo {
    display: none;
}

@media screen and (max-width: 768px) {
    .hero-doctor {
        display: none !important;
    }
    
    .header-doctor-photo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 38px !important;
        height: 48px !important;
        overflow: hidden !important;
        margin-left: auto !important;
        margin-right: 10px !important;
    }
    
    .header-doctor-photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top center !important;
    }
    
    .hero-consultation {
        padding-top: 85px !important;
    }
}

/* РљРЅРѕРїРєР° Р—РђРџРРЎРђРўР¬РЎРЇ РїРѕРґ РІРёРґРµРѕ */
.btn-cta-hero {
    display: inline-block;
    margin-top: 35px;
    padding: 12px 36px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #e85d6c 0%, #d44a59 100%);
    color: #fff !important;
    box-shadow: 0 8px 25px rgba(232, 93, 108, 0.45);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-cta-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(232, 93, 108, 0.55);
    color: #fff !important;
}




/* Fix video circle inner positioning */
.video-circle-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.video-circle-inner .video-sound-toggle {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 20;
}

/* FAQ specific - larger circles */
.faq-answer-content .video-circle-md {
    width: 180px !important;
    height: 180px !important;
}

.faq-answer-content .video-circle-md.sound-on {
    width: 250px !important;
    height: 250px !important;
}



/* Play button on placeholder */
.video-circle-placeholder {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-circle-placeholder svg {
    width: 24px;
    height: 24px;
    color: #e85d6c;
}

.video-circle-placeholder:hover {
    transform: scale(1.1);
}

/* Sound on state - circle gets bigger */
.video-circle.sound-on {
    transform: scale(1.15);
}

/* FAQ specific - prevent overflow cutting */
.faq-answer {
    overflow: visible !important;
}

.faq-answer-content {
    overflow: visible !important;
    padding: 20px 0 30px 0;
}

.faq-item {
    overflow: visible !important;
}

/* FAQ video circles - centered and proper size */
.faq-answer-content .video-circle {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto 20px auto;
}

.faq-answer-content .video-circle.sound-on {
    width: 280px !important;
    height: 280px !important;
}

/* FAQ Sound Button */
.faq-sound-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    margin: 15px auto 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-sound-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.faq-sound-btn svg {
    color: #333;
}

/* Hero video circle enlargement on sound */
.hero-video-circle.sound-on,
.hero-video-circle.sound-on .video-circle {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* All video circles - sound on enlargement */
.video-circle.sound-on {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

/* Pricing section circles */
.pricing-video-circle.sound-on {
    transform: scale(1.1);
}

/* Work video container enlargement */
.work-video-container.sound-on,
.work-video-container.sound-on .video-circle {
    transform: scale(1.08);
    transition: transform 0.3s ease;
}

/* Work details video enlargement */
.work-details-video.sound-on {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
