/* TRUST LINE — 3PL склад. Дизайн-система: бетон + холод + зелёный сигнал. */

:root {
  --bg: #EEF0EC;
  --surface: #E2E5E0;
  --fg: #141C17;
  --muted: #5A635D;
  --border: #D3D7D1;
  --accent: #1E7A45;
  --accent-on: #EEF0EC;
  --deep: #0E1A15;
  --deep-2: #16241C;
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Onest", "Trebuchet MS", sans-serif;
  --radius: 2px;
  --space-section: 96px;
  --wrap: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--space-section) 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 62ch;
  margin: 20px 0 0;
}

.section-head { max-width: 900px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 52px); }

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 241, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img { height: 34px; width: auto; }

.brand-note {
  font-size: 11px;
  line-height: 1.25;
  color: var(--muted);
  border-left: 1px solid var(--border);
  padding-left: 12px;
  max-width: 150px;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  padding: 6px 0;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.header-phone {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 12px;
  font: 600 14px/1 var(--font-body);
  color: var(--fg);
  cursor: pointer;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { background: #186037; }

.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-dark { background: var(--fg); color: var(--bg); }
.btn-dark:hover { background: var(--accent); color: var(--accent-on); }

/* ---------- Первый экран ---------- */

.hero {
  position: relative;
  padding: 0;
  background: var(--deep);
  color: #EEF0EC;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 26, 21, 0.94) 0%, rgba(14, 26, 21, 0.72) 46%, rgba(14, 26, 21, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  padding: 96px 24px 88px;
  max-width: var(--wrap);
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 68px);
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: #7FD3A3;
}

.hero-text {
  font-size: 19px;
  color: #C9D2CC;
  max-width: 54ch;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-side {
  align-self: end;
  border-left: 1px solid rgba(242, 241, 236, 0.22);
  padding-left: 26px;
}

.hero-side dl { margin: 0; }

.hero-side div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(242, 241, 236, 0.14);
}

.hero-side dt {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93A099;
}

.hero-side dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-align: right;
}

/* ---------- Полоса фактов ---------- */

.facts {
  background: var(--deep-2);
  color: #EEF0EC;
  padding: 0;
  border-top: 1px solid rgba(242, 241, 236, 0.12);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: var(--wrap);
  margin: 0 auto;
}

.fact {
  padding: 30px 24px 34px;
  border-left: 1px solid rgba(242, 241, 236, 0.12);
}

.fact:first-child { border-left: 0; }

.fact-value {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 28px);
  white-space: nowrap;
  font-weight: 700;
  color: #7FD3A3;
  letter-spacing: -0.02em;
}

.fact-label {
  font-size: 13px;
  color: #93A099;
  margin-top: 6px;
  line-height: 1.4;
}

/* ---------- Направления ---------- */

.panels { display: grid; gap: 72px; }

.panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.panel.reverse .panel-media { order: 2; }

.panel-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
}

.panel-media img { width: 100%; height: 100%; object-fit: cover; }

.panel-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--accent);
  color: var(--accent-on);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 16px;
}

.panel h3 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 18px; }

.op-list { list-style: none; margin: 24px 0 0; padding: 0; }

.op-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 15px 0;
  border-top: 1px solid var(--border);
}

.op-list li:last-child { border-bottom: 1px solid var(--border); }

.op-name { font-weight: 600; font-size: 16px; }
.op-desc { display: block; font-size: 14px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.op-price { font-family: var(--font-display); font-size: 15px; font-weight: 600; white-space: nowrap; }
.op-unit { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 400; }

/* ---------- Склад: шкала температур ---------- */

.cold { background: var(--deep); color: #EEF0EC; }

.cold .lead { color: #A9B4AD; }

.cold-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
}

.cold h2 { font-size: clamp(30px, 4.4vw, 52px); }

.spec-list { list-style: none; margin: 0; padding: 0; }

.spec-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(242, 241, 236, 0.16);
  font-size: 16px;
}

.spec-list li:last-child { border-bottom: 1px solid rgba(242, 241, 236, 0.16); }
.spec-list .k { color: #93A099; }
.spec-list .v { font-weight: 500; }

/* Шкала — структурный элемент, а не украшение */
.scale {
  position: relative;
  padding-left: 34px;
}

.scale-bar {
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 12px;
  background: linear-gradient(to bottom, #F0E2C8 0%, #C9DCE6 55%, #8FC4E0 100%);
}

.scale-mark {
  padding: 12px 0 12px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.scale-note { font-size: 13px; color: #93A099; margin-top: -4px; margin-bottom: 18px; }

.cold-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.cold-photos figure { margin: 0; }

.cold-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cold-photos figcaption {
  font-size: 13px;
  color: #93A099;
  margin-top: 10px;
}

/* ---------- Тарифы ---------- */

.tariff-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: -30px 0 46px;
  font-size: 14px;
  color: var(--muted);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
}

.price-block h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.price-block .note { font-size: 13px; color: var(--muted); margin: 0 0 16px; }

table.price {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

table.price th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--fg);
}

table.price td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.price td:last-child,
table.price th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }

table.price .unit { color: var(--muted); font-size: 13px; }

/* ---------- Как начать ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }

.step { border-top: 2px solid var(--fg); padding-top: 20px; }

.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.step h3 { font-size: 21px; margin: 12px 0 10px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Клиенты ---------- */

.clients { background: var(--surface); }

.client-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}

.client-list li {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 26px 24px 26px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}

.client-list li:nth-child(3n+2) { padding-left: 24px; border-left: 1px solid var(--border); }
.client-list li:nth-child(3n+3) { padding-left: 24px; border-left: 1px solid var(--border); }

/* ---------- Заявка ---------- */

.request { background: var(--deep); color: #EEF0EC; }

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.request h2 { font-size: clamp(30px, 4vw, 46px); }
.request .lead { color: #A9B4AD; }

form.zayavka {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

form.zayavka .full { grid-column: 1 / -1; }

form.zayavka label {
  display: block;
  font-size: 13px;
  color: #93A099;
  margin-bottom: 7px;
}

form.zayavka input,
form.zayavka select,
form.zayavka textarea {
  width: 100%;
  padding: 13px 14px;
  background: rgba(242, 241, 236, 0.06);
  border: 1px solid rgba(242, 241, 236, 0.22);
  border-radius: var(--radius);
  color: #EEF0EC;
  font: 400 16px var(--font-body);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

form.zayavka input:focus,
form.zayavka select:focus,
form.zayavka textarea:focus {
  outline: none;
  border-color: #7FD3A3;
  background: rgba(242, 241, 236, 0.1);
}

form.zayavka select option { background: #16241C; color: #EEF0EC; }

form.zayavka textarea { resize: vertical; min-height: 96px; }

form.zayavka .consent {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #7E8A83;
  margin: 0;
}

form.zayavka .consent a { color: #A9B4AD; }

.form-ok {
  grid-column: 1 / -1;
  border-left: 3px solid #7FD3A3;
  padding: 14px 0 14px 16px;
  color: #C9D2CC;
  font-size: 16px;
}

.contacts { margin-top: 44px; border-top: 1px solid rgba(242, 241, 236, 0.16); }

.contact-row {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid rgba(242, 241, 236, 0.16);
  font-size: 15px;
}

.contact-row .k { color: #93A099; }
.contact-row .v { font-weight: 500; }
.contact-row a { color: #EEF0EC; white-space: nowrap; }
.contact-row .v.tel { white-space: nowrap; text-align: left; justify-self: start; }
.contact-row .v:not(.span) { white-space: nowrap; padding-right: 14px; }
.contact-row .v.span { grid-column: 2 / -1; }

/* ---------- Подвал ---------- */

.site-footer {
  background: var(--deep-2);
  color: #8E9A93;
  padding: 52px 0 40px;
  font-size: 13px;
  border-top: 1px solid rgba(242, 241, 236, 0.12);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  align-items: flex-start;
  justify-content: space-between;
  color: #EEF0EC;
}

.footer-top img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 48px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(242, 241, 236, 0.12);
}

.footer-grid p { margin: 0 0 5px; }
.footer-grid a { color: #C9D2CC; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(242, 241, 236, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-side { max-width: 520px; }
  .facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact:nth-child(4) { border-left: 0; }
  .panel { grid-template-columns: 1fr; gap: 30px; }
  .panel.reverse .panel-media { order: 0; }
  .cold-grid { grid-template-columns: 1fr; gap: 40px; }
  .scale { max-width: 320px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-list li:nth-child(3n+2),
  .client-list li:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .client-list li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--border); }
  .request-grid { grid-template-columns: 1fr; gap: 48px; }
  .price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --space-section: 68px; }
  body { font-size: 16px; }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px 20px;
    margin: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; width: 100%; white-space: nowrap; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-phones { display: none; }
  .brand-note { display: none; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(odd) { border-left: 0; }
  .hero-inner { padding: 64px 24px 60px; }
  .cold-photos { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .client-list { grid-template-columns: 1fr; }
  .client-list li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .client-list li { padding: 20px 0; }
  .trust { padding: 26px 20px 28px; margin-top: 64px; }
  .form-grid, form.zayavka { grid-template-columns: 1fr; }
  .spec-list li { grid-template-columns: 1fr; gap: 4px; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .contact-row .v.tel { text-align: left; justify-self: start; }
  .contact-row .v.span { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

.price-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 18px;
  min-height: 44px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.price-cta:hover { background: var(--accent); color: var(--accent-on); }
.price-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: none) { .price-cta:active { background: var(--accent); color: var(--accent-on); } }

.header-phones { display: flex; flex-direction: row; align-items: baseline; justify-content: flex-end; gap: 14px; white-space: nowrap; }
.header-phone-alt { color: inherit; padding-left: 14px; border-left: 1px solid var(--border); }
.header-phone-alt:hover { color: var(--accent); }
.header-phone-alt:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.trust {
  margin-top: 88px;
  padding: 36px 32px 40px;
  background: #E2EFE5;
  border: 1px solid #C6DCCB;
  border-left: 4px solid var(--accent);
}
.trust .section-head { margin-top: 0 !important; margin-bottom: 30px !important; }
.trust .client-list li { color: #103D26; font-weight: 600; }
.trust .client-list li:nth-child(3n+2),
.trust .client-list li:nth-child(3n+3) { border-left-color: #C6DCCB; }
.trust .client-list { border-top-color: #C6DCCB; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.about-text p { margin: 0 0 18px; max-width: 62ch; }
.about-text p:last-child { margin-bottom: 0; }
.about-list { list-style: none; margin: 0; padding: 0; }
.about-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.about-list li:first-child { border-top: 1px solid var(--border); }
.about-list .k { color: var(--muted); font-size: 14px; }
.about-list .v { font-weight: 500; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-list li { grid-template-columns: 1fr; gap: 4px; }
}
