:root {
    --bg: #0a1f33;
    --bg-2: #0e2740;
    --bg-3: #12304c;
    --muted: #c5d2de;
    --gold: #c9a46a;
    --orange: #e8890c;
    --orange-dark: #c97500;
    --cream: #faf6ef;
    --cream-line: #d9b45f;
    --dark: #101820;
    --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    margin: 0;
    background: var(--bg);
    color: #fff;
    font: 17px/1.6 Roboto, system-ui, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid #f2b84d; outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Верхнє меню ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(10, 31, 51, .55);
    transition: transform .3s ease, background-color .3s ease;
}
.site-header.is-solid { background: rgba(10, 31, 51, .97); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); text-decoration: none; }
.logo b { font-weight: 300; font-size: 2.15rem; line-height: 1; letter-spacing: .01em; }
.logo small { font-size: .7rem; line-height: 1.05; max-width: 6em; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; color: #d9c29a; }
.site-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .login-link { color: var(--muted); text-decoration: none; }
.header-actions .login-link:hover { color: #fff; }

.btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: .65rem 1.4rem;
    font: inherit;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease;
}
.btn:hover { background: var(--orange-dark); }
.btn.outline { background: transparent; border: 1px solid #e0c391; color: #f1dcb4; }
.btn.outline:hover { background: rgba(255, 255, 255, .08); }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 4px;
    color: #fff;
    padding: .4rem .7rem;
    font: inherit;
    cursor: pointer;
}

/* ---------- Блоки ---------- */
.section { padding: 84px 0; }
.bg-1 { background: var(--bg); }
.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }

.eyebrow { color: var(--orange); text-transform: uppercase; font-weight: 500; margin: 0 0 .6rem; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.sub-h { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2.2rem 0 .8rem; }
p { margin: 0 0 1rem; }
.gold { color: var(--orange); }
.lead { font-size: clamp(1.15rem, 2vw, 1.5rem); max-width: 62rem; }
.lead .brand { color: var(--orange); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; align-items: start; }
.head-row { margin-bottom: 40px; }

/* ---------- Головний екран ---------- */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 56px) 0 72px;
    background: #0a1f33 url("../images/landing/hero-bg.webp") center / cover no-repeat;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 24, 40, .82) 0%, rgba(8, 24, 40, .5) 48%, rgba(8, 24, 40, .08) 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.hero hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .85); width: min(100%, 26rem); margin: 1.1rem 0; }
.hero p { max-width: 32rem; margin-top: 1.4rem; }
.hero-shot img { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }

/* ---------- Списки ---------- */
.bullets { list-style: disc; padding-left: 1.3rem; margin: 0 0 1.6rem; }
.bullets li { margin: .15rem 0; }
.numbers { padding-left: 1.5rem; margin: 0 0 1rem; }
.numbers li { margin: .25rem 0; }

/* ---------- Ролі ---------- */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.role {
    background: #fbfaf8;
    color: var(--dark);
    border-radius: 14px;
    padding: 20px 22px 30px;
    text-align: center;
}
.role img { margin: 0 auto 14px; width: min(100%, 300px); }
.role h3 { font-size: 1.9rem; }
.role .tag { color: var(--orange-dark); font-weight: 500; margin: .1rem 0 1rem; }
.role ul { list-style: disc; display: inline-block; text-align: left; padding-left: 1.1rem; }
.tagline { text-align: center; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 28px 0 0; }
.roles-note p { margin: 0 0 .5rem; }
.roles-note b { color: var(--orange); font-weight: 400; }

/* ---------- Світлі картки ---------- */
.card-light {
    background: var(--cream);
    color: #14110c;
    border: 1px solid var(--cream-line);
    border-radius: 10px;
    padding: 22px 24px;
}
.card-light h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.card-light p:last-child { margin-bottom: 0; }
.stack { display: grid; gap: 18px; }
.card-title { display: flex; align-items: center; gap: 14px; margin-bottom: .6rem; }
.card-title h3 { margin: 0; }
.card-light.big h3 { font-size: 1.7rem; }
.card-light.big { padding: 28px 30px; }

.ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #f6e2c2; color: #d9780a; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico.navy { background: #0c2238; color: #e1b861; width: 56px; height: 56px; }
.ico.navy svg { width: 28px; height: 28px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.features .card-title { align-items: center; }
.features .card-title h3 { font-size: 1.1rem; }

.shot { border-radius: 10px; overflow: hidden; }
.shot img { width: 100%; }
.shot.shadow { box-shadow: 0 14px 40px rgba(0, 0, 0, .4); }

/* ---------- Менеджер ---------- */
.checks { list-style: none; display: grid; gap: 22px; }
.checks li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; }
.checks svg { width: 38px; height: 38px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.checks h3 { font-size: 1.6rem; line-height: 1.2; }
.checks p { margin: .1rem 0 0; color: var(--muted); }

.manager-shot { margin-top: 28px; }

/* ---------- Планування ---------- */
.wide-shot { margin-top: 40px; }
.day-card { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-top: 28px; }
.phones { display: flex; justify-content: center; gap: 28px; }
.phones img { width: min(46%, 230px); border-radius: 18px; box-shadow: 0 8px 26px rgba(0, 0, 0, .25); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.pair .card-light img { margin-top: 18px; border-radius: 8px; }

/* ---------- Спробувати ---------- */
.try { text-align: center; }
.try .lead { margin: 0 auto 1.4rem; }
.try .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Контакти ---------- */
.channels { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 22px; }
.channel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    padding: .45rem 1rem .45rem .5rem;
    text-decoration: none;
}
.channel:hover { background: rgba(255, 255, 255, .16); }
.channel i { width: 30px; height: 30px; border-radius: 50%; display: block; }
.channel.viber i { background: #7360f2; }
.channel.telegram i { background: #2a9ad6; }
.channel.whatsapp i { background: #25b551; }
.channel.messenger i { background: #1a73e8; }
.channel.email i { background: var(--gold); }
.contact-text p b { font-weight: 700; }

/* ---------- Підвал ---------- */
.site-footer { background: #081a2b; padding: 36px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer nav { display: flex; gap: 22px; color: var(--muted); }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.copy { color: #8fa3b6; font-size: .9rem; }

/* ---------- Анімація появи ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .site-header { transition: none; }
}

/* ---------- Адаптивність ---------- */
@media (max-width: 980px) {
    .two-col, .day-card, .pair { grid-template-columns: 1fr; }
    .roles, .features { grid-template-columns: 1fr 1fr; }
    .hero .wrap { grid-template-columns: 1fr; }
    .hero::before { background: linear-gradient(180deg, rgba(8, 24, 40, .78), rgba(8, 24, 40, .55)); }
    .hero-shot { max-width: 620px; }
}

@media (max-width: 820px) {
    .nav-toggle { display: inline-block; }
    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(10, 31, 51, .98);
        padding: 8px 20px 18px;
        transform: translateY(-120%);
        transition: transform .3s ease;
        z-index: -1;
    }
    .site-nav a { padding: .8rem 0; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .nav-open .site-nav { transform: none; }
    .header-actions .login-link { display: none; }
}

@media (max-width: 640px) {
    :root { --header-h: 64px; }
    .section { padding: 56px 0; }
    .roles, .features { grid-template-columns: 1fr; }
    .logo b { font-size: 1.8rem; }
    .header-actions .btn { padding: .5rem .9rem; }
    .phones { gap: 16px; }
}

/* ---------- Доповнення ---------- */
.hero .hero-sub { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 700; line-height: 1.12; margin: 0; max-width: none; }
.tight-top { padding-top: 0; }
.mt-0 { margin-top: 0; }
