/* ===== Опа Диплом! Город Брянск — дизайн 2026 ===== */
:root{
  --navy:#102c50;
  --navy-deep:#0d2b4e;
  --blue:#1d6fd0;
  --blue-soft:#e8f3fc;
  --green:#5aa81f;
  --green-dark:#3f8b16;
  --orange:#f4791f;
  --orange-light:#ff9a3c;
  --text:#22364d;
  --muted:#5b7085;
  --line:#e2ecf6;
  --bg:#f4f9fd;
  --white:#fff;
  --radius:18px;
  --shadow:0 8px 28px rgba(16,44,80,.08);
  --shadow-soft:0 4px 16px rgba(16,44,80,.06);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;display:flex;flex-direction:column;min-height:100vh;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  font-size:16px;
  line-height:1.65;
  overflow-x:hidden;
}
body>*{flex:0 0 auto;width:100%}
main{flex:1 0 auto}
noindex{display:block}
.calc-body noindex{width:100%;align-self:stretch}
img{max-width:100%;height:auto}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
button{font-family:inherit}
.container{width:100%;max-width:1240px;margin:0 auto;padding:0 20px}
@media (max-width:600px){.container{padding:0 14px}}

/* ---------- Кнопки ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border:0;cursor:pointer;font-weight:600;line-height:1.2;
  padding:15px 30px;border-radius:999px;font-size:16px;text-decoration:none;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--orange-light),var(--orange));
  box-shadow:0 12px 26px rgba(244,121,31,.34);
  padding:15px 30px;font-size:16px;
}
.btn-primary svg{width:20px;height:20px;flex:0 0 auto}

/* ---------- Хедер ---------- */
.site-header{
  position:sticky;top:0;z-index:60;
  background:#eaf4fd;
  transition:box-shadow .2s ease;
}
.site-header.is-scrolled{box-shadow:0 6px 20px rgba(16,44,80,.10)}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:14px 0 12px;
}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
.logo:hover{text-decoration:none}
.logo-icon{width:38px;height:38px;flex:0 0 auto}
.logo-text{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;font-size:23px;font-weight:800;letter-spacing:-.2px;color:var(--navy)}
.logo-city{color:var(--blue);font-weight:700}
.header-contacts{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.phone-link{display:inline-flex;align-items:center;gap:8px;color:var(--navy);font-size:21px;font-weight:800;text-decoration:none;white-space:nowrap}
.phone-link:hover{text-decoration:none;color:var(--blue)}
.phone-link svg{width:18px;height:18px;fill:var(--navy)}
.phone-sub{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;
  background:rgba(29,111,208,.08);color:var(--blue);font-size:12px;font-weight:600;letter-spacing:.1px;
  text-decoration:none;cursor:pointer;white-space:nowrap;transition:background .15s ease}
.phone-sub:hover{background:rgba(29,111,208,.16);text-decoration:none}
.burger{
  display:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);
  background:#fff;align-items:center;justify-content:center;cursor:pointer;
}
.burger span{display:block;width:20px;height:2px;background:var(--navy);position:relative}
.burger span::before,.burger span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--navy)}
.burger span::before{top:-6px}
.burger span::after{top:6px}

/* ---------- Меню ---------- */
.main-nav{
  background:linear-gradient(90deg,#5aa81f,#3f8b16);
  border-radius:999px;
  margin:0 auto;
  box-shadow:0 8px 20px rgba(63,139,22,.18);
}
.main-nav .container{padding:0 10px}
.nav-list{
  list-style:none;margin:0;padding:0;
  display:flex;align-items:center;justify-content:space-between;gap:4px;
}
.nav-list li{flex:1 1 auto;text-align:center}
.nav-list a{
  display:block;padding:14px 8px;color:#fff;font-size:12px;font-weight:700;
  letter-spacing:.6px;text-transform:uppercase;text-decoration:none;white-space:nowrap;
}
.nav-list a:hover{text-decoration:none;background:rgba(255,255,255,.12);border-radius:999px}
.nav-list .nav-cta{flex:0 0 auto;padding:4px}
.nav-list .nav-cta a{
  background:linear-gradient(135deg,#ff9a3c,#f06c11);
  border-radius:999px;padding:11px 26px;
  box-shadow:0 6px 14px rgba(240,108,17,.30);
}
.nav-list .nav-cta a:hover{background:linear-gradient(135deg,#ffab55,#f4791f)}

/* ---------- Герой ---------- */
.hero{
  background:#eaf4fd;
  border-radius:0 0 24px 24px;
  margin:0 auto;
  overflow:visible;
}
.hero-inner{
  display:grid;grid-template-columns:1fr 1.02fr;gap:20px;align-items:center;
  padding-top:2px;padding-bottom:14px;
}
.hero-title{
  display:block;margin:0 0 10px;font-size:36px;line-height:1.12;font-weight:800;color:var(--navy);
  letter-spacing:-.8px;max-width:470px;
}
.hero-lead{margin:0 0 18px;font-size:16px;line-height:1.5;color:var(--muted);max-width:410px}
.hero-cta-row{position:relative;display:inline-flex;align-items:center}
.hero-arrow{
  position:absolute;left:-78px;top:-2px;width:70px;height:56px;pointer-events:none;
}
.hero-legal{margin-top:14px;max-width:440px}
.hero-legal .checkbox-legal{
  display:flex !important;align-items:flex-start;gap:9px;
  margin:0 !important;padding:0 !important;color:var(--muted) !important;
}
.hero-legal .checkbox-legal input{margin-top:2px;width:16px;height:16px;flex:0 0 auto;accent-color:var(--blue)}
.hero-legal .checkbox-label{font-size:12.5px !important;line-height:1.5;text-align:left;color:var(--muted)}
.hero-legal .checkbox-label a{color:var(--blue);text-decoration:underline}
.hero-figure{margin:0;display:flex;justify-content:center;align-items:center}
.hero-figure img{
  width:100%;max-width:560px;border-radius:0;display:block;margin-top:-6px;
}

/* ---------- Блок формы ---------- */
.calc{margin:26px auto 22px;scroll-margin-top:100px}
.calc-card{
  background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);
  padding:28px 24px 22px;display:block;
}
.calc-head{max-width:720px;margin:0 auto 20px;text-align:center}
.calc-head h2{margin:0 0 10px;font-size:26px;line-height:1.25;color:var(--navy)}
.calc-head p{margin:0 0 14px;color:var(--muted);font-size:15px}
.calc-points{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 26px}
.calc-points li{position:relative;padding-left:26px;margin-bottom:0;font-size:15px;color:var(--text)}
.calc-points li::before{
  content:"";position:absolute;left:0;top:6px;width:16px;height:16px;border-radius:50%;
  background:#e6f4d8 url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233f8b16'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.calc-body{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;max-width:620px;margin:0 auto}
.calc-frame-wrap{
  width:100%;max-width:520px;align-self:center;border-radius:16px;overflow:hidden;
  border:1px solid var(--line);background:#fbfdff;
}
.calc-frame-wrap iframe{display:block;width:100%;height:390px;border:0}
.legal_checkbox_vid_1_1{width:100%;max-width:520px;font-size:13px;color:var(--muted)}
.legal_checkbox_vid_1_1 .checkbox-legal{margin:0}
.legal_checkbox_vid_1_1 a{color:var(--blue)}

/* ---------- Полоса преимуществ ---------- */
.benefits{margin:-30px auto 26px;position:relative;z-index:2}
.benefits-list{
  list-style:none;margin:0;padding:8px 6px;
  background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-soft);
  display:grid;grid-template-columns:repeat(5,1fr);
}
.benefit{display:flex;align-items:center;gap:10px;padding:14px 14px;min-width:0}
.benefit+.benefit{border-left:1px solid var(--line)}
.benefit-icon{
  width:44px;height:44px;flex:0 0 auto;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:#eef7e6;
}
.benefit-icon svg{width:24px;height:24px}
.benefit:nth-child(2) .benefit-icon,.benefit:nth-child(4) .benefit-icon{background:#e8f2fd}
.benefit-text{font-size:14px;font-weight:600;color:var(--navy);line-height:1.25}

/* ---------- Сетка контента ---------- */
.page-single{flex:1 0 auto;padding:22px 20px 40px}
.page-grid{
  display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;align-items:start;
  margin:0 auto 26px;
}
.content-col{min-width:0}
.page-title{
  position:relative;margin:6px 0 18px;padding-left:16px;
  font-size:32px;line-height:1.2;font-weight:800;color:var(--navy);letter-spacing:-.3px;
}
.page-title::before{
  content:"";position:absolute;left:0;top:6px;bottom:6px;width:4px;border-radius:3px;
  background:linear-gradient(180deg,#6eb92c,#3f8b16);
}

/* ---------- Контент (.entry) ---------- */
.entry{font-size:16px;color:var(--text)}
.entry p{margin:0 0 14px}
.entry h2{
  position:relative;margin:30px 0 14px;padding-left:16px;
  font-size:26px;line-height:1.25;font-weight:800;color:var(--navy);
}
.entry h2::before{
  content:"";position:absolute;left:0;top:5px;bottom:5px;width:4px;border-radius:3px;
  background:linear-gradient(180deg,#6eb92c,#3f8b16);
}
.entry h3{margin:22px 0 10px;font-size:20px;color:var(--navy);font-weight:700}
.entry h1{font-size:28px;color:var(--navy)}
.entry ul,.entry ol{margin:0 0 16px;padding:0 0 0 4px;list-style:none}
.entry ul li,.entry ol li{position:relative;padding-left:26px;margin-bottom:8px}
.entry ul li::before{
  content:"";position:absolute;left:0;top:7px;width:14px;height:14px;border-radius:50%;
  background:#e6f4d8 url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233f8b16'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/10px no-repeat;
}
.entry ol{counter-reset:li}
.entry ol li{counter-increment:li}
.entry ol li::before{
  content:counter(li);position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;
  background:#e8f2fd;color:var(--blue);font-size:12px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.entry a{color:var(--blue);text-decoration:underline;text-decoration-color:rgba(29,111,208,.35)}
.entry a:hover{text-decoration-color:var(--blue)}
.entry strong,.entry b{color:var(--navy)}
.entry img{border-radius:14px;margin:8px 0}
.entry hr{border:0;border-top:1px solid var(--line);margin:24px 0}
.entry .imgT{display:block;margin:24px 0;padding:0}
.entry .imgT img{display:block;width:100%;max-width:100%;height:auto;margin:0 auto;border-radius:22px}
.entry iframe{max-width:100%;border:0;border-radius:14px}

/* ---------- Карточки услуг (.work) ---------- */
.entry .work{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0 22px}
.entry .work > b{
  grid-column:1/-1;position:relative;display:block;margin:0 0 4px;padding-left:16px;
  font-size:28px;font-weight:800;color:var(--navy);
}
.entry .work > b::before{
  content:"";position:absolute;left:0;top:5px;bottom:5px;width:4px;border-radius:3px;
  background:linear-gradient(180deg,#6eb92c,#3f8b16);
}
.entry .work > div{
  position:relative;display:flex;flex-direction:column;
  padding:20px 18px;border-radius:20px;background:linear-gradient(160deg,#eef5fe,#f9fcff);
  box-shadow:var(--shadow-soft);transition:transform .16s ease,box-shadow .16s ease;
}
.entry .work > div.is-clickable{cursor:pointer}
.entry .work > div:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.entry .work > div:nth-of-type(3n+2){background:linear-gradient(160deg,#eff8e7,#fafdf7)}
.entry .work > div:nth-of-type(3n+3){background:linear-gradient(160deg,#fff5ea,#fffdfa)}
.entry .work > div .imgG{
  order:-1;position:relative;margin:0 0 14px;padding:0;width:auto;float:none;
  display:flex;flex-direction:column;align-items:center;gap:10px;min-height:0;
}
.entry .work > div .imgG p{margin:0}
.entry .work > div .imgG img{width:104px;max-width:55%;height:auto;border-radius:0;margin:0}
.entry .work > div .imgG span{
  position:static;display:inline-block;width:auto;
  padding:5px 12px;border-radius:999px;background:linear-gradient(135deg,#6eb92c,#3f8b16);
  color:#fff;font-size:11px;font-weight:800;letter-spacing:.5px;
}
.entry .work > div:nth-of-type(3n+2) .imgG span{background:linear-gradient(135deg,#3f9be8,#1d6fd0)}
.entry .work > div:nth-of-type(3n+3) .imgG span{background:linear-gradient(135deg,#ff9a3c,#f06c11)}
.entry .work > div h2{
  margin:0 0 8px;padding:0;font-size:18px;line-height:1.3;font-weight:700;
}
.entry .work > div h2::before{display:none}
.entry .work > div h2 a{color:var(--navy);text-decoration:none}
.entry .work > div h2 a:hover{color:var(--blue)}
.entry .work > div p{margin:0 0 16px;font-size:14px;color:var(--muted);line-height:1.55}
.entry .work > div::after{
  content:"Подробнее →";margin-top:0;align-self:flex-start;
  background:#e6f4d8;color:#2f7a12;font-size:13px;font-weight:700;
  padding:8px 16px;border-radius:999px;
}
.entry .work > p{grid-column:1/-1;margin:4px 0 0}

/* ---------- Таблицы ---------- */
.table-hint{display:none}
@media (max-width:760px){
  .table-wrap.is-scrollable + .table-wrap{margin-top:0}
  .entry .table-hint{display:block;font-size:12px;color:var(--muted);margin:14px 0 -8px}
}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:18px 0;border-radius:14px;box-shadow:var(--shadow-soft)}
.entry table{width:100%;min-width:520px;border-collapse:collapse;font-size:15px;background:#fff}
.entry table th{
  background:linear-gradient(180deg,#5aa81f,#48941a);color:#fff;text-align:left;
  padding:13px 14px;font-weight:700;font-size:14px;letter-spacing:.2px;
}
.entry table td{padding:12px 14px;border-bottom:1px solid #eaf1f8;vertical-align:top}
.entry table tr:last-child td{border-bottom:0}
.entry table tr.odd td,.entry table tr.spec td{background:#f5faf1}
.entry table tr:hover td{background:#eef7e6}

/* ---------- Сайдбар ---------- */
.sidebar{display:flex;flex-direction:column;gap:16px}
.side-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:18px}
.side-title{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:19px;font-weight:800;color:var(--navy)}
.side-title svg{width:24px;height:24px;flex:0 0 auto}
.side-list{list-style:none;margin:0;padding:0}
.side-list li{position:relative;padding-left:26px;margin-bottom:9px;font-size:15px;line-height:1.4}
.side-list li:last-child{margin-bottom:0}
.side-list li::before{
  content:"";position:absolute;left:0;top:5px;width:15px;height:15px;border-radius:50%;
  background:#e6f4d8 url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233f8b16'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/11px no-repeat;
}
.side-list a{color:var(--text);text-decoration:none}
.side-list a:hover{color:var(--blue)}
.promo-card{
  position:relative;overflow:hidden;border-radius:var(--radius);padding:20px;
  background:linear-gradient(135deg,#ffc35c 0%,#ff9a3c 45%,#f4791f 100%);
  box-shadow:0 10px 24px rgba(244,121,31,.28);color:#fff;
}
.promo-card::after{
  content:"";position:absolute;right:-30px;top:-30px;width:130px;height:130px;border-radius:50%;
  background:rgba(255,255,255,.18);
}
.promo-card::before{
  content:"";position:absolute;right:22px;bottom:-36px;width:86px;height:86px;border-radius:50%;
  background:rgba(255,255,255,.14);
}
.promo-small{display:block;font-size:13px;font-weight:800;letter-spacing:1px;color:#7a3a00;text-transform:uppercase}
.promo-big{
  display:inline-block;margin-top:10px;padding:8px 16px;border-radius:12px;
  background:#fff;color:#e2680a;font-size:26px;font-weight:900;letter-spacing:-.5px;
  box-shadow:0 6px 14px rgba(122,58,0,.18);position:relative;z-index:1;
}
.side-card-pay{padding:18px}
.pay-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pay-tile{display:flex;align-items:center;justify-content:center;height:64px;padding:9px;
  background:#fff;border:1px solid #e3edf8;border-radius:12px;text-decoration:none;
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.pay-tile:hover{border-color:#bcd9f3;box-shadow:0 6px 16px rgba(16,44,80,.08);transform:translateY(-1px);text-decoration:none}
.pay-tile img{max-width:100%;max-height:78%;width:auto;height:auto;object-fit:contain}
.pay-note{margin:12px 0 0;font-size:12.5px;line-height:1.45;color:var(--muted)}
.side-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 18px;border-radius:999px;font-size:15px;font-weight:700;text-decoration:none;
  transition:transform .15s ease,box-shadow .15s ease;
}
.side-btn:hover{text-decoration:none;transform:translateY(-1px)}
.side-btn-orange{color:#fff;background:linear-gradient(135deg,#ff9a3c,#f4791f);box-shadow:0 8px 18px rgba(244,121,31,.30)}
.side-btn-ghost{color:#e2680a;background:#fff6ee;border:1.5px solid #ffc08a}
.side-btn svg{width:18px;height:18px}

/* ---------- CTA-блок «Узнать стоимость» ---------- */
.cta-block{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  margin:32px 0 8px;padding:26px 28px;border-radius:22px;
  background:linear-gradient(120deg,#e8f4ff 0%,#eef8e6 100%);border:1px solid #dcecf9}
.cta-block-text{flex:1 1 420px;max-width:640px}
.cta-block-text b{display:block;margin-bottom:6px;font-size:21px;line-height:1.25;color:var(--navy)}
.cta-block-text p{margin:0;font-size:15px;line-height:1.55;color:#4a6378}
.cta-block-btn{flex:0 0 auto}
@media (max-width:760px){.cta-block{padding:20px}.cta-block-btn{width:100%}}

/* ---------- Способы оплаты (страница) ---------- */
.pay-logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:6px 0 18px}
.pay-logos .pay-tile-lg{height:104px;padding:14px}
.pay-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px}
.pay-card{background:#fff;border-radius:16px;padding:15px 18px;box-shadow:var(--shadow-soft);border-left:4px solid var(--green)}
.pay-card b{display:block;margin-bottom:4px;color:var(--navy);font-size:15.5px}
.pay-card span{font-size:14px;line-height:1.5;color:var(--muted)}
.pay-more{background:#fff;border-radius:16px;padding:16px 18px;box-shadow:var(--shadow-soft);margin:0 0 6px}
.pay-more summary{cursor:pointer;font-weight:700;color:var(--navy);font-size:15.5px}
.pay-more[open] summary{margin-bottom:10px}
.pay-more p{font-size:14.5px}

/* ---------- Полоса доверия ---------- */
.trust{margin:0 auto 22px}
.trust-list{
  list-style:none;margin:0;padding:10px 6px;display:grid;grid-template-columns:repeat(3,1fr);
  background:#eef8e6;border-radius:var(--radius);
}
.trust-item{display:flex;align-items:center;gap:12px;padding:12px 20px;font-size:15px;font-weight:600;color:#2f5a17}
.trust-item+.trust-item{border-left:1px solid #d8ebc6}
.trust-item svg{width:26px;height:26px;flex:0 0 auto;fill:#5aa81f}

/* ---------- Отзывы ---------- */
.reviews{
  background:#eaf4fd;border-radius:26px;padding:26px 24px 22px;margin:0 auto 26px;
}
.reviews .titleN,.reviews .n_h4{font-size:26px;line-height:1.25;color:var(--navy);text-align:center;margin:0 0 14px}
.reviews .n_text-warning{color:#f5a623 !important}
.reviews .n_mb-3{margin:18px 0 0}
.reviews .n_w-100{text-align:center}
.reviews .n_mt-2{margin-top:10px}
/* рейтинг: свои звёзды, виджет SimpleRating скрыт */
.reviews .rating{
  position:relative;display:inline-block;vertical-align:-5px;
  width:118px !important;height:22px !important;background:none !important;border:0 !important;
}
.reviews .rating .rating__best{position:relative;width:118px !important;height:22px !important;background:none !important}
.reviews .rating .rating__star,
.reviews .rating .rating__current{display:none !important;background:none !important}
.reviews .rating::before{
  content:"";position:absolute;inset:0;
  background:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d9e3ee'%3E%3Cpath d='m12 17.3 6.2 3.7-1.6-7 5.4-4.7-7.1-.6L12 2 9.1 8.7 2 9.3l5.4 4.7-1.6 7z'/%3E%3C/svg%3E") repeat-x left center/23.6px 22px;
}
.reviews .rating::after{
  content:"";position:absolute;left:0;top:0;bottom:0;width:97%;
  background:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5a623'%3E%3Cpath d='m12 17.3 6.2 3.7-1.6-7 5.4-4.7-7.1-.6L12 2 9.1 8.7 2 9.3l5.4 4.7-1.6 7z'/%3E%3C/svg%3E") repeat-x left center/23.6px 22px;
}
.reviews .n_h6,.reviews p.n_h6{display:inline-block !important;margin:0 6px;vertical-align:middle}
.reviews .rating-value,.reviews .rating-count{font-weight:700;color:#e2680a}
#owl-demo .item{
  background:#fff;border-radius:16px;padding:18px 18px 14px;margin:8px;
  box-shadow:0 6px 18px rgba(16,44,80,.07);height:auto;
}
#owl-demo .item p{margin:0 0 8px;font-size:14px;color:var(--text);text-align:left !important}
#owl-demo .item p:first-child{font-size:15px;font-weight:700;color:var(--navy)}
#owl-demo .item p:first-child span{font-weight:400;color:var(--muted);font-size:12px}
#owl-demo .item p img,.revAll img.imgP{width:96px;border:0;margin:0;float:none}
.owl-theme .owl-controls{margin-top:14px !important;text-align:center}
.owl-theme .owl-controls .owl-page span{background:#c5dcf3;opacity:1;width:9px;height:9px}
.owl-theme .owl-controls .owl-page.active span{background:var(--green)}

/* отзывы внутри контента (/otzyvy/) — карточки с аватаром */
.revAll .item{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:14px;
  background:#fff;border:0;border-radius:16px;padding:18px 20px;margin:0 0 14px;box-shadow:var(--shadow-soft)}
.rev-avatar{grid-row:1/4;width:52px;height:52px;border-radius:50%;color:#fff;font-size:20px;font-weight:800;
  display:flex;align-items:center;justify-content:center;text-transform:uppercase;
  background:linear-gradient(135deg,#6eb92c,#3f8b16)}
.revAll .item:nth-child(3n+2) .rev-avatar{background:linear-gradient(135deg,#3f9be8,#1d6fd0)}
.revAll .item:nth-child(3n+3) .rev-avatar{background:linear-gradient(135deg,#ff9a3c,#f06c11)}
.revAll .item p{margin:0 0 6px;grid-column:2;text-align:left !important;font-size:14.5px;line-height:1.6;color:var(--text)}
.revAll .item p:nth-of-type(1){font-size:15.5px;font-weight:700;color:var(--navy)}
.revAll .item p:nth-of-type(3){margin:2px 0 0}
.revAll .item p:nth-of-type(3)::before{content:"★★★★★";color:#f5a623;font-size:15px;letter-spacing:2px}
.revAll .item p img,.revAll img.imgP{display:none !important}
.revAll__date{display:none}
/* даты в отзывах скрываем на всех страницах */
.revAll [style*="font-size:12px"],#owl-demo [style*="font-size:12px"]{display:none !important}

/* ссылка «Читать все отзывы» */
.reviews-all{margin:18px 0 0;text-align:center}
.btn-reviews{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 26px;border-radius:999px;background:#fff;color:var(--navy);
  font-size:15px;font-weight:700;text-decoration:none;box-shadow:0 6px 18px rgba(16,44,80,.10);
  border:1px solid #d9e8f7;transition:background .15s ease,color .15s ease,transform .15s ease}
.btn-reviews::after{content:"→";font-size:16px;color:var(--green)}
.btn-reviews:hover{background:var(--navy);color:#fff;text-decoration:none;transform:translateY(-1px)}
.btn-reviews:hover::after{color:#a8d478}

/* записка «пришлите свой отзыв» */
.review-note{margin:22px 0 0;padding:20px 22px;border-radius:18px;background:#eef7e6;border-left:4px solid var(--green)}
.review-note b{display:block;margin-bottom:6px;font-size:16px;color:var(--navy)}
.review-note p{margin:0;font-size:14.5px;color:#3c5570}
.review-note a{color:var(--blue);text-decoration:underline}

/* ---------- Футер ---------- */
.site-footer{margin-top:auto;background:linear-gradient(180deg,#0f2d50 0%,#0a1f3a 100%);color:#c9dcef}
.footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.15fr;gap:34px;padding:40px 0 34px}
.footer-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff}
.footer-logo:hover{text-decoration:none}
.footer-logo svg{width:38px;height:38px;flex:0 0 auto}
.footer-logo b{display:block;font-size:18px;line-height:1.2;color:#fff}
.footer-logo i{display:block;font-style:normal;font-size:13px;color:#8fc9f5;margin-top:2px}
.footer-tagline{margin:14px 0 16px;font-size:13.5px;line-height:1.6;color:#9fb6cc;max-width:330px}
.footer-contact{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.footer-phone{display:inline-flex;align-items:center;gap:8px;font-size:19px;font-weight:800;color:#fff}
.footer-phone svg{width:18px;height:18px;flex:0 0 auto}
.footer-mess{font-size:13px;color:#8fc9f5;text-decoration:underline;cursor:pointer}
.footer-title{margin:0 0 14px;font-size:12.5px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:#fff}
.footer-links{list-style:none;margin:0;padding:0}
.footer-links li{margin-bottom:9px}
.footer-links a{color:#b6cadd;font-size:14px;text-decoration:none;transition:color .15s ease}
.footer-links a:hover{color:#7dc242;text-decoration:none}
.footer-col p{margin:0 0 10px;font-size:14px;color:#b6cadd;line-height:1.6}
.footer-addr{color:#dbe8f4}
.footer-hours{font-size:13.5px;color:#9fb6cc}
.footer-bottom{border-top:1px solid rgba(255,255,255,.09);padding:15px 0;background:rgba(0,0,0,.15)}
.footer-bottom-inner{display:flex;align-items:center;justify-content:flex-start;gap:26px;flex-wrap:wrap;font-size:13px;color:#8fa8bf}
.footer-bottom a{color:#b6cadd;text-decoration:underline}
.footer-bottom a:hover{color:#fff}

/* встроенная форма на /order/ — подгоняем высоту под контент */
body.is-order .entry iframe{height:430px !important;max-width:100%}
body.is-order .page-title{text-align:center}

/* ---------- Модальное окно с формой ---------- */
.modal{position:fixed;inset:0;z-index:300;display:none;align-items:center;justify-content:center;padding:18px}
.modal.is-open{display:flex}
.modal-overlay{position:absolute;inset:0;background:rgba(10,31,58,.6)}
.modal-card{
  position:relative;z-index:1;background:#fff;border-radius:22px;width:100%;max-width:540px;
  max-height:calc(100vh - 36px);overflow:auto;padding:26px 22px 20px;text-align:center;
  box-shadow:0 30px 70px rgba(10,31,58,.35);
}
.modal-close{
  position:absolute;right:10px;top:8px;width:36px;height:36px;border:0;border-radius:50%;
  background:#eef5fc;color:#102c50;font-size:24px;line-height:1;cursor:pointer;
}
.modal-close:hover{background:#dfeaf7}
.modal-title{margin:0 34px 8px;font-size:23px;font-weight:800;color:var(--navy)}
.modal-sub{margin:0 0 16px;font-size:14.5px;line-height:1.5;color:var(--muted)}
.modal-frame{max-width:460px;margin:0 auto;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fbfdff}
.modal-frame iframe{display:block;width:100%;height:400px;border:0}
body.modal-open{overflow:hidden}

/* блок заявки: только в модальном окне (на /order/ форма уже есть в контенте) */
.calc{display:none !important;margin:26px auto 22px;scroll-margin-top:100px}

/* ---------- Новости ---------- */
.news-updated{margin:0 0 18px;font-size:13.5px;color:var(--muted)}
.news-list{display:grid;gap:16px;margin:0 0 22px}
.news-item{position:relative;background:#fff;border-radius:18px;padding:20px 22px;box-shadow:var(--shadow-soft);border-left:4px solid var(--green)}
/* архивные новости идут прямо в контенте — задаём отступы и «второй план» */
.entry > .news-item{margin:0 0 16px;background:#fbfdff;box-shadow:0 2px 8px rgba(16,44,80,.06);border-left:4px solid #b6d3a2;padding:17px 20px}
.entry > .news-item:last-of-type{margin-bottom:0}
.entry > h2 + .news-item{margin-top:4px}
.entry > .news-item h2{font-size:17.5px}
.entry > .news-item p{font-size:14.5px;line-height:1.55}
.news-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.news-date{background:#eef7e6;color:#2f7a12;font-size:12.5px;font-weight:700;padding:5px 12px;border-radius:999px}
.news-tag{font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:var(--blue);background:#e8f2fd;padding:5px 10px;border-radius:999px}
.entry .news-item h2{margin:0 0 8px;padding:0;font-size:20px;line-height:1.3;color:var(--navy)}
.entry .news-item h2::before{display:none}
.entry .news-item p{margin:0;font-size:15px;line-height:1.6;color:#3c5570}

/* ---------- Как заказать: способы ---------- */
.method{display:flex;gap:18px;align-items:flex-start;background:linear-gradient(160deg,#eef5fe,#f9fcff);border-radius:18px;padding:20px 22px;margin:0 0 16px;box-shadow:var(--shadow-soft)}
.method-icon{width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.method-icon svg{width:28px;height:28px}
.method-icon--green{background:#eef7e6}
.method-icon--green svg{fill:#3f8b16}
.method-icon--blue{background:#e8f2fd}
.method-icon--blue svg{fill:#1d6fd0}
.method-icon--orange{background:#fff2e6}
.method-icon--orange svg{fill:#e2680a}
.entry .method h2{margin:0 0 8px;padding:0;font-size:20px;line-height:1.25;color:var(--navy)}
.entry .method h2::before{display:none}
.method p{margin:0 0 8px;font-size:15px;line-height:1.6}
.method p:last-child{margin-bottom:0}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:8px 0 22px}
.step{background:#fff;border-radius:18px;padding:20px;box-shadow:var(--shadow-soft);text-align:center}
.step-num{width:40px;height:40px;margin:0 auto 10px;border-radius:50%;background:linear-gradient(135deg,#6eb92c,#3f8b16);color:#fff;font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center}
.step b{display:block;margin-bottom:6px;font-size:15.5px;color:var(--navy)}
.step p{margin:0;font-size:14px;color:var(--muted);line-height:1.5}

/* ---------- Адаптив ---------- */
@media (max-width:1080px){
  .hero-title{font-size:38px;max-width:none}
  .hero-arrow{display:none}
  .page-grid{grid-template-columns:minmax(0,1fr) 300px;gap:20px}
  .entry .work{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1180px){
  .benefits-list{grid-template-columns:repeat(3,1fr)}
  .benefit:nth-child(4){border-left:0}
  .benefit:nth-child(4),.benefit:nth-child(5){border-top:1px solid var(--line)}
}
@media (max-width:920px){
  .header-inner{padding:10px 0;align-items:center}
  .header-contacts{flex:0 0 auto;min-width:0}
  .logo-text{font-size:20px}
  .phone-link{font-size:18px}
  .burger{display:flex}
  .main-nav{
    display:none;position:absolute;left:12px;right:12px;top:100%;border-radius:20px;
    margin:0;padding:8px;box-shadow:0 16px 34px rgba(16,44,80,.18);
  }
  .main-nav.is-open{display:block}
  .nav-list{flex-direction:column;align-items:stretch;gap:2px}
  .nav-list li{text-align:left}
  .nav-list a{padding:13px 16px;font-size:14px;letter-spacing:.3px;border-radius:12px}
  .nav-list .nav-cta{padding:6px 0 0}
  .nav-list .nav-cta a{text-align:center;padding:13px 16px}
  .header-inner{position:relative;flex-wrap:wrap}
  .page-grid{grid-template-columns:1fr}
  .sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .sidebar .promo-card{grid-column:1/-1}
  .sidebar .side-btn{grid-column:auto}
  .benefits-list{grid-template-columns:1fr;padding:2px 2px}
  .benefit{padding:13px 16px;gap:12px}
  .benefit+.benefit{border-left:0;border-top:1px solid var(--line)}
  .trust-list{grid-template-columns:1fr}
  .trust-item+.trust-item{border-left:0;border-top:1px solid #d8ebc6}
  .footer-top{grid-template-columns:1fr 1fr;gap:24px}
  .footer-brand{grid-column:1/-1}
  .steps{grid-template-columns:1fr}
  .method{gap:14px;padding:18px}
  .method-icon{width:46px;height:46px;border-radius:14px}
  .method-icon svg{width:22px;height:22px}
}
@media (max-width:760px){
  .header-inner{flex-wrap:wrap;row-gap:6px}
  .header-contacts{flex:1 1 100%;flex-direction:row;align-items:center;justify-content:center;gap:12px;text-align:center;padding:0 16px}
  .phone-sub{white-space:nowrap}
  .hero-inner{grid-template-columns:1fr;padding-top:24px;padding-bottom:20px;gap:10px}
  .hero-title{font-size:30px}
  .hero-lead{font-size:16px}
  .hero-figure{order:2}
  .hero-figure{display:none}
  .benefits{margin-top:0}
  .page-title{font-size:24px}
  .entry h2{font-size:22px}
  .entry .work{grid-template-columns:1fr;gap:14px}
  .entry .work > b{font-size:24px}
  .entry .work > div .imgG{justify-content:flex-start}
  .calc-card{padding:20px 16px 16px}
  .calc-head h2{font-size:22px}
  .reviews{padding:20px 14px}
  .reviews .titleN,.reviews .n_h4{font-size:22px}
}
@media (max-width:560px){
  body{font-size:15px}
  .footer-top{grid-template-columns:1fr;gap:20px}
  .footer-bottom-inner{flex-direction:column;align-items:flex-start;gap:8px}
  .footer-bottom{padding-bottom:64px}
  .modal{padding:10px}
  .modal-card{padding:22px 14px 16px}
  .modal-frame iframe{height:420px}
  .header-contacts{flex-wrap:nowrap;gap:10px;min-width:0}
  .phone-sub{font-size:11px}
  .logo-icon{width:32px;height:32px}
  .logo-text{font-size:18px}
  .header-contacts{align-items:center}
  .phone-link{font-size:16px}
  .phone-sub{font-size:11px}
  .hero-title{font-size:26px}
  .btn{width:100%;padding:14px 20px}
  .sidebar{grid-template-columns:1fr}
  .pay-cards{grid-template-columns:1fr}
  .entry table{font-size:14px;min-width:460px}
  .entry table th,.entry table td{padding:10px}
  .entry .work > div::after{width:100%;text-align:center}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important;animation:none !important}
}

/* стрелки карусели отзывов */
.reviews{position:relative}
.reviews .owl-theme .owl-controls{position:relative;margin-top:16px !important}
.reviews .owl-theme .owl-controls .owl-buttons div{
  position:absolute;top:50%;margin-top:-18px;width:36px;height:36px;border-radius:50%;
  background:#fff;color:#1d6fd0;font-size:22px;font-weight:700;line-height:32px;text-align:center;
  box-shadow:0 4px 14px rgba(16,44,80,.16);opacity:1;filter:none;padding:0;
}
.reviews .owl-theme .owl-controls .owl-buttons .owl-prev{left:-30px}
.reviews .owl-theme .owl-controls .owl-buttons .owl-next{right:-30px}
.reviews .owl-theme .owl-controls .owl-buttons div:hover{background:#1d6fd0;color:#fff}
@media (max-width:760px){
  .reviews .owl-theme .owl-controls .owl-buttons div{display:none}
}

/* шапка на узких экранах: телефон и мессенджеры в одну строку */
@media (max-width:400px){
  .header-contacts{gap:8px}
  .phone-link{font-size:15px;gap:6px}
  .phone-link svg{width:16px;height:16px}
  .phone-sub{font-size:11.5px;padding:0 9px}
}
@media (max-width:344px){
  .header-contacts{gap:6px}
  .phone-link{font-size:14px;gap:5px}
  .phone-sub{font-size:10.5px;padding:0 7px;height:24px}
}

/* очень узкие экраны: логотип и бургер в одну строку */
@media (max-width:344px){
  .header-inner{gap:8px;align-items:center}
  .logo{gap:8px;min-width:0}
  .logo-icon{width:30px;height:30px}
  .logo-text{font-size:14px;line-height:1.15}
}

/* мобильные таблицы: вместо горизонтальной прокрутки — карточки «параметр → значение» */
@media (max-width:560px){
  .entry .table-wrap, .entry .table-wrap:has(> table){overflow:visible}
  .entry table{min-width:0;max-width:100%}
  /* юридические таблицы: фиксируем ширину, чтобы не разъезжались */
  .entry table.table-bordered{width:100% !important;table-layout:fixed}
  .entry table.table-bordered col{width:auto !important}
  .entry table.table-bordered td, .entry table.table-bordered th{word-break:break-word;overflow-wrap:anywhere}
  /* длинные ссылки в тексте не должны растягивать страницу */
  .entry a{overflow-wrap:anywhere;word-break:break-word}
  .entry .table-hint, .table-hint{display:none}
  .entry table#discount, .entry table.price_table_default{display:block;width:100%;min-width:0;border:0;background:#fff;
    border-radius:16px;padding:6px 14px;box-shadow:0 4px 14px rgba(16,44,80,.06)}
  .entry table#discount tbody, .entry table.price_table_default tbody{display:block}
  .entry table#discount tr, .entry table.price_table_default tr, .entry table#discount td, .entry table.price_table_default td{min-width:0}
  .entry table#discount tr, .entry table.price_table_default tr{display:flex;align-items:baseline;gap:12px;
    padding:9px 0;border-bottom:1px solid #edf3fa}
  .entry table#discount tr:last-child, .entry table.price_table_default tr:last-child{border-bottom:0}
  .entry table#discount td, .entry table.price_table_default td{display:block;border:0;padding:0;font-size:14px;line-height:1.45}
  .entry table#discount td.odd, .entry table#discount td:first-child{flex:0 0 46%;color:var(--muted);font-weight:600}
  .entry table#discount td:last-child{flex:1 1 auto;text-align:right;font-weight:700;color:var(--navy)}
  /* таблица цен: строка = карточка работы */
  .entry table.price_table_default{padding:0;box-shadow:none;background:transparent}
  .entry table.price_table_default thead{display:none}
  .entry table.price_table_default tr{display:block;background:#fff;border:1px solid #e7eff9;border-radius:14px;
    padding:12px 14px;margin:0 0 10px;box-shadow:0 3px 10px rgba(16,44,80,.05)}
  .entry table.price_table_default tr:last-child{margin-bottom:0}
  .entry table.price_table_default td:first-child{font-size:15px;font-weight:700;color:var(--navy);margin-bottom:7px}
  .entry table.price_table_default td, .entry table.price_table_default .price_row td, .entry table.price_table_default td:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:2px 0;background:transparent !important}
  .entry table.price_table_default tr.even, .entry table.price_table_default tr:nth-child(even){background:#fff}
  .entry table.price_table_default td:nth-child(2)::before{content:"Срок";color:var(--muted);font-weight:600;font-size:13px}
  .entry table.price_table_default td:nth-child(3)::before{content:"Стоимость";color:var(--muted);font-weight:600;font-size:13px}
  .entry table.price_table_default td:nth-child(2){color:#3c5570}
  .entry table.price_table_default td:nth-child(3){font-weight:800;color:#2f7a12}
}

/* модальное окно на телефоне: аккуратная карточка, форма по высоте экрана, крестик всегда виден */
@media (max-width:560px){
  .modal{padding:8px;align-items:center}
  .modal-card{max-height:calc(100dvh - 16px);padding:16px 12px 12px;border-radius:18px;
    overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .modal-close{position:sticky;top:0;float:right;z-index:3;width:38px;height:38px;font-size:22px;
    margin:-6px -2px 0 0;box-shadow:0 2px 8px rgba(16,44,80,.12)}
  .modal-title{margin:0 44px 6px;font-size:19px;line-height:1.25}
  .modal-sub{margin:0 0 12px;font-size:13px;line-height:1.45}
  .modal-frame{max-width:100%;border-radius:12px}
  .modal-frame iframe{height:calc(100dvh - 400px);min-height:400px}
}

/* карточки услуг на телефоне: картинка слева, текст справа */
@media (max-width:560px){
  .entry .work > div{display:grid;grid-template-columns:132px minmax(0,1fr);column-gap:14px;row-gap:6px;
    align-items:start;padding:16px 14px}
  .entry .work > div .imgG{grid-column:1;grid-row:1 / span 2;width:132px;margin:0;align-items:flex-start;gap:8px}
  .entry .work > div .imgG p{margin:0;width:100%}
  .entry .work > div .imgG img{width:100%;max-width:100%;height:auto;border-radius:0}
  .entry .work > div .imgG span{font-size:10px;padding:4px 9px}
  .entry .work > div h2{grid-column:2;grid-row:1;margin:0;font-size:17px;line-height:1.3}
  .entry .work > div > p{grid-column:2;grid-row:2;margin:0;font-size:13.5px;line-height:1.5}
  .entry .work > div::after{grid-column:1 / -1;width:100%;text-align:center;margin-top:12px}
}
@media (max-width:360px){
  .entry .work > div{grid-template-columns:110px minmax(0,1fr);column-gap:11px;padding:14px 12px}
  .entry .work > div .imgG{width:110px}
  .entry .work > div h2{font-size:16px}
  .entry .work > div > p{font-size:13px}
}

/* полоса преимуществ, перенесённая в контент (мобильный) */
@media (max-width:760px){
  .benefits.is-inline{margin:0 0 16px;padding:0;background:transparent}
  .benefits.is-inline .container{padding:0;max-width:none;margin:0}
  .benefits.is-inline .benefits-list{margin:0;padding:0;list-style:none;background:#fff;border-radius:16px;
    box-shadow:0 4px 16px rgba(16,44,80,.07);overflow:hidden}
  .benefits.is-inline .benefits-list{list-style:none;margin:0;padding:0}
  .benefits.is-inline .benefits-list li{list-style:none;margin:0}
  .benefits.is-inline .benefits-list li::before{content:none;display:none}
  .benefit-text{font-size:14.5px}
}

/* встроенные в контент iframe (старые формы) не должны расширять страницу */
.entry iframe{width:100%!important;max-width:100%!important;height:auto!important;min-height:400px;display:block}
.entry > div{max-width:100%}

/* /order/: форма должна занимать ширину колонки, а не 300px (обёртки inline-block из контента) */
body.is-order .entry > div,
body.is-order .entry > div > div{display:block!important;width:100%!important;max-width:640px;margin:0 auto!important}
body.is-order .entry iframe{width:100%!important;max-width:640px;height:430px!important}

/* ---------- Страница /order/: только форма, без дублей ---------- */
body.is-order .hero,
body.is-order .calc,
body.is-order .reviews-all{display:none!important}
/* важнее правила «body.is-order .entry > div{display:block!important}» — иначе блок не скрыть */
body.is-order .entry > .review-note,
body .entry > .review-note[hidden]{display:none!important}
body.is-order .page-title{text-align:center;margin:0 auto 10px}
body.is-order .order-lead{text-align:center;color:#41618a;font-size:17px;line-height:1.5;max-width:600px;margin:0 auto 22px}
body.is-order .entry{background:#fff;border-radius:24px;box-shadow:0 18px 44px rgba(23,60,110,.10);padding:26px 22px 20px;max-width:780px;margin:0 auto}
body.is-order .order-form{display:flex;justify-content:center}
body.is-order .order-form iframe{width:100%;max-width:640px;height:430px;border:0;background:#fff;border-radius:14px}
body.is-order .page-title::before{display:none}
body.is-order .entry{padding-top:28px}
body.is-order .benefits{margin-top:18px}
