/* =========================================================
   GLOBAL COLORS
========================================================= */

:root {
  --color-bg: #f5f6f3;
  --color-surface: #ffffff;

  --color-primary: #111714;
  --color-primary-soft: #1d2621;

  --color-accent: #ff1e27;
  --color-accent-dark: #ff1e27;

  --color-text: #111714;
  --color-text-soft: #5f6862;

  --color-border: #dce1db;

  --radius-full: 999px;
  --container-width: 1380px;
}


/* =========================================================
   HERO
========================================================= */

.hero-home {
  position: relative;
  overflow: hidden;

  padding: 100px 24px;

  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(198, 255, 74, 0.14),
      transparent 30%
    ),
    var(--color-bg);
}


/* =========================================================
   CONTAINER
========================================================= */

.hero-home__container {
  width: min(100%, var(--container-width));

  margin: 0 auto;

  display: flex;
  align-items: center;
}


/* =========================================================
   CONTENT
========================================================= */

.hero-home__content {
  width: 100%;
  max-width: 850px;
}


/* =========================================================
   EYEBROW
========================================================= */

.hero-home__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;

  margin-bottom: 24px;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);

  background: rgba(255, 255, 255, 0.72);

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--color-primary);
}

.hero-home__eyebrow::before {
  content: "";

  width: 7px;
  height: 7px;

  flex: 0 0 7px;

  border-radius: 50%;

  background: var(--color-accent);
}


/* =========================================================
   TITLE
========================================================= */

.hero-home__title {
  margin: 0;

  max-width: 850px;

  font-size: clamp(
    4rem,
    8vw,
    8.5rem
  );

  line-height: 0.9;

  letter-spacing: -0.065em;

  font-weight: 800;

  color: var(--color-text);
}

.hero-home__title span {
  display: block;

  color: var(--color-text-soft);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.hero-home__description {
  max-width: 650px;

  margin: 30px 0 0;

  font-size: 18px;
  line-height: 1.7;

  color: var(--color-text-soft);
}


/* =========================================================
   ACTIONS
========================================================= */

.hero-home__actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 34px;
}

.hero-home__btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 56px;

  padding: 0 22px;

  border-radius: var(--radius-full);

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-home__btn:hover {
  transform: translateY(-3px);
}


/* PRIMARY */

.hero-home__btn--primary {
  gap: 14px;

  background: var(--color-primary);

  color: #ffffff;

  box-shadow:
    0 12px 30px rgba(17, 23, 20, 0.18);
}

.hero-home__btn--primary:hover {
  background: var(--color-primary-soft);
}


/* BUTTON ICON */

.hero-home__btn-icon {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  border-radius: 50%;

  background: var(--color-accent);

  color: var(--color-primary);

  font-size: 16px;
}


/* SECONDARY */

.hero-home__btn--secondary {
  border: 1px solid var(--color-border);

  background: var(--color-surface);

  color: var(--color-primary);
}

.hero-home__btn--secondary:hover {
  background: #eef1ec;
}


/* =========================================================
   STATS
========================================================= */

.hero-home__stats {
  display: flex;
  flex-wrap: wrap;

  margin-top: 52px;
  padding-top: 28px;

  border-top: 1px solid var(--color-border);
}

.hero-home__stat {
  min-width: 150px;

  padding-right: 32px;
  margin-right: 32px;

  border-right: 1px solid var(--color-border);
}

.hero-home__stat:last-child {
  border-right: 0;
}

.hero-home__stat strong {
  display: block;

  font-size: 24px;
  line-height: 1;

  font-weight: 800;

  color: var(--color-primary);
}

.hero-home__stat span {
  display: block;

  margin-top: 7px;

  font-size: 12px;

  color: var(--color-text-soft);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

  .hero-home {
    padding: 60px 16px;
  }

  .hero-home__title {
    font-size: clamp(
      3.2rem,
      16vw,
      5rem
    );

    line-height: 0.94;
  }

  .hero-home__description {
    margin-top: 22px;

    font-size: 15px;
  }

  .hero-home__actions {
    flex-direction: column;

    margin-top: 28px;
  }

  .hero-home__btn {
    width: 100%;
  }

  .hero-home__stats {
    gap: 20px;

    margin-top: 36px;
  }

  .hero-home__stat {
    min-width: 0;

    padding-right: 18px;
    margin-right: 0;
  }

  .hero-home__stat strong {
    font-size: 19px;
  }
}