/* ===== АДАПТИВНОСТЬ ===== */

/* Большие экраны (более 1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .service-header h1 {
        font-size: 3.5rem;
    }
}

/* Планшеты и маленькие ноутбуки (992px - 1199px) */
@media (max-width: 1199px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .service-title {
        font-size: 2rem;
    }
    
    .service-icon-large {
        font-size: 4rem;
        padding: 20px;
    }
}

/* Планшеты (768px - 991px) */
@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }
    
    .hero {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .service-block {
        padding: 40px 0;
        margin-bottom: 50px;
    }
    
    .service-header {
        padding: 60px 0;
    }
    
    .service-header h1 {
        font-size: 2.8rem;
    }
    
    .service-title {
        font-size: 1.8rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .service-icon-large {
        font-size: 3.5rem;
        padding: 15px;
    }
    
    .contact-info {
        padding: 30px;
    }
    
    .footer-logo .logo-text {
        font-size: 1.8rem;
    }
    
    /* Скрываем декоративные элементы на планшетах */
    .service-header::before,
    .contact-info::before {
        display: none;
    }
}

/* Большие мобильные (576px - 767px) */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .service-header h1 {
        font-size: 2.2rem;
    }
    
    .service-header .lead {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .service-stats .row {
        gap: 20px;
    }
    
    .service-stats .col-md-4 {
        width: calc(50% - 10px);
    }
    
    .step-item {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .step-content {
        width: 100%;
    }
    
    .process-steps::before {
        left: 30px;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

/* Маленькие мобильные (до 575px) */
@media (max-width: 575px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .service-header {
        padding: 40px 0;
    }
    
    .service-header h1 {
        font-size: 1.8rem;
    }
    
    .service-title {
        font-size: 1.6rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-price {
        font-size: 1.5rem;
    }
    
    .service-cta {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .service-stats .col-md-4 {
        width: 100%;
    }
    
    .booking-btn-large {
        padding: 18px 25px;
        font-size: 1rem;
    }
    
    .booking-btn-large i {
        margin-right: 10px;
        font-size: 1.2rem;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-right: 15px;
    }
    
    .contact-text .label {
        font-size: 1rem;
    }
    
    .contact-text .value {
        font-size: 1rem;
    }
    
    .brand-logo {
        height: 130px;
        padding: 20px 10px;
    }
    
    .brand-icon {
        font-size: 2.5rem;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .table thead th {
        padding: 15px 10px;
        font-size: 0.95rem;
    }
    
    .table tbody td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .accordion-button {
        padding: 20px;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    .footer-news-title {
        font-size: 1rem;
    }
    
    .footer-news-text {
        font-size: 0.9rem;
    }
    
    .footer-links a, .footer-services a {
        font-size: 1rem;
    }
    
    .copyright {
        font-size: 0.85rem;
    }
    
    /* Скрываем сложные элементы на мобильных */
    .service-header::before,
    .contact-info::before,
    .map-placeholder::before,
    .cta-section::before,
    .brand-logo::before,
    .feature-card::before,
    .related-service::before,
    .file-item::before,
    .stat-item::before {
        display: none;
    }
    
    /* Упрощаем процесс-степс */
    .process-steps::before {
        display: none;
    }
    
    .step-item {
        padding-left: 0;
    }
    
    .chip-process::before {
        display: none;
    }
    
    .chip-step {
        padding-left: 0;
    }
    
    .chip-step::before {
        position: relative;
        margin-bottom: 15px;
    }
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .nav-link {
        padding: 0.5rem !important;
        margin: 0 0.25rem;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .service-header h1 {
        font-size: 1.6rem;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .service-title {
        font-size: 1.4rem;
    }
    
    .service-icon-large {
        font-size: 3rem;
        padding: 12px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        font-size: 2.8rem;
    }
}