/* ReStar landing: "Приложение и сайт для ресторана под ключ" — what the platform covers, plus launch questions.
   Sits between the request form and the FAQ, so it keeps the same dark background as its neighbours. */

.restar-seo-record {
  position: relative;
  z-index: 1;
  background: var(--restar-black, #050505) !important;
}

.restar-seo,
.restar-seo * {
  box-sizing: border-box;
}

.restar-seo {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 7vw, 112px) 20px clamp(72px, 7vw, 104px);
  color: var(--restar-text, #fff);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 107, 0, 0.08), transparent 36%),
    linear-gradient(180deg, #0b0b0b 0%, #101010 100%);
  font-family: "ForrestSans", var(--t-text-font, Arial), sans-serif;
}

.restar-seo__shell {
  position: relative;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.restar-seo__head {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
}

.restar-seo__badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 18px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 106, 0, 0.28);
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.075);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.restar-seo__title {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(32px, 3.6vw, 43px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.restar-seo__title span {
  color: #ff6a00;
}

.restar-seo__lead {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.5;
}

.restar-seo__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.restar-seo__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    var(--restar-card, #151515);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 56px rgba(0, 0, 0, 0.28);
}

.restar-seo__num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 107, 0, 0.36);
  border-radius: 12px;
  background: rgba(255, 107, 0, 0.08);
  color: #ff6a00;
  font-size: 14px;
  font-weight: 600;
}

.restar-seo__card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

.restar-seo__card p {
  margin: 0;
  color: var(--restar-muted, #b8b8b8);
  font-size: 15px;
  line-height: 1.5;
}

.restar-seo__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 32px;
}

.restar-seo__cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff7a1a, #ff6a00);
  box-shadow: 0 14px 38px rgba(255, 106, 0, 0.28);
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.restar-seo__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255, 106, 0, 0.36);
}

.restar-seo__link {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline !important;
  text-decoration-color: rgba(255, 106, 0, 0.6) !important;
  text-underline-offset: 4px;
}

.restar-seo__faq {
  max-width: 900px;
  margin: 64px auto 0;
}

.restar-seo__faq-title {
  margin: 0 0 20px;
  color: #f5f5f5;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.restar-seo__q {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.014)),
    var(--restar-card, #151515);
}

.restar-seo__q summary {
  position: relative;
  display: block;
  padding: 20px 64px 20px 24px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.restar-seo__q summary::-webkit-details-marker {
  display: none;
}

.restar-seo__q summary::before,
.restar-seo__q summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 26px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #ff6a00;
  transition: transform 0.2s ease;
}

.restar-seo__q summary::after {
  transform: rotate(90deg);
}

.restar-seo__q[open] summary::after {
  transform: rotate(0deg);
}

.restar-seo__q p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--restar-muted, #b8b8b8);
  font-size: 15px;
  line-height: 1.55;
}

@media screen and (max-width: 1099px) {
  .restar-seo__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 639px) {
  .restar-seo {
    padding: 64px 16px 64px;
  }

  .restar-seo__head {
    margin-bottom: 28px;
    text-align: left;
  }

  .restar-seo__lead {
    margin-left: 0;
  }

  .restar-seo__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .restar-seo__card {
    padding: 22px 20px 20px;
  }

  .restar-seo__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .restar-seo__link {
    text-align: center;
  }

  .restar-seo__faq {
    margin-top: 48px;
  }

  .restar-seo__faq-title {
    text-align: left;
  }

  .restar-seo__q summary {
    padding: 18px 56px 18px 18px;
    font-size: 16px;
  }

  .restar-seo__q summary::before,
  .restar-seo__q summary::after {
    right: 20px;
  }

  .restar-seo__q p {
    padding: 0 18px 18px;
  }
}

.restar-seo__more {
  margin-top: auto;
  padding-top: 16px;
  color: #ff6a00 !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
}

.restar-seo__more::after {
  content: " →";
}

.restar-seo__more:hover {
  text-decoration: underline !important;
}
