/* ==========================================================================
   GEXTON SECURITY — ENHANCEMENT LAYER
   Loaded after style.css. Adds new components, motion and polish without
   replacing the existing theme. Brand palette is inherited from the original
   design so nothing looks bolted on.
   ========================================================================== */

:root{
  --gx-brand:#f2530c;
  --gx-brand-dark:#c8410a;
  --gx-brand-soft:#fff1ea;
  --gx-ink:#2f3437;
  --gx-ink-soft:#7b8083;
  --gx-line:#e7e9ea;
  --gx-bg-soft:#f7f8f8;
  --gx-white:#fff;
  --gx-radius:14px;
  --gx-radius-sm:8px;
  --gx-shadow-sm:0 2px 10px rgba(47,52,55,.06);
  --gx-shadow:0 10px 30px rgba(47,52,55,.10);
  --gx-shadow-lg:0 20px 50px rgba(47,52,55,.16);
  --gx-ease:cubic-bezier(.16,.84,.44,1);
  --gx-speed:.45s;
}

/* --------------------------------------------------------------------------
   1. Accessibility foundations
   -------------------------------------------------------------------------- */
.gx-skip-link{
  position:absolute; left:-9999px; top:0; z-index:100000;
  background:var(--gx-brand); color:#fff; padding:12px 20px;
  font-weight:700; border-radius:0 0 var(--gx-radius-sm) 0; text-decoration:none;
}
.gx-skip-link:focus{ left:0; color:#fff; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:3px solid var(--gx-brand);
  outline-offset:2px;
  border-radius:3px;
}

html{ scroll-behavior:smooth; scroll-padding-top:110px; }

/* --------------------------------------------------------------------------
   2. Reading progress bar
   -------------------------------------------------------------------------- */
.gx-progress{
  position:fixed; top:0; left:0; right:0; height:3px;
  background:transparent; z-index:99999; pointer-events:none;
}
.gx-progress span{
  display:block; height:100%; width:0;
  background:linear-gradient(90deg,var(--gx-brand),#ff8a4c);
  transition:width .1s linear;
}

/* --------------------------------------------------------------------------
   3. Navigation upgrades
   -------------------------------------------------------------------------- */
.header_top a{ color:inherit; }
.header_top a:hover{ color:var(--gx-brand); }

.navbar-nav > li.gx-active > a{
  color:var(--gx-brand) !important;
  position:relative;
}
.navbar-nav > li > a{ position:relative; }
.navbar-nav > li > a::after{
  content:""; position:absolute; left:12px; right:12px; bottom:6px;
  height:2px; background:var(--gx-brand);
  transform:scaleX(0); transform-origin:left;
  transition:transform .3s var(--gx-ease);
}
.navbar-nav > li:hover > a::after,
.navbar-nav > li.gx-active > a::after{ transform:scaleX(1); }

/* "Free Survey" nav button */
.gx-nav-cta{ margin-left:6px; }
.gx-nav-quote{
  display:inline-block; background:var(--gx-brand); color:#fff !important;
  padding:9px 20px !important; border-radius:40px; font-weight:700;
  letter-spacing:.2px; box-shadow:0 4px 14px rgba(242,83,12,.32);
  transition:transform .25s var(--gx-ease), box-shadow .25s var(--gx-ease), background .25s;
}
.gx-nav-quote:hover{
  background:var(--gx-brand-dark); color:#f2530c !important;
  transform:translateY(-2px); box-shadow:0 8px 22px rgba(242,83,12,.42);
}
.gx-nav-quote::after{ display:none !important; }

/* Dropdown reveal */
.highlight_dropdown{
  transition:opacity .25s var(--gx-ease), transform .25s var(--gx-ease), visibility .25s;
}

/* --------------------------------------------------------------------------
   4. Breadcrumb / page title
   -------------------------------------------------------------------------- */
.gx-breadcrumb{ position:relative; overflow:hidden; }
.gx-breadcrumb::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 15% 20%, rgba(242,83,12,.10), transparent 55%);
  pointer-events:none;
}
.gx-page-title{
  font-size:38px; font-weight:700; color:var(--gx-ink);
  margin:0 0 14px; line-height:1.2;
  animation:gxFadeUp .7s var(--gx-ease) both;
}
.gx-breadcrumb .breadcrumb{
  background:transparent; padding:0; margin:0;
  animation:gxFadeUp .7s .08s var(--gx-ease) both;
}
.gx-breadcrumb .breadcrumb > li + li::before{ content:"›"; color:var(--gx-ink-soft); padding:0 8px; }
.gx-breadcrumb .breadcrumb > li > a{ color:var(--gx-ink-soft); transition:color .2s; }
.gx-breadcrumb .breadcrumb > li > a:hover{ color:var(--gx-brand); }
.gx-breadcrumb .breadcrumb > .active{ color:var(--gx-brand); font-weight:600; }

/* --------------------------------------------------------------------------
   5. Quick-summary answer card (AEO block)
   -------------------------------------------------------------------------- */
.gx-answer-block{ padding:50px 0 10px; }
.gx-answer-card{
  display:flex; gap:24px; align-items:flex-start;
  background:var(--gx-white); border:1px solid var(--gx-line);
  border-left:5px solid var(--gx-brand);
  border-radius:var(--gx-radius); padding:30px 32px;
  box-shadow:var(--gx-shadow-sm);
  transition:box-shadow .35s var(--gx-ease), transform .35s var(--gx-ease);
}
.gx-answer-card:hover{ box-shadow:var(--gx-shadow); transform:translateY(-3px); }
.gx-answer-mark{
  flex:0 0 54px; width:54px; height:54px; border-radius:50%;
  background:var(--gx-brand-soft); color:var(--gx-brand);
  display:flex; align-items:center; justify-content:center; font-size:22px;
}
.gx-answer-title{
  font-size:15px; text-transform:uppercase; letter-spacing:1.4px;
  color:var(--gx-brand); font-weight:700; margin:0 0 10px;
}
.gx-answer-body p{ color:var(--gx-ink-soft); font-size:16px; line-height:1.8; margin:0 0 16px; }
.gx-answer-meta{ list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:10px 26px; }
.gx-answer-meta li{ font-size:14px; color:var(--gx-ink); font-weight:500; }
.gx-answer-meta i{ color:var(--gx-brand); margin-right:7px; }
.gx-answer-meta a{ color:var(--gx-ink); }
.gx-answer-meta a:hover{ color:var(--gx-brand); }

/* --------------------------------------------------------------------------
   6. Section headings
   -------------------------------------------------------------------------- */
.gx-section-head{ margin-bottom:44px; }
.gx-eyebrow{
  display:inline-block; font-size:13px; font-weight:700; letter-spacing:2px;
  text-transform:uppercase; color:var(--gx-brand); margin-bottom:12px;
  position:relative; padding-left:34px;
}
.gx-eyebrow::before{
  content:""; position:absolute; left:0; top:50%; width:24px; height:2px;
  background:var(--gx-brand); transform:translateY(-50%);
}
.text-center .gx-eyebrow{ padding-left:0; }
.text-center .gx-eyebrow::before{ display:none; }
.gx-section-head h2{
  font-size:34px; font-weight:700; color:var(--gx-ink);
  margin:0 0 14px; line-height:1.25;
}
.gx-section-head p{ color:var(--gx-ink-soft); font-size:16px; line-height:1.8; margin:0; }
.gx-section-head a{ color:var(--gx-brand); font-weight:600; }

/* --------------------------------------------------------------------------
   7. FAQ accordion
   -------------------------------------------------------------------------- */
.gx-faq{ background:var(--gx-bg-soft); }
.gx-accordion{ display:flex; flex-direction:column; gap:14px; }

.gx-acc-item{
  background:var(--gx-white); border:1px solid var(--gx-line);
  border-radius:var(--gx-radius); overflow:hidden;
  transition:box-shadow .3s var(--gx-ease), border-color .3s var(--gx-ease);
}
.gx-acc-item:hover{ box-shadow:var(--gx-shadow-sm); border-color:#d8dbdc; }
.gx-acc-item.is-open{ border-color:var(--gx-brand); box-shadow:var(--gx-shadow-sm); }

.gx-acc-q{ margin:0; font-size:inherit; font-weight:inherit; }
.gx-acc-q button{
  width:100%; background:none; border:0; text-align:left;
  padding:22px 26px; display:flex; align-items:center; gap:18px;
  justify-content:space-between; cursor:pointer;
  font-size:17px; font-weight:600; color:var(--gx-ink); line-height:1.5;
  transition:color .25s;
}
.gx-acc-q button:hover{ color:var(--gx-brand); }
.gx-acc-item.is-open .gx-acc-q button{ color:var(--gx-brand); }

.gx-acc-icon{
  flex:0 0 32px; width:32px; height:32px; border-radius:50%;
  background:var(--gx-brand-soft); color:var(--gx-brand);
  display:flex; align-items:center; justify-content:center; font-size:13px;
  transition:transform .35s var(--gx-ease), background .25s, color .25s;
}
.gx-acc-item.is-open .gx-acc-icon{
  transform:rotate(135deg); background:var(--gx-brand); color:#fff;
}

.gx-acc-a{
  display:grid; grid-template-rows:0fr;
  transition:grid-template-rows .4s var(--gx-ease);
}
.gx-acc-item.is-open .gx-acc-a{ grid-template-rows:1fr; }
.gx-acc-a-inner{ overflow:hidden; }
.gx-acc-a-inner p{
  margin:0; padding:0 26px 24px 76px;
  color:var(--gx-ink-soft); font-size:15.5px; line-height:1.85;
}

/* --------------------------------------------------------------------------
   8. Pre-footer CTA band
   -------------------------------------------------------------------------- */
.gx-cta-band{
  background:linear-gradient(120deg,#2f3437 0%,#3c4245 55%,#2f3437 100%);
  position:relative; overflow:hidden; padding:56px 0;
}
.gx-cta-band::after{
  content:""; position:absolute; top:-60%; right:-8%;
  width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle,rgba(242,83,12,.22),transparent 62%);
  pointer-events:none;
}
.gx-cta-inner{
  position:relative; z-index:2;
  display:flex; align-items:center; justify-content:space-between;
  gap:36px; flex-wrap:wrap;
}
.gx-cta-text{ flex:1 1 460px; }
.gx-cta-text h2{ color:#fff; font-size:29px; font-weight:700; margin:0 0 10px; line-height:1.3; }
.gx-cta-text p{ color:rgba(255,255,255,.72); font-size:16px; line-height:1.75; margin:0; max-width:620px; }
.gx-cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.gx-btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 28px; border-radius:44px; font-weight:700; font-size:15px;
  text-decoration:none; border:2px solid transparent; white-space:nowrap;
  transition:transform .25s var(--gx-ease), box-shadow .25s var(--gx-ease),
             background .25s, color .25s, border-color .25s;
}
.gx-btn-solid{ background:var(--gx-brand); color:#fff; box-shadow:0 6px 20px rgba(242,83,12,.36); }
.gx-btn-solid:hover{ background:var(--gx-brand-dark); color:#fff; transform:translateY(-3px); box-shadow:0 12px 28px rgba(242,83,12,.46); }
.gx-btn-ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.36); }
.gx-btn-ghost:hover{ background:#fff; color:var(--gx-ink); border-color:#fff; transform:translateY(-3px); }

/* --------------------------------------------------------------------------
   9. Footer additions
   -------------------------------------------------------------------------- */
.gx-footer-about{ color:rgba(255,255,255,.68); line-height:1.8; font-size:14.5px; }
.gx-nap{ list-style:none; padding:0; margin:20px 0; }
.gx-nap li{
  color:rgba(255,255,255,.74); font-size:14px; line-height:1.7;
  margin-bottom:11px; padding-left:26px; position:relative;
}
.gx-nap li i{ position:absolute; left:0; top:5px; color:var(--gx-brand); }
.gx-nap a{ color:rgba(255,255,255,.82); transition:color .2s; }
.gx-nap a:hover{ color:var(--gx-brand); }

.gx-areas li{ color:rgba(255,255,255,.7); font-size:14px; margin-bottom:9px; }
.gx-areas li i{ color:var(--gx-brand); margin-right:9px; }

.footer_area .quick_links a{ transition:color .2s var(--gx-ease), padding-left .2s var(--gx-ease); }
.footer_area .quick_links a:hover{ color:var(--gx-brand); padding-left:5px; }
.copyright_area .gx-copy-sep{ opacity:.4; margin:0 8px; }

/* --------------------------------------------------------------------------
   10. Floating actions + back to top
   -------------------------------------------------------------------------- */
.gx-float{
  position:fixed; right:20px; bottom:22px; z-index:9990;
  display:flex; flex-direction:column; gap:12px;
}
.gx-float-btn{
  width:54px; height:54px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff !important; font-size:23px; text-decoration:none;
  box-shadow:0 6px 20px rgba(0,0,0,.22); position:relative;
  transition:transform .28s var(--gx-ease), box-shadow .28s var(--gx-ease), width .28s var(--gx-ease);
}
.gx-float-wa{ background:#25d366; }
.gx-float-call{ background:var(--gx-brand); }
.gx-float-btn:hover{ transform:scale(1.08); box-shadow:0 10px 28px rgba(0,0,0,.3); }
.gx-float-label{
  position:absolute; right:66px; top:50%; transform:translateY(-50%) translateX(8px);
  background:var(--gx-ink); color:#fff; font-size:13px; font-weight:600;
  padding:7px 13px; border-radius:6px; white-space:nowrap;
  opacity:0; pointer-events:none; transition:opacity .25s, transform .25s var(--gx-ease);
}
.gx-float-btn:hover .gx-float-label{ opacity:1; transform:translateY(-50%) translateX(0); }

/* Gentle attention pulse on the WhatsApp button */
.gx-float-wa::before{
  content:""; position:absolute; inset:0; border-radius:50%;
  background:#25d366; opacity:.55; z-index:-1;
  animation:gxPulse 2.6s ease-out infinite;
}

.gx-totop{
  position:fixed; right:20px; bottom:92px; z-index:9989;
  width:46px; height:46px; border-radius:50%; border:0;
  background:var(--gx-ink); color:#fff; font-size:22px; cursor:pointer;
  opacity:0; visibility:hidden; transform:translateY(12px);
  box-shadow:0 6px 20px rgba(0,0,0,.2);
  transition:opacity .3s, visibility .3s, transform .3s var(--gx-ease), background .25s;
}
.gx-totop.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.gx-totop:hover{ background:var(--gx-brand); }

/* Lift the stack above the mobile sticky call bar */
@media (max-width:767px){
  .gx-float{ bottom:84px; right:14px; }
  .gx-totop{ bottom:150px; right:14px; }
  .gx-float-label{ display:none; }
}

/* --------------------------------------------------------------------------
   11. Mobile sticky call bar
   -------------------------------------------------------------------------- */
.gx-mobile-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:9991;
  display:none; background:var(--gx-white);
  border-top:1px solid var(--gx-line);
  box-shadow:0 -4px 18px rgba(0,0,0,.10);
  padding:9px 10px calc(9px + env(safe-area-inset-bottom));
}
.gx-mobile-bar a{
  flex:1; display:flex; flex-direction:column; align-items:center; gap:3px;
  padding:7px 4px; font-size:11.5px; font-weight:600;
  color:var(--gx-ink); text-decoration:none; border-radius:var(--gx-radius-sm);
  transition:background .2s, color .2s;
}
.gx-mobile-bar a i{ font-size:18px; color:var(--gx-brand); }
.gx-mobile-bar a:active{ background:var(--gx-brand-soft); }
@media (max-width:767px){
  .gx-mobile-bar{ display:flex; }
  body{ padding-bottom:68px; }
}

/* --------------------------------------------------------------------------
   12. Scroll-reveal motion
   -------------------------------------------------------------------------- */
[data-gx-reveal]{
  opacity:0; transform:translateY(26px);
  transition:opacity .7s var(--gx-ease), transform .7s var(--gx-ease);
  will-change:opacity, transform;
}
[data-gx-reveal].gx-in{ opacity:1; transform:none; }
[data-gx-reveal].gx-d1{ transition-delay:.09s; }
[data-gx-reveal].gx-d2{ transition-delay:.18s; }
[data-gx-reveal].gx-d3{ transition-delay:.27s; }
[data-gx-reveal].gx-d4{ transition-delay:.36s; }

@keyframes gxFadeUp{
  from{ opacity:0; transform:translateY(22px); }
  to{ opacity:1; transform:none; }
}
@keyframes gxPulse{
  0%{ transform:scale(1); opacity:.55; }
  70%{ transform:scale(1.5); opacity:0; }
  100%{ transform:scale(1.5); opacity:0; }
}

/* --------------------------------------------------------------------------
   13. Card & image micro-interactions on existing theme components
   -------------------------------------------------------------------------- */
.single_service, .service_box, .single_feature, .feature_box,
.single_benifit, .benifit_box, .single_package, .package_box{
  transition:transform .4s var(--gx-ease), box-shadow .4s var(--gx-ease);
}
.single_service:hover, .service_box:hover, .single_feature:hover,
.feature_box:hover, .single_benifit:hover, .benifit_box:hover,
.single_package:hover, .package_box:hover{
  transform:translateY(-6px);
  box-shadow:var(--gx-shadow);
}

.single_service img, .service_box img, .single_feature img{
  transition:transform .6s var(--gx-ease);
}
.single_service:hover img, .service_box:hover img, .single_feature:hover img{
  transform:scale(1.05);
}

/* Images fade in once decoded — prevents the "pop" of lazy loading */
img[loading="lazy"]{
  opacity:0; transition:opacity .5s var(--gx-ease);
}
img[loading="lazy"].gx-loaded, img[loading="lazy"].gx-img-ready{ opacity:1; }
.no-js img[loading="lazy"]{ opacity:1; }

/* Client logo grid polish */
.client_logo img, .single_client img{
  filter:grayscale(100%); opacity:.62;
  transition:filter .35s var(--gx-ease), opacity .35s var(--gx-ease), transform .35s var(--gx-ease);
}
.client_logo img:hover, .single_client img:hover{
  filter:grayscale(0); opacity:1; transform:scale(1.06);
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], textarea, select{
  transition:border-color .25s var(--gx-ease), box-shadow .25s var(--gx-ease);
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus,
input[type="number"]:focus, textarea:focus, select:focus{
  border-color:var(--gx-brand) !important;
  box-shadow:0 0 0 3px rgba(242,83,12,.14) !important;
}
button[type="submit"], .default_btn{
  transition:transform .25s var(--gx-ease), box-shadow .25s var(--gx-ease), background .25s;
}
button[type="submit"]:hover, .default_btn:hover{
  transform:translateY(-2px); box-shadow:0 8px 22px rgba(242,83,12,.32);
}

/* --------------------------------------------------------------------------
   15. HTML sitemap page
   -------------------------------------------------------------------------- */
.gx-sitemap{ padding:70px 0; }
.gx-sitemap-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:26px; }
.gx-sitemap-col{
  background:var(--gx-white); border:1px solid var(--gx-line);
  border-radius:var(--gx-radius); padding:28px 30px;
  transition:box-shadow .35s var(--gx-ease), transform .35s var(--gx-ease);
}
.gx-sitemap-col:hover{ box-shadow:var(--gx-shadow); transform:translateY(-4px); }
.gx-sitemap-col h2{
  font-size:19px; font-weight:700; color:var(--gx-ink);
  margin:0 0 18px; padding-bottom:14px; border-bottom:2px solid var(--gx-brand-soft);
  display:flex; align-items:center; gap:11px;
}
.gx-sitemap-col h2 i{ color:var(--gx-brand); font-size:17px; }
.gx-sitemap-col ul{ list-style:none; padding:0; margin:0; }
.gx-sitemap-col li{ margin-bottom:12px; }
.gx-sitemap-col li a{
  color:var(--gx-ink-soft); font-size:15px; text-decoration:none;
  display:inline-flex; align-items:flex-start; gap:9px; line-height:1.6;
  transition:color .2s, transform .2s var(--gx-ease);
}
.gx-sitemap-col li a::before{ content:"→"; color:var(--gx-brand); flex:0 0 auto; }
.gx-sitemap-col li a:hover{ color:var(--gx-brand); transform:translateX(4px); }
.gx-sitemap-col li span{ display:block; font-size:13px; color:#a2a6a8; margin-left:20px; margin-top:3px; }
.gx-sitemap-note{
  margin-top:34px; padding:22px 26px; background:var(--gx-brand-soft);
  border-radius:var(--gx-radius); color:var(--gx-ink); font-size:15px; line-height:1.75;
}
.gx-sitemap-note a{ color:var(--gx-brand); font-weight:600; }

/* --------------------------------------------------------------------------
   16. 404 page
   -------------------------------------------------------------------------- */
.gx-404-links{ margin-top:30px; display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.gx-404-links a{
  background:var(--gx-white); border:1px solid var(--gx-line);
  padding:11px 22px; border-radius:40px; color:var(--gx-ink);
  font-size:14.5px; font-weight:600; text-decoration:none;
  transition:all .25s var(--gx-ease);
}
.gx-404-links a:hover{
  background:var(--gx-brand); color:#fff; border-color:var(--gx-brand); transform:translateY(-2px);
}

/* --------------------------------------------------------------------------
   17. Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width:991px){
  .gx-page-title{ font-size:30px; }
  .gx-section-head h2{ font-size:27px; }
  .gx-cta-text h2{ font-size:24px; }
  .gx-answer-card{ padding:26px 24px; gap:18px; }
}
@media (max-width:767px){
  .gx-page-title{ font-size:25px; }
  .gx-section-head h2{ font-size:23px; }
  .gx-section-head{ margin-bottom:30px; }
  .gx-answer-card{ flex-direction:column; padding:24px 20px; }
  .gx-answer-mark{ width:46px; height:46px; flex:0 0 46px; font-size:19px; }
  .gx-acc-q button{ padding:18px; font-size:15.5px; gap:12px; }
  .gx-acc-a-inner p{ padding:0 18px 20px; font-size:15px; }
  .gx-cta-inner{ flex-direction:column; align-items:flex-start; }
  .gx-cta-actions{ width:100%; }
  .gx-btn{ flex:1; justify-content:center; padding:13px 18px; }
  .gx-nav-cta{ margin:10px 0 0; }
  .gx-nav-quote{ display:block; text-align:center; }
  .gx-answer-block{ padding:34px 0 4px; }
  .gx-sitemap{ padding:44px 0; }
}

/* --------------------------------------------------------------------------
   18. Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
  [data-gx-reveal]{ opacity:1 !important; transform:none !important; }
  img[loading="lazy"]{ opacity:1 !important; }
}

@media print{
  .gx-float, .gx-totop, .gx-mobile-bar, .gx-progress,
  .header_top, .gx-cta-band, .spinner{ display:none !important; }
  .gx-acc-a{ grid-template-rows:1fr !important; }
  a[href^="http"]::after{ content:" (" attr(href) ")"; font-size:11px; color:#666; }
  body{ padding-bottom:0 !important; }
}

/* Inline WhatsApp mark — independent of any icon CDN */
.gx-wa-icon{ display:block; }
.gx-mobile-bar .gx-wa-icon{ margin:0 auto 1px; color:var(--gx-brand); }
