/* Защита от горизонтального скролла */
html, body { overflow-x: hidden; max-width: 100vw; }

.bg-light {
  background-color: var(--surfaceCard) !important;
  color: var(--textPrimary) !important;
}

.bg-dark {
  background-color: var(--surface) !important;
  color: var(--textPrimary) !important;
}

.about-hero {
  background: var(--gradientHero);
  border-radius: var(--radiusLg);
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  border: 1px solid var(--surfaceBorder);
}

.about-hero h1 {
  color: var(--textPrimary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-hero .lead {
  color: var(--textSecondary);
  font-size: 1.15rem;
  max-width: 700px;
}

.section-heading {
  color: var(--textPrimary);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.section-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradientAccent);
  border-radius: 2px;
  margin-top: 0.5rem;
}

.value-card {
  background: var(--surfaceCard);
  border: 1px solid var(--surfaceBorder);
  border-radius: var(--radiusLg);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}

.value-card:hover {
  box-shadow: var(--shadowAccent);
}

.value-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--gradientAccent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.value-card .icon-wrap i {
  font-size: 1.5rem;
  color: #fff;
}

.value-card h3 {
  color: var(--textPrimary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--textSecondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.stat-highlight {
  background: var(--gradientCard);
  border: 1px solid var(--surfaceBorder);
  border-radius: var(--radiusLg);
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat-highlight .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-highlight .stat-lbl {
  color: var(--textSecondary);
  font-size: 0.9rem;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  padding-bottom: 1.75rem;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: -8.5px;
  top: 4px;
}

.timeline-item h3 {
  color: var(--textPrimary);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.timeline-item p {
  color: var(--textSecondary);
  font-size: 0.94rem;
  margin-bottom: 0;
}

.timeline-year {
  display: inline-block;
  background: var(--gradientAccent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
}

.license-block {
  background: var(--surfaceElevated);
  border: 1px solid var(--surfaceBorder);
  border-radius: var(--radiusLg);
  padding: 2rem;
}

.license-block h2 {
  color: var(--textPrimary);
}

.license-block p {
  color: var(--textSecondary);
}

.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surfaceCard);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 1rem;
}

.cta-block {
  background: var(--gradientHero);
  border: 1px solid var(--surfaceBorder);
  border-radius: var(--radiusLg);
  padding: 2.5rem 2rem;
  text-align: center;
}

.cta-block h2 {
  color: var(--textPrimary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-block p {
  color: var(--textSecondary);
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: var(--gradientAccent);
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 2rem;
  font-weight: 600;
  color: #fff;
  transition: box-shadow 0.2s, opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: var(--shadowAccent);
  color: #fff;
}

.table {
  color: var(--textPrimary);
  border-color: var(--surfaceBorder);
}

.table thead {
  background: var(--surfaceCard);
  border-bottom: 2px solid var(--surfaceBorder);
}

.table tbody tr {
  border-color: var(--surfaceBorder);
}

.table tbody tr:nth-of-type(odd) {
  background-color: var(--surfaceCard);
}

.table tbody tr:nth-of-type(even) {
  background-color: var(--surface);
}

p, li {
  color: var(--textSecondary);
}

h2 {
  color: var(--textPrimary);
}