/* Clean and Modern CSS Variables */
:root {
    --primary-color: #333;
    --secondary-color: #666;
    --accent-color: #ff6b9d;
    --secondary-accent: #ff8fab;
    --background-color: #fefefe;
    --gradient-primary: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    --gradient-accent: linear-gradient(135deg, #ff8fab 0%, #ff6b9d 100%);
    --shadow-color: rgba(255, 107, 157, 0.08);
    --text-shadow: 0 2px 4px rgba(255, 107, 157, 0.1);
    --box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    --overlay-color: rgba(245, 235, 224, 0.9);
    --overlay-light: rgba(245, 235, 224, 0.7);
    --overlay-soft: rgba(245, 235, 224, 0.5);
    --beige-light: #f5ebe0;
    --beige-medium: #e8d5c4;
    --beige-dark: #d4c4b7;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff5f7;
    overflow-x: hidden;
    font-weight: 400;
    position: relative;
}

/* Cursor Trail Effect */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
    transition: all 0.1s ease;
}

/* Logo Styles */
.hero-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.hero-logo img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}

@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }
    
    .logo-mobile {
        display: block;
    }
    
    .hero-logo {
        margin-bottom: 1.5rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 { 
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
}

h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

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

/* Quiz Modal Styles */
.quiz-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.quiz-modal.active {
    opacity: 1;
}

.quiz-content {
    background: white;
    border-radius: 25px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.quiz-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    padding: 25px 30px;
    text-align: center;
    position: relative;
}

.quiz-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.quiz-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quiz-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.quiz-body {
    padding: 30px;
}

.quiz-question h4 {
    margin: 0 0 25px 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    max-height: 320px;
    padding-right: 4px;
}

.quiz-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Inter', sans-serif;
}

.quiz-option:hover {
    background: #ff6b9d;
    color: white;
    border-color: #ff6b9d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.quiz-option i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.quiz-progress {
    margin-top: 25px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b9d 0%, #ff8fab 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 100%;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.quiz-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.quiz-skip {
    background: transparent;
    border: 2px solid #e9ecef;
    color: #666;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.quiz-skip:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-1px);
}

/* Mobile styles for quiz */
@media (max-width: 768px) {
    .quiz-content {
        width: 95%;
        max-height: 85vh;
        border-radius: 20px;
    }
    
    .quiz-header {
        padding: 20px 25px;
    }
    
    .quiz-header h3 {
        font-size: 1.3rem;
    }
    
    .quiz-body {
        padding: 25px 20px;
    }
    
    .quiz-question h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .quiz-option {
        padding: 18px 15px;
        font-size: 0.95rem;
    }
    
    .quiz-option i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .quiz-content {
        width: 98%;
        border-radius: 15px;
    }
    
    .quiz-header {
        padding: 18px 20px;
    }
    
    .quiz-header h3 {
        font-size: 1.2rem;
    }
    
    .quiz-body {
        padding: 20px 15px;
    }
    
    .quiz-question h4 {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    
    .quiz-option {
        padding: 15px 12px;
        font-size: 0.9rem;
        gap: 12px;
    }
    
    .quiz-option i {
        font-size: 1rem;
    }
}

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



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 30%, #ffb3c7 60%, #ffd1dc 100%);
    overflow: hidden;
    padding: 20px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
    animation: grain 20s linear infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 10%); }
    80% { transform: translate(3%, 15%); }
    90% { transform: translate(-10%, 10%); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 2px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3), 0 1px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
    text-align: center;
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 1px 5px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    line-height: 1.6;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Particle Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-particle 6s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 120px;
    height: 120px;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(10px); }
}

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

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

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

.stat {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(232, 213, 196, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat:hover::before {
    transform: scaleX(1);
}

.stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(232, 213, 196, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
    word-break: keep-all;
}

.stat-label {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 107, 157, 0.1);
}

.about-image img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.3);
    border-color: rgba(255, 107, 157, 0.3);
}

.image-placeholder {
    width: 300px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--background-color);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(238, 90, 36, 0.05) 100%);
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(232, 213, 196, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(232, 213, 196, 0.4);
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}







/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--background-color);
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    padding: 0 1rem;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(232, 213, 196, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: white;
    cursor: pointer;
    border: 2px solid transparent;
    aspect-ratio: 16/9;
    height: auto;
    min-height: 200px;
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(232, 213, 196, 0.5);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(255, 143, 171, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 20px;
}

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

/* Стили для изображений в галерее */
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
}

/* Анимация появления карточек */
.portfolio-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

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

.portfolio-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 50%, #ffb3c1 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.portfolio-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: grain 20s linear infinite;
}

.portfolio-placeholder i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
}

.portfolio-placeholder p {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
    text-align: center;
}

.portfolio-placeholder span {
    font-size: 1rem;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
    font-weight: 600;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--notification-info);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: var(--notification-success);
}

.notification.error {
    border-left-color: var(--notification-error);
}

.notification i {
    font-size: 1.2rem;
}

.notification.success i {
    color: var(--notification-success);
}

.notification.error i {
    color: var(--notification-error);
}

.notification.info i {
    color: var(--notification-info);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Utility Classes */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.4);
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

.fade-in { animation: fadeIn 0.6s ease-in-out; }
.fade-in-up { animation: fadeInUp 0.6s ease-in-out; }
.slide-in-left { animation: slideInLeft 0.6s ease-in-out; }
.slide-in-right { animation: slideInRight 0.6s ease-in-out; }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
    h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
    

    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    

    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}



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

/* Enhanced Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 235, 224, 0.9) 0%, rgba(232, 213, 196, 0.8) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    z-index: 10;
    backdrop-filter: blur(3px);
}

.portfolio-overlay h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.portfolio-overlay p {
    color: #555;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 20px;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.view-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-accent) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 45px;
    box-shadow: 0 4px 15px rgba(232, 213, 196, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 20;
}

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

.view-btn:hover::before {
    left: 100%;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 213, 196, 0.6);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.view-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}







/* Mobile Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        max-height: 95%;
    }
    
    .lightbox-image {
        height: 60%;
    }
    
    .lightbox-info {
        padding: 20px;
    }
    
    .lightbox-info h3 {
        font-size: 1.8rem;
    }
    
    .lightbox-info p {
        font-size: 1.1rem;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .lightbox-nav.prev {
        left: 15px;
    }
    
    .lightbox-nav.next {
        right: 15px;
    }
    
    .view-btn {
        min-width: 120px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.5rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
}

/* Floating Action Button */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 12px 35px rgba(232, 213, 196, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1000;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(232, 213, 196, 0.7);
}

.fab-main.active {
    transform: rotate(45deg);
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-actions.active .fab-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.3s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.floating-actions.active .fab-option:nth-child(1) { animation-delay: 0.1s; }
.floating-actions.active .fab-option:nth-child(2) { animation-delay: 0.2s; }
.floating-actions.active .fab-option:nth-child(3) { animation-delay: 0.3s; }
.floating-actions.active .fab-option:nth-child(4) { animation-delay: 0.4s; }

.fab-option:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--accent-color);
    color: white;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b9d 0%, #ff8fab 100%);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.3);
}

/* Enhanced Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Mobile Responsive FAB */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-main {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .fab-option {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .fab-options {
        bottom: 65px;
        gap: 12px;
    }
} 

@media (max-width: 768px) {
    .about-image img {
        width: 250px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .about-image img {
        width: 200px;
        height: 280px;
    }
} 

@media (max-width: 768px) {
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .stat {
        padding: 1.5rem 0.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
} 

/* Мобильная версия - Планшеты */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Типографика */
    h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
    h2 { font-size: clamp(2rem, 6vw, 3rem); }
    h3 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    
    /* Hero секция */
    .hero {
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .hero-content {
        padding: 0 20px;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(3rem, 10vw, 5rem);
        margin-bottom: 1.5rem;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
    
    .hero-subtitle {
        font-size: clamp(1.3rem, 4vw, 2.2rem);
        margin-bottom: 2rem;
        text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    }
    
    .hero-description {
        font-size: clamp(1.1rem, 3.5vw, 1.5rem);
        margin-bottom: 3rem;
        max-width: 100%;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 350px;
        padding: 18px 30px;
        font-size: 1.2rem;
        border-radius: 30px;
        backdrop-filter: blur(15px);
    }
    
    /* About секция */
    .about {
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-text h3 {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
        margin-bottom: 2rem;
    }
    
    .about-text p {
        font-size: 1.2rem;
        line-height: 1.8;
        margin-bottom: 2rem;
    }
    
    .about-image img {
        width: 280px;
        height: 380px;
        margin: 0 auto;
    }
    
    /* Статистика */
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .stat {
        padding: 2rem 1.5rem;
        border-radius: 25px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    /* Сервисы */
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2.5rem 1.5rem;
        border-radius: 25px;
    }
    
    .service-card i {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .service-price {
        font-size: 1.4rem;
        margin-top: 1.5rem;
    }
    
    /* Портфолио */
    .portfolio {
        padding: 80px 0;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0;
    }
    
    .portfolio-item {
        border-radius: 25px;
        min-height: 250px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 15px;
    }
    
    .view-btn {
        min-width: 140px;
        height: 45px;
        font-size: 0.95rem;
        padding: 12px 20px;
    }
    
    /* Floating Action Button */
    .floating-actions {
        bottom: 30px;
        right: 30px;
    }
    
    .fab-main {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
    
    .fab-options {
        bottom: 80px;
        right: 0;
    }
    
    .fab-option {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    /* Back to Top */
    .back-to-top {
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Мобильная версия - Смартфоны */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Hero секция */
    .hero {
        min-height: 100vh;
        padding: 40px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 5vw, 1.8rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: clamp(1rem, 4vw, 1.3rem);
        margin-bottom: 2.5rem;
    }
    
    .hero-buttons {
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 100%;
        padding: 16px 25px;
        font-size: 1.1rem;
        border-radius: 25px;
    }
    
    /* About секция */
    .about {
        padding: 60px 0;
    }
    
    .about-text h3 {
        font-size: clamp(2rem, 7vw, 3rem);
        margin-bottom: 1.5rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .about-image img {
        width: 240px;
        height: 320px;
    }
    
    /* Статистика */
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat {
        padding: 1.8rem 1.2rem;
        border-radius: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* Сервисы */
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .service-card {
        padding: 2rem 1.2rem;
        border-radius: 20px;
    }
    
    .service-card i {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .service-price {
        font-size: 1.3rem;
        margin-top: 1.2rem;
    }
    
    /* Портфолио */
    .portfolio {
        padding: 60px 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .portfolio-item {
        border-radius: 20px;
        min-height: 220px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        padding: 0 12px;
    }
    
    .view-btn {
        min-width: 130px;
        height: 42px;
        font-size: 0.9rem;
        padding: 10px 18px;
    }
    
    /* Floating Action Button */
    .floating-actions {
        bottom: 25px;
        right: 25px;
    }
    
    .fab-main {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .fab-options {
        bottom: 75px;
        right: 0;
    }
    
    .fab-option {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Back to Top */
    .back-to-top {
        bottom: 25px;
        right: 25px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Секции */
    .section-title h2 {
        font-size: clamp(2rem, 7vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .section-title p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
} 

/* Мобильные улучшения для touch-устройств */
@media (max-width: 768px) {
    /* Улучшенные touch-таргеты */
    .cta-btn, .view-btn, .fab-main, .fab-option, .back-to-top {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    /* Улучшенная прокрутка */
    html, body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Улучшенные hover-эффекты для touch */
    .portfolio-item:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .service-card:hover {
        transform: translateY(-8px);
    }
    
    .stat:hover {
        transform: translateY(-5px);
    }
    
    /* Улучшенные анимации */
    .hero-content {
        animation: fadeInUp 1s ease-out 0.3s both;
    }
    
    .hero-title {
        animation: fadeInUp 1s ease-out 0.5s both;
    }
    
    .hero-subtitle {
        animation: fadeInUp 1s ease-out 0.7s both;
    }
    
    .hero-description {
        animation: fadeInUp 1s ease-out 0.9s both;
    }
    
    .hero-buttons {
        animation: fadeInUp 1s ease-out 1.1s both;
    }
    
    /* Улучшенные тени для мобильных */
    .portfolio-item {
        box-shadow: 0 8px 25px rgba(232, 213, 196, 0.4);
    }
    
    .service-card {
        box-shadow: 0 8px 25px rgba(232, 213, 196, 0.3);
    }
    
    .stat {
        box-shadow: 0 8px 25px rgba(232, 213, 196, 0.3);
    }
    
    /* Улучшенные отступы */
    .about, .services, .portfolio {
        margin: 0;
    }
    
    /* Улучшенная типографика */
    .hero-title, .hero-subtitle, .hero-description {
        text-align: center;
        max-width: 100%;
    }
    
    /* Улучшенные кнопки */
    .cta-btn {
        position: relative;
        overflow: hidden;
    }
    
    .cta-btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.3s, height 0.3s;
    }
    
    .cta-btn:active::after {
        width: 300px;
        height: 300px;
    }
}

/* Дополнительные улучшения для маленьких экранов */
@media (max-width: 480px) {
    /* Улучшенная навигация */
    .floating-actions {
        z-index: 1000;
    }
    
    /* Улучшенные карточки */
    .portfolio-item, .service-card, .stat {
        border-radius: 20px;
        overflow: hidden;
    }
    
    /* Улучшенные изображения */
    .about-image img {
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(232, 213, 196, 0.4);
    }
    
    /* Улучшенные overlay */
    .portfolio-overlay {
        border-radius: 20px;
    }
    
    /* Улучшенные кнопки */
    .view-btn {
        border-radius: 25px;
        font-weight: 600;
    }
    
    /* Улучшенная типографика */
    .section-title {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .section-title h2 {
        margin-bottom: 1rem;
    }
    
    .section-title p {
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Улучшенные отступы */
    .container {
        padding: 0 15px;
    }
    
    /* Улучшенная прокрутка */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
} 

/* Мобильная навигация и FAB */
@media (max-width: 768px) {
    /* Floating Action Button - мобильная версия */
    .floating-actions {
        position: fixed;
        bottom: 30px;
        right: 30px;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .fab-main {
        width: 65px;
        height: 65px;
        background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-accent) 100%);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        box-shadow: 0 8px 25px rgba(232, 213, 196, 0.4);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        z-index: 1001;
    }
    
    .fab-main::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }
    
    .fab-main:hover::before {
        left: 100%;
    }
    
    .fab-main:hover {
        transform: scale(1.1);
        box-shadow: 0 12px 35px rgba(232, 213, 196, 0.6);
    }
    
    .fab-main.active {
        transform: rotate(45deg);
    }
    
    .fab-options {
        position: absolute;
        bottom: 80px;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .floating-actions.active .fab-options {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .fab-option {
        width: 55px;
        height: 55px;
        background: white;
        border: none;
        border-radius: 50%;
        color: var(--accent-color);
        font-size: 1.3rem;
        cursor: pointer;
        box-shadow: 0 6px 20px rgba(232, 213, 196, 0.4);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
    
    .fab-option::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.1), transparent);
        transition: left 0.5s;
    }
    
    .fab-option:hover::before {
        left: 100%;
    }
    
    .fab-option:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(232, 213, 196, 0.6);
        color: var(--primary-color);
    }
    
    /* Анимации для FAB опций */
    .floating-actions.active .fab-option:nth-child(1) { 
        animation: slideInUp 0.3s ease-out 0.1s both; 
    }
    .floating-actions.active .fab-option:nth-child(2) { 
        animation: slideInUp 0.3s ease-out 0.2s both; 
    }
    .floating-actions.active .fab-option:nth-child(3) { 
        animation: slideInUp 0.3s ease-out 0.3s both; 
    }
    .floating-actions.active .fab-option:nth-child(4) { 
        animation: slideInUp 0.3s ease-out 0.4s both; 
    }
    
    /* Back to Top кнопка */
    .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-accent) 100%);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        box-shadow: 0 6px 20px rgba(232, 213, 196, 0.4);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        z-index: 999;
    }
    
    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .back-to-top:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(232, 213, 196, 0.6);
    }
    
    /* Улучшенная прокрутка */
    html, body {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Улучшенные отступы для мобильных */
    .hero, .about, .services, .portfolio {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Улучшенные карточки */
    .portfolio-item, .service-card, .stat {
        border-radius: 20px;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Улучшенные hover эффекты */
    .portfolio-item:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 15px 35px rgba(232, 213, 196, 0.5);
    }
    
    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(232, 213, 196, 0.5);
    }
    
    .stat:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(232, 213, 196, 0.5);
    }
}

/* Дополнительные улучшения для маленьких экранов */
@media (max-width: 480px) {
    /* Floating Action Button - маленькие экраны */
    .floating-actions {
        bottom: 25px;
        right: 25px;
    }
    
    .fab-main {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .fab-options {
        bottom: 75px;
        gap: 12px;
    }
    
    .fab-option {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Back to Top - маленькие экраны */
    .back-to-top {
        bottom: 25px;
        right: 25px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Улучшенные отступы */
    .hero, .about, .services, .portfolio {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Улучшенные карточки */
    .portfolio-item, .service-card, .stat {
        border-radius: 15px;
    }
    
    /* Улучшенные hover эффекты */
    .portfolio-item:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .service-card:hover {
        transform: translateY(-8px);
    }
    
    .stat:hover {
        transform: translateY(-5px);
    }
} 

/* Исправления для мобильного скроллинга */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Убираем проблемные стили для мобильных */
    * {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Разрешаем выделение для текста */
    p, h1, h2, h3, h4, h5, h6, span, div {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
    
    /* Убираем проблемные touch события */
    .hero, .about, .services, .portfolio {
        touch-action: pan-y;
    }
    
    /* Убираем проблемные анимации для скроллинга */
    .hero-content, .hero-title, .hero-subtitle, .hero-description, .hero-buttons {
        animation: none;
    }
    
    /* Упрощаем hover эффекты для мобильных */
    .portfolio-item:hover,
    .service-card:hover,
    .stat:hover {
        transform: none;
    }
    
    /* Убираем проблемные тени */
    .portfolio-item,
    .service-card,
    .stat {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Исправляем hero секцию для мобильных */
    .hero {
        padding: 40px 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 0 20px;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1.3rem, 4vw, 2.2rem);
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-description {
        font-size: clamp(1.1rem, 3.5vw, 1.5rem);
        text-align: center;
        margin-bottom: 3rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 350px;
        padding: 18px 30px;
        font-size: 1.2rem;
        border-radius: 30px;
        backdrop-filter: blur(15px);
    }
} 

@media (max-width: 480px) {
    .quiz-options {
        max-height: 220px;
    }
}