/* AI Plus 4.2 — Header/Footer shell normalizer (light-only) */
.aip-theme-builder-location{position:relative;z-index:1000;width:100%;margin:0;padding:0;line-height:normal}
.aip-theme-builder-location--footer{z-index:20;overflow:hidden}
.aip-theme-builder-location>.elementor,
.aip-theme-builder-location>.elementor>.elementor-element,
.aip-theme-builder-location .elementor-element.e-con,
.aip-theme-builder-location .elementor-widget,
.aip-theme-builder-location .elementor-widget-container{margin-top:0;margin-bottom:0}
.aip-theme-builder-location>.elementor>.elementor-element.e-con{padding-top:0;padding-bottom:0;max-width:none;width:100%}
.aip-theme-builder-location .elementor-widget-ai_plus_header,
.aip-theme-builder-location .elementor-widget-ai_plus_footer{width:100%;max-width:none}

/* Header: one disciplined shell in every context. */
.aip-theme-builder-location--header .aip-e-header{padding:0 16px;background:transparent;color:#151827}
.aip-theme-builder-location--header .aip-e-header__inner{max-width:1280px}
.aip-theme-builder-location--header .aip-e-header__bar{
  min-height:72px;
  padding:10px 16px;
  border:1px solid #e8eaf1;
  border-radius:18px;
  background:rgba(255,255,255,.94);
  color:#171a2b;
  box-shadow:0 10px 30px rgba(25,31,52,.06);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.aip-theme-builder-location--header .aip-e-header__brand img{max-height:40px;max-width:160px;width:auto}
.aip-theme-builder-location--header .aip-e-header__brand strong{font-size:15px;color:#171a2b;white-space:nowrap}
.aip-theme-builder-location--header .aip-e-header__mark{width:40px;height:40px;border-radius:12px}
.aip-theme-builder-location--header .aip-e-header__menu{gap:2px}
.aip-theme-builder-location--header .aip-e-header__menu>li>a{padding:9px 11px;border-radius:10px;font-size:13px;font-weight:750;color:#51586c;line-height:1.4}
.aip-theme-builder-location--header .aip-e-header__menu>li>a:hover,
.aip-theme-builder-location--header .aip-e-header__menu>.current-menu-item>a{background:#f3f4f8;color:var(--aip-primary,#635bff)}
.aip-theme-builder-location--header .aip-e-header__account,
.aip-theme-builder-location--header .aip-e-header__cta{height:40px;padding-inline:14px;border-radius:11px;font-size:12px}
.aip-theme-builder-location--header .aip-e-header__announcement{min-height:28px;margin:0 auto 6px;padding:4px 12px;border-radius:10px;background:#f5f5ff;color:#4f4a76;font-size:11px}

/* Keep every header variant aligned with the primary light shell. */
.aip-e-header--cinematic,.aip-e-header--cyber,.aip-e-header--luxury{
  --aip-h-bg:rgba(255,255,255,.94);
  --aip-h-text:#171a2b;
  --aip-h-border:#e8eaf1;
}
.aip-e-header--cyber .aip-e-header__bar,
.aip-e-header--luxury .aip-e-header__bar{box-shadow:0 10px 30px rgba(25,31,52,.06)}

/* Inner pages get a purposefully compact header. */
body.aip-header-density-compact .aip-theme-builder-location--header .aip-e-header{padding-top:6px;padding-bottom:6px}
body.aip-header-density-compact .aip-theme-builder-location--header .aip-e-header__bar{min-height:60px;padding-top:7px;padding-bottom:7px;border-radius:15px}
body.aip-header-density-compact .aip-theme-builder-location--header .aip-e-header__brand img{max-height:34px;max-width:145px}
body.aip-header-density-compact .aip-theme-builder-location--header .aip-e-header__mark{width:36px;height:36px;border-radius:10px}
body.aip-header-density-compact .aip-theme-builder-location--header .aip-e-header__announcement{display:none}
body.aip-header-density-compact .aip-theme-builder-location--header .aip-e-header__menu>li>a{padding:7px 10px;font-size:12.5px}
body.aip-header-density-compact .aip-theme-builder-location--header .aip-e-header__account,
body.aip-header-density-compact .aip-theme-builder-location--header .aip-e-header__cta{height:36px;padding-inline:12px}

/* Home header may be visually richer but never oversized. */
body.aip-context-home .aip-theme-builder-location--header .aip-e-header{padding-top:10px}
body.aip-context-home .aip-theme-builder-location--header .aip-e-header__bar{max-width:1280px;margin-inline:auto}

/* Footer: light, compact and consistent. */
.aip-theme-builder-location--footer .aip-e-footer{
  --aip-f-bg:#f7f8fb;
  --aip-f-text:#191c2c;
  --aip-f-muted:#697086;
  padding:20px 16px 16px;
  background:#fff;
  color:var(--aip-f-text);
}
.aip-theme-builder-location--footer .aip-e-footer__inner{max-width:1280px}
.aip-theme-builder-location--footer .aip-e-footer__surface{
  padding:30px 34px 18px;
  border:1px solid #e6e8ef;
  border-radius:24px;
  background:#f7f8fb;
  color:#191c2c;
  box-shadow:none;
}
.aip-theme-builder-location--footer .aip-e-footer__surface:before{width:420px;height:420px;right:-240px;top:-280px;opacity:.25}
.aip-theme-builder-location--footer .aip-e-footer__surface:after{display:none}
.aip-theme-builder-location--footer .aip-e-footer__newsletter{
  margin-bottom:32px;
  padding:24px 26px;
  border:1px solid #e5e7f0;
  border-radius:18px;
  background:linear-gradient(135deg,#ffffff,#f1f3ff);
  box-shadow:0 10px 28px rgba(29,35,58,.04);
}
.aip-theme-builder-location--footer .aip-e-footer__newsletter span{color:var(--aip-primary,#635bff);letter-spacing:0}
.aip-theme-builder-location--footer .aip-e-footer__newsletter h2{margin:5px 0;color:#171a2b;font-size:23px}
.aip-theme-builder-location--footer .aip-e-footer__newsletter p{color:#697086}
.aip-theme-builder-location--footer .aip-e-footer__newsletter>a{background:var(--aip-primary,#635bff);color:#fff;padding:11px 15px;border-radius:11px}
.aip-theme-builder-location--footer .aip-e-footer__grid{grid-template-columns:1.25fr .7fr .7fr .9fr;gap:34px;padding:0 4px 30px}
.aip-theme-builder-location--footer .aip-e-footer__brand>a,
.aip-theme-builder-location--footer .aip-e-footer__column h3{color:#171a2b}
.aip-theme-builder-location--footer .aip-e-footer__brand img{max-height:38px;max-width:160px}
.aip-theme-builder-location--footer .aip-e-footer__brand>a>span{min-width:38px;height:38px;border-radius:11px}
.aip-theme-builder-location--footer .aip-e-footer__brand p{margin-top:14px;color:#697086;font-size:13px;line-height:1.9}
.aip-theme-builder-location--footer .aip-e-footer__column h3{margin:3px 0 13px;font-size:13px}
.aip-theme-builder-location--footer .aip-e-footer__column ul{gap:8px}
.aip-theme-builder-location--footer .aip-e-footer__column a{color:#687084;font-size:12.5px}
.aip-theme-builder-location--footer .aip-e-footer__column a:hover{color:var(--aip-primary,#635bff)}
.aip-theme-builder-location--footer .aip-e-footer__socials a{border-color:#e2e4eb;background:#fff;color:#51586b}
.aip-theme-builder-location--footer .aip-e-footer__bottom{padding-top:15px;border-color:#e1e4eb;color:#7c8394}
.aip-theme-builder-location--footer .aip-e-footer__bottom a{color:#6b7285}

/* Compact footer for all internal/menu destinations. */
body.aip-footer-mode-compact .aip-theme-builder-location--footer .aip-e-footer{padding-top:12px}
body.aip-footer-mode-compact .aip-theme-builder-location--footer .aip-e-footer__surface{padding:24px 28px 16px;border-radius:20px}
body.aip-footer-mode-compact .aip-theme-builder-location--footer .aip-e-footer__newsletter{display:none}
body.aip-footer-mode-compact .aip-theme-builder-location--footer .aip-e-footer__grid{grid-template-columns:1.2fr .75fr .75fr .9fr;gap:24px;padding-bottom:20px}
body.aip-footer-mode-compact .aip-theme-builder-location--footer .aip-e-footer__brand p{max-width:340px;margin-top:10px}
body.aip-footer-mode-compact .aip-theme-builder-location--footer .aip-e-footer__bottom{margin-top:0}

/* Fallback theme header/footer when Elementor builder is disabled. */
body.aip-header-density-compact .aip-header__inner{min-height:62px}
body.aip-header-density-compact .aip-header .aip-brand__logo{max-height:34px}
body.aip-footer-mode-compact .aip-footer{padding:42px 0 20px}
body.aip-footer-mode-compact .aip-footer__grid{gap:30px}
body.aip-footer-mode-compact .aip-footer__bottom{margin-top:28px}

@media(max-width:1024px){
  .aip-theme-builder-location--header .aip-e-header{padding-inline:12px}
  .aip-theme-builder-location--header .aip-e-header__bar{min-height:64px;padding:8px 12px}
  .aip-theme-builder-location--footer .aip-e-footer__grid,
  body.aip-footer-mode-compact .aip-theme-builder-location--footer .aip-e-footer__grid{grid-template-columns:1.2fr 1fr 1fr}
  .aip-theme-builder-location--footer .aip-e-footer__contact{grid-column:2/4}
}
@media(max-width:767px){
  .aip-theme-builder-location--header .aip-e-header{padding:6px 8px}
  .aip-theme-builder-location--header .aip-e-header__bar{min-height:58px;padding:7px 9px;border-radius:14px}
  .aip-theme-builder-location--header .aip-e-header__brand img{max-height:32px;max-width:125px}
  .aip-theme-builder-location--header .aip-e-header__brand strong{font-size:13px}
  .aip-theme-builder-location--header .aip-e-header__cta{height:36px}
  .aip-theme-builder-location--footer .aip-e-footer{padding:8px}
  .aip-theme-builder-location--footer .aip-e-footer__surface{padding:22px 18px 14px;border-radius:18px}
  .aip-theme-builder-location--footer .aip-e-footer__newsletter{padding:20px;margin-bottom:28px}
  .aip-theme-builder-location--footer .aip-e-footer__newsletter h2{font-size:20px}
  .aip-theme-builder-location--footer .aip-e-footer__grid,
  body.aip-footer-mode-compact .aip-theme-builder-location--footer .aip-e-footer__grid{grid-template-columns:1fr 1fr;gap:26px 18px}
  .aip-theme-builder-location--footer .aip-e-footer__brand{grid-column:1/-1}
  .aip-theme-builder-location--footer .aip-e-footer__contact{grid-column:auto}
}
@media(max-width:480px){
  .aip-theme-builder-location--header .aip-e-header__brand strong{display:none}
  .aip-theme-builder-location--footer .aip-e-footer__grid,
  body.aip-footer-mode-compact .aip-theme-builder-location--footer .aip-e-footer__grid{grid-template-columns:1fr}
  .aip-theme-builder-location--footer .aip-e-footer__bottom{display:grid;gap:8px;text-align:center}
  .aip-theme-builder-location--footer .aip-e-footer__bottom div{justify-content:center}
}
