/* Series 7 «Презентабельный» — on top of the approved series 6 (blue, Roboto, structure unchanged).
   Client 29.10.2026: «более презентабельным, как в сайтах автодилеров». Taken from our dealer mockups as functions,
   not layouts: big full-bleed photos, text on the left over the photo, offers right after the first screen,
   photo cards with the caption on the picture, one dark band, bigger type and air. */

:root { --container: 1320px; }
.h1 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.02em; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.015em; }
.section { padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 104px 0; } }
.section__head { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section__head .lead { margin-top: 10px; }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--glass:hover { background: rgba(255,255,255,.24); }

/* ===== Hero: full-screen slideshow, text left ===== */
.hero--show { min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero--show::after { height: 100%; background: linear-gradient(90deg, rgba(10,14,22,.86) 0%, rgba(10,14,22,.62) 42%, rgba(10,14,22,.12) 78%), linear-gradient(0deg, rgba(10,14,22,.7), rgba(10,14,22,0) 35%); }
.show { position: absolute; inset: 0; }
.show__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 8s linear; }
.show__img.is-on { opacity: 1; transform: scale(1); }
.hero--show .hero__in { min-height: 0; flex: 1; align-items: flex-start; text-align: left; justify-content: center; padding-top: 80px; padding-bottom: 32px; }
.hero__kicker { display: inline-block; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.hero--show .hero__h1 { max-width: 14ch; margin: 0; }
.hero--show .hero__lead { max-width: 560px; margin-top: 20px; font-size: 19px; }
.hero--show .search { margin: 32px 0 0; max-width: 680px; }
.hero--show .search__box { height: 68px; box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.hero--show .chips { justify-content: flex-start; max-width: 720px; }
.hero--show .hero__alt { margin-top: 20px; }
.show__bar { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.72); font-size: 14px; }
.show__dots { display: flex; gap: 8px; }
.show__dots i { width: 36px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); cursor: pointer; transition: background .3s; }
.show__dots i.is-on { background: #fff; }
@media (max-width: 599px) {
  .hero--show { min-height: 0; }
  .hero--show::after { background: linear-gradient(rgba(10,14,22,.55), rgba(10,14,22,.82)); }
  .hero--show .hero__in { padding-top: 48px; }
  .show__cap { display: none; }
}

/* ===== Offers right after the hero ===== */
.offers__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .offers__grid { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; } .offer--big { grid-row: span 2; } }
.offer { position: relative; min-height: 260px; border-radius: 20px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.offer--big { min-height: 420px; }
.offer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.offer:hover img { transform: scale(1.04); }
.offer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,22,.88), rgba(10,14,22,.2) 70%); }
.offer__b { position: relative; z-index: 1; padding: 28px; display: grid; gap: 8px; }
.offer__k { justify-self: start; padding: 4px 10px; border-radius: 6px; background: var(--accent); font-size: 13px; font-weight: 500; }
.offer h3 { font-size: 24px; font-weight: 700; line-height: 1.2; }
.offer--big h3 { font-size: clamp(28px, 3vw, 38px); }
.offer__p { font-size: 18px; color: rgba(255,255,255,.85); }
.offer__p b { font-size: 30px; font-weight: 700; color: #fff; }
.offer__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ===== Directions: caption on the photo ===== */
.deck { gap: 16px; }
.deck .tile { position: relative; min-height: 280px; border-radius: 20px; box-shadow: none; display: flex; align-items: flex-end; }
.deck .tile .tile__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; min-height: 0; }
.deck .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,22,.82), rgba(10,14,22,0) 60%); transition: opacity .3s; }
.deck .tile__txt { position: relative; z-index: 1; padding: 22px 24px; color: #fff; }
.deck .tile h3 { color: #fff; font-size: 21px; font-weight: 700; }
.deck .tile--wide h3 { font-size: 30px; }
.deck .tile__p { color: rgba(255,255,255,.82); }
.deck .tile__p b { color: #fff; }
@media (min-width: 900px) { .deck .tile--wide { min-height: 280px; } .deck .tile--wide .tile__img { aspect-ratio: auto; } }
.deck .tile--all { align-items: stretch; }
.deck .tile--all::after { display: none; }

/* ===== Station: dark band ===== */
.station-band { background: #141922; }
.station-band .h2 { color: #fff; }
.station { gap: 16px; }
.station-band .station__item { position: relative; min-height: 340px; border-radius: 20px; background: #1E2430; box-shadow: none; display: flex; flex-direction: column; justify-content: flex-end; }
.station-band .station__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; opacity: .85; }
.station-band .station__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,22,.92) 10%, rgba(10,14,22,0) 65%); }
.station-band .station__item h3, .station-band .station__item p { position: relative; z-index: 1; }
.station-band .station__item h3 { color: #fff; font-size: 21px; font-weight: 700; }
.station-band .station__item p { color: rgba(255,255,255,.75); }

/* ===== Final: photo band + form card ===== */
.final--photo { position: relative; overflow: hidden; background: #141922; padding: 96px 0; }
.final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.final--photo .container { position: relative; }
.final--photo .final__card { background: none; box-shadow: none; padding: 0; color: #fff; }
.final--photo .final__card .h2 { color: #fff; }
.final--photo .lead, .final--photo .final__list li { color: rgba(255,255,255,.85); }
.final--photo .final__list li::before { box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 8px var(--accent); background: #fff; }
.final--photo .final__form { padding: 32px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35); }

/* ===== Inner pages: page hero on the photo, text left ===== */
.phero:not(.phero--plain) { position: relative; padding: 0; color: #fff; overflow: hidden; background: #141922; }
.phero:not(.phero--plain) .phero__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.phero:not(.phero--plain)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,22,.88), rgba(10,14,22,.55) 50%, rgba(10,14,22,.15)); }
.phero:not(.phero--plain) .container { position: relative; z-index: 1; padding-top: 32px; padding-bottom: 72px; min-height: 520px; display: flex; flex-direction: column; }
.phero:not(.phero--plain) .phero__grid { grid-template-columns: 1fr; flex: 1; align-content: center; max-width: 720px; }
.phero:not(.phero--plain) h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; }
.phero:not(.phero--plain) .phero__lead { color: rgba(255,255,255,.85); }
.phero:not(.phero--plain) .crumbs, .phero:not(.phero--plain) .crumbs a { color: rgba(255,255,255,.7); }
.phero:not(.phero--plain) .fact { background: rgba(255,255,255,.14); color: #fff; }
.phero:not(.phero--plain) .fact--accent { background: var(--accent); }
.phero:not(.phero--plain) .btn--line { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.phero--plain { padding: 48px 0 56px; }
.phero--plain h1 { font-size: clamp(32px, 4.2vw, 54px); }

/* Photo cards on inner pages: caption on the picture */
.pcard { position: relative; border-radius: 20px; }
a.pcard { min-height: 280px; justify-content: flex-end; }
a.pcard img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
a.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,22,.85), rgba(10,14,22,0) 60%); }
a.pcard .pcard__b { position: relative; z-index: 1; color: #fff; }
a.pcard .pcard__b h3 { color: #fff; font-weight: 700; font-size: 21px; }
a.pcard .pcard__b p, a.pcard .pcard__more { color: rgba(255,255,255,.82); }
a.pcard .pcard__b b { color: #fff; }
a.pcard img { transition: transform .8s ease; }
a.pcard:hover img { transform: scale(1.04); }

/* deck tiles are flex columns in privych.css: caption to the bottom-left */
.deck .tile { flex-direction: column; justify-content: flex-end; align-items: stretch; }
.deck .tile--all { justify-content: space-between; }

/* page hero layering: photo (0) < gradient (1) < text (2); photo is full-bleed under the whole section */
.phero:not(.phero--plain) .container { position: static; }
.phero:not(.phero--plain) .phero__img { z-index: 0; }
.phero:not(.phero--plain)::after { z-index: 1; }
.phero:not(.phero--plain) .crumbs, .phero:not(.phero--plain) .phero__grid > div { position: relative; z-index: 2; }

.section--mist .btn--line { background: #fff; }
.section--mist .btn--line:hover { background: var(--line); }
