/* VIP Auto Select · Graphite / Garnet
   Screen interpretations of the supplied metallic paint references. */
:root {
  --black: #0e1317;
  --panel: #1b2329;
  --white: #f5f4f2;
  --muted: #b6bec4;
  --line: #ffffff1c;
  --accent: #c9485a;
  --garnet: #8e2835;
  --garnet-light: #b74e59;
  --metal-red: linear-gradient(118deg, #a94350 0%, #862532 38%, #4e1421 72%, #79323e 100%);
  --metal-red-hover: linear-gradient(118deg, #b94d5b 0%, #982d3c 38%, #631b2a 72%, #8b3a48 100%);
  --surface: linear-gradient(135deg, #2b363ee6 0%, #1b242bee 46%, #141b21 100%);
  --photo-calm: saturate(.85) brightness(.96) contrast(1.02);
  --photo-hero: saturate(.65) brightness(.96) contrast(1.04);
}

body {
  background: #0e1317;
  color: var(--white);
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 4% 0%, #6c819233, transparent 55%),
    linear-gradient(125deg, #28343e 0%, #182128 27%, #0e1317 51%, #222c34 76%, #131a20 100%);
}
::selection { background: #8e2835; color: white; }
:is(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid #e05a6c;
  outline-offset: 4px;
}
.container { max-width: 1360px; width: calc(100% - 96px); }
.section { padding-block: 60px; }
h2 { font-weight: 500; letter-spacing: -.045em; }
.eyebrow { color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .19em; }
.section-lead { color: var(--muted); max-width: 660px; }
.section-heading { align-items: flex-end; margin-bottom: 36px; }
.text-link { color: #e4e8eb; text-decoration-color: #a8323f; }
.text-link:hover { color: #e05a6c; }
.text-link::after { background: var(--garnet-light); }

/* A quiet, translucent navigation bar with one primary action. */
.header, .header.is-stuck {
  background: linear-gradient(105deg, #28333cee, #10171bf5 65%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #ffffff16;
  padding: 20px 48px;
  min-height: 88px;
  gap: 24px;
  box-shadow: 0 6px 30px #00000014;
}
.brand { width: 244px; }
.header nav { gap: 24px; font-size: .78rem; }
.header nav a { color: #c9cfd3; }
.header nav a:hover { color: #fff; }
.header nav a.is-current { text-decoration-color: var(--garnet-light); }
.header nav > a:not(.nav-primary)::after, .nav-group > a::before { background: var(--garnet-light); }
.nav-group ul { background: #1c262efc; border-color: #ffffff20; border-radius: 6px; box-shadow: 0 18px 40px #0005; }
.nav-group li a:hover { background: #ffffff08; color: #e05a6c; }

.button, .header .nav-primary {
  min-height: 48px;
  padding: 13px 23px;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .01em;
  transition: background .3s, border-color .3s, box-shadow .3s, transform .3s;
}
.button.silver, .button.dark, .inquiry .button.silver,
.contact-form-block .button.silver, .header .nav-primary {
  color: #fff;
  background: var(--metal-red);
  border: 1px solid #a8323f55;
  box-shadow: inset 0 1px 0 #ffffff20, 0 8px 24px #21050b33;
  text-shadow: none;
}
.button.silver:hover, .button.dark:hover, .inquiry .button.silver:hover,
.contact-form-block .button.silver:hover, .header .nav-primary:hover {
  color: #fff;
  background: var(--metal-red-hover);
  border-color: #a8323f;
  box-shadow: inset 0 1px 0 #ffffff25, 0 10px 28px #21050b44;
}
.button.silver::after { background: linear-gradient(110deg, transparent 22%, #ffffff20 50%, transparent 78%); }
.button.white, .button.ghost {
  background: #10191f66;
  color: #edf0f2;
  border-color: #a7b4bf55;
  box-shadow: none;
}
.button.white:hover, .button.ghost:hover { background: #ffffff0d; color: #fff; border-color: #a7b4bf99; }

/* Broad graphite light blends into the photograph, then into the collection. */
.hero { min-height: 620px; border-bottom: 0; }
.hero-image { object-position: center 54%; }
.hero-shade {
  background: linear-gradient(90deg, #18232cf5 0%, #172129dd 28%, #11191f66 58%, #11191f08 100%),
    linear-gradient(0deg, #182128 0%, #18212800 28%),
    linear-gradient(130deg, #7e929e30 0%, transparent 40%);
}
.hero-content { padding-block: 78px 96px; }
.hero-kicker { display: flex; align-items: center; gap: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: #d0d6db; margin-bottom: 26px; }
.hero-kicker::before { content: ''; width: 36px; height: 2px; background: #a8323f; }
.hero h1 { max-width: 900px; font-size: clamp(2.5rem, 4.3vw, 4rem); font-weight: 500; line-height: 1.14; letter-spacing: -.055em; }
.hero h1 span { color: #b9c4cc; }
.hero-description { max-width: 620px; font-size: .96rem; line-height: 1.85; color: #bcc6cd; margin-top: 28px; }
.hero .actions { margin-top: 34px; gap: 12px; }
.hero .button { min-height: 52px; }
.hero-signature { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 44px; font-size: .68rem; color: #aebbc4; letter-spacing: .06em; }
.hero-signature span { display: inline-flex; align-items: center; gap: 9px; }
.hero-signature span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #a8323f; }
.collection { padding-top: 56px; }
.collection .section-heading h2 { font-size: clamp(1.9rem, 2.8vw, 2.65rem); }

/* Dark showroom cards keep the photography and price in focus. */
.vehicle-grid { gap: 26px; }
.vehicle-card {
  background: var(--surface);
  color: var(--white);
  border: 1px solid #ffffff20;
  border-radius: 8px;
  box-shadow: 0 12px 30px #00000016;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.vehicle-card:hover { transform: translateY(-5px); border-color: #a8323f66; box-shadow: 0 20px 40px #0003; }
.vehicle-photo { background: #192229; }
.vehicle-photo img { filter: var(--photo-calm); }
.vehicle-badge { background: #172128de; border: 1px solid #ffffff22; border-radius: 3px; padding: 6px 10px; font-size: .63rem; backdrop-filter: blur(8px); }
.vehicle-body { padding: 24px; }
.vehicle-title { color: #f5f4f2; font-size: 1.08rem; font-weight: 600; line-height: 1.45; }
.vehicle-specs { border-color: #ffffff15; }
.vehicle-card .vehicle-specs > div + div { border-color: #ffffff15; }
.vehicle-specs dt { color: #a8b3bd; font-size: .64rem; }
.vehicle-specs dd { color: #e4e8eb; font-weight: 500; }
.vehicle-price { color: #f5f4f2; font-size: 1.65rem; font-weight: 600; }
.vehicle-price.is-inquiry { color: #c6cfd6; }
.vehicle-vat { color: #aab6bf; border: 0; padding: 0; font-size: .58rem; letter-spacing: .04em; }
.vehicle-card .vehicle-action { background: linear-gradient(110deg, #ffffff07, #ffffff02); border-color: #ffffff26; color: #e5e9ec; box-shadow: none; justify-content: center; }
.vehicle-card .vehicle-action:hover { background: var(--metal-red); border-color: #a8323f; color: #fff; }
.vehicle-footer { padding-top: 22px; }
.collection-note { color: #9daab4; font-size: .74rem; margin-top: 28px; }

/* Related surfaces share the same restrained metallic depth. */
.service-card, .values-grid > *, .check-card, .vehicle-summary,
.vehicle-info-block, .review-card, .path-card, .service-more-list a,
.map-address, .contact-form-col, .t-card figure {
  background: var(--surface);
  border-color: #ffffff1c;
  color: var(--white);
  border-radius: 6px;
}
.service-card { border-left: 1px solid #ffffff1c; padding: 30px; }
a.service-card:hover, .check-card:hover, .service-more-list a:hover { background: linear-gradient(135deg, #35414be6, #1c252b); border-color: #a8323f66; }
.service-number, .step-number { color: #c9485a; }
.service-card h3 { font-weight: 550; }
.service-card .text-link, .service-more-arrow { color: #c9485a; }
.service-card-cta, a.service-card-cta:hover, .check-card-cta, .check-card-cta:hover {
  background: linear-gradient(115deg, #74313e, #421d2a 58%, #242631);
  border: 1px solid #bc788449;
  color: #fff;
}
.service-card-cta h3, .check-card-cta h3 { color: #fff; }
.service-card-cta p, .check-card-cta p { color: #ffffffd1; }
.service-card-cta .small-label, .check-cta-label { color: #ffffffb3; }
.process, .service-more, .filter-band, .faq, .reviews, .map-band { background: #10191f80; border-color: #ffffff12; }
.process-card, .financing-step { border-top-color: #a8323f80; }
.about {
  padding-top: 60px;
  background: radial-gradient(ellipse at 50% 100%, #64788544, transparent 65%), linear-gradient(120deg, #2c3943, #131c23 62%, #29353e);
  color: #f0f1f2;
  border-block: 1px solid #ffffff14;
}
.about .subtitle { color: #c2cbd2; margin-top: 18px; margin-bottom: 40px; }
.about-copy p, .number p { color: #b6c1ca; }
.numbers, .number { border-color: #ffffff20; }
.number strong { color: #f3f0ef; font-weight: 400; }
.number strong span { color: #c9485a; }
.about .text-link { color: #dce3e8; }
.t-body blockquote { color: #d5dde3; }
.t-body blockquote::before, .review-card blockquote::before { color: #c9485a; }
.t-body figcaption, .t-source { color: #a3b1bb; }
.t-body figcaption strong { color: #f0f2f4; }
.t-arrow:hover { background: var(--metal-red); color: #fff; border-color: #a8323f; }
.faq details { border-color: #ffffff1c; }
.faq details[open] { background: #ffffff03; border-top-color: #a8323f; }
.faq-icon::before, .faq-icon::after { background: #c9485a; }
.faq summary:hover { color: #e05a6c; }

/* Inquiry and catalog controls stay dark on every page. */
.inquiry { background: radial-gradient(ellipse at 0% 100%, #79344224, transparent 60%), linear-gradient(120deg, #28343e, #151d24 65%); color: #f1f3f4; border-block: 1px solid #ffffff14; }
.inquiry .eyebrow { color: var(--accent); }
.inquiry-intro > p:not(.eyebrow), .inquiry-person-label, .inquiry-person-role { color: #b6c1c9; }
.inquiry-person-head strong, .inquiry-contacts a { color: #f1f2f3; }
.inquiry-person { border-color: #ffffff20; }
.inquiry-panel { background: var(--surface); border: 1px solid #ffffff20; border-radius: 8px; box-shadow: 0 20px 50px #0002; }
.inquiry .contact-icon { background: #ffffff05; color: #c9485a; border-color: #ffffff26; }
.form-grid { align-items: end; }
.form-grid label, .contact-form-block .form-grid label { color: #c6cfd6; }
.form-grid input, .form-grid select, .form-grid textarea,
.inquiry-panel .form-grid input, .inquiry-panel .form-grid textarea,
.contact-form-block .form-grid input, .contact-form-block .form-grid textarea {
  color-scheme: dark; color: #f1f3f4; background: #10192099; border: 1px solid #ffffff24; border-radius: 4px;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus,
.contact-form-block .form-grid input:focus, .contact-form-block .form-grid textarea:focus { outline: 2px solid #c9485a; outline-offset: 2px; border-color: #a8323f; }
.form-note, .contact-form-block .form-note { color: #a8b5bf; }
.filter-control select, .filter-control input, .filter-sort select, .filter-range-inputs { background-color: #18232b; border-color: #ffffff24; border-radius: 5px; }
.filter-range-inputs input { background-color: transparent; }
.filter-pill span { border-radius: 4px; background: #202c34; border-color: #ffffff20; color: #c5d0d7; }
.filter-pill input:checked + span, .vehicle-chips .is-accent, .pagination .is-current { background: var(--metal-red); border-color: #a8323f66; color: #fff; }
.filter-count { background: #8e2835; color: #fff; }
.filter-pill input:focus-visible + span, .filter-control select:focus-visible, .filter-sort select:focus-visible { outline-color: #c9485a; }
.vehicle-summary { box-shadow: 0 16px 40px #0002; border-top: 2px solid #a8323f; }
.vehicle-detail-specs, .vehicle-detail-specs > div, .spec-rows > div { border-color: #ffffff16; }
.vehicle-assurances li::before, .equipment-list li::before { border-color: #c9485a; }
.page-head { padding-bottom: 0; }
.service-hero { border-color: #ffffff16; }
.service-hero-shade { background: linear-gradient(90deg, #1d2a33f5, #152029d9 34%, #10192022 78%), linear-gradient(0deg, #172129, transparent 45%); }
.service-hero .eyebrow { color: #c9485a; }
.legal-nav a.is-current { border-color: #a8323f; }
.footer { background: linear-gradient(125deg, #1c2831, #0d141a 70%); border-top: 1px solid #ffffff20; }
.footer-grid h3 { color: #c9485a; }
.copyright { border-color: #ffffff16; }
.scroll-progress { background: linear-gradient(90deg, #792534, #a8323f); }

@media (max-width: 1200px) {
  .header { padding-inline: 32px; }
  .header nav { gap: 18px; }
  .brand { width: 220px; }
  .container { width: calc(100% - 64px); }
  .hero { min-height: 560px; }
  .hero h1 { font-size: clamp(2.5rem, 4.5vw, 3.5rem); }
}
@media (max-width: 1100px) {
  .header { padding-block: 18px; min-height: 76px; }
  .header nav { background: linear-gradient(135deg, #293640, #141d24); border-color: #ffffff20; }
  .nav-group ul { background: transparent; box-shadow: none; border-radius: 0; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .header { padding: 18px 20px; min-height: 72px; }
  .brand { width: 205px; }
  .section { padding-block: 40px; }
  .hero { min-height: 590px; align-items: flex-end; }
  .hero-image { object-position: 65% center; }
  .hero-shade { background: linear-gradient(0deg, #182128 0%, #15212beb 40%, #15212b55 100%), linear-gradient(90deg, #14202a99, transparent); }
  .hero-content { padding-block: 60px 42px; }
  .hero-kicker { margin-bottom: 24px; font-size: .61rem; gap: 10px; }
  .hero-kicker::before { width: 24px; }
  .hero h1 { font-size: clamp(2rem, 7.3vw, 3rem); letter-spacing: -.045em; line-height: 1.18; }
  .hero-description { font-size: .9rem; margin-top: 22px; }
  .hero .actions { margin-top: 26px; gap: 10px; }
  .hero .button { width: 100%; }
  .hero-signature { gap: 10px 16px; font-size: .59rem; margin-top: 28px; }
  .collection { padding-top: 40px; }
  .section-heading { align-items: flex-start; margin-bottom: 24px; }
  .vehicle-grid { gap: 20px; }
  .vehicle-card .vehicle-body { padding: 20px; }
  .vehicle-card .vehicle-specs > div + div, .vehicle-card .vehicle-specs > div:nth-child(3) { border-color: #ffffff15; }
  .vehicle-card .vehicle-price { font-size: 1.5rem; }
  .vehicle-card .vehicle-vat { padding: 0; font-size: .58rem; }
  .vehicle-card .vehicle-action { margin-top: 18px; }
  .about { padding-top: 56px; }
  .inquiry-panel { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .vehicle-card:hover { transform: none; }
}
@media print {
  body::before { display: none; }
  body, .about, .inquiry, .vehicle-card, .inquiry-panel { background: #fff; color: #111; }
  .vehicle-title, .vehicle-price, .vehicle-specs dd, .about-copy p { color: #111; }
}

/* Отзиви (15.10.2026): абзаци в цитата, съкратен текст в слайдера на главната и стена с всички отзиви. */
.t-body blockquote p { margin: 0; }
.t-body blockquote p + p { margin-top: .8em; }
.t-excerpt { display: -webkit-box; max-height: calc(1.75em * 6); -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.t-more { align-self: flex-start; margin-top: 14px; padding: 0; background: none; border: 0; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 600; color: #c9485a; }
.t-more:hover { color: #e05a6c; }
/* Отзиви (15.10.2026): картата в слайдера на главната и целите отзиви на страницата „Отзиви“. */
/* Мрежата на „Отзиви“: по 3 на ред, целият текст, непълният последен ред е центриран. */
.t-grid { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.t-grid .t-card { flex: 0 0 calc((100% - 44px) / 3); scroll-margin-top: 110px; }
.t-grid .t-card:target figure { border-color: #a8323f; box-shadow: 0 0 0 1px #a8323f; }
/* Отзив с два автомобила: двете снимки една под друга на всички размери, за да е еднакво съдържанието (16.10.2026). */
.t-photo-many { aspect-ratio: auto; display: flex; flex-direction: column; gap: 2px; }
.t-photo-many img { aspect-ratio: 4 / 3; height: auto; }
.t-photo-many @media (max-width: 1000px) { .t-grid .t-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 640px) {
  .t-grid { gap: 16px; }
  .t-grid .t-card { flex-basis: 100%; }
}

/* „Стандарт, който се усеща“: червено 911 в студио като широка лента до края на секцията, по модела на United Drive (15.10.2026).
   Лентата е на цялата ширина, колата заема около половината. Горе и долу снимката се слива с графитения фон. */
.about { padding-bottom: 0; border-block: 0;
  background: radial-gradient(ellipse at 50% 38%, #64788530, transparent 62%),
    linear-gradient(180deg, transparent 0%, #1f2a33d9 14%, #1a242cd9 58%, transparent 100%); }
/* Без граница отгоре на следващата секция, за да прелее лентата с колата в отзивите. */
.about + .testimonials, .about + section { border-top: 0; }
.about-band { margin-top: 56px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%); }
.about-band img { display: block; width: 100%; height: clamp(190px, 25vw, 560px); object-fit: cover; object-position: center; filter: none; }
@media (max-width: 600px) { .about-band { margin-top: 36px; } }

/* Hero на главната: черно 911 в студио (15.10.2026). Колата е вдясно на десктоп и под текста на телефон
   (върнато както беше на 16.10.2026 по молба на Алекс, само за главната). */
.hero-image-911 { object-position: 74% 80%; filter: none; }
.hero:has(.hero-image-911) .hero-shade { background: linear-gradient(90deg, #0d151cdd 0%, #0d151c99 34%, #0d151c22 60%, transparent 78%), linear-gradient(0deg, #182128 0%, #18212800 22%); }
@media (max-width: 700px) {
  .hero:has(.hero-image-911) { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero:has(.hero-image-911) picture { order: 2; display: block; }
  .hero:has(.hero-image-911) .hero-shade { display: none; }
  .hero:has(.hero-image-911) .hero-content { order: 1; padding-block: 44px 0; }
  .hero-image-911 { position: static; width: 100%; height: auto; object-fit: contain; margin-top: 8px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 82%, transparent 100%); }
}

/* На телефон бутон и текстова връзка на един ред се подравняват по средата, не по горния ръб (16.10.2026). */
@media (max-width: 700px) {
  .actions { align-items: center; }
  .hero .actions, .service-hero .actions { align-items: stretch; }
}

/* „Вашият личен контакт“ на „За нас“: кръгла снимка и две колони, без блока с адрес/оглед/езици (16.10.2026). */
.about-person { grid-template-columns: 320px minmax(0, 720px); justify-content: center; align-items: center; gap: 56px; }
.about-portrait { border-radius: 50%; border: 1px solid #ffffff26; box-shadow: 0 0 0 8px #ffffff08, 0 24px 60px #0005; }
.about-portrait img { aspect-ratio: 1; }
/* Снимката на Иван се показва без приглушаващия филтър на останалите снимки (16.10.2026). */
.about-portrait img, .about-portrait:hover img, .person-avatar { filter: none; }
@media (max-width: 1000px) { .about-person { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; } .about-portrait { width: 220px; } .about-person .actions { justify-content: center; } }

/* „Внос от Европа“, „Какво включва“: шоурумът е хоризонтален, кадърът се центрира по колата. */
.split-visual .img-showroom { object-position: 14% center; }

/* Viber каналът за Канада (15.10.2026). */
.viber-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 34px 38px; background: var(--surface); border: 1px solid #ffffff1c; border-radius: 8px; }
.viber-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #c9a7ef; background: #7360f214; border: 1px solid #a68ff04d; }
.viber-cta h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-top: 6px; }
.viber-cta p:not(.eyebrow) { margin-top: 8px; color: #b6c1ca; max-width: 560px; }
@media (max-width: 760px) { .viber-cta { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; } .viber-cta .button { width: 100%; } }
.split-visual .img-detailing { object-position: 30% center; }
/* Главна: по-малко празно място под заглавието „Всичко необходимо. Един доверен партньор.“ */
.services-intro { margin-bottom: 40px; }
@media (max-width: 700px) { .services-intro { margin-bottom: 28px; } }
/* „Контакти“: двете колони се центрират вертикално една спрямо друга. */
.contact-layout { align-items: center; }
/* Hero на „За нас“: G-Class, колата е вдясно. */
.about-hero .service-hero-image { object-position: 74% 80%; filter: none; }
.about-hero h1 { max-width: 620px; }
.about-hero .service-hero-lead { max-width: 520px; }
@media (max-width: 700px) {
  /* Както на главната: на телефон колата е под текста (върнато на 16.10.2026). */
  .about-hero { flex-direction: column; align-items: stretch; min-height: 0; background: transparent; }
  .about-hero picture { order: 2; display: block; }
  .about-hero .service-hero-shade { display: none; }
  .about-hero .service-hero-content { order: 1; padding-bottom: 0; }
  .about-hero .service-hero-image { position: static; width: 100%; height: auto; object-fit: contain; margin-top: 8px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 82%, transparent 100%); }
}
/* Hero на Канада: кадърът включва червения кабриолет и белия Bentley. */
.canada-hero .service-hero-image { object-position: 62% 72%; }
@media (max-width: 700px) { .canada-hero .service-hero-image { object-position: 60% 68%; } }

/* Бартер – ключ в hero */
.barter-hero .service-hero-image { object-position: 80% 60%; }
@media (max-width: 700px) {
  .barter-hero .service-hero-image { object-position: 100% 100%; }
}

/* Финансиране – подписване в hero */
.financing-hero .service-hero-image { object-position: 100% 60%; }
@media (max-width: 700px) {
  .financing-hero .service-hero-image { object-position: 100% 100%; }
}

/* Канада, „Какво не приемаме“: фарът на AMG е в центъра на кадъра. */
.split-visual .img-amg-detail { object-position: 66% center; }

/* „Финансиране“: кратко обяснение на лизинга над видовете финансиране (16.10.2026). */
.financing-intro { color: var(--muted); line-height: 1.8; margin: 0 0 18px; max-width: 560px; }

/* Одит на празните пространства (16.10.2026): по-малко въздух между секциите и под отделни блокове. */
.numbers:last-child { margin-bottom: 0; }
.photo-band { margin-bottom: 24px; }
section.reviews .container > :first-child { margin-top: 0; }
section:has(> .container > .vehicle-description), section:has(.vehicle-description) { padding-bottom: 40px; }

/* Бутони на телефон (16.10.2026): всички бутони са на цяла ширина, подредени един под друг,
   а текстовата връзка е под тях – центрирана, освен в hero, където текстът е подравнен вляво. */
@media (max-width: 700px) {
  main .button { width: 100%; justify-content: center; }
  main .actions { flex-direction: column; align-items: stretch; gap: 14px; }
  main .actions > .text-link { align-self: center; }
  main .hero .actions > .text-link, main .service-hero .actions > .text-link { align-self: flex-start; }
}

/* Карта само след съгласие и лента за бисквитки (16.10.2026). */
.map-consent { display: grid; place-items: center; min-height: var(--map-height, 420px); padding: 32px 20px; line-height: 1.6; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #2f3c4655, transparent 70%), #141b21; }
.map-consent.is-loaded { display: block; padding: 0; min-height: 0; }
.map-consent iframe { display: block; width: 100%; height: var(--map-height, 420px); border: 0; filter: grayscale(.35) contrast(.95) brightness(.88); }
.map-consent-box { max-width: 460px; }
.map-consent-title { color: #fff; font-weight: 600; font-size: 1.05rem; }
.map-consent-box p:not(.map-consent-title) { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.map-consent-box a { color: #e4e8eb; }
.map-consent-box .button { margin-top: 18px; }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 18px 28px; max-width: 980px; margin: 0 auto; padding: 18px 22px;
  background: #182128f2; border: 1px solid #ffffff26; border-radius: 8px; box-shadow: 0 20px 50px #0007; backdrop-filter: blur(8px); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { color: #d3d9de; font-size: .88rem; line-height: 1.6; }
.cookie-bar a { color: #fff; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .button { min-height: 44px; padding-inline: 18px; white-space: nowrap; }
.legal-settings { padding: 0; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .cookie-bar { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .button { width: 100%; }
}
/* Банер за съгласие с категории (Consent Mode v2). */
.cookie-bar { flex-wrap: wrap; }
.cookie-main { flex: 1 1 420px; }
.cookie-title { color: #fff !important; font-weight: 600; font-size: .98rem !important; margin-bottom: 4px; }
.cookie-options { flex: 1 1 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cookie-options[hidden] { display: none; }
.cookie-option { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid #ffffff1f; border-radius: 6px; background: #ffffff05; cursor: pointer; font-size: .82rem; line-height: 1.5; color: #b6c1ca; }
.cookie-option strong { display: block; color: #fff; font-size: .88rem; margin-bottom: 2px; }
.cookie-option input { margin-top: 3px; accent-color: #a8323f; width: 16px; height: 16px; flex: none; }
.cookie-option.is-locked { cursor: default; opacity: .8; }
.cookie-actions { flex-wrap: wrap; align-items: center; }
.cookie-actions [hidden] { display: none; }
.cookie-link { padding: 0 6px; background: none; border: 0; color: #d3d9de; font: inherit; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 760px) {
  .cookie-main, .cookie-options { flex: none; }
  .cookie-options { grid-template-columns: 1fr; max-height: 46vh; overflow: auto; }
  .cookie-link { padding: 6px; }
}

/* „Покупка и транспорт“, „С кого говорим“: салонът се показва цял, хоризонтално, а не изрязан в 4:5 като другите снимки до текст. */
.split-visual:has(.img-dealer) { max-width: 680px; }
.split-visual .img-dealer { aspect-ratio: 1459 / 963; max-height: none; object-fit: cover; }
/* Снимката е с прозрачни, заоблени краища: без рамка, фон и ъгли зад нея, без увеличение при посочване. */
.split-visual:has(.img-dealer) { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.split-visual .img-dealer, .split-visual:hover .img-dealer { transform: none; }

/* Галерия на автомобила (18.10.2026): стрелки върху голямата снимка, брояч, активна миниатюра, стрелки в цял екран. */
.vehicle-stage { position: relative; }
.gallery-arrow, .lightbox-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; padding: 0;
  border: 1px solid #ffffff40; border-radius: 50%; background: #0d151cb8; color: #fff; font-size: 1.15rem; cursor: pointer; backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s, transform .3s cubic-bezier(.22,1,.36,1); }
.gallery-arrow:hover, .lightbox-arrow:hover { background: var(--metal-red); border-color: #a8323f; }
.gallery-arrow:active, .lightbox-arrow:active { transform: scale(.94); }
.gallery-prev, .lightbox-prev { left: 14px; }
.gallery-next, .lightbox-next { right: 14px; }
.lightbox-arrow[hidden] { display: none; }
.gallery-count { position: absolute; left: 14px; bottom: 12px; z-index: 2; padding: 4px 11px; border-radius: 20px; background: #0d151cb8; color: #fff; font-size: .78rem; letter-spacing: .04em; pointer-events: none; }
.vehicle-thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.vehicle-thumb { position: relative; width: 100%; padding: 0; border: 0; cursor: pointer; outline-offset: 2px; }
.vehicle-thumb img { opacity: .62; transition: opacity .25s, transform .4s; }
.vehicle-thumb:hover img, .vehicle-thumb.is-active img { opacity: 1; }
.vehicle-thumb.is-active { outline: 2px solid #c9485a; }
.lightbox { position: relative; }
.lightbox figure img { touch-action: pan-y; }
@media (max-width: 700px) {
  .gallery-arrow { width: 40px; height: 40px; margin-top: -20px; font-size: 1rem; }
  .gallery-prev { left: 8px; } .gallery-next { right: 8px; }
  .lightbox-arrow { width: 40px; height: 40px; margin-top: -20px; }
  .lightbox-prev { left: 6px; } .lightbox-next { right: 6px; }
  /* На телефон миниатюрите са лента, която се плъзга настрани. */
  .vehicle-thumbs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 3px 2px 6px; }
  .vehicle-thumbs::-webkit-scrollbar { display: none; }
  .vehicle-thumb { flex: 0 0 26%; scroll-snap-align: start; }
}
