:root{
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0b1f33;
  --muted: rgba(11,31,51,.72);
  --muted2: rgba(11,31,51,.56);
  --line: rgba(11,31,51,.14);
  --blue: #0b57d0;
  --blue2: #0b66f5;
  --green: #0aa35c;
  --radius: 14px;
  --shadow: 0 0 0 rgba(0,0,0,0);
  --shadow2: 0 0 0 rgba(0,0,0,0);
  --container: 1120px;
  --pad: 16px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

a{ color: inherit; }

.container{
  width: min(var(--container), calc(100% - 2*var(--pad)));
  margin: 0 auto;
}

.section{
  padding: 26px 0;
}
.section-soft{
  background: #ffffff;
  border-top: 1px solid rgba(11,31,51,.08);
  border-bottom: 1px solid rgba(11,31,51,.08);
}
.h2{
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 26px);
}
.h3{
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-weight: 600;
  font-size: 18px;
}

.skip{
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  border-radius: 12px;
  z-index: 50;
}
.skip:focus{ left: 10px; }

.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245,247,251,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,31,51,.08);
}

.header-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}
.brand-mark{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue);
  border: 0;
}
.brand-title{
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 15px;
}
.brand-sub{
  font-size: 12px;
  color: var(--muted2);
}

.header-actions{
  display: none;
  gap: 14px;
  align-items: center;
}
.mini-link{
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
}
.mini-link:hover{
  background: rgba(11,31,51,.05);
  color: rgba(11,31,51,.92);
}

.hero{
  padding: 22px 0 28px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.hero-left{ max-width: 720px; }

.hero-badge{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 12.5px;
}

.hero-title{
  margin: 12px 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 600;
  font-size: clamp(24px, 4.1vw, 40px);
}
.hero-subtitle{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.45;
}

.price{
  padding: 12px 0;
  border-top: 1px solid rgba(11,31,51,.10);
  border-bottom: 1px solid rgba(11,31,51,.10);
  margin: 10px 0 14px;
}
.price-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.price-label{
  color: var(--muted);
  font-weight: 500;
}
.price-value{
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.price-note{
  color: rgba(11,31,51,.82);
  font-weight: 500;
  font-size: 13.5px;
  margin-top: 4px;
}

.cta-block{
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}
.cta-title{
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.cta-buttons{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 12px;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(11,31,51,.14);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover{ background: rgba(11,31,51,.03); }
.btn:active{ transform: translateY(0); }
.btn-ic{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(11,31,51,.04);
  border: 1px solid rgba(11,31,51,.10);
  font-size: 11px;
  font-weight: 700;
}
.btn-whatsapp{
  background: #ffffff;
  color: var(--text);
  border-color: rgba(11,31,51,.14);
}
.btn-telegram{
  background: var(--blue);
  color: #fff;
  border-color: rgba(11,87,208,.25);
}
.btn-telegram:hover{ filter: brightness(0.98); }
.btn-telegram .btn-ic{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.btn-max{
  background: #ffffff;
  color: var(--text);
  border-color: rgba(11,31,51,.14);
}
.cta-hint{
  margin-top: 8px;
  color: var(--muted2);
  font-size: 12.5px;
  line-height: 1.35;
}

.trust{
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.trust-item{
  color: rgba(11,31,51,.86);
  font-weight: 500;
}

.hero-side{
  background: #fff;
  border: 1px solid rgba(11,31,51,.10);
  border-radius: 14px;
  padding: 14px;
}
.side-title{
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  font-size: 16px;
}
.pain-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(11,31,51,.86);
  line-height: 1.5;
}
.side-note{
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.grid-cats{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.cat{
  background: #fff;
  border: 1px solid rgba(11,31,51,.10);
  border-radius: 14px;
  padding: 14px;
}
.cat-top{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.cat-emoji{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(11,31,51,.04);
  border: 1px solid rgba(11,31,51,.08);
  font-size: 18px;
}
.cat-title{
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cat-text{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.two-col{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.steps{
  margin: 0;
  padding-left: 18px;
  color: rgba(11,31,51,.86);
  line-height: 1.55;
}
.steps li{ margin: 6px 0; }

.timeline{
  margin-top: 6px;
  display: grid;
  gap: 12px;
}
.t-step{
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}
.t-num{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(11,87,208,.08);
  border: 1px solid rgba(11,87,208,.18);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.t-body{
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(11,31,51,.08);
}
.t-step:last-child .t-body{
  border-bottom: 0;
  padding-bottom: 0;
}
.t-title{
  font-weight: 600;
  letter-spacing: -0.01em;
}
.t-text{
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.contact-panel{
  background: transparent;
}
.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.contact-card{
  background: #fff;
  border: 1px solid rgba(11,31,51,.10);
  border-radius: 16px;
  padding: 14px;
}
.contact-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.contact-ic{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11,31,51,.10);
  background: rgba(11,31,51,.04);
  color: var(--blue);
}
.contact-ic--tg{
  color: #1f8fe6;
  background: rgba(31,143,230,.10);
  border-color: rgba(31,143,230,.18);
}
.contact-ic--wa{
  color: #15a35a;
  background: rgba(21,163,90,.10);
  border-color: rgba(21,163,90,.18);
}
.contact-title{
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contact-sub{
  margin-top: 3px;
  color: var(--muted);
  font-size: 13.5px;
}
.contact-btn{
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border-radius: 12px;
  border: 2px solid rgba(31,143,230,.25);
  background: rgba(31,143,230,.06);
  color: #0b57d0;
  text-decoration: none;
  font-weight: 600;
}
.contact-btn:hover{ background: rgba(31,143,230,.09); }
.contact-btn--wa{
  border-color: rgba(21,163,90,.25);
  background: rgba(21,163,90,.06);
  color: #0a7d42;
}
.contact-btn--wa:hover{ background: rgba(21,163,90,.09); }
.contact-note{
  margin-top: 10px;
  color: var(--muted2);
  font-size: 12.5px;
  line-height: 1.35;
}

@media (min-width: 860px){
  :root{ --pad: 20px; }
  .header-actions{ display: inline-flex; }
  .hero{ padding: 30px 0 38px; }
  .hero-grid{
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
  }
  .cta-buttons{ grid-template-columns: 1fr 1fr; }
  .trust{ grid-template-columns: 1fr 1fr; gap: 8px 14px; }

  .section{ padding: 34px 0; }
  .grid-cats{ grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .two-col{ grid-template-columns: 1.05fr .95fr; gap: 20px; }
  .contact-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }
  .t-step{ grid-template-columns: 36px 1fr; }
  .t-num{ width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; }
}

/* Modal (frontend-only) */

.ostav {
  font-size: 14px;
  text-align: center;
  margin-top: 5px;
  display: block;
}

.modal{
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
}
.modal.is-open{ display: flex; }
.modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 51, .42);
}
.modal__dialog{
  position: relative;
  width: min(540px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(11,31,51,.10);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(11,31,51,.18);
  animation: modalIn .14s ease-out;
}
.modal__title{ margin-bottom: 8px; }
.modal__subtitle{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(11,31,51,.12);
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: rgba(11,31,51,.72);
}
.modal__close:hover{ background: rgba(11,31,51,.03); }
.modal__form{ display: grid; gap: 10px; }

.modal .field{
  display: grid;
  gap: 6px;
}
.modal .label{
  font-size: 13px;
  color: var(--muted);
}
.modal .input{
  width: 100%;
  padding: 11px 12px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(11,31,51,.18);
  background: #fff;
  color: var(--text);
  font: inherit;
}
.modal .input:focus{
  outline: none;
  border-color: rgba(11,87,208,.45);
  box-shadow: 0 0 0 3px rgba(11,87,208,.12);
}
.modal .form-hint{
  color: var(--muted2);
  font-size: 12.5px;
  line-height: 1.35;
}
.modal .btn-primary{
  background: var(--blue);
  color: #fff;
  border-color: rgba(11,87,208,.25);
}
.modal .btn-primary:hover{ filter: brightness(0.98); }

.help{
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted2);
  line-height: 1.35;
}

.seg{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.seg__item{ display: contents; }
.seg__input{ position: absolute; opacity: 0; pointer-events: none; }
.seg__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11,31,51,.14);
  background: #fff;
  color: rgba(11,31,51,.88);
  font-weight: 600;
  user-select: none;
  cursor: pointer;
}
.seg__btn:hover{ background: rgba(11,31,51,.03); }
.seg__input:focus-visible + .seg__btn{
  outline: none;
  box-shadow: 0 0 0 3px rgba(11,87,208,.12);
  border-color: rgba(11,87,208,.35);
}
.seg__input:checked + .seg__btn{
  border-color: rgba(11,87,208,.35);
  background: rgba(11,87,208,.06);
  color: var(--blue);
}

.modal__submit{
  width: 100%;
  justify-content: center;
}

body.modal-lock{ overflow: hidden; }

@keyframes modalIn{
  from{ transform: translateY(6px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}

@media (min-width: 860px){
  :root{ --pad: 20px; }
  .header-actions{ display: inline-flex; }
  .hero{ padding: 30px 0 38px; }
  .hero-grid{
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
  }
  .cta-buttons{ grid-template-columns: 1fr 1fr; }
  .trust{ grid-template-columns: 1fr 1fr; gap: 8px 14px; }

  .section{ padding: 34px 0; }
  .grid-cats{ grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .two-col{ grid-template-columns: 1.05fr .95fr; gap: 20px; }
  .contact-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }
  .t-step{ grid-template-columns: 36px 1fr; }
  .t-num{ width: 36px; height: 36px; }
  .modal__dialog{ padding: 20px; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; }
}

