/* ==========================
   ABOUT PAGE
   ========================== */

.about-page {
  --r: #e9332b;
  --rs: #fff0ed;

  --g: #88be21;
  --gd: #66980f;
  --gs: #eff8df;

  --o: #ffad24;

  --ink: #25211f;
  --mut: #6f6862;
  --line: #e8e1d9;

  --shadow: 0 16px 44px #4b312316;

  color: var(--ink);
  background: #fff;
}


/* HERO */

.about-hero {
  padding: 65px 0 45px;

  background:
    radial-gradient(
      circle at 85% 15%,
      #eff9dc,
      transparent 28%
    ),
    linear-gradient(
      #fffdf8,
      #fff
    );
}

.about-hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    390px;

  gap: 55px;
  align-items: center;
}


.about-kicker {
  display: inline-flex;
  align-items: center;

  min-height: 25px;

  padding: 4px 10px;

  border-radius: 20px;

  background: var(--rs);
  color: var(--r);

  font-size: 10px;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
}


.about-hero h1 {
  max-width: 780px;

  margin: 15px 0 16px;

  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}


.about-lead {
  max-width: 760px;

  color: var(--mut);

  font-size: 16px;
  line-height: 1.65;
}

.about-lead p {
  margin: 0 0 10px;
}

.about-lead p:last-child {
  margin-bottom: 0;
}


/* STATS */

.about-stats {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  margin-top: 27px;
}

.about-stat {
  min-width: 150px;

  padding: 13px 16px;

  border: 1px solid var(--line);
  border-radius: 11px;

  background: #fff;
}

.about-stat strong {
  display: block;

  color: var(--ink);

  font-size: 19px;
  line-height: 1.2;
}

.about-stat span {
  display: block;

  margin-top: 3px;

  color: var(--mut);

  font-size: 9px;
}


/* DARK HERO CARD */

.about-hero-card {
  padding: 26px;

  border-radius: 17px;

  color: #fff;

  background:
    linear-gradient(
      145deg,
      #302d2b,
      #4b3d36
    );

  box-shadow: var(--shadow);
}

.about-card-icon {
  width: 43px;
  height: 43px;

  display: grid;
  place-items: center;

  margin-bottom: 18px;

  border-radius: 11px;

  background: var(--gs);
  color: var(--gd);

  font-size: 18px;
  font-weight: 800;
}


.about-hero-card > strong {
  display: block;

  margin-bottom: 8px;

  font-size: 22px;
  line-height: 1.25;
}

.about-hero-card > p {
  margin: 0;

  color: #d5cbc5;

  font-size: 12px;
  line-height: 1.6;
}


.about-manager {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-top: 20px;
  padding-top: 18px;

  border-top: 1px solid #ffffff1d;
}

.about-manager i {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background: var(--gs);
  color: var(--gd);

  font-style: normal;
  font-size: 15px;
  font-weight: 800;
}

.about-manager b,
.about-manager a {
  display: block;
}

.about-manager b {
  margin-bottom: 2px;

  font-size: 11px;
}

.about-manager a {
  color: #fff;

  font-size: 12px;
  font-weight: 700;
}


/* ==========================
   GALLERY
   ========================== */

.about-gallery-section {
  padding: 15px 0 70px;
}

.about-gallery {
  display: grid;

  grid-template-columns:
    1.35fr
    1fr
    1fr;

  grid-template-rows:
    225px
    225px;

  gap: 12px;
}


.about-gallery-item {
  position: relative;

  overflow: hidden;

  border-radius: 14px;

  background: #f7f4ef;
}

.about-gallery-main {
  grid-row: 1 / 3;
}


.about-gallery-item:nth-child(4) {
  grid-column: 2 / 4;
}


.about-gallery-item img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform .35s ease;
}

.about-gallery-item:hover img {
  transform: scale(1.025);
}


/* ==========================
   COMMON SECTION HEADER
   ========================== */

.about-section-head {
  max-width: 700px;

  margin-bottom: 27px;
}

.about-section-head h2 {
  margin: 11px 0 7px;

  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.about-section-head p {
  margin: 0;

  color: var(--mut);

  font-size: 13px;
  line-height: 1.6;
}


/* ==========================
   BENEFITS
   ========================== */

.about-benefits {
  padding: 65px 0;

  background: #faf9f7;
}


.about-benefits-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 12px;
}


.about-benefit {
  min-width: 0;

  padding: 22px;

  border: 1px solid var(--line);
  border-radius: 13px;

  background: #fff;
}


.about-benefit-accent {
  background:
    linear-gradient(
      145deg,
      #f3fae8,
      #fff
    );
}


.about-benefit i {
  width: 39px;
  height: 39px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background: var(--gs);
  color: var(--gd);

  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}


.about-benefit h3 {
  margin: 15px 0 6px;

  font-size: 15px;
  line-height: 1.3;
}

.about-benefit p {
  margin: 0;

  color: var(--mut);

  font-size: 11px;
  line-height: 1.6;
}


/* ==========================
   CLIENTS
   ========================== */

.about-clients {
  padding: 70px 0;
}


.about-client-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 13px;
}


.about-client-logo {
  height: 125px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  border: 1px solid var(--line);
  border-radius: 13px;

  background: #fff;

  transition:
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}


.about-client-logo:hover {
  transform: translateY(-2px);

  border-color: #d7cdc3;

  box-shadow: 0 10px 30px #4b31230d;
}


.about-client-logo img {
  width: auto;
  height: auto;

  max-width: 180px;
  max-height: 70px;

  object-fit: contain;
}


/* ==========================
   CTA
   ========================== */

.about-bottom {
  padding: 0 0 70px;
}


.about-cta {
  display: flex;
  align-items: center;

  gap: 30px;

  padding: 27px 29px;

  border-radius: 15px;

  color: #fff;

  background:
    linear-gradient(
      135deg,
      var(--r),
      #c8241e
    );
}


.about-cta h2 {
  margin: 0;

  font-size: 24px;
  line-height: 1.2;
}

.about-cta p {
  margin: 4px 0 0;

  color: #ffe3df;

  font-size: 11px;
}


.about-cta a {
  height: 45px;

  display: flex;
  align-items: center;

  flex: 0 0 auto;

  margin-left: auto;

  padding: 0 17px;

  border-radius: 9px;

  background: #fff;
  color: var(--r);

  text-decoration: none;

  font-size: 12px;
  font-weight: 800;
}


/* ==========================
   TABLET
   ========================== */

@media (max-width: 900px) {

  .about-hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      330px;

    gap: 30px;
  }

  .about-hero h1 {
    font-size: 39px;
  }


  .about-gallery {
    grid-template-columns:
      1fr
      1fr;

    grid-template-rows:
      290px
      190px;
  }

  .about-gallery-main {
    grid-row: auto;
  }

  .about-gallery-item:nth-child(4) {
    grid-column: auto;
  }


  .about-benefits-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* ==========================
   MOBILE
   ========================== */

@media (max-width: 650px) {

  .about-hero {
    padding: 35px 0 30px;
  }


  .about-hero-grid {
    display: block;
  }


  .about-hero h1 {
    margin-top: 12px;

    font-size: 32px;
  }


  .about-lead {
    font-size: 14px;
  }


  .about-stats {
    display: grid;

    grid-template-columns:
      1fr
      1fr;

    gap: 8px;
  }


  .about-stat {
    min-width: 0;

    padding: 12px;
  }

  .about-stat:last-child {
    grid-column: 1 / -1;
  }


  .about-hero-card {
    margin-top: 23px;

    padding: 20px;
  }

  .about-hero-card > strong {
    font-size: 19px;
  }


  .about-gallery-section {
    padding-bottom: 45px;
  }


  .about-gallery {
    grid-template-columns:
      1fr
      1fr;

    grid-template-rows:
      240px
      150px
      150px;

    gap: 8px;
  }


  .about-gallery-main {
    grid-column: 1 / -1;
  }


  .about-gallery-item:nth-child(4) {
    grid-column: 1 / -1;
  }


  .about-section-head h2 {
    font-size: 25px;
  }


  .about-benefits {
    padding: 45px 0;
  }


  .about-benefits-grid {
    grid-template-columns: 1fr;
  }


  .about-benefit {
    padding: 18px;
  }


  .about-clients {
    padding: 45px 0;
  }


  .about-client-grid {
    grid-template-columns:
      1fr
      1fr;

    gap: 8px;
  }


  .about-client-logo {
    height: 100px;

    padding: 14px;
  }


  .about-client-logo img {
    max-width: 125px;
    max-height: 55px;
  }


  .about-cta {
    display: block;

    padding: 22px;
  }


  .about-cta h2 {
    font-size: 21px;
  }


  .about-cta a {
    width: max-content;

    margin: 17px 0 0;
  }

}


@media (prefers-reduced-motion: reduce) {

  .about-gallery-item img,
  .about-client-logo {
    transition: none !important;
  }

}