/* Digital GMB Header v1.0.1 — sab classes .dgs-* ke andar hain, theme se takrate nahi */
.dgs-head{font-family:'Inter',sans-serif;position:sticky;top:0;z-index:999;background:#fff;color:#10263D;box-shadow:0 1px 0 #E3E9F0;line-height:1.5;width:100%;}
.dgs-head.scrolled{box-shadow:0 8px 30px rgba(16,38,61,.10);}
body.admin-bar .dgs-head{top:32px;}
@media (max-width:782px){body.admin-bar .dgs-head{top:46px;}}
.dgs-head *, .dgs-head *::before, .dgs-head *::after{box-sizing:border-box;}
.dgs-head a{text-decoration:none;color:inherit;}
.dgs-head ul{list-style:none;margin:0;padding:0;}
.dgs-head img{border:0;box-shadow:none;max-width:none;height:auto;}
.dgs-head svg{display:block;flex:0 0 auto;}
.dgs-head button{font:inherit;}

/* Top bar */
.dgs-head .dgs-top,.dgs-head .dgs-top a{color:#fff;}
.dgs-head .dgs-top{background:#10263D;color:#fff;font-size:13px;}
.dgs-head .dgs-top .dgs-in{max-width:1280px;margin:0 auto;padding:9px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;}
.dgs-head .dgs-top .dgs-l{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;}
.dgs-head .dgs-top a{color:#fff;display:inline-flex;align-items:center;gap:7px;opacity:.92;min-width:0;}
.dgs-head .dgs-top a:hover{color:#8EEB28;opacity:1;}
.dgs-head .dgs-top svg{color:#8EEB28;}
.dgs-head .dgs-top .dgs-r{min-width:0;}

/* Nav bar */
.dgs-head .dgs-nav-wrap{position:relative;}
.dgs-head .dgs-nav{max-width:1280px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;height:80px;}
.dgs-head .dgs-logo{display:block;flex:0 0 auto;}
.dgs-head .dgs-logo img{height:54px;width:auto;display:block;}
.dgs-head .dgs-menu{display:flex;align-items:center;gap:2px;}
.dgs-head .dgs-menu>li{position:relative;}
.dgs-head .dgs-menu>li>a{display:flex;align-items:center;gap:6px;padding:10px 12px;color:#10263D;font-weight:600;font-size:15px;border-radius:8px;transition:all .2s;white-space:nowrap;}
.dgs-head .dgs-menu>li>a:hover, .dgs-head .dgs-menu>li:focus-within>a, .dgs-head .dgs-menu>li:hover>a{background:rgba(142,235,40,.30);}
.dgs-head .dgs-menu>li>a.is-active{background:#8EEB28;}
.dgs-head .dgs-menu>li.has-dd>a svg{transition:transform .2s;}
.dgs-head .dgs-menu>li.has-dd:hover>a svg, .dgs-head .dgs-menu>li.has-dd:focus-within>a svg{transform:rotate(180deg);}
.dgs-head .dgs-dd{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%) translateY(8px);width:560px;background:#fff;border:1px solid #E3E9F0;border-top:3px solid #8EEB28;border-radius:14px;box-shadow:0 24px 60px rgba(16,38,61,.16);padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:4px;opacity:0;visibility:hidden;transition:all .22s ease;}
.dgs-head .dgs-menu>li.has-dd:hover .dgs-dd, .dgs-head .dgs-menu>li.has-dd:focus-within .dgs-dd{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.dgs-head .dgs-dd:before{content:'';position:absolute;top:-14px;left:0;right:0;height:14px;}
.dgs-head .dgs-dd-item{display:flex;gap:12px;align-items:center;padding:10px 12px;border-radius:10px;color:#10263D;transition:background .18s;}
.dgs-head .dgs-dd-item:hover, .dgs-head .dgs-dd-item:focus-visible{background:rgba(142,235,40,.12);}
.dgs-head .dgs-dd-item.is-active{background:rgba(142,235,40,.25);}
.dgs-head .dgs-dd-ic{flex:0 0 40px;width:40px;height:40px;border-radius:10px;background:#10263D;color:#8EEB28;display:flex;align-items:center;justify-content:center;transition:all .18s;}
.dgs-head .dgs-dd-item:hover .dgs-dd-ic{background:#8EEB28;color:#10263D;}
.dgs-head .dgs-dd-item b{display:block;font-size:14.5px;font-weight:600;line-height:1.3;}
.dgs-head .dgs-cta{display:inline-flex;align-items:center;gap:8px;background:#8EEB28;color:#10263D;font-weight:700;font-size:15px;padding:13px 22px;border-radius:8px;transition:all .2s;white-space:nowrap;flex:0 0 auto;}
.dgs-head .dgs-cta:hover{background:#6FC414;transform:translateY(-2px);box-shadow:0 10px 24px rgba(142,235,40,.35);}
.dgs-head .dgs-cta svg{width:16px;height:16px;}
.dgs-head .dgs-burger{display:none;background:none;border:1.5px solid #10263D;border-radius:8px;width:46px;height:46px;cursor:pointer;color:#10263D;align-items:center;justify-content:center;flex:0 0 auto;}
.dgs-head .dgs-burger:focus-visible, .dgs-head .dgs-dd-toggle:focus-visible, .dgs-head a:focus-visible{outline:2px solid #8EEB28;outline-offset:2px;}

/* Mobile + tablet panel (hidden on laptop) */
.dgs-head .dgs-mob{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid #E3E9F0;box-shadow:0 18px 40px rgba(16,38,61,.16);padding:6px 20px 22px;max-height:calc(100vh - 80px);overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:1000;}
.dgs-head .dgs-mob.open{display:block;}
.dgs-head .dgs-mob>a, .dgs-head .dgs-mob-row>a{display:flex;align-items:center;min-height:50px;padding:12px 6px;border-bottom:1px solid #E3E9F0;color:#10263D;font-weight:600;font-size:16px;}
.dgs-head .dgs-mob>a.is-active, .dgs-head .dgs-mob-row>a.is-active{color:#10263D;background:#8EEB28;border-radius:8px;border-bottom-color:transparent;padding-left:12px;}
.dgs-head .dgs-mob-row{display:flex;align-items:stretch;border-bottom:1px solid #E3E9F0;}
.dgs-head .dgs-mob-row>a{flex:1 1 auto;border-bottom:0;}
.dgs-head .dgs-dd-toggle{flex:0 0 52px;background:none;border:0;cursor:pointer;color:#10263D;display:flex;align-items:center;justify-content:center;}
.dgs-head .dgs-dd-toggle svg{transition:transform .2s;}
.dgs-head .dgs-mob-row.open .dgs-dd-toggle svg{transform:rotate(180deg);}
.dgs-head .dgs-mob-dd{display:none;padding:6px 0 10px;}
.dgs-head .dgs-mob-row.open+.dgs-mob-dd{display:block;}
.dgs-head .dgs-mob-dd .dgs-dd-item{padding:10px 6px;border-bottom:1px solid #E3E9F0;border-radius:0;}
.dgs-head .dgs-mob-dd .dgs-dd-item:last-child{border-bottom:0;}
.dgs-head .dgs-mob-dd .dgs-dd-item b{font-size:15px;}
.dgs-head .dgs-mob .dgs-cta{display:flex;justify-content:center;margin-top:18px;width:100%;}

/* Tablet & phone: burger menu */
@media (max-width:1100px){
  .dgs-head .dgs-menu{display:none;}
  .dgs-head .dgs-nav>.dgs-cta{display:none;}
  .dgs-head .dgs-burger{display:inline-flex;}
  .dgs-head .dgs-nav{height:72px;padding:0 20px;}
  .dgs-head .dgs-logo img{height:46px;max-width:190px;}
}
@media (max-width:820px){
  .dgs-head .dgs-top .dgs-in{padding:8px 16px;flex-direction:column;align-items:center;text-align:center;gap:6px;}
  .dgs-head .dgs-top .dgs-l{justify-content:center;gap:6px 18px;}
  .dgs-head .dgs-top .dgs-r{display:block;}
}
@media (max-width:560px){
  .dgs-head .dgs-top{font-size:12px;}
  .dgs-head .dgs-top .dgs-in{padding:8px 12px;}
  .dgs-head .dgs-top .dgs-l{flex-direction:column;gap:4px;}
  .dgs-head .dgs-top .dgs-r a{font-size:11.5px;line-height:1.4;}
  .dgs-head .dgs-nav{height:64px;padding:0 14px;}
  .dgs-head .dgs-logo img{height:40px;max-width:160px;}
  .dgs-head .dgs-burger{width:44px;height:44px;}
  .dgs-head .dgs-mob{padding:4px 16px 20px;}
}
