/* Professional visual refinement layer */
:root{
  --bg:#0b151b;
  --bg2:#101e26;
  --card:#14232b;
  --card2:#182a33;
  --gold:#d6a73e;
  --gold2:#edca72;
  --text:#f7f9fa;
  --muted:#b8c5cb;
  --cream:#f5f7f8;
  --ink:#13242c;
  --line:rgba(255,255,255,.11);
  --shadow:0 14px 38px rgba(8,24,32,.14);
  --radius:14px;
}
body{font-size:16px;line-height:1.62;background:var(--bg)}
.container{width:min(1160px,calc(100% - 40px))}
h1,h2{letter-spacing:-.02em}
h1{font-size:clamp(40px,5vw,68px)}
h2{font-size:clamp(30px,3.5vw,46px)}
h3{font-size:20px}
p{margin-bottom:16px}
.section{padding:74px 0}
.section-intro{margin-inline:auto}

/* Header */
.site-header{background:rgba(10,21,27,.96);backdrop-filter:blur(10px)}
.nav-wrap{height:72px;gap:22px}
.brand{font-size:25px;white-space:nowrap}
.main-nav{gap:23px;font-size:13px}
.main-nav a.active:after{bottom:-10px}
.nav-cta{padding:11px 18px}
.dropdown-menu{border-radius:12px!important;box-shadow:0 18px 45px rgba(0,0,0,.22)!important}
.dropdown-menu.mega-menu{grid-template-columns:repeat(3,minmax(170px,1fr));min-width:720px;gap:2px;padding:12px;max-height:72vh;overflow:auto}
.dropdown-menu a{padding:10px 12px!important;border-radius:8px;font-size:13px}

/* Buttons */
.btn{border-radius:8px;padding:12px 20px;font-size:14px;box-shadow:none;transition:transform .15s ease,background .15s ease,border-color .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn-gold{background:var(--gold);box-shadow:none}
.btn-outline{background:transparent;border-color:rgba(255,255,255,.28)}

/* Hero: remove duplicate visual clutter and preserve one focused conversion path */
.hero,.home-hero-slider{min-height:auto}
.hero-grid,.home-hero-grid{padding:92px 0 118px;grid-template-columns:minmax(0,1.25fr) minmax(340px,430px);gap:54px}
.hero:after,.home-hero-slider:after{height:110px}
.home-hero-copy h1{font-size:clamp(40px,5vw,68px);max-width:760px}
.hero-copy p{font-size:18px;max-width:720px}
.hero-actions{margin:24px 0 28px}
.hero-right-stack{display:block}
.hero-image-card,.hero-slider-caption{display:none}
.home-demo-card,.demo-card{padding:26px;border-radius:16px;background:rgba(16,31,39,.92);border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 45px rgba(0,0,0,.22)}
.home-demo-card h2,.demo-card h2{font-family:Inter,system-ui,sans-serif;font-size:25px;letter-spacing:-.02em}
.quick-tags{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:660px}
.quick-tags span{border:1px solid rgba(255,255,255,.13);border-radius:9px;padding:9px 12px;margin:0;background:rgba(255,255,255,.045);font-size:13px;font-weight:700}

/* Forms */
.lead-form{gap:11px}
.lead-form input,.lead-form textarea,.lead-form select{border-radius:8px!important;min-height:44px!important;padding:11px 12px!important;background:#fff!important;color:#1b2b33!important;border:1px solid #d5dee3!important}
.lead-form textarea{min-height:82px!important}
.lead-form label span{font-size:12px}
.form-note{line-height:1.45}
.simple-captcha-wrap{margin:2px 0 6px}
.simple-captcha-row{grid-template-columns:110px 1fr 42px}
.simple-captcha-question,.simple-captcha-answer,.simple-captcha-refresh{min-height:42px;border-radius:7px}

/* Statistics */
.stats-wrap{margin-top:-48px}
.stats-bar{border-radius:12px;box-shadow:0 14px 38px rgba(0,0,0,.2)}
.stats-bar div{padding:21px 25px;font-size:27px;grid-template-columns:45px 1fr}
.stats-bar strong{font-size:32px}
.stats-bar span{font-size:13px}

/* Cards and content blocks */
.feature-grid article,.mini-card,.seo-card,.media-card{border-radius:14px;box-shadow:0 8px 26px rgba(17,38,48,.08);border-color:#e1e7ea}
.feature-grid article,.mini-card,.seo-card{padding:24px}
.why-equal-grid{gap:18px}
.why-equal-grid article{min-height:auto;border-radius:14px;padding:24px;box-shadow:0 8px 26px rgba(17,38,48,.08)}
.why-equal-grid article:hover{transform:none;box-shadow:0 8px 26px rgba(17,38,48,.08)}
.why-equal-grid b{width:46px;height:46px;border-radius:11px;font-size:26px;box-shadow:none}
.why-equal-grid h3{min-height:auto}
.cards-grid,.solution-grid.three,.video-row{gap:20px}
.module-card,.solution-card,.video-card,.video-gallery-card{border-radius:14px;box-shadow:none;background:#122129;border-color:rgba(255,255,255,.11)}
.card-img{height:170px}
.card-body,.solution-card div{padding:22px}
.module-card p{min-height:auto}
.card-icon{width:44px;height:44px;font-size:20px;margin-top:-43px}
.media-card{padding:10px}
.media-card img{border-radius:10px}
.mini-list{gap:8px}
.mini-list span{padding:7px 11px;font-size:13px}

/* Company, FAQs and CTA */
.company-band{grid-template-columns:220px 1fr 330px;gap:28px}
.mini-badges{gap:10px}
.mini-badges span{padding:15px;border-radius:10px;box-shadow:none;border:1px solid #e3e8eb;font-size:13px}
.faq-list details{border-radius:10px!important;box-shadow:none!important}
.cta-strip{padding:38px 0}
.cta-inner{padding:30px;border-radius:14px;background:linear-gradient(90deg,rgba(8,20,26,.95),rgba(8,20,26,.78)),url('../img/hero-smart-building.webp') center/cover}
.cta-inner h2{font-size:34px}

/* Interior pages */
.page-hero{min-height:470px}
.page-hero-grid{gap:42px}
.hero-logo-card,.dashboard-card{border-radius:14px}
.solution-card img{height:190px}
.inline-links{gap:8px}
.inline-links a{padding:8px 12px;border-radius:8px;font-size:13px}
.keyword-strip{border-radius:10px;padding:12px 14px}

/* Popup */
.lead-popup-card{width:min(860px,94vw);grid-template-columns:.8fr 1.2fr;border-radius:16px;padding:20px;gap:18px;background:#f7f8f9}
.popup-copy{border-radius:12px;background:#f0eadc;padding:20px}
.popup-brand-strip{border-radius:10px;min-height:56px;padding:8px 14px}
.popup-brand-strip img{max-height:40px;box-shadow:none}
.popup-close{width:34px;height:34px;font-size:20px}

/* Footer: reduce visual density */
.footer{padding-top:58px!important}
.footer-grid-updated{gap:34px!important}
.footer h3{font-size:16px;margin-bottom:14px}
.footer a,.footer p{font-size:13px;line-height:1.6}
.footer-solution-links{gap:22px!important}
.footer-proof span{padding:7px 9px!important}
.socials{gap:8px!important}
.whatsapp-float{border-radius:999px!important;box-shadow:0 8px 24px rgba(0,0,0,.2)!important;font-size:13px!important}

@media(max-width:1100px){
  .main-nav{gap:16px}
  .dropdown-menu.mega-menu{min-width:620px;grid-template-columns:repeat(2,minmax(180px,1fr))}
  .hero-grid,.home-hero-grid{grid-template-columns:1fr;gap:30px;padding-top:72px}
  .home-demo-card{max-width:640px}
  .company-band{grid-template-columns:180px 1fr}.mini-badges{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .container{width:min(100% - 28px,1160px)}
  .section{padding:56px 0}
  .nav-wrap{height:66px}.brand{font-size:22px}.nav-cta{display:none}
  .main-nav{padding:14px!important}
  .dropdown-menu.mega-menu{min-width:0;display:block;padding:8px;max-height:52vh}
  .hero-grid,.home-hero-grid{padding:60px 0 90px}
  .home-hero-copy h1,.hero h1{font-size:38px}
  .hero-copy p{font-size:16px}
  .quick-tags{grid-template-columns:1fr 1fr}
  .stats-wrap{margin-top:-32px}.stats-bar{grid-template-columns:1fr 1fr}.stats-bar div{padding:17px;border-bottom:1px solid rgba(255,255,255,.12)}
  .feature-grid.four,.cards-grid.four,.cards-grid.six,.solution-grid.three,.video-row,.industry-row{grid-template-columns:1fr!important}
  .company-band{grid-template-columns:1fr}.company-band .abc-logo{max-width:210px}.mini-badges{grid-template-columns:1fr}
  .cta-inner{display:block}.cta-inner .btn{margin-top:10px}
  .lead-popup-card{grid-template-columns:1fr;padding:15px}.popup-copy{display:none}
  .simple-captcha-row{grid-template-columns:96px 1fr 40px}
}
@media(max-width:480px){
  .quick-tags{grid-template-columns:1fr}
  .stats-bar{grid-template-columns:1fr}
  .hero-actions{display:grid}.hero-actions .btn{width:100%}
}
