/* ==========================================================================
   SEO-страницы /aplicativo-de-relacionamento, /relacionamento-serio, /namoro-no-telegram
   (resources/views/web/seo/show.blade.php). Первый экран, рамки фото, шаги, чипы городов
   и финальный блок берутся из lp/style.css и lp/city.css; здесь только новые блоки:
   сравнение, сетка возможностей, стопка уведомлений, карточки соседних страниц.
   ========================================================================== */

.seo-lead { max-width: 820px; margin: 16px 0 40px; }

/* ---- Вступление: фото в рамке + текст ---- */
.seo-intro .section-what__photo { flex-basis: 440px; }
.seo-intro .city-frame { aspect-ratio: 840 / 1000; }
@media (max-width: 768px) { .seo-intro .section-what__photo { max-width: 360px; padding: 14px; } }

/* ---- Сравнение ---- */
.seo-compare-section { padding: 30px 0 110px; }
.seo-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.seo-compare__col { padding: 36px 40px 40px; border-radius: 28px; background: #fff; border: 1px solid #E1E4E7; }
.seo-compare__col--us { background: #F3EBFF; border-color: #E4D5FF; box-shadow: 0 20px 50px rgba(139, 50, 255, .10); }
.seo-compare__title {
  display: flex; align-items: center; gap: 12px; margin: 0 0 26px;
  font-weight: 700; font-size: 24px; line-height: 1.15; color: #222337;
}
.seo-compare__logo {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #8B32FF; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.seo-compare__logo .ic { width: 20px; height: 20px; fill: currentColor; }
.seo-compare__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.seo-compare__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.45; color: #222337; }
.seo-compare__list .ic { width: 22px; height: 22px; margin-top: 1px; color: #A3A4B1; }
.seo-compare__col--us .seo-compare__list .ic { color: #8B32FF; }
.seo-compare__more { margin-top: 30px; }
@media (max-width: 900px) {
  .seo-compare { grid-template-columns: 1fr; }
  .seo-compare__col { padding: 28px 24px 30px; }
}
@media (max-width: 600px) {
  .seo-compare-section { padding: 10px 0 70px; }
  .seo-compare__title { font-size: 21px; margin-bottom: 20px; }
  .seo-compare__list li { font-size: 16px; }
}

/* ---- Возможности: шесть карточек с иконками ---- */
.seo-features-section { padding: 100px 0 110px; }
.seo-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.seo-feature {
  display: flex; flex-direction: column; gap: 4px; padding: 30px 30px 32px;
  border-radius: 24px; border: 1px solid #ECEDF2; background: #fff;
}
.seo-feature .city-why__icon { margin-bottom: 14px; }
.seo-feature .text-small { font-size: 15px; }
@media (max-width: 1100px) { .seo-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .seo-features-section { padding: 64px 0 70px; }
  .seo-features { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .seo-feature { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 20px; }
  .seo-feature .city-why__icon { margin-bottom: 0; }
  .seo-feature .city-why__title { flex: 1; margin: 0; }
  .seo-feature .text-small { flex-basis: 100%; margin-top: 8px; }
}

/* ---- Сиреневая секция: стопка уведомлений / подтвержденных встреч ---- */
.seo-online .section-online__text { gap: 30px; }
/* в колонку flex-basis 380px из style.css становится высотой текста: пустая полоса над карточками */
@media (max-width: 900px) { .seo-online .section-online__text { flex-basis: auto; } }
.seo-stack { position: relative; flex: 0 0 500px; display: flex; flex-direction: column; gap: 18px; padding: 46px 0; }
.seo-stack::before {
  content: ''; position: absolute; inset: 0 50px; z-index: 0;
  background: #B298DC; opacity: .38; border-radius: 40px; transform: rotate(-5deg);
}
.seo-stack__card {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; width: 390px;
  padding: 16px 22px 16px 16px; border-radius: 18px; background: #fff;
  box-shadow: 0 14px 40px rgba(31, 32, 46, .14);
}
.seo-stack__card--2 { margin-left: 80px; }
.seo-stack__card--3 { margin-left: 26px; }
.seo-stack__card--4 { margin-left: 100px; }
.seo-stack__text { display: flex; flex-direction: column; min-width: 0; }
.seo-stack__icon {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: #8B32FF;
  display: flex; align-items: center; justify-content: center;
}
.seo-stack__icon .ic { width: 22px; height: 22px; }
.seo-stack__icon--heart { background: #FF4D8D; }
.seo-stack__icon--heart .ic { fill: currentColor; }
.seo-stack__icon--message-circle, .seo-stack__icon--mail { background: #229ED9; }
.seo-stack__icon--calendar-days, .seo-stack__icon--circle-check { background: #22C55E; }
.seo-stack__icon--bell-ring { background: #F59E0B; }
.seo-stack__icon--scan-qr-code { background: #222337; }
@media (max-width: 1280px) {
  .seo-stack { flex-basis: 430px; }
  .seo-stack__card { width: 340px; }
  .seo-stack__card--2 { margin-left: 60px; }
  .seo-stack__card--4 { margin-left: 76px; }
}
@media (max-width: 900px) {
  .seo-stack { flex: 0 0 auto; width: 100%; max-width: 440px; align-self: center; padding: 34px 0; }
  .seo-stack::before { inset: 0 30px; }
  .seo-stack__card { width: calc(100% - 60px); }
  .seo-stack__card--2 { margin-left: 40px; }
  .seo-stack__card--3 { margin-left: 14px; }
  .seo-stack__card--4 { margin-left: 56px; }
}
@media (max-width: 480px) {
  .seo-stack { gap: 12px; }
  .seo-stack__card { width: calc(100% - 36px); padding: 12px 16px 12px 12px; gap: 12px; }
  .seo-stack__card--2 { margin-left: 28px; }
  .seo-stack__card--3 { margin-left: 8px; }
  .seo-stack__card--4 { margin-left: 36px; }
  .seo-stack__icon { flex-basis: 38px; width: 38px; height: 38px; }
  .seo-stack__icon .ic { width: 19px; height: 19px; }
}

/* ---- Соседние страницы ---- */
.seo-related { margin-top: 80px; }
.seo-related .h2 { margin-bottom: 28px; }
.seo-related__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.seo-related__card {
  display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: 22px;
  border: 1px solid #E1E4E7; background: #fff; color: #222337; text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.seo-related__card:hover { border-color: #8B32FF; box-shadow: 0 10px 28px rgba(139, 50, 255, .12); }
.seo-related__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.seo-related__title { font-weight: 700; font-size: 20px; line-height: 1.2; }
.seo-related__card .seo-related__arrow { width: 22px; height: 22px; color: #8B32FF; transition: transform .15s; }
.seo-related__card:hover .seo-related__arrow { transform: translateX(3px); }
@media (max-width: 900px) { .seo-related__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .seo-related { margin-top: 56px; }
  .seo-related__card { padding: 18px; gap: 14px; }
  .seo-related__title { font-size: 18px; }
}
