:root {
  --bg: #101216;
  --bg-elev: #171a1f;
  --bg-soft: #1d2128;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f1ec;
  --muted: #b7b3ab;
  --orange: #f15a24;
  --orange-2: #ff7a3d;
  --wood: #c4a37a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --header: 76px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Oswald", "Manrope", sans-serif;
  --max: 1200px;
}

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

html {
  scroll-behavior: auto;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
}

h3 {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 8px 12px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  background: var(--orange);
  z-index: 80;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  left: 16px;
  top: 16px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--on-dark {
  color: var(--orange-2);
}

.section {
  padding: 96px 0;
  scroll-margin-top: var(--header);
}

html[data-device="desktop"] {
  scroll-snap-type: y proximity;
}

.section,
.partners {
  scroll-snap-align: start;
}

.section__head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section__head h2,
.about__intro h2,
.delivery__copy h2,
.contacts__copy h2,
.services__copy h2 {
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: #fff;
  font: 700 0.95rem var(--font);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(241, 90, 36, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.btn--sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  border-bottom: 1px solid transparent;
  background: rgba(16, 18, 22, 0.92);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  pointer-events: none;
}

.header__phone {
  margin-left: auto;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--orange-2);
}

.header.is-scrolled {
  background: rgba(16, 18, 22, 0.92);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header);
  width: min(1440px, calc(100% - 40px));
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--orange);
  flex: 0 0 auto;
}

.logo__mark svg {
  width: 42px;
  height: 42px;
}

.logo__name {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo__tag {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.nav a.is-active,
.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.header__cta {
  flex: 0 0 auto;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }

.burger.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100dvh - var(--header));
  display: grid;
  align-items: end;
  overflow: hidden;
  scroll-snap-align: start;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__photo {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 55% 50%;
  will-change: transform;
}

html[data-device="desktop"] .hero__photo {
  transform: scale(1.08);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.55) 48%, rgba(10, 11, 13, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.15) 0%, rgba(10, 11, 13, 0.72) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 72px 0 88px;
}

.hero__lead {
  max-width: 46ch;
  font-size: 1.08rem;
  margin: 18px 0 28px;
  color: #ddd9d2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #efeae3;
  font-weight: 600;
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #efeae3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-hint::after {
  content: "";
  width: 14px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background:
    linear-gradient(#fff, #fff) 50% 6px / 2px 6px no-repeat;
  animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
  0%, 100% { background-position: 50% 6px; opacity: 1; }
  50% { background-position: 50% 11px; opacity: 0.55; }
}

.about {
  background: var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}

.about__intro p {
  font-size: 1.05rem;
}

.about__stats {
  display: grid;
  gap: 14px;
}

.about__stats li {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
}

.about__stat-label {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about__stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.catalog {
  background:
    radial-gradient(circle at 10% 0%, rgba(241, 90, 36, 0.08), transparent 34%),
    var(--bg-elev);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 18, 22, 0.7);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(241, 90, 36, 0.45);
  transform: translateY(-3px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--orange);
}

.card__icon svg {
  width: 48px;
  height: 48px;
}

.card h3 {
  margin-bottom: 10px;
}

.benefits {
  background: #0c0e11;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefits__grid li {
  padding: 28px 24px 32px;
  border-top: 2px solid var(--orange);
  background: var(--bg-elev);
  border-radius: 0 0 var(--radius) var(--radius);
}

.benefits__grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--wood);
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.benefits__grid h3 {
  margin-bottom: 12px;
}

.services {
  padding-top: 0;
}

.services__wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  padding: 48px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--bg-soft);
  border: 1px solid var(--line);
}

.services__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.services__list li {
  padding: 18px 18px 20px;
  border-radius: 16px;
  background: rgba(10, 11, 13, 0.45);
}

.services__list strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services__list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.delivery {
  background: var(--bg-elev);
}

.delivery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 28px;
  color: var(--text);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.delivery__visual {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 30%, rgba(241, 90, 36, 0.18), transparent 42%),
    #12151a;
  border: 1px solid var(--line);
}

.delivery__badges {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.delivery__badges span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(241, 90, 36, 0.4);
  color: var(--orange-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showroom {
  background: var(--bg);
}

.showroom__gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
}

.showroom__shot {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.showroom__shot img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.partners {
  padding: 88px 0;
  scroll-margin-top: var(--header);
  background:
    linear-gradient(180deg, rgba(16, 18, 22, 0.2), rgba(16, 18, 22, 0.78)),
    url("../assets/showroom-gallery.jpg") center/cover;
}

.partners__inner {
  max-width: 640px;
  padding: 48px;
  border-radius: 28px;
  background: rgba(12, 14, 17, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.partners h2 {
  margin-bottom: 14px;
}

.partners .btn {
  margin-top: 8px;
}

.contacts {
  background: var(--bg-elev);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form label,
.form fieldset {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #12151a;
  color: var(--text);
  font: 500 1rem var(--font);
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(241, 90, 36, 0.55);
  outline-offset: 1px;
}

.form__choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form__choice legend {
  width: 100%;
  margin-bottom: 4px;
}

.chip {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.chip input {
  width: auto;
  accent-color: var(--orange);
}

.form__note,
.form__success {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.form__success {
  color: #9be7b3;
}

.place {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.place li {
  display: grid;
  gap: 4px;
}

.place span {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.place a {
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
}

.place a:hover {
  color: var(--orange-2);
}

.map-wrap {
  margin-top: 36px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.map {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.footer a {
  color: var(--text);
}

.footer a:hover {
  color: var(--orange-2);
}

.footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer__inner {
  display: grid;
  gap: 12px;
}

.footer .logo {
  margin-bottom: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(10px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

html[data-device="mobile"] .reveal {
  transform: translateY(24px);
  filter: none;
}

.no-js .reveal,
.no-js .truck {
  opacity: 1;
  transform: none;
  filter: none;
}

.truck {
  width: min(100%, 360px);
  transform: translateX(-24px);
  opacity: 0.35;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

.delivery__visual.is-in .truck {
  transform: none;
  opacity: 1;
}

@media (max-width: 1200px) {
  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1080px) {
  :root {
    --header: 64px;
  }

  .header {
    height: auto;
    min-height: var(--header);
  }

  .header__inner {
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
    min-height: var(--header);
    padding: 10px 0;
  }

  .header__phone {
    margin-left: auto;
    font-size: 0.82rem;
  }

  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    order: 5;
    gap: 0;
    max-height: none;
    padding: 4px 0 12px;
    background: transparent;
    white-space: normal;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    position: static;
    width: 100%;
    height: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .burger {
    display: block;
  }

  .header__cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .about__grid,
  .benefits__grid,
  .services__wrap,
  .services__list,
  .delivery__grid,
  .showroom__gallery,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .showroom__shot img {
    min-height: 240px;
  }

  .map {
    height: 260px;
  }

  .logo__tag {
    display: none;
  }
}

@media (max-width: 720px) {
  .container,
  .header__inner {
    width: min(var(--max), calc(100% - 24px));
  }

  .section {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
    max-width: none;
  }

  .hero {
    align-items: center;
  }

  .hero__content {
    padding: 36px 0 56px;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    display: grid;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .header__cta {
    display: none;
  }

  .catalog__grid {
    grid-template-columns: 1fr;
  }

  .services__wrap,
  .partners__inner,
  .form {
    padding: 20px;
  }

  .partners {
    padding: 56px 0;
  }

  .scroll-hint {
    margin-top: 20px;
  }
}

@media (max-width: 420px) {
  .header__phone {
    font-size: 0.74rem;
  }

  .logo__name {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }
}

@media (hover: none) {
  .card:hover,
  .btn:hover {
    transform: none;
    filter: none;
  }

  .card:active {
    border-color: rgba(241, 90, 36, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }

  .reveal,
  .truck,
  .scroll-hint::after,
  .nav {
    animation: none;
    transition: none;
    filter: none;
    opacity: 1;
    transform: none;
  }

  .card:hover {
    transform: none;
  }
}
