@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: system-ui, 'Open Sans', 'Helvetica Neue', sans-serif;
    overflow-x: auto;
    display: contents;
}


.aviation-page {
    max-width: 1920px;
    margin: 0 auto;
    background: white;
    position: relative;
    width: 100%;
}


/* ========== HEADER STYLES ========== */
.header {
    background: white;
    border-bottom: 2px solid #236CA3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    flex-wrap: wrap;
}


.logo {
    width: 226px;
    height: 39px;
    border-radius: 6px;
}


.nav-links {
    display: flex;
    gap: 40px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    flex-wrap: wrap;
}


.nav-links a {
    color: black;
    cursor: pointer;
    text-decoration: none;
}
.nav-links a:hover{
        color: #ffc400;
}
@media (max-width: 1200px){
    .header{
        padding: 20px;
    }
    .nav-links {
        display: none;
    }
}


/* ========== HERO SECTION ========== */
.hero-section {
    background-image: url('/img/plane.png');
    background-size: cover;
    background-position: center;
    height: 453px;
    position: relative;
}


.hero-overlay {
    width: 50%;
    height: 100%;
    background: rgba(35, 108, 163, 0.92);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    /* padding-right: 80px; */
}


.hero-title h1{
    color: white;
    font-size: 64px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: right;
    line-height: 1.2;
    margin: 0 30px 30px 30px;
}


.quote-btn {
    background: white;
    padding: 12px 35px;
    margin-top: 35px;
    font-size: 50px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    color: rgba(35, 108, 163, 0.92);
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
}
.quote-btn:hover{
     color: #fff;
         background: rgba(35, 108, 163, 0.92);
         border: 1px solid #fff;


}




@media (max-width: 1600px){
    .hero-title h1{
           font-size: 48px;
    }


}




/* ========== WELCOME SECTION ========== */
.welcome-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 60px 50px 40px;
}


.welcome-image {
    width: 176px;
    height: 196px;
}


.welcome-text {
    font-size: 24px;
    font-family: 'Open Sans', sans-serif;
    color: black;
    max-width: 800px;
    line-height: 1.4;
}


/* ========== EXPERT SECTION ========== */
.expert-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}


/* .expert-left {
    border-right: 3px solid #236CA3;
    padding-right: 50px;
} */


.expert-title {
    color: #236CA3;
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: -35px;
}


.expert-main {
    color: #236CA3;
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
}


.expert-sub {
    color: #236CA3;
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
}


.services-list {
    flex: 1;
        border-left: 3px solid #236CA3;
    padding: 12px 0 0 50px;
}


.service-item {
    border-bottom: 3px solid #A4A4A4;
    padding: 12px 0;
    font-size: 30px;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    color: #A4A4A4;


}




@media (max-width: 1200px){
.expert-left{
    width: 100%;
}
}


/* ========== ABOUT SECTION ========== */
.about-staff {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 60px 50px;
    align-items: center;
}


.about-staff-image {
    width: 460px;
    height: auto;
}


.about-staff-text {
    flex: 1;
    font-size: 29px;
    font-family: 'Open Sans', sans-serif;
    color: black;
}


.about-divider {
    height: 3px;
    background: #236CA3;
    width: 100%;
    margin: 20px 0;
}


/* ========== DARK ABOUT BACKGROUND ========== */
.dark-about {
    background-image: url('/img/backg_img.png');
    background-size: cover;
    padding: 60px 50px;
    color: white;
    text-align: center;
   
}


.dark-about-title {
    font-size: 60px;
    font-weight: 700;
    font-family: 'Open Sans Condensed', sans-serif;
}


.dark-about-text {
    max-width: 1300px;
    margin: 30px auto 0;
    font-size: 24px;
    line-height: 1.4;
}


/* ========== CONDITION CODES ========== */
.conditions-section {
    padding: 50px 50px 30px;
    max-width: 1300px;
    margin: auto;
}


.conditions-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #5E5E5E;
    margin-bottom: 40px;
}


.conditions-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0;
}


.cond-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: 100%;
}


.code {
    font-weight: 700;
    color: #236CA3;
    font-size: 26px;
    min-width: 70px;
}


.desc {
    color: #A4A4A4;
    font-weight: 700;
    font-size: 26px;
}


.conditions-note {
    text-align: center;
    font-size: 24px;
    color: #5E5E5E;
    margin-top: 20px;
    font-weight: 700;
    text-align: end;
}






/* ========== PRODUCTS SHOWCASE ========== */
.products-section {
    padding: 40px 50px;
}


.products-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #5E5E5E;
    margin-bottom: 50px;
}


.product-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 50px 0;
}


.product-card {
    text-align: center;
}


.product-card img {
    width: 260px;
    height: 146px;
    object-fit: cover;
}


.product-title {
    font-size: 54px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    color: #A4A4A4;
    text-transform: uppercase;
    border-top: 3px solid #236CA3;
    margin-top: 5px;


}


/* ========== OVERHAUL SECTION ========== */
.overhaul-section {
    background: #E9E9E9;
    padding: 60px 50px;
    text-align: center;
}


.overhaul-title {
    font-size: 48px;
    font-weight: 700;
    color: #5E5E5E;
    margin-bottom: 30px;
}


.overhaul-text {
    max-width: 1300px;
    margin: 0 auto;
    font-size: 30px;
    color: #5E5E5E;
    line-height: 1.4;
    text-align: justify;
    line-height: 30px;
}


/* ========== EXCHANGE SECTION ========== */
.exchange-section {
    padding: 60px 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}


.exchange-content {
    flex: 1;
}


.exchange-title {
    font-size: 48px;
    font-weight: 700;
    color: #5E5E5E;
    margin-bottom: 20px;
}


.exchange-text {
    font-size: 30px;
    color: #5E5E5E;
    line-height: 1.4;
}


.exchange-image {
    width: 426px;
    height: auto;


}


/* ========== FOOTER ========== */
.footer {
    background: #3185BC;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    gap: 30px;
}


.footer-logo {
    width: 10%;
    height: auto;
}


.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 3px solid white;
    padding-left: 28px;
    width: 30%;


}


.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
}
.footer-links a:hover{
    color: #337ab7;
    background: #fff;
}


.footer-contact {
    border-left: 3px solid white;
    padding-left: 28px;
    font-size: 28px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    line-height: 1.4;
    width: 60%;
}


/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero-overlay {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
   
    .hero-title {
        text-align: center;
        font-size: 48px;
    }
   
    .directions-block {
        padding: 0 24px 60px;
    }
   
    .about-block-title h2 {
        font-size: 36px;
    }
}


@media (max-width: 800px) {
    .hero-title {
        font-size: 40px;
    }
   
    .service-item {
        font-size: 22px;
    }
   
    .expert-main {
        font-size: 80px;
    }
   
    .expert-title {
        font-size: 40px;
    }
   
    .expert-sub {
        font-size: 28px;
    }
   
    .conditions-title {
        font-size: 36px;
    }
   
    .code, .desc {
        font-size: 18px;
    }
   
    .product-title {
        font-size: 36px;
    }
   
    .overhaul-title,
    .exchange-title {
        font-size: 36px;
    }
   
    .overhaul-text,
    .exchange-text {
        font-size: 22px;
    }
   
    .footer-contact {
        font-size: 20px;
    }
}








@media (max-width: 648px){


.hero-section {
    margin-top: 20px;


}
    .hero-overlay {
        width: 80%;  
        margin: auto;
    }
        .hero-title h1 {
        font-size: 26px;
        margin: auto;
        text-align: center;
    }
    .quote-btn {
    font-size: 24px;
    width: 100%;
    }


    .welcome-section {
        padding: 50px 25px;
    }
.expert-section {
    padding: 25px;
}
.expert-title{
    margin-bottom: -15px;
}
.about-staff{
    padding: 60px 25px;
}
.about-staff-image {
    width: 100%;
}
.dark-about {
    padding: 60px 25px;
}
.conditions-section {
    padding: 50px 25px 30px;
}
.products-section {
    padding: 40px 25px;
}
.products-title {
    text-align: center;
    font-size: 32px;
}
.overhaul-section {
    padding: 60px 25px;


}
.exchange-section {
    padding: 60px 25px;
}
.exchange-image {
    width: 100%;
}
.footer{
    flex-wrap: wrap;
    padding: 25px;


}
.footer-logo {
    width: 60%;
}
.footer-links {
    width: 100%;
}
    .footer-contact {
        width: 100%;
    }




}


.table-2 {
  width: 1200px;
  height: auto;
  margin: 0 auto 50px;
  display: flex;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 4px 4px 8px 0px rgba(3, 2, 2, 0.2);
  font-size: 14px;
  justify-content: center;
}


.white {
  width: 180px;
  padding-left: 10px;
}


.grey {
  width: 180px;
  background: #c5c5c5;
  padding-left: 10px;
}


@media (max-width: 767px) {
  .table-2 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0px;
  }
  .table-2 .grey {
    width: 150px;
    padding-left: 10px;
  }
  .table-2 .white {
    width: 150px;
    padding-left: 10px;
  }
}
.table {
  width: 1200px;
  min-height: 500px;
  margin: auto;
  display: flex;
  border-radius: 20px;


  box-shadow: 4px 4px 8px 0px rgba(3, 2, 2, 0.2);
  padding: 40px 0;
    box-sizing: border-box;
}


.table  ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style-type: disc;
  margin-left: 50px;
}
.table  ul li div {
  width: 350px;
  display: flex;
  justify-content: space-between;
}
.table ul li div span {
  width: 150px;
}
ul li::marker {
  color: #236CA3;
  font-size: 25px;
}


@media (max-width: 767px) {
  .table {
    flex-wrap: wrap;
    width: 100%;
  }
  .table ul li div {
    width: 320px;
  }
}




.table-title{
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #5E5E5E;
    margin: 60px 0 40px;
}






 /* Общие стили страницы — создаём контекст, чтобы кнопка-триггер была видна */
        body {
            font-family: system-ui, 'Segoe UI', 'Roboto', sans-serif;
            background: linear-gradient(145deg, #e9f0f5 0%, #d9e2ec 100%);
            min-height: 100vh;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }


        /* Просто контейнер для демонстрации */
        .demo-container {
            text-align: center;
            background: rgba(255,255,255,0.7);
            backdrop-filter: blur(4px);
            border-radius: 2rem;
            padding: 2rem 3rem;
            box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
            border: 1px solid rgba(255,255,255,0.5);
        }


        /* Элемент с id="pop-up" — это будет кнопка/триггер для открытия модального окна */








        /* Затемнение (оверлей) — скрыт по умолчанию */
        .pdf-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(6px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            visibility: hidden;
            opacity: 0;
            transition: visibility 0.2s, opacity 0.25s ease;
        }


        /* Активное состояние (показываем оверлей) */
        .pdf-overlay.active {
            visibility: visible;
            opacity: 1;
        }


        /* Контейнер модального окна (попап) */
        .popup-container {
            background: white;
            width: 85vw;
            height: 85vh;
            max-width: 1100px;
            max-height: 90vh;


            box-shadow: 0 30px 45px rgba(0, 0, 0, 0.3);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            animation: fadeSlideUp 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            border: 1px solid rgba(255,255,255,0.3);
        }


        /* Небольшая анимация появления попапа */
        @keyframes fadeSlideUp {
            from {
                opacity: 0;
                transform: translateY(25px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        /* Верхняя панель с заголовком и кнопкой закрыть */
        .popup-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.9rem 1.5rem;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
            font-weight: 600;
            font-size: 1.1rem;
            color: #0f2c48;
        }


        .popup-header span:first-child {
            display: flex;
            align-items: center;
            gap: 8px;
        }


        .popup-header span:first-child::before {
            content: "📄";
            font-size: 1.2rem;
        }


        .close-popup {
            background: #eef2f6;
            border: none;
            font-size: 1.6rem;
            line-height: 1;
            cursor: pointer;
            padding: 0 0.6rem;
            color: #2c3e66;
            transition: 0.15s;
            font-weight: 600;
        }


        .close-popup:hover {
            background: #e0e7ed;
            color: #b91c1c;
            transform: scale(1.05);
        }


        /* Область для отображения PDF */
        .pdf-viewer {
            flex: 1;
            background: #eef2f5;
            position: relative;
            width: 100%;
            min-height: 0; /* для корректного flex-сжатия */
        }


        iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }


        /* Адаптив для мобильных устройств: чуть меньше отступы */
        @media (max-width: 640px) {
            .popup-container {
                width: 94vw;
                height: 85vh;
                border-radius: 20px;
            }
            .demo-container {
                padding: 1.5rem 1.8rem;
            }
            #pop-up {
                font-size: 1rem;
                padding: 0.7rem 1.5rem;
            }
        }


        /* подпись / стили для дополнительной информации */
        .info-text {
            margin-top: 1.8rem;
            font-size: 0.85rem;
            color: #2c3e50;
            background: rgba(255,255,240,0.7);
            padding: 0.5rem 1rem;
            border-radius: 60px;
            backdrop-filter: blur(4px);
        }
        a {
            color: #1e466e;
            text-decoration: none;
        }
        hr {
            width: 60px;
            margin: 0.7rem auto;
        }






        .form-overlay-fs {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000; /* Другой z-index, чтобы не пересекался */
            visibility: hidden;
            opacity: 0;
            transition: visibility 0.2s, opacity 0.25s ease;
        }


        .form-overlay-fs.active {
            visibility: visible;
            opacity: 1;
        }


        .form-popup-fs {
            background: white;
            width: 90%;
            max-width: 450px;
            box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            animation: fadeSlideUpFs 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }


        @keyframes fadeSlideUpFs {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        .form-popup-header-fs {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.2rem 1.5rem;
            background: #3185BC;
            color: white;
        }


        .form-popup-header-fs h3 {
            margin: 0;
            font-size: 1.3rem;
        }


        .close-form-btn-fs {
            border: none;
            font-size: 1.5rem;
            line-height: 1;
            cursor: pointer;
            width: 32px;
            height: 32px;
            color: #fff;
            transition: 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #3185BC;
        }


        .close-form-btn-fs:hover {
            background: rgba(255,255,255,0.3);
            transform: scale(1.1);
        }


        .form-content-fs {
            padding: 2rem;
        }


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


        .form-group-fs label {
            display: block;
            margin-bottom: 0.5rem;
            color: #333;
            font-weight: 600;
        }


        .form-group-fs input {
            width: 100%;
            padding: 0.875rem;
            border: 2px solid #e5e7eb;
            font-size: 1rem;
            transition: all 0.2s;
            font-family: inherit;
        }


        .form-group-fs input:focus {
            outline: none;
            border-color: #3185BC;
            box-shadow: 0 0 0 3px rgba(245, 87, 108, 0.1);
        }


        .submit-btn-fs {
            background: #3185BC;
            color: white;
            border: none;
            padding: 0.875rem 1.5rem;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: transform 0.2s, box-shadow 0.2s;
        }


        .submit-btn-fs:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }


        .submit-btn-fs:active {
            transform: translateY(0);
        }


        .success-message-fs {
            text-align: center;
            padding: 2rem;
            display: none;
        }


        .success-message-fs.show {
            display: block;
        }


        .success-message-fs h3 {
            color: #10b981;
            margin-bottom: 1rem;
        }


        .error-message-fs {
            color: #3185BC;
            font-size: 0.875rem;
            margin-top: 0.5rem;
            display: none;
        }


        .error-message-fs.show {
            display: block;
        }


        /* Кнопка-триггер для демонстрации */
        .demo-form-btn-fs {
            background: #3185BC;
            color: white;
            border: none;
            padding: 15px 35px;
            font-size: 18px;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: transform 0.2s;
            margin: 20px;
        }


        .demo-form-btn-fs:hover {
            transform: translateY(-2px);
        }
        
        
        
        
        
        .wpcf7-submit{
            background: #3185BC;
        }
