/* GoodCars JP — японский номерной знак, аукционный лист, печать-ханко */
:root {
  --paper: #F2F3EF;
  --ink: #18201C;
  --muted: #5B655F;
  --green: #0E6B43;
  --green-deep: #0A5233;
  --hanko: #C7352C;
  --grid: rgba(14, 107, 67, 0.09);
  --edge: rgba(24, 32, 28, 0.12);
  --display: "Dela Gothic One", "Golos Text", system-ui, sans-serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --jp-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --jp-seal: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 3px solid var(--hanko); outline-offset: 3px; }

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
}

/* ---------- Левая колонка ---------- */
.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 40px 28px;
  border-right: 1px solid var(--edge);
}
.aside-top { display: flex; flex-direction: column; gap: 12px; }

/* Логотип: японский номерной знак */
.plate {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  width: 280px;
  aspect-ratio: 2 / 1;
  margin-bottom: 14px;
  background: #fff;
  color: var(--green);
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 3px var(--green),
    0 1px 0 rgba(24, 32, 28, 0.06),
    0 14px 28px -18px rgba(10, 82, 51, 0.55);
}
.plate::before, .plate::after {
  content: "";
  position: absolute;
  top: 13px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 18%, #cdd3ce 20% 58%, #98a29b 62%);
}
.plate::before { left: 18%; }
.plate::after { right: 18%; }
.plate__top { font-family: var(--jp-sans); font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: 0.35em; padding-left: 0.35em; }
.plate__main { font-family: var(--display); font-size: 29px; line-height: 1; white-space: nowrap; }

.aside-top__tagline { margin: 0; font-weight: 600; font-size: 21px; line-height: 1.35; max-width: 22ch; }
.aside-top__sub { margin: 0; color: var(--muted); font-size: 15px; }

/* Блок «Почему выбирают нас» — аукционный лист */
.sheet {
  position: relative;
  margin-block: auto;
  padding: 20px 24px 26px;
  background-color: #fff;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 18px 18px;
  border: 1px solid rgba(14, 107, 67, 0.35);
  border-radius: 4px;
}
.sheet__head {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
}
.benefit__title { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.2; }
.benefit__text { margin: 0; max-width: 30ch; }

.hanko {
  position: absolute;
  top: -24px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 3px solid var(--hanko);
  border-radius: 50%;
  color: var(--hanko);
  background: rgba(242, 243, 239, 0.55);
  font-family: var(--jp-seal);
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  transform: rotate(-12deg);
  animation: stamp 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.4s both;
}
@keyframes stamp {
  from { opacity: 0; transform: rotate(-2deg) scale(1.7); }
  to { opacity: 1; transform: rotate(-12deg) scale(1); }
}

/* ---------- Правая колонка ---------- */
.hero__visual {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 28px;
  padding: 40px max(48px, calc((100% - 1120px) / 2)) 44px;
  background: var(--green);
  color: #fff;
}
.photo {
  position: relative;
  min-height: 320px;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--green-deep);
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  display: block;
}
.visual-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}
.caption {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.1;
}

/* Кнопка — та же пластина номера */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 0 32px;
  background: #fff;
  color: var(--green-deep);
  border-radius: 12px;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--green);
  font-weight: 600;
  font-size: 19px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s;
}
.cta:hover { background: #E3F0E8; box-shadow: inset 0 0 0 3px #E3F0E8, inset 0 0 0 5px var(--green); }
.cta:focus-visible { outline-color: #fff; }

/* ---------- Мобильная версия ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__visual { order: -1; grid-template-rows: auto auto; gap: 20px; padding: 16px 16px 24px; }
  .photo { min-height: 0; aspect-ratio: 4 / 3; }
  .visual-bottom { flex-direction: column; align-items: stretch; gap: 18px; }
  .caption { font-size: clamp(24px, 7.6vw, 40px); }
  .cta { width: 100%; padding: 0 20px; font-size: 18px; }
  .hero__aside { border-right: 0; gap: 28px; padding: 32px 16px 24px; }
  .plate { width: 240px; }
  .plate__main { font-size: 25px; }
  .plate__top { font-size: 13px; }
  .sheet { margin-top: 12px; }
  .hanko { right: 10px; top: -26px; width: 60px; height: 60px; font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  .hanko { animation: none; }
  .cta { transition: none; }
}
