.about-page {
  overflow-x: hidden;
}

.about-top-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 120px 0;
  overflow-x: clip;
  background-image: url("../../img/about-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.about-top-hero .container {
  position: relative;
  z-index: 1;
}

.about-top-hero__content {
  max-width: 700px;
}

.about-top-hero__content[data-aos] {
  transform-origin: center bottom;
}

.about-top-hero__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  max-width: 650px;
}

.register-company-section {
  background: #fafafa;
  overflow-x: clip;

  .register-company-section__header {
    margin: 0 auto 34px;
  }

  .register-company-section__rows {
    display: grid;
    gap: 18px;
  }

  .register-company-section__track-wrap {
    position: relative;
    overflow: hidden;

    &::before,
    &::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      width: 72px;
      z-index: 1;
      pointer-events: none;
    }

    &::before {
      left: 0;
      background: linear-gradient(90deg, #fafafa 0%, transparent 100%);
    }

    &::after {
      right: 0;
      background: linear-gradient(270deg, #fafafa 0%, transparent 100%);
    }
  }

  .register-company-section__track {
    width: max-content;
    display: flex;
    align-items: center;
    animation: register-company-scroll 28s linear infinite;
    will-change: transform;
  }

  .register-company-section__group {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
    padding-right: 40px;
  }

  .register-company-section__item {
    width: clamp(260px, 24vw, 320px);
    min-width: clamp(260px, 24vw, 320px);
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .register-company-section__image {
    width: 84px;
    min-width: 84px;
    height: auto;
    display: block;
    object-fit: contain;
  }

  .register-company-section__text-group {
    flex: 1;

    span {
      display: block;
      color: var(--medium-gray);
      font-size: 0.8rem;
      line-height: 1.45;
    }
  }
}

.about-growth-section {
  padding: 34px 0 0;
  overflow-x: clip;

  .about-growth-section__panel {
    position: relative;
    overflow: hidden;
    padding: 52px clamp(22px, 4vw, 56px);
    background:
      radial-gradient(
        circle at top right,
        rgba(38, 48, 56, 0.04),
        transparent 26%
      ),
      radial-gradient(
        circle at left top,
        rgba(38, 48, 56, 0.03),
        transparent 32%
      ),
      linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(rgba(38, 48, 56, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(38, 48, 56, 0.03) 1px, transparent 1px);
      background-size: 34px 34px;
      pointer-events: none;
    }
  }

  .about-growth-section__content,
  .about-growth-section__visual,
  .about-growth-section__metrics {
    position: relative;
    z-index: 1;
  }

  .about-growth-section__content {
    max-width: 560px;
  }

  .about-growth-section__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #0f6b4d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .about-growth-section__title {
    margin: 0 0 18px;
    color: var(--darkest-blue-gray);
    font-family: "Satoshi", "Poppins", sans-serif;
    font-size: clamp(2.3rem, 4vw, 4.7rem);
    line-height: 0.98;
    font-weight: 700;

    span {
      display: block;
      margin-top: 6px;
      color: var(--secondary-lime);
      font-weight: 500;
    }
  }

  .about-growth-section__text {
    margin: 0;
    max-width: 520px;
    color: var(--dark-blue-gray);
    font-size: var(--fs-base);
    line-height: 1.8;
  }

  .about-growth-section__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
  }

  .about-growth-section__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 176px;
    padding: 14px 24px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition:
      transform 0.25s ease,
      border-color 0.25s ease,
      background 0.25s ease,
      color 0.25s ease;

    &:hover {
      transform: translateY(-2px);
    }

    &.about-growth-section__btn--primary {
      background: var(--secondary-lime);
      color: var(--dark-blue-gray);

      &:hover {
        background: #d9e668;
        color: var(--dark-blue-gray);
      }
    }

    &.about-growth-section__btn--secondary {
      background: #ffffff;
      border-color: rgba(15, 107, 77, 0.16);
      color: #0f6b4d;
      box-shadow: 0 10px 24px rgba(38, 48, 56, 0.06);

      &:hover {
        background: #f3f8f4;
        border-color: rgba(15, 107, 77, 0.28);
        color: #0f6b4d;
      }
    }
  }

  .about-growth-section__visual {
    position: relative;
    min-height: 100%;
    padding: 18px 0 32px;
  }

  .about-growth-section__image-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(38, 48, 56, 0.08);
    border-radius: 28px;
    box-shadow: 0 24px 44px rgba(38, 48, 56, 0.12);

    &::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(7, 19, 15, 0.02), rgba(7, 19, 15, 0.18)),
        radial-gradient(
          circle at top left,
          rgba(255, 255, 255, 0.02),
          transparent 34%
        );
      pointer-events: none;
    }
  }

  .about-growth-section__image-wrap[data-aos] {
    transform-origin: center center;
  }

  .about-growth-section__image {
    width: 100%;
    min-height: 460px;
    object-fit: cover;
    display: block;
  }

  .about-growth-section__floating-card {
    position: absolute;
    max-width: 250px;
    padding: 16px 18px;
    border: 1px solid rgba(38, 48, 56, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 34px rgba(38, 48, 56, 0.12);
    color: var(--darkest-blue-gray);
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease;

    strong {
      display: block;
      font-size: 0.95rem;
      line-height: 1.55;
      font-weight: 600;
    }

    &.about-growth-section__floating-card--top {
      top: 0;
      right: -12px;
    }

    &.about-growth-section__floating-card--bottom {
      left: -12px;
      bottom: 0;
    }
  }

  .about-growth-section__floating-card.aos-animate:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 38px rgba(38, 48, 56, 0.16);
  }

  .about-growth-section__floating-label {
    display: inline-block;
    margin-bottom: 6px;
    color: #0f6b4d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .about-growth-section__metrics {
    margin-top: 28px;
  }

  .about-growth-section__metric-card {
    height: 100%;
    padding: 22px 18px;
    border: 1px solid rgba(38, 48, 56, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
    box-shadow: 0 12px 28px rgba(38, 48, 56, 0.06);

    h3 {
      margin: 0 0 8px;
      color: #0f5d46;
      font-family: "Satoshi", "Poppins", sans-serif;
      font-size: clamp(2rem, 3vw, 2.7rem);
      font-weight: 700;
    }

    p {
      margin: 0;
      color: #5d7b6f;
      font-size: 0.88rem;
      font-weight: 500;
    }
  }
}

.about-overview-section {
  overflow-x: clip;

  .about-overview-section__row + .about-overview-section__row {
    margin-top: 44px;
  }

  .about-overview-section__image-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 22px 44px rgba(38, 48, 56, 0.1);
  }

  .about-overview-section__image {
    width: 100%;
    min-height: 300px;
    max-height: 360px;
    object-fit: cover;
    display: block;
  }

  .about-overview-section__content {
    padding-inline: 8px;
  }

  .about-overview-section__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #0f6b4d;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .about-overview-section__title {
    margin: 0 0 16px;
    color: var(--darkest-blue-gray);
    font-family: "Satoshi", "Poppins", sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.08;
  }

  .about-overview-section__text {
    margin: 0;
    color: var(--medium-gray);
    font-size: var(--fs-base);
    line-height: 1.8;
  }
}

.about-summary-section {
  overflow-x: clip;

  .about-summary-section__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    padding: 48px 24px;
    background-image: url("../../img/quick-summary.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 24px 54px rgba(6, 20, 16, 0.16);
  }

  .about-summary-section__content {
    max-width: 760px;
  }

  .about-summary-section__content [data-aos] {
    transform-origin: center center;
  }

  .about-summary-section__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .about-summary-section__title {
    margin: 0;
    color: #ffffff;
    font-family: "Satoshi", "Poppins", sans-serif;
    font-size: clamp(2.2rem, 3vw, 4.3rem);
    font-weight: 700;
    line-height: 1.14;

    span {
      display: block;
      margin-top: 8px;
    }
  }

  .about-summary-section__button {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 8px 8px 8px 24px;
    border-radius: 999px;
    background: var(--secondary-lime);
    color: var(--dark-blue-gray);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      background 0.25s ease;

    &:hover {
      transform: translateY(-2px);
      background: #d8e85f;
      color: var(--dark-blue-gray);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
    }
  }

  .about-summary-section__button-icon {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(38, 48, 56, 0.88);
    color: #ffffff;
    font-size: 1rem;
    flex-shrink: 0;
  }
}

[data-aos="fade-up"],
[data-aos="fade-right"],
[data-aos="fade-left"],
[data-aos="zoom-in"],
[data-aos="zoom-in-up"],
[data-aos="zoom-out"] {
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.register-company-section__rows[data-aos] {
  backface-visibility: hidden;
  will-change: transform, opacity;
}

@keyframes register-company-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .about-top-hero {
    min-height: 420px;
    padding: 80px 0;
  }

  .register-company-section {
    .register-company-section__header {
      margin-bottom: 26px;
    }

    .register-company-section__rows {
      gap: 14px;
    }

    .register-company-section__track-wrap {
      &::before,
      &::after {
        width: 36px;
      }
    }

    .register-company-section__group {
      gap: 22px;
      padding-right: 22px;
    }

    .register-company-section__item {
      width: 240px;
      min-width: 240px;
      gap: 10px;
    }

    .register-company-section__image {
      width: 64px;
      min-width: 64px;
    }

    .register-company-section__text-group {
      text-align: left;
    }

    .register-company-section__text-group span {
      font-size: 0.72rem;
      line-height: 1.4;
    }
  }

  .about-growth-section {
    padding-top: 24px;

    .about-growth-section__panel {
      padding: 32px 18px;
      border-radius: 22px;
    }

    .about-growth-section__title {
      line-height: 1.02;
    }

    .about-growth-section__actions {
      flex-direction: column;
      align-items: stretch;
    }

    .about-growth-section__btn {
      width: 100%;
    }

    .about-growth-section__image {
      min-height: 320px;
    }

    .about-growth-section__floating-card {
      position: static;
      max-width: 100%;
      margin-top: 14px;
    }

    .about-growth-section__metric-card {
      padding: 18px 16px;
    }
  }

  .about-overview-section {
    .about-overview-section__image {
      min-height: 240px;
      max-height: 280px;
    }
  }

  .about-summary-section {
    .about-summary-section__panel {
      min-height: 320px;
      padding: 36px 18px;
      border-radius: 24px;
      background-position: 58% center;
    }

    .about-summary-section__title {
      line-height: 1.18;
    }

    .about-summary-section__button {
      width: 100%;
      justify-content: space-between;
      padding-left: 20px;
    }
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .about-growth-section {
    .about-growth-section__floating-card {
      &.about-growth-section__floating-card--top {
        right: 12px;
      }

      &.about-growth-section__floating-card--bottom {
        left: 12px;
      }
    }
  }
}
