/* GlobalTrade — стили сайта */
:root {
  --ink: #15201a;
  --ink-2: #2a3a2f;
  --muted: #5d6b61;
  --green: #1e4a2c;
  --green-2: #2c6a3f;
  --green-3: #3f8a55;
  --green-soft: #e6eee4;
  --gold: #c9952f;
  --gold-2: #e2b450;
  --gold-soft: #f6ebcf;
  --cream: #f7f2e7;
  --cream-2: #efe7d6;
  --paper: #fffdf8;
  --line: #e4dccb;
  --wa: #1fa855;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21, 32, 26, .05), 0 10px 30px rgba(21, 32, 26, .08);
  --shadow-lg: 0 2px 6px rgba(21, 32, 26, .06), 0 24px 60px rgba(21, 32, 26, .14);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}
html[lang="fa"], html[lang="ar"] { --font: "Vazirmatn", "Manrope", Tahoma, Arial, sans-serif; }
html[lang^="zh"] { --font: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
html[lang="hi"] { --font: "Manrope", "Noto Sans Devanagari", "Nirmala UI", "Mangal", system-ui, sans-serif; }
html[lang="ur"] { --font: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Noto Naskh Arabic", Tahoma, serif; }
html[lang="ur"] body { line-height: 2.1; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
html[lang="fa"] :is(h1, h2, h3), html[lang="ar"] :is(h1, h2, h3), html[lang^="zh"] :is(h1, h2, h3), html[lang="hi"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; }
html[lang="ur"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.9; font-weight: 700; }
html[lang="ur"] .btn, html[lang="ur"] .chip, html[lang="ur"] .nav a { line-height: 1.9; padding-block: 6px; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 62ch; }
.icon { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 6px; }

/* ---------- кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-gold { background: var(--gold-2); color: var(--ink); box-shadow: 0 6px 18px rgba(201, 149, 47, .3); }
.btn-gold:hover { background: #ebc061; }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18934a; }
.btn-outline { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green-2); color: var(--green); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

/* ---------- шапка */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: background-color .25s, box-shadow .25s, color .25s;
}
.site-header.is-solid, .site-header.menu-open { background: rgba(255, 253, 248, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: -.02em; direction: ltr; }
.brand-text small { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 5px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .92; transition: background-color .2s; }
.nav a:hover { background: rgba(127, 127, 127, .14); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary {
  list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 8px 10px; border-radius: 999px; font-weight: 700; font-size: 14px; user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: rgba(127, 127, 127, .14); }
.lang .icon-chev { width: 16px; height: 16px; transition: transform .2s; }
.lang[open] .icon-chev { transform: rotate(180deg); }
.lang ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); min-width: 170px;
}
.lang li a { display: block; padding: 9px 14px; border-radius: 9px; text-decoration: none; font-weight: 600; }
.lang li a:hover { background: var(--cream); }
.lang li a[aria-current] { background: var(--green-soft); color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; border-radius: 10px; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .i-close, .menu-open .nav-toggle .i-open { display: none; }
.menu-open .nav-toggle .i-close { display: block; }

/* ---------- первый экран */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(14, 26, 17, .82) 0%, rgba(14, 26, 17, .55) 45%, rgba(14, 26, 17, .1) 100%),
  linear-gradient(0deg, rgba(14, 26, 17, .7) 0%, rgba(14, 26, 17, 0) 40%),
  linear-gradient(180deg, rgba(14, 26, 17, .45) 0%, rgba(14, 26, 17, 0) 22%); }
[dir="rtl"] .hero-shade { background:
  linear-gradient(270deg, rgba(14, 26, 17, .82) 0%, rgba(14, 26, 17, .55) 45%, rgba(14, 26, 17, .1) 100%),
  linear-gradient(0deg, rgba(14, 26, 17, .7) 0%, rgba(14, 26, 17, 0) 40%),
  linear-gradient(180deg, rgba(14, 26, 17, .45) 0%, rgba(14, 26, 17, 0) 22%); }
.hero-inner { padding-top: calc(var(--header-h) + 64px); padding-bottom: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: .04em; color: var(--gold-2); background: rgba(14, 26, 17, .35); padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid rgba(226, 180, 80, .35); }
.eyebrow .icon { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(34px, 5vw, 66px); max-width: 17ch; margin: 18px 0 18px; text-wrap: balance; }
html[lang="fa"] .hero h1, html[lang="ar"] .hero h1, html[lang^="zh"] .hero h1, html[lang="hi"] .hero h1 { max-width: 18ch; }
html[lang="ur"] .hero h1 { max-width: 20ch; font-size: clamp(30px, 4.2vw, 56px); }
.hero-text { font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 32px; padding: 0;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); backdrop-filter: blur(10px);
}
.stat { padding: 20px 24px; border-inline-start: 1px solid rgba(255, 255, 255, .16); }
.stat:first-child { border-inline-start: 0; }
.stat dt { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: var(--gold-2); line-height: 1.1; letter-spacing: -.02em; }
.stat dd { margin: 4px 0 0; font-size: 14px; color: rgba(255, 255, 255, .82); }

/* ---------- секции */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(32px, 5vw, 64px) 0; }
.section-alt { background: var(--paper); }
.section-head { margin-bottom: 36px; }
.section-head .lead { margin-bottom: 0; }

/* ---------- продукция */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font: inherit; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink-2); transition: all .2s;
}
.chip:hover { border-color: var(--green-3); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product[hidden] { display: none; }
.product-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; transform: scale(var(--z, 1)); transform-origin: var(--zo, 50% 50%); }
.product:hover .product-img img { transform: scale(calc(var(--z, 1) * 1.05)); }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin: 10px 0 6px; font-size: 20px; }
.product-body p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; }
.tag-grain { background: var(--gold-soft); color: #8a5f12; }
.tag-pulse { background: #f3e2d6; color: #8b4a22; }
.tag-oil { background: var(--green-soft); color: var(--green-2); }
.tag-processed { background: #e8e5f0; color: #4f4a72; }
.link-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-2); text-decoration: none; font-size: 15px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }

/* ---------- о компании */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-badge {
  position: absolute; inset-inline-end: -16px; bottom: -24px; background: var(--green); color: #fff;
  padding: 18px 22px; border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; min-width: 150px;
}
.about-badge b { font-size: 42px; line-height: 1; color: var(--gold-2); font-weight: 800; }
.about-badge span { font-size: 14px; opacity: .85; margin-top: 6px; }
.about-text p:not(.lead) { color: var(--ink-2); font-size: 17px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(56px, 7vw, 88px); }
.feature { background: var(--cream); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green); color: var(--gold-2); margin-bottom: 18px; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- география */
.section-dark { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.section-dark .lead, .section-dark .muted { color: rgba(255, 255, 255, .75); }
.geo { display: grid; grid-template-columns: minmax(280px, .8fr) 1.6fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.geo-h { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-2); margin: 28px 0 12px; }
html[lang="fa"] .geo-h, html[lang="ar"] .geo-h, html[lang="ur"] .geo-h, html[lang="hi"] .geo-h { letter-spacing: 0; font-size: 15px; }
.geo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.geo-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.geo-list .geo-kz { grid-column: 1 / -1; }
.geo-kz .muted { font-weight: 500; }
.sw { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.sw-kz { background: var(--gold-2); }
.sw-served { background: #cfe3c6; }
.sw-future { background: repeating-linear-gradient(45deg, var(--gold-2) 0 3px, #4f8159 3px 6px); }
.geo-map { background: #173d24; border-radius: var(--radius); padding: 8px; border: 1px solid rgba(255, 255, 255, .08); }
.map { width: 100%; height: auto; display: block; }
.m-land { fill: #2a5737; stroke: #173d24; stroke-width: .8; }
.m-served { fill: #cfe3c6; stroke: #173d24; stroke-width: .8; }
.m-kz { fill: var(--gold-2); stroke: #173d24; stroke-width: .8; }
.m-arc { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 2 6; animation: flow 1.4s linear infinite; opacity: .95; }
.m-arc-future { stroke: var(--gold-2); stroke-width: 2.4; stroke-dasharray: 7 6; opacity: 1; animation-duration: 2s; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.m-dot { fill: var(--green); stroke: #fff; stroke-width: 2; }
.m-dot-future { fill: var(--gold-2); stroke: #fff; stroke-width: 2.5; }
.m-origin { fill: var(--green); stroke: #fff; stroke-width: 3; }
.m-origin-ring { fill: none; stroke: #fff; stroke-width: 1.5; opacity: .6; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2); opacity: 0; } }
.m-lbl { font-family: var(--font); font-size: 17px; font-weight: 700; fill: #15201a; text-anchor: middle; paint-order: stroke; stroke: #cfe3c6; stroke-width: 4px; stroke-linejoin: round; }
.m-lbl-kz { font-size: 20px; fill: #15201a; stroke: var(--gold-2); }
.m-lbl-future { fill: #fff; stroke: #173d24; stroke-width: 6px; font-size: 21px; font-weight: 800; }
.m-lbl-origin { fill: #fff; stroke: #1e4a2c; stroke-width: 5px; font-size: 15px; }

/* ---------- логистика */
.log-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.log-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.log-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.log-card:hover img { transform: scale(1.04); }
.log-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 26, 17, .88) 0%, rgba(14, 26, 17, .35) 55%, rgba(14, 26, 17, .05) 100%); }
.log-body { padding: 24px; }
.log-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-2); color: var(--ink); margin-bottom: 14px; }
.log-icon .icon { width: 22px; height: 22px; }
.log-body h3 { font-size: 22px; margin-bottom: 6px; }
.log-body p { margin: 0; color: rgba(255, 255, 255, .85); }
.note { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; padding: 16px 20px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius-sm); color: var(--ink-2); }
.note .icon { color: var(--green-2); }
.steps-title { margin-top: clamp(64px, 8vw, 100px); }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; inset-inline: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); z-index: 0; }
.step { position: relative; z-index: 1; }
.step-num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--gold-2); font-weight: 800; font-size: 18px; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--cream); }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- закупаем */
.buy { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--ink); color: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.buy-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.buy-body { padding: clamp(28px, 5vw, 64px); align-self: center; }
.buy-body p { color: rgba(255, 255, 255, .8); font-size: 17px; }
.buy-chips { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.buy-chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; }

/* ---------- форма и контакты */
.contact-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: start; }
.form-card, .contact-card { background: var(--cream); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.form-card .lead { font-size: 16px; }
#inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.req { color: #c0392b; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 12px center; padding-inline-end: 40px; }
[dir="rtl"] .field select { background-position: left 12px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-3); box-shadow: 0 0 0 4px rgba(63, 138, 85, .15); }
.field.invalid select { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .12); }
[dir="rtl"] #f-contact { text-align: right; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.contact-card h2 { font-size: clamp(26px, 3vw, 34px); }
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.contact-list a, .contact-list span, .contact-list .linklike { font-weight: 700; font-size: 16px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover, .contact-list .linklike:hover { color: var(--green-2); }
.ci { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--green-2); flex: none; }
.ci-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.ci-tg { background: #2aa3df; border-color: #2aa3df; color: #fff; }
.ci-wc { background: #2dc100; border-color: #2dc100; color: #fff; }

/* ---------- подвал */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { max-width: 36ch; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a, .footer-langs a { text-decoration: none; }
.footer-nav a:hover, .footer-langs a:hover { color: var(--gold-2); }
.footer-langs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.footer-langs a[aria-current] { color: var(--gold-2); }
.credits summary { cursor: pointer; }
.credits ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.credits a { color: rgba(255, 255, 255, .7); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .55); }

/* ---------- плавающая кнопка, диалог, уведомления */
.float-btn {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 10px 28px rgba(31, 168, 85, .45); transition: transform .2s;
}
.float-btn .icon { width: 30px; height: 30px; }
.float-btn:hover { transform: scale(1.06); }
.float-wechat { background: #2dc100; box-shadow: 0 10px 28px rgba(45, 193, 0, .4); }
.wechat-dialog { border: 0; border-radius: 22px; padding: 32px; width: min(400px, calc(100% - 32px)); text-align: center; box-shadow: var(--shadow-lg); color: var(--ink); background: var(--paper); }
.wechat-dialog::backdrop { background: rgba(14, 26, 17, .55); backdrop-filter: blur(3px); }
.wechat-dialog .ci-lg { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 14px; }
.wechat-dialog .ci-lg .icon { width: 32px; height: 32px; }
.wechat-dialog p { color: var(--muted); }
.dialog-close { position: absolute; inset-inline-end: 12px; top: 12px; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--muted); border-radius: 10px; }
.wechat-id { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.email-dialog { width: min(460px, calc(100% - 32px)); }
.email-dialog .ci-lg { color: var(--green-2); }
.email-dialog .wechat-id code { font-size: 16px; overflow-wrap: anywhere; }
.mail-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.mail-options .btn { padding-inline: 10px; font-size: 14px; white-space: normal; }
.mail-options .btn-gold { grid-column: 1 / -1; }
@media (max-width: 420px) { .mail-options { grid-template-columns: 1fr; } }
.wechat-id code { font-size: 18px; font-weight: 700; background: var(--cream); padding: 8px 14px; border-radius: 10px; }
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-lg);
  transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.langbar {
  position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 45; display: flex; align-items: center; gap: 12px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 10px 10px 10px 16px;
  box-shadow: var(--shadow-lg); max-width: calc(100% - 110px); font-weight: 600; font-size: 14px;
}
.langbar[hidden] { display: none; }
.langbar-x { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--muted); border-radius: 8px; }
.langbar-x .icon { width: 18px; height: 18px; }

/* ---------- адаптивность */
@media (max-width: 1100px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .header-cta { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: var(--header-h); inset-inline: 0; flex-direction: column; gap: 2px;
    background: var(--paper); color: var(--ink); padding: 12px 16px 20px; box-shadow: 0 16px 30px rgba(21, 32, 26, .12); border-top: 1px solid var(--line);
  }
  .menu-open .nav { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .header-actions { margin-inline-start: auto; }
  .about, .geo, .contact-grid, .buy { grid-template-columns: 1fr; }
  .about-badge { inset-inline-end: 16px; }
  .features { grid-template-columns: 1fr 1fr; }
  .log-grid { grid-template-columns: 1fr; }
  .log-card { min-height: 260px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 24px; bottom: 24px; inset-inline-start: 23px; inset-inline-end: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 14px); }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding-bottom: 24px; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 10px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .buy-media img { max-height: 320px; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 14px 16px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 14px; }
  .product-body h3 { font-size: 17px; }
  .product-body p { font-size: 14px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .features { grid-template-columns: 1fr; }
  #inquiry-form { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1 1 auto; }
  .form-actions .btn-wa { flex-basis: 100%; }
  .m-lbl { font-size: 24px; stroke-width: 5px; }
  .m-lbl-kz { font-size: 26px; }
  .m-lbl-origin { display: none; }
  .hero-inner { padding-top: calc(var(--header-h) + 40px); }
  .hero-actions .btn { width: 100%; }
  .brand-text { font-size: 18px; }
  .lang summary span { display: none; }
}
@media (max-width: 700px) {
  .langbar { inset-inline: 12px; bottom: 88px; max-width: none; font-size: 14px; }
  .link-arrow { font-size: 14px; }
}
@media (max-width: 350px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
