/* /achievement/ - редизайн раздела достижений */

.main--achievement-hub {
  margin-bottom: 0;
}

.main--achievement-hub .page-top {
  margin-bottom: 0;
}

.main--achievement-hub .page-title {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
}

.main--achievement-hub .breadcrumbs {
  margin-bottom: 0;
  font-family: Inter-Fallback, system-ui, sans-serif;
}

.achievement-hub {
  --ah-ink: #14161d;
  --ah-ink-70: #3d4250;
  --ah-ink-50: #6b7280;
  --ah-surface: #f3f5f8;
  --ah-line: #e4e8ee;
  --ah-accent: #15a05a;
  --ah-accent-700: #0f7d45;
  --ah-accent-50: #e9f6ef;
  --ah-gold: #c79a26;
  --ah-gold-bg: #faf0d2;
  --ah-navy: #0f1320;
  --ah-r: 16px;
  --ah-r-sm: 10px;
  --ah-font-display: "Inter Tight-Fallback", system-ui, sans-serif;
  --ah-font-body: Inter-Fallback, system-ui, sans-serif;
  color: var(--ah-ink);
  font-family: var(--ah-font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.achievement-hub__hero {
  padding: 8px 0 12px;
  position: relative;
  overflow: hidden;
}

.achievement-hub__hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(21, 160, 90, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.achievement-hub__intro {
  max-width: 720px;
  position: relative;
}

.achievement-hub__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--ah-accent-50);
  color: var(--ah-accent-700);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.achievement-hub__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ah-accent);
  box-shadow: 0 0 0 0 rgba(21, 160, 90, 0.5);
  animation: achievement-hub-pulse 2.2s infinite;
}

@keyframes achievement-hub-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 160, 90, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(21, 160, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(21, 160, 90, 0);
  }
}

.achievement-hub__title {
  font-family: var(--ah-font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.8vw, 50px);
  line-height: 1.06;
  letter-spacing: -1.4px;
  margin: 0 0 18px;
}

.achievement-hub__title em {
  font-style: normal;
  color: var(--ah-accent);
}

.achievement-hub__lead {
  color: var(--ah-ink-70);
  font-size: 17px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0;
}

.achievement-hub__trust {
  padding: 8px 0 48px;
}

.achievement-hub__trust .container {
  padding-top: 0;
  padding-bottom: 0;
}

.achievement-hub__trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 18px;
}

.achievement-hub__trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.achievement-hub__trust-num {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -1px;
  color: var(--ah-ink);
}

.achievement-hub__trust-num span {
  color: var(--ah-accent);
}

.achievement-hub__trust-txt {
  font-size: 13px;
  color: var(--ah-ink-50);
  line-height: 1.4;
}

.achievement-hub__years {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.achievement-hub__year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--ah-line);
  background: #fff;
  color: var(--ah-ink-70);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.achievement-hub__year:hover {
  border-color: var(--ah-accent);
  color: var(--ah-accent-700);
}

.achievement-hub__year--active {
  background: var(--ah-accent-50);
  border-color: var(--ah-accent);
  color: var(--ah-accent-700);
}

.achievement-hub__block {
  padding: 0 0 72px;
}

.achievement-hub__block--surface {
  background: var(--ah-surface);
  padding: 56px 0 72px;
}

.achievement-hub__sec-head {
  margin-bottom: 28px;
}

.achievement-hub__label {
  display: inline-block;
  color: var(--ah-accent);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 10px;
}

.achievement-hub__sec-title {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 34px);
  letter-spacing: -0.8px;
  margin: 0 0 10px;
}

.achievement-hub__sec-sub {
  color: var(--ah-ink-70);
  font-size: 15px;
  margin: 0;
  max-width: 560px;
}

.achievement-hub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.achievement-hub__card {
  background: #fff;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-r);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.achievement-hub__card:hover {
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(20, 22, 29, 0.1);
  transform: translateY(-3px);
  color: inherit;
}

.achievement-hub__card--gold {
  background: linear-gradient(180deg, #fff, #fbf6e9);
  border-color: #ecdcae;
}

.achievement-hub__card--prize:not(.achievement-hub__card--gold) {
  border-color: #c8e6d4;
}

.achievement-hub__card--cert {
  background: #fff;
}

.achievement-hub__card-img {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 88px;
}

.achievement-hub__card-img img {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.achievement-hub__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.achievement-hub__place {
  font-family: var(--ah-font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--ah-accent);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.achievement-hub__card--gold .achievement-hub__place {
  color: var(--ah-gold);
}

.achievement-hub__place small {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.achievement-hub__medal {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ah-accent-50);
  color: var(--ah-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.achievement-hub__card--gold .achievement-hub__medal {
  background: var(--ah-gold-bg);
  color: var(--ah-gold);
}

.achievement-hub__medal svg {
  width: 27px;
  height: 27px;
}

.achievement-hub__card-year {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ah-ink-50);
}

.achievement-hub__card-cat {
  font-family: var(--ah-font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 0;
}

.achievement-hub__card-src {
  font-size: 13px;
  color: var(--ah-ink-70);
  margin: 0;
}

.achievement-hub__cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.achievement-hub__cert {
  background: #fff;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-r);
  padding: 28px;
}

.achievement-hub__cert-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ah-accent-50);
  color: var(--ah-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.achievement-hub__cert-ic svg {
  width: 24px;
  height: 24px;
}

.achievement-hub__cert h3 {
  font-family: var(--ah-font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
}

.achievement-hub__cert p {
  color: var(--ah-ink-70);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.achievement-hub__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.achievement-hub__tl-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ah-line);
  align-items: center;
}

.achievement-hub__tl-row:last-child {
  border-bottom: none;
}

.achievement-hub__tl-year {
  font-family: var(--ah-font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--ah-ink);
  letter-spacing: -0.5px;
}

.achievement-hub__tl-body {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.achievement-hub__tl-place {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--ah-accent);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.achievement-hub__tl-place--gold {
  background: var(--ah-gold);
}

.achievement-hub__tl-text {
  font-size: 14.5px;
  color: var(--ah-ink-70);
  margin: 0;
}

.achievement-hub__empty {
  padding: 32px;
  border: 1px dashed var(--ah-line);
  border-radius: var(--ah-r);
  color: var(--ah-ink-50);
  text-align: center;
}

.achievement-hub__cta {
  background: var(--ah-navy);
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  margin: 0;
}

.achievement-hub__cta::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(21, 160, 90, 0.4) 0%, transparent 65%);
  pointer-events: none;
}

.achievement-hub__cta .container {
  position: relative;
  text-align: center;
}

.achievement-hub__cta-title {
  font-family: var(--ah-font-display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.9px;
  margin: 0 0 12px;
  color: #fff;
  position: relative;
}

.achievement-hub__cta-text {
  color: #9aa3b6;
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
}

.achievement-hub__cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.achievement-hub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: var(--ah-r-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.achievement-hub__btn--white {
  background: #fff;
  color: var(--ah-ink);
}

.achievement-hub__btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  color: var(--ah-ink);
}

.achievement-hub__btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.achievement-hub__btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

@media (min-width: 600px) {
  .achievement-hub__trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .achievement-hub__cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 980px) {
  .achievement-hub__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .achievement-hub__block {
    padding-bottom: 48px;
  }

  .achievement-hub__tl-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
