:root{
  --bg:#eef1ee;
  --bg2:#f6f7f4;
  --text:#111111;
  --muted:#66706a;
  --line:rgba(17,17,17,.08);
  --green:#83c649;
  --green-dark:#568d3c;
  --shadow:0 20px 60px rgba(19,28,20,.08);
  --shadow-soft:0 10px 30px rgba(19,28,20,.06);
  --container:1280px;
  --header-h:56px;
}

*{
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Manrope',sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg) 0%,var(--bg2) 100%);
  overflow-x:hidden;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
textarea{
  font:inherit;
}

.container{
  width:min(calc(100% - 32px), var(--container));
  margin:0 auto;
}

.header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:200;
  background:rgba(247,247,244,.88);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
  box-shadow:0 8px 20px rgba(20,28,20,.05);
  transition:transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.header.hidden{
  transform:translateY(-100%);
}

.header.compact{
  background:rgba(247,247,244,.95);
  box-shadow:0 10px 24px rgba(20,28,20,.08);
}

.header-inner{
  min-height:var(--header-h);
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  padding:0;
  background:none;
  border:none;
  box-shadow:none;
}

.brand-logo{
  display:block;
  width:110px;
  height:auto;
  object-fit:contain;
  transition:width .28s ease;
}

.header.compact .brand-logo{
  width:96px;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}

.nav a{
  font-size:12px;
  font-weight:700;
  color:rgba(17,17,17,.78);
  transition:.2s ease;
}

.nav a:hover{
  color:var(--text);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.desktop-cta{
  min-height:38px !important;
  padding:0 16px !important;
  font-size:13px !important;
}

.burger{
  display:none;
  width:40px;
  height:40px;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,.96);
  position:relative;
  cursor:pointer;
  box-shadow:var(--shadow-soft);
  transition:transform .2s ease, box-shadow .2s ease;
}

.burger span,
.burger::before,
.burger::after{
  content:"";
  position:absolute;
  left:11px;
  right:11px;
  height:2px;
  background:#111;
  border-radius:999px;
}

.burger::before{ top:13px; }
.burger span{ top:20px; }
.burger::after{ top:27px; }

.mobile-menu{
  display:none;
}

.hero{
  padding-top:calc(var(--header-h) + 8px);
  padding-bottom:22px;
}

.hero-cover-shell{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#fff;
}

.hero-cover-image{
  width:100%;
  height:auto;
  display:block;
}

.hero-cover-overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:22px;
  display:flex;
  justify-content:center;
  padding:0 20px;
}

.hero-cover-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}

.section{
  padding:52px 0;
}

.offer-section{
  padding-top:8px;
  padding-bottom:34px;
}

.offer-shell{
  border-radius:32px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:var(--shadow);
  padding:30px;
}

.offer-head{
  margin-bottom:24px;
}

.section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,500px);
  gap:28px;
  align-items:end;
  margin-bottom:28px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(131,198,73,.12);
  color:var(--green-dark);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:16px;
}

.section-title{
  margin:0;
  font-size:clamp(32px,5vw,58px);
  line-height:.98;
  letter-spacing:-.05em;
}

.offer-title{
  max-width:760px;
}

.section-copy{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
  max-width:760px;
}

.offer-grid,
.stats-grid,
.cards-2,
.cards-3,
.geo-shell,
.contact-grid{
  display:grid;
  gap:18px;
}

.offer-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.stats-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.cards-2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.cards-3{ grid-template-columns:repeat(3,minmax(0,1fr)); }

.card,
.offer-card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(17,17,17,.06);
  box-shadow:var(--shadow-soft);
  border-radius:28px;
  padding:28px;
  position:relative;
  overflow:hidden;
}

.card.dark,
.offer-card.dark{
  background:linear-gradient(180deg,#24322a 0%, #111111 100%);
  color:#fff;
}

.card h3{
  margin:0 0 10px;
  font-size:26px;
  line-height:1.08;
  letter-spacing:-.04em;
}

.card p,
.offer-card p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.72;
}

.card.dark p,
.offer-card.dark p{
  color:rgba(255,255,255,.8);
}

.offer-label,
.stat-top{
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(17,17,17,.5);
  margin-bottom:12px;
}

.card.dark .stat-top,
.offer-card.dark .offer-label{
  color:rgba(255,255,255,.62);
}

.offer-value,
.stat-value,
.package-price{
  font-size:clamp(34px,4vw,56px);
  line-height:.95;
  letter-spacing:-.06em;
  font-weight:800;
}

.offer-sub,
.stat-title{
  margin-top:10px;
  font-size:18px;
  font-weight:700;
  line-height:1.35;
}

.stat-copy{
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}

.card.dark .stat-copy{
  color:rgba(255,255,255,.8);
}

.split-list{
  display:grid;
  gap:14px;
  margin-top:18px;
}

.split-item{
  padding-top:14px;
  border-top:1px solid rgba(17,17,17,.08);
}

.card.dark .split-item{
  border-top:1px solid rgba(255,255,255,.10);
}

.split-item strong{
  display:block;
  margin-bottom:4px;
  font-size:16px;
  line-height:1.45;
}

.split-item span{
  display:block;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}

.card.dark .split-item span{
  color:rgba(255,255,255,.8);
}

.trusted-section{
  background:rgba(255,255,255,.48);
}

.trusted-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.trusted-item{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(17,17,17,.06);
  box-shadow:var(--shadow-soft);
  border-radius:24px;
  padding:28px 22px;
  text-align:center;
}

.trusted-item span{
  display:block;
  font-size:34px;
  font-weight:800;
  line-height:1;
  color:var(--green-dark);
  margin-bottom:12px;
}

.trusted-item p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.cases-section{
  overflow:hidden;
}

.cases-slider{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:14px;
  align-items:center;
}

.cases-track-wrap{
  overflow:hidden;
  position:relative;
}

.cases-track{
  display:flex;
  gap:18px;
  transition:transform .4s ease;
  will-change:transform;
}

.case-card{
  flex:0 0 calc(33.333% - 12px);
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  border:1px solid rgba(17,17,17,.06);
  min-height:260px;
}

.case-card img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  display:block;
  background:#eef1ee;
}

.cases-empty{
  display:none;
  min-height:280px;
  border-radius:24px;
  background:rgba(255,255,255,.78);
  border:1px dashed rgba(17,17,17,.14);
  color:var(--muted);
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px;
  font-size:18px;
  line-height:1.6;
}

.cases-empty.show{
  display:flex;
}

.cases-arrow{
  width:52px;
  height:52px;
  border:none;
  border-radius:16px;
  background:#fff;
  box-shadow:var(--shadow-soft);
  cursor:pointer;
  font-size:30px;
  line-height:1;
  color:#111;
}

.cases-arrow:disabled{
  opacity:.35;
  cursor:default;
}

.cases-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:22px;
}

.cases-dot{
  width:10px;
  height:10px;
  border:none;
  border-radius:50%;
  background:rgba(17,17,17,.18);
  cursor:pointer;
  padding:0;
}

.cases-dot.active{
  background:var(--green-dark);
}

.contact-list{
  display:grid;
  gap:14px;
  margin-top:20px;
}

.contact-line{
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(17,17,17,.06);
}

.contact-line strong{
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--muted);
  margin-bottom:6px;
}

.contact-line a{
  display:block;
  font-size:20px;
  font-weight:800;
  line-height:1.35;
  letter-spacing:-.03em;
}

.contact-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:22px;
}

.contact-actions .btn{
  width:100%;
}

.form{
  display:grid;
  gap:14px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.field{
  width:100%;
  min-height:58px;
  padding:0 18px;
  border-radius:18px;
  border:1px solid rgba(17,17,17,.08);
  background:#fff;
  outline:none;
}

.field:focus{
  border-color:rgba(86,141,60,.35);
  box-shadow:0 0 0 4px rgba(131,198,73,.12);
}

textarea.field{
  min-height:150px;
  padding:16px 18px;
  resize:vertical;
}

.consent{
  display:flex;
  gap:12px;
  align-items:flex-start;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.consent input{
  margin-top:4px;
}

.form-status{
  font-size:14px;
  color:var(--muted);
}

.btn{
  min-height:54px;
  padding:0 24px;
  border:none;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
  transition:.2s ease;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-green{
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:#fff;
}

.btn-dark{
  background:#111;
  color:#fff;
}

.btn-light{
  background:rgba(255,255,255,.94);
  color:var(--text);
  border:1px solid rgba(17,17,17,.08);
}

.geo-shell{
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
}

.geo-map{
  background:#fff;
  border-radius:28px;
  box-shadow:var(--shadow-soft);
  padding:18px;
}

.geo-map img{
  width:100%;
  height:auto;
  border-radius:16px;
}

.geo-stats{
  display:grid;
  gap:18px;
}

.contact-grid{
  grid-template-columns:.92fr 1.08fr;
}

.footer{
  padding:26px 0 40px;
}

.footer-inner{
  min-height:80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-top:20px;
  border-top:1px solid rgba(17,17,17,.08);
  color:rgba(17,17,17,.58);
  font-size:14px;
}

.backtop{
  position:fixed;
  right:18px;
  bottom:18px;
  width:56px;
  height:56px;
  border:none;
  border-radius:18px;
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:#fff;
  font-size:24px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 18px 36px rgba(86,141,60,.28);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index:220;
}

.backtop.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

@media (max-width:1180px){
  .section-head,
  .offer-grid,
  .stats-grid,
  .cards-2,
  .cards-3,
  .geo-shell,
  .contact-grid,
  .trusted-grid{
    grid-template-columns:1fr;
  }

  .case-card{
    flex:0 0 calc(50% - 9px);
  }
}

@media (max-width:980px){
  .nav,
  .desktop-cta{
    display:none;
  }

  .burger{
    display:block;
  }

  .mobile-menu{
    position:fixed;
    top:var(--header-h);
    left:0;
    right:0;
    z-index:190;
    background:rgba(247,247,244,.98);
    border-bottom:1px solid var(--line);
    padding:16px;
    display:none;
    flex-direction:column;
    gap:12px;
  }

  .mobile-menu.show{
    display:flex;
  }

  .mobile-menu a{
    font-size:18px;
    font-weight:700;
  }

  .mobile-btn{
    margin-top:8px;
  }

  .form-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  :root{
    --header-h:56px;
  }

  .container{
    width:min(calc(100% - 20px), var(--container));
  }

  .brand-logo{
    width:118px;
  }

  .header.compact .brand-logo{
    width:108px;
  }

  .hero{
    padding-top:calc(var(--header-h) + 6px);
    padding-bottom:18px;
  }

  .hero-cover-shell{
    border-radius:24px;
  }

  .hero-cover-overlay{
    position:static;
    padding:16px;
  }

  .hero-cover-actions{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
  }

  .hero-cover-actions .btn{
    width:100%;
  }

  .section{
    padding:34px 0;
  }

  .section-title{
    font-size:clamp(28px,9vw,40px);
  }

  .section-copy{
    font-size:15px;
    line-height:1.72;
  }

  .offer-shell,
  .card,
  .offer-card,
  .trusted-item{
    padding:20px;
    border-radius:24px;
  }

  .case-card{
    flex:0 0 100%;
  }

  .cases-slider{
    grid-template-columns:1fr;
  }

  .cases-arrow{
    display:none;
  }

  .contact-actions{
    grid-template-columns:1fr;
  }

  .contact-line a{
    font-size:18px;
  }

  .footer-inner{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }

  .backtop{
    width:52px;
    height:52px;
    border-radius:16px;
    right:14px;
    bottom:14px;
  }
}


/* final contact and form polish */
.contact-line a:hover{
  color:var(--green-dark);
}

.form-status{
  min-height:20px;
}

@media (max-width:980px){
  .nav,
  .desktop-cta{
    display:none;
  }

  .burger{
    display:block;
  }

  .header-inner{
    grid-template-columns:auto 1fr auto;
  }

  .contact-grid,
  .geo-shell,
  .section-head,
  .offer-grid,
  .stats-grid,
  .trusted-grid,
  .cards-3,
  .cards-2{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  body{
    padding-top:56px;
  }

  .header{
    height:auto;
  }

  .header-inner{
    min-height:56px;
    padding:0;
  }

  .brand-logo{
    width:118px;
  }

  .mobile-menu{
    top:56px;
  }

  .contact-actions{
    grid-template-columns:1fr;
  }
}


/* FINAL FIXES */
body.menu-open{
  overflow:hidden;
}

.burger.active span{
  opacity:0;
}

.burger.active::before{
  top:20px;
  transform:rotate(45deg);
}

.burger.active::after{
  top:20px;
  transform:rotate(-45deg);
}

.consent a{
  color:var(--green-dark);
  font-weight:700;
}

.footer-legal{
  margin-top:12px;
  text-align:left;
  font-size:13px;
  opacity:.8;
}

.footer-legal a:hover,
.consent a:hover{
  text-decoration:underline;
}

@media (max-width:980px){
  .mobile-menu{
    position:fixed !important;
    top:68px !important;
    left:10px !important;
    right:10px !important;
    bottom:auto !important;
    z-index:9999 !important;
    display:none;
    max-height:calc(100vh - 88px);
    overflow-y:auto;
    padding:10px !important;
    border-radius:20px;
    background:rgba(255,255,255,.98) !important;
    border:1px solid rgba(17,17,17,.08) !important;
    box-shadow:0 20px 50px rgba(17,17,17,.12) !important;
    backdrop-filter:blur(14px);
  }

  .mobile-menu.show{
    display:flex !important;
  }

  .mobile-menu a{
    min-height:52px;
    border-radius:14px;
    background:#f6f7f4;
    border:1px solid rgba(17,17,17,.05);
  }

  .mobile-btn{
    justify-content:center;
    background:linear-gradient(135deg,var(--green),var(--green-dark)) !important;
    color:#fff !important;
    border:none !important;
  }
}


/* === FINAL CLEAN FIXES === */
.header{
  z-index:300;
}

.nav a,
.mobile-menu a{
  border-radius:14px;
}

.btn{
  min-height:56px;
  padding:0 26px;
  border-radius:999px;
  box-shadow:0 10px 24px rgba(19,28,20,.08);
}

.btn-light{
  background:#fff;
}

.hero-cover-shell{
  border:1px solid rgba(17,17,17,.05);
}

.hero-cover-overlay{
  position:static;
  padding:28px 24px 24px;
  border-top:1px solid rgba(17,17,17,.06);
  background:linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,1) 100%);
}

.hero-cover-actions{
  width:100%;
  justify-content:center;
  gap:16px;
}

.stats-grid .card,
.geo-stats .card,
.trusted-item{
  text-align:left;
}

.stats-grid .card.dark,
.geo-stats .card.dark{
  text-align:left;
}

.contact-actions .btn{
  min-height:52px;
}

.consent{
  align-items:flex-start;
}

.footer{
  padding:26px 0 34px;
}

.footer-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px 24px;
  align-items:start;
}

.footer-copy,
.footer-phones,
.footer-legal{
  margin:0;
}

.footer-copy{
  justify-self:start;
}

.footer-phones{
  justify-self:end;
  text-align:right;
}

.footer-legal{
  grid-column:1 / -1;
  text-align:left;
  margin-top:2px;
}

.mobile-menu{
  box-shadow:0 20px 50px rgba(17,17,17,.12);
}

@media (max-width:980px){
  .mobile-menu{
    position:fixed !important;
    top:68px !important;
    left:10px !important;
    right:10px !important;
    bottom:auto !important;
    z-index:9999 !important;
    display:none;
    max-height:calc(100vh - 88px);
    overflow-y:auto;
    padding:10px !important;
    border-radius:20px;
    background:rgba(255,255,255,.99) !important;
    border:1px solid rgba(17,17,17,.08) !important;
    backdrop-filter:blur(14px);
  }

  .mobile-menu.show{
    display:flex !important;
  }

  .mobile-menu a{
    display:flex;
    align-items:center;
    min-height:52px;
    padding:0 16px;
    font-size:16px;
    font-weight:700;
    background:#f6f7f4;
    border:1px solid rgba(17,17,17,.05);
  }

  .mobile-btn{
    justify-content:center;
    background:linear-gradient(135deg,var(--green),var(--green-dark)) !important;
    color:#fff !important;
    border:none !important;
  }

  .hero-cover-overlay{
    padding:24px 18px 20px;
  }

  .hero-cover-actions{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
  }

  .hero-cover-actions .btn{
    width:100%;
  }
}

@media (max-width:720px){
  .hero-cover-overlay{
    padding:22px 16px 16px;
  }

  .offer-shell,
  .card,
  .offer-card,
  .trusted-item{
    padding:20px;
  }

  .footer-inner{
    grid-template-columns:1fr;
    gap:8px;
  }

  .footer-phones{
    justify-self:start;
    text-align:left;
  }

  .footer-legal{
    text-align:left;
  }
}
