/* ===========================================================
   Transtrade — корпоративный сайт
   =========================================================== */

:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7fa;
  --c-bg-dark: #0a1f33;
  --c-bg-deep: #061525;
  --c-primary: #0b3d63;
  --c-primary-hover: #0e4d7d;
  --c-accent: #00a896;
  --c-accent-hover: #01b8a4;
  --c-text: #1a2332;
  --c-text-muted: #5a6877;
  --c-text-light: #8a96a3;
  --c-text-on-dark: #e6eef5;
  --c-text-on-dark-muted: #a3b3c2;
  --c-border: #e2e8f0;
  --c-border-dark: #1a3346;
  --c-warning: #d4a017;

  --shadow-sm: 0 1px 2px rgba(10, 31, 51, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 31, 51, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 31, 51, 0.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --container: 1200px;
  --container-narrow: 960px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Manrope', 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .8em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: .5em; }
h4 { font-size: 1.125rem; margin-bottom: .4em; }

p { margin-bottom: 1em; color: var(--c-text-muted); }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--c-text); text-decoration: none;
}
.brand:hover { color: var(--c-text); }
.brand__logo {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  border-radius: var(--radius-md);
  color: #fff; font-weight: 800;
  font-family: var(--font-display);
  font-size: 18px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.brand__tagline { font-size: .75rem; color: var(--c-text-muted); letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: var(--c-text); font-weight: 500; font-size: .95rem;
  padding: 6px 0; position: relative;
}
.nav a.is-active { color: var(--c-primary); }
.nav a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--c-accent);
}

/* CTA в навигации — обводка с акцентом (на десктопе) */
@media (min-width: 981px) {
  .nav .btn {
    padding: 10px 18px;
    font-size: .9rem;
    background: transparent;
    color: var(--c-primary);
    border: 1px solid var(--c-accent);
    border-radius: 999px;
    letter-spacing: .01em;
  }
  .nav .btn::after {
    content: '→';
    display: inline-block;
    margin-left: 4px;
    transition: transform .2s ease;
  }
  .nav .btn:hover {
    background: var(--c-accent);
    color: #fff;
    transform: none;
    box-shadow: 0 4px 14px rgba(0,168,150,.25);
  }
  .nav .btn:hover::after { transform: translateX(2px); }
}

.nav-toggle {
  display: none; background: none; border: 0;
  width: 40px; height: 40px; cursor: pointer; padding: 8px;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:focus { outline: none; }
.nav-toggle:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; content: ''; position: relative;
  width: 24px; height: 2px; background: var(--c-text);
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top:  7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  font-weight: 600; font-size: .95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease;
  text-decoration: none; line-height: 1;
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--c-accent); color: #fff; }
.btn--accent:hover { background: var(--c-accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-border); }
.btn--ghost:hover { background: var(--c-bg-alt); color: var(--c-text); border-color: var(--c-primary); }
.btn--on-dark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.btn--on-dark:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #061525 0%, #0a2540 50%, #0b3d63 100%);
  color: var(--c-text-on-dark);
  padding: 90px 0 120px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,168,150,0.35) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(11,61,99,0.6) 0%, transparent 50%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero__inner { position: relative; z-index: 2; }
.hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(0, 168, 150, 0.15);
  color: #6fe7d7; font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid rgba(0,168,150,0.3);
  margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent);
  box-shadow: 0 0 12px var(--c-accent);
}
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { color: #6fe7d7; font-style: normal; }
.hero__lead { font-size: 1.15rem; color: var(--c-text-on-dark-muted); max-width: 560px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0e4d7d, #00a896);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero__visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,61,99,0.4) 0%, transparent 60%);
}

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2.25rem; color: #fff; letter-spacing: -0.02em;
}
.hero__stat-num span { color: var(--c-accent); }
.hero__stat-label { color: var(--c-text-on-dark-muted); font-size: .9rem; margin-top: 4px; }

/* ===== Page header (внутренние страницы) ===== */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #061525 0%, #0b3d63 100%);
  color: #fff;
  padding: 72px 0 88px;
  overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0; opacity: .08;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-header__inner { position: relative; z-index: 2; }
.breadcrumbs { color: var(--c-text-on-dark-muted); font-size: .85rem; margin-bottom: 16px; }
.breadcrumbs a { color: var(--c-text-on-dark-muted); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { margin: 0 8px; opacity: .5; }
.page-header h1 { color: #fff; max-width: 800px; }
.page-header__lead { color: var(--c-text-on-dark-muted); font-size: 1.15rem; max-width: 720px; margin-top: 16px; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-bg-dark); color: var(--c-text-on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--c-text-on-dark-muted); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__head--left { text-align: left; margin-left: 0; }
.section__eyebrow {
  display: inline-block; color: var(--c-accent);
  font-size: .85rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section__lead { color: var(--c-text-muted); font-size: 1.05rem; }

/* ===== Cards: services ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-accent); }
.card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  display: grid; place-items: center; color: #fff;
  margin-bottom: 24px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card p { font-size: .95rem; }
.card__list { list-style: none; margin-top: 16px; }
.card__list li {
  position: relative; padding-left: 24px;
  color: var(--c-text-muted); font-size: .9rem; margin-bottom: 8px;
}
.card__list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 16px; height: 8px; border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent); transform: rotate(-45deg);
}

.card--feature { padding: 28px; }
.card--feature .card__icon {
  width: 48px; height: 48px;
  background: var(--c-bg-alt); color: var(--c-accent);
}
.card--feature .card__icon svg { width: 24px; height: 24px; }

/* ===== Split sections ===== */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.split--narrow { gap: 48px; }
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--decorated { position: relative; }
.split__media--decorated::before {
  content: ''; position: absolute; inset: -16px -16px 16px 16px;
  border: 2px solid var(--c-accent); border-radius: var(--radius-lg);
  z-index: -1; opacity: .4;
}

.value-list { list-style: none; margin-top: 24px; }
.value-list li {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
}
.value-list li:last-child { border-bottom: 0; }
.value-list__icon {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0,168,150,.1); color: var(--c-accent);
  display: grid; place-items: center;
}
.value-list__icon svg { width: 20px; height: 20px; }
.value-list h4 { margin-bottom: 2px; color: var(--c-text); }
.value-list p { font-size: .92rem; margin: 0; }

/* ===== Process timeline ===== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process::before {
  content: ''; position: absolute; top: 28px; left: 5%; right: 5%; height: 2px;
  background: linear-gradient(to right, var(--c-border), var(--c-accent), var(--c-border));
  z-index: 0;
}
.process__step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.process__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--c-accent);
  color: var(--c-primary); font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px var(--c-bg-alt);
}
.section--alt .process__num { box-shadow: 0 0 0 6px var(--c-bg); background: var(--c-bg-alt); }
.process__step h4 { margin-bottom: 8px; }
.process__step p { font-size: .9rem; }

/* ===== Stats band ===== */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--c-bg-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stats-band__item { padding: 40px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.stats-band__item:last-child { border-right: 0; }
.stats-band__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.75rem); letter-spacing: -0.02em;
  color: #fff;
}
.stats-band__num span { color: var(--c-accent); }
.stats-band__label { color: var(--c-text-on-dark-muted); margin-top: 6px; font-size: .9rem; }

/* ===== Industry chips ===== */
.industries {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.industry {
  display: flex; align-items: center; gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: border-color .2s ease, transform .2s ease;
}
.industry:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.industry__icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--c-bg-alt); color: var(--c-primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.industry__icon svg { width: 22px; height: 22px; }
.industry h4 { font-size: .95rem; margin: 0; }

/* ===== FAQ ===== */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--c-text);
}
.faq__q::after {
  content: '+'; font-size: 1.5rem; color: var(--c-accent); font-weight: 400;
  flex-shrink: 0; transition: transform .25s ease;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease; }
.faq__item.is-open .faq__a { padding: 0 24px 24px; max-height: 600px; }
.faq__a p { font-size: .95rem; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--c-bg-deep) 0%, var(--c-primary) 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,150,.35) 0%, transparent 70%);
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: var(--c-text-on-dark-muted); margin: 0; }
.cta-banner__actions { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; position: relative; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.contact-info { display: grid; gap: 24px; }
.contact-card {
  display: flex; gap: 20px; padding: 24px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
}
.contact-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff; display: grid; place-items: center;
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h4 { margin-bottom: 4px; }
.contact-card a { color: var(--c-primary); font-weight: 500; }
.contact-card p, .contact-card address {
  color: var(--c-text-muted); font-style: normal; font-size: .95rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form__lead { color: var(--c-text-muted); margin-bottom: 24px; font-size: .95rem; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block; margin-bottom: 6px;
  font-size: .85rem; font-weight: 500; color: var(--c-text);
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: .95rem; color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: 0; border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(0,168,150,.15);
}
.form-row--check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--c-text-muted); }
.form-row--check input { width: auto; margin-top: 3px; }
.form-row--check a { color: var(--c-primary); text-decoration: underline; }

.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-md); font-size: .9rem; display: none; }
.form-status.is-ok { display: block; background: rgba(0,168,150,.1); color: #006d61; }

.map-wrap {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ===== Requisites table ===== */
.requisites {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  padding: 8px 8px;
}
.requisites__row {
  display: grid; grid-template-columns: 220px 1fr; gap: 16px;
  padding: 14px 16px; border-bottom: 1px dashed var(--c-border);
}
.requisites__row:last-child { border-bottom: 0; }
.requisites__row dt { color: var(--c-text-muted); font-size: .9rem; }
.requisites__row dd { color: var(--c-text); font-weight: 500; font-size: .95rem; }

/* ===== Article (history/text blocks) ===== */
.prose p { font-size: 1.02rem; color: var(--c-text-muted); margin-bottom: 18px; }
.prose p strong { color: var(--c-text); font-weight: 600; }
.prose h3 { margin-top: 36px; margin-bottom: 12px; }
.prose ul { padding-left: 24px; margin-bottom: 18px; color: var(--c-text-muted); }
.prose ul li { margin-bottom: 8px; }

/* ===== Footer ===== */
.footer {
  background: var(--c-bg-deep);
  color: var(--c-text-on-dark-muted);
  padding: 64px 0 24px;
}
.footer a { color: var(--c-text-on-dark-muted); }
.footer a:hover { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand { color: #fff; }
.footer__brand .brand__name { color: #fff; }
.footer__about { margin-top: 16px; font-size: .9rem; line-height: 1.6; }
.footer__heading {
  color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: 1rem; margin-bottom: 18px;
}
.footer__list { list-style: none; }
.footer__list li { margin-bottom: 10px; font-size: .9rem; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; font-size: .82rem; color: var(--c-text-light);
}
.footer__bottom a { color: var(--c-text-light); }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; flex-direction: column; gap: 2px; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero { padding: 60px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .cards, .cards--2, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process::before { display: none; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-band__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stats-band__item:nth-child(2) { border-right: 0; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px; }
  .cta-banner__actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 16px 24px 24px; border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--c-border); }
  .nav a:not(.btn):last-of-type { border-bottom: 0; }
  .nav .btn {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
    background: var(--c-primary);
    color: #fff;
    border: 0;
    border-radius: var(--radius-md);
  }
  .nav .btn::after { content: none; }
  .nav .btn:hover { background: var(--c-primary-hover); color: #fff; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container, .container-narrow { padding: 0 20px; }
  .cards, .cards--2, .cards--4, .industries { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .requisites__row { grid-template-columns: 1fr; gap: 4px; }
  .stats-band { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
}
