/* =============================================================
   СК «ТИТАН» — стилевая система
   Палитра: графит / бетон / кран-жёлтый
   Шрифты:  Unbounded (заголовки), Manrope (текст), JetBrains Mono (штампы)
   ============================================================= */

:root {
  --ink:    #171b20;
  --steel:  #2a323b;
  --paper:  #f2f1ed;
  --card:   #ffffff;
  --line:   #d9d7d0;
  --line-dark: #3a434d;
  --accent: #f5a800;
  --accent-dark: #d18f00;
  --muted:  #5d6570;
  --muted-light: #9aa3ad;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --container: 1200px;
  --radius: 2px;
  --shadow: 0 10px 30px rgba(23, 27, 32, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--accent); color: var(--ink);
  padding: 10px 18px; font-weight: 600; z-index: 200;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Типографика ---------- */

h1, h2, h3 { margin: 0 0 .5em; }

.display-1, .display-2, .display-3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.display-1 { font-size: clamp(34px, 5.2vw, 62px); }
.display-2 { font-size: clamp(26px, 3.4vw, 40px); }
.display-3 { font-size: clamp(19px, 2vw, 24px); }

.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 62ch; }

/* Штамп чертежа — фирменный элемент */
.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 5px 12px;
  margin: 0 0 18px;
  background: var(--card);
}
.stamp-light {
  color: var(--muted-light);
  border-color: var(--line-dark);
  background: transparent;
}

/* Сигнальная полоса-разделитель */
.hazard {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0 16px,
    var(--ink) 16px 32px
  );
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 16px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-dark); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--steel); }

.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Шапка ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 241, 237, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}

.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo-light { color: #fff; }
.logo-mark { flex: none; }
.logo-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700; font-size: 17px; letter-spacing: .05em; line-height: 1;
}
.logo-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-top: 3px;
}
.logo-light .logo-sub { color: var(--muted-light); }

.site-nav { display: flex; gap: 22px; margin-inline: auto; }
.site-nav a {
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover { border-color: var(--line-dark); }
.site-nav a.is-active { border-color: var(--accent); }

.header-contacts { display: flex; align-items: center; gap: 18px; }
.header-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 8px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span:not(.visually-hidden) {
  display: block; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Flash ---------- */

.flash {
  background: var(--accent);
  font-weight: 600;
  padding: 12px 0;
}
.flash .container { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.flash-close { font-size: 24px; line-height: 1; text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    linear-gradient(rgba(23,27,32,.0), rgba(23,27,32,.0)),
    var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  /* чертёжная сетка */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .35;
  pointer-events: none;
}
.hero::after {
  /* контурное слово-гигант */
  content: "ТИТАН";
  position: absolute;
  right: -.06em; bottom: -.22em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 22vw, 300px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-dark);
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: clamp(64px, 10vw, 130px) 24px clamp(90px, 12vw, 150px);
}
.hero-title { color: #fff; max-width: 15ch; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-lead { color: var(--muted-light); max-width: 54ch; margin: 22px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-facts {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero-fact { padding: 22px 24px; border-right: 1px solid var(--line-dark); }
.hero-fact:last-child { border-right: 0; }
.hero-fact b {
  display: block; font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; color: var(--accent);
}
.hero-fact span { font-size: 14px; color: var(--muted-light); }

/* ---------- Секции ---------- */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-white { background: var(--card); }

.section-head {
  display: flex; flex-wrap: wrap; gap: 20px 40px;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.section-head .lead { margin: 0; }
.section-dark .lead { color: var(--muted-light); }

/* ---------- Услуги ---------- */

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.service-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-code {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  color: var(--muted);
}
.service-card h3 { margin: 0; }
.service-card p { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }
.service-more { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.service-more::after { content: " →"; color: var(--accent); }

/* Страница услуг */
.service-block {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px 48px;
  padding: clamp(30px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-side .service-code { display: block; margin-bottom: 8px; }
.service-list { margin: 16px 0 0; padding: 0; list-style: none; }
.service-list li { padding: 8px 0 8px 26px; position: relative; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 14px; height: 4px; background: var(--accent);
}

/* ---------- Проекты ---------- */

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
  text-decoration: none; color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.project-card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.project-media { display: block; position: relative; aspect-ratio: 4 / 2.6; background: var(--steel); overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-status {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent); color: var(--ink);
  padding: 4px 10px;
}
.project-status.is-active { background: #fff; }
.project-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-type { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.project-body h3 { margin: 0; font-size: 20px; }
.project-body p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }

/* штамп объекта */
.project-specs {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-mono); font-size: 13px; line-height: 1.45;
  display: grid; grid-template-columns: 1fr 1fr;
}
.project-specs > * { display: block; padding: 10px 14px 11px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.project-specs > *:nth-child(-n+2) { border-top: 0; }
.project-specs > *:nth-child(odd) { border-right: 1px solid var(--line); }
.project-specs b {
  display: block; font-weight: 500;
  color: var(--accent-dark); font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 3px;
}

/* ---------- Преимущества ---------- */

.adv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.adv-cell {
  padding: 30px 28px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.adv-cell b {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--accent); line-height: 1.1;
}
.adv-cell h3 { font-size: 17px; margin: 8px 0 6px; }
.adv-cell p { margin: 0; color: var(--muted-light); font-size: 15px; }

/* ---------- Этапы ---------- */

.stages { counter-reset: stage; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stage {
  counter-increment: stage;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px 20px;
  position: relative;
}
.stage::before {
  content: "0" counter(stage);
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: .1em;
  color: var(--ink);
  background: var(--accent);
  padding: 3px 8px;
  display: inline-block; margin-bottom: 14px;
}
.stage h3 { font-size: 17px; margin: 0 0 6px; }
.stage p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Отзывы ---------- */

.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  padding: 26px 26px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.review blockquote { margin: 0; font-size: 16px; }
.review footer { border-top: 1px solid var(--line); padding-top: 14px; }
.review-name { font-weight: 700; }
.review-role { color: var(--muted); font-size: 14.5px; }
.review-proj {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  color: var(--muted); margin-top: 6px; text-transform: uppercase;
}

/* ---------- О компании ---------- */

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.about-figure {
  background: var(--ink); color: #fff;
  padding: 30px 28px;
  border-left: 6px solid var(--accent);
}
.about-figure p { margin: 0 0 14px; color: var(--muted-light); }
.about-figure b { color: var(--accent); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  background: var(--card); border: 1px solid var(--line); padding: 24px 22px;
}
.value h3 { font-size: 18px; margin: 0 0 8px; }
.value p { margin: 0; color: var(--muted); font-size: 15.5px; }

.licenses { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.license {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); padding: 22px;
}
.license svg { flex: none; margin-top: 3px; }
.license h3 { font-size: 16.5px; margin: 0 0 6px; }
.license p { margin: 0; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }

/* ---------- Контакты ---------- */

.contacts-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { margin: 0; }
.contact-list dt {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-top: 22px;
}
.contact-list dt:first-child { margin-top: 0; }
.contact-list dd { margin: 4px 0 0; font-size: 19px; font-weight: 600; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { color: var(--accent-dark); }
.contact-map {
  margin-top: 30px; border: 1px solid var(--line);
  background: var(--card); padding: 18px 20px;
  font-size: 15px; color: var(--muted);
}

/* ---------- Формы ---------- */

.form-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  padding: clamp(24px, 3vw, 36px);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.field-hint { font-weight: 400; color: var(--muted); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ink); background: #fff;
}
.field textarea { resize: vertical; }
.field input[type="file"] { font-size: 14px; }

.agree {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--muted);
  margin: 4px 0 18px; cursor: pointer;
}
.agree input { margin-top: 3px; accent-color: var(--accent); }

.hp-field { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

.form-error {
  background: #fdecec; border: 1px solid #e6b5b5; color: #8c2f2f;
  padding: 12px 16px; margin-bottom: 18px; font-size: 15px;
}

/* ---------- CTA-полоса ---------- */

.cta-band {
  position: relative;
  background: var(--ink); color: #fff;
  padding: clamp(56px, 8vw, 100px) 0;
  border-top: 10px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--accent) 0 16px, var(--ink) 16px 32px) 10;
}
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; }
.cta-text { color: var(--muted-light); max-width: 44ch; }
.cta-form { background: var(--card); color: var(--ink); padding: clamp(22px, 3vw, 32px); border-top: 4px solid var(--accent); }

/* ---------- Подвал ---------- */

.site-footer { background: var(--ink); color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 40px;
  padding: clamp(44px, 6vw, 70px) 24px 34px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-head {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-light); margin: 0 0 14px;
}
.footer-col a {
  display: block; text-decoration: none; color: #d8dce1;
  padding: 4px 0; font-size: 15px;
}
.footer-col a:hover { color: var(--accent); }
.footer-note { color: var(--muted-light); font-size: 14.5px; margin-top: 16px; max-width: 34ch; }
.footer-phone { font-size: 18px !important; font-weight: 700; }
.footer-addr { color: var(--muted-light); font-size: 14.5px; margin: 10px 0 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 20px; padding-bottom: 24px;
  color: var(--muted-light); font-size: 13.5px;
}
.footer-bottom p { margin: 0; }

/* ---------- Модальное окно ---------- */

.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23,27,32,.7); }
.modal-window {
  position: relative;
  background: var(--card);
  border-top: 6px solid var(--accent);
  max-width: 420px; width: 100%;
  padding: 32px 30px 28px;
  box-shadow: var(--shadow);
}
.modal-title { font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.modal-text { color: var(--muted); font-size: 15px; margin-top: 0; }
.modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 40px; height: 40px;
  font-size: 26px; line-height: 1;
  background: none; border: 0; cursor: pointer; color: var(--muted);
}
.modal-close:hover { color: var(--ink); }

/* ---------- Страничный заголовок ---------- */

.page-head {
  background: var(--ink); color: #fff;
  padding: clamp(44px, 6vw, 72px) 0;
  position: relative; overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .3;
}
.page-head .container { position: relative; }
.page-head h1 { color: #fff; }
.page-head .lead { color: var(--muted-light); }

/* ---------- Адаптив ---------- */

@media (max-width: 1024px) {
  .services-grid, .projects-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .stages { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner, .about-grid, .contacts-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-block { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed; inset: 76px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a.is-active { border-color: var(--accent); }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-contacts { margin-left: auto; }
  .header-contacts .btn { display: none; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-fact { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .hero-fact:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .services-grid, .projects-grid, .values-grid,
  .reviews-grid, .licenses, .adv-grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-phone { display: none; }
}

@media (max-width: 420px) {
  .stages { grid-template-columns: 1fr; }
}

/* =============================================================
   v2 — расширенные компоненты
   ============================================================= */

/* ---------- Верхняя полоса ---------- */
.topbar { background: var(--ink); color: var(--muted-light); font-size: 13px; }
.topbar-inner { display: flex; gap: 24px; justify-content: space-between; padding-block: 7px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar-note { color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }
@media (max-width: 720px) { .topbar-note { display: none; } }
@media (max-width: 480px) { .topbar-item:last-child { display: none; } }

/* ---------- Hero с фотографией ---------- */
.hero-photo::before {
  background-image:
    linear-gradient(100deg, rgba(23,27,32,.96) 0%, rgba(23,27,32,.86) 45%, rgba(23,27,32,.55) 100%),
    var(--hero-img);
  background-size: auto, cover;
  background-position: center;
  opacity: 1;
}
.hero-photo .hero-inner { padding-bottom: clamp(70px, 9vw, 120px); }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  color: var(--muted-light); margin-bottom: 18px;
}
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-current] { color: #fff; }
.breadcrumbs .sep { margin-inline: 8px; color: var(--line-dark); }

/* ---------- Фотополоса ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-strip figure { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--steel); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; transition: transform .4s ease; }
.photo-strip figure:hover img { transform: scale(1.04); }
.photo-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: linear-gradient(transparent, rgba(23,27,32,.85));
  padding: 26px 14px 10px;
}

/* ---------- Таймлайн истории ---------- */
.timeline { position: relative; margin: 0; padding: 0 0 0 24px; list-style: none; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 30px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: 4px;
  width: 16px; height: 16px; background: var(--paper);
  border: 3px solid var(--accent);
}
.timeline-year { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--accent-dark); }
.timeline h3 { font-size: 18px; margin: 2px 0 6px; }
.timeline p { margin: 0; color: var(--muted); }

/* ---------- Команда ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { background: var(--card); border: 1px solid var(--line); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.team-avatar {
  width: 64px; height: 64px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--ink); background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.team-card h3 { margin: 0; font-size: 19px; }
.team-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); }
.team-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Мощности ---------- */
.capacity-strip {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line-dark); background: var(--ink); color: #fff;
}
.capacity-cell { padding: 22px 18px; border-right: 1px solid var(--line-dark); }
.capacity-cell:last-child { border-right: 0; }
.capacity-cell b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); color: var(--accent); }
.capacity-cell span { font-size: 13.5px; color: var(--muted-light); }

/* ---------- Новости ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.news-card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.news-media { display: block; aspect-ratio: 16/9; background: var(--steel); overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-meta { display: flex; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.news-tag { background: var(--paper); border: 1px solid var(--line); padding: 2px 8px; letter-spacing: .04em; }
.news-card h3 { margin: 0; font-size: 18.5px; line-height: 1.35; }
.news-card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.news-more { font-weight: 700; font-size: 14px; color: var(--ink); }
.news-more::after { content: " →"; color: var(--accent); }

/* ---------- Статья ---------- */
.article-hero { aspect-ratio: 21/9; overflow: hidden; border: 1px solid var(--line); background: var(--steel); margin-bottom: 34px; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 760px; }
.article-body p { margin: 0 0 20px; font-size: 17.5px; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Вакансии ---------- */
.vacancy { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 26px 26px 24px; margin-bottom: 18px; }
.vacancy-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; }
.vacancy h3 { margin: 0; font-size: 21px; }
.vacancy-pay { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--accent-dark); white-space: nowrap; }
.vacancy-type { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; margin: 4px 0 12px; }
.vacancy p { margin: 0 0 12px; color: var(--muted); }
.vacancy .service-list li { padding-block: 5px; font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: transparent; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 4px; font-weight: 700; font-size: 17.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  font-family: var(--font-mono); font-size: 22px; line-height: 1;
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted);
  transition: transform .2s, background .2s, color .2s;
}
.faq details[open] summary::after { content: "−"; background: var(--accent); border-color: var(--accent); color: var(--ink); }
.faq .faq-a { padding: 0 4px 22px; color: var(--muted); max-width: 78ch; }

/* ---------- Калькулятор ---------- */
.calc {
  background: var(--ink); color: #fff;
  border-top: 6px solid var(--accent);
  padding: clamp(26px, 4vw, 40px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px;
}
.calc .field label { color: #d8dce1; }
.calc .field input[type="number"], .calc .field select {
  width: 100%; font: inherit; padding: 13px 14px;
  background: var(--steel); border: 1px solid var(--line-dark); color: #fff; border-radius: var(--radius);
}
.calc .field input:focus, .calc .field select:focus { outline: none; border-color: var(--accent); }
.calc-range { display: flex; align-items: center; gap: 14px; }
.calc-range input[type="range"] { flex: 1; accent-color: var(--accent); }
.calc-range output { font-family: var(--font-mono); font-size: 14px; min-width: 90px; text-align: right; }
.calc-result { border: 1px solid var(--line-dark); padding: 24px; align-self: start; }
.calc-result-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.calc-sum { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); color: var(--accent); margin: 8px 0 2px; }
.calc-term { color: #d8dce1; }
.calc-note { font-size: 13px; color: var(--muted-light); margin-top: 14px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Проект: детальная ---------- */
.project-hero { aspect-ratio: 21/9; overflow: hidden; border: 1px solid var(--line); background: var(--steel); }
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; margin-top: 36px; }
.project-passport {
  border: 1px solid var(--line); background: var(--card);
  font-family: var(--font-mono); font-size: 13.5px;
  position: sticky; top: 96px;
}
.project-passport > div { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.project-passport > div:last-child { border-bottom: 0; }
.project-passport b { display: block; font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.project-passport .pass-head { background: var(--ink); color: var(--accent); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.gallery figure { margin: 0; border: 1px solid var(--line); overflow: hidden; background: var(--steel); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.related h2 { margin-bottom: 22px; }
@media (max-width: 1000px) { .project-layout { grid-template-columns: 1fr; } .project-passport { position: static; } }

/* ---------- Reveal-анимации ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal-delay-1 { transition-delay: .08s; }
  .reveal-delay-2 { transition-delay: .16s; }
  .reveal-delay-3 { transition-delay: .24s; }
}

/* ---------- Адаптив v2 ---------- */
@media (max-width: 1024px) {
  .capacity-strip { grid-template-columns: repeat(3, 1fr); }
  .capacity-cell:nth-child(3n) { border-right: 0; }
  .capacity-cell:nth-child(-n+3) { border-bottom: 1px solid var(--line-dark); }
  .news-grid, .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .capacity-strip { grid-template-columns: 1fr 1fr; }
  .capacity-cell { border-bottom: 1px solid var(--line-dark); }
  .capacity-cell:nth-child(3n) { border-right: 1px solid var(--line-dark); }
  .capacity-cell:nth-child(odd) { border-right: 1px solid var(--line-dark) !important; }
  .capacity-cell:nth-child(even) { border-right: 0 !important; }
  .capacity-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .news-grid, .team-grid, .photo-strip { grid-template-columns: 1fr; }
  .vacancy-head { flex-direction: column; }
}
