
.vrgc-wrap{
  --vrgc-accent:#f312d3;
  --vrgc-button-start:#176fff;
  --vrgc-button-end:#275bff;
  --vrgc-bg-word:#ffffff26;
  --vrgc-subtitle:#7180a1;
  --vrgc-max:1180px;
  position:relative;
  z-index:1;
  max-width:var(--vrgc-max);
  margin:0 auto;
  padding:56px 22px 44px;
  box-sizing:border-box;
  color:#10204c;
}

/* Белый фон во всю ширину, независимо от фона SP Page Builder */
.vrgc-wrap:before{
  content:"";
  position:absolute;
  z-index:-3;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:#fff;
}

/* Фирменная синяя плашка под шапкой */
.vrgc-wrap:after{
  content:"";
  position:absolute;
  z-index:-2;
  top:0;
  left:50%;
  width:100vw;
  height:218px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,#0a63b2 0%, #14358e 53%, #4a428d 100%);
  border-radius:0 0 30px 30px;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.07);
}

.vrgc-pattern{
  position:absolute;
  z-index:-1;
  top:0;
  left:50%;
  width:100vw;
  height:218px;
  transform:translateX(-50%);
  pointer-events:none;
  opacity:.08;
  overflow:hidden;
}
.vrgc-pattern img{width:100%;height:100%;object-fit:cover}

/* ---------- Header ---------- */
.vrgc-head{
  position:relative;
  min-height:132px;
  margin:0 0 18px;
  padding-top:62px;
  text-align:left;
}
.vrgc-bg-title{
  position:absolute;
  left:0;
  top:18px;
  width:100%;
  overflow:hidden;
  color:rgba(255,255,255,.12);
  font-size:clamp(48px,5.4vw,78px);
  font-weight:900;
  line-height:.9;
  letter-spacing:-.03em;
  white-space:nowrap;
  pointer-events:none;
  user-select:none;
}
.vrgc-title{
  position:relative;
  z-index:1;
  margin:0!important;
  color:var(--vrgc-accent)!important;
  text-shadow:none;
  font-size:clamp(34px,3.1vw,46px)!important;
  font-weight:800!important;
  line-height:1.03!important;
  letter-spacing:-.03em;
  text-align:left!important;
}
.vrgc-subtitle{
  position:relative;
  z-index:1;
  margin-top:8px;
  color:rgba(255,255,255,.72);
  font-size:17px;
  line-height:1.4;
}

/* ---------- Desktop ---------- */
.vrgc-mobile-tabs,
.vrgc-mobile-panels{display:none}

.vrgc-desktop-grid{
  position:relative;
  z-index:2;
  margin-top:-4px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.vrgc-card{position:relative}
.vrgc-card-inner{
  height:100%;
  padding:26px 26px 28px;
  box-sizing:border-box;
  background:#fff;
  border:1px solid #e1e8f4;
  border-radius:20px;
  box-shadow:0 10px 28px rgba(28,49,91,.065);
}
.vrgc-card-title{
  max-width:470px;
  margin:0 auto 18px;
  color:#10204c;
  font-size:28px;
  font-weight:750;
  line-height:1.18;
  text-align:center;
}
.vrgc-card-image{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:270px;
  margin:0 0 20px;
}
.vrgc-card-image img{
  display:block;
  width:auto;
  max-width:100%;
  max-height:300px;
  object-fit:contain;
  border-radius:14px;
}
.vrgc-list{
  display:grid;
  gap:12px;
  list-style:none;
  margin:0;
  padding:0;
}
.vrgc-list li{
  position:relative;
  padding-left:32px;
  color:#59667e;
  font-size:16px;
  line-height:1.35;
}
.vrgc-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#0ac748;
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:20px;
  text-align:center;
}
.vrgc-actions{margin-top:24px}
.vrgc-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:54px;
  padding:12px 20px;
  box-sizing:border-box;
  border-radius:14px;
  background:linear-gradient(90deg,var(--vrgc-button-start),var(--vrgc-button-end));
  box-shadow:0 10px 24px rgba(29,89,255,.18);
  color:#fff!important;
  font-size:19px;
  font-weight:750;
  line-height:1.1;
  text-decoration:none!important;
  transition:transform .18s ease,box-shadow .18s ease;
}
.vrgc-button:hover,
.vrgc-button:focus{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(29,89,255,.25);
}

.vrgc-more,
.vrgc-more:hover,
.vrgc-more:focus{
  border:0;
  background:transparent;
  color:#1f63ff;
  font:700 15px/1.25 inherit;
  cursor:pointer;
  outline:none;
}
.vrgc-more{
  display:block;
  margin:12px auto 0;
  padding:6px 10px;
}
.vrgc-more-box{padding-top:10px}

/* ---------- Mobile ---------- */
@media(max-width:767px){
  .vrgc-wrap{
    padding:26px 14px 28px;
  }

  .vrgc-wrap:after{
    height:154px;
    border-radius:0 0 22px 22px;
  }

  .vrgc-pattern{
    height:154px;
  }

  .vrgc-head{
    min-height:0;
    margin-bottom:14px;
    padding-top:0;
    text-align:left;
  }

  /* На телефоне декоративный дубль убираем — оставляем чистую шапку на синей плашке */
  .vrgc-bg-title{display:none}

  .vrgc-title{
    margin:0!important;
    font-size:30px!important;
    line-height:1.05!important;
  }
  .vrgc-subtitle{
    margin-top:7px;
    font-size:14px;
    line-height:1.35;
  }

  .vrgc-desktop-grid{display:none}

  .vrgc-mobile-tabs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-bottom:12px;
    padding:4px;
    border:1px solid rgba(255,255,255,.34);
    border-radius:16px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
  }
  .vrgc-tab{
    appearance:none;
    -webkit-appearance:none;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-width:0;
    min-height:50px;
    padding:8px 7px;
    border:0;
    border-radius:12px;
    background:rgba(255,255,255,.93);
    color:#26345f;
    font:700 13px/1.15 inherit;
    text-align:center;
    cursor:pointer;
  }
  .vrgc-tab.is-active{
    background:linear-gradient(90deg,var(--vrgc-button-start),var(--vrgc-button-end));
    box-shadow:0 7px 18px rgba(29,89,255,.18);
    color:#fff;
  }
  .vrgc-tab-icon{
    flex:0 0 auto;
    font-size:16px;
    line-height:1;
  }
  .vrgc-tab-text{
    min-width:0;
    white-space:nowrap;
  }

  .vrgc-mobile-panels{display:block}
  .vrgc-card--mobile{display:none}
  .vrgc-card--mobile.is-active{display:block}

  .vrgc-card-inner{
    padding:18px 14px 16px;
    border-radius:18px;
    box-shadow:0 10px 28px rgba(28,49,91,.07);
  }
  .vrgc-card-title{
    margin:0 auto 12px;
    font-size:18px;
    line-height:1.22;
  }
  .vrgc-card-image{
    min-height:0;
    margin:0 0 12px;
  }
  .vrgc-card-image img{
    width:auto;
    max-width:92%;
    max-height:205px;
    border-radius:10px;
  }

  .vrgc-list{
    gap:0;
  }
  .vrgc-list li{
    min-height:22px;
    padding:10px 0 10px 30px;
    border-bottom:1px solid #edf1f7;
    font-size:13px;
    line-height:1.28;
  }
  .vrgc-list li:last-child{border-bottom:0}
  .vrgc-list li:before{
    top:10px;
    width:18px;
    height:18px;
    font-size:11px;
    line-height:18px;
  }

  .vrgc-more{
    margin-top:8px;
    padding:8px;
    font-size:14px;
  }

  .vrgc-actions{margin-top:14px}
  .vrgc-button{
    min-height:48px;
    border-radius:13px;
    font-size:16px;
  }
}

@media(max-width:380px){
  .vrgc-wrap{padding-left:10px;padding-right:10px}
  .vrgc-title{font-size:27px!important}
  .vrgc-tab{font-size:12px}
  .vrgc-tab-icon{font-size:14px}
  .vrgc-card-title{font-size:17px}
}
