/* ==================== */
/* МЕДИА-ЗАПРОСЫ ДЛЯ АДАПТИВНОСТИ */
/* ==================== */
/* ==================== */
/* МЕДИА-ЗАПРОСЫ ДЛЯ АДАПТИВНОСТИ */
/* ==================== */

/*/* Планшеты (768px - 1024px) */
/*@media (max-width: 1024px) {*/
/*    .main-title-overlay h1 {*/
/*        font-size: 2.5rem;*/
/*    }*/

/*    .main-title-overlay p {*/
/*        font-size: 1.2rem;*/
/*    }*/

/*    .three-column-layout {*/
/*        min-height: 80vh;*/
/*    }*/

/*    .content-item {*/
/*        padding: 1.5em;*/
/*    }*/

/*    .content-item h3 {*/
/*        font-size: 1.1em;*/
/*    }*/

/*    .info-title {*/
/*        font-size: 2.8rem;*/
/*    }*/

/*    .info-subtitle {*/
/*        font-size: 1.3rem;*/
/*        margin-bottom: 3rem;*/
/*    }*/

/*    .services-grid {*/
/*        gap: 1.5rem;*/
/*        margin-bottom: 3rem;*/
/*    }*/

/*    .service-card {*/
/*        padding: 1.5rem;*/
/*    }*/

/*    .service-icon {*/
/*        font-size: 2.5rem;*/
/*    }*/

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

/*    .cta-section {*/
/*        padding: 2.5rem;*/
/*    }*/

/*    .advantages-section {*/
/*        min-height: auto;*/
/*        padding: 40px 0;*/
/*    }*/

/*    .advantages-grid p {*/
/*        font-size: 1.1rem;*/
/*    }*/
/*}*/

/* Мобильные устройства (576px - 768px) */
@media (max-width: 768px) {
    .header-logo {
        margin-bottom: 0;
        justify-content: center;
    }

    .header-content {
        justify-content: center;
    }

    .columns-section {
        height: auto;
        min-height: 100vh;
    }

    /*.three-column-layout {*/
    /*    !*flex-direction: row;*!*/
    /*    flex-direction: column;*/
    /*    min-height: auto;*/
    /*}*/

    .column {
        min-height: 33.33vh;
        flex: none;
    }

    .column.active {
        flex: none;
        min-height: 40vh;
    }

    .main-title-overlay {
        top: 2em;
        position: absolute;
    }

    .main-title-overlay h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .main-title-overlay p {
        font-size: 1rem;
    }

    .column-content {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .content-item {
        padding: 1em;
        margin-bottom: 10px;
    }

    .content-item h3 {
        font-size: 1em;
    }

    .content-item p {
        font-size: 0.9em;
    }

    /*.info-section {*/
    /*    min-height: auto;*/
    /*    padding: -40px 0;*/
    /*}*/

    .info-title {
        font-size: 2.2rem;
    }

    .info-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-card:hover {
        transform: none;
    }

    .service-icon {
        font-size: 2rem;
    }

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

    .service-card p {
        font-size: 0.95rem;
    }

    .cta-section {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .advantages-section {
        padding: 30px 0;
        min-height: auto;
    }

    .advantage-icon {
        font-size: 1.8rem;
    }

    .advantages-grid h3 {
        font-size: 1.3rem;
    }

    .advantages-grid p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Маленькие мобильные (до 576px) */
@media (max-width: 576px) {
    .main-title-overlay h1 {
        font-size: 1.8rem;
    }

    .main-title-overlay p {
        font-size: 0.9rem;
    }
    /*.three-column-layout {*/
    /*    flex-direction: row;*/
    /*    min-height: 100vh;*/
    /*}*/

    .column {
        min-height: 30vh;
    }

    .content-item {
        padding: 0.8em;
    }

    .content-item h3 {
        font-size: 0.9em;
        margin-bottom: 5px;
    }

    .content-item p {
        font-size: 0.8em;
        line-height: 1.3;
    }

    .info-title {
        font-size: 1.8rem;
    }

    .info-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .cta-section {
        padding: 1.2rem;
    }

    .cta-section p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .advantage-icon {
        font-size: 1.5rem;
    }

    .advantages-grid h3 {
        font-size: 1.2rem;
    }

    .advantages-grid p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}
/* Мобильные устройства (до 480px) */
/*@media (max-width: 480px) {*/
/*    .three-column-layout {*/
/*        flex-direction: row !important;*/
/*    }*/

/*    .column {*/
/*        min-height: 30vh;*/
/*        flex: none;*/
/*    }*/
/*}*/

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

    /*.three-column-layout {*/
    /*    !*flex-direction: column;*!*/
    /*    flex-direction: row;*/
    /*    min-height: 100vh;*/
    /*}*/

    .column {
        min-height: 100vh;
    }

    .main-title-overlay {
        top: 1.5em;
    }

    .main-title-overlay h1 {
        font-size: 1.5rem;
    }

    .main-title-overlay p {
        font-size: 0.8rem;
    }

    .content-item {
        padding: 0.8em;
    }

    .content-item h3 {
        font-size: 0.8em;
    }

    .content-item p {
        font-size: 0.7em;
    }
}


/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .advantages-section {
        min-height: auto;
        padding: 40px 0;
    }

    .advantages-grid p {
        font-size: 1.1rem;
    }

    .magazine-blocks {
        width: 90%;
    }

    .magazine-block {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 20px;
    }

    .magazine-block.reverse {
        flex-direction: column;
    }

    .block-content {
        min-width: auto;
        max-width: 100%;
        text-align: center;
    }

    .block-image {
        width: 100%;
        max-width: 500px;
        height: 350px;
    }

    .philosophy-section h2 {
        font-size: 2.5rem;
    }

    .philosophy-item p {
        font-size: 1.1rem;
    }

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

    .about-cta h2 {
        font-size: 2.5rem;
        margin-top: -1rem;
    }

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

    .contacts-map {
        order: 2;
    }

    .contacts-info {
        order: 1;
    }

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

/* Мобильные устройства (576px - 768px) */
@media (max-width: 768px) {
    .advantages-section {
        padding: 30px 0;
    }

    .advantage-icon {
        font-size: 1.8rem;
    }

    .advantages-grid h3 {
        font-size: 1.3rem;
    }

    .advantages-grid p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .about-title,
    .contacts-title {
        top: 2em;
        font-size: 1.5rem;
    }

    .magazine-blocks {
        width: 95%;
        margin: 20px auto;
    }

    .magazine-block {
        padding: 15px;
        margin-bottom: 15px;
    }

    .block-image {
        height: 250px;
    }

    .philosophy-section {
        min-height: auto;
        padding: 40px 0;
    }

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

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

    .philosophy-item h3 {
        font-size: 1.3rem;
    }

    .philosophy-item p {
        font-size: 1rem;
    }

    .projects-grid-section {
        padding: 40px 0;
        min-height: auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .about-cta h2 {
        font-size: 2rem;
        margin-top: 0;
    }

    .cta-button-about {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .contacts-hero h1 {
        font-size: 2rem;
    }

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

    .contacts-grid {
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .map-placeholder {
        height: 400px;
    }

    .contacts-block,
    .contact-form-block {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .extra-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Маленькие мобильные (до 576px) */
@media (max-width: 576px) {
    .advantages-section {
        padding: 20px 0;
    }

    .advantage-icon {
        font-size: 1.5rem;
    }

    .advantages-grid h3 {
        font-size: 1.2rem;
    }

    .magazine-block {
        padding: 10px;
    }

    .block-image {
        height: 200px;
    }

    .block-category {
        font-size: 0.7rem;
    }

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

    .projects-grid {
        gap: 0.3rem;
    }

    .about-cta h2 {
        font-size: 1.8rem;
    }

    .contacts-hero {
        padding: 40px 0;
    }

    .contacts-hero h1 {
        font-size: 1.8rem;
    }

    .map-placeholder {
        height: 300px;
    }

    .contact-form .form-group {
        margin-bottom: 0.8rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* !*Большие экраны (более 1440px) *!*/
/*@media (min-width: 1440px) {*/
/*    .magazine-blocks {*/
/*        max-width: 1600px;*/
/*    }*/

/*    .block-image {*/
/*        width: 700px;*/
/*        height: 500px;*/
/*    }*/

/*    .projects-grid {*/
/*        grid-template-columns: repeat(3, 1fr);*/
/*        max-width: 1600px;*/
/*        margin-left: auto;*/
/*        margin-right: auto;*/
/*    }*/
/*}*/

/* Портретная ориентация мобильных */
@media (max-width: 768px) and (orientation: portrait) {
    .magazine-block {
        margin-bottom: 30px;
    }

    .block-image {
        height: 280px;
    }
}

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

    .magazine-block {
        flex-direction: row;
        text-align: left;
    }

    .block-content {
        text-align: left;
    }
}

/* Высокие экраны */
@media (min-height: 1000px) {
    .advantages-section {
        min-height: 70vh;
    }

    .projects-grid-section {
        min-height: 60vh;
    }
}

