:root {
  --bg: #0c0c0e;
  --card: #161618;
  --ink: #f5f5f6;
  --muted: #a3a3ad;
  --line: rgba(255, 255, 255, 0.08);
  --orange: #ff7a1a;
  --orange-2: #ff8f3d;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: #ff7a1a; color: #111; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -40px; background: #fff; color: #111; padding: 8px 12px; z-index: 80; }
.skip:focus { top: 12px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 12, 14, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: block; width: 38px; height: 38px; flex: 0 0 38px; }
.brand-mark svg { display: block; }
.brand-type { display: flex; flex-direction: column; line-height: 1; }
.brand-type strong {
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 17px;
  padding-right: 0.16em;
}
.brand-type small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 22px;
}
.top .btn-orange { margin-left: auto; }
.nav a { text-decoration: none; color: #c8c8d0; font-size: 14.5px; font-weight: 600; }
.nav a.active, .nav a:hover { color: #fff; }
.btn-orange, .btn, .pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}
.btn-orange, .btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
}
.btn-orange:hover, .btn:hover { background: var(--orange-2); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1c1c20;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.pill-btn {
  background: #fff;
  color: #111;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}
.nav-toggle { display: none; }

.hero {
  width: min(1160px, calc(100% - 40px));
  margin: 34px auto 20px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #161618;
  color: #d4d4dc;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}
.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}
.hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(3rem, 5.4vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero h1 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.hero h1 .hot { color: var(--orange); display: block; }
.lead { color: var(--muted); max-width: 46ch; margin: 0 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stats { display: flex; gap: 28px; margin-top: 34px; }
.stats b { display: block; font-size: 1.7rem; letter-spacing: -0.04em; }
.stats span { color: var(--muted); font-size: 13px; }
.stats .hot { color: var(--orange); }

.stage {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  background: #141416;
  border: 1px solid var(--line);
}
.stage img { width: 100%; height: 520px; object-fit: cover; object-position: center 46%; }
.float {
  position: absolute;
  background: rgba(18, 18, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 13px;
}
.float b { display: block; font-size: 15px; }
.float small { color: var(--muted); }
.float-a { top: 16px; left: 16px; }
.float-b { left: 16px; bottom: 16px; }
.float-c { right: 16px; bottom: 16px; }
.float .dot { color: var(--orange); font-weight: 800; }

.section { padding: 54px 0; }
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 22px;
}
.section-intro h2, .page-title h1, .sheet h1, .letter h1, .route-wrap h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 1;
}
.section-intro p, .page-title p { color: var(--muted); max-width: 36ch; margin: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pcard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  min-height: 460px;
}
.pcard-photo { position: relative; display: block; }
.pcard-photo img { width: 100%; height: 460px; object-fit: cover; object-position: center 40%; }
.pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}
.pcard-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 78px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 10, 0.55) 32%, rgba(8, 8, 10, 0.92) 68%);
}
.pcard-body h2 { margin: 0 0 6px; font-size: 1.45rem; letter-spacing: -0.03em; }
.pcard-body h2 a { text-decoration: none; }
.pcard-body p { margin: 0; color: #d4d4dc; }
.pcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: 16px;
}
.pcard-foot small { display: block; color: var(--muted); font-size: 12px; }
.pcard-foot b { font-size: 1.25rem; letter-spacing: -0.03em; }

.quotes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.quote {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.quote p { margin: 0 0 12px; }
.quote footer { color: var(--muted); font-size: 13px; }
.quote footer span { color: var(--orange); }

.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.step b { color: var(--orange); display: block; margin-bottom: 6px; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 24px; color: var(--muted); }
.footer-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr;
  gap: 22px;
}
.foot-label { margin: 0 0 8px; color: #fff; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links li { margin: 0 0 6px; }
.site-footer address { font-style: normal; }
.site-footer a { color: #fff; }
.legal { width: min(1160px, calc(100% - 40px)); margin: 16px auto 0; font-size: 13px; }

.page-title { width: min(1160px, calc(100% - 40px)); margin: 28px auto 18px; display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; }
.catalog { width: min(1160px, calc(100% - 40px)); margin: 0 auto 48px; }

.sheet {
  width: min(1160px, calc(100% - 40px));
  margin: 28px auto 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
}
.gallery-main { width: 100%; height: 560px; object-fit: cover; object-position: center 42%; border-radius: 24px; background: #141416; }
.gallery-row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.gallery-row button { width: 76px; height: 58px; padding: 0; border-radius: 10px; border: 2px solid transparent; background: #141416; cursor: pointer; overflow: hidden; }
.gallery-row button.is-on { border-color: var(--orange); }
.gallery-row img { width: 100%; height: 100%; object-fit: cover; }
.spec-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 600; }
.note { color: var(--muted); }
.stock { color: #86efac; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.stock.is-out { color: #fda4af; }
.price-lg { font-size: 2rem; letter-spacing: -0.04em; margin: 8px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.route { list-style: none; margin: 22px 0 36px; padding: 0; display: grid; gap: 12px; }
.route li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.route b { color: var(--orange); font-size: 1.4rem; }
.route h2 { margin: 0 0 4px; font-size: 1.2rem; }
.route p { margin: 0; color: var(--muted); }
.route-wrap { width: min(760px, calc(100% - 40px)); margin: 28px auto 20px; }
.route-photo { width: min(1160px, calc(100% - 40px)); margin: 0 auto 40px; }
.route-photo img { width: 100%; height: 320px; object-fit: cover; border-radius: 24px; }

.banner { width: min(1160px, calc(100% - 40px)); margin: 24px auto 0; }
.banner img { width: 100%; height: 380px; object-fit: cover; object-position: center 25%; border-radius: 24px; }
.letter { width: min(720px, calc(100% - 40px)); margin: 28px auto 56px; }
.letter address { font-style: normal; font-size: 1.35rem; letter-spacing: -0.03em; margin: 16px 0; }

.desk { width: min(1160px, calc(100% - 40px)); margin: 28px auto 48px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 20px; }
.desk-side h1 { margin: 0 0 10px; font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: -0.04em; }
.desk-side address { font-style: normal; font-size: 1.15rem; }
.desk-form, .form-ok { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field span { font-size: 13px; font-weight: 700; }
.field input, .field textarea, .field select { background: #0f0f12; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-error { background: #3b1612; color: #fecaca; padding: 10px 12px; border-radius: 12px; }
.empty { width: min(640px, calc(100% - 40px)); margin: 32px auto; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 1.5px; background: #fff; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }

@media (max-width: 900px) {
  .hero, .grid-2, .quotes, .steps, .sheet, .desk, .footer-grid, .section-intro, .page-title { grid-template-columns: 1fr; display: grid; }
  .section-intro, .page-title { display: grid; }
  .stage img, .gallery-main, .banner img { height: 320px; }
  .pcard, .pcard-photo img { min-height: 0; height: 420px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .top .btn-orange { display: none; }
  .nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 74px;
    transform: none;
    inset: 74px 12px auto 12px;
    background: #161618;
    border: 1px solid var(--line);
    border-radius: 18px;
    margin: 0;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }
  body.nav-open .nav { display: flex; }
  .nav a { font-size: 1.15rem; padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
