/* =========================================================
   ПТО КАЛАШНИКОВ · Мирный · Технический осмотр · Автосервис
   Стиль: премиум, тёмно-синий графит + платина
   ========================================================= */

/* ---- дизайн-токены ---- */
:root {
  /* цвета */
  --ink:            #0a1628;   /* глубокий графитовый фон */
  --ink-2:          #0e1a30;   /* слегка светлее для карточек */
  --ink-3:          #142440;   /* контурная тень */
  --surface:        #fafbfc;   /* белая карточка на светлом фоне */
  --bg:             #f5f7fb;   /* общий фон светлых секций */
  --border:         rgba(20, 36, 64, 0.10);
  --border-strong:  rgba(20, 36, 64, 0.20);
  --border-dark:    rgba(201, 209, 217, 0.14);

  --text:           #0a1628;
  --text-mute:      #4a5668;
  --text-dim:       #7a8494;
  --text-light:     #e8eaef;   /* текст на тёмном фоне */
  --text-light-mute:#a4afc0;

  --platinum:       #8fa8c7;   /* акцент — приглушённый платиновый */
  --platinum-dark:  #6b88b0;
  --steel:          #c9d1d9;   /* светлый серо-стальной */
  --amber:          #d9a55b;   /* тёплый янтарь (для CTA-акцента) */
  --amber-dark:     #b8862d;

  --success:        #2b8f5a;
  --danger:         #b83232;

  /* типографика */
  --serif:  'Cormorant Garamond', 'Playfair Display', 'PT Serif', Georgia, serif;
  --sans:   'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* размеры и радиусы */
  --radius:     4px;
  --radius-lg:  8px;
  --shadow-sm:  0 1px 2px rgba(10, 22, 40, 0.06);
  --shadow:     0 8px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg:  0 20px 60px rgba(10, 22, 40, 0.14);

  --container:  1200px;
  --gutter:     clamp(16px, 4vw, 40px);
}

/* ---- шрифты ---- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ---- база ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }

/* ---- utility ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 20px;
}
.eyebrow.dark { color: var(--platinum-dark); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--text);
}
.section-title.on-dark { color: var(--text-light); }

.section-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 640px;
  margin: 0 0 48px;
}
.section-lead.on-dark { color: var(--text-light-mute); }

/* ---- header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-light);
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-light);
}
.brand-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  color: var(--text-light-mute);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: #0a1628;
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(201, 209, 217, 0.30);
}
.btn-outline:hover {
  border-color: var(--platinum);
  color: var(--platinum);
}
.btn-lg { padding: 14px 28px; font-size: 15px; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 209, 217, 0.30);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}
.burger:hover { border-color: var(--platinum); }

/* ---- hero ---- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  overflow: hidden;
  color: var(--text-light);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero.png') center/cover no-repeat;
  opacity: 0.65;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.45) 0%,
    rgba(10, 22, 40, 0.75) 60%,
    rgba(10, 22, 40, 0.95) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 56px;
  max-width: 780px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 26px;
  color: var(--text-light);
}
.hero h1 em {
  font-style: italic;
  color: var(--platinum);
  font-weight: 300;
}
.hero-lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--text-light-mute);
  max-width: 560px;
  margin: 0 0 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  position: relative;
  z-index: 2;
  padding-bottom: 40px;
}
.hero-meta-inner {
  display: flex;
  gap: clamp(24px, 5vw, 64px);
  padding: 28px 0 0;
  border-top: 1px solid rgba(201, 209, 217, 0.14);
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--platinum);
}
.hero-meta-value {
  font-size: 15px;
  color: var(--text-light);
}

/* ---- секции ---- */
.section {
  padding: clamp(72px, 10vw, 128px) 0;
}
.section-dark {
  background: var(--ink);
  color: var(--text-light);
}
.section-ink {
  background: linear-gradient(180deg, var(--ink) 0%, #0d1c36 100%);
  color: var(--text-light);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 72px;
}
.section-head.center { grid-template-columns: 1fr; text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .section-lead { margin-bottom: 0; }
}

/* ---- about (о пункте) ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-feature {
  padding-left: 24px;
  border-left: 1px solid var(--border-strong);
}
.about-feature h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--text);
}
.about-feature p {
  margin: 0;
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.6;
}

/* ---- Автобусы (график) ---- */
.buses-schedule {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--bg);
}
.buses-schedule .section-head {
  margin-bottom: 40px;
}
.buses-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}
.buses-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  font-size: 14px;
}
.buses-table thead {
  background: var(--ink);
  color: var(--text-light);
}
.buses-table th {
  padding: 16px 18px;
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--platinum);
}
.buses-table td {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.buses-table tr:hover td { background: rgba(143, 168, 199, 0.04); }
.buses-empty-cell { color: var(--text-dim); }
.buses-category {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(143, 168, 199, 0.14);
  color: var(--platinum-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.buses-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.buses-status--first { background: rgba(43, 143, 90, 0.12); color: var(--success); }
.buses-status--again { background: rgba(217, 165, 91, 0.16); color: var(--amber-dark); }
.buses-status--off   { background: rgba(122, 132, 148, 0.14); color: var(--text-dim); }

.buses-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #0d1c36 100%);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 48px clamp(24px, 5vw, 64px);
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.buses-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(143, 168, 199, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.buses-banner-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(217, 165, 91, 0.18);
  color: var(--amber);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.buses-banner-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
.buses-callout {
  background: rgba(217, 165, 91, 0.06);
  border-left: 3px solid var(--amber);
  padding: 20px 24px;
  border-radius: 4px;
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.6;
}
.buses-callout a { color: var(--amber-dark); border-bottom: 1px solid var(--amber); }
.buses-callout a:hover { color: var(--amber); }

/* ---- Категории ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.category-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s;
}
.category-card:hover {
  border-color: rgba(143, 168, 199, 0.4);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}
.category-code {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--platinum);
  line-height: 1;
  margin-bottom: 12px;
}
.category-desc {
  font-size: 13px;
  color: var(--text-light-mute);
  line-height: 1.5;
}

/* ---- Автосервис ---- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.service-card {
  padding: 32px 28px;
  background: var(--surface);
  transition: background 0.2s;
}
.service-card:hover { background: #fff; }
.service-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--platinum-dark);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.25;
}
.service-card p {
  margin: 0;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.55;
}

/* ---- Цены ---- */
.prices-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.03);
}
.prices-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.prices-table thead th {
  padding: 20px 24px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--platinum);
  font-weight: 500;
  border-bottom: 1px solid var(--border-dark);
}
.prices-table thead th:last-child { text-align: right; }
.prices-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-light);
  font-size: 15px;
  vertical-align: middle;
}
.prices-table tr:last-child td { border-bottom: none; }
.prices-table tr:hover td { background: rgba(143, 168, 199, 0.04); }
.prices-cat {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--platinum);
  min-width: 60px;
  display: inline-block;
}
.prices-desc { color: var(--text-light-mute); font-size: 14px; }
.prices-price {
  text-align: right;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
  font-size: 17px;
}
.prices-note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-light-mute);
  line-height: 1.6;
  max-width: 780px;
}

/* ---- Документы ---- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.2s;
}
.doc-card:hover {
  border-color: var(--platinum-dark);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.doc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(143, 168, 199, 0.14);
  color: var(--platinum-dark);
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 20px;
}
.doc-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--text);
}
.doc-card p {
  margin: 0;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.55;
}

/* ---- Карта ---- */
.map-section {
  padding: 0;
}
.map-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  min-height: 480px;
  background: var(--ink);
}
@media (max-width: 900px) {
  .map-wrap { grid-template-columns: 1fr; }
}
.map-info {
  padding: clamp(48px, 8vw, 88px) clamp(24px, 5vw, 64px);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.map-info h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  margin: 0 0 32px;
  color: var(--text-light);
}
.map-info-item {
  padding: 20px 0;
  border-top: 1px solid var(--border-dark);
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.map-info-item:last-child { border-bottom: 1px solid var(--border-dark); }
.map-info-label {
  min-width: 100px;
  color: var(--platinum);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.map-info-value {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.5;
  flex: 1;
}
.map-info-value a { color: var(--text-light); border-bottom: 1px solid rgba(201, 209, 217, 0.3); }
.map-info-value a:hover { color: var(--platinum); border-color: var(--platinum); }
.map-iframe-wrap {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.map-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(20%);
}

/* ---- Форма ---- */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .booking-grid { grid-template-columns: 1fr; gap: 40px; }
}
.booking-info h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 20px;
  color: var(--text);
}
.booking-info p {
  color: var(--text-mute);
  margin: 0 0 16px;
  line-height: 1.65;
}
.booking-steps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: step;
}
.booking-steps li {
  counter-increment: step;
  padding: 16px 0 16px 48px;
  border-top: 1px solid var(--border);
  position: relative;
  color: var(--text-mute);
  font-size: 15px;
}
.booking-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--serif);
  color: var(--platinum-dark);
  font-size: 14px;
  letter-spacing: 0.05em;
}
.booking-steps li:last-child { border-bottom: 1px solid var(--border); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.form-row .field { margin: 0; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.field { display: block; margin-bottom: 18px; }
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.field-input, .field-select, .field-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-textarea { min-height: 100px; resize: vertical; }
.field-input:focus, .field-select:focus, .field-textarea:focus {
  outline: none;
  border-color: var(--platinum);
  box-shadow: 0 0 0 3px rgba(143, 168, 199, 0.14);
}
/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form-actions {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.form-status {
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  min-height: 20px;
}
.form-status.ok    { background: rgba(43, 143, 90, 0.10); color: var(--success); }
.form-status.error { background: rgba(184, 50, 50, 0.10); color: var(--danger); }
.form-hint {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 16px;
}
.form-hint a { color: var(--platinum-dark); border-bottom: 1px solid var(--platinum-dark); }

/* ---- Контакты / callback ---- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .contacts-grid { grid-template-columns: 1fr; }
}
.contacts-list {
  display: flex;
  flex-direction: column;
}
.contact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border-dark);
}
.contact-row:last-child { border-bottom: 1px solid var(--border-dark); }
.contact-row-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--platinum);
  padding-top: 4px;
}
.contact-row-value {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.5;
}
.contact-row-value a { color: var(--text-light); border-bottom: 1px solid rgba(201, 209, 217, 0.24); }
.contact-row-value a:hover { color: var(--platinum); border-color: var(--platinum); }
.contact-row-value small {
  display: block;
  font-size: 13px;
  color: var(--text-light-mute);
  margin-top: 4px;
}

.callback-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
}
.callback-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--text-light);
}
.callback-card p {
  margin: 0 0 24px;
  color: var(--text-light-mute);
  font-size: 14px;
  line-height: 1.6;
}
.callback-card .field-input,
.callback-card .field-textarea {
  background: rgba(10, 22, 40, 0.4);
  border-color: rgba(201, 209, 217, 0.20);
  color: var(--text-light);
}
.callback-card .field-input::placeholder,
.callback-card .field-textarea::placeholder {
  color: rgba(201, 209, 217, 0.4);
}
.callback-card .field-label {
  color: var(--platinum);
}
.callback-card .field-input:focus,
.callback-card .field-textarea:focus {
  border-color: var(--platinum);
  background: rgba(10, 22, 40, 0.6);
}

/* ---- Footer ---- */
.footer {
  background: #050d1c;
  color: var(--text-light-mute);
  padding: 64px 0 32px;
  font-size: 14px;
  line-height: 1.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--text-light);
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-light);
}
.footer-brand-desc { color: var(--text-light-mute); font-size: 13px; max-width: 360px; }
.footer a { color: var(--text-light-mute); }
.footer a:hover { color: var(--platinum); }
.footer-legal {
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

/* ---- Reveal animation ---- */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Респонсив ---- */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-inner { padding: 14px 0; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 10px; }
  .hero-inner { padding: 88px 0 40px; }
  .hero-meta { padding-bottom: 32px; }
  .hero-meta-inner { padding: 24px 0 0; gap: 20px; }
}

/* Мобильное меню (скрыто, когда закрыто) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.mobile-menu a {
  font-family: var(--serif);
  color: var(--text-light);
  font-size: 26px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
}
.mobile-menu a:hover { color: var(--platinum); }

/* ---- Печать ---- */
@media print {
  .header, .footer, .form-card, .callback-card, .hero-actions, .buses-banner {
    display: none;
  }
  .hero-bg { display: none; }
  body { background: white; color: black; }
}
