/* ==========================================================================
   AURUM Detailing — основная таблица стилей
   Палитра и типографика — см. docs/DESIGN.md разделы 2-3.
   ========================================================================== */

:root {
  /* Палитра */
  --bg-dark: #12100D;
  --surface-dark: #1C1915;
  --bg-light: #F6F2EA;
  --surface-light: #EDE7DA;
  --text-on-dark: #F2EDE4;
  --text-on-dark-muted: #C9C2B4;
  --text-on-light: #191510;
  --text-on-light-muted: #5B564C;
  --accent-brass: #B8924A;
  --accent-brass-hover: #D0AA5E;
  --accent-brass-active: #A47F3D;
  --text-on-brass: #12100D;
  --border-hairline-dark: rgba(242, 237, 228, .12);
  --border-hairline-light: rgba(25, 21, 16, .12);
  --border-brass-hairline: rgba(184, 146, 74, .35);

  /* Отступы, шаг 8px */
  --space-1: .25rem;   /* 4px */
  --space-2: .5rem;    /* 8px */
  --space-3: .75rem;   /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-7: 2rem;     /* 32px */
  --space-8: 2.5rem;   /* 40px */
  --space-9: 3rem;     /* 48px */
  --space-10: 4rem;    /* 64px */
  --space-11: 5rem;    /* 80px */
  --space-12: 6rem;    /* 96px */

  --radius: 4px;
  --container-max: 1200px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-on-light);
  font-family: 'Commissioner', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; }
input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-brass);
  color: var(--text-on-brass);
  padding: 12px 20px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---- Layout helpers ---- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}
.section { padding-block: clamp(64px, 10vw, 128px); }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-light { background: var(--bg-light); color: var(--text-on-light); }
.section-head { max-width: 640px; margin-bottom: var(--space-8); }
.lede { max-width: 65ch; }

/* ---- Typography ---- */
.eyebrow {
  display: block;
  font-family: 'Commissioner', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  line-height: 1;
  margin: 0 0 var(--space-3);
}
@media (min-width: 900px) { .eyebrow { font-size: 13px; } }
.eyebrow-dark { color: var(--accent-brass); }
.eyebrow-light { color: var(--text-on-light-muted); }

h1, .h1 {
  font-family: 'Spectral', serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.08;
}
@media (min-width: 900px) { h1, .h1 { font-size: clamp(44px, 5vw, 72px); } }

h2, .h2 {
  font-family: 'Spectral', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
}
@media (min-width: 900px) { h2, .h2 { font-size: clamp(32px, 3.2vw, 44px); } }

h3, .h3 {
  font-family: 'Commissioner', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 16px;
  line-height: 1.3;
}
@media (min-width: 900px) { h3, .h3 { font-size: 18px; } }

p { font-size: 16px; line-height: 1.6; }
@media (min-width: 900px) { p { font-size: 18px; } }

.text-small { font-size: 13px; line-height: 1.5; }
@media (min-width: 900px) { .text-small { font-size: 14px; } }

.stat-number {
  font-family: 'Spectral', serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
}
@media (min-width: 900px) { .stat-number { font-size: 56px; } }

/* ---- Icons ---- */
.icon { width: 24px; height: 24px; flex: none; color: currentColor; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 40px; height: 40px; }
.icon-social { width: 20px; height: 20px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: 'Commissioner', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
@media (min-width: 900px) { .btn { padding: 16px 36px; font-size: 15px; } }
.btn-primary { background: var(--accent-brass); color: var(--text-on-brass); }
.btn-primary:hover { background: var(--accent-brass-hover); transform: translateY(-1px); }
.btn-primary:active { background: var(--accent-brass-active); transform: none; }
.btn-primary:focus-visible { outline: 2px solid var(--accent-brass-hover); outline-offset: 2px; }

.btn-ghost { background: transparent; border-color: var(--accent-brass); color: var(--accent-brass); }
.btn-ghost:hover { background: var(--accent-brass); color: var(--text-on-brass); }
.btn-ghost-light { background: transparent; border-color: var(--text-on-light); color: var(--text-on-light); }
.btn-ghost-light:hover { background: var(--text-on-light); color: var(--bg-light); }
.btn:focus-visible { outline: 2px solid var(--accent-brass-hover); outline-offset: 2px; }

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-bottom: 2px;
  color: var(--text-on-dark-muted);
  font-weight: 500;
}
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.site-header.is-scrolled {
  background-color: var(--bg-dark);
  border-bottom-color: var(--border-hairline-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 80px;
  color: var(--text-on-dark);
}
.logo { display: flex; flex-direction: column; line-height: 1; color: var(--text-on-dark); }
.logo-word { font-family: 'Spectral', serif; font-weight: 600; font-size: 20px; letter-spacing: .1em; text-transform: uppercase; }
.logo-sub { font-family: 'Commissioner', sans-serif; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-top: 2px; }

.main-nav { display: none; }
@media (min-width: 900px) {
  .main-nav { display: block; }
  .main-nav ul { display: flex; gap: var(--space-6); }
  .main-nav a {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-on-dark);
  }
  .main-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--accent-brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s var(--ease-out);
  }
  .main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
}

.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.header-phone { display: none; align-items: center; gap: var(--space-2); color: var(--text-on-dark); font-size: 14px; min-height: 44px; }
@media (min-width: 1200px) { .header-phone { display: inline-flex; } }
.header-actions > .btn { display: none; }
@media (min-width: 900px) { .header-actions > .btn { display: inline-flex; } }

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--text-on-dark);
  cursor: pointer;
}
@media (min-width: 900px) { .hamburger { display: none; } }

.mobile-menu {
  position: fixed;
  inset: 0;
  height: 100svh;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-11) var(--space-6) var(--space-8);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out), visibility 0s linear .3s;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.mobile-menu ul { display: flex; flex-direction: column; gap: var(--space-5); }
.mobile-menu a { font-family: 'Spectral', serif; font-size: 28px; min-height: 44px; display: inline-flex; align-items: center; }
.mobile-menu-footer { display: flex; flex-direction: column; gap: var(--space-5); }
body.menu-open { overflow: hidden; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--bg-dark); overflow: hidden; }
.hero-media { position: relative; height: 55svh; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-gradient { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 2; padding-block: var(--space-9) var(--space-10); }
.hero-title { margin-bottom: var(--space-5); }
.hero-subtitle { color: var(--text-on-dark-muted); max-width: 46ch; margin-bottom: var(--space-7); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); margin-bottom: var(--space-7); }
.hero-trust { display: flex; align-items: center; gap: var(--space-3); color: var(--text-on-dark-muted); font-size: 14px; }
.hero-trust .icon { color: var(--accent-brass); }

.hero-shimmer { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-shimmer::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -20%;
  width: 8vw;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 94, .35), transparent);
  transform: translateX(-150%) rotate(20deg);
  opacity: 0;
}
.hero.hero-shimmer-play .hero-shimmer::before {
  animation: aurumShimmer 1000ms 600ms var(--ease-out) forwards;
}
@keyframes aurumShimmer {
  0%   { transform: translateX(-150%) rotate(20deg); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(1400%) rotate(20deg); opacity: 0; }
}

@media (min-width: 900px) {
  .hero { min-height: 100vh; display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0; height: 100%; }
  .hero-media img { object-position: 70% 50%; }
  .hero-gradient { background: linear-gradient(90deg, rgba(18, 16, 13, .15), rgba(18, 16, 13, .75)); }
  .hero-content { padding-block: 0; max-width: 640px; }
}

/* ==========================================================================
   Services (bento)
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card--ceramic { grid-column: span 2; }
  .service-card--chemcare { grid-column: 1 / -1; }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-light);
  border: 1px solid var(--border-brass-hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease-out);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 16px 32px rgba(18, 16, 13, .12);
  opacity: 0;
  transition: opacity .25s var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) {
  .service-card:hover { transform: translateY(-4px); }
  .service-card:hover::after { opacity: 1; }
  .service-card:hover .service-card-media img { transform: scale(1.04); }
}
.service-card--chemcare { background: var(--surface-dark); color: var(--text-on-dark); border-color: var(--border-hairline-dark); }

.service-card-media { overflow: hidden; aspect-ratio: 16 / 9; }
.service-card--ceramic .service-card-media { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .service-card--ceramic .service-card-media { aspect-ratio: 4 / 3; } }
.service-card--polish .service-card-media,
.service-card--optics .service-card-media { aspect-ratio: 1 / 1; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease-out); }

.service-card-icon-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-9) var(--space-6);
  color: var(--accent-brass);
}

.service-card-body { padding: clamp(20px, 4vw, 40px); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.service-card-body .icon { color: var(--accent-brass); }
.service-card-body h3 { display: flex; align-items: center; gap: var(--space-3); }
.service-card-body p { font-size: 15px; color: var(--text-on-light-muted); }
@media (min-width: 900px) { .service-card-body p { font-size: 16px; } }
.service-card--chemcare .service-card-body p { color: var(--text-on-dark-muted); }

/* ==========================================================================
   Advantages
   ========================================================================== */
.advantages-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 900px) { .advantages-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-8); } }

.advantage-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-hairline-dark);
}
.advantage-item:first-child { border-top: none; padding-top: 0; }
@media (min-width: 900px) {
  .advantage-item { border-top: none; padding-top: 0; padding-left: var(--space-8); border-left: 1px solid var(--border-hairline-dark); }
  .advantage-item:first-child { padding-left: 0; border-left: none; }
}
.advantage-item .icon { color: var(--accent-brass); margin-bottom: var(--space-2); }
.advantage-label { color: var(--text-on-dark-muted); }

/* ==========================================================================
   Process / о мастере
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 900px) { .process-grid { grid-template-columns: 5fr 7fr; gap: var(--space-11); align-items: start; } }

.process-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .process-media { aspect-ratio: 4 / 5; } }
.process-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.process-inset { display: none; }
@media (min-width: 900px) {
  .process-inset {
    display: block;
    position: absolute;
    right: -16px;
    bottom: -16px;
    width: 38%;
    aspect-ratio: 1 / 1;
    border: 4px solid var(--bg-dark);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .process-inset img { width: 100%; height: 100%; object-fit: cover; }
}

.process-copy p { color: var(--text-on-dark-muted); margin-bottom: var(--space-4); }
.process-copy p:last-child { margin-bottom: 0; }

.process-timeline {
  margin-top: var(--space-8);
  border-left: 1px solid var(--border-brass-hairline);
}
.process-step { position: relative; padding: 0 0 var(--space-7) var(--space-6); }
.process-step:last-child { padding-bottom: 0; }
.process-step-marker {
  position: absolute;
  left: calc(var(--space-6) * -1 - 15px);
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 1px solid var(--accent-brass);
  color: var(--accent-brass);
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step-marker .icon { width: 16px; height: 16px; }
.process-step h3 { margin-bottom: var(--space-2); }
.process-step p { color: var(--text-on-dark-muted); font-size: 15px; }

/* ==========================================================================
   Gallery (masonry)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 8px;
  gap: var(--space-4);
}
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); } }

.gallery-item[data-ratio="4-3"] { grid-row-end: span 30; }
.gallery-item[data-ratio="1-1"] { grid-row-end: span 40; }
.gallery-item[data-ratio="3-4"] { grid-row-end: span 53; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-light);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease-out); }
.gallery-item button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
@media (hover: hover) { .gallery-item:hover img { transform: scale(1.04); } }

dialog[data-gallery-dialog] {
  border: 0;
  padding: 0;
  max-width: min(92vw, 1000px);
  max-height: 90vh;
  background: transparent;
  color: var(--text-on-dark);
}
dialog[data-gallery-dialog]::backdrop { background: rgba(18, 16, 13, .85); }
.gallery-dialog-inner { position: relative; background: var(--bg-dark); border-radius: var(--radius); overflow: hidden; }
.gallery-dialog-inner img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; background: var(--bg-dark); }
.gallery-dialog-caption { padding: var(--space-4) var(--space-5); color: var(--text-on-dark-muted); }
.gallery-dialog-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 16, 13, .6);
  border: 0;
  border-radius: 50%;
  color: var(--text-on-dark);
  cursor: pointer;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card { background: var(--surface-dark); border-radius: var(--radius); padding: var(--space-7); display: flex; flex-direction: column; gap: var(--space-4); }
.review-quote-mark { font-family: 'Spectral', serif; font-weight: 600; font-size: 48px; line-height: 1; color: var(--accent-brass); }
.review-text { color: var(--text-on-dark); }
.review-author { color: var(--text-on-dark-muted); }

/* ==========================================================================
   Booking form
   ========================================================================== */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: var(--container-max);
  margin-inline: auto;
  box-shadow: 0 24px 64px rgba(18, 16, 13, .08);
}
@media (min-width: 900px) { .booking-grid { grid-template-columns: 5fr 7fr; } }

.booking-panel {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-9) clamp(20px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-9);
  overflow: hidden;
}
.booking-panel-media { display: none; }
@media (min-width: 900px) {
  .booking-panel-media { display: block; position: absolute; inset: 0; z-index: 0; }
  .booking-panel-media img { width: 100%; height: 100%; object-fit: cover; }
  .booking-panel-media::after { content: ''; position: absolute; inset: 0; background: rgba(18, 16, 13, .8); }
  .booking-panel > * { position: relative; z-index: 1; }
}
.booking-contacts { display: flex; flex-direction: column; gap: var(--space-4); }
.booking-contacts p { display: flex; align-items: flex-start; gap: var(--space-3); color: var(--text-on-dark-muted); }
.booking-contacts .icon { color: var(--accent-brass); margin-top: 2px; }
.booking-social { display: flex; gap: var(--space-2); }
.booking-social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--accent-brass);
  border: 1px solid var(--border-brass-hairline);
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.booking-social a:hover { background: var(--accent-brass); color: var(--text-on-brass); }

.booking-form-side { background: var(--bg-light); padding: var(--space-9) clamp(20px, 5vw, 48px); }

.form-stack { display: grid; }
.form-stack > * { grid-area: 1 / 1; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.confirmation { opacity: 0; transform: translateY(8px); pointer-events: none; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.confirmation .icon-lg { color: var(--accent-brass); }
.form-stack.is-success .booking-form { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.form-stack.is-success .confirmation { opacity: 1; transform: translateY(0); pointer-events: auto; }

.field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.field label { font-size: 14px; color: var(--text-on-light-muted); }
.field input, .field select, .field textarea {
  height: 48px;
  font-size: 16px;
  font-family: 'Commissioner', sans-serif;
  background: var(--surface-light);
  border: 0;
  border-bottom: 1px solid var(--border-hairline-light);
  border-radius: 0;
  padding: 0 var(--space-3);
  color: var(--text-on-light);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.field select { border-radius: var(--radius); }
.field textarea { height: auto; min-height: 96px; padding: var(--space-3); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--accent-brass);
}
.field-checkbox { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-6); }
.field-checkbox input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent-brass); }
.field-checkbox label { font-size: 14px; color: var(--text-on-light-muted); }
.form-note { font-size: 13px; color: var(--text-on-light-muted); margin-top: var(--space-4); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-dark); color: var(--text-on-dark-muted); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); padding-block: var(--space-10); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-about .logo-word { color: var(--text-on-dark); display: block; margin-bottom: var(--space-4); }
.footer-col h3 { color: var(--text-on-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--space-4); }
.footer-nav ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-contacts p { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-3); }
.footer-contacts .icon { color: var(--accent-brass); margin-top: 2px; }
.footer-social { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--accent-brass); border: 1px solid var(--border-brass-hairline); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  text-align: center;
  border-top: 1px solid var(--border-hairline-dark);
  padding-block: var(--space-5);
  font-size: 13px;
}
@media (min-width: 600px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-credit a { color: var(--accent-brass); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-shimmer { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
