/* Страница «О компании». Значения взяты из common.css и index.css,
   чтобы блоки совпадали с секциями «Услуги» и «Салоны» на главной. */

/* Шапка. В проекте её раскладка живёт не в common.css, а в CSS каждой
   страницы (index.css, catalog.css, checkout.css) — повторяем то же самое,
   иначе header остаётся блочным и всё в нём складывается в столбик. */
header {
  height: 68px;
  padding: 0 56px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-solid .logo-white { display: none; }
.header-solid .logo-dark { display: block; }
.logo-lockup { --logo-height: 32px; }
.header-right { display: flex; align-items: center; gap: 28px; }

nav { display: flex; gap: 32px; }
nav a {
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .32px;
  color: #111;
  transition: color .2s;
}
nav a:hover { color: var(--blue2); }

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #3f4858;
  display: flex;
  align-items: center;
  transition: color .2s;
  padding: 0;
}
.icon-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.85;
  vector-effect: non-scaling-stroke;
}
.icon-btn:hover { color: var(--blue2); }

.about-page {
  padding: 56px 56px 72px;
  background: #fff;
}

.about-section {
  padding: 0 0 48px;
}

.about-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.about-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin-bottom: 18px;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.about-lead {
  font-size: 15px;
  line-height: 1.85;
  color: #444;
  max-width: 640px;
  text-wrap: pretty;
}

.about-lead + .about-lead {
  margin-top: 14px;
}

.about-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.about-number {
  background: #fff;
  padding: 26px 24px;
}

.about-number b {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--blue2);
  line-height: 1;
}

.about-number span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.about-card {
  border: 1px solid var(--border);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-card svg {
  width: 26px;
  height: 26px;
  display: block;
}

.about-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #15233f;
  line-height: 1.35;
}

.about-card p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #5b6577;
}

.about-card .about-note {
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.about-principle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 2px solid var(--blue2);
  padding-top: 18px;
}

.about-principle h3 {
  font-size: 15px;
  font-weight: 700;
  color: #15233f;
}

.about-principle p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #5b6577;
}

.about-cities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 48px;
}

.about-city-name {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.about-city-list {
  font-size: 13px;
  color: #444;
  line-height: 1.9;
}

.about-hint {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 22px;
}

.about-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-partner {
  border: 1px solid var(--border);
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue2);
  text-decoration: none;
  transition: border-color .25s, color .25s;
}

.about-partner:hover {
  border-color: var(--blue2);
  color: var(--blue);
}

.about-requisites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 20px;
  padding: 24px 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(35, 62, 115, .06) 0%, rgba(237, 245, 255, .88) 100%);
  border: 1px solid rgba(35, 62, 115, .08);
}

.about-requisite {
  display: grid;
  gap: 4px;
}

.about-requisite span {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(35, 62, 115, .54);
}

.about-requisite strong,
.about-requisite a {
  font-size: 14px;
  line-height: 1.55;
  color: #15233f;
  font-weight: 600;
  text-decoration: none;
}

.about-cta {
  background: linear-gradient(155deg, #1d3e74 0%, #0d1f3c 100%);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-cta-text {
  max-width: 640px;
}

.about-cta-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 14px;
}

.about-cta h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}

.about-cta p {
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.65;
}

.about-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  flex-shrink: 0;
}

/* Кнопка описана в index.css, а эта страница его не подключает —
   повторяем те же значения, иначе ссылки в тёмном блоке остаются голыми. */
.about-cta-actions .btn-outline-white {
  display: inline-block;
  min-width: 210px;
  padding: 10px 28px;
  border: 1.5px solid rgba(255, 255, 255, .6);
  color: #fff;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: .4px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s;
}

.about-cta-actions .btn-outline-white:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

.about-cta-actions .is-secondary {
  border-color: rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .85);
}

@media (max-width: 1024px) {
  .about-page { padding: 40px 24px 56px; }
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-cards { grid-template-columns: 1fr 1fr; }
  .about-principles { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-requisites { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  header { padding: 0 16px; height: 56px; }
  nav { display: none; }
  .burger { display: block; }
  .header-right { gap: 16px; }
  .about-title { font-size: 26px; }
  .about-cards,
  .about-principles,
  .about-cities { grid-template-columns: 1fr; gap: 20px; }
  .about-requisites { grid-template-columns: 1fr; border-radius: 18px; }
  .about-cta { flex-direction: column; align-items: stretch; padding: 32px 24px; gap: 26px; }
  .about-cta-actions { width: 100%; align-self: stretch; }
  .about-cta-actions .btn-outline-white { display: block; width: 100%; min-width: 0; }
}

@media (max-width: 480px) {
  .about-page { padding: 32px 16px 48px; }
  .about-title { font-size: 22px; }
  .about-numbers { grid-template-columns: 1fr 1fr; }
}
