/* ==================== ОСНОВНЫЕ СТИЛИ ==================== */

/* Локальные шрифты Onest - быстрая загрузка */
@font-face {
    font-family: 'Onest';
    src: url('../font/Onest-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../font/Onest-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../font/Onest-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../font/Onest-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../font/Onest-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../font/Onest-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../font/Onest-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../font/Onest-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../font/Onest-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --primary: #ff8c00;
    --primary-dark: #ff6b00;
    --dark: #1a1a1a;
    --dark-light: #2a2a2a;
    --light: #f5f5f5;
    --text: #333;
    --text-light: #666;
    --border: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== ТИПОГРАФИЯ ==================== */

/* Крупные заголовки - Onest 700*/
h1, .hero-title {
    font-family: 'Onest', Arial, sans-serif;
    font-weight: 700;
    font-size: 100px;
    line-height: 95px;
    margin-bottom: 15px;
}

/* Средний текст - Onest 600*/
h2, h3, .section-title {
    font-family: 'Onest', Arial, sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 15px;
}

h4 {
    font-family: 'Onest', Arial, sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 34px;
}

/* Мелкий текст - Onest 400*/
p, li, span, a, label, input, textarea, button {
    font-family: 'Onest', Arial, sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 24px;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-dark);
}

.text-orange {
    color: var(--primary);
}

/* ==================== КНОПКИ ==================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-primary-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary-small:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3) !important;
}

.btn-primary-small:active {
    transform: translateY(0) !important;
}

/* Запрет бокового скроллинга и масштабирования */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
    touch-action: manipulation;
}

* {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ==================== HEADER ==================== */

.header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo a {
    color: white;
    display: flex;
    align-items: center;
    gap: 0;
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-svg {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.logo a:hover .logo-svg {
    transform: scale(1.05);
}

.navbar {
    display: flex;
}

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

.nav-link {
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-primary-small {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.btn-primary-small:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s ease;
    border-radius: 2px;
}

.menu-toggle:hover span {
    background: var(--primary);
}

/* ==================== HERO SECTION ==================== */

.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #e8e8e8 100%);
    padding: 40px 0 60px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-text {
    max-width: 1000px;
}

.hero-title {
    font-family: 'Onest', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 100px;
    line-height: 95px;
    margin-bottom: 0;
    color: var(--dark);
    text-align: left;
}

.hero-subtitle {
    font-family: 'Onest', Arial, sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 24px;
    color: var(--text-light);
    margin: 15px 0 0 0;
    line-height: 1.5;
    max-width: 500px;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Telegram кнопка */
.btn-telegram {
    background: #0088cc;
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-telegram:hover {
    background: #0066aa;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.4);
}

/* Telegram кнопка в header (маленькая) */
.btn-telegram-small {
    background: #0088cc;
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-telegram-small:hover {
    background: #0066aa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.btn-telegram-icon-small {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-telegram-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-element {
    width: 300px;
    height: 300px;
    position: relative;
}

.floating-element svg {
    width: 100%;
    height: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

/* ==================== SECTION TITLES ==================== */

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto 0;
}

/* ==================== ADVANTAGES SECTION ==================== */

.advantages {
    padding: 80px 0;
    background: #f9f9f9;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    overflow: visible;
}

/* Стиль самой карточки */
.benefit-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: visible;
    will-change: transform;
}

/* Эффект при наведении */
.benefit-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15) !important;
    cursor: pointer;
}

/* Контейнер для иконки */
.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 70px;
    max-height: 70px;
    display: block;
}

.benefit-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-family: 'Onest', Arial, sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 34px;
}

.benefit-card p {
    color: var(--text-light);
    font-family: 'Onest', Arial, sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 24px;
}

/* ==================== SERVICES SECTION ==================== */

.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding: 8px 0;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ==================== PORTFOLIO SECTION ==================== */

.portfolio {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism фон - размытые цветные пятна */
.portfolio::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.portfolio::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* Тонкая сетка на фоне */
.portfolio .container {
    position: relative;
    z-index: 1;
}

.portfolio .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.portfolio-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: -40px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   КНОПКА "НАШИ ПРОЕКТЫ" В МЕНЮ
   ============================================ */

.nav-cases-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.nav-cases-btn:hover {
    color: var(--primary);
}

/* ============================================
   КНОПКА "НАШИ ПРОЕКТЫ" ОТДЕЛЬНАЯ СЕКЦИЯ (мобильная)
   ============================================ */

.cases-cta {
    padding: 40px 0;
    text-align: center;
}

.btn-cases-open {
    display: none;
}

/* ============================================
   МОДАЛЬНОЕ ОКНО КЕЙСОВ
   ============================================ */

.case-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.case-modal.active {
    display: flex;
}

.case-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.case-modal-content {
    position: relative;
    background: #fafafa;
    border-radius: 24px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    animation: slideUp 0.35s ease;
    padding: 30px;
}

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

.case-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.case-modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px 0;
}

.case-modal-header p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.case-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    color: #333;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.case-modal-close:hover {
    background: white;
    transform: rotate(90deg);
}

/* Грид кейсов внутри модалки */
.cases-grid-modal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ============================================
   КАРТОЧКИ КЕЙСОВ
   ============================================ */

.case-card-new {
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.case-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.case-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f0f0f0;
}

.case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card-new:hover .case-card-image img {
    transform: scale(1.04);
}

/* Бейджи на изображении */
.case-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

.case-badge {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    color: #333;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 16px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Информация под карточкой */
.case-card-info {
    padding: 16px;
}

.case-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.case-card-title:hover {
    color: var(--primary);
}

.case-card-desc {
    font-size: 0.82rem;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   МОДАЛЬНОЕ ОКНО ДЕТАЛЬНОГО ПРОСМОТРА КЕЙСА
   ============================================ */

.case-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.case-detail-modal.active {
    display: flex;
}

.case-detail-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.case-detail-modal-content {
    position: relative;
    background: #fafafa;
    border-radius: 24px;
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    animation: slideUp 0.35s ease;
}

.case-detail-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    color: #333;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.case-detail-modal-close:hover {
    background: white;
    transform: rotate(90deg);
}

.case-detail {
    display: none;
    padding: 40px;
}

.case-detail.active {
    display: block;
}

.case-detail-header {
    margin-bottom: 24px;
}

.case-detail-header h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px 0;
}

.case-detail-header h2 a {
    text-decoration: none;
    color: inherit;
}

.case-detail-header h2 a:hover {
    color: var(--primary);
}

.case-detail-desc {
    font-size: 1rem;
    color: #666;
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.case-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.case-badge-large {
    background: linear-gradient(135deg, rgba(255,140,0,0.12) 0%, rgba(255,107,0,0.12) 100%);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.case-detail-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

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

.case-detail-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

.btn-case-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.35);
}

/* Старые стили портфолио оставляем для совместимости */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(255, 140, 0, 0.25);
}

.portfolio-image {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

/* Кликабельное изображение */
.portfolio-image-clickable {
    cursor: pointer;
}

.portfolio-image-clickable:hover {
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.3);
}

/* Затемнение при наведении */
.portfolio-image-clickable:hover .portfolio-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

/* Подсказка для клика */
.portfolio-click-hint {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    animation: pulse 2s ease-in-out infinite;
}

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

.portfolio-image span {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.9) 0%, rgba(255, 107, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideUp 0.4s ease;
}

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

.portfolio-content {
    padding: 25px;
}

.portfolio-content h3 {
    color: var(--dark);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Список преимуществ в портфолио */
.portfolio-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.portfolio-features li {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
}

.portfolio-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Блок с ценой */
.portfolio-price {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.price-old {
    color: #999 !important;
    font-size: 0.95rem;
    text-decoration: line-through !important;
    font-weight: 500;
    display: inline-block;
}

.price-current {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(255, 140, 0, 0.2);
}

.portfolio-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.portfolio-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #ff9933 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.portfolio-item:hover::after {
    transform: scaleX(1);
}

/* ==================== SEO INFO SECTION ==================== */

.seo-info {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.seo-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.seo-info h2 {
    text-align: center;
    color: white;
    margin-bottom: 20px;
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

.seo-info > .container > h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #ff9933 100%);
    margin: 20px auto 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 140, 0, 0.15);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.2);
}

.stat-card h3 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(255, 140, 0, 0.3);
}

.stat-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* ==================== CONTACT SECTION ==================== */

.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact .section-title {
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.contact .section-title::after {
    background: white;
    margin: 20px auto 0;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.info-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.info-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.info-card a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.info-card a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* МОДАЛЬНОЕ ОКНО ФОРМЫ (закомментировано, будет использоваться в виде всплывающего окна)

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.contact-form input,
.contact-form textarea {
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.contact-form button {
    align-self: center;
    width: 100%;
    max-width: 250px;
    background: white !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    padding: 16px 40px !important;
    transition: all 0.3s ease !important;
}

.contact-form button:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

*/

/* ==================== SCROLL REVEAL ANIMATIONS ==================== */

/* Скрываем элементы до того как они появятся в viewport */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Задержка для дочерних элементов */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Анимация для карточек */
.reveal-card {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Анимация для заголовков секций */
.reveal-title {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease-out;
}

.reveal-title.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== PARTNERS SECTION ==================== */

.partners {
    padding: 80px 0;
    background: #f9f9f9;
}

.partners-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: -40px;
    margin-bottom: 50px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    width: 100%;
    max-width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==================== CONTACT FORM SECTION ==================== */

.contact-form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 50px 40px;
    text-align: center;
}

.form-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.form-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.form-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.order-form {
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

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

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input {
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Onest', sans-serif;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

.form-group:nth-child(3),
.form-group:nth-child(4) {
    grid-column: 1 / -1;
}

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

.btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Onest', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

.form-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

.form-result {
    padding: 30px;
    text-align: center;
    display: none;
}

.form-result.success {
    display: block;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 50px 40px;
}

.form-result.error {
    display: block;
    background: #f44336;
    color: white;
    padding: 30px 40px;
}

.form-result h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-result p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==================== CONTACT CHOICE MODAL ==================== */

.contact-choice-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.contact-choice-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.contact-choice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.contact-choice-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(255, 140, 0, 0.3);
    animation: slideUp 0.4s ease;
    border: 2px solid var(--primary);
    text-align: center;
}

.contact-choice-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-choice-close:hover {
    background: rgba(255, 140, 0, 0.2);
    color: var(--primary);
    transform: rotate(90deg);
}

.contact-choice-header {
    margin-bottom: 30px;
}

.phone-animation {
    margin-bottom: 20px;
    animation: phoneRock 2s ease-in-out infinite;
}

.phone-animation svg {
    color: var(--primary);
}

@keyframes phoneRock {
    0%, 100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

.contact-choice-header h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
}

.contact-choice-header p {
    color: #aaa;
    font-size: 1rem;
    margin: 0;
}

.contact-choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.choice-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Onest', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.choice-btn-form {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.choice-btn-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
}

.choice-btn-telegram {
    background: #0088cc;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
}

.choice-btn-telegram:hover {
    background: #0066aa;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 136, 204, 0.4);
}

/* ==================== FORM MODAL ==================== */

.form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    align-items: center;
    justify-content: center;
}

.form-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.form-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.form-modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 24px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(255, 140, 0, 0.3);
    animation: slideUp 0.4s ease;
    border: 2px solid var(--primary);
}

.form-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.form-modal-close:hover {
    background: rgba(255, 140, 0, 0.2);
    color: var(--primary);
    transform: rotate(90deg);
}

.form-modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 24px 24px 0 0;
}

.form-modal-header h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}

.form-modal-header p {
    font-size: 1.1rem;
    color: white;
    opacity: 1;
    margin: 0;
}

.form-modal-content .order-form {
    padding: 40px 30px;
}

.form-modal-content .form-group input {
    background: #2a2a2a;
    border-color: #444;
    color: white;
}

.form-modal-content .form-group input:focus {
    background: #333;
    border-color: var(--primary);
}

.form-modal-content .form-group input::placeholder {
    color: #888;
}

.form-modal-content .form-group label {
    color: #ddd;
}

.form-modal-content .form-note {
    color: #888;
}

/* ==================== FLOATING PHONE ==================== */

.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
    z-index: 9999;
    animation: phoneRock 2s ease-in-out infinite;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.5);
}

.floating-phone:active {
    transform: scale(0.95);
}

.floating-phone svg {
    color: white;
    pointer-events: none;
}

/* ==================== FOOTER ==================== */

.promo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.promo-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.promo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.promo-modal-content {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(255, 140, 0, 0.3);
    animation: slideUp 0.4s ease;
    border: 3px solid var(--primary);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.promo-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.promo-modal-close:hover {
    background: #f0f0f0;
    color: var(--primary);
    transform: rotate(90deg);
}

.promo-modal-header {
    text-align: center;
    padding: 40px 30px 20px;
    position: relative;
}

.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff0000 0%, #ff6b00 100%);
    color: white;
    font-size: 2rem;
    font-weight: 800;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

.promo-modal-header h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin: 20px 0 0;
}

.promo-modal-body {
    padding: 0 30px 30px;
    text-align: center;
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.promo-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.promo-timer {
    background: linear-gradient(135deg, #ff4444 0%, #ff0000 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 600;
}

.promo-timer p {
    color: white;
    margin: 0;
}

.promo-modal-footer {
    padding: 0 30px 40px;
    text-align: center;
}

.btn-promo {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white !important;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
    width: 100%;
    max-width: 350px;
}

.btn-promo:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
}

.promo-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #999;
}

/* ==================== FOOTER ==================== */

.footer {
    background: #0f0f1a;
    color: #999;
    padding: 80px 0 40px;
    position: relative;
    /* Сетка на фоне */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Свечение сверху */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff9900, transparent);
    box-shadow: 0 0 40px rgba(255, 153, 0, 0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-about {
    flex: 1;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: #999;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #999;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 153, 0, 0.8);
    transform: none;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #0082c6;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 130, 198, 0.3);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* WhatsApp - зелёный */
.social-link-whatsapp {
    background: #25D366 !important;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3) !important;
}

.social-link-whatsapp:hover {
    background: #128C7E !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5) !important;
    transform: translateY(-5px) scale(1.1);
}

/* Viber - фиолетовый */
.social-link-viber {
    background: #7360F2 !important;
    box-shadow: 0 5px 15px rgba(115, 96, 242, 0.3) !important;
}

.social-link-viber:hover {
    background: #5949c7 !important;
    box-shadow: 0 10px 30px rgba(115, 96, 242, 0.5) !important;
    transform: translateY(-5px) scale(1.1);
}

.social-link:not(.social-link-whatsapp):not(.social-link-viber):hover {
    background: #0066aa;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 130, 198, 0.5);
}

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

.footer-bottom p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: #999;
    transition: color 0.3s ease;
}

.footer-bottom p:hover {
    color: #fff;
}
