:root {
  --paper: #F6F1E8;
  --white: #FFFCF7;
  --ink: #161310;
  --muted: #6E6156;
  --cocoa: #3A2C24;
  --berry: #C2412D;
  --berry-deep: #9A2F1F;
  --gold: #C9A15B;
  --gold-soft: #E8D3A4;
  --baikal: #1A3C38;
  --baikal-deep: #102825;
  --cream: #EDE4D4;
  --line: rgba(22, 19, 16, 0.1);
  --shadow: 0 20px 50px rgba(22, 19, 16, 0.1);
  --radius: 22px;
  --header-h: 74px;
  --sans: "Manrope", system-ui, sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.wrap-wide { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 800; color: var(--berry);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1.5px; background: currentColor;
}
h1, h2, h3, .serif { font-family: var(--serif); letter-spacing: -0.03em; font-weight: 650; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 14px 22px;
  font-weight: 700; font-size: 14px; line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--berry); color: #fff; box-shadow: 0 10px 24px rgba(194, 65, 45, .28); }
.btn-primary:hover { background: var(--berry-deep); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d4ae6c; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--baikal); color: #fff; }
.btn-line { background: var(--white); border: 1.5px solid var(--line); color: var(--cocoa); }
.btn-line:hover { border-color: var(--cocoa); }
.btn-sm { padding: 10px 16px; font-size: 13px; }

.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* TOPBAR */
.topbar {
  background: var(--baikal-deep); color: #E7DCCB; font-size: 12.5px; font-weight: 600;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a:hover { color: var(--gold-soft); }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, .88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  height: 52px; width: auto; display: block;
  mix-blend-mode: multiply;
}
.mark {
  width: 44px; height: 44px; flex: none;
  color: var(--berry);
}
.logo strong { display: block; font-size: 16px; line-height: 1.05; letter-spacing: -0.03em; }
.logo span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.menu { display: flex; gap: 22px; font-weight: 700; font-size: 14.5px; }
.menu a { color: var(--cocoa); position: relative; padding: 6px 0; }
.menu a:hover, .menu a.active { color: var(--berry); }
.menu a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--berry); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.phones { text-align: right; font-size: 13.5px; font-weight: 800; color: var(--cocoa); line-height: 1.2; }
.phones small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.burger {
  display: none; width: 44px; height: 44px; border: 0; background: var(--white);
  border-radius: 12px; border: 1px solid var(--line);
}

/* MOBILE MENU */
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--paper); z-index: 80;
  padding: 22px; overflow: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mobile-menu a {
  display: block; padding: 16px 0; font-size: 26px; font-weight: 750;
  font-family: var(--serif); border-bottom: 1px solid var(--line);
}
.mobile-menu .mm-phone { font-family: var(--sans); font-size: 18px; }

/* HERO */
.hero {
  position: relative; min-height: calc(100vh - 110px); min-height: 720px;
  display: grid; align-items: end; color: #fff; overflow: hidden;
}
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 12, 8, .88) 0%, rgba(16, 12, 8, .55) 42%, rgba(16, 12, 8, .12) 100%),
    linear-gradient(180deg, rgba(16, 12, 8, .1) 0%, rgba(16, 12, 8, .55) 100%);
}
.hero-copy { position: relative; z-index: 2; padding: 72px 0 56px; max-width: 700px; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: .98; margin: 14px 0 18px; }
p.lead {
  max-width: 56ch; color: var(--muted); font-size: 17px;
}
.hero p.lead {
  font-size: 18px; max-width: 540px; color: #F4E8D6; margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}

/* PAGE HERO */
.page-hero {
  padding: 48px 0 28px;
  background:
    radial-gradient(800px 280px at 10% -10%, rgba(201, 161, 91, .18), transparent 60%),
    var(--paper);
}
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.02; margin: 10px 0 14px; max-width: 20ch; }
.page-hero .lead { max-width: 56ch; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.crumbs a:hover { color: var(--berry); }
.page-hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center;
}
.page-hero-grid img {
  width: 100%; height: 380px; object-fit: cover; border-radius: 28px;
}

/* STATS */
.stats {
  background: var(--baikal); color: #F6EFE4;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 30px 22px; border-right: 1px solid rgba(246,239,228,.1); }
.stat:last-child { border: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 650; }
.stat span { color: #C9B8A3; font-size: 14px; }

/* SECTIONS */
section { padding: 88px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; max-width: 16ch; }
.sec-head p { max-width: 42ch; color: var(--muted); }
.sec-head a.more { font-weight: 800; color: var(--berry); white-space: nowrap; }

/* CARDS / CATS */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat img { width: 100%; height: 170px; object-fit: cover; }
.cat .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cat h3 { font-size: 22px; margin-bottom: 8px; }
.cat p { color: var(--muted); font-size: 14px; flex: 1; }
.cat .more { margin-top: 14px; font-weight: 800; color: var(--berry); font-size: 14px; }

/* FILTERS */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filter {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 8px 14px; font-weight: 700; font-size: 13px; color: var(--cocoa);
}
.filter.active, .filter:hover { background: var(--baikal); color: #fff; border-color: var(--baikal); }
.cat[hidden] { display: none; }

/* NORTH */
.north { padding: 0 0 88px; }
.north-card {
  display: grid; grid-template-columns: 1.15fr .85fr; min-height: 540px;
  border-radius: 32px; overflow: hidden; background: var(--baikal); color: #fff;
}
.north-card img { width: 100%; height: 100%; object-fit: cover; }
.north-text { padding: 48px 42px; display: flex; flex-direction: column; justify-content: center; }
.north-text h2 { font-size: clamp(32px, 4vw, 48px); margin: 10px 0 16px; }
.north-text p { color: #D7CBBA; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chips span, .chips a {
  border: 1px solid rgba(255,255,255,.22); padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}

/* WHY */
.why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.why-photo { border-radius: 28px; overflow: hidden; height: 540px; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-list { display: grid; gap: 12px; }
.why-item { background: var(--white); border-radius: 18px; padding: 16px 18px; display: flex; gap: 14px; align-items: start; }
.why-item .n {
  width: 36px; height: 36px; border-radius: 10px; background: var(--baikal); color: #fff;
  display: grid; place-items: center; font-weight: 800; flex: none; font-size: 13px;
}
.why-item h3 { font-family: var(--sans); font-size: 16px; letter-spacing: 0; }
.why-item p { color: var(--muted); font-size: 14px; }

/* PARTNERS */
.partners-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.brand {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  min-height: 110px; display: grid; place-items: center; padding: 16px 14px;
  transition: transform .18s, box-shadow .18s;
}
.brand:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.brand img { max-height: 58px; max-width: 140px; width: auto; object-fit: contain; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.step b { font-family: var(--serif); font-size: 28px; color: var(--berry); display: block; margin-bottom: 8px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* BRANCHES */
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.branch {
  background: var(--baikal); color: #F6EFE4; border-radius: 22px; padding: 26px;
  min-height: 230px; display: flex; flex-direction: column;
}
.branch h3 { font-size: 30px; margin-bottom: 8px; }
.branch p { color: #C9B8A3; font-size: 14px; flex: 1; }
.branch a { color: var(--gold); font-weight: 800; display: inline-block; margin-top: 16px; }

/* NEWS */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.news-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-card.featured img { height: 280px; }
.news-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-card .date { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--berry); margin-bottom: 8px; }
.news-card h3 { font-size: 22px; line-height: 1.15; margin-bottom: 8px; }
.news-card.featured h3 { font-size: 28px; }
.news-card p { color: var(--muted); font-size: 14px; }

.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ARTICLE */
.article { padding: 20px 0 80px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 48px; align-items: start; }
.cover { width: 100%; height: 420px; object-fit: cover; border-radius: 28px; margin: 8px 0 28px; }
.prose { font-size: 17px; }
.prose p { margin: 0 0 16px; }
.prose h2 { font-size: 28px; margin: 28px 0 12px; }
.prose h3 { font-size: 22px; margin: 22px 0 10px; }
.prose ul { list-style: disc; padding-left: 20px; margin: 0 0 16px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--berry); font-weight: 700; }
.side-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
  position: sticky; top: 96px;
}
.side-card h3 { font-size: 22px; margin-bottom: 8px; }
.side-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.related-mini { display: grid; gap: 10px; margin-top: 16px; }
.related-mini a { display: block; font-weight: 700; font-size: 14px; color: var(--cocoa); }
.related-mini a:hover { color: var(--berry); }

/* TABLE */
.table-wrap { overflow: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--cream); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.faq summary { font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* CITIES */
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.city-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 20px;
  min-height: 220px;
}
.city-card .lat { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--berry); }
.city-card h3 { font-size: 28px; margin: 8px 0 10px; }
.city-card p { color: var(--muted); font-size: 14px; }

/* AWARDS */
.awards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.award {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  min-height: 140px;
}
.award b { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--berry); margin-bottom: 8px; }
.award p { font-weight: 700; font-size: 15px; }

/* LEAD / FORM */
.lead-sec {
  background:
    linear-gradient(180deg, rgba(16, 40, 37, .72), rgba(16, 40, 37, .84)),
    url("../assets/warehouse.jpg") center/cover no-repeat;
  color: #fff;
}
.lead-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.form, form.card {
  background: rgba(255,252,247,.97); color: var(--ink);
  border-radius: 24px; padding: 28px; display: grid; gap: 12px;
}
.form input, .form select, .form textarea,
form.card input, form.card select, form.card textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; background: #fff;
}
.form input[type="checkbox"],
form.card input[type="checkbox"] {
  width: auto; flex: none; margin-top: 3px; accent-color: var(--berry);
}
textarea { min-height: 90px; resize: vertical; }
.note { font-size: 12px; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.consent span { flex: 1; }
.ok { color: #1E6B3A; font-weight: 800; }

.cta-band {
  background: var(--baikal); color: #fff; border-radius: 28px; padding: 36px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); max-width: 16ch; }
.cta-band p { color: #D7CBBA; max-width: 42ch; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }

/* CONTACTS */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 8px 14px; font-weight: 800; font-size: 13px;
}
.tab.active { background: var(--baikal); color: #fff; border-color: var(--baikal); }
.map-placeholder {
  min-height: 280px; border-radius: 22px; overflow: hidden;
  background: var(--cream); display: grid; place-items: center; text-align: center; padding: 24px;
  color: var(--muted);
}

/* FOOTER */
footer { background: #100E0C; color: #E8D8C4; padding: 56px 0 24px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.foot-logo {
  width: 168px; height: auto; display: block;
  background: #fff; border-radius: 8px; margin-bottom: 14px;
}
footer h4 { color: #fff; margin-bottom: 12px; font-family: var(--sans); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
footer a { color: #CDBBA6; display: block; margin: 6px 0; }
footer a:hover { color: var(--gold); }
.copy { border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; font-size: 13px; color: #8E7C6A; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* MODAL */
.modal {
  position: fixed; inset: 0; background: rgba(16, 14, 12, .55); z-index: 90;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; }
.modal-box {
  width: min(480px, 100%); background: var(--white); border-radius: 24px; padding: 26px;
  max-height: 90vh; overflow: auto;
}
.modal-box h2 { font-size: 28px; margin-bottom: 6px; }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 14px; }
.icon-btn { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--cream); font-size: 18px; }

/* FLOAT MAX */
.float-max {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  background: #1a1a1a; color: #fff; border-radius: 999px; padding: 12px 16px;
  font-weight: 800; font-size: 13px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.float-max:hover { background: var(--berry); color: #fff; }

/* SUBTYPES */
.subtypes { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.subtypes span {
  background: var(--cream); border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 700;
}

/* POLICY */
.policy { max-width: 820px; }
.policy h2 { font-size: 24px; margin: 28px 0 10px; }
.policy p, .policy li { color: var(--cocoa); margin-bottom: 10px; font-size: 15px; }
.policy ol { padding-left: 20px; }
.policy li { margin: 6px 0; }

@media (max-width: 1080px) {
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .news-grid, .news-list { grid-template-columns: 1fr 1fr; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .awards { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
}
@media (max-width: 980px) {
  .logo-img { height: 44px; }
  .menu, .phones { display: none; }
  .burger { display: grid; place-items: center; }
  .stats, .cats, .why-grid, .north-card, .steps, .branches, .lead-box, .foot,
  .page-hero-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .north-card img, .why-photo, .page-hero-grid img { height: 260px; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(246,239,228,.1); }
  .hero { min-height: 78vh; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid, .news-list { grid-template-columns: 1fr; }
  .cover { height: 240px; }
}
@media (max-width: 640px) {
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .cities-grid { grid-template-columns: 1fr; }
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .hero h1 { font-size: 36px; }
  section { padding: 64px 0; }
}
