.hub-skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.hub-skip-link:focus {
  transform: translateY(0);
}

.hub-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 20px;
}

.hub-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(35px, 6vw, 75px);
  align-items: center;
  min-height: 520px;
  padding: clamp(32px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid #e1e6ec;
  border-radius: 30px;
  background:
    radial-gradient(circle at 4% 0%, rgba(220, 38, 38, 0.075), transparent 24rem),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.065);
}

.hub-kicker {
  color: #dc2626;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hub-hero h1 {
  max-width: 720px;
  margin: 14px 0 20px;
  font-size: clamp(44px, 5.8vw, 70px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hub-hero p {
  max-width: 650px;
  margin: 0;
  color: #5f6b7a;
  font-size: 18px;
  line-height: 1.7;
}

.hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hub-visual {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.045), transparent 35%),
    #101827;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.2);
}

.hub-visual::before {
  position: absolute;
  top: -120px;
  right: -110px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.25);
  content: "";
  filter: blur(24px);
  pointer-events: none;
}

.hub-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  min-height: 78px;
  margin: 8px 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
}

.hub-step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.17);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 900;
}

.hub-step strong {
  display: block;
  margin-bottom: 3px;
}

.hub-step small {
  color: #aeb8c6;
  line-height: 1.4;
}

.hub-section {
  margin: 84px 0;
}

.hub-section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 26px;
}

.hub-section h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.hub-section-head p {
  margin: 0;
  color: #5f6b7a;
  line-height: 1.65;
}

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

.hub-card {
  position: relative;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: linear-gradient(150deg, #fff, #fbfcfe);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hub-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: #dc2626;
  content: "";
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hub-card:hover {
  transform: translateY(-4px);
  border-color: #f0a7a7;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.hub-card:hover::before,
.hub-card:focus-visible::before {
  opacity: 1;
}

.hub-card-tag {
  color: #dc2626;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-card h3 {
  margin: auto 0 8px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.hub-card p {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.6;
}

.hub-card-link {
  color: #dc2626;
  font-size: 12px;
  font-weight: 850;
}

.hub-principle {
  position: relative;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 19px;
  background: linear-gradient(145deg, #fff, #fbfcfe);
}

.hub-principle::before {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #dc2626;
  content: "";
}

.hub-principle strong {
  display: block;
  margin-bottom: 8px;
}

.hub-principle p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.hub-skip-link:focus-visible,
.hub-actions .btn:focus-visible,
.hub-card:focus-visible {
  outline: 3px solid rgba(220, 38, 38, 0.38);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hub-hero {
    grid-template-columns: 1fr;
  }

  .hub-visual {
    max-width: 680px;
  }

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

  .hub-principles,
  .hub-section-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hub-main {
    width: calc(100% - 24px);
    padding-top: 34px;
  }

  .hub-hero {
    gap: 34px;
    min-height: 0;
    padding: 26px 20px;
    border-radius: 22px;
  }

  .hub-hero h1 {
    font-size: clamp(40px, 13vw, 55px);
  }

  .hub-hero p {
    font-size: 16px;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card {
    min-height: 210px;
  }

  .hub-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-card {
    transition: none;
  }

  .hub-card:hover {
    transform: none;
  }
}
