/* RussiaPay — visual system inspired by Banco Plata's editorial minimalism. */
:root {
  --paper: #f5f2ea;
  --paper-2: #ece9e1;
  --white: #fff;
  --ink: #111319;
  --muted: #666b76;
  --blue: #123ca4;
  --blue-deep: #071d50;
  --blue-soft: #dce6ff;
  --red: #d72b3f;
  --red-dark: #b91f32;
  --line: rgba(17, 19, 25, .14);
  --line-light: rgba(255, 255, 255, .2);
  --radius: 1.35rem;
  --radius-lg: 2.2rem;
  --shell: 78rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { color: var(--red); font-style: normal; }

.shell { width: min(calc(100% - 3rem), var(--shell)); margin-inline: auto; }
.skip {
  position: fixed; z-index: 1000; top: 1rem; left: 1rem;
  translate: 0 -200%; padding: .75rem 1rem; border-radius: .75rem;
  background: var(--white); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.skip:focus { translate: 0; }
:focus-visible { outline: 3px solid #77a2ff; outline-offset: 3px; }

/* Header */
.header {
  position: fixed; z-index: 100; inset: .75rem 0 auto;
}
.header__inner {
  display: flex; align-items: center; gap: clamp(.8rem, 1.7vw, 1.6rem); height: 4.75rem;
  padding: .55rem .65rem .55rem 1.25rem; border: 1px solid rgba(17,19,25,.12); border-radius: 2.4rem;
  background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(24,31,47,.055);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.header.is-scrolled .header__inner { background: rgba(255,255,255,.96); box-shadow: 0 16px 38px rgba(24,31,47,.11); }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.brand__mark {
  display: grid; grid-template-rows: repeat(3, 1fr); gap: 2px;
  width: 1.55rem; height: 1.55rem; rotate: -8deg;
}
.brand__mark i { display: block; border-radius: 999px; }
.brand__mark i:nth-child(1) { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.brand__mark i:nth-child(2) { background: var(--blue); }
.brand__mark i:nth-child(3) { background: var(--red); }
.brand__name { font-size: 1.12rem; font-weight: 700; letter-spacing: .06em; }
.brand__name span { color: var(--red); }
.nav { display: flex; align-items: center; gap: clamp(.85rem, 1.55vw, 1.55rem); margin-left: auto; }
.nav a { position: relative; font-size: .82rem; font-weight: 600; color: #292d35; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; right: 0; bottom: -.45rem; left: 0;
  height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .25s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__account { display: flex; align-items: center; gap: .8rem; flex: 0 0 auto; }
.header__cta {
  min-height: 3.35rem; padding-inline: 1.45rem; border-radius: 999px;
  background: var(--blue); box-shadow: 0 12px 24px rgba(18,60,164,.16); white-space: nowrap;
}
.header__cta:hover { background: var(--blue-deep); }
.menu-button {
  display: none; place-items: center; gap: 6px; width: 2.75rem; height: 2.75rem;
  margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer;
}
.menu-button span { width: 1.15rem; height: 1px; background: #fff; transition: transform .25s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 6.2rem 1rem 1rem; overflow-y: auto;
  border: 1px solid var(--line); border-radius: 1.6rem; background: var(--paper); box-shadow: 0 20px 50px rgba(17,19,25,.14);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav { display: grid; align-content: start; padding-block: 1rem 2rem; }
.mobile-menu__nav > a:not(.button) {
  padding: 1.15rem 0; border-bottom: 1px solid var(--line); font-size: 1.4rem; font-weight: 600; letter-spacing: -.03em;
}
.mobile-menu__nav .button { margin-top: 1.5rem; }

/* Buttons and shared type */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 2.8rem; padding: .7rem 1.3rem; border: 1px solid transparent;
  border-radius: .8rem; font-size: .92rem; font-weight: 600; line-height: 1;
  transition: transform .2s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--line { border-color: rgba(17,19,25,.7); }
.button--line:hover { background: var(--ink); color: #fff; }
.button--red { background: var(--red); color: #fff; box-shadow: 0 14px 30px rgba(215,43,63,.2); }
.button--red:hover { background: var(--red-dark); box-shadow: 0 18px 38px rgba(215,43,63,.28); }
.button--blue { background: var(--blue); color: #fff; box-shadow: 0 14px 30px rgba(18,60,164,.18); }
.button--blue:hover { background: var(--blue-deep); }
.button--large { min-height: 3.75rem; padding-inline: 1.65rem; border-radius: .95rem; font-size: 1rem; }
.button span { font-size: 1.15em; }
.kicker {
  margin-bottom: 1.2rem; color: var(--blue); font-size: .73rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.kicker--light { color: #aabfff; }
.section-title {
  font-size: clamp(2.8rem, 5.5vw, 5.25rem); line-height: .95;
  letter-spacing: -.065em; font-weight: 600;
}
.section-lead { color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.6; }
.folk-bg {
  position: absolute; z-index: 0; display: block; height: auto;
  pointer-events: none; user-select: none; object-fit: contain;
}
.folk-bg--balalaika {
  left: -7rem; bottom: -5rem; width: clamp(25rem, 35vw, 36rem);
  opacity: .075; rotate: -12deg; filter: saturate(.7);
}
.folk-bg--horse {
  right: -8rem; top: 1rem; width: clamp(26rem, 36vw, 37rem);
  opacity: .07; filter: saturate(.7);
}
.folk-bg--mounted {
  right: -8rem; top: -2rem; width: clamp(40rem, 55vw, 58rem);
  opacity: .12; filter: saturate(.6) contrast(.92);
}
.folk-bg--bear {
  left: -9rem; bottom: -8rem; width: clamp(25rem, 34vw, 34rem);
  opacity: .065; filter: saturate(.65);
}
.folk-bg--caviar {
  right: -7rem; top: 1rem; width: clamp(20rem, 28vw, 29rem);
  opacity: .06; rotate: 7deg; filter: saturate(.7);
}
.text-link {
  display: inline-flex; align-items: center; gap: .8rem; width: fit-content;
  border-bottom: 1px solid currentColor; padding-bottom: .35rem; color: var(--blue); font-size: 1rem; font-weight: 600;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(.3rem); }
.text-link--light { color: #fff; }

/* Hero */
.hero {
  position: relative; min-height: 52rem; overflow: hidden;
  padding-top: 6.25rem; background: #f8f0e8;
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, .98fr) minmax(28rem, 1.02fr);
  min-height: calc(52rem - 6.25rem); align-items: center;
}
.hero__copy { position: relative; z-index: 3; padding: 4rem 0 5rem; }
.hero__wordmark {
  width: fit-content; margin-bottom: 1.35rem;
  overflow: visible; padding: .04em 0 .16em;
  /* Three solid flag bands with hard edges; the word remains one text node. */
  background: linear-gradient(
    to bottom,
    #fff 0 33.333%,
    var(--blue) 33.333% 66.666%,
    var(--red) 66.666% 100%
  );
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(7, 29, 80, .2);
  paint-order: stroke fill;
  font-size: clamp(4rem, 6vw, 6rem); line-height: .98;
  font-weight: 800; letter-spacing: -.055em;
}
.hero h1 {
  max-width: 48rem; font-size: clamp(3.3rem, 5vw, 5.15rem); line-height: .94;
  letter-spacing: -.068em; font-weight: 600;
}
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
.hero__lead { max-width: 38rem; margin-top: 2rem; color: #555b66; font-size: clamp(1.05rem, 1.55vw, 1.28rem); line-height: 1.56; }
.hero__benefits {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem;
  max-width: 42rem; margin-top: 2rem;
}
.hero__benefits li {
  position: relative; display: flex; align-items: center; min-height: 4.35rem;
  padding: .85rem .95rem .85rem 1.35rem; overflow: hidden;
  border: 1px solid rgba(17, 19, 25, .11); border-radius: .95rem;
  background: #fff; color: #252831;
  font-size: .91rem; font-weight: 650; line-height: 1.28;
  box-shadow: 0 12px 28px rgba(22, 27, 39, .045);
}
.hero__benefits li::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: .55rem;
  border-radius: .9rem 0 0 .9rem;
  background: linear-gradient(to bottom, #fff 0 33.333%, var(--blue) 33.333% 66.666%, var(--red) 66.666% 100%);
  box-shadow: 1px 0 0 rgba(7, 29, 80, .12);
}
.hero__actions { display: flex; align-items: center; gap: 1.6rem; margin-top: 2rem; }
.hero__actions p { max-width: 11rem; color: var(--ink); font-size: .97rem; font-weight: 600; line-height: 1.4; }
.hero__cta { min-height: 4.65rem; padding-inline: 2.35rem; border-radius: 1.05rem; font-size: 1.16rem; }
.hero__visual {
  position: absolute; inset: 0 calc((100vw - min(calc(100vw - 3rem), var(--shell))) / -2) 0 auto;
  width: min(50rem, 55vw); min-width: 0;
}
.hero__visual img {
  position: absolute; inset: 1rem 0 auto auto; width: 138%; height: 138%;
  object-fit: contain; object-position: 100% 100%;
}

/* Running anthem line directly below the hero. */
.anthem {
  display: grid; align-items: center; height: 66px; overflow-x: auto; overflow-y: hidden;
  background: var(--blue-deep); color: #fff;
  border-block: 1px solid rgba(255,255,255,.14);
  overscroll-behavior-inline: contain; scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.42) transparent;
  -webkit-overflow-scrolling: touch;
}
.anthem::-webkit-scrollbar { height: 4px; }
.anthem::-webkit-scrollbar-track { background: transparent; }
.anthem::-webkit-scrollbar-thumb { border-radius: 99rem; background: rgba(255,255,255,.42); }
.anthem__track {
  display: flex; align-items: center; width: max-content;
  min-height: 100%; animation: anthem-marquee 240s linear infinite;
}
.anthem:hover .anthem__track,
.anthem:focus .anthem__track,
.anthem:active .anthem__track { animation-play-state: paused; }
.anthem__group { display: flex; align-items: center; flex-shrink: 0; gap: 1.35rem; padding-right: 1.35rem; }
.anthem__group p {
  flex-shrink: 0; font-size: clamp(.86rem, 1.25vw, 1.05rem); line-height: 1;
  font-weight: 600; letter-spacing: -.025em; white-space: nowrap;
}
.anthem__group i { color: var(--red); font-size: .85rem; font-style: normal; }
@keyframes anthem-marquee { to { transform: translateX(-50%); } }

/* Services */
.services { overflow: hidden; padding: clamp(6rem, 10vw, 9rem) 0 0; background: #fff; }
.services__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 5rem; }
.services__number {
  color: var(--blue); font-size: clamp(8rem, 18vw, 16rem); font-weight: 600;
  line-height: .72; letter-spacing: -.095em; white-space: nowrap;
}
.services__number span { color: var(--red); font-size: .42em; vertical-align: top; }
.services__copy { padding-bottom: 1rem; }
.services__copy h2 { font-size: clamp(3.4rem, 6vw, 5.8rem); font-weight: 600; line-height: .9; letter-spacing: -.07em; }
.services__copy p { max-width: 31rem; margin-top: 1.7rem; color: var(--muted); font-size: 1.05rem; line-height: 1.62; }
.services__copy .text-link { margin-top: 1.8rem; }
.marquee { margin-top: clamp(5rem, 9vw, 8rem); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee__track {
  display: flex; align-items: center; gap: 2rem; width: max-content; padding: 1.6rem 0;
  color: #373b45; font-size: 1.18rem; font-weight: 500; animation: marquee 28s linear infinite;
}
.marquee__track i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Product */
.product { padding: clamp(6rem, 11vw, 10rem) 0; }
.product__grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(4rem, 8vw, 8rem); }
.product__copy .section-lead { max-width: 32rem; margin-top: 1.7rem; }
.check-list { display: grid; gap: .85rem; margin: 2rem 0 2.4rem; }
.check-list li { display: flex; align-items: center; gap: .75rem; color: #454a54; font-size: .92rem; }
.check-list li::before {
  content: "✓"; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; flex: 0 0 auto;
  border-radius: 50%; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 700;
}
.dashboard-wrap { position: relative; padding: 2.2rem; border-radius: var(--radius-lg); background: var(--blue-soft); }
.dashboard-wrap::before {
  content: ""; position: absolute; inset: 1.1rem; border: 1px dashed rgba(18,60,164,.18); border-radius: calc(var(--radius-lg) - .65rem); pointer-events: none;
}
.dashboard {
  position: relative; z-index: 2; width: min(24rem, 82%); margin-inline: auto; padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid rgba(255,255,255,.85); border-radius: 1.7rem; background: #fbfcff;
  box-shadow: 0 32px 70px rgba(20,49,118,.18); rotate: -2deg;
}
.dashboard__top { display: flex; align-items: center; justify-content: space-between; }
.mini-brand { display: flex; align-items: center; gap: .45rem; color: var(--blue-deep); font-size: .72rem; font-weight: 700; }
.mini-brand .brand__mark { width: 1rem; height: 1rem; gap: 1px; }
.avatar { display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%; background: var(--paper-2); font-size: .66rem; font-weight: 600; }
.dashboard__balance { display: grid; justify-items: center; gap: .15rem; margin: 1.45rem 0 1rem; }
.dashboard__balance p { color: var(--muted); font-size: .66rem; }
.dashboard__balance strong { color: var(--blue-deep); font-size: 1.55rem; letter-spacing: -.04em; }
.dashboard__balance span { color: #8b8f97; font-size: .58rem; }
.virtual-card {
  position: relative; overflow: hidden; aspect-ratio: 1.72; padding: 1rem 1.15rem;
  border-radius: 1rem; background: linear-gradient(145deg, #0d2459, #071735); color: #fff;
  box-shadow: 0 16px 30px rgba(7,29,80,.24);
}
.virtual-card::before { content: ""; position: absolute; width: 11rem; height: 11rem; top: -7rem; right: -3rem; border-radius: 50%; background: rgba(69,113,218,.28); }
.virtual-card::after { content: ""; position: absolute; inset: 0 0 auto; height: .3rem; background: linear-gradient(90deg, #fff 0 33.33%, #2b65d9 33.33% 66.66%, var(--red) 66.66%); }
.virtual-card__head, .virtual-card__foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.virtual-card__head span { font-size: .62rem; font-weight: 700; letter-spacing: .08em; }
.virtual-card__head span b { color: #ff6b7c; }
.virtual-card__head i { font-size: .55rem; font-style: normal; letter-spacing: -.12em; rotate: 90deg; }
.virtual-card__chip { width: 1.8rem; height: 1.35rem; margin-top: 1.15rem; border-radius: .3rem; background: linear-gradient(135deg, #e6d3a3, #b8a16b); }
.virtual-card > p { margin-top: 1rem; font-size: .78rem; letter-spacing: .16em; }
.virtual-card__foot { margin-top: .65rem; color: rgba(255,255,255,.62); font-size: .48rem; letter-spacing: .08em; }
.virtual-card__foot b { color: #fff; font-size: .45rem; }
.quick-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: .55rem; margin-top: 1rem; }
.quick-actions span { display: grid; justify-items: center; gap: .35rem; color: #626772; font-size: .55rem; }
.quick-actions i { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .65rem; background: var(--paper); color: var(--blue); font-size: .72rem; font-style: normal; font-weight: 600; }
.transaction { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; margin-top: 1rem; padding: .75rem; border-radius: .8rem; background: #f1f4fa; }
.transaction__logo { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: .55rem; background: var(--ink); color: #fff; font-size: .55rem; font-weight: 700; }
.transaction p { display: grid; gap: .15rem; }
.transaction b { font-size: .57rem; }
.transaction small { color: #898d96; font-size: .48rem; }
.transaction strong { color: var(--red); font-size: .58rem; }
.dashboard__note {
  position: absolute; z-index: 3; right: 1.1rem; bottom: 5rem; display: flex; align-items: center; gap: .55rem;
  padding: .75rem .9rem; border-radius: .8rem; background: #fff; color: var(--blue-deep); font-size: .68rem; font-weight: 600;
  box-shadow: 0 18px 35px rgba(20,49,118,.16); rotate: 3deg;
}
.dashboard__note span { display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #30b76a; color: #fff; font-size: .55rem; }

/* Steps */
.how { padding: clamp(6rem, 10vw, 9rem) 0; background: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 5rem; }
.step { position: relative; padding-top: .5rem; }
.step__number { color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.step__line { position: relative; height: 1px; margin: 1.2rem 0 2rem; background: var(--line); }
.step__line::before { content: ""; position: absolute; left: 0; top: -.25rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--blue); }
.step h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.035em; }
.step p { max-width: 21rem; margin-top: .75rem; color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* Tap to pay */
.tap-pay { position: relative; overflow: hidden; min-height: 45rem; background: var(--blue); color: #fff; }
.tap-pay__ring {
  position: absolute; right: -12rem; top: -22rem; width: 58rem; height: 58rem; border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
  box-shadow: 0 0 0 7rem rgba(255,255,255,.025), 0 0 0 14rem rgba(255,255,255,.02);
}
.tap-pay__grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; min-height: 45rem; gap: 5rem; }
.tap-pay__copy { position: relative; z-index: 2; }
.tap-pay__copy .section-title { font-size: clamp(3.8rem, 7.2vw, 6.7rem); }
.tap-pay__copy .section-title::after { content: "."; color: var(--red); }
.tap-pay__copy > p:not(.kicker) { max-width: 28rem; margin-top: 1.7rem; color: rgba(255,255,255,.7); font-size: 1.03rem; line-height: 1.65; }
.tap-pay__copy .text-link { margin-top: 2rem; }
.phone-scene { position: relative; height: 38rem; }
.phone {
  position: absolute; z-index: 3; left: 50%; bottom: -7rem; width: 19rem; height: 36rem; translate: -50% 0; rotate: -8deg;
  padding: 2.3rem 1.1rem 1.2rem; border: .55rem solid #10141e; border-radius: 3rem 3rem 1.7rem 1.7rem;
  background: #eff2f8; color: var(--ink); box-shadow: 0 35px 90px rgba(0,0,0,.35);
}
.phone__speaker { position: absolute; top: .8rem; left: 50%; width: 5rem; height: .35rem; translate: -50% 0; border-radius: 99rem; background: #0b0e15; }
.phone > p { color: var(--blue-deep); font-size: .74rem; font-weight: 700; text-align: center; }
.phone__card { position: relative; aspect-ratio: 1.65; margin-top: 1.2rem; padding: 1.15rem; border-radius: 1.1rem; background: linear-gradient(145deg, #112b66, #071735); color: #fff; box-shadow: 0 16px 30px rgba(7,29,80,.22); }
.phone__card::before { content: ""; position: absolute; inset: 0 0 auto; height: .3rem; border-radius: 1.1rem 1.1rem 0 0; background: linear-gradient(90deg,#fff 0 33%,#3265d0 33% 66%,var(--red) 66%); }
.phone__card span { font-size: .66rem; font-weight: 700; letter-spacing: .08em; }
.phone__card span b { color: #ff6b7c; }
.phone__card i { display: block; width: 2rem; height: 1.45rem; margin-top: 2.2rem; border-radius: .35rem; background: #d8c28f; }
.phone__card strong { display: block; margin-top: 1.1rem; font-size: .7rem; letter-spacing: .12em; }
.phone__done { display: grid; justify-items: center; gap: .35rem; margin-top: 2rem; }
.phone__done span { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #d9f3e4; color: #208c50; font-size: 1.2rem; }
.phone__done b { font-size: 1rem; }
.phone__done small { color: var(--muted); font-size: .68rem; }
.terminal { position: absolute; z-index: 2; right: 1rem; bottom: -2rem; width: 14rem; height: 10rem; rotate: 7deg; border-radius: 1.3rem 1.3rem .6rem .6rem; background: #151923; box-shadow: 0 35px 70px rgba(0,0,0,.28); }
.terminal span { display: block; width: 9rem; height: 3rem; margin: 1.25rem auto 1rem; border-radius: .35rem; background: #a3b7a8; box-shadow: inset 0 0 0 .35rem #303843; }
.terminal i { display: inline-block; width: 1.5rem; height: 1.5rem; margin-left: 2.2rem; border-radius: .3rem; background: #3d4450; }
.terminal i + i { margin-left: .35rem; }
.contactless { position: absolute; z-index: 4; left: calc(50% + 7rem); border: 3px solid rgba(255,255,255,.7); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; rotate: 45deg; }
.contactless--one { bottom: 12rem; width: 3rem; height: 3rem; }
.contactless--two { bottom: 10.7rem; width: 5.5rem; height: 5.5rem; opacity: .45; }

/* Documents */
.docs { padding: clamp(6rem, 11vw, 10rem) 0; background: var(--paper); }
.docs__head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 4rem; }
.docs__head .section-lead { max-width: 28rem; padding-bottom: .4rem; }
.docs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 4rem; }
.doc-card {
  position: relative; display: grid; align-content: end; min-height: 20rem; padding: 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.34);
  transition: background-color .25s ease, color .25s ease, transform .25s var(--ease), border-color .25s ease;
}
.doc-card > span { position: absolute; top: 1.5rem; left: 1.5rem; color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
.doc-card h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.04em; }
.doc-card p { max-width: 14rem; margin-top: .55rem; color: var(--muted); font-size: .8rem; line-height: 1.5; transition: color .25s ease; }
.doc-card > i { position: absolute; top: 1.25rem; right: 1.25rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 1px solid var(--line); border-radius: 50%; font-style: normal; }
.doc-card:hover { transform: translateY(-5px); border-color: var(--blue); background: var(--blue); color: #fff; }
.doc-card:hover > span, .doc-card:hover p { color: rgba(255,255,255,.68); }
.doc-card:hover > i { border-color: rgba(255,255,255,.4); }

/* Security */
.security { padding: clamp(6rem, 10vw, 9rem) 0; background: #dfe7f8; }
.security__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(4rem, 9vw, 9rem); }
.security__title { position: relative; min-height: 35rem; }
.shield {
  position: absolute; bottom: 0; left: 1rem; display: grid; place-items: center; width: 15rem; height: 17rem;
  background: linear-gradient(145deg, #1e4db9, #092561); color: #fff;
  clip-path: polygon(50% 0, 93% 16%, 86% 69%, 50% 100%, 14% 69%, 7% 16%);
  filter: drop-shadow(0 24px 26px rgba(18,60,164,.25));
}
.shield::before { content: ""; position: absolute; inset: 1rem; border: 1px solid rgba(255,255,255,.34); clip-path: inherit; }
.shield::after { content: ""; position: absolute; width: 8rem; height: .25rem; top: 4rem; background: linear-gradient(90deg,#fff 0 33%,#5285f5 33% 66%,var(--red) 66%); }
.shield span { font-size: 4rem; font-weight: 600; }
.security__list { display: grid; align-content: center; }
.security__item { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.5rem; padding: 2.25rem 0; border-bottom: 1px solid rgba(17,19,25,.16); }
.security__item:first-child { border-top: 1px solid rgba(17,19,25,.16); }
.security__item > span { color: var(--red); font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
.security__item h3 { font-size: 1.32rem; font-weight: 600; letter-spacing: -.035em; }
.security__item p { max-width: 33rem; margin-top: .75rem; color: #5b6270; font-size: .9rem; line-height: 1.65; }

/* FAQ */
.faq { position: relative; padding: clamp(6rem, 10vw, 9rem) 0; overflow: hidden; background: #fff; }
.faq > .shell { position: relative; z-index: 1; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(4rem, 9vw, 9rem); }
.faq header .section-lead { max-width: 27rem; margin-top: 1.5rem; }
.faq__items { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.65rem 0; cursor: pointer; font-size: 1.08rem; font-weight: 600; letter-spacing: -.025em; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--blue); font-size: 1.4rem; font-weight: 400; transition: transform .25s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 38rem; padding: 0 3rem 1.5rem 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* Footer */
.footer { padding: 5rem 0 2rem; background: var(--blue-deep); color: #fff; }
.footer__top { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-light); }
.brand--light .brand__mark i:first-child { box-shadow: none; }
.brand--light .brand__mark i:nth-child(2) { background: #608df4; }
.footer__brand p { margin-top: .8rem; color: rgba(255,255,255,.52); font-size: .88rem; }
.footer__mail { display: flex; align-items: center; gap: 1.2rem; font-size: clamp(1.3rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -.04em; }
.footer__mail span { color: #789ef7; }
.footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 3.5rem 0; }
.footer__nav > * { display: grid; align-content: start; gap: .7rem; }
.footer__nav h2 { margin-bottom: .55rem; color: rgba(255,255,255,.42); font-size: .65rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.footer__nav a, .footer__nav p { width: fit-content; color: rgba(255,255,255,.74); font-size: .84rem; line-height: 1.55; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); color: rgba(255,255,255,.38); font-size: .68rem; }
.footer__bottom p { text-align: center; }
.footer__bottom a:hover { color: #fff; }

/* Reveal animation — content remains visible without JS. */
.js .reveal { opacity: 0; transform: translateY(2rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--delay { transition-delay: .12s; }
.js .reveal--delay-2 { transition-delay: .24s; }

@media (max-width: 1080px) {
  .header__inner { gap: .75rem; padding-left: 1rem; }
  .nav { gap: .8rem; }
  .nav a { font-size: .77rem; }
  .header__account { gap: .55rem; }
  .header__cta { min-height: 3.1rem; padding-inline: 1.05rem; font-size: .8rem; }
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(25rem, .95fr); }
  .hero__visual img { right: 0; width: 145%; }
  .docs__grid { grid-template-columns: repeat(2, 1fr); }
  .doc-card { min-height: 16rem; }
}

@media (max-width: 880px) {
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .nav { display: none; }
  .header__account { display: none; }
  .menu-button { display: grid; }
  .hero { min-height: auto; }
  .hero__inner { display: flex; flex-direction: column; min-height: auto; }
  .hero__copy { width: 100%; padding: 5rem 0 1.5rem; }
  .hero h1 { max-width: 42rem; }
  .hero__visual { position: relative; inset: auto; width: 100%; height: 35rem; }
  .hero__visual img { inset: 0 50% 0 auto; width: min(40rem, 100%); height: 100%; translate: 50% 0; }
  .services__inner, .product__grid, .tap-pay__grid, .security__grid, .faq__grid { grid-template-columns: 1fr; }
  .services__inner { gap: 3.5rem; }
  .services__number { font-size: clamp(8rem, 34vw, 14rem); }
  .product__copy { max-width: 38rem; }
  .dashboard-wrap { width: min(100%, 40rem); margin-inline: auto; }
  .tap-pay__grid { gap: 1rem; padding-top: 5rem; }
  .tap-pay__copy { max-width: 35rem; }
  .phone-scene { height: 37rem; }
  .docs__head { grid-template-columns: 1fr; gap: 2rem; }
  .security__title { min-height: 33rem; }
  .security__list { margin-top: 1rem; }
  .faq__grid { gap: 3rem; }
}

@media (max-width: 640px) {
  .header { inset: .5rem 0 auto; }
  .header__inner { height: 4.15rem; padding: .45rem .5rem .45rem .9rem; border-radius: 1.5rem; }
  .mobile-menu { inset: 5.15rem .65rem .65rem; }
  .brand__name { font-size: 1rem; }
  .hero { padding-top: 5.25rem; }
  .hero__copy { padding-top: 3.2rem; }
  .hero__wordmark { margin-bottom: 1.2rem; font-size: clamp(3rem, 16vw, 4.25rem); }
  .hero h1 { font-size: clamp(2.65rem, 11.8vw, 3.25rem); line-height: .96; letter-spacing: -.06em; }
  .hero__lead { margin-top: 1.4rem; font-size: 1rem; }
  .hero__benefits { grid-template-columns: 1fr; gap: .55rem; margin-top: 1.4rem; }
  .hero__benefits li { min-height: 3.35rem; padding-block: .7rem; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: .8rem; }
  .hero__actions .button { width: 100%; }
  .hero__actions p { display: flex; justify-content: center; gap: .4rem; }
  .hero__visual { height: 29rem; margin-top: -1.5rem; }
  .hero__visual img { width: 33rem; max-width: none; }
  .section-title { font-size: clamp(2.85rem, 14vw, 4.3rem); }
  .services { padding-top: 5rem; }
  .services__inner { gap: 2.8rem; }
  .services__number { font-size: 40vw; }
  .services__copy h2 { font-size: 14vw; }
  .marquee { margin-top: 4.5rem; }
  .dashboard-wrap { padding: 1rem; border-radius: 1.5rem; }
  .dashboard { width: 92%; padding: 1rem; }
  .dashboard__note { right: -.3rem; bottom: 3.5rem; }
  .steps { grid-template-columns: 1fr; gap: 2.7rem; margin-top: 3rem; }
  .step__line { margin-bottom: 1.3rem; }
  .tap-pay__grid { padding-top: 4rem; }
  .tap-pay__copy .section-title { font-size: 16vw; }
  .phone-scene { height: 33rem; }
  .phone { width: 16rem; height: 31rem; bottom: -6rem; }
  .terminal { right: -3rem; width: 12rem; }
  .contactless { left: calc(50% + 5.5rem); }
  .docs__grid { grid-template-columns: 1fr; }
  .doc-card { min-height: 12rem; }
  .security__title { min-height: 28rem; }
  .shield { width: 12rem; height: 14rem; left: 50%; translate: -50% 0; }
  .shield::after { width: 6.5rem; top: 3.2rem; }
  .security__item { grid-template-columns: 2.4rem 1fr; gap: .9rem; }
  .footer__top { display: grid; align-items: start; }
  .footer__mail { overflow-wrap: anywhere; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { grid-template-columns: 1fr; gap: .65rem; }
  .footer__bottom p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --muted: #424750; --line: rgba(17,19,25,.35); }
}

/* Product ecosystem — adapted to the RussiaPay visual language. */
.button--light { background: #fff; color: var(--blue-deep); box-shadow: 0 14px 30px rgba(0,0,0,.14); }
.button--light:hover { background: var(--blue-soft); }

.offerings { position: relative; padding: clamp(6rem, 9vw, 9rem) 0; overflow: hidden; background: #fff; }
.offerings > .shell { position: relative; z-index: 1; }
.offerings__head {
  display: grid; grid-template-columns: 1.15fr .7fr; align-items: end; gap: 4rem;
  margin-bottom: 4rem;
}
.offerings__head .section-lead { max-width: 30rem; padding-bottom: .45rem; }
.offerings__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.offering-card {
  position: relative; display: flex; flex-direction: column; align-items: center; min-height: 30rem; overflow: hidden;
  padding: 1.4rem; border: 0; border-radius: 2rem; background: transparent; text-align: center;
}
.offering-card--esim,
.offering-card--services { background: transparent; }
.offering-card__number {
  position: absolute; z-index: 2; top: 1.5rem; left: 1.5rem; display: grid; place-items: center;
  width: 2.7rem; height: 2.7rem; border: 1px solid rgba(7,29,80,.24); border-radius: 50%;
  color: var(--blue-deep); font-size: .75rem; font-weight: 700;
}
.offering-card__art {
  position: relative; display: grid; place-items: center; width: 100%; height: 17rem; margin: -.15rem -.15rem 1.5rem;
  overflow: hidden; border-radius: 1.5rem;
}
.offering-card h3 { font-size: clamp(1.65rem, 2.4vw, 2.25rem); letter-spacing: -.055em; }
.offering-card > p { max-width: 24rem; margin: .8rem auto 0; color: var(--muted); line-height: 1.55; }
.offering-card > a {
  display: flex; align-items: center; justify-content: center; width: 100%; margin-top: auto; padding-top: 1.6rem;
  border-top: 1px solid var(--line); color: var(--blue-deep); font-size: .9rem; font-weight: 700;
}
.mini-rp-card {
  position: relative; width: 15rem; aspect-ratio: 1.59; padding: 1.2rem; overflow: hidden;
  border-radius: 1rem; background: linear-gradient(135deg, #071d50, #1746ac); color: #fff;
  box-shadow: 0 28px 45px rgba(7,29,80,.24); rotate: -7deg;
}
.mini-rp-card::before { content: ""; position: absolute; inset: 0 0 auto; height: .32rem; background: linear-gradient(90deg,#fff 0 33%,#3469db 33% 66%,var(--red) 66%); }
.mini-rp-card b { font-size: 1.3rem; }
.mini-rp-card i { display: block; width: 2.1rem; height: 1.6rem; margin-top: 2.3rem; border-radius: .35rem; background: #d8c69b; }
.mini-rp-card span { position: absolute; right: 1.1rem; bottom: 1rem; font-size: .65rem; letter-spacing: .14em; }
.mini-qr {
  width: 10.5rem; padding: .7rem; border: .65rem solid #fff; border-radius: 1.1rem; background: #fff;
  box-shadow: 0 24px 44px rgba(18,60,164,.18); rotate: 5deg;
}
.mini-qr img { width: 100%; border-radius: .3rem; }
.service-orbit span {
  position: absolute; display: grid; place-items: center; width: 6rem; height: 6rem;
  border-radius: 1.4rem; color: #fff; font-size: 1.25rem; font-weight: 800; box-shadow: 0 22px 42px rgba(7,29,80,.18);
}
.service-orbit span:nth-child(1) { translate: -4.5rem 1.7rem; rotate: -9deg; background: #172238; }
.service-orbit span:nth-child(2) { translate: 4.4rem 2rem; rotate: 8deg; background: #2458bd; }
.service-orbit span:nth-child(3) { translate: 0 -3.2rem; rotate: 3deg; background: #1a9b55; }
.service-orbit img { width: 2.8rem; height: 2.8rem; object-fit: contain; }

.solutions { position: relative; padding: clamp(6rem, 9vw, 9rem) 0; overflow: hidden; background: var(--blue-deep); color: #fff; }
.solutions > .shell { position: relative; z-index: 1; }
.solutions__head { position: relative; max-width: 55rem; margin-bottom: 3rem; }
.tariffs {
  margin-bottom: 4rem; padding: clamp(1.2rem, 2.5vw, 2rem); overflow: hidden;
  border-radius: 2.6rem; background: #f5f6f8; color: var(--ink);
}
.tariffs__title {
  margin: .6rem 0 2.2rem; font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 600; letter-spacing: -.065em; text-align: center;
}
.tariffs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; align-items: stretch; }
.tariff-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: 1.5rem;
  border: 1px solid #e5e7ec; border-radius: 2rem; background: #fff;
  box-shadow: 0 12px 32px rgba(7,29,80,.055);
}
.tariff-card--featured {
  border: 3px solid #7c91e8; padding: calc(1.5rem - 2px);
  box-shadow: 0 0 0 .45rem rgba(82,104,205,.1), 0 22px 50px rgba(7,29,80,.12);
}
.tariff-visual {
  position: relative; aspect-ratio: 1.68; overflow: hidden; padding: 1.1rem;
  border-radius: 1.45rem; color: #fff; box-shadow: 0 18px 34px rgba(7,29,80,.16);
}
.tariff-visual > span { position: relative; z-index: 2; font-size: .95rem; font-weight: 800; letter-spacing: .02em; }
.tariff-visual > span b { color: #ff6b7c; }
.tariff-visual > strong {
  position: absolute; z-index: 2; left: 1.1rem; bottom: 3.5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .13em;
}
.tariff-visual > small {
  position: absolute; z-index: 2; left: 1.1rem; bottom: 1.05rem;
  color: rgba(255,255,255,.78); font-size: .68rem; letter-spacing: .1em;
}
.tariff-visual--asset { padding: 0; background: #171219; }
.tariff-visual--asset img { width: 100%; height: 100%; object-fit: cover; }
.tariff-visual--asset-subscriptions img { object-position: 50% 50%; }
.tariff-visual--asset-usa img { object-position: 50% 50%; }
.tariff-visual--asset-singapore img { object-position: 50% 50%; }
.tariff-visual--subscriptions { background: linear-gradient(135deg, #052d29 0%, #075846 55%, #21c88d 100%); }
.tariff-visual--subscriptions::after {
  content: ""; position: absolute; width: 12rem; height: 12rem; right: -5rem; bottom: -7rem;
  border-radius: 50%; background: rgba(255,255,255,.12); filter: blur(5px);
}
.tariff-visual--usa { background: radial-gradient(circle at 76% 42%, #4e3b17 0 12%, transparent 34%), linear-gradient(145deg, #17130c, #020202 72%); }
.tariff-visual--usa::before {
  content: ""; position: absolute; inset: .75rem; border: 1px solid rgba(209,174,81,.28); border-radius: 1rem;
}
.tariff-visual__globe {
  position: absolute; right: 1.2rem; bottom: .75rem; display: grid; place-items: center;
  width: 7rem; height: 7rem; border: .5rem solid #a9812f; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d3ab4e, #18140c 58%); color: #f3ce6d;
  box-shadow: inset 0 0 0 1px #e0b657, 0 10px 24px rgba(0,0,0,.45);
}
.tariff-visual__globe b { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 3px solid currentColor; border-radius: 50%; font-size: 1.35rem; }
.tariff-visual__globe i { position: absolute; top: -.65rem; right: -.65rem; font-size: 2.35rem; font-style: normal; rotate: -16deg; }
.tariff-visual--standard { background: radial-gradient(circle at 72% 26%, rgba(255,255,255,.35), transparent 22%), linear-gradient(135deg, #4d159b, #8b3ad3 55%, #5f28be); }
.tariff-visual__services { position: absolute; inset: 0; }
.tariff-visual__services i,
.tariff-visual__services b {
  position: absolute; display: grid; place-items: center; width: 3.35rem; height: 3.35rem;
  border-radius: 1rem; background: rgba(255,255,255,.15); box-shadow: 0 12px 24px rgba(44,12,101,.28);
}
.tariff-visual__services i:first-child { left: 43%; top: 44%; rotate: -8deg; }
.tariff-visual__services i:nth-child(2) { right: 13%; top: 31%; rotate: 8deg; }
.tariff-visual__services b { right: 37%; bottom: 12%; color: #fff; font-size: 1.1rem; }
.tariff-visual__services img { width: 2rem; height: 2rem; object-fit: contain; }
.tariff-card h4 { margin: 1.45rem .2rem 1rem; font-size: clamp(1.15rem, 1.65vw, 1.45rem); letter-spacing: -.035em; text-align: center; }
.tariff-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; min-height: 4rem; margin-bottom: 1rem; }
.tariff-tags li { align-self: flex-start; padding: .45rem .75rem; border-radius: 99rem; background: #f0f1f4; color: #5c6270; font-size: .72rem; font-weight: 650; }
.tariff-tags .tariff-tag--google { border: 1px solid #b9cfff; background: #fff; color: #3770e7; }
.tariff-tags .tariff-tag--dark { background: #17181d; color: #fff; }
.tariff-specs { margin: 0; overflow: hidden; border: 1px solid #e6e8ed; border-radius: 1.1rem; }
.tariff-specs div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.15rem; padding: .7rem 1rem; }
.tariff-specs div + div { border-top: 1px solid #e8eaee; }
.tariff-specs dt { color: #7a818f; font-size: .82rem; line-height: 1.3; }
.tariff-specs dd { margin: 0; flex: 0 0 auto; font-size: .86rem; font-weight: 700; }
.tariff-bonus { margin-top: 1rem; padding: .75rem 1rem; border-radius: .7rem; background: #1bab55; color: #fff; font-size: .85rem; font-weight: 750; text-align: center; box-shadow: 0 8px 18px rgba(27,171,85,.22); }
.tariff-benefits {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 1rem 1.15rem;
  min-height: 10.5rem; margin: 1.3rem 0; padding: 1.25rem; border-radius: 1.1rem; background: #f6f7f9;
}
.tariff-benefits li { position: relative; padding-left: 1.2rem; font-size: .8rem; line-height: 1.4; }
.tariff-benefits li::before { content: "✓"; position: absolute; left: 0; color: #7285dc; font-weight: 800; }
.tariff-price { margin-top: auto; padding: 1.1rem 1.15rem; border: 1px solid #e6e8ed; border-radius: 1rem; }
.tariff-price del { display: block; margin-bottom: .45rem; color: var(--red); font-size: 1rem; }
.tariff-price p { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem .8rem; }
.tariff-price strong { font-size: 1.7rem; letter-spacing: -.04em; }
.tariff-price span { color: #858b98; font-size: .76rem; }
.tariff-card__button { width: 100%; min-height: 3.6rem; margin-top: 1rem; border-radius: .85rem; background: var(--red); color: #fff; font-size: 1rem; }
.tariff-card__button:hover { background: var(--red-dark); }
.tariff-card__button--dark { background: #191a1f; }
.tariff-card__button--dark:hover { background: #050507; }
.tariff-card__note { min-height: 1rem; margin-top: .8rem; color: #a0a6b1; font-size: .7rem; text-align: center; }
.tariff-card__note::before { content: "◷"; margin-right: .45rem; }
.tariff-card__note--empty::before { content: none; }
.solution-row {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 43rem;
  border-top: 1px solid var(--line-light);
}
.solution-row:last-child { border-bottom: 1px solid var(--line-light); }
.solution-row--reverse .solution-row__visual { order: 2; }
.solution-row--reverse .solution-row__copy { order: 1; padding-left: 0; padding-right: clamp(2rem, 6vw, 6rem); }
.solution-row__visual { position: relative; display: grid; place-items: center; min-height: 36rem; overflow: hidden; }
.solution-row__copy { padding-left: clamp(2rem, 6vw, 6rem); }
.solution-row__copy h3 { max-width: 34rem; font-size: clamp(2.7rem, 4.4vw, 4.6rem); line-height: .94; letter-spacing: -.065em; }
.solution-row__copy > p:not(.kicker) { max-width: 32rem; margin-top: 1.5rem; color: rgba(255,255,255,.68); font-size: 1.05rem; line-height: 1.65; }
.feature-list { display: grid; gap: .8rem; margin: 2rem 0 2.3rem; color: rgba(255,255,255,.88); }
.feature-list li { position: relative; padding-left: 1.7rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: #8eacff; font-weight: 700; }
.solution-row--esim { display: block; min-height: 0; padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(2.5rem, 4vw, 3.5rem); }
.solution-row--esim .solution-row__copy { max-width: 44rem; padding: 0; }
.esim-country-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; margin-top: 3rem;
}
.esim-country-card {
  position: relative; min-width: 0; min-height: 9.5rem; padding: 1.25rem;
  border-radius: 1.25rem; background: #fff; color: var(--ink);
  box-shadow: 0 18px 34px rgba(0,0,0,.1);
}
.esim-country-card__flag { display: block; font-size: 1.7rem; line-height: 1; }
.esim-country-card__badge {
  position: absolute; top: .8rem; right: .8rem; padding: .32rem .55rem;
  border-radius: 999px; background: var(--red); color: #fff;
  font-size: .58rem; font-weight: 800; letter-spacing: .01em;
}
.esim-country-card h4 { margin-top: 2.15rem; font-size: 1.05rem; letter-spacing: -.025em; }
.esim-country-card p { margin-top: .45rem; color: var(--muted); font-size: .78rem; }
.esim-country-button { display: flex; width: fit-content; margin: 2rem auto 0; }
.card-stage { perspective: 900px; }
.rp-card {
  position: absolute; width: min(28rem, 82%); aspect-ratio: 1.59; padding: 2rem; overflow: hidden;
  border-radius: 1.5rem; background: linear-gradient(145deg, #173b91 0%, #071632 62%, #1d2740 100%);
  box-shadow: 0 40px 80px rgba(0,0,0,.3); rotate: -5deg; transform: translateY(1rem);
}
.rp-card::before { content: ""; position: absolute; inset: 0 0 auto; height: .42rem; background: linear-gradient(90deg,#fff 0 33%,#3267d6 33% 66%,var(--red) 66%); }
.rp-card span { font-size: 1.75rem; font-weight: 700; }
.rp-card i { display: block; width: 3.3rem; height: 2.5rem; margin-top: 3.6rem; border-radius: .5rem; background: linear-gradient(135deg,#f3e2b9,#b89c60); }
.rp-card strong { position: absolute; left: 2rem; bottom: 2rem; letter-spacing: .18em; }
.rp-card small { position: absolute; right: 2rem; bottom: 2rem; letter-spacing: .18em; }
.rp-card--back { background: #d72b3f; translate: 2.2rem -2.4rem; rotate: 6deg; opacity: .82; }
.esim-stage { background: radial-gradient(circle at 50% 48%, rgba(82,130,245,.28), transparent 55%); }
.esim-ticket {
  width: min(24rem, 75%); padding: 1.6rem; border-radius: 1.8rem; background: #fff; color: var(--blue-deep);
  box-shadow: 0 35px 70px rgba(0,0,0,.22); rotate: 4deg;
}
.esim-ticket > span { font-size: 1.15rem; font-weight: 800; }
.ticket-qr {
  display: block; width: 10rem; aspect-ratio: 1; margin: 2rem auto; padding: .55rem;
  border: .7rem solid #f2f4fa; border-radius: .6rem; background: #fff; object-fit: contain;
}
.esim-ticket p { font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-align: center; }
.esim-ticket small { display: block; margin-top: .7rem; color: var(--muted); text-align: center; }
.solution-row--services { display: block; min-height: 0; padding: clamp(2.5rem, 4vw, 3.5rem) 0 clamp(4.5rem, 7vw, 7rem); }
.solution-row--services .solution-row__copy { max-width: 50rem; padding: 0; }
.service-catalog-label { display: flex; align-items: center; gap: 1rem; margin: 3rem 0 1.2rem; }
.service-catalog-label h4 { margin: 0; font-size: 1.7rem; letter-spacing: -.04em; }
.service-catalog-label span {
  padding: .35rem .65rem; border-radius: 999px; background: var(--red); color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
}
.service-catalog-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.service-product {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 12.8rem;
  padding: 1.25rem; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 1.35rem;
  color: #fff; box-shadow: 0 20px 38px rgba(0,0,0,.14); transition: translate .22s var(--ease), box-shadow .22s ease;
}
.service-product:hover { translate: 0 -.3rem; box-shadow: 0 26px 48px rgba(0,0,0,.21); }
.service-product__logo {
  position: relative; display: grid; place-items: center; width: 4.4rem; height: 4.4rem;
  border-radius: 1.1rem; background: rgba(255,255,255,.13); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.service-product__logo img { width: 58%; height: 58%; object-fit: contain; }
.service-product strong { position: relative; display: block; max-width: 11rem; font-size: 1rem; line-height: 1.2; }
.service-product--featured {
  grid-column: span 2; grid-row: span 2; min-height: 26.4rem; padding: 1.7rem;
  background: radial-gradient(circle at 80% 15%, rgba(215,43,63,.9), transparent 34%), linear-gradient(145deg, #173b91, #101b36 72%);
}
.service-product--featured .service-product__logo { width: 8.5rem; height: 8.5rem; margin: auto; border-radius: 2rem; }
.service-product--featured .service-product__copy strong { max-width: none; font-size: 1.75rem; }
.service-product--featured .service-product__copy small { display: block; margin-top: .4rem; color: rgba(255,255,255,.66); font-size: .82rem; }
.service-product__badge {
  position: absolute; z-index: 1; top: 1.15rem; left: 1.15rem; padding: .4rem .65rem;
  border-radius: 999px; background: var(--red); font-size: .6rem; font-weight: 800; text-transform: uppercase;
}
.service-product--telegram { background: linear-gradient(145deg, #36b8ee, #137ab7); }
.service-product--playstation { background: linear-gradient(145deg, #386bd0, #123c9d); }
.service-product--spotify { background: linear-gradient(145deg, #27b866, #11783e); }
.service-product--youtube { background: linear-gradient(145deg, #ff4e52, #c81c31); }
.service-product--netflix { background: linear-gradient(145deg, #252525, #090909); }
.service-product--stars { background: linear-gradient(145deg, #62bfff, #386bd0 52%, #d72b7a); }
.service-catalog-button { display: flex; width: fit-content; margin: 2rem auto 0; }

@media (max-width: 1080px) {
  .offerings__grid { grid-template-columns: repeat(2, 1fr); }
  .offering-card:last-child { grid-column: 1 / -1; min-height: 28rem; }
  .tariffs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tariff-card:last-child { grid-column: 1 / -1; width: calc((100% - .9rem) / 2); justify-self: center; }
  .esim-country-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-product--featured { grid-column: span 3; grid-row: auto; min-height: 20rem; }
  .service-product--featured .service-product__logo { width: 7rem; height: 7rem; }
}

@media (max-width: 880px) {
  .folk-bg--balalaika { left: -9rem; bottom: -4rem; width: 29rem; opacity: .06; }
  .folk-bg--horse { right: -9rem; top: 4rem; width: 29rem; opacity: .055; }
  .folk-bg--mounted { right: -13rem; top: 1rem; width: 44rem; opacity: .1; }
  .folk-bg--bear { left: -10rem; bottom: -5rem; width: 27rem; opacity: .055; }
  .folk-bg--caviar { right: -8rem; top: 2rem; width: 22rem; opacity: .05; }
  .offerings__head { grid-template-columns: 1fr; gap: 1.5rem; }
  .offerings__grid { grid-template-columns: 1fr; }
  .offering-card, .offering-card:last-child { grid-column: auto; min-height: 31rem; }
  .tariffs { padding: 1rem; border-radius: 2rem; }
  .tariffs__grid { grid-template-columns: 1fr; }
  .tariff-card:last-child { grid-column: auto; width: 100%; }
  .solution-row { grid-template-columns: 1fr; padding: 3rem 0; }
  .solution-row__visual { min-height: 29rem; }
  .solution-row__copy, .solution-row--reverse .solution-row__copy { padding: 1rem 0 2rem; }
  .solution-row--esim { display: block; padding: 4.5rem 0 2.5rem; }
  .solution-row--services { display: block; padding: 2.5rem 0 4.5rem; }
  .solution-row--esim .solution-row__copy, .solution-row--services .solution-row__copy { padding: 0; }
  .solution-row--reverse .solution-row__visual, .solution-row--reverse .solution-row__copy { order: initial; }
  .esim-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-product--featured { grid-column: span 2; }
}

@media (max-width: 640px) {
  .folk-bg--balalaika { left: -11rem; bottom: 4rem; width: 25rem; opacity: .045; }
  .folk-bg--horse { right: -10rem; top: 20rem; width: 24rem; opacity: .04; }
  .folk-bg--mounted { right: -14rem; top: 2rem; width: 36rem; opacity: .075; }
  .folk-bg--bear { left: -11rem; bottom: 1rem; width: 24rem; opacity: .045; }
  .folk-bg--caviar { right: -9rem; top: 5rem; width: 19rem; opacity: .04; }
  .offerings, .solutions { padding-block: 5rem; }
  .offerings__head { margin-bottom: 2.5rem; }
  .offering-card { min-height: 29rem; border-radius: 1.5rem; }
  .offering-card__art { height: 14rem; }
  .tariffs { width: calc(100% + 1rem); margin-left: -.5rem; padding: .55rem; border-radius: 1.5rem; }
  .tariffs__title { margin: 1.2rem 0 1.8rem; font-size: 2.65rem; }
  .tariff-card { padding: 1rem; border-radius: 1.4rem; }
  .tariff-card--featured { padding: calc(1rem - 2px); }
  .tariff-benefits { min-height: 0; }
  .solution-row { min-height: 0; }
  .solution-row__visual { min-height: 24rem; }
  .solution-row__copy h3 { font-size: 2.65rem; }
  .solution-row--esim { padding: 3.5rem 0 2rem; }
  .solution-row--services { padding: 2rem 0 3.5rem; }
  .esim-country-grid { gap: .55rem; margin-top: 2.25rem; }
  .esim-country-card { min-height: 8.8rem; padding: 1rem; }
  .esim-country-card__badge { top: .7rem; right: .7rem; font-size: .52rem; }
  .esim-country-card h4 { margin-top: 1.8rem; }
  .rp-card { width: 94%; padding: 1.3rem; }
  .rp-card i { margin-top: 2.6rem; }
  .rp-card strong { left: 1.3rem; bottom: 1.3rem; }
  .rp-card small { right: 1.3rem; bottom: 1.3rem; }
  .service-catalog-label { align-items: flex-start; flex-direction: column; gap: .65rem; margin-top: 2.4rem; }
  .service-catalog-grid { gap: .55rem; }
  .service-product { min-height: 10.8rem; padding: 1rem; border-radius: 1.1rem; }
  .service-product__logo { width: 3.8rem; height: 3.8rem; border-radius: .9rem; }
  .service-product strong { font-size: .9rem; }
  .service-product--featured { min-height: 18rem; padding: 1.2rem; }
  .service-product--featured .service-product__logo { width: 6.5rem; height: 6.5rem; }
  .service-product--featured .service-product__copy strong { font-size: 1.45rem; }
}

@media (max-width: 420px) {
  .service-catalog-grid { grid-template-columns: 1fr; }
  .service-product--featured { grid-column: auto; }
}
