﻿:root {
  --rp-bg: #090c16;
  --rp-bg-soft: #101525;
  --rp-surface: rgba(16, 21, 37, 0.78);
  --rp-surface-strong: #11182b;
  --rp-text: #eef3ff;
  --rp-muted: #9aa7c2;
  --rp-accent: #6a7cff;
  --rp-accent-2: #00d1c7;
  --rp-accent-dark: #4c5bcb;
  --rp-line: rgba(142, 162, 255, 0.16);
  --rp-radius: 26px;
  --rp-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }

body.ruphp-body {
  margin: 0;
  min-height: 100vh;
  color: var(--rp-text);
  background:
    radial-gradient(circle at 14% 18%, rgba(106, 124, 255, 0.28), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(0, 209, 199, 0.18), transparent 18%),
    radial-gradient(circle at 50% 110%, rgba(130, 72, 255, 0.16), transparent 35%),
    linear-gradient(180deg, #0a0d18 0%, #090c16 100%);
  background-repeat: no-repeat;
  background-color: #090c16;
  font-family: "Segoe UI", Arial, sans-serif;
}

@media (min-width: 992px) {
  body.wt-magic-cursor,
  body.wt-magic-cursor a,
  body.wt-magic-cursor button,
  body.wt-magic-cursor [role="button"] {
    cursor: none;
  }

  body.wt-magic-cursor input,
  body.wt-magic-cursor textarea,
  body.wt-magic-cursor select,
  body.wt-magic-cursor option,
  body.wt-magic-cursor label,
  body.wt-magic-cursor [contenteditable="true"] {
    cursor: auto;
  }
}

.cursor {
  display: none;
}

.cursor2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 100030;
  opacity: 0;
  transition:
    left 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    width 0.2s ease,
    height 0.2s ease,
    border-color 0.2s ease;
  mix-blend-mode: difference;
}

.cursor2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M20 10H44' stroke='white' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M20 54H44' stroke='white' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M10 20V44' stroke='white' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M54 20V44' stroke='white' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
  opacity: 0.98;
}

body.wt-magic-cursor #magic-cursor {
  display: block;
}

#magic-cursor {
  position: absolute;
  display: none;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 100031;
  opacity: 0;
}

#ball {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7px;
  height: 7px;
  pointer-events: none;
  background: var(--rp-accent) !important;
  border-radius: 50%;
  mix-blend-mode: difference;
  color: transparent;
  box-shadow:
    0 0 10px rgba(106, 124, 255, 0.7),
    0 0 18px rgba(0, 209, 199, 0.55),
    0 0 28px rgba(0, 209, 199, 0.25);
}

a:hover ~ #magic-cursor #ball,
button:hover ~ #magic-cursor #ball {
  transform: scale(1.2);
}

#ball.with-blur {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.ruphp-body a { color: inherit; text-decoration: none; }
.rp-shell { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

.rp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(8, 12, 24, 0.72);
  border-bottom: 1px solid rgba(142, 162, 255, 0.08);
}

.rp-header-inner, .rp-nav, .rp-actions, .rp-grid, .rp-stats, .rp-cta-row, .rp-cards, .rp-service-grid, .rp-prices, .rp-contact-grid, .rp-footer {
  display: flex;
  gap: 16px;
}

.rp-header-inner {
  display: grid;
  grid-template-columns: minmax(220px, max-content) 1fr minmax(220px, max-content);
  align-items: center;
  padding: 18px 0;
}
.rp-brand { grid-column: 1; justify-self: start; }
.rp-nav { grid-column: 2; justify-self: center; }
.rp-actions { grid-column: 3; justify-self: end; }
.rp-header-inner::after {
  content: "";
  grid-column: 3;
}
.rp-brand { font-size: 24px; font-weight: 800; letter-spacing: .04em; }
.rp-brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: .04em;
}
.rp-brand::before {
  content: "";
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-self: center;
  margin-top: 0;
  margin-right: 16px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M20 10H44' stroke='%23eef3ff' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M20 54H44' stroke='%23eef3ff' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M10 20V44' stroke='%23eef3ff' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M54 20V44' stroke='%23eef3ff' stroke-width='3.4' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='32' r='5.4' fill='%236a7cff'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.rp-brand span {
  color: var(--rp-accent);
  text-shadow: 0 0 14px rgba(106, 124, 255, 0.18);
}
.rp-nav { flex-wrap: wrap; align-items: center; }
.rp-nav a, .rp-footer a { color: var(--rp-muted); transition: color .2s ease; }
.rp-nav a:hover, .rp-footer a:hover { color: #fff; }

.rp-header-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(142, 162, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #fff;
}
.rp-header-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.rp-btn, .rp-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.rp-btn {
  color: #fff !important;
  background: linear-gradient(135deg, var(--rp-accent), var(--rp-accent-2));
  box-shadow: 0 16px 40px rgba(67, 103, 255, 0.32);
}

.rp-btn:visited,
.rp-btn:focus,
.rp-btn:active {
  color: #fff !important;
}

.rp-btn:hover {
  background: linear-gradient(135deg, var(--rp-accent-dark), var(--rp-accent-2));
  color: #fff !important;
  transform: translateY(-2px);
}

.rp-btn,
.rp-btn:link,
.rp-btn:visited,
.rp-btn:hover,
.rp-btn:focus,
.rp-btn:active {
  color: #fff !important;
  text-decoration: none;
}

.rp-service-card .rp-btn,
.rp-service-card .rp-btn:link,
.rp-service-card .rp-btn:visited,
.rp-service-card .rp-btn:hover,
.rp-service-card .rp-btn:focus,
.rp-service-card .rp-btn:active,
.rp-panel .rp-btn,
.rp-panel .rp-btn:link,
.rp-panel .rp-btn:visited,
.rp-panel .rp-btn:hover,
.rp-panel .rp-btn:focus,
.rp-panel .rp-btn:active,
.rp-contact-card .rp-btn,
.rp-contact-card .rp-btn:link,
.rp-contact-card .rp-btn:visited,
.rp-contact-card .rp-btn:hover,
.rp-contact-card .rp-btn:focus,
.rp-contact-card .rp-btn:active {
  color: #fff !important;
}

.rp-btn-ghost {
  border: 1px solid var(--rp-line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.rp-btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 209, 199, 0.45);
  background: linear-gradient(135deg, rgba(106, 124, 255, 0.16), rgba(0, 209, 199, 0.14));
  box-shadow:
    0 10px 24px rgba(0, 209, 199, 0.12),
    0 0 18px rgba(106, 124, 255, 0.12);
}

.rp-service-card .rp-btn-ghost,
.rp-service-card .rp-btn,
.rp-panel .rp-btn-ghost,
.rp-panel .rp-btn,
.rp-contact-card .rp-btn-ghost,
.rp-contact-card .rp-btn {
  padding: 9px 14px;
  font-size: 14px;
}

.rp-panel > p:last-child,
.rp-contact-card > p:last-child {
  margin: 18px 0 0;
}

.rp-hero { padding: 86px 0 40px; }
.rp-grid { align-items: stretch; }
.rp-col-main { flex: 1.25; }
.rp-col-side { flex: .9; }

.rp-kicker {
  display: inline-block;
  margin-bottom: 20px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #d7ddff;
  background: rgba(106, 124, 255, 0.14);
  border: 1px solid rgba(106, 124, 255, 0.22);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rp-hero-card, .rp-panel, .rp-service-card, .rp-contact-card, .rp-step-card {
  background: linear-gradient(180deg, rgba(19, 27, 49, 0.92), rgba(12, 17, 31, 0.92));
  border: 1px solid rgba(142, 162, 255, 0.14);
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.rp-hero-card::before, .rp-panel::before, .rp-service-card::before, .rp-contact-card::before, .rp-step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 38%);
}

.rp-hero h1, .rp-page-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(27px, 4.2vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.rp-hero p, .rp-page-hero p, .rp-service-card p, .rp-panel p, .rp-contact-card p, .rp-step-card p, .rp-list li {
  color: var(--rp-muted);
  font-size: 18px;
  line-height: 1.65;
}

.rp-stats { margin: 26px 0 0; flex-wrap: wrap; }

.rp-stat {
  min-width: 150px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(142, 162, 255, 0.08);
}

.rp-stat strong { display: block; font-size: 28px; }

.rp-mini-label {
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rp-muted);
}

.rp-price { margin: 16px 0 0; font-size: 44px; font-weight: 800; line-height: 1; }
.rp-price small { font-size: 16px; font-weight: 600; }

.rp-list { margin: 0; padding: 0; list-style: none; }
.rp-list li { position: relative; padding-left: 18px; margin-bottom: 10px; }

.rp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--rp-accent-2);
}

.rp-section { padding: 34px 0 18px; }
.rp-section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; }
.rp-section-head h2, .rp-page-section h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.04em; }
.rp-section-note { max-width: 540px; color: var(--rp-muted); font-size: 17px; line-height: 1.6; }

.rp-cards, .rp-service-grid, .rp-contact-grid { flex-wrap: wrap; }
.rp-service-card, .rp-contact-card, .rp-step-card { flex: 1 1 320px; }

.rp-service-card:hover, .rp-contact-card:hover, .rp-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(106, 124, 255, 0.28);
}

.rp-service-card h3, .rp-contact-card h3, .rp-step-card h3 { margin: 0 0 14px; font-size: 26px; }

.rp-contact-card h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.rp-service-card > p:last-child {
  margin: 18px 0 0;
}

.rp-badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }

.rp-badge {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #d9e0ff;
  background: rgba(106, 124, 255, 0.12);
  border: 1px solid rgba(106, 124, 255, 0.16);
}

.rp-badge-soft {
  background: rgba(0, 209, 199, 0.1);
  border-color: rgba(0, 209, 199, 0.22);
  color: #d7fffb;
}

.rp-messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  transition: transform .22s ease, color .22s ease, text-shadow .22s ease;
  transform-origin: left center;
}

.rp-messenger-link:hover {
  transform: translateX(4px) scale(1.05);
  color: #fff;
  text-shadow: 0 0 12px rgba(106, 124, 255, 0.18);
}

.rp-messenger-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  border: 1px solid rgba(142, 162, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.rp-messenger-link:hover .rp-messenger-icon {
  transform: translateY(-1px) scale(1.12);
  border-color: rgba(0, 209, 199, 0.35);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    0 0 18px rgba(0, 209, 199, 0.16),
    0 0 28px rgba(106, 124, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.07);
}

.rp-messenger-icon.telegram {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2300d1c7' d='M21.5 4.5 18.4 19a1.2 1.2 0 0 1-1.8.8l-4.3-2.8-2.1 2a1 1 0 0 1-1.7-.7l.3-4.2L17 6.8c.4-.3-.1-.5-.5-.3L6.6 12.7 2.4 11.3a1 1 0 0 1 0-1.9L20 4a1.2 1.2 0 0 1 1.5.5Z'/%3E%3C/svg%3E");
}

.rp-messenger-icon.max {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236a7cff' d='M4 5h4.2l3.8 5L15.8 5H20v14h-4V11.2L12 16.5 8 11.2V19H4z'/%3E%3C/svg%3E");
}

.rp-messenger-icon.phone {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236a7cff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.35 1.78.68 2.62a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.46-1.25a2 2 0 0 1 2.11-.45c.84.33 1.72.56 2.62.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.rp-mockup {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 22px;
  border: 1px dashed rgba(142, 162, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    radial-gradient(circle at 20% 20%, rgba(106, 124, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 25%, rgba(0, 209, 199, 0.12), transparent 24%);
  color: var(--rp-muted);
  padding: 24px;
}

.rp-mockup strong {
  display: block;
  margin-bottom: 10px;
  color: var(--rp-text);
  font-size: 22px;
}

.rp-image-panel {
  padding: 22px;
}

.rp-content-image {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(142, 162, 255, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.rp-cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rp-page-hero { padding: 64px 0 20px; }
.rp-page-section { padding: 18px 0 22px; }
.rp-prices { flex-wrap: wrap; margin-top: 16px; }

.rp-back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 0 0 24px;
  color: var(--rp-muted);
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s ease, color .2s ease;
}

.rp-page-hero .rp-kicker {
  display: inline-block;
  margin-top: 0;
}

.rp-back-link:hover {
  color: #fff;
  transform: translateX(-2px);
}

.rp-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.rp-related-card {
  flex: 1 1 250px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(142, 162, 255, 0.1);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.rp-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(106, 124, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.rp-related-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.rp-related-card span {
  display: block;
  color: var(--rp-muted);
  font-size: 15px;
  line-height: 1.55;
}

.rp-price-card {
  flex: 1 1 220px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(142, 162, 255, 0.1);
}

.rp-price-card strong { display: block; margin-bottom: 8px; font-size: 24px; }
.rp-contact-card a { color: #dbe2ff; font-weight: 700; }
.rp-footer {
  display: block;
  padding: 28px 0 48px;
  color: var(--rp-muted);
}

.rp-footer-main {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.rp-footer-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.rp-footer-brand {
  color: #dbe2ff;
  font-size: 14px;
  font-weight: 700;
}

.rp-footer-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.rp-footer-contact {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(142, 162, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    background-color .22s ease;
}

.rp-footer-contact:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 209, 199, 0.35);
  background-color: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    0 0 18px rgba(0, 209, 199, 0.16),
    0 0 28px rgba(106, 124, 255, 0.12);
}

.rp-footer-contact .rp-messenger-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

.rp-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
}

.rp-footer-legal a {
  display: inline-flex;
  align-items: center;
  color: #dbe2ff;
  transition: color .22s ease, transform .22s ease, text-shadow .22s ease;
}

.rp-footer-legal a:hover {
  color: #fff;
  transform: translateY(-1px);
  text-shadow:
    0 0 10px rgba(106, 124, 255, 0.18),
    0 0 18px rgba(0, 209, 199, 0.12);
}

.rp-footer-sep {
  opacity: .45;
  display: none;
}

.rp-legal-page {
  max-width: 980px;
}

.rp-legal-page h2 {
  margin: 28px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.rp-legal-page p,
.rp-legal-page li {
  color: var(--rp-muted);
  font-size: 17px;
  line-height: 1.7;
}

.rp-cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(420px, calc(100vw - 24px));
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(19, 27, 49, 0.96), rgba(12, 17, 31, 0.98));
  border: 1px solid rgba(142, 162, 255, 0.16);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  z-index: 100020;
}

.rp-cookie-banner p {
  margin: 0 0 14px;
  color: var(--rp-muted);
  font-size: 15px;
  line-height: 1.6;
}

.rp-cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rp-hero-visual {
  min-height: 100%;
  display: flex;
  align-items: stretch;
  position: relative;
}

.rp-portrait {
  min-height: 520px;
  width: 100%;
  border-radius: var(--rp-radius);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 11, 22, 0.18), rgba(7, 11, 22, 0.9)),
    radial-gradient(circle at 22% 20%, rgba(106, 124, 255, 0.24), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(0, 209, 199, 0.18), transparent 20%),
    url("../img/hero/ruphp-hero-foundation.png") center/cover no-repeat,
    linear-gradient(145deg, #0d1324 0%, #10172a 48%, #0a0f1d 100%);
  box-shadow: var(--rp-shadow);
  border: 1px solid rgba(142, 162, 255, 0.14);
  transition: background 0.6s ease;
}

.rp-portrait::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px 24px;
  height: 164px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(9, 12, 22, 0.05), rgba(9, 12, 22, 0.84));
}

.rp-portrait-copy {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 50px;
  z-index: 2;
}

.rp-portrait-copy strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--rp-text);
  transition: opacity .3s ease, transform .3s ease;
}

.rp-portrait-copy span {
  display: block;
  margin-top: 10px;
  color: var(--rp-muted);
  font-size: 16px;
  line-height: 1.55;
  transition: opacity .3s ease, transform .3s ease;
}

.rp-portrait-copy .rp-mini-label {
  margin-bottom: 4px;
  line-height: 1.1;
  transition: opacity .3s ease, transform .3s ease;
}

.rp-portrait-copy strong::before,
.rp-portrait-copy span::before {
  content: none !important;
  display: none !important;
}

.rp-page-hero::after,
.rp-page-section::after {
  content: "";
  display: table;
  clear: both;
}

.rp-service-visual {
  float: right;
  width: min(100%, 360px);
  margin: 10px 0 24px 30px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(12, 18, 32, 0.62);
  border: 1px solid rgba(142, 162, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.rp-service-visual .rp-mini-label {
  margin-bottom: 12px;
}

.rp-service-visual img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

@media (max-width: 991px) {
  .rp-grid, .rp-section-head, .rp-footer { flex-direction: column; align-items: stretch; }
  .rp-footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .rp-footer-left {
    width: 100%;
    align-items: center;
  }
  .rp-footer-contacts {
    order: -1;
    width: 100%;
    justify-content: center;
  }
  .rp-footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .rp-footer-legal a {
    width: 100%;
    justify-content: center;
  }
  .rp-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
  }
  .rp-header-toggle { display: inline-flex; }
  .rp-nav, .rp-actions {
    display: none;
    width: 100%;
    justify-content: center;
  }
  .rp-header.is-open .rp-nav,
  .rp-header.is-open .rp-actions {
    display: flex;
  }
  .rp-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 8px;
  }
  .rp-nav a {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    text-align: center;
  }
  .rp-actions {
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
  }
  .rp-actions .rp-btn,
  .rp-actions .rp-btn-ghost { width: 100%; }
  .rp-portrait { min-height: 360px; }
}

.rp-portrait-copy.is-switching .rp-mini-label,
.rp-portrait-copy.is-switching strong,
.rp-portrait-copy.is-switching span {
  opacity: 0;
  transform: translateY(8px);
}

.rp-portrait-copy strong::before {
  content: "РўРµС…РЅРѕР»РѕРіРёС‡РЅР°СЏ Р±Р°Р·Р° РїСЂРѕРµРєС‚Р°";
  display: block;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--rp-text);
}

.rp-portrait-copy span::before {
  content: "РЎС‚СЂСѓРєС‚СѓСЂР°, СЃРµСЂРІРµСЂРЅР°СЏ Р»РѕРіРёРєР°, РёРЅС‚РµРіСЂР°С†РёРё, Р·Р°РїСѓСЃРє Рё РґР°Р»СЊРЅРµР№С€РµРµ СЂР°Р·РІРёС‚РёРµ Р±РµР· С…Р°РѕСЃР°.";
  display: block;
  margin-top: 10px;
  color: var(--rp-muted);
  font-size: 16px;
  line-height: 1.55;
}


@media (max-width: 991px) {
  .rp-grid, .rp-section-head, .rp-footer { flex-direction: column; align-items: stretch; }
  .rp-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
  }
  .rp-header-toggle { display: inline-flex; }
  .rp-nav, .rp-actions {
    display: none;
    width: 100%;
    justify-content: center;
  }
  .rp-header.is-open .rp-nav,
  .rp-header.is-open .rp-actions {
    display: flex;
  }
  .rp-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 8px;
  }
  .rp-nav a {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    text-align: center;
  }
  .rp-actions {
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
  }
  .rp-actions .rp-btn,
  .rp-actions .rp-btn-ghost { width: 100%; }
  .rp-portrait { min-height: 360px; }
}

.rp-portrait::after {
  height: 170px;
}

.rp-portrait-copy {
  right: 28px;
  left: 28px;
  bottom: 30px;
  max-width: calc(100% - 56px);
}

.rp-portrait-copy strong,
.rp-portrait-copy strong::before {
  font-size: clamp(22px, 2.1vw, 28px) !important;
  line-height: 1.08;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.rp-portrait-copy span,
.rp-portrait-copy span::before {
  font-size: 14px !important;
  line-height: 1.45 !important;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.rp-portrait-copy .rp-mini-label {
  margin-bottom: 10px;
}

.rp-portrait-copy.is-switching .rp-mini-label,
.rp-portrait-copy.is-switching strong,
.rp-portrait-copy.is-switching span {
  opacity: 0;
  transform: translateY(8px);
}

.rp-portrait-copy strong::before,
.rp-portrait-copy span::before {
  content: none !important;
  display: none !important;
}

@media (hover: none), (pointer: coarse) {
  body.ruphp-body,
  body.ruphp-body.wt-magic-cursor {
    cursor: default;
  }
  body.ruphp-body a,
  body.ruphp-body button,
  body.ruphp-body [role="button"] {
    cursor: pointer;
  }
  #magic-cursor,
  .cursor,
  .cursor2 {
    display: none !important;
    opacity: 0 !important;
  }
}


.rp-header-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(142, 162, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #fff;
}
.rp-header-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.rp-mobile-offcanvas {
  background: #0b1020;
  color: var(--rp-text);
  border-left: 1px solid rgba(142, 162, 255, 0.16);
}
.rp-mobile-offcanvas .offcanvas-header {
  padding: 22px 22px 10px;
  border-bottom: 1px solid rgba(142, 162, 255, 0.12);
}
.rp-mobile-offcanvas .offcanvas-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 22px 28px;
}
.rp-mobile-offcanvas-brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .04em;
}
.rp-mobile-offcanvas-brand span { color: var(--rp-accent); }
.rp-mobile-nav,
.rp-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rp-mobile-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  text-align: center;
}
.rp-mobile-actions .rp-btn,
.rp-mobile-actions .rp-btn-ghost {
  width: 100%;
}
@media (max-width: 991px) {
  .rp-grid, .rp-section-head, .rp-footer { flex-direction: column; align-items: stretch; }
  .rp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
  }
  .rp-header-inner::after,
  .rp-nav,
  .rp-actions {
    display: none !important;
  }
  .rp-header-toggle { display: inline-flex; }
  .rp-portrait { min-height: 360px; }
}
@media (min-width: 992px) {
  .rp-mobile-offcanvas,
  .offcanvas-backdrop {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .rp-hero-card .rp-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .rp-hero-card .rp-cta-row .rp-btn,
  .rp-hero-card .rp-cta-row .rp-btn-ghost {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
}
@media (max-width: 991px) {
  .rp-hero-card .rp-cta-row .rp-btn {
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 0;
  }
}
@media (max-width: 991px) {
  .rp-hero-card h1,
  .rp-page-hero h1 {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.08;
    letter-spacing: 0;
  }
  .rp-kicker {
    margin: 0 0 16px;
    padding: 8px 12px;
    line-height: 1.35;
    letter-spacing: 0.03em;
    text-align: center;
  }
  .rp-hero-card,
  .rp-panel,
  .rp-service-card,
  .rp-contact-card,
  .rp-step-card {
    padding: 24px 22px;
  }
}
@media (max-width: 991px) {
  .rp-hero-card .rp-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .rp-hero-card .rp-stat {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 520px) {
  .rp-hero-card .rp-stats {
    grid-template-columns: 1fr;
  }
}
