/* /book/onward-ticket (pages/bookOnward.ejs, с 08.11.2026). Рукописный CSS, исходника в src/styles нет.
   Форма брони — book.css (как на /book/<страна>), тёмный блок шагов — landing-blocks.css (.steps),
   FAQ — questions.css. Здесь только блоки этой страницы, все под .onw: на других страницах их нет.
   Цвета и шрифты — DESIGN.md: синий #4450F2, чёрный #141414, сиреневый #DAD9FB, Poppins для заголовков,
   Inter для текста. */

.onw {
    --onw-blue: #4450F2;
    --onw-ink: #141414;
    --onw-muted: #5F6875;
    --onw-lavender: #DAD9FB;
    --onw-soft: #F6F6F6;
    --onw-line: #E3E3E8;
    --onw-gap: clamp(64px, 9vw, 104px);
    color: var(--onw-ink);
    font-family: "Inter", Roboto, sans-serif;
}

.onw a { color: var(--onw-blue); }
.onw a:hover { color: #1D29C7; }

/* ── заголовки и текст ── */
.onw-h2 {
    margin: 0 0 16px;
    font-family: "Poppins", Roboto, sans-serif;
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--onw-ink);
    text-wrap: balance;
}
.onw-h2--light { color: #FFFFFF; margin-bottom: 40px; }

.onw-text {
    max-width: 760px;
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 30px;
}

/* ── первый экран ── */
.onw-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: center;
    padding: 40px 0 var(--onw-gap);
}

.onw-kicker {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--onw-blue);
}

.onw-hero__title {
    margin: 0 0 20px;
    font-family: "Poppins", Roboto, sans-serif;
    font-size: 52px;
    line-height: 60px;
    font-weight: 600;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.onw-hero__lead {
    max-width: 560px;
    margin: 0 0 24px;
    font-size: 19px;
    line-height: 31px;
}

.onw-facts {
    display: grid;
    gap: 10px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    font-size: 16px;
    line-height: 24px;
}
.onw-facts li {
    position: relative;
    padding-left: 32px;
}
.onw-facts li::before {
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--onw-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11'%3E%3Cpath fill='%23fff' d='M4.8 10.93 4.68 11 0 6.45l2.2-2.09 2.52 2.46L11.8 0 14 2.13z'/%3E%3C/svg%3E") center / 12px no-repeat;
    content: "";
}

.onw-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.onw-btn,
.onw a.onw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 0 32px;
    border-radius: 10px;
    background: var(--onw-blue);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.44;
    color: #FFFFFF;
    transition: background .2s;
}
.onw a.onw-btn:hover { background: #1D29C7; color: #FFFFFF; }

.onw-link { font-size: 15px; text-decoration: underline; }

/* ── «что видит авиакомпания»: Manage booking с кодом образца ── */
.onw-check {
    margin: 0;
    padding: 32px;
    border-radius: 28px;
    background: var(--onw-lavender);
}

.onw-check__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 16px 16px 0 0;
    background: #EDEDF5;
}
.onw-check__bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #C8C8D6;
}
.onw-check__bar em {
    margin-left: 10px;
    font-size: 13px;
    font-style: normal;
    color: var(--onw-muted);
}

.onw-check__body {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 0 0 16px 16px;
    background: #FFFFFF;
    box-shadow: 0 12px 32px rgba(20, 20, 60, .12);
}

.onw-check__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.onw-check__field {
    padding: 10px 14px;
    border: 1px solid var(--onw-line);
    border-radius: 10px;
}
.onw-check__field small {
    display: block;
    font-size: 12px;
    line-height: 15px;
    color: #9299A2;
}
.onw-check__field b {
    font-size: 17px;
    line-height: 26px;
    font-weight: 600;
    letter-spacing: .06em;
}

.onw-check__result {
    padding: 16px;
    border-radius: 12px;
    background: var(--onw-soft);
}
.onw-check__status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #18794E;
}
.onw-check__status i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22A06B;
    box-shadow: 0 0 0 4px rgba(34, 160, 107, .18);
}

.onw-check__flight {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.onw-check__flight b {
    display: block;
    font-family: "Poppins", Roboto, sans-serif;
    font-size: 26px;
    line-height: 30px;
    font-weight: 600;
}
.onw-check__flight small {
    font-size: 13px;
    color: var(--onw-muted);
}
.onw-check__line {
    position: relative;
    flex: 1;
    height: 2px;
    background: repeating-linear-gradient(90deg, #B9BCD0 0 6px, transparent 6px 12px);
}
.onw-check__line::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%) rotate(90deg);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234450F2' d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E") center / contain no-repeat;
    content: "";
}

.onw-check__rows {
    display: grid;
    gap: 6px;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}
.onw-check__rows div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.onw-check__rows dt { color: var(--onw-muted); }
.onw-check__rows dd { margin: 0; font-weight: 500; text-align: right; }

.onw-check figcaption {
    margin-top: 14px;
    font-size: 13px;
    line-height: 18px;
    color: #4B4E6D;
}

/* ── шаги (landing-blocks.css .steps) ── */
.onw-steps { margin-bottom: var(--onw-gap); }
.onw-steps .step__title { margin-top: 0; }

/* ── заголовок формы ── */
.onw-book { scroll-margin-top: 80px; }

/* ── секции под формой ── */
.onw-section { margin-top: var(--onw-gap); }

.onw-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.onw-card {
    padding: 28px;
    border-radius: 24px;
    background: var(--onw-soft);
}
.onw-card h3 {
    margin: 0 0 10px;
    font-family: "Poppins", Roboto, sans-serif;
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
}
.onw-card p {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
}

.onw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 24px;
    padding: 0;
    list-style: none;
}
.onw-chips a,
.onw .onw-chips a {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #D4D4D4;
    border-radius: 999px;
    background: #FFFFFF;
    font-size: 15px;
    color: var(--onw-ink);
    transition: border-color .2s;
}
.onw .onw-chips a:hover { border-color: var(--onw-ink); color: var(--onw-ink); }

.onw-note {
    max-width: 760px;
    margin: 0;
    padding: 16px 20px;
    border-left: 4px solid var(--onw-blue);
    border-radius: 0 12px 12px 0;
    background: #F1F1FD;
    font-size: 16px;
    line-height: 26px;
}

/* ── таблица сравнения ── */
.onw-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--onw-line);
    border-radius: 20px;
}
.onw-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 22px;
}
.onw-table th,
.onw-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--onw-line);
    text-align: left;
    vertical-align: top;
}
.onw-table tbody tr:last-child th,
.onw-table tbody tr:last-child td { border-bottom: 0; }
.onw-table thead th {
    font-size: 14px;
    font-weight: 600;
    color: var(--onw-muted);
}
.onw-table tbody th {
    width: 22%;
    font-weight: 600;
}
.onw-table .onw-table__ours { background: #F1F1FD; }
.onw-table thead .onw-table__ours { color: var(--onw-blue); }

/* ── срок и проверка ── */
.onw-hold {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}
.onw-hold .onw-h2 { font-size: 28px; line-height: 36px; }

/* ── форма (book.css): подпись галочки «I agree to receive news…» не переносится и на телефоне шире экрана
   (так и на /book и страницах стран — там не трогаем) ── */
.onw .checkbox-text { white-space: normal; }

/* ── FAQ (questions.css) ── */
.onw .questions { padding-bottom: 24px; }
.onw .questions .question .title { margin: 0; }
.onw-more { margin-top: 24px; }

@media (max-width: 992px) {
    .onw-hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 16px;
    }
    .onw-hero__title { font-size: 40px; line-height: 48px; }
    .onw-cards,
    .onw-hold { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .onw-hero__title { font-size: 32px; line-height: 40px; }
    .onw-hero__lead,
    .onw-text { font-size: 16px; line-height: 26px; }
    .onw-h2 { font-size: 28px; line-height: 36px; }
    .onw-check { padding: 16px; border-radius: 20px; }
    .onw-check__body { padding: 14px; }
    .onw-check__flight b { font-size: 22px; }
    .onw-btn,
    .onw a.onw-btn { width: 100%; }
}
