/* ВИП-ДИЗАЙН — «Лукбук»: stark monochrome high-fashion editorial */

:root {
  --paper: #ffffff;
  --ink: #0c0c0c;
  --ink-soft: #1a1a1a;
  --muted: #6b6b6b; /* darkened from #8a8a8a for WCAG 4.5:1 on white */
  --line: #d7d7d7;
  --line-dark: #2a2a2a;
  --accent: #9a7b4f; /* single restrained brand accent */
  --shadow: 0 24px 60px -30px rgba(0,0,0,.55);
  --serif: 'Bodoni Moda', Georgia, serif;
  --sans: 'Archivo', system-ui, -apple-system, sans-serif;
  --pad: clamp(1.15rem, 5vw, 5.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

/* subtle paper grain */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  background-image: repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}

/* ---------- shared type ---------- */
.kicker {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.4rem;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: var(--ink);
  vertical-align: middle;
  margin-right: .8rem;
}

.spread-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: .92;
  letter-spacing: -.01em;
  margin: 0 0 1.4rem;
  text-transform: none;
}
.spread-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.spread-lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 34ch;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .95rem 1.7rem;
  border: 1px solid var(--ink);
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  transition: background .35s ease, color .35s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-mini {
  font-size: .62rem;
  padding: .6rem 1.05rem;
  letter-spacing: .18em;
}

/* ---------- masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink);
}
.mark {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .18em;
  text-decoration: none;
}
.mark span { color: var(--accent); font-style: italic; }
.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav a {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding: .2rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s ease;
}
.nav a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--ink);
  padding: .55rem 1.1rem !important;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad) 0;
  overflow: hidden;
}
.edge-word {
  position: absolute;
  right: -.15em;
  top: 46%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 8rem);
  letter-spacing: .12em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.hero-lede { padding-bottom: 1.5rem; }
.hero-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: .9;
  letter-spacing: -.015em;
  margin: 0 0 1.8rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.hero-text {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 36ch;
  color: var(--ink-soft);
  margin: 0 0 2rem;
}
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

.hero-figure {
  margin: 0;
  position: relative;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  clip-path: inset(0 0 0 0);
  animation: reveal 1.1s cubic-bezier(.16,1,.3,1) both;
}
.hero-figure figcaption {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
}
.hero-strip {
  position: relative;
  z-index: 2;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  align-items: center;
}
.hero-strip i { color: var(--accent); font-style: normal; }

@keyframes reveal {
  from { clip-path: inset(0 0 100% 0); opacity: 0; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* ---------- SPREADS (rental / ads) ---------- */
.spread {
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad);
  position: relative;
  z-index: 2;
}
.spread-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.edito-two {
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.edito-img { margin: 0; overflow: hidden; }
.edito-img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}
.edito-img:hover img { transform: scale(1.05); }
.edito-notes { display: flex; flex-direction: column; gap: 1.8rem; }
.edito-notes article { border-top: 1px solid var(--line); padding-top: 1rem; }
.edito-notes .num { display: block; margin-bottom: .3rem; }
.edito-notes h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 .35rem;
}
.edito-notes p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.edito-notes .btn { align-self: flex-start; margin-top: .4rem; }

/* inverted spread = black gallery */
.spread-invert {
  background: var(--ink);
  color: var(--paper);
}
.spread-invert .kicker { color: #9a9a9a; }
.spread-invert .kicker::before { background: var(--paper); }
.spread-invert .spread-title { color: var(--paper); }
.spread-invert .spread-lede { color: #cfcfcf; }
.ads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.ads-cell {
  padding: 2rem 1.4rem 2.4rem;
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
}
.ads-cell:nth-child(4n) { border-right: none; }
.ads-cell .num { font-size: 2rem; display: block; margin-bottom: 1.2rem; }
.ads-cell h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 .5rem;
}
.ads-cell p { margin: 0; color: #b9b9b9; font-size: .92rem; }
.ads-cta { margin-top: 2.6rem; }

/* ---------- FLEET / LOOKBOOK ---------- */
.fleet {
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad);
  position: relative;
  z-index: 2;
}
.fleet-head { max-width: 42rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.looks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 3rem) clamp(1.4rem, 2.5vw, 2.5rem);
}
.look {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.look:nth-child(3n+2) { margin-top: 3rem; } /* asymmetric offset */
.look-wide { grid-column: span 2; }
.look-img { overflow: hidden; }
.look-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
  transition: transform 1.3s cubic-bezier(.16,1,.3,1), filter .6s ease;
}
.look-wide .look-img img { aspect-ratio: 16 / 10; }
.look:hover .look-img img { transform: scale(1.05); filter: grayscale(0) contrast(1.02); }
.look figcaption { padding-top: .9rem; }
.look-num {
  font-size: .64rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.look h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  margin: .35rem 0 .5rem;
}
.look-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 .9rem;
  padding-top: .5rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
}
.look-meta span { letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.look-meta b { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--ink); font-size: 1rem; }
.look .btn { align-self: flex-start; }

/* ---------- PROCESS ---------- */
.process {
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad);
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 2;
}
.process .kicker { color: #9a9a9a; }
.process .kicker::before { background: var(--paper); }
.process .spread-title { color: var(--paper); }
.process-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: none;
}
.notes li {
  padding: 2rem 1.6rem 2.2rem 0;
  border-top: 1px solid var(--line-dark);
}
.note-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 3rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.notes h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 .4rem;
}
.notes p { margin: 0; color: #b9b9b9; font-size: .92rem; }

/* ---------- LEAD ---------- */
.lead {
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad);
  position: relative;
  z-index: 2;
}
.lead-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.lead-intro .spread-lede a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent); }
.lead-note {
  margin-top: 1.4rem;
  font-size: .85rem;
  color: var(--muted);
  max-width: 34ch;
}

#leadForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.3rem;
  border-top: 1px solid var(--ink);
  padding-top: 2rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-wide { grid-column: 1 / -1; }
.field label {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: .55rem 0;
  border-radius: 0;
  transition: border-color .3s ease;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: .6rem;
}
#formMessage {
  margin: 0;
  font-size: .85rem;
  color: var(--ink-soft);
}
#formMessage.is-error { color: #b00020; }
#formMessage.is-success { color: var(--accent2, #6f5635); }
#mailLink {
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--accent);
}
.is-hidden { display: none; }

/* ---------- requisites ---------- */
.reqs {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.reqs summary {
  cursor: pointer;
  padding: 1.4rem 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  list-style: none;
}
.reqs summary::-webkit-details-marker { display: none; }
.reqs summary::before { content: "+ "; color: var(--accent); }
.reqs[open] summary::before { content: "– "; }
.reqs-body { padding-bottom: 1.8rem; }
.reqs dl {
  margin: 0;
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: .55rem 1.5rem;
  font-size: .88rem;
}
.reqs dt { color: var(--muted); letter-spacing: .06em; }
.reqs dd { margin: 0; color: var(--ink); }

/* ---------- footer ---------- */
.footer {
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad);
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.footer-mark {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: .2em;
  font-size: 1.1rem;
}
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #cfcfcf;
}
.footer-links a:hover { color: var(--accent); }
.footer-legal {
  width: 100%;
  font-size: .72rem;
  letter-spacing: .1em;
  color: #7a7a7a;
  margin: 0;
}

/* reveal-on-scroll base */
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.reveal-up.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
  }
  .nav.open { max-height: 24rem; }
  .nav a { padding: 1rem var(--pad); width: 100%; border-top: 1px solid var(--line); }
  .nav-cta { border: none; padding: 1rem var(--pad) !important; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure img { aspect-ratio: 16 / 11; }
  .edito-two { grid-template-columns: 1fr; }
  .looks { grid-template-columns: repeat(2, 1fr); }
  .look-wide { grid-column: span 2; }
  .look:nth-child(3n+2) { margin-top: 0; }
  .ads-grid { grid-template-columns: 1fr 1fr; }
  .ads-cell:nth-child(4n) { border-right: 1px solid var(--line-dark); }
  .ads-cell:nth-child(2n) { border-right: none; }
  .notes { grid-template-columns: 1fr 1fr; }
  .lead-grid { grid-template-columns: 1fr; }
  .reqs dl { grid-template-columns: 1fr; gap: .1rem .5rem; }
  .reqs dt { margin-top: .6rem; }
}

@media (max-width: 600px) {
  :root { --pad: 1.15rem; }
  .hero-title { font-size: clamp(2.6rem, 15vw, 4rem); }
  .edge-word { font-size: 4rem; opacity: .6; }
  .looks { grid-template-columns: 1fr; }
  .look-wide { grid-column: span 1; }
  .look-img img, .look-wide .look-img img { aspect-ratio: 4 / 5; }
  .ads-grid { grid-template-columns: 1fr; }
  .ads-cell, .ads-cell:nth-child(4n) { border-right: none; }
  .notes { grid-template-columns: 1fr; }
  #leadForm { grid-template-columns: 1fr; }
  .hero-strip { font-size: .62rem; gap: .8rem; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-figure img { clip-path: none; opacity: 1; }
  .reveal-up { opacity: 1; transform: none; }
}


/* === Этап 1: фундамент (авто-добавлено) === */
img { height: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  padding: 10px 18px; background: #111; color: #fff; border-radius: 6px;
  font-size: .9rem; text-decoration: none;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }


/* === Этап 2: функциональность === */

/* --- фильтр лукбука --- */
.fleet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  margin: 0 0 clamp(1.6rem, 3vw, 2.6rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink);
}
.fleet-filter button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .3rem 0;
  position: relative;
  transition: color .3s ease;
}
.fleet-filter button::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 0;
  background: var(--ink);
  transition: width .3s ease;
}
.fleet-filter button:hover { color: var(--ink); }
.fleet-filter button[aria-pressed="true"] { color: var(--ink); }
.fleet-filter button[aria-pressed="true"]::after { width: 100%; }
.look.is-hidden-look { display: none; }

/* --- лайтбокс носителя --- */
.look-img[role="button"] { cursor: pointer; }
body.lb-open { overflow: hidden; }
.lb {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(.8rem, 3vw, 2.5rem);
}
.lb[hidden] { display: none; }
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, .62);
}
.lb-dialog {
  position: relative;
  z-index: 1;
  background: var(--paper); /* паспарту */
  padding: clamp(1.5rem, 5vw, 3.2rem);
  width: min(44rem, 100%);
  max-height: 100%;
  overflow: auto;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}
.lb-img {
  width: 100%;
  max-height: 55vh;
  object-fit: contain;
  filter: grayscale(1) contrast(1.03);
}
.lb-close {
  position: absolute;
  top: .55rem;
  right: .55rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: .6rem;
  color: var(--ink);
}
.lb-figure { margin: 0; }
.lb-caption {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem 1rem;
}
.lb-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
}
.lb-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
}
.lb-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: .55rem;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.lb-meta b {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}
.lb-cta { margin-top: 1.5rem; }

/* --- липкая мобильная CTA --- */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
  .mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: flex;
    background: var(--paper);
    border-top: 1px solid var(--ink);
    padding: .55rem var(--pad) calc(.55rem + env(safe-area-inset-bottom));
    transition: transform .35s ease;
  }
  .mobile-cta a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    padding: .95rem 1rem;
  }
  .mobile-cta.is-off { transform: translateY(110%); }
}

/* --- калькулятор аренды --- */
.calc {
  padding: clamp(3rem, 7vw, 6rem) var(--pad);
  border-top: 1px solid var(--ink);
  position: relative;
  z-index: 2;
}
.calc-head { max-width: 42rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.calc-body {
  display: grid;
  grid-template-columns: 1.3fr .9fr 1fr auto;
  gap: 1.6rem 2.4rem;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 1.7rem;
}
.calc-field { display: flex; flex-direction: column; gap: .45rem; }
.calc-field label,
.calc-total-label {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc-field select {
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: .55rem 0;
  max-width: 100%;
}
.calc-field select:focus { outline: none; border-bottom-color: var(--ink); }
.calc-stepper {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.calc-stepper button {
  width: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  padding: 0;
}
.calc-stepper button:hover { color: var(--accent); }
.calc-stepper input {
  width: 4rem;
  text-align: center;
  background: transparent;
  border: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  padding: .45rem 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
.calc-stepper input::-webkit-outer-spin-button,
.calc-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-total { display: flex; flex-direction: column; gap: .45rem; }
.calc-total output {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1;
  white-space: nowrap;
}
.calc-note {
  margin: 1.4rem 0 0;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 900px) {
  .calc-body { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .calc-body { grid-template-columns: 1fr; }
  .calc-total output { white-space: normal; }
}

/* --- FAQ --- */
.faq {
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad);
  position: relative;
  z-index: 2;
}
.faq-head { max-width: 42rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.faq-list {
  max-width: 52rem;
  border-top: 1px solid var(--ink);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1.3rem 2.6rem 1.3rem 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: .2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0 0 1.5rem;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: .95rem;
}

/* --- печать реквизитов --- */
.print-req {
  margin-top: 1.4rem;
  background: none;
  border: 1px solid var(--ink);
  cursor: pointer;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .7rem 1.3rem;
  transition: background .3s ease, color .3s ease;
}
.print-req:hover { background: var(--ink); color: var(--paper); }

@media print {
  body.print-requisites * { visibility: hidden; }
  body.print-requisites .reqs,
  body.print-requisites .reqs * { visibility: visible; }
  body.print-requisites .reqs {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    margin: 0;
    padding: 1cm;
    border: none;
    background: #fff;
    color: #000;
  }
  body.print-requisites .reqs summary,
  body.print-requisites .reqs dt,
  body.print-requisites .reqs dd { color: #000; }
  body.print-requisites .reqs .print-req { display: none; }
  body.print-requisites .grain,
  body.print-requisites .mobile-cta,
  body.print-requisites .lb { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-cta { transition: none; }
  .fleet-filter button::after { transition: none; }
}


/* === Этап 3: тонировка фото и микро-детали === */
#fleet img, .foliolb__img, .car-modal__img, .lightbox__img {
  filter: grayscale(1) contrast(1.06);
}
::selection { background: #111; color: #fff; }
html { scrollbar-color: #111 #e9e9e9; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #e9e9e9; }
::-webkit-scrollbar-thumb { background: #111; border-radius: 6px; border: 2px solid #e9e9e9; }

/* === Этап 3: wow === */

.look-img { overflow: hidden; }
.look-img img { will-change: transform; }


/* === Этап 4: отзывы === */
.foliorev { padding: clamp(48px,6vw,76px) clamp(18px,4vw,48px); }
.foliorev__wrap { max-width: 1200px; margin: 0 auto; }
.foliorev__title { margin: 0 0 30px; }
.foliorev__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.foliorev__item { margin: 0; padding: 24px 24px 20px; border-left: 3px solid #9a7b4f; position: relative; }
.foliorev__item::before { content: "\201C"; position: absolute; top: 6px; right: 16px; font-size: 3rem; line-height: 1; color: #9a7b4f; opacity: .35; font-family: Georgia, serif; }
.foliorev__item blockquote { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.55; }
.foliorev__item figcaption { font-size: .82rem; opacity: .75; }
.foliorev__note { margin-top: 16px; font-size: .74rem; opacity: .5; }
@media (max-width: 900px) { .foliorev__grid { grid-template-columns: 1fr; } }
.foliorev__item { background: rgba(0,0,0,.025); }

/* === Этап 4: правки вёрстки === */
@media (max-width: 900px) {
  .edge-word { display: none; }
  .kicker { letter-spacing: .18em; font-size: .62rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lede, .hero-title { min-width: 0; overflow-wrap: break-word; }
}
.foliorev__title { font-family: var(--serif); font-weight: 900; }

/* === Этап 4: тап-таргеты === */
@media (max-width: 900px) {
  nav a, footer a { padding-top: 8px; padding-bottom: 8px; }
}

/* === Этап 4: анти-переполнение v2 === */
@media (max-width: 900px) {
  html, body { overflow-x: clip; }
}

@media (max-width: 900px) {
  .hero-grid > * { min-width: 0; }
  .kicker { white-space: normal; }
  .hero-strip { white-space: normal; }
}
/* === Этап 4: форма на мобиле (анти-min-content) === */
@media (max-width: 900px) {
  #lead * { min-width: 0; }
  #lead input, #lead select, #lead textarea { width: 100%; }
  #lead .folioconsent input[type="checkbox"] { width: 16px; flex: 0 0 auto; }
}

/* === Этап 4: рекламный шоукейс === */
.folioads { margin: 34px 0 0; }
.folioads img { width: 100%; height: auto; display: block; border-radius: 6px;
  border: 1px solid #9a7b4f; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.folioads figcaption { margin-top: 10px; font-size: .82rem; opacity: .75;
  padding-left: 12px; border-left: 3px solid #9a7b4f; }
.folioads img { filter: grayscale(1) contrast(1.05); }

/* === Этап 5: согласие ПДн === */
.folioconsent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem;
  line-height: 1.5; opacity: .9; grid-column: 1 / -1; margin: 4px 0 2px; }
.folioconsent input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto;
  accent-color: #9a7b4f; }
.folioconsent a { text-decoration: underline; }

/* === Этап 6: аудит (доверие, форма, форматы) === */
.foliotrust { display:flex; flex-wrap:wrap; gap:8px 22px; justify-content:center; align-items:center;
  padding:14px 20px; font-size:.82rem; letter-spacing:.02em; opacity:.92;
  border-top:1px solid #9a7b4f55; border-bottom:1px solid #9a7b4f55; }
.foliotrust span { white-space:nowrap; }
.foliotrust span::before { content:"✓ "; color:#9a7b4f; font-weight:700; }
.folioformats { list-style:none; margin:26px 0 0; padding:0; display:grid;
  grid-template-columns:repeat(6,1fr); gap:10px; }
.folioformats li { display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:14px 6px; font-size:.78rem; text-align:center; border:1px solid #9a7b4f44;
  border-radius:8px; color:inherit; }
.folioformats svg { color:#9a7b4f; }
.foliomore { grid-column:1/-1; margin:2px 0; }
.foliomore summary { cursor:pointer; font-size:.85rem; opacity:.8; padding:8px 0; }
.foliomore summary:hover { opacity:1; }
.foliomore__grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; padding-top:12px; }
.folionote { grid-column:1/-1; font-size:.8rem; opacity:.65; margin:8px 0 0; line-height:1.5; }
@media (max-width:900px){ .folioformats { grid-template-columns:repeat(3,1fr); } }
@media (max-width:600px){ .foliomore__grid { grid-template-columns:1fr; } .folioformats { grid-template-columns:repeat(2,1fr); } }

.folioba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 0; }
.folioba img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
.folioba figure { margin: 0; }
.folioba figure:last-child img { filter: none; border: 1px solid #9a7b4f; }
.folioba figcaption { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 8px; color: #6b6b6b; }
@media (max-width: 700px){ .folioba { grid-template-columns: 1fr; } }

/* === P1: юрссылки в футере === */
footer a[href^="privacy"], footer a[href^="terms"], footer a[href^="mailto"] {
  opacity: .62; font-size: .86em; }
footer a[href^="privacy"]:hover, footer a[href^="terms"]:hover, footer a[href^="mailto"]:hover { opacity: 1; }

/* === Волна 1: интеграция === */

.foliotrust { border-color: #111; text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; counter-reset: tr; }
.foliotrust span { counter-increment: tr; }
.foliotrust span::before { content: "N°" counter(tr) " "; color: #9a7b4f; font-family: 'Bodoni Moda', serif; font-style: italic; letter-spacing: 0; }
.folioformats { counter-reset: vf; }
.folioformats li { counter-increment: vf; border-color: #111; border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; }
.folioformats li::after { content: counter(vf); font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 1.1rem; color: #9a7b4f; }
.folioformats svg { color: #111; }

/* === Волна 3: композиционный ритм === */
/* акт «Парк + Калькулятор»: секции сшиваются */
#fleet:has(+ #calc) { padding-bottom: clamp(14px, 2.2vw, 28px); }
#fleet + #calc { padding-top: clamp(14px, 2.2vw, 28px); }
/* акт «Отзывы + FAQ» */
#reviews:has(+ #faq) { padding-bottom: clamp(16px, 2.4vw, 30px); }
#reviews + #faq { padding-top: clamp(16px, 2.4vw, 30px); }
/* вдох перед актом отзывов */
* + #reviews { margin-top: clamp(8px, 1.6vw, 22px); }
/* сценарии/сравнение прижаты к trust-полосе */
.foliotrust + .folioscen, .foliotrust + .foliocompare { padding-top: clamp(18px, 2.6vw, 30px); }

/* === Волна 5: футер-подвал === */
.foliofoot { margin-top: clamp(30px,4vw,54px); padding: clamp(28px,4vw,46px) clamp(20px,4vw,48px) 26px; border-top: 1px solid #9a7b4f55; }
.foliofoot__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.foliofoot__brand strong { font-size: 1.15rem; }
.foliofoot__brand p { margin: 8px 0 0; font-size: .85rem; opacity: .7; max-width: 32ch; }
.foliofoot__col { display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.foliofoot__col span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; opacity: .55; }
.foliofoot__col a { opacity: .85; } .foliofoot__col a:hover { opacity: 1; color: #9a7b4f; }
.foliofoot__legal { max-width: 1200px; margin: 26px auto 0; font-size: .74rem; opacity: .5; }
@media (max-width: 900px) { .foliofoot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foliofoot__grid { grid-template-columns: 1fr; } }
.foliofoot { border-top: 1px solid #111; }
.foliofoot__col span { letter-spacing: .2em; }
.foliofoot__brand strong { font-family: 'Bodoni Moda', serif; font-size: 1.4rem; }


/* === Итерация 2: модули === */
/* Отзывы-фолио: две крупные цитаты на всю ширину */
.foliorev--folio .foliorev__title { font-family: 'Bodoni Moda', Georgia, serif; font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.foliorev--folio .foliorev__folio { margin: 0; padding: clamp(26px, 4vw, 44px) 0; border-top: 1px solid var(--ink); }
.foliorev--folio .foliorev__folio:last-child { border-bottom: 1px solid var(--ink); }
.foliorev--folio blockquote { margin: 0 0 18px; font-family: 'Bodoni Moda', Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.7vw, 2.05rem); line-height: 1.4; color: var(--ink); }
.foliorev--folio figcaption { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.foliorev--folio figcaption::before { content: "— "; color: var(--accent); }

/* Панель «Смета по запросу» вместо калькулятора */
.calc-quote { max-width: 46rem; border-top: 1px solid var(--line); padding-top: 1.7rem; }
.calc-quote p { margin: 0 0 1.7rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); }

/* Футер-визитка */
.foliofoot--visit { text-align: center; }
.foliofoot--visit .foliofoot__row { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 16px; }
.foliofoot--visit .foliofoot__row strong { font-family: 'Bodoni Moda', Georgia, serif; font-size: 1.5rem; letter-spacing: .02em; }
.foliofoot--visit .foliofoot__row span { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.foliofoot--visit .foliofoot__inline { margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; font-size: .82rem; }
.foliofoot--visit .foliofoot__inline i { font-style: normal; color: var(--accent); }
.foliofoot--visit .foliofoot__legal { margin: 18px auto 0; }


/* === Итерация 3: легенда === */
/* «Протокол работы»: строгая дидон-подача — линейки, курсивные нумералы Bodoni */
.protocol { padding: clamp(3rem, 7vw, 6.5rem) var(--pad); }
.protocol-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.protocol-list { list-style: none; margin: 0; padding: 0; }
.protocol-list li {
  display: grid; grid-template-columns: 5.5rem 17rem 1fr; gap: .6rem 2.4rem;
  align-items: baseline; padding: 1.35rem 0; border-top: 1px solid var(--line);
}
.protocol-list li:first-child { border-top: 1px solid var(--ink); }
.protocol-list li:last-child { border-bottom: 1px solid var(--ink); }
.protocol-num {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; color: var(--accent);
}
.protocol-list h3 {
  margin: 0; font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--ink);
}
.protocol-list p {
  margin: 0; font-family: var(--serif); font-size: 1.02rem; line-height: 1.5;
  color: var(--ink-soft); max-width: 38rem;
}
@media (max-width: 900px) {
  .protocol-list li { grid-template-columns: 3rem 1fr; padding: 1.1rem 0; }
  .protocol-list p { grid-column: 2; }
}
