.ff-service {
  --ff-green: #6f9f2f;
  --ff-green-dark: #4f771e;
  --ff-green-soft: #f1f7e8;
  --ff-ink: #20231f;
  --ff-muted: #657064;
  --ff-line: #e4eadf;
  --ff-white: #fff;
  max-width: 1180px;
  margin: 0 auto 64px;
  color: var(--ff-ink);
  font-size: 16px;
  line-height: 1.65;
}

.ff-service *,
.ff-service *::before,
.ff-service *::after { box-sizing: border-box; }

.ff-service a { color: var(--ff-green-dark); text-underline-offset: 3px; }
.ff-service a:hover { color: #385615; }

.ff-service__hero {
  position: relative;
  overflow: hidden;
  padding: 38px 42px;
  margin: 0 0 28px;
  border: 1px solid #dce8ce;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fbf4 0%, #edf6df 100%);
}

.ff-service__hero::after {
  content: "";
  position: absolute;
  right: -65px;
  top: -85px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(111, 159, 47, .11);
}

.ff-service__eyebrow {
  margin: 0 0 8px;
  color: var(--ff-green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ff-service__lead {
  position: relative;
  z-index: 1;
  max-width: 830px;
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}

.ff-service__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ff-service__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--ff-green);
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.ff-service__button:hover { transform: translateY(-1px); }
.ff-service__button--primary { color: #fff !important; background: var(--ff-green); }
.ff-service__button--primary:hover { background: var(--ff-green-dark); }
.ff-service__button--secondary { color: var(--ff-green-dark) !important; background: #fff; }
.ff-service__button--secondary:hover { background: var(--ff-green-soft); }
.ff-service__button--messenger { gap: 8px; padding-right: 17px; padding-left: 17px; }
.ff-service__button--messenger img { display: block; width: 20px; height: 20px; object-fit: contain; }

.ff-service__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 30px;
}

.ff-service__card,
.ff-service__section,
.ff-service__note {
  border: 1px solid var(--ff-line);
  border-radius: 18px;
  background: var(--ff-white);
}

.ff-service__card { padding: 23px; }
.ff-service__card-kicker { margin: 0 0 4px; color: var(--ff-muted); font-size: 13px; }
.ff-service__card-value { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.25; }
.ff-service__card-text { margin: 8px 0 0; color: var(--ff-muted); font-size: 14px; line-height: 1.5; }

.ff-service__section { padding: 30px 34px; margin: 0 0 20px; }
.ff-service__section h2 { margin: 0 0 16px; font-size: 27px; line-height: 1.25; }
.ff-service__section h3 { margin: 24px 0 9px; font-size: 19px; line-height: 1.35; }
.ff-service__section p { margin: 11px 0; }
.ff-service__section ul,
.ff-service__section ol { margin: 12px 0; padding-left: 23px; }
.ff-service__section li { margin: 8px 0; }

.ff-service__table-wrap { overflow-x: auto; margin: 16px 0 4px; border: 1px solid var(--ff-line); border-radius: 14px; }
.ff-service__table { width: 100%; min-width: 680px; border-collapse: collapse; background: #fff; }
.ff-service__table th,
.ff-service__table td { padding: 14px 16px; border-bottom: 1px solid var(--ff-line); text-align: left; vertical-align: top; }
.ff-service__table th { background: #f7faf4; font-size: 14px; }
.ff-service__table tr:last-child td { border-bottom: 0; }

.ff-service__note { padding: 19px 22px; margin: 18px 0 0; background: #fbfcfa; color: #505a4f; }
.ff-service__note strong { color: var(--ff-ink); }

.ff-service__steps { counter-reset: ff-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; padding: 0 !important; list-style: none; }
.ff-service__steps li { position: relative; margin: 0; padding: 52px 20px 20px; border-radius: 15px; background: #f7faf4; }
.ff-service__steps li::before { counter-increment: ff-step; content: counter(ff-step); position: absolute; top: 17px; left: 20px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--ff-green); font-size: 13px; font-weight: 800; }

.ff-service__faq { display: grid; gap: 10px; }
.ff-service__faq details { border: 1px solid var(--ff-line); border-radius: 14px; background: #fff; }
.ff-service__faq summary { padding: 17px 44px 17px 18px; cursor: pointer; font-weight: 700; list-style: none; position: relative; }
.ff-service__faq summary::-webkit-details-marker { display: none; }
.ff-service__faq summary::after { content: "+"; position: absolute; right: 18px; top: 13px; color: var(--ff-green-dark); font-size: 24px; font-weight: 400; }
.ff-service__faq details[open] summary::after { content: "−"; }
.ff-service__faq details p { padding: 0 18px 18px; margin: 0; color: var(--ff-muted); }

.ff-service__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: 20px; color: #fff; background: #27351f; }
.ff-service__cta h2 { margin: 0 0 5px; color: #fff; font-size: 24px; }
.ff-service__cta p { margin: 0; color: rgba(255, 255, 255, .78); }
.ff-service__cta .ff-service__button { flex: 0 0 auto; border-color: #fff; color: #27351f !important; background: #fff; }

.ff-service__legal { color: var(--ff-muted); font-size: 13px; }

.ff-service-contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.ff-service-contact-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.ff-service-contact-list li { margin: 0; }

.ff-service .ff-guarantees { margin: 0; }

@media (max-width: 900px) {
  .ff-service__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ff-service__steps { grid-template-columns: 1fr; }
  .ff-service-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .ff-service { margin-bottom: 40px; font-size: 15px; line-height: 1.58; }
  .ff-service__hero { padding: 25px 20px; margin-bottom: 18px; border-radius: 17px; }
  .ff-service__lead { font-size: 17px; }
  .ff-service__actions { gap: 8px; margin-top: 19px; }
  .ff-service__button { width: 100%; min-height: 44px; }
  .ff-service__button--messenger { width: calc(50% - 4px); padding-right: 12px; padding-left: 12px; }
  .ff-service__actions > .ff-service__button--messenger:last-child { width: 100%; }
  .ff-service__grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
  .ff-service__card { padding: 18px; border-radius: 14px; }
  .ff-service__card-value { font-size: 20px; }
  .ff-service__section { padding: 22px 18px; margin-bottom: 14px; border-radius: 15px; }
  .ff-service__section h2 { font-size: 22px; }
  .ff-service__section h3 { font-size: 18px; }
  .ff-service__cta { display: block; padding: 24px 20px; border-radius: 16px; }
  .ff-service__cta .ff-service__button { margin-top: 18px; }
}
