/* «Тёплый хлеб» — лендинг пекарни */

:root {
  --paper: #fbf6ec;
  --paper-2: #f4ebda;
  --card: #fffdf8;
  --ink: #2b1b12;
  --ink-soft: #6f5d4e;
  --line: #e7dac4;
  --terra: #b5522f;
  --terra-dark: #93401f;
  --honey: #e9c46a;
  --olive: #6b7250;
  --cream: #fff8ec;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Prata', Georgia, 'Times New Roman', serif;
  --shadow: 0 18px 50px rgba(43, 27, 18, .09);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--honey); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

section[id], footer[id] { scroll-margin-top: 92px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Типографика ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--terra);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--light { color: var(--honey); }

h1 { font-size: clamp(40px, 5.3vw, 78px); }
h2 { font-size: clamp(31px, 4.2vw, 54px); }
h3 { font-size: 22px; }

.accent { color: var(--terra); }

.lead {
  font-size: clamp(16px, 1.35vw, 18.5px);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 54ch;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--terra);
  color: var(--cream);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease, color .22s ease, border-color .22s ease;
}
.btn:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(181, 82, 47, .24);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--card);
  border-color: var(--ink);
  box-shadow: none;
}

.btn--light {
  background: var(--cream);
  color: var(--ink);
}
.btn--light:hover { background: var(--honey); box-shadow: 0 14px 28px rgba(0, 0, 0, .14); }

.btn__arrow { transition: transform .22s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 1px solid var(--ink);
  transition: color .2s ease, border-color .2s ease, gap .2s ease;
}
.text-link:hover { color: var(--terra); border-color: var(--terra); gap: 13px; }

/* ---------- Шапка ---------- */

.topbar {
  background: var(--ink);
  color: rgba(255, 248, 236, .82);
  font-size: 12.5px;
  letter-spacing: .03em;
}
.topbar__in {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 0;
}
.topbar__item { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.topbar__item + .topbar__item::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
  margin-right: 19px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 246, 236, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(43, 27, 18, .06);
}
.site-header__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}

.logo { display: flex; flex-direction: column; gap: 1px; flex: none; }
.logo__name {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.logo__sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--terra);
  transition: right .25s ease;
}
.site-nav a:hover { color: var(--terra); }
.site-nav a:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: 20px; flex: none; }
.header__phone {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.header__phone:hover { color: var(--terra); }
.header__cta { min-height: 46px; padding: 12px 22px; font-size: 14px; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px rgba(43, 27, 18, .12);
  padding: 10px 24px 26px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
}
.mobile-menu .btn { width: 100%; margin-top: 18px; }
.mobile-menu__phone {
  display: block;
  padding-top: 18px;
  font-size: 16px;
  font-weight: 700;
}
.mobile-menu__phone span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ---------- Первый экран ---------- */

.hero { padding: clamp(34px, 5vw, 74px) 0 clamp(44px, 6vw, 86px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(32px, 5vw, 82px);
}
.hero__grid > *, .about__grid > *, .delivery__grid > *, .order__grid > *,
.section-head > *, .delivery__head > * { min-width: 0; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { margin: 20px 0 24px; }
.hero__lead { max-width: 46ch; }
.hero__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 26px;
  margin-top: 32px;
}
.hero__facts {
  display: flex;
  gap: clamp(22px, 3vw, 44px);
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__facts li { display: flex; flex-direction: column; gap: 3px; }
.hero__facts b {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 400;
  line-height: 1.1;
}
.hero__facts span {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 13ch;
}

.hero__media { position: relative; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 22px -20px -20px 22px;
  border: 1px solid var(--line);
  border-radius: 260px 260px 28px 28px;
  z-index: 0;
}
.hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 260px 260px 28px 28px;
  background: var(--paper-2);
}
.hero__badge {
  position: absolute;
  z-index: 2;
  left: clamp(-18px, -1.4vw, -10px);
  bottom: 34px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--honey);
  color: var(--ink);
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(-7deg);
  box-shadow: 0 14px 34px rgba(43, 27, 18, .16);
  padding: 10px;
}
.hero__badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}
.hero__badge span {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* ---------- Бегущая строка ---------- */

.ticker {
  background: var(--terra);
  color: var(--cream);
  overflow: hidden;
  padding: 15px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ticker__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--honey);
  flex: none;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Секции ---------- */

.section { padding: clamp(72px, 9vw, 116px) 0; }
.section--tint { background: var(--paper-2); }

.section-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 24px 64px;
  margin-bottom: clamp(34px, 4vw, 54px);
}
.section-head h2 { margin-top: 16px; }
.section-head .lead { justify-self: end; }
.section-head--center {
  display: block;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.section-head--center .lead { margin: 18px auto 0; }

/* ---------- Меню ---------- */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.menu-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #dccbae;
}
.menu-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  overflow: hidden;
}
.menu-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.menu-card:hover .menu-card__media img { transform: scale(1.045); }
.menu-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--cream);
  color: var(--terra);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(43, 27, 18, .08);
}
.menu-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.menu-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
}
.menu-card__meta {
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.menu-card__desc {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}
.menu-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.menu-card__price {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.add {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.add:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--cream);
  transform: rotate(90deg);
}

/* ---------- Преимущества ---------- */

.benefits { padding: 4px 0 clamp(48px, 6vw, 72px); }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefit {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px 26px 28px;
}
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 4px;
}
.benefit h3 { font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.benefit p { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- О пекарне ---------- */

.about__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 220px 220px 26px 26px;
  background: var(--paper-2);
}
.about__stamp {
  position: absolute;
  right: -16px;
  top: 34px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--cream);
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(6deg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
  padding: 12px;
}
.about__stamp b {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 3px;
}
.about__copy h2 { margin: 16px 0 22px; max-width: 15ch; }
.about__copy p + p { margin-top: 16px; }
.about__copy p { color: var(--ink-soft); font-size: 16px; }
.about__copy p strong { color: var(--ink); font-weight: 700; }
.about__quote {
  margin-top: 30px;
  padding: 6px 0 6px 24px;
  border-left: 2px solid var(--terra);
}
.about__quote p {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.4;
  color: var(--ink);
}
.about__quote span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.about__strip {
  position: relative;
  margin-top: clamp(42px, 5vw, 64px);
  border-radius: 26px;
  overflow: hidden;
}
.about__strip img {
  width: 100%;
  height: clamp(240px, 30vw, 420px);
  object-fit: cover;
}
.about__strip figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(251, 246, 236, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ---------- Доставка ---------- */

.delivery {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(72px, 9vw, 112px) 0;
}
.delivery .lead { color: rgba(255, 248, 236, .68); }
.delivery__head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 24px 64px;
  margin-bottom: clamp(36px, 4.5vw, 58px);
}
.delivery__head h2 { margin-top: 16px; }
.delivery__head .lead { justify-self: end; }

.delivery__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(32px, 4vw, 60px);
}
.delivery__photo { position: relative; }
.delivery__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  background: #3a281d;
}
.delivery__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--honey);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.steps { display: flex; flex-direction: column; }
.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 248, 236, .16);
}
.steps li:last-child { border-bottom: 1px solid rgba(255, 248, 236, .16); }
.steps__n {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.15;
  color: var(--honey);
}
.steps h3 { font-size: 18px; font-weight: 700; }
.steps p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 248, 236, .66);
}

.delivery__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.delivery__chips li {
  border: 1px solid rgba(255, 248, 236, .22);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 248, 236, .85);
}

.fleet {
  position: relative;
  margin-top: clamp(44px, 5vw, 68px);
  border-radius: 26px;
  overflow: hidden;
}
.fleet img {
  width: 100%;
  height: clamp(320px, 42vw, 540px);
  object-fit: cover;
}
.fleet__card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: min(420px, calc(100% - 56px));
  background: var(--cream);
  color: var(--ink);
  border-radius: 20px;
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
}
.fleet__card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.25;
}
.fleet__card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Отзывы ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.review {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 2.4vw, 30px);
}
.review__stars {
  color: var(--terra);
  font-size: 13px;
  letter-spacing: .18em;
}
.review p {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.45;
  flex: 1;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--terra);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 17px;
  flex: none;
}
.review__author div b { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.review__author div span { display: block; font-size: 12px; color: var(--ink-soft); }

/* ---------- Заказ ---------- */

.order {
  background: var(--terra);
  color: var(--cream);
  padding: clamp(72px, 9vw, 112px) 0;
}
.order__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.order__copy h2 { margin: 16px 0 20px; }
.order__copy .lead { color: rgba(255, 248, 236, .82); }
.order__contacts {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.order__phone {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
}
.order__phone:hover { color: var(--honey); }
.order__note { font-size: 13px; color: rgba(255, 248, 236, .62); }
.order__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.order__links a {
  border: 1px solid rgba(255, 248, 236, .34);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.order__links a:hover { background: var(--cream); border-color: var(--cream); color: var(--terra); }

.form-card {
  background: var(--card);
  color: var(--ink);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 30px 80px rgba(43, 27, 18, .22);
}
.form-card__title {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.25;
}
.form-card__sub {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.form { margin-top: 22px; display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #a3947f; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terra);
  background: var(--card);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236f5d4e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; margin-top: 4px; }
.form__legal { font-size: 11.5px; line-height: 1.5; color: var(--ink-soft); text-align: center; }
.form__legal a { text-decoration: underline; text-underline-offset: 2px; }
.form__success {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #eef2e4;
  color: #46502f;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.form.is-sent .form__success { display: flex; }
.form__success svg { flex: none; margin-top: 2px; }

/* ---------- Подвал ---------- */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(48px, 6vw, 72px) 0 26px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .9fr;
  gap: 40px;
}
.footer__brand .logo__name { color: var(--cream); font-size: 27px; }
.footer__brand .logo__sub { color: rgba(255, 248, 236, .55); }
.footer__brand p {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 248, 236, .6);
}
.footer h4 {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 248, 236, .5);
}
.footer ul { display: grid; gap: 10px; font-size: 14.5px; }
.footer ul a { color: rgba(255, 248, 236, .86); }
.footer ul a:hover { color: var(--honey); }
.footer__contacts li { color: rgba(255, 248, 236, .86); }
.footer__contacts .footer__phone { font-size: 18px; font-weight: 700; color: var(--cream); }
.footer__contacts small { display: block; font-size: 12.5px; color: rgba(255, 248, 236, .55); margin-top: 3px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 248, 236, .14);
  font-size: 12px;
  color: rgba(255, 248, 236, .48);
}

/* ---------- Анимации ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */

@media (max-width: 1080px) {
  .site-nav { gap: 22px; }
  .header__phone { display: none; }
  .hero__grid { gap: 44px; }
}

@media (max-width: 940px) {
  .site-nav { display: none; }
  .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .site-header__in { min-height: 70px; }

  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__copy { max-width: 640px; }
  .hero__media { max-width: 560px; }
  .hero__media::before { inset: 16px -14px -14px 16px; }
  .hero__media img { border-radius: 200px 200px 24px 24px; }
  .hero__media::before { border-radius: 200px 200px 24px 24px; }

  .section-head, .delivery__head { grid-template-columns: 1fr; align-items: start; }
  .section-head .lead, .delivery__head .lead { justify-self: start; }

  .menu-grid { grid-template-columns: repeat(2, 1fr); }

  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(odd) { border-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 520px; }
  .about__copy h2 { max-width: none; }

  .delivery__grid { grid-template-columns: 1fr; gap: 34px; }
  .delivery__photo { max-width: 620px; }

  .reviews-grid { grid-template-columns: 1fr; }
  .review p { font-size: 18px; }

  .order__grid { grid-template-columns: 1fr; }
  .order__copy { max-width: 620px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }

  .topbar__in { justify-content: flex-start; overflow: hidden; gap: 0; }
  .topbar__item + .topbar__item::before { margin-inline: 14px 14px; }
  .topbar__item:nth-child(2) { display: none; }

  .hero { padding-top: 28px; }
  .hero__cta { align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__cta .text-link { align-self: flex-start; }
  .hero__facts { gap: 18px; }
  .hero__facts span { font-size: 11px; }

  .hero__badge { width: 96px; height: 96px; left: 6px; bottom: 18px; }
  .hero__badge b { font-size: 21px; }
  .hero__badge span { font-size: 8px; }

  .menu-grid { grid-template-columns: 1fr; }
  .menu-card__media { aspect-ratio: 4 / 3; }

  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .benefit { padding: 22px 18px 24px; }
  .benefit p { max-width: 30ch; }

  .about__stamp { right: 8px; top: 20px; width: 92px; height: 92px; }
  .about__strip figcaption { left: 14px; bottom: 14px; font-size: 11.5px; padding: 8px 13px; }

  .steps li { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; }
  .steps__n { font-size: 27px; }

  .fleet { overflow: visible; }
  .fleet img { height: auto; aspect-ratio: 16 / 10; border-radius: 22px; }
  .fleet__card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: -48px auto 0;
    padding: 22px;
  }

  .form__row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { margin-top: 34px; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 24px); }
  .hero h1 { font-size: 40px; }
  .logo__name { font-size: 21px; }
  .hero__facts { flex-wrap: wrap; }
}

@media (max-width: 359px) {
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit {
    border-left: 0 !important;
    border-top: 1px solid var(--line);
    padding: 20px 0 22px;
  }
  .benefit:first-child { border-top: 0; padding-top: 24px; }
  .benefit p { max-width: 38ch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
