/* ===== Токены (чёрный + золото, как в исходнике) ===== */
:root {
  --bg:        #0C0C0C;
  --bg-2:      #141414;
  --bg-3:      #1B1B1B;
  --gold:      #C9A24A;
  --gold-2:    #B0883A;
  --white:     #FFFFFF;
  --muted:     #9A9A9A;
  --muted-2:   #6E6E6E;
  --line:      #262626;
  --green:     #2E8B57;

  --header-h: 70px;
  --maxw: 1200px;
  --font: 'Montserrat', system-ui, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.05; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: calc(var(--header-h) + 10px); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 600; color: var(--gold); margin: 0 0 18px; }
.section-title { font-size: clamp(28px, 4.2vw, 46px); font-weight: 600; }
em { font-style: normal; color: var(--gold); }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 2px; cursor: pointer; border: 1.5px solid transparent;
  font-family: var(--font); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .05s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #0C0C0C; }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-yt { background: #FF0000; color: #fff; }
.btn-yt:hover { background: #d40000; }
.btn-lg { padding: 16px 32px; font-size: 13px; }
.btn-block { width: 100%; }

/* ===== Шапка ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(12,12,12,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { display: flex; align-items: center; }
/* Лого — рамка-скобки (сверху/снизу), как на carconciergepro.com */
.logo-frame { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 20px; }
.logo-frame::before, .logo-frame::after { content: ""; position: absolute; left: 4px; right: 4px; height: 7px; border: 1.5px solid var(--gold); pointer-events: none; }
.logo-frame::before { top: 0; border-bottom: 0; }   /* верхняя линия с загибами вниз = ⌐ ¬ */
.logo-frame::after  { bottom: 0; border-top: 0; }    /* нижняя линия с загибами вверх = ⌊ ⌋ */
.logo-name { font-size: 15px; font-weight: 600; letter-spacing: .16em; line-height: 1; color: #fff; white-space: nowrap; }
.logo-name .ac { color: var(--gold); }
.logo-sub { font-size: 8px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); white-space: nowrap; line-height: 1; }

.nav { display: flex; gap: 16px; }
.nav a { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--white); transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--gold); }
.nav .nav-pill { border: 1px solid var(--gold); color: var(--gold); padding: 7px 14px; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 600; font-size: 15px; color: var(--white); white-space: nowrap; }
.header-phone:hover { color: var(--gold); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2px; background: #fff; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: 72% center; }
.hero-shade { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,.92) 0%, rgba(8,8,8,.6) 42%, rgba(8,8,8,.15) 75%, rgba(8,8,8,.35) 100%),
    linear-gradient(0deg, rgba(8,8,8,.85) 0%, rgba(8,8,8,0) 38%);
}
.hero-content { position: relative; width: 100%; padding: 48px 24px; }
.hero h1 { font-size: clamp(44px, 8vw, 100px); font-weight: 600; letter-spacing: 0; }
.hero-body { color: #cfcfcf; font-size: clamp(15px, 1.5vw, 18px); margin: 22px 0 30px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-messengers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.msgr {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.04);
  transition: border-color .2s, background .2s;
}
.msgr:hover { border-color: var(--gold); background: rgba(255,255,255,.08); }
.msgr svg { display: block; }
.hero-stats { position: absolute; right: 24px; bottom: 8px; display: flex; gap: 34px; }
.hs { text-align: left; }
.hs-num { display: block; font-size: 32px; font-weight: 600; color: var(--white); line-height: 1; }
.hs-label { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

/* ===== Бегущая строка ===== */
.ticker { background: var(--gold); color: #0C0C0C; overflow: hidden; border-top: 1px solid #00000022; }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker-inner { display: flex; }
.ticker-item { display: inline-flex; align-items: center; gap: 18px; padding: 13px 0; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ticker-dot { margin: 0 18px; opacity: .55; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ===== Процесс ===== */
.how-it-works { padding: 96px 0; background: #141414; }
.how-it-works .section-title { margin-bottom: 56px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; background: #1C1C1C; border: 1px solid var(--line); padding: 36px 30px 32px; overflow: hidden; }
.step-num { position: absolute; top: 14px; right: 18px; font-size: 64px; font-weight: 600; color: #ffffff0d; line-height: 1; }
.step-ico { color: var(--gold); margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ===== Подобранные авто ===== */
.stock { padding: 40px 0 96px; background: #0A0A0A; }
.stock-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.car-card { background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, transform .2s; }
.car-card:hover { border-color: #3a3a3a; transform: translateY(-3px); }
.car-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.car-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; will-change: transform; }
.car-card:hover .car-img img { transform: scale(1.06); }
.car-badge { position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 2px; }
.car-info { padding: 20px 22px 22px; }
.car-year-tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--gold); }
.car-name { font-size: 19px; margin: 6px 0 10px; }
.car-specs { color: var(--muted); font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.car-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; }
.car-price { font-size: 22px; font-weight: 600; }
.car-link { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

/* ===== Сплит «Покупателям / Продавцам» ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-card { position: relative; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; }
.split-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s ease; will-change: transform; }
.split-card:hover .split-bg { transform: scale(1.06); }
.split-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(8,8,8,.92), rgba(8,8,8,.35)); }
.split-inner { position: relative; z-index: 2; padding: 48px 56px; max-width: 440px; }
@media (prefers-reduced-motion: reduce) { .split-card:hover .split-bg, .car-card:hover .car-img img { transform: none; } }
.split-inner h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.split-inner p { color: #cfcfcf; font-size: 15px; margin: 0 0 24px; }

/* ===== Услуги и цены ===== */
.prices { padding: 96px 0; background: #0C0C0C; }
.prices .section-title { margin-bottom: 48px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card { background: var(--bg-2); border: 1px solid var(--line); padding: 30px 28px; display: flex; flex-direction: column; }
.price-card--accent { border-color: var(--gold); }
.price-card-head { margin-bottom: 20px; }
.price-card-head h3 { font-size: 21px; margin-bottom: 8px; }
.price-tag { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.price-list { list-style: none; padding: 0; margin: 0 0 14px; }
.price-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list li span { color: var(--muted); font-size: 15px; }
.price-list li b { font-size: 17px; font-weight: 600; white-space: nowrap; }
.price-note { color: var(--muted-2); font-size: 13px; margin: auto 0 0; }
.price-big { font-size: 32px; font-weight: 600; color: var(--gold); margin-bottom: 14px; line-height: 1; }
.price-card > p { color: var(--muted); font-size: 15px; margin: 0; }
.price-card--accent p b { color: var(--white); }
.price-extra { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 32px; }
.price-extra h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 18px; }
.price-extra-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.price-extra-list li { font-size: 14px; color: #cfcfcf; background: var(--bg-3); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.price-cta { margin-top: 36px; }

/* ===== Об эксперте ===== */
.about { padding: 96px 0; background: var(--bg-2); }
.about-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.about-text p { color: var(--muted); margin: 0 0 16px; }
.about-text .section-title { margin-bottom: 22px; }
.about-badges { display: flex; gap: 36px; margin-top: 28px; }
.about-badges b { display: block; font-size: 28px; color: var(--gold); }
.about-badges span { font-size: 13px; color: var(--muted); }
.ph-portrait { aspect-ratio: 4 / 5; background: var(--bg-3); border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted-2); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* ===== Отзывы ===== */
.reviews { padding: 96px 0; }
.reviews .section-title { margin-bottom: 48px; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.reviews-head .section-title { margin-bottom: 0; }
.reviews-rating { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.rr-num { font-size: 40px; font-weight: 600; color: var(--gold); line-height: 1; }
.rr-stars { color: var(--gold); font-size: 18px; letter-spacing: 3px; }
.rr-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.reviews-rating:hover .rr-label { color: var(--gold); }
.reviews-cta { margin-top: 36px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review { margin: 0; background: var(--bg-2); border: 1px solid var(--line); padding: 30px 28px; }
.review p { color: #e3e3e3; font-size: 15px; margin: 0 0 22px; }
.review-author { display: flex; align-items: center; gap: 14px; }
.ra-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #0C0C0C; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; }
.ra-name { display: flex; flex-direction: column; font-weight: 600; font-size: 15px; }
.ra-name em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 2px; letter-spacing: .02em; }

/* ===== Контакты ===== */
.contact { padding: 96px 0; background: var(--bg-2); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-lead { color: var(--muted); margin: 0 0 28px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; flex-direction: column; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li span:first-child { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 5px; }
.contact-list li a, .contact-list li span:last-child { font-size: 18px; color: var(--white); }
.lead-form { background: var(--bg); border: 1px solid var(--line); padding: 32px; }
.lead-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.lead-form input, .lead-form textarea { width: 100%; margin-top: 8px; padding: 13px 14px; background: var(--bg-3); border: 1px solid var(--line); color: #fff; font-family: var(--font); font-size: 15px; border-radius: 2px; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--gold); }
.lead-form textarea { resize: vertical; }
.form-ok { color: var(--gold); font-weight: 600; margin: 14px 0 0; }
.form-note { font-size: 12px; color: var(--muted-2); margin: 14px 0 0; }

/* ===== Футер ===== */
.site-footer { background: #080808; border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; margin: 0 0 10px; }
.footer-trust { color: var(--muted-2) !important; font-size: 13px !important; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 16px; }
.footer-col a, .footer-muted { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--muted); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ===== Плавающие круглые мессенджеры — как на masterskayapro.ru (мобайл) ===== */
.float-panel { display: none; }

/* ===== Адаптив ===== */
@media (max-width: 1200px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    transform: translateY(-130%); transition: transform .25s; z-index: 90;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-pill { border: 0; padding: 13px 0; color: var(--white); }
  .burger { display: flex; }
  .header-phone { display: none; }

  .steps-grid, .cars-grid, .reviews-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { order: -1; max-width: 320px; }
  .hero-stats { position: static; margin-top: 30px; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .header-order { padding: 10px 13px; font-size: 12px; }
  .header-inner { gap: 10px; }
  .header-cta { gap: 9px; }
  .logo-name { font-size: 12px; letter-spacing: .05em; }
  .logo-sub { font-size: 7px; letter-spacing: .14em; }
  .logo-frame { padding: 6px 10px; gap: 3px; }
  .hero { align-items: flex-start; }
  .hero-content { padding: 28px 24px 36px; }
  .hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .hero-body { margin: 16px 0 22px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 22px; }
  .hs-num { font-size: 26px; }
  .steps-grid, .cars-grid, .reviews-grid, .footer-grid, .price-grid { grid-template-columns: 1fr; }
  .stock-head { flex-direction: column; align-items: flex-start; }
  .split-inner { padding: 40px 28px; }
  .about-badges { gap: 24px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}

/* ===== Плавающие мессенджеры + чистка hero на телефонах ===== */
@media (max-width: 720px) {
  .hero-messengers { display: none; }  /* заменены плавающими круглыми кнопками ниже */

  .float-panel {
    display: flex; gap: 14px; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 18px; z-index: 80;
    padding: 0 16px; pointer-events: none;
  }
  .fab {
    pointer-events: auto; width: 56px; height: 56px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 10px 26px rgba(0,0,0,.4);
    transition: transform .15s ease, background .2s;
  }
  .fab:active { transform: scale(.9); }
  .fab svg { width: 26px; height: 26px; display: block; }

  .site-footer { padding-bottom: 104px; }  /* чтобы панель не перекрывала контакты */
}
