:root{
  --pol-accent:#a61e1e;
  --pol-accent-dark:#7f1515;
  --pol-ink:#1e2e4a;
  --pol-text:#263648;
  --pol-muted:#5d6978;
  --pol-surface:#ffffff;
  --pol-soft:#f6f8fc;
  --pol-border:#d8e1ed;
  --pol-shadow:0 8px 28px rgba(31,47,77,0.12);
}

*,
*::before,
*::after{box-sizing:border-box;}

html{
  margin:0!important;
  padding:0!important;
  scroll-behavior:smooth;
  background:#0b1017;
}

body{
  margin:0!important;
  padding:0!important;
  overflow-x:hidden;
  color:var(--pol-text);
  font-family:Arial,sans-serif;
  line-height:1.6;
  background:#fff;
}

img{max-width:100%;}

.header{
  margin:0!important;
  padding:0!important;
  background:#0b1017!important;
  color:#fff;
}

.header-top{
  display:flex;
  align-items:center;
  justify-content:center;
}

.top-bar{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px!important;
  min-height:auto!important;
  margin:0!important;
  background:#0b1017!important;
  color:#edf2f7!important;
  text-align:center;
  font-size:15px!important;
  line-height:1.35!important;
}

.nav-toggle{
  display:none;
  align-items:center;
  gap:10px;
  margin:0;
  padding:0 14px;
  min-height:52px;
  border:0;
  background:transparent;
  color:#fff;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

.nav-toggle-box{
  display:inline-flex;
  flex-direction:column;
  gap:4px;
}

.nav-toggle-box span{
  display:block;
  width:18px;
  height:2px;
  border-radius:999px;
  background:#fff;
  transition:transform .22s ease,opacity .22s ease;
}

.nav-toggle-label{
  font-size:14px;
  letter-spacing:.02em;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1){
  transform:translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2){
  opacity:0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3){
  transform:translateY(-6px) rotate(-45deg);
}

.main-nav{
  margin:0!important;
  padding:0!important;
  background:var(--pol-accent)!important;
}

.main-nav ul{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:stretch;
  justify-content:center;
  gap:8px!important;
  margin:0!important;
  padding:8px 12px!important;
  list-style:none!important;
}

.main-nav li{
  margin:0!important;
  flex:0 1 auto!important;
  list-style:none;
  min-width:0;
}

.main-nav li a{
  display:flex!important;
  align-items:center;
  justify-content:center;
  min-height:48px;
  height:auto!important;
  padding:12px 18px!important;
  color:#fff!important;
  text-decoration:none;
  text-align:center;
  font-size:15px!important;
  font-weight:700;
  line-height:1.2!important;
  white-space:normal!important;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:10px;
  background:rgba(255,255,255,0.06)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
}

.main-nav li:last-child a{
  border-right:1px solid rgba(255,255,255,0.12);
}

.main-nav li a:hover{
  background:rgba(255,255,255,0.14)!important;
}

.banner-separator{
  width:100%;
  height:2px;
  margin:0!important;
  background:var(--pol-accent)!important;
}

body > .header:first-child{margin-top:0!important;}
body.menu-open{overflow:hidden;}

main{padding-top:36px;}
section[id]{scroll-margin-top:var(--anchor-offset,110px);}

.banner{
  position:relative;
  min-height:420px;
  height:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 16px;
  background:#000 url("detektor/banner.webp") no-repeat center center;
  background-size:cover;
}

.banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(7,12,20,0.28) 0%,rgba(7,12,20,0.72) 100%);
}

.banner-content{
  position:relative;
  width:100%;
  max-width:760px;
  padding:0 10px;
  text-align:center;
}

.banner-content h1{
  margin:0 auto;
  max-width:12ch;
  padding:0;
  background:none;
  color:#fff;
  line-height:1.14;
  text-shadow:0 4px 24px rgba(0,0,0,0.55);
  -webkit-text-stroke:0;
}

.banner-sub{
  margin:14px auto 0;
  max-width:680px;
  padding:12px 16px;
  border:1px solid rgba(255,255,255,0.15);
  border-radius:14px;
  background:rgba(9,13,20,0.28);
  color:#fff;
  font-size:1.08rem;
  line-height:1.55;
}

.btn-primary,
.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  line-height:1.2;
  transition:background-color .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s;
}

.btn-primary{
  background:var(--pol-accent);
  border:1px solid transparent;
  color:#fff;
  box-shadow:0 10px 24px rgba(166,30,30,0.22);
}

.btn-primary:hover{
  background:var(--pol-accent-dark);
  transform:translateY(-1px);
}

.btn-secondary{
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.34);
  color:#fff;
}

.btn-secondary:hover{
  background:rgba(255,255,255,0.2);
  border-color:rgba(255,255,255,0.55);
  transform:translateY(-1px);
}

.btn-brand{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:60px;
  padding:15px 20px;
  border:0;
  border-radius:16px;
  color:#fff!important;
  text-decoration:none;
  text-align:center;
  font-weight:800;
  line-height:1.2;
  overflow:hidden;
  box-shadow:0 16px 34px rgba(33,46,74,0.18);
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
}

.btn-brand::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:15px;
  background:linear-gradient(180deg,rgba(255,255,255,0.22),rgba(255,255,255,0));
  pointer-events:none;
}

.btn-brand:hover{
  transform:translateY(-2px);
  filter:saturate(1.04);
  box-shadow:0 18px 38px rgba(33,46,74,0.24);
}

.btn-phone{
  background:linear-gradient(135deg,#d92929 0%,#a61e1e 55%,#7f1515 100%);
}

.btn-whatsapp{
  background:linear-gradient(135deg,#31d267 0%,#1ea455 48%,#128c7e 100%);
}

.btn-telegram{
  background:linear-gradient(135deg,#44c4ff 0%,#2aa8f8 45%,#167bcb 100%);
}

.btn-max{
  background:linear-gradient(135deg,#7c5cff 0%,#5c6bff 42%,#2f7cf6 100%);
}

.btn-vk{
  background:linear-gradient(135deg,#4f88ff 0%,#386ee9 48%,#2353c7 100%);
}

.pol-action-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:14px;
}

.pol-action-grid--wide{
  max-width:980px;
  margin:0 auto;
  padding:18px;
  border:1px solid var(--pol-border);
  border-radius:26px;
  background:rgba(255,255,255,0.98);
  box-shadow:var(--pol-shadow);
}

.pol-quick-actions{
  position:relative;
  z-index:3;
  margin-top:-28px;
  padding:0 15px 8px;
}

.pol-hero-points{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  list-style:none;
  max-width:680px;
  margin:18px auto 0;
  padding:0;
}

.pol-hero-points li{
  padding:9px 14px;
  border:1px solid rgba(255,255,255,0.14);
  border-radius:999px;
  background:rgba(255,255,255,0.1);
  color:#fff;
  font-size:.95rem;
}

.pol-intro p{
  max-width:840px;
  margin:0 auto 18px;
  text-indent:0;
  line-height:1.7;
}

.pol-intro .pol-h2-center{
  max-width:860px;
  margin:0 auto 18px;
  font-size:clamp(1.95rem,2.45vw,2.7rem);
  line-height:1.14;
  letter-spacing:-0.02em;
  text-wrap:balance;
}

.pol-intro .pol-title-line{
  display:block;
}

.pol-intro{
  max-width:980px;
  margin:28px auto 48px;
  padding:28px 24px 10px;
  border:1px solid var(--pol-border);
  border-radius:26px;
  background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%);
  box-shadow:var(--pol-shadow);
}

.pol-intro p::first-line,
#price p::first-line{
  color:inherit;
  font-weight:inherit;
}

.pol-logo{
  display:block;
  width:100%;
  max-width:150px;
  height:auto;
  margin:0 auto 14px;
  border:1px solid var(--pol-border);
  border-radius:12px;
  background:#fff;
}

.pol-intro > p{
  max-width:920px;
  margin:0 auto 24px;
  font-size:1.08rem;
  line-height:1.78;
}

.pol-intro-points{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  max-width:980px;
  margin:0 auto 24px;
}

.pol-intro-point{
  padding:14px 16px;
  border:1px solid var(--pol-border);
  border-radius:16px;
  background:var(--pol-soft);
  color:var(--pol-text);
  line-height:1.55;
}

.pol-note{
  max-width:840px;
  margin:0 auto 26px;
  padding:15px 16px;
  border-left:4px solid var(--pol-accent);
  background:#fff7f7;
  color:#222;
}

.pol-section{
  max-width:1200px;
  margin:0 auto 48px;
  padding:0 15px;
}

.pol-h2-center{
  margin:0 0 20px;
  text-align:center;
}

.pol-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  max-width:980px;
  margin:0 auto;
}

.pol-card{
  min-width:0;
  padding:20px 18px;
  border:1px solid rgba(203,214,229,0.55);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--pol-shadow);
}

.pol-card h3{
  margin:0 0 6px;
  color:var(--pol-ink);
  font-size:1.15rem;
  line-height:1.25;
}

.pol-card-sub{
  margin:0 0 10px;
  color:#475569;
  font-size:.98rem;
  line-height:1.45;
}

.pol-price{
  margin:6px 0 10px;
  color:var(--pol-accent);
  font-size:1.45rem;
  font-weight:800;
}

.pol-list{
  margin:0;
  padding-left:20px;
  color:#243243;
  line-height:1.65;
}

.pol-price-footnote{
  max-width:980px;
  margin:16px auto 0;
  color:#4d5a68;
  text-align:center;
}

.pol-steps{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  max-width:980px;
  margin:0 auto;
}

.pol-step{
  display:flex;
  gap:12px;
  min-width:0;
  padding:16px 15px;
  border:1px solid rgba(203,214,229,0.55);
  border-radius:18px;
  background:#fff;
  box-shadow:0 4px 20px rgba(44,64,110,0.1);
}

.pol-step-n{
  width:36px;
  height:36px;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:var(--pol-accent);
  color:#fff;
  font-weight:700;
}

.pol-step-h{
  margin:0 0 4px;
  color:var(--pol-ink);
  font-size:1.05rem;
  line-height:1.25;
}

.pol-step-p{
  margin:0;
  color:#334155;
  line-height:1.55;
}

.pol-legal,
.pol-result{
  max-width:980px;
  margin:18px auto 0;
  padding:18px 16px;
  border:1px solid var(--pol-border);
  border-radius:20px;
  background:var(--pol-soft);
  box-shadow:0 4px 18px rgba(25,40,55,0.06);
}

.pol-legal-h,
.pol-result-h{
  margin:0 0 10px;
  color:#27416a;
}

.pol-article{
  max-width:980px;
  margin:0 auto 18px;
  padding:20px 18px;
  border:1px solid rgba(203,214,229,0.55);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--pol-shadow);
}

.pol-article h3{
  margin:0 0 10px;
  color:var(--pol-ink);
  line-height:1.3;
}

.pol-article p{
  margin:0 0 12px;
  color:#334155;
  line-height:1.72;
  text-indent:0;
}

.pol-photo-hint{
  max-width:860px;
  margin:20px auto 0;
  padding:0 15px;
}

.pol-photo-center{
  max-width:100%;
  margin:0 auto;
}

.pol-photo-center img{
  display:block;
  width:100%;
  height:auto;
  border:1px solid rgba(203,214,229,0.7);
  border-radius:22px;
  box-shadow:0 18px 34px rgba(31,47,77,0.14);
}

.pol-photo-card{
  position:relative;
  padding:20px;
  border:1px solid var(--pol-border);
  border-radius:28px;
  background:linear-gradient(145deg,#ffffff 0%,#eff5fd 100%);
  box-shadow:var(--pol-shadow);
  overflow:hidden;
}

.pol-photo-card::before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  top:-70px;
  right:-50px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(79,136,255,0.18) 0%,rgba(79,136,255,0) 70%);
  pointer-events:none;
}

.pol-photo-caption{
  position:relative;
  margin-top:14px;
  color:var(--pol-muted);
  text-align:center;
  font-size:.98rem;
  line-height:1.6;
}

.faq-section{
  max-width:1200px!important;
  margin:0 auto 48px!important;
  padding:0 15px!important;
  background:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
}

.faq-section h2{
  max-width:980px;
  margin:0 auto 20px!important;
  color:var(--pol-ink)!important;
  text-align:center!important;
  font-size:2rem!important;
  line-height:1.2;
  letter-spacing:0!important;
}

.faq-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px!important;
  max-width:980px;
  margin:0 auto!important;
}

.faq-item{
  height:100%;
  padding:22px 20px!important;
  border:1px solid rgba(203,214,229,0.55)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:var(--pol-shadow)!important;
}

.faq-item h3{
  margin:0 0 10px!important;
  color:var(--pol-ink)!important;
  font-size:1.08rem!important;
  line-height:1.35!important;
}

.faq-item p{
  margin:0!important;
  color:#334155!important;
  font-size:1rem!important;
  line-height:1.7!important;
}

.faq-item a{
  color:#1f5fb7!important;
  text-decoration:underline;
}

.faq-item a:hover{
  color:var(--pol-accent)!important;
}

.pol-price-section{
  max-width:980px;
}

.pol-price-lead,
.pol-price-summary{
  max-width:820px;
  margin:0 auto 18px;
  color:var(--pol-muted);
  text-align:center;
  text-indent:0;
  line-height:1.65;
}

.pol-price-list{
  max-width:820px;
  margin:0 auto;
  padding:0;
  list-style:none;
  border:1px solid var(--pol-border);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--pol-shadow);
  overflow:hidden;
}

.pol-price-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  padding:16px 20px;
  border-bottom:1px solid #e7edf5;
}

.pol-price-item:last-child{
  border-bottom:0;
}

.pol-price-name{
  color:var(--pol-ink);
  font-weight:700;
}

.pol-price-value{
  color:var(--pol-accent);
  font-size:1.12rem;
  font-weight:800;
}

.pol-price-actions{
  max-width:820px;
  margin:20px auto 0;
}

.pol-footer{
  padding:32px 0 18px;
  border-top:1px solid #dde7f2;
  background:#f4f8fc;
  color:var(--pol-ink);
}

.contact-card{
  max-width:500px;
  margin:0 auto;
  padding:30px 22px 24px;
  border:1px solid var(--pol-border);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--pol-shadow);
  text-align:center;
  font-size:1.02rem;
}

.contact-card h3{
  margin:0 0 20px;
  color:var(--pol-accent);
  font-size:1.35rem;
}

.contact-card a{
  color:#1f5fb7;
  font-weight:600;
  text-decoration:none;
}

.contact-card a:hover{
  color:var(--pol-accent);
}

.contact-row{
  margin-bottom:16px;
  color:var(--pol-text);
  font-size:1.04rem;
}

.contact-label{
  display:block;
  margin-bottom:6px;
  color:var(--pol-muted);
  font-size:.92rem;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.pol-contact-note{
  margin:0 0 18px;
  color:var(--pol-muted);
  line-height:1.6;
}

.contact-socials{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}

.contact-socials a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:130px;
  padding:11px 14px;
  border:1px solid var(--pol-border);
  border-radius:12px;
  background:#fff;
}

.pol-footer-meta{
  margin-top:18px;
  color:#6b7280;
  font-size:.92rem;
}

@media (max-width:900px){
  .banner{
    min-height:380px;
    padding:34px 14px;
  }

  .main-nav li{
    flex:0 0 33.333%!important;
  }

  .pol-intro-points,
  .pol-card-grid,
  .pol-steps,
  .faq-list{
    grid-template-columns:1fr;
  }
}

@media (max-width:768px){
  .header{
    position:sticky;
    top:0;
    z-index:60;
    box-shadow:0 10px 26px rgba(11,16,23,0.28);
  }

  .header-top{
    justify-content:space-between;
    gap:8px;
    padding-right:8px;
  }

  .top-bar{
    justify-content:flex-start;
    max-width:none;
    padding:11px 0 11px 14px!important;
    text-align:left;
    font-size:13px!important;
    line-height:1.35!important;
  }

  .nav-toggle{
    display:inline-flex;
    flex:0 0 auto;
  }

  .main-nav{
    max-height:0;
    overflow:hidden;
    opacity:0;
    border-top:1px solid rgba(255,255,255,0.1);
    background:linear-gradient(180deg,#af1d1d 0%,#8e1818 100%)!important;
    transition:max-height .28s ease,opacity .22s ease;
  }

  .main-nav.is-open{
    max-height:380px;
    opacity:1;
  }

  .main-nav ul{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:8px 0!important;
  }

  .main-nav li{
    flex:0 0 auto!important;
  }

  .main-nav li a{
    justify-content:flex-start;
    min-height:52px;
    padding:0 18px!important;
    font-size:15px!important;
    border:0;
    border-radius:0;
    border-bottom:1px solid rgba(255,255,255,0.12);
    box-shadow:none;
    background:transparent!important;
  }

  .main-nav li:last-child a{
    border-bottom:0;
  }

  .pol-intro .pol-title-line{
    display:inline;
  }

  .pol-intro .pol-title-line + .pol-title-line::before{
    content:" ";
  }

  .banner-content{
    max-width:640px;
  }

  .pol-quick-actions{
    margin-top:-22px;
  }

  .pol-action-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:600px){
  .banner{
    min-height:320px;
    padding:24px 12px 22px;
  }

  .banner-content h1{
    max-width:9ch;
    font-size:1.7rem;
    line-height:1.14;
    text-wrap:balance;
  }

  .banner-sub{
    padding:12px 12px;
    font-size:.97rem;
    line-height:1.6;
  }

  .pol-intro,
  .pol-article,
  .pol-card,
  .pol-step,
  .pol-legal,
  .pol-result,
  .contact-card{
    padding:16px 14px;
  }

  .pol-quick-actions{
    margin-top:-18px;
    padding:0 12px 6px;
  }

  .pol-action-grid--wide{
    padding:14px;
    border-radius:22px;
  }

  .pol-hero-points{
    gap:8px;
  }

  .pol-intro{
    margin:20px 12px 36px;
  }

  .pol-intro .pol-h2-center{
    max-width:14ch;
    font-size:1.55rem;
    line-height:1.18;
    margin-bottom:14px;
  }

  .pol-intro > p{
    font-size:1rem;
    line-height:1.7;
    margin-bottom:18px;
  }

  .pol-logo{
    max-width:120px;
  }

  .btn-brand{
    min-height:56px;
    padding:14px 16px;
  }

  .pol-photo-card{
    padding:14px;
    border-radius:22px;
  }

  .pol-price-item{
    padding:14px 16px;
  }
}

@media (max-width:480px){
  .pol-hero-points li{
    width:100%;
  }

  .faq-section h2{
    font-size:1.5rem!important;
  }

  .faq-item{
    padding:18px 14px!important;
  }

  .pol-action-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:420px){
  .top-bar{
    font-size:12.5px!important;
  }

  .nav-toggle{
    padding:0 12px;
  }

  .banner-content h1{
    font-size:1.58rem;
  }

  .main-nav li{
    flex:0 0 auto!important;
  }
}
