/* ================================================
   О компании — стили страницы (светлая тема)
   Классы точно соответствуют about-content.php
   ================================================ */

/* ─── HERO (section.hero — специфичность выше чем main.css .hero) ─── */
section.hero {
  position: relative;
  padding: 80px 0 72px;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
section.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,49,146,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 680px;
}
.hero-inner h1 span { color: var(--blue); }
.hero-desc {
  font-size: 17px;
  color: var(--ink2);
  line-height: 1.75;
  max-width: 620px;
}

/* ─── STATS ─── */
div.stats {
  background: var(--blue);
}
div.stats .stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
}

/* ─── ОБЩИЕ СТИЛИ СЕКЦИЙ ─── */
section.production,
section.geography,
section.clients,
section.timeline,
div.timeline { padding: 80px 0; }
section.timeline,
div.timeline { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.geography { background: var(--bg2); border-top: 1px solid var(--line); }

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-tag::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.section-inner > h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 40px;
}

/* ─── ABOUT TEXT (секция без класса) ─── */
section:not([class]) .section-inner p,
.section-inner .about-lead {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.8;
  max-width: 820px;
  margin-bottom: 16px;
}
.section-inner strong {
  color: var(--ink);
  font-weight: 700;
}

/* ─── ТАЙМЛАЙН ─── */
.tl-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--blue);
  margin-left: 24px;
  padding-left: 40px;
}
.tl-item {
  position: relative;
  padding-bottom: 40px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -51px;
  top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--bg2);
  box-shadow: 0 0 0 2px var(--blue);
}
.tl-year {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tl-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.tl-content p,
.tl-text {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
  max-width: 640px;
}

/* ─── ПРОИЗВОДСТВО ─── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.prod-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30,34,51,.08);
}
.prod-icon {
  width: 52px; height: 52px;
  background: rgba(46,49,146,.08);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.prod-icon svg {
  width: 26px; height: 26px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
}
.prod-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.prod-desc {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
}

/* ─── ГЕОГРАФИЯ ─── */
.geo-intro {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 32px;
}
.geo-regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.geo-region {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  transition: border-color .15s;
}
.geo-region:hover { border-color: var(--blue); }
.geo-region-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.geo-cities {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.6;
}
.geo-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink3);
  font-style: italic;
}

/* ─── КЛИЕНТЫ ─── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.client-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--ink2);
  font-weight: 500;
  transition: border-color .15s, color .15s;
}
.client-item:hover {
  border-color: var(--blue);
  color: var(--ink);
}

/* ─── CTA ─── */
div.cta {
  text-align: center;
  padding: 72px 40px;
  background: var(--blue);
  max-width: 100%;
}
div.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta p {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-bottom: 28px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, transform .15s;
  letter-spacing: -.01em;
}
.cta-btn:hover {
  background: var(--orange2);
  transform: translateY(-2px);
}

/* ─── АНИМАЦИЯ ПОЯВЛЕНИЯ ─── */
.js-ready .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Фолбэк: если JS не загрузился или observer не сработал — показываем */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ─── АДАПТИВ ─── */
@media (max-width: 900px) {
  div.stats .stats-inner { grid-template-columns: 1fr; padding: 32px 20px; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: 0 0 24px; }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .prod-grid { grid-template-columns: 1fr; }
  .geo-regions { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section.hero { padding: 56px 0; }
  .hero-inner { padding: 0 20px; }
  section.production, section.geography, section.clients, section.timeline { padding: 56px 0; }
  .section-inner { padding: 0 20px; }
  .geo-regions, .clients-grid { grid-template-columns: 1fr; }
  .tl-list { margin-left: 12px; padding-left: 24px; }
  .tl-dot { left: -35px; }
  .cta { padding: 48px 20px; }
}
