:root {
  --bg: #15191c;
  --bg-soft: #1c2125;
  --surface: #20262b;
  --line: rgba(255,255,255,0.08);
  --text: #f4f1ea;
  --text-muted: #a8a8a2;
  --text-faint: #7a7a74;
  --accent: #5dcaa5;
  --accent-dark: #04342c;
  --amber: #f0997b;
}

* { box-sizing: border-box; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  min-width: 330px;
}

ul { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-family: 'Manrope', sans-serif; }

a { color: var(--accent); }

.accent { color: var(--accent); }




/* Шапка */
header {
  background-color: var(--bg);
  color: var(--text);
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.header-logo { text-align: center; }

header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

header h4 {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.header-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.header-time-icon { color: var(--accent); width: 20px; height: 20px; }

@media (max-width: 992px) {
  .header-time { margin-top: 16px; margin-bottom: 16px; }
}

header a {
  color: var(--accent-dark);
  background-color: var(--accent);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-block;
}




/* Навигация */
nav {
  line-height: 36px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  position: sticky;
  top: 0;
  background-color: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  z-index: 99;
}

@media (max-width: 768px) {
  nav { position: static; }
}

nav ul {
  display: flex;
  list-style-type: none;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

nav ul li { margin-right: 14px; margin-left: 14px; }

nav ul a {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 36px;
}

nav ul a:hover { color: var(--accent); }




/* Hero */
.hero {
  background-color: var(--bg);
  color: var(--text);
  position: relative;
  z-index: 10;
  padding-top: 56px;
  padding-bottom: 56px;
  overflow-x: hidden;
}

.hero-eyebrow {
  display: inline-block;
  background-color: rgba(93,202,165,0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 600px;
}

@media (max-width: 1200px) {
  .hero h1 { font-size: 2.1rem; }
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 520px;
  line-height: 1.65;
}

.hero-steps {
  display: flex;
  list-style-type: none;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-steps li {
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-steps li span {
  background-color: var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.85rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero-stats strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}

.hero-stats span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-top: 2px;
}

.hero-form-box {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px 30px;
  position: relative;
  margin-top: 24px;
}

@media (min-width: 1200px) {
  .hero-form-box { margin-top: 0; }
}

.hero-form-badge {
  position: absolute;
  top: -18px;
  right: -10px;
  background-color: var(--accent);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  width: 86px;
  height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
}

.hero-form-badge span {
  font-size: 0.6rem;
  font-weight: 600;
  margin-top: 2px;
}

.hero-form-box h5 {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-form-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-top: 4px;
}

.hero-form-box h6 {
  font-size: 0.78rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 4px;
}

.hero-form-box form { width: 100%; margin-top: 22px; }

input[type='text'].main,
input[type='tel'].main {
  background-color: var(--bg-soft);
  border: 1px solid var(--line);
  height: 46px;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 14px;
  border-radius: 8px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

input[type='text'].main::placeholder,
input[type='tel'].main::placeholder { color: var(--text-faint); }

input[type='submit'] {
  background-color: var(--accent);
  border: none;
  height: 48px;
  width: 100%;
  color: var(--accent-dark);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}

input[type='submit']:hover { opacity: 0.92; }

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  margin-bottom: 12px;
  user-select: none;
}

.consent-check input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background-color: var(--bg-soft);
  cursor: pointer;
  position: relative;
}

.consent-check input[type='checkbox']:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.consent-check input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--accent-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-check span {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.consent-check a {
  color: var(--accent);
  text-decoration: underline;
}

.consent-check a:hover { text-decoration: none; }




/* Типы выкупа */
.types {
  background-color: var(--bg-soft);
  padding-top: 64px;
  padding-bottom: 64px;
}

.types h5, .why-us h5, .brands h5, .last-buy h5, .recommend h5, .faq h5, .call h5 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

.types h2, .why-us h2, .faq h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-top: 8px;
  letter-spacing: -0.5px;
}

.section-lead {
  color: var(--text-muted);
  max-width: 580px;
  margin: 14px auto 0;
  font-size: 0.98rem;
}

.types-grid { margin-top: 40px; }

.type-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 24px 26px;
  margin-bottom: 24px;
  height: 100%;
  overflow: hidden;
}

.type-card-img {
  display: block;
  width: calc(100% + 48px);
  margin: 0 -24px 18px;
  height: 160px;
  object-fit: cover;
}

.type-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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




/* Доллар - сохранён как краткая полоса соцдоказательства (опционально не используется в новой версии) */




/* Этапы (60 минут) */
.call {
  padding-top: 64px;
  padding-bottom: 44px;
  background-color: var(--bg);
  color: var(--text);
}

.call h2 {
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: none;
  margin-top: 8px;
  letter-spacing: -0.5px;
}

.call-box {
  display: flex;
  justify-content: space-between;
  margin-top: 44px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.call-item {
  width: 18%;
  text-align: center;
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .call-box { flex-direction: column; }
  .call-item { width: 80%; margin-left: 10%; margin-right: 10%; }
}

.call-item-circle {
  border: 1px solid var(--line);
  background-color: var(--surface);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  position: relative;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-item-circle svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.call-item-circle span {
  font-weight: 700;
  font-size: 0.7rem;
  background-color: var(--accent);
  color: var(--accent-dark);
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

.call-item h3 {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 18px;
}

.call h6 {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-top: 10px;
  text-align: center;
}

.call h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-top: 36px;
  text-align: center;
}

.call a {
  font-size: 1.3rem;
  color: var(--accent);
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  display: block;
  font-weight: 700;
  text-decoration: none;
}

.call a:hover { text-decoration: underline; }




/* Почему мы */
.why-us {
  background-color: var(--bg-soft);
  padding-top: 64px;
  padding-bottom: 64px;
}

.why-grid { margin-top: 40px; }

.why-card {
  text-align: center;
  padding: 10px 18px;
  margin-bottom: 24px;
}

.why-card-img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border: 1px solid var(--line);
}

.why-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}




/* Марки авто */
.brands {
  background-color: var(--bg);
  padding-top: 56px;
  padding-bottom: 56px;
  text-align: center;
}

.brands h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-top: 8px;
  letter-spacing: -0.5px;
}

.brands-list {
  display: flex;
  list-style-type: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.brands-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 36px;
  margin-bottom: 0;
}

.brands-list li {
  background-color: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 30px;
}

.brands-note {
  color: var(--text-faint);
  font-size: 0.88rem;
  margin-top: 28px;
}




/* Последние выкупленные авто */
.last-buy {
  background-color: var(--bg-soft);
  padding-top: 56px;
  padding-bottom: 56px;
}

.last-buy h5 { text-align: center; }

.last-buy h2 {
  font-size: 1.7rem;
  font-weight: 800;
  text-align: center;
  margin-top: 8px;
  letter-spacing: -0.5px;
}

.last-buy-slider { position: relative; margin-top: 40px; }

.slick-arrow-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background-color: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slick-arrow-custom svg { width: 18px; height: 18px; }

.slick-arrow-custom.arrow-prev { left: -10px; }
.slick-arrow-custom.arrow-next { right: -10px; }

@media (max-width: 576px) {
  .slick-arrow-custom { display: none; }
}

.last-buy-item { width: 300px; margin-top: 10px; margin-bottom: 30px; }
.last-buy-item-wrap { width: 300px; margin-right: auto; margin-left: auto; }
.last-buy-item-img { display: flex; width: 300px; }

.last-buy-item h3 {
  display: block;
  background-color: var(--surface);
  border: 1px solid var(--line);
  width: 300px;
  color: var(--text);
  line-height: 1.3;
  padding: 12px 15px;
  font-weight: 500;
  font-size: 0.95rem;
  border-top: none;
  border-radius: 0 0 10px 10px;
}

.last-buy-item-img > img {
  width: 70%;
  height: 190px;
  object-fit: cover;
  border: none;
  outline: none;
  border-radius: 10px 0 0 0;
}

.last-buy-item-img-small {
  width: 30%;
  height: 190px;
  display: flex;
  flex-direction: column;
}

.last-buy-item-img-small img {
  width: 100%;
  height: 33.3%;
  object-fit: cover;
}

.last-buy-item-img-small img:last-child { border-radius: 0 10px 0 0; }




/* Отзывы */
.recommend {
  margin-top: 0;
  padding-top: 56px;
  padding-bottom: 56px;
  background-color: var(--bg);
  color: var(--text);
}

.recommend h5 { text-align: center; }

.recommend h3 {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.recommend-item {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 26px 22px;
  text-align: center;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  height: 100%;
}

.recommend-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--line);
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 18px;
  overflow: hidden;
}

.recommend-circle img { width: 100%; height: 100%; object-fit: cover; }

.recommend-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.recommend-item h6 {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 8px;
  font-weight: 400;
  color: var(--text-muted);
}




/* FAQ */
.faq {
  background-color: var(--bg-soft);
  padding-top: 64px;
  padding-bottom: 64px;
}

.faq-list { margin-top: 40px; }

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--accent);
}

.faq-item[open] summary::after { content: '–'; }

.faq-item p {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}




/* География работы */
.geo {
  background-color: var(--bg-soft);
  padding-top: 56px;
  padding-bottom: 56px;
  text-align: center;
}

.geo h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-top: 8px;
  letter-spacing: -0.5px;
}

.geo-list {
  display: flex;
  list-style-type: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.geo-list li {
  background-color: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 30px;
}




/* SEO-статья */
.seo-article {
  background-color: var(--bg);
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid var(--line);
}

.seo-article h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.seo-article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.seo-article p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}




/* Карта */
.map {
  background-color: var(--bg);
  padding-top: 50px;
  padding-bottom: 50px;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
  border-radius: 12px;
  filter: grayscale(0.3);
}

@media (max-width: 992px) {
  .map h3 { margin-top: 30px; }
}

.map h3 {
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--text);
}

.map p { font-size: 0.9rem; }

.map h4 { font-size: 1.1rem; color: var(--text); margin-top: 16px; }
.map h4 a { color: var(--accent); text-decoration: none; }




/* Остались вопросы */
.ques {
  background-color: var(--accent);
  padding-top: 30px;
  padding-bottom: 30px;
  color: var(--accent-dark);
  text-align: center;
}

.ques h3 {
  font-size: 1.8rem;
  font-weight: 800;
}

.ques span { font-size: 1.2rem; }

.ques-arrow { width: 28px; height: 28px; }

.ques a {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-dark);
  text-decoration: none;
}

.ques a:hover { text-decoration: underline; }




/* Футер */
footer {
  background-color: var(--bg-soft);
  padding-top: 44px;
  padding-bottom: 44px;
  color: var(--text-faint);
  border-top: 1px solid var(--line);
}

footer h3 {
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

footer p { font-size: 0.82rem; line-height: 1.6; }

.footer-legal { margin-top: 12px; }

.footer-legal a {
  color: var(--text-faint);
  text-decoration: underline;
}

.footer-legal a:hover { color: var(--accent); }

.footer-social { margin-top: 10px; margin-bottom: 16px; }

@media (max-width: 768px) {
  .footer-social { margin-top: 20px; }
}




/* Страница подтверждения отправки формы (send.php) */
.mail-send {
  width: 100%;
  height: 100vh;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.mail-send h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  max-width: 480px;
}




/* Правовые страницы (соглашение, политика) */
.legal-page {
  background-color: var(--bg);
  padding-top: 56px;
  padding-bottom: 64px;
}

.legal-eyebrow {
  display: inline-block;
  background-color: rgba(93,202,165,0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}

.legal-page h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.legal-updated {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-top: 10px;
  margin-bottom: 0;
}

.legal-page h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 10px;
}

.legal-page p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-page a:hover { text-decoration: none; }
