/* ========== ABOUT ========== */
.about{padding:70px 60px 0}
.about__title{font:700 40px/43px Manrope,sans-serif;color:#404040;margin-bottom:31px}
.about__grid{display:grid;grid-template-columns:419px 1fr;gap:123px}
.about__photo img{width:419px;height:366px;object-fit:cover;border-radius:10px;display:block}
.about__ceo{display:inline-flex;align-items:center;justify-content:center;padding:10px;background:#fff;border-radius:5px;font:400 14px/18.2px Inter,sans-serif;letter-spacing:-0.42px;color:#404040;margin-top:12px;margin-left:10px}
.about__lead{font:400 34px/37.4px Inter,sans-serif;letter-spacing:-1.02px;color:#404040;margin-bottom:36px}
.about__text{font:400 14px/18.2px Inter,sans-serif;letter-spacing:-0.42px;color:#404040;margin-bottom:30px}
.about__text--cert{font-family:Helvetica,sans-serif;margin-bottom:32px}
.about__bold{font-weight:700}
.about__green{color:#4DAD56}
.about__list{list-style:none;font:400 14px/18.2px Inter,sans-serif;letter-spacing:-0.42px;color:#404040;margin-top:32px}
.about__list li{position:relative;padding-left:14px;margin-bottom:14px}
.about__list li::before{content:'\2022';position:absolute;left:0;top:0}

/* ========== WHY US ========== */
.why{padding:70px 60px 0}
.why__title{font:700 40px/43px Manrope,sans-serif;color:#404040;margin-bottom:40px}
.why__row{display:flex;gap:10px;margin-bottom:10px}
.why-card{position:relative;border-radius:10px;overflow:hidden;color:#fff;padding:30px 24px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;transition:transform .25s,box-shadow .25s}
.why-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.15)}
.why-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:0}
.why-card--has-bg::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.45);z-index:1}
.why-card>*{position:relative;z-index:2}
.why-card__big{font:700 50px/55px Inter,sans-serif;letter-spacing:-1.5px}
.why-card__mid{font:700 30px/33px Inter,sans-serif;letter-spacing:-0.9px}
.why-card__h{font:700 28px/30.8px Inter,sans-serif;letter-spacing:-0.84px}
.why-card__p{font:600 16px/20.8px Inter,sans-serif;letter-spacing:-0.48px}
.why-card--full{width:100%;height:380px;margin-bottom:10px}
.why-card--w263{min-width:263px;width:263px;min-height:250px}
.why-card--w262{min-width:262px;width:262px;min-height:250px}
.why-card--w535{flex:1;min-height:250px}
.why-card--w478{min-width:478px;width:478px;min-height:251px}
.why-card--w319{min-width:319px;width:319px;min-height:251px}
.why-card--green{background-color:#30780C}
.why-card--yellow{background-color:#E7AD36}
.why-card--dark{background-color:#3D423E}
.why-card--blue{background-color:#1C60A7}

/* ========== CLIENTS ========== */
.clients{padding:70px 0 0}
.clients__title{padding:0 60px;font:700 40px/43px Manrope,sans-serif;color:#404040;margin-bottom:54px}
.clients__wrap{overflow-x:auto;overflow-y:hidden;width:100%;scrollbar-width:thin;scrollbar-color:#4DAD56 #E6E6E6}
.clients__wrap::-webkit-scrollbar{height:4px}
.clients__wrap::-webkit-scrollbar-track{background:#E6E6E6;border-radius:2px}
.clients__wrap::-webkit-scrollbar-thumb{background:#4DAD56;border-radius:2px}
.clients__track{display:flex;gap:10px;width:max-content;padding-left:60px;padding-bottom:6px}
.clients__track img{height:99px;width:auto;flex-shrink:0;display:block}

/* ========== GEO ========== */
.geo{padding:70px 60px 0}
.geo__title{font:700 40px/43px Manrope,sans-serif;color:#404040;margin-bottom:40px}
.geo__map{border-radius:10px;overflow:hidden;height:500px}
.geo__map #map{width:100%;height:100%}
.custom-marker{background:transparent;border:none}
.custom-marker__icon{width:32px;height:32px;border-radius:50%;background:#4DAD56;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.3);border:3px solid #fff;transition:transform .2s,box-shadow .2s}
.custom-marker__icon svg{width:14px;height:14px;stroke:#fff}
.custom-marker:hover .custom-marker__icon{transform:scale(1.2);box-shadow:0 4px 16px rgba(0,0,0,.4)}
.custom-marker__pulse{position:absolute;top:50%;left:50%;width:32px;height:32px;margin:-16px 0 0 -16px;border-radius:50%;background:#4DAD56;opacity:.4;animation:pulse 2s infinite}
@keyframes pulse{0%{transform:scale(.8);opacity:.5}70%{transform:scale(2);opacity:0}100%{transform:scale(2);opacity:0}}
.custom-popup .leaflet-popup-content-wrapper{border-radius:10px;box-shadow:0 4px 24px rgba(0,0,0,.15)}
.custom-popup .leaflet-popup-content{margin:12px 16px;line-height:1.5}
.custom-popup .leaflet-popup-tip{background:#fff}
.popup-title{font:700 16px/1.3 Manrope,sans-serif;color:#404040;margin-bottom:4px}
.popup-address{font:400 13px/1.4 Inter,sans-serif;color:#666;margin-bottom:4px}
.popup-year{font:500 12px/1.3 Inter,sans-serif;color:#4DAD56}
.popup-note{font:400 12px/1.4 Inter,sans-serif;color:#888;margin-top:6px;font-style:italic}

/* ========== CTA FORM ========== */
.cta{padding:70px 60px 0;display:grid;grid-template-columns:535px 1fr;gap:10px}
.cta__panel{background:#3D423E;border-radius:10px;padding:31px 50px 30px 25px}
.cta__title{font:700 34px/33px Helvetica,sans-serif;color:#fff;margin-bottom:25px}
.cta__sub{font:600 16px/20.8px Inter,sans-serif;letter-spacing:-0.48px;color:#fff;margin-bottom:26px}
.cta__field{width:100%;height:50px;background:transparent;border:1px solid rgba(255,255,255,.25);border-radius:10px;padding:0 15px;font:400 16px/19.36px Inter,sans-serif;color:#fff;margin-bottom:15px;outline:0;box-sizing:border-box}
.cta__field::placeholder{color:rgba(255,255,255,.5)}
.cta__upload{display:flex;align-items:center;gap:10px;width:100%;height:50px;border:1px solid rgba(255,255,255,.25);border-radius:10px;padding:0 15px;font:400 16px/19.36px Inter,sans-serif;color:rgba(255,255,255,.5);cursor:pointer;margin-bottom:15px;background:transparent;box-sizing:border-box}
.cta__upload svg{flex-shrink:0}
.cta__btn{width:100%;height:50px;display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 15px;background:#fff;border-radius:10px;border:none;font:500 16px/19.36px Inter,sans-serif;letter-spacing:-0.48px;color:#404040;cursor:pointer;transition:opacity .2s;box-sizing:border-box}
.cta__btn:hover{opacity:.9}
.cta__img{border-radius:5px;overflow:hidden;height:627px}
.cta__img img{width:100%;height:100%;object-fit:cover;display:block}

/* ========== DROPDOWN ========== */
.hero__nav-drop{position:relative;display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.hero__nav-dropdown{position:absolute;top:100%;left:0;padding-top:12px;display:none;flex-direction:column;min-width:280px;z-index:100}
.hero__nav-drop:hover .hero__nav-dropdown{display:flex}
.hero__nav-dropdown-inner{background:#fff;border-radius:10px;box-shadow:0 8px 30px rgba(0,0,0,.15);padding:10px 0;display:flex;flex-direction:column}
.hero__nav-dropdown-inner a{padding:10px 20px;font:500 14px/18px Inter,sans-serif;letter-spacing:-0.28px;color:#404040!important;text-decoration:none;transition:background .2s,color .2s}
.hero__nav-dropdown-inner a:hover{background:#F3F3F3;color:#4DAD56!important;opacity:1!important}

/* ========== APPS GRID ========== */
.apps__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.apps-card{position:relative;height:335px;border-radius:10px;overflow:hidden;cursor:pointer}
.apps-card__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.apps-card:hover .apps-card__img{transform:scale(1.05)}
.apps-card__overlay{position:absolute;inset:0;background:rgba(0,0,0,.5);z-index:1}
.apps-card__text{position:absolute;bottom:25px;left:20px;right:20px;z-index:2;font:500 26px/30.16px Inter,sans-serif;letter-spacing:-0.52px;color:#fff}

/* ========== APPS 5 COLUMNS ========== */
.apps__grid--5{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.apps__grid--5 .apps-card{height:335px}
.apps__grid--5 .apps-card__text{font:500 18px/22px Inter,sans-serif;letter-spacing:-0.36px}

/* ========== CASE STUDY (Парк Комсомольский) ========== */
.case-head{padding:50px 60px 0}
.case-title{font:700 40px/43px Manrope,sans-serif;letter-spacing:-1.2px;color:#404040;margin-bottom:35px}
.case-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:0}
.case-badge{background:#fff;border-radius:10px;height:203px;padding:30px 20px;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}
.case-badge__top{display:flex;justify-content:space-between;align-items:flex-start}
.case-badge__lbl{font:600 22px/24.2px Inter,sans-serif;letter-spacing:-0.66px;color:#3F3F3F}
.case-badge__dot{width:18px;height:18px;border-radius:50%;display:inline-block;flex-shrink:0}
.case-badge__dot--green{background:#4DAD56}
.case-badge__dot--blue{background:#2074BA}
.case-badge__dot--orange{background:#ECA618}
.case-badge__val{font:400 18px/23.4px Inter,sans-serif;letter-spacing:-0.54px;color:#3F3F3F}
.case-badge__val--tags{display:flex;flex-direction:column;gap:4px;font:400 18px/23.4px Inter,sans-serif;letter-spacing:-0.54px}
.case-desc{padding:90px 60px 70px}
.case-desc__title{font:700 30px/40px Manrope,sans-serif;letter-spacing:-0.9px;color:#3F3F3F;margin-bottom:35px}
.case-desc__grid{display:grid;grid-template-columns:450px 1fr;gap:40px}
.case-desc__lead{font:400 20px/28px Inter,sans-serif;letter-spacing:-0.6px;color:#3F3F3F}
.case-desc__lead strong{font-weight:700}
.case-desc__body{font:400 16px/22.4px Inter,sans-serif;letter-spacing:-0.48px;color:#3F3F3F}
.case-desc__body p:not(:last-child){margin-bottom:25px}
.case-gallery{padding:0 60px 0}
.case-gallery__main{width:1080px;height:607px;border-radius:10px;overflow:hidden;margin-bottom:10px}
.case-gallery__main img{width:100%;height:100%;object-fit:cover;display:block}
.case-gallery__sub{display:grid;grid-template-columns:535px 535px;gap:10px;width:1080px}
.case-gallery__sub-item{width:535px;height:335px;border-radius:10px;overflow:hidden}
.case-gallery__sub-item img{width:100%;height:100%;object-fit:cover;display:block}

/* ========== SITE FOOTER ========== */
.site-footer{margin:70px 60px 40px;background:#252525;border-radius:10px;padding:50px 50px 30px;color:#fff;box-sizing:border-box}
.site-footer__main{display:grid;grid-template-columns:320px 1fr 1fr 240px;gap:40px}
.site-footer__logo{display:inline-flex;align-items:center;gap:12px;text-decoration:none;margin-bottom:18px}
.site-footer__logo-img{width:42px;height:42px;object-fit:contain;border-radius:50%;display:block}
.site-footer__brand-name{font-family:Manrope,sans-serif;font-size:22px;font-weight:700;letter-spacing:-0.5px;color:#fff;text-transform:uppercase}
.site-footer__brand-name span{color:#4DAD56}
.site-footer__tagline{font:400 14px/20px Inter,sans-serif;letter-spacing:-0.28px;color:#A3A3A3;margin:0 0 20px}
.site-footer__badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:6px 14px;font:500 13px/1 Inter,sans-serif;color:#E0E0E0}
.site-footer__badge-dot{width:8px;height:8px;border-radius:50%;background:#4DAD56;box-shadow:0 0 8px #4DAD56}
.site-footer__col-title{font:700 16px/20px Manrope,sans-serif;letter-spacing:-0.32px;color:#fff;margin:0 0 18px}
.site-footer__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.site-footer__list a{font:400 14px/18px Inter,sans-serif;letter-spacing:-0.28px;color:#A3A3A3;text-decoration:none;transition:color .2s}
.site-footer__list a:hover{color:#4DAD56}
.site-footer__col--contacts{display:flex;flex-direction:column;gap:14px}
.site-footer__contact-item{display:flex;align-items:flex-start;gap:10px;font:400 14px/18px Inter,sans-serif;letter-spacing:-0.28px;color:#A3A3A3}
.site-footer__contact-item svg{color:#4DAD56;stroke:#4DAD56;flex-shrink:0;margin-top:2px}
.site-footer__link-phone,.site-footer__link-email{color:#fff!important;text-decoration:none;display:block;line-height:1.4;transition:color .2s}
.site-footer__link-phone:hover,.site-footer__link-email:hover{color:#4DAD56!important}
.site-footer__btn{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 20px;background:#4DAD56;color:#fff!important;font:600 14px/1 Inter,sans-serif;letter-spacing:-0.28px;border-radius:8px;text-decoration:none;margin-top:8px;transition:background .2s,transform .15s}
.site-footer__btn:hover{background:#419C49;transform:translateY(-1px)}
.site-footer__btn:active{transform:scale(0.98)}
.site-footer__bottom{margin-top:40px;padding-top:24px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;align-items:center;font:400 13px/18px Inter,sans-serif;color:#737373}
.site-footer__copy{color:#737373}
.site-footer__legal{display:flex;align-items:center;gap:10px}
.site-footer__legal a{color:#737373;text-decoration:none;transition:color .2s}
.site-footer__legal a:hover{color:#A3A3A3}
.site-footer__legal-sep{color:#555}
.site-footer__to-top{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:6px;padding:6px 12px;font:500 12px/1 Inter,sans-serif;color:#A3A3A3;cursor:pointer;transition:all .2s}
.site-footer__to-top:hover{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.2)}
.site-footer__to-top:active{transform:scale(0.96)}
.site-footer__to-top svg{stroke:#A3A3A3;transition:stroke .2s}
.site-footer__to-top:hover svg{stroke:#fff}

/* ========== SHARED MOBILE (OVERWRITES AT END OF FILE) ========== */
@media(max-width:767px){
  .about{padding:30px 15px 0}
  .about__title{font-size:28px;line-height:32px;margin-bottom:20px}
  .about__grid{grid-template-columns:1fr;gap:20px}
  .about__photo img{width:100%;height:auto}
  .about__lead{font-size:22px;line-height:28px;margin-bottom:20px}

  .why{padding:30px 15px 0}
  .why__title{font-size:28px;line-height:32px;margin-bottom:20px}
  .why__row{flex-direction:column}
  .why-card--full{height:250px}
  .why-card--w263,.why-card--w262,.why-card--w535,.why-card--w478,.why-card--w319{width:100%!important;min-width:0!important;box-sizing:border-box}

  .clients{padding:30px 0 0}
  .clients__title{padding:0 15px;font-size:28px;line-height:32px;margin-bottom:20px}
  .clients__wrap{overflow-x:auto;overflow-y:hidden;width:100%;scrollbar-width:none}
  .clients__wrap::-webkit-scrollbar{display:none}
  .clients__track{display:flex;gap:10px;width:max-content;padding-left:15px;padding-bottom:4px;animation:none}
  .clients__track img{height:50px;flex-shrink:0}

  .geo{padding:30px 15px 0}
  .geo__title{font-size:28px;line-height:32px;margin-bottom:20px}
  .geo__map{height:350px;border-radius:8px}

  .cta{padding:30px 15px 0;grid-template-columns:1fr}
  .cta__panel{padding:24px 20px;box-sizing:border-box}
  .cta__title{font-size:26px;line-height:30px;margin-bottom:18px}
  .cta__img{height:320px;margin-bottom:20px}

  .apps__grid{grid-template-columns:1fr}
  .apps__grid--5{grid-template-columns:1fr}
  .apps-card{height:250px}

  .case-head{padding:30px 15px 0}
  .case-title{font-size:28px;line-height:32px;margin-bottom:20px}
  .case-badges{grid-template-columns:1fr;gap:10px}
  .case-badge{height:auto;min-height:160px;padding:20px}
  .case-desc{padding:30px 15px 30px}
  .case-desc__title{font-size:24px;line-height:30px;margin-bottom:20px}
  .case-desc__grid{grid-template-columns:1fr;gap:16px}
  .case-gallery{padding:0 15px 0}
  .case-gallery__main{width:100%;height:220px}
  .case-gallery__sub{grid-template-columns:1fr;width:100%;gap:10px}
  .case-gallery__sub-item{width:100%!important;height:200px}

  /* Footer Mobile */
  .site-footer{
    margin:30px 15px 20px!important;
    padding:30px 20px 24px!important;
    width:auto!important;
    box-sizing:border-box!important;
  }
  .site-footer__main{
    display:flex!important;
    flex-direction:column!important;
    gap:28px!important;
  }
  .site-footer__col{
    width:100%!important;
    box-sizing:border-box!important;
  }
  .site-footer__col--brand{
    max-width:100%!important;
  }
  .site-footer__btn{
    width:100%!important;
    height:46px!important;
    font-size:15px!important;
    box-sizing:border-box!important;
  }
  .site-footer__bottom{
    margin-top:25px!important;
    padding-top:20px!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:14px!important;
  }
  .site-footer__legal{
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:8px!important;
  }
  .site-footer__legal-sep{
    display:none!important;
  }
  .site-footer__to-top{
    width:100%!important;
    height:44px!important;
    justify-content:center!important;
    padding:10px 16px!important;
    font-size:14px!important;
    box-sizing:border-box!important;
  }
}
