@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,500;0,600;0,700;1,300&display=swap");

:root {
  --color-light-gray: #E7E7E7;
  --color-accent: #FEE5A5;
  --color-dark-gray: #3D3D3D;
  --color-almost-black: #262627;

  --font-base: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-base);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-light-gray);
  background: radial-gradient(circle at top left, #3D3D3D 0, #262627 40%, #000 100%);
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.page__inner {
  flex: 1 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(90deg, rgba(14, 14, 15, 0.95), rgba(38, 38, 39, 0.95));
  border-bottom: 1px solid rgba(231, 231, 231, 0.08);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  width: 140px;
  height: auto;
}

.brand__tagline {
  font-size: 0.9rem;
  color: rgba(231, 231, 231, 0.72);
  max-width: 13rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(231, 231, 231, 0.86);
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), #ffffff);
  transition: width 0.2s ease-out;
}

.main-nav__link--active::after,
.main-nav__link:hover::after {
  width: 100%;
}

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem 2rem;
  border-radius: 1.25rem;
  background: radial-gradient(circle at top left, rgba(254, 229, 165, 0.08), rgba(61, 61, 61, 0.8));
  border: 1px solid rgba(231, 231, 231, 0.06);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  margin-bottom: 2.5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(254, 229, 165, 0.95);
  margin-bottom: 0.75rem;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-accent);
}

.hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 2.2vw + 1.4rem, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.hero__subtitle {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(231, 231, 231, 0.92);
}

.hero__text {
  margin: 0.5rem 0 1.25rem;
  font-size: 0.98rem;
  color: rgba(231, 231, 231, 0.82);
}

.hero__accent-box {
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: rgba(14, 14, 15, 0.9);
  border: 1px solid rgba(254, 229, 165, 0.35);
  font-size: 0.9rem;
  color: rgba(231, 231, 231, 0.85);
}

.hero__side {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(14, 14, 15, 0.8);
  border: 1px solid rgba(231, 231, 231, 0.16);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(231, 231, 231, 0.86);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--color-accent), #ffffff);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-card {
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(14, 14, 15, 0.88);
  border: 1px solid rgba(231, 231, 231, 0.13);
}

.stat-card__label {
  font-size: 0.8rem;
  color: rgba(231, 231, 231, 0.64);
  margin-bottom: 0.25rem;
}

.stat-card__value {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0.75rem;
}

.btn-sta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font-base);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, color 0.12s ease-out;
}

.btn-sta--primary {
  background: linear-gradient(135deg, var(--color-accent), #ffffff);
  color: #1a1a1a;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.btn-sta--ghost {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid rgba(254, 229, 165, 0.5);
}

.btn-sta__icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #000, rgba(0, 0, 0, 0.2));
  position: relative;
}

.btn-sta__icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, #ffffff, var(--color-accent));
}

.btn-sta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.btn-sta:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.section {
  margin-bottom: 2.5rem;
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.section__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.section__kicker {
  font-size: 0.85rem;
  color: rgba(231, 231, 231, 0.7);
}

.section__body {
  background: rgba(14, 14, 15, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(231, 231, 231, 0.12);
  padding: 1.2rem 1.25rem 1.25rem;
}

.section__body + .cta-row {
  margin-top: 1.1rem;
}

.content p {
  margin: 0 0 0.7rem;
  font-size: 0.96rem;
  color: rgba(231, 231, 231, 0.86);
}

.content p:last-child {
  margin-bottom: 0;
}

.content strong {
  font-weight: 600;
}

.content h2,
.content h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.content h2:first-child,
.content h3:first-child {
  margin-top: 0;
}

.content ul {
  margin: 0.4rem 0 0.8rem 1.2rem;
  padding: 0;
  list-style: disc;
  color: rgba(231, 231, 231, 0.86);
  font-size: 0.96rem;
}

.content li {
  margin: 0.1rem 0 0.1rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.3rem 0 0.4rem;
  font-size: 0.9rem;
}

.table th,
.table td {
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid rgba(231, 231, 231, 0.08);
  vertical-align: top;
}

.table th {
  font-weight: 600;
  text-align: left;
  color: rgba(231, 231, 231, 0.9);
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: none;
}

.table--compact th,
.table--compact td {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.note {
  margin-top: 0.6rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(254, 229, 165, 0.06);
  border: 1px dashed rgba(254, 229, 165, 0.45);
  font-size: 0.86rem;
  color: rgba(231, 231, 231, 0.85);
}

.section-media {
  margin: 0.8rem 0 0.8rem;
  border-radius: 1rem;
  overflow: hidden;
  text-align: center;
}

.section-media img {
  display: block;
  margin: 0 auto;
  height: auto;
  max-width: 100%;
}

.section-media--stacked img + img {
  margin-top: 0.5rem;
}

.site-footer {
  border-top: 1px solid rgba(231, 231, 231, 0.12);
  background: linear-gradient(90deg, #111112, #1a1a1b);
  padding: 1.1rem 1.25rem 1.3rem;
  color: rgba(231, 231, 231, 0.7);
  font-size: 0.8rem;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-footer__link {
  color: rgba(231, 231, 231, 0.8);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer__meta span {
  opacity: 0.8;
}

/* ── Tablet ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.1rem 1rem 1.5rem;
    margin-bottom: 2rem;
  }

  .hero__side {
    order: -1;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-header__inner {
    padding-inline: 1rem;
  }

  .site-main {
    padding: 1.25rem 1rem 2.5rem;
  }

  .section__title {
    font-size: 1.1rem;
  }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  html {
    font-size: 15px;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 0.9rem;
    gap: 0.5rem;
  }

  .brand__logo {
    width: 110px;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
  }

  .main-nav__link {
    font-size: 0.7rem;
  }

  .site-main {
    padding: 1rem 0.9rem 2rem;
  }

  .hero {
    padding: 0.9rem 0.9rem 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 0.9rem;
  }

  .hero__title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }

  .hero__subtitle {
    font-size: 0.95rem;
  }

  .hero__text {
    font-size: 0.9rem;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .stat-card {
    padding: 0.6rem 0.7rem;
  }

  .stat-card__value {
    font-size: 0.85rem;
  }

  .section {
    margin-bottom: 1.75rem;
  }

  .section__title {
    font-size: 1rem;
  }

  .section__body {
    padding: 0.9rem 0.9rem 1rem;
  }

  .content p,
  .content ul {
    font-size: 0.88rem;
  }

  /* Таблицы: прокрутка только внутри блока, не вся страница */
  .section__body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table {
    min-width: 360px;
    font-size: 0.8rem;
  }

  .table th,
  .table td {
    padding: 0.35rem 0.4rem;
  }

  .btn-sta {
    font-size: 0.8rem;
    padding: 0.55rem 1rem;
  }

  .cta-row {
    gap: 0.5rem;
  }

  .section-media {
    border-radius: 0.7rem;
    margin: 0.6rem 0;
  }

  .site-footer {
    padding: 0.9rem 0.9rem 1rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
