/* AEO/GEO service page — page-specific extensions over home-clean + seo-clean */
.aeo-page .aeo-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(127, 63, 242, 0.1);
  color: #5b2db8;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.aeo-page .aeo-hero__title {
  max-width: 22ch;
}

.aeo-page .aeo-trust {
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .aeo-page .aeo-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aeo-page .aeo-prose {
  max-width: 72ch;
  margin: 0 auto 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #3a3a3a;
  text-align: left;
}

.aeo-page .aeo-prose--center {
  text-align: center;
}

.aeo-page .aeo-list {
  max-width: 72ch;
  margin: 0 auto;
  padding: 0 0 0 1.15em;
  color: #3a3a3a;
  font-size: 15px;
  line-height: 1.55;
}

.aeo-page .aeo-list li + li {
  margin-top: 8px;
}

.aeo-page .aeo-def-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.aeo-page .aeo-def-card {
  padding: 20px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ebe7f7;
  box-shadow: 0 8px 24px rgba(80, 60, 140, 0.06);
}

.aeo-page .aeo-def-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

.aeo-page .aeo-def-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.aeo-page .aeo-why {
  background: #fff;
}

.aeo-page .aeo-why__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.aeo-page .aeo-why__item {
  padding: 18px 16px;
  border-radius: 12px;
  background: #f8f7fc;
  border: 1px solid #ebe7f7;
}

.aeo-page .aeo-why__icon {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 0 12px;
  object-fit: contain;
}

.aeo-page .aeo-why__item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.aeo-page .aeo-why__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.aeo-page .aeo-why__item a,
.aeo-page .seo-inc a,
.aeo-page .aeo-prose a {
  color: #006fdc;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aeo-page .aeo-tasks {
  background: #f8f7fc;
}

.aeo-page .aeo-tasks__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.aeo-page .aeo-task {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ebe7f7;
}

.aeo-page .aeo-task__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(270deg, rgb(223, 98, 226) 9%, rgb(106, 92, 234) 90%);
}

.aeo-page .aeo-task p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #333;
}

.aeo-page .aeo-results {
  background: #fff;
}

.aeo-page .aeo-results__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.aeo-page .aeo-result {
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid #ebe7f7;
  background: linear-gradient(180deg, #fbfaff 0%, #fff 100%);
}

.aeo-page .aeo-result h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.aeo-page .aeo-result p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.aeo-page .aeo-process {
  background: #f8f7fc;
}

.aeo-page .aeo-process__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.aeo-page .aeo-process__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ebe7f7;
}

.aeo-page .aeo-process__step {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #004f9a;
  background: #eef5ff;
}

.aeo-page .aeo-process__item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.aeo-page .aeo-process__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.aeo-page .aeo-audience {
  background: #fff;
}

.aeo-page .aeo-audience__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.aeo-page .aeo-audience__item {
  padding: 16px 18px;
  border-radius: 12px;
  background: #f8f7fc;
  border: 1px solid #ebe7f7;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.aeo-page .aeo-related {
  background: #f8f7fc;
}

/* 3 related cards: don't inherit SEO 4-col grid (left gap) */
.aeo-page .aeo-related .seo-services__grid {
  justify-content: center;
  justify-items: stretch;
}

@media (min-width: 768px) {
  .aeo-page .aeo-related .seo-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .aeo-page .aeo-related .seo-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1080px;
    margin-inline: auto;
  }
}

.aeo-page .aeo-synergy {
  max-width: 72ch;
  margin: 0 auto 24px;
  padding: 18px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ebe7f7;
  font-size: 15px;
  line-height: 1.55;
  color: #3a3a3a;
}

.aeo-page .aeo-synergy a {
  color: #006fdc;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aeo-page .aeo-synergy a:hover,
.aeo-page .aeo-synergy a:focus-visible {
  color: #7f3ff2;
}

.aeo-page .aeo-hero-visual {
  margin: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(127, 63, 242, 0.12), transparent 45%),
    linear-gradient(160deg, #f4f1ff 0%, #eef5ff 55%, #fff 100%);
  border: 1px solid #ebe7f7;
  box-shadow: 0 16px 40px rgba(80, 60, 140, 0.1);
}

.aeo-page .aeo-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.aeo-page .aeo-synergy__links {
  margin: 12px 0 0;
}

.aeo-page .aeo-cities {
  padding: 48px 0 56px;
  background: #f7f8fb;
}

.aeo-page .aeo-cities__lead {
  max-width: 820px;
  margin: -8px auto 28px;
  text-align: center;
  color: #596174;
  font-size: 16px;
  line-height: 1.55;
}

.aeo-page .rk-cities__title {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: #1e1e1e;
}

.aeo-page .rk-cities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.aeo-page .rk-cities__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: #006fdc;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 111, 220, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aeo-page .rk-cities__card:hover,
.aeo-page .rk-cities__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 111, 220, 0.26);
  color: #fff;
}

.aeo-page .rk-cities__card:focus-visible {
  outline: 3px solid #7f3ff2;
  outline-offset: 3px;
}

.aeo-page .rk-cities__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #d7ebff;
}

.aeo-page .rk-cities__label {
  padding: 12px 10px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

@media (min-width: 640px) {
  .aeo-page .rk-cities__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 900px) {
  .aeo-page .rk-cities__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .aeo-page .rk-cities__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .aeo-page .rk-cities__label {
    font-size: 14px;
  }
}

.aeo-page .aeo-note {
  max-width: 72ch;
  margin: 18px auto 0;
  font-size: 13px;
  line-height: 1.45;
  color: #667085;
  text-align: center;
}

@media (min-width: 700px) {
  .aeo-page .aeo-def-grid,
  .aeo-page .aeo-why__grid,
  .aeo-page .aeo-results__grid,
  .aeo-page .aeo-audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aeo-page .aeo-tasks__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .aeo-page .aeo-process__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aeo-page .aeo-why__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aeo-page .aeo-includes-like {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .aeo-page .seo-btn,
  .aeo-page .seo-scard,
  .aeo-page .rk-cities__card {
    transition: none;
  }
}

/* Reduce initial style/layout work for below-fold blocks */
.aeo-page #regional,
.aeo-page #what-is,
.aeo-page #why,
.aeo-page #tasks,
.aeo-page #includes,
.aeo-page #results,
.aeo-page #process,
.aeo-page #audience,
.aeo-page #related,
.aeo-page #cities,
.aeo-page #aeo-local,
.aeo-page #faq,
.aeo-page #contacts,
.aeo-page .seo-cta-band {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

/* City photo + local copy — same BEM as hubs / dizayn geo */
.aeo-page .rk-astana-regional {
  padding: 40px 0 48px;
  background: #fff;
}

.aeo-page .rk-astana-regional__inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.aeo-page .rk-astana-regional__media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  align-self: center;
}

.aeo-page .rk-astana-regional__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
}

.aeo-page .rk-astana-regional__copy .rk-h2 {
  margin: 0 0 16px;
  text-align: left;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  color: #1e1e1e;
}

.aeo-page .rk-astana-regional__text p {
  margin: 0 0 12px;
  color: #4b4b4b;
  font-size: 15px;
  line-height: 1.55;
}

.aeo-page .rk-astana-regional__note {
  margin: 16px 0 0 !important;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e4e8f4;
  background: #f7f8ff;
  color: #333 !important;
}

@media (min-width: 900px) {
  .aeo-page .rk-astana-regional__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 899px) {
  .aeo-page .rk-astana-regional__media {
    max-width: 520px;
    margin-inline: auto;
  }

  .aeo-page .rk-astana-regional__media img {
    max-height: 240px;
  }
}
