/* ============================================
   RESPONSIVE - Адаптивная верстка
   Версия: 1.0
   ============================================ */

/* ============================================
   TABLETS (1024px and below)
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 36px;
    }
}

/* ============================================
   MOBILE (768px and below)
   ============================================ */
@media (max-width: 768px) {
    /* Header */
    .header-inner {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        font-size: 14px;
    }

    .header-phone {
        width: 100%;
        justify-content: center;
    }

    .header-phone a {
        font-size: 16px;
    }

    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        margin: 0 auto 32px;
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 40px;
        padding-top: 24px;
    }

    .hero-stat-number {
        font-size: 28px;
    }

    .hero-image-placeholder {
        font-size: 80px;
    }

    /* Services */
    .services {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px 20px;
    }

    /* Benefits */
    .benefits {
        padding: 60px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit-card {
        padding: 24px;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* CTA */
    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 30px;
    }

    .cta-description {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Page Content */
    .page-content {
        padding: 40px 0;
    }

    .page-content h1 {
        font-size: 30px;
    }

    .cta-block {
        padding: 24px;
    }

    .cta-block h3 {
        font-size: 20px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand p {
        margin: 12px auto 0;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 16px;
    }

    /* Tech Tags */
    .tech-tags {
        gap: 8px;
        padding: 24px 0;
    }

    .tech-tag {
        font-size: 12px;
        padding: 6px 14px;
    }

    /* Floating Buttons */
    .floating-buttons {
        bottom: 16px;
        right: 16px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* ============================================
   SMALL MOBILE (480px and below)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .hero-stat-number {
        font-size: 24px;
    }

    .hero-stat-label {
        font-size: 12px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .section-title {
        font-size: 26px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .header-phone a {
        font-size: 14px;
    }

    .btn-header {
        padding: 8px 16px;
        font-size: 12px;
    }

    .service-card {
        padding: 20px 16px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .service-title {
        font-size: 16px;
    }

    .service-description {
        font-size: 13px;
    }

    .floating-buttons {
        bottom: 12px;
        right: 12px;
        gap: 8px;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .cta-title {
        font-size: 26px;
    }

    .page-content h1 {
        font-size: 26px;
    }

    .footer-title {
        font-size: 12px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header,
    .floating-buttons,
    .cta-section,
    .footer {
        display: none !important;
    }

    .hero {
        padding: 40px 0;
        background: white !important;
        color: black !important;
    }

    .hero-title .highlight {
        -webkit-text-fill-color: var(--secondary) !important;
    }

    .hero-description {
        color: var(--text-dark) !important;
    }

    .hero-stats {
        border-top-color: #ddd !important;
    }

    .hero-stat-number {
        -webkit-text-fill-color: var(--secondary) !important;
    }

    .hero-stat-label {
        color: var(--text-dark) !important;
    }

    .services {
        padding: 40px 0;
    }

    .service-card {
        break-inside: avoid;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }

    .benefits {
        padding: 40px 0;
        background: white !important;
        color: black !important;
    }

    .benefit-card {
        background: #f5f5f5 !important;
        border-color: #ddd !important;
    }

    .benefit-title {
        color: black !important;
    }

    .benefit-description {
        color: var(--text-dark) !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0 40px !important;
    }

    .page-content {
        padding: 40px 0;
    }
}