/* ============================================================
   FIXES — ТОЛЬКО НЕОБХОДИМЫЕ ИСПРАВЛЕНИЯ
   ============================================================ */

/* Предотвращение переполнения текста */
p, h1, h2, h3, h4, h5, h6, span, a, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Предотвращение переполнения секций */
.hero-section,
.services-section,
.tariffs-section,
.landing-section,
.business-section,
.refactor-section,
.portfolio-section,
.cta-section,
.faq-section,
.tech-section {
    overflow-x: hidden;
    width: 100%;
}

.hero-stats,
.tariffs-grid-full,
.portfolio-grid,
.services-grid,
.hero-wrapper,
.landing-top,
.business-top,
.refactor-top,
.cta-wrapper {
    max-width: 100%;
    overflow: hidden;
}

/* Мобильные кнопки */
@media (max-width: 768px) {
    .btn {
        padding: 12px 20px;
        font-size: 12px;
        gap: 8px;
        min-height: 44px;
    }
    .hero-buttons .btn {
        min-height: 48px;
    }
}

/* Select */
select {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Печать */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .btn,
    .hero-buttons,
    .hero-scroll-indicator {
        display: none !important;
    }
    .hero-section,
    .services-section,
    .tariffs-section,
    .landing-section,
    .business-section,
    .refactor-section,
    .portfolio-section,
    .cta-section,
    .faq-section,
    .tech-section {
        padding: 40px 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .hero-wrapper {
        flex-direction: column !important;
    }
    .hero-left {
        flex: 1 !important;
        padding: 20px !important;
    }
    .hero-right {
        position: relative !important;
        width: 100% !important;
        height: 300px !important;
        flex: 0 0 auto !important;
    }
}