/* Resale lead landing — нотой Drom (оранжевый CTA) + Auto.ru (тёмный верх, плотная типографика) */

:root {
  --bg-page: #eceff1;
  --bg-card: #ffffff;
  --header-dark: #16181c;
  --header-border: #2a2f36;
  --text: #1c1f24;
  --text-muted: #5c656f;
  --border: #d7dde3;
  --accent: #ff6a00;
  --accent-hover: #e65f00;
  --accent-soft: rgba(255, 106, 0, 0.12);
  --link: #0d6efd;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(22, 24, 28, 0.08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ——— Top bar (auto.ru-like) ——— */
.site-header {
  background: linear-gradient(180deg, #1b1e24 0%, var(--header-dark) 100%);
  color: #e8eaed;
  border-bottom: 1px solid var(--header-border);
}

.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
  color: #fff;
}

.brand__name {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8f98a3;
}

.header-cta {
  font-size: 0.875rem;
  color: #b8c0c9;
}

.header-cta strong {
  color: #fff;
  font-weight: 600;
}

/* ——— Hero ——— */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px 28px;
}

.hero__grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero__lead {
  margin: 0 0 20px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.hero__bullets {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero__bullets li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
}

.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
}

.hero__note {
  font-size: 0.875rem;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0;
}

/* ——— Form card (drom-like warmth on white) ——— */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(215, 221, 227, 0.9);
  overflow: hidden;
}

.card__head {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.card__head h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
}

.card__head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card__body {
  padding: 22px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 560px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.field .hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

/* Honeypot — не трогать */
.field--hp,
input[name="_gotcha"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
  width: 100%;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn:active {
  transform: scale(0.99);
}

.form-footnote {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ——— Sections ——— */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 20px 48px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0 0 22px;
  color: var(--text-muted);
  max-width: 70ch;
}

.tiles {
  display: grid;
  gap: 14px;
}

@media (min-width: 700px) {
  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 2px 12px rgba(22, 24, 28, 0.04);
}

.tile__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.tile h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #e2e6ea;
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text);
  font-weight: 600;
}
