/* SkyDesk — лендинг skydesk.uz. Вёрстка по дизайну «SkyDesk — лендинг skydesk.uz». */

:root {
    --navy-900: #0A1830;
    --navy-800: #0C1D38;
    --navy-700: #0E2340;
    --line-dark: #2A4670;
    --line-dark-2: #3A5680;
    --blue: #1F6FC2;
    --accent: #E3A63A;
    --paper: #F6F5F1;
    --card: #FBFBF8;
    --line: #E1E6EE;
    --field-line: #D5DCE6;
    --icon-bg: #E8EEF5;
    --text: #4A5568;
    --text-on-dark: #C3D0E0;
    --heading: #0E2340;
    --error: #B42318;
    --font-text: 'Inter', Arial, sans-serif;
    --font-head: 'Manrope', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-head);
    margin: 0;
}

p {
    margin: 0;
}

img {
    max-width: 100%;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--heading);
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 15px 26px;
    border: 1px solid transparent;
    border-radius: 14px;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, filter .15s;
}

.btn--lg {
    padding: 16px 28px;
    font-size: 17px;
}

.btn--sm {
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
}

.btn--block {
    width: 100%;
    min-height: 52px;
    font-size: 17px;
}

.btn--accent {
    background: var(--accent);
    color: var(--navy-700);
}

.btn--accent:hover {
    color: var(--navy-700);
    filter: brightness(1.07);
}

.btn--primary {
    background: var(--blue);
    color: var(--paper);
}

.btn--primary:hover {
    background: #1A5FA8;
    color: var(--paper);
}

.btn--ghost {
    background: rgba(10, 24, 48, .4);
    border-color: var(--line-dark-2);
    color: var(--paper);
    font-weight: 600;
}

.btn--ghost:hover,
.btn--outline:hover {
    border-color: var(--text-on-dark);
    color: #fff;
}

.btn--outline {
    border-color: var(--line-dark);
    color: var(--paper);
}

/* ---------- Шапка ---------- */

.site-header {
    position: relative;
    z-index: 2;
    background: var(--navy-900);
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--paper);
}

.brand:hover {
    color: #fff;
}

.brand__name {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.lang__btn {
    min-height: 36px;
    padding: 8px 10px;
    border: 0;
    background: transparent;
    color: var(--text-on-dark);
    font: inherit;
}

.lang__btn.is-active {
    background: var(--blue);
    color: var(--paper);
}

.lang__btn:disabled {
    cursor: default;
}

/* ---------- Общие заголовки ---------- */

.eyebrow {
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
}

.eyebrow--accent {
    color: var(--accent);
}

.section-title {
    max-width: 560px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--heading);
}

.section-title--sm {
    margin-bottom: 16px;
    font-size: 38px;
}

.section-title--lg {
    margin-bottom: 14px;
    font-size: 44px;
    line-height: 1.12;
}

.section-title--light {
    color: var(--paper);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy-900);
    color: var(--text-on-dark);
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 24, 48, .92) 0%, rgba(10, 24, 48, .75) 38%, rgba(10, 24, 48, 0) 70%);
}

.hero__inner {
    position: relative;
    padding-top: 140px;
    padding-bottom: 160px;
}

.hero__content {
    max-width: 600px;
}

.hero .eyebrow {
    margin-bottom: 20px;
}

.hero__title {
    margin-bottom: 24px;
    font-size: 64px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--paper);
}

.hero__lead {
    margin-bottom: 40px;
    font-size: 20px;
    line-height: 1.55;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- Устройства ---------- */

.devices {
    padding: 96px 0 104px;
    background: var(--navy-800);
}

.devices__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.devices .section-title {
    max-width: 720px;
    margin-bottom: 16px;
}

.devices__lead {
    max-width: 560px;
    margin-bottom: 48px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-on-dark);
}

.devices__img {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 28px;
}

/* ---------- Преимущества ---------- */

.features {
    padding: 96px 0;
}

.features__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.features__heading {
    flex: 1 1 420px;
    min-width: 0;
}

.features__art {
    flex: none;
    width: 240px;
    height: auto;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--card);
}

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: var(--icon-bg);
}

.card__title {
    margin-bottom: 8px;
    font-size: 21px;
    font-weight: 700;
    color: var(--heading);
}

.card__text {
    font-size: 16px;
    line-height: 1.55;
}

/* ---------- Для авиакасс ---------- */

.office {
    padding: 0 0 96px;
}

.office__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}

.office__img {
    flex: 1 1 520px;
    min-width: 0;
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 28px;
}

.office__text {
    flex: 1 1 360px;
    min-width: 0;
}

.office__lead {
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.6;
}

/* ---------- Заявка ---------- */

.connect {
    position: relative;
    overflow: hidden;
    background: var(--navy-700);
}

.connect__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.connect__inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 104px;
    padding-bottom: 220px;
}

.connect__text {
    flex: 1 1 420px;
    min-width: 0;
}

.connect__lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-on-dark);
}

.lead-form,
.auth-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px;
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}

.lead-form {
    flex: 1 1 380px;
    min-width: 0;
    max-width: 460px;
}

.lead-form--done {
    gap: 8px;
    color: var(--text);
}

.lead-form__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--heading);
}

.lead-form__alert {
    padding: 12px 14px;
    border-radius: 12px;
    background: #FDECEA;
    color: var(--error);
    font-size: 14px;
    font-weight: 600;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field__label {
    font-size: 14px;
    color: var(--heading);
}

.field__input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--field-line);
    border-radius: 12px;
    background: var(--paper);
    font: inherit;
    font-size: 16px;
    color: var(--heading);
}

.field__input::placeholder {
    color: #6B7686;
}

.field__input:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(31, 111, 194, .2);
}

.has-error .field__input {
    border-color: var(--error);
}

.field__error {
    font-size: 13px;
    color: var(--error);
}

.lead-form .btn--block,
.auth-card .btn--block {
    margin-top: 4px;
}

/* ---------- Вход ---------- */

.auth {
    background: var(--navy-900);
}

.auth__inner {
    display: flex;
    justify-content: center;
    padding-top: 96px;
    padding-bottom: 120px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
}

.auth-card__title {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 800;
    color: var(--heading);
}

.auth-card__note {
    margin-top: 4px;
    font-size: 14px;
    text-align: center;
}

/* ---------- Ошибки ---------- */

.error-page {
    background: var(--navy-900);
    color: var(--text-on-dark);
}

.error-page__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 120px;
    padding-bottom: 140px;
    text-align: center;
}

.error-page__code {
    font-family: var(--font-head);
    font-size: 96px;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}

.error-page__title {
    font-size: 32px;
    font-weight: 800;
    color: var(--paper);
}

.error-page__text {
    max-width: 480px;
    margin-bottom: 12px;
    font-size: 18px;
}

/* ---------- Подвал ---------- */

.site-footer {
    padding: 36px 0;
    background: var(--navy-900);
    color: var(--text-on-dark);
    font-size: 14px;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer__brand {
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--paper);
}

.site-footer a {
    color: var(--text-on-dark);
}

.site-footer a:hover {
    color: #fff;
}

/* ---------- Планшет и телефон ---------- */

@media (max-width: 900px) {
    .hero__shade {
        background: linear-gradient(90deg, rgba(10, 24, 48, .92) 0%, rgba(10, 24, 48, .8) 60%, rgba(10, 24, 48, .45) 100%);
    }

    .hero__inner {
        padding-top: 96px;
        padding-bottom: 112px;
    }

    .hero__title {
        font-size: 48px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .brand__name {
        font-size: 20px;
    }

    .hero__inner {
        padding-top: 64px;
        padding-bottom: 80px;
    }

    .hero__title {
        font-size: 38px;
    }

    .hero__lead {
        margin-bottom: 32px;
        font-size: 18px;
    }

    .hero__actions .btn {
        flex: 1 1 100%;
    }

    .section-title,
    .section-title--sm,
    .section-title--lg {
        font-size: 30px;
    }

    .devices {
        padding: 64px 0 72px;
    }

    .devices__lead {
        margin-bottom: 32px;
        font-size: 16px;
    }

    .devices__img {
        border-radius: 18px;
    }

    .features {
        padding: 64px 0;
    }

    .features__art {
        width: 160px;
    }

    .office {
        padding-bottom: 64px;
    }

    .office__inner {
        gap: 28px;
    }

    .office__img {
        flex-basis: 100%;
        height: 260px;
        border-radius: 20px;
    }

    .connect__inner {
        padding-top: 64px;
        padding-bottom: 140px;
    }

    .lead-form,
    .auth-card {
        padding: 24px;
    }

    .auth__inner {
        padding-top: 48px;
        padding-bottom: 72px;
    }

    .error-page__code {
        font-size: 72px;
    }

    .error-page__title {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}
