/* ==========================================================================
   ООО «НИКОР» — собственный файл стилей (только для этого лендинга)
   Палитра: тёмно-синий / графит + тёплый акцент. Шрифты: Montserrat + Open Sans.
   ========================================================================== */

:root {
    --navy: #0e2340;
    --navy-2: #16345c;
    --graphite: #22282f;
    --accent: #f2a33c;
    --ink: #1b1f26;
    --muted: #5d6673;
    --line: #e2e6ec;
    --bg-soft: #f5f7fa;
    --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.62;
    color: var(--ink);
    background: #fff;
}

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: 'Montserrat', Arial, sans-serif; color: var(--navy); margin: 0 0 14px; }

.h2 {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    letter-spacing: -.01em;
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 26px;
}
.h2__num {
    font-size: .58em;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .08em;
}
.h2--center { justify-content: center; text-align: center; }

/* ------------------------------ ГЛАВНОЕ МЕНЮ ---------------------------- */
.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 0 rgba(0,0,0,.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 18px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
    width: 42px; height: 42px; flex: 0 0 42px;
    display: grid; place-items: center;
    background: var(--accent);
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: .02em;
    border-radius: var(--radius);
}
.brand__text {
    color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800;
    font-size: 20px; letter-spacing: .06em; line-height: 1;
    display: flex; flex-direction: column; gap: 4px;
}
.brand__text em {
    font-style: normal; font-family: 'Open Sans', sans-serif; font-weight: 400;
    font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #9fb2cc;
}

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
    color: #d8e2f0; text-decoration: none; font-size: 15px; font-weight: 600;
    padding: 6px 0; border-bottom: 2px solid transparent; transition: .2s;
}
.main-nav a:hover { color: #fff; border-bottom-color: var(--accent); }
.main-nav__cta {
    background: var(--accent); color: var(--navy) !important;
    padding: 10px 18px !important; border-radius: var(--radius);
    border-bottom: 0 !important;
}
.main-nav__cta:hover { background: #ffb954; }

.nav-burger { display: none; }

/* ------------------------------- HERO ---------------------------------- */
.hero {
    background:
        linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 58%, #1d4272 100%);
    color: #fff;
    padding: 74px 0 84px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute; right: -140px; bottom: -180px;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(242,163,60,.28), transparent 65%);
}
.hero__grid {
    display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 52px; align-items: center; position: relative; z-index: 1;
}
.hero__eyebrow {
    font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--accent); font-weight: 600; margin: 0 0 16px;
}
.hero h1 {
    color: #fff; font-size: clamp(30px, 4.6vw, 54px); font-weight: 800;
    line-height: 1.08; letter-spacing: -.015em; margin-bottom: 20px;
}
.hero h1 span { display: block; color: #8fb4e6; }
.hero__lead { font-size: 17px; color: #c6d4e6; max-width: 560px; margin: 0 0 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

.btn {
    display: inline-block; padding: 13px 26px; font-weight: 700; font-size: 15px;
    text-decoration: none; border-radius: var(--radius); transition: .2s;
    font-family: 'Montserrat', sans-serif;
}
.btn--solid { background: var(--accent); color: var(--navy); }
.btn--solid:hover { background: #ffb954; }
.btn--ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

.hero__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__points li { font-size: 14px; color: #a9bcd4; padding-left: 18px; position: relative; }
.hero__points li::before {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
}

.hero__media { position: relative; }
.hero__media img {
    width: 100%; height: 400px; object-fit: cover; display: block;
    border-radius: var(--radius); border: 5px solid rgba(255,255,255,.12);
}
.hero__badge {
    position: absolute; left: -18px; bottom: -18px;
    background: #fff; color: var(--navy); padding: 14px 20px; border-radius: var(--radius);
    border-left: 5px solid var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,.25);
    display: flex; flex-direction: column;
}
.hero__badge b { font-family: 'Montserrat', sans-serif; font-size: 26px; line-height: 1; }
.hero__badge span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ------------------------------- ABOUT --------------------------------- */
.about { padding: 76px 0; }
.about__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 46px; align-items: start; }
.about p { margin: 0 0 16px; color: #333a44; }
.about__card {
    background: var(--bg-soft); border: 1px solid var(--line);
    border-top: 4px solid var(--accent); padding: 24px; border-radius: var(--radius);
}
.about__card h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .08em; }
.about__card dl { margin: 0; }
.about__card dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 12px; }
.about__card dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }

/* ---------------------------- DIRECTIONS ------------------------------- */
.directions { padding: 72px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 24px; box-shadow: 0 1px 0 rgba(14,35,64,.04); transition: .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(14,35,64,.12); border-color: #cfd8e4; }
.card__icon { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: #3c444f; font-size: 15px; margin: 0 0 16px; }
.card__tag {
    display: inline-block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
    color: var(--navy); background: rgba(242,163,60,.22); padding: 5px 10px; border-radius: var(--radius);
}

/* ------------------------------- FACTS --------------------------------- */
.facts { padding: 74px 0; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.fact { border-left: 3px solid var(--navy); padding: 6px 0 6px 18px; }
.fact b { display: block; font-family: 'Montserrat', sans-serif; font-size: 30px; color: var(--navy); line-height: 1.1; }
.fact span { font-size: 14px; color: var(--muted); }
.facts__note {
    background: var(--graphite); color: #dfe4ea; padding: 20px 24px;
    border-radius: var(--radius); border-left: 5px solid var(--accent);
}
.facts__note p { margin: 0; font-size: 15px; }
.facts__note b { color: #fff; }

/* ------------------------------ DETAILS -------------------------------- */
.details { padding: 70px 0; background: var(--bg-soft); border-top: 1px solid var(--line); }
.req-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.req-table th, .req-table td { padding: 13px 18px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.req-table th { width: 34%; background: #eef2f7; color: var(--navy); font-weight: 600; }
.req-table tr:last-child th, .req-table tr:last-child td { border-bottom: 0; }

/* ------------------------------ CONTACTS ------------------------------- */
.contacts { padding: 76px 0; background: var(--navy); color: #dbe4f0; }
.contacts .h2 { color: #fff; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.contacts p { margin: 0 0 12px; color: #c2d0e2; }
.contacts__addr { font-weight: 600; color: #fff; }
.contacts__cards { display: grid; gap: 14px; }
.contact-card {
    display: flex; flex-direction: column; gap: 4px; text-decoration: none;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
    border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: var(--radius);
    transition: .2s;
}
.contact-card:hover { background: rgba(255,255,255,.13); }
.contact-card span { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: #9fb2cc; }
.contact-card b { color: #fff; font-family: 'Montserrat', sans-serif; font-size: 19px; }

/* ------------------------------- FOOTER -------------------------------- */
.site-footer { background: #0a1930; color: #8697ad; padding: 26px 0; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.site-footer p { margin: 0; }

/* ------------------------------ АДАПТИВ -------------------------------- */
@media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; gap: 34px; }
    .hero__media img { height: 300px; }
    .hero__badge { left: 12px; bottom: -16px; }
    .about__grid { grid-template-columns: 1fr; gap: 28px; }
    .cards { grid-template-columns: 1fr 1fr; }
    .facts__grid { grid-template-columns: 1fr 1fr; }
    .contacts__grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 720px) {
    .nav-burger {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; cursor: pointer; border: 1px solid rgba(255,255,255,.3);
        border-radius: var(--radius); padding: 0 10px;
    }
    .nav-burger span { display: block; height: 2px; background: #fff; }
    .main-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--navy-2); flex-direction: column; align-items: stretch;
        gap: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height .3s;
        box-shadow: 0 14px 30px rgba(0,0,0,.3);
    }
    .nav-toggle:checked ~ .main-nav { max-height: 340px; padding: 8px 0; }
    .main-nav a { padding: 14px 22px !important; border-bottom: 1px solid rgba(255,255,255,.08); }
    .main-nav__cta { margin: 10px 22px 16px; text-align: center; }
    .site-header { position: relative; }
    .header-inner { position: relative; }

    .cards { grid-template-columns: 1fr; }
    .facts__grid { grid-template-columns: 1fr; gap: 22px; }
    .about, .directions, .facts, .details, .contacts { padding: 52px 0; }
    .req-table th { width: 44%; }
}
