/* ==========================================================================
   lemurs — main stylesheet

   1. Fonts (self-hosted Inter & Montserrat, variable woff2)
   2. Design tokens
   3. Base
   4. Icons & text helpers
   5. Components: button, icon button, badge, card, logo, menu
   6. Layout: header, mobile navigation, footer
   7. Sections: section, hero, services, advantages, steps, prices, reviews, CTA

   Naming: BEM (block__element--modifier).
   Responsive: desktop-first, breakpoints 1180 / 1000 / 640 px,
   media queries are placed right after the block they modify.
   ========================================================================== */

/* ==========================================================================
   1. Fonts
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url("../fonts/montserrat-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url("../fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   2. Design tokens
   ========================================================================== */

:root {
  /* colors */
  --color-bg: #060a17;
  --color-bg-footer: #050814;
  --color-text: #fff;
  --color-text-muted: #b7bfd3;
  --color-link-hover: #5fe0ff;
  --color-cyan: #22d3ff;
  --color-cyan-soft: #3cc8ff;
  --color-accent: #2fd0ff;
  --color-purple: #a66bff;

  /* gradients */
  --gradient-brand: linear-gradient(90deg, #16c8ff 0%, #4a8dff 45%, #9b4dff 80%, #c04dea 100%);
  --gradient-card: linear-gradient(180deg, rgba(22, 32, 62, .62), rgba(12, 18, 38, .62));

  /* glows */
  --glow-cyan: drop-shadow(0 0 6px rgba(34, 211, 255, .55));
  --glow-purple: drop-shadow(0 0 6px rgba(166, 107, 255, .6));

  /* typography */
  --font-base: Inter, Arial, sans-serif;
  --font-accent: Montserrat, Inter, sans-serif;

  /* layout */
  --container-width: 1264px;
  --container-padding: 32px;
  --header-height: 84px;
  --radius-pill: 999px;
  --radius-card: 16px;
  --border-section: 1px solid rgba(120, 150, 230, .12);
}

/* Breakpoints (desktop-first): 1180px, 1000px (tablet), 640px (mobile) */
@media (max-width: 640px) {
  :root {
    --container-padding: 16px;
    --header-height: 72px;
  }
}

/* ==========================================================================
   3. Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  font-family: var(--font-base);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.container {
  position: relative;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}


/* ==========================================================================
   4. Icons & text helpers
   ========================================================================== */

.icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

.icon--glow-cyan {
  color: var(--color-cyan);
  filter: var(--glow-cyan);
}

.icon--glow-purple {
  color: var(--color-purple);
  filter: var(--glow-purple);
}

.text-gradient {
  background: linear-gradient(90deg, #1ed3ff 0%, #3aa8ff 35%, #8c5bff 70%, #b14cf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   5. Components
   ========================================================================== */

/* ---------- Button ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 60px;
  padding: 0 34px;
  border: 0;
  border-radius: var(--radius-pill);
  font: 700 16px/1 var(--font-base);
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn--telegram {
  background: var(--gradient-brand);
  box-shadow: 0 0 28px rgba(80, 120, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn--telegram:hover {
  box-shadow: 0 0 40px rgba(110, 110, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn--telegram .icon {
  width: 24px;
  height: 24px;
}

.btn--ghost {
  background: rgba(10, 16, 34, .6);
  border: 1.5px solid rgba(255, 255, 255, .28);
}

.btn--ghost:hover {
  border-color: var(--color-link-hover);
}

.btn--sm {
  height: 48px;
  padding: 0 24px;
  font-size: 14px;
}

.btn--sm .icon {
  width: 20px;
  height: 20px;
}

/* ---------- Icon button (burger / close) ---------- */

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(15, 22, 44, .7);
  color: #fff;
  cursor: pointer;
}

/* ---------- Badge ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border: 1.5px solid rgba(34, 190, 255, .55);
  border-radius: var(--radius-pill);
  background: rgba(20, 60, 110, .28);
  box-shadow: 0 0 14px rgba(34, 190, 255, .18);
  font: 700 12px/1 var(--font-base);
  color: var(--color-cyan-soft);
}

.badge--hero {
  height: 36px;
  padding: 0 18px;
  border-color: rgba(140, 100, 255, .7);
  background: rgba(40, 30, 90, .35);
  box-shadow: 0 0 18px rgba(140, 90, 255, .28);
  font-size: 13px;
  letter-spacing: .02em;
  color: #fff;
}

.badge--hero .icon {
  width: 16px;
  height: 16px;
  color: #ffc93c;
}

@media (max-width: 640px) {
  .badge--hero {
    height: 32px;
    padding: 0 14px;
    font-size: 11px;
  }
}

/* ---------- Card ---------- */

.card {
  border: 1px solid rgba(110, 140, 220, .2);
  border-radius: var(--radius-card);
  background: var(--gradient-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .45));
}

.logo__svg {
  display: block;
  width: auto;
  height: 38px;
  fill: #fff;
}

.logo:hover .logo__svg {
  fill: #e9f8ff;
}

.logo--sm .logo__svg {
  height: 32px;
}

@media (max-width: 640px) {
  .logo__svg {
    height: 32px;
  }
}

/* ---------- Menu (wp_nav_menu: menu_class => "menu") ---------- */

.menu {
  display: flex;
  gap: 38px;
  font-size: 14px;
  font-weight: 500;
  color: #e8ecf7;
}

/* ==========================================================================
   6. Layout: header, mobile navigation, footer
   ========================================================================== */

/* ---------- Header ---------- */

.header {
  position: relative;
  z-index: 20;
}

/* Header overlays the first screen (front page) */
.header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__burger {
  display: none;
}

@media (max-width: 1000px) {
  .header__nav {
    display: none;
  }

  .header__burger {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .header__cta {
    width: 48px;
    height: 48px;
    padding: 0;
    gap: 0;
  }

  .header__cta-text {
    display: none;
  }
}

/* ---------- Mobile navigation ---------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0 16px 32px;
  overflow-y: auto;
  background:
    radial-gradient(70% 45% at 100% 0, rgba(90, 50, 220, .35), transparent 70%),
    radial-gradient(60% 40% at 0 100%, rgba(20, 120, 220, .25), transparent 70%),
    var(--color-bg);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__top {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.mobile-nav__close .icon {
  width: 26px;
  height: 26px;
}

.mobile-nav__menu {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}

.mobile-nav__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 22px;
  font-weight: 700;
}

.mobile-nav__menu a::after {
  content: "→";
  font-weight: 500;
  color: var(--color-accent);
}

.mobile-nav__btn {
  flex-shrink: 0;
  width: 100%;
  height: 60px;
  margin-top: 36px;
  font-size: 16px;
}

/* ---------- Footer ---------- */

.footer {
  border-top: var(--border-section);
  background: var(--color-bg-footer);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.menu--footer {
  gap: 32px;
  font-size: 13px;
  color: #c7cde0;
}

.footer__tg {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
}

.footer__tg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2aa6ff, #1a7fe0);
}

.footer__tg .icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 1000px) {
  .footer__inner {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 26px 0;
  }

  .footer__logo {
    order: 1;
  }

  .footer__tg {
    order: 2;
  }

  .footer__nav {
    order: 3;
    width: 100%;
  }

  .menu--footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .footer__inner {
    padding: 28px 0 calc(56px + env(safe-area-inset-bottom));
  }

  .menu--footer {
    gap: 14px 20px;
  }
}

/* ==========================================================================
   7. Sections
   ========================================================================== */

/* ---------- Section (common) ---------- */

.section {
  position: relative;
  padding: 40px 0 44px;
  border-top: var(--border-section);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
}

.section__head--compact {
  margin-bottom: 22px;
}

.section__title {
  margin-top: 16px;
  font: 700 38px/1.15 var(--font-base);
  letter-spacing: -.4px;
}

.section__note {
  max-width: 300px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  line-height: 1.45;
  color: #aab3c8;
}

.section__text {
  font-size: 14px;
  color: #aab3c8;
  text-align: right;
}

@media (max-width: 1000px) {
  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .section__text {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 34px 0 36px;
  }

  .section__title {
    font-size: 28px;
  }

  .section__note {
    padding-left: 14px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: var(--header-height) 0 10px;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(60, 40, 160, .35), transparent 70%),
    radial-gradient(45% 70% at 0% 45%, rgba(60, 40, 160, .3), transparent 70%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  min-height: 540px;
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 22px;
  padding-bottom: 48px;
}

.hero__title {
  margin-top: 22px;
  font: 800 62px/1.02 var(--font-accent);
  letter-spacing: -.5px;
}

.hero__title-accent {
  display: block;
  font-size: 66px;
}

.hero__subtitle {
  max-width: 470px;
  font-size: 21px;
  line-height: 1.35;
  color: #d7dcea;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 40px;
}

.hero__btn {
  height: 64px;
  min-width: 290px;
}

.hero__btn--secondary {
  min-width: 196px;
}

.hero__media {
  position: relative;
  min-height: 540px;
}

.hero__image {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 48px);
  height: calc(100% - 64px);
  border-radius: 24px;
  object-fit: cover;
  object-position: 52% 42%;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 20%),
    linear-gradient(180deg, transparent 0, #000 8%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 20%),
    linear-gradient(180deg, transparent 0, #000 8%, #000 72%, transparent 100%);
  mask-composite: intersect;
}

@media (max-width: 1180px) {
  .hero__title {
    font-size: 54px;
  }

  .hero__title-accent {
    font-size: 58px;
  }
}

@media (max-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__content {
    padding-top: 16px;
    padding-bottom: 0;
  }

  .hero__subtitle {
    max-width: 600px;
  }

  .hero__media {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 18px;
  }

  .hero__image {
    position: relative;
    top: auto;
    right: auto;
    width: 80%;
    height: auto;
    margin: 0 0 0 auto;
    aspect-ratio: 1.2 / 1;
  }
}

@media (max-width: 640px) {
  .hero__content {
    align-items: stretch;
  }

  .hero__badge {
    align-self: flex-start;
  }

  .hero__title {
    margin-top: 18px;
    font-size: 38px;
  }

  .hero__title-accent {
    font-size: 40px;
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .hero__buttons {
    flex-direction: column;
    padding-top: 28px;
  }

  .hero__btn {
    width: 100%;
    min-width: 0;
    height: 58px;
  }

  .hero__image {
    width: 100%;
    margin: 0;
    aspect-ratio: 1.1 / 1;
  }
}

/* Hero: features */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 590px;
  margin-top: 34px;
}

.feature {
  padding: 0 16px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.feature:first-child {
  padding-left: 0;
  border-left: 0;
}

.feature__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
}

.feature__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.feature__text {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  color: #aeb6cc;
}

@media (max-width: 1000px) {
  .features {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
    margin-top: 26px;
  }

  .feature:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .feature__icon {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
  }
}

/* Hero: checklist */

.checklist {
  position: absolute;
  top: 70px;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(90, 150, 255, .35);
  border-radius: 14px;
  background: rgba(12, 22, 48, .72);
  box-shadow: 0 0 30px rgba(40, 120, 255, .2);
  backdrop-filter: blur(6px);
  font-size: 13px;
  color: #dbe6ff;
}

.checklist__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist__icon {
  width: 16px;
  height: 16px;
  color: var(--color-cyan);
}

@media (max-width: 1000px) {
  .checklist {
    top: 40px;
    left: 0;
  }
}

@media (max-width: 640px) {
  .checklist {
    position: relative;
    top: auto;
    left: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-top: -30px;
    padding: 14px 10px;
    font-size: 12.5px;
  }

  .checklist__item {
    gap: 5px;
  }

  .checklist__icon {
    width: 14px;
    height: 14px;
  }
}

/* Hero: stats */

.stats {
  position: absolute;
  right: 0;
  bottom: 29px;
  left: 12px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px 8px;
  border: 1px solid rgba(110, 140, 220, .28);
  border-radius: 18px;
  background: rgba(12, 20, 44, .72);
  backdrop-filter: blur(8px);
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.stat:first-child {
  border-left: 0;
}

.stat__icon {
  width: 36px;
  height: 36px;
}

.stat__value {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: #35d4ff;
}

.stat__value--gradient {
  background: linear-gradient(90deg, #27d0ff, #9b6bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.25;
  color: #b8c0d6;
}

@media (max-width: 1180px) {
  .stat {
    padding: 0 12px;
  }

  .stat__value {
    font-size: 26px;
  }
}

@media (max-width: 1000px) {
  .stats {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: -40px;
  }
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
    padding: 18px 4px;
  }

  .stat {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 6px;
    text-align: center;
  }

  .stat__icon {
    width: 30px;
    height: 30px;
  }

  .stat__value {
    font-size: 24px;
  }

  .stat__label {
    font-size: 12px;
  }
}

/* ---------- Services ---------- */

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

.service-card {
  position: relative;
  display: flex;
  min-height: 180px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.service-card:hover {
  border-color: rgba(60, 190, 255, .55);
  color: #fff;
  transform: translateY(-3px);
}

.service-card__body {
  position: relative;
  z-index: 2;
  width: 62%;
  padding: 22px 0 22px 24px;
  text-shadow: 0 1px 10px rgba(5, 8, 20, .9), 0 0 2px rgba(5, 8, 20, .8);
}

.service-card__icon {
  width: 34px;
  height: 34px;
  color: var(--color-cyan-soft);
  filter: drop-shadow(0 0 6px rgba(34, 211, 255, .5));
}

.service-card__title {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 700;
}

.service-card__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.service-card__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  aspect-ratio: 1 / 1;
}

.service-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .35) 22%, #000 52%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .35) 22%, #000 52%);
}

/* Arrow position is set per card via --arrow-x / --arrow-y */
.service-card__arrow {
  position: absolute;
  top: var(--arrow-y, 80%);
  left: var(--arrow-x, 80%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(60, 190, 255, .7);
  border-radius: 50%;
  background: rgba(10, 20, 44, .92);
  box-shadow: 0 0 12px rgba(40, 170, 255, .4);
  color: var(--color-cyan-soft);
  transform: translate(-50%, -50%);
}

.service-card__arrow .icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 1000px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .services__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .service-card {
    min-height: 168px;
  }

  .service-card__body {
    width: 66%;
    padding: 20px 0 20px 20px;
  }
}

/* ---------- Advantages ---------- */

.advantages {
  background:
    radial-gradient(50% 80% at 100% 60%, rgba(90, 40, 200, .3), transparent 70%),
    radial-gradient(50% 80% at 0% 60%, rgba(90, 40, 200, .3), transparent 70%);
}

.advantages__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.advantages__media {
  position: relative;
  align-self: stretch;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
}

.advantages__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  -webkit-mask-image:
    linear-gradient(90deg, #000 0, #000 72%, transparent 100%),
    linear-gradient(180deg, #000 0, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, #000 0, #000 72%, transparent 100%),
    linear-gradient(180deg, #000 0, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.advantages__content {
  max-width: 640px;
}

.advantages__lead {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.5;
  color: #c3cadb;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.adv-card {
  display: flex;
  gap: 20px;
  min-height: 112px;
  padding: 24px 22px;
}

.adv-card__icon {
  width: 30px;
  height: 30px;
}

.adv-card__icon--gold {
  color: #ffc93c;
  filter: drop-shadow(0 0 6px rgba(255, 190, 40, .5));
}

.adv-card__icon--amber {
  color: #ffc02e;
  filter: drop-shadow(0 0 6px rgba(255, 190, 40, .5));
}

.adv-card__icon--pink {
  color: #ff8fd0;
  filter: drop-shadow(0 0 6px rgba(255, 120, 200, .5));
}

.adv-card__title {
  font-size: 15px;
  font-weight: 700;
}

.adv-card__text {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

@media (max-width: 1000px) {
  .advantages__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .advantages__media {
    min-height: 400px;
  }

  .advantages__image {
    object-position: 55% 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
  }

  .advantages__content {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .advantages__inner {
    gap: 22px;
  }

  .advantages__media {
    min-height: 260px;
    border-radius: 16px;
  }

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

  .adv-card {
    min-height: 0;
    padding: 20px 18px;
  }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin-top: -2px;
}

.step {
  position: relative;
  min-height: 160px;
  padding: 22px 22px 24px;
}

/* connector line + dot between steps */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: -29px;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 6px rgba(47, 208, 255, .7);
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: -19px;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b27bff;
  box-shadow: 0 0 10px var(--color-purple);
}

.step__head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.step__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent);
  text-shadow: 0 0 12px rgba(40, 200, 255, .45);
}

.step__icon {
  width: 30px;
  height: 30px;
}

.step__title {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
}

.step__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text-muted);
}

@media (max-width: 1180px) {
  .steps {
    gap: 20px;
  }

  .step {
    padding: 20px 16px;
  }

  .step:not(:last-child)::after {
    right: -21px;
    width: 22px;
  }

  .step:not(:last-child)::before {
    right: -15px;
  }
}

@media (max-width: 1000px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .step:last-child {
    grid-column: 1 / -1;
  }

  .step::after,
  .step::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .step {
    min-height: 0;
  }
}

/* ---------- Prices ---------- */

.prices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
}

.price-card {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
  padding: 0 22px;
}

.price-card__icon {
  width: 30px;
  height: 30px;
  color: var(--color-cyan-soft);
  filter: drop-shadow(0 0 6px rgba(34, 211, 255, .5));
}

.price-card__name {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
}

.price-card__value {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-accent);
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .prices__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .prices__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .price-card {
    gap: 16px;
    height: 62px;
    padding: 0 18px;
  }
}

/* ---------- Reviews ---------- */

.reviews {
  padding-bottom: 28px;
  background:
    radial-gradient(40% 60% at 100% 30%, rgba(90, 40, 200, .22), transparent 70%),
    radial-gradient(40% 60% at 0% 30%, rgba(90, 40, 200, .22), transparent 70%);
}

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

.review {
  padding: 20px 26px 22px;
}

.review__stars {
  display: flex;
  gap: 6px;
  color: var(--color-accent);
  filter: drop-shadow(0 0 4px rgba(40, 200, 255, .5));
}

.review__stars .icon {
  width: 16px;
  height: 16px;
}

.review__text {
  min-height: 66px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.45;
  color: #d4d9e6;
}

.review__author {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1000px) {
  .reviews__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .review__text {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .review {
    padding: 20px;
  }
}

/* ---------- CTA ---------- */

.cta {
  padding: 22px 0 0;
}

.cta__box {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(120, 140, 230, .3);
  border-radius: 26px;
  background: linear-gradient(90deg, #0d1330 0%, #161641 45%, #0c1026 100%);
}

.cta__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}

.cta__content {
  position: relative;
  z-index: 2;
  padding: 26px 40px 32px;
}

.cta__title {
  margin-top: 18px;
  font: 700 38px/1.18 var(--font-base);
  letter-spacing: -.4px;
}

.cta__text {
  max-width: 560px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.4;
  color: #c7cde0;
}

.cta__btn {
  height: 56px;
  min-width: 268px;
  margin-top: 22px;
}

@media (max-width: 1000px) {
  .cta__image {
    width: 100%;
    opacity: .45;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60%);
    mask-image: linear-gradient(90deg, transparent 0, #000 60%);
  }
}

@media (max-width: 640px) {
  .cta {
    padding: 10px 0 0;
  }

  .cta__box {
    align-items: flex-end;
    min-height: 0;
    border-radius: 20px;
  }

  .cta__image {
    top: 0;
    width: 100%;
    height: 170px;
    opacity: 1;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  }

  .cta__content {
    padding: 130px 20px 24px;
  }

  .cta__title {
    font-size: 28px;
  }

  .cta__title br {
    display: none;
  }

  .cta__btn {
    width: 100%;
    min-width: 0;
  }
}
