/* Hilal Ticaret İnşaat Malzemeleri
   Renkler depodan: Ytong paletlerinin ve kamyon damperinin sarısı, ıslak depo yolunun asfaltı, beton zemin.
   Yazı: Chivo tek aile (kamyon kapısındaki kalın grotesk "HİLAL TİCARET" harflerine yakın). */

:root {
  --yellow: #F2BF1D;       /* Ara, header telefonu, depo etiketleri */
  --yellow-dk: #DDA800;    /* hover */
  --ink: #23272B;          /* asfalt: metin, eylem çubuğu, footer */
  --ink-2: #4A4F54;        /* ikincil metin */
  --concrete: #E5E6E3;     /* beton: ürünler ve yorumlar */
  --line: #CFD1CD;
  --field: #7B8086;        /* form kenarı (3:1 üstü) */
  --paper: #FFFFFF;
  --wa: #25D366;           /* yalnız ikon */
  --wa-dk: #128C4B;        /* açık zeminde ikon */

  --font: "Chivo", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gut: 32px;
  --header-h: 76px;

  /* Hero ayarları: fotoğraf kırpımı ve başlığın yeri tek yerden */
  --hero-pos: 50% 0%;        /* masaüstü: gökyüzü görünsün diye üstten */
  --hero-pos-m: 50% 0%;      /* telefon kırpımı */
  --hero-top: 4.2%;          /* başlığın gökyüzündeki yüksekliği */
  --hero-h: clamp(600px, calc(100svh - var(--header-h)), 920px);
  --hero-h-m: min(104vw, 440px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  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 { margin: 0; line-height: 1.1; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
figure, blockquote { margin: 0; }
address { font-style: normal; }

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

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

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

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

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 36px; }
.section-head h2 { font-weight: 800; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.02em; }
.section-head p { color: var(--ink-2); font-size: 1.1875rem; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 6px;
  font-family: var(--font); font-weight: 700; font-size: 1.125rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--call { background: var(--yellow); color: var(--ink); }
.btn--call:hover { background: var(--yellow-dk); }
.btn--wa { background: #fff; color: var(--ink); }
.btn--wa:hover { background: var(--concrete); }
.btn--route-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--route-light:hover { background: #fff; color: var(--ink); }
.btn--route { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--route:hover { background: var(--ink); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--ink .ico--wa { color: var(--wa); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__row { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark { width: 38px; height: 38px; fill: var(--ink); flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__a { font-weight: 900; font-size: 1.375rem; letter-spacing: -.01em; }
.brand__b { font-weight: 500; font-size: .9375rem; color: var(--ink-2); margin-top: 4px; }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px;
  font-weight: 700; font-size: 1.0625rem; text-decoration: none; color: var(--ink);
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--yellow); }

.header-phone {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 20px 0 16px; border-radius: 6px;
  background: var(--yellow); color: var(--ink); text-decoration: none;
  font-weight: 900; font-size: 1.1875rem; letter-spacing: .01em; font-variant-numeric: tabular-nums;
}
.header-phone:hover { background: var(--yellow-dk); }
.header-phone__short { display: none; }

/* ---------- Hero: depo yolu, başlık gökyüzünde ---------- */
.hero {
  position: relative;
  height: var(--hero-h);
  overflow: hidden;
  background: #C9D1DC;
  color: var(--ink);
}
.hero__media, .hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__media img { object-fit: cover; object-position: var(--hero-pos); }

.hero__sky {
  position: absolute; left: 50%; top: var(--hero-top);
  transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 2 * var(--gut));
  text-align: center;
}
.hero__title { display: flex; flex-direction: column; align-items: center; line-height: .9; }
.hero__row { display: inline-flex; align-items: center; gap: .12em; font-size: clamp(3.25rem, 6.4vw, 7.25rem); }
.hero__mark { width: .74em; height: .74em; fill: var(--ink); flex: none; margin-top: -.02em; }
.hero__name { font-weight: 900; letter-spacing: -.015em; }
.hero__kind {
  margin-top: .36em;
  font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 2.375rem); letter-spacing: .06em;
  padding-left: .9em;
}
.hero__lead { font-weight: 500; }
.hero__lead--sky {
  margin: 16px auto 0; max-width: 46ch;
  font-size: clamp(1.1875rem, 1.45vw, 1.5rem); line-height: 1.35;
}
.hero__lead--bar { display: none; }

.hero__bar {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 22px;
  padding: 12px 12px 12px 26px;
  background: var(--ink); color: #fff; border-radius: 8px;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
  white-space: nowrap;
}
.hero__phone {
  color: var(--yellow); text-decoration: none;
  font-weight: 900; font-size: clamp(1.625rem, 2.1vw, 2.125rem); letter-spacing: .005em;
  font-variant-numeric: tabular-nums;
}
.hero__phone:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.hero__actions { display: flex; gap: 10px; }

/* ---------- Kısa bilgiler ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts__list { display: grid; grid-template-columns: 1.05fr 1.4fr .9fr; }
.facts__list > div { padding: 24px 28px 26px; border-left: 1px solid var(--line); }
.facts__list > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.facts dd { font-weight: 700; font-size: 1.1875rem; line-height: 1.35; margin-top: 4px; }
.facts strong { font-weight: 900; font-size: 1.375rem; }

/* ---------- Depoda neler var (imza) ---------- */
.yard { padding: 88px 0 96px; }
.yard__fig { position: relative; border-radius: 6px; overflow: hidden; background: #6D6A66; }
.yard__fig img { width: 100%; height: auto; }

.tag {
  position: absolute; left: var(--x); top: var(--y);
  width: 0; height: 0;
}
.tag__dot {
  display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow); border: 3px solid var(--ink);
  font-size: 0; color: var(--ink); font-weight: 900;
}
.tag > .tag__dot { position: absolute; left: -9px; top: -9px; z-index: 2; }
.tag::before {
  content: ""; position: absolute; left: -1.5px; width: 3px; height: var(--len, 60px);
  background: var(--yellow);
  box-shadow: 0 0 0 1px rgba(35, 39, 43, .35);
}
.tag--up::before { bottom: 0; }
.tag--down::before { top: 0; }
.tag__name {
  position: absolute; left: 0;
  transform: translateX(-50%);
  padding: 7px 14px 8px;
  background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: 1.1875rem; line-height: 1.1; white-space: nowrap;
  border-radius: 4px;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .55);
}
.tag--up .tag__name { bottom: calc(var(--len, 60px) - 2px); }
.tag--down .tag__name { top: calc(var(--len, 60px) - 2px); }

/* Tek hareket: etiketler bölüm ilk göründüğünde sırayla belirir (JS yoksa ya da hareket azaltılmışsa hep görünür) */
.yard__fig.is-pending .tag__name { opacity: 0; transform: translate(-50%, 8px); }
.yard__fig.is-pending .tag::before { transform: scaleY(0); }
.yard__fig.is-pending .tag > .tag__dot { transform: scale(0); }
.yard__fig.is-play .tag__name { transition: opacity .35s ease, transform .35s ease; transition-delay: calc(var(--i) * 140ms + 260ms); }
.yard__fig.is-play .tag::before { transition: transform .3s ease; transition-delay: calc(var(--i) * 140ms + 80ms); }
.tag--up::before { transform-origin: bottom; }
.tag--down::before { transform-origin: top; }
.yard__fig.is-play .tag > .tag__dot { transition: transform .25s ease; transition-delay: calc(var(--i) * 140ms); }

.yard__legend { display: none; }

/* ---------- Ürünler ---------- */
.goods { background: var(--concrete); padding: 88px 0 96px; }
.goods__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.good {
  display: grid; grid-template-columns: minmax(0, 50%) minmax(0, 1fr); gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
}
.good__photo {
  display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0;
  background: #BDBDB8; cursor: zoom-in; overflow: hidden; border-radius: 4px;
}
.good__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.good__photo:hover img { transform: scale(1.03); }
.good__text h3 { font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; }
.good__text p { margin-top: 8px; }
.good__brands { color: var(--ink-2); font-size: 1.0625rem; }
.good__brands::before { content: "Markalar: "; }
.good__ask {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  min-height: 48px; padding: 0 16px 0 12px;
  border: 2px solid var(--ink); border-radius: 6px; background: #fff;
  font-weight: 700; font-size: 1.0625rem; text-decoration: none;
}
.good__ask:hover { background: var(--ink); color: #fff; }
.good__ask:hover .ico--wa { color: var(--wa); }

/* ---------- Teklif ---------- */
.offer { padding: 96px 0; }
.offer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.offer__photo { position: relative; }
.offer__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.offer__photo figcaption { margin-top: 10px; font-size: 1rem; color: var(--ink-2); }
.offer__body h2 { font-weight: 800; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.02em; }
.offer__lead { margin-top: 12px; color: var(--ink-2); }
.offer__form {
  margin-top: 28px; padding: 28px;
  background: var(--concrete); border-radius: 6px;
  border-top: 6px solid var(--yellow);
  display: grid; gap: 18px;
}
.field label { display: block; font-weight: 700; font-size: 1.0625rem; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; min-height: 56px; padding: 0 16px;
  border: 2px solid var(--field); border-radius: 6px; background: #fff;
  font-size: 1.125rem;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2323272B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 22px;
  padding-right: 48px;
}
.field input::placeholder { color: #6E7378; }
.field input:focus-visible, .field select:focus-visible { outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field__err { color: #B3261E; font-weight: 700; font-size: 1rem; margin-top: 6px; }
.field__err:empty { display: none; }
.offer__send { width: 100%; min-height: 58px; font-size: 1.1875rem; }
.offer__call { margin-top: 18px; font-weight: 500; }
.offer__call a { font-weight: 900; text-decoration: none; border-bottom: 3px solid var(--yellow); }
.offer__call a:hover { background: var(--yellow); }

/* ---------- Yorumlar ---------- */
.reviews { background: var(--concrete); padding: 88px 0; }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.reviews__score h2 { font-weight: 800; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.02em; }
.score { margin-top: 28px; display: flex; align-items: baseline; gap: 10px; line-height: 1; }
.score__num { font-weight: 900; font-size: 5.5rem; letter-spacing: -.03em; box-shadow: inset 0 -.16em 0 var(--yellow); }
.score__of { font-weight: 800; font-size: 1.75rem; color: var(--ink-2); }
.score__note { margin-top: 12px; font-weight: 700; }
.reviews__list { border-bottom: 2px solid var(--ink); }
.quote { display: grid; grid-template-columns: minmax(0, 1fr) 9rem; gap: 8px 32px; align-items: baseline; padding: 26px 0; border-top: 2px solid var(--ink); }
.quote blockquote { font-size: 1.5rem; font-weight: 500; line-height: 1.4; }
.quote figcaption { font-weight: 800; text-align: right; }
.link-more { display: inline-flex; align-items: center; min-height: 48px; margin-top: 14px; font-weight: 700; text-underline-offset: 5px; }

/* ---------- Konum ---------- */
.location { padding: 88px 0 96px; }
.location__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.location h2 { font-weight: 800; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.02em; }
.address { margin-top: 20px; display: flex; flex-direction: column; }
.address__street { font-weight: 900; font-size: 1.625rem; line-height: 1.25; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.distances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.distances h3 { font-weight: 800; font-size: 1.1875rem; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.distances dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.distances dd { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.note { margin-top: 14px; color: var(--ink-2); font-size: 1rem; }
.location__map iframe { display: block; width: 100%; height: 560px; border: 0; border-radius: 6px; background: var(--concrete); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #E9EAE7; padding: 64px 0 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1.1fr 1.1fr; gap: 32px; }
.site-footer__grid a { overflow-wrap: anywhere; }
.brand--light { color: #fff; margin: 0; }
.brand--light .brand__mark { fill: var(--yellow); }
.brand--light .brand__b { color: #C9CBC7; }
.site-footer__brand p { margin-top: 16px; color: #C9CBC7; font-size: 1rem; }
.site-footer__h { font-size: 1rem; font-weight: 500; color: #C9CBC7; margin-bottom: 8px; }
.site-footer p { line-height: 1.6; }
.site-footer a { color: #fff; text-underline-offset: 4px; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__tel { font-weight: 900; font-size: 1.375rem; text-decoration: none; }
.site-footer__cell { margin-top: 6px; font-size: 1.0625rem; }
.site-footer__base { margin-top: 44px; color: #B9BBB7; font-size: .9375rem; }
.site-footer__base p { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); }

.sticky-book { display: none; }

/* ---------- Fotoğraf görüntüleyici ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(20, 22, 24, .96); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1500px); max-height: 82vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 1.0625rem; color: #D6D8D4; 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, .5); background: rgba(0, 0, 0, .35); 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%); }

/* ================= Duyarlı düzen ================= */
@media (max-width: 1180px) {
  .goods__list { gap: 0 36px; }
  .good { grid-template-columns: 1fr; gap: 16px; }
  .hero__bar { gap: 16px; padding-left: 20px; }
  .hero__actions .btn { padding: 0 18px; }
}

@media (max-width: 1060px) {
  .site-nav { display: none; }
  .hero__bar { flex-wrap: wrap; justify-content: center; white-space: normal; width: max-content; max-width: calc(100% - 2 * var(--gut)); }
}

@media (max-width: 899px) {
  :root { --gut: 16px; --header-h: 64px; }
  body { font-size: 1.125rem; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__a { font-size: 1.1875rem; }
  .brand__b { font-size: .875rem; }
  .header-phone { min-height: 48px; padding: 0 18px 0 14px; }
  .header-phone__num { display: none; }
  .header-phone__short { display: inline; }

  .section-head { display: block; margin-bottom: 24px; }
  .section-head p { margin-top: 8px; font-size: 1.0625rem; }

  .hero { height: auto; background: var(--ink); }
  .hero__media { position: relative; display: block; height: var(--hero-h-m); }
  .hero__media img { object-position: var(--hero-pos-m); }
  .hero__sky { top: 18px; }
  .hero__row { font-size: clamp(2.25rem, 10.6vw, 3.25rem); }
  .hero__kind { font-size: clamp(.9375rem, 4.3vw, 1.25rem); padding-left: .9em; }
  .hero__lead--sky { display: none; }
  .hero__bar {
    position: static; transform: none;
    display: block; width: auto; max-width: none;
    padding: 22px var(--gut) 26px; border-radius: 0; box-shadow: none;
    white-space: normal;
  }
  .hero__lead--bar { display: block; font-size: 1.1875rem; line-height: 1.4; color: #fff; }
  .hero__phone { display: inline-block; margin-top: 14px; font-size: clamp(1.875rem, 9vw, 2.25rem); }
  .hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; max-width: 560px; }
  .hero__actions .btn { width: 100%; padding: 0 12px; }
  .hero__actions .btn--route-light { order: 2; }
  .hero__actions .btn--wa { order: 3; grid-column: 1 / -1; }

  .facts__list { grid-template-columns: 1fr; }
  .facts__list > div { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts__list > div:first-child { border-top: 0; }

  .yard { padding: 56px 0 60px; }
  .tag::before, .tag__name { display: none; }
  .tag { left: var(--xm); top: var(--ym); }
  .tag > .tag__dot { left: -15px; top: -15px; width: 30px; height: 30px; font-size: 1rem; border-width: 2px; }
  .yard__legend {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px;
    margin-top: 16px;
  }
  .yard__legend li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; }
  .yard__legend .tag__dot { width: 30px; height: 30px; font-size: 1rem; border-width: 2px; flex: none; }

  .goods { padding: 56px 0 60px; }
  .goods__list { grid-template-columns: 1fr; }
  .good { padding: 22px 0 26px; }
  .good__text h3 { font-size: 1.375rem; }

  .offer { padding: 56px 0 60px; }
  .offer__grid { grid-template-columns: 1fr; gap: 28px; }
  .offer__photo { order: 2; }
  .offer__photo img { aspect-ratio: 4 / 3; object-position: 50% 62%; }
  .offer__form { padding: 22px 16px; }

  .reviews { padding: 56px 0 60px; }
  .reviews__grid { grid-template-columns: 1fr; gap: 28px; }
  .score { margin-top: 18px; }
  .score__num { font-size: 4rem; }
  .quote { grid-template-columns: 1fr; padding: 20px 0; }
  .quote blockquote { font-size: 1.25rem; }
  .quote figcaption { text-align: left; }

  .location { padding: 56px 0 64px; }
  .location__grid { grid-template-columns: 1fr; gap: 32px; }
  .actions .btn { flex: 1 1 140px; }
  .distances { grid-template-columns: 1fr; gap: 24px; }
  .location__map iframe { height: 340px; }

  .site-footer { padding: 48px 0 calc(28px + 78px); }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }

  .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: 1px solid var(--line);
    box-shadow: 0 -10px 24px -18px rgba(35, 39, 43, .5);
    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__media { height: min(56.25vw, 500px); }
  .hero__row { font-size: clamp(2.75rem, 7.4vw, 3.75rem); }
  .hero__kind { font-size: clamp(1.0625rem, 2.6vw, 1.375rem); }
  .goods__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
}

@media (max-width: 360px) {
  .yard__legend { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .good__photo img, .sticky-book { transition: none; }
}
