:root {
  color-scheme: dark;
  --background: #0c0c0c;
  --surface: #141310;
  --text: #f6f1e8;
  --muted: #c2b9aa;
  --gold: #edc27f;
  --line: #ffffff20;
  --content: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 1rem/1.8 Vazirmatn, Tahoma, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
[hidden] { display: none !important; }

.wrap { width: min(var(--content), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(56px, 7vw, 108px); }

.skip {
  position: fixed;
  inset: 12px 12px auto auto;
  z-index: 3;
  padding: 8px 18px;
  background: var(--gold);
  color: #211509;
  transform: translateY(-160%);
}
.skip:focus { transform: translateY(0); }

.header { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { flex: 0 0 auto; }
.brand img { width: 136px; height: auto; mix-blend-mode: screen; }
.nav nav { display: flex; gap: clamp(16px, 3vw, 44px); color: var(--muted); font-size: .91rem; }
.nav a:hover, .text-link:hover { color: var(--text); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  border: 1px solid #edc27f56;
  padding: 6px 15px;
  border-radius: 6px;
  font-size: .93rem;
}
.menu-toggle { display: none; }

.hero {
  background: radial-gradient(ellipse at 18% 76%, #371f0e 0%, transparent 54%), #0e0d0c;
  overflow: hidden;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  min-height: clamp(510px, 46vw, 660px);
  position: relative;
  isolation: isolate;
}
.hero-copy { padding-block: 72px; z-index: 1; }
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
}
.kicker::before { content: ""; width: 27px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(2.55rem, 5.3vw, 5.15rem); line-height: 1.2; font-weight: 900; }
.hero h1 span { color: var(--gold); }
.hero-description { margin-top: 24px; max-width: 34ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 42% 0 -5%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 75%, transparent);
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  object-view-box: inset(29% 0 0);
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0c0c0caf, transparent 18%), linear-gradient(to bottom, #0e0d0c80, transparent 24%);
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 11px 18px;
  min-height: 49px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: .93rem;
  transition: background-color .2s, border-color .2s;
}
.primary { background: var(--gold); color: #211509; }
.primary:hover { background: #ffda9e; }
.secondary { border-color: #edc27f61; background: #16120edd; }
.secondary:hover { background: #302317; border-color: var(--gold); }
.button span, .text-link span { color: var(--gold); }
.primary span { color: inherit; }

.highlights { background: #151310; border-block: 1px solid #edc27f30; }
.highlights ul { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; }
.highlights li { padding: 20px 10px; text-align: center; }
.highlights li + li { border-inline-start: 1px solid var(--line); }
.highlights span { display: block; color: var(--muted); font-size: .8rem; }
.highlights strong { font-size: clamp(.88rem, 1.7vw, 1.13rem); }

h2 { font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.35; font-weight: 800; }
h3 { font-size: 1.16rem; line-height: 1.5; }
.description { margin-top: 17px; color: var(--muted); max-width: 54ch; }
.text-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--gold); font-weight: 600; }
.about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.about .text-link { margin-top: 24px; }
.showroom { position: relative; border: 1px solid #edc27f4a; border-radius: 8px; overflow: hidden; }
.showroom img { width: 100%; height: auto; min-height: 230px; object-fit: cover; }
.showroom figcaption { position: absolute; bottom: 12px; inset-inline-end: 12px; background: #0c0c0ce8; border-radius: 4px; padding: 3px 10px; font-size: .75rem; }

.process { background: #11100f; border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 28px 0 0; }
.steps li { padding: clamp(18px, 3vw, 34px); background: #181612; border: 1px solid #edc27f33; border-radius: 8px; }
.step-number { display: block; color: var(--gold); font-size: 1.55rem; font-weight: 800; margin-bottom: 12px; }
.steps p, .questions p { color: var(--muted); margin-top: 8px; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 16px; cursor: pointer; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; width: 7px; height: 7px; flex-shrink: 0; border: solid var(--gold); border-width: 0 0 2px 2px; transform: rotate(-45deg); margin-inline: 6px; }
.questions details[open] summary::after { transform: rotate(135deg); }
.questions p { margin: 0 0 16px; }

.contact { padding-top: 0; }
.contact-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center; padding: clamp(24px, 5vw, 64px); border: 1px solid #edc27f4a; border-radius: 10px; background: radial-gradient(ellipse at 100% 100%, #352719, transparent 75%), var(--surface); }
.contact-panel address { border-inline-start: 1px solid #edc27f4a; padding-inline-start: 26px; font-style: normal; }
.contact-panel address p { margin-block: 8px 14px; color: var(--muted); }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; }
.footer p { direction: ltr; color: var(--muted); font-size: .8rem; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .nav { gap: 14px; }
  .hero-art { inset-inline-start: 43%; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 70px; flex-wrap: wrap; position: relative; }
  .brand img { width: 112px; }
  .header-phone { display: none; }
  .menu-toggle { display: flex; align-items: center; gap: 9px; background: transparent; color: var(--gold); border: 1px solid #edc27f56; border-radius: 6px; padding: 6px 12px; cursor: pointer; }
  .nav nav { width: 100%; flex-wrap: wrap; gap: 10px 20px; padding-bottom: 14px; }
  .menu-toggle:not([hidden]) + nav { display: none; position: absolute; inset: 100% 0 auto; z-index: 2; background: #151310; padding: 12px 18px; border: 1px solid #edc27f56; border-radius: 6px; }
  .menu-toggle:not([hidden]) + nav.open { display: grid; gap: 0; }
  .nav nav.open a { padding-block: 8px; }
  .nav nav.open a + a { border-top: 1px solid var(--line); }
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-art { position: relative; order: -1; inset: auto; margin-inline: -18px; height: clamp(235px, 72vw, 420px); mask-image: none; }
  .hero-art img { object-position: center 81%; }
  .hero-art::after { background: linear-gradient(to top, #0e0d0c, transparent 38%); }
  .hero-copy { padding-block: 0 38px; margin-top: -12px; }
  .hero-description { margin-top: 15px; }
  .actions { margin-top: 22px; gap: 9px; }
  .hero .button { padding-inline: 12px; gap: 8px; }
  .highlights li { padding: 13px 5px; }
  .about, .faq, .contact-panel, .steps { grid-template-columns: minmax(0, 1fr); }
  .showroom img { min-height: 175px; }
  .contact-panel address { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid #edc27f4a; padding-top: 20px; }
  .footer-inner { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
