:root {
  --bg: #231f20;
  --bg-deep: #181516;
  --bg-soft: #312b2d;
  --card: #2f2a2b;
  --card-strong: #373132;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f7f3ef;
  --muted: rgba(247, 243, 239, 0.74);
  --muted-dark: rgba(21, 16, 17, 0.74);
  --paper: #f4efe9;
  --paper-soft: #e9dfd2;
  --accent: #ff6a00;
  --accent-strong: #ff7e2f;
  --accent-dim: rgba(255, 106, 0, 0.16);
  --shadow-lg: 0 34px 80px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.2);
  --container: min(1220px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.top-strip {
  background: #141112;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
}

.top-strip p {
  margin: 0;
  color: rgba(247, 243, 239, 0.72);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
}

.lang-switch button,
.lang-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(247, 243, 239, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-switch button {
  background: transparent;
  cursor: pointer;
}

.lang-switch .is-active {
  border-color: rgba(255, 106, 0, 0.42);
  background: rgba(255, 106, 0, 0.12);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 24, 25, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(20, 17, 18, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 92px;
}

.brand-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 248px;
  height: 72px;
  padding: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.brand-plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.38);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.site-nav a,
.header-cta,
.button,
.stock-footer a,
.floating-rail a {
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease,
    color 180ms ease, opacity 180ms ease;
}

.site-nav a {
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(247, 243, 239, 0.84);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible,
.stock-footer a:hover,
.stock-footer a:focus-visible,
.floating-rail a:hover,
.floating-rail a:focus-visible {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #fff;
  transition: top 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.nav-toggle span:nth-child(1) {
  top: 18px;
}

.nav-toggle span:nth-child(2) {
  top: 26px;
}

.nav-toggle span:nth-child(3) {
  top: 34px;
}

.nav-open .nav-toggle span:nth-child(1) {
  top: 26px;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  top: 26px;
  transform: rotate(-45deg);
}

.floating-rail {
  position: fixed;
  top: 38%;
  right: 18px;
  z-index: 40;
  display: grid;
  gap: 10px;
}

.floating-rail a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.hero {
  position: relative;
  min-height: calc(100vh - 134px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 21, 22, 0.46) 0%, rgba(24, 21, 22, 0.72) 38%, rgba(24, 21, 22, 0.96) 100%),
    linear-gradient(90deg, rgba(20, 16, 17, 0.82) 0%, rgba(20, 16, 17, 0.4) 45%, rgba(20, 16, 17, 0.78) 100%),
    url("assets/images/hero-showroom.jpg") center 26% / cover no-repeat;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.66fr);
  gap: 34px;
  align-items: end;
  width: 100%;
  padding: 110px 0 64px;
}

.hero-card,
.hero-side article,
.filters-card,
.stock-card,
.search-form,
.service-row,
.method-grid article,
.contact-panels article {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero-card {
  max-width: 760px;
  padding: 34px;
  background: rgba(36, 31, 32, 0.92);
}

.kicker,
.section-kicker {
  margin: 0 0 12px;
  color: rgba(247, 243, 239, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-kicker {
  color: rgba(255, 106, 0, 0.92);
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  line-height: 0.96;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  max-width: 10ch;
}

.accent-line {
  width: 86px;
  height: 3px;
  margin: 22px 0;
  background: var(--accent);
}

.centered .accent-line {
  margin-inline: auto;
}

.hero-text,
.section-heading p,
.service-copy p,
.service-copy li,
.contact-copy p,
.contact-panels p,
.method-grid p,
.stock-card p,
.toolbar-note {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 32px rgba(255, 106, 0, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.button-full {
  width: 100%;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.hero-side article {
  padding: 24px;
  border-radius: 22px;
  background: rgba(32, 28, 29, 0.86);
}

.hero-side span,
.method-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
}

.hero-side strong,
.method-grid h3,
.service-copy h3,
.stock-card h3 {
  display: block;
  margin: 0 0 10px;
  font-size: 1.54rem;
  font-weight: 800;
}

.hero-side p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-band {
  background: #191617;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-band-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
  padding: 18px 0;
}

.section-band-inner span {
  position: relative;
  color: rgba(247, 243, 239, 0.88);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-band-inner span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.catalog-section,
.services-section,
.contact-section {
  padding: 104px 0;
  background: var(--bg);
}

.search-section,
.atelier-section {
  padding: 104px 0;
  background:
    linear-gradient(180deg, rgba(17, 14, 15, 0.96) 0%, rgba(27, 23, 24, 0.96) 100%),
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.18), transparent 28%);
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(30, 26, 27, 0.97) 0%, rgba(24, 20, 21, 0.98) 100%),
    radial-gradient(circle at 85% 15%, rgba(255, 106, 0, 0.12), transparent 24%);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  max-width: 12ch;
}

.section-heading.centered h2 {
  margin-inline: auto;
}

.section-heading.on-dark p,
.section-heading.on-dark h2 {
  color: var(--text);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: 22px;
}

.filters-card {
  align-self: start;
  padding: 24px;
  border-radius: 22px;
  background: var(--card);
  position: sticky;
  top: 122px;
}

.filter-block + .filter-block {
  margin-top: 18px;
}

.filter-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 239, 0.86);
}

.filter-input,
.search-form input,
.search-form select,
.search-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--card-strong);
  color: #fff;
}

.search-form textarea {
  min-height: 170px;
  padding: 16px 18px;
  border-radius: 24px;
  resize: vertical;
}

.filter-input::placeholder,
.search-form input::placeholder,
.search-form textarea::placeholder {
  color: rgba(247, 243, 239, 0.44);
}

.range-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.range-heading strong,
.range-shell strong {
  color: #fff;
  font-size: 0.92rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.result-pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.result-pill span {
  color: var(--accent);
  margin-right: 8px;
}

.toolbar-note {
  margin: 0;
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stock-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--card);
}

.stock-card[hidden] {
  display: none;
}

.stock-card img {
  height: 240px;
  object-fit: cover;
}

.stock-card-body {
  padding: 18px;
}

.stock-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.stock-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 243, 239, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
}

.stock-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  line-height: 0.98;
  text-transform: uppercase;
}

.stock-card p {
  margin: 0 0 18px;
}

.stock-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stock-footer strong {
  color: var(--accent);
  font-size: 1.32rem;
  font-weight: 800;
}

.stock-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.search-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
  border-radius: 24px;
  background: rgba(47, 42, 43, 0.96);
}

.search-form label {
  display: grid;
  gap: 10px;
}

.search-form label span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 239, 0.88);
}

.range-box .range-shell {
  display: grid;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: var(--card-strong);
}

.full-width {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-feedback {
  margin: 0;
  color: rgba(247, 243, 239, 0.82);
}

.form-hidden {
  display: none !important;
}

.thank-you-page {
  min-height: 100vh;
}

.service-stack {
  display: grid;
  gap: 22px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.78fr);
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--card);
}

.service-row.reverse {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 0.95fr);
}

.service-copy {
  padding: 34px;
}

.service-copy h3 {
  font-family: "Barlow Condensed", sans-serif;
  line-height: 0.98;
  text-transform: uppercase;
}

.service-copy ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-copy li + li {
  margin-top: 8px;
}

.service-visual img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.method-grid article {
  padding: 28px;
  border-radius: 22px;
  background: rgba(47, 42, 43, 0.96);
}

.method-grid h3 {
  font-family: "Barlow Condensed", sans-serif;
  line-height: 0.98;
  text-transform: uppercase;
}

.method-grid p {
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.9fr);
  gap: 26px;
  align-items: start;
}

.contact-copy {
  max-width: 720px;
}

.contact-panels {
  display: grid;
  gap: 18px;
}

.contact-panels article {
  padding: 24px;
  border-radius: 20px;
  background: rgba(47, 42, 43, 0.94);
}

.contact-panels strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.06rem;
}

.contact-panels p {
  margin: 0;
}

.site-footer {
  padding: 28px 0 42px;
  background: #141112;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 180px;
  height: 70px;
  padding: 0;
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
  overflow: hidden;
  transform: scale(1.38);
}

.footer-brand p,
.footer-note p {
  margin: 0;
  color: rgba(247, 243, 239, 0.72);
  line-height: 1.7;
}

.footer-note {
  text-align: right;
}

@media (max-width: 1150px) {
  .hero-layout,
  .catalog-layout,
  .contact-layout,
  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
  }

  .filters-card {
    position: relative;
    top: auto;
  }

  .stock-grid,
  .method-grid,
  .search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    max-width: none;
  }
}

@media (max-width: 960px) {
  .top-strip-inner {
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    display: grid;
    gap: 16px;
    justify-items: start;
    padding: 24px;
    border-radius: 22px;
    background: rgba(28, 24, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header-cta {
    display: none;
  }

  .brand-plate {
    width: min(250px, calc(100vw - 130px));
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    padding-top: 90px;
  }

  .floating-rail {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100vw - 28px, 100%);
  }

  .hero-layout,
  .stock-grid,
  .method-grid,
  .search-form,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .search-form,
  .service-copy,
  .method-grid article,
  .contact-panels article,
  .filters-card {
    padding: 22px;
  }

  .hero h1,
  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(2.7rem, 16vw, 4rem);
    max-width: none;
  }

  .catalog-toolbar,
  .form-actions,
  .footer-inner,
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-note {
    text-align: left;
  }

  .service-visual img,
  .stock-card img {
    min-height: 0;
    height: 220px;
  }

  .section-band-inner {
    justify-content: flex-start;
    padding-left: 16px;
  }
}

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

  .site-nav,
  .nav-toggle span,
  .site-nav a,
  .header-cta,
  .button,
  .stock-footer a,
  .floating-rail a {
    transition: none !important;
  }
}
