/* ===========================================================
   ООО «Леон» — редизайн 2026 (v6)
   Премиальный корпоративный стиль лидера отрасли: глубокий
   тёмно-синий + бронзово-золотой акцент, серифный дисплей-шрифт
   для заголовков, чередование тёмных и светлых секций,
   масштабные цифровые блоки, новые институциональные разделы.
   =========================================================== */

:root {
  --navy: #0A1526;
  --navy-2: #101D34;
  --navy-3: #1A2A46;
  --paper: #F8F5EC;
  --panel: #EFE8D6;
  --line: #DDD3B8;
  --line-strong: #C7BA96;
  --line-dark: rgba(255,255,255,0.14);
  --line-dark-soft: rgba(255,255,255,0.08);
  --muted: #5B5E68;
  --muted-2: #8A8D96;
  --muted-navy: #9CA6BA;
  --gold: #B08A3E;
  --gold-dark: #8E6E2C;
  --gold-light: #D8B96C;
  --ink: #171A20;
  --white: #FFFFFF;
  --radius: 4px;
  --radius-sm: 3px;
  --container: 1260px;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0;
}
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; }
button { font-family: inherit; }

::selection { background: var(--gold); color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  white-space: nowrap; border: 1.5px solid var(--gold); cursor: pointer; transition: all .18s ease;
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.05em;
}
.btn-accent { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-accent:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,0.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--gold-light); color: var(--gold-light); }
.btn-sm { padding: 11px 20px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; max-width: var(--container); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 26px; height: auto; filter: brightness(0) invert(1); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; letter-spacing: 0.03em; }
nav.mainnav { display: flex; gap: 30px; font-size: 13.5px; font-family: var(--font-body); }
nav.mainnav a { position: relative; color: var(--muted-navy); padding: 6px 0; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
nav.mainnav a:hover { color: #fff; }
nav.mainnav a.active { font-weight: 600; color: var(--gold-light); }
nav.mainnav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -21px; height: 2px; background: var(--gold); }
.header-cta { display: flex; align-items: center; gap: 20px; }
.phone { font-weight: 700; color: #fff; font-size: 14.5px; white-space: nowrap; font-family: var(--font-body); }
.phone-link { display: flex; align-items: center; gap: 7px; }
.burger { display: none; width: 38px; height: 38px; border: 1.5px solid var(--line-dark); border-radius: var(--radius-sm); background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.burger span { width: 16px; height: 2px; background: #fff; display: block; border-radius: 1px; transition: all .2s ease; }
.mobile-nav { display: none; }

/* ---------- Decorative accents (kept for compat; unused) ---------- */
.blob-field { display: none; }
.blob { display: none; }

/* ---------- Accent text ---------- */
.accent-text { color: var(--gold); }

/* ---------- Kicker with line ---------- */
.section-head .kicker { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); }
.section-head .kicker::before { content: ''; width: 26px; height: 1.5px; background: var(--gold); display: inline-block; }

/* ---------- Floating call button ---------- */
.float-call {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: var(--gold);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  border: none; box-shadow: 0 12px 28px -8px rgba(176,138,62,.55); transition: transform .15s ease;
}
.float-call svg { width: 22px; height: 22px; }
.float-call:hover { transform: translateY(-2px); }
@media (max-width: 860px) { .float-call { width: 48px; height: 48px; right: 16px; bottom: 16px; } .float-call svg { width: 19px; height: 19px; } }

/* ---------- Icon badges (SVG) ---------- */
.isvg { width: 20px; height: 20px; display: block; }

/* ---------- Homepage hero: full-bleed photo, dark navy overlay, grand serif ---------- */
.hero {
  position: relative; padding: 150px 0 90px; background: var(--navy);
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,21,38,.97) 8%, rgba(10,21,38,.88) 40%, rgba(10,21,38,.55) 72%, rgba(10,21,38,.4) 100%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-split { display: block; }
.hero-inner { max-width: 660px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark);
  border-radius: 999px; font-size: 12px; color: #fff; margin-bottom: 26px;
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.06em;
}
.badge .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; font-family: var(--font-display); }
.eyebrow { color: var(--gold-light); font-size: 13px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-family: var(--font-body); }
.hero h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.14; margin: 0 0 24px; color: #fff; font-weight: 700; max-width: 680px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p.lead { font-size: 17.5px; color: var(--muted-navy); max-width: 540px; margin: 0 0 36px; font-family: var(--font-body); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.hero-mini-stats { display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 28px; margin-top: 46px; max-width: 680px; }
.hero-mini-stats div .n { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--gold-light); }
.hero-mini-stats div .l { font-size: 12.5px; color: var(--muted-navy); margin-top: 4px; font-family: var(--font-body); }
.hero-photo { display: none; }
.hero-scroll { display: none; }

/* ---------- Page hero (inner pages): dark navy band, photo, grand serif ---------- */
.pagehero {
  position: relative; background: var(--navy); padding: 78px 0 60px; overflow: hidden;
  background-size: cover; background-position: center;
}
.pagehero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,21,38,.96) 15%, rgba(10,21,38,.86) 50%, rgba(10,21,38,.62) 100%);
  z-index: 1;
}
.pagehero .wrap { position: relative; z-index: 2; }
.crumb { font-size: 12.5px; color: var(--muted-navy); margin-bottom: 20px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; }
.crumb a { color: var(--gold-light); }
.crumb a:hover { color: #fff; }
.pagehero h1 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 16px; color: #fff; font-weight: 700; max-width: 780px; }
.pagehero p { color: var(--muted-navy); max-width: 640px; margin: 0; font-size: 16px; font-family: var(--font-body); }

/* ---------- Stats (compact inline strip, light pages) ---------- */
.stats { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; }
.stat { text-align: left; padding: 30px 30px; border-right: 1px solid var(--line-strong); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-size: clamp(20px, 2.1vw, 25px); color: var(--navy); font-weight: 700; }
.stat .label { font-size: 12.5px; color: var(--muted); margin-top: 6px; font-family: var(--font-body); }

/* ---------- Numbers band (dark, grand — new institutional section) ---------- */
.numbers-band { background: var(--navy); color: #fff; padding: 84px 0; position: relative; }
.numbers-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.numbers-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.numbers-head .kicker { color: var(--gold-light); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.numbers-head .kicker::before, .numbers-head .kicker::after { content: ''; width: 26px; height: 1.5px; background: var(--gold); }
.numbers-head h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.numbers-grid .ncell { padding: 34px 28px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); text-align: center; }
.numbers-grid .ncell .n { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 40px); color: var(--gold-light); font-weight: 700; }
.numbers-grid .ncell .l { font-size: 13px; color: var(--muted-navy); margin-top: 10px; font-family: var(--font-body); line-height: 1.5; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-tight { padding: 60px 0; }
.section-head { max-width: 680px; margin: 0 0 48px; display: flex; flex-direction: column; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head .kicker { color: var(--gold-dark); font-weight: 600; font-size: 12.5px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.1em; }
.section-head h2 { font-size: clamp(25px, 3vw, 36px); color: var(--navy); margin: 0 0 16px; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 15.5px; margin: 0; font-family: var(--font-body); }
.bg-off { background: var(--panel); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy .section-head h2 { color: #fff; }
.bg-navy .section-head p { color: var(--muted-navy); }
.bg-navy .section-head .kicker { color: var(--gold-light); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in { transition-delay: .06s; }
.reveal-delay-2.in { transition-delay: .12s; }
.reveal-delay-3.in { transition-delay: .18s; }
.reveal-delay-4.in { transition-delay: .24s; }
.reveal-delay-5.in { transition-delay: .3s; }

/* ---------- Direction rows (numbered list, roman numerals) ---------- */
.dir-grid { border-top: 1px solid var(--line-strong); }
.dir-card {
  display: grid; grid-template-columns: 76px 1fr; gap: 34px; align-items: start;
  padding: 44px 0; border-bottom: 1px solid var(--line-strong);
}
.dir-card .ico { width: 50px; height: 50px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--gold-light); border: 1px solid var(--gold-dark); }
.dir-card .ico svg { width: 22px; height: 22px; }
.dir-card .dir-content { max-width: 680px; }
.dir-card h3 { color: var(--navy); font-size: 23px; margin: 0 0 12px; font-weight: 700; }
.dir-card .tag { color: var(--gold-dark); font-size: 12.5px; font-weight: 700; margin-bottom: 12px; display: block; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-body); }
.dir-card ul { padding-left: 20px; color: #2C2F36; font-size: 14.5px; columns: 2; column-gap: 26px; }
.dir-card li { margin-bottom: 9px; break-inside: avoid; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--gold-dark); font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.05em; }
.card-link .arrow { transition: transform .2s ease; }
.card-link:hover .arrow { transform: translateX(4px); }

/* ---------- Process stepper (полный цикл общестроя) ---------- */
.cycle { display: flex; border: 1px solid var(--line-strong); overflow: hidden; }
.cycle-item {
  flex: 1; background: #fff; border-right: 1px solid var(--line-strong);
  display: flex; flex-direction: column; position: relative;
}
.cycle-item:last-child { border-right: none; }
.cycle-item .ph { aspect-ratio: 1/1; overflow: hidden; position: relative; }
.cycle-item .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05); transition: filter .3s ease, transform .5s ease; }
.cycle-item:hover .ph img { filter: grayscale(0); transform: scale(1.05); }
.cycle-item .num {
  position: absolute; top: 10px; left: 10px; width: 26px; height: 26px;
  background: var(--gold); color: var(--navy); font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); border-radius: 50%;
}
.cycle-item .cap { padding: 14px 12px; border-top: 1px solid var(--line-strong); background: var(--navy); }
.cycle-item .cap h4 { font-size: 12.5px; color: #fff; margin: 0; line-height: 1.3; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.cycle-arrow-row { display: none; }

/* ---------- Process (client journey — new institutional section) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-item { text-align: center; padding: 0 18px; position: relative; }
.process-item .pnum {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--gold);
  color: var(--gold-dark); font-family: var(--font-display); font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; background: var(--paper); position: relative; z-index: 2;
}
.process-grid::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: var(--line-strong); z-index: 1;
}
.process-item h4 { font-size: 15.5px; color: var(--navy); margin: 0 0 8px; font-weight: 700; font-family: var(--font-display); }
.process-item p { font-size: 13px; color: var(--muted); margin: 0; font-family: var(--font-body); line-height: 1.55; }

/* ---------- NLMK highlight block (framed photo, gold rule) ---------- */
.nlmk-banner { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nlmk-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 54px; align-items: center; padding: 70px 0; }
.nlmk-photo { overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line-strong); position: relative; }
.nlmk-photo::after { content: ''; position: absolute; inset: 0; border: 6px solid var(--paper); outline: 1px solid var(--gold-dark); outline-offset: -7px; pointer-events: none; }
.nlmk-photo img { width: 100%; height: 100%; object-fit: cover; }
.nlmk-content .badge { align-self: flex-start; background: var(--navy); color: #fff; border-color: var(--navy); }
.nlmk-content h2 { color: var(--navy); font-size: clamp(23px, 2.7vw, 32px); margin: 0 0 18px; font-weight: 700; }
.nlmk-content p { color: var(--muted); font-size: 15.5px; margin: 0 0 14px; font-family: var(--font-body); }
.nlmk-stats { display: flex; gap: 36px; margin-top: 22px; margin-bottom: 26px; flex-wrap: wrap; }
.nlmk-stats div .n { font-family: var(--font-display); font-size: 25px; font-weight: 700; color: var(--gold-dark); }
.nlmk-stats div .l { font-size: 12.5px; color: var(--muted); margin-top: 3px; font-family: var(--font-body); }

/* ---------- Trust list (dark navy, gold numerals — annual-report feel) ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.trust-item { position: relative; padding: 36px 34px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.trust-item .n { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--gold-light); margin-bottom: 12px; }
.trust-item h4 { color: #fff; font-size: 18px; margin: 0 0 10px; font-weight: 700; }
.trust-item p { color: var(--muted-navy); font-size: 14.5px; margin: 0; font-family: var(--font-body); }
.bg-navy .trust-grid { border-color: var(--line-dark); }
.bg-navy .trust-item { border-color: var(--line-dark); background: transparent; }
.bg-navy .trust-item h4 { color: #fff; }
.bg-navy .trust-item p { color: var(--muted-navy); }
.bg-navy .trust-item .n { color: var(--gold-light); }

/* ---------- Guarantees (допуски и гарантии — new institutional section) ---------- */
.guarantees-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.guarantee-item { background: #fff; padding: 32px 26px; }
.guarantee-item .gico { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold-dark); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.guarantee-item .gico svg { width: 22px; height: 22px; }
.guarantee-item h4 { font-size: 15.5px; color: var(--navy); margin: 0 0 8px; font-weight: 700; font-family: var(--font-display); }
.guarantee-item p { font-size: 13.5px; color: var(--muted); margin: 0; font-family: var(--font-body); line-height: 1.55; }

/* ---------- Vacancies ---------- */
.vacancies, .vacancies-section { background: var(--paper); }
.vac-card { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); padding: 32px 34px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; margin-bottom: 18px; transition: border-color .15s ease; }
.vac-card:hover { border-color: var(--gold); }
.vac-card h3 { color: var(--navy); font-size: 20px; margin: 0 0 8px; font-weight: 700; font-family: var(--font-display); }
.vac-card .salary { color: var(--gold-dark); font-weight: 700; font-size: 15px; margin-bottom: 18px; font-family: var(--font-body); }
.vac-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin: 0 0 11px; font-weight: 700; font-family: var(--font-body); }
.vac-col ul { padding-left: 18px; font-size: 13.5px; color: #2C2F36; }
.vac-col li { margin-bottom: 7px; }
.vac-cta { margin-top: 24px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.vac-cta .phone { color: var(--navy); }
.vac-more { text-align: center; margin-top: 24px; color: var(--muted); font-size: 14px; font-family: var(--font-body); }

/* ---------- Contacts ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info .row { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.contact-info .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); border: 1px solid var(--gold-dark); display: flex; align-items: center; justify-content: center; color: var(--gold-light); flex-shrink: 0; }
.contact-info .label { color: var(--muted); font-size: 12.5px; display: block; margin-bottom: 4px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-info .val { font-size: 16px; font-weight: 700; color: var(--navy); }
.contact-form { background: var(--navy); border: 1px solid var(--line-dark); padding: 34px; }
.contact-form h3 { color: #fff; font-size: 19px; margin-bottom: 8px; font-weight: 700; }
.contact-form p.sub { color: var(--muted-navy); font-size: 14px; margin: 0 0 22px; font-family: var(--font-body); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; margin-bottom: 13px; border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14.5px; background: rgba(255,255,255,0.04); color: #fff;
  transition: border-color .2s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted-navy); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.map-embed {
  background: var(--panel) url('../img/leon-warehouse-steel.jpg') center/cover; position: relative;
  border: 1px solid var(--line-strong); height: 270px; margin-top: 26px; overflow: hidden;
}
.map-embed .map-tag { position: absolute; left: 16px; bottom: 16px; background: var(--navy); color: #fff; padding: 10px 18px; font-size: 12.5px; font-family: var(--font-body); border: 1px solid var(--gold-dark); }

/* ---------- Objects grid ---------- */
.obj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.obj-card { overflow: hidden; background: #fff; transition: background .15s ease; }
.obj-card:hover { background: var(--panel); }
.obj-card .thumb { height: 200px; position: relative; overflow: hidden; }
.obj-card .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25); transition: filter .3s ease, transform .5s ease; }
.obj-card:hover .thumb img { filter: grayscale(0); transform: scale(1.05); }
.obj-card .thumb .tag { position: absolute; top: 14px; left: 14px; background: var(--navy); color: var(--gold-light); font-size: 11px; font-weight: 700; padding: 7px 14px; border: 1px solid var(--gold-dark); font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.04em; }
.obj-card .body { padding: 22px 24px 26px; }
.obj-card h4 { margin: 0 0 9px; color: var(--navy); font-size: 17px; font-weight: 700; font-family: var(--font-display); }
.obj-card p { margin: 0; color: var(--muted); font-size: 13.5px; font-family: var(--font-body); }
.obj-note { background: var(--panel); border: 1px solid var(--line-strong); padding: 20px 24px; font-size: 14px; color: var(--ink); margin-top: 32px; font-family: var(--font-body); }

/* ---------- Service detail (uslugi) ---------- */
.service-detail { border-top: 1px solid var(--line-strong); padding: 52px 0; }
.service-detail:first-of-type { border-top: none; }
.service-detail .inner { display: grid; grid-template-columns: 0.85fr 1.3fr; gap: 48px; align-items: center; }
.service-detail .photo { overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line-strong); }
.service-detail .photo img { width: 100%; height: 100%; object-fit: cover; }
.service-detail.rev .inner { grid-template-columns: 1.3fr 0.85fr; }
.service-detail.rev .photo { order: 2; }
.service-detail h3 { color: var(--navy); font-size: 23px; margin: 0 0 12px; font-weight: 700; }
.service-detail .tag { color: var(--gold-dark); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-body); }
.service-detail ul { padding-left: 20px; color: #2C2F36; font-size: 14.5px; }
.service-detail li { margin-bottom: 10px; }

/* ---------- CTA strip (dark, gold border) ---------- */
.cta-strip { background: var(--navy); color: #fff; border: 1px solid var(--gold-dark); padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-strip::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.cta-strip h2 { color: #fff; font-size: 26px; margin: 0 0 10px; font-weight: 700; }
.cta-strip p { color: var(--muted-navy); margin: 0; font-size: 14.5px; font-family: var(--font-body); }
.cta-strip .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: var(--muted-navy); padding: 60px 0 28px; font-size: 13.5px; border-top: 3px solid var(--gold); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 42px; margin-bottom: 46px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.footer-brand img { width: 24px; filter: brightness(0) invert(1); }
.footer-brand span { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; }
.footer-about { color: var(--muted-navy); font-size: 13.5px; max-width: 280px; line-height: 1.75; font-family: var(--font-body); }
.footer-col h5 { color: var(--gold-light); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 17px; font-weight: 700; font-family: var(--font-body); }
.footer-col a, .footer-col p { display: block; color: var(--muted-navy); margin-bottom: 12px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid var(--line-dark-soft); padding-top: 22px; color: #6C7486; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--font-body); font-size: 12px; }

/* ---------- Misc icons ---------- */
.icon { width: 22px; height: 22px; display: block; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .cycle { flex-wrap: wrap; }
  .cycle-item { flex: 1 1 33.33%; border-bottom: 1px solid var(--line-strong); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nlmk-inner { grid-template-columns: 1fr; padding: 46px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .dir-card { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .guarantees-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(5, 1fr); gap: 20px 10px; }
  .process-item p { display: none; }
}

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 120px 0 70px; }
  nav.mainnav { display: none; }
  .header-cta .phone { display: none; }
  .burger { display: flex; }
  .mobile-nav.open {
    display: flex; flex-direction: column; position: fixed; inset: 0; top: 66px; background: var(--navy);
    z-index: 49; padding: 20px 28px; gap: 4px; overflow-y: auto;
  }
  .mobile-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line-dark); font-size: 16px; color: #fff; font-weight: 600; font-family: var(--font-body); }
  .mobile-nav .btn { margin-top: 18px; }
  .dir-grid, .materials-inner, .contact-inner, .obj-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: repeat(1, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--line-strong); }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .guarantees-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 30px; }
  .process-grid::before { display: none; }
  .vac-card { grid-template-columns: 1fr; }
  .cycle { flex-direction: column; }
  .cycle-item { border-right: none; border-bottom: 1px solid var(--line-strong); }
  .service-detail .inner, .service-detail.rev .inner { grid-template-columns: 1fr; }
  .service-detail.rev .photo { order: 0; }
  .cta-strip { padding: 38px 28px; flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .numbers-grid { grid-template-columns: 1fr; }
}
