﻿/* Úvodní stránka, verze „jako velké autobazary“ */
.hero { background: var(--bg2); padding: 22px 0 0; }
.hero__banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: clamp(340px, 42vw, 470px); background: var(--dark); color: #fff; border-radius: 14px; overflow: hidden; }
.hero__txt { padding: clamp(1.6rem, 4vw, 3.4rem); align-self: center; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.8rem); font-weight: 600; line-height: 1.04; letter-spacing: -.02em; }
.hero__txt > p { color: #C9CED3; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 36ch; }
.hero__ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 7px; }
.hero__ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.hero__ticks li::before { content: ""; width: 9px; height: 5px; border-left: 2.5px solid var(--or); border-bottom: 2.5px solid var(--or); transform: rotate(-45deg) translateY(-2px); flex: none; }
.hero__img { position: relative; overflow: hidden; }
.hero__imgs { position: absolute; inset: -6% 0; will-change: transform; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; opacity: 0; transition: opacity 900ms var(--ease); }
.hero__slide.is-on { opacity: 1; }
.hero__ctrl { position: absolute; right: 16px; top: 16px; z-index: 3; display: flex; align-items: center; gap: 8px; background: rgba(26,29,33,.6); padding: 6px 8px 6px 12px; border-radius: 20px; }
.hero__dots { display: flex; gap: 6px; }
.hero__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; background: rgba(255,255,255,.55); cursor: pointer; transition: width 250ms var(--ease), background-color 200ms var(--ease); }
.hero__dots button[aria-current="true"] { width: 22px; background: var(--or); }
.hero__dots button:hover { background: #fff; }
.hero__pause { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.hero__pause:hover { background: rgba(255,255,255,.28); }
.hero__pause svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__price { transition: opacity 300ms var(--ease), box-shadow 160ms var(--ease); }
.hero__price.is-swap { opacity: 0; }
.hero__img::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, var(--dark), transparent); z-index: 1; }
.hero__price { position: absolute; right: 22px; bottom: 74px; z-index: 3; display: flex; flex-direction: column; background: #fff; color: var(--ink); text-decoration: none; padding: 10px 16px 12px; border-radius: 8px; box-shadow: var(--sh2); border-top: 4px solid var(--or); }
.hero__price span { font-size: .88rem; font-weight: 600; color: var(--ink2); }
.hero__price b { font-family: var(--f-num); font-size: 2rem; line-height: 1; }
.hero__price:hover span { text-decoration: underline; }

.find { position: relative; z-index: 4; margin: -46px clamp(.75rem, 3vw, 2.5rem) 0; background: #fff; border-radius: 12px; box-shadow: var(--sh2); padding: 0 18px 18px; border: 1px solid var(--line); }
.find__tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 -18px 16px; padding: 0 18px; }
.find__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.find__tabs span { display: block; padding: 14px 14px 12px; font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent; color: var(--ink2); }
.find__tabs b { font-weight: 600; font-size: .8rem; background: var(--bg2); color: var(--ink2); padding: 1px 7px; border-radius: 10px; margin-left: 4px; }
.find__tabs input:checked + span { color: var(--ink); border-bottom-color: var(--or); }
.find__tabs input:checked + span b { background: var(--or); color: var(--ink); }
.find__tabs input:focus-visible + span { outline: 3px solid var(--or); outline-offset: -3px; }
.find__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.find__f { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--ink2); }
.find__f select { font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #C9CED4; border-radius: var(--r-s); padding: 0 10px; height: 48px; width: 100%; }
.find__f select:focus { outline: 3px solid var(--or); outline-offset: 0; border-color: var(--ink); }
.find__go { height: 48px; padding-inline: 26px; font-size: 1.05rem; }
.find.is-parts .find__f { opacity: .4; pointer-events: none; }

.sec--tight { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.sec__title { margin-bottom: 22px; }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: #fff; background: var(--dark); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(16,18,20,.82)); }
.tile__name { position: absolute; left: 14px; bottom: 34px; z-index: 1; font-weight: 600; font-size: 1.12rem; }
.tile__n { position: absolute; left: 14px; bottom: 13px; z-index: 1; font-size: .86rem; color: #E1E4E8; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.05); } }

.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why li { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); }
.why svg { width: 34px; height: 34px; padding: 6px; border-radius: 8px; background: #FDE8D7; fill: none; stroke: var(--or-t); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.why b { font-size: 1.12rem; font-weight: 600; }
.why span { color: var(--ink2); font-size: .95rem; }

.proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proof { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.proof__img { position: relative; display: block; aspect-ratio: 4 / 3; }
.proof__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.proof__stk { position: absolute; right: 12px; bottom: -34px; width: 92px; z-index: 2; }
.proof__stk .sm-stk { width: 100%; }
.proof__txt { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.proof h3 { font-size: 1.15rem; padding-right: 90px; }
.proof h3 a { text-decoration: none; }
.proof h3 a:hover { text-decoration: underline; }
.proof__sub { color: var(--ink2); font-size: .92rem; }
.proof__h { margin-top: 8px; font-size: .85rem; font-weight: 600; color: var(--ink2); }
.proof ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; font-size: .94rem; }
.proof__done li { padding-left: 20px; position: relative; }
.proof__done li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 8px; height: 4px; border-left: 2px solid var(--or); border-bottom: 2px solid var(--or); transform: rotate(-45deg); }
.proof__done .proof__more { color: var(--ink2); }
.proof__done .proof__more::before { display: none; }
.proof__left li { padding-left: 20px; position: relative; color: var(--or-t); font-weight: 500; }
.proof__left li::before { content: "!"; position: absolute; left: 4px; top: 0; font-weight: 700; }

.buyout { background: var(--dark); color: #E6E9EC; padding-block: clamp(3rem, 6vw, 5rem); }
.buyout__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.buyout h2 { color: #fff; }
.buyout__txt { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.buyout__txt p { color: #B9C0C6; max-width: 46ch; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { counter-increment: s; background: var(--dark2); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); font-family: var(--f-num); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--or); }
.steps b { color: #fff; font-weight: 600; }
.steps span { color: #A9B0B6; font-size: .93rem; }

.fin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.fin img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.fin__txt { display: flex; flex-direction: column; gap: 14px; }
.fin__txt p { color: var(--ink2); font-size: 1.08rem; max-width: 44ch; }
.fin__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

.svc { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc a { display: flex; flex-direction: column; gap: 6px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; padding-bottom: 18px; transition: box-shadow 200ms var(--ease); }
.svc a:hover { box-shadow: var(--sh2); }
.svc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 8px; }
.svc b { font-size: 1.12rem; font-weight: 600; padding-inline: 18px; }
.svc span { color: var(--ink2); font-size: .94rem; padding-inline: 18px; }
.svc a.svc--night { background: var(--dark); border-color: var(--dark); }
.svc a.svc--night b { color: #fff; }
.svc a.svc--night span { color: #B9C0C6; }

.branch { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; background: var(--bg2); border-radius: 14px; padding: clamp(1.5rem, 4vw, 3rem); }
.branch__txt { display: flex; flex-direction: column; gap: 10px; }
.branch__addr { font-size: 1.15rem; font-weight: 500; }
.branch__now { font-weight: 600; }
.branch__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.branch__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }

@media (max-width: 1100px) {
  .find__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .find__go { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .why, .svc { grid-template-columns: 1fr 1fr; }
  .proofs { grid-template-columns: 1fr 1fr; }
  .buyout__in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { padding-top: 12px; }
  .hero__banner { grid-template-columns: 1fr; min-height: 0; }
  .hero__img { order: -1; height: 230px; }
  .hero__img::before { inset: auto 0 0 0; width: auto; height: 40%; background: linear-gradient(0deg, var(--dark), transparent); }
  .hero__txt { padding: 18px 20px 64px; gap: 12px; }
  .hero__price { top: 150px; bottom: auto; right: 12px; padding: 7px 12px 9px; }
  .hero__price b { font-size: 1.5rem; }
  .find { margin: -44px 8px 0; padding: 0 12px 14px; }
  .find__tabs { margin: 0 -12px 12px; padding: 0 6px; }
  .find__tabs span { padding: 12px 8px 10px; font-size: .95rem; }
  .find__grid { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { aspect-ratio: 4 / 3; }
  .proofs, .steps, .fin, .branch { grid-template-columns: 1fr; }
  .why, .svc { grid-template-columns: 1fr; }
  .why li { padding: 16px; }
}
.proof__img img { position: absolute; inset: 0; }
.card--cta .card__body { justify-content: flex-start; }
