/* ru-zeekr.ru. Дизайн по DESIGN(5).md (Lamborghini): чёрная сцена, одна жёлтая кнопка на экран,
   прописные заголовки узким шрифтом, нулевые радиусы, без теней, фото во всю ширину, чередование тёмных и светлых секций.
   Шрифты: Oswald (заголовки, замена LamboType с кириллицей), IBM Plex Sans (текст). Базовая сетка 8 px. */
:root {
  --giallo: #ffc000; --giallo-dark: #917300;
  --black: #000000; --carbon: #181818; --carbony: #202020; --anvil: #313131;
  --graphite: #494949; --steel: #7d7d7d; --ash: #969696;
  --white: #ffffff; --marble: #f5f5f5;
  --font-display: 'Oswald', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --track: 0.023em;
  --max: 1440px; --gutter: clamp(16px, 4vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--carbony); color: var(--white); font-family: var(--font-body); font-size: 16px; line-height: 1.5; letter-spacing: 0.01em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--giallo); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* типографика: заголовки только прописными, один вес, иерархия размером */
.t-hero, .t-display, .t-heading, .t-label, .t-btn { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--track); margin: 0; }
.t-hero { font-size: clamp(44px, 7.4vw, 108px); line-height: 0.92; }
.t-display { font-size: clamp(36px, 4.5vw, 64px); line-height: 1; }
.t-heading { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.t-label { font-size: 13px; line-height: 1.5; color: var(--ash); }
.t-btn { font-size: 15px; line-height: 1; }
.lead { font-size: 18px; line-height: 1.5; max-width: 42ch; margin: 0; color: var(--white); }
.hero-copy .lead { max-width: none; }
.muted { color: var(--steel); }

/* кнопки: жёлтая одна на экран, 0 радиус, без тени */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 28px; text-decoration: none; border: 0; cursor: pointer; background: var(--giallo); color: var(--black); }
.btn:hover { background: #ffcb2e; }
.btn:active { background: var(--giallo-dark); color: var(--white); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--white); padding: 18px 0; }
.btn-ghost:hover { background: transparent; color: var(--giallo); }
.btn-line { background: transparent; color: var(--white); border: 1px solid var(--steel); }
.btn-line:hover { background: transparent; border-color: var(--white); }
.on-light .btn-ghost, .on-light .btn-line { color: var(--carbony); }
.on-light .btn-line { border-color: var(--ash); }

/* шапка */
.header { position: fixed; inset: 0 0 auto 0; z-index: 20; height: 64px; background: var(--carbony); display: flex; align-items: center; }
.header > .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-left { display: flex; align-items: center; gap: 28px; }
.menu-btn .t-btn { display: none; }  /* подпись "Меню" не показываем, остаётся только значок */
.menu-btn { display: inline-flex; align-items: center; gap: 12px; background: transparent; border: 0; color: var(--white); cursor: pointer; padding: 8px 0; font: inherit; }
.menu-btn:hover { color: var(--giallo); }
.menu-lines { display: inline-grid; gap: 5px; width: 20px; }
.menu-lines i { display: block; height: 1.5px; background: currentColor; }
.menu-btn[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; top: 64px; background: var(--carbon); border-top: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); }
.menu-grid { display: flex; flex-wrap: wrap; gap: 0 40px; padding-block: 8px; }
.menu a { display: block; padding: 18px 0; text-decoration: none; font-family: var(--font-display); text-transform: uppercase; letter-spacing: var(--track); font-size: 16px; border-bottom: 1px solid transparent; }
.menu a:hover { color: var(--giallo); border-bottom-color: var(--giallo); }
@media (max-width: 760px) {
  .menu-grid { flex-direction: column; gap: 0; }
  .menu a { border-bottom: 1px solid var(--anvil); padding: 16px 0; }
  .menu a:last-child { border-bottom: 0; }
  .header-left { gap: 16px; }
  .menu-btn .t-btn { display: none; }
}
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand b { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.08em; font-size: 20px; }
.brand span { font-size: 12px; color: var(--ash); letter-spacing: var(--track); text-transform: uppercase; font-family: var(--font-display); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-icon + .header-icon { margin-left: -18px; }  /* иконки мессенджеров парой, ближе друг к другу */
.header-phone { text-decoration: none; font-family: var(--font-display); font-size: 16px; letter-spacing: 0.04em; white-space: nowrap; }
.header-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--white); }
.header-icon svg { width: 22px; height: 22px; }
.header-icon[data-msg="wa"] svg { width: 20px; height: 20px; }  /* контур WhatsApp оптически крупнее кружка Telegram */
.header-icon:hover { color: var(--giallo); }
.header .btn { padding: 12px 20px; }
.header .btn .t-btn { font-size: 13px; }
@media (max-width: 760px) { .header-phone span { display: none; } .header .btn, .header-icon { display: none; } .brand span { display: none; } }

/* первый экран */
.hero { position: relative; min-height: 100svh; background: var(--black); display: grid; align-items: end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 88% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%), linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 40%); }
.hero-copy { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 56px; margin: 0; width: 100%; justify-self: center; }  /* grid-элемент с margin auto сжимается до контента и центрируется, поэтому margin 0 и полная ширина */
.hero-copy > * { max-width: 920px; }
.hero-copy .lead { margin: 24px 0 40px; }
.hero-cta { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero-facts { position: relative; z-index: 2; border-top: 1px solid var(--graphite); }
.hero-facts .wrap { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 48px; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.fact b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1; letter-spacing: var(--track); text-transform: uppercase; }
.fact span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.3; color: var(--ash); text-transform: uppercase; letter-spacing: var(--track); font-family: var(--font-display); }
.hero-proof { justify-self: end; font-size: 13px; color: var(--ash); text-align: right; text-decoration: none; }
.hero-proof b { color: var(--white); font-weight: 500; }
@media (max-width: 760px) {
  /* на телефоне машина сверху, текст под ней на чёрном: наложение текста на машину выглядело грязно */
  .hero { min-height: 0; display: block; padding-top: 64px; }
  .hero-media { position: relative; inset: auto; height: 64vw; max-height: 440px; }
  .hero-copy .lead br { display: none; }
  .hero-media img { object-position: 50% 62%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 22%); }
  .hero-copy { padding-top: 8px; padding-bottom: 28px; }
  .hero-copy .lead { margin: 16px 0 28px; font-size: 16px; }
  .hero-facts .wrap { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fact b { font-size: 20px; white-space: nowrap; }
  .fact span { font-size: 11px; }
  .hero-proof { grid-column: 1 / -1; justify-self: start; text-align: left; }
}

/* секции */
.section { padding-block: 80px; }
.section.dark { background: var(--carbony); color: var(--white); }
.section.deep { background: var(--carbon); color: var(--white); }
.section.light { background: var(--white); color: var(--carbony); }
.section.marble { background: var(--marble); color: var(--carbony); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head .t-label { margin-bottom: 0; }
.link { font-family: var(--font-display); text-transform: uppercase; letter-spacing: var(--track); font-size: 13px; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.link svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .section { padding-block: 56px; } .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; } }

/* было и стало: таблица с линиями-волосками */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 20px 0; border-bottom: 1px solid var(--ash); vertical-align: top; }
.table th { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--track); font-size: 13px; color: var(--steel); padding-top: 0; }
.table td:first-child { font-family: var(--font-display); text-transform: uppercase; letter-spacing: var(--track); font-size: 18px; width: 30%; }
.table td.was { color: var(--steel); width: 30%; }
.table td.now { color: var(--carbony); }
.dark .table th, .dark .table td { border-color: var(--graphite); }
.dark .table td.now { color: var(--white); }
@media (max-width: 760px) {
  .table thead { display: none; }
  .table tr { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--ash); padding: 16px 0; }
  .table td { border: 0; padding: 2px 0; width: auto !important; }
  .table td.was::before { content: "Из Китая: "; color: var(--ash); }
  .table td.now::before { content: "После: "; color: var(--ash); }
  .dark .table tr { border-color: var(--graphite); }
}

/* полноэкранное фото */
.bleed { position: relative; background: var(--black); }
.bleed img { width: 100%; height: min(78vh, 820px); object-fit: cover; }
.bleed-caption { position: absolute; left: 0; right: 0; bottom: 0; padding-block: 32px; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0)); }
.bleed-caption .t-heading { max-width: 24ch; }
.bleed-caption p { margin: 12px 0 0; max-width: 48ch; color: #d6d6d6; }
@media (max-width: 760px) { .bleed img { height: 68vh; } }

/* модели и цены */
.price-table td:first-child { width: 36%; }
.price-table td.price { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; letter-spacing: var(--track); white-space: nowrap; }
.price-table td.hours { color: var(--steel); white-space: nowrap; }
.price-table td.note { color: var(--graphite); font-size: 14px; }
.price-note { margin: 24px 0 0; color: var(--steel); font-size: 14px; max-width: 70ch; }
.price-extra { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.price-extra div { border-top: 1px solid var(--ash); padding-top: 16px; }
.price-extra b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--track); font-size: 18px; }
.price-extra span { display: block; margin-top: 4px; color: var(--steel); font-size: 14px; line-height: 1.3; }
@media (max-width: 760px) {
  .price-table tr { grid-template-columns: 1fr auto; }
  .price-table td:first-child { grid-column: 1 / -1; }
  .price-table td.price::before, .price-table td.hours::before, .price-table td.note::before { content: none; }
}

/* шаги: это последовательность, поэтому нумерация уместна */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { border-top: 1px solid var(--graphite); padding-top: 24px; }
.step i { font-style: normal; font-family: var(--font-display); font-size: 13px; color: var(--ash); letter-spacing: var(--track); }
.step b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--track); font-size: 22px; margin: 12px 0 8px; }
.step p { margin: 0; color: #c9c9c9; font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* мастер: тёмная сцена как на первом экране, портрет без рамки уходит за нижний край секции */
.master-section { background: var(--black); color: var(--white); position: relative; overflow: hidden; padding-top: 48px; }
.master-section::before { content: ""; position: absolute; right: 4%; bottom: -10%; width: 46vw; height: 46vw; max-width: 760px; max-height: 760px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120, 95, 60, .55), rgba(60, 48, 30, .25) 50%, transparent 72%); pointer-events: none; }  /* тёплый прожектор, как на фото машины */
.master { position: relative; display: grid; grid-template-columns: 7fr 5fr; grid-template-areas: "head photo" "body photo"; column-gap: 48px; align-items: center; }
.master-head { grid-area: head; align-self: end; padding-top: 32px; }
.master-head .t-label { margin-bottom: 20px; }
.master-body { grid-area: body; align-self: start; padding-bottom: 64px; }
.master-body .lead { max-width: 52ch; margin-top: 24px; color: #d6d6d6; }
.master-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 24px 48px; margin: 48px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--graphite); }
.master-facts b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--track); font-size: 26px; line-height: 1; white-space: nowrap; }
.master-facts span { display: block; margin-top: 6px; color: var(--ash); font-size: 13px; line-height: 1.3; }
.master-photo { grid-area: photo; align-self: end; display: flex; justify-content: center; }
.master-photo img { width: min(100%, 460px); display: block; margin-bottom: -2px; }
@media (max-width: 1100px) { .master-facts { grid-template-columns: repeat(2, auto); } }
@media (max-width: 860px) {
  /* телефон: заголовок, под ним портрет по плечи, потом текст и факты */
  .master-section { padding-top: 48px; padding-bottom: 48px; }
  .master { grid-template-columns: 1fr; grid-template-areas: "head" "photo" "body"; gap: 0; }
  .master-head { padding-top: 0; }
  .master-photo { justify-content: flex-start; height: 312px; overflow: hidden; margin: 24px 0 28px; position: relative; }
  .master-photo img { width: 270px; height: 100%; margin: 0; object-fit: cover; object-position: 50% 0; }  /* кадр от макушки вниз, голова целиком */
  .master-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(0deg, var(--black), rgba(0,0,0,.6) 40%, transparent); }  /* мягкий срез по низу, не затемняет футболку */
  .master-body { padding-bottom: 0; }
  .master-body .lead { margin-top: 0; }
  .master-facts { margin-top: 28px; gap: 20px 24px; }
  .master-section::before { right: -20%; bottom: auto; top: 120px; width: 90vw; height: 90vw; }
}
.on-light .lead { color: var(--carbony); }

/* отзывы: три колонки без карточек */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
/* карточка: текст во всю ширину, внизу подпись с маленькой аватаркой, именем и моделью */
.review { border-top: 1px solid var(--graphite); padding-top: 24px; display: grid; grid-template-columns: 36px 1fr; grid-template-areas: "av name" "av meta" "text text"; column-gap: 12px; align-content: start; }  /* подпись сверху, чтобы не прыгала по высоте между карточками */
.on-light .review { border-color: var(--ash); }
.on-light .review i { color: var(--steel); }
.review-av { grid-area: av; width: 36px; height: 36px; object-fit: cover; display: block; align-self: start; }
.review-av-letter { background: var(--anvil); color: var(--white); font-family: var(--font-display); font-size: 17px; display: flex; align-items: center; justify-content: center; }
.review p { grid-area: text; margin: 16px 0 0; font-size: 17px; line-height: 1.5; }
.review b { grid-area: name; margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--track); font-size: 15px; line-height: 1.2; align-self: end; }
.review i { grid-area: meta; font-style: normal; font-family: var(--font-display); font-size: 12px; color: var(--ash); letter-spacing: var(--track); text-transform: uppercase; line-height: 1.3; }
.rating-box { display: grid; justify-items: end; gap: 8px; text-align: right; }
.rating { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.rating svg { width: 16px; height: 16px; align-self: center; color: var(--giallo); }
.rating b { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: var(--track); }
.rating span { color: var(--steel); font-size: 13px; }
.reviews-more { display: none; }
@media (max-width: 760px) {
  /* телефон: в заголовке только рейтинг на одной линии с ним, ссылка на все отзывы под слайдером */
  #reviews .section-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .rating-box .link { display: none; }
  .rating b { font-size: 22px; }
  .reviews-more { display: inline-flex; margin-top: 24px; }
}
@media (max-width: 860px) {
  /* телефон: горизонтальный слайдер карточек, следующая выглядывает примерно на 30 % */
  .reviews { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-left: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(var(--gutter), env(safe-area-inset-right, 0px)));
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
    scroll-padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 78%; scroll-snap-align: start; border-top: 0; padding: 20px; background: var(--marble); }
  .review p { font-size: 16px; }
  .on-light .review { border-color: transparent; }
}

/* сим и мастер-аккаунт: баннер с фото */
.sim { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.sim-copy { padding: 64px var(--gutter); }
.sim-copy .lead { margin: 20px 0 32px; }
.sim-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
@media (max-width: 860px) { .sim { grid-template-columns: 1fr; } .sim-copy { padding: 48px var(--gutter); } .sim-media img { min-height: 320px; } }

/* вопросы */
.faq { border-top: 1px solid var(--ash); }
.faq details { border-bottom: 1px solid var(--ash); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: var(--track); font-size: 18px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--steel); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 24px; max-width: 70ch; color: var(--anvil); }

/* форма и подвал */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: var(--track); font-size: 12px; color: var(--ash); }
.field input, .field select, .field textarea { width: 100%; background: var(--black); color: var(--white); border: 1px solid var(--graphite); padding: 16px; font: inherit; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--giallo); outline: none; }
.form .btn { justify-self: start; }
.consent { font-size: 12px; color: var(--steel); }
.consent a { color: var(--ash); }
.form-done { display: none; border: 1px solid var(--giallo); padding: 24px; }
.form.sent .form-done { display: block; }
.form.sent .field, .form.sent .btn, .form.sent .consent { display: none; }
.contacts-list { display: grid; gap: 24px; align-content: start; }
.contacts-list a { text-decoration: none; font-family: var(--font-display); text-transform: uppercase; letter-spacing: var(--track); font-size: 24px; display: inline-flex; gap: 12px; align-items: center; }
.contacts-list a svg { width: 22px; height: 22px; }
.contacts-list a[data-msg="wa"] svg { width: 20px; height: 20px; }
.contacts-list span { display: block; color: var(--steel); font-size: 14px; margin-top: 4px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
.footer { background: var(--carbon); color: var(--ash); font-size: 13px; padding-block: 32px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--ash); }

/* плавающая панель на телефоне */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--black); border-top: 1px solid var(--graphite); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .dock a { text-decoration: none; padding: 14px 8px; text-align: center; font-family: var(--font-display); text-transform: uppercase; letter-spacing: var(--track); font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .dock a svg { width: 20px; height: 20px; }
  .dock a[data-msg="wa"] svg { width: 18px; height: 18px; }
  .dock a.dock-main { color: var(--giallo); }
  body { padding-bottom: 64px; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
