/* Алтай DOORS — графитовый шоурум */
:root {
  --wood-50: #3a342c;
  --wood-100: #2f2a24;
  --wood-200: #c9b08a;
  --wood-300: #dcc4a0;
  --wood-ink: #e8dcc8;
  --white: #f3f1ee;
  --surface: #26282b;
  --panel: #2e3135;
  --ink: #f2efe9;
  --ink-soft: #c8c4bc;
  --muted: #9a958c;
  --line: rgba(242, 239, 233, 0.12);
  --shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
  --radius: 2px;
  --font-display: "Onest", sans-serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --graphite-deep: #16181a;
  --graphite: #1f2225;
  --graphite-mid: #2a2e32;
  --accent: #c9b08a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background:
    radial-gradient(ellipse 90% 55% at 12% -10%, rgba(201, 176, 138, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 20%, rgba(80, 90, 100, 0.18), transparent 50%),
    linear-gradient(180deg, var(--graphite-deep) 0%, var(--graphite) 42%, var(--graphite-mid) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* DEMO promo banner — удалить вместе с #promo-banner в HTML */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
}

.promo-banner {
  background:
    linear-gradient(90deg, #2a241c 0%, #3d3428 45%, #2a241c 100%);
  border-bottom: 1px solid rgba(201, 176, 138, 0.35);
  color: var(--ink);
}

.promo-banner.is-hidden {
  display: none;
}

.promo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  padding: 10px 40px 10px 0;
  position: relative;
  min-height: 44px;
}

.promo-banner-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: rgba(242, 239, 233, 0.92);
}

.promo-banner-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1714;
  background: var(--accent);
  border-radius: 2px;
  vertical-align: middle;
}

.promo-banner-cta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #1a1714;
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 2px;
  white-space: nowrap;
}

.promo-banner-cta:hover {
  color: #1a1714;
  background: #dbc4a0;
}

.promo-banner-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: rgba(242, 239, 233, 0.75);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.promo-banner-close:hover {
  color: #fff;
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-h);
  background: rgba(22, 24, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(22, 24, 26, 0.96);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  color: var(--ink);
  display: flex;
  animation: mark-in 0.8s var(--ease) both;
}

.brand-mark img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-name em {
  font-style: normal;
  font-weight: 700;
}

.brand-tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  gap: 22px;
}

.nav-list a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--accent);
  color: #1a1714;
}

.btn-dark:hover {
  background: #dbc4a0;
  color: #1a1714;
}

.btn-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border-color: rgba(242, 239, 233, 0.28);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--ink);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 12s var(--ease) both;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.82) 0%, rgba(12, 10, 8, 0.55) 48%, rgba(12, 10, 8, 0.28) 100%),
    linear-gradient(0deg, rgba(12, 10, 8, 0.65) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 88px;
  max-width: 720px;
  margin-left: max(20px, calc((100% - 1120px) / 2));
  margin-right: auto;
  width: min(720px, calc(100% - 40px));
  color: #fff;
}

.hero-city {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  animation: rise 0.7s var(--ease) 0.1s both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 12px;
  color: #fff;
  animation: rise 0.7s var(--ease) 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 18ch;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  animation: rise 0.7s var(--ease) 0.3s both;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36ch;
  margin-bottom: 28px;
  animation: rise 0.7s var(--ease) 0.4s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 0.7s var(--ease) 0.5s both;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-head {
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 42ch;
  margin-inline: auto;
}

.section-head--left .section-lead {
  margin-inline: 0;
}

/* Catalog */
.catalog {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(201, 176, 138, 0.08), transparent 55%),
    var(--surface);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

.catalog-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 16px 0 8px;
}

.catalog-item p {
  font-size: 15px;
  color: var(--muted);
}

.catalog-item--link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.25s var(--ease);
}

.catalog-item--link:hover {
  color: inherit;
  transform: translateY(-2px);
}

.catalog-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

button.catalog-item--pdfs {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.catalog-pdfs-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.catalog-pdfs-modal[hidden] {
  display: none !important;
}

.catalog-pdfs-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 22, 0.72);
}

.catalog-pdfs-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(80vh, 560px);
  overflow: auto;
  padding: 28px 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.catalog-pdfs-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.catalog-pdfs-close:hover {
  color: var(--ink);
}

.catalog-pdfs-title {
  margin: 0 36px 18px 0;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.catalog-pdfs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-pdfs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.catalog-pdfs-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.catalog-pdfs-name {
  font-size: 16px;
  font-weight: 600;
}

.catalog-pdfs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

html.is-catalog-pdfs-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .catalog-pdfs-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.catalog-visual {
  overflow: hidden;
  background: var(--wood-100);
  aspect-ratio: 4 / 3;
}

.catalog-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.catalog-item:hover .catalog-visual img {
  transform: scale(1.04);
}

.brands {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.brands-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}

.brands-list li {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* PDF catalogs */
.pdf-catalog {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.pdf-catalog-head {
  max-width: 560px;
  margin: 0 auto 28px;
  text-align: center;
}

.pdf-catalog-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 28px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pdf-catalog-lead {
  color: var(--muted);
  font-size: 15px;
}

.pdf-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pdf-card {
  padding: 22px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
}

.pdf-card-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.3;
  min-height: 1.3em;
}

.pdf-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  min-height: 2.5em;
}

.pdf-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  min-height: 2.9em;
  flex-grow: 1;
}

.pdf-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.pdf-card-actions .btn-light {
  background: rgba(255, 255, 255, 0.06);
}

/* Salon */
.salon {
  background: var(--graphite);
}

.salon-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.salon-shot {
  margin: 0;
  overflow: hidden;
  background: var(--wood-100);
  aspect-ratio: 4 / 3;
}

.salon-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

.salon-shot:hover img {
  transform: scale(1.03);
}

.salon-shot--hero {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  aspect-ratio: auto;
  min-height: 420px;
}

/* Works */
.works {
  background:
    linear-gradient(180deg, var(--graphite) 0%, var(--graphite-mid) 100%);
}

.works-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.works-shot {
  margin: 0;
  overflow: hidden;
  background: var(--wood-100);
  aspect-ratio: 1;
}

.works-shot.is-hidden {
  display: none;
}

.works-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.works-shot:hover img {
  transform: scale(1.04);
}

.works-more-wrap {
  margin-top: 28px;
  text-align: center;
}

/* Order steps */
.order {
  background:
    linear-gradient(180deg, var(--graphite-mid), var(--wood-100));
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: none;
}

.step {
  padding: 28px 22px;
  border-top: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 20px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
}

/* Reviews */
.reviews {
  background: var(--surface);
}

.reviews-panel {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.reviews-value {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}

.reviews-stars {
  color: var(--ink);
  letter-spacing: 0.08em;
  font-size: 18px;
  margin-bottom: 8px;
}

.reviews-count {
  font-size: 14px;
  color: var(--muted);
}

.reviews-copy p {
  margin-bottom: 20px;
  color: var(--muted);
  max-width: 46ch;
}

/* Contacts */
.contacts {
  background: var(--graphite);
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 22px;
}

.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact-list a:hover {
  border-bottom-color: var(--ink);
}

.contact-messengers {
  margin-top: 4px;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(242, 239, 233, 0.08);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.messenger-btn:hover {
  background: rgba(201, 176, 138, 0.18);
  border-color: var(--accent);
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.messenger-btn-icon {
  flex: 0 0 auto;
  color: var(--accent);
}

.btn.messenger-btn--hero {
  gap: 8px;
  margin-top: 0;
  box-sizing: border-box;
  border-radius: var(--radius);
  padding: 0 24px;
  height: 48px;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1px solid rgba(242, 239, 233, 0.28);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.btn.messenger-btn--hero:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--ink);
  border-color: rgba(242, 239, 233, 0.28);
  transform: translateY(-1px);
}

.btn.messenger-btn--hero .messenger-btn-icon {
  color: currentColor;
}

.contact-list .messenger-btn {
  border-bottom: 1px solid var(--line);
}

.contact-list .messenger-btn:hover {
  border-bottom-color: var(--accent);
}

.contacts-map-wrap {
  margin-top: 40px;
}

.contacts-map {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--wood-100);
  min-height: 360px;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 360px;
}

.map-links {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.map-links a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.map-links a:hover {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.contacts-form-wrap {
  background:
    linear-gradient(160deg, rgba(201, 176, 138, 0.1), transparent 45%),
    var(--panel);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 6px;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--graphite-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 88px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(242, 239, 233, 0.4);
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.form-status.is-error {
  color: #8a1f1f;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #8a1f1f;
}

.field-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}

.field-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  padding: 0;
  accent-color: var(--accent);
}

.field-consent.is-invalid {
  color: #8a1f1f;
}

.consent-text a {
  color: var(--ink);
  font-weight: 600;
}

/* Legal page */
.legal-page {
  padding: 48px 0 96px;
}

.legal-wrap {
  max-width: 760px;
}

.legal-back {
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
}

.legal-back a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.legal-meta {
  margin: 12px 0 32px;
  color: var(--muted);
  font-size: 15px;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 28px 0 10px;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 10px;
}

.legal-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0f1012;
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand .brand-name {
  display: block;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand .brand-tag {
  color: rgba(255, 255, 255, 0.5);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.footer-copy {
  font-size: 13px;
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-copy a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.footer-top {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-top:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

@keyframes mark-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdf-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .salon-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .salon-shot--hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 280px;
  }

  .works-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .reviews-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 22px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(22, 24, 26, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    margin-top: 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .promo-banner-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 10px 36px 10px 0;
  }

  .promo-banner-text {
    font-size: 12px;
    text-align: left;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 16px;
    width: 100%;
  }

  .hero-content {
    padding: 48px 0 56px;
  }

  .section {
    padding: 72px 0;
  }

  .catalog-grid,
  .pdf-catalog-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .salon-gallery {
    grid-template-columns: 1fr;
  }

  .salon-shot--hero {
    grid-column: 1;
    min-height: 240px;
  }

  .works-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacts-form-wrap {
    padding: 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* FAQ chatbot */
.chatbot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  font-family: var(--font-body);
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(201, 176, 138, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #3a342c 0%, #26282b 100%);
  color: var(--wood-ink);
  font: 600 14px/1.2 var(--font-display);
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
  animation: chatbot-in 0.55s var(--ease) both;
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--ink);
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #2a2e32 0%, #1f2225 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  overflow: hidden;
}

.chatbot.is-open .chatbot-panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(58, 52, 44, 0.45);
}

.chatbot-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.chatbot-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.chatbot-close:hover {
  color: var(--ink);
  background: rgba(242, 239, 233, 0.06);
}

.chatbot-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chatbot-msg {
  display: flex;
  animation: chatbot-msg-in 0.3s var(--ease) both;
}

.chatbot-msg--bot {
  justify-content: flex-start;
}

.chatbot-msg--user {
  justify-content: flex-end;
}

.chatbot-bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
}

.chatbot-msg--bot .chatbot-bubble {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.chatbot-msg--user .chatbot-bubble {
  background: rgba(201, 176, 138, 0.18);
  border: 1px solid rgba(201, 176, 138, 0.35);
  color: var(--wood-ink);
}

.chatbot-inline-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.chatbot-inline-link:hover {
  color: var(--wood-300);
}

.chatbot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  background: rgba(22, 24, 26, 0.55);
}

.chatbot-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  font: 500 12px/1.3 var(--font-body);
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.chatbot-chip:hover {
  border-color: rgba(201, 176, 138, 0.5);
  color: var(--ink);
  background: rgba(201, 176, 138, 0.08);
}

@keyframes chatbot-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes chatbot-msg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 480px) {
  .chatbot {
    right: 12px;
    bottom: 12px;
  }

  .chatbot-panel {
    width: calc(100vw - 24px);
  }
}
