/* Web-studiya clean page — page-specific layer over home-clean tokens */

body.rk-clean.rk-studio-page {
  min-width: 320px;
}

@media (min-width: 501px) {
  body.rk-clean.rk-studio-page {
    min-width: 0;
  }
}

/* Sticky mobile CTA (from live homepage) */
.rk-sticky-cta {
  display: none;
}

@media (max-width: 767px) {
  .rk-sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--rk-border);
    backdrop-filter: blur(8px);
  }

  .rk-sticky-cta__btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    font-family: var(--rk-font-head);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    color: #fff;
  }

  .rk-sticky-cta__btn--call {
    background: linear-gradient(270deg, rgb(223, 98, 226) 9%, rgb(106, 92, 234) 90%);
  }

  .rk-sticky-cta__btn--wa {
    background: #0e7a4b;
  }

  .rk-sticky-cta__btn:hover {
    color: #fff;
    opacity: 0.94;
  }

  body.rk-studio-page {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0));
  }

  body.rk-studio-page .rk-scroll-top,
  body.rk-studio-page .rk-soc-widget {
    bottom: calc(78px + env(safe-area-inset-bottom, 0));
  }
}

@media (min-width: 768px) {
  .rk-sticky-cta {
    display: none !important;
  }
}

/* Breadcrumb */
.rk-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  font-family: var(--rk-font-head);
  font-size: 13px;
  line-height: 1.4;
  color: #888;
}

.rk-crumbs a {
  color: #888;
  text-decoration: none;
}

.rk-crumbs a:hover {
  color: var(--rk-link);
}

.rk-crumbs__sep {
  opacity: 0.7;
}

.rk-crumbs [aria-current="page"] {
  color: #555;
}

/* Studio hero */
.rk-studio-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 40px;
  background: #f7f8ff;
}

.rk-studio-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.rk-studio-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.rk-studio-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}

.rk-studio-hero__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(127, 63, 242, 0.1);
  color: #6b46c1;
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.rk-studio-hero__title {
  margin: 0 0 14px;
  max-width: 18ch;
  font-family: var(--rk-font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #7f3ff2 0%, #2084d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rk-studio-hero__lead {
  margin: 0 0 20px;
  max-width: 36em;
  color: #4b4b4b;
  font-family: var(--rk-font-head);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 400;
  line-height: 1.55;
}

.rk-studio-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.rk-studio-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 0;
  font-family: var(--rk-font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rk-studio-hero__cta:hover {
  opacity: 0.94;
}

.rk-studio-hero__cta--primary {
  color: #fff;
  background: linear-gradient(270deg, rgb(223, 98, 226) 9%, rgb(106, 92, 234) 90%);
}

.rk-studio-hero__cta--secondary {
  color: var(--rk-link);
  background: #fff;
  border: 1px solid #d7dff0;
}

.rk-studio-hero__cta-play {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--rk-link);
  position: relative;
}

.rk-studio-hero__cta-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

.rk-studio-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rk-studio-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.rk-studio-hero__trust svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: #7f3ff2;
}

.rk-studio-hero__media {
  margin: 0;
  text-align: center;
}

.rk-studio-hero__media picture {
  display: inline-block;
  width: min(100%, 640px);
}

.rk-studio-hero__media img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 960px) {
  .rk-studio-hero {
    padding: 36px 0 48px;
  }

  .rk-studio-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
  }

  .rk-studio-hero__title {
    max-width: none;
  }
}

/* Services section — soft donor-like canvas */
.rk-studio-page #services {
  background:
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(180, 210, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 70%, rgba(210, 190, 255, 0.28), transparent 55%),
    #f7f8ff;
}

.rk-studio-page #services .rk-studio-grid {
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  /* Donor: 3 columns (not homepage 4) */
  .rk-studio-page #services .rk-studio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Numbered service cards (donor look) */
.rk-studio-page .rk-studio-card {
  padding: 18px 16px 48px;
  border-radius: 14px;
  min-height: 210px;
  box-shadow: 0 8px 28px rgba(40, 30, 90, 0.08);
}

.rk-studio-page .rk-studio-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.rk-studio-page .rk-studio-card__icon {
  margin: 0;
}

.rk-studio-page .rk-studio-card__icon-link {
  display: inline-flex;
  line-height: 0;
  border-radius: 8px;
}

.rk-studio-page .rk-studio-card__icon-link:focus-visible,
.rk-studio-page .rk-studio-card__title-link:focus-visible {
  outline: 2px solid var(--rk-purple, #7f3ff2);
  outline-offset: 3px;
}

.rk-studio-page .rk-studio-card__num {
  font-family: var(--rk-font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #e6e6ef;
}

.rk-studio-page .rk-studio-card > .rk-h3,
.rk-studio-page .rk-studio-card > h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  color: #111;
}

.rk-studio-page .rk-studio-card__title-link {
  color: inherit;
  text-decoration: none;
}

.rk-studio-page .rk-studio-card__title-link:hover {
  color: var(--rk-purple, #7f3ff2);
}

.rk-studio-page #services > .rk-container > .rk-h2 {
  display: none;
}

.rk-studio-page .rk-studio-card ul {
  padding-right: 40px;
}

/* Advantages — donor 4 columns with icon + title + subtitle */
.rk-adv-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.rk-adv-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(40, 30, 90, 0.06);
}

.rk-adv-item__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.rk-adv-item__title {
  margin: 0 0 4px;
  font-family: var(--rk-font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
}

.rk-adv-item__text {
  margin: 0;
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #666;
}

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

/* Cities */
.rk-cities {
  margin: 0;
  padding: 48px 0 56px;
}

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

.rk-cities__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.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;
}

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

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

.rk-cities__label {
  padding: 12px 10px 14px;
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

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

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

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

/* Bottom banner CTA */
.rk-studio-banner {
  padding: 28px 0;
  background: linear-gradient(90deg, #7f3ff2 0%, #5b6cf0 45%, #df62e2 100%);
  color: #fff;
}

.rk-studio-banner__inner {
  display: grid;
  gap: 16px;
  align-items: center;
}

.rk-studio-banner__title {
  margin: 0 0 6px;
  font-family: var(--rk-font-head);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.rk-studio-banner__text {
  margin: 0;
  font-family: var(--rk-font-head);
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.rk-studio-banner .rk-btn {
  justify-self: start;
}

@media (min-width: 900px) {
  .rk-studio-banner__inner {
    grid-template-columns: 1fr auto;
    gap: 24px;
  }
}

/* Nav current for Студия */
.rk-studio-page .rk-nav a[href="/web-studiya/"],
.rk-studio-page .rk-mobile-nav a[href="/web-studiya/"] {
  color: var(--rk-purple);
}

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

  .rk-cities__card:hover {
    transform: none;
  }
}
