/* How We Help homepage section — 2026-08-13 */

/* Match other fullPage sections: fade header only on large desktop.
   On tablet/mobile (scroll mode), keep logo + nav always visible. */
@media only screen and (min-width: 1350px) {
  .fp-viewing-help .header__item-nav {
    opacity: 0;
  }
}

@media only screen and (min-width: 1350px) and (max-width: 1600px) {
  .fp-viewing-help .header__item-logo {
    opacity: 0;
  }
}

@media only screen and (max-width: 1349px) {
  .fp-viewing-help .header__item-nav,
  .fp-viewing-help .header__item-logo {
    opacity: 1;
  }
}

.section--help:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(39, 39, 55, 0.55);
  z-index: -1;
}

.section--help:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../img/abstract-2.svg") no-repeat center bottom / 2320px;
  z-index: -2;
  opacity: 0.45;
}

.section--help .section__subtitle--help {
  max-width: 920px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  color: #a2a7b3;
  margin-top: 12px;
  margin-bottom: 36px;
}

.section--help .section__subtitle--help p {
  margin: 0;
}

.help-cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -12px;
  padding: 0 150px 0 341px;
  list-style: none;
}

.help-cards__item {
  width: 33.333%;
  padding: 12px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.help-card {
  height: 100%;
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 3px;
  background: rgba(44, 55, 87, 0.35);
  -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-card:hover {
  border-color: rgba(20, 121, 240, 0.45);
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.help-card h3 {
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 700;
}

.help-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #a2a7b3;
}

@media only screen and (max-width: 1600px) {
  .help-cards {
    padding: 0 60px 0 30px;
  }

  .section--help .section__subtitle--help {
    font-size: 16px;
    margin-bottom: 28px;
  }
}

@media only screen and (max-width: 1199px) {
  .help-cards__item {
    width: 50%;
  }

  .section--help .title-h1 {
    font-size: 48px;
  }
}

@media only screen and (max-width: 767px) {
  .help-cards {
    padding: 0;
    margin: 0;
  }

  .help-cards__item {
    width: 100%;
    padding: 8px 0;
  }

  .help-card {
    padding: 20px 18px;
  }

  .section--help .section__subtitle--help {
    padding: 0;
    margin-top: 24px;
    margin-bottom: 20px;
    font-size: 16px;
  }

  .section--help .title-h1 {
    font-size: 32px;
  }
}

@media only screen and (min-width: 1601px) and (max-height: 800px) {
  .section--help .title-h1 {
    font-size: 48px;
  }

  .section--help .section__subtitle--help {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .help-cards__item {
    padding: 8px;
  }

  .help-card {
    padding: 16px 14px;
  }

  .help-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .help-card p {
    font-size: 13px;
    line-height: 1.45;
  }
}

@media only screen and (min-width: 1350px) and (max-width: 1600px) and (max-height: 700px) {
  .section--help .title-h1 {
    font-size: 42px;
  }

  .help-card {
    padding: 14px 12px;
  }

  .help-card h3 {
    font-size: 15px;
  }

  .help-card p {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Clickable help cards (showcase page links) */
a.help-card--link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  padding-right: 42px;
}

a.help-card--link:hover,
a.help-card--link:focus {
  border-color: rgba(20, 121, 240, 0.45);
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  outline: none;
}

a.help-card--link:focus-visible {
  outline: 2px solid #1479f0;
  outline-offset: 3px;
}

a.help-card--link h3,
a.help-card--link p {
  color: inherit;
}

.help-card__arrow {
  position: absolute;
  top: 20px;
  right: 16px;
  display: block;
  width: 16px;
  height: 16px;
  color: #8eb8f5;
  opacity: 0.72;
  pointer-events: none;
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}

.help-card__arrow svg {
  display: block;
  width: 16px;
  height: 16px;
}

a.help-card--link:hover .help-card__arrow,
a.help-card--link:focus .help-card__arrow {
  opacity: 1;
  -webkit-transform: translate(3px, -3px);
  transform: translate(3px, -3px);
}
