/* ═══════════════════════════════════════════════════════
   ЛидМарк — светлая тема
   Шрифты: Playfair Display (заголовки) + Inter (текст)
   ═══════════════════════════════════════════════════════ */

:root {
  /* Палитра */
  --ink:          #1C1917;
  --ink-soft:     #44403C;
  --ink-mute:     #78716C;
  --gold:         #A16207;
  --gold-bright:  #C9A227;
  --gold-wash:    #FBF7EE;
  --bg:           #FAFAF9;
  --surface:      #FFFFFF;
  --tint:         #F5F4F1;
  --dark:         #363330;
  --dark-soft:    #4A4642;
  --border:       #E4E1DC;
  --border-soft:  #EFEDE9;

  /* Типографика */
  --display: 'Playfair Display', Georgia, serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Ритм */
  --wrap:    1660px;
  --gap:     clamp(1.25rem, 4.5vw, 4.5rem);
  --sect-y:  clamp(4.5rem, 9vw, 9.5rem);

  /* Скругления и тени */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 1px 2px rgba(28,25,23,.04), 0 4px 16px rgba(28,25,23,.04);
  --shadow-md: 0 2px 6px rgba(28,25,23,.05), 0 12px 40px rgba(28,25,23,.07);
  --shadow-lg: 0 8px 24px rgba(28,25,23,.08), 0 32px 80px rgba(28,25,23,.10);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }

/* Обводка только при навигации с клавиатуры.
   При клике мышью не показывается, но Tab остаётся проходимым. */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gap);
}

/* ═══════════ ОБЩИЕ ЭЛЕМЕНТЫ ═══════════ */

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.eyebrow .dia { font-size: .55rem; opacity: .8; }
.eyebrow-light { color: var(--gold-bright); }

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  max-width: 20ch;
}
.section-title em { font-style: italic; color: var(--gold); }

.section-lead {
  margin-top: 1.5rem;
  color: var(--ink-mute);
  font-size: clamp(1rem, 1.5vw, 1.075rem);
  max-width: 52ch;
}

.section { padding-block: var(--sect-y); }
.section-tint { background: var(--tint); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-center { text-align: center; }
.section-head-center .section-title,
.section-head-center .section-lead { margin-inline: auto; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--body);
  font-size: .9rem; font-weight: 500;
  padding: .8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: .65rem 1.3rem; font-size: .85rem; }
.btn-lg { padding: .95rem 2rem; font-size: .95rem; }
.btn-block { width: 100%; }

.link-btn {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
  text-align: left;
  transition: color .25s var(--ease);
}

/* Появление при скролле */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal.is-in { opacity: 1; transform: none; }

/* ═══════════ ШАПКА ═══════════ */

.site-header {
  position: fixed; inset: 1.25rem 0 auto; z-index: 100;
  padding-inline: var(--gap);
  transition: inset .4s var(--ease);
}
.site-header.is-stuck { inset: .6rem 0 auto; }

.nav-pill {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .7rem .7rem .7rem 1.6rem;
  background: rgba(250,250,249,.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.site-header.is-stuck .nav-pill {
  background: rgba(250,250,249,.94);
  box-shadow: var(--shadow-md);
}

.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-mark {
  /* Прописные в слове — 19.97px (кегль 28.2 × 0.708 у Playfair 600).
     Знак на 15% выше их: 19.97 × 1.15 = 23px. */
  height: 23px; width: auto;
  flex-shrink: 0;
  color: var(--gold);
  transition: color .3s var(--ease);
}
.brand:hover .brand-mark { color: var(--ink); }
.brand-name {
  font-family: var(--display);
  font-size: 28.2px; font-weight: 600; letter-spacing: -.01em;
  line-height: 1;
}

.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  font-size: .9rem; color: var(--ink-soft);
  position: relative; padding-block: .25rem;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.burger {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--border);
  border-radius: 50%; cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 50%; width: 16px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: translateX(-50%) rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--bg);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }

.mobile-menu-inner {
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  gap: .25rem;
  padding: 6rem var(--gap) 3rem;
}
.mobile-menu-inner a {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  padding-block: .5rem;
  border-bottom: 1px solid var(--border-soft);
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s var(--ease);
}
.mobile-menu.is-open .mobile-menu-inner a { opacity: 1; transform: none; }
.mobile-menu-inner a:nth-child(1) { transition-delay: .06s; }
.mobile-menu-inner a:nth-child(2) { transition-delay: .12s; }
.mobile-menu-inner a:nth-child(3) { transition-delay: .18s; }
.mobile-menu-inner a:nth-child(4) { transition-delay: .24s; }
.mobile-menu-inner a:nth-child(5) { transition-delay: .30s; }
.mobile-menu-inner a:hover { color: var(--gold); }
.mm-num {
  font-family: var(--body);
  font-size: .7rem; font-weight: 600; letter-spacing: .15em;
  color: var(--gold);
}
.mm-cta { margin-top: 2rem; align-self: flex-start; }

/* ═══════════ ГЕРОЙ ═══════════ */

.hero {
  position: relative;
  padding-top: clamp(9rem, 18vw, 13rem);
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: clamp(80px, 11vw, 150px) clamp(80px, 11vw, 150px);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 25%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 25%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero-inner { position: relative; padding-bottom: clamp(4rem, 9vw, 7rem); }

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.6vw, 5rem);
  letter-spacing: -.025em;
  max-width: 16ch;
  margin-inline: auto;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-lead {
  margin: 1.75rem auto 0;
  max-width: 58ch;
  color: var(--ink-mute);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

/* Подпись-элемент: квадрат в золотом контуре.
   Выделяется контрастом цвета, без движения. */
.orbit {
  position: relative;
  display: grid; place-items: center;
  align-content: center;
  gap: .5rem;
  width: clamp(132px, 16vw, 168px);
  aspect-ratio: 1;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  padding: 1rem;
  background: var(--surface);
  border: 1.5px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-family: inherit;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease);
}
/* На наведении фигура заливается золотом, содержимое выворачивается */
.orbit:hover { background: var(--gold); border-color: var(--gold); box-shadow: var(--shadow-md); }
.orbit:hover .orbit-label { color: #fff; }
.orbit:hover .orbit-arrow { color: #fff; }

.orbit-label {
  font-size: .62rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  line-height: 1.7;
  color: var(--gold);
  text-align: center;
  transition: color .35s var(--ease);
}

.orbit-arrow { width: 24px; height: 24px; color: var(--ink); transition: color .35s var(--ease); }
.orbit-arrow svg { width: 100%; height: 100%; }

/* Панорама под героем */
.hero-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}
.hero-shot img {
  width: 100%;
  height: clamp(280px, 42vw, 620px);
  object-fit: cover;
  object-position: center 58%;
}
/* Мягкий переход от белого героя в фотографию — без резкой границы */
.hero-shot::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 42%;
  background: linear-gradient(to bottom, var(--bg), transparent);
  pointer-events: none; z-index: 1;
}

/* ═══════════ УСЛУГИ ═══════════ */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.svc-card {
  display: flex; flex-direction: column;
  text-align: left;
  padding: 2.25rem 1.9rem 1.9rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  cursor: pointer;
  font-family: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
              border-color .45s var(--ease), opacity .8s var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.svc-num {
  font-family: var(--display);
  font-size: 2.4rem; font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.svc-title {
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: .85rem;
}
.svc-desc {
  color: var(--ink-mute);
  font-size: .925rem;
  margin-bottom: 1.75rem;
}
.svc-more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 500;
  color: var(--ink);
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-soft);
}
.svc-arrow { color: var(--gold); transition: transform .35s var(--ease); display: inline-block; }
.svc-card:hover .svc-arrow { transform: translateX(5px); }

/* ═══════════ ПРОЦЕСС ═══════════ */

/* Процесс: простой нумерованный список */
.steps { border-top: 1px solid var(--border); }
.step {
  display: flex; align-items: baseline;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 2.4vw, 2rem) 0;
  border-bottom: 1px solid var(--border);
}
.step-num {
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 1rem; font-weight: 600; font-style: italic;
  color: var(--gold);
  min-width: 2.5ch;
}
.step-title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  font-weight: 500;
}

/* ═══════════ ОТРАСЛИ (тёмная полоса) ═══════════ */

.section-dark {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.section-dark::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 130px 130px;
  pointer-events: none;
}
.section-dark .wrap { position: relative; }
.section-dark .section-title { color: #fff; }
.section-dark .section-title em { color: var(--gold-bright); }

.ind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.ind-card {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  transition: transform .45s var(--ease), background .45s var(--ease),
              border-color .45s var(--ease), opacity .8s var(--ease);
}
.ind-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.06);
  border-color: rgba(201,162,39,.35);
}
.ind-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.35rem;
  background: var(--gold-wash);
  color: var(--dark);
  border-radius: 50%;
}
.ind-icon svg { width: 21px; height: 21px; }
.ind-title { font-size: 1rem; font-weight: 600; margin-bottom: .6rem; }
.ind-desc { font-size: .875rem; color: rgba(255,255,255,.62); line-height: 1.6; }

/* ═══════════ О КОМПАНИИ ═══════════ */

.about-top {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.about-text {
  display: grid; gap: 1.15rem;
  margin-top: 1.75rem;
  color: var(--ink-mute);
}

/* Абстрактная графика */
.about-art {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--tint);
  border-radius: var(--r-xl);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.about-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about-art:hover img { transform: scale(1.03); }
/* Тёплый тон поверх фото, чтобы оно село в золотую палитру */
.about-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(161,98,7,.10), transparent 55%);
  pointer-events: none;
}

.interlude {
  overflow: hidden;
  line-height: 0;
}
.interlude img {
  width: 100%;
  height: clamp(150px, 20vw, 300px);
  object-fit: cover;
  object-position: center 42%;
}


.adv-heading {
  margin: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.adv-card {
  padding: 1.9rem 1.6rem;
  background: var(--gold-wash);
  border: 1px solid #F0E9DB;
  border-radius: var(--r-md);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .8s var(--ease);
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.adv-title {
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: .65rem;
}
.adv-desc { font-size: .89rem; color: var(--ink-soft); }

/* ═══════════ ВАКАНСИИ ═══════════ */
.lead-mail {
  color: var(--gold);
  border-bottom: 1px solid rgba(161,98,7,.35);
  transition: border-color .25s var(--ease);
}
.lead-mail:hover { border-color: var(--gold); }


.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.job-card {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease), opacity .8s var(--ease);
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.job-title {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.25;
}
.job-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 500;
  color: var(--gold);
}
.job-cta svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.job-card:hover .job-cta svg { transform: translate(3px, -3px); }

/* ═══════════ КОНТАКТЫ ═══════════ */

.contact-hours {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .35rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* Карточки-контакты вместо формы */
.contact-cards { display: grid; gap: 1rem; }

.contact-card {
  position: relative;
  display: grid;
  gap: .3rem;
  padding: clamp(1.5rem, 3vw, 2.1rem) clamp(3.5rem, 6vw, 4.5rem)
           clamp(1.5rem, 3vw, 2.1rem) clamp(1.5rem, 3vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease), opacity .8s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.cc-label {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.cc-value {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  line-height: 1.15;
  word-break: break-word;
  transition: color .3s var(--ease);
}
.contact-card:hover .cc-value { color: var(--gold); }

.cc-arrow {
  position: absolute;
  top: 50%; right: clamp(1.4rem, 3vw, 2rem);
  width: 26px; height: 26px;
  transform: translateY(-50%);
  color: var(--gold);
}
.cc-arrow svg { width: 100%; height: 100%; transition: transform .4s var(--ease); }
.contact-card:hover .cc-arrow svg { transform: translate(3px, -3px); }



/* ═══════════ CTA-ПОЛОСА ═══════════ */

.cta-band {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.cta-inner {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cta-kicker {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-style: italic;
  color: var(--gold);
  flex-shrink: 0;
}
.cta-text { color: var(--ink-soft); font-size: 1rem; flex: 1 1 260px; }
.cta-inner .btn { margin-left: auto; }

/* ═══════════ ПОДВАЛ ═══════════ */

.site-footer {
  background: var(--tint);
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-top {
  display: flex; align-items: flex-start; gap: 2rem; flex-wrap: wrap;
  padding-bottom: 2.75rem;
}
.brand-footer .brand-name { font-size: 1.35rem; }
.footer-tagline { color: var(--ink-mute); font-size: .95rem; max-width: 42ch; margin-left: auto; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding-block: 2.75rem;
  border-top: 1px solid var(--border);
}
.footer-col h4 {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.15rem;
}
.footer-col p { margin-bottom: .6rem; font-size: .92rem; color: var(--ink-soft); }
.footer-col a:hover, .footer-col .link-btn:hover { color: var(--gold); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding-block: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--ink-mute);
}

/* Ссылка на PDF-документ */
.footer-doc {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--ink-soft);
}
.footer-doc:hover { color: var(--gold); }
.doc-icon { width: 15px; height: 15px; flex-shrink: 0; color: var(--gold); }
.doc-icon svg { width: 100%; height: 100%; }
.doc-ext {
  font-size: .62rem; font-weight: 600; letter-spacing: .1em;
  padding: .15rem .4rem;
  background: var(--gold-wash);
  border: 1px solid #EFE6D4;
  border-radius: 4px;
  color: var(--gold);
}

/* ═══════════ МОДАЛЬНЫЕ ОКНА ═══════════ */

.modal-root {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  padding: var(--gap);
}
.modal-root[hidden] { display: none; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(28,25,23,.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.modal-root.is-open .modal-backdrop { opacity: 1; }

.modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  padding: clamp(1.9rem, 4vw, 2.9rem);
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(22px) scale(.97);
  transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.modal[hidden] { display: none; }
.modal-root.is-open .modal { opacity: 1; transform: none; }

.modal-close {
  position: absolute; top: 1.15rem; right: 1.15rem;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--tint); border: 0; border-radius: 50%;
  color: var(--ink-soft); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.modal-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.modal-close svg { width: 17px; height: 17px; }

.modal-num {
  display: block;
  font-family: var(--display);
  font-size: 2.6rem; font-style: italic;
  color: var(--gold); line-height: 1;
  margin-bottom: 1rem;
}
.modal-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  margin-bottom: .85rem;
  padding-right: 2.5rem;
}
.modal-title em { font-style: italic; color: var(--gold); }
.modal-lead { color: var(--ink-mute); font-size: .95rem; margin-bottom: 1.9rem; }

.modal-sub {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}
.modal-list { display: grid; gap: .8rem; margin-bottom: 2rem; }
.modal-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .93rem; color: var(--ink-soft);
}
.modal-list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

/* ═══════════ АДАПТИВ ═══════════ */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .about-top, .contact-layout { grid-template-columns: 1fr; }
  .about-top { align-items: start; }
  .about-art { aspect-ratio: 16 / 10; order: 2; }
    .footer-tagline { margin-left: 0; }
}

@media (max-width: 640px) {
  .nav-actions .btn-primary { display: none; }
  .nav-pill { padding: .6rem .6rem .6rem 1.2rem; }
  .section-title { max-width: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .btn { margin-left: 0; width: 100%; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .modal { padding: 2rem 1.4rem; }
}

/* ═══════════ ДОСТУПНОСТЬ: УМЕНЬШЕННОЕ ДВИЖЕНИЕ ═══════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
