:root {
  --dark: #101111;
  --dark-2: #181919;
  --stone: #262524;
  --text: #f3f1ed;
  --muted: #c7c1b7;
  --light: #f3f0eb;
  --light-2: #ebe5dc;
  --gold: #c8a464;
  --gold-2: #dfc28b;
  --border: rgba(200, 164, 100, .34);
  --shadow: 0 24px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .25;
  background:
    radial-gradient(circle at 20% 0%, rgba(200,164,100,.13), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(135deg, #0d0e0e, #191918);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .09;
  background-image:
    linear-gradient(115deg, transparent 0 49%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(circle at 30% 70%, rgba(255,255,255,.5) 0 1px, transparent 1.5px);
  background-size: 180px 180px, 42px 42px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(15,16,16,.84);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--gold-2);
}

.brand-mark svg { width: 100%; height: 100%; }

.brand-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  line-height: .95;
  letter-spacing: .02em;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 15px;
  color: #f4efe6;
}

.nav a {
  opacity: .9;
  transition: color .2s ease, opacity .2s ease;
}

.nav a:hover {
  color: var(--gold-2);
  opacity: 1;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.header-cta,
.btn-gold {
  color: #171512;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(200,164,100,.22);
}

.header-cta:hover,
.btn-gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ead19f, #cfae6c);
}

.btn-outline {
  color: var(--text);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.36);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--gold-2);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  justify-self: end;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: white;
  padding: 10px;
}

.burger span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
}

.hero {
  min-height: 700px;
  position: relative;
  display: grid;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}

.hero-bg,
.hero-bg img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(.86) contrast(1.06);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15,16,16,.94) 0%, rgba(15,16,16,.82) 35%, rgba(15,16,16,.28) 70%, rgba(15,16,16,.12) 100%),
    linear-gradient(0deg, rgba(15,16,16,.58), transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 620px;
  padding: 64px 0 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .22em;
}

h1, h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: .01em;
}

h1 {
  font-size: clamp(48px, 7vw, 88px);
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.gold-line {
  width: 62px;
  height: 2px;
  background: var(--gold);
  margin: 26px 0;
  position: relative;
}

.gold-line::after {
  content: "";
  position: absolute;
  left: 72px;
  top: 0;
  width: 18px;
  height: 2px;
  background: var(--gold);
  opacity: .45;
}

.gold-line.center {
  margin: 18px auto 0;
}

.gold-line.center::after {
  left: 72px;
}

.lead {
  margin: 0 0 32px;
  max-width: 520px;
  color: #d8d1c7;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 48px;
}

.hero-points div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-points p {
  margin: 0;
  color: #e8e1d6;
  font-size: 14px;
  line-height: 1.25;
}

.mini-icon {
  color: var(--gold-2);
  font-size: 28px;
}

.section-light {
  background: var(--light);
  color: #24201b;
}

.section-dark {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255,255,255,.03), transparent 26%),
    linear-gradient(180deg, #151616, #101111);
  color: var(--text);
}

.advantages,
.catalog,
.gallery,
.steps {
  padding: 76px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 46px;
}

.section-head h2 {
  color: inherit;
}

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

.adv-card {
  min-height: 190px;
  padding: 34px 26px;
  text-align: center;
  border: 1px solid rgba(114, 87, 44, .28);
  background: rgba(255,255,255,.45);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.adv-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(32,27,20,.1);
}

.adv-icon {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 42px;
  line-height: 1;
}

.adv-card h3,
.product-card h3,
.step-card h3,
.footer h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.adv-card p,
.product-card p,
.step-card p {
  margin: 0;
  color: #5d574f;
  font-size: 15px;
}

.section-dark .step-card p,
.section-dark .product-card p {
  color: #cfc7bc;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
  min-height: 360px;
  transition: transform .22s ease, border-color .22s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border);
}

.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(.8);
}

.product-body {
  padding: 22px;
}

.product-body a {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold-2);
  font-weight: 600;
}

.gallery {
  overflow: hidden;
}

.gallery-wrap {
  position: relative;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.gallery-track img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  filter: saturate(.88);
}

.gallery-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  color: white;
  background: var(--gold);
  transform: translateY(-50%);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(0,0,0,.2);
}

.gallery-btn.prev { left: -23px; }
.gallery-btn.next { right: -23px; }

.dots {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bdb4a7;
}

.dots span:first-child {
  background: var(--gold);
}

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

.step-card {
  position: relative;
  padding: 28px 24px 30px;
  border-left: 1px solid rgba(200,164,100,.35);
}

.step-card:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -18px;
  top: 38px;
  color: var(--gold);
  font-size: 38px;
  opacity: .7;
}

.step-num {
  display: block;
  margin-bottom: 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 46px;
  color: var(--gold-2);
}

.lead-section {
  padding: 0 0 76px;
  background:
    linear-gradient(180deg, var(--dark) 0 35%, var(--light) 35% 100%);
}

.lead-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  padding: 54px;
  background:
    radial-gradient(circle at right bottom, rgba(200,164,100,.12), transparent 24%),
    var(--light);
  color: #25211c;
  box-shadow: var(--shadow);
}

.lead-copy p {
  max-width: 420px;
  color: #645e55;
}

.lead-badges {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.lead-badges span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #3b352e;
  font-weight: 600;
}

.lead-badges span::before {
  content: "◇";
  color: var(--gold);
  font-size: 24px;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: #6e675f;
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(67,55,41,.18);
  background: rgba(255,255,255,.75);
  padding: 15px 16px;
  font: inherit;
  color: #221f1b;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,164,100,.12);
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 8px;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.check span {
  margin: 0;
}

.form-note {
  margin: 0;
  color: #746b61;
  font-size: 13px;
}

.footer {
  background: #111212;
  color: #e6ded1;
  padding: 62px 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .65fr .9fr 1.2fr;
  gap: 42px;
}

.footer p {
  color: #bfb6a9;
  margin: 0 0 12px;
}

.footer a {
  display: block;
  margin: 0 0 10px;
  color: #d7cfc3;
}

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

.footer-brand .brand {
  margin-bottom: 18px;
}

.legal-card {
  padding: 22px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
}

.legal-card p {
  font-size: 14px;
  line-height: 1.45;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
}

.footer-bottom a {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 24px 32px 30px;
    background: rgba(15,16,16,.96);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav.open {
    display: grid;
    gap: 18px;
  }

  .burger {
    display: block;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adv-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lead-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-track img:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    height: 70px;
    padding-inline: 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero {
    min-height: 760px;
    padding-top: 70px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(15,16,16,.94), rgba(15,16,16,.68));
  }

  h1 {
    font-size: 48px;
  }

  .hero-actions,
  .hero-points {
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .adv-grid,
  .catalog-grid,
  .steps-grid,
  .form-row,
  .gallery-track {
    grid-template-columns: 1fr;
  }

  .gallery-track img:nth-child(n+2) {
    display: none;
  }

  .lead-card {
    padding: 28px 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }
}


.form-status {
  margin: 12px 0 0;
  padding: 12px 14px;
  display: none;
  font-size: 14px;
  border: 1px solid rgba(67,55,41,.18);
  background: rgba(255,255,255,.65);
}

.form-status.success {
  display: block;
  color: #1f5136;
  border-color: rgba(31,81,54,.25);
}

.form-status.error {
  display: block;
  color: #8a2f2f;
  border-color: rgba(138,47,47,.25);
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}


/* Brand text fix: maximum 2-3 compact lines in the header */
.site-header .brand {
  min-width: 250px;
}

.brand-text {
  display: block;
  max-width: 230px;
  font-size: clamp(16px, 1.05vw, 21px);
  line-height: .98;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: auto;
}

.brand-line {
  display: block;
  white-space: nowrap;
}

.brand-line.small {
  font-size: .86em;
  opacity: .92;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin: 2px 0 8px;
}

.contact-methods-title {
  margin: 0 0 2px;
  color: #6e675f;
  font-size: 13px;
}

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

.method-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(67,55,41,.18);
  background: rgba(255,255,255,.7);
  color: #2c2721;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.method-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.method-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(200,164,100,.16);
  box-shadow: 0 0 0 4px rgba(200,164,100,.1);
}

@media (max-width: 1200px) {
  .site-header .brand { min-width: 215px; }
  .brand-text { max-width: 200px; font-size: 17px; }
}

@media (max-width: 760px) {
  .site-header .brand { min-width: 0; }
  .brand-text { max-width: 180px; }
  .brand-line { white-space: normal; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}
