/* ============================================================
   АТРИ паркет — имиджевый сайт
   Дизайн: премиум-производитель (референсы Finex / Spilfloors / Vintage)
   ============================================================ */

:root {
  /* Бренд из логотипа: АТРИ #f09008, носорог #e8e0d0 */
  --gold: #e08810;
  --gold-dark: #b86e0a;
  --gold-light: #f0a830;
  --gold-soft: #fff4e3;
  --rhino: #e8e0d0;
  --cream: #f7f4ef;
  --cream-2: #f0ebe3;
  --white: #ffffff;
  --ink: #1a1612;
  --ink-soft: #2c2419;
  --text: #3d3630;
  --text-muted: #6b635a;
  --border: #e5dfd5;
  --border-soft: #eee9e1;
  --shadow: 0 12px 40px rgba(26, 22, 18, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 22, 18, 0.12);
  --radius: 4px;
  --radius-lg: 12px;
  --header-h: 80px;
  --container: 1200px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
ul, ol { list-style: none; }
button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}
button { cursor: pointer; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: 1400px; }

/* Typography */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1, .h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2, .h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); }
.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
}
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(224, 136, 16, 0.35);
}
.btn--outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--white);
}
.btn--light {
  background: var(--white);
  color: var(--ink);
}
.btn--light:hover {
  background: var(--gold-soft);
}
.btn--ghost {
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 12px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(26, 22, 18, 0.06);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.logo--footer img {
  height: 52px;
  max-width: 180px;
  /* белый логотип на тёмном футере — без приглушения */
  opacity: 1;
  filter: none;
}
.header .logo img {
  height: 54px;
  max-width: 190px;
  /* чёткий логотип: без opacity/filters */
  opacity: 1;
  filter: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--gold);
}
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1.5px;
  background: var(--gold);
}
.nav__dropdown {
  position: relative;
}
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 12px 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  z-index: 50;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text);
}
.nav__dropdown-menu a:hover {
  background: var(--cream);
  color: var(--gold);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.header__phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.header__phone:hover { color: var(--gold); }
.header__phone span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: all 0.25s;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  z-index: 999;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--border-soft);
  color: var(--ink);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav__sub {
  padding-left: 16px;
}
.mobile-nav__sub a {
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-muted);
}
.mobile-nav__phone {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 600;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 80px;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 22, 18, 0.88) 0%, rgba(26, 22, 18, 0.55) 48%, rgba(26, 22, 18, 0.25) 100%),
    linear-gradient(to top, rgba(26, 22, 18, 0.75) 0%, transparent 45%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__content .eyebrow { color: var(--gold-light); }
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero .lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero__meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__meta-item span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 64px;
  background: var(--cream);
  overflow: hidden;
}
.page-hero--dark {
  background: var(--ink-soft);
  color: var(--white);
}
.page-hero--dark h1,
.page-hero--dark .breadcrumb a { color: var(--white); }
.page-hero--dark .breadcrumb span { color: rgba(255,255,255,0.5); }
.page-hero--dark .lead { color: rgba(255,255,255,0.7); }
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}
.page-hero h1 { margin-bottom: 16px; }

/* ========== SECTIONS ========== */
.section {
  padding: 100px 0;
}
.section--cream { background: var(--cream); }
.section--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark .lead { color: rgba(255, 255, 255, 0.65); }
.section__head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__head h2 { margin-bottom: 16px; }
.section__head .lead { margin-top: 8px; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__media {
  position: relative;
}
.split__media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.split__media--tall img { height: 560px; }
.split__body h2 { margin-bottom: 18px; }
.split__body p + p { margin-top: 14px; }
.split__list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.split__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.split__list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-2);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__body h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.card__body p {
  color: var(--text-muted);
  font-size: 14.5px;
  flex: 1;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.card__link::after {
  content: "→";
  transition: transform var(--transition);
}
.card:hover .card__link::after { transform: translateX(4px); }

/* Feature / icon cards */
.feature {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  height: 100%;
}
.feature__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  background: var(--gold-soft);
  border-radius: 50%;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.feature p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Specs table */
.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.specs th,
.specs td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.specs th {
  width: 38%;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
}
.specs td { color: var(--text); }
.specs tr:last-child th,
.specs tr:last-child td { border-bottom: none; }
.specs-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

/* Selections */
.selection {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  height: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.selection:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow);
}
.selection__grade {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.selection h3 {
  margin-bottom: 12px;
}
.selection p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}
.timeline__item {
  position: relative;
  padding: 0 0 36px 48px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: 4px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
}
.timeline__year {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
}
.timeline__item p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid--dense {
  grid-template-columns: repeat(4, 1fr);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
  cursor: pointer;
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { aspect-ratio: 3 / 4; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(transparent, rgba(26,22,18,0.75));
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}
.gallery-item:hover .gallery-item__cap {
  opacity: 1;
  transform: translateY(0);
}

/* Watermark: реальный логотип (заказчик: ОБЯЗАТЕЛЬНО)
   .wm       — White.png: тёмные / насыщенные фото
   .wm--dark — Black.png: светлые доски, светлый цех */
.wm {
  position: relative;
  overflow: hidden;
}
.wm::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: url("../img/logo/White.png") center center / min(58%, 320px) auto no-repeat;
  opacity: 0.28;
  transform: rotate(-12deg) scale(1.05);
  user-select: none;
}
.wm--dark::after {
  background-image: url("../img/logo/Black.png");
  opacity: 0.14;
}
/* Более заметный знак на карточках каталога */
.card__media.wm::after,
.gallery-item.wm::after {
  background-size: min(62%, 280px) auto;
}
.split__media.wm::after {
  background-size: min(50%, 360px) auto;
  opacity: 0.22;
}
.split__media.wm--dark::after {
  opacity: 0.12;
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.process__item {
  position: relative;
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}
.process__item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1;
}
.process__item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.process__item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* CTA band — сплошной акцент, без градиентов */
.cta {
  position: relative;
  padding: 88px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  /* тонкая брендовая линия сверху — акцент без «грязи» */
  box-shadow: inset 0 3px 0 0 var(--gold);
}
.cta .eyebrow {
  color: var(--gold-light);
}
.cta h2 {
  color: var(--white);
  margin-bottom: 14px;
}
.cta p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 540px;
  margin: 0 auto 28px;
}
.cta .btn-row {
  justify-content: center;
}
.cta .btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.cta .btn--ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 28px;
}
.contact-info__item h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-info__item p,
.contact-info__item a {
  font-size: 1.15rem;
  color: var(--ink);
}
.contact-info__item a:hover { color: var(--gold); }

.form {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form h3 {
  margin-bottom: 8px;
}
.form > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__field {
  margin-bottom: 16px;
}
.form__field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form__field textarea {
  min-height: 120px;
  resize: vertical;
}
.form__note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}
.form__success {
  display: none;
  padding: 20px;
  background: var(--gold-soft);
  border-radius: var(--radius);
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 16px;
}
.form.is-sent .form__success { display: block; }
.form.is-sent .form__fields { display: none; }

/* Brands / equipment */
.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.brand-tag {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Stats bar */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
}
.stat {
  text-align: center;
  padding: 12px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Quote */
.quote {
  padding: 40px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
}
.quote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* Layout helpers */
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.gap-24 { gap: 24px; }

/* ========== FOOTER ========== */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}
.footer a:hover { color: var(--gold-light); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__about {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__menu {
  display: grid;
  gap: 10px;
}
.footer__menu a {
  font-size: 14px;
}
.footer__contact p {
  font-size: 14px;
  margin-bottom: 10px;
}
.footer__contact a {
  color: var(--white);
  font-weight: 500;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.5); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26, 22, 18, 0.92);
  display: none;
  place-items: center;
  padding: 40px;
}
.lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  color: var(--white);
  font-size: 28px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
}

/* Scroll top */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 100;
  box-shadow: 0 8px 24px rgba(224, 136, 16, 0.4);
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Fade-in on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .burger { display: grid; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .page-hero__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .header .logo img { height: 44px; max-width: 150px; }
  .logo--footer img { height: 46px; }
  .section { padding: 72px 0; }
  .split,
  .split--reverse > :first-child { grid-template-columns: 1fr; order: unset; }
  .split--reverse > :first-child { order: unset; }
  .split { gap: 32px; }
  .split__media img { height: 320px; }
  .cards,
  .cards--2,
  .cards--4 { grid-template-columns: 1fr; }
  .gallery-grid,
  .gallery-grid--dense { grid-template-columns: 1fr 1fr; }
  .gallery-item--wide { grid-column: span 2; }
  .process { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-bottom: 48px;
  }
  /* Mobile art direction: кадр уже вертикальный — якорим шеврон */
  .hero__bg img {
    object-position: center 42%;
    transform: none;
  }
  /* Оверлей: сильнее снизу под текст, сверху фото «дышит» */
  .hero__overlay {
    background:
      linear-gradient(to top, rgba(26, 22, 18, 0.88) 0%, rgba(26, 22, 18, 0.45) 42%, rgba(26, 22, 18, 0.28) 100%);
  }
  .hero__meta { gap: 20px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .header__actions .btn { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid,
  .gallery-grid--dense { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ========== Models catalog ========== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  justify-content: center;
}
.filter-chip {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: all var(--transition);
}
.filter-chip span {
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}
.filter-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.filter-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.filter-chip.is-active span { color: rgba(255,255,255,0.65); }

.model-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.model-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  color: inherit;
}
.model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.model-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-2);
}
.model-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.model-card:hover .model-card__media img { transform: scale(1.05); }
.model-card__body {
  padding: 16px 18px 18px;
}
.model-card__series {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.model-card__code {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 4px;
}
.model-card__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.model-block {
  padding: 40px 0;
  border-top: 1px solid var(--border-soft);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.model-block:first-of-type { border-top: none; padding-top: 0; }
.model-block.is-hidden,
.model-card.is-hidden { display: none; }
.model-block__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.model-block__head h2 {
  margin-bottom: 6px;
}
.gallery-grid--models {
  grid-template-columns: repeat(4, 1fr);
}
.stats--inline {
  justify-content: flex-start;
  padding: 0;
  gap: 32px;
}
.stats--inline .stat { text-align: left; padding: 0; }

@media (max-width: 1100px) {
  .model-cards { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid--models { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .model-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid--models { grid-template-columns: repeat(2, 1fr); }
  .model-card__code { font-size: 1.25rem; }
  .stats--inline { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .model-cards { grid-template-columns: 1fr 1fr; }
}
