/* padelada.club/clubes/ — «Padelada para clubes» (CLUBES=1 build only). Same tokens as site.css; no ornaments, no lilac.
   Coral stays the one main button of a screen; mint is information. Frames are WebP of the mock-clubes renders. */

/* ---------- hero ---------- */
.cx-hero { padding-top: 56px; }
.cx-hero-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: center; }
.cx-hero-g .t { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.cx-hero-g.solo .t { grid-column: 1 / -1; max-width: 860px; }
.cx-hero-g .eyebrow { margin: 0; }
.cx-hero-g .cap { margin-top: -4px; }
/* two phones of one scale, tops aligned, filling the right half of the grid */
.cx-hero-v { grid-column: 7 / span 6; display: flex; justify-content: center; align-items: flex-start; gap: var(--gut); }
.cx-hero-v .cx-fr img { width: 300px; }
.cx-hero-v.n2 .cx-fr { flex: 0 1 270px; }
.cx-hero-v.n2 .cx-fr img { width: 100%; }
/* next to two phones the half-width column takes a calmer display size: three lines, not five, in every language */
@media (min-width: 1024px) { .cx-hero-g:not(.solo) .display { font-size: clamp(48px, 4.45vw, 64px); line-height: 1.04; } }
.cx-free { display: flex; align-items: flex-start; gap: 10px; align-self: stretch; padding: 12px 18px; border-radius: 18px; font-size: 16px; line-height: 1.45; font-weight: 500; color: var(--mint-light); background: var(--mint-tint); box-shadow: inset 0 0 0 1px rgba(75, 227, 186, .3); max-width: 600px; text-wrap: pretty; }
.cx-free .ico { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--mint); }
@media (max-width: 1023px) {
  .cx-hero-g .t, .cx-hero-v { grid-column: 1 / -1; }
  .cx-hero-v { margin-top: 24px; }
}
@media (max-width: 767px) {
  .cx-hero { padding-top: 32px; }
  .cx-hero-g .t { gap: 20px; }
  .cx-hero-v .cx-fr img { width: min(280px, 72vw); }
  .cx-hero-v { gap: 12px; }
  .cx-free { font-size: 15px; padding: 12px 16px; }
  .cx-hero .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- frames ---------- */
.cx-fr { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.cx-fr img { height: auto; }
.cx-fr.k-phone img { width: min(280px, 100%); }
.cx-fr.k-poster img { width: min(360px, 100%); border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.cx-fr.k-desktop img, .cx-fr.k-tv img { width: 100%; }
.cx-credit { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--mu); text-align: center; }

/* ---------- section bits ---------- */
.sec.cx-tight { padding-top: 0; }
.sec.cx-first { padding-top: 64px; }
.ihead.cx-hero + .sec { padding-top: 80px; }
.cx-h { font-size: 36px; line-height: 1.1; }
.cx-kn { font-size: 15px; color: var(--mint); }
.cx-after { margin-top: 32px; }
.cx-n { width: 36px; height: 36px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; font-size: 16px; color: var(--mint); background: var(--mint-tint); box-shadow: inset 0 0 0 1px rgba(75, 227, 186, .35); }
.cx .kick, .cx-role .kick, .cx-lists .kick, .cx-ask .kick, .cx-duo .kick { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: var(--mint); background: var(--mint-tint); box-shadow: inset 0 0 0 1px rgba(75, 227, 186, .3); }
.cx .kick .ico { width: 22px; height: 22px; }
.cx-bul { display: flex; flex-direction: column; gap: 14px; }
.cx-bul li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.cx-bul .ico { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--mint); }
@media (max-width: 1099px) { .cx-h { font-size: 32px; } }
@media (max-width: 767px) { .cx-h { font-size: 26px; line-height: 1.15; } .cx-bul li { font-size: 16px; } .ihead.cx-hero + .sec { padding-top: 56px; } .sec.cx-first { padding-top: 48px; } }

/* tiles: phone frame + title + text */
.cx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gut); }
.cx-tile { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.cx-tile-t { display: flex; flex-direction: column; gap: 10px; padding-inline: 8px; }
.cx-tile-t .cx-n { margin-bottom: 4px; }
.cx-tile-t p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
@media (max-width: 1023px) { .cx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cx-tiles { grid-template-columns: minmax(0, 1fr); gap: 48px; } .cx-tile-t { padding-inline: 0; } }

/* rows: text + frame side by side, alternating */
.cx-rows { display: flex; flex-direction: column; gap: 96px; }
.cx-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: center; }
.cx-row > .t { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cx-row > .cx-fr { grid-column: 6 / span 7; }
.cx-row.rev > .t { grid-column: 9 / span 4; grid-row: 1; }
.cx-row.rev > .cx-fr { grid-column: 1 / span 7; grid-row: 1; }
.cx-row.k-phone > .t, .cx-row.k-poster > .t { grid-column: 1 / span 6; }
.cx-row.k-phone > .cx-fr, .cx-row.k-poster > .cx-fr { grid-column: 8 / span 5; }
.cx-row.k-phone.rev > .t, .cx-row.k-poster.rev > .t { grid-column: 7 / span 6; }
.cx-row.k-phone.rev > .cx-fr, .cx-row.k-poster.rev > .cx-fr { grid-column: 1 / span 5; }
.cx-row.cx-pt > .t { grid-column: 1 / span 5; }
.cx-row.cx-pt > .cx-fr { grid-column: 6 / span 7; }
@media (max-width: 1023px) {
  .cx-rows { gap: 72px; }
  .cx-row > .t, .cx-row > .cx-fr, .cx-row.rev > .t, .cx-row.rev > .cx-fr, .cx-row.k-phone > .t, .cx-row.k-phone > .cx-fr, .cx-row.k-phone.rev > .t, .cx-row.k-phone.rev > .cx-fr, .cx-row.k-poster > .t, .cx-row.k-poster > .cx-fr, .cx-row.k-poster.rev > .t, .cx-row.k-poster.rev > .cx-fr, .cx-row.cx-pt > .t, .cx-row.cx-pt > .cx-fr { grid-column: 1 / -1; grid-row: auto; }
  .cx-row { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .cx-row > .t { max-width: 640px; }
}

/* numbered steps (cómo funciona, guides): phones in a row, computer screens full width */
.cx-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px var(--gut); align-items: flex-start; }
.cx-step { display: flex; flex-direction: column; gap: 20px; min-width: 0; flex: 0 1 270px; }
.cx-step.k-desktop, .cx-step.k-tv { flex: 1 1 100%; }
.cx-step.k-desktop .cx-fr img, .cx-step.k-tv .cx-fr img { width: min(960px, 100%); }
.cx-step.k-desktop .cx-cap, .cx-step.k-tv .cx-cap { max-width: 720px; margin-inline: auto; width: 100%; }
.cx-cap { display: flex; gap: 14px; align-items: flex-start; }
.cx-cap p { font-size: 17px; line-height: 1.5; color: var(--ink); padding-top: 5px; }
.cx-cap > div { display: flex; flex-direction: column; gap: 6px; padding-top: 3px; }
.cx-cap > div p { color: var(--ink-2); padding-top: 0; }
.cx-zoom { display: block; width: 100%; border-radius: 12px; }
.cx-zoom img { margin-inline: auto; }
@media (max-width: 767px) { .cx-steps { gap: 48px; } .cx-step { flex-basis: 100%; } .cx-cap p { font-size: 16px; } }

/* roles */
.cx-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); }
.cx-role { display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.cx-role p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.cx-role .link { margin-top: auto; }
@media (max-width: 1099px) { .cx-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cx-roles { grid-template-columns: minmax(0, 1fr); } }

/* two cards (money and data, what Paddy does / never does) */
.cx-duo .card { min-height: 0; }
.cx-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); }
.cx-lists + .cx-lists { margin-top: var(--gut); }
.cx-lists .card { display: flex; flex-direction: column; gap: 18px; }
.cx-lists .card.no .kick { color: var(--mango); background: var(--amber-tint); box-shadow: inset 0 0 0 1px rgba(255, 166, 43, .3); }
.cx-lists .card.no .cx-bul .ico { color: var(--mango); }
.cx-langs { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1023px) { .cx-lists { grid-template-columns: minmax(0, 1fr); } }

/* rights table */
.cx-rights { display: flex; flex-direction: column; gap: 24px; }
.cx-table { padding: 8px 28px; overflow: hidden; }
.cx-table table { width: 100%; border-collapse: collapse; }
.cx-table th, .cx-table td { padding: 16px 8px; text-align: center; vertical-align: middle; }
.cx-table thead th { font-size: 14px; font-weight: 600; color: var(--mu); }
.cx-table tbody th { text-align: left; font-weight: 500; font-size: 16px; line-height: 1.4; color: var(--ink); padding-left: 0; }
.cx-table tbody tr + tr th, .cx-table tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.cx-table th:first-child { width: 52%; }
.cx-yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--on-brand); background: var(--mint); }
.cx-yes .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.cx-no { color: var(--mu); }
/* phones: each right is a row — its name, then the three roles with their own labels (no squeezed, hyphenated headers) */
@media (max-width: 639px) {
  .cx-table { padding: 4px 20px; }
  .cx-table thead { display: none; }
  .cx-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 4px; padding: 18px 0; }
  .cx-table tbody tr + tr { border-top: 1px solid var(--line-soft); }
  .cx-table tbody th, .cx-table tbody td { padding: 0; border: 0 !important; width: auto; }
  .cx-table tbody th { grid-column: 1 / -1; font-size: 16px; }
  .cx-table tbody td { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .cx-table tbody td::before { content: attr(data-l); font-size: 13px; line-height: 1.2; color: var(--mu); text-align: center; }
  .cx-no { line-height: 28px; }
}

/* connect */
.cx-ask { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: start; }
.cx-ask > .card { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 18px; }
.cx-ask > .cx-ask-m { grid-column: 6 / span 7; padding: 40px; }
.cx-ask-m .btn-row { margin-top: 6px; }
@media (max-width: 1023px) { .cx-ask > .card, .cx-ask > .cx-ask-m { grid-column: 1 / -1; } .cx-ask > .cx-ask-m { order: -1; } }
@media (max-width: 767px) { .cx-ask > .cx-ask-m { padding: 28px 24px; } .cx-ask-m .btn { width: 100%; } }

/* guides */
.cx-gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
.cx-gcard { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.cx-gcard .k { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mint); }
.cx-gcard p { color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.cx-gcard .link { margin-top: auto; }
@media (max-width: 1023px) { .cx-gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cx-gcards { grid-template-columns: minmax(0, 1fr); } }

/* FAQ and legal */
.cx-faq .a p + p { margin-top: 4px; }
.ihead.cx-hero + .sec .faq.cx-faq { margin-top: 0; }
.cx .faq-c { max-width: 880px; }
.cx-legalnav { display: flex; flex-direction: column; gap: 12px; padding-top: 40px; border-top: 1px solid var(--line-soft); }
.cx-legalnav nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.final .lead { text-align: center; max-width: 36ch; }

/* Guides on a phone: a computer step shows its phone screen (.cx-has-m) or no picture (.cx-dk-only) — pages.mjs figDual. */
.cx-fr picture { display: contents; }
@media (max-width: 700px) {
  .cx-fr.cx-dk-only { display: none; }
  .cx-step .cx-fr.cx-has-m img { width: min(280px, 100%); }
  .cx-fr.cx-has-m .cx-zoom { pointer-events: none; }
  .cx-step.k-desktop { gap: 20px; }
}

/* =====================================================================
   padelada.com design system on /clubes (15.11.2026): the ambient glow, the Golos type scale, devices in real bezels with
   pins on the screen. Values copied from padelada.com: home-v7.css (type, devices), glow-dark.css (glow), the guide pages
   nivel-guia / reloj-guia (.gm-*: pins, captions, «Что умеет», section rhythm). This file is loaded on /clubes pages only.
   ===================================================================== */

/* ---------- ambient glow (glow-dark.css): slow radial lights at the edges, no blur filter, still under reduced motion ---------- */
.cx-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; --dg: clamp(440px, 78vmin, 880px);
  background: radial-gradient(60vmax 40vmax at 0% 58%, rgba(46, 91, 196, .2), transparent 70%), radial-gradient(70vmax 30vmax at 50% 0%, rgba(58, 107, 208, .10), transparent 70%), radial-gradient(70vmax 30vmax at 50% 100%, rgba(255, 181, 71, .08), transparent 70%); }
.cx-glow > i, .cx-glow::before, .cx-glow::after { content: ''; display: block; position: absolute; width: var(--dg); height: var(--dg); border-radius: 50%;
  will-change: transform; animation: 37s ease-in-out infinite alternate; }
.cx-glow > i:nth-child(1) { top: calc(var(--dg) * -.42); left: calc(var(--dg) * -.42); opacity: .62; background: radial-gradient(circle closest-side, #3A6BD0 0, transparent 70%); animation-name: dg-a; animation-duration: 34s; }
.cx-glow > i:nth-child(2) { top: 34%; right: calc(var(--dg) * -.52); opacity: .5; background: radial-gradient(circle closest-side, #2E5BC4 0, transparent 70%); animation-name: dg-b; animation-duration: 41s; animation-delay: -9s; }
.cx-glow > i:nth-child(3) { bottom: calc(var(--dg) * -.46); left: calc(var(--dg) * -.36); opacity: .26; background: radial-gradient(circle closest-side, #FFB547 0, transparent 70%); animation-name: dg-c; animation-delay: -17s; }
.cx-glow::before { top: calc(var(--dg) * -.5); right: calc(var(--dg) * -.3); opacity: .22; background: radial-gradient(circle closest-side, #FF7A59 0, transparent 70%); animation-name: dg-d; animation-duration: 45s; animation-delay: -6s; }
.cx-glow::after { bottom: calc(var(--dg) * -.52); right: calc(var(--dg) * -.24); opacity: .45; background: radial-gradient(circle closest-side, #3557B8 0, transparent 70%); animation-name: dg-e; animation-duration: 39s; animation-delay: -22s; }
@keyframes dg-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(9vmin, 7vmin, 0) scale(1.12); } }
@keyframes dg-b { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-10vmin, 9vmin, 0) scale(.92); } }
@keyframes dg-c { from { transform: translate3d(0, 0, 0) scale(.95); } to { transform: translate3d(11vmin, -8vmin, 0) scale(1.1); } }
@keyframes dg-d { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-9vmin, 8vmin, 0) scale(1.15); } }
@keyframes dg-e { from { transform: translate3d(0, 0, 0) scale(1.08); } to { transform: translate3d(-8vmin, -10vmin, 0) scale(.94); } }
@media (prefers-reduced-motion: reduce) { .cx-glow > i, .cx-glow::before, .cx-glow::after { animation: none; will-change: auto; } }
/* the glow shows through: bands and the footer are tinted, not opaque */
body:has(.cx-glow) { background: var(--bg); }
.cx-glow ~ .sec.band { background: rgba(7, 13, 28, .5); }
/* the footer line in the voice of the hero (padelada.com: Golos, medium), one sentence per line */
:root .ft-brand p { font-family: var(--text); font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
body:has(.cx-glow) .ft { background: linear-gradient(180deg, rgba(7, 13, 28, .35), rgba(7, 13, 28, .85)); }

/* ---------- type: Golos Text like padelada.com (display weights 400–500, tight tracking). :root outranks site.css :lang(ru|uk) headings ---------- */
:root main .display, :root main .h1, :root main .h2, :root main .cx-h, :root .final .h2 { font-family: var(--text); font-weight: 400; letter-spacing: -.035em; }
:root main .cx-hero .display, :root main .cx-hero .h1 { font-size: clamp(44px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.04em; }
:root main .cx-hero-g.solo .h1, :root main .cx-hero-g.solo .display { font-size: clamp(44px, 5.2vw, 72px); }
:root main .h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; }
:root main .cx-h { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; }
:root main .h3 { font-weight: 600; letter-spacing: -.015em; }
:root main .lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; letter-spacing: -.012em; color: var(--mu); }
:root main .cx-hero .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.44px; text-transform: uppercase; }
@media (max-width: 767px) { :root main .cx-hero .display, :root main .cx-hero .h1, :root main .cx-hero-g.solo .h1, :root main .cx-hero-g.solo .display { font-size: clamp(34px, 10vw, 46px); line-height: 1.04; } }
@media (max-width: 359px) { :root main .h2 { font-size: 28px; } }

/* ---------- devices ---------- */
.gx-dev { position: relative; flex: none; line-height: 0; isolation: isolate; }
.gx-dev picture { display: contents; }
/* iPhone: the official bezel over the masked screen (home-v7.css .phone) */
.gx-phone { width: min(280px, 100%); }
.gx-phone::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 14% / 6.6%; box-shadow: 0 28px 40px rgba(0, 0, 0, .45); pointer-events: none; }
.gx-phone .gx-scr { position: absolute; left: 5.102%; top: 2.2%; width: 89.796%; height: 95.6%; border-radius: 12.6% / 5.8%; overflow: hidden; z-index: 0; background: var(--bg); }
.gx-phone .gx-scr img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.gx-bezel { position: relative; z-index: 1; display: block; width: 100%; height: auto; pointer-events: none; }
.gx-phone .gx-pins { position: absolute; left: 5.102%; top: 2.2%; width: 89.796%; height: 95.6%; z-index: 2; pointer-events: none; }
/* computer: a slim black display bezel with a silver rim (the iPhone's), rounded, with a soft deep shadow */
.gx-lap { width: 100%; padding: clamp(6px, 1.1%, 12px); border-radius: clamp(14px, 2%, 22px); background: linear-gradient(180deg, #16181d, #0b0c10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 0 1px #8d9099, 0 0 0 2px rgba(0, 0, 0, .55), 0 50px 90px -40px rgba(0, 0, 0, .85), 0 24px 48px -24px rgba(0, 0, 0, .6); }
.gx-lap .gx-scr { position: relative; border-radius: clamp(8px, 1%, 12px); overflow: hidden; background: #0A1124; }
.gx-lap .gx-scr img { display: block; width: 100%; height: auto; }
.gx-lap .gx-pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cx-fr .gx-lap { width: 100%; }
.cx-fr .gx-phone { width: min(280px, 100%); }
/* the pin (nivel-guia .gm-pin): coral, the number in the night colour, a dark ring so it reads on any screen */
.gx-pin { position: absolute; left: var(--x); top: var(--y); width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  background: var(--coral); color: var(--on-brand); font: 800 15px/28px 'Montserrat Alternates', system-ui, sans-serif; text-align: center; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 3px #0A1124, 0 0 0 5px rgba(255, 94, 91, .45), 0 6px 14px rgba(0, 0, 0, .55); }
.gx-lap .gx-pin { width: 32px; height: 32px; margin: -16px 0 0 -16px; font-size: 16px; line-height: 32px; }

/* ---------- guide hero (nivel-guia .scene.hero.gv: copy left, device right; centred on a phone) ---------- */
.gx-hero { padding: clamp(40px, 7vw, 112px) 24px clamp(56px, 8vw, 120px); }
@media (min-width: 1024px) { .gx-hero { min-height: min(760px, calc(100svh - var(--hx-h))); display: flex; align-items: center; } .gx-hero-in { flex: 1; } }
.gx-hero-in { width: min(1180px, 100%); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: clamp(32px, 5vw, 72px); }
.gx-copy { flex: 0 1 500px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.gx-hero.solo .gx-copy { flex-basis: 760px; align-items: center; text-align: center; }
.gx-kick { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; font-weight: 700; letter-spacing: 1.44px; line-height: 1.5; text-transform: uppercase; color: var(--mint); }
.gx-kick a { color: inherit; }
.gx-kick a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gx-kick .sep { color: var(--mu); }
.gx-kick span:not(.sep) { color: var(--ink-2); }
:root main .gx-h1 { margin: 0; font-family: var(--text); font-weight: 400; font-size: clamp(44px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; max-width: 11em; }
.gx-lead { margin: 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; letter-spacing: -.012em; color: var(--mu); max-width: 26em; text-wrap: pretty; }
.gx-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--ink); }
.gx-more .ico { width: 14px; height: 14px; color: var(--mint); transition: transform .2s var(--ease); }
.gx-more:hover .ico { transform: translateY(2px); }
.gx-stage { flex: 0 1 700px; min-width: 0; position: relative; display: flex; justify-content: center; }
.gx-stage .gx-phone { width: clamp(260px, 25vw, 330px); }
.gx-stage.has-d { padding: 0 6% 9% 0; }
.gx-stage.has-d .gx-lap { width: 100%; }
.gx-stage.has-d .gx-phone { position: absolute; right: 0; bottom: 0; width: 31%; min-width: 150px; }
.gx-stage.has-d .gx-phone::before { box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
/* a tall screenshot stays a landscape screen in the hero: its top part */
.gx-stage .gx-lap .gx-scr { aspect-ratio: 16 / 10.4; }
.gx-stage .gx-lap .gx-scr img { height: 100%; object-fit: cover; object-position: top left; }
@media (max-width: 1023px) {
  .gx-hero-in { flex-direction: column; }
  .gx-copy { flex: none; width: min(640px, 100%); align-items: center; text-align: center; }
  .gx-kick { justify-content: center; }
  .gx-stage { flex: none; width: min(640px, 100%); }
}
@media (max-width: 700px) {
  .gx-hero { padding: 32px 16px 56px; }
  .gx-hero-in { gap: 36px; }
  :root main .gx-h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.04; }
  .gx-stage .gx-lap { display: none; }
  .gx-stage.has-d { padding: 0; }
  .gx-stage.has-d .gx-phone, .gx-stage .gx-phone { position: relative; width: min(280px, 72vw); min-width: 0; }
}

/* ---------- guide body: section rhythm and titles (nivel-guia .gm) ---------- */
.gx-body { padding: 0 24px; }
.gx-in { width: min(1120px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(72px, 9vw, 120px); }
.gx-body + .gx-body, .gx-body + .sec { padding-top: clamp(72px, 9vw, 120px); }
.gx-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin: 0 auto clamp(36px, 4.4vw, 56px); max-width: 760px; }
:root main .gx-h2 { margin: 0; font-family: var(--text); font-weight: 400; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.gx-head p { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--mu); }
.gx-sc { scroll-margin-top: calc(var(--hx-h) + 16px); }

/* steps */
.gx-steps { display: flex; flex-direction: column; gap: clamp(72px, 8vw, 112px); }
.gx-step { margin: 0; min-width: 0; scroll-margin-top: calc(var(--hx-h) + 24px); }
.gx-media { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.gx-media .cx-credit { margin: 0; }
.gx-step .gx-alt { display: none; }
/* caption beside the screen: computer screen 2/3, caption 1/3, vertically centred */
.gx-step.beside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 4.4vw, 64px); align-items: center; }
.gx-step.beside.k-phone, .gx-step.beside.k-poster { grid-template-columns: 280px minmax(0, 400px); justify-content: center; }
.gx-step.beside.k-poster .gx-media img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.gx-step.beside.k-tv .gx-media img { width: 100%; height: auto; }
.gx-cap { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.gx-cap > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gx-cap p { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: -.011em; color: var(--ink); text-wrap: pretty; }
.gx-cap h3 { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }
.gx-cap h3 + p { font-weight: 400; color: var(--ink-2); }
.gx-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: var(--on-brand); background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 94, 91, .16); margin-top: -2px; }
/* a row of phones, captions under them (nivel-guia .gm-steps) */
.gx-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 56px 40px; }
.gx-row.n4 { max-width: 760px; margin-inline: auto; }
.gx-row .gx-step { flex: 0 1 280px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.gx-row .gx-cap { width: 100%; }
.gx-row .gx-cap p { font-size: 17px; }
.gx-note { margin: clamp(56px, 6vw, 80px) auto 0; max-width: 720px; display: flex; flex-direction: column; gap: 10px; padding: 26px 30px; border-radius: 24px;
  background: rgba(20, 28, 48, .6); border: 1px solid var(--line-soft); }
.gx-note p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.gx-note .k { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mint); }
.gx-note .k .ico { width: 18px; height: 18px; }
@media (max-width: 1023px) {
  .gx-step.beside { grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: center; }
  .gx-step.beside .gx-cap { max-width: 640px; width: 100%; }
  .gx-step.beside.k-phone, .gx-step.beside.k-poster { grid-template-columns: minmax(0, 1fr); }
  .gx-step.beside.k-poster .gx-media { width: min(360px, 100%); }
}
@media (max-width: 700px) {
  .gx-body { padding: 0 16px; }
  .gx-steps { gap: 64px; }
  .gx-step.k-desktop .gx-lap { display: none; }
  .gx-step .gx-alt { display: block; width: min(280px, 78vw); }
  .gx-step.no-m .gx-media { display: none; }
  .gx-step.beside { gap: 24px; }
  .gx-phone { width: min(280px, 78vw); }
  .gx-row { gap: 64px; }
  .gx-row .gx-step { flex-basis: 100%; }
  .gx-row .gx-cap, .gx-step.beside .gx-cap { max-width: min(340px, 100%); }
  .gx-cap p { font-size: 17px; }
  .gx-note { padding: 22px 20px; }
}

/* ---------- guides index: «Разделы» (nivel-guia .gm-can) and card groups ---------- */
.gx-can { display: flex; flex-direction: column; align-items: center; gap: 24px; scroll-margin-top: calc(var(--hx-h) + 16px); }
.gx-can ul { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 960px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gx-can a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; height: 100%; padding: 12px 18px; border-radius: 18px;
  background: rgba(20, 28, 48, .72); border: 1px solid rgba(255, 255, 255, .08); font-size: 16px; font-weight: 600; line-height: 1.3; text-wrap: balance; transition: border-color .2s var(--ease); }
.gx-can a:hover { border-color: rgba(75, 227, 186, .45); }
.gx-can .n { flex: none; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 14px; display: grid; place-items: center; font-size: 13px; color: var(--mint); background: var(--mint-tint); }
.gx-group { scroll-margin-top: calc(var(--hx-h) + 16px); }
.gx-group .gx-head { margin-bottom: 36px; }
:root main .gx-group .gx-h2 { font-size: clamp(28px, 3.2vw, 40px); }
.gx-all { margin: 28px 0 0; display: flex; justify-content: center; }
@media (max-width: 899px) { .gx-can ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .gx-can ul { grid-template-columns: minmax(0, 1fr); gap: 8px; } .gx-can a { min-height: 52px; border-radius: 14px; } }

/* guide cards: clear hierarchy — what it takes (steps, devices), the title, one line of what you get, the action */
.cx-gcard { gap: 14px; padding: 28px 28px 22px; background: rgba(20, 28, 48, .72); border-color: rgba(255, 255, 255, .08); }
.cx-gcard .k { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; color: var(--mint); }
.cx-gcard .k > span { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 13px; background: var(--mint-tint); }
.cx-gcard .k .dv { color: var(--ink-2); background: rgba(255, 255, 255, .06); }
.cx-gcard .h3 { font-size: 21px; line-height: 1.25; }
.cx-gcard p { color: var(--mu); }
.gx-body .cx-gcards { gap: 16px; }
.gx-body + .sec .final, .gx-more-g + .sec { padding-top: clamp(72px, 9vw, 120px); }
/* devices inside the older blocks (hero phones, tiles, rows, cómo funciona) */
.cx-fr .gx-dev img, .cx-hero-v .cx-fr .gx-dev img { width: 100%; }
.cx-hero-v .gx-phone { width: 270px; }
.cx-hero-v.n2 .cx-fr { flex: 0 1 270px; }
.cx-hero-v.n2 .cx-fr .gx-phone { width: 100%; }
.cx-tile .gx-phone { width: min(280px, 100%); }
.cx-step.k-desktop .cx-fr .gx-lap { width: min(960px, 100%); }
@media (max-width: 767px) { .cx-hero-v .gx-phone { width: min(270px, 64vw); } .cx-hero-v.n2 .cx-fr { flex-basis: 50%; } }
/* 4 cards: 2 × 2, never 3 + 1; 1–2 cards stay card-sized and centred */
@media (min-width: 1024px) { .cx-gcards[style] { grid-template-columns: repeat(var(--c), minmax(0, 1fr)); } .cx-gcards[style="--c:2"] { max-width: 820px; margin-inline: auto; } .cx-gcards[style="--c:1"] { max-width: 400px; margin-inline: auto; } }
@media (max-width: 700px) { .gx-steps > .gx-step.no-m + .gx-step.no-m { margin-top: -24px; } }
.gx-rights .cx-rights { gap: 0; max-width: 960px; margin-inline: auto; }
.gx-rights .gx-head { margin-bottom: 36px; }
:root main .gx-rights .gx-h2, :root main .gx-more-g .gx-h2 { font-size: clamp(30px, 3.4vw, 44px); }
.gx-rights .cx-table { background: rgba(20, 28, 48, .72); }
.gx-rights .cap { margin-top: 18px; text-align: center; }
