/* ================================================
   RAZRABOTKA PAGE — rd-* prefix
   ================================================ */

/* ── HERO ──────────────────────────────────────── */
.rd-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 140px 0 100px;
}


/* Video background */
.rd-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark gradient overlay */
.rd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,5,8,0.82) 0%,
    rgba(5,5,8,0.65) 60%,
    rgba(5,5,8,0.55) 100%
  );
  z-index: 1;
}

/* Inner */
.rd-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
}

/* Breadcrumb */
.rd-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 28px;
  font-family: 'Onest', sans-serif;
}
.rd-hero__breadcrumb a { color: rgba(255,255,255,0.35); text-decoration: none; }
.rd-hero__breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.rd-hero__breadcrumb span:last-child { color: rgba(255,255,255,0.6); }

/* H1 */
.rd-hero__h1 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 32px;
  text-align: left;
}
.rd-hero__h1-line {
  display: inline;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.rd-hero__h1-line::after {
  content: ' ';
}
.rd-hero__h1-line--1 { transition-delay: 0.05s; }
.rd-hero__h1-line--2 { transition-delay: 0.15s; }
.rd-hero__h1-line--3 { display: block; transition-delay: 0.25s; }
.rd-hero--loaded .rd-hero__h1-line {
  opacity: 1;
}
.rd-hero__h1-accent {
  background: linear-gradient(90deg, #195aff, #60a5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub */
.rd-hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}
.rd-hero--loaded .rd-hero__sub { opacity: 1; transform: translateY(0); }

/* Actions */
.rd-hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 52px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}
.rd-hero--loaded .rd-hero__actions { opacity: 1; transform: translateY(0); }

.rd-hero__btn-main { min-width: 200px; }
.rd-hero__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-family: 'Onest', sans-serif;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}
.rd-hero__btn-ghost:hover { color: #fff; }

/* Stats */
.rd-hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  opacity: 0;
  transition: opacity 0.7s ease 0.65s;
}
.rd-hero--loaded .rd-hero__stats { opacity: 1; }
.rd-hero__stat-val {
  font-family: 'Onest', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}
.rd-hero__stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  font-family: 'Onest', sans-serif;
}
.rd-hero__stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
}

/* ── HERO QUOTE ──────────────────────────────────── */
.rd-hero__quote {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 3;
  background: #fff;
  border-radius: 20px;
  padding: 24px 28px;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.rd-hero__quote-text {
  font-size: 14px;
  line-height: 1.55;
  color: #0a0a0a;
  margin-bottom: 16px;
  font-family: 'Open Sans', sans-serif;
}
.rd-hero__quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rd-hero__quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.rd-hero__quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rd-hero__quote-name {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1;
  margin-bottom: 4px;
}
.rd-hero__quote-role {
  font-size: 12px;
  color: #6b7280;
  font-family: 'Open Sans', sans-serif;
}

/* ── ADS1 ────────────────────────────────────────── */
.rd-ads1 {
  background: #fff;
  padding: 96px 0;
}
.rd-ads1__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.rd-ads1__texts {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 32px;
}
.rd-ads1__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.rd-ads1__desc {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.65;
  font-family: 'Open Sans', sans-serif;
}
.rd-ads1__card {
  background: #f8f8fb;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
}
.rd-ads1__card:hover {}
.rd-ads1__card-left {
  flex: 1;
}
.rd-ads1__pct {
  font-family: 'Onest', sans-serif;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.rd-ads1__card-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  font-family: 'Open Sans', sans-serif;
  max-width: 180px;
}
.rd-ads1__img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

/* SVG animations */
.rd-ads1__img--globe {
  animation: rd-ads1-spin 18s linear infinite;
  transform-origin: center center;
}
.rd-ads1__img--graph {
  animation: rd-ads1-float 3.8s ease-in-out infinite;
}
.rd-ads1__img--layers {
  animation: rd-ads1-float 4.4s ease-in-out infinite 0.8s;
}

@keyframes rd-ads1-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes rd-ads1-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* ── WHY ─────────────────────────────────────────── */
.rd-why {
  background: #fff;
  padding: 96px 0;
}
.rd-why__head {
  text-align: center;
  margin-bottom: 56px;
}
.rd-why__h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  margin-top: 12px;
}
.rd-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rd-why__card {
  position: relative;
  background: #f8f8fb;
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rd-why__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.rd-why__num {
  font-family: 'Onest', sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0a0a0a;
  margin-bottom: 16px;
}
.rd-why__num span { font-size: 40px; color: #195aff; }
.rd-why__text {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
}
.rd-why__text strong { color: #0a0a0a; }
.rd-why__line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #195aff, #60a5ff);
  border-radius: 0 0 20px 20px;
}
.rd-why__line--green  { background: linear-gradient(90deg, #10b981, #34d399); }
.rd-why__line--purple { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

/* ── CASES ───────────────────────────────────────── */
.rd-cases {
  background: #fff;
  padding: 100px 0;
  position: relative;
}

/* Head */
.rd-cases__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.rd-cases__h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 12px;
}
.rd-cases__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #195aff;
  text-decoration: none;
  border-bottom: 1px solid rgba(25,90,255,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s;
  white-space: nowrap;
}
.rd-cases__all:hover { gap: 12px; border-color: #195aff; }

/* ── Sliding-pill tabs ─────────────────────────── */
.rd-cases__tabs {
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 48px;
}
.rd-cases__tabs::-webkit-scrollbar { display: none; }

.rd-cases__tabs-track {
  display: inline-flex;
  position: relative;
  background: #f0f1f5;
  border-radius: 16px;
  padding: 5px;
  gap: 2px;
}

/* The pill that slides under the active tab */
.rd-cases__tabs-pill {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: left 0.32s cubic-bezier(0.4,0,0.2,1),
              width 0.32s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
  pointer-events: none;
}

.rd-cases__tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border: none;
  background: transparent;
  border-radius: 12px;
  font-family: 'Onest', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s;
}
.rd-cases__tab.is-active { color: #0a0a0a; }

.rd-cases__tab em {
  font-style: normal;
  font-size: 11px;
  line-height: 1;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.35);
  transition: background 0.25s, color 0.25s;
}
.rd-cases__tab.is-active em {
  background: rgba(25,90,255,0.1);
  color: #195aff;
}

/* ── Editorial masonry grid ───────────────────── */
.rd-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rd-cases__card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.rd-cases__card--wide {
  grid-column: span 2;
}

.rd-cases__card-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f1f5;
  margin-bottom: 14px;
}
.rd-cases__card--wide .rd-cases__card-img {
  aspect-ratio: 16/9;
}
.rd-cases__card-img img,
.rd-cases__card-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.rd-cases__card:hover .rd-cases__card-img img,
.rd-cases__card:hover .rd-cases__card-img video { transform: scale(1.04); }

.rd-cases__card-body { padding: 0 4px; }

.rd-cases__card-name {
  font-family: 'Onest', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.rd-cases__card:hover .rd-cases__card-name { color: #195aff; }

.rd-cases__card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.rd-cases__card-cat {
  font-size: 12px;
  color: #9ca3af;
  font-family: 'Open Sans', sans-serif;
}
.rd-cases__card-sep {
  font-size: 12px;
  color: #d1d5db;
}
.rd-cases__card-desc {
  font-size: 12px;
  color: #c4c9d4;
  font-family: 'Open Sans', sans-serif;
}

/* ── QUIZ ───────────────────────────────────────── */
.rd-quiz {
  background: #050a2e;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
/* Background sphere video */
.rd-quiz__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
/* Dark overlay for text readability */
.rd-quiz__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,10,45,0.82) 0%, rgba(4,10,45,0.55) 50%, rgba(4,10,45,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}
.rd-quiz .container { position: relative; z-index: 2; }

/* ── Full-width left-aligned wrap ── */
.rq-wrap {
  display: block;
}

/* ── Quiz card — no background ── */
.rq-left {
  width: 100%;
  background: none;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  overflow: visible;
}

/* Header inside left col */
.rq-header {
  padding: 44px 0 0;
}
.rq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Onest', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7aa3ff;
  margin-bottom: 14px;
}
.rq-eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #195aff;
  flex-shrink: 0;
}
.rq-h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.rq-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Flow ─── */
.rq-flow { padding: 32px 0 44px; }

/* Progress */
.rq-progress { margin-bottom: 36px; }
.rq-pbar {
  width: 100%;
  height: 7px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.rq-pbar__fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #195aff, #5b8bff);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(25,90,255,0.65);
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}
.rq-progress__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rq-plabel {
  font-size: 12px;
  font-family: 'Onest', sans-serif;
  color: rgba(255,255,255,0.65);
}
.rq-psteps {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rq-pdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
}
.rq-pdot.is-active {
  background: #195aff;
  width: 20px;
  border-radius: 10px;
}
.rq-pdot.is-done { background: rgba(91,139,255,0.5); }

/* Steps */
.rq-stage { display: none; }
.rq-stage.is-active {
  display: block;
  animation: rq-in 0.38s cubic-bezier(0.4,0,0.2,1);
}
@keyframes rq-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rq-question {
  font-family: 'Onest', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

/* Options — horizontal cards */
.rq-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.rq-opt {
  position: relative;
  display: block;
  cursor: pointer;
}
.rq-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.rq-opt__body {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 15px 52px 15px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.22);
  background: rgba(8,18,70,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s, background 0.2s, transform 0.18s, box-shadow 0.2s;
  user-select: none;
}
.rq-opt:hover .rq-opt__body {
  border-color: rgba(100,160,255,0.55);
  background: rgba(20,60,160,0.55);
  box-shadow: 0 0 0 1px rgba(100,160,255,0.2) inset;
  transform: translateX(3px);
}
.rq-opt input:checked ~ .rq-opt__body {
  border-color: rgba(80,150,255,0.85);
  background: rgba(15,55,180,0.55);
  box-shadow: 0 0 20px rgba(25,90,255,0.25), 0 0 0 1px rgba(100,160,255,0.3) inset;
}
.rq-opt__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(80,140,255,0.18);
  color: #7eb8ff;
  line-height: 0;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.rq-opt:hover .rq-opt__body .rq-opt__icon {
  background: rgba(80,140,255,0.3);
  color: #aad4ff;
  box-shadow: 0 0 12px rgba(80,140,255,0.35);
}
.rq-opt input:checked ~ .rq-opt__body .rq-opt__icon {
  background: rgba(60,120,255,0.4);
  color: #c5e2ff;
  box-shadow: 0 0 16px rgba(60,120,255,0.5);
}
.rq-opt__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rq-opt__name {
  font-family: 'Onest', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  transition: color 0.2s;
}
.rq-opt:hover .rq-opt__body .rq-opt__name { color: #c8deff; }
.rq-opt input:checked ~ .rq-opt__body .rq-opt__name { color: #d4e8ff; }
.rq-opt__hint {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.35;
  transition: color 0.2s;
}
.rq-opt:hover .rq-opt__body .rq-opt__hint { color: rgba(180,215,255,0.9); }
.rq-opt input:checked ~ .rq-opt__body .rq-opt__hint {
  color: rgba(180,215,255,0.95);
}
/* Check badge */
.rq-opt__check {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%) scale(0.4);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #195aff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.rq-opt input:checked ~ .rq-opt__check {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* Contact form step */
.rq-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.rq-field {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.rq-field::placeholder { color: rgba(255,255,255,0.28); }
.rq-field:focus {
  border-color: rgba(25,90,255,0.6);
  background: rgba(255,255,255,0.1);
}
.rq-form__note {
  font-size: 11.5px;
  color: rgba(255,255,255,0.25);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.55;
  margin: 0;
}
.rq-form__note a { color: rgba(255,255,255,0.4); text-decoration: underline; }
.rq-form__note a:hover { color: rgba(255,255,255,0.7); }

/* Nav */
.rq-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.rq-nav__back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border: 1.5px solid rgba(255,255,255,0.13);
  border-radius: 100px;
  background: transparent;
  color: rgba(255,255,255,0.45);
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.rq-nav__back:hover {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
}
.rq-nav__back.is-hidden { visibility: hidden; pointer-events: none; }
.rq-nav__next {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border: none;
  border-radius: 100px;
  background: #195aff;
  color: #fff;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, transform 0.15s;
}
.rq-nav__next:hover:not(:disabled) { background: #0040d0; transform: translateY(-1px); }
.rq-nav__next:disabled { opacity: 0.3; cursor: not-allowed; }
.rq-nav__next.is-submit { padding: 13px 34px; font-size: 15px; }

/* ── Loading ── */
.rq-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 68px 52px;
}
.rq-loading__spinner { line-height: 0; }
.rq-spin { animation: rq-spin-anim 0.85s linear infinite; }
@keyframes rq-spin-anim {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.rq-loading__lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}
.rq-ll {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  color: rgba(255,255,255,0.25);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s, transform 0.4s, color 0.4s;
}
.rq-ll.is-active {
  opacity: 1;
  transform: translateX(0);
  color: rgba(255,255,255,0.75);
}
.rq-ll.is-done {
  opacity: 0.7;
  transform: translateX(0);
  color: rgba(255,255,255,0.4);
}
.rq-ll__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: background 0.35s;
}
.rq-ll.is-active .rq-ll__dot { background: #5b8bff; }
.rq-ll.is-done .rq-ll__dot { background: rgba(91,139,255,0.45); }

/* ── Success ── */
.rq-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 68px 52px 76px;
}
.rq-success__ring-wrap { margin-bottom: 30px; }
.rq-success__svg { display: block; overflow: visible; }
.rq-success__ring {
  stroke-dasharray: 226;
  stroke-dashoffset: 0;
  animation: rq-ring 0.75s cubic-bezier(0.4,0,0.2,1) 0.1s both;
}
@keyframes rq-ring {
  from { stroke-dashoffset: 226; }
  to   { stroke-dashoffset: 0; }
}
.rq-success__check {
  stroke-dasharray: 50;
  stroke-dashoffset: 0;
  animation: rq-check 0.45s cubic-bezier(0.4,0,0.2,1) 0.65s both;
}
@keyframes rq-check {
  from { stroke-dashoffset: 50; }
  to   { stroke-dashoffset: 0; }
}
.rq-success__title {
  font-family: 'Onest', sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.rq-success__text {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 36px;
}
.rq-success__tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: #195aff;
  color: #fff;
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  animation: rq-in 0.4s 1.1s both;
}
.rq-success__tg:hover { background: #0040d0; transform: translateY(-2px); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .rq-header { padding: 32px 28px 0; }
  .rq-flow { padding: 24px 28px 36px; }
  .rq-form__fields { grid-template-columns: 1fr; }
  .rq-loading { padding: 48px 28px; }
  .rq-success { padding: 48px 28px 56px; }
}

/* ── PORTFOLIO ───────────────────────────────────── */
.rd-port {
  background: var(--dark, #050508);
  padding: 96px 0;
}
.rd-port__head {
  text-align: center;
  margin-bottom: 40px;
}
.rd-port__h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.03em;
  margin-top: 12px;
}

/* Filter */
.rd-port__filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.rd-port__filter-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  padding: 8px 18px;
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.rd-port__filter-btn:hover { color: #fff; border-color: rgba(255,255,255,0.2); }
.rd-port__filter-btn.is-active {
  background: #195aff;
  border-color: #195aff;
  color: #fff;
}

/* Grid */
.rd-port__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.rd-port__card {
  border-radius: 14px;
  overflow: hidden;
  display: block;
  position: relative;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rd-port__card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.rd-port__card.is-hidden { display: none; }

.rd-port__img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.rd-port__img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.rd-port__card:hover .rd-port__img-wrap img { transform: scale(1.04); }

.rd-port__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rd-port__card:hover .rd-port__overlay { opacity: 1; }

.rd-port__tag {
  display: inline-block;
  font-family: 'Onest', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: fit-content;
}
.rd-port__tag--landing   { background: rgba(99,102,241,0.8); color: #fff; }
.rd-port__tag--vizitka   { background: rgba(124,58,237,0.8); color: #fff; }
.rd-port__tag--corporate { background: rgba(25,90,255,0.8);  color: #fff; }
.rd-port__tag--shop      { background: rgba(16,185,129,0.8); color: #fff; }

.rd-port__title {
  font-family: 'Onest', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 2px;
}
.rd-port__subtitle { font-size: 12px; color: rgba(255,255,255,0.6); }

.rd-port__footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.rd-port__all-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  padding: 12px 28px;
  border-radius: 56px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.rd-port__all-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ── STEPS ───────────────────────────────────────── */
.rd-steps {
  background: #fff;
  padding: 96px 0;
}
.rd-steps__head {
  text-align: center;
  margin-bottom: 64px;
}
.rd-steps__h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  margin-top: 12px;
  margin-bottom: 10px;
}
.rd-steps__sub { color: #6b7280; font-size: 16px; }

/* ── Vertical stepper ── */
.rd-steps__stepper {
  max-width: 680px;
  margin: 0 auto;
}

.rd-steps__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 28px;
}

/* Spine: dot + connecting line */
.rd-steps__spine {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rd-steps__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(25,90,255,0.35);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  position: relative;
  z-index: 1;
}
.rd-steps__dot span {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #195aff;
  letter-spacing: 0.02em;
  line-height: 1;
}
.rd-steps__dot--final {
  border-color: #195aff;
  background: #195aff;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(25,90,255,0.1);
}
.rd-steps__dot--final svg { color: #fff; }
.rd-steps__line {
  width: 1.5px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, rgba(25,90,255,0.25), rgba(25,90,255,0.08));
  margin: 4px 0;
}

/* Content */
.rd-steps__content {
  padding-bottom: 44px;
}
.rd-steps__step--last .rd-steps__content {
  padding-bottom: 0;
}
.rd-steps__title {
  font-family: 'Onest', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 40px; /* align with dot */
  margin: 0 0 8px;
}
.rd-steps__desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* Hover: highlight dot */
.rd-steps__step:hover .rd-steps__dot {
  border-color: #195aff;
  background: rgba(25,90,255,0.06);
  box-shadow: 0 0 0 5px rgba(25,90,255,0.08);
}
.rd-steps__step:hover .rd-steps__title { color: #195aff; }

@media (max-width: 600px) {
  .rd-steps__step { grid-template-columns: 36px 1fr; gap: 0 18px; }
  .rd-steps__dot { width: 34px; height: 34px; }
  .rd-steps__title { line-height: 34px; }
  .rd-steps__content { padding-bottom: 32px; }
}

/* ── TECH ────────────────────────────────────────── */
.rd-tech {
  background: #050508;
  padding: 80px 0;
  overflow: hidden;
}
.rd-tech__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}
.rd-tech__h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 12px 0 14px;
}
.rd-tech__desc {
  color: rgba(255,255,255,0.45);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Marquee with logo cards */
.rd-tech__marquee-wrap { display: flex; flex-direction: column; gap: 14px; }
.rd-tech__marquee { overflow: hidden; position: relative; }
.rd-tech__marquee::before,
.rd-tech__marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.rd-tech__marquee::before { left: 0;  background: linear-gradient(90deg,  #050508, transparent); }
.rd-tech__marquee::after  { right: 0; background: linear-gradient(-90deg, #050508, transparent); }

.rd-tech__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: rd-marquee-fwd 28s linear infinite;
}
.rd-tech__track--rev { animation: rd-marquee-rev 24s linear infinite; }

@keyframes rd-marquee-fwd { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes rd-marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); }    }

.rd-tech__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  min-width: 120px;
  height: 60px;
  flex-shrink: 0;
}
.rd-tech__logo-item img {
  max-height: 36px;
  max-width: 110px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.rd-tech__logo-item--text img { max-height: 24px; opacity: 0.55; }
.rd-tech__logo-item--text span {
  font-family: 'Onest', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

/* kept for potential reuse */
.rd-tech__item--light {
  background: rgba(25,90,255,0.08);
  border-color: rgba(25,90,255,0.15);
  color: rgba(96,165,255,0.8);
}

/* ── PRICING ─────────────────────────────────────── */
.rd-price {
  background: #f5f5f7;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.rd-price::after {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: url('../img/sphere.png') center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.rd-price .container { position: relative; z-index: 1; }
.rd-price__head {
  text-align: center;
  margin-bottom: 36px;
}
.rd-price__h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  margin-top: 12px;
  margin-bottom: 0;
}
.rd-price__seo {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  font-family: 'Open Sans', sans-serif;
}

.rd-price__toggle {
  display: flex;
  background: rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 48px;
}
.rd-price__toggle-btn {
  padding: 10px 24px;
  border-radius: 9px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  color: #6b7280;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.rd-price__toggle-btn.is-active {
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rd-price__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

/* ── Base card ── */
.rd-price__card {
  background: linear-gradient(170deg, #fff 60%, #f4f6ff);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.07);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.rd-price__card:hover {
  transform: translateY(-4px);
  border-color: rgba(25,90,255,0.25);
}

/* ── Popular card ── */
.rd-price__card--popular {
  background: linear-gradient(145deg, #0d1b4b, #1a3580);
  border-color: transparent;
}
.rd-price__card--popular:hover {
  border-color: transparent;
}

/* Popular badge */
.rd-price__popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #195aff, #4d83ff);
  color: #fff;
  font-family: 'Onest', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(25,90,255,0.4);
}

/* Card name */
.rd-price__card-name {
  font-family: 'Onest', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 18px;
}
.rd-price__card--popular .rd-price__card-name { color: rgba(255,255,255,0.7); font-weight: 500; font-size: 15px; }

/* Price */
.rd-price__card-price {
  font-family: 'Onest', sans-serif;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.rd-price__card-price .rd-price__from {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 400;
}
.rd-price__card-price strong {
  font-size: 36px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  line-height: 1;
}
.rd-price__card--popular .rd-price__card-price .rd-price__from { color: rgba(255,255,255,0.45); }
.rd-price__card--popular .rd-price__card-price strong { color: #fff; }

/* Price accent underline */
.rd-price__card-price::after {
  display: none;
}

/* Installment */
.rd-price__card-sub {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.rd-price__card--popular .rd-price__card-sub {
  color: rgba(255,255,255,0.35);
  border-bottom-color: rgba(255,255,255,0.1);
}

/* Feature list */
.rd-price__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  margin-bottom: 28px;
}
.rd-price__list li {
  font-size: 13px;
  color: #374151;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.rd-price__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='6.25' stroke='%23195aff' stroke-width='1.5'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='%23195aff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.rd-price__card--popular .rd-price__list li { color: rgba(255,255,255,0.8); }
.rd-price__card--popular .rd-price__list li::before {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='6.25' stroke='rgba(255,255,255,0.5)' stroke-width='1.5'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Button */
.rd-price__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.15);
  color: #374151;
  padding: 12px 20px;
  border-radius: 56px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  margin-top: auto;
}
.rd-price__btn:hover {
  border-color: #195aff;
  color: #195aff;
  background: rgba(25,90,255,0.05);
}
.rd-price__card--popular .rd-price__btn {
  background: #195aff;
  border-color: #195aff;
  color: #fff;
}
.rd-price__card--popular .rd-price__btn:hover {
  background: #fff !important;
  border-color: transparent !important;
  color: #0d1b4b !important;
}
.rd-price__card--popular .rd-price__btn.btn--primary:hover { background: #0040d0; }

.rd-price__note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: #9ca3af;
}

/* ── TEAM ────────────────────────────────────────── */
.rd-team {
  background: #fff;
  padding: 80px 0;
}
.rd-team__head {
  margin-bottom: 40px;
}
.rd-team__h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  margin-top: 12px;
}
.rd-team__slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 8px;
}
.rd-team__slider::-webkit-scrollbar { display: none; }
.rd-team__slider.is-dragging { cursor: grabbing; }
.rd-team__slider .pg-member {
  /* 5 cards fill 100%: (100% - 4 gaps × 12px) / 5 */
  flex: 0 0 calc(20% - 9.6px);
  scroll-snap-align: start;
}

/* Dots */
.rd-team__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}
.rd-team__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s;
  flex-shrink: 0;
}
.rd-team__dot.is-active {
  background: #195aff;
  width: 20px;
  border-radius: 4px;
}
.rd-team__slider .pg-member__photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 12px;
  background: #f5f5f5;
}
.rd-team__slider .pg-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.rd-team__slider .pg-member__name {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.rd-team__slider .pg-member__role {
  font-size: 12px;
  font-weight: 400;
  color: #888;
}

/* ── REVIEWS ─────────────────────────────────────── */
.rd-rvws {
  background: #fff;
  padding: 96px 0;
}
.rd-rvws__head {
  text-align: center;
  margin-bottom: 56px;
}
.rd-rvws__h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  margin-top: 12px;
}

/* Stage: arrows + slider in one row */
.rd-rvws__stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.rd-rvws__slider {
  flex: 1;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.rd-rvws__slider::-webkit-scrollbar { display: none; }
.rd-rvws__slider.is-dragging { cursor: grabbing; }

.rd-rvws__card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 80px 40px;
}

/* Avatar */
.rd-rvws__avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  flex-shrink: 0;
}

.rd-rvws__text {
  font-size: clamp(17px, 2vw, 22px);
  color: #111;
  line-height: 1.65;
  max-width: 700px;
  margin: 0 auto 20px;
  font-weight: 400;
}

.rd-rvws__byline {
  font-size: 14px;
  color: #999;
}
.rd-rvws__byline a {
  color: #195aff;
  text-decoration: none;
}
.rd-rvws__byline a:hover { text-decoration: underline; }

/* Arrows */
.rd-rvws__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.rd-rvws__arrow:hover {
  border-color: #195aff;
  color: #195aff;
}

/* Dots */
.rd-rvws__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}
.rd-rvws__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e5e7eb;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}
.rd-rvws__dot--active { background: #195aff; width: 24px; border-radius: 4px; }

/* ── CTA ─────────────────────────────────────────── */
.rd-cta {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  background: #050508;
}
/* Video background */
.rd-cta__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}
/* Dark overlay for text readability */
.rd-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(5,5,8,0.82) 0%, rgba(5,5,8,0.55) 60%, rgba(5,5,8,0.3) 100%);
  z-index: 1;
}
.rd-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.rd-cta__h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 12px 0 16px;
}
.rd-cta__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 28px;
}
.rd-cta__contacts { display: flex; flex-direction: column; gap: 14px; }
.rd-cta__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.rd-cta__contact:hover { color: #fff; }
/* Icon circles */
.rd-cta__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.rd-cta__icon--green { background: #22c55e; }
.rd-cta__icon--blue  { background: #29b6f6; }
.rd-cta__contact:hover .rd-cta__icon { opacity: 0.85; }

/* Form — no card, transparent */
.rd-cta__form {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}
#rd-cta-body { display: flex; flex-direction: column; gap: 14px; }
.rd-cta__input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
  backdrop-filter: blur(6px);
}
.rd-cta__input::placeholder { color: rgba(255,255,255,0.3); }
.rd-cta__input:focus {
  border-color: rgba(25,90,255,0.6);
  background: rgba(255,255,255,0.1);
}
.rd-cta__textarea { min-height: 90px; }
.rd-cta__submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
}
.rd-cta__agree {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  line-height: 1.5;
}
.rd-cta__agree a { color: rgba(255,255,255,0.5); }
.rd-cta__thanks:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 40px 0;
  min-height: 200px;
  justify-content: center;
}
.rd-cta__thanks strong { font-family: 'Onest', sans-serif; font-size: 18px; color: #fff; }
.rd-cta__thanks span { font-size: 14px; color: rgba(255,255,255,0.5); }

/* ── FAQ ─────────────────────────────────────────── */
.rd-faq {
  background: #fff;
  padding: 96px 0;
}
.rd-faq__head {
  text-align: center;
  margin-bottom: 48px;
}
.rd-faq__h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  margin-top: 12px;
  line-height: 1.1;
}
.rd-faq__list {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  margin: 0 auto;
}
.rd-faq__item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.rd-faq__item:first-child { border-top: 1px solid rgba(0,0,0,0.08); }
.rd-faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  color: #0a0a0a;
  font-weight: 500;
}
.rd-faq__q:hover { color: #195aff; }
.rd-faq__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(25,90,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #195aff;
  transition: transform 0.3s;
}
.rd-faq__item.is-open .rd-faq__icon { transform: rotate(45deg); }
.rd-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.rd-faq__a p {
  padding-bottom: 20px;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
}

/* ── HIDDEN ATTRIBUTE FIX ───────────────────────── */
[hidden] { display: none !important; }

/* ── FADE UP ANIMATION ───────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1200px) {
  .rd-hero__wrap { grid-template-columns: 1fr 1fr; gap: 40px; }
  .rd-browser__frame { width: 380px; }
  .rq-options { grid-template-columns: repeat(2, 1fr); }
  .rd-port__grid { grid-template-columns: repeat(3, 1fr); }
  .rd-price__cards { grid-template-columns: repeat(2, 1fr); }
  .rd-tech__inner { grid-template-columns: 300px 1fr; gap: 40px; }
}

@media (max-width: 960px) {
  .rd-hero { padding: 100px 0 60px; min-height: auto; }
  .rd-hero__wrap { grid-template-columns: 1fr; gap: 40px; }
  .rd-hero__right { min-height: auto; justify-content: flex-start; }
  .rd-hero__quote { display: none; }
  .rd-browser { animation: none; }
  .rd-browser__frame { width: 100%; max-width: 400px; transform: none; }
  .rd-chip { display: none; }
  .rd-browser__badge { display: none; }

  .rq-flow { padding: 36px 32px 40px; }
  .rq-loading { padding: 56px 32px; }
  .rq-success { padding: 56px 32px 64px; }

  .rd-why__grid { grid-template-columns: 1fr; }
  .rd-steps__grid { grid-template-columns: repeat(2, 1fr); }
  .rd-tech__inner { grid-template-columns: 1fr; gap: 32px; }
  .rd-cta__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .rd-ads1 { padding: 60px 0; }
  .rd-ads1__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .rd-ads1__texts {
    grid-column: 1;
    grid-row: auto;
    padding-right: 0;
    margin-bottom: 8px;
  }

  .rq-options { grid-template-columns: 1fr 1fr; }
  .rd-port__grid { grid-template-columns: repeat(2, 1fr); }
  .rd-steps__grid { grid-template-columns: 1fr; }
  .rd-price__cards { grid-template-columns: 1fr; }
  .rd-rvws__card { flex: 0 0 100%; padding-left: 16px; padding-right: 16px; }
  .rd-rvws__arrow { display: none; }
  .rq-options { grid-template-columns: 1fr; }
  .rq-form__fields { grid-template-columns: 1fr; }
  .rq-flow { padding: 28px 20px 32px; }
  .rq-loading { padding: 48px 20px; }
  .rq-success { padding: 48px 20px 56px; }
  .rq-success__title { font-size: 24px; }

  .rd-cases__grid { grid-template-columns: 1fr 1fr; }
  .rd-cases__card--wide { grid-column: span 2; }
  .rd-cases__card-name { font-size: 15px; }
}

@media (max-width: 480px) {
  .rd-port__grid { grid-template-columns: 1fr; }
  .rd-hero__h1 { font-size: 44px; }
  .rd-hero__stats { gap: 16px; }
  .rd-why__num { font-size: 48px; }
  .rd-cta__form { padding: 0; }
  .rd-cases__grid { grid-template-columns: 1fr; }
  .rd-cases__card--wide { grid-column: span 1; }
  .rd-cases__card--wide .rd-cases__card-img { aspect-ratio: 4/3; }
}
