/* Raskrutov homepage clean — AUTOSPLIT deferred */
@font-face {
  font-family: "Inter";
  src: url("../m-files.cdn1.cc/web/user/fonts/inter/inter_normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../m-files.cdn1.cc/web/user/fonts/inter/inter_bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../m-files.cdn1.cc/web/user/fonts/open_sans/open_sans_light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../m-files.cdn1.cc/web/user/fonts/open_sans/open_sans_normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../m-files.cdn1.cc/web/user/fonts/open_sans/open_sans_semi-bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Open Sans Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 104%;
  ascent-override: 96%;
  descent-override: 26%;
  line-gap-override: 0%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rk-link);
  text-decoration: none;
}

a:hover {
  color: var(--rk-purple-soft);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--rk-purple);
  outline-offset: 2px;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.rk-section {
  padding: 48px 0;
}

.rk-section--tight {
  padding: 32px 0;
}

.rk-section--muted {
  background: var(--rk-bg);
}

.rk-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(127, 63, 242, 0.1);
  color: var(--rk-purple);
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 500;
}

.rk-h1,
.rk-h2,
.rk-h3 {
  font-family: var(--rk-font-head);
  font-weight: 700;
  line-height: 1.4;
  color: var(--rk-text-dark);
  margin: 0 0 12px;
}

.rk-h1 {
  font-size: 36px;
  line-height: 1.2;
}

.rk-h2 {
  /* эталон: секции #111 Montserrat 700, не purple */
  font-size: 36px;
  line-height: 1.4;
  color: var(--rk-text-dark);
  margin-bottom: 20px;
}

.rk-h2--xl {
  font-size: 60px;
  line-height: 1;
  margin-bottom: 20px;
}

.rk-h2--spaced {
  margin-top: 48px;
}

#directions .rk-h2 {
  text-align: center;
  font-size: 36px;
  line-height: 1.4;
  margin-bottom: 28px;
}

#blog .rk-h2,
#vacancies .rk-h2 {
  font-size: 18px;
  line-height: 1.4;
  padding-top: 5px;
}

#faq .rk-h2 {
  font-size: 40px;
  line-height: 1;
}

.rk-eyebrow + .rk-lead {
  margin-top: 10px;
}

.rk-eyebrow + .rk-h2 {
  margin-top: 10px;
}

.rk-h3 {
  font-size: 16px;
  line-height: 1.4;
}

.rk-h3--spaced {
  margin-top: 28px;
}

.rk-h4 {
  font-family: var(--rk-font-head);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: var(--rk-text-dark);
  margin: 0 0 10px;
}

.rk-feature .rk-h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.4;
}

.rk-perk .rk-h3 {
  margin: 0;
  font-size: 14px;
  color: inherit;
}

.rk-cta-panel__eyebrow,
.rk-cta-panel__title,
.rk-form__title,
.rk-modal__title {
  font-family: var(--rk-font-head);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
}

.rk-cta-panel__eyebrow {
  font-size: 1.25rem;
  color: #fff;
}

.rk-cta-panel__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
}

.rk-form__title {
  font-size: 1.25rem;
  color: var(--rk-text-dark);
}

.rk-modal__title {
  font-size: 1.5rem;
  color: var(--rk-purple);
  padding-right: 40px;
}

.rk-faq__q {
  margin: 0;
  font-family: var(--rk-font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: inherit;
  display: inline;
}

.rk-lead {
  margin: 0 0 16px;
  color: var(--rk-text-soft);
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 60ch;
}

.rk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: var(--rk-font-btn);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rk-btn:hover {
  transform: translateY(-1px);
}

.rk-btn--primary {
  background: linear-gradient(270deg, rgb(223, 98, 226) 9%, rgb(106, 92, 234) 90%);
  color: var(--rk-white);
  border-radius: 10px;
  font-family: var(--rk-font-head);
  font-weight: 500;
  font-size: 16px;
}

.rk-btn--primary:hover {
  opacity: 0.92;
  color: var(--rk-white);
}

.rk-btn--ghost {
  background: #fff;
  color: #006fdc;
  border: 0.8px solid rgba(30, 30, 30, 0.22);
  border-radius: 10px;
  font-family: var(--rk-font-head);
  font-weight: 500;
  font-size: 16px;
}

.rk-btn--ghost:hover {
  background: #f7f9fc;
  color: #006fdc;
}

.rk-btn--light {
  background: var(--rk-white);
  color: var(--rk-purple);
}

.rk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Header */

/* Hero — absolute composition matching Mottor 1400×628 */

.rk-device {
  position: absolute;
  overflow: visible;
}

.rk-device__chrome {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
  pointer-events: none;
}

/* как в Mottor: экран клипится SVG-маской под форму дисплея */

.rk-device__viewport {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  mask-repeat: no-repeat;
  mask-size: 100%;
  mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  -webkit-mask-position: center center;
}

.rk-device__screen {
  display: block;
  flex-shrink: 0;
  object-fit: cover;
}

.rk-device--laptop {
  top: 121px;
  left: 684px;
  width: 819px;
  height: 478px;
}

.rk-device--laptop .rk-device__viewport {
  mask-image: url("../m-files.cdn1.cc/lpfile/2/8/d/28dae1e53d68e6eac5d1f92db459a9ea__q_57823416.svg");
  -webkit-mask-image: url("../m-files.cdn1.cc/lpfile/2/8/d/28dae1e53d68e6eac5d1f92db459a9ea__q_57823416.svg");
}

.rk-device--laptop .rk-device__screen {
  width: 75%;
  height: 80%;
  margin-top: -3%;
  object-position: 0% 50%;
}

.rk-device--phone {
  top: 189px;
  left: 1247px;
  width: 207px;
  height: 405px;
}

.rk-device--phone .rk-device__viewport {
  mask-image: url("../m-files.cdn1.cc/lpfile/3/9/0/390bd2d6c1042d94ec596476de6e3ccb__q_68072727.svg");
  -webkit-mask-image: url("../m-files.cdn1.cc/lpfile/3/9/0/390bd2d6c1042d94ec596476de6e3ccb__q_68072727.svg");
}

.rk-device--phone .rk-device__screen {
  width: 82%;
  height: 90%;
  object-position: 50% 0%;
  border-radius: 28px;
}

/* chrome под экраном (как Mottor); клип — mask на viewport + radius на img */

.rk-metric-card {
  position: absolute;
  width: 191px;
  height: 195px;
  padding: 14px 14px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(40, 20, 80, 0.06);
}

.rk-metric-card--1 { top: 416px; left: 38px; }

.rk-metric-card--2 { top: 416px; left: 259px; }

.rk-metric-card--3 { top: 414px; left: 479px; }

.rk-metric-card img {
  width: 60px;
  height: 62px;
  object-fit: contain;
  margin-bottom: 8px;
}

.rk-metric-card__label {
  margin: 0 0 4px;
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 500;
  color: #3a3a3a;
}

.rk-metric-card__value {
  margin: 0 0 4px;
  font-family: var(--rk-font-head);
  font-size: 22px;
  font-weight: 700;
  color: #1e1e1e;
  line-height: 1.2;
}

.rk-metric-card__value span {
  color: #0e7a09;
  font-size: 18px;
}

.rk-metric-card__note {
  margin: 0;
  font-size: 13px;
  color: #6b6b6b;
}

/* Cards / grids */

.rk-grid {
  display: grid;
  gap: 16px;
}

.rk-card {
  background: var(--rk-white);
  border-radius: 10px;
  padding: 15px;
  box-shadow: var(--rk-shadow);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rk-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--rk-shadow-hover);
}

.rk-card__icon {
  width: 61px;
  height: 62px;
  margin-bottom: 8px;
  object-fit: contain;
}

.rk-card p {
  margin: 0;
  color: var(--rk-text-dark);
  font-family: var(--rk-font-head);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.rk-directions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(208px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.rk-directions .rk-card {
  position: relative;
  scroll-snap-align: start;
  min-height: 213px;
  border-radius: 10px;
  box-shadow: none;
  border: none;
  padding: 10px 10px 48px;
  background: #fff;
}

.rk-directions .rk-card__icon {
  width: 61px;
  height: 62px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  margin-bottom: 6px;
}

.rk-directions .rk-h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--rk-text-dark);
  margin: 4px 0 6px;
}

.rk-directions .rk-card > p {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--rk-text-dark);
}

.rk-directions .rk-card__more {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef1f6;
  color: #4a5568;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rk-directions .rk-card__more:hover {
  background: var(--rk-purple);
  color: #fff;
  transform: translateX(2px);
}

.rk-directions .rk-card__more svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rk-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.rk-badge-card {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  min-height: 0;
}

.rk-badge-card:first-child {
  padding: 0;
}

.rk-badges img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.rk-badge-card:first-child img {
  width: min(100%, 527px);
  height: auto;
}

.rk-badge-card:nth-child(2) img {
  width: min(100%, 348px);
  height: auto;
}

.rk-badge-card:nth-child(3) img {
  width: min(100%, 439px);
  height: auto;
}

/* Studio cards — approved layout */

.rk-studio-grid {
  display: grid;
  gap: 16px;
}

.rk-studio-card {
  position: relative;
  background: var(--rk-white);
  border-radius: 10px;
  padding: 15px;
  box-shadow: var(--rk-shadow);
  min-height: 189px;
  display: flex;
  flex-direction: column;
}

.rk-studio-card__icon {
  display: block;
  width: auto;
  height: auto;
  max-width: 63px;
  max-height: 62px;
  margin: 0 0 9px;
  object-fit: contain;
}

.rk-studio-card > .rk-h3 {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.4;
}

.rk-studio-card__more {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #c2c2c2;
  color: #111;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rk-studio-card__more:hover {
  border-color: var(--rk-purple);
  color: var(--rk-purple);
  transform: translateX(2px);
}

.rk-studio-card__more svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rk-arrow-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rk-purple);
  color: #fff;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.rk-arrow-btn:hover {
  background: var(--rk-purple-soft);
  color: #fff;
  transform: translateX(2px);
}

.rk-arrow-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rk-studio-card ul {
  margin: 0;
  padding: 0 44px 0 1.1em;
  list-style: disc;
  width: 100%;
  flex: 1;
}

.rk-studio-card li {
  margin: 0 0 6px;
}

.rk-studio-card a.rk-sub {
  display: inline-block;
  min-height: 0;
  padding: 2px 0;
  color: #3288e6;
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.rk-studio-card a.rk-sub:hover {
  color: var(--rk-purple);
}

.rk-studio-card li {
  margin: 0 0 2px;
}

.rk-adv-grid {
  display: grid;
  gap: 12px;
}

.rk-adv {
  margin: 0;
  background: var(--rk-white);
  border-radius: 10px;
  padding: 14px 12px;
  font-family: var(--rk-font-head);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  color: var(--rk-text-dark);
  box-shadow: var(--rk-shadow);
}

.rk-cta-panel {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--rk-radius);
  background: linear-gradient(135deg, #7f3ff2, #6a5cea 55%, #df62e2);
  color: #fff;
  display: grid;
  gap: 16px;
}

.rk-cta-panel .rk-h2,
.rk-cta-panel .rk-h3,
.rk-cta-panel p {
  color: #fff;
}

.rk-cta-panel .rk-perk {
  display: grid;
  gap: 10px;
}

.rk-cta-panel .rk-perk > div {
  padding: 10px 12px;
  border-radius: var(--rk-radius-sm);
  background: rgba(255, 255, 255, 0.12);
}

.rk-cta-panel .rk-perk span {
  font-size: 14px;
  opacity: 0.92;
}

.rk-cta-panel .rk-btn--light {
  border-radius: var(--rk-radius-sm);
  font-family: var(--rk-font-head);
  font-weight: 500;
  min-width: 200px;
}

/* Academy / R-Builder / About */

.rk-feature-row {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.rk-feature {
  background: var(--rk-white);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: var(--rk-shadow);
}

.rk-feature span {
  display: block;
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 400;
  color: var(--rk-text-soft);
  line-height: 1.4;
}

.rk-feature strong,
.rk-feature .rk-h3 {
  display: block;
  font-family: var(--rk-font-head);
  margin-bottom: 4px;
}

.rk-feature--icon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rk-feature__icon {
  flex: 0 0 auto;
  width: auto;
  max-width: 51px;
  max-height: 62px;
  object-fit: contain;
}

.rk-academy-cards {
  margin-top: 24px;
}

.rk-academy-card {
  display: flex;
  flex-direction: column;
  min-height: 207px;
  padding: 15px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 2px 10px rgba(40, 20, 80, 0.06);
}

.rk-academy-card__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.rk-academy-card__icon {
  flex: 0 0 auto;
  width: auto;
  max-width: 65px;
  max-height: 62px;
  object-fit: contain;
}

.rk-academy-card__head .rk-h3 {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.rk-academy-card__text {
  margin: 0;
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--rk-text-dark);
}

.rk-academy-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.rk-academy-card__foot > a:first-child {
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 500;
  color: #3288e6;
}

.rk-academy-card__foot > a:first-child:hover {
  color: var(--rk-purple);
}

.rk-academy-card__more {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #24a0ff;
  color: #111;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rk-academy-card__more:hover {
  border-color: var(--rk-purple);
  color: var(--rk-purple);
  transform: translateX(2px);
}

.rk-academy-card__more svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rk-metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 24px;
}

.rk-metric {
  background: rgba(127, 63, 242, 0.08);
  border-radius: var(--rk-radius-sm);
  padding: 16px 12px;
  text-align: center;
}

.rk-metric strong {
  display: block;
  font-family: var(--rk-font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--rk-purple);
  line-height: 1.15;
}

.rk-metric span {
  display: block;
  margin-top: 4px;
  font-family: var(--rk-font-head);
  font-size: 13px;
  color: var(--rk-text-soft);
}

/* About company */

.rk-section--about {
  background-color: var(--rk-bg);
  background-image: url("../m-files.cdn1.cc/lpfile/d/7/5/d75cf43e573ba54d325699e45b16395d.webp");
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.rk-about-stats {
  display: grid;
  gap: 16px;
  margin: 24px 0 20px;
}

.rk-about-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 2px 10px rgba(40, 20, 80, 0.06);
}

.rk-about-stat img {
  flex: 0 0 auto;
  width: auto;
  max-width: 51px;
  max-height: 62px;
  object-fit: contain;
}

.rk-about-stat__text {
  margin: 0;
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #3a3a3a;
}

.rk-about-stat__text strong {
  font-size: 22px;
  font-weight: 700;
  color: #1e1e1e;
  margin-right: 4px;
}

.rk-about-grid {
  display: grid;
  gap: 16px;
}

.rk-about-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 2px 10px rgba(40, 20, 80, 0.06);
}

.rk-about-card__head {
  position: relative;
  margin-bottom: 12px;
  padding-right: 44px;
}

.rk-about-card__icon {
  display: block;
  width: auto;
  max-width: 43px;
  max-height: 62px;
  margin-bottom: 9px;
  object-fit: contain;
}

.rk-about-card__head .rk-h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.rk-about-card__more {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #24a0ff;
  color: #111;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rk-about-card__more:hover {
  border-color: var(--rk-purple);
  color: var(--rk-purple);
  transform: translateX(2px);
}

.rk-about-card__more svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rk-about-card__text {
  margin: 0 0 12px;
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--rk-text-dark);
}

.rk-about-card__foot {
  margin-top: auto;
  padding-top: 10px;
}

.rk-about-card__foot a {
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 500;
  color: #3288e6;
}

.rk-about-card__foot a:hover {
  color: var(--rk-purple);
}

.rk-about-team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}

.rk-about-person {
  margin: 0;
  text-align: center;
}

.rk-about-person img {
  display: block;
  width: 100%;
  max-width: 122px;
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 6px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(40, 20, 80, 0.08);
}

.rk-about-person strong {
  display: block;
  font-family: var(--rk-font-head);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rk-text-dark);
}

.rk-about-person span {
  display: block;
  font-family: var(--rk-font-head);
  font-size: 11px;
  color: var(--rk-text-soft);
}

.rk-about-letters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin-bottom: 4px;
}

.rk-about-letters img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(40, 20, 80, 0.08);
}

.rk-about-clients img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.rk-about-posts {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}

.rk-about-post {
  display: grid;
  grid-template-columns: 117px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.rk-about-post img {
  grid-row: 1 / span 2;
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.rk-about-post__title {
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--rk-text-dark);
}

.rk-about-post time {
  font-size: 12px;
  color: var(--rk-text-soft);
}

.rk-about-post:hover .rk-about-post__title {
  color: var(--rk-purple);
}

.rk-about-vacancies {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.rk-about-chip {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(127, 63, 242, 0.08);
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--rk-text-dark);
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.rk-about-chip:hover {
  background: rgba(127, 63, 242, 0.14);
  color: var(--rk-purple);
}

/* R-Builder */

.rk-section--rbuilder {
  background: linear-gradient(135deg, #f8f6ff 0%, #f3f8ff 45%, #fff 100%);
}

.rk-eyebrow--soft {
  background: #eef1f6;
  color: #5a6270;
}

.rk-gradient-text {
  background-image: linear-gradient(90deg, #24a0ff 10%, #6a5cea 91%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#r-builder .rk-h2--gradient {
  margin-bottom: 16px;
}

.rk-text-brand {
  color: #24a0ff;
}

.rk-btn--demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: #24a0ff;
  color: #006fdc;
}

.rk-btn--demo svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.rk-rb-perks {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.rk-rb-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 2px 10px rgba(40, 20, 80, 0.06);
}

.rk-rb-perk__icon {
  flex: 0 0 auto;
  width: auto;
  max-width: 46px;
  max-height: 62px;
  object-fit: contain;
}

.rk-rb-perk .rk-h3 {
  margin: 0 0 2px;
  font-size: 14px;
  line-height: 1.3;
}

.rk-rb-perk p {
  margin: 0;
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--rk-text-soft);
}

.rk-media--rbuilder {
  box-shadow: none;
  background: transparent;
}

.rk-media--rbuilder img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(40, 20, 80, 0.12);
}

.rk-rb-cards {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.rk-rb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 207px;
  padding: 15px;
  padding-bottom: 52px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 2px 10px rgba(40, 20, 80, 0.06);
}

.rk-rb-card__icon {
  display: block;
  width: auto;
  max-width: 65px;
  max-height: 62px;
  margin-bottom: 9px;
  object-fit: contain;
}

.rk-rb-card > .rk-h3 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.35;
}

.rk-rb-card__text {
  margin: 0;
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--rk-text-dark);
}

.rk-rb-card__more {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #24a0ff;
  color: #111;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rk-rb-card__more:hover {
  border-color: var(--rk-purple);
  color: var(--rk-purple);
  transform: translateX(2px);
}

.rk-rb-card__more svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rk-split {
  display: grid;
  gap: 20px;
  align-items: center;
}

.rk-media {
  border-radius: var(--rk-radius);
  overflow: hidden;
  box-shadow: var(--rk-shadow);
}

.rk-grid--cards {
  margin-top: 24px;
}

.rk-grid--cards .rk-card .rk-h3 {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.rk-grid--cards .rk-card a {
  font-family: var(--rk-font-head);
  font-weight: 500;
  font-size: 13px;
}

.rk-grid--cards .rk-card p {
  font-size: 12px;
}

.rk-grid--cards .rk-card > p:last-child {
  margin-top: 12px;
}

.rk-link-row {
  margin-top: 12px;
}

.rk-link-row--lg {
  margin-top: 16px;
}

.rk-media--clients {
  max-width: 640px;
}

.rk-cta-panel--partner {
  margin-top: 28px;
}

.rk-btn--ghost-on-purple {
  border-color: #fff;
  color: #fff;
}

.rk-btn--ghost-on-purple:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.rk-feature-row--4 {
  margin-top: 20px;
}

#academy .rk-lead:last-of-type {
  margin-top: 16px;
  max-width: none;
}

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

.rk-person {
  background: var(--rk-white);
  border-radius: var(--rk-radius);
  padding: 12px;
  text-align: center;
  box-shadow: var(--rk-shadow);
}

.rk-person img {
  width: 122px;
  height: 122px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 8px;
  box-shadow: var(--rk-shadow);
}

.rk-person strong {
  display: block;
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.rk-person span {
  font-family: var(--rk-font-head);
  font-size: 13px;
  color: var(--rk-text-soft);
}

.rk-letters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rk-letters img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--rk-shadow);
}

.rk-blog-grid {
  display: grid;
  gap: 16px;
}

.rk-blog-card {
  padding: 0 0 16px;
  overflow: hidden;
}

.rk-blog-card .rk-h3 {
  font-size: 14px;
  line-height: 1;
  padding: 0 16px;
  margin: 10px 0 0;
}

.rk-blog-card time {
  display: block;
  margin-top: 8px;
  padding: 0 16px;
  font-size: 13px;
  color: var(--rk-text-soft);
}

.rk-blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin: 0 0 12px;
}

.rk-vacancy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.rk-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(127, 63, 242, 0.1);
  color: var(--rk-purple);
  font-family: var(--rk-font-head);
  font-weight: 500;
  font-size: 14px;
  box-shadow: var(--rk-shadow);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.rk-chip:hover {
  background: rgba(127, 63, 242, 0.16);
  color: var(--rk-purple);
  transform: translateY(-1px);
}

.rk-feature--glass {
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid #d6d6d6;
  box-shadow: none;
}

.rk-feature-row--partners {
  margin-top: 16px;
}

/* Partners — единая секция, два слоя фона как на Mottor */

.rk-section--partners {
  position: relative;
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 48px;
  background-color: #e8eef8;
  background-image: url("../m-files.cdn1.cc/lpfile/d/1/6/d1630e6a033b75a4379aa70c459e910a.webp");
  background-position: 50% 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.rk-section--partners::before {
  content: "";
  position: absolute;
  inset: 0 0 42%;
  background-image: url("../m-files.cdn1.cc/lpfile/c/4/e/c4ed9801b96b6a8a708ec72bb8b5c741.webp");
  background-position: 50% 0%;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.rk-partners-hero__content {
  max-width: 760px;
}

.rk-partners-hero {
  margin-bottom: 20px;
}

.rk-partners-panel {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #d6d6d6;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.85);
}

.rk-partners-panel__title {
  margin: 0 0 12px;
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #505050;
}

.rk-partners-panel__grid {
  display: grid;
  gap: 12px;
}

.rk-partner-pack,
.rk-partners-agency {
  display: flex;
  flex-direction: column;
  min-height: 208px;
  padding: 10px;
  border: 1px solid #d6d6d6;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.57);
}

.rk-partner-pack__head,
.rk-partners-agency__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  padding-right: 44px;
  position: relative;
}

.rk-partner-pack__icon,
.rk-partners-agency__icon {
  flex: 0 0 auto;
  width: auto;
  max-width: 64px;
  max-height: 62px;
  object-fit: contain;
}

.rk-partner-pack__head .rk-h4,
.rk-partners-agency__head .rk-h3 {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #505050;
}

.rk-partner-pack__desc,
.rk-partners-agency__desc {
  margin: 0 0 8px;
  font-family: var(--rk-font-head);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--rk-text-dark);
}

.rk-partner-pack__pct {
  font-family: var(--rk-font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #1d8fe7;
}

.rk-partner-pack__pct-label {
  margin: 2px 0 8px;
  font-family: var(--rk-font-head);
  font-size: 13px;
  color: var(--rk-text-soft);
}

.rk-partner-pack__list,
.rk-partners-agency__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--rk-font-head);
  font-size: 13px;
  line-height: 1.45;
  color: var(--rk-text-dark);
}

.rk-partner-pack__list li,
.rk-partners-agency__list li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 4px;
}

.rk-partner-pack__list li::before,
.rk-partners-agency__list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1c79c0;
  font-size: 12px;
}

.rk-partners-agency {
  position: relative;
  min-height: 255px;
  padding-bottom: 56px;
}

.rk-partners-agency__more {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #24a0ff;
  color: #111;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rk-partners-agency__more:hover {
  border-color: var(--rk-purple);
  color: var(--rk-purple);
  transform: translateX(2px);
}

.rk-partners-agency__more svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rk-partners-agency__foot {
  margin-top: auto;
  padding-top: 8px;
}

.rk-partners-agency__foot a {
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 500;
  color: #3288e6;
}

.rk-partners-agency__foot a:hover {
  color: var(--rk-purple);
}

.rk-partners-agency__illus {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 128px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

/* FAQ */

.rk-faq {
  margin-top: 8px;
}

.rk-faq details {
  background: var(--rk-white);
  border-radius: 10px;
  box-shadow: var(--rk-shadow);
  border: 1px solid var(--rk-border);
  padding: 0 18px;
  margin-bottom: 10px;
  transition: border-color 0.2s ease;
}

.rk-faq details[open] {
  border-color: rgba(127, 63, 242, 0.28);
}

.rk-faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--rk-font-head);
  font-weight: 600;
  color: var(--rk-text-dark);
}

.rk-faq summary .rk-faq__q {
  flex: 1;
  display: block;
}

.rk-faq summary::-webkit-details-marker {
  display: none;
}

.rk-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(127, 63, 242, 0.12);
  color: var(--rk-purple);
  font-size: 20px;
  line-height: 1;
}

.rk-faq details[open] summary::after {
  content: "−";
}

.rk-faq .rk-faq__a {
  padding: 0 0 14px;
  color: var(--rk-text-soft);
  font-family: var(--rk-font-ui);
  font-size: 14px;
  line-height: 1.45;
}

/* Contacts */

.rk-section--contacts {
  position: relative;
  isolation: isolate;
  padding-top: 63px;
  padding-bottom: 40px;
  background-color: #fff;
  background-image: url("../m-files.cdn1.cc/lpfile/6/e/e/6eea3ed3de3e5cbe118d06eb148fe963.webp");
  background-position: 50% 0%;
  background-size: cover;
  background-repeat: no-repeat;
}

.rk-section--contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.rk-contacts {
  display: grid;
  gap: 20px;
  margin-top: 18px;
  align-items: start;
}

.rk-contacts__aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.rk-contacts__line {
  width: calc(100% - 24px);
  max-width: 100%;
  height: 0;
  margin: 0 21px 1px 3px;
  border: 0;
  border-top: 2px solid #9867f3;
}

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

.rk-form {
  background: var(--rk-white);
  border-radius: var(--rk-radius);
  padding: 24px;
  box-shadow: var(--rk-shadow);
  border: 1px solid var(--rk-border);
}

.rk-form--contacts {
  padding: 17px;
  border: 1px solid #9867f3;
  border-radius: 10px;
  box-shadow: none;
}

.rk-form--contacts .rk-form__title {
  margin: 0 0 8px;
  font-family: var(--rk-font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #282a2f;
}

.rk-form--contacts .rk-form__lead {
  margin: 0 0 17px;
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #7b7b7b;
}

.rk-form--contacts .rk-field {
  margin-bottom: 15px;
}

.rk-form--contacts .rk-field label {
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 500;
  color: #282a2f;
}

.rk-form--contacts .rk-field input {
  min-height: 37px;
  height: 37px;
  padding: 0 14px;
  border: 1px solid #c7c7c7;
  border-radius: 10px;
  font-family: "Open Sans", "Open Sans Fallback", Arial, sans-serif;
  font-size: 14px;
  color: #282a2f;
}

.rk-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.rk-btn--contacts {
  min-height: 0;
  min-width: 0;
  width: auto;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(60deg, #9867f3 10%, #df62e2 92%);
  color: #fff;
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.rk-btn--contacts:hover {
  opacity: 0.92;
  color: #fff;
  transform: none;
}

.rk-field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.rk-field label {
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 600;
}

.rk-field input,
.rk-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfcfda;
  border-radius: 6px;
  font-family: var(--rk-font-head);
  font-size: 14px;
  background: #fff;
}

.rk-field textarea {
  min-height: 110px;
  resize: vertical;
}

.rk-contacts__main {
  display: grid;
  gap: 14px;
  align-content: start;
}

.rk-contact-cards {
  display: grid;
  gap: 3px;
}

.rk-contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rk-contact-card:hover {
  border-color: #b5b5b5;
  box-shadow: 0 2px 10px rgba(40, 20, 80, 0.06);
  color: inherit;
}

.rk-contact-card__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.rk-contact-card__title,
.rk-contact-card__note {
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--rk-text);
}

.rk-contact-card__value {
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #3a3a3a;
}

.rk-contact-card[href^="mailto:"] .rk-contact-card__value {
  color: var(--rk-link);
}

.rk-contacts__office {
  margin: 4px 0 0;
  font-family: var(--rk-font-head);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--rk-text);
}

.rk-contacts__office strong {
  font-weight: 700;
}

.rk-map {
  position: relative;
  width: 100%;
  height: 262px;
  min-height: 262px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f7;
}

.rk-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.rk-contacts-social {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
}

.rk-contacts-social__title {
  margin: 0 0 12px;
  padding-top: 3px;
  font-family: var(--rk-font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--rk-text);
}

.rk-contacts-social__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rk-contact-soc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid rgba(196, 196, 196, 0.4);
  border-radius: 8px;
  background: #fff;
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rk-contact-soc:hover {
  border-color: rgba(150, 150, 150, 0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.rk-contact-soc__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.rk-contact-soc__icon--tg {
  color: #24a0ff;
  -webkit-mask-image: url("../m-files.cdn1.cc/lpfile/f/d/9/fd9fedea05b117d3e04a183cd3c83a3d.svg");
  mask-image: url("../m-files.cdn1.cc/lpfile/f/d/9/fd9fedea05b117d3e04a183cd3c83a3d.svg");
}

.rk-contact-soc__icon--ig {
  color: #df62e2;
  -webkit-mask-image: url("../m-files.cdn1.cc/lpfile/e/a/b/eab2f7775db05e2f32ee435ef46ec912.svg");
  mask-image: url("../m-files.cdn1.cc/lpfile/e/a/b/eab2f7775db05e2f32ee435ef46ec912.svg");
}

.rk-contact-soc__icon--yt {
  color: #e70000;
  -webkit-mask-image: url("../m-files.cdn1.cc/lpfile/f/e/1/fe15ff57c84cb329f6089cb16a626c7c.svg");
  mask-image: url("../m-files.cdn1.cc/lpfile/f/e/1/fe15ff57c84cb329f6089cb16a626c7c.svg");
}

.rk-contact-soc__icon--tt {
  color: #1e1e1e;
  -webkit-mask-image: url("../m-files.cdn1.cc/lpfile/d/d/b/ddbb4a541f587cbb566bba9316170e95.svg");
  mask-image: url("../m-files.cdn1.cc/lpfile/d/d/b/ddbb4a541f587cbb566bba9316170e95.svg");
}

.rk-contact-soc:has(.rk-contact-soc__icon--tg) { color: #24a0ff; }

.rk-contact-soc:has(.rk-contact-soc__icon--ig) { color: #df62e2; }

.rk-contact-soc:has(.rk-contact-soc__icon--yt) { color: #e70000; }

.rk-contact-soc:has(.rk-contact-soc__icon--tt) { color: #1e1e1e; }

.rk-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  margin: 18px 0 28px;
  color: var(--rk-text-soft);
  position: relative;
  z-index: 1;
}

.rk-modal__dialog form .rk-btn--primary {
  position: relative;
  z-index: 0;
  margin-top: 0;
  flex: 0 0 auto;
}

.rk-consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.rk-consent span {
  flex: 1;
  min-width: 0;
}

.rk-modal__dialog form .rk-btn {
  width: 100%;
  margin-top: 4px;
}

/* Floating widgets — scroll-top + soc like Mottor */

.rk-scroll-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50px;
  background: #7439e2;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.rk-scroll-top--visible {
  opacity: 1;
  pointer-events: auto;
}

.rk-scroll-top:hover {
  transform: scale(1.1);
}

.rk-scroll-top__icon {
  width: 20px;
  height: 20px;
  background: #fff;
  -webkit-mask: url("../m-files.cdn1.cc/lpfile/3/6/0/3602629724624ef5f818041256b3879e.svg") center center / cover no-repeat;
  mask: url("../m-files.cdn1.cc/lpfile/3/6/0/3602629724624ef5f818041256b3879e.svg") center center / cover no-repeat;
}

.rk-soc-widget {
  position: fixed;
  right: 30px;
  bottom: 123px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.rk-soc-widget__links {
  position: absolute;
  bottom: 100%;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
  margin: 0 0 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rk-soc-widget--opened .rk-soc-widget__links {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rk-soc-widget__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rk-soc-widget__name {
  position: absolute;
  right: 130%;
  z-index: 1;
  max-width: 150px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  font-family: var(--rk-font-head);
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.rk-soc-widget__item:hover .rk-soc-widget__name {
  opacity: 1;
  visibility: visible;
}

.rk-soc-widget__link {
  display: inline-flex;
  border-radius: 50%;
  background: transparent;
}

.rk-soc-widget__link img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.rk-soc-widget__main {
  position: relative;
  margin-top: 20px;
  pointer-events: auto;
}

.rk-soc-widget__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #7439e2;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, background 0.5s ease;
}

.rk-soc-widget__toggle::after {
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  width: 30px;
  height: 250px;
  transform: translate3d(-160%, 0, 0) rotate(20deg);
  background: linear-gradient(90deg, transparent, #fff, transparent);
  opacity: 0.4;
  will-change: transform;
  animation: rk-soc-shine 3s ease-in-out infinite;
}

.rk-soc-widget--opened .rk-soc-widget__toggle {
  transform: rotate(180deg);
  background: transparent;
  box-shadow: none;
}

.rk-soc-widget--opened .rk-soc-widget__toggle::after {
  display: none;
  animation: none;
}

.rk-soc-widget__icon {
  position: absolute;
  width: 70%;
  height: 70%;
  transition: opacity 0.3s ease;
}

.rk-soc-widget__icon--close {
  opacity: 0;
}

.rk-soc-widget--opened .rk-soc-widget__icon--open {
  opacity: 0;
}

.rk-soc-widget--opened .rk-soc-widget__icon--close {
  opacity: 1;
}

@keyframes rk-soc-shine {
  from {
    transform: translate3d(-160%, 0, 0) rotate(20deg);
  }
  to {
    transform: translate3d(260%, 0, 0) rotate(20deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rk-soc-widget__toggle::after {
    animation: none;
  }
}

/* Modal */

.rk-modal[hidden] {
  display: none;
}

.rk-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.rk-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--rk-overlay);
}

.rk-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: var(--rk-white);
  border-radius: 12px;
  padding: 28px 26px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.rk-modal__dialog form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.rk-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--rk-text);
}

.rk-modal__close:hover {
  background: #f2f2f7;
}

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

/* Desktop menu (>500 like Mottor) */

/* Tablet+ content grids */

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

  .rk-studio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rk-about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rk-about-team {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rk-rb-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rk-adv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rk-feature-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rk-feature-row--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rk-feature-row--partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rk-partners-panel__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 1.35fr);
  }

  .rk-partners-agency {
    grid-column: auto;
  }

  .rk-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rk-cta-panel {
    grid-template-columns: 1.2fr auto auto;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
  }

  .rk-cta-panel .rk-perk {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 12px;
  }

  .rk-cta-panel--bottom {
    grid-template-columns: 1fr auto;
  }

  .rk-person img {
    width: 128px;
    height: 128px;
  }
}

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

  .rk-about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rk-about-team {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rk-rb-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rk-adv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rk-team {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rk-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rk-person img {
    width: 149px;
    height: 149px;
  }
}

/* Mobile hero ≤500 — Mottor coords on 370 canvas */
