/* GKN Oto Yedek Parça
   Siyah-beyaz katalog: firmanın beyaz fonlu ürün fotoğrafları, logodaki çizgili GKN harfleri,
   Big Shoulders Display (kalın dar büyük harf) + Libre Franklin (gövde, kalın italik parça numaraları).
   Logodaki kırmızı yalnız logo görselinde. */

:root {
  --ink: #000;            /* logodaki çizgili GKN harfleri */
  --paper: #fff;          /* ürün fotoğraflarının beyaz fonu */
  --gray: #F2F2F2;        /* yorumlar */
  --text-2: #474747;
  --line: #D6D6D6;
  --on-dark-2: #CFCFCF;
  --wa: #1DA851;
  --wa-dark: #3BD671;
  --open: #1C7C3A;

  --f-disp: 'Big Shoulders Display', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Libre Franklin', Arial, Helvetica, sans-serif;

  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --head-h: 84px;

  /* Hero ayarları (fotoğraf değişirse buradan) */
  --hero-photo-w: 47%;      /* masaüstünde fotoğraf sütununun genişliği */
  --hero-pos: 50% 12%;      /* masaüstü kırpım */
  --hero-pos-m: 50% 40%;    /* telefon kırpımı */
  --hero-max: 940px;        /* hero'nun en fazla yüksekliği */

  /* Logodaki çizgili harflerden: 2 px çizgi, 3 px boşluk, üç çizgi */
  --tri-h: repeating-linear-gradient(to bottom, var(--ink) 0 2px, transparent 2px 5px);
  --tri-v: repeating-linear-gradient(to right, var(--ink) 0 2px, transparent 2px 5px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.1875rem;          /* 19 px */
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
[id] { scroll-margin-top: 16px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.motors :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.ico { width: 22px; height: 22px; flex: none; }
.ico--wa { color: var(--wa); }

.h2 {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: clamp(2.6rem, 4.4vw, 4.1rem);
  line-height: .95;
  letter-spacing: .005em;
}

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 22px;
  font: 700 1.125rem/1.1 var(--f-body);
  text-decoration: none; text-align: center;
  border: 2px solid var(--ink); border-radius: 0;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2B2B2B; border-color: #2B2B2B; }
.btn--ink .ico--wa { color: var(--wa-dark); }
.btn--line { background: #fff; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line:hover .ico--wa { color: var(--wa-dark); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header__in {
  display: flex; align-items: center; gap: 32px;
  min-height: var(--head-h);
  padding-inline: var(--gut);
  max-width: 1600px; margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 58px; height: auto; }
.brand__name {
  font-family: var(--f-disp); font-weight: 900; font-size: 1.75rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .02em;
}
.brand__name span { font-weight: 700; }
.site-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-weight: 600; font-size: 1.125rem; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--ink); }
.site-header__call {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 20px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-family: var(--f-disp); font-weight: 800; font-size: 1.625rem; letter-spacing: .02em; line-height: 1;
}
.site-header__call:hover { background: #2B2B2B; }
.site-header__short { display: none; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: var(--hero-photo-w) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: min(calc(100svh - var(--head-h)), var(--hero-max));
}
.hero__photo {
  grid-column: 1; grid-row: 1;
  position: relative; margin: 0; min-height: 420px; overflow: hidden;
}
/* Fotoğrafla yazı arasında logodaki çizgili harfler gibi üç çizgi */
.hero__photo::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 12px;
  background: var(--tri-v), #fff;
}
.hero__photo picture, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: var(--hero-pos); }

.hero__copy {
  grid-column: 2; grid-row: 1; align-self: center;
  padding: clamp(28px, 4.5vh, 60px) var(--gut) clamp(28px, 4.5vh, 60px) clamp(28px, 4vw, 80px);
  max-width: 780px;
}
.hero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-weight: 400; }
.hero__mark { width: clamp(220px, 19vw, 360px); height: auto; }
.hero__kind {
  font-family: var(--f-disp); font-weight: 900;
  font-size: clamp(2.5rem, 4.1vw, 4.4rem); line-height: .92;
  text-transform: uppercase; letter-spacing: .015em;
  padding-bottom: 20px;
  background: var(--tri-h) left bottom / 100% 12px no-repeat;
}
.hero__lead { margin-top: 22px; font-size: clamp(1.25rem, 1.55vw, 1.5rem); font-weight: 600; line-height: 1.35; max-width: 30ch; }
.hero__sub { margin-top: 8px; color: var(--text-2); }
.hero__phone {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 26px; min-height: 70px; padding: 8px 28px 8px 22px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-family: var(--f-disp); font-weight: 900; font-size: clamp(2.2rem, 3vw, 2.9rem); line-height: 1; letter-spacing: .025em;
}
.hero__phone .ico { width: 30px; height: 30px; }
.hero__phone:hover { background: #2B2B2B; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.hero__open { margin-top: 18px; font-size: 1.125rem; color: var(--text-2); display: flex; align-items: center; gap: 10px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #9A9A9A; flex: none; }
.is-open .dot { background: var(--open); }
.is-open { color: var(--ink); }

/* Marka dizini */
.brands {
  grid-column: 1 / -1; grid-row: 2;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.brands__item {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-height: 104px; padding: 16px 20px 16px 34px;
  text-decoration: none;
}
.brands__item:first-child { padding-left: var(--gut); }
.brands__item + .brands__item::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 12px;
  background: var(--tri-v);
}
.brands__item:hover { background: var(--gray); }
.brands__name {
  font-family: var(--f-disp); font-weight: 900;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem); line-height: .95; letter-spacing: .01em;
}
.brands__models { font-size: 1.0625rem; line-height: 1.3; color: var(--text-2); }
.brands__item:focus-visible { outline-offset: -5px; }

/* ---------- Parça kataloğu ---------- */
.catalog { padding: clamp(64px, 8vw, 112px) 0 clamp(64px, 8vw, 112px); }
.catalog__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 14px 56px; }
.catalog__intro { max-width: 44ch; color: var(--text-2); padding-bottom: 6px; }

.group { margin-top: clamp(52px, 6vw, 84px); }
.group__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px;
  padding-bottom: 26px;
  background: var(--tri-h) left bottom / 100% 12px no-repeat;
}
.group__name {
  font-family: var(--f-disp); font-weight: 900;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem); line-height: .9; letter-spacing: .01em;
}
.group__models { color: var(--text-2); font-size: 1.125rem; max-width: 70ch; }

.parts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4.5vw, 72px);
}
.part {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: auto 1fr;
  column-gap: 24px; row-gap: 14px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.part__photo {
  grid-column: 1; grid-row: 1 / span 2; align-self: start;
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: #fff; cursor: zoom-in;
}
.part__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.part__photo:hover { border-color: var(--ink); }
.part__body { grid-column: 2; grid-row: 1; }
.part__name { font-size: 1.3125rem; font-weight: 700; line-height: 1.2; }
.part__fits { margin-top: 6px; color: var(--text-2); font-size: 1.125rem; line-height: 1.4; }
.part__code { margin-top: 8px; font-size: 1.0625rem; line-height: 1.4; }
.part__code-k { color: var(--text-2); font-weight: 500; margin-right: 4px; }
.code { font-weight: 800; font-style: italic; letter-spacing: .01em; overflow-wrap: anywhere; }
.part__ask {
  grid-column: 2; grid-row: 2; align-self: end; justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 18px;
  border: 2px solid var(--ink); background: #fff; color: var(--ink);
  font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.part__ask:hover { background: var(--ink); color: #fff; }
.part__ask:hover .ico--wa { color: var(--wa-dark); }

.ask {
  margin-top: clamp(56px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 56px;
  padding: 34px 36px; border: 2px solid var(--ink);
}
.ask__title { font-family: var(--f-disp); font-weight: 800; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; margin-bottom: 12px; }
.ask__text p { max-width: 60ch; }
.ask__more { margin-top: 8px; color: var(--text-2); }
.ask__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Motorlar (siyah bant) ---------- */
.motors { background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 112px) 0; }
.motors__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 14px 56px; }
.motors__head p { color: var(--on-dark-2); max-width: 40ch; padding-bottom: 6px; }
.motors__list {
  list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px;
}
.motor { display: flex; flex-direction: column; }
.nowrap { white-space: nowrap; }
.motor__photo { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.motor__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.motor__name { margin-top: 18px; font-family: var(--f-disp); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.motor__fits { margin-top: 8px; color: var(--on-dark-2); font-size: 1.0625rem; line-height: 1.4; }
.motor__code { margin-top: 6px; font-size: 1.0625rem; }
.motor__fits, .motor__code { margin-bottom: 0; }
.motor > :nth-last-child(2) { margin-bottom: 18px; }
.motor__code .part__code-k { color: var(--on-dark-2); }
.motor__ask {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 18px;
  border: 2px solid #fff; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.0625rem;
  transition: background-color .15s ease, color .15s ease;
}
.motor__ask .ico--wa { color: var(--wa-dark); }
.motor__ask:hover { background: #fff; color: var(--ink); }
.motor__ask:hover .ico--wa { color: var(--wa); }

/* ---------- Hakkımızda ---------- */
.about { padding: clamp(64px, 8vw, 112px) 0; }
.about__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px clamp(40px, 5vw, 80px); align-items: center; }
.about__photo { margin: 0; }
.about__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.about__btn img { width: 100%; max-width: 960px; }
.about__photo figcaption { margin-top: 10px; font-size: 1rem; color: var(--text-2); }
.about__text > p { margin-top: 20px; max-width: 46ch; }
.facts { margin: 28px 0 0; border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.facts a { font-weight: 700; }

/* ---------- Yorumlar ---------- */
.reviews { background: var(--gray); padding: clamp(64px, 7vw, 104px) 0; }
.reviews__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 40px clamp(40px, 5vw, 80px); }
.score { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.score__num { font-family: var(--f-disp); font-weight: 900; font-size: 7rem; line-height: .85; }
.score__of { font-family: var(--f-disp); font-weight: 700; font-size: 2rem; }
.score__meta { margin-top: 10px; font-weight: 600; }
.stars { letter-spacing: 2px; }
.text-link { display: inline-block; margin-top: 10px; font-weight: 700; padding: 10px 0; }
.reviews__quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.quote { margin: 0; padding-top: 18px; border-top: 2px solid var(--ink); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 1.125rem; line-height: 1.5; }
.quote figcaption { margin-top: 12px; font-weight: 700; }

/* ---------- Konum ---------- */
.place { padding: clamp(64px, 8vw, 112px) 0; }
.place__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px clamp(40px, 5vw, 80px); align-items: stretch; }
.place__site { margin-top: 24px; font-size: 1.25rem; font-weight: 600; }
.place__door {
  margin-top: 2px; font-family: var(--f-disp); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 5.4vw, 5rem); line-height: .95; letter-spacing: .01em;
  padding-bottom: 20px; background: var(--tri-h) left bottom / 100% 12px no-repeat;
}
.place__addr { margin-top: 14px; color: var(--text-2); }
.place__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hours { margin-top: 30px; width: 100%; max-width: 480px; border-collapse: collapse; font-size: 1.125rem; }
.hours caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; }
.hours tr.is-today th { box-shadow: inset 4px 0 0 var(--ink); padding-left: 14px; }
.place__open { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-2); }
.place__metro { margin-top: 18px; max-width: 48ch; }
.place__map { min-height: 460px; border: 2px solid var(--ink); }
.place__map iframe { display: block; width: 100%; height: 100%; min-height: 456px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 28px; }
.site-footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; align-self: start; }
.site-footer__mark { width: 72px; height: auto; }
.site-footer__name { font-family: var(--f-disp); font-weight: 900; font-size: 1.9rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.site-footer__name span { display: block; font-weight: 700; font-size: 1.4rem; }
.site-footer__h { font-family: var(--f-disp); font-weight: 800; font-size: 1.5rem; line-height: 1; margin-bottom: 14px; }
.site-footer__col p { margin-top: 6px; color: #E6E6E6; }
.site-footer__col a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.muted { color: var(--on-dark-2); }
.site-footer__base { margin-top: 48px; font-size: 1rem; color: var(--on-dark-2); }
.site-footer__base p { padding-top: 20px; border-top: 1px solid #3A3A3A; }

/* ---------- Mobil alt çubuk ---------- */
.sticky-book { display: none; }

/* ---------- Fotoğraf görüntüleyici ---------- */
.lightbox {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #0A0A0A; color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .7); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; background: #fff; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 1.0625rem; color: #DADADA; padding-inline: 80px; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55); background: rgba(0, 0, 0, .4); color: #fff; cursor: pointer;
}
.lightbox__btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__btn:hover { background: #fff; color: var(--ink); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Ara genişlikler ---------- */
@media (max-width: 1279px) {
  .site-nav ul { gap: 22px; }
  .part { grid-template-columns: 168px minmax(0, 1fr); column-gap: 20px; }
  .motors__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
  .motor { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .motor__photo { grid-row: 1 / span 5; }
  .motor__name { margin-top: 0; }
  .reviews__in { grid-template-columns: minmax(0, 1fr); }
  .reviews__score { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: end; gap: 0 32px; }
  .reviews__score .h2 { grid-column: 1 / -1; }
  .site-footer__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1099px) {
  .site-nav { display: none; }
  .parts { grid-template-columns: minmax(0, 1fr); }
  .part { grid-template-columns: 200px minmax(0, 1fr); }
  .brands__models { display: none; }
  .brands__item { min-height: 84px; }
}

/* ---------- Telefon ve tablet ---------- */
@media (max-width: 899px) {
  :root { --head-h: 68px; }
  body { font-size: 1.125rem; }
  .site-header__in { gap: 12px; }
  .brand__mark { width: 46px; }
  .brand__name { font-size: 1.45rem; }
  .site-header__call { min-height: 48px; padding: 0 16px; font-family: var(--f-body); font-weight: 700; font-size: 1.125rem; }
  .site-header__num { display: none; }
  .site-header__short { display: inline; }

  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: 0; }
  .hero__photo {
    grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 1125 / 880;
  }
  .hero__photo::after { top: auto; left: 0; width: auto; height: 12px; background: var(--tri-h), #fff; }
  .hero__photo img { object-position: var(--hero-pos-m); }
  .hero__copy { grid-column: 1; grid-row: 2; padding: 20px var(--gut) 28px; max-width: none; }
  .hero__mark { width: 168px; }
  .hero__kind { font-size: 2.4rem; padding-bottom: 16px; }
  .hero__lead { margin-top: 18px; font-size: 1.25rem; max-width: 34ch; }
  .hero__phone { display: flex; justify-content: center; width: 100%; margin-top: 22px; font-size: 2.4rem; min-height: 64px; }
  .hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__actions .btn { padding: 0 10px; font-size: 1.0625rem; gap: 8px; }

  .brands { grid-column: 1; grid-row: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands__item { min-height: 62px; padding: 10px var(--gut); border-top: 1px solid var(--line); }
  .brands__item:nth-child(-n+2) { border-top: 0; }
  .brands__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .brands__item:last-child { grid-column: 1 / -1; border-right: 0; }
  .brands__item + .brands__item::before { display: none; }
  .brands__name { font-size: 1.7rem; }

  .catalog__head, .motors__head { grid-template-columns: minmax(0, 1fr); }
  .group__name { font-size: 2.9rem; }
  .group__models { font-size: 1.0625rem; }
  .part { grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; row-gap: 12px; padding: 20px 0; }
  .part__ask { padding: 0 14px; gap: 8px; }
  .part__name { font-size: 1.25rem; }
  .part__fits { font-size: 1.0625rem; }

  .ask { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; }

  .motors__list { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .motor { grid-template-columns: 132px minmax(0, 1fr); column-gap: 16px; }
  .motor__name { font-size: 1.6rem; }
  .motor__ask { grid-column: 1 / -1; justify-self: stretch; justify-content: center; }

  .about__in, .place__in { grid-template-columns: minmax(0, 1fr); }
  .facts > div { grid-template-columns: minmax(0, 1fr); }
  .facts dt { font-size: 1.0625rem; color: var(--text-2); font-weight: 600; }

  .reviews__quotes { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .reviews__score { grid-template-columns: minmax(0, 1fr); }
  .score__num { font-size: 5.5rem; }

  .place__actions .btn { flex: 1 1 200px; }
  .place__map, .place__map iframe { min-height: 340px; }

  .site-footer { padding-bottom: 110px; }
  .site-footer__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .sticky-book {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 2px solid var(--ink);
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { flex: 1; min-height: 54px; font-size: 1.1875rem; }

  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .lightbox__cap { bottom: 18px; padding-inline: 16px; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .hero__phone { display: inline-flex; width: auto; }
  .hero__actions { max-width: 560px; }
  .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brands__item:nth-child(-n+3) { border-top: 0; }
  .brands__item:nth-child(odd) { border-right: 0; }
  .brands__item:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
  .brands__item:last-child { grid-column: auto / span 2; border-right: 0; }
  .motor { grid-template-columns: 200px minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .hide-sm { display: none; }
}

@media (max-width: 380px) {
  .brand__name span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
