/* Dizayn parent — page layer over home-clean + studio-clean (clean rebuild v2) */

.rk-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.rk-dizayn-page {
  background: #fff;
}

/* Tight hero: no Mottor empty section_image reserve */
.rk-dizayn-page .rk-studio-hero {
  padding-top: 8px;
  padding-bottom: 28px;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(152, 103, 243, 0.12), transparent 60%),
    radial-gradient(ellipse 55% 45% at 10% 80%, rgba(0, 111, 220, 0.08), transparent 55%),
    #f7f8ff;
}

@media (min-width: 960px) {
  .rk-dizayn-page .rk-studio-hero {
    background-image:
      linear-gradient(180deg, rgba(247, 248, 255, 0.55), rgba(247, 248, 255, 0.92)),
      url("../img/studio/hero-bg.webp");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }
}

.rk-dizayn-page .rk-studio-hero__bg {
  display: none;
}

.rk-dizayn-page .rk-crumbs {
  margin-bottom: 10px;
}

.rk-dizayn-page .rk-studio-hero__media {
  margin: 0;
}

.rk-dizayn-page .rk-studio-hero__media img {
  width: min(100%, 678px);
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Service cards right under hero (donor order) */
.rk-dizayn-page #dizayn-services {
  padding-top: 8px;
  padding-bottom: 8px;
}

.rk-dizayn-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

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

.rk-dizayn-card {
  position: relative;
  padding: 24px 52px 24px 22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(40, 30, 90, 0.08);
}

.rk-dizayn-card__icon {
  display: block;
  margin: 0 0 14px;
  border-radius: 12px;
}

.rk-dizayn-card h3 {
  margin: 0 0 8px;
  font-family: var(--rk-font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.rk-dizayn-card p {
  margin: 0;
  font-family: var(--rk-font-head);
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.rk-dizayn-card__more {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(127, 63, 242, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rk-dizayn-card__more svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #7f3ff2;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rk-dizayn-card__more:hover {
  background: rgba(127, 63, 242, 0.18);
  transform: translateX(2px);
}

/* Benefits */
.rk-benefits {
  padding: 40px 0 8px;
}

.rk-benefits__grid {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr;
}

.rk-benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(40, 30, 90, 0.06);
}

.rk-benefits__item svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: #7f3ff2;
  margin-top: 1px;
}

.rk-benefits__item span {
  font-family: var(--rk-font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
}

@media (min-width: 700px) {
  .rk-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .rk-benefits__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Process */
.rk-process__list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rk-process;
  grid-template-columns: 1fr;
}

.rk-process__item {
  position: relative;
  counter-increment: rk-process;
  padding: 20px 18px 18px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(40, 30, 90, 0.06);
}

.rk-process__item::before {
  content: counter(rk-process, decimal-leading-zero);
  display: block;
  margin: 0 0 8px;
  font-family: var(--rk-font-head);
  font-size: 22px;
  font-weight: 700;
  color: #e6e6ef;
}

.rk-process__item h3 {
  margin: 0;
  font-family: var(--rk-font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

@media (min-width: 700px) {
  .rk-process__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .rk-process__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Included */
.rk-included__grid {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr;
}

.rk-included__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(40, 30, 90, 0.05);
}

.rk-included__item svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: #7f3ff2;
  margin-top: 2px;
}

.rk-included__item span {
  font-family: var(--rk-font-head);
  font-size: 14px;
  line-height: 1.45;
  color: #333;
}

@media (min-width: 700px) {
  .rk-included__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Examples */
.rk-examples__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rk-examples__card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(40, 30, 90, 0.08);
}

.rk-examples__card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rk-examples__card figcaption {
  padding: 10px 12px 12px;
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #333;
}

@media (min-width: 1024px) {
  .rk-examples__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Mid offer (donor CTA before contacts) */
.rk-dizayn-offer {
  padding: 40px 0;
}

.rk-dizayn-offer__box {
  display: grid;
  gap: 20px;
  padding: 28px 24px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(115deg, #7f3ff2 0%, #5b6cf0 48%, #df62e2 100%);
  box-shadow: 0 16px 40px rgba(90, 60, 180, 0.22);
}

@media (min-width: 900px) {
  .rk-dizayn-offer__box {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    padding: 36px 40px;
  }
}

.rk-dizayn-offer__title {
  margin: 0 0 10px;
  font-family: var(--rk-font-head);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

.rk-dizayn-offer__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.95;
}

.rk-dizayn-offer__perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.rk-dizayn-offer__perks li {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.rk-dizayn-offer .rk-btn {
  justify-self: start;
  background: #fff;
  color: #5b2fd6;
}

.rk-dizayn-offer .rk-btn:hover {
  background: #f4f0ff;
}

/* Section titles */
.rk-dizayn-page #benefits > .rk-container > .rk-h2,
.rk-dizayn-page #process > .rk-container > .rk-h2,
.rk-dizayn-page #included > .rk-container > .rk-h2,
.rk-dizayn-page #examples > .rk-container > .rk-h2,
.rk-dizayn-page #faq > .rk-container > .rk-h2 {
  margin: 0 0 20px;
  font-family: var(--rk-font-head);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: #1e1e1e;
  text-align: center;
}

.rk-dizayn-page .rk-cities {
  margin-top: 8px;
  padding-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .rk-dizayn-card__more,
  .rk-cities__card {
    transition: none;
  }
}

/* Dizayn geo pilot (Astana+) — related links under service cards */
.rk-dizayn-related {
  margin: 20px 0 0;
  text-align: center;
  font-family: var(--rk-font-head);
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.rk-dizayn-related a {
  color: #5b2fd6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rk-dizayn-related a:hover {
  color: #7f3ff2;
}

.rk-dizayn-astana-page #dizayn-services > .rk-container > .rk-h2 {
  margin: 0 0 20px;
  font-family: var(--rk-font-head);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: #1e1e1e;
  text-align: center;
}
