/**
 * Основные стили сайта НеРыжий
 * Антикор-сервис
 */

/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF5722;
    --primary-dark: #E64A19;
    --secondary-color: #263238;
    --text-color: #212121;
    --text-light: #757575;
    --border-color: #E0E0E0;
    --bg-light: #F5F5F5;
    --white: #FFFFFF;
    --success: #4CAF50;
    --warning: #FFC107;
    --error: #F44336;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта */
/* ========================================
   СОВРЕМЕННОЕ МЕНЮ
   ======================================== */

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #FF5722 25%, 
        #FF8A65 50%, 
        #FF5722 75%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header.scrolled::after {
    opacity: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

/* Обёртка: на десктопе «растворяется» в flex-ряд; на мобильных — сетка «логотип+бургер / телефон» */
.navbar-layout {
    display: contents;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.logo::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #FF5722, #FF8A65);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.logo:hover::before {
    height: 100%;
}

.logo-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.2);
}

.logo:hover .logo-img {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.35);
}

.logo-text {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Телефон в шапке */
.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s;
    margin-left: auto;
    margin-right: 16px;
}

.header-phone:hover {
    color: #FF5722;
}

.header-phone svg {
    color: #FF5722;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px;
    white-space: nowrap;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 87, 34, 0.08);
}

.nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, #FF5722 0%, #FF8A65 100%);
    box-shadow: none;
}

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

.nav-link.active:hover {
    opacity: 0.95;
}

/* Акцент «Сейчас в работе» при наличии авто */
.nav-link-hot {
    position: relative;
    color: #FF5722 !important;
    font-weight: 700 !important;
}
.nav-link-hot.active {
    color: #fff !important;
}

.nav-link-hot:not(.active) {
    animation: navHotPulse 2.5s ease-in-out infinite;
}

@keyframes navHotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0); }
    50% { box-shadow: 0 0 0 6px rgba(255, 87, 34, 0.15); }
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 6px;
    background: #FF5722;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    line-height: 1;
    animation: badgeBounce 2s ease-in-out infinite;
}

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

.nav-link.active .nav-badge {
    background: #fff;
    color: #FF5722;
}

.nav-link-admin {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.nav-link-admin::after {
    content: '→';
    position: absolute;
    right: 16px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.nav-link-admin:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.nav-link-admin:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    padding-right: 40px;
}

/* Бургер-меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(255, 138, 101, 0.1));
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    padding: 12px;
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.15), rgba(255, 138, 101, 0.15));
    border-color: var(--primary-color);
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Индикатор активных работ на бургере */
.burger-badge {
    position: absolute !important;
    top: -6px;
    right: -10px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: linear-gradient(135deg, #FF5722, #FF3D00) !important;
    border-radius: 10px !important;
    border: 2px solid #fff;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0 !important;
    animation: burgerBadgePulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 61, 0, 0.6);
}

@keyframes burgerBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(255, 61, 0, 0.6);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 0 16px rgba(255, 61, 0, 0.9), 0 0 0 6px rgba(255, 61, 0, 0.15);
    }
}

/* Плавающая панель «В работе» — только мобильные */
.mobile-works-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-works-bar {
        position: fixed;
        bottom: 16px;
        left: 16px;
        right: 100px;
        z-index: 998;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
        border-radius: 16px;
        text-decoration: none;
        color: #fff;
        box-shadow: 0 8px 32px rgba(0,0,0,0.35);
        animation: mwbSlideUp 0.5s ease forwards, mwbGlow 3s ease-in-out 0.5s infinite;
        overflow: hidden;
    }

    .mwb-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #FF5722, #FF3D00);
        border-radius: 10px;
    }

    .mwb-text {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .mwb-text b {
        font-size: 14px;
        font-weight: 800;
        letter-spacing: -0.2px;
    }

    .mwb-text small {
        font-size: 11px;
        color: rgba(255,255,255,0.6);
    }

    .mwb-pulse {
        position: absolute;
        inset: 0;
        border-radius: 16px;
        border: 2px solid rgba(255,87,34,0.5);
        animation: mwbRing 2.5s ease-out infinite;
        pointer-events: none;
    }

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

    @keyframes mwbGlow {
        0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.35); }
        50%      { box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 20px rgba(255,87,34,0.4); }
    }

    @keyframes mwbRing {
        0%   { transform: scale(1); opacity: 0.6; }
        100% { transform: scale(1.08); opacity: 0; }
    }
}

/* Hero секция */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/logo.png') center/cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.feature-item i {
    font-size: 24px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Секции */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.page-header {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-light);
}

/* Секции */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.current-works-section {
    padding: 80px 0;
    background: #ffffff;
}

.current-works-section .section-title {
    margin-bottom: 50px;
}

/* Сетки */
.services-grid,
.works-grid,
.completed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.works-grid-extended {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

/* Компактные карточки работ */
.work-card-compact {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.work-card-compact:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #667eea;
}

.work-card-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    min-height: 64px;
}

.work-title-row {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}


.work-title-row h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 0;
}

.car-number-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.work-card-thumb {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 1;
}

.work-card-thumb img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.work-card-thumb:hover img {
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.work-card-thumb-label {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1px 6px;
    border-radius: 4px;
    line-height: 1.4;
}

/* Оверлей увеличенного фото «до» */
.thumb-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: thumbOverlayIn 0.25s ease;
}

.thumb-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.thumb-overlay-label {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.thumb-overlay-close {
    position: absolute;
    top: 16px;
    right: 24px;
    color: #fff;
    font-size: 36px;
    font-weight: 300;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 1;
}

.thumb-overlay-close:hover {
    opacity: 1;
}

@keyframes thumbOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.work-progress-mini {
    flex-shrink: 0;
}

.progress-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(#667eea calc(var(--progress) * 1%), #f0f0f0 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-circle::before {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    background: white;
    border-radius: 50%;
}

.progress-circle span {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 700;
    color: #667eea;
}

.work-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.info-row .info-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 13px;
    min-width: 80px;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}

.post-mini {
    background: var(--accent-orange);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    margin-left: 6px;
}

.work-card-timeline {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.timeline-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.timeline-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.date-label {
    color: var(--text-light);
    font-size: 11px;
}

.date-value {
    color: var(--text-dark);
    font-weight: 600;
}

.timeline-separator {
    color: #667eea;
    font-weight: 700;
    margin: 0 4px;
}

.timeline-remaining {
    margin-left: auto;
}

.remaining-badge {
    background: linear-gradient(135deg, #FF5722, #FF7043);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.work-card-stages {
    margin-bottom: 16px;
}

.stages-compact {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
}

/* Компактный чип этапа — фиксированный размер, тултип при наведении/тапе */
.stage-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 600;
    background: #f0f0f0;
    color: #9e9e9e;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

/* Текущий этап — pill с текстом */
.stage-chip.stage-current {
    width: auto;
    height: auto;
    border-radius: 16px;
    padding: 6px 14px;
    gap: 5px;
}

.stage-label-inline {
    font-size: 12px;
    white-space: nowrap;
}

/* Тултип — показываем через ::after из data-name */
.stage-chip:not(.stage-current)::after {
    content: attr(data-name);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.stage-chip:not(.stage-current)::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #333;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

/* Десктоп: hover */
@media (hover: hover) {
    .stage-chip:not(.stage-current):hover::after,
    .stage-chip:not(.stage-current):hover::before {
        opacity: 1;
    }
}

/* Мобильная: тап (через :focus) */
.stage-chip:not(.stage-current):focus::after,
.stage-chip:not(.stage-current):focus::before {
    opacity: 1;
}
.stage-chip:not(.stage-current) {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.stage-icon {
    font-size: 10px;
    flex-shrink: 0;
    line-height: 1;
}

.stage-icon-pulse {
    animation: stageDotPulse 2s ease-in-out infinite;
    color: #fff;
}

@keyframes stageDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.stage-arrow-mini {
    color: #ccc;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

/* --- Обратная совместимость: старый .stage-badge --- */
.stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #f0f0f0;
    color: #6c757d;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.stage-chip.in-progress,
.stage-badge.in-progress {
    background: linear-gradient(90deg, #FF9800 0%, #FFD54F 50%, #FF9800 100%);
    background-size: 200% 100%;
    color: white;
    animation: stageProgress 2s linear infinite;
}

@keyframes stageProgress {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Прогресс-бар внутри текущего этапа */
.stage-chip.stage-current {
    overflow: hidden;
    background: rgba(255, 152, 0, 0.15) !important;
    color: #E65100 !important;
    background-size: 100% 100% !important;
    animation: none !important;
}

.stage-chip.stage-current > * {
    position: relative;
    z-index: 1;
}

.stage-chip.stage-current::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #FF9800, #FFB74D);
    animation: stageLoadBar 2.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes stageLoadBar {
    0%   { left: 0; width: 0; }
    40%  { left: 0; width: 100%; }
    60%  { left: 0; width: 100%; }
    100% { left: 100%; width: 0; }
}

.stage-chip.completed,
.stage-badge.completed {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
}

.stage-check {
    font-size: 11px;
    font-weight: 700;
}

.stage-text {
    font-size: 12px;
}

.stage-arrow {
    color: #667eea;
    font-size: 14px;
    font-weight: 700;
    margin: 0 4px;
    opacity: 0.5;
}

/* Мобильная адаптация для компактных этапов */
@media (max-width: 576px) {
    .stages-compact {
        gap: 3px;
    }
    .stage-chip {
        width: 24px;
        height: 24px;
    }
    .stage-chip.stage-current {
        padding: 5px 10px;
    }
    .stage-label-inline {
        font-size: 11px;
    }
    .stage-arrow-mini {
        font-size: 10px;
    }
}

.work-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FF5722, #FF8A65);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.work-card-link:hover {
    background: linear-gradient(135deg, #E64A19, #FF7043);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

/* Карточки услуг */
.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-image-placeholder {
    width: 100%;
    height: 250px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--border-color);
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Детальные услуги */
.service-detail-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-number {
    font-size: 72px;
    font-weight: 800;
    color: rgba(255, 87, 34, 0.1);
    line-height: 1;
    margin-bottom: 20px;
}

.service-description-full {
    margin: 20px 0;
    line-height: 1.8;
}

.service-price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 20px 0;
}

.price-label {
    font-size: 16px;
    color: var(--text-light);
}

.price-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Карточки работ */
.work-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.work-card:hover {
    box-shadow: var(--shadow-lg);
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.work-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.work-status.in-progress {
    background: rgba(255, 193, 7, 0.2);
    color: #F57C00;
}

.work-meta {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.work-meta p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.work-meta p:last-child {
    margin-bottom: 0;
}

.meta-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.work-service {
    color: var(--text-dark);
}

.work-center {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.work-master {
    color: var(--text-dark);
}

.post-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF5722, #FF7043);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    box-shadow: 0 2px 6px rgba(255, 87, 34, 0.3);
}

/* Прогресс бар */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--warning));
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-text {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    margin: 10px 0;
}

.work-dates {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 15px;
}

/* Сравнение до/после */
.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: #000;
}

.photo-half {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.photo-half.before::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.photo-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.photo-half:hover img {
    transform: scale(1.05);
}

.photo-half .no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: var(--text-light);
    font-size: 14px;
}

.photo-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

/* Пустое состояние */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.empty-state p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* CTA секция */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Этапы работы */
.stages-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.stage-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stage-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.stage-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.required {
    color: var(--error);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Алерты */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

/* Подвал */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Иконка Drive2 */
.social-link-drive2 {
    padding: 0;
    overflow: hidden;
}

.drive2-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.social-link-drive2:hover {
    background: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
}

/* Иконка Avito */
.social-link-avito {
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.social-link-avito .avito-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 2px;
    box-sizing: border-box;
}

.social-link-avito:hover {
    background: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 170, 255, 0.35);
}

/* Иконка Дзен */
.social-link-dzen {
    padding: 0;
    overflow: hidden;
    background: #000;
}

.social-link-dzen .dzen-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.social-link-dzen:hover {
    background: #000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Детальная страница работы */
.work-detail-page {
    padding: 20px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.work-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 2px solid #f0f0f0;
}

.work-detail-header h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-badge {
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.status-badge.status-new {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.status-badge.status-confirmed {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.status-badge.status-in_progress {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.status-badge.status-completed {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
}

.status-badge.status-cancelled {
    background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
    color: #666;
}

/* Современная информация */
.work-info-modern {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.info-row-modern {
    display: flex;
    gap: 40px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.info-row-modern:first-child {
    padding-top: 0;
}

.info-row-modern:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-col {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Иконка услуги (гаечный ключ) */
.info-icon-service {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.info-icon-service::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 3px solid white;
    border-radius: 50%;
    position: relative;
}

.info-icon-service::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 12px;
    background: white;
    bottom: 10px;
    right: 12px;
    border-radius: 2px;
    transform: rotate(-45deg);
}

/* Иконка локации (метка) */
.info-icon-location {
    background: linear-gradient(135deg, #E63946 0%, #F77F00 100%);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.info-icon-location::before {
    content: '';
    width: 18px;
    height: 22px;
    background: white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    top: -2px;
}

.info-icon-location::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #E63946 0%, #F77F00 100%);
    border-radius: 50%;
    top: 15px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

/* Иконка мастера (человек) */
.info-icon-master {
    background: linear-gradient(135deg, #6C63FF 0%, #9D5CFF 100%);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.info-icon-master::before {
    content: '';
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 12px;
}

.info-icon-master::after {
    content: '';
    width: 20px;
    height: 14px;
    background: white;
    border-radius: 10px 10px 0 0;
    position: absolute;
    bottom: 10px;
}

/* Иконка авто (машина) */
.info-icon-car {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.info-icon-car::before {
    content: '';
    width: 24px;
    height: 12px;
    background: white;
    border-radius: 4px 4px 0 0;
    position: absolute;
    top: 14px;
}

.info-icon-car::after {
    content: '';
    width: 28px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    bottom: 12px;
    box-shadow: -8px 6px 0 -6px white, 8px 6px 0 -6px white;
}

/* Иконка календаря */
.info-icon-calendar {
    background: linear-gradient(135deg, #3A86FF 0%, #4EA8DE 100%);
    box-shadow: 0 4px 12px rgba(58, 134, 255, 0.3);
}

.info-icon-calendar::before {
    content: '';
    width: 20px;
    height: 18px;
    border: 3px solid white;
    border-radius: 3px;
    position: absolute;
}

.info-icon-calendar::after {
    content: '';
    width: 20px;
    height: 3px;
    background: white;
    position: absolute;
    top: 17px;
}

/* Иконка галочки (завершено) */
.info-icon-check {
    background: linear-gradient(135deg, #06D6A0 0%, #1B9AAA 100%);
    box-shadow: 0 4px 12px rgba(6, 214, 160, 0.3);
}

.info-icon-check::before {
    content: '';
    width: 8px;
    height: 16px;
    border-right: 4px solid white;
    border-bottom: 4px solid white;
    transform: rotate(45deg);
    position: absolute;
    top: 10px;
    left: 18px;
}

/* Иконка времени (часы) */
.info-icon-time {
    background: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.3);
}

.info-icon-time::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 3px solid white;
    border-radius: 50%;
    position: absolute;
}

.info-icon-time::after {
    content: '';
    width: 2px;
    height: 8px;
    background: white;
    position: absolute;
    top: 14px;
    left: 23px;
    border-radius: 2px;
    box-shadow: 6px 3px 0 -1px white;
}

/* Иконка цены (рубль) */
.info-icon-price {
    background: linear-gradient(135deg, #06D6A0 0%, #2EC4B6 100%);
    box-shadow: 0 4px 12px rgba(6, 214, 160, 0.3);
}

.info-icon-price::before {
    content: '₽';
    font-size: 26px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.info-col:hover .info-icon {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.info-label {
    font-size: 12px;
    font-weight: 600;
    color: #8B8B8B;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.info-value {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    word-break: break-word;
    line-height: 1.4;
}

.info-col-price .info-value {
    font-size: 24px;
    font-weight: 700;
    color: #06D6A0;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.info-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.info-grid {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 13px;
}

.info-value {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    text-align: right;
}

.info-value.price {
    color: #FF5722;
    font-size: 16px;
}

.progress-detail {
    margin-top: 15px;
}

.progress-bar-large {
    width: 100%;
    height: 40px;
    background: #f1f3f5;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.6s ease;
}

.progress-text {
    color: white;
    font-weight: 700;
    font-size: 18px;
}

/* Компактные этапы работ (старые стили для admin) */

.stage-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.stage-compact.in-progress {
    background: rgba(255, 152, 0, 0.1);
    border-left: 3px solid #FF9800;
    animation: stagePulsePublic 3s ease-in-out infinite;
}

.stage-compact.completed {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(129, 199, 132, 0.1));
    border-left: 3px solid #4CAF50;
}

.stage-compact.pending {
    background: #f8f9fa;
    border-left: 3px solid #dee2e6;
}

.stage-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 600;
    font-size: 14px;
}

.stage-compact.in-progress .stage-icon {
    background: linear-gradient(135deg, #FF9800, #FFB74D);
    color: white;
    animation: iconPulse 2s ease-in-out infinite;
}

.stage-compact.completed .stage-icon {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
}

.stage-compact.pending .stage-icon {
    background: #e9ecef;
    color: #6c757d;
}

.stage-name {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.stage-compact.in-progress .stage-name {
    color: #E65100;
    font-weight: 600;
}

.stage-compact.completed .stage-name {
    color: #2e7d32;
}

.stage-completed-date {
    display: inline-block;
    margin-top: 8px;
    color: #4CAF50;
    font-size: 13px;
    font-weight: 600;
}


/* Мини прогресс-бар */
.progress-card-mini {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.progress-card-mini::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.progress-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.progress-percent {
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-bar-mini {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.progress-fill-mini {
    height: 100%;
    background: white;
    border-radius: 5px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    position: relative;
}

.progress-fill-mini::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Единая фотогалерея */
.photos-gallery-single {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    position: relative;
}

.photos-gallery-single::before {
    content: '📸 ФОТОГАЛЕРЕЯ';
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 87, 34, 0.3);
}

.photos-scroll-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 8px 5px;
}

.photos-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.photos-scroll-container::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.photos-scroll-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.photos-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.photo-item-single {
    flex-shrink: 0;
    position: relative;
}

.photo-link {
    display: block;
    width: 130px;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid white;
}

.photo-link:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.photo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.photo-link:hover img {
    transform: scale(1.15);
}

.photo-stage-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95));
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 6px;
    text-align: center;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.photo-link:hover .photo-stage-label {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: translateY(-2px);
}




.no-photos-message {
    background: white;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 2px dashed #e0e0e0;
}

.no-photos-message span:first-child {
    opacity: 0.5;
}

.no-photos-message span:last-child {
    font-size: 14px;
}

/* Страница онлайн-записи */
.booking-section {
    padding: 60px 0;
    background: #f8f9fa;
}

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

.booking-step {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-header h2 {
    font-size: 22px;
    color: var(--text-dark);
    margin: 0;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-control {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-text {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}

.required {
    color: #FF5722;
}

.btn {
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f1f3f5;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #e9ecef;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Календарь */
.calendar-container {
    margin: 15px 0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calendar-header h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0;
}

.calendar-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.calendar-legend {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-dark);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.available {
    background: linear-gradient(135deg, #4CAF50, #81C784);
}

.legend-color.partial {
    background: linear-gradient(135deg, #FFC107, #FFD54F);
}

.legend-color.full {
    background: #e9ecef;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    padding: 4px;
    font-size: 11px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.calendar-day.empty {
    cursor: default;
    background: transparent;
}

.calendar-day.available {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
}

.calendar-day.available:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.calendar-day.partial {
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: white;
}

.calendar-day.partial:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.calendar-day.full,
.calendar-day.past {
    background: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
}

.calendar-day.disabled {
    cursor: not-allowed;
}

/* Временные слоты */
.selected-date-info {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.time-slot {
    padding: 12px 10px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.time-slot:not(.disabled):hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.time-slot .time {
    font-size: 18px;
    font-weight: 700;
}

.time-slot .posts-info {
    font-size: 11px;
    opacity: 0.8;
}

.time-slot .unavailable {
    font-size: 11px;
    color: #dc3545;
    font-weight: 600;
}

/* Резюме заказа */
.booking-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.booking-summary h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span {
    color: var(--text-light);
}

.summary-item strong {
    color: var(--text-dark);
}

/* Действия */
.booking-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.booking-actions .btn {
    flex: 1;
}

/* Плавающая кнопка онлайн-записи */
.floating-booking-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 3px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(255,255,255,0.25), 0 8px 32px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    text-decoration: none;
    animation: floatBooking 3s ease-in-out infinite, bookingColorShift 4s ease-in-out infinite;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    transition: transform 0.3s ease;
}

.floating-booking-btn:hover {
    transform: scale(1.12) translateY(-5px) !important;
    animation-play-state: paused;
}

.floating-booking-btn:active {
    transform: scale(0.95) !important;
}

.floating-btn-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.floating-btn-icon {
    width: 32px;
    height: 32px;
    color: white;
    animation: bounce 2s ease-in-out infinite;
}

.floating-btn-text {
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Расходящиеся лучи — через box-shadow (без расширения layout) */
.floating-btn-pulse {
    display: none;
}

.floating-booking-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,0.6);
    animation: bookingRing 2s ease-out infinite;
    pointer-events: none;
}

.floating-booking-btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    animation: bookingRing 2s ease-out 0.7s infinite;
    pointer-events: none;
}

@keyframes bookingRing {
    0%   { transform: scale(1); opacity: 0.7; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* Смена цвета кнопки: тёмный → зелёный → оранжевый → тёмный */
@keyframes bookingColorShift {
    0%, 100% {
        background: linear-gradient(135deg, #1a1a2e, #16213e);
        box-shadow: 0 0 18px rgba(255,255,255,0.25), 0 8px 32px rgba(0,0,0,0.35);
    }
    33% {
        background: linear-gradient(135deg, #2E7D32, #4CAF50);
        box-shadow: 0 0 24px rgba(76,175,80,0.6), 0 8px 32px rgba(0,0,0,0.25);
    }
    66% {
        background: linear-gradient(135deg, #E65100, #FF5722);
        box-shadow: 0 0 24px rgba(255,87,34,0.6), 0 8px 32px rgba(0,0,0,0.25);
    }
}

/* Парение кнопки */
@keyframes floatBooking {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* Подпрыгивание иконки */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

/* Анимация пульсации для этапов в работе (публичная часть) */
@keyframes stagePulsePublic {
    0%, 100% {
        background: rgba(255, 152, 0, 0.1);
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
    50% {
        background: rgba(255, 152, 0, 0.25);
        box-shadow: 0 0 20px 0 rgba(255, 152, 0, 0.3);
    }
}

/* Анимация пульсации иконки этапа */
@keyframes iconPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.1);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0 14px;
        gap: 0;
    }

    .navbar-layout {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "phone phone"
            "brand toggle";
        column-gap: 10px;
        row-gap: 10px;
        align-items: center;
    }

    .logo {
        grid-area: brand;
        justify-self: start;
    }

    .mobile-menu-toggle {
        grid-area: toggle;
        justify-self: end;
    }

    /* Телефон под «НеРыжий», та же оранжевая плашка; тёмный текст для контраста на градиенте */
    .header-phone {
        grid-area: phone;
        justify-self: center;
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        margin: 0 !important;
        width: max-content;
        max-width: 100%;
        padding: 8px 18px;
        border-radius: 999px;
        background: linear-gradient(135deg, #FF5722, #FF8A65);
        border: 2px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 4px 20px rgba(255, 87, 34, 0.45);
        color: #141b2e;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
    }

    .header-phone:hover,
    .header-phone:active {
        color: #0a0e18;
        filter: brightness(1.04);
    }

    .header-phone svg {
        color: #141b2e;
        flex-shrink: 0;
    }

    .nav-menu {
        position: fixed;
        top: 102px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        gap: 12px;
        display: none;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 3px solid var(--primary-color);
        z-index: 999;
        max-height: calc(100vh - 102px);
        overflow-y: auto;
    }

    /* Ниже шапка с двумя рядами (логотип + плашка телефона) */
    body.has-site-phone .nav-menu {
        top: 148px;
        max-height: calc(100vh - 148px);
    }
    
    .nav-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu .nav-link {
        width: 100%;
        padding: 16px 20px;
        font-size: 16px;
        text-align: left;
        border-radius: 12px;
        display: block;
    }
    
    .nav-menu .nav-link-admin {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    @media (max-width: 380px) {
        .header-phone {
            font-size: 12px;
            padding: 7px 14px;
            gap: 6px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .header-phone {
            transition: none;
        }
    }

    
    .hero {
        min-height: auto;
        padding: 24px 16px 20px;
    }

    .hero-overlay {
        opacity: 0.05;
    }

    .hero-title {
        font-size: 22px;
        line-height: 1.15;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 13px;
        line-height: 1.35;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .hero-features {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px 10px;
        margin-bottom: 14px;
    }

    .feature-item {
        font-size: 11px;
        gap: 4px;
        white-space: nowrap;
    }

    .feature-item i {
        font-size: 14px;
    }

    .hero .btn-lg {
        padding: 10px 22px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .services-grid,
    .works-grid,
    .completed-grid,
    .works-grid-extended {
        grid-template-columns: 1fr;
    }
    
    .work-card-compact {
        padding: 16px;
    }
    
    .work-title-row h3 {
        font-size: 18px;
    }
    
    .progress-circle {
        width: 45px;
        height: 45px;
    }
    
    .progress-circle::before {
        width: 34px;
        height: 34px;
    }
    
    .timeline-compact {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .timeline-remaining {
        margin-left: 0;
        flex-basis: 100%;
    }
    
    .work-detail-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .work-detail-header h1 {
        font-size: 28px;
    }
    
    .work-detail-header {
        padding: 15px;
    }
    
    .work-detail-header h1 {
        font-size: 28px;
    }
    
    .status-badge {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .work-info-modern {
        padding: 15px;
    }
    
    .info-row-modern {
        flex-direction: column;
        gap: 15px;
        padding: 12px 0;
    }
    
    .info-col {
        gap: 10px;
    }
    
    .info-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .info-value {
        font-size: 14px;
    }
    
    .info-col-price .info-value {
        font-size: 16px;
    }
    
    .progress-card-mini {
        padding: 16px;
    }
    
    .progress-percent {
        font-size: 24px;
    }
    
    .photos-gallery-single {
        padding: 16px;
    }
    
    .photos-gallery-single::before {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .photo-link {
        width: 110px;
        height: 110px;
    }
    
    .photo-stage-label {
        font-size: 9px;
        padding: 4px 6px;
    }
    
    .work-detail-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .work-detail-header {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .work-detail-header h1 {
        font-size: 28px;
    }
    
    .photo-gallery-section h3 {
        font-size: 12px;
    }
    
    .photo-count {
        font-size: 10px;
    }
    
    .info-value-big {
        font-size: 16px;
    }
    
    .info-mini-item {
        font-size: 13px;
    }
    
    .stages-timeline {
        padding: 10px;
    }
    
    .stage-mini {
        padding: 5px 6px;
        gap: 8px;
    }
    
    .stage-mini-icon {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .stage-mini-name {
        font-size: 12px;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
    }
    
    .booking-step {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .calendar-weekdays,
    .calendar-grid {
        gap: 5px;
    }
    
    .calendar-day-header {
        padding: 8px 5px;
        font-size: 12px;
    }
    
    .calendar-day {
        font-size: 14px;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 8px;
    }
    
    .time-slot {
        padding: 10px 8px;
    }
    
    .time-slot .time {
        font-size: 16px;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .step-header h2 {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 28px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .current-works-section {
        padding: 40px 0;
    }
    
    .current-works-section .section-title {
        margin-bottom: 24px;
    }
    
    .floating-booking-btn {
        width: 130px;
        height: 130px;
        bottom: 90px;
        right: 15px;
        animation: floatBooking 3s ease-in-out infinite, bookingColorShift 4s ease-in-out infinite;
    }
    
    .floating-booking-btn:active {
        transform: scale(0.95) !important;
    }
    
    .floating-btn-inner {
        gap: 6px;
    }
    
    .floating-btn-icon {
        width: 48px;
        height: 48px;
    }
    
    .floating-btn-text {
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 0.5px;
        font-weight: 700;
    }

    .cta-section {
        padding: 36px 16px 28px;
    }

    .cta-section h2 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .cta-section p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 16px;
        max-width: 34em;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-section .btn-lg {
        padding: 10px 20px;
        font-size: 14px;
    }

    .cta-section > .container > div {
        gap: 10px !important;
    }

    /* Подвал — компактнее на мобильном */
    .footer {
        padding: 32px 0 100px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px 14px;
        margin-bottom: 20px;
    }

    .footer-col:first-child,
    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-col p {
        font-size: 13px;
        line-height: 1.4;
        margin: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-links a,
    .footer-contacts li {
        font-size: 13px;
    }

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

    .social-links {
        gap: 10px;
        justify-content: flex-start;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        padding-top: 16px;
        font-size: 12px;
        line-height: 1.4;
    }

    .footer-bottom p {
        margin: 2px 0;
    }
}

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

.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 30px; }

/* Дополнительная адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .hero {
        padding: 20px 14px 16px;
    }

    .hero-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .hero-features {
        gap: 6px 8px;
        margin-bottom: 12px;
    }

    .feature-item {
        font-size: 10px;
    }

    .hero .btn-lg {
        padding: 9px 18px;
        font-size: 13px;
    }

    .services-section {
        padding: 28px 0 36px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .cta-section {
        padding: 28px 14px 22px;
    }

    .cta-section h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .cta-section p {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .cta-section .btn-lg {
        padding: 9px 16px;
        font-size: 13px;
        width: 100%;
        max-width: 280px;
    }

    .footer {
        padding: 24px 0 110px;
    }

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

    .footer-col:first-child,
    .footer-col:last-child {
        grid-column: auto;
    }

    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footer-col p {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 14px;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-contacts li {
        margin-bottom: 6px;
        font-size: 12px;
    }

    .social-links {
        gap: 8px;
    }

    .social-link {
        width: 34px;
        height: 34px;
    }

    .footer-bottom {
        padding-top: 12px;
        font-size: 11px;
    }

    .floating-booking-btn {
        width: 120px;
        height: 120px;
        bottom: 100px;
        right: 12px;
        animation: floatBooking 3s ease-in-out infinite, bookingColorShift 4s ease-in-out infinite;
    }
    
    .floating-btn-icon {
        width: 44px;
        height: 44px;
    }
    
    .floating-btn-text {
        font-size: 15px;
    }
}

/* Для ландшафтной ориентации на мобильных */
@media (max-width: 768px) and (max-height: 500px) {
    .floating-booking-btn {
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: 15px;
        animation: floatBooking 3s ease-in-out infinite, bookingColorShift 4s ease-in-out infinite;
    }
    
    .floating-btn-icon {
        width: 38px;
        height: 38px;
    }
    
    .floating-btn-text {
        font-size: 13px;
    }
}

/* Специально для iPhone (высокие экраны) */
@media (max-width: 428px) {
    .floating-booking-btn {
        width: 120px;
        height: 120px;
        bottom: 95px;
        right: 12px;
        animation: floatBooking 3s ease-in-out infinite, bookingColorShift 4s ease-in-out infinite;
    }
}

/* Страница выполненных работ */
.completed-works-section {
    padding: 80px 0;
    background: #ffffff;
}

.completed-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 28px;
}

/* Современная карточка работы */
.completed-work-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.completed-work-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* Заголовок карточки (завершённые работы) */
.completed-work-card-modern .work-card-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #f0f0f0;
}

.work-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.work-status-badge {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Фото до/после */
.before-after-modern {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
    background: #fafafa;
}

.photo-section {
    flex: 1;
    position: relative;
}

.photo-badge {
    position: absolute;
    top: -10px;
    left: 10px;
    z-index: 10;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.photo-badge.badge-before {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.photo-badge.badge-after {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
}

.photo-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.completed-work-card-modern:hover .photo-container img {
    transform: scale(1.1);
}

.no-photo-modern {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: #999;
    gap: 12px;
}

.no-photo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    background: #ccc;
    border-radius: 8px;
}

.no-photo-icon::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    top: 8px;
    left: 12px;
}

.no-photo-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    bottom: 8px;
    left: 8px;
    box-shadow: 6px -4px 0 -1px #fff, 12px -8px 0 -1px #fff;
}

.no-photo-modern span {
    font-size: 12px;
    font-weight: 600;
}

.arrow-divider {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

/* Подвал карточки */
.work-card-footer {
    padding: 16px 20px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.work-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
}

.meta-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: relative;
    display: inline-block;
}

.meta-icon-service::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
    top: 3px;
    left: 3px;
}

.meta-icon-service::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: currentColor;
    bottom: 3px;
    right: 5px;
    border-radius: 1px;
    transform: rotate(-45deg);
}

.meta-icon-date::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 2px;
    top: 4px;
    left: 3px;
}

.meta-icon-date::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background: currentColor;
    top: 9px;
    left: 3px;
}

.meta-text {
    font-weight: 500;
}

.btn-view-modern {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-view-modern:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
}

.btn-view-modern svg {
    transition: transform 0.3s ease;
}

.btn-view-modern:hover svg {
    transform: translateX(4px);
}

.no-works-message {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.no-works-icon {
    width: 80px;
    height: 60px;
    margin: 0 auto 20px;
    position: relative;
    background: #f5f5f5;
    border-radius: 8px;
}

.no-works-icon::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 20px;
    background: #ddd;
    border-radius: 4px 4px 0 0;
    top: 15px;
    left: 20px;
}

.no-works-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 12px;
    background: #ddd;
    border-radius: 2px;
    bottom: 15px;
    left: 15px;
    box-shadow: -12px 8px 0 -8px #ddd, 12px 8px 0 -8px #ddd;
}

.no-works-message p {
    font-size: 16px;
    margin: 0;
}

/* Адаптация для выполненных работ */
@media (max-width: 1024px) {
    .completed-works-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .completed-works-section {
        padding: 60px 0;
    }
    
    .completed-works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .work-title {
        font-size: 18px;
    }
    
    .before-after-modern {
        flex-direction: column;
        gap: 12px;
    }
    
    .arrow-divider {
        transform: rotate(90deg);
    }
    
    .work-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .btn-view-modern {
        justify-content: center;
    }
    
    .work-detail-header {
        padding: 15px;
    }
    
    .work-detail-header h1 {
        font-size: 28px;
    }
    
    .status-badge {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .work-info-modern {
        padding: 20px;
    }
    
    .info-row-modern {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }
    
    .info-col {
        gap: 12px;
    }
    
    .info-icon {
        width: 42px;
        height: 42px;
    }
    
    .info-icon::before {
        width: 20px;
        height: 20px;
    }
    
    .info-value {
        font-size: 15px;
    }
    
    .info-col-price .info-value {
        font-size: 20px;
    }
}

/* ========================================
   СОВРЕМЕННЫЕ КАРТОЧКИ УСЛУГ (ГЛАВНАЯ)
   ======================================== */

.service-card-modern {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 87, 34, 0.2);
}

/* Изображение карточки */
.service-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Клик по фото/заглушке ведёт на страницу услуги (как «Подробнее») */
.service-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.service-card-image-link:focus-visible {
    outline: 2px solid #FF5722;
    outline-offset: -4px;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card-modern:hover .service-card-image {
    transform: scale(1.1);
}

.service-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.service-placeholder-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #fff;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Бейдж на карточке */
.service-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    pointer-events: none;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 87, 34, 0.5);
    }
}

/* Тело карточки */
.service-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 58px;
}

.service-card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    min-height: 60px;
}

.service-card-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
    margin-bottom: 20px;
}

/* Блок цены */
.service-card-price-row {
    margin-bottom: 20px;
}

.service-card-price-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-card-price-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.service-card-price-value {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* Кнопки действий */
.service-card-actions {
    display: flex;
    gap: 12px;
}

.service-card-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    text-decoration: none;
}

.service-card-btn-primary {
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.service-card-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 87, 34, 0.4);
}

.service-card-btn-primary svg {
    transition: transform 0.3s ease;
}

.service-card-btn-primary:hover svg {
    transform: translateX(4px);
}

.service-card-btn-outline {
    background: transparent;
    color: #FF5722;
    border: 2px solid #FF5722;
}

.service-card-btn-outline:hover {
    background: #FF5722;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .services-section {
        padding: 40px 0 48px;
    }
    
    .service-card-image-wrapper {
        height: 200px;
    }
    
    .service-card-body {
        padding: 20px;
    }
    
    .service-card-title {
        font-size: 20px;
        min-height: auto;
    }
    
    .service-card-description {
        font-size: 13px;
        min-height: auto;
    }
    
    .service-card-price-value {
        font-size: 24px;
    }
    
    .service-card-actions {
        flex-direction: column;
    }
    
    .service-card-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 28px 0 36px;
    }
    
    .service-card-image-wrapper {
        height: 180px;
    }
    
    .service-card-body {
        padding: 16px;
    }
    
    .service-card-title {
        font-size: 18px;
    }
    
    .service-card-price-value {
        font-size: 22px;
    }
    
    .service-card-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* ========================================
   ДЕТАЛЬНЫЕ КАРТОЧКИ УСЛУГ (services.php)
   ======================================== */

.service-detail-card-modern {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    min-height: 320px;
}

.service-detail-card-modern:hover {
    box-shadow: 0 8px 40px rgba(255, 87, 34, 0.15);
    transform: translateY(-4px);
}

.service-detail-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-detail-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.service-detail-image-link:focus-visible {
    outline: 2px solid #FF5722;
    outline-offset: -4px;
}

.service-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail-card-modern:hover .service-detail-image {
    transform: scale(1.1);
}

.service-detail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-placeholder-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.service-placeholder-icon-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #fff;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.service-number-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    pointer-events: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #FF5722;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.service-detail-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-detail-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-detail-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-detail-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
    margin-bottom: 24px;
}

.service-detail-price-row {
    margin-bottom: 28px;
}

.service-detail-price-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-detail-price-label {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.service-detail-price-value {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

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

.service-detail-btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 28px;
    background: #fff;
    color: #FF5722;
    border: 2px solid #FF5722;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.service-detail-btn-more:hover {
    background: #FFF3E0;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 87, 34, 0.2);
}

.service-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    color: #fff;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.3);
    align-self: flex-start;
}

.service-detail-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 87, 34, 0.4);
}

.service-detail-btn svg {
    transition: transform 0.3s ease;
}

.service-detail-btn:hover svg {
    transform: translateX(5px);
}

/* ========================================
   ДЕТАЛЬНАЯ СТРАНИЦА УСЛУГИ (service-detail.php)
   ======================================== */
/* Шапка детальной услуги */
.svc-page-header {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    padding: 24px 0;
    text-align: left;
}
.svc-page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 8px 0 0;
    line-height: 1.3;
}
.svc-page-header .breadcrumbs a,
.svc-page-header .breadcrumbs span {
    color: rgba(255,255,255,0.7) !important;
}
.svc-page-header .breadcrumbs a:hover {
    color: #fff !important;
}
.svc-page-header .breadcrumbs li::after {
    color: rgba(255,255,255,0.4) !important;
}
@media (max-width: 768px) {
    .svc-page-header { padding: 16px 0; }
    .svc-page-header h1 { font-size: 20px; }
}

.svc-detail-page { padding: 32px 0 48px; }

.svc-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #555;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 20px;
}
.svc-back-btn:hover {
    background: #eee;
    color: #FF5722;
}

.svc-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
/* Ячейки grid по умолчанию min-width:auto — контент миниатюр не даёт сжаться; скролл полосы не срабатывает */
.svc-hero > * {
    min-width: 0;
}
/* Галерея услуги: большое фото + полоса миниатюр */
.svc-hero-gallery {
    display: flex;
    flex-direction: column;
    min-height: 0;
    /* Без min-width:0 flex/grid раздувает колонку под суммарную ширину миниатюр — ломается сетка и «тянется» главное фото */
    min-width: 0;
    max-width: 100%;
    width: 100%;
    background: #1a1a1a;
}
.svc-hero-gallery .svc-hero-image {
    flex: 1;
    min-height: 240px;
    min-width: 0;
}
.svc-hero-image {
    height: 320px;
    overflow: hidden;
}
.svc-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* Внешняя полоса: только скролл. Ряд миниатюр — во внутреннем .svc-thumb-strip-inner (width:max-content), иначе flex сжимает кнопки под ширину контейнера */
.svc-thumb-strip {
    padding: 10px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-shrink: 0;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    background: #f5f5f7;
    border-top: 1px solid #e8e8ec;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.svc-thumb-strip::-webkit-scrollbar {
    height: 6px;
}
.svc-thumb-strip::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 3px;
}
.svc-thumb-strip-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: none;
}
.svc-thumb {
    flex: none;
    width: 72px;
    min-width: 72px;
    height: 54px;
    padding: 0;
    margin: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.svc-thumb:hover {
    transform: translateY(-2px);
}
.svc-thumb.is-active {
    border-color: #FF5722;
    box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.28);
}
.svc-thumb:focus-visible {
    outline: 2px solid #FF5722;
    outline-offset: 2px;
}
.svc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.svc-hero-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.svc-hero-price-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}
.svc-hero-price-label {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.svc-hero-price {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF5722, #FF6F3C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
.svc-hero-meta {
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
}

.svc-section {
    margin-bottom: 36px;
}
.svc-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.svc-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FF5722, #FF8A65);
    border-radius: 2px;
}
.svc-description {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
}

/* Этапы — вертикальная шкала */
.svc-stages-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 24px;
}
.svc-stages-timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(to bottom, #FF5722, #FF8A65, #FFB74D);
    border-radius: 2px;
}
.svc-stage-card {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    position: relative;
}
.svc-stage-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5722, #FF8A65);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255,87,34,0.3);
    z-index: 1;
}
.svc-stage-body { flex: 1; padding-top: 6px; }
.svc-stage-name {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
}
.svc-stage-desc {
    font-size: 14px;
    color: #777;
    margin: 0 0 4px;
    line-height: 1.5;
}
.svc-stage-time {
    font-size: 12px;
    color: #aaa;
}

.svc-cta {
    background: linear-gradient(135deg, #FFF3E0, #FFECB3);
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    margin-top: 20px;
}
.svc-cta h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.svc-cta p {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px;
}
.svc-cta div {
    justify-content: center;
}

@media (max-width: 768px) {
    .svc-hero { grid-template-columns: 1fr; }
    .svc-hero-image { height: 220px; }
    .svc-hero-gallery .svc-hero-image { min-height: 200px; }
    .svc-thumb { width: 64px; min-width: 64px; height: 48px; }
    .svc-hero-info { padding: 20px; }
    .svc-hero-price { font-size: 28px; }
    .svc-cta { padding: 24px 16px; }
    .svc-stages-timeline { padding-left: 16px; }
    .svc-stages-timeline::before { left: 12px; }
    .svc-stage-num { width: 30px; height: 30px; font-size: 12px; }
}

/* Адаптивность карточек услуг */
@media (max-width: 1024px) {
    .service-detail-card-modern {
        grid-template-columns: 1fr;
    }
    .service-detail-image-wrapper {
        height: 300px;
    }
    .service-detail-body {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .service-detail-card-modern {
        margin-bottom: 24px;
    }
    
    .service-detail-image-wrapper {
        height: 250px;
    }
    
    .service-detail-body {
        padding: 24px;
    }
    
    .service-detail-title {
        font-size: 26px;
    }
    
    .service-detail-price-value {
        font-size: 30px;
    }
    
    .service-detail-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .service-detail-image-wrapper {
        height: 200px;
    }
    
    .service-detail-body {
        padding: 20px;
    }
    
    .service-detail-title {
        font-size: 22px;
    }
    
    .service-detail-description {
        font-size: 15px;
    }
    
    .service-detail-price-value {
        font-size: 26px;
    }
    
    .service-detail-btn {
        padding: 16px 24px;
        font-size: 15px;
    }
}

/* ========================================
   КАРТОЧКИ ВЫПОЛНЕННЫХ РАБОТ (СОВРЕМЕННЫЙ СТИЛЬ)
   ======================================== */

.completed-work-card-modern {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.completed-work-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 87, 34, 0.15);
}

/* Заголовок */
.work-card-header-new {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.work-title-new {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.work-status-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.work-status-badge-new svg {
    width: 16px;
    height: 16px;
}

/* Сравнение фото До/После */
.before-after-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    padding: 24px;
    align-items: center;
}

.comparison-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
    min-height: 200px;
}

.photo-label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    z-index: 2;
    backdrop-filter: blur(10px);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
}

.label-before {
    background: rgba(244, 67, 54, 0.9);
    color: #fff;
}

.label-after {
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
}

.comparison-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.completed-work-card-modern:hover .comparison-image {
    transform: scale(1.05);
}

/* Плейсхолдер для отсутствующего фото */
.no-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    color: #999;
}

.placeholder-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

.placeholder-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: #999;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.no-photo-placeholder span {
    font-size: 13px;
    font-weight: 600;
}

/* Стрелка между фото */
.comparison-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: arrowPulse 2s ease-in-out infinite;
    padding: 0 4px;
}

.comparison-arrow svg {
    width: 44px;
    height: 44px;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Футер карточки */
.work-card-footer-new {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.work-meta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.work-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 180px;
}

.meta-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.meta-icon-wrapper svg {
    width: 18px;
    height: 18px;
}

.work-meta-item .meta-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.work-detail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.work-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 87, 34, 0.4);
}

.work-detail-btn svg {
    transition: transform 0.3s ease;
}

.work-detail-btn svg {
    width: 18px;
    height: 18px;
}

.work-detail-btn:hover svg {
    transform: translateX(4px);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .before-after-comparison {
        gap: 18px;
        padding: 20px;
    }
    
    .comparison-photo {
        min-height: 180px;
    }
    
    .comparison-arrow svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .before-after-comparison {
        grid-template-columns: 1fr auto 1fr;
        gap: 8px;
        padding: 14px 16px;
        align-items: center;
    }
    
    .comparison-photo {
        min-height: 0;
        aspect-ratio: 4/3;
        border-radius: 12px;
    }
    
    .comparison-arrow {
        transform: none;
        flex-shrink: 0;
    }
    
    .comparison-arrow svg {
        width: 28px;
        height: 28px;
    }
    
    .work-card-header-new {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px 20px;
    }
    
    .work-title-new {
        font-size: 20px;
    }
    
    .work-meta-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .work-meta-item {
        min-width: 100%;
    }
    
    .work-card-footer-new {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .completed-works-section {
        padding: 40px 0;
    }
    
    .work-card-header-new {
        padding: 16px;
    }
    
    .work-title-new {
        font-size: 18px;
    }
    
    .work-status-badge-new {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .work-status-badge-new svg {
        width: 14px;
        height: 14px;
    }
    
    .before-after-comparison {
        padding: 12px;
        gap: 6px;
    }
    
    .comparison-photo {
        min-height: 0;
        border-radius: 10px;
    }
    
    .comparison-arrow svg {
        width: 24px;
        height: 24px;
    }
    
    .photo-label {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 9px;
        height: 18px;
    }
    
    .work-card-footer-new {
        padding: 16px;
    }
    
    .work-detail-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
    .work-detail-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .meta-icon-wrapper {
        width: 36px;
        height: 36px;
    }
    
    .meta-icon-wrapper svg {
        width: 16px;
        height: 16px;
    }
    
    .work-meta-item .meta-text {
        font-size: 13px;
    }
}

/* ========================================
   БЛОК БЛОГА / НАШИ РАБОТЫ (СТИЛЬ DRIVE2)
   ======================================== */

.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
    margin-top: 0;
}

.section-header-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-link {
    color: #FF5722;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.section-link:hover {
    color: #E64A19;
    transform: translateX(5px);
}

/* Сетка постов */
/* Карусель постов */
.blog-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 -10px;
    padding: 0 10px;
}

.blog-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-carousel-track .blog-post-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 280px;
}

/* Кнопки управления каруселью */
.blog-carousel-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FF5722;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.2);
}

.carousel-btn:hover:not(:disabled) {
    background: #E64A19;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
    transform: scale(1.05);
}

.carousel-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Карточка поста */
.blog-post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Изображение поста */
.blog-post-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0f0f0;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.08);
}

.blog-post-photo-count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-post-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

.blog-placeholder-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: #999;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Контент поста */
.blog-post-content {
    padding: 20px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #999;
}

.blog-post-time {
    color: #FF5722;
    font-weight: 600;
}

.blog-post-separator {
    color: #ddd;
}

.blog-post-car {
    color: #666;
    font-weight: 500;
}

.blog-post-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    border-radius: 8px;
}

.blog-post-price-label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.blog-post-price-value {
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-post-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.blog-post-read-more {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #FF5722;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-post-card:hover .blog-post-read-more {
    gap: 10px;
}

.blog-post-read-more svg {
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-read-more svg {
    transform: translateX(3px);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .blog-carousel-track .blog-post-card {
        flex: 0 0 calc(33.333% - 14px);
        min-width: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }
    
    .section-header-with-link {
        margin-bottom: 28px;
    }
    
    .blog-carousel-track .blog-post-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 220px;
    }
    
    .blog-carousel-controls {
        gap: 12px;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .blog-post-content {
        padding: 16px;
    }
    
    .blog-post-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .blog-section {
        padding: 40px 0;
    }
    
    .section-header-with-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .blog-carousel-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .blog-carousel-track .blog-post-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .blog-post-image {
        aspect-ratio: 3/2;
    }
    
    .blog-post-title {
        font-size: 17px;
    }
    
    .blog-post-excerpt {
        font-size: 13px;
    }
}

/* ========================================
   ДЕТАЛЬНАЯ СТРАНИЦА РАБОТЫ (СОВРЕМЕННЫЙ СТИЛЬ)
   ======================================== */

.work-detail-page-modern {
    padding: 24px 0 40px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.work-detail-page-modern .breadcrumbs li {
    color: #999;
}

.work-detail-page-modern .breadcrumbs li a {
    color: #666;
}

.work-detail-page-modern .breadcrumbs li a:hover {
    color: #FF5722;
}

.work-detail-page-modern .breadcrumbs li + li::before {
    color: #ccc;
}

.work-detail-page-modern .breadcrumbs li:last-child {
    color: #333;
    font-weight: 600;
}

/* Хлебные крошки */
.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: #666;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #FF5722;
}

.breadcrumb-separator {
    color: #ccc;
    flex-shrink: 0;
}

.breadcrumb-current {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
}

/* Основная карточка */
.work-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f5f5f5, #eeeeee);
    color: #444;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 12px;
    padding: 10px 18px 10px 14px;
    border-radius: 12px;
    border: 1.5px solid #e0e0e0;
    transition: all 0.2s ease;
}

.work-detail-back:hover {
    color: #FF5722;
    border-color: #FF5722;
    background: #FFF3E0;
}

.work-detail-back svg {
    flex-shrink: 0;
}

.work-detail-card-modern {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-bottom: 24px;
}

/* Заголовок */
.work-detail-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.work-detail-title-modern {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.work-detail-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.work-detail-status-badge.status-completed {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: #fff;
}

.work-detail-status-badge.status-in_progress {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
    color: #fff;
}

.work-detail-status-badge.status-new {
    background: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
    color: #fff;
}

.work-detail-status-badge.status-confirmed {
    background: linear-gradient(135deg, #00BCD4 0%, #26C6DA 100%);
    color: #fff;
}

/* Сетка информации */
.work-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.work-detail-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: background 0.2s ease;
    border: 1px solid #f0f0f0;
}

.work-detail-info-item:hover {
    background: #f0f2f5;
}

.work-detail-info-item-price {
    background: #FFF8E1;
    border-color: #FFE082;
}

.work-detail-info-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.work-detail-info-icon svg {
    width: 16px;
    height: 16px;
}

.work-detail-info-icon-success {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

.work-detail-info-icon-price {
    background: linear-gradient(135deg, #FFB74D 0%, #FFA726 100%);
}

.work-detail-info-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.work-detail-info-label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.work-detail-info-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.work-detail-price-big {
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Прогресс с этапами (детальная страница — как в списке «Сейчас в работе») */
.work-detail-stages-progress {
    margin-bottom: 20px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 14px;
}

.work-detail-stages-progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.work-detail-stages-progress-heading {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.work-progress-mini--detail {
    flex-shrink: 0;
}

.work-card-stages--detail {
    margin-bottom: 0;
}

.stages-progress-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.stages-progress-title {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stages-progress-counter {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.stages-progress-pct {
    margin-left: auto;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF5722, #FF6F3C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stages-progress-track {
    display: flex;
    align-items: center;
}

.stages-progress-step {
    display: flex;
    align-items: center;
    flex: 1;
}

.stages-progress-step:last-child {
    flex: 0 0 auto;
}

.stages-progress-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.stages-progress-step.done .stages-progress-dot {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.35);
}

.stages-progress-step.active .stages-progress-dot {
    background: linear-gradient(135deg, #FF5722, #FF6F3C);
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
}

.stages-progress-step.pending .stages-progress-dot {
    background: #e0e0e0;
}

.stages-dot-pulse {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

.stages-progress-line {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 0 2px;
    transition: background 0.3s ease;
}

.stages-progress-line.filled {
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
}

.stages-progress-current {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.stages-current-label {
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stages-current-name {
    font-size: 13px;
    font-weight: 700;
    color: #FF5722;
}

/* Разделитель */
.work-detail-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
    margin: 16px 0;
}

/* Секция фотогалереи */
.work-detail-photos-section {
    margin-top: 16px;
}

.work-detail-photos-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.work-detail-photos-header svg {
    color: #FF5722;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.work-detail-photos-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Сетка фотографий */
.work-detail-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.work-detail-photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-detail-photo-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 87, 34, 0.2);
}

.work-detail-photo-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: zoom-in;
}

.work-detail-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.work-detail-photo-item:hover .work-detail-photo-img {
    transform: scale(1.1);
}

.work-detail-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-detail-photo-item:hover .work-detail-photo-overlay {
    opacity: 1;
}

.work-detail-photo-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    z-index: 2;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.work-detail-photo-label-before {
    background: rgba(244, 67, 54, 0.95);
    color: #fff;
}

.work-detail-photo-label-after {
    background: rgba(76, 175, 80, 0.95);
    color: #fff;
}

.work-detail-photo-label-process {
    background: rgba(255, 152, 0, 0.95);
    color: #fff;
}

/* Галерея по этапам: аккордеон + более плотная сетка внутри блока */
.work-detail-photos-by-stage {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.photo-stage-details {
    border: 1px solid #e8eaed;
    border-radius: 16px;
    background: #fafbfc;
    overflow: hidden;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.photo-stage-details[open] {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.photo-stage-details > summary {
    list-style: none;
}

.photo-stage-details > summary::-webkit-details-marker {
    display: none;
}

.photo-stage-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    color: #1a1a1a;
}

.photo-stage-summary:hover {
    background: rgba(255, 87, 34, 0.04);
}

.photo-stage-summary-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.photo-stage-summary-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.photo-stage-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.photo-stage-badge--before {
    background: rgba(244, 67, 54, 0.95);
    color: #fff;
}

.photo-stage-badge--after {
    background: rgba(76, 175, 80, 0.95);
    color: #fff;
}

.photo-stage-badge--process {
    background: rgba(255, 152, 0, 0.95);
    color: #fff;
}

.photo-stage-summary-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.photo-stage-count {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.photo-stage-chevron {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #FF5722;
    border-bottom: 2px solid #FF5722;
    transform: rotate(45deg);
    margin-bottom: 3px;
    transition: transform 0.2s ease;
}

.photo-stage-details[open] .photo-stage-chevron {
    transform: rotate(-135deg);
    margin-bottom: 0;
    margin-top: 3px;
}

.photo-stage-body {
    padding: 0 12px 14px 12px;
}

.work-detail-photos-grid--stage {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.work-detail-photo-item--stage {
    border-radius: 14px;
}

.work-detail-photo-item--stage .work-detail-photo-label {
    font-size: 10px;
    padding: 5px 10px;
    top: 8px;
    left: 8px;
}

.work-detail-photo-item--stage:hover {
    transform: translateY(-4px) scale(1.01);
}

/* Нет фотографий */
.work-detail-no-photos {
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px dashed #e0e0e0;
}

.work-detail-no-photos-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(255, 87, 34, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5722;
}

.work-detail-no-photos-text {
    font-size: 18px;
    color: #999;
    font-weight: 600;
    margin: 0;
}

/* Лайтбокс фотогалереи */
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.photo-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.photo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.photo-lightbox-img {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.92);
    transition: transform 0.25s ease;
    z-index: 1;
}

.photo-lightbox.active .photo-lightbox-img {
    transform: scale(1);
}

.photo-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 2;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 4px 12px;
}

.photo-lightbox-close:hover {
    opacity: 1;
}

.photo-lightbox-prev,
.photo-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s, background 0.2s;
}

.photo-lightbox-prev:hover,
.photo-lightbox-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.25);
}

.photo-lightbox-prev {
    left: 16px;
}

.photo-lightbox-next {
    right: 16px;
}

@media (max-width: 480px) {
    .photo-lightbox-prev,
    .photo-lightbox-next {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }
    .photo-lightbox-prev { left: 8px; }
    .photo-lightbox-next { right: 8px; }
    .photo-lightbox-close { top: 10px; right: 12px; font-size: 32px; }
}

/* ==========================================
   Модальное окно онлайн-записи
   ========================================== */
.bk-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 16px;
}

.bk-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bk-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 28px 24px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.bk-modal-overlay.active .bk-modal {
    transform: translateY(0) scale(1);
}

.bk-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.bk-modal-close:hover { color: #333; }

/* Степпер */
.bk-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
}

.bk-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bk-step-dot.active {
    background: linear-gradient(135deg, #FF5722, #FF8A65);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,87,34,0.3);
}

.bk-step-line {
    width: 32px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 4px;
}

/* Панели */
.bk-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    text-align: center;
}

.bk-field {
    margin-bottom: 12px;
}

.bk-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bk-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fafafa;
    box-sizing: border-box;
}

.bk-input:focus {
    border-color: #FF5722;
    outline: none;
    background: #fff;
}

.bk-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Кнопки */
.bk-btn-next {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #FF5722, #FF8A65);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: opacity 0.2s;
}

.bk-btn-next:hover { opacity: 0.9; }

.bk-btn-back {
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 0;
    margin-top: 8px;
    font-weight: 600;
}

.bk-btn-back:hover { color: #FF5722; }

.bk-btn-submit {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.bk-btn-submit:hover { opacity: 0.9; }

.bk-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

/* Календарь */
.bk-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.bk-cal-nav {
    width: 32px;
    height: 32px;
    border: none;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.bk-cal-nav:hover { background: #e0e0e0; }

.bk-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    margin-bottom: 6px;
}

.bk-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.bk-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.bk-day.empty { cursor: default; }

.bk-day.available {
    background: #E8F5E9;
    color: #2E7D32;
}

.bk-day.available:hover {
    background: #4CAF50;
    color: #fff;
}

.bk-day.partial {
    background: #FFF3E0;
    color: #E65100;
}

.bk-day.partial:hover {
    background: #FF9800;
    color: #fff;
}

.bk-day.full, .bk-day.past {
    background: #f5f5f5;
    color: #ccc;
    cursor: default;
}

.bk-day.disabled { pointer-events: none; }

/* Время */
.bk-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.bk-time-btn {
    padding: 10px 6px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    text-align: center;
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.bk-time-btn small {
    font-size: 10px;
    font-weight: 500;
    color: #999;
}

.bk-time-btn:hover:not(.disabled) {
    border-color: #FF5722;
    background: #FFF3E0;
    color: #FF5722;
}

.bk-time-btn.disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: default;
    border-color: #f0f0f0;
}

.bk-time-btn.disabled small { color: #ddd; }

/* Итог */
.bk-summary {
    background: #f9fafb;
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
}

.bk-summary div {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
}

.bk-summary span { color: #999; }
.bk-summary b { color: #333; }

/* Успех */
.bk-success {
    text-align: center;
    padding: 20px 0;
}

.bk-success svg { margin-bottom: 16px; }

.bk-success h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 8px;
}

.bk-success p {
    color: #999;
    margin: 0 0 20px;
    font-size: 14px;
}

/* Мобильная адаптация модалки */
@media (max-width: 480px) {
    .bk-modal {
        padding: 20px 16px;
        border-radius: 16px;
        max-height: 90vh;
    }
    .bk-row { grid-template-columns: 1fr; gap: 0; }
    .bk-time-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .bk-title { font-size: 16px; }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .work-detail-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .work-detail-photos-grid,
    .work-detail-photos-grid--stage {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .work-detail-page-modern {
        padding: 12px 0 32px;
    }
    
    .work-detail-card-modern {
        padding: 14px;
        border-radius: 14px;
    }
    
    .work-detail-header-modern {
        flex-direction: row;
        align-items: center;
        margin-bottom: 12px;
        gap: 8px;
    }
    
    .work-detail-title-modern {
        font-size: 20px;
    }
    
    .work-detail-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .work-detail-info-item {
        padding: 8px;
    }
    
    .work-detail-info-icon {
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }
    
    .work-detail-info-icon svg {
        width: 13px;
        height: 13px;
    }

    .work-detail-info-label {
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    .work-detail-info-value {
        font-size: 12px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .work-detail-price-big {
        font-size: 14px;
    }

    .work-detail-stages-progress {
        padding: 12px;
    }

    .stages-progress-dot {
        width: 16px;
        height: 16px;
    }

    .stages-progress-dot svg {
        width: 8px;
        height: 8px;
    }

    .stages-dot-pulse {
        width: 5px;
        height: 5px;
    }

    .stages-progress-line {
        height: 2px;
    }
    
    .work-detail-photos-grid,
    .work-detail-photos-grid--stage {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .photo-stage-summary {
        padding: 12px 12px;
    }

    .photo-stage-summary-name {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .work-detail-card-modern {
        padding: 12px 10px;
        border-radius: 12px;
    }
    
    .work-detail-title-modern {
        font-size: 18px;
    }
    
    .work-detail-status-badge {
        padding: 5px 10px;
        font-size: 10px;
    }

    .work-detail-status-badge svg {
        width: 12px;
        height: 12px;
    }
    
    .work-detail-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }

    .work-detail-info-item {
        padding: 6px 7px;
        gap: 6px;
    }

    .work-detail-info-icon {
        width: 24px;
        height: 24px;
        border-radius: 6px;
    }

    .work-detail-info-icon svg {
        width: 12px;
        height: 12px;
    }

    .work-detail-info-value {
        font-size: 11px;
    }

    .work-detail-photos-grid,
    .work-detail-photos-grid--stage {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .work-detail-photos-grid--stage {
        gap: 8px;
    }
    
    .work-detail-photos-title {
        font-size: 16px;
    }
    
    .work-detail-no-photos {
        padding: 60px 20px;
    }
}

/* ========================================
   СТРАНИЦА КОНТАКТОВ
   ======================================== */

.contacts-section {
    padding: 60px 0;
}

.contacts-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-container {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.contact-info-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 50%, #FFB74D 100%);
    border-radius: 24px;
    z-index: -1;
}

.contact-info-container h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 32px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 16px;
}

.contact-info-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF5722 0%, #FF6F3C 100%);
    border-radius: 2px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-info-item:hover {
    background: linear-gradient(135deg, #fff5f2 0%, #ffffff 100%);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.12);
    transform: translateX(8px);
    border-color: rgba(255, 87, 34, 0.2);
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(255, 87, 34, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.45);
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details a {
    color: #FF5722;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-details a:hover {
    color: #E64A19;
    transform: translateX(4px);
}

.contact-details p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.social-contacts {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(90deg, transparent, #FF5722, transparent) border-box;
    border-image-slice: 1;
}

.social-contacts h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.messenger-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.messenger-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.messenger-btn:hover::before {
    width: 300px;
    height: 300px;
}

.messenger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.messenger-btn svg {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.messenger-btn span {
    position: relative;
    z-index: 1;
}

.messenger-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20C65A 100%);
    color: #fff;
}

.messenger-btn.whatsapp:hover {
    background: linear-gradient(135deg, #20C65A 0%, #1EBE54 100%);
}

.messenger-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    color: #fff;
}

.messenger-btn.telegram:hover {
    background: linear-gradient(135deg, #0077b5 0%, #006ba0 100%);
}

.service-centers-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-centers-section .section-title {
    margin-bottom: 48px;
    position: relative;
    padding-bottom: 20px;
}

.service-centers-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #FF5722 0%, #FF6F3C 50%, #FFB74D 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

/* Двухколоночный layout */
.centers-layout {
    display: grid;
    grid-template-columns: 1fr 550px;
    gap: 40px;
    align-items: start;
}

/* Список центров */
.centers-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 800px;
}

/* Адаптивность для больших экранов */
@media (min-width: 1400px) {
    .centers-layout {
        grid-template-columns: 1fr 650px;
        gap: 56px;
    }
    
    #yandex-map {
        height: 700px !important;
    }
}

/* Средние экраны */
@media (max-width: 1200px) {
    .centers-layout {
        grid-template-columns: 1fr 480px;
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .centers-layout {
        grid-template-columns: 1fr 420px;
        gap: 28px;
    }
    
    .centers-map-sticky {
        top: 100px;
    }
}

/* Современная карточка центра */
.center-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 2px solid transparent;
    scroll-margin-top: 140px;
}

.center-card-modern:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(255, 87, 34, 0.2);
    border-color: #FF5722;
}

.center-card-modern:hover .center-card-header {
    background: linear-gradient(135deg, #E64A19 0%, #FF5722 100%);
}

.center-card-modern:hover .center-map-btn {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(255, 87, 34, 0.5);
}

/* Заголовок карточки */
.center-card-header {
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.center-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.center-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.center-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* Список информации */
.center-info-list {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.center-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.center-info-item:hover {
    background: linear-gradient(135deg, #fff5f2 0%, #ffffff 100%);
    transform: translateX(4px);
}

.center-info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.center-info-icon-phone {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.center-info-icon-time {
    background: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.center-info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.center-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.center-value {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.5;
}

.center-phone-link {
    color: #4CAF50;
    transition: all 0.3s ease;
}

.center-phone-link:hover {
    color: #388E3C;
    transform: translateX(2px);
}

/* Футер карточки */
.center-card-footer {
    padding: 0 24px 24px;
}

.center-map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 87, 34, 0.3);
}

.center-map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 87, 34, 0.4);
}

.center-map-btn svg:last-child {
    transition: transform 0.3s ease;
}

.center-map-btn:hover svg:last-child {
    transform: translateX(4px);
}

/* Обертка карты */
.centers-map-wrapper {
    position: relative;
}

.centers-map-sticky {
    position: sticky;
    top: 120px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 3px solid transparent;
    background-clip: padding-box;
    transition: box-shadow 0.3s ease;
}

.centers-map-sticky:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.centers-map-sticky::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 50%, #FFB74D 100%);
    border-radius: 20px;
    z-index: -1;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.map-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.map-header svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.map-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#yandex-map {
    border-radius: 0 0 17px 17px;
}

/* Старый map-container (если остался где-то) */
.map-container {
    margin-top: 48px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 3px solid #fff;
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #FF5722 0%, #FF6F3C 50%, #FFB74D 100%);
    border-radius: 20px;
    z-index: -1;
}

@media (max-width: 768px) {
    .contacts-section {
        padding: 40px 0;
    }

    .contact-info-container {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .contact-info-container h2 {
        font-size: 26px;
        margin-bottom: 28px;
        padding-bottom: 12px;
    }

    .contact-info-container h2::after {
        width: 60px;
        height: 3px;
    }

    .contact-info-list {
        gap: 16px;
    }

    .contact-info-item {
        padding: 16px;
        border-radius: 14px;
    }

    .contact-icon {
        font-size: 26px;
        width: 48px;
        height: 48px;
    }

    .contact-details h4 {
        font-size: 13px;
    }

    .contact-details a {
        font-size: 16px;
    }

    .contact-details p {
        font-size: 15px;
    }

    .social-contacts {
        margin-top: 28px;
        padding-top: 28px;
    }

    .social-contacts h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .messenger-links {
        flex-direction: column;
        gap: 12px;
    }

    .messenger-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .messenger-btn svg {
        width: 18px;
        height: 18px;
    }

    .service-centers-section {
        padding: 60px 0;
    }
    
    /* Адаптивный layout */
    .centers-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .centers-list {
        gap: 20px;
    }
    
    /* Карта не фиксируется на планшетах */
    .centers-map-sticky {
        position: relative;
        top: 0;
    }
    
    .centers-list {
        min-height: auto;
    }
    
    #yandex-map {
        height: 500px !important;
    }
    
    .center-card-header {
        padding: 20px;
    }
    
    .center-icon {
        width: 48px;
        height: 48px;
    }
    
    .center-title {
        font-size: 20px;
    }
    
    .center-info-list {
        padding: 20px;
        gap: 16px;
    }
    
    .center-info-item {
        padding: 14px;
    }
    
    .center-info-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .contact-info-container {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .contact-info-container h2 {
        font-size: 22px;
        margin-bottom: 24px;
        padding-bottom: 10px;
    }

    .contact-info-container h2::after {
        width: 50px;
    }

    .contact-info-list {
        gap: 14px;
    }

    .contact-info-item {
        padding: 14px;
        gap: 16px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .contact-details h4 {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .contact-details a {
        font-size: 15px;
    }

    .contact-details p {
        font-size: 14px;
    }

    .social-contacts {
        margin-top: 24px;
        padding-top: 24px;
    }

    .social-contacts h4 {
        font-size: 15px;
        margin-bottom: 14px;
    }
    
    .service-centers-section {
        padding: 40px 0;
    }
    
    .centers-grid {
        gap: 16px;
    }
    
    .center-card-header {
        padding: 16px;
    }
    
    .center-icon {
        width: 44px;
        height: 44px;
    }
    
    .center-title {
        font-size: 18px;
    }
    
    .center-info-list {
        padding: 16px;
        gap: 12px;
    }
    
    .center-info-item {
        padding: 12px;
    }
    
    .center-info-icon {
        width: 36px;
        height: 36px;
    }
    
    .center-value {
        font-size: 14px;
    }
    
    .center-map-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .centers-list {
        gap: 16px;
    }
    
    .map-header {
        padding: 16px 20px;
    }
    
    .map-header h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .service-centers-section {
        padding: 40px 0;
    }
    
    .centers-layout {
        gap: 24px;
    }
    
    #yandex-map {
        height: 350px !important;
    }
    
    .map-header {
        padding: 14px 16px;
    }
    
    .map-header h3 {
        font-size: 16px;
    }
    
    .map-header svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================
   Хлебные крошки (SEO Breadcrumbs)
   ========================================== */
.breadcrumbs {
    margin-bottom: 16px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.7);
}

.breadcrumbs li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs li a:hover {
    color: #fff;
    text-decoration: underline;
}

.breadcrumbs li + li::before {
    content: "›";
    margin: 0 8px;
    color: rgba(255,255,255,0.5);
    font-size: 16px;
}

.breadcrumbs li:last-child {
    color: rgba(255,255,255,0.6);
}

/* ==========================================
   Секция преимуществ (Advantages)
   ========================================== */
.advantages-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.advantage-card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.advantage-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .advantages-section {
        padding: 36px 0 32px;
    }

    .advantages-section .section-title {
        margin-bottom: 0;
        font-size: 24px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 20px;
    }

    .advantage-card {
        padding: 14px 12px;
        border-radius: 12px;
        box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    }

    .advantage-card:hover {
        transform: none;
    }

    .advantage-icon {
        margin-bottom: 8px;
    }

    .advantage-icon svg {
        width: 32px;
        height: 32px;
    }

    .advantage-card h3 {
        font-size: 13px;
        margin-bottom: 6px;
        line-height: 1.25;
    }

    .advantage-card p {
        font-size: 11px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .advantages-section {
        padding: 28px 0 24px;
    }

    .advantages-section .section-title {
        font-size: 20px;
    }

    .advantages-grid {
        gap: 10px;
        margin-top: 14px;
    }

    .advantage-card {
        padding: 12px 10px;
    }

    .advantage-icon svg {
        width: 28px;
        height: 28px;
    }

    .advantage-card h3 {
        font-size: 12px;
    }

    .advantage-card p {
        font-size: 10px;
        -webkit-line-clamp: 2;
    }
}

/* ==========================================
   SEO текстовый блок
   ========================================== */
.seo-text-section {
    padding: 60px 0;
    background: #fff;
}

.seo-text-content {
    max-width: 800px;
    margin: 0 auto;
}

.seo-text-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.seo-text-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 16px;
}

.seo-text-content a {
    color: #FF5722;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.seo-text-content a:hover {
    border-bottom-color: #FF5722;
}

/* SEO-тексты скрыты на мобильном — меньше скролл, в DOM остаются для поисковиков */
@media (max-width: 768px) {
    .seo-text-section {
        display: none !important;
    }
}

/* ==========================================
   FAQ (аккордеон, по умолчанию свёрнуто — без атрибута open у details)
   ========================================== */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-section .section-title {
    margin-bottom: 0;
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.faq-item[open] {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-size: 24px;
    font-weight: 300;
    color: #FF5722;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-question:hover {
    background: #fafafa;
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: #6c757d;
    margin: 0;
}

.faq-answer a {
    color: #FF5722;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .faq-section {
        padding: 50px 0;
    }
    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
    .faq-answer {
        padding: 0 20px 16px;
    }
}
