@charset "utf-8";

.p-home {
  background: #0a0d12;
  color: #e9eef4;
}

.p-home-hero {
  position: relative;
  display: flex;
  min-height: 560px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0a0d12;
}

.p-home-hero--mobile {
  display: none;
}

.p-home-hero__backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, .98) 0%, rgba(7, 10, 15, 0.678) 15%, rgba(7, 10, 15, 0.39) 100%),
    linear-gradient(0deg, rgb(7, 10, 15), transparent 45%),
    url("/lp/barricado/common/img/barricado-pc.jpg") center 55% / cover no-repeat;
}

.p-home-hero__backdrop2 {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, .98) 0%, rgba(7, 10, 15, .88) 37%, rgba(7, 10, 15, .12) 100%),
    linear-gradient(0deg, rgba(7, 10, 15, 0), transparent 45%),
    url("/lp/barricado/common/img/barricado-pc.jpg") center 55% / cover no-repeat;
}

.p-home-hero__content {
  width: min(100% - 48px, 1100px);
  margin: 0 200px;
  padding: 88px 0 100px;
}

.p-home-hero__eyebrow,
.p-home-categories__eyebrow {
  margin: 0 0 18px;
  color: #7dbaff;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
}

.p-home-hero__eyebrow {
  font-size: 17px;
}

.p-home-hero__title {
  display: grid;
  gap: 14px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .04em;
}

.p-home-hero__brand {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: .12em;
}

.p-home-hero__lead {
  max-width: 600px;
  margin: 22px 0 30px;
  color: #c2ccd8;
  font-size: 16px;
  line-height: 1.9;
}

.p-home-hero__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  border: 1px solid rgba(125, 186, 255, .7);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}

.p-home-hero__link:hover {
  border-color: #7dbaff;
  background: rgba(74, 158, 255, .2);
}

.p-home-hero__link span {
  color: #7dbaff;
  font-size: 18px;
}

.p-home-hero__caption {
  position: absolute;
  right: max(24px, calc((100vw - 1100px) / 2));
  bottom: 22px;
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
}

.p-home-categories {
  padding: 82px 24px 96px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(74, 158, 255, .1), transparent 54%),
    #0d1118;
}

.p-home-categories__inner {
  max-width: 1500px;
  margin: 0 auto;
}

.p-home-categories__heading {
  margin-bottom: 34px;
  text-align: center;
}

.p-home-categories__heading .p-home-categories__eyebrow {
  margin-bottom: 10px;
}

.p-home-categories__heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.45;
}

.p-home-categories__heading > p:last-child {
  margin: 12px 0 0;
  color: #9aa6b4;
  font-size: 14px;
  line-height: 1.8;
}

.p-home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.p-home-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 26px 24px;
  overflow: hidden;
  border: 1px solid #303b49;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(35, 47, 63, .96), rgba(17, 23, 32, .98));
  color: #e9eef4;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.p-home-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: var(--home-card-accent, #4a9eff);
  content: "";
  opacity: .85;
}

.p-home-card--dummy {
  --home-card-accent: #4a9eff;
}

.p-home-card--mechanical {
  --home-card-accent: #4a9eff;
}

.p-home-card:hover,
.p-home-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--home-card-accent, #4a9eff);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .32);
}

.p-home-card:focus-visible,
.p-home-hero__link:focus-visible {
  outline: 2px solid #7dbaff;
  outline-offset: 4px;
}

.p-home-card__number {
  color: var(--home-card-accent, #7dbaff);
  font-family: "Roboto", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.p-home-card__type {
  margin-top: 15px;
  color: #9aa6b4;
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.p-home-card__title {
  margin-top: 8px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

.p-home-card__description {
  margin-top: 12px;
  color: #bac5d2;
  font-size: 13px;
  line-height: 1.8;
}

.p-home-card__action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  color: var(--home-card-accent, #7dbaff);
  font-size: 13px;
  font-weight: 700;
}

.p-home-card__action span {
  font-size: 20px;
  transition: transform .22s ease;
}

.p-home-card:hover .p-home-card__action span,
.p-home-card:focus-visible .p-home-card__action span {
  transform: translateX(4px);
}

@media (max-width: 800px) {
  .p-home-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .p-home-card {
    min-height: 230px;
  }
}

@media (max-width: 959.98px) {
  .p-home-hero--desktop {
    display: none;
  }

  .p-home-hero--mobile {
    display: flex;
    min-height: clamp(540px, 88vh, 590px);
    align-items: flex-end;
    text-align: center;
  }

  .p-home-hero--mobile .p-home-hero__backdrop2 {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(7, 10, 15, .08) 10%, rgba(7, 10, 15, .16) 25%, rgba(7, 10, 15, .82) 80%, #0a0d12 74%),
      url("/lp/barricado/common/img/barricado-pc.jpg") 66% top / auto 76% no-repeat,
      #0a0d12;
  }

  .p-home-hero--mobile .p-home-hero__content {
    position: relative;
    z-index: 1;
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 54px;
  }

  .p-home-hero--mobile .p-home-hero__eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: .16em;
  }

  .p-home-hero--mobile .p-hero__logo {
    display: block;
    width: min(72vw, 260px);
    max-width: 100%;
    margin: 0 auto 16px;
  }

  .p-home-hero--mobile .p-home-hero__title {
    max-width: none;
    padding: 0;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: .02em;
  }

  .p-home-hero--mobile .p-home-hero__lead {
    max-width: 30em;
    margin: 12px auto 20px;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
  }

  .p-home-hero--mobile .p-home-hero__link {
    min-height: 50px;
    justify-content: space-between;
    gap: 24px;
    padding: 0 18px;
  }
}

@media (max-width: 520px) {
  .p-home-categories {
    padding: 58px 20px 68px;
  }

  .p-home-categories__heading {
    margin-bottom: 24px;
  }

  .p-home-card {
    min-height: 220px;
    padding: 24px 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-home-hero__link,
  .p-home-card,
  .p-home-card__action span {
    transition: none;
  }
}
