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

:root {
    --primary-color: #6366F1;
    --primary-hover: #4F46E5;
    --primary-light: rgba(99, 102, 241, 0.1);
    --secondary-color: #8B5CF6;
    --accent-color: #EC4899;
    --text-dark: #0F172A;
    --text-medium: #334155;
    --text-light: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-gray: #F1F5F9;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.9) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Хедер */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Desktop навигация */
.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }

    .hamburger {
        display: none;
    }
}

.nav-list-desktop {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-list-desktop .nav-link {
    display: block;
    padding: 10px 18px;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-list-desktop .nav-link:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Гамбургер меню */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    z-index: 999;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.nav-list {
    list-style: none;
    padding: 24px;
}

.nav-list li {
    margin-bottom: 8px;
}

.nav-link {
    display: block;
    padding: 14px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
}

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

/* Герой секция с видеофоном */
.hero {
    margin-top: 72px;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #A78BFA 0%, #EC4899 50%, #F97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Статистика в hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* Индикатор скролла */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Услуги */
.services {
    background-color: var(--bg-white);
}

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

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover .service-hover-effect {
    opacity: 1;
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-icon-wrapper {
    margin-bottom: 24px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Про нас */
.about {
    background-color: var(--bg-light);
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--gradient-primary);
    border-radius: 24px;
    opacity: 0.1;
}

.team-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: white;
    padding: 24px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.experience-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.experience-text {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.about-text .section-badge {
    margin-bottom: 20px;
}

.about-title {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-list {
    list-style: none;
    margin-bottom: 36px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    font-size: 16px;
    color: var(--text-medium);
    font-weight: 500;
}

.about-list-icon {
    width: 28px;
    height: 28px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-list-icon svg {
    width: 16px;
    height: 16px;
    stroke: #10B981;
}

/* Форма заявки */
.contact-form-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.form-info {
    color: white;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.form-info h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.form-description {
    font-size: 17px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 36px;
}

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

.form-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
}

.form-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

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

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

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: var(--bg-light);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 18px 32px;
    font-size: 17px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

/* Контакты */
.contacts {
    background-color: var(--bg-white);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact-card p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-card a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Футер */
.footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.footer-brand .logo-text h1 {
    color: white;
    -webkit-text-fill-color: white;
}

.footer-brand .logo-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

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

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

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 12px;
    font-size: 15px;
}

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

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* Плавающая кнопка телефона */
.phone-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 25px rgba(99, 102, 241, 0.5);
    transition: all 0.3s ease;
    z-index: 998;
    color: var(--bg-white);
    cursor: pointer;
}

.phone-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 35px rgba(99, 102, 241, 0.6);
}

.phone-button-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-color);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background-color: var(--bg-white);
    padding: 48px;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
    z-index: 1;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-light);
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: var(--bg-gray);
    color: var(--text-dark);
}

.modal-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.modal-description {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.6;
}

.callback-form .form-group {
    margin-bottom: 20px;
}

.callback-form input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: var(--bg-light);
    font-family: inherit;
}

.callback-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.callback-form .btn-submit {
    width: 100%;
    margin-top: 8px;
}

/* Toast уведомления */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.toast {
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    animation: toastSlideIn 0.4s ease-out;
    border-left: 4px solid var(--primary-color);
    min-width: 340px;
}

.toast.success {
    border-left-color: #10B981;
}

.toast.error {
    border-left-color: #EF4444;
}

.toast.warning {
    border-left-color: #F59E0B;
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.toast.success .toast-icon {
    color: #10B981;
}

.toast.error .toast-icon {
    color: #EF4444;
}

.toast.warning .toast-icon {
    color: #F59E0B;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    margin: 0;
}

.toast-message {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    font-size: 18px;
    border-radius: 8px;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.toast-close:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.toast.removing {
    animation: toastSlideOut 0.3s ease-out forwards;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-content {
        padding: 40px 16px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 28px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    section {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .service-card {
        padding: 24px;
    }

    .contact-form {
        padding: 28px;
    }

    .about-experience-badge {
        right: 10px;
        bottom: -10px;
        padding: 18px 24px;
    }

    .experience-number {
        font-size: 28px;
    }

    .phone-button {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
    }

    .phone-button svg {
        width: 22px;
        height: 22px;
    }

    .modal-content {
        padding: 32px 24px;
    }

    .toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }
}

/* Анимации появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.contact-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Дополнительные hover эффекты */
.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}
