/* hero art + legal layout */
.gate-page-hero{background-image:url('https://gateautomatic.ae/wp-content/plugins/gate-pages-ui/hero.svg'),linear-gradient(120deg,#0D3278 0%,#124397 100%);background-repeat:no-repeat,no-repeat;background-position:right bottom,center;background-size:auto 100%,cover}
@media (max-width:767px){.gate-page-hero{background-image:linear-gradient(120deg,#0D3278 0%,#124397 100%)}}
.gate-legal{scroll-behavior:smooth}
.gate-legal h2{font-family:'Poppins',sans-serif;font-weight:600;font-size:26px;line-height:1.25;color:#124397;margin:2.1em 0 .5em;padding-top:4px;scroll-margin-top:130px}
.gate-legal h2:first-of-type{margin-top:.4em}
.gate-legal p,.gate-legal li{font-family:'Inter',sans-serif;font-size:16px;line-height:1.8;color:#4A5568}
.gate-legal ul{padding-left:1.2em;margin:.6em 0 1em}
.gate-legal a{color:#124397;text-decoration:underline;text-underline-offset:3px}
.gate-legal a:hover{color:#C4610A}
.gate-updated{display:inline-block;background:#FDF1E7;color:#9A4A06 !important;border-radius:999px;padding:6px 16px;font-size:14px !important;font-weight:600;margin:0 0 8px !important}
.gate-toc{background:#F4F6FA;border:1px solid #E3E8F0;border-radius:16px;padding:22px 22px 18px}
.gate-toc strong{display:block;font-family:'Poppins',sans-serif;font-size:17px;color:#1B2B4B;margin-bottom:10px}
.gate-toc ol{margin:0;padding:0;list-style:none;counter-reset:toc}
.gate-toc li{counter-increment:toc;margin:0}
.gate-toc a{display:block;padding:7px 10px;border-radius:8px;font-size:14px;line-height:1.4;color:#1B2B4B;text-decoration:none}
.gate-toc a::before{content:counter(toc) '.';display:inline-block;width:26px;color:#F97316;font-weight:700}
.gate-toc a:hover{background:#fff;color:#124397}
@media (min-width:1025px){.gate-sticky{position:sticky;top:130px;align-self:flex-start}}
@media (max-width:767px){.gate-legal h2{font-size:22px}.gate-legal p,.gate-legal li{font-size:15px}}
/* hide theme breadcrumb where the page has its own hero */
body:has(.gate-page-hero) nav.woocommerce-breadcrumb{display:none}
body:has(.gate-page-hero) .site-content{padding-top:0}

/* cta band before the footer, and rounded edges on the home band */
.gate-cta-band,.gate-final{border-radius:16px}
.gate-final{overflow:hidden}
.gate-cta-band{box-sizing:border-box;max-width:1240px;margin:56px auto 56px;background:#124397;padding:64px 24px;text-align:center}
.gate-cta-band h2{margin:0 0 14px;font-family:'Poppins',sans-serif;font-weight:600;font-size:36px;line-height:1.2;color:#fff}
.gate-cta-band p{margin:0 auto 28px;max-width:640px;font-family:'Inter',sans-serif;font-size:17px;line-height:1.65;color:#E6EDFA}
.gate-cta-actions{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap}
.gate-cta-btn{display:inline-block;padding:15px 34px;border-radius:8px;font-family:'Inter',sans-serif;font-size:16px;font-weight:700;line-height:1.2;text-decoration:none !important;border:2px solid transparent;transition:background-color .2s,color .2s,border-color .2s}
.gate-cta-btn--orange{background:#F97316;color:#fff !important}
.gate-cta-btn--orange:hover,.gate-cta-btn--orange:focus-visible{background:#fff;color:#124397 !important}
.gate-cta-btn--ghost{background:transparent;color:#fff !important;border-color:#fff}
.gate-cta-btn--ghost:hover,.gate-cta-btn--ghost:focus-visible{background:#fff;color:#124397 !important}
@media (max-width:1024px){.gate-cta-band{margin:44px 24px;padding:52px 22px}.gate-cta-band h2{font-size:30px}}
@media (max-width:767px){.gate-cta-band{margin:36px 16px;padding:40px 18px}.gate-cta-band h2{font-size:26px}.gate-cta-band p{font-size:15px}.gate-cta-actions{flex-direction:column;align-items:stretch}.gate-cta-btn{text-align:center}}
/* band overlaps footer */
.gate-cta-band,.gate-final{position:relative;z-index:3}
.gate-cta-band{margin-bottom:-90px !important}
.gate-final{margin-bottom:-90px !important}
body:has(.gate-cta-band) .site-footer,body:has(.gate-final) .site-footer{padding-top:90px}
@media (max-width:767px){.gate-cta-band,.gate-final{margin-bottom:-50px !important}body:has(.gate-cta-band) .site-footer,body:has(.gate-final) .site-footer{padding-top:50px}}
/* footer gray behind band */
body:has(.gate-cta-band) .site-footer,body:has(.gate-final) .site-footer{background:#F8F8F8}

/* divider above the cta band */
.gate-divider{display:flex;align-items:center;gap:20px;max-width:1240px;margin:56px auto 44px;padding:0 24px;box-sizing:border-box}
.gate-divider span{flex:1 1 auto;height:2px;border-radius:2px;background:linear-gradient(90deg,rgba(18,67,151,0),#CBD5E1 60%,#F97316)}
.gate-divider span:last-child{background:linear-gradient(270deg,rgba(18,67,151,0),#CBD5E1 60%,#F97316)}
.gate-divider svg{flex:0 0 auto;display:block}
.gate-cta-band{margin-top:0 !important}
.gate-divider-wrap{padding-top:56px !important;padding-bottom:44px !important}
.gate-divider-wrap .gate-divider{margin:0 auto}
@media (max-width:767px){.gate-divider{margin:40px auto 32px;gap:14px;padding:0 16px}.gate-divider-wrap{padding-top:40px !important;padding-bottom:32px !important}.gate-divider svg{width:58px;height:36px}}
/* divider below band */
.gate-divider,.gate-divider-wrap{display:none !important}
body:has(.gate-cta-band) .site-footer::before,body:has(.gate-final) .site-footer::before{content:'';display:block;max-width:1180px;height:44px;margin:34px auto 12px;background:url('data:image/svg+xml,%3Csvg%20width%3D%2772%27%20height%3D%2744%27%20viewBox%3D%270%200%2072%2044%27%20fill%3D%27none%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Crect%20x%3D%276%27%20y%3D%2716%27%20width%3D%279%27%20height%3D%2726%27%20rx%3D%271.5%27%20fill%3D%27%23124397%27%2F%3E%3Crect%20x%3D%2757%27%20y%3D%2716%27%20width%3D%279%27%20height%3D%2726%27%20rx%3D%271.5%27%20fill%3D%27%23124397%27%2F%3E%3Ccircle%20cx%3D%2710.5%27%20cy%3D%2710%27%20r%3D%275%27%20fill%3D%27%23F97316%27%2F%3E%3Ccircle%20cx%3D%2761.5%27%20cy%3D%2710%27%20r%3D%275%27%20fill%3D%27%23F97316%27%2F%3E%3Cpath%20d%3D%27M18%2022h36M18%2030h36M18%2038h36%27%20stroke%3D%27%23124397%27%20stroke-width%3D%272%27%20opacity%3D%27.45%27%2F%3E%3Cpath%20d%3D%27M24%2020v20M30%2020v20M36%2020v20M42%2020v20M48%2020v20%27%20stroke%3D%27%23124397%27%20stroke-width%3D%272%27%20opacity%3D%27.3%27%2F%3E%3C%2Fsvg%3E') center center/72px 44px no-repeat,linear-gradient(90deg,rgba(18,67,151,0),#CBD5E1 60%,#F97316) left center/calc(50% - 56px) 2px no-repeat,linear-gradient(270deg,rgba(18,67,151,0),#CBD5E1 60%,#F97316) right center/calc(50% - 56px) 2px no-repeat}
@media (max-width:767px){body:has(.gate-cta-band) .site-footer::before,body:has(.gate-final) .site-footer::before{margin:26px 16px 8px;max-width:none;background-size:58px 36px,calc(50% - 46px) 2px,calc(50% - 46px) 2px}}

/* hero ribbon (replaces the yellow banner image) */
.gate-ribbon{position:relative;overflow:hidden;display:flex;align-items:center;gap:22px;background:linear-gradient(110deg,#0D3278,#124397);border-radius:16px;padding:18px 24px 18px 30px;box-shadow:0 10px 24px rgba(18,67,151,.18)}
.gate-ribbon::before{content:'';position:absolute;left:0;top:0;bottom:0;width:6px;background:#F97316}
.gate-ribbon-item{display:flex;align-items:center;gap:12px;flex:1 1 0;min-width:0;color:#fff}
.gate-ribbon-item i{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;background:#F97316;color:#fff;font-size:17px}
.gate-ribbon-item b{display:block;font-family:'Poppins',sans-serif;font-weight:600;font-size:15px;line-height:1.25;color:#fff}
.gate-ribbon-item small{display:block;font-size:13px;line-height:1.35;color:#CFE0FF;margin-top:2px}
.gate-ribbon-cta{flex:0 0 auto;background:#F97316;color:#fff !important;font-weight:700;font-size:15px;line-height:1.2;padding:14px 24px;border-radius:8px;text-decoration:none !important;white-space:nowrap;transition:background-color .2s,color .2s}
.gate-ribbon-cta:hover,.gate-ribbon-cta:focus-visible{background:#fff;color:#124397 !important}
@media (max-width:1199px){.gate-ribbon-item small{display:none}}
@media (max-width:991px){.gate-ribbon{flex-wrap:wrap;gap:14px;padding:16px 18px 16px 24px}.gate-ribbon-item{flex:1 1 40%}.gate-ribbon-cta{flex:1 1 100%;text-align:center}}
@media (max-width:575px){.gate-ribbon-item{flex:1 1 100%}}
/* ribbon compact mobile */
@media (max-width:575px){.gate-ribbon{padding:14px 14px 14px 20px}.gate-ribbon-item{display:none}.gate-ribbon-cta{flex:1 1 100%}}
