:root {
  --bg: #0f0e0d;
  --panel: #181614;
  --panel-2: #211e1a;
  --text: #f5f2eb;
  --muted: #a39e93;
  --gold: #d4af37;
  --gold-soft: #e2bf7d;
  --line: rgba(212, 175, 55, 0.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Montserrat", system-ui, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 8%, rgba(226, 191, 125, 0.14), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(133, 91, 45, 0.2), transparent 23%),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  opacity: 0.75;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
p { line-height: 1.75; color: var(--muted); }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  background: rgba(15, 14, 13, 0.78);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); }
.brand span { display: grid; gap: 2px; }
.brand strong, h1, h2, h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; line-height: 1; letter-spacing: 0; }
.brand strong { font-size: 1.18rem; }
.brand small { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 20px; color: rgba(245, 242, 235, 0.76); font-size: 0.88rem; font-weight: 600; }
.site-nav a:hover { color: var(--gold-soft); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); appearance: none; -webkit-appearance: none; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 0; background: var(--text); }

.hero { min-height: 700px; padding: 104px 0 72px; position: relative; display: grid; align-items: center; overflow: hidden; background: #0f0e0d; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,14,13,0.98) 0%, rgba(15,14,13,0.88) 39%, rgba(15,14,13,0.34) 72%, rgba(15,14,13,0.16) 100%); z-index: 1; pointer-events: none; }
.hero-model { position: absolute; inset: 0 0 0 auto; width: min(58vw, 760px); z-index: 0; opacity: 0.9; }
.hero-model::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #0f0e0d 0%, rgba(15,14,13,0.64) 20%, rgba(15,14,13,0.12) 58%, rgba(15,14,13,0.2) 100%), linear-gradient(180deg, rgba(15,14,13,0.15) 0%, rgba(15,14,13,0) 54%, #0f0e0d 100%); }
.hero-model img { object-position: center top; filter: saturate(0.94) contrast(1.08) brightness(0.78); }
.hero-model--mobile { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr); gap: 36px; align-items: center; z-index: 3; }
.hero-copy { max-width: 840px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; color: var(--gold-soft); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; font-weight: 800; }
h1 { font-size: clamp(2.9rem, 4.35vw, 5rem); max-width: 15ch; line-height: 1.03; }
h1 em { font-style: italic; }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.8rem); max-width: 100%; }
h3 { font-size: 1.75rem; }
.hero-lead { max-width: 690px; margin: 28px 0 0; font-size: 1.04rem; color: rgba(245, 242, 235, 0.78); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 18px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 23px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #e2bf7d 0%, #c49a45 100%);
  color: #0f0e0d;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(212, 175, 55, 0.22);
}
.button:hover { transform: translateY(-1px); box-shadow: 0 20px 44px rgba(212, 175, 55, 0.3); }
.button--ghost { background: rgba(245,242,235,0.06); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.proof { color: var(--gold-soft); font-size: 0.88rem; }
.product-card__body span { display: block; color: var(--gold-soft); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.68rem; font-weight: 800; }

.section { position: relative; padding: 92px 0; scroll-margin-top: 96px; }
.section--panel { background: linear-gradient(180deg, rgba(24,22,20,0.96), rgba(18,17,16,0.98)); }
.section-head { margin-bottom: 36px; }
.section-head h2 { max-width: 980px; }
.section-head--wide { display: flex; justify-content: space-between; gap: 32px; align-items: end; }
.section-head--wide p { max-width: 390px; margin: 0; }
.catalog-hint { margin: 12px 0 0; max-width: 620px; color: rgba(226, 191, 125, 0.78); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.25rem; font-style: italic; line-height: 1.35; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.concept-card, .timeline article, .order-form, .legal-card, .dialog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}
.concept-card { padding: 28px; min-height: 270px; }
.concept-card span, .timeline span { color: var(--gold); font-weight: 800; letter-spacing: 0.14em; }
.concept-card p, .timeline p { margin-bottom: 0; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter { min-height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; background: transparent; color: var(--text); cursor: pointer; font-weight: 700; }
.filter.is-active { background: var(--gold); color: var(--bg); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { min-height: 520px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); display: grid; grid-template-rows: 330px 1fr; transition: transform 0.2s ease, opacity 0.2s ease; }
.product-card:hover { transform: translateY(-4px); }
.product-card.is-hidden { display: none; }
.product-card > img { cursor: zoom-in; }
.product-card__body { padding: 20px; display: grid; align-content: start; gap: 12px; }
.product-card__body p { margin: 0; font-size: 0.92rem; }
.link-button { justify-self: start; margin-top: 4px; border: 0; padding: 0; background: transparent; color: var(--gold-soft); font-weight: 800; cursor: pointer; }

.about-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 54px; align-items: center; }
.order-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 54px; align-items: start; }
.about-photo { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); min-height: 620px; box-shadow: var(--shadow); }
.about-copy p { max-width: 690px; }
.about-copy h2 { max-width: 920px; }
.order-copy { display: flex; flex-direction: column; }
.order-copy h2 { font-size: clamp(2.6rem, 3.9vw, 4.35rem); max-width: 15ch; line-height: 1.04; }
.order-copy > p { max-width: 560px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline article { padding: 24px; min-height: 300px; }

.section--reviews { background: #0c0b0a; }
.reviews-slider { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 16px; align-items: center; }
.reviews-window { overflow: hidden; }
.reviews-track { display: flex; gap: 0; transition: transform 0.38s ease; will-change: transform; }
.reviews-track img { flex: 0 0 33.333%; max-width: 33.333%; height: 490px; padding: 0 9px; border-radius: 16px; object-fit: contain; }
.reviews-track img::selection { background: transparent; }
.slider-arrow { position: relative; display: block; inline-size: 52px; min-inline-size: 52px; max-inline-size: 52px; block-size: 52px; min-block-size: 52px; max-block-size: 52px; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; border-radius: 999px; border: 1px solid var(--line); background: rgba(24,22,20,0.78); color: transparent; font-size: 0; line-height: 1; cursor: pointer; box-shadow: var(--shadow); appearance: none; -webkit-appearance: none; flex: 0 0 52px; }
.slider-arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-top: 2px solid var(--gold-soft); border-right: 2px solid var(--gold-soft); transform-origin: center; }
.slider-arrow--prev::before { transform: translate(-42%, -50%) rotate(-135deg); }
.slider-arrow--next::before { transform: translate(-58%, -50%) rotate(45deg); }
.slider-arrow:hover { background: rgba(226,191,125,0.14); color: var(--text); }
.mini-gallery { position: relative; flex: 0 0 auto; height: 430px; margin-top: 24px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel); }
.mini-gallery::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,13,0.04) 0%, rgba(15,14,13,0.2) 55%, rgba(15,14,13,0.74) 100%), linear-gradient(90deg, rgba(15,14,13,0.34), rgba(15,14,13,0.08)); pointer-events: none; }
.mini-gallery img { height: 100%; min-height: 0; border-radius: 0; border: 0; object-position: center top; filter: saturate(0.92) contrast(1.06) brightness(0.78); }

.order-form { padding: 28px; display: grid; gap: 16px; background-color: rgba(24, 22, 20, 0.84); }
label { display: grid; gap: 8px; color: rgba(245,242,235,0.82); font-weight: 700; font-size: 0.9rem; }
input, select, textarea { width: 100%; border: 1px solid rgba(212,175,55,0.2); border-radius: 12px; padding: 14px; color: var(--text); background: rgba(15,14,13,0.72); outline: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--gold-soft); }
.file-field { cursor: pointer; }
.file-control { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 12px; }
.file-field input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; opacity: 0; cursor: pointer; }
.file-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 14px 18px; border: 1px solid rgba(212,175,55,0.24); border-radius: 12px; background: rgba(15,14,13,0.72); color: var(--text); font-weight: 800; }
.file-field:focus-within .file-button { border-color: var(--gold-soft); }
.file-status { display: none; align-items: flex-start; gap: 8px; margin-top: 2px; padding: 10px 12px; border: 1px solid rgba(226,191,125,0.16); border-radius: 12px; background: rgba(226,191,125,0.07); color: rgba(245,242,235,0.82); font-size: 0.78rem; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.file-status.is-visible { display: flex; }
.file-status::before { content: ""; flex: 0 0 auto; width: 15px; height: 8px; margin-top: 4px; border-left: 2px solid var(--gold-soft); border-bottom: 2px solid var(--gold-soft); transform: rotate(-45deg); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--muted); }
.checkbox input { width: 18px; margin-top: 3px; }
.checkbox a { color: var(--gold-soft); }
.checkbox.is-error { border: 1px solid rgba(235, 91, 91, 0.82); border-radius: 12px; padding: 10px; color: #f0b4b4; background: rgba(235, 91, 91, 0.08); }
.consent-error { display: none; margin: -6px 0 0; color: #ff6b6b; font-size: 0.78rem; line-height: 1.45; font-weight: 700; }
.consent-error.is-visible { display: block; }
.form-note { margin: 0; font-size: 0.78rem; }
.faq-grid { display: grid; grid-template-columns: 0.72fr 1fr; gap: 42px; }
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; color: var(--text); }

.site-footer { padding: 42px 0; background: #0a0a0a; border-top: 1px solid var(--line); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-grid p { margin: 0; font-size: 0.84rem; }
.footer-requisites { color: rgba(245,242,235,0.66); line-height: 1.55; }
.footer-requisites a:hover { color: var(--gold-soft); }
.footer-bottom { flex: 0 0 100%; width: 100%; text-align: center; color: rgba(245,242,235,0.66); }
.footer-bottom a { margin-right: 12px; color: var(--muted); }
.footer-bottom a:hover { color: var(--gold-soft); }

.order-dialog { max-width: 620px; width: calc(100% - 28px); border: 0; padding: 0; background: transparent; color: var(--text); }
.order-dialog::backdrop { background: rgba(0,0,0,0.76); backdrop-filter: blur(6px); }
.gallery-dialog { width: min(1000px, calc(100% - 28px)); max-width: 1000px; border: 0; padding: 0; background: transparent; color: var(--text); }
.gallery-dialog::backdrop { background: rgba(0,0,0,0.84); backdrop-filter: blur(8px); }
.gallery-viewer { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(15,14,13,0.94); box-shadow: var(--shadow); }
.gallery-frame { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 16px; align-items: center; }
.gallery-frame img { width: 100%; height: min(72vh, 760px); object-fit: contain; border-radius: 14px; background: #0a0a0a; border: 1px solid rgba(212,175,55,0.16); }
.gallery-counter { margin: 14px 0 0; text-align: center; color: var(--gold-soft); font-weight: 700; }
.dialog-card { padding: 28px; background: var(--panel); position: relative; display: grid; gap: 15px; }
.dialog-card h2 { font-size: 2.4rem; max-width: 100%; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; inline-size: 38px; min-inline-size: 38px; max-inline-size: 38px; block-size: 38px; min-block-size: 38px; max-block-size: 38px; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: transparent; font-size: 0; line-height: 1; cursor: pointer; appearance: none; -webkit-appearance: none; }
.dialog-close::before, .dialog-close::after { content: ""; position: absolute; width: 15px; height: 2px; border-radius: 999px; background: var(--text); }
.dialog-close::before { transform: rotate(45deg); }
.dialog-close::after { transform: rotate(-45deg); }
.telegram-field { display: none; }
.telegram-field.is-visible { display: grid; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, calc(100% + 48px)); z-index: 30; padding: 14px 18px; border-radius: 999px; background: var(--gold); color: var(--bg); font-weight: 800; box-shadow: var(--shadow); transition: transform 0.25s ease; }
.toast.is-visible { transform: translate(-50%, 0); }

.legal-page { padding: 70px 0; }
.legal-card { padding: clamp(24px, 5vw, 56px); }
.legal-card h1 { max-width: 820px; font-size: clamp(2.6rem, 5vw, 5.2rem); }
.legal-card h2 { margin-top: 34px; font-size: 2rem; }
.legal-card p { max-width: 920px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-nav { position: absolute; left: 16px; right: 16px; top: 78px; padding: 18px; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 16px; background: rgba(15,14,13,0.96); }
  .site-nav.is-open, .site-nav--static { display: flex; }
  .nav-toggle { display: inline-flex; }
  .hero { min-height: auto; padding-top: 92px; }
  .hero::after { background: linear-gradient(180deg, rgba(15,14,13,0.82) 0%, rgba(15,14,13,0.9) 58%, #0f0e0d 100%); }
  .hero-model--desktop { display: none; }
  .hero-model--mobile { display: block; position: relative; inset: auto; width: min(calc(100% - 32px), 430px); height: 560px; margin: 22px auto 26px; z-index: 2; opacity: 0.82; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .hero-model::before { background: linear-gradient(180deg, rgba(15,14,13,0.1) 0%, rgba(15,14,13,0.22) 52%, #0f0e0d 100%), linear-gradient(90deg, rgba(15,14,13,0.2), rgba(15,14,13,0.08)); }
  .hero-grid, .about-grid, .order-grid, .faq-grid { grid-template-columns: 1fr; }
  .concept-grid, .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .reviews-track img { flex-basis: 50%; max-width: 50%; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .header-inner { min-height: 68px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 1rem; }
  .brand small { display: none; }
  .site-nav { top: 68px; }
  .hero { padding: 82px 0 46px; }
  h1 { font-size: 2.55rem; max-width: 100%; }
  .hero-model--mobile { width: calc(100% - 24px); height: 500px; margin: 20px auto 24px; }
  .proof { text-align: center; max-width: 320px; margin-left: auto; margin-right: auto; }
  h2 { font-size: 2.55rem; }
  .hero-actions, .footer-grid, .section-head--wide { align-items: stretch; flex-direction: column; }
  .button { width: 100%; min-height: 50px; text-align: center; }
  .section { padding: 64px 0; }
  .concept-grid, .catalog-grid, .timeline { grid-template-columns: 1fr; }
  .product-card { min-height: auto; grid-template-rows: 300px auto; }
  .about-photo { min-height: 460px; }
  .reviews-track { grid-auto-columns: 82%; }
  .reviews-slider { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 8px; }
  .reviews-track img { flex-basis: 100%; max-width: 100%; height: 430px; padding: 0; }
  .slider-arrow { inline-size: 42px; min-inline-size: 42px; max-inline-size: 42px; block-size: 42px; min-block-size: 42px; max-block-size: 42px; flex-basis: 42px; }
  .slider-arrow::before { width: 10px; height: 10px; }
  .gallery-viewer { padding: 18px; }
  .gallery-frame { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 8px; }
  .gallery-frame img { height: 68vh; }
  .order-copy h2 { font-size: 2.6rem; max-width: 100%; }
  .order-grid { display: flex; flex-direction: column; }
  .order-copy { display: contents; }
  .order-copy .eyebrow { order: 1; }
  .order-copy h2 { order: 2; }
  .order-copy > p { order: 3; }
  .order-form { order: 4; }
  .file-status.is-visible { display: flex; width: 100%; }
  .mini-gallery { order: 5; height: 270px; margin-top: 10px; }
  .footer-bottom a { display: block; margin: 0 0 8px; }
  .toast { width: calc(100% - 24px); border-radius: 14px; text-align: center; }
}
