/* === Переменные для легкой настройки === */
:root {
    --header-bg: #ffffff;
    --header-bg-scrolled: #ffffff;
    --primary-color: #ff6b00; /* Оранжевый для акцента (аварийная служба) */
    --primary-hover: #e65100;
    --text-dark: #1a202c;
    --text-gray: #4a5568;
    --whatsapp-color: #25D366;
    --telegram-color: #0088cc;
    --header-height: 80px;
    --header-height-scrolled: 65px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* === Базовые стили хэдера === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--header-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    height: var(--header-height-scrolled);
    background-color: var(--header-bg-scrolled);
}

.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === Логотип === */
.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
	flex-direction: column;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* === Навигация (Wayfinder) === */
.header-nav {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
    position: relative;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--primary-color);
}

.main-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Выпадающее меню (базовая заготовка) */
.menu-item-has-children {
    position: relative;
}
/* === Выпадающее меню (Sub-menu) === */

/* Родительский элемент должен иметь относительное позиционирование */
.menu-item-has-children {
    position: relative;
}

/* Стрелочка для пунктов с подменю (опционально, но красиво) */
.menu-item-has-children > a::after {
    content: '▼';
    font-size: 0.6em;
    margin-left: 6px;
    vertical-align: middle;
    opacity: 0.6;
    transition: transform 0.3s;
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.menu-item {
	position: relative;
}

/* Скрытое подменю по умолчанию */
.sub-menu {
    position: absolute;
    top: 100%; /* Появляется ровно под родительским пунктом */
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    list-style: none;
    margin: 0;
	
	height: 450px;
    width: 400px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    
    /* Скрываем с помощью прозрачности и видимости для плавной анимации */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

/* Показываем подменю при наведении на родительский li */
.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Стили ссылок внутри подменю */
.sub-menu li {
    margin: 0;
}

.sub-menu a {
    display: block;
    padding: 12px 24px;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

/* Эффект при наведении на пункт подменю */
.sub-menu a:hover {
    background-color: #f8fafc;
    color: #ff6b00;
    border-left-color: #ff6b00;
    padding-left: 28px; /* Небольшой сдвиг вправо при наведении */
}

/* Активный пункт в подменю */
.sub-menu a.active {
    color: #ff6b00;
    font-weight: 700;
    background-color: #fff7ed;
    border-left-color: #ff6b00;
}

/* === ИСПРАВЛЕНИЕ: Показ подменю на десктопе === */
@media (min-width: 993px) {
    /* Принудительно показываем подменю при наведении */
    .menu-item-has-children:hover > .sub-menu,
    .menu-item.parent:hover > .sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        z-index: 10000 !important;
    }
    
    /* Убедимся, что подменю позиционировано правильно */
    .sub-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        margin-top: 5px !important;
    }
    
    /* Добавим отступ для лучшего UX */
    .menu-item-has-children {
        padding-bottom: 10px;
        margin-bottom: -10px;
    }
}




/* === Контакты === */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}

.header-phone:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.phone-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.phone-label {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
}

.phone-number {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Мессенджеры */
.header-messengers {
    display: flex;
    gap: 10px;
}

.messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.messenger-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.messenger-btn.whatsapp { background-color: var(--whatsapp-color); }
.messenger-btn.telegram { background-color: var(--telegram-color); }

/* === Мобильное меню === */
.mobile-menu-toggle,
.mobile-menu-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* === Мобильная липкая кнопка (только для телефонов) === */
.mobile-sticky-call {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

.mobile-sticky-call i {
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* === Адаптивность (Mobile First подход) === */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
        z-index: 1002;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .header-nav.active {
        right: 0;
    }

    .main-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .main-menu a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        color: var(--text-dark);
        background: none;
        border: none;
    }

    .header-contacts .header-phone {
        display: none; /* Скрываем большую кнопку в хэдере на мобильных */
    }

    .mobile-sticky-call {
        display: block; /* Показываем липкую кнопку внизу */
    }
    
    /* Отступ для контента, чтобы липкая кнопка не перекрывала футер */
    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        width: 120px !important;
    }
    
    .logo-text {
        display: flex !important;
        flex-direction: column;
    }
    
    .logo-subtitle {
        font-size: 0.7rem !important;
    }
    
    .header-messengers {
        display: none; /* Экономим место, оставляем только звонок */
    }
    
    .lang-label {
        display: none; /* Прячем подписи PL/RU, оставляем флаги */
    }
    
    .lang-btn {
        padding: 4px 6px !important;
    }
}



/* === Переключатель языков === */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid #e2e8f0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    opacity: 0.7;
    border: 1px solid transparent;
}

.lang-btn:hover {
    opacity: 1;
    background-color: #f1f5f9;
}

.lang-btn.active {
    opacity: 1;
    background-color: #f8fafc;
    border-color: #cbd5e1;
    font-weight: 700;
    color: var(--primary-color);
}

.lang-btn svg {
    display: block;
    border-radius: 3px;
    box-shadow: 0 0 2px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.lang-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* === Мобильное подменю (клик для открытия) === */
@media (max-width: 992px) {
    .menu-item.parent > a {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }
    
    .menu-item.parent > a::after {
        content: '▼' !important;
        font-size: 0.7em !important;
        margin-left: 8px !important;
        opacity: 0.6;
        transition: transform 0.3s ease;
        position: static !important;
        transform: none !important;
    }
    
    .menu-item.parent.active > a::after {
        transform: rotate(180deg);
    }
    
    .menu-item.parent .sub-menu {
        display: none;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        padding: 0 0 0 15px !important;
        margin: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        transition: none !important;
    }
    
    .menu-item.parent.active .sub-menu {
        display: block;
    }
    
    .sub-menu li {
        border-bottom: none !important;
    }
    
    .sub-menu a {
        padding: 12px 0 !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        color: #4a5568 !important;
        border-left: none !important;
    }
    
    .sub-menu a:hover {
        padding-left: 5px !important;
        background: transparent !important;
    }
    
    .sub-menu a.active {
        background: transparent !important;
        border-left: none !important;
    }
}

/* === Адаптивность для переключателя === */
@media (max-width: 992px) {
    /* Показываем переключатель языков в хэдере на мобильных */
    .header-contacts .lang-switcher {
        display: flex !important;
    }

    .mobile-sticky-call {
        display: block !important;
    }
}

/* Переключатель языков в мобильном меню */
.mobile-lang-switcher {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

@media (max-width: 992px) {
    .mobile-lang-switcher {
        display: flex;
        gap: 15px;
    }
    
    .mobile-lang-switcher .lang-btn {
        padding: 8px 16px;
        border: 1px solid #e2e8f0;
    }
}










/* === Hero Section === */
.hero-locksmith {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-locksmith::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 107, 0, 0.05) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ff6b00;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
}

.hero-call-btn:hover {
    background-color: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

.hero-price-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.hero-price-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    font-size: 2rem;
    color: #ff6b00;
}

.feature-item span {
    font-size: 1rem;
    font-weight: 600;
}

/* === Content Section === */
.content-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.content-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff6b00;
    display: inline-block;
}

.content-section h2:first-of-type {
    margin-top: 0;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 15px;
}

.content-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.content-section ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a5568;
}

.content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b00;
    font-weight: 700;
    font-size: 1.2rem;
}

.reasons-list li::before,
.locks-list li::before,
.price-factors-list li::before {
    content: '•';
    color: #ff6b00;
}

.requirements-list li::before {
    content: '→';
    color: #ff6b00;
}

/* === FAQ === */
.faq-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #ff6b00;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* === Pricing Section === */
.locksmith-pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.locksmith-pricing-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-top {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-top h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 15px;
}

.pricing-top p {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

.tabs-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.tabs-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 24px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button:hover {
    background: #e2e8f0;
}

.tab-button.active {
    background: #ff6b00;
    color: white;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.service-row:hover {
    background: #f8fafc;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
}

.service-row:last-child {
    border-bottom: none;
}

.service-title {
    flex: 1;
    font-size: 1rem;
    color: #4a5568;
    padding-right: 20px;
}

.service-cost {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6b00;
    white-space: nowrap;
    min-width: 100px;
    text-align: right;
}

.more-details-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #1a202c;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.more-details-btn:hover {
    background: #ff6b00;
    transform: translateY(-2px);
}

/* === Responsive === */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-features {
        gap: 30px;
    }
    
    .tabs-navigation {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-call-btn,
    .hero-price-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .pricing-top h3 {
        font-size: 1.8rem;
    }
    
    .tabs-wrapper {
        padding: 20px;
    }
    
    .service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .service-cost {
        text-align: left;
    }
}






/* === Reasons Grid === */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.reason-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
	    display: flex;
    flex-direction: column;
    align-items: center;
}

.reason-card:hover {
    border-color: #ff6b00;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.15);
}

.reason-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff6b00 0%, #e65100 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.reason-icon svg {
    width: 100%;
    height: 100%;
    stroke: white;
}

.reason-content {
    flex: 1;
}

.reason-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
    line-height: 1.3;
}

.reason-content p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .reason-card {
        padding: 20px;
    }
    
    .reason-icon {
        width: 56px;
        height: 56px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .reason-card {
        flex-direction: column;
        text-align: center;
    }
    
    .reason-icon {
        margin: 0 auto;
    }
}







/* === FAQ Accordion === */
.faq-accordion {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-accordion-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
}

.faq-accordion-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq-accordion-item.active {
    border-color: #ff6b00;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.15);
}

.faq-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.faq-accordion-header:hover {
    background: #fafafa;
}

.faq-question-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ff6b00 0%, #e65100 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.faq-question-icon svg {
    width: 100%;
    height: 100%;
    stroke: white;
}

.faq-question-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.4;
}

.faq-toggle-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-toggle-icon svg {
    width: 18px;
    height: 18px;
    stroke: #4a5568;
}

.faq-accordion-item.active .faq-toggle-icon {
    background: #ff6b00;
    transform: rotate(45deg);
}

.faq-accordion-item.active .faq-toggle-icon svg {
    stroke: white;
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 28px 24px 88px;
}

.faq-answer-inner p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
    padding-left: 60px;
    position: relative;
}

.faq-answer-inner p::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff6b00;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-accordion-header {
        padding: 20px;
        gap: 12px;
    }
    
    .faq-question-icon {
        width: 38px;
        height: 38px;
        padding: 8px;
    }
    
    .faq-question-text {
        font-size: 1rem;
    }
    
    .faq-toggle-icon {
        width: 28px;
        height: 28px;
    }
    
    .faq-toggle-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .faq-answer-inner {
        padding: 0 20px 20px 70px;
    }
    
    .faq-answer-inner p {
        font-size: 0.95rem;
        padding-left: 0;
    }
    
    .faq-answer-inner p::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .faq-accordion-item {
        border-radius: 12px;
    }
    
    .faq-accordion-header {
        padding: 16px;
    }
    
    .faq-answer-inner {
        padding: 0 16px 16px 16px;
    }
}




/* === Lock Types Section === */
.locks-types-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.locks-types-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.locks-types-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.2;
}

.locks-types-header p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.locks-types-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lock-type-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lock-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(255, 107, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.lock-type-card:hover {
    border-color: #ff6b00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.15);
}

.lock-type-card:hover::before {
    opacity: 1;
}

.lock-type-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff6b00 0%, #e65100 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.lock-type-card:hover .lock-type-icon {
    transform: scale(1.1) rotate(-5deg);
}

.lock-type-icon svg {
    width: 100%;
    height: 100%;
    stroke: white;
}

.lock-type-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lock-type-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s;
}

.lock-type-card:hover .lock-type-content h3 {
    color: #ff6b00;
}

.lock-type-arrow {
    font-size: 1.2rem;
    color: #cbd5e1;
    font-weight: 300;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-left: 8px;
}

.lock-type-card:hover .lock-type-arrow {
    color: #ff6b00;
    transform: translateX(4px);
}

/* Адаптивность */
@media (max-width: 992px) {
    .locks-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .locks-types-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .locks-types-section {
        padding: 40px 0;
    }
    
    .locks-types-header {
        margin-bottom: 30px;
    }
    
    .locks-types-header h2 {
        font-size: 1.5rem;
    }
    
    .locks-types-header p {
        font-size: 0.95rem;
    }
    
    .locks-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .lock-type-card {
        padding: 16px;
        gap: 12px;
    }
    
    .lock-type-icon {
        width: 42px;
        height: 42px;
        padding: 8px;
    }
    
    .lock-type-content h3 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .locks-types-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .lock-type-card {
        padding: 14px;
    }
    
    .lock-type-icon {
        width: 40px;
        height: 40px;
    }
}






/* === Districts Section === */
.districts-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.districts-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.districts-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.2;
}

.districts-header p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.districts-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.district-card {
    background: white;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.district-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(255, 107, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.district-card:hover {
    border-color: #ff6b00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.15);
}

.district-card:hover::before {
    opacity: 1;
}

.district-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    transition: color 0.3s;
    position: relative;
    z-index: 1;
}

.district-card:hover .district-name {
    color: #ff6b00;
}

.district-arrow {
    font-size: 1.2rem;
    color: #cbd5e1;
    font-weight: 300;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-left: 8px;
    position: relative;
    z-index: 1;
}

.district-card:hover .district-arrow {
    color: #ff6b00;
    transform: translateX(4px);
}

/* Адаптивность */
@media (max-width: 992px) {
    .districts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    
    .districts-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .districts-section {
        padding: 40px 0;
    }
    
    .districts-header {
        margin-bottom: 30px;
    }
    
    .districts-header h2 {
        font-size: 1.5rem;
    }
    
    .districts-header p {
        font-size: 0.95rem;
    }
    
    .districts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .district-card {
        padding: 14px 16px;
    }
    
    .district-name {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .districts-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .district-card {
        padding: 12px 16px;
    }
}








/* === Services Grid Section === */
.services-grid-section {
    padding: 60px 0;
    background: #ffffff;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.services-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.2;
}

.services-header p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b00 0%, #e65100 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    background: #ffffff;
    border-color: #ff6b00;
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(255, 107, 0, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: #4a5568;
    transition: stroke 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #ff6b00 0%, #e65100 100%);
    border-color: transparent;
    transform: scale(1.05);
}

.service-card:hover .service-icon svg {
    stroke: #ffffff;
}

.service-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 8px 0;
    line-height: 1.3;
    transition: color 0.3s;
}

.service-card:hover .service-content h3 {
    color: #ff6b00;
}

.service-price {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff6b00;
    background: rgba(255, 107, 0, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: fit-content;
}

.service-arrow {
    font-size: 1.2rem;
    color: #cbd5e1;
    font-weight: 300;
    align-self: flex-end;
    transition: all 0.3s;
}

.service-card:hover .service-arrow {
    color: #ff6b00;
    transform: translateX(5px);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .services-grid-section {
        padding: 40px 0;
    }
    
    .services-header h2 {
        font-size: 1.75rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .service-card {
        padding: 20px 16px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }
    
    .service-content h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-card {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px;
    }
    
    .service-icon {
        margin-bottom: 0;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }
    
    .service-content {
        flex: 1;
    }
    
    .service-price {
        margin-bottom: 4px;
    }
    
    .service-arrow {
        align-self: center;
    }
}






/* === Access Requirements Section === */
.access-requirements-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.requirements-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.requirements-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.2;
}

.requirements-header p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.requirements-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.requirement-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 2px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.requirement-card:hover {
    border-color: #ff6b00;
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(255, 107, 0, 0.15);
}

.requirement-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.requirement-icon svg {
    width: 100%;
    height: 100%;
    stroke: #4a5568;
    transition: stroke 0.3s ease;
}

.requirement-card:hover .requirement-icon {
    background: linear-gradient(135deg, #ff6b00 0%, #e65100 100%);
    border-color: transparent;
}

.requirement-card:hover .requirement-icon svg {
    stroke: #ffffff;
}

.requirement-content {
    flex: 1;
}

.requirement-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.requirement-content p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.requirements-footer {
    text-align: center;
    max-width: 700px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.requirements-footer p {
    font-size: 1.05rem;
    color: #1a202c;
    font-weight: 600;
    line-height: 1.6;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #ff6b00;
}

/* Адаптивность */
@media (max-width: 992px) {
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .requirements-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .access-requirements-section {
        padding: 40px 0;
    }
    
    .requirements-header {
        margin-bottom: 30px;
    }
    
    .requirements-header h2 {
        font-size: 1.5rem;
    }
    
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .requirement-card {
        padding: 20px;
        gap: 12px;
    }
    
    .requirement-icon {
        width: 50px;
        height: 50px;
        padding: 10px;
    }
    
    .requirement-content h3 {
        font-size: 1rem;
    }
    
    .requirement-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .requirement-card {
        padding: 18px;
        gap: 10px;
    }
    
    .requirement-icon {
        width: 44px;
        height: 44px;
        padding: 8px;
    }
    
    .requirements-footer p {
        font-size: 1rem;
        padding: 14px;
    }
}







/* === Contact CTA Section === */
.contact-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #eceef1 0%, #2d3748 100%);
    color: white;
}

.contact-cta-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    color: white;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: black;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Form Styles */
.simple-callback-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
    outline: none;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    border-color: #ff6b00;
    background: rgba(255, 255, 255, 0.15);
}

.form-submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #ff6b00 0%, #e65100 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.5);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-divider {
    text-align: center;
    margin: 25px 0 15px;
    position: relative;
}

.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

.form-divider span {
    background: transparent;
    padding: 0 15px;
    color: white;
    font-size: 0.95rem;
}

.direct-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    transition: all 0.3s;
}

.direct-phone-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff6b00;
    color: #ff6b00;
}

.direct-phone-link i {
    animation: pulse 2s infinite;
}

/* Image Styles */
.contact-cta-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

/* Адаптивность */
@media (max-width: 992px) {
    .contact-cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-cta-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .cta-subtitle {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-cta-section {
        padding: 40px 0;
    }
    
    .simple-callback-form {
        padding: 20px;
    }
    
    .form-input {
        font-size: 1rem;
        padding: 14px 16px;
    }
    
    .form-submit-btn {
        font-size: 1rem;
        padding: 16px;
    }
    
    .direct-phone-link {
        font-size: 1.2rem;
    }
}







/* === Floating Callback Button === */
.callback-trigger-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ff6b00 0%, #e65100 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseButton 2s infinite;
}

.callback-trigger-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 107, 0, 0.5);
}

.callback-trigger-btn:active {
    transform: translateY(0) scale(0.98);
}

.callback-trigger-btn i {
    font-size: 1.2rem;
}

@keyframes pulseButton {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(255, 107, 0, 0.6), 0 0 0 10px rgba(255, 107, 0, 0.1);
    }
}

/* === Modal Styles === */
.callback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.callback-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.callback-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.callback-modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.callback-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.callback-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.callback-modal-close svg {
    stroke: white;
}

.callback-modal-body {
    padding: 40px;
}

.callback-modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
    text-align: center;
}

.callback-modal-subtitle {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: center;
}

.callback-modal-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.callback-modal-form .form-group {
    margin-bottom: 20px;
}

.callback-modal-form .form-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
    outline: none;
    box-sizing: border-box;
}

.callback-modal-form .form-input::placeholder {
    color: #94a3b8;
}

.callback-modal-form .form-input:focus {
    border-color: #ff6b00;
    background: rgba(255, 255, 255, 0.15);
}

.callback-modal-form .form-submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #ff6b00 0%, #e65100 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
}

.callback-modal-form .form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.5);
}

.callback-modal-form .form-divider {
    text-align: center;
    margin: 25px 0 15px;
    position: relative;
}

.callback-modal-form .form-divider::before,
.callback-modal-form .form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.callback-modal-form .form-divider::before { left: 0; }
.callback-modal-form .form-divider::after { right: 0; }

.callback-modal-form .form-divider span {
    background: transparent;
    padding: 0 15px;
    color: #94a3b8;
    font-size: 0.95rem;
}

.callback-modal-form .direct-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    transition: all 0.3s;
}

.callback-modal-form .direct-phone-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff6b00;
    color: #ff6b00;
}

.callback-modal-form .direct-phone-link i {
    animation: pulse 2s infinite;
}

/* Адаптивность */
@media (max-width: 768px) {
    .callback-trigger-btn {
        bottom: 80px;
        right: 15px;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .callback-modal-content {
        max-width: 100%;
        margin: 10px;
    }
    
    .callback-modal-body {
        padding: 30px 20px;
    }
    
    .callback-modal-title {
        font-size: 1.5rem;
    }
    
    .callback-modal-subtitle {
        font-size: 0.95rem;
    }
    
    .callback-modal-form {
        padding: 20px;
    }
    
    .callback-modal-form .form-input {
        font-size: 1rem;
        padding: 14px 16px;
    }
    
    .callback-modal-form .form-submit-btn {
        font-size: 1rem;
        padding: 16px;
    }
    
    .callback-modal-form .direct-phone-link {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .callback-trigger-btn .callback-btn-text {
        display: none; /* На маленьких экранах показываем только иконку */
    }
    
    .callback-trigger-btn {
        width: 60px;
        height: 60px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
    
    .callback-trigger-btn i {
        font-size: 1.5rem;
    }
}