/* ===== BASE STYLES ===== */
:root {
    /* Цветовая палитра - сине-белая тема */
	--primary: hsl(147.03deg 43.54% 40.98%);
    --primary-dark: hsl(158.53deg 84.5% 25.29%);
    --primary-light: #3faa4d;
    --secondary: #259822;
    --accent: #45ad6a;
    --accent-dark: #3db065;
    
    /* Нейтральные цвета */
    --white: #f4f4f5;
    --gray-50: hsl(72deg 9.8% 90% / 38%);
    --gray-100: #f3f4f6;
    --gray-200: #c5c5c5;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #1e1e1e;
    --black: #3b935b;
    
    /* Дополнительные цвета */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #158e63;
    
    /* Тени */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Закругления */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Анимации */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #285127;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: hsl(72deg 9.8% 90% / 38%);
}

.center {
    text-align: center;
}

/* Прогресс-бар */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    z-index: 10000;
    transition: width var(--transition-fast);
}

/* ===== TYPOGRAPHY ===== */
.section-header {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 2px;
    background-color: var(--primary);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 3rem;
    height: 4px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
}

.center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    font-size: 16px;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn i {
    font-size: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: hsl(141.35deg 42.98% 47.45%);
    color: var(--white);
    border-color: hsl(142.5deg 42.72% 40.39% / 30%);
}

.btn-primary:hover {
    background-color: hsl(141.35deg 46.03% 38.92%);
    border-color: hsl(142.5deg 1.67% 2.47% / 10%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-white:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.btn-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    padding: 0.5rem 0;
}

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

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* Навигация */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-900);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.phone-link:hover {
    color: var(--primary);
    background-color: var(--gray-100);
}

/* Кнопка мобильного меню */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 1.5rem;
    height: 1rem;
    background: transparent;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gray-900);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    margin-top: 5rem;
    overflow: hidden;
}

.hero-slider {
    height: 650px;
}

.hero-slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 48rem;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 40rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    color: var(--accent);
    font-size: 1.25rem;
}

.feature span {
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Swiper стили для hero */
.hero-slider .swiper-pagination {
    bottom: 2rem !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background-color: var(--accent);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: var(--white);
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-base);
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
	flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: hsl(158.53deg 84.5% 25.29% / 70%);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

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

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge small {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

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

.service-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.service-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-content {
    padding: 1.5rem;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.service-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-list {
    margin-bottom: 1.5rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.service-list i {
    color: var(--success);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

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

.services-cta {
    background: linear-gradient(135deg, hsl(147.03deg 43.54% 40.98%), hsl(141.35deg 42.77% 40.36%));
    color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.cta-content h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

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

/* ===== PRICES SECTION ===== */
.pricing-tabs {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background-color: hsl(0deg 0% 90.7% / 78%);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.5rem;
    gap: 0.5rem;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    background-color: transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-align: center;
}

.tab-btn.active {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover:not(.active) {
    background-color: var(--gray-100);
    color: var(--gray-700);
}

.tabs-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(71, 112, 200, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(71, 112, 200, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(71, 112, 200, 0);
    }
}

.pricing-table {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.table-cell {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.table-header .table-cell {
    justify-content: normal;
}

.table-row .table-cell:nth-child(4) {
    justify-content: center;
}

.table-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-200);
    transition: background-color var(--transition-fast);
}

.table-row:hover {
    background-color: var(--gray-50);
}

.table-row .table-cell {
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.btn-order {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    border: none;
}

.btn-order:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.prices-note {
	display: flex;
    gap: 1rem;
    background-color: rgb(236 236 234);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
    border-left: 4px solid var(--primary);
}

.note-icon {
    color: var(--primary);
    font-size: 1.5rem;
}

.note-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.note-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-slider {
    margin-bottom: 3rem;
}

.portfolio-swiper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.portfolio-swiper .swiper-slide {
    height: 400px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-swiper .swiper-slide:hover img {
    transform: scale(1.1);
}

.portfolio-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.portfolio-swiper .swiper-slide .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: var(--white);
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-base);
}

.portfolio-swiper .swiper-slide:hover .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.slide-content p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.portfolio-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.portfolio-swiper .swiper-pagination-bullet-active {
    background-color: var(--accent);
}

.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
    color: var(--white);
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.portfolio-swiper .swiper-button-next:hover,
.portfolio-swiper .swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.portfolio-categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.category-btn.active,
.category-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 73%);
    z-index: 2000;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.lightbox-body {
    display: flex;
    flex-direction: column;
}

.lightbox-image {
    width: 100%;
    height: 70vh;
    object-fit: contain;
    background-color: #1e1e1e;
}

.lightbox-info {
    padding: 2rem;
    background-color: var(--white);
}

.lightbox-title {
    font-size: 18px;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.lightbox-description {
    color: var(--gray-600);
    margin: 0;
    font-size: 14px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* ===== ADVANTAGES SECTION ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
	width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, hsl(158.53deg 84.5% 25.29%), var(--primary));
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform var(--transition-base);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.advantage-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.advantage-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== FAQ SECTION ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background-color: rgba(71, 112, 200, 0.05);
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
    transition: max-height 0.6s ease-in, padding 0.3s ease;
}

.faq-answer p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ===== CONTACTS SECTION ===== */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1rem;
    transition: transform var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.contact-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.contact-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 16px;
}

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

.contact-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    font-style: italic;
}

.contact-social {
    margin-top: 1rem;
}

.contact-social h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 10px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-link.vk {
    background-color: #4C75A3;
}

.social-link.telegram {
    background-color: #2AABEE;
}

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

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Форма контактов */
.contacts-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.form-header p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--gray-900);
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.25rem;
}

.form-group.checkbox label {
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
}

.form-group.checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.form-group.checkbox a:hover {
    color: var(--primary-dark);
}

.form-notice {
    margin-top: 1rem;
    text-align: center;
}

.form-notice small {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Стили для ошибок форм */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--danger);
}

.error-message {
    color: var(--danger);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    opacity: 0;
    transition: opacity var(--transition-base);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 400px;
    margin: auto;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    color: var(--gray-500);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    color: var(--gray-700);
    background-color: var(--gray-100);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.modal-header p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo .logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.footer-logo .logo-title {
    color: var(--white);
}

.footer-logo .logo-subtitle {
    color: var(--gray-400);
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gray-400);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-phone,
.footer-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

.footer-phone:hover,
.footer-email:hover {
    color: var(--white);
}

.footer-phone i,
.footer-email i {
    color: var(--primary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.footer-developer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .contacts-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 1rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Header */
    .nav-list {
        display: none;
        position: fixed;
        top: 5rem;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Hero */
    .hero-slider {
        height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-cta {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    /* Contacts */
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-slider {
        height: 450px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .pricing-tabs {
        overflow-x: auto;
    }
    
    .tabs-header {
        min-width: 600px;
    }
    
    .tabs-content {
        overflow-x: auto;
    }
    
    .pricing-table {
        min-width: 600px;
    }
    
    .portfolio-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 400px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 2fr 1fr;
    }
    
    .table-header .table-cell:nth-child(3),
    .table-row .table-cell:nth-child(3) {
        display: none;
    }
}

/* Анимации для появления элементов при скролле */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    /* Скрываем кнопку "Посмотреть цены" в герое */
    .hero-buttons .btn-white {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* 2.1. Исправление табов на мобильных */
    .tabs-header {
        flex-direction: column; /* Кнопки в столбик */
        gap: 0.25rem;
        padding: 0.5rem;
        min-width: auto; /* Убираем горизонтальную прокрутку */
        overflow-x: visible;
    }
    
    .tab-btn {
        width: 100%; /* Каждая кнопка на всю ширину */
        padding: 1rem;
        text-align: center;
        white-space: normal; /* Разрешаем перенос текста */
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    /* 2.2. Улучшение видимости активной кнопки */
    .tab-btn.active {
        background-color: hsl(141.35deg 42.98% 47.45%); /* Зеленый фон */
        color: white;
        box-shadow: 0 4px 12px rgba(37, 152, 34, 0.3);
        font-weight: 600;
    }
    
    /* 2.3. Упрощение таблицы прайса для мобильных */
    .pricing-table {
        border: none;
        border-radius: 12px;
        overflow: visible;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        min-width: auto; /* Убираем горизонтальную прокрутку */
    }
    
    /* 2.4. Преобразуем таблицу в карточки */
    .table-header {
        display: none; /* Скрываем заголовок таблицы */
    }
    
    .table-row {
        display: flex;
        flex-direction: column;
        padding: 1.25rem;
        margin-bottom: 0.75rem;
        border: 1px solid var(--gray-200);
        border-radius: 10px;
        background-color: white;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }
    
    .table-cell {
        display: flex;
        padding: 0.5rem 0;
        border: none;
        font-size: 0.95rem;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    /* 2.5. Для ячеек с данными */
    .table-cell:before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--gray-700);
        width: 60%;
        text-align: left;
        padding-right: 1rem;
    }
    
    .table-cell:last-child {
        color: hsl(141.35deg 42.98% 47.45%); /* Зеленый цвет цены */
        font-weight: 700;
        font-size: 1.1rem;
        border-top: 2px dashed var(--gray-200);
        margin-top: 0.5rem;
        padding-top: 1rem;
        justify-content: flex-end; /* Цена справа */
    }
    
    .table-cell:last-child:before {
        display: none;
    }
    
    /* 2.6. Убираем лишние отступы в контейнере */
    .tabs-content {
        padding: 1rem 0;
        overflow-x: visible;
    }
    
    /* 2.7. Улучшаем прокрутку для прайса */
    .pricing-tabs {
        max-width: 100%;
        overflow-x: visible;
    }
}

@media (max-width: 480px) {
    /* Уменьшаем отступы для очень маленьких экранов */
    .table-row {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .table-cell {
        font-size: 0.9rem;
        flex-direction: column; /* Название и цена в столбик */
    }
    
    .table-cell:before {
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .table-cell:last-child {
        justify-content: flex-start; /* Цена слева под названием */
        font-size: 1rem;
    }
    
    /* Уменьшаем текст в табах для очень маленьких экранов */
    .tab-btn {
        font-size: 0.85rem;
        padding: 0.875rem 0.5rem;
    }
}

@media (max-width: 768px) {
    /* 1. Скрываем заголовок "Ед. изм." в таблице */
    .table-header .table-cell:nth-child(2),
    .table-row .table-cell:nth-child(2) {
        display: none !important;
    }
    
    /* 2. Уменьшаем отступы в таблице */
    .pricing-table {
        padding: 0.25rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        min-width: auto !important;
        width: 100%;
        margin: 0 auto;
    }
    
    /* 3. Перестраиваем таблицу в вертикальный вид */
    .table-header,
    .table-row {
        display: flex;
        flex-direction: column;
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
        background: white;
    }
    
    /* 4. Скрываем заголовок таблицы полностью на мобильных */
    .table-header {
        display: none !important;
    }
    
    /* 5. Каждая строка как карточка */
    .table-row {
        margin-bottom: 0.5rem;
        padding: 1rem 0.75rem;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        position: relative;
        border: 1px solid #e5e7eb;
    }
    
    /* 6. Ячейки - одна под другой */
    .table-cell {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.375rem 0;
        border: none !important;
        font-size: 0.875rem;
        line-height: 1.3;
    }
    
    /* 7. Название услуги - слева, цена - справа */
    .table-cell[data-label]:before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #374151;
        text-align: left;
        width: 65%;
        font-size: 0.9rem;
    }
    
    .table-cell[data-label] {
        color: #374151;
        font-weight: 400;
        text-align: right;
        width: 35%;
    }
    
    /* 8. Скрываем "Ед. изм." для ячеек данных */
    .table-cell[data-label="Ед. изм."] {
        display: none !important;
    }
    
    /* 9. Цена - зеленый цвет и выделение */
    .table-cell[data-label="Стоимость"] {
        color: hsl(141.35deg 42.98% 47.45%);
        font-weight: 700;
        font-size: 1rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 2px dashed #e5e7eb !important;
        justify-content: flex-end; /* Цена справа */
        width: 100%;
    }
    
    .table-cell[data-label="Стоимость"]:before {
        content: "Цена: ";
        font-weight: 600;
        color: #374151;
        font-size: 0.9rem;
    }
    
    /* 10. Убираем горизонтальную прокрутку */
    .tabs-content {
        overflow-x: visible !important;
        padding: 1rem 0.5rem !important;
    }
    
    /* 11. Табы - вертикально на узких экранах */
    .tabs-header {
        flex-direction: column;
        min-width: auto;
        padding: 0.5rem;
        gap: 0.25rem;
        background: #f9fafb;
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .tab-btn {
        width: 100%;
        padding: 0.875rem 0.75rem;
        font-size: 0.85rem;
        border-radius: 8px;
        margin-bottom: 0.25rem;
        text-align: center;
        background: white;
        border: 1px solid #e5e7eb;
    }
    
    .tab-btn.active {
        background: linear-gradient(135deg, hsl(141.35deg 42.98% 47.45%), hsl(147.03deg 43.54% 40.98%));
        color: white;
        border-color: hsl(141.35deg 42.98% 47.45%);
        box-shadow: 0 2px 8px rgba(37, 152, 34, 0.2);
    }
    
    /* 12. Контейнер таблицы без горизонтальной прокрутки */
    .pricing-tabs {
        overflow-x: visible !important;
        max-width: 100%;
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ (менее 480px) */
@media (max-width: 480px) {
    .table-row {
        padding: 0.875rem 0.5rem;
        margin-bottom: 0.375rem;
    }
    
    .table-cell {
        font-size: 0.825rem;
        padding: 0.25rem 0;
    }
    
    .table-cell[data-label="Стоимость"] {
        font-size: 0.95rem;
        font-weight: 700;
    }
    
    .table-cell[data-label]:before {
        font-size: 0.85rem;
        width: 60%;
    }
    
    .table-cell[data-label] {
        width: 40%;
    }
    
    /* Уменьшаем шрифт табов */
    .tab-btn {
        font-size: 0.8rem;
        padding: 0.75rem 0.5rem;
    }
    
    /* Делаем таблицу еще компактнее */
    .pricing-table {
        padding: 0.125rem;
    }
    
    .table-cell[data-label="Стоимость"]:before {
        content: "Цена: ";
        font-size: 0.85rem;
    }
}

/* ЕЩЕ УЖЕ ДЛЯ ОЧЕНЬ УЗКИХ ЭКРАНОВ */
@media (max-width: 360px) {
    .table-cell[data-label]:before {
        width: 55%;
        font-size: 0.8rem;
    }
    
    .table-cell[data-label] {
        width: 45%;
        font-size: 0.8rem;
    }
    
    .table-cell[data-label="Стоимость"] {
        font-size: 0.9rem;
    }
    
    .table-cell[data-label="Стоимость"]:before {
        font-size: 0.8rem;
    }
    
    .tab-btn {
        font-size: 0.75rem;
        padding: 0.625rem 0.375rem;
    }
}

/* ФИКС ДЛЯ ГОРИЗОНТАЛЬНОЙ ОРИЕНТАЦИИ */
@media (max-width: 768px) and (orientation: landscape) {
    /* В горизонтальной ориентации можно показывать 2 колонки */
    .pricing-table {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1rem;
    }
    
    .table-header {
        display: none !important;
    }
    
    .table-row {
        display: flex;
        flex-direction: column;
        height: auto;
        margin: 0;
    }
}

/* ===== ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ МОБИЛЬНЫХ ТАБЛИЦ ===== */
@media (max-width: 768px) {
    /* Убираем все старые стили для таблиц на мобильных и добавляем новые */
    
    /* 1. Табы - вертикальный список */
    .tabs-header {
        flex-direction: column !important;
        min-width: auto !important;
        padding: 0.5rem !important;
        gap: 0.25rem !important;
        background: #f9fafb !important;
        border-radius: 10px !important;
        margin-bottom: 1rem !important;
    }
    
    .tab-btn {
        width: 100% !important;
        padding: 0.875rem 0.75rem !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
        margin-bottom: 0.25rem !important;
        text-align: center !important;
        background: white !important;
        border: 1px solid #e5e7eb !important;
    }
    
    .tab-btn.active {
        background: linear-gradient(135deg, hsl(141.35deg 42.98% 47.45%), hsl(147.03deg 43.54% 40.98%)) !important;
        color: white !important;
        border-color: hsl(141.35deg 42.98% 47.45%) !important;
        box-shadow: 0 2px 8px rgba(37, 152, 34, 0.2) !important;
    }
    
    /* 2. Контейнер таблицы */
    .tabs-content {
        padding: 1rem 0.5rem !important;
        overflow-x: visible !important;
    }
    
    .pricing-tabs {
        overflow-x: visible !important;
        max-width: 100% !important;
    }
    
    /* 3. Таблица - карточки */
    .pricing-table {
        min-width: auto !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    .table-header {
        display: none !important;
    }
    
    .table-row {
        display: flex !important;
        flex-direction: column !important;
        background: white !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 8px !important;
        padding: 1rem 0.75rem !important;
        margin-bottom: 0.75rem !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    }
    
    .table-cell {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.5rem 0 !important;
        border: none !important;
        font-size: 0.875rem !important;
        width: 100% !important;
    }
    
    /* Скрываем "Ед. изм." на мобильных */
    .table-cell:nth-child(2) {
        display: none !important;
    }
    
    /* Услуга (первая ячейка) */
    .table-cell:first-child {
        font-weight: 600;
        color: #374151;
        font-size: 0.9rem;
        line-height: 1.4;
        flex: 1;
    }
    
    /* Стоимость (третья ячейка) */
    .table-cell:last-child {
        color: hsl(141.82deg 42.72% 40.39%) !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
        margin-top: 0.5rem !important;
        padding-top: 0.5rem !important;
        border-top: 2px dashed #e5e7eb !important;
        justify-content: flex-end !important;
        width: 100% !important;
    }
    
    /* Убираем data-label псевдоэлементы */
    .table-cell:before {
        display: none !important;
    }
    
    /* Скрываем "Ед. изм." в заголовке */
    .table-header .table-cell:nth-child(2) {
        display: none !important;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .table-row {
        padding: 0.875rem 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .table-cell:first-child {
        font-size: 0.85rem !important;
    }
    
    .table-cell:last-child {
        font-size: 0.95rem !important;
    }
    
    .tab-btn {
        font-size: 0.8rem !important;
        padding: 0.75rem 0.5rem !important;
    }
}

@media (max-width: 768px) {
    /* Скрываем бейдж "Более 10 лет опыта" в hero */
    .hero-badge {
        display: none !important;
    }
}

/* Исправление стрелок портфолио */
.portfolio-swiper {
    position: relative;
    overflow: hidden;
}

.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-swiper .swiper-button-next {
    right: 15px;
}

.portfolio-swiper .swiper-button-prev {
    left: 15px;
}

.portfolio-swiper .swiper-button-next:after,
.portfolio-swiper .swiper-button-prev:after {
    content: '';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px;
    color: var(--primary);
}

.portfolio-swiper .swiper-button-next:after {
    content: '\f054'; /* fa-chevron-right */
}

.portfolio-swiper .swiper-button-prev:after {
    content: '\f053'; /* fa-chevron-left */
}

/* Убедимся что стрелки видны */
.portfolio-swiper .swiper-button-next.swiper-button-disabled,
.portfolio-swiper .swiper-button-prev.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

/* Анимация для спиннера загрузки */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Скрытие бейджа на мобильных */
@media (max-width: 768px) {
    .hero-badge {
        display: none !important;
    }
}

/* Оставляем только самые необходимые переходы */
a:hover,
button:hover,
.nav-link:hover,
.btn:hover,
.service-card:hover,
.advantage-card:hover,
.contact-card:hover,
.social-link:hover,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transition: all var(--transition-fast) !important;
}

/* Убираем все трансформации и opacity */
.service-card,
.advantage-card,
.contact-card,
.contacts-form,
.form-header,
.form-group,
.faq-item,
.stat,
.feature-item {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Убираем классы анимации */
.animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (max-width: 768px) {
    .scroll-to-top {
        display: none !important;
    }
    #advantages,
    .advantages-section {
        display: none !important;
    }
    .nav-advantages {
        display: none !important;
    }
}


/* Не отключаем transition у Swiper (иначе стрелки/листание ломаются) */
/* Если нужно "успокоить" анимации — делаем это выборочно, без Swiper */
.no-animations *:not(.swiper-wrapper):not(.swiper-wrapper *):not(.swiper-slide):not(.swiper-slide *) {
    animation: none !important;
    transition: none !important;
}

/* Важно: вернуть transition для Swiper wrapper (на случай сторонних правок) */
.hero-slider .swiper-wrapper,
.portfolio-swiper .swiper-wrapper {
    transition-property: transform !important;
    transition-timing-function: ease !important;
    will-change: transform;
}


/* Portfolio arrows: bigger + always usable */
.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
    width: 64px !important;
    height: 64px !important;
    background-color: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    opacity: 1 !important;
    z-index: 50 !important;
}

.portfolio-swiper .swiper-button-next::after,
.portfolio-swiper .swiper-button-prev::after {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #fff !important;
}

/* Если Swiper ставит disabled — оставляем кликабельным (loop/rewind) */
.portfolio-swiper .swiper-button-disabled {
    opacity: 0.6 !important;
    pointer-events: auto !important;
}


/* === PORTFOLIO TEXT DISABLED === */
.portfolio-swiper .swiper-slide::after {
    display: none !important;
}
.portfolio-swiper .swiper-slide .slide-content {
    display: none !important;
}

/* === PORTFOLIO PERFORMANCE OPTIMIZATIONS (mobile + iOS 17) === */
.portfolio-swiper .portfolio-picture,
.portfolio-swiper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.portfolio-swiper .portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Prevent iOS Safari weird tap highlights and improve responsiveness */
@media (max-width: 768px) {
    .portfolio-swiper {
        -webkit-tap-highlight-color: transparent;
        touch-action: pan-y;
    }
}


.social-link.avito {
    background-color: #00a550;
    color: #fff;
}

.social-link.avito:hover {
    background-color: #008f45;
}


/* ===== SOCIAL BUTTONS GRID 2x2 ON MOBILE ===== */
@media (max-width: 768px) {
    .social-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .social-link {
        min-width: 100%;
        justify-content: center;
    }
}

/* ===== AVITO DOUBLE CIRCLE ICON ===== */
.avito-icon {
    position: relative;
    width: 22px;
    height: 22px;
}

.avito-icon span {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
}

.avito-icon span:first-child {
    top: 0;
    left: 0;
}

.avito-icon span:last-child {
    bottom: 0;
    right: 0;
}


/* ===== AVITO ICON SAME SIZE AS OTHERS ===== */
.social-link i,
.social-link .avito-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.social-link.avito .avito-icon {
    background-color: #ffffff;
    color: #00a550;
    border-radius: 50%;
}


/* ===== SOCIAL ICONS FIX (UNIFIED SIZE) ===== */
.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link i,
.icon-wrap {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 50%;
    box-sizing: border-box;
}

.social-link.vk i,
.social-link.telegram i,
.social-link.whatsapp i {
    background: transparent;
}

.social-link.avito .icon-wrap {
    background-color: #ffffff;
    color: #00a550;
    border: 1px solid rgba(0,0,0,0.05);
}

/* === FIX social buttons size === */
.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.social-link {
  height: 37px;
  padding: 0 24px;
  font-size: 15px;
  border-radius: 999px;
}

.social-link i,
.social-link .icon-wrap {
  width: 20px;
  height: 20px;
  min-width: 20px;
  font-size: 20px;
}

.social-link .icon-wrap {
  background: #ffffff;
  color: #111;
  font-weight: 600;
}

.social-link span:last-child {
  line-height: 1;
}

/* === FINAL Avito icon: lamp only, no circle === */
.social-link.avito .icon-wrap {
  display: none !important;
}

.social-link.avito i {
  font-size: 20px;
  color: #ffffff;
  margin-right: 1px;
}

/* === Social buttons: control icon-text spacing === */
.social-link {
    display: flex;
    align-items: center;
    gap: 6px; /* регулируй: 4px–8px */
}

.social-link i {
    margin-right: 0;
}

/* === FIX: stable centering of icon + text on all screens === */
/* Используем grid вместо flex, чтобы текст не съезжал */

.social-link {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    justify-content: center;
    column-gap: 6px;
    text-align: center;
}

/* Фиксированная ширина иконки — предотвращает смещение текста */
.social-link i {
    width: 20px;
    min-width: 20px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== MOBILE PRICE HARD FIX ===== */
#prices .mobile-pricing {
  display: none;
}

@media screen and (max-width: 768px) {
  #prices .pricing-tabs {
    display: none !important;
  }

  #prices .mobile-pricing {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }
}


/* ===== MOBILE PRICE ACCORDION (generated from tabs) ===== */
.mobile-price-accordion {
    display: none;
    margin-top: 1rem;
}

.mobile-price-accordion .mp-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.mobile-price-accordion .mp-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem;
    background: var(--gray-50);
    border: none;
    cursor: pointer;
    font-weight: 700;
    color: var(--gray-900);
    text-align: left;
}

.mobile-price-accordion .mp-title {
    flex: 1;
}

.mobile-price-accordion .mp-icon {
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    flex: 0 0 1.25rem;
}

.mobile-price-accordion .mp-icon::before,
.mobile-price-accordion .mp-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: var(--primary);
    transform: translate(-50%, -50%);
    border-radius: 2px;
}

.mobile-price-accordion .mp-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.mobile-price-accordion .mp-item.active .mp-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.mobile-price-accordion .mp-body {
    padding: 0.75rem 0.75rem 1rem;
    background: #fbfdfb;
}

@media (max-width: 768px) {
    /* On mobile: show accordion instead of tabbed pricing */
    #prices .pricing-tabs {
        display: none !important;
    }
    #prices .mobile-price-accordion {
        display: block;
    }

    /* Make sure pricing tables inside accordion are full width */
    #prices .mobile-price-accordion .pricing-table {
        width: 100% !important;
        min-width: auto !important;
    }
}


/* ===== FORCE MOBILE PRICE TABLE ===== */
@media (max-width: 768px) {

  /* hide desktop tabs */
  .pricing-tabs .tabs-header,
  .pricing-tabs .tabs-content {
    display: none !important;
  }

  /* mobile accordion container */
  .mobile-price-accordion {
    display: block;
  }

  .mp-body .pricing-table {
    box-shadow: none;
    border-radius: 0;
  }

  .mp-body .table-header {
    display: none !important;
  }

  .mp-body .table-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
  }

  .mp-body .table-row .table-cell {
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.3;
  }

  /* hide unit column */
  .mp-body .table-row .table-cell:nth-child(2) {
    display: none !important;
  }

  /* price */
  .mp-body .table-row .table-cell:last-child {
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
    color: var(--primary);
  }
}


/* ===== MOBILE PRICE FINAL COMPACT ===== */
@media (max-width: 768px) {

  /* remove separators and card feeling */
  .mp-body .pricing-table {
    box-shadow: none;
    border-radius: 0;
  }

  .mp-body .table-row {
    border: none !important;
    padding: 0.3rem 0 !important;
  }

  /* one continuous list */
  .mp-body .table-row:not(:last-child) {
    margin-bottom: 0;
  }

  .mp-body .table-cell {
    font-size: 0.85rem;
  }

  /* alignment */
  .mp-body .table-cell:first-child {
    text-align: left;
  }

  .mp-body .table-cell:last-child {
    text-align: right;
    font-weight: 600;
  }
}


/* ===== MOBILE PRICE REMOVE CARDS COMPLETELY ===== */
@media (max-width: 768px) {

  /* remove white card background */
  .mp-body .pricing-table,
  .mp-body .table-row {
    background: transparent !important;
  }

  /* kill rounded cards */
  .mp-body .table-row {
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* remove spacing that creates card illusion */
  .mp-body .table-row {
    padding: 0.25rem 0 !important;
    margin: 0 !important;
  }

  /* continuous list */
  .mp-body .pricing-table {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* alignment hard fix */
  .mp-body .table-cell:first-child {
    text-align: left !important;
  }

  .mp-body .table-cell:last-child {
    text-align: right !important;
    font-weight: 600;
  }
}


/* ===== MOBILE PRICE HARD ALIGN FIX ===== */
@media (max-width: 768px) {

  /* padding from screen edges */
  .mobile-price-accordion,
  .mp-body,
  .mp-body .pricing-table {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* force grid */
  .mp-body .table-row {
    display: grid !important;
    grid-template-columns: 1fr max-content !important;
    column-gap: 12px !important;
  }

  /* service left */
  .mp-body .table-cell:first-child {
    text-align: left !important;
    justify-content: flex-start !important;
  }

  /* price right */
  .mp-body .table-cell:last-child {
    text-align: right !important;
    justify-content: flex-end !important;
    white-space: nowrap;
  }
}


/* ===== MOBILE PRICE LEFT ALIGN ROW & CELL ===== */
@media (max-width: 768px) {

  /* table row must NOT center content */
  .mp-body .table-row {
    align-items: flex-start !important;
    justify-items: stretch !important;
  }

  /* service text strictly left */
  .mp-body .table-cell:first-child {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  /* price strictly right */
  .mp-body .table-cell:last-child {
    justify-content: flex-end !important;
    text-align: right !important;
  }
}


/* ===== MOBILE PRICE UNIVERSAL ALIGN FIX ===== */
/* Works for ALL mobile widths, not only 480px */

@media (max-width: 768px) {

  .mp-body .table-row {
    display: grid !important;
    grid-template-columns: 1fr max-content !important;
    align-items: flex-start !important;
    justify-items: stretch !important;
  }

  .mp-body .table-cell {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .mp-body .table-cell:last-child {
    justify-content: flex-end !important;
    text-align: right !important;
    white-space: nowrap;
  }
}


/* ===== MOBILE PRICE KILL CENTERING (416px FIX) ===== */
@media (max-width: 768px) {

  /* kill any inherited centering */
  .mp-body,
  .mp-body * {
    text-align: initial !important;
  }

  /* explicit grid control */
  .mp-body .table-row {
    display: grid !important;
    grid-template-columns: 1fr max-content !important;
    align-items: start !important;
    justify-items: stretch !important;
  }

  /* service always left */
  .mp-body .table-cell:first-child {
    text-align: left !important;
    justify-content: flex-start !important;
    margin-right: 12px;
  }

  /* price always right */
  .mp-body .table-cell:last-child {
    text-align: right !important;
    justify-content: flex-end !important;
    white-space: nowrap;
  }
}


/* ===== MOBILE PRICE REAL ROOT FIX ===== */
@media (max-width: 768px) {

  /* table-cell was flex -> causes centering on some widths */
  .mp-body .table-cell {
    display: block !important;
    align-items: initial !important;
    justify-content: initial !important;
    text-align: left !important;
  }

  /* row layout */
  .mp-body .table-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: start !important;
  }

  /* price column */
  .mp-body .table-cell:last-child {
    text-align: right !important;
    white-space: nowrap;
  }
}


/* === Mobile price row compact view === */
@media (max-width: 768px) {
  .pricing-table .table-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem 0.75rem !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  }

  .pricing-table .table-row:last-child {
    border-bottom: none !important;
  }

  .pricing-table .table-row .table-cell:first-child {
    font-size: 0.9rem !important;
    text-align: left !important;
  }

  .pricing-table .table-row .table-cell:nth-child(2) {
    display: none !important;
  }

  .pricing-table .table-row .table-cell:last-child {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-align: right !important;
    border-top: none !important;
    padding-top: 0 !important;
  }
}


/* =========================================
   SOCIAL BUTTONS RESPONSIVE GRID
   Mobile (Safari / Telegram): 2x2
   Desktop: 4 in row
   ========================================= */

html {
    -webkit-text-size-adjust: 100%;
}

/* Mobile default — 2x2 */
.social-links,
.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.social-links a,
.social-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.6rem 0.5rem;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
    min-width: 0;
}

/* Desktop — 4 in row */
@media (min-width: 768px) {
    .social-links,
    .social-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}
