/* ==========================================================================
   Торшерик — стили
   ========================================================================== */

:root {
  --bg: #FBF6F0;
  --bg-soft: #F5ECE2;
  --surface: #FFFDFA;
  --ink: #3A2C24;
  --ink-soft: #6E5D52;
  --muted: #A08E81;
  --accent: #A8775A;
  --accent-deep: #8C5F45;
  --accent-light: #E9D6C5;
  --line: rgba(58, 44, 36, .12);
  --glow: #FFE9CC;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --arch: 20px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, strong, .contacts, .steps__num, .hero__name { font-variant-numeric: lining-nums; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
}

em { font-style: italic; color: var(--accent); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .02em;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { background: var(--accent-deep); box-shadow: 0 10px 30px -12px rgba(140, 95, 69, .6); }
.btn:active { transform: scale(.98); }
.btn--small { height: 42px; padding: 0 22px; font-size: 14px; }
.btn--full { width: 100%; }

.link-btn {
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.link-btn:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(251, 246, 240, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 40px; }

.logo img { height: 50px; width: auto; }

.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a {
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Главный экран ---------- */
.hero {
  position: relative;
  min-height: clamp(640px, 100svh, 1000px);
  padding: calc(var(--header-h) + 28px) 0 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 0%, #FFFDF9 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
@property --glow { syntax: '<color>'; inherits: true; initial-value: #FFE4BE; }
.hero { transition: --glow 1.2s ease; }
.hero__glow {
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 80%, transparent), transparent);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

.hero__head { text-align: center; position: relative; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.hero__title em { display: inline-block; }

/* Барабан (3D) */
.drum {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: clamp(420px, 62vh, 720px);
  margin-top: 4px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.drum.is-dragging { cursor: grabbing; }
.drum.is-hover:not(.is-dragging) { cursor: pointer; }
.drum__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.drum.is-ready .drum__canvas { opacity: 1; transform: none; }
.drum:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); border-radius: 24px; }

/* Если 3D недоступно — просто фото */
.drum__fallback {
  position: absolute;
  left: 50%; top: 50%;
  height: 92%;
  aspect-ratio: 3 / 4;
  width: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border-radius: var(--radius);
  mix-blend-mode: multiply;
}

.card.is-blend img,
.modal__media.is-blend img { mix-blend-mode: multiply; }

/* Подпись под барабаном */
.hero__info {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 6vw, 70px);
  margin-top: 10px;
}
.hero__caption { text-align: center; min-width: 210px; }
.hero__name {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.1;
  font-style: italic;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.hero__meta { color: var(--ink-soft); font-size: 14px; margin: 4px 0 12px; transition: opacity .3s var(--ease); }
.hero__caption.is-changing .hero__name,
.hero__caption.is-changing .hero__meta { opacity: 0; transform: translateY(6px); }

.arrow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(255, 253, 250, .6);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
  flex-shrink: 0;
}
.arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover { background: var(--surface); border-color: var(--accent); transform: scale(1.05); }

.dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; position: relative; }
.dots button {
  width: 26px; height: 26px;
  display: grid; place-items: center;
}
.dots button::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  transition: background .3s, transform .3s var(--ease);
}
.dots button[aria-selected="true"]::before { background: var(--accent); transform: scale(1.35); }

/* ---------- Преимущества ---------- */
.features { border-block: 1px solid var(--line); background: var(--surface); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { padding: 44px 30px 46px; border-left: 1px solid var(--line); }
.feature:first-child { border-left: 0; padding-left: 0; }
.feature:last-child { padding-right: 0; }
.feature__icon { width: 38px; height: 38px; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Секции ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(44px, 6vw, 70px); }
.section__head--left { text-align: left; margin-left: 0; }
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  margin-bottom: 18px;
}
.section__lead { color: var(--ink-soft); }

/* ---------- Коллекция ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); max-width: 1000px; margin-inline: auto; }
.card { text-align: left; display: block; width: 100%; }
.card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--tint, #fff);
  margin-bottom: 18px;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card__media::after {
  content: "Смотреть";
  position: absolute;
  left: 50%; bottom: 20px;
  transform: translate(-50%, 10px);
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255, 253, 250, .92);
  font-size: 13px;
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }
.card:hover .card__media::after,
.card:focus-visible .card__media::after { opacity: 1; transform: translate(-50%, 0); }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__name { font-family: var(--serif); font-size: 26px; font-style: italic; line-height: 1.1; }
.card__price { font-size: 14px; color: var(--ink); white-space: nowrap; }
.card__note { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ---------- О нас ---------- */
.about { background: var(--bg-soft); }
.about__inner { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.about__media { position: relative; max-width: 440px; }
.arch { border-radius: var(--arch); overflow: hidden; background: #fff; aspect-ratio: 3 / 4; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.about__stamp {
  position: absolute;
  right: -46px;
  bottom: 60px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 20px 40px -24px rgba(90, 60, 40, .35);
  animation: spin 26s linear infinite;
}
.about__stamp svg { width: 100%; height: 100%; }
.about__stamp text { font-family: var(--sans); font-size: 10.4px; letter-spacing: .24em; text-transform: uppercase; fill: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text p:not(.eyebrow) { color: var(--ink-soft); margin-bottom: 16px; max-width: 520px; }
.about__facts { list-style: none; padding: 0; margin: 38px 0 0; display: flex; gap: clamp(24px, 5vw, 56px); }
.about__facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1; color: var(--accent); }
.about__facts span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Характеристики ---------- */
.details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.details__scheme svg { width: 100%; max-width: 440px; margin-inline: auto; overflow: visible; color: var(--accent); }
.scheme__lamp path, .scheme__lamp rect { fill-opacity: 1; stroke: var(--ink); stroke-width: 1.2; }
.scheme__lamp path:first-child, .scheme__lamp rect:nth-of-type(1) { stroke: none; }
.scheme__lamp path:nth-of-type(2), .scheme__lamp rect:nth-of-type(2) { fill: none; }
.scheme__shadow { fill: rgba(58, 44, 36, .08); stroke: none !important; }
.scheme__dims line { stroke: var(--accent); stroke-width: 1; }
.scheme__dims text { font-family: var(--sans); font-size: 14px; fill: var(--ink-soft); }
.scheme__dims text.small { font-size: 12px; }

.specs { margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 14px; }
.specs dd { margin: 0; font-size: 15px; text-align: right; }
.specs--compact { grid-template-columns: 1fr; margin: 22px 0 28px; }
.specs--compact div { padding: 10px 0; }

/* ---------- Шаги ---------- */
.steps-section { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); counter-reset: s; }
.steps li { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.steps li::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 46px; height: 1px; background: var(--accent);
}
.steps__num { font-family: var(--serif); font-size: 18px; color: var(--accent); font-style: italic; }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; margin: 10px 0 10px; }
.steps p { color: var(--ink-soft); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(30px, 6vw, 100px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 48px 24px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.25;
  transition: color .25s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 16px; height: 1.3px;
  background: var(--accent);
  transition: transform .35s var(--ease);
}
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0); }
.faq__list summary:hover { color: var(--accent); }
.faq__list details p { color: var(--ink-soft); padding: 0 48px 26px 0; max-width: 640px; }
.faq__list details[open] p { animation: fadeDown .45s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Заявка ---------- */
.order { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.order__inner { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.order__text p:not(.eyebrow) { color: var(--ink-soft); max-width: 420px; }
.contacts { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 10px; }
.contacts a { font-family: var(--serif); font-size: 26px; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.contacts a:hover { color: var(--accent); border-color: var(--accent); }

.form {
  position: relative;
  background: var(--surface);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 46px);
  box-shadow: 0 40px 80px -50px rgba(90, 60, 40, .4);
  display: grid;
  gap: 20px;
}
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; color: var(--ink-soft); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field i { color: var(--muted); font-style: normal; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  resize: vertical;
  transition: border-color .25s, background .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #BDAEA2; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field.is-error input { border-color: #C46A5A; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.swatch label::before {
  content: "";
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--tint);
  box-shadow: inset 0 0 0 1px rgba(58, 44, 36, .1);
}
.swatch input:checked + label { border-color: var(--accent); background: var(--bg); }
.swatch input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.form__note { font-size: 12px; color: var(--muted); text-align: center; }
.form__success {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--surface);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 6px;
  padding: 30px;
  animation: fadeDown .5s var(--ease);
}
.form__success[hidden] { display: none; }
.form__success svg { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.form__success h3 { font-family: var(--serif); font-weight: 400; font-size: 38px; font-style: italic; }
.form__success p { color: var(--ink-soft); }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px 0; background: var(--bg-soft); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--muted); }
.footer__logo { height: 40px; width: auto; }
.footer__up:hover { color: var(--accent); }

/* ---------- Модальное окно ---------- */
.modal {
  width: min(980px, 100% - 32px);
  max-height: min(720px, 100% - 32px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(58, 44, 36, .5);
}
.modal[open] { display: grid; grid-template-columns: 1fr 1fr; animation: modalIn .5s var(--ease); }
.modal::backdrop { background: rgba(58, 44, 36, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .4s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.modal__media { background: var(--tint, #fff); min-height: 0; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(28px, 4vw, 54px); overflow-y: auto; display: flex; flex-direction: column; }
.modal__name { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(40px, 5vw, 58px); line-height: 1; }
.modal__note { color: var(--ink-soft); margin-top: 10px; }
.modal__price { font-size: 24px; margin-top: 18px; font-weight: 500; }
.modal__nav { display: flex; justify-content: space-between; margin-top: auto; padding-top: 26px; }
.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 253, 250, .9);
  transition: background .25s, transform .35s var(--ease);
}
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature { padding: 36px 26px; }
  .feature:nth-child(odd) { border-left: 0; padding-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .logo img { height: 42px; }
  .header__cta { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 26px;
    background: rgba(251, 246, 240, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 30px -20px rgba(58, 44, 36, .25);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-family: var(--serif); font-size: 26px; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header.menu-open { background: rgba(251, 246, 240, .97); }

  .about__inner, .details, .faq, .order__inner { grid-template-columns: 1fr; }
  .about__media { margin-inline: auto; width: 78%; }
  .about__stamp { right: -30px; width: 104px; height: 104px; }
  .details__scheme { order: 2; }
  .section__head--left { text-align: center; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .modal[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__media { aspect-ratio: 4 / 3; }
  .modal__media img { object-fit: contain; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .hero { padding-top: calc(var(--header-h) + 18px); min-height: auto; }
  /* на телефоне высота барабана по ширине экрана — три торшера целиком */
  .drum { flex: none; min-height: 0; height: clamp(380px, 128vw, 640px); }
  .hero__name { font-size: 34px; }
  .arrow { width: 46px; height: 46px; }
  .hero__caption { min-width: 0; }
  .features__grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(odd) { padding: 28px 0; border-left: 0; }
  .feature:nth-child(n+2) { border-top: 1px solid var(--line); }
  /* на телефоне карточки листаются вбок */
  .grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .grid::-webkit-scrollbar { display: none; }
  .grid .card { flex: 0 0 72%; scroll-snap-align: center; }
  .card__name { font-size: 22px; }
  .card__row { flex-direction: column; gap: 2px; }
  .card__note { display: none; }
  .specs { grid-template-columns: 1fr; }
  .about__facts strong { font-size: 34px; }
  .contacts a { font-size: 22px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .modal { width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
}

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

#heroPrice { white-space: nowrap; }
