/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Сброс стилей и базовые настройки */
:root {
    --vh: 1vh;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: white;
    margin: 0;
    padding: 0;
}

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

/* Прелоадер */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: white;
}

.logo-loading {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.loading-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Заголовок */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #3b82f6;
    backdrop-filter: blur(10px);
    box-shadow: none !important;
    border: none !important;
    border-bottom: 0 !important;
    outline: none !important;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 70px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    box-shadow: none;
    border: none;
    outline: none;
    border-bottom: 0;
}

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

.logo-kmg {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    letter-spacing: -0.02em;
}

.logo-full {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: -2px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    border-bottom: none;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.nav-menu li {
    border-bottom: none;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1.32rem;
    border-bottom: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: #fbbf24;
}

.nav-menu a::after {
    display: none !important;
    content: none;
    position: static;
    width: 0;
    height: 0;
    background: none;
    border: none;
}

.nav-menu a:hover::after {
    display: none !important;
    width: 0;
    border: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Главная секция */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 70px;
    margin: 0;
    padding-bottom: 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 1000 1000"><polygon fill="%23ffffff10" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.feature i {
    font-size: 1.5rem;
    color: #fbbf24;
}

.feature span {
    font-size: 0.95rem;
    text-align: left;
}

.hero-slogan {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-slogan h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fbbf24;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
}

.btn-secondary:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
}

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

/* Заголовки секций */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Секция услуг */
.services {
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.service-card p {
    color: #333;
    margin-bottom: 1.5rem;
}

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

.service-card li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Секция мерчендайзинга */
.merchandising {
    padding: 50px 0;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    scroll-snap-align: start;
    color: white;
}

.formats-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.formats-intro h3 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.formats-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.format-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.format-card.featured {
    border-color: #1e40af;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    transform: scale(1.05);
}

.format-card:hover {
    border-color: #1e40af;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
}

.format-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.format-header h3 {
    font-size: 1.5rem;
    color: #1e40af;
}

.format-card.featured .format-header h3 {
    color: white;
}

.format-icon {
    font-size: 2rem;
    color: #1e40af;
}

.format-card.featured .format-icon {
    color: #fbbf24;
}

.format-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #333;
}

.format-card.featured .format-description {
    color: rgba(255, 255, 255, 0.9);
}

.format-benefits {
    margin-bottom: 2rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.benefit i {
    color: #10b981;
    font-size: 0.9rem;
}

.format-card.featured .benefit i {
    color: #fbbf24;
}

.benefit span {
    font-size: 0.9rem;
    color: #555;
}

.format-card.featured .benefit span {
    color: rgba(255, 255, 255, 0.9);
}

.format-specs {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.format-card.featured .format-specs {
    border-top-color: rgba(255, 255, 255, 0.3);
}

.spec {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.spec span {
    color: #333;
}

.spec-label {
    font-weight: 600;
    color: #1e40af;
}

.format-card.featured .spec-label {
    color: #fbbf24;
}

.format-card.featured .spec span {
    color: rgba(255, 255, 255, 0.9);
}

.additional-formats {
    text-align: center;
}

.additional-formats h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 2rem;
}

.additional-formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.additional-format {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #1e40af;
}

.additional-format h4 {
    font-size: 1.3rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

/* Детальные услуги */
.detailed-services {
    padding: 50px 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    scroll-snap-align: start;
    color: white;
}

.detailed-service {
    margin-bottom: 6rem;
}

.detailed-service:last-child {
    margin-bottom: 0;
}

.service-content h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
}

.service-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: #333;
    font-size: 1.1rem;
}

.audit-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.audit-feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audit-feature i {
    font-size: 2rem;
    color: #1e40af;
    min-width: 50px;
}

.audit-feature h4 {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
}

.audit-results {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.audit-results h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.audit-results ul {
    list-style: none;
    margin-bottom: 2rem;
}

.audit-results li {
    padding: 0.8rem 0;
    position: relative;
    padding-left: 2rem;
    color: #555;
}

.audit-results li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1e40af;
    font-weight: bold;
}

.highlight-box {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.promo-includes, .promo-results {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.promo-includes h4, .promo-results h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.promo-includes ul, .promo-results ul {
    list-style: none;
}

.promo-includes li, .promo-results li {
    padding: 0.8rem 0;
    position: relative;
    padding-left: 2rem;
    color: #555;
}

.promo-includes li::before, .promo-results li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #10b981;
}

/* Преимущества */
.advantages {
    padding: 50px 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    scroll-snap-align: start;
    color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.advantage-card:hover {
    border-color: #1e40af;
    background: white;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.advantage-card h3 {
    font-size: 1.4rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #333;
}

.final-message {
    text-align: center;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.final-message-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Контакты */
.contact {
    padding: 50px 0;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    scroll-snap-align: start;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-text h4 {
    font-size: 1.2rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #333;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Футер */
.footer {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #2563eb 100%);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-kmg {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
}

.footer-company {
    font-size: 1.1rem;
    color: #d1d5db;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-slogan {
    color: #fbbf24;
    font-size: 1.1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #3b82f6;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: #3b82f6;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.footer-contact i {
    color: #3b82f6;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Адаптивность */

/* Планшеты и маленькие десктопы */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .formats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Адаптивный дизайн для мобильных устройств */
@media (max-width: 768px) {
    /* Навигация */
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #3b82f6;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Главная секция */
    .hero {
        padding: 100px 20px 50px;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .feature span {
        font-size: 0.9rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem;
    }

    /* Секции */
    .container {
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Сетки услуг */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 30px 15px;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    /* Логотип */
    .logo-kmg {
        font-size: 1.8rem;
    }

    .logo-full {
        font-size: 0.65rem;
    }

    /* Улучшения прокрутки для мобильных */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Улучшения для touch устройств */
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
    input, textarea, select {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: default;
    }

    .hero {
        padding-top: 90px;
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .feature {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

    .services-grid,
    .formats-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .format-card,
    .advantage-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }

    .format-card.featured {
        transform: none;
        margin-bottom: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .promo-grid,
    .additional-formats-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .audit-features {
        grid-template-columns: 1fr;
    }

    .detailed-service {
        margin-bottom: 4rem;
    }

    .audit-feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .audit-feature i {
        font-size: 2.5rem;
    }

    /* Улучшения для мобильных форм */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1.2rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    /* Мобильная навигация улучшения */
    .navbar {
        padding: 1rem 1.5rem;
    }

    .logo-kmg {
        font-size: 2.2rem;
    }

    .logo-full {
        font-size: 0.8rem;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding-top: 90px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo-kmg {
        font-size: 2rem;
    }

    .logo-full {
        font-size: 0.75rem;
    }

    .service-card,
    .format-card,
    .advantage-card {
        padding: 1.5rem 1rem;
    }

    .service-icon,
    .advantage-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .contact-item {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .formats-intro h3 {
        font-size: 1.6rem;
    }

    .formats-subtitle {
        font-size: 1rem;
    }

    .format-header h3 {
        font-size: 1.3rem;
    }

    .format-description {
        font-size: 0.9rem;
    }

    .benefit span {
        font-size: 0.85rem;
    }

    .spec {
        font-size: 0.8rem;
    }

    .detailed-service .service-content h2 {
        font-size: 1.8rem;
    }

    .service-subtitle {
        font-size: 1.1rem;
    }

    .promo-includes,
    .promo-results {
        padding: 1.5rem;
    }

    .audit-results {
        padding: 1.5rem;
    }

    .final-message {
        padding: 2rem 1.5rem;
    }

    .final-message-content h3 {
        font-size: 1.4rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-logo .logo-kmg {
        font-size: 2rem;
    }

    .footer-company {
        font-size: 1rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    /* Улучшения для кнопки "наверх" на мобильных */
    .back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
    }
}

/* Очень маленькие устройства */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .service-card,
    .format-card,
    .advantage-card {
        padding: 1.2rem 0.8rem;
    }

    .contact-form {
        padding: 1.2rem 0.8rem;
    }
}

/* Ландшафтная ориентация для мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 120vh;
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .nav-menu {
        height: calc(100vh - 80px);
    }
}

/* Большие экраны */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .formats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .audit-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Очень большие экраны */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .services-grid,
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Улучшения для touch устройств */
@media (pointer: coarse) {
    .btn,
    .nav-menu a,
    .hamburger {
        min-height: 44px;
        min-width: 44px;
    }

    .service-card,
    .format-card,
    .advantage-card {
        cursor: pointer;
    }

    .contact-icon,
    .service-icon,
    .advantage-icon {
        transition: transform 0.2s ease;
    }

    .contact-item:active .contact-icon,
    .service-card:active .service-icon,
    .advantage-card:active .advantage-icon {
        transform: scale(0.95);
    }
}

/* Темная тема для устройств с предпочтением темной темы */
@media (prefers-color-scheme: dark) {
    .preloader {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }

    .header {
        background: rgba(15, 23, 42, 0.95);
    }

    .nav-menu {
        background-color: rgba(15, 23, 42, 0.98);
    }

    .nav-menu a {
        color: #e2e8f0;
    }

    .logo-full {
        color: #94a3b8;
    }
}

/* Принт стили */
@media print {
    .header,
    .hamburger,
    .nav-menu,
    .hero-buttons,
    .contact-form,
    .back-to-top,
    .preloader,
    .scroll-progress {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section-header h2 {
        color: #000 !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}

/* Дополнительные утилиты */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Улучшения для мобильной производительности */
.mobile-device * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mobile-device input,
.mobile-device textarea,
.mobile-device select {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Состояние touch для интерактивных элементов */
.touch-active {
    transform: scale(0.98);
    opacity: 0.8;
    transition: all 0.1s ease;
}

/* Улучшенные переходы для мобильных */
@media (max-width: 768px) {
    * {
        transition-duration: 0.2s !important;
    }
    
    .hero {
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
    }
    
    .nav-menu {
        height: calc(100vh - 80px);
        height: calc(var(--vh, 1vh) * 100 - 80px);
    }
    
    /* Отключение hover эффектов на мобильных */
    .service-card:hover,
    .format-card:hover,
    .advantage-card:hover {
        transform: none;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .service-card:hover .service-icon,
    .advantage-card:hover .advantage-icon {
        transform: none;
    }
    
    /* Улучшение кликабельности для мобильных */
    .btn,
    .nav-menu a,
    .hamburger {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Оптимизация форм для мобильных */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Предотвращение зума на iOS */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    .form-group select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 1rem;
        padding-right: 3rem;
    }
}

/* Улучшения для планшетов в альбомной ориентации */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .services-grid,
    .formats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Улучшения для высоких экранов */
@media (min-height: 900px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero-content {
        padding: 2rem 20px;
    }
}

/* Улучшения для широких экранов */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }
    
    .hero h1 {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 3.5rem;
    }
}

/* Состояния загрузки */
.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card,
.format-card,
.advantage-card {
    opacity: 0;
    transform: translateY(30px);
}

/* Улучшения доступности */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .preloader {
        animation: none;
        opacity: 0;
        visibility: hidden;
    }
}

/* Улучшения контрастности для пользователей с проблемами зрения */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
    
    .service-icon,
    .advantage-icon {
        background: #000;
        color: #fff;
    }
}

/* Скролл индикатор */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    z-index: 1001;
    transition: width 0.3s ease;
}

/* Форма сообщений */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.form-message.info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

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

/* Улучшенная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Дополнительные оптимизации для мобильных устройств */
@media (max-width: 768px) {
    /* Улучшенная прокрутка для мобильных */
    body {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: none;
    }
}
