﻿@font-face{
    font-family:"Roboto";
    font-style:normal;
    font-weight:400;
    font-display:swap;
    src:url("../fonts/Roboto-Regular.woff2") format("woff2");
}
@font-face{
    font-family:"Roboto";
    font-style:normal;
    font-weight:500;
    font-display:swap;
    src:url("../fonts/Roboto-Medium.woff2") format("woff2");
}
@font-face{
    font-family:"Roboto";
    font-style:normal;
    font-weight:700;
    font-display:swap;
    src:url("../fonts/Roboto-Bold.woff2") format("woff2");
}

:root {
    --bg: #043f7c;
    --text: #ffffff;

    --btn-play: #fd4c00;
    --btn-reg: #71acef;

    --border: rgba(255, 255, 255, 0.18);
    --card: rgba(255, 255, 255, 0.08);
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    line-height: 1.55;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.mt {
    margin-top: 1em;
}
.mt2 {
  margin-top: 1.5em;
}
.mt4 {
  margin-top: 2em;
}

/* ==========================================================================
   Header
   ========================================================================== */

.topbar {
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)), linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,0) 55%, rgba(255,255,255,.05));
    border-bottom: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topbar__inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand__logo {
    width: 140px;
    max-width: 48vw;
}

.topbar__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Mobile nav (checkbox toggle) */
.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-burger {
    display: none;
    width: 44px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
}

.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    opacity: 0.9;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
}

.mobile-nav__inner {
    display: grid;
    gap: 10px;
    padding: 14px 0 18px;
}

.mobile-nav a {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle:checked ~ .mobile-nav {
    display: block;
}

.index {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    overflow: hidden;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, filter 0.15s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

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

.btn--play {
    background: var(--btn-play);
    color: #ffffff;
}

.btn--reg {
    background: var(--btn-reg);
    color: #ffffff;
}

/* ==========================================================================
   Content / Sections
   ========================================================================== */

.content {
    padding: 18px 0 26px;
}

.section {
    padding: 26px 0;
}

.section--hero {
    padding-top: 22px;
}

h1,
h2,
h3 {
    margin: 0 0 12px;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

h1 {
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.5;
    font-weight: 900;
}

h2 {
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.5;
    font-weight: 900;
    margin-top: 10px;
}

h3 {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 800;
    margin-top: 18px;

}

p {
    margin: 0 0 12px;
    opacity: 0.96;
    font-size: 110%;
}

strong {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
    font-weight: 700;
}

ul {
    margin: 0 0 12px 25px;
    padding: 0;
}

.list--clean {
    list-style: none;
    margin: 0 0 12px 25px;
    padding: 0;
}

.list--clean > li {
    margin: 6px 0;
}


li {
    margin: 6px 0;
}

/* Media blocks */

.figure {
    text-align: center;
}

.figure img {
    border-radius: 14px;
    margin: 2em auto;
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow);

}


.media__actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Burger */
.navbtn{
    display:none;
    width:42px;
    height:42px;
    border-radius:14px;
    background: rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
    cursor:pointer;
}
.navbtn span{
    display:block;
    width:18px;
    height:2px;
    margin:4px auto;
    background: rgba(244,246,255,.75);
    border-radius:2px;
}

/* Mobile nav */
.nav-mobile{ padding:10px 0 16px; }
.nav-mobile__link{
    display:block;
    margin:10px 0;
    padding: 6px 15px;
    border-radius:999px;
    color:#fff;
    border:1px solid rgba(255,255,255,.14);
    background: linear-gradient(180deg, var(--btn-play) 0%, var(--btn-play) 55%, #ff4a0f 100%);
    box-shadow:
            0 10px 24px rgba(255,92,27,.26),
            inset 0 1px 0 rgba(255,255,255,.16);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
    will-change: transform;
    font-size: 14px;
}
.nav-mobile__link:hover{
    transform: translateY(-2px);
    filter: saturate(1.06);
    border-color: rgba(255,255,255,.22);
    box-shadow:
            0 14px 34px rgba(255,92,27,.32),
            inset 0 1px 0 rgba(255,255,255,.20);
}




/* Mobile header layout */
.topbar__left{
    display:flex;
    align-items:center;
    gap:12px;
}

.topbar__actions{
    display:none; /* показываем только на мобиле */
    gap:10px;
    align-items:center;
    justify-content:flex-end;
}

.topbar__link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
    line-height: 1;
    color:#fff;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(180deg, var(--btn-play) 0%, var() 55%, #ff4a0f 100%);
    box-shadow:
            0 10px 20px rgba(255,92,27,.22),
            inset 0 1px 0 rgba(255,255,255,.16);
}

.topbar__link--ghost{
    color: rgba(244,246,255,.92);
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
    box-shadow:
            0 18px 46px rgba(0,0,0,.25),
            inset 0 1px 0 rgba(255,255,255,.06);
}

/* ==========================================================================
   Div tables (cards)
   ========================================================================== */

.kv {
    margin: 12px 0 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.kv__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.kv__row:first-child {
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
}

.kv__row:last-child {
    border-bottom: 0;
}

.kv__k {
    opacity: 0.95;
    font-weight: 700;
}

.kv__v {
    opacity: 0.95;
    font-weight: 500;
}

/* Grid table */
.grid-table {
    margin: 12px 0 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.grid-table__head {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 900;
}

.grid-table__row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.grid-table__row--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-table__cell {
    opacity: 0.95;
    font-weight: 500;
    word-break: break-word;
}

/* Mobile: each row becomes a card-like list */
@media (max-width: 720px) {
    .grid-table__head {
        display: none;
    }

    .grid-table__row,
    .grid-table__row--4 {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px;
    }

    .grid-table__cell {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.06);
    }

    .grid-table__cell::before {
        content: attr(data-label);
        font-weight: 900;
        opacity: 0.95;
    }
}


.indexbar{
    padding: 8px 0 22px;
}

.index{
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    overflow: hidden;
}

.index__summary{
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 16px;
    font-weight: 900;
    color: rgba(244,246,255,.92);
    user-select: none;
}
.index__summary::-webkit-details-marker{ display:none; }

.index__title{
    letter-spacing: .2px;
}

/* Chevron like your FAQ arrow */
.index__chev{
    width: 10px;
    height: 10px;
    display: inline-block;
    transform: rotate(45deg);
    border-right: 2px solid rgba(244,246,255,.65);
    border-bottom: 2px solid rgba(244,246,255,.65);
    transition: transform .18s ease, border-color .18s ease;
}

.index[open] .index__chev{
    transform: rotate(-135deg);
    border-color: rgba(255,92,27,.85);
}

.index__body{
    border-top: 1px solid rgba(255,255,255,.10);
    padding: 14px 14px 16px;
}

/* Buttons grid inside panel */
.index__nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 10px;
}

/* Reuse your orange pill look, but a bit calmer */
.index__link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    color: #fff;
    border: 1px solid rgba(255,255,255,.14);
    background: #043f7c;
    box-shadow: 0 10px 24px rgba(255,92,27,.20), inset 0 1px 0 rgba(255,255,255,.16);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
    will-change: transform;
    text-decoration: none;
}

.index__link:hover{
    transform: translateY(-2px);
    filter: saturate(1.06);
    border-color: rgba(255,255,255,.22);
    box-shadow:
            0 14px 34px rgba(255,92,27,.26),
            inset 0 1px 0 rgba(255,255,255,.20);
}


.breadcrumbs {
    margin-bottom: 2em;
}

/* ==========================================================================
   Form (Contacts)
   ========================================================================== */

.form {
    margin-top: 12px;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.field__label {
    font-weight: 800;
    letter-spacing: 0.2px;
    opacity: 0.95;
    margin-top: 10px;
}

.field__control {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    outline: none;
    font: inherit;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field__control--area {
    height: auto;
    min-height: 140px;
    resize: vertical;
    padding: 12px;
}

/* Place textarea across full width */
.field:has(.field__control--area) {
    grid-column: 1 / -1;
}

.field__control::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.field__control:focus {
    border-color: rgba(73, 147, 227, 0.9);
    box-shadow: 0 0 0 3px rgba(73, 147, 227, 0.25), 0 10px 28px rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

/* Actions under form */
.img-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.5em;
}

.meta {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    opacity: 0.92;
}

/* Make buttons consistent if not already */
.form .btn,
.img-actions .btn,
.img-actions button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 900;
    cursor: pointer;
}

/* Primary submit */
.btn--primary {
    background: #fd4c00;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
}

.btn--primary:hover {
    filter: brightness(1.03);
}

/* Ghost link button */
.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* Responsive: 1 column on mobile */
@media (max-width: 720px) {
    .form {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
  Contact form – stacked (like screenshot)
  ========================================================================== */

.form--stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 12px;
}

.form--stack .field {
    display: grid;
    gap: 8px;
}

.form--stack .field__label {
    font-weight: 800;
    opacity: 0.95;
}

.form--stack .field__control {
    width: 100%;
    height: 52px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    outline: none;
    font: inherit;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form--stack .field__control--area {
    height: auto;
    min-height: 170px; /* как на скрине */
    padding: 14px;
    resize: vertical;
}

.form--stack .field__control:focus {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(73, 147, 227, 0.18), 0 12px 28px rgba(0, 0, 0, 0.20);
}

/* Buttons row */
.form--stack .img-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.form--stack .btn,
.form--stack button.btn {
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
}

/* Slightly tighter on small screens */
@media (max-width: 720px) {
    .form--stack .field__control {
        height: 48px;
    }
    .form--stack .field__control--area {
        min-height: 140px;
    }
}



/* ==========================================================================
   Promo badges
   ========================================================================== */

.promo {
    display: grid;
    gap: 10px;
    margin: 10px 0 14px;
}

.promo__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 16px;

}

.promo__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 14px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    white-space: nowrap;
}

.promo__desc {
    font-weight: 500;
    opacity: 0.96;
}

@media (max-width: 520px) {
    .promo__item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .promo__code {
        justify-self: start;
    }
}

/* ==========================================================================
   Steps list (numbered)
   ========================================================================== */

.steps {
    list-style: none;
    margin: 1.5em 0;
    padding: 0;
    display: grid;
    gap: 10px;
    counter-reset: step;
}

.steps__item {
    counter-increment: step;
    position: relative;
    padding: 0px 0px 0px 49px;
    font-weight: 500;
    opacity: 0.96;
    margin: 2px;
}

.steps__item::before {
    content: counter(step);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    background: var(--btn-play);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 520px) {
    .steps__item {
        padding-left: 52px;
    }
}

/* ==========================================================================
   FAQ (details/summary accordion)
   ========================================================================== */

.faq {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.faq__q {
    list-style: none;
    cursor: pointer;
    user-select: none;
    padding: 14px 48px 14px 14px;
    font-weight: 900;
    line-height: 1.25;
    position: relative;
}

/* Hide default marker */
.faq__q::-webkit-details-marker {
    display: none;
}

.faq__q::after {
    content: "+";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0.95;
    transition: transform 180ms ease, content 180ms ease;
}

.faq__item[open] .faq__q::after {
    content: "–";
}

.faq__a {
    padding: 0 14px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq__a p {
    margin: 12px 0 0;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    border-top: 1px solid var(--border);
    padding: 18px 0 28px;
    background: rgba(0, 0, 0, 0.08);
    text-align: center;
}

.footer__inner {
    display: grid;
    gap: 12px;
}

.footer__links {
    display: block;
    gap: 14px;
    flex-wrap: wrap;
    margin: 10px auto;
}

.footer__links a {
    padding: 10px 12px;

}

.footer__copy {
    font-size: 14px;
    opacity: 0.9;
}


/* ==========================================================================
   Motion
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 520ms ease, transform 520ms ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slight stagger effect for inner blocks */
.reveal .media,
.reveal .table,
.reveal h3,
.reveal p,
.reveal ul {
    transition: opacity 520ms ease, transform 520ms ease;
}

/* Buttons: a bit more "alive" */
.btn {
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

/* Media hover lift */
.media {
    transition: transform 220ms ease, box-shadow 220ms ease;
}

@media (hover: hover) {
    .media:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal .media,
    .reveal .table,
    .reveal h3,
    .reveal p,
    .reveal ul,
    .btn,
    .media {
        transition: none !important;
        transform: none !important;
    }
}



/* ==========================================================================
   Responsive
   ========================================================================== */


@media (max-width: 860px) {
    .topbar__inner {
        grid-template-columns: 1fr auto;
    }

    .topbar__actions {
        display: none;
    }

    .nav-burger {
        display: inline-flex;
    }
}


@media (max-width: 920px){
    .nav{
        display: flex;
        font-size: 11px;
    }

    nav .btn  {
        height: 30px !important;
        padding: 0 10px;
        margin-right: 2px;
    }
    .navbtn{ display:block; }

}

/* Mobile: menu goes under title */
@media (max-width: 920px){
    .pagehead{
        flex-direction: column;
        align-items: flex-start;
    }
    .index--inline{
        width: 100%;
        min-width: 0;
    }
    .index--inline .index__nav{
        justify-content: center;
    }
    .topbar__actions {
        display: flex;
    }
}


