
:root{--ink:#14233b;--muted:#64748b;--blue:#2864dc;--navy:#0c1b32;--navy2:#173b68;--line:#e7edf4;--soft:#f5f7fb;--green:#15956b;--shadow:0 18px 50px rgba(18,39,71,.10);--r:18px;--font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:15px/1.6 var(--font);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.container{width:min(1160px,calc(100% - 44px));margin:auto}
.header{height:80px;position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.head{height:100%;display:flex;align-items:center;gap:25px}.brand{display:flex;align-items:center;gap:10px;font-weight:850;font-size:19px;letter-spacing:-.04em;white-space:nowrap}.mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#4388f4,#1649b5);display:grid;place-items:center;color:#fff;box-shadow:0 7px 18px #2864dc35}.mark svg{width:22px;stroke:currentColor;fill:none;stroke-width:2}.brand em{font-style:normal;color:var(--blue)}nav{display:flex;gap:25px;margin-left:auto}nav a{font-size:12px;font-weight:750;color:#53647b}nav a:hover{color:var(--blue)}.actions{display:flex;align-items:center;gap:9px}.lang{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 11px;font-size:11px;font-weight:850;color:#53647b}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:10px;border:1px solid transparent;font-size:12px;font-weight:800;transition:.18s}.btn:hover{transform:translateY(-1px)}.primary{background:var(--blue);color:#fff;box-shadow:0 8px 18px #2864dc30}.primary:hover{background:#1749b7}.light{background:#fff;border-color:var(--line);color:var(--ink)}.outline{background:transparent;border-color:#ffffff55;color:#fff}.small{padding:9px 13px}.mobile{display:none}.navmobile{display:none}
.hero{color:#fff;background:radial-gradient(ellipse at 80% 25%,#3282eb55,transparent 34%),linear-gradient(118deg,#0c1b32,#173b68);position:relative;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:48px 48px}.hero-grid{position:relative;display:grid;grid-template-columns:1.08fr .92fr;gap:35px;align-items:center;padding:82px 0;min-height:510px}.eyebrow{color:#9dc5ff;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.hero h1{font-size:clamp(40px,5vw,64px);line-height:1.04;letter-spacing:-.055em;margin:18px 0}.hero p{max-width:560px;color:#c2d0e2;font-size:16px;line-height:1.8;margin:0 0 27px}.hero-buttons{display:flex;gap:11px;flex-wrap:wrap}.note{display:flex;align-items:center;gap:9px;color:#b4c4d8;font-size:10px;margin-top:24px}.dot{width:7px;height:7px;border-radius:50%;background:#31c69b;box-shadow:0 0 0 5px #31c69b20}
.orbit{width:min(350px,90%);aspect-ratio:1;border:1px solid #b4d5ff35;border-radius:50%;margin:auto;position:relative;display:grid;place-items:center;box-shadow:0 0 85px #3989e729,inset 0 0 50px #3989e71c}.orbit:before,.orbit:after{content:"";position:absolute;inset:13%;border:1px solid #b4d5ff28;border-radius:50%}.orbit:after{inset:27%}.core{width:122px;height:122px;border-radius:35px;background:linear-gradient(145deg,#4388f4,#1649b5);display:grid;place-items:center;box-shadow:0 22px 55px #0005;transform:rotate(-8deg)}.core svg{width:65px;stroke:#fff;fill:none;stroke-width:1.3;transform:rotate(8deg)}.node{position:absolute;width:52px;height:52px;border:1px solid #c0deff50;background:#16355be0;border-radius:16px;display:grid;place-items:center;color:#b9d9ff}.node svg{width:23px;stroke:currentColor;fill:none;stroke-width:1.7}.n1{top:7%;left:19%}.n2{right:4%;top:44%}.n3{bottom:6%;left:28%}.float{position:absolute;right:-2%;bottom:9%;background:#fff;color:var(--ink);border-radius:13px;padding:12px 16px;box-shadow:0 18px 38px #0003;min-width:160px}.float small{display:block;color:var(--muted);font-size:9px;font-weight:750}.float strong{font-size:20px}.float span{color:var(--green);font-size:10px;font-weight:800}
.strip{border-bottom:1px solid var(--line)}.strip-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:20px 0;color:#8290a3;font-size:10px;font-weight:900;letter-spacing:.1em}.section{padding:82px 0}.soft{background:var(--soft)}.kicker{color:var(--blue);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.section h2,.page-title{font-size:clamp(29px,3.5vw,42px);line-height:1.14;letter-spacing:-.045em;margin:10px 0 13px}.intro{max-width:670px;color:var(--muted);font-size:14px;line-height:1.8;margin:0 0 35px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px;transition:.2s}.card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#d5e1f1}.ico{width:45px;height:45px;border-radius:14px;background:#edf4ff;color:var(--blue);display:grid;place-items:center;margin-bottom:18px}.ico svg{width:23px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.card h3{font-size:16px;margin:0 0 8px}.card p{font-size:12px;color:var(--muted);line-height:1.75;margin:0}.link{display:inline-block;color:var(--blue);font-size:11px;font-weight:850;margin-top:17px}
.ratebox{display:grid;grid-template-columns:.9fr 1.1fr;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}.rateintro{background:linear-gradient(145deg,#10223d,#173b68);color:#fff;padding:32px}.rateintro h3{font-size:25px;line-height:1.2;margin:10px 0}.rateintro p{color:#bdcbe0;font-size:12px;line-height:1.8}.rateform{padding:32px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.field label{font-size:10px;font-weight:850;color:#53647b}.input,.select,.textarea{width:100%;padding:12px 13px;border:1px solid #dce4ee;border-radius:10px;background:#fff;color:var(--ink);outline:none}.input:focus,.select:focus,.textarea:focus{border-color:#7ba6ef;box-shadow:0 0 0 3px #2864dc18}.result{background:#f2f6fc;border-radius:12px;padding:14px 17px;display:flex;justify-content:space-between;align-items:center}.result small{display:block;color:var(--muted);font-size:10px}.result strong{font-size:23px;color:var(--blue)}.pill{background:#edf7f4;color:#13815f;padding:5px 9px;border-radius:20px;font-size:10px;font-weight:850}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.step{border-top:1px solid #dbe4ef;padding-top:20px}.step b{color:var(--blue);font-size:11px}.step h3{font-size:16px;margin:13px 0 7px}.step p{font-size:12px;color:var(--muted);line-height:1.75;margin:0}.cta{background:linear-gradient(110deg,#1d56bd,#2f7ae6);color:#fff;border-radius:21px;padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.cta h2{font-size:27px;margin:0 0 7px}.cta p{color:#d4e4ff;font-size:12px;margin:0}
.pagehero{background:linear-gradient(115deg,#0d1d35,#173b68);color:#fff;padding:58px 0}.crumb{font-size:10px;color:#9bb0ca;margin-bottom:18px}.crumb a{color:#d0e1f8}.pagehero h1{font-size:clamp(34px,4.5vw,51px);line-height:1.1;letter-spacing:-.05em;margin:10px 0}.pagehero p{max-width:670px;color:#c1d0e3;font-size:14px;line-height:1.8;margin:0}.tablewrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff}table{border-collapse:collapse;width:100%;min-width:520px}th,td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line);font-size:11px}th{background:#f7f9fc;color:#687991;font-size:9px;text-transform:uppercase;letter-spacing:.08em}td{color:#42536a}td strong{color:var(--ink)}tr:last-child td{border:0}.searchrow{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.searchrow .input{max-width:300px}
.features{display:grid;grid-template-columns:1fr 1fr;gap:13px}.feature{display:flex;gap:13px;padding:17px;border:1px solid var(--line);border-radius:14px}.feature .ico{flex:0 0 42px;width:42px;height:42px;margin:0}.feature h3{font-size:13px;margin:0 0 5px}.feature p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}.faq{display:grid;gap:9px}.faqitem{border:1px solid var(--line);border-radius:12px;overflow:hidden}.faqq{width:100%;border:0;background:#fff;text-align:left;padding:17px 19px;font-weight:800;font-size:12px;display:flex;justify-content:space-between}.faqq:after{content:"+";color:var(--blue);font-size:19px}.faqitem.open .faqq:after{content:"−"}.faqa{display:none;padding:0 19px 17px;color:var(--muted);font-size:11px;line-height:1.8}.faqitem.open .faqa{display:block}
.formcard{max-width:490px;margin:auto;padding:30px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:var(--shadow)}.formcard h2{font-size:25px;margin:7px 0}.formcard>p{font-size:12px;color:var(--muted);margin:0 0 22px}.formfoot{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin-top:15px}.formfoot a{color:var(--blue);font-weight:800}.captcha{border:1px solid #d7dce3;background:#fafafa;border-radius:4px;max-width:304px;min-height:70px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;margin:17px 0}.capleft{display:flex;align-items:center;gap:11px;font-size:11px;color:#333}.capcheck{width:27px;height:27px;border:2px solid #9ba3ad;border-radius:3px;background:#fff;display:grid;place-items:center;padding:0}.capcheck svg{width:17px;display:none;stroke:#fff;fill:none;stroke-width:2}.captcha.ok .capcheck{background:#15956b;border-color:#15956b}.captcha.ok .capcheck svg{display:block}.capbrand{text-align:center;color:#77808d;font-size:8px}.capbrand b{display:block;font-size:9px;color:#4b5563}.message{display:none;background:#fff3f1;color:#b63f34;padding:11px;border-radius:8px;font-size:11px;margin-top:12px}.message.show{display:block}
.footer{background:#0b192e;color:#fff;padding:50px 0 23px}.footgrid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:32px;padding-bottom:32px}.footabout p{max-width:270px;color:#9eafc5;font-size:11px;line-height:1.8}.footcol h4{font-size:10px;color:#dbe6f5;margin:4px 0 15px}.footcol a{display:block;color:#9eafc5;font-size:10px;margin:9px 0}.footcol a:hover{color:#fff}.footbottom{border-top:1px solid #ffffff18;padding-top:18px;display:flex;justify-content:space-between;gap:12px;color:#8294ab;font-size:9px}.toast{position:fixed;right:22px;bottom:22px;z-index:90;background:#142b4c;color:#fff;padding:13px 17px;border-radius:11px;box-shadow:0 12px 35px #0003;font-size:11px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}
@media(max-width:980px){nav{gap:14px}.hero-grid{gap:18px}.footgrid{grid-template-columns:1.2fr 1fr 1fr}.footabout{grid-column:1/-1}}
@media(max-width:760px){.container{width:min(100% - 32px,620px)}.header{height:68px}nav,.actions .btn{display:none}.mobile{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:9px;background:#fff}.navmobile{display:none;position:absolute;top:67px;left:0;right:0;background:#fff;padding:10px 22px 18px;border-bottom:1px solid var(--line);box-shadow:0 14px 25px #14233b12}.navmobile.open{display:grid}.navmobile a{padding:11px 0;border-bottom:1px solid var(--line);font-size:12px;font-weight:800}.hero-grid{grid-template-columns:1fr;padding:58px 0 45px}.hero h1{font-size:42px}.hero p{font-size:14px}.hero-visual{min-height:270px}.orbit{width:255px}.core{width:95px;height:95px}.float{right:0}.section{padding:60px 0}.cards{grid-template-columns:1fr 1fr}.ratebox{grid-template-columns:1fr}.steps{grid-template-columns:1fr;gap:20px}.features{grid-template-columns:1fr}.cta{display:block;padding:28px}.cta .btn{margin-top:18px}.footgrid{grid-template-columns:1fr 1fr}.footabout{grid-column:1/-1}.footbottom{flex-direction:column}}
@media(max-width:480px){.hero h1{font-size:37px}.hero-buttons .btn{width:100%}.cards{grid-template-columns:1fr}.searchrow{align-items:stretch;flex-direction:column}.searchrow .input{max-width:none}.formcard{padding:23px 18px}.strip-inner span:nth-child(n+4){display:none}}

.footer .brand .mark{font-size:12px;font-weight:900;letter-spacing:.02em}
.footmeta{display:grid;grid-template-columns:1.4fr 1fr;gap:24px;padding:18px 0 6px;border-top:1px solid rgba(255,255,255,.08);margin-top:4px}
.legalstack{display:grid;gap:6px;color:#a9b8cc;font-size:11px;line-height:1.75}
.legalstack strong{color:#fff;font-size:12px}
.footpay h4{font-size:10px;color:#dbe6f5;margin:0 0 12px}
.paybadges{display:flex;flex-wrap:wrap;gap:10px}
.paybadge{display:inline-flex;align-items:center;justify-content:center;min-width:78px;height:34px;padding:0 14px;border-radius:10px;background:#fff;color:#10223d;font-size:12px;font-weight:900;letter-spacing:.02em;box-shadow:inset 0 0 0 1px rgba(20,35,59,.08)}
.paybadge.mir{color:#0f8d63}
.paybadge.sbp{color:#1e62d0}
.paybadge.yoomoney{color:#7a1bd7}
.paybadge.qiwi{color:#ff6f00}
.partnerwrap{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.partnergrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}
.partneritem{display:flex;align-items:center;justify-content:center;height:62px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow);font-size:14px;font-weight:800;letter-spacing:-.02em;color:#31435b}
.infocards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:20px}
.infocard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 16px;box-shadow:var(--shadow)}
.infocard b{display:block;font-size:24px;letter-spacing:-.04em;color:var(--blue);margin-bottom:4px}
.infocard span{display:block;font-size:11px;color:var(--muted);line-height:1.7}
@media(max-width:760px){.footmeta,.partnerwrap{grid-template-columns:1fr}.partnergrid{grid-template-columns:repeat(2,minmax(0,1fr))}.infocards{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.infocards{grid-template-columns:1fr}.partnergrid{grid-template-columns:1fr 1fr}.paybadge{min-width:70px;font-size:11px}}

/* WB Connect v3: compact fixed footer and graphic brand assets. */
body{padding-bottom:94px}
.footer{position:fixed;left:0;right:0;bottom:0;z-index:45;height:82px;padding:0;background:#0b192e;border-top:1px solid rgba(255,255,255,.12);box-shadow:0 -8px 28px rgba(7,18,34,.16)}
.footer-inner{height:100%;display:grid;grid-template-columns:155px minmax(270px,1fr) auto;align-items:center;gap:22px}
.footer-brand{display:flex;align-items:center;gap:9px;color:#fff;font-size:14px;font-weight:850;letter-spacing:-.035em;white-space:nowrap}
.footer-brand em{font-style:normal;color:#80adf7}
.footer-brand .mark{width:36px;height:36px;flex:0 0 36px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#4388f4,#1649b5);color:#fff;font-size:11px;font-weight:900;box-shadow:none}
.footer-company{min-width:0;display:flex;flex-direction:column;gap:5px}
.footer-company>strong{color:#f2f6fc;font-size:11px;font-weight:800;line-height:1.1}
.footer-contact{display:flex;align-items:center;gap:16px;min-width:0;color:#a9b8cc;font-size:10px;line-height:1.3;white-space:nowrap}
.footer-address{overflow:hidden;text-overflow:ellipsis;min-width:0}
.footer-contact a{color:#c9dcf6;font-weight:700;white-space:nowrap}
.footer-contact a:hover{color:#fff}
.footer-pay{display:flex;flex-direction:column;align-items:flex-end;gap:4px;white-space:nowrap}
.footer-pay>span{font-size:9px;color:#91a4bd;font-weight:700;letter-spacing:.04em}
.payment-logos{display:flex;align-items:center;gap:6px}
.payment-logos img{display:block;width:72px;height:30px;object-fit:contain;border-radius:7px}
.partnergrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:22px}
.partneritem{height:78px;padding:12px 14px;background:#fff;border:1px solid #e8edf4;border-radius:14px;box-shadow:0 8px 24px rgba(18,39,71,.055);display:flex;align-items:center;justify-content:center;transition:transform .18s,border-color .18s,box-shadow .18s}
.partneritem:hover{transform:translateY(-2px);border-color:#cbdaf0;box-shadow:0 12px 28px rgba(18,39,71,.09)}
.partneritem img{display:block;width:100%;height:100%;max-width:148px;max-height:48px;object-fit:contain}
@media(min-width:1000px){.partnergrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){.footer-inner{grid-template-columns:130px minmax(190px,1fr) auto;gap:14px}.footer-contact{gap:8px;font-size:9px}.payment-logos{gap:4px}.payment-logos img{width:62px;height:28px}.footer-brand{font-size:12px}}
@media(max-width:760px){body{padding-bottom:82px}.footer{height:72px}.footer-inner{grid-template-columns:minmax(0,1fr) auto;gap:8px}.footer-brand{display:none}.footer-company{gap:4px}.footer-company>strong{font-size:9px}.footer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:3px;font-size:8px;line-height:1.15}.footer-address{max-width:100%;white-space:nowrap}.footer-pay{gap:3px}.footer-pay>span{font-size:8px}.payment-logos{gap:3px}.payment-logos img{width:43px;height:24px}.payment-logos .payment-tpay{display:none}.partnergrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.partneritem{height:66px;padding:9px}}
@media(max-width:420px){.footer-inner{gap:5px}.footer-company>strong{display:none}.footer-contact{font-size:7.5px}.footer-address{max-width:150px}.payment-logos img{width:38px;height:22px}.footer-pay>span{display:none}.partnergrid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* WB Connect v4: hard bounds for SVG assets, independent of wrapper classes. */
img[src*="/assets/img/partners/"] {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 148px !important;
  max-height: 48px !important;
  object-fit: contain !important;
}
.partnergrid .partneritem {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 78px;
  overflow: hidden;
}
.payment-logos img,
img[src*="/assets/img/payments/"] {
  display: block !important;
  width: 72px !important;
  height: 30px !important;
  max-width: 72px !important;
  max-height: 30px !important;
  object-fit: contain !important;
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .payment-logos img,
  img[src*="/assets/img/payments/"] {
    width: 43px !important;
    height: 24px !important;
    max-width: 43px !important;
    max-height: 24px !important;
  }
  .partnergrid .partneritem { height: 66px; }
  img[src*="/assets/img/partners/"] {
    max-width: 120px !important;
    max-height: 42px !important;
  }
}
@media (max-width: 420px) {
  .payment-logos img,
  img[src*="/assets/img/payments/"] {
    width: 38px !important;
    height: 22px !important;
    max-width: 38px !important;
    max-height: 22px !important;
  }
}


/* v5: original brand assets use intrinsic proportions inside fixed slots. */
.partnergrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.partneritem {
  height: 56px;
  min-width: 0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 10px;
  box-shadow: none;
  transition: border-color .16s ease, background .16s ease;
}
.partneritem:hover {
  transform: none;
  border-color: #cbd8e8;
  box-shadow: none;
  background: #fbfcfe;
}
.partneritem img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 122px !important;
  max-height: 34px !important;
  object-fit: contain;
  object-position: center;
}
.partneritem img.square-mark {
  max-width: 40px !important;
  max-height: 38px !important;
}
.payment-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.payment-logos img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 62px !important;
  max-height: 23px !important;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
}
.payment-logos img.payment-mir {
  max-width: 58px !important;
  max-height: 19px !important;
}
.payment-logos img.payment-sbp {
  max-width: 48px !important;
  max-height: 24px !important;
}
.payment-logos img.payment-yoomoney {
  max-width: 66px !important;
  max-height: 22px !important;
}
.payment-logos img.payment-sberpay,
.payment-logos img.payment-tpay {
  max-width: 58px !important;
  max-height: 22px !important;
}
@media (max-width: 980px) {
  .partnergrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
  .payment-logos { gap: 5px; }
  .payment-logos img { max-width: 54px !important; max-height: 21px !important; }
}
@media (max-width: 760px) {
  .partnergrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .partneritem { height: 52px; padding: 7px; }
  .payment-logos { gap: 4px; }
  .payment-logos img { max-width: 43px !important; max-height: 22px !important; }
  .payment-logos img.payment-tpay { display: block; }
}
@media (max-width: 420px) {
  .partnergrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-logos { gap: 3px; }
  .payment-logos img { max-width: 38px !important; max-height: 20px !important; }
  .payment-logos img.payment-yoomoney { max-width: 45px !important; }
}


/* v6: display source brand artwork at its native aspect ratio.
   Do not force both dimensions: that distorts or crops wide and square marks. */
.partnergrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.partnergrid .partneritem {
  box-sizing: border-box;
  min-width: 0;
  height: 72px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid #e8edf4;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  transform: none;
}
.partnergrid .partneritem img {
  display: block;
  flex: 0 1 auto;
  width: auto !important;
  height: auto !important;
  max-width: 140px !important;
  max-height: 42px !important;
  object-fit: contain !important;
  object-position: center;
}
.partnergrid .partneritem img.logo-dellmont,
.partnergrid .partneritem img.logo-rostelecom {
  max-width: 132px !important;
  max-height: 42px !important;
}
.partnergrid .partneritem img.logo-mtt {
  max-width: 126px !important;
  max-height: 54px !important;
}
.partnergrid .partneritem img.logo-wide {
  max-width: 145px !important;
  max-height: 26px !important;
}
.partnergrid .partneritem img.logo-square {
  max-width: 40px !important;
  max-height: 40px !important;
}
.partnergrid .partneritem img.logo-3cx {
  max-width: 126px !important;
  max-height: 46px !important;
}
.partnergrid .partneritem img.logo-asterisk {
  max-width: 108px !important;
  max-height: 46px !important;
}
.partnergrid .partneritem-linphone {
  gap: 9px;
}
.partnergrid .partneritem-linphone img {
  flex: 0 0 34px;
  max-width: 34px !important;
  max-height: 34px !important;
}
.partnergrid .partner-label {
  color: #34445b;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.payment-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.payment-logos img {
  display: block;
  flex: 0 1 auto;
  width: auto !important;
  height: auto !important;
  max-width: 68px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.payment-logos img.payment-mir {
  max-width: 58px !important;
  max-height: 18px !important;
}
.payment-logos img.payment-sbp {
  max-width: 48px !important;
  max-height: 24px !important;
}
.payment-logos img.payment-yoomoney {
  max-width: 66px !important;
  max-height: 20px !important;
}
.payment-logos img.payment-sberpay {
  max-width: 56px !important;
  max-height: 22px !important;
}
.payment-logos img.payment-tpay {
  max-width: 62px !important;
  max-height: 19px !important;
}
@media (max-width: 980px) {
  .partnergrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .partnergrid .partneritem { height: 68px; padding: 7px; }
  .payment-logos { gap: 5px; }
}
@media (max-width: 760px) {
  .partnergrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .partnergrid .partneritem { height: 64px; padding: 6px; }
  .partnergrid .partneritem img { max-width: 116px !important; max-height: 38px !important; }
  .partnergrid .partneritem img.logo-square { max-width: 36px !important; max-height: 36px !important; }
  .partnergrid .partneritem img.logo-mtt { max-height: 48px !important; }
  .partnergrid .partneritem-linphone img { max-width: 30px !important; max-height: 30px !important; flex-basis: 30px; }
  .partnergrid .partner-label { font-size: 11px; }
  .payment-logos { gap: 4px; }
  .payment-logos img { max-width: 46px !important; max-height: 22px !important; }
}
@media (max-width: 420px) {
  .partnergrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-logos { gap: 3px; }
  .payment-logos img { max-width: 38px !important; max-height: 20px !important; }
  .payment-logos img.payment-yoomoney { max-width: 45px !important; }
}


/* v6a payment logos tuned for dark fixed footer */
.payment-logos img.payment-sbp{max-width:50px !important;max-height:24px !important}
.payment-logos img.payment-yoomoney{max-width:74px !important;max-height:22px !important}
.payment-logos img.payment-tpay{max-width:54px !important;max-height:20px !important}


/* v6b final overrides: 4 columns, less clipping, larger T-Pay */
.partnergrid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:14px !important}
.partnergrid .partneritem{height:82px !important;padding:8px 10px !important;overflow:hidden}
.partnergrid .partneritem img{max-width:150px !important;max-height:42px !important;width:auto !important;height:auto !important;object-fit:contain}
.partnergrid .partneritem img.logo-wide{max-width:166px !important;max-height:38px !important}
.partnergrid .partneritem img.logo-dellmont{max-width:138px !important;max-height:38px !important}
.partnergrid .partneritem img.logo-rostelecom{max-width:154px !important;max-height:34px !important}
.partnergrid .partneritem img.logo-mtt{max-width:142px !important;max-height:50px !important}
.partnergrid .partneritem img.logo-3cx{max-width:128px !important;max-height:40px !important}
.partnergrid .partneritem img.logo-asterisk{max-width:120px !important;max-height:40px !important}
.partnergrid .partneritem img.logo-square{max-width:44px !important;max-height:44px !important}
.partnergrid .partneritem-linphone img{max-width:34px !important;max-height:34px !important;flex-basis:34px}
.payment-logos img.payment-tpay{max-width:74px !important;max-height:24px !important}
@media(max-width:980px){.partnergrid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:10px !important}.partnergrid .partneritem{height:74px !important;padding:7px 8px !important}.partnergrid .partneritem img{max-width:132px !important;max-height:38px !important}.partnergrid .partneritem img.logo-wide{max-width:144px !important;max-height:34px !important}}
@media(max-width:760px){.partnergrid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}.partnergrid .partneritem{height:66px !important;padding:6px !important}.partnergrid .partneritem img{max-width:114px !important;max-height:34px !important}.partnergrid .partneritem img.logo-wide{max-width:122px !important;max-height:30px !important}.payment-logos img.payment-tpay{max-width:56px !important;max-height:22px !important}}
@media(max-width:420px){.partnergrid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}


/* v7 brand integration: approved WB Connect identity */
.brand {
  gap: 0 !important;
  flex: 0 0 auto;
  line-height: 0;
}
.brand-logo {
  display: block;
  width: auto !important;
  height: 46px !important;
  max-width: 224px !important;
  max-height: 46px !important;
  object-fit: contain;
  object-position: left center;
}
.formcard > .brand {
  display: inline-flex;
  margin-bottom: 18px;
}
.formcard > .brand .brand-logo {
  height: 42px !important;
  max-height: 42px !important;
  max-width: 205px !important;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 155px;
  min-width: 0;
  line-height: 0;
}
.footer-brand-logo {
  display: block;
  width: 148px;
  height: auto;
  max-height: 37px;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 980px) {
  .brand-logo { height: 43px !important; max-height: 43px !important; max-width: 205px !important; }
  .footer-brand-logo { width: 132px; max-height: 33px; }
}
@media (max-width: 760px) {
  .brand-logo { height: 40px !important; max-height: 40px !important; max-width: 190px !important; }
  .formcard > .brand .brand-logo { height: 39px !important; max-height: 39px !important; }
}


/* v8: exchange-rate disclosure below the rate table */
.rate-disclaimer{display:flex;align-items:flex-start;gap:13px;margin-top:16px;padding:16px 18px;background:#f4f7fb;border:1px solid #e2e9f2;border-radius:13px;color:#52647c}
.rate-disclaimer-icon{flex:0 0 23px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#e2ecfa;color:#2864dc;font-size:13px;font-weight:900}
.rate-disclaimer-content{min-width:0}
.rate-disclaimer-content p{margin:0;color:#53657c;font-size:11px;line-height:1.65}
.rate-fx-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 13px;margin-top:8px;color:#74849a;font-size:10px;line-height:1.5}
.rate-fx-meta strong{color:#243c5c;font-size:10px}
.rate-fx-meta a{color:#2864dc;font-weight:750;text-decoration:none}
.rate-fx-meta a:hover{text-decoration:underline}
@media(max-width:600px){.rate-disclaimer{padding:13px;gap:10px}.rate-fx-meta{gap:5px 10px}}


/* v9: discreet required attribution for the browser-side FX data provider. */
.rate-source-credit{color:#8298b5;font-size:8px;font-weight:600;white-space:nowrap;text-decoration:none;opacity:.9}
.rate-source-credit:hover{color:#fff;text-decoration:underline}
