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

/* Цветовая палитра и переменные */
:root {
    /* Тёмный графит для фона */
    --bg-color: #1c1c1e;
    --bg-secondary: #2c2c2e;
    
    /* Текст */
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    
    /* Акцентный цвет (синий) для современного вида */
    --accent-color: #0A84FF;
    --accent-hover: #0066CC;
    
    /* Шрифты */
    --font-main: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Контейнер для ограничения ширины контента */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Базовые стили для ссылок */
a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Базовые стили для кнопок */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Header & Navigation */
.header {
    padding: 20px 0;
    background-color: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo::after {
    content: '.';
    color: var(--accent-color);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 5px 0;
}

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

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

.nav-link:hover, .nav-link.active {
    color: #fff;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 2px 8px rgba(10, 132, 255, 0.4);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    user-select: none;
    display: none; /* Убираем черточку, так как теперь кнопки имеют фон */
}

/* Burger Menu (Mobile) */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Добавим фоновое свечение */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.15) 0%, rgba(28, 28, 30, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(10, 132, 255, 0.1);
    border: 1px solid rgba(10, 132, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 1.1rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

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

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    20% { transform: translateX(100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

body.no-scroll {
    overflow: hidden;
}

/* Базовые стили секций */
.section {
    padding: 100px 0;
    scroll-margin-top: 80px;
}

/* Модальное окно (Lightbox с сравнением) */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
}

.modal-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: zoom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #2c2c2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-item img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.modal-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.modal-info {
    text-align: center;
    padding: 0 20px 20px;
}

.modal-info h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.modal-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

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

.close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 44px;
    font-weight: 300;
    cursor: pointer;
    z-index: 2100;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-comparison {
        grid-template-columns: 1fr;
    }
    .modal {
        padding: 60px 10px 20px;
    }
    .modal-info h3 {
        font-size: 1.4rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(10, 132, 255, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: rgba(10, 132, 255, 0.1);
    border-radius: 14px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    margin-top: auto;
}

.btn-link span {
    transition: transform 0.3s ease;
}

.btn-link:hover {
    color: var(--accent-hover);
}

.btn-link:hover span {
    transform: translateX(4px);
}

/* Advantages (Сравнение) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.compare-card {
    background-color: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.compare-bad {
    border: 1px solid rgba(255, 69, 58, 0.2);
}

.compare-good {
    border: 1px solid rgba(48, 209, 88, 0.3);
    box-shadow: 0 10px 30px rgba(48, 209, 88, 0.05);
    background: linear-gradient(145deg, var(--bg-secondary) 0%, rgba(48, 209, 88, 0.05) 100%);
}

.compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.compare-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.compare-badge.bad {
    background-color: rgba(255, 69, 58, 0.1);
    color: #ff453a;
}

.compare-badge.good {
    background-color: rgba(48, 209, 88, 0.1);
    color: #30d158;
}

.compare-list {
    list-style: none;
}

.compare-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.compare-list li:last-child {
    margin-bottom: 0;
}

.compare-list .icon {
    margin-right: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.compare-bad .compare-list li {
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Steps (Как проходит работа) */
.steps-wrapper {
    position: relative;
    margin-top: 40px;
}

.steps-line {
    position: absolute;
    top: 32px; /* Половина высоты кружка (64px) */
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(10, 132, 255, 0.1) 0%, rgba(10, 132, 255, 0.5) 50%, rgba(10, 132, 255, 0.1) 100%);
    z-index: 1;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background-color: var(--bg-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 0 0 8px var(--bg-color);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    background-color: var(--accent-color);
    box-shadow: 0 0 0 8px rgba(10, 132, 255, 0.2);
}

.step-content {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.step-card:hover .step-content {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Portfolio (Работы) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.portfolio-card {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.portfolio-images {
    display: flex;
    height: 220px;
}

.portfolio-img-box {
    flex: 1;
    position: relative;
    border-right: 2px solid var(--bg-color);
}

.portfolio-img-box:last-child {
    border-right: none;
}

/* Стили для будущего реального изображения (img) */
.portfolio-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #2c2c2e;
    background-image: linear-gradient(45deg, #242426 25%, transparent 25%, transparent 75%, #242426 75%, #242426), linear-gradient(45deg, #242426 25%, transparent 25%, transparent 75%, #242426 75%, #242426);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    overflow: hidden;
}

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

.portfolio-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.img-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.portfolio-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.portfolio-action {
    text-align: center;
    margin-top: 50px;
}

/* Training (Обучение) */
.training-inner {
    background-color: var(--bg-secondary);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.training-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right top, rgba(10, 132, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.training-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.training-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.training-list {
    list-style: none;
    margin-bottom: 40px;
}

.training-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.training-list .icon {
    margin-right: 12px;
    color: var(--accent-color);
}

.training-slider {
    width: 100%;
    height: 100%;
    min-height: 450px;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.training-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.training-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: scale(1.05);
}

.training-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.training-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Эффект разделенного фото */
.slide-right {
    object-position: right center;
}

.slide-left {
    object-position: left center;
}

.slide-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--accent-color);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: var(--accent-color);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* Contact Section (Форма и контакты) */
.contact-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
}

/* Форма */
.booking-form {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2);
}

.form-group input.error {
    border-color: #ff453a;
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
}

.form-message.success {
    margin-top: 20px;
    padding: 16px;
    background-color: rgba(48, 209, 88, 0.1);
    border: 1px solid rgba(48, 209, 88, 0.3);
    color: #30d158;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
}

/* Контакты */
.contact-card {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 20px;
    height: 100%;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
}

.contact-list {
    list-style: none;
    margin-bottom: 40px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 16px;
    margin-top: 2px;
}

.contact-text strong {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-text a,
.contact-text p {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
}

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

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

.social-link {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff !important;
}

.social-link.whatsapp {
    background-color: #25D366;
}

.social-link.whatsapp:hover {
    background-color: #20b858;
    transform: translateY(-2px);
}

.social-link.telegram {
    background-color: #0088cc;
}

.social-link.telegram:hover {
    background-color: #0077b5;
    transform: translateY(-2px);
}

/* Адаптивность (Media Queries) */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .placeholder-box {
        height: 400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-grid {
        gap: 20px;
    }
    
    .compare-card {
        padding: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-line {
        display: none;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .training-inner {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }
    
    .training-image-placeholder {
        min-height: 300px;
    }
    
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        padding: 80px 20px;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .lang-switcher {
        margin-left: 0;
        padding: 8px 20px;
        gap: 8px;
    }

    .lang-btn {
        font-size: 1rem;
        padding: 4px 10px;
    }
    
    .hero {
        padding: 40px 0 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .compare-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .step-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .step-number {
        margin-bottom: 0;
        margin-right: 20px;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-images {
        height: 200px;
    }
    
    .training-inner {
        padding: 30px 20px;
    }
    
    .training-content h2 {
        font-size: 2rem;
    }
    
    .booking-form, .contact-card {
        padding: 30px 20px;
    }
    
    .social-links {
        flex-direction: column;
    }
}

/* --- Новые секции (Отзывы, О мастере, FAQ, Вкладки форм) --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.review-type {
    display: inline-block;
    background-color: rgba(10, 132, 255, 0.1);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-weight: 600;
    color: var(--text-primary);
}

.highlight-review {
    border-color: var(--accent-color);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image .placeholder-box {
    aspect-ratio: 4/5;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-secondary);
    border: 1px dashed rgba(255,255,255,0.2);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.about-features .icon {
    margin-right: 15px;
    font-size: 1.2rem;
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: var(--bg-secondary);
    margin-bottom: 15px;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.05);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
}

.form-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.form-tab-btn {
    flex: 1;
    padding: 12px;
    background-color: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.form-tab-btn.active {
    background-color: var(--accent-color);
    color: #fff;
}

.file-input {
    background-color: transparent !important;
    padding: 10px 0 !important;
    border: none !important;
    color: var(--text-secondary);
}

.file-input::file-selector-button {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-right: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-input::file-selector-button:hover {
    background-color: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .about-inner {
        grid-template-columns: 1fr;
    }
}

.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 60px;
}

/* Плавающая панель для мобильных */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 10px;
}

.sticky-btn {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    border-radius: 8px;
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
}

.sticky-btn:hover {
    color: #fff;
    opacity: 0.9;
}

.sticky-btn.phone {
    background-color: var(--accent-color);
}

.sticky-btn.whatsapp {
    background-color: #25D366;
}

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
        gap: 10px;
    }
    .footer {
        margin-bottom: 70px;
    }
}
