/* Homepage content only. Header, hero, reviews and footer keep their own styles. */
.home-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.home-strip,
.home-comparison,
.home-contact {
  background: #fff;
}

.home-band {
  background: #fff;
}

.home-services,
.home-comparison,
.home-values {
  padding-block: 72px;
}

.home-heading {
  max-width: 820px;
  margin-bottom: 34px;
}


.fk-home .home-heading h2,
.fk-home .home-contact__copy h2 {
  margin: 0 0 16px;
  color: #203d2e;
  font-size: clamp(1.8rem, 2.5vw, 2.375rem) !important;
  font-weight: 750;
  line-height: 1.16 !important;
  letter-spacing: -0.028em !important;
}

.home-heading > p {
  max-width: 700px;
  margin: 0;
  color: #637064;
  font-size: 0.98rem;
  line-height: 1.6;
}

.home-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #568e46;
}

.home-icon svg,
.home-strip__item svg,
.home-person__points svg,
.home-contact__telegram svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-strip {
  padding-block: 30px 36px;
}

.home-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.home-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #657267;
  font-size: 0.87rem;
  line-height: 1.5;
}

.home-strip__item svg {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  color: #568e46;
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-service {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 22px;
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 14px;
  row-gap: 12px;
  min-height: 152px;
  padding: 26px;
  border: 1px solid #e9eee6;
  border-radius: 8px;
  color: #203d2e;
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease;
}

.home-service .home-icon {
  grid-column: 1;
  grid-row: 1;
}

.home-service h3 {
  grid-column: 2 / 4;
  margin: 2px 0 0;
  color: #203d2e;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.home-service p {
  grid-column: 1 / 3;
  grid-row: 2;
  margin: 0;
  color: #657267;
  font-size: 0.93rem;
  line-height: 1.6;
}

.home-arrow {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  color: #568e46;
  font-size: 1.35rem;
  line-height: 1;
}

.home-service:hover {
  transform: translateY(-2px);
  border-color: #9ab58d;
}

.home-service:focus-visible,
.home-topic:focus-visible,
.home-contact__telegram:focus-visible,
.home-submit:focus-visible,
.home-copy:focus-visible,
.home-send:focus-visible {
  outline: 3px solid #88ad68;
  outline-offset: 4px;
}

.home-comparison__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}

.home-person {
  min-width: 0;
}

.home-person__photo {
  width: min(100%, 360px);
  height: 260px;
  margin: 0 auto 24px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 32%;
  background: #edf2eb;
}

.home-person--advisor .home-person__photo {
  object-position: center 30%;
}

.home-person__heading {
  padding-bottom: 24px;
  border-bottom: 1px solid #e8eee5;
  text-align: center;
}

.home-person__heading h3 {
  margin: 0 0 6px;
  color: #203d2e;
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1.3;
}

.home-person__heading p {
  margin: 0;
  color: #657267;
  font-size: 0.88rem;
  line-height: 1.5;
}

.home-person__points {
  display: grid;
  gap: 17px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.home-person__points li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: #657267;
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-person__points svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: #568e46;
}

.home-person--bank .home-person__points svg {
  color: #889188;
}

.home-person__points--desktop,
.home-person__title-desktop {
  display: none;
}

.home-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-value {
  padding: 27px 26px;
  border: 1px solid #e9eee6;
  border-radius: 8px;
  background: #fff;
}

.home-value .home-icon {
  margin-bottom: 17px;
}

.home-value h3 {
  margin: 0 0 11px;
  color: #203d2e;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.home-value p {
  margin: 0;
  color: #657267;
  font-size: 0.93rem;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .home-comparison__grid:has(.home-person__points--desktop) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 280px minmax(110px, auto) repeat(6, minmax(76px, auto)) 28px;
    gap: 0 30px;
  }

  .home-person:has(.home-person__points--desktop) {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 1 / span 9;
    min-width: 0;
    padding: 28px;
    border: 1px solid #e0e7e1;
    border-radius: 14px;
    background: #fff;
  }

  .home-person--bank:has(.home-person__points--desktop) {
    grid-column: 1;
    background: #fafbfa;
  }

  .home-person--advisor:has(.home-person__points--desktop) {
    grid-column: 2;
    border-color: #afc7b6;
    box-shadow: 0 12px 36px rgb(16 63 50 / 5%);
  }

  .home-person:has(.home-person__points--desktop) .home-person__photo {
    width: 100%;
    height: 252px;
    margin: 0;
    border-radius: 8px;
  }

  .home-person:has(.home-person__points--desktop) .home-person__heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
    border-bottom: 1px solid #dce5dd;
  }

  .home-person:has(.home-person__points--desktop) .home-person__heading h3 {
    font-size: clamp(1.14rem, 1.4vw, 1.3rem);
  }

  .home-person:has(.home-person__points--desktop) .home-person__points--mobile,
  .home-person:has(.home-person__title-desktop) .home-person__title-mobile {
    display: none;
  }

  .home-person__title-desktop {
    display: inline;
  }

  .home-person__points--desktop {
    display: contents;
  }

  .home-person__points--desktop li {
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding-block: 15px;
    border-bottom: 1px solid #e5ebe5;
    color: #4e6054;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .home-person__points--desktop li:last-child {
    border-bottom: 0;
  }

  .home-person__points--desktop svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
    color: #237747;
    stroke-width: 2;
  }

  .home-person--bank .home-person__points--desktop svg {
    color: #bd3d39;
  }

  .home-values__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
  }

  .home-value {
    min-width: 0;
    padding: 30px;
    border-color: #dfe8e0;
    border-radius: 10px;
    transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  }

  .home-value .home-icon,
  .home-value h3,
  .home-value p {
    transition: color 300ms ease;
  }

  .home-value:hover,
  .home-value:focus-within {
    border-color: #103f32;
    background-color: #103f32;
    box-shadow: 0 9px 24px rgb(16 63 50 / 8%);
  }

  .home-value:hover .home-icon,
  .home-value:hover h3,
  .home-value:hover p,
  .home-value:focus-within .home-icon,
  .home-value:focus-within h3,
  .home-value:focus-within p {
    color: #fff;
  }
}

.home-contact {
  padding-block: 32px 72px;
}

.home-contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 52px;
  padding: 30px;
  border-radius: 10px;
  background: #103f32;
}

.home-contact__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 8px 10px;
}


.fk-home .home-contact__copy h2 {
  max-width: 510px;
  color: #fff;
}

.home-contact__copy > p {
  max-width: 490px;
  margin: 0 0 23px;
  color: #e0eadc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 25px;
}

.home-topic {
  padding: 9px 12px;
  border: 1px solid #a0bf94;
  border-radius: 6px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.home-topic:hover {
  background: #3b7140;
}

.home-topic:focus-visible,
.home-contact__telegram:focus-visible {
  outline: 3px solid #b8e4ce;
  outline-offset: 3px;
}

.home-topic[aria-pressed="true"] {
  border-color: #fff;
  color: #234e29;
  background: #fff;
}

.home-contact__telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  margin-bottom: 26px;
  padding: 12px 18px;
  border: 1px solid #fff;
  border-radius: 5px;
  color: #2c6331;
  background: #fff;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 160ms ease;
}

.home-contact__telegram svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
}

.home-contact__telegram:hover {
  background: #f5f7f6;
}

.home-contact__copy > .home-contact__note {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 16px;
  color: #d0e2c7;
  font-size: 0.8rem;
}

.home-request {
  min-width: 0;
  padding: 28px;
  border-radius: 8px;
  color: #203d2e;
  background: #fff;
}

.home-request h3 {
  margin: 0 0 23px;
  color: #203d2e;
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.3;
}

.home-request > label:not(.home-consent) {
  display: block;
  margin: 16px 0 7px;
  color: #576556;
  font-size: 0.81rem;
  line-height: 1.4;
}

.home-request > input,
.home-request > select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #dce5d7;
  border-radius: 5px;
  color: #203d2e;
  background: #f5f7f6;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.4;
}

.home-request > input::placeholder {
  color: #64705e;
  opacity: 1;
}

.home-request > input:focus-visible,
.home-request > select:focus-visible,
.home-request__result textarea:focus-visible,
.home-consent input:focus-visible {
  border-color: #648c4f;
  outline: 2px solid #648c4f;
  outline-offset: 2px;
}

.home-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 17px 0 23px;
  color: #657267;
  font-size: 0.74rem;
  line-height: 1.55;
  cursor: pointer;
}

.home-consent input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #477e3d;
}

.home-consent a {
  color: #2f6634;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-submit {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 16px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: #15533f;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.home-submit:hover {
  background: #0f3d2e;
}

.home-submit:disabled {
  opacity: 1;
  cursor: progress;
}

.home-submit .home-arrow {
  color: inherit;
}

.home-request__hint {
  margin: 12px 0 0;
  color: #657267;
  font-size: 0.77rem;
  line-height: 1.5;
}

.home-request__result {
  margin-top: 21px;
  padding-top: 20px;
  border-top: 1px solid #e0e8db;
}

.home-request__result[hidden] {
  display: none;
}

.home-request__result > label {
  display: block;
  margin-bottom: 7px;
  color: #576556;
  font-size: 0.81rem;
  line-height: 1.4;
}

.home-request__result textarea {
  display: block;
  width: 100%;
  min-height: 140px;
  padding: 11px 12px;
  border: 1px solid #dce5d7;
  border-radius: 5px;
  color: #203d2e;
  background: #f5f7f6;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.55;
  resize: vertical;
}

.home-request__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.home-copy,
.home-send {
  display: inline-flex;
  min-height: 42px;
  flex: 1 1 130px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid #477e3d;
  border-radius: 5px;
  color: #376a30;
  background: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

.home-copy:hover {
  background: #f5f7f6;
}

.home-send {
  color: #fff;
  background: #15533f;
}

.home-send:hover {
  background: #0f3d2e;
}

.home-request__status {
  margin: 14px 0 0;
  color: #315e32;
  font-size: 0.82rem;
  line-height: 1.5;
}

.home-request__status:empty {
  display: none;
}

@media (max-width: 900px) {
  .home-strip__grid {
    gap: 24px;
  }

  .home-comparison__grid {
    gap: 34px;
  }

  .home-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-contact__panel {
    gap: 24px;
    padding: 24px;
  }

  .home-contact__copy {
    padding-inline: 0;
  }

  .home-request {
    padding: 24px;
  }
}

@media (max-width: 700px) {
  .home-container {
    width: calc(100% - 36px);
  }

  .home-services,
  .home-comparison,
  .home-values {
    padding-block: 44px;
  }

  .home-heading {
    margin-bottom: 26px;
  }

  .fk-home .home-heading h2,
  .fk-home .home-contact__copy h2 {
    font-size: clamp(1.7rem, 5.4vw, 2rem) !important;
  }

  .home-eyebrow {
    font-size: 0.7rem;
  }

  .home-strip {
    padding-block: 26px;
  }

  .home-strip__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-strip__item {
    font-size: 0.88rem;
  }

  .home-services__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-service {
    min-height: 132px;
    padding: 22px;
  }

  .home-comparison__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-person__photo {
    height: 260px;
  }

  .home-person__points {
    gap: 14px;
    margin-top: 22px;
  }

  .home-contact {
    padding-block: 24px 44px;
  }

  .home-contact__panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }

  .home-contact__copy {
    padding-top: 2px;
  }

  .home-contact__copy > .home-contact__note {
    padding-top: 0;
  }

  .home-contact__telegram {
    margin-bottom: 18px;
  }
}

@media (max-width: 450px) {
  .home-values__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-value {
    padding: 23px;
  }

  .home-contact__panel {
    padding: 20px;
  }

  .home-request {
    padding: 21px 18px;
  }

  .home-topic {
    padding: 10px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-service,
  .home-topic,
  .home-contact__telegram,
  .home-submit {
    transition: none;
  }

  .home-service:hover {
    transform: none;
  }
}
