:root{color-scheme:light;--ink:#152b4a;--muted:#64748b;--border:#dbe4ef}*{box-sizing:border-box}body{margin:0;background:#f4f7fb;color:var(--ink);font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}main{max-width:900px;margin:0 auto;padding:44px 24px}.brand{font-size:23px;font-weight:850;letter-spacing:-.7px;text-decoration:none;color:var(--ink)}.brand span{display:block;font-size:12px;font-weight:500;letter-spacing:.5px;color:var(--muted)}nav{display:flex;gap:24px;margin:28px 0 42px;flex-wrap:wrap}a{color:#285c94;text-underline-offset:4px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:750;color:#6583a8}h1{font-size:clamp(30px,5vw,46px);line-height:1.15;letter-spacing:-1.5px;margin:14px 0}header p{max-width:620px;color:var(--muted)}form,#result{padding:32px;background:white;border:1px solid var(--border);border-radius:24px;box-shadow:0 12px 44px #132b4810;margin-top:28px}fieldset{border:0;padding:0;margin:0 0 30px}legend{font-weight:700;margin-bottom:12px}#plans{display:grid;grid-template-columns:1fr 1fr;gap:14px}.plan{padding:20px;border:1px solid var(--border);border-radius:16px;cursor:pointer;background:#f8fafc}.plan:has(input:checked){border-color:#2d6099;background:#eaf1fa;box-shadow:0 0 0 1px #2d6099}.plan strong{font-size:23px;display:block;margin-top:8px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650}.field.wide{grid-column:1/-1}input:not([type=checkbox]):not([type=radio]),textarea{width:100%;border:1px solid var(--border);border-radius:10px;font-family:inherit;font-size:16px;font-weight:400;line-height:1.4;padding:12px 14px;color:var(--ink);background:#fbfcfe}textarea{min-height:110px;resize:vertical}input:focus,textarea:focus{outline:2px solid #98bde8;outline-offset:2px}input[type=radio],input[type=checkbox]{accent-color:#285c94}.consent{display:flex;gap:12px;align-items:flex-start;font-size:13px;color:var(--muted);margin:28px 0 22px}.consent input{margin-top:5px}button,.paylink{background:var(--ink);color:white;border:0;border-radius:12px;padding:14px 22px;font:650 16px system-ui;cursor:pointer;text-decoration:none;display:inline-block}button:hover{background:#244771}button:disabled{opacity:.5;cursor:default}.small,footer{font-size:12px;color:var(--muted)}footer{margin:32px 0}#notice:not(:empty){background:#fff4d5;border-radius:12px;padding:16px;color:#795918}.bank{margin:8px 10px 8px 0;background:#eaf0f8;color:var(--ink)}#result h2{margin-top:0}#result dl{display:grid;grid-template-columns:auto 1fr;gap:10px 20px}#result dd{margin:0;overflow-wrap:anywhere}.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.error{color:#9e2525} .paynote{padding:16px;background:#f4f7fb;border-radius:12px} @media(max-width:600px){main{padding:28px 16px}form,#result{padding:22px 18px;border-radius:18px}.grid,#plans{grid-template-columns:1fr}nav{gap:18px;margin-bottom:30px}.field.wide{grid-column:auto}button[type=submit]{width:100%}#result dl{grid-template-columns:1fr;gap:3px}#result dd{margin-bottom:10px}}

/* SAIDREPAIRER UI REFRESH */

:root {
  --ink: #182b4c;
  --muted: #71809a;
  --border: #dce6f2;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 8% 8%,
      rgba(134,198,255,.33), transparent 36%),
    radial-gradient(ellipse at 94% 12%,
      rgba(196,166,255,.27), transparent 38%),
    radial-gradient(ellipse at 75% 90%,
      rgba(113,223,199,.22), transparent 43%),
    linear-gradient(145deg,#f4f9ff,#fafbff 55%,#effaf7);
  background-attachment: fixed;
}

main {
  position: relative;
}

header {
  padding: 18px 0 8px;
}

.brand {
  background: linear-gradient(95deg,#2366a7,#7953b9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand span {
  color: #70819b;
}

nav {
  gap: 10px;
}

nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid #d9e6f6;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #315885;
  text-decoration: none;
  font-weight: 650;
  box-shadow: 0 4px 14px #385b8910;
  transition: .2s ease;
}

nav a:hover {
  background: #eaf3ff;
  transform: translateY(-2px);
}

form, #result {
  border: 1px solid rgba(220,232,245,.9);
  background: rgba(255,255,255,.95);
  box-shadow: 0 20px 65px #325b8814;
  backdrop-filter: blur(12px);
}

#plans {
  gap: 16px;
}

.plan {
  display: block;
  position: relative;
  min-height: 145px;
  padding: 24px;
  border: 1px solid #cbdff6;
  border-radius: 22px;
  background: linear-gradient(145deg,#e8f4ff,#f8fbff);
  box-shadow: 0 8px 25px #326ca30c;
  transition: transform .2s ease,
              box-shadow .2s ease,
              border-color .2s ease;
}

.plan:nth-child(2) {
  border-color: #e4d8fb;
  background: linear-gradient(145deg,#f1eaff,#fcf8ff);
}

.plan input[type=radio] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.plan strong {
  font-size: 28px;
  letter-spacing: -.7px;
  margin-top: 12px;
}

.plan::after {
  content: "Выбрать тариф";
  display: inline-flex;
  margin-top: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  color: #486893;
  background: rgba(255,255,255,.8);
}

.plan:nth-child(2)::after {
  color: #7853a3;
}

.plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #527aa51e;
}

.plan:has(input:checked) {
  border-color: #6984e4;
  background: linear-gradient(145deg,#e4f1ff,#eef0ff);
  box-shadow: 0 0 0 2px #6984e428,
              0 12px 28px #546ec020;
}

.plan:nth-child(2):has(input:checked) {
  border-color: #9677da;
  background: linear-gradient(145deg,#eee5ff,#f7efff);
}

.plan:has(input:checked)::after {
  content: "✓ Выбрано";
  color: white;
  background: linear-gradient(100deg,#5484e8,#8a61d3);
}

.plan:focus-within {
  outline: 2px solid #6486e5;
  outline-offset: 3px;
}

.field-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.req {
  position: relative;
  color: #e54458;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: help;
}

.optional {
  font-size: 11px;
  font-weight: 450;
  color: #929eaf;
  margin-left: 5px;
}

.contact-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #eaf0f6;
}

.contact-help {
  font-size: 12px;
  color: var(--muted);
}

input:not([type=checkbox]):not([type=radio]),
textarea {
  border-radius: 14px;
  border-color: #dce6f2;
  background: #fcfdff;
  transition: border-color .2s, box-shadow .2s;
}

input:not([type=checkbox]):not([type=radio]):focus,
textarea:focus {
  outline: none;
  border-color: #6796e3;
  box-shadow: 0 0 0 4px #6398ec20;
}

input::placeholder, textarea::placeholder {
  color: #a0acbc;
}

button, .paylink {
  border-radius: 15px;
  background: linear-gradient(110deg,#467fdb,#7656c7);
  box-shadow: 0 8px 22px #4e73c52c;
  transition: transform .2s, box-shadow .2s;
}

button:not(:disabled):hover, .paylink:hover {
  background: linear-gradient(110deg,#3372d5,#6949c1);
  transform: translateY(-2px);
  box-shadow: 0 11px 28px #4e73c540;
}

button:focus-visible, .paylink:focus-visible {
  outline: 3px solid #9ab6fb;
  outline-offset: 3px;
}

.bank {
  background: linear-gradient(110deg,#dceeff,#e9e5ff);
  color: #294c82;
  box-shadow: none;
}

.bank:hover {
  color: white;
}

@media(max-width:600px) {
  main { padding: 24px 14px; }
  .plan { min-height: 120px; }
  .plan strong { font-size: 25px; }
  nav a { padding: 9px 12px; font-size: 13px; }
  .contact-heading { grid-column: 1/-1; }
  .field-title { align-items: baseline; }
}


/* BUSINESS IMPACT PREMIUM DESIGN */
.brand-row{
  display:flex;align-items:center;
  justify-content:space-between;gap:18px;flex-wrap:wrap
}
.partner-mini{
  display:flex;align-items:center;gap:12px;
  padding:9px 18px 9px 9px;border-radius:20px;
  background:rgba(255,255,255,.85);
  border:1px solid #e4d9f8;
  box-shadow:0 8px 28px #754cc51a
}
.partner-mini img{
  width:58px;height:58px;border-radius:50%;
  object-fit:cover
}
.partner-mini div{display:flex;flex-direction:column}
.partner-mini strong{font-size:14px;color:#453076}
.partner-mini small{font-size:11px;color:#8b7aab}
.partner-footer{
  display:flex;flex-direction:column;
  align-items:center;gap:12px;text-align:center;
  padding:36px 16px;margin:45px 0 15px;
  border:1px solid #e7daf8;border-radius:28px;
  background:linear-gradient(145deg,#fff,#f1eaff,#edf6ff);
  box-shadow:0 15px 45px #754cc519
}
.partner-footer img{
  width:145px;height:145px;object-fit:cover;
  border-radius:50%;
  box-shadow:0 0 0 5px #ffffffcc,0 10px 32px #743cbb40
}
.partner-footer strong{font-size:18px;color:#422e75}
.partner-footer span{
  font-size:12px;letter-spacing:1px;color:#8c7ba9
}
@media(max-width:600px){
  .partner-mini img{width:45px;height:45px}
  .partner-mini strong{font-size:12px}
  .partner-mini small{font-size:10px}
  .partner-footer img{width:120px;height:120px}
  .partner-footer strong{font-size:15px}
}


/* PRIVACY NAVIGATION V1 */

.privacy-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:8px 0 28px;
}

.privacy-back {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 22px;
  border-radius:16px;
  background:linear-gradient(115deg,#487edb,#795acb);
  color:#fff;
  text-decoration:none;
  font-weight:750;
  box-shadow:0 8px 24px rgba(86,105,203,.24);
  transition:transform .2s,box-shadow .2s;
}

.privacy-back:hover {
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(86,105,203,.33);
}

.privacy-back:focus-visible {
  outline:3px solid #a5b5fb;
  outline-offset:3px;
}

.privacy-back span {
  font-size:20px;
  line-height:1;
}

.privacy-brand {
  margin-left:auto;
  text-align:right;
  font-size:clamp(17px,3vw,24px);
}

@media(max-width:600px){
  .privacy-toolbar {gap:10px}
  .privacy-back {padding:11px 15px;font-size:14px}
  .privacy-brand {font-size:17px}
}


/* MULTIPLE ORDERS */
#result .new-request {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  max-width:100%;
  margin-top:22px;
  padding:15px 24px;
  border:0;
  border-radius:16px;
  background:linear-gradient(115deg,#327fd6,#15a6a0);
  color:#fff;
  font-size:15px;
  font-weight:750;
  box-shadow:0 9px 25px rgba(32,142,177,.23);
  transition:transform .2s,box-shadow .2s;
}

#result .new-request:hover {
  transform:translateY(-2px);
  background:linear-gradient(115deg,#256bca,#0b938e);
  box-shadow:0 13px 30px rgba(32,142,177,.30);
}

@media(max-width:600px) {
  #result .new-request {
    width:100%;
    padding:15px 12px;
  }
}



/* SRHOME_V3 */

body:has(.srhome-page){
  min-height:100vh;
  background:
    radial-gradient(ellipse at 10% 5%,#dceeff 0%,transparent 42%),
    radial-gradient(ellipse at 95% 12%,#ebe1ff 0%,transparent 46%),
    radial-gradient(ellipse at 75% 95%,#dcf8f0 0%,transparent 45%),
    #f7f9fe;
}

.srhome-page{
  max-width:1100px;
  margin:0 auto;
  padding:28px 24px 20px;
}

.srhome-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  flex-wrap:wrap;
  margin-bottom:35px;
}

.srhome-brand{
  display:flex;
  flex-direction:column;
  font-size:25px;
  font-weight:900;
  letter-spacing:-.8px;
  line-height:1.25;
  text-decoration:none;
  background:linear-gradient(100deg,#226bb1,#7754b9);
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
}

.srhome-brand span{
  font-size:12px;
  font-weight:500;
  letter-spacing:.1px;
  color:#7787a0;
  margin-top:5px;
}

.srhome-partner{
  display:flex;
  align-items:center;
  gap:12px;
  padding:9px 17px 9px 9px;
  border:1px solid #e2daf8;
  border-radius:20px;
  background:rgba(255,255,255,.8);
  box-shadow:0 9px 30px #7352b31c;
}

.srhome-partner img,
.srhome-partner-fallback{
  width:54px;
  height:54px;
  border-radius:50%;
  object-fit:cover;
}

.srhome-partner-fallback{
  display:grid;
  place-items:center;
  background:#6443a5;
  color:white;
  font-weight:800;
}

.srhome-partner div{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.srhome-partner strong{
  font-size:13px;
  color:#4c347b;
}

.srhome-partner div span{
  font-size:10px;
  color:#8d80a6;
}

.srhome-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:540px;
  padding:65px 35px 55px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  border:1px solid rgba(214,224,247,.9);
  border-radius:34px;
  background:
    radial-gradient(ellipse at 15% 20%,
      rgba(134,193,255,.16),transparent 42%),
    radial-gradient(ellipse at 90% 85%,
      rgba(179,139,252,.18),transparent 45%),
    rgba(255,255,255,.83);
  box-shadow:
    0 24px 75px rgba(57,85,145,.10),
    inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(18px);
}

.srhome-mark{
  display:grid;
  place-items:center;
  width:88px;
  height:88px;
  border-radius:26px;
  background:linear-gradient(135deg,#418ce9,#925dde);
  box-shadow:0 13px 35px #7864cd50;
  color:white;
  font-weight:900;
  font-size:35px;
  letter-spacing:-2px;
  margin-bottom:29px;
}

.srhome-eyebrow{
  font-size:11px;
  font-weight:800;
  letter-spacing:2px;
  color:#7b78ba;
}

.srhome-hero h1{
  margin:18px 0;
  font-size:clamp(33px,5vw,59px);
  line-height:1.12;
  letter-spacing:-2px;
  font-weight:850;
  color:#1d3155;
}

.srhome-hero h1 span{
  display:block;
  margin-top:6px;
  background:linear-gradient(100deg,#277cce,#8b5ac8);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.srhome-description{
  max-width:590px;
  margin:8px auto 0;
  font-size:16px;
  line-height:1.8;
  color:#73839d;
}

.srhome-actions{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  width:100%;
  margin-top:37px;
}

.srhome-actions .srhome-btn{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  min-width:235px;
  padding:17px 22px;
  border-radius:17px;
  color:#fff;
  text-decoration:none;
  font-size:15px;
  font-weight:750;
  transition:transform .2s,box-shadow .2s;
}

.srhome-primary{
  background:linear-gradient(110deg,#377dd9,#7355c5);
  box-shadow:0 10px 28px #5673cb45;
}

.srhome-secondary{
  background:linear-gradient(110deg,#209fbd,#3482d8);
  box-shadow:0 10px 28px #338bc245;
}

.srhome-actions .srhome-btn:hover{
  transform:translateY(-3px);
  color:white;
  box-shadow:0 16px 35px #577cbb4d;
}

.srhome-actions .srhome-btn:focus-visible{
  outline:3px solid #9babf8;
  outline-offset:4px;
}

.srhome-caption{
  margin-top:27px;
  font-size:12px;
  color:#94a0b4;
}

.srhome-footer{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding:25px 8px;
  font-size:12px;
  color:#8794aa;
}

@media(max-width:600px){
  .srhome-page{padding:20px 15px}
  .srhome-header{margin-bottom:22px}
  .srhome-brand{font-size:22px}
  .srhome-partner{padding:7px 12px 7px 7px}
  .srhome-partner img,
  .srhome-partner-fallback{width:44px;height:44px}
  .srhome-hero{
    min-height:500px;
    padding:45px 19px;
    border-radius:25px;
  }
  .srhome-mark{
    width:72px;height:72px;
    font-size:29px;
    border-radius:22px;
  }
  .srhome-hero h1{letter-spacing:-1.3px}
  .srhome-description{font-size:14px}
  .srhome-actions{flex-direction:column}
  .srhome-actions .srhome-btn{
    width:100%;
    min-width:0;
  }
  .srhome-footer{
    justify-content:center;
    text-align:center;
  }
}

@media(prefers-reduced-motion:reduce){
  .srhome-actions .srhome-btn{
    transition:none;
  }
}


/* SR_PARTNERS_CAROUSEL_V1 */
.srpartners {
  margin:42px 0 24px;
  padding:30px;
  border:1px solid #e2e7f6;
  border-radius:30px;
  background:rgba(255,255,255,.76);
  box-shadow:0 18px 55px #5166a512;
  overflow:hidden;
}
.srpartners-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:26px;
}
.srpartners-eyebrow {
  font-size:11px;
  font-weight:800;
  color:#8266c5;
  letter-spacing:2px;
}
.srpartners-heading h2 {
  font-size:clamp(23px,3.5vw,32px);
  line-height:1.2;
  letter-spacing:-.8px;
  margin:9px 0;
}
.srpartners-heading p {
  font-size:13px;
  color:#8290a5;
  margin:0;
}
.srpartners-controls {
  display:flex;
  gap:9px;
  flex-shrink:0;
}
.srpartners-controls button {
  width:43px;
  height:43px;
  padding:0;
  border:1px solid #dce5f5;
  border-radius:50%;
  background:#f3f6ff;
  color:#4162aa;
  font-size:21px;
  box-shadow:none;
}
.srpartners-controls button:hover {
  color:white;
  background:#6788da;
}
.srpartners-viewport {
  overflow:hidden;
  touch-action:pan-y;
}
.srpartners-track {
  display:flex;
  gap:18px;
  transform:translate3d(0,0,0);
  will-change:transform;
}
.srpartners-card {
  flex:0 0 43%;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  text-align:center;
  padding:28px 14px;
  border:1px solid #e1e7f5;
  border-radius:23px;
  background:linear-gradient(145deg,#fff,#f6f7ff);
  text-decoration:none;
  color:#243c61;
  box-shadow:0 8px 24px #5473a40c;
  transition:border-color .2s,box-shadow .2s;
}
.srpartners-card:hover {
  border-color:#acb9ec;
  box-shadow:0 10px 28px #5473a424;
}
.srpartners-icon {
  width:72px;
  height:72px;
  border-radius:23px;
  display:grid;
  place-items:center;
  font-size:24px;
  font-weight:900;
  color:white;
  margin-bottom:9px;
}
.srpartners-blue {
  background:linear-gradient(135deg,#39a4e9,#4873ce);
}
.srpartners-violet {
  background:linear-gradient(135deg,#8b6bdb,#5456bf);
}
.srpartners-mint {
  background:linear-gradient(135deg,#24bba8,#388fc7);
}
.srpartners-name {
  font-size:16px;
  font-weight:800;
}
.srpartners-desc {
  font-size:12px;
  color:#8390a3;
}
.srpartners-link {
  display:inline-flex;
  margin-top:12px;
  padding:9px 15px;
  border-radius:999px;
  background:#eaf0ff;
  color:#426bc0;
  font-size:12px;
  font-weight:750;
}
.srpartners-dots {
  display:flex;
  justify-content:center;
  gap:7px;
  margin-top:23px;
}
.srpartners-dots i {
  display:block;
  width:7px;
  height:7px;
  background:#cbd5e7;
  border-radius:20px;
  transition:width .3s,background .3s;
}
.srpartners-dots i.active {
  width:25px;
  background:#7968d4;
}
@media(max-width:600px){
  .srpartners {padding:22px 15px;margin-top:28px;border-radius:24px}
  .srpartners-heading {align-items:flex-end;gap:8px}
  .srpartners-heading h2 {font-size:22px}
  .srpartners-controls button {width:36px;height:36px}
  .srpartners-card {flex-basis:82%;padding:24px 10px}
  .srpartners-icon {width:65px;height:65px}
}
@media(prefers-reduced-motion:reduce){
  .srpartners-track,.srpartners-card,.srpartners-dots i{
    transition:none!important;
  }
}



/* SR PARTNERS POLISH V2 */

.srpartners-avatar {
  width:80px;
  height:80px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  margin-bottom:9px;
  background:#edf2fa;
  border:4px solid rgba(255,255,255,.95);
  box-shadow:
    0 0 0 1px #d6def4,
    0 9px 25px rgba(87,92,169,.17);
}

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

.srpartners-controls button {
  display:grid;
  place-items:center;
  width:47px;
  height:47px;
  padding:0;
  border:1px solid rgba(255,255,255,.75);
  border-radius:16px;
  background:linear-gradient(135deg,#6c96e9,#8266d5);
  color:white;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 7px 19px rgba(102,102,202,.22);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

.srpartners-controls button:hover {
  transform:translateY(-2px);
  background:linear-gradient(135deg,#5385e7,#7454ce);
  color:white;
  box-shadow:0 11px 25px rgba(102,102,202,.34);
}

.srpartners-controls button:active {
  transform:scale(.94);
}

.srpartners-controls button:focus-visible {
  outline:3px solid #a5b7fa;
  outline-offset:3px;
}

@media(max-width:600px) {
  .srpartners-avatar {
    width:70px;
    height:70px;
  }
  .srpartners-controls {
    gap:8px;
  }
  .srpartners-controls button {
    width:40px;
    height:40px;
    border-radius:13px;
    font-size:21px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .srpartners-controls button {
    transition:none;
  }
}



/* BUSINESS IMPACT HEADER PATCH */
.srhome-header{
  justify-content:flex-start;
}

.srhome-footer{
  justify-content:center !important;
  text-align:center;
}

.srhome-footer span{
  width:100%;
}

.brand,
.srhome-brand{
  text-decoration:none;
}



/* BUSINESS IMPACT HERO LOGO */
.srhome-mark.srhome-mark-logo{
  width:132px;
  height:132px;
  padding:10px;
  border-radius:34px;
  background:linear-gradient(135deg,#ffffff,#f4f1ff);
  box-shadow:
    0 16px 40px rgba(91,96,188,.18),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.srhome-mark.srhome-mark-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:24px;
}

@media(max-width:600px){
  .srhome-mark.srhome-mark-logo{
    width:108px;
    height:108px;
    border-radius:28px;
    padding:8px;
  }

  .srhome-mark.srhome-mark-logo img{
    border-radius:20px;
  }
}


/* BUSINESS IMPACT ROUND LOGO V2 */
.srhome-mark.srhome-mark-logo {
    width: 132px;
    height: 132px;
    padding: 0 !important;
    border-radius: 50% !important;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 12px 35px rgba(116, 69, 220, .28);
}

.srhome-mark.srhome-mark-logo img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    object-fit: cover;
}

@media (max-width: 600px) {
    .srhome-mark.srhome-mark-logo {
        width: 108px;
        height: 108px;
    }
}


/* BUSINESS_IMPACT_GOLD_PURPLE_V1 */

:root {
  --bi-purple: #512596;
  --bi-purple-dark: #35165f;
  --bi-purple-light: #8653d1;
  --bi-gold: #ffc94d;
  --bi-gold-deep: #efae26;
  --bi-gold-soft: #fff1bc;
  --bi-lavender: #f1e9ff;
  --bi-background: #fbf8ff;
  --bi-text: #302043;
}

body {
  background:
    radial-gradient(ellipse at 5% 5%,
      rgba(255,225,130,.26), transparent 42%),
    radial-gradient(ellipse at 95% 15%,
      rgba(169,115,240,.18), transparent 46%),
    radial-gradient(ellipse at 70% 95%,
      rgba(255,232,157,.20), transparent 45%),
    #fbf8ff !important;
  color: var(--bi-text);
}

/* Главная страница */

.srhome-hero {
  background:
    radial-gradient(circle at 85% 10%,
      rgba(168,119,232,.14), transparent 45%),
    radial-gradient(circle at 5% 95%,
      rgba(255,207,80,.18), transparent 45%),
    rgba(255,255,255,.9);
  border: 1px solid #e7d6ff;
  box-shadow: 0 22px 65px rgba(87,39,142,.10);
}

.srhome-hero h1 {
  color: var(--bi-purple-dark);
}

.srhome-hero h1 span {
  background: linear-gradient(
    105deg,#57239f,#9b64d5,#c78b21);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.srhome-eyebrow {
  color: #8b5a19;
  letter-spacing: 1.7px;
}

.srhome-description {
  color: #716480;
}

.srhome-brand {
  background: linear-gradient(
    100deg,#512596,#8653d1,#ae791a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.srhome-brand span {
  color: #8a759f;
}

/* Круглый логотип Business Impact */

.srhome-mark.srhome-mark-logo {
  border-radius: 50% !important;
  overflow: hidden;
  padding: 0 !important;
  border: 2px solid rgba(255,201,77,.65);
  box-shadow:
    0 0 0 6px rgba(255,201,77,.10),
    0 14px 35px rgba(91,42,164,.24);
}

.srhome-mark.srhome-mark-logo img {
  border-radius: 50% !important;
}

/* Две главные кнопки */

.srhome-actions .srhome-primary {
  background: linear-gradient(
    115deg,#ffe083,#ffc94d,#f2ae2c) !important;
  color: #35165f !important;
  border: 1px solid rgba(195,129,18,.24);
  box-shadow: 0 10px 26px rgba(228,166,43,.25);
}

.srhome-actions .srhome-secondary {
  background: linear-gradient(
    115deg,#512596,#7944c6,#9864df) !important;
  color: #fff !important;
  border: 1px solid rgba(122,70,199,.2);
  box-shadow: 0 10px 27px rgba(92,47,173,.24);
}

.srhome-actions .srhome-btn {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

.srhome-actions .srhome-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.035);
  box-shadow: 0 16px 34px rgba(91,42,164,.22);
}

/* Навигация и бренд */

.brand {
  color: var(--bi-purple) !important;
}

nav a,
.topnav a,
.tabs a {
  border-radius: 14px;
  transition:
    background .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

nav a:hover,
.topnav a:hover,
.tabs a:hover {
  background: #fff1bc;
  color: #512596;
}

/* Карточки заказов, тарифов и форм */

.form-card,
.plan-card,
.tariff-card,
.price-card,
.service-card,
.payment-card,
.summary-card,
#result {
  border-color: #eadcff !important;
  box-shadow: 0 12px 35px rgba(81,37,150,.07);
}

.plan-card:hover,
.tariff-card:hover,
.price-card:hover,
.service-card:hover {
  border-color: #d0a5f4 !important;
  box-shadow: 0 12px 32px rgba(104,51,173,.12);
}

.plan-card:has(input:checked),
.tariff-card:has(input:checked) {
  border-color: #b47be3 !important;
  background: linear-gradient(
    135deg,#fff7d9,#f7efff);
}

/* Поля ввода */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
textarea,
select {
  border-color: #e1d4f3;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  border-color: #a579dc !important;
  outline: none;
  box-shadow: 0 0 0 4px rgba(158,109,215,.13);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: #7440c0;
}

/* Кнопка отправки заявки */

#submit,
button[type="submit"],
.btn-primary,
.primary-btn {
  background: linear-gradient(
    115deg,#ffe082,#ffc94d,#f1ae2a) !important;
  color: #35165f !important;
  border-color: transparent;
  box-shadow: 0 8px 23px rgba(222,163,49,.22);
}

#submit:hover:not(:disabled),
button[type="submit"]:hover:not(:disabled),
.btn-primary:hover:not(:disabled) {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

#submit:disabled,
button[type="submit"]:disabled {
  opacity: .58;
  cursor: not-allowed;
  box-shadow: none;
}

/* Карусель партнёров */

.srpartners {
  background: linear-gradient(
    145deg,#fffefa,#faf4ff);
  border-color: #e7d5fa;
  box-shadow: 0 17px 45px rgba(90,51,147,.08);
}

.srpartners-eyebrow {
  color: #996519;
}

.srpartners-heading h2 {
  color: var(--bi-purple-dark);
}

.srpartners-card {
  background: linear-gradient(
    150deg,#fffef8,#f7efff);
  border-color: #e7daf7;
}

.srpartners-card:hover {
  border-color: #dcb35b;
  box-shadow: 0 12px 30px rgba(91,43,163,.13);
}

.srpartners-name {
  color: var(--bi-purple-dark);
}

.srpartners-link {
  background: #fff0bc;
  color: #673191;
  border: 1px solid rgba(232,184,73,.32);
}

.srpartners-avatar {
  border-radius: 50%;
  border-color: #fff5d4;
  box-shadow:
    0 0 0 2px #e9d5ff,
    0 8px 23px rgba(94,47,163,.16);
}

/* Стрелки переключения */

.srpartners-controls button {
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(
    135deg,#6430b3,#9962d8) !important;
  border: 1px solid rgba(255,225,153,.6);
  box-shadow:
    0 5px 17px rgba(100,48,179,.22),
    inset 0 1px 0 rgba(255,255,255,.25);
}

.srpartners-controls button:hover {
  background: linear-gradient(
    135deg,#ffc94d,#f2b532) !important;
  color: #35165f;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 9px 24px rgba(189,131,33,.27);
}

.srpartners-controls button:active {
  transform: scale(.95);
}

.srpartners-dots i {
  background: #e5d4f6;
}

.srpartners-dots i.active {
  background: linear-gradient(
    90deg,#6635bb,#ffc94d);
}

/* Клавиатурная навигация */

a:focus-visible,
button:focus-visible {
  outline: 3px solid #b17fe6;
  outline-offset: 3px;
}

/* Мобильная версия */

@media(max-width:600px) {
  .srhome-hero {
    border-radius: 26px;
  }

  .srpartners {
    border-radius: 24px;
  }

  .srhome-actions .srhome-btn {
    width: 100%;
  }
}

@media(prefers-reduced-motion:reduce) {
  .srhome-actions .srhome-btn,
  .srpartners-controls button {
    transition: none;
  }
}

/* END_BUSINESS_IMPACT_GOLD_PURPLE_V1 */



/* BI_FOOTER_ARROWS_V2 */

/* Надпись внизу главной */

.srhome-footer {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    letter-spacing: .2px;
    line-height: 1.6;
    color: #76549c !important;
}

.srhome-footer span {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

/* Кнопки переключения партнёров */

.srpartners-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 10px;
}

.srpartners-controls button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 46px;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px;
    min-height: 46px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255,211,109,.45);
    background: linear-gradient(
        135deg,#6531b0,#9354d5
    ) !important;
    color: #fff !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow:
        0 6px 18px rgba(99,48,180,.20),
        inset 0 1px 0 rgba(255,255,255,.22);
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.srpartners-controls button svg {
    display: block !important;
    flex: 0 0 22px;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    stroke: currentColor;
}

.srpartners-controls button:hover {
    background: linear-gradient(
        135deg,#ffd96c,#f4ba38
    ) !important;
    color: #482080 !important;
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(156,98,189,.25);
}

.srpartners-controls button:active {
    transform: scale(.94);
}

/* Адаптация под телефоны */

@media(max-width:600px) {
    .srhome-footer {
        font-size: 14px !important;
        padding: 22px 10px;
    }

    .srpartners-controls {
        gap: 8px;
    }

    .srpartners-controls button {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px;
        min-height: 40px;
        flex-basis: 40px;
        border-radius: 13px !important;
    }

    .srpartners-controls button svg {
        width: 20px !important;
        height: 20px !important;
        flex-basis: 20px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .srpartners-controls button {
        transition: none;
    }
}


/* BI_HEADER_FORMS_FIX_V1 */

/* Название и кнопка темы в одном блоке */
.bi-brand-and-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  max-width: 100%;
  min-width: 0;
  margin-right: auto;
}

.bi-brand-and-toggle > .brand,
.bi-brand-and-toggle > .srhome-brand {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0 !important;
}

.bi-brand-and-toggle > .bi-theme-toggle {
  position: static !important;
  order: 0 !important;
  margin: 0 !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.bi-brand-and-toggle .bi-theme-toggle svg {
  width: 21px !important;
  height: 21px !important;
  flex-shrink: 0;
}

.bi-theme-header {
  align-items: center !important;
}

/* Нормальная ширина страниц с формами */
body.bi-form-page main {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.bi-form-page :is(
  .container,.wrap,.form-card,.card,#form,#result
) {
  min-width: 0;
}

/* Тёмная тема: фон тёмный, формы светлые */
html[data-bi-theme="dark"] body.bi-form-page {
  background:
    radial-gradient(
      ellipse at 15% 10%,
      rgba(115,55,175,.22),
      transparent 50%
    ),
    radial-gradient(
      ellipse at 90% 90%,
      rgba(184,121,43,.12),
      transparent 45%
    ),
    #160e25 !important;
  color: #f5eaff !important;
}

html[data-bi-theme="dark"] body.bi-form-page
:is(.form-card,.card,.panel,#form,#result) {
  background: #faf9ff !important;
  color: #302042 !important;
  border-color: #e4d6f3 !important;
}

/* Белые поля в обеих темах */
body.bi-form-page input:is(
  [type="text"],[type="email"],[type="tel"],
  [type="url"],[type="number"],[type="search"]
),
body.bi-form-page input:not([type]),
body.bi-form-page textarea,
body.bi-form-page select {
  background: #ffffff !important;
  color: #302042 !important;
  border: 1px solid #d9c9e9 !important;
  border-radius: 11px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  color-scheme: light;
}

body.bi-form-page input::placeholder,
body.bi-form-page textarea::placeholder {
  color: #93869f !important;
  opacity: 1;
}

body.bi-form-page input:focus,
body.bi-form-page textarea:focus,
body.bi-form-page select:focus {
  border-color: #9754d6 !important;
  outline: 2px solid rgba(151,84,214,.18);
  outline-offset: 0;
}

/* Читаемые подписи внутри форм */
body.bi-form-page :is(
  form,#form,.form-card,.card,.panel,#result
) :is(label,legend,h2,h3) {
  color: #39234e !important;
}

/* Красивые фиолетово-золотые акценты */
body.bi-form-page input:is(
  [type="checkbox"],[type="radio"]
) {
  accent-color: #7940be;
}

html[data-bi-theme="dark"]
body.bi-form-page .brand {
  color: #f0d4ff !important;
}

html[data-bi-theme="dark"]
body.bi-form-page .brand span {
  color: #c9addd !important;
}

/* Телефоны */
@media(max-width:700px) {
  .bi-brand-and-toggle {
    gap: 8px !important;
    max-width: 100%;
  }

  .bi-brand-and-toggle > .bi-theme-toggle {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  body.bi-form-page main {
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
  }

  body.bi-form-page :is(
    .form-grid,.fields,.form-row
  ) {
    min-width: 0;
  }

  body.bi-form-page :is(
    input,textarea,select,button
  ) {
    max-width: 100%;
  }
}

@media(max-width:360px) {
  .bi-brand-and-toggle {
    gap: 6px !important;
  }
}

/* END_BI_HEADER_FORMS_FIX_V1 */


/* BI_SWITCH_FILL_V1 */
/* Compact CodePen-inspired sun/moon switch in Business Impact colors. */
.bi-theme-toggle.bi-animated-switch,
.bi-brand-and-toggle > .bi-theme-toggle.bi-animated-switch {
  position:relative !important;
  display:inline-flex !important;
  flex:0 0 116px !important;
  width:116px !important;
  min-width:116px !important;
  max-width:116px !important;
  height:44px !important;
  min-height:44px !important;
  padding:0 !important;
  margin:0 !important;
  overflow:hidden;
  border-radius:999px !important;
  border:1px solid rgba(126,70,194,.48) !important;
  background:#e9d9ff !important;
  color:#311c4a !important;
  box-shadow:0 6px 20px rgba(102,45,152,.18),inset 0 1px 0 rgba(255,255,255,.8) !important;
  vertical-align:middle;
  transform:none;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.bi-theme-toggle.bi-animated-switch:hover {
  transform:translateY(-1px) !important;
  box-shadow:0 9px 23px rgba(102,45,152,.24) !important;
}
.bi-theme-toggle.bi-animated-switch:active {transform:scale(.97) !important;}
.bi-theme-toggle.bi-animated-switch:focus-visible {
  outline:3px solid #ffc94d !important;
  outline-offset:3px;
}
.bi-animated-switch .bi-switch-track {
  position:relative;
  display:block;
  width:100%;
  height:100%;
  flex:0 0 100%;
  border-radius:inherit;
}
.bi-animated-switch .bi-switch-thumb {
  position:absolute;
  top:4px;
  bottom:4px;
  left:4px;
  width:calc(50% - 4px);
  border-radius:999px;
  background:linear-gradient(135deg,#fffdf0,#ffe3a0);
  box-shadow:0 2px 9px rgba(86,43,134,.20),inset 0 1px 0 rgba(255,255,255,.9);
  transition:transform .46s cubic-bezier(.2,.85,.25,1),background .35s;
}
.bi-animated-switch .bi-switch-symbol {
  position:absolute;
  top:0;
  height:100%;
  width:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:1px;
  z-index:1;
  pointer-events:none;
}
.bi-animated-switch .bi-switch-symbol small {
  display:block;
  font-size:9px;
  font-weight:750;
  line-height:1;
  color:inherit;
}
.bi-animated-switch .bi-switch-sun {left:0;color:#e8a900 !important;}
.bi-animated-switch .bi-switch-moon {right:0;color:#191323 !important;}
.bi-animated-switch .bi-switch-symbol svg,
.bi-brand-and-toggle .bi-animated-switch .bi-switch-symbol svg {
  display:block;
  width:19px !important;
  height:19px !important;
  flex:0 0 19px;
  stroke:currentColor;
}
html[data-bi-theme="dark"] .bi-theme-toggle.bi-animated-switch {
  background:#493063 !important;
  border-color:#8c61b3 !important;
  color:#f9eafd !important;
}
html[data-bi-theme="dark"] .bi-animated-switch .bi-switch-thumb {
  transform:translateX(100%);
  background:linear-gradient(135deg,#ffe69a,#ffc94d);
  box-shadow:0 2px 10px rgba(0,0,0,.38);
}
html[data-bi-theme="dark"] .bi-animated-switch .bi-switch-sun {color:#ffcc49 !important;}
html[data-bi-theme="dark"] .bi-animated-switch .bi-switch-moon {color:#17121b !important;}
/* Reveal the new theme outward from the toggle, rather than cross-fading. */
html.bi-switch-transitioning::view-transition-old(root),
html.bi-switch-transitioning::view-transition-new(root) {
  animation:none !important;
  mix-blend-mode:normal;
}
html.bi-switch-transitioning::view-transition-old(root) {z-index:1;}
html.bi-switch-transitioning::view-transition-new(root) {z-index:2;}
/* Keep toggle alongside the logo on desktop and narrow phone screens. */
.bi-brand-and-toggle {display:inline-flex !important;align-items:center !important;gap:10px !important;min-width:0;max-width:100%;}
@media(max-width:480px){
  .bi-theme-toggle.bi-animated-switch,
  .bi-brand-and-toggle > .bi-theme-toggle.bi-animated-switch {
    flex-basis:96px !important;
    width:96px !important;
    min-width:96px !important;
    max-width:96px !important;
    height:40px !important;
    min-height:40px !important;
  }
  .bi-brand-and-toggle {gap:7px !important;}
  .bi-animated-switch .bi-switch-symbol small {display:none;}
  .bi-animated-switch .bi-switch-symbol svg,
  .bi-brand-and-toggle .bi-animated-switch .bi-switch-symbol svg {width:19px !important;height:19px !important;flex-basis:19px;}
}
@media(prefers-reduced-motion:reduce){
  .bi-animated-switch .bi-switch-thumb {transition:none !important;}
  .bi-theme-toggle.bi-animated-switch {transition:none !important;}
}
/* END_BI_SWITCH_FILL_V1 */


/* BI_SMOOTH_MOBILE_V2 */
/* Fast compositor-only circle; never capture/animate a screenshot of the whole page. */
.bi-theme-flood-v2 {
  position:fixed !important;
  left:0; top:0;
  width:120px !important;
  height:120px !important;
  max-width:none !important;
  max-height:none !important;
  border-radius:50% !important;
  pointer-events:none !important;
  z-index:2147483600 !important;
  opacity:1;
  transform:translate3d(-50%,-50%,0) scale(.005);
  transform-origin:center center;
  will-change:transform,opacity;
  box-shadow:none !important;
  border:0 !important;
  padding:0 !important;
  margin:0 !important;
  contain:layout style paint;
}
.bi-animated-switch .bi-switch-thumb {
  transition:transform .32s cubic-bezier(.2,.85,.25,1),background .22s !important;
}
html[data-bi-theme="light"] .bi-animated-switch.bi-switch-target-dark .bi-switch-thumb {
  transform:translateX(100%) !important;
}
html[data-bi-theme="dark"] .bi-animated-switch.bi-switch-target-light .bi-switch-thumb {
  transform:translateX(0) !important;
}
/* Do not introduce a second full-screen animation. */
html.bi-switch-wiping-v2 {scroll-behavior:auto !important;}

/* Mobile sizing, without altering the ordering/payment logic or desktop widths. */
@media(max-width:780px) {
  html,body {max-width:100% !important;overflow-x:clip !important;}
  body :where(main,header,footer,section,article,form,.srhome-page,.srhome-hero,.srpartners,#result) {
    box-sizing:border-box;
    min-width:0;
    max-width:100%;
  }
  body .bi-theme-header {align-items:center !important;gap:10px !important;}
  body .bi-brand-and-toggle {
    display:inline-flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    gap:8px !important;
    margin-right:0 !important;
    max-width:100% !important;
    min-width:0;
  }
  body .bi-brand-and-toggle > :is(.brand,.srhome-brand) {
    min-width:0 !important;
    max-width:calc(100vw - 127px) !important;
    flex:0 1 auto !important;
    font-size:clamp(17px,4.3vw,23px) !important;
    overflow-wrap:anywhere;
  }
  body .bi-brand-and-toggle .bi-theme-toggle.bi-animated-switch {
    flex:0 0 96px !important;
    width:96px !important;
    min-width:96px !important;
    max-width:96px !important;
    height:40px !important;
    min-height:40px !important;
    margin:0 !important;
  }
  body .srhome-hero {padding:36px 16px !important;}
  body .srhome-hero h1 {font-size:clamp(27px,7.3vw,42px) !important;line-height:1.12;}
  body .srhome-actions {width:100%;min-width:0;}
  body .srhome-actions a {width:100% !important;max-width:100%;min-width:0 !important;white-space:normal;}
  body .srpartners {padding:20px 13px !important;}
  body .srpartners-heading {flex-wrap:wrap;gap:12px;}
  body .srpartners-heading > div:first-child {min-width:0;flex:1 1 170px;}
  body .srpartners-controls {flex:0 0 auto;gap:8px;}
  body .srpartners-viewport {min-width:0;max-width:100%;overflow:hidden;}
  body .srpartners-card {min-width:0;max-width:100%;}
  body :where(img,video,svg) {max-width:100%;}
  body :where(p,h1,h2,h3,label,small) {overflow-wrap:anywhere;}
  body:has(#form) :where(#form,.form-card,.card,.panel,#result) {min-width:0;max-width:100%;}
  body:has(#form) :where(.form-grid,.fields,.form-row,.two-cols,.tariff-grid,.pricing-grid) {
    grid-template-columns:minmax(0,1fr) !important;
    min-width:0;
  }
  body:has(#form) :where(input[type="text"],input[type="tel"],input[type="email"],input[type="url"],input[type="number"],textarea,select) {
    width:100%;max-width:100% !important;min-width:0;
    font-size:16px !important;
    box-sizing:border-box;
  }
  body:has(#form) :where(button[type="submit"],#submit,.new-request) {max-width:100%;white-space:normal;}
}
@media(max-width:360px) {
  body .bi-brand-and-toggle {gap:6px !important;}
  body .bi-brand-and-toggle > :is(.brand,.srhome-brand) {
    font-size:16px !important;
    max-width:calc(100vw - 104px) !important;
  }
  body .bi-brand-and-toggle .bi-theme-toggle.bi-animated-switch {
    flex-basis:84px !important;width:84px !important;
    min-width:84px !important;max-width:84px !important;
  }
  body .srhome-hero {padding:30px 12px !important;}
}
@media(prefers-reduced-motion:reduce) {
  .bi-animated-switch .bi-switch-thumb {transition:none !important;}
}
/* END_BI_SMOOTH_MOBILE_V2 */



/* BI_FINAL_REPAIR_V3 */

html, body {
  overflow-x: hidden !important;
}

body {
  position: relative;
}

.bi-flow-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

body > *:not(.bi-flow-canvas):not(.bi-theme-wave) {
  position: relative;
  z-index: 1;
}

main, header, nav, form, #form, #result, .srpartners, .srhome-hero {
  position: relative;
  z-index: 1;
}

/* шапка + переключатель рядом с названием */
.bi-brand-row {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  max-width: 100%;
  min-width: 0;
}

.bi-brand-row .srhome-brand,
.bi-brand-row .brand,
.bi-brand-row a.brand {
  margin: 0 !important;
  flex: 0 1 auto;
  min-width: 0;
}

.bi-theme-toggle {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  cursor: pointer;
  margin: 0 !important;
  flex: 0 0 auto;
  position: static !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  box-shadow: none !important;
}

.bi-theme-track {
  width: 108px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(102,55,174,.95), rgba(145,84,213,.95));
  border: 1px solid rgba(255,210,110,.35);
  box-shadow: 0 8px 22px rgba(36, 12, 73, .18), inset 0 1px 0 rgba(255,255,255,.16);
  padding: 0 8px;
}

.bi-theme-option {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  text-transform: lowercase;
  line-height: 1;
  user-select: none;
}

.bi-theme-day { color: #ffda5f; }
.bi-theme-night { color: #26163c; }

.bi-theme-ico {
  font-size: 14px;
  line-height: 1;
}

.bi-theme-thumb {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 48px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe081, #ffc94d);
  box-shadow: 0 3px 12px rgba(0,0,0,.16);
  transition: transform .34s ease;
  z-index: 1;
}

.bi-theme-toggle[data-theme="dark"] .bi-theme-thumb {
  transform: translateX(52px);
  background: linear-gradient(135deg, #2c1d43, #120b1f);
}

.bi-theme-wave {
  position: fixed;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: transform .58s ease, opacity .32s ease;
}

.bi-theme-wave[data-next-theme="dark"] {
  background: radial-gradient(circle, rgba(44,26,74,.95), rgba(22,12,37,.98));
}

.bi-theme-wave[data-next-theme="light"] {
  background: radial-gradient(circle, rgba(255,246,211,.95), rgba(247,240,255,.98));
}

.bi-theme-wave.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(180);
}

/* формы не должны уезжать вниз */
body.bi-form-page main,
main.bi-main-ready {
  max-width: 1180px !important;
  width: min(1180px, calc(100% - 32px)) !important;
  margin: 0 auto !important;
  padding: 26px 0 72px !important;
  display: block !important;
}

body.bi-form-page header {
  margin: 18px 0 18px !important;
  padding: 0 !important;
  min-height: 0 !important;
}

body.bi-form-page #form,
body.bi-form-page form#form,
body.bi-form-page form,
body.bi-form-page #result {
  margin-top: 18px !important;
  transform: none !important;
  top: auto !important;
  position: relative !important;
}

body.bi-form-page .grid,
body.bi-form-page #plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

/* белые поля */
body.bi-form-page input:not([type="checkbox"]):not([type="radio"]),
body.bi-form-page textarea,
body.bi-form-page select {
  background: #ffffff !important;
  color: #25193a !important;
  border: 1px solid #dbcff0 !important;
  border-radius: 12px !important;
}

body.bi-form-page input::placeholder,
body.bi-form-page textarea::placeholder {
  color: #8f84a1 !important;
  opacity: 1;
}

body.bi-form-page label,
body.bi-form-page legend,
body.bi-form-page h2,
body.bi-form-page h3,
body.bi-form-page p,
body.bi-form-page span {
  overflow-wrap: anywhere;
}

/* светлая тема: потоки должны быть заметнее */
html[data-bi-theme="light"] .bi-flow-canvas {
  opacity: 1 !important;
  filter: contrast(1.07) saturate(1.08);
}

/* мобильная адаптация */
@media (max-width: 700px) {
  body.bi-form-page main,
  main.bi-main-ready {
    width: calc(100% - 24px) !important;
    padding: 18px 0 52px !important;
  }

  .bi-brand-row {
    gap: 8px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .bi-theme-track {
    width: 98px;
    height: 36px;
  }

  .bi-theme-thumb {
    width: 44px;
    height: 28px;
  }

  .bi-theme-toggle[data-theme="dark"] .bi-theme-thumb {
    transform: translateX(46px);
  }

  body.bi-form-page .grid,
  body.bi-form-page #plans {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.bi-form-page input:not([type="checkbox"]):not([type="radio"]),
  body.bi-form-page textarea,
  body.bi-form-page select,
  body.bi-form-page button {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* END_BI_FINAL_REPAIR_V3 */


/* BI_CANVAS_LAYOUT_V6: reserve the actual width of the theme track. */
.bi-brand-row .bi-theme-toggle:has(.bi-theme-track) {
  width: 108px !important;
  min-width: 108px;
  height: 38px;
  flex: 0 0 108px;
  order: 0;
}
.bi-theme-track .bi-theme-day { color: #ffda5f; }
.bi-theme-track .bi-theme-night { color: #fff1bf; }
.bi-theme-toggle[data-theme="light"] .bi-theme-day { color: #321a49; }
@media (max-width: 700px) {
  .bi-brand-row .bi-theme-toggle:has(.bi-theme-track) {
    width: 98px !important;
    min-width: 98px;
    height: 36px;
    flex-basis: 98px;
  }
}
