/* ===== floralabel.ru — стили =====
   Палитра повторяет фирменный стиль FLORA: зелёный акцент, тёмно-синий текст, тёмный героический блок. */
:root {
  --green: #00a651;
  --green-600: #008c44;
  --green-50: #e8f7ef;
  --green-glow: rgba(0, 166, 81, .35);
  --ink: #1a1a2e;
  --ink-2: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --deep: #07160e;
  --deep-2: #0d2418;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(17, 24, 39, .08);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .35);
  --wrap: 1200px;
  --font: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head p { color: var(--muted); font-size: 18px; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green);
}
.accent { color: var(--green); }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font: inherit; font-size: 16px; font-weight: 700;
  border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
  text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 24px var(--green-glow); }
.btn--primary:hover { background: var(--green-600); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--white { background: #fff; color: var(--green-600); }
.btn--white:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ===== Шапка ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; }
.logo img { height: 34px; width: auto; }
.logo span { font-size: 13px; font-weight: 700; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.2; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav a:hover { color: var(--green); text-decoration: none; }
.header__cta { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.header.is-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Герой ===== */
.hero {
  position: relative; /* без overflow:hidden — иначе обрежется карточка, заходящая на следующий блок */
  padding: 116px 0 0;
  color: #fff;
  background:
    radial-gradient(900px 500px at 75% 15%, rgba(0,166,81,.28), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(0,166,81,.14), transparent 60%),
    linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
}
.hero::before { /* «цифровая» сетка */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__in { position: relative; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: #c9f2db;
  background: rgba(0,166,81,.12); border: 1px solid rgba(0,166,81,.45);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0,166,81,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(0,166,81,0); } }
.hero h1 { margin: 22px auto 18px; font-size: clamp(40px, 7.4vw, 84px); font-weight: 900; letter-spacing: -.02em; }
.hero h1 .accent { display: block; font-size: .6em; margin-top: .18em; color: #3fd184; }
.hero__lead { max-width: 720px; margin: 0 auto 32px; font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.78); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 8px;
  background: var(--line); border-top: 1px solid var(--line);
}
.stat { padding: 18px 10px 4px; background: #fff; }
.stat b { display: block; font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.stat span { font-size: 14px; color: var(--muted); }
.hero__stage { position: relative; margin: 44px auto 0; max-width: 1100px; }
.hero__stage::before { /* зелёное свечение под машиной */
  content: ""; position: absolute; left: 10%; right: 10%; top: 20%; bottom: -10%;
  background: radial-gradient(closest-side, rgba(0,166,81,.55), transparent);
  filter: blur(40px);
}
.hero__card {
  position: relative; margin-bottom: -120px; z-index: 2;
  background: #fff; border-radius: 24px 24px 24px 24px;
  box-shadow: var(--shadow-lg);
  padding: clamp(12px, 3vw, 28px);
}
.hero__card img { width: 100%; }
.hero__tag {
  position: absolute; top: 18px; left: 22px;
  font-size: 13px; font-weight: 700; color: var(--green-600);
  background: var(--green-50); padding: 6px 12px; border-radius: 999px;
}
.after-hero { padding-top: calc(120px + clamp(64px, 9vw, 112px)); }

/* ===== Карточки ===== */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0,166,81,.35); }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; background: var(--green-50); color: var(--green);
}
.icon svg { width: 26px; height: 26px; }
.note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }

/* ===== Сравнение ===== */
.compare { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 16px; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg-soft); }
.compare thead th.is-digital { color: #fff; background: var(--green); }
.compare td:first-child { font-weight: 700; width: 28%; }
.compare td.is-digital { background: rgba(0,166,81,.06); font-weight: 600; color: var(--ink); }
.compare td.is-digital::before { content: "✓ "; color: var(--green); font-weight: 800; }
.compare td.is-flexo { color: var(--muted); }

/* ===== Экономика (график) ===== */
.econ { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.econ__chart { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.econ__chart svg { width: 100%; height: auto; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.legend i { display: inline-block; width: 22px; height: 4px; border-radius: 2px; vertical-align: middle; margin-right: 8px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ===== Тёмный блок «Почему J-350GT» ===== */
.dark {
  color: #fff;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(0,166,81,.22), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #12121f 100%);
}
.dark .section__head p { color: rgba(255,255,255,.65); }
.feature {
  padding: 28px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: background .25s, border-color .25s;
}
.feature:hover { background: rgba(0,166,81,.08); border-color: rgba(0,166,81,.45); }
.feature .icon { background: rgba(0,166,81,.15); color: #3fd184; }
.feature p { color: rgba(255,255,255,.66); font-size: 16px; margin: 0; }
.feature b.big { display: block; font-size: 30px; font-weight: 800; color: #3fd184; line-height: 1.1; margin-bottom: 6px; }

/* ===== Характеристики ===== */
.specs { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.specs__media { position: sticky; top: 100px; }
.specs__media .hero__card { margin: 0; box-shadow: var(--shadow); border: 1px solid var(--line); }
.specs__media p { margin-top: 16px; font-size: 14px; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 16px; }
.spec-table th { width: 44%; padding-right: 20px; font-weight: 600; color: var(--muted); }
.spec-table td { font-weight: 600; }
.spec-group th { padding-top: 28px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }

/* ===== Опции ===== */
.option { display: flex; gap: 18px; align-items: flex-start; }
.option .icon { flex: none; margin: 0; }
.option h3 { margin-bottom: 6px; }

/* ===== Применение ===== */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app {
  position: relative; overflow: hidden;
  padding: 24px; min-height: 150px; border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, var(--green-50) 100%);
  border: 1px solid var(--line);
}
.app h3 { margin-bottom: 6px; }
.app p { color: var(--muted); font-size: 15px; margin: 0; position: relative; }
.app__num { position: absolute; right: 16px; bottom: -14px; font-size: 88px; font-weight: 900; color: rgba(0,166,81,.08); line-height: 1; }

/* ===== Шаги ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800;
  box-shadow: 0 0 0 8px var(--green-50);
}
.step::after { content: ""; position: absolute; top: 24px; left: 64px; right: -10px; height: 2px; background: linear-gradient(90deg, var(--green), transparent); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); font-size: 16px; }

/* ===== Заявка ===== */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, var(--green) 0%, #00703a 100%);
}
.cta__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta h2 { color: #fff; }
.cta__lead { font-size: 19px; color: rgba(255,255,255,.88); }
.contacts { list-style: none; padding: 0; margin: 28px 0 0; }
.contacts li { margin-bottom: 12px; font-size: 18px; }
.contacts a { color: #fff; font-weight: 700; }
.contacts span { display: block; font-size: 14px; color: rgba(255,255,255,.7); }
.form {
  background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 30px 60px rgba(0, 60, 30, .35);
}
.form h3 { font-size: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,166,81,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 18px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form__status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 15px; display: none; }
.form__status.is-ok { display: block; background: var(--green-50); color: #065f33; }
.form__status.is-err { display: block; background: #fdecec; color: #8a1c1c; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }

/* ===== Подвал ===== */
.footer { background: var(--deep); color: rgba(255,255,255,.6); padding: 40px 0; font-size: 14px; }
.footer__in { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer a { color: rgba(255,255,255,.85); }
.footer .logo img { filter: brightness(1.1); }

/* ===== Появление при прокрутке (только если работает JS) ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .badge::before { animation: none; }
}

/* ===== Адаптив ===== */
@media (max-width: 1180px) {
  .logo span { display: none; }
}
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
}
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header.is-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    box-shadow: var(--shadow);
  }
  .header.is-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .econ, .specs, .cta__in { grid-template-columns: 1fr; gap: 36px; }
  .specs__media { position: static; }
  .grid--3, .apps { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .step::after { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .logo span { display: none; }
  .hero { padding-top: 112px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 14px 6px 10px; }
  .hero__actions .btn { width: 100%; white-space: normal; text-align: center; padding: 10px 18px; }
  .hero__card .hero__tag { display: none; }
  .hero__card { margin-bottom: -60px; border-radius: 16px; }
  .after-hero { padding-top: calc(60px + 64px); }
  .hero__tag { top: 10px; left: 12px; font-size: 12px; }
  .grid--4, .grid--3, .grid--2, .apps, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .spec-table th { width: 46%; font-size: 15px; }
  .spec-table td { font-size: 15px; }
  .compare th, .compare td { padding: 14px 16px; font-size: 15px; }
}
