/* Opslane Static Site — v1
   Palette based on logo: #41A1E0, #6DD3F8, #164784, Ink #0C101C
*/
:root{
  --bg:#F6F8FC;
  --card:#FFFFFF;
  --line:#DBE2F0;
  --muted:#707C96;
  --ink:#0C101C;
  --deep:#164784;
  --blue:#41A1E0;
  --cyan:#6DD3F8;

  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:16px;
  --shadow: 0 14px 36px rgba(12,16,28,.10);
  --shadow-soft: 0 10px 26px rgba(12,16,28,.08);

  --container:1200px;
  --pad:24px;
  --pad-lg:32px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.35;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
p{margin:0 0 12px}
h1,h2,h3{margin:0}
.small{font-size:14px; color:var(--muted)}
.muted{color:var(--muted)}
.container{
  width:min(var(--container), calc(100% - 48px));
  margin-inline:auto;
}
.spacer-8{height:8px}
.spacer-12{height:12px}
.spacer-16{height:16px}
.spacer-24{height:24px}
.spacer-32{height:32px}
.spacer-48{height:48px}
.spacer-64{height:64px}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
}
.card.pad{padding:var(--pad-lg)}
.card.pad-md{padding:var(--pad)}
.row{display:flex; gap:24px}
.col{flex:1}

.grid{display:grid; gap:24px}
.grid-3{grid-template-columns:repeat(3, 1fr)}
.grid-2{grid-template-columns:repeat(2, 1fr)}
.grid-4{grid-template-columns:repeat(4, 1fr)}

.badges{display:flex; flex-wrap:wrap; gap:10px}
.badge{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(65,161,224,.10);
  color:var(--deep);
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:600;
}

.kpi{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
}
.kpi .item{
  min-width:220px;
}
.kpi .label{
  font-size:12px;
  color:var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
}
.kpi .value{
  font-size:22px;
  font-weight:800;
  margin-top:6px;
}

.section-title{
  font-size:40px;
  letter-spacing:-.02em;
}
.section-sub{
  margin-top:10px;
  font-size:18px;
  color:var(--muted);
  max-width:820px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:52px;
  padding:0 18px;
  border-radius:16px;
  border:2px solid transparent;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
  user-select:none;
}
.btn.primary{
  color:var(--ink);
  background:linear-gradient(180deg, var(--blue), var(--cyan));
  box-shadow:0 14px 32px rgba(65,161,224,.22);
}
.btn.primary:hover{transform:translateY(-1px)}
.btn.ghost{
  border-color:var(--line);
  background:transparent;
}
.btn.ghost:hover{border-color:rgba(65,161,224,.55)}
.btn.dark{
  color:#fff;
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.24);
}
.btn.dark:hover{background:rgba(255,255,255,.18)}
.btn-row{display:flex; gap:14px; flex-wrap:wrap}

.chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(65,161,224,.10);
  border:1px solid var(--line);
  color:var(--deep);
  font-weight:700;
  font-size:14px;
}

.chip:hover{filter: brightness(0.98); text-decoration:none;}
.chip.active{background:rgba(65,161,224,.18); border-color:rgba(65,161,224,.45);}


.navbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  height:80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:180px;
}
.brand img{height:40px; width:auto}
.nav{
  display:flex;
  gap:18px;
  align-items:center;
  font-weight:700;
  color:rgba(12,16,28,.85);
}
.nav a{
  padding:10px 10px;
  border-radius:12px;
}
.nav a.active{color:var(--deep); position:relative}
.nav a.active:after{
  content:"";
  position:absolute;
  left:10px; right:10px;
  bottom:6px;
  height:4px;
  border-radius:999px;
  background:var(--blue);
}
.nav-cta{display:flex; align-items:center; gap:12px}
.burger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.burger span{
  width:18px; height:2px;
  background:var(--ink);
  position:relative;
  display:block;
}
.burger span:before,.burger span:after{
  content:"";
  position:absolute;
  left:0;
  width:18px; height:2px;
  background:var(--ink);
}
.burger span:before{top:-6px}
.burger span:after{top:6px}

.mobile{
  display:none;
  padding:14px 0 22px;
}
.mobile a{
  display:block;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  margin:10px 0;
  font-weight:800;
}
.mobile .actions{
  display:flex; gap:12px; flex-wrap:wrap;
}

.hero{
  margin-top:22px;
}
.hero-card{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:24px;
  padding:32px;
}
.hero h1{
  font-size:56px;
  letter-spacing:-.03em;
  line-height:1.05;
}
.hero .lead{
  margin-top:16px;
  font-size:18px;
  color:var(--muted);
  max-width:720px;
}
.side-panel{
  background:radial-gradient(1200px 520px at 20% 10%, rgba(109,211,248,.25), transparent 60%),
             radial-gradient(900px 440px at 70% 30%, rgba(65,161,224,.26), transparent 55%),
             var(--ink);
  border-radius:26px;
  padding:22px;
  color:#F0F4FF;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:var(--shadow);
}
.side-panel h3{font-size:20px; margin-bottom:14px}
.side-list{display:grid; gap:12px}
.side-item{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  border-radius:18px;
  padding:14px 14px;
}
.side-item .t{font-weight:900}
.side-item .s{font-size:14px; color:rgba(235,245,255,.72); margin-top:4px}

.strip{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  justify-content:space-between;
  padding:18px 22px;
  border-radius:22px;
}
.strip .item{min-width:240px}
.strip .label{
  font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted); font-weight:800;
}
.strip .value{font-size:22px; font-weight:900; margin-top:6px}

.service-card{
  padding:22px;
  display:flex;
  flex-direction:column;
  height:100%;
}
.service-card h4{font-size:20px; font-weight:900}
.service-card p{margin-top:10px; color:var(--muted)}
.service-card .meta{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

/* Blog cards: keep 'Читать' aligned */
.post-grid .meta{margin-top:auto; display:flex; align-items:flex-end; gap:12px}
.post-grid .meta .tags{display:flex; flex-wrap:wrap; gap:8px; flex:1; min-width:0}
.post-grid .meta .read-more{white-space:nowrap; margin-left:auto}

.link{color:var(--deep); font-weight:900}

.case-card{
  padding:18px;
  display:flex;
  flex-direction:column;
  height:100%;
}
.case-card .tag{
  background:rgba(65,161,224,.10);
  border-radius:18px;
  padding:16px;
  border:1px solid transparent;
}
.case-card h4{font-size:20px; margin-top:12px; font-weight:900}
.case-card .metric{font-size:28px; font-weight:1000; color:var(--deep); margin-top:12px}
.case-card p{margin-top:8px; color:var(--muted)}

.case-card .link{margin-top:auto; padding-top:12px}

/* pricing cards alignment (services pages reuse .plan outside .pricing) */
.plan{padding:22px; display:flex; flex-direction:column; height:100%}
.plan .btn{margin-top:auto}

.steps{display:grid; gap:16px}
.step{
  display:flex; gap:18px; align-items:flex-start;
  padding:18px 18px;
}
.step .n{
  font-weight:1000;
  font-size:22px;
  color:var(--blue);
  min-width:70px;
}
.step .t{font-weight:1000; font-size:18px}
.step .s{margin-top:6px; color:var(--muted); font-size:14px}

.plan .name{font-size:26px; font-weight:1000}
.plan .dur{margin-top:10px}
.plan .desc{margin-top:10px; color:var(--muted)}
.plan .price{margin-top:14px; font-size:28px; font-weight:1000; color:var(--blue)}

.cta{
  margin-top:18px;
  background:radial-gradient(1200px 520px at 20% 10%, rgba(109,211,248,.25), transparent 60%),
             radial-gradient(900px 440px at 70% 30%, rgba(65,161,224,.26), transparent 55%),
             var(--ink);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  padding:34px;
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
}

/* Consent checkbox under forms */
.consent{display:flex; gap:10px; align-items:flex-start; line-height:1.35}
.consent input{margin-top:3px}
.consent a{color:inherit; text-decoration:underline; text-underline-offset:3px}
.consent a:hover{opacity:.85}

/* Chips active state (filters) */
.chip.active{background:rgba(65,161,224,.16); border-color:rgba(65,161,224,.22)}
.cta h2{font-size:40px; letter-spacing:-.02em}
.cta p{margin-top:12px; color:rgba(235,245,255,.72); font-size:18px}
.field{
  width:100%;
  height:52px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.12);
  color:#fff;
  padding:0 14px;
  outline:none;
}
.field::placeholder{color:rgba(235,245,255,.62)}
.cta .form{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:18px;
}
.cta .form .field{flex:1; min-width:240px}

.footer{
  margin-top:64px;
  background:var(--ink);
  color:#fff;
  padding:48px 0;
}
.footer .grid{
  gap:18px;
}
.footer .muted{color:rgba(235,245,255,.66)}
.footer a{color:#fff; text-decoration:underline; text-decoration-color:rgba(255,255,255,.22)}
.footer a:hover{text-decoration-color:rgba(255,255,255,.45)}

.breadcrumb{color:var(--muted); font-size:14px; margin-bottom:14px}
.page-hero{
  padding:32px;
}
.page-hero h1{font-size:56px; line-height:1.05; letter-spacing:-.03em}
.page-hero .lead{margin-top:14px; font-size:18px; color:var(--muted); max-width:860px}

.form-card{padding:24px}
.input{
  width:100%;
  height:52px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  padding:0 14px;
  outline:none;
}
textarea.input{height:120px; padding:12px 14px; resize:vertical}
label{display:block; font-size:14px; color:var(--muted); font-weight:800; margin-bottom:8px}
.form-grid{display:grid; gap:16px}

.hr{height:1px; background:var(--line); margin:24px 0}

/* Responsive */
@media (max-width: 1080px){
  .hero-card{grid-template-columns:1fr; }
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .grid-4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 860px){
  .brand img{height:46px; width:auto}

  .nav{display:none}
  .nav-cta{display:none}
  .burger{display:flex}
  .mobile.open{display:block}
  .hero h1, .page-hero h1{font-size:40px}
  .section-title{font-size:30px}
  .grid-3, .grid-2, .grid-4{grid-template-columns:1fr}
  .strip .item{min-width:unset; width:100%}
  .row{flex-direction:column}
}



/* ===== v2 upgrades: hero carousel + denser layout ===== */
.brand{
  gap:10px;
  min-width:unset;
}
.brand .logo-badge{
  display:flex;
  align-items:center;
  padding:0;
  border-radius:0;
  background:transparent;
  border:none;
  box-shadow:none;
  backdrop-filter:none;
}
.brand img{
  height:42px;
  width:auto;
}

/* Logo variants */
.brand img.light-logo{display:block}
.brand img.dark-logo{display:none}
.navbar.light .brand img.light-logo{display:block}
.navbar.light .brand img.dark-logo{display:none}
.navbar.dark .brand img.light-logo{display:none}
.navbar.dark .brand img.dark-logo{display:block}

.navbar{
  background:rgba(246,248,252,.70);
}
.navbar .nav a{font-weight:900}
.navbar .nav-cta{gap:10px}

/* Hero slider */
.hero-slider{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-xl);
  border:1px solid var(--line);
  background:
    radial-gradient(900px 420px at 12% 10%, rgba(109,211,248,.32), transparent 55%),
    radial-gradient(900px 520px at 70% 30%, rgba(65,161,224,.28), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.86));
  box-shadow: var(--shadow);
}
.hero-slider .track{
  display:flex;
  width:100%;
  transition: transform .55s cubic-bezier(.2,.9,.2,1);
}
.slide{
  min-width:100%;
  padding:34px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:stretch;
}
.slide h1{
  font-size:56px;
  letter-spacing:-.03em;
  line-height:1.04;
  margin:0;
}
.slide .lead{
  margin-top:14px;
  font-size:18px;
  color:var(--muted);
  max-width:720px;
}
.slide .bullets{
  margin-top:16px;
  display:grid;
  gap:10px;
}
.bullet{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:rgba(12,16,28,.88);
  font-weight:800;
}
.bullet:before{
  content:"";
  width:10px; height:10px;
  margin-top:6px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--blue), var(--cyan));
  box-shadow:0 8px 16px rgba(65,161,224,.18);
}
.slide .side{
  border-radius:26px;
  background:radial-gradient(900px 420px at 20% 10%, rgba(109,211,248,.22), transparent 60%),
             radial-gradient(700px 420px at 70% 30%, rgba(65,161,224,.22), transparent 55%),
             var(--ink);
  border:1px solid rgba(255,255,255,.10);
  padding:22px;
  color:#F0F4FF;
}
.slide .side h3{margin:0; font-size:20px}
.slide .side .mini{
  margin-top:12px;
  display:grid;
  gap:12px;
}
.slide .side .mini .box{
  padding:14px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
}
.slide .side .mini .box .t{font-weight:1000}
.slide .side .mini .box .s{font-size:14px;color:rgba(235,245,255,.72); margin-top:4px}
.slide .mock{
  margin-top:14px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
}
.slide .mock img{width:100%; height:auto; opacity:.96}

.slider-ui{
  position:absolute;
  left:18px; right:18px;
  bottom:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.dots{
  display:flex;
  gap:8px;
  align-items:center;
}
.dot{
  width:10px; height:10px;
  border-radius:999px;
  border:1px solid rgba(12,16,28,.18);
  background:rgba(255,255,255,.72);
  cursor:pointer;
  transition:.18s ease;
}
.dot.active{
  width:26px;
  background:linear-gradient(180deg, var(--blue), var(--cyan));
  border-color:rgba(65,161,224,.35);
}
.arrows{display:flex; gap:10px}
.arrow{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(12,16,28,.10);
  background:rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.18s ease;
}
.arrow:hover{transform:translateY(-1px)}
.arrow svg{width:18px;height:18px}

.hero-underbar{
  margin-top:16px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.hero-underbar .tag{
  padding:10px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.75);
  font-weight:900;
  color:rgba(12,16,28,.86);
}

/* FAQ */
.faq{
  display:grid; gap:14px;
}
.faq-item{
  padding:18px;
  border-radius:22px;
}
.faq-q{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  cursor:pointer;
  font-weight:1000;
}
.faq-a{display:none; margin-top:10px; color:var(--muted)}
.faq-item.open .faq-a{display:block}

/* Logos strip */
.logos{
  display:flex; gap:18px; flex-wrap:wrap; align-items:center;
}
.logo-pill{
  padding:12px 14px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.78);
  font-weight:1000;
  color:rgba(12,16,28,.76);
}

/* Responsive for slider */
@media (max-width: 1080px){
  .slide{grid-template-columns:1fr}
  .slide h1{font-size:42px}
}
@media (max-width: 860px){
  .brand img{height:46px; width:auto}

  .slide{padding:22px}
  .slide h1{font-size:34px}
  .slider-ui{left:14px; right:14px}
}

.form-msg{margin-top:10px;font-weight:900}
.form-msg.ok{color:#164784}
.form-msg.err{color:#B42318}

/* Forms validation */
.input, .field{transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;}
.input.is-invalid, .field.is-invalid{
  border-color: rgba(180,35,24,.55) !important;
  box-shadow: 0 0 0 4px rgba(180,35,24,.14) !important;
}
.helper{font-size:13px;color:rgba(12,16,28,.62);margin-top:6px}

/* Mobile polish */
@media (max-width: 620px){
  .navbar .nav-cta{display:none}
  .brand img{height:42px}
  .slide{padding:18px}
  .hero-underbar .tag{font-size:13px;padding:8px 10px}
  .kpi .item .value{font-size:26px}
  .grid.grid-3{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .footer .grid{grid-template-columns:1fr}
}

.form-error{
  margin-top:0;
  padding:0;
  border-radius:14px;
  background:rgba(180,35,24,.06);
  border:1px solid transparent;
  color:rgba(180,35,24,.92);
  font-weight:800;
  display:block;
  opacity:0;
  max-height:0;
  overflow:hidden;
  transform:translateY(-6px);
  transition:opacity .18s ease, transform .18s ease, max-height .26s ease, padding .26s ease, margin-top .26s ease, border-color .26s ease;
}
.form-error.is-show{
  opacity:1;
  transform:translateY(0);
  max-height:160px;
  padding:10px 12px;
  margin-top:10px;
  border-color:rgba(180,35,24,.22);
}
.form-error.is-bump{ animation: opslaneBump .36s ease; }
@keyframes opslaneBump{
  0%{ transform:translateY(-6px); }
  45%{ transform:translateY(0); }
  70%{ transform:translateY(-2px); }
  100%{ transform:translateY(0); }
}

.captcha-note-wrap{
  margin-top:10px;
  width:100%;
  display:flex;
  justify-content:flex-start;
}
.captcha-note{
  margin-top:0;
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:100%;
  font-size:12px;
  line-height:1.35;
  letter-spacing:.01em;

  padding:7px 10px;
  border-radius:14px;
  border:1px solid rgba(12,16,28,.12);
  background:rgba(12,16,28,.04);
  color:rgba(12,16,28,.66);
}
.captcha-note::before{
  content:"";
  width:14px;
  height:14px;
  display:inline-block;
  opacity:.85;
  background:currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2l7 4v6c0 5-3 9-7 10C8 21 5 17 5 12V6l7-4zm0 4.1L7 8.2V12c0 3.9 2.3 7.1 5 8 2.7-.9 5-4.1 5-8V8.2l-5-2.1zm0 4.9a2 2 0 0 1 2 2v2h1v2H9v-2h1v-2a2 2 0 0 1 2-2zm0 2a0.9 0.9 0 0 0-.9.9V15h1.8v-1.1A0.9 0.9 0 0 0 12 13z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2l7 4v6c0 5-3 9-7 10C8 21 5 17 5 12V6l7-4zm0 4.1L7 8.2V12c0 3.9 2.3 7.1 5 8 2.7-.9 5-4.1 5-8V8.2l-5-2.1zm0 4.9a2 2 0 0 1 2 2v2h1v2H9v-2h1v-2a2 2 0 0 1 2-2zm0 2a0.9 0.9 0 0 0-.9.9V15h1.8v-1.1A0.9 0.9 0 0 0 12 13z'/></svg>") no-repeat center / contain;
}
.captcha-note a{ color:inherit; text-decoration:none; opacity:.9; }
.captcha-note a:hover{ text-decoration:underline; opacity:1; }

/* On dark CTA backgrounds: readable + premium */
.cta .captcha-note{
  border-color:rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.82);
}



.breadcrumbs{font-weight:900;color:rgba(12,16,28,.62)}
.breadcrumbs a{color:rgba(12,16,28,.72);text-decoration:none}
.breadcrumbs a:hover{text-decoration:underline}
.breadcrumbs span{color:rgba(12,16,28,.84)}

.form-label{font-size:13px;font-weight:900;color:rgba(12,16,28,.72);margin-top:6px}

textarea.field{height:110px;padding:12px 14px;resize:vertical}

.opslane-modal .field{background:#fff;color:#0C101C}
.opslane-modal .field::placeholder{color:rgba(12,16,28,.45)}


/* Modal inputs readability */
.opslane-modal .field,
.opslane-modal textarea.field{
  background:#fff !important;
  color:#0C101C !important;
  border:1px solid rgba(12,16,28,.18) !important;
}
.opslane-modal .field::placeholder,
.opslane-modal textarea.field::placeholder{
  color:rgba(12,16,28,.45) !important;
}


/* Invisible SmartCaptcha container (offscreen) */
#opslane-captcha-container{position:fixed;left:-9999px;top:-9999px;width:1px;height:1px;overflow:hidden;}

.input.is-invalid.is-bump, .field.is-invalid.is-bump{animation: opslaneFieldBump .32s ease;}
@keyframes opslaneFieldBump{0%{transform:translateX(0)}25%{transform:translateX(-2px)}50%{transform:translateX(2px)}75%{transform:translateX(-1px)}100%{transform:translateX(0)}}


/* ----------------------------
   v2 polish: layout, hooks, footer, steps
---------------------------- */

.page-hero.hero-split{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:24px;
  align-items:stretch;
}
.hero-bg{
  background:
    radial-gradient(900px 420px at 12% 10%, rgba(109,211,248,.32), transparent 55%),
    radial-gradient(900px 520px at 70% 30%, rgba(65,161,224,.26), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
}
.hero-aside .aside-card{
  background: rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  padding:22px;
  box-shadow:var(--shadow-soft);
}
.hero-aside .aside-title{
  font-size:20px;
  font-weight:1000;
  letter-spacing:-.01em;
}
.hero-aside .mock{
  border-radius:var(--radius-xl);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}

.hero-aside .mock-ui{
  border-radius:var(--radius-xl);
  border:1px solid var(--line);
  background: rgba(255,255,255,.68);
  box-shadow:var(--shadow-soft);
  padding:18px;
}
.mock-ui-top{ display:flex; gap:8px; flex-wrap:wrap; }
.mock-ui-card{
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(11,25,44,.03);
  padding:14px;
}
.mock-ui-row{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap:10px; }
.mock-ui-kpi{
  height:44px;
  border-radius:14px;
  border:1px solid rgba(22,71,132,.18);
  background: linear-gradient(135deg, rgba(65,161,224,.16), rgba(65,161,224,.04));
}
.mock-ui-line{
  height:10px;
  border-radius:999px;
  border:1px solid rgba(22,71,132,.12);
  background: rgba(11,25,44,.04);
  margin-top:10px;
}
.mock-ui-line.short{ width:72%; }

.hook-card{
  padding:22px;
  position:relative;
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.hook-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.hook-top h3{ margin:10px 0 0; font-size:18px; line-height:1.2; }
.hook-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(65,161,224,.10);
  color:var(--deep);
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:800;
}

.form-inline{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.form-inline .field{
  flex:1;
  min-width: 180px;
  height:48px;
}
.form-inline .btn{ height:48px; }

.list{ display:grid; gap:10px; }
.li{
  padding-left:22px;
  position:relative;
  color:var(--muted);
}
.li:before{
  content:"";
  width:10px; height:10px;
  border-radius:999px;
  background:rgba(65,161,224,.25);
  border:1px solid rgba(22,71,132,.24);
  position:absolute;
  left:0; top:6px;
}

.steps{ gap:14px; }
.step{
  padding:16px 16px 16px 18px;
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  background:rgba(255,255,255,.75);
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.step-dot{
  width:10px; height:10px;
  border-radius:999px;
  margin-top:6px;
  background:var(--blue);
  box-shadow:0 0 0 6px rgba(65,161,224,.12);
  flex:none;
}
.step-text{ font-size:14px; line-height:1.35; }

.plan.featured{
  border-color: rgba(65,161,224,.45);
  box-shadow: var(--shadow);
  position:relative;
}
.plan.featured:before{
  content:"Рекомендуем";
  position:absolute;
  top:14px;
  right:14px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(65,161,224,.14);
  border:1px solid rgba(65,161,224,.26);
  color:var(--deep);
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap:24px;
}
.footer-links{ display:grid; gap:10px; }
.footer-title{ margin:0; }

.faq{ display:grid; gap:10px; }
.faq-item{
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:14px 16px;
  background:rgba(255,255,255,.75);
}
.faq-item summary{
  cursor:pointer;
  font-weight:900;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-body{ margin-top:10px; color:var(--muted); }

@media (max-width: 980px){
  .page-hero.hero-split{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .grid-4{ grid-template-columns: 1fr; }
  .page-hero h1{ font-size:38px; }
}

/* Equal-feel cards (CTA baseline) */
.post-grid .service-card{min-height:340px}
.case-grid .case-card{min-height:320px}
