/* =============================================
   ATSY Landing — Main Styles
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: none;
  overflow-x: clip;
}
body {
  font-family: var(--font-family);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: none;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* =============================================
   HEADER
   ============================================= */
.header {
  width: 100%;
  background: var(--color-bg-primary);
}

.header__inner {
  width: 100%;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transform: translateY(-4px);
}

.header__buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Кнопка «Войти» только для мобильной версии — скрыта на десктопе */
.header__login-mobile {
  display: none;
}

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 768px) {
  .header__inner {
    padding: 16px 12px;
    justify-content: center;
  }

  .header__logo {
    transform: none;
  }

  .header__logo img {
    width: 78px;
    height: 32px;
  }

  .header__buttons {
    display: none;
  }

  .header__login-mobile {
    display: flex;
    position: absolute;
    right: 12px;
    top: 12px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px 12px;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-52);
    transition: opacity 0.15s ease;
  }

  .header__login-mobile:hover {
    opacity: 0.85;
  }

  .header__login-mobile svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
}

/* =============================================
   HERO (полноширинная секция под хедером)
   ============================================= */
.hero {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  gap: var(--gap-32);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 72vw 30.6rem at 0% 50%, rgba(150, 244, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 72vw 30.6rem at 100% 50%, rgba(255, 203, 136, 0.2) 0%, transparent 50%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-32);
  width: 100%;
  max-width: 1440px;
}

.hero__illus {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  width: 100%;
  height: 420px;
  background-image: url("../images/th-lending-hero-main.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1320px 420px;
  pointer-events: none;
}

.page-prof .hero__illus {
  background-image: url("../images/th-lending-hero-prof.png");
}

.hero__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 52px;
  line-height: 64px;
  text-align: center;
  color: var(--color-text-primary);
  margin: 0;
  padding-top: 260px;
}

.hero__title-dot {
  color: var(--color-brand-default);
}

.hero__usp {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.hero__usp-item {
  display: flex;
  align-items: center;
  gap: var(--gap-8);
}

.hero__usp-icon {
  flex-shrink: 0;
  width: 32px;
  height: auto;
  display: block;
}

.hero__usp-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: var(--color-text-primary);
  margin: 0;
}

@media (max-width: 1279px) {
  .hero__inner {
    max-width: 1200px;
  }
}

@media (max-width: 1023px) {
  .hero__inner {
    max-width: 810px;
  }

  .hero__title {
    font-size: 44px;
    line-height: 56px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: var(--gap-16);
    gap: var(--gap-32);
  }

  .hero__illus {
    height: 200px;
    background-image: url("../images/th-lending-hero-main-m.png");
    background-size: 600px 200px;
    background-position: center top;
  }

  /* На мобилке везде main-m, чтобы перебить .page-prof .hero__illus с десктопа */
  .page-prof .hero__illus {
    background-image: url("../images/th-lending-hero-main-m.png");
  }

  .hero__title {
    font-size: 26px;
    line-height: 36px;
    padding-top: 180px;
  }

  .hero__usp {
    display: none;
  }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-8);
  padding: 10px 16px;
  border-radius: var(--radius-10);
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}
.btn--secondary {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}
.btn--secondary:hover {
  background: var(--color-bg-quaternary);
}
.btn--primary {
  background: var(--color-brand-default);
  color: var(--color-text-white);
}
.btn--primary:hover {
  background: var(--color-brand-dark);
}
.btn--primary svg {
  fill: var(--color-text-white);
  filter: brightness(0) invert(1);
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* =============================================
   PAGE CONTENT (ограничение ширины только у контента, header/hero/footer — на всю ширину)
   ============================================= */
.page-content {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

/* =============================================
   SECTION (для примера с CTA)
   ============================================= */
.main-content noindex {
  display: flex;
  flex-direction: column;
  gap: var(--gap-6);
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-6);
  width: 100%;
  padding-left: var(--gap-80);
  padding-right: var(--gap-80);
}

@media (max-width: 1279px) {
  .main-content {
    padding-left: var(--gap-60);
    padding-right: var(--gap-60);
  }
}

@media (max-width: 1023px) {
  .main-content {
    padding-left: var(--gap-40);
    padding-right: var(--gap-40);
  }
}

@media (max-width: 768px) {
  .page-content {
    max-width: 600px;
  }

  .main-content {
    gap: var(--gap-24);
    padding-left: var(--gap-20);
    padding-right: var(--gap-20);
  }

  .main-content noindex {
    gap: var(--gap-24);
  }
}

.cta-steps {
  display: flex;
  flex-direction: column;
  gap: var(--gap-6);
}

.cta {
  width: 100%;
  margin: 0 auto;
}

.cta .cta-btn {
  display: flex;
}

/* =============================================
   TELEGRAM (текстовый блок внизу)
   ============================================= */
.telegram {
  width: 100%;
  /* На десктопе отступ сверху 40px (main-content gap 6 + margin 34) */
  margin-top: 34px;
}

.telegram__inner {
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-36);
  padding: var(--gap-60) var(--gap-80);
  display: flex;
  flex-direction: column;
  gap: var(--gap-24);
}

.telegram__title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 36px;
  line-height: 48px;
  margin: 0;
  color: var(--color-text-primary);
}

.telegram__content {
  display: flex;
  gap: var(--gap-80);
}

.telegram__col {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-text-primary);
}

.telegram__col p {
  margin: 0 0 var(--gap-12);
}

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

.telegram__lead {
  margin: 0 0 var(--gap-12);
}

.telegram__list {
  margin: 0 0 var(--gap-12);
  padding-left: 30px;
  list-style: decimal;
}

.telegram__list li {
  margin-bottom: var(--gap-12);
}

.telegram__list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 1279px) {
  .telegram__inner {
    padding: var(--gap-48) var(--gap-60);
  }

  .telegram__content {
    gap: var(--gap-60);
  }
}

@media (max-width: 1023px) {
  .telegram__inner {
    padding: var(--gap-40) var(--gap-48);
    gap: var(--gap-12);
  }

  .telegram__title {
    font-size: 26px;
    line-height: 36px;
  }

  .telegram__content {
    flex-direction: column;
    gap: var(--gap-12);
  }
}

@media (max-width: 768px) {
  .telegram {
    margin-top: 0;
  }

  .telegram__inner {
    padding: var(--gap-20) var(--gap-28);
    border-radius: var(--radius-20);
    gap: var(--gap-12);
  }
}

/* =============================================
   STEPS
   ============================================= */
.steps {
  width: 100%;
}

.steps__rail {
  background: var(--color-brand-default);
  border-radius: var(--radius-52);
  padding: var(--gap-20);
  display: flex;
  gap: var(--gap-6);
  position: relative;
}

.steps__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--gap-48) var(--gap-60);
  border-radius: var(--radius-36);
  background: var(--color-accent);
  color: var(--color-text-primary);
}

.steps__number {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 36px;
  line-height: 48px;
  margin: 0 0 var(--gap-16);
}

.steps__text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  margin: 0;
}

.steps__divider {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 100px;
  background: var(--color-brand-default);
  transform: translateY(-50%);
}

/* Левый — скругление только справа (со стороны 2-го шага) */
.steps__divider--left {
  left: var(--gap-20);
  border-radius: 0 var(--radius-20) var(--radius-20) 0;
}

/* Правый — скругление только слева (со стороны 2-го шага) */
.steps__divider--right {
  right: var(--gap-20);
  border-radius: var(--radius-20) 0 0 var(--radius-20);
}

.steps__mobile {
  display: none;
}

.steps-mobile__card {
  padding: var(--gap-20);
  border-radius: var(--radius-20);
  background: #ffffff;
}

.steps-mobile__number {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 26px;
  line-height: 36px;
  margin: 0 0 var(--gap-8);
  color: var(--color-text-primary);
}

.steps-mobile__text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  margin: 0;
  color: var(--color-text-primary);
}

.steps-mobile__card--1 {
  position: relative;
  padding: var(--gap-20) var(--gap-28);
  background-image: linear-gradient(148deg, #94fdb1 0%, #c4fee5 100%), linear-gradient(90deg, #ffffff 0%, #ffffff 100%);
}

.steps-mobile__card--1 .steps-mobile__illus {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48px;
  height: 48px;
}

.steps-mobile__card--2 {
  background-image: linear-gradient(0deg, rgba(0, 255, 153, 0.24) 0%, rgba(255, 174, 0, 0.24) 100%), linear-gradient(90deg, #ffffff 0%, #ffffff 100%);
}

.steps-mobile__card--3 {
  background-image: linear-gradient(158.68deg, rgba(0, 255, 94, 0.24) 31.279%, rgba(141, 146, 255, 0.24) 100%), linear-gradient(90deg, #ffffff 0%, #ffffff 100%);
}

/* Medium — паддинг рейла 12, зелёные блоки radius 40, паддинг 40/48 */
@media (max-width: 1279px) {
  .steps__rail {
    padding: var(--gap-12);
  }

  .steps__item {
    padding: var(--gap-40) var(--gap-48);
    border-radius: var(--radius-40);
  }

  .steps__divider--left {
    left: var(--gap-12);
  }

  .steps__divider--right {
    right: var(--gap-12);
  }
}

/* Small — паддинг рейла 12, зелёные блоки radius 40, паддинг 28/36 */
@media (max-width: 1023px) {
  .steps__rail {
    padding: var(--gap-12);
  }

  .steps__item {
    padding: var(--gap-28) var(--gap-36);
    border-radius: var(--radius-40);
  }
}

@media (max-width: 768px) {
  .steps__rail {
    display: none;
  }

  .steps__mobile {
    display: flex;
    flex-direction: column;
    gap: var(--gap-6);
  }

  /* Пункты 2 и 3 в одном ряду */
  .steps__mobile-row {
    display: flex;
    gap: var(--gap-6);
  }

  .steps__mobile-row .steps-mobile__card {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* =============================================
   CTA BUTTON (Main Big Button)
   ============================================= */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding: var(--gap-28) var(--gap-80);
  background: var(--color-brand-default);
  border-radius: var(--radius-52);
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 600;
  line-height: 48px;
  color: var(--color-text-white);
  text-decoration: none;
  transition: background-color 0.25s ease;
  white-space: nowrap;
}

.cta-btn:hover {
  background: var(--color-brand-dark);
}

/* Зелёный круг с плюсом (десктоп) */
.cta-btn__circle {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 6px;
  background: var(--color-accent);
  border-radius: 60px;
  transition: transform 0.25s ease;
}

.cta-btn:hover .cta-btn__circle {
  transform: translateY(-50%) scale(1.2);
}

.cta-btn__circle svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  fill: var(--color-text-primary);
  transition: transform 0.25s ease;
}

/* Компенсируем масштаб круга, чтобы плюс оставался того же размера */
.cta-btn:hover .cta-btn__circle svg {
  transform: scale(0.833);
}

/* Текст по центру */
.cta-btn__label {
  position: relative;
  z-index: 1;
}

/* Бейджи справа (десктоп) — отступ по сетке */
.cta-btn__badges {
  position: absolute;
  right: var(--gap-40);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta-btn__badge {
  display: inline-block;
  transform: rotate(6deg);
  transition: transform 0.25s ease;
}

.cta-btn__badge img {
  display: block;
  width: auto;
  height: 44px;
}

.cta-btn__badge:last-child {
  transform: rotate(-6deg);
}

.cta-btn:hover .cta-btn__badge {
  transform: rotate(-6deg);
}

.cta-btn:hover .cta-btn__badge:last-child {
  transform: rotate(6deg);
}

/* Плюс справа только для мобилки */
.cta-btn__plus-mobile {
  display: none;
}

.cta-btn__plus-mobile svg {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

/* Мобильная версия CTA */
@media (max-width: 768px) {
  .cta-btn {
    justify-content: space-between;
    padding: var(--gap-16) var(--gap-24) var(--gap-16) var(--gap-28);
    border-radius: var(--radius-36);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    text-align: left;
  }

  .cta-btn__circle,
  .cta-btn__badges {
    display: none;
  }

  .cta-btn__label {
    flex: 1;
  }

  .cta-btn__plus-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
  }
}

/* =============================================
   FEATURES (Resume, Analytics, Team)
   ============================================= */
.features {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--gap-6);
}

.features__mobile {
  display: none;
}

.features__row {
  display: flex;
  align-items: stretch;
  gap: var(--gap-6);
}

.features__row--cards {
  min-height: 0;
}

.features__card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-40);
  padding: var(--gap-60) var(--gap-80);
  border-radius: var(--radius-36);
  overflow: hidden;
}

.features__card--resume {
  background: linear-gradient(180deg, #99e7ff 0%, #33cfff 100%);
  color: var(--color-text-primary);
}

.features__card--analytics {
  background: linear-gradient(180deg, var(--color-purple) 0%, #bf72ca 100%);
  color: var(--color-text-white);
}

.features__card .features__content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-16);
}

.features__card .features__title {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  margin: 0;
  color: inherit;
}

.features__card .features__text {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  margin: 0;
  color: inherit;
  opacity: 0.95;
}

.features__illus {
  flex-shrink: 0;
  position: relative;
}

.features__illus img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom;
}

.features__illus--resume {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 400 / 360;
}

.features__illus--resume img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.features__illus--analytics {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 460 / 360;
}

.features__illus--analytics img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

/* Командная работа (десктоп) — градиент по макету */
.features__row--team {
  background: radial-gradient(
    84.58% 100% at 50% 0%,
    rgba(255, 241, 115, 0.5) 0%,
    rgba(255, 241, 115, 0) 100%
  ), var(--color-error-light);
  border-radius: var(--radius-36);
  padding: var(--gap-60) var(--gap-80);
  gap: var(--gap-40);
  position: relative;
}

.features__row--team .features__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-16);
  position: relative;
  z-index: 1;
}

.features__row--team .features__title,
.features__row--team .features__text {
  color: var(--color-text-primary);
}

.features__row--team .features__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
}

.features__row--team .features__text {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.features__row--team .features__illus--team {
  width: 620px;
  max-width: 100%;
  height: 144px;
  flex-shrink: 0;
}

.features__row--team .features__illus--team img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Medium (1200px) */
@media (max-width: 1279px) {

  .features__card {
    padding: var(--gap-48) var(--gap-60);
    gap: var(--gap-40);
  }

  .features__illus--resume {
    width: 100%;
    max-width: 356px;
  }

  .features__illus--analytics {
    width: 100%;
    max-width: 409px;
  }

  .features__row--team {
    flex-direction: column;
    padding: var(--gap-48) var(--gap-60);
    gap: var(--gap-40);
  }

  .features__row--team .features__illus--team {
    width: 534px;
    height: 124px;
  }
}

/* Small / планшет — две карточки остаются в ряд */
@media (max-width: 1023px) {
  .features__card {
    padding: var(--gap-40) var(--gap-48);
    gap: var(--gap-28);
  }

  .features__card .features__content {
    gap: var(--gap-8);
  }

  .features__card .features__title {
    font-size: 26px;
    line-height: 36px;
  }

  .features__card .features__text {
    font-size: 17px;
    line-height: 24px;
  }

  .features__illus--resume {
    width: 100%;
    max-width: 267px;
  }

  .features__illus--analytics {
    width: 100%;
    max-width: 307px;
  }

  .features__row--team {
    flex-direction: column;
    padding: var(--gap-40) var(--gap-48);
    gap: var(--gap-28);
  }

  .features__row--team .features__content {
    gap: var(--gap-8);
  }

  .features__row--team .features__title {
    font-size: 26px;
    line-height: 36px;
  }

  .features__row--team .features__text {
    font-size: 17px;
    line-height: 24px;
  }

  .features__row--team .features__illus--team {
    width: 534px;
    height: 124px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .features {
    gap: var(--gap-24);
  }

  .features__row {
    display: none;
  }

  .features__mobile {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
  }

  .features-mobile__card {
    background: #ebfff7;
    border-radius: var(--radius-20);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .features-mobile__top {
    padding: var(--gap-20) var(--gap-28);
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
    position: relative;
    background: radial-gradient(ellipse 80% 100% at 0% 0%, rgba(0, 112, 255, 0.12) 0%, transparent 60%);
  }

  /* Аналитика — свой градиент фона шапки по макету */
  .features-mobile__card:nth-child(2) .features-mobile__top {
    background: radial-gradient(
      163.14% 105.56% at 70.16% -11.27%,
      rgba(0, 112, 255, 0.12) 0%,
      rgba(0, 112, 255, 0) 60%
    );
  }

  /* Командная работа — свой градиент фона шапки по макету */
  .features-mobile__card--team .features-mobile__top {
    background: radial-gradient(
      222.44% 124.01% at 63.75% -9.94%,
      rgba(0, 112, 255, 0.12) 0%,
      rgba(0, 112, 255, 0) 60%
    );
  }

  .features-mobile__emoji {
    width: 46px;
    height: 56px;
    object-fit: contain;
  }

  .features-mobile__card:nth-child(2) .features-mobile__emoji {
    width: 51px;
  }

  .features-mobile__title {
    font-family: var(--font-family);
    font-size: 26px;
    font-weight: 700;
    line-height: 36px;
    margin: 0;
    color: var(--color-text-primary);
  }

  .features-mobile__text {
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    margin: 0;
    color: var(--color-text-primary);
  }

  .features-mobile__img-wrap {
    background: var(--color-brand-default);
    padding: var(--gap-12) var(--gap-12) 0 var(--gap-12);
    border-radius: var(--radius-28);
    box-shadow: 0 -10px 50px 0 rgba(0, 112, 255, 0.1);
    position: relative;
  }

  .features-mobile__img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 -20px 28px -20px rgba(0, 0, 0, 0.16);
    pointer-events: none;
  }

  .features-mobile__img {
    width: 100%;
    height: auto;
    aspect-ratio: 720 / 1112;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    display: block;
  }

  .features-mobile__card:nth-child(2) .features-mobile__img {
    aspect-ratio: 720 / 1148;
  }

  .features-mobile__card--team .features-mobile__img-wrap {
    display: none;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  width: 100%;
  margin-top: 40px;
  background: var(--color-bg-primary);
  box-sizing: border-box;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gap-20) var(--gap-24);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.footer__copyright {
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text-secondary);
  margin: 0;
}

.footer__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__tagline {
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text-tertiary);
  margin: 0;
}

.footer__link {
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text-tertiary);
  text-decoration: none;
}

.footer__link:hover {
  color: var(--color-text-secondary);
}

@media (max-width: 1279px) {
  .footer__inner {
    padding-left: var(--gap-24);
    padding-right: var(--gap-24);
  }
}

@media (max-width: 1023px) {
  .footer__inner {
    padding-left: var(--gap-24);
    padding-right: var(--gap-24);
  }
}

@media (max-width: 768px) {
  .footer__inner {
    padding: var(--gap-20) var(--gap-28);
  }

  .footer__tagline {
    display: none;
  }
}

/* =============================================
   TOP-BANNER (блок под хедером, Figma 14804-543391)
   ============================================= */
.top-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-left: var(--gap-80);
  padding-right: var(--gap-80);
  margin-top: 24px;
}

.top-banner__inner {
  width: 100%;
  max-width: 1440px;
}

.top-banner__card {
  position: relative;
  width: 100%;
  height: 460px;
  background-color: var(--color-brand-default);
  border-radius: 230px;
  box-shadow: inset 0 12px 28px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.top-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.top-banner__text {
  position: relative;
  z-index: 1;
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 60px;
  line-height: 72px;
  text-align: center;
  color: var(--color-text-white);
  margin: 0;
  padding: 0 var(--gap-24);
}

@media (max-width: 1279px) {
  .top-banner {
    padding-left: var(--gap-60);
    padding-right: var(--gap-60);
  }
}

@media (max-width: 1023px) {
  .top-banner {
    padding-left: var(--gap-48);
    padding-right: var(--gap-48);
  }

  .top-banner__card {
    height: 380px;
  }

  .top-banner__text {
    font-size: 44px;
    line-height: 56px;
  }
}

@media (max-width: 768px) {
  .top-banner {
    padding-left: var(--gap-20);
    padding-right: var(--gap-20);
    margin-top: 0;
  }

  .page-prof .top-banner {
    margin-bottom: 24px;
  }

  .top-banner__inner {
    max-width: 600px;
    margin: 0 auto;
  }

  .top-banner__card {
    height: 220px;
    border-radius: var(--radius-28);
  }

  .top-banner__text {
    font-size: 26px;
    line-height: 36px;
    padding: 0 var(--gap-16);
  }
}
