.how-page {
  background: #f6f7f9 !important;
  font-family: "Open Sans", sans-serif;
}

.how-page .main-content {
  background: #f6f7f9;
  overflow-x: hidden;
  padding: 24px 0 0;
}

.how-page .main-content > section .container {
  max-width: 1140px;
  padding-left: 24px;
  padding-right: 24px;
}

.how-page .how-hero {
  padding: 25px 0 24px;
}

.how-page .how-hero__row {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 390px;
  height: 390px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 106, 255, 0.06);
}

.how-page .how-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.how-page .how-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 42%,
    rgba(255, 255, 255, 0.92) 50%,
    rgba(255, 255, 255, 0.45) 58%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 1;
}

.how-page .how-hero__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 52%;
  padding: 36px 48px;
  text-align: left;
}

.how-page .how-hero__text h1 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #1a1a1a;
  max-width: 520px;
}

.how-page .how-hero__text h1 span {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: #006aff;
  /* laužo tekstą į vienodo ilgio eilutes — nelieka vienišo žodžio */
  text-wrap: balance;
}

.how-page .how-hero__text p {
  font-size: 16px;
  line-height: 1.55;
  color: #8c8c8c;
  margin: 0;
  max-width: 480px;
}

.how-page .how-detail {
  padding: 8px 0 40px;
  background: #f6f7f9;
}

.how-page .how-detail__title {
  text-align: center;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 28px;
}

.how-page .how-detail__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.how-page .how-detail__card {
  background: #fff;
  border: 1px solid #e0e3e8;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.how-page .how-detail__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.how-page .how-detail__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Vienodi neutralūs fonai, ikonos — mėlyna / žalia (kaip Misijos puslapyje) */
.how-page .how-detail__icon--blue,
.how-page .how-detail__icon--indigo,
.how-page .how-detail__icon--green {
  background: #f4f6f8;
  border: 1px solid #e5e8ed;
}

.how-page .how-detail__icon--blue,
.how-page .how-detail__icon--indigo {
  color: #006aff;
}

.how-page .how-detail__icon--green {
  color: #19c56c;
}

.how-page .how-detail__icon--blue img,
.how-page .how-detail__icon--indigo img {
  display: block;
  filter: brightness(0) saturate(100%) invert(35%) sepia(90%) saturate(4632%) hue-rotate(206deg) brightness(98%) contrast(114%);
}

.how-page .how-detail__icon--green img {
  display: block;
}

.how-page .how-detail__icon svg {
  display: block;
}

.how-page .how-detail__card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
}

.how-page .how-detail__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #8c8c8c;
}

.how-page .how-protection {
  padding: 56px 0 64px;
  background: #fff;
}

.how-page .how-protection__title {
  text-align: center;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 12px;
  color: #1a1a1a;
}

.how-page .how-protection__lead {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: #8c8c8c;
  margin: 0 auto 36px;
  max-width: 560px;
}

.how-page .how-protection__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.how-page .how-protection__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e0e3e8;
  border-radius: 16px;
  padding: 32px 28px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.how-page .how-protection__card--accent {
  background: linear-gradient(160deg, #d8f3e4 0%, #e8f8ef 42%, #f0fdf5 100%);
  border-color: #a8dfc0;
  box-shadow: 0 4px 20px rgba(25, 197, 108, 0.14);
}

.how-page .how-protection__badge {
  position: absolute;
  top: 0;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 0 0 10px 10px;
  background: #19c56c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(25, 197, 108, 0.25);
}

.how-page .how-protection__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-right: 96px;
}

.how-page .how-protection__card:not(.how-protection__card--accent) .how-protection__head {
  padding-right: 0;
}

.how-page .how-protection__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-page .how-protection__icon--neutral,
.how-page .how-protection__icon--green {
  background: #f4f6f8;
  border: 1px solid #e5e8ed;
}

.how-page .how-protection__icon--neutral {
  color: #006aff;
}

.how-page .how-protection__icon--green {
  color: #19c56c;
}

.how-page .how-protection__icon img,
.how-page .how-protection__icon svg {
  display: block;
}

.how-page .how-protection__head-text h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.how-page .how-protection__head-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #8c8c8c;
}

.how-page .how-protection__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.how-page .how-protection__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #1a1a1a;
  padding: 13px 0;
  border-bottom: 1px solid #eef0f2;
}

.how-page .how-protection__list li span {
  flex: 1;
  min-width: 0;
}

.how-page .how-protection__card--accent .how-protection__list li {
  border-bottom-color: rgba(25, 197, 108, 0.22);
}

.how-page .how-protection__list li:last-child {
  border-bottom: none;
}

.how-page .how-protection__list li img,
.how-page .how-protection__list li .how-protection__status {
  flex-shrink: 0;
  display: block;
}

.how-page .how-cta {
  padding: 48px 0 56px;
  background: #f6f7f9;
}

.how-page .how-cta__box {
  background: #fafbfc;
  border: 1px solid #e0e3e8;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.how-page .how-cta__box h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 14px;
  color: #1a1a1a;
}

.how-page .how-cta__box p {
  font-size: 16px;
  line-height: 1.6;
  color: #8c8c8c;
  margin: 0 auto 24px;
  max-width: 760px;
}

.how-page .how-cta__buttons {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(100%, 460px);
  margin: 0 auto;
}

.how-page .how-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
}

.how-page .how-cta__btn--primary {
  background: #006aff;
  color: #fff;
  border: 1px solid #006aff;
}

.how-page .how-cta__btn--outline {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #d1d5db;
}

.how-page .about-reviews {
  padding: 40px 0 48px;
  background: #f6f7f9;
}

.how-page .about-reviews__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.how-page .about-reviews__head h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: #1a1a1a;
}

.how-page .about-reviews__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #006aff;
  text-decoration: none;
  white-space: nowrap;
}

.how-page .about-reviews__frame {
  display: flex;
  align-items: center;
  gap: 20px;
}

.how-page .about-reviews__slider {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.how-page .about-review {
  background: #fff;
  border-radius: 14px;
  padding: 26px 24px 22px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.how-page .about-review__stars {
  width: 136px;
  margin-bottom: 14px;
  display: block;
}

.how-page .about-review__text {
  font-size: 15px;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
}

.how-page .about-review__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.how-page .about-review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #eef0f2;
}

.how-page .about-review__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 3px;
}

.how-page .about-review__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 1.2;
  color: #9ca3af;
}

.how-page .about-review__badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #006aff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.how-page .about-review__badge img {
  width: 9px;
  filter: brightness(0) invert(1);
}

.how-page .about-reviews__nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.how-page .newsletter {
  background: #e5f0ff;
}

@media (max-width: 992px) {
  .how-page .main-content {
    padding-top: 16px;
  }

  .how-page .main-content > section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .how-page .how-hero__row {
    min-height: auto;
    height: auto;
    border-radius: 20px;
  }

  .how-page .how-detail__grid,
  .how-page .how-protection__grid {
    grid-template-columns: 1fr;
  }

  .how-page .how-detail__title {
    font-size: 24px;
  }

  .how-page .about-reviews__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .how-page .about-reviews__slider {
    grid-template-columns: 1fr;
  }

  .how-page .about-reviews__nav {
    display: none;
  }
}

@media (max-width: 576px) {
  .how-page .main-content > section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .how-page .how-hero__row {
    border-radius: 16px;
  }

  .how-page .how-hero__text {
    padding: 20px 18px 24px;
  }

  .how-page .how-hero__text h1 {
    font-size: 28px;
  }

  .how-page .how-hero__text h1 span {
    font-size: 19px;
  }

  .how-page .how-hero__text p {
    font-size: 15px;
  }

  .how-page .how-detail__title,
  .how-page .how-protection__title,
  .how-page .how-cta__box h2 {
    font-size: 24px;
  }

  .how-page .how-protection__list li {
    font-size: 13px;
    padding: 12px 0;
  }

  .how-page .how-protection__head {
    padding-right: 0;
  }

  .how-page .how-protection__card--accent .how-protection__head {
    padding-top: 8px;
    padding-right: 0;
  }

  .how-page .how-protection__card--accent .how-protection__head-text h3 {
    padding-right: 108px;
  }

  .how-page .how-protection__badge {
    right: 16px;
  }

  .how-page .how-protection__head-text h3 {
    font-size: 18px;
  }
}
