﻿/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../font/latin300.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../font/latin400.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../font/latin600.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../font/latin700.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --accent: #0b63d6;
    --accent-2: #0a4fb0;
    --muted: #6b7280;
    --bg-1: #f6fbff;
    --bg-2: #eef6ff;
    --card: #ffffff;
    --radius: 14px;
}

* {
    box-sizing: border-box
}

html, body {
    min-height: 100%;
    cursor: default
}

body {
    margin: 0;
    font-family: Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial;
    color: #0f1724;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    background: linear-gradient(180deg,var(--bg-1),var(--bg-2));
    min-height: 100vh;
}

a {
    text-decoration: none;
    border: 2px dotted #ffffff;
    border-bottom: 2px dotted #0b63d6;
    color: #0b63d6
}

    a:hover, a:focus, a:active {
        border: 2px dotted #0b63d6;
        cursor: pointer
    }

noscript {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(255,255,255,0.8);
    z-index: 99;
    text-align: center;
    pointer-events: none;
    backdrop-filter: blur(4px)
}

    noscript div {
        position: relative;
        margin: auto;
        margin-top: 20vh;
        font-size: 1.5rem;
        background-color: #fff0f0;
        display: inline-block;
        padding: 10px
    }

.bg-image {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.1;
    pointer-events: none;
}

@media (max-width:980px) {
    .bg-image {
        background-attachment: scroll
    }
}

.container {
    max-width: 1100px;
    margin: 28px auto;
    padding: 20px
}

header {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 6px
}

h1 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--accent);
    line-height: 1.15
}

.tagline {
    color: var(--muted);
    font-weight: 500
}

.hero-card {
    margin-top: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.95));
    border-radius: 16px;
    padding: 18px;
    display: flex;
    gap: 18px;
    align-items: center;
    box-shadow: 0 12px 40px rgba(12,40,80,0.06);
    border: 1px solid rgba(15,23,36,0.04);
}

.hero-left {
    flex: 1;
    min-width: 0
}

.meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px
}

.pill {
    background: var(--card);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #0f1724;
    box-shadow: 0 6px 18px rgba(12,40,80,0.04)
}

.portrait {
    width: 120px;
    height: 120px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(15,23,36,0.06);
    box-shadow: 0 10px 30px rgba(12,40,80,0.06);
}

    .portrait img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease
    }

    .portrait:hover img {
        transform: scale(1.2)
    }

main {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    margin-top: 22px
}

.card {
    background: var(--card);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(12,40,80,0.04);
    border: 1px solid rgba(15,23,36,0.03)
}

h2 {
    margin: 0 0 10px 0;
    color: var(--accent);
    font-size: 1.05rem
}

p {
    margin: 0 0 12px 0;
    color: #111827
}

.aircraft-photo {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(15,23,36,0.04);
    box-shadow: 0 12px 30px rgba(12,40,80,0.06)
}

    .aircraft-photo img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.4s ease
    }

    .aircraft-photo:hover img {
        transform: scale(1.2)
    }

.airfield-photo {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(15,23,36,0.04);
    background: linear-gradient(180deg,#fff,#fbfdff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 600;
}

    .airfield-photo img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.4s ease
    }

    .airfield-photo span {
        position: absolute;
        right: 14px;
        bottom: 6px;
        color: #ffffff;
        pointer-events: none;
        font-size: 0.5rem
    }

    .airfield-photo:hover img {
        transform: scale(1.2)
    }

.cost-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px
}

.cost-item {
    background: linear-gradient(180deg,#fbfdff,#fff);
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 600;
    color: #0f1724;
    border: 1px solid rgba(11,99,214,0.06);
    font-size: 0.95rem
}

.chat {
    position: sticky;
    top: 28px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg,var(--accent),var(--accent-2));
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(11,99,214,0.16);
}

    .btn.secondary {
        background: transparent;
        color: var(--accent-2);
        border: 1px solid rgba(11,99,214,0.12);
        box-shadow: none;
        font-weight: 600
    }

.faq {
    margin-top: 18px
}

.faq-header {
    display: flex;
    align-items: baseline;
    gap: 12px
}

    .faq-header h2 {
        margin: 0;
        font-size: 1.05rem
    }

    .faq-header .subtitle {
        color: var(--muted);
        font-size: 0.95rem;
        margin-top: 2px
    }

.faq-item {
    border-top: 1px solid rgba(15,23,36,0.04);
    padding: 12px 0
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer
}

    .faq-question h3 {
        margin: 0;
        font-size: 1rem;
        color: #0b63d6
    }

.faq-answer {
    margin-top: 8px;
    display: none;
    color: #111827;
    padding-left: 6px
}

.faq-open .faq-answer {
    display: block
}

.icon {
    font-weight: 700;
    color: var(--accent);
    min-width: 28px;
    text-align: center;
    border-radius: 6px;
    padding: 6px 8px;
    background: linear-gradient(180deg,#fff,#f6fbff);
    border: 1px solid rgba(11,99,214,0.06)
}

footer {
    margin-top: 28px;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    padding-bottom: 28px
}

#imprintOverlay {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(255,255,255,0.5);
    z-index: 10;
    display: none;
    backdrop-filter: blur(4px)
}

    #imprintOverlay div {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        background-color: #ffffff;
        border: 2px solid #888888;
        border-radius: 15px;
        padding: 15px;
        padding-left: 30px;
        padding-right: 30px;
        max-width: 90vw
    }

    #imprintOverlay p {
        max-height: 60vh;
        overflow: hidden;
        overflow-y: scroll
    }

@media (max-width:980px) {
    main {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .portrait {
        width: 96px;
        height: 96px
    }

    .chat {
        position: static
    }

    .airfield-photo {
        height: 160px
    }

    .hero-card {
        flex-direction: column;
        align-items: flex-start
    }

    header {
        gap: 12px
    }
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    padding: 20px;
    z-index: 9;
    display: none;
}

.contact-modal {
    background: #ffffff;
    padding: 24px;
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.3s ease;
    font-family: "Inter", sans-serif;
}

    .contact-modal h2 {
        margin-bottom: 20px;
        font-size: 22px;
        font-weight: 600;
    }

    .contact-modal label {
        font-weight: 500;
        margin-bottom: 6px;
        display: block;
    }

    .contact-modal input,
    .contact-modal textarea {
        width: 100%;
        padding: 14px;
        margin-bottom: 16px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .contact-modal input:focus,
        .contact-modal textarea:focus {
            border-color: #4a8bff;
            box-shadow: 0 0 0 3px rgba(74, 139, 255, 0.25);
            outline: none;
        }

    .contact-modal button {
        width: 100%;
        padding: 14px;
        background: #4a8bff;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 17px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s ease;
    }

        .contact-modal button:hover {
            background: #2f6fe0;
        }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .contact-modal {
        padding: 20px;
        border-radius: 12px;
    }

        .contact-modal h2 {
            font-size: 20px;
        }

        .contact-modal input,
        .contact-modal textarea {
            font-size: 15px;
            padding: 12px;
        }

        .contact-modal button {
            font-size: 16px;
            padding: 12px;
        }
}

.contact-hint {
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #555;
    line-height: 1.4;
}

.form-success {
    display: none;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

    .form-success.show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }