:root{
  --navy:#0B1D33;
  --navy2:#071827;
  --teal:#0EA5B7;
  --gold:#D4A017;
  --slate:#475569;
  --mist:#F5F7FA;
  --white:#FFFFFF;
  --line:#DDE6EC;
  --shadow:0 14px 34px rgba(11,29,51,.09);
  --max:1500px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--slate);line-height:1.55;overflow-x:hidden}
body.menu-open,body.video-modal-open{overflow:hidden}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
.container{width:min(calc(100% - 56px),var(--max));margin-inline:auto}
.section{padding:84px 0}
.icon{width:24px;height:24px;flex:0 0 auto}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:2px solid transparent;border-radius:8px;padding:15px 24px;font-weight:700;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(11,29,51,.12)}
.btn-gold{background:var(--gold);color:#fff}
.btn-teal{background:var(--teal);color:#fff}
.btn-outline{background:#fff;border-color:var(--teal);color:#08798c}
.section-kicker{display:block;margin-bottom:9px;color:var(--teal);font-size:12px;font-weight:800;letter-spacing:.14em}
.section h2{margin:0 0 18px;font-size:clamp(34px,3vw,52px);line-height:1.08;letter-spacing:-.025em}
.section p{color:var(--slate)}

/* Header */
.site-header{z-index:1000;border-bottom:1px solid var(--line);box-shadow:0 2px 12px rgba(11,29,51,.025)}
.nav-wrap{display:flex;align-items:center;gap:32px}
.brand{display:block;flex:0 0 auto}
.brand a,.brand .custom-logo-link{display:block}
.brand img,.brand .custom-logo{display:block;width:100%;height:auto;object-fit:contain}
.main-nav{margin-left:auto}
.main-nav ul{display:flex;align-items:center;gap:42px;margin:0;padding:0;list-style:none}
.main-nav li{position:relative}
.main-nav a{display:block;padding:39px 0 34px;position:relative;transition:color .2s ease}
.main-nav a::after{content:"";position:absolute;left:0;right:0;bottom:24px;height:3px;border-radius:999px;transform:scaleX(0);transform-origin:center;transition:transform .2s ease}
.main-nav a:hover::after,.main-nav .current-menu-item>a::after{transform:scaleX(1)}
.main-nav .sub-menu{position:absolute;left:-18px;top:100%;min-width:210px;display:block;padding:10px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s ease}
.main-nav li:hover>.sub-menu,.main-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.main-nav .sub-menu a{padding:10px 12px}
.main-nav .sub-menu a::after{display:none}
.header-cta{white-space:nowrap}
.menu-toggle{display:none;margin-left:auto;padding:8px;border:0;background:transparent}
.menu-toggle span{display:block;width:32px;height:3px;margin:6px 0;border-radius:999px;background:var(--navy)}

/* Hero */
.hero-section{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.hero-section::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 78% 28%,rgba(14,165,183,.07),transparent 30%)}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:42px;align-items:center;min-height:640px;padding-top:48px;padding-bottom:38px}
.hero-copy h1{margin:0 0 24px;font-size:82px;line-height:1.01;letter-spacing:-.052em}
.hero-copy h1 span{background:linear-gradient(90deg,var(--teal) 0 31%,var(--gold) 31% 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-copy>p{max-width:720px;margin:0 0 26px;font-size:19px;line-height:1.56}
.hero-points{display:grid;gap:13px;max-width:720px;margin:0 0 30px;padding:0;list-style:none}
.hero-points li{display:flex;align-items:flex-start;gap:12px;font-size:16px;line-height:1.55;color:#31465a}
.hero-points strong{color:var(--navy)}
.hero-point-icon{display:grid;place-items:center;width:27px;height:27px;flex:0 0 auto;margin-top:1px;border:1.5px solid rgba(14,165,183,.48);border-radius:50%;background:#fff;color:#08798c}
.hero-point-icon .icon{width:15px;height:15px;stroke-width:2.1}
.hero-actions{display:flex;gap:20px;flex-wrap:wrap}
.hero-actions .btn{min-height:62px}
.hero-actions .btn-gold{min-width:320px}
.hero-actions .btn-outline{min-width:230px}
.hero-visual-image{display:flex;justify-content:flex-end;align-items:center;min-width:0}
.hero-visual-image img{display:block;max-width:none;height:auto;object-fit:contain}
.trade-strip-full{position:relative;z-index:2;border-top:1px solid var(--line);background:#fff}
.trade-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:84px}
.trade-item{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 18px;border-right:1px solid var(--line);font-weight:650;color:var(--navy);text-align:center}
.trade-item:last-child{border-right:0}
.trade-item .icon{width:28px;height:28px;stroke-width:1.7}

/* Services */
.section-services-match{padding:34px 0 58px}
.service-grid-match{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.service-card-match{min-height:226px;padding:28px 22px 25px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 24px rgba(16,40,65,.05);transition:transform .2s ease,box-shadow .2s ease}
.service-card-match:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(16,40,65,.08)}
.service-card-topline{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.service-icon-match{color:#08798c}
.service-icon-match .icon{width:39px;height:39px;stroke-width:1.7}
.service-card-match:nth-child(4) .service-icon-match{color:#159447}
.service-card-match h3{margin:0;font-size:19px;line-height:1.26}
.service-card-match p{margin:14px 0 0;font-size:15px;line-height:1.72}

/* Voice-to-quote */
.quote-system{background:linear-gradient(135deg,var(--navy2),#0B2A42);color:#fff}
.quote-system h2,.quote-system h3{color:#fff}
.quote-layout{display:grid;grid-template-columns:.68fr 1.32fr;gap:46px;align-items:center}
.quote-copy p{color:#C6D4DD}
.quote-steps-four{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:stretch}
.quote-step-card{min-width:0;padding:20px 17px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.15);border-radius:14px}
.quote-step-icon{margin:14px 0 8px;color:var(--teal)}
.quote-step-icon .icon{width:29px;height:29px}
.step-no{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--teal);font-weight:800}
.quote-step-card h3{margin:0 0 8px;font-size:17px}
.quote-step-card>p{margin:0;color:#C7D6DF;font-size:13px}
.flow-arrow{align-self:center;color:var(--teal);font-size:28px}
.audio-card,.estimate-card,.approval-card{margin-top:16px;padding:14px;background:#081B2A;border-radius:10px}
.wave-bars{display:flex;align-items:center;gap:4px;height:38px}
.wave-bars i{display:block;width:4px;height:35%;border-radius:4px;background:var(--teal)}
.wave-bars i:nth-child(2n){height:78%}
.wave-bars i:nth-child(3n){height:55%}
.audio-card p{margin:8px 0 0;color:#C7D6DF;font-size:12px}
.quote-step-card ul{margin:16px 0 0;padding:0;list-style:none}
.quote-step-card li{position:relative;padding:7px 0 7px 24px;border-bottom:1px solid rgba(255,255,255,.08);font-size:12px}
.quote-step-card li::before{content:"✓";position:absolute;left:0;color:var(--teal)}
.approval-card{text-align:center}
.approval-card>span{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 10px;border-radius:50%;background:rgba(14,165,183,.16);color:var(--teal)}
.approval-card>span .icon{width:25px;height:25px}
.approval-card strong,.approval-card small{display:block}
.approval-card small{color:#AFC2CE;margin-top:3px}
.approval-card button,.estimate-card button{width:100%;margin-top:12px;padding:10px;border:0;border-radius:6px;background:var(--teal);color:#fff;font-weight:700}
.estimate-card span,.estimate-card strong{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.08);font-size:12px}
.estimate-card em{font-style:normal}

/* Demo and calculator */
.feature-pair{padding:0;background:#fff}
.pair-grid{display:grid;grid-template-columns:.82fr 1.18fr}
.pair-grid-single{grid-template-columns:1fr}
.pair-grid>article{padding:72px 52px}
.pair-grid>article:first-child:not(:last-child){border-right:1px solid var(--line)}
.video-preview-button{position:relative;display:block;width:100%;aspect-ratio:16/9;margin-top:22px;padding:0;overflow:hidden;border:0;border-radius:14px;background:linear-gradient(145deg,#0C2E47,#04111C);box-shadow:var(--shadow)}
.video-preview-button>img,.video-preview-art{display:block;width:100%;height:100%;object-fit:cover}
.video-preview-art{position:relative;background:radial-gradient(circle at 68% 42%,rgba(24,169,189,.42),transparent 28%),linear-gradient(145deg,#0C2E47,#04111C)}
.video-preview-art img{position:absolute;left:25px;bottom:20px;width:190px;filter:brightness(0) invert(1)}
.video-play-badge{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:82px;height:82px;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;background:rgba(255,255,255,.13);color:#fff}
.video-play-badge .icon{width:44px;height:44px}
.video-admin-note{display:block;margin-top:10px;text-align:center;color:#758797}
.calculator-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:22px;margin-top:20px}
.sliders{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.sliders label>span{display:flex;justify-content:space-between;gap:15px;font-size:13px;font-weight:700;color:var(--navy)}
.sliders output{min-width:66px;padding:3px 8px;border-radius:5px;background:#EEF4F7;text-align:center}
.sliders input{width:100%;accent-color:var(--teal)}
.calculator-result{padding:26px;border-radius:14px;background:linear-gradient(145deg,var(--navy2),#0E2B41);box-shadow:var(--shadow);color:#fff}
.calculator-result small{color:#D6E1E8}
.calculator-result strong{display:block;margin:10px 0 4px;color:var(--gold);font-size:44px}
.calculator-result p{color:#B7C8D2;font-size:13px}
.calculator-result .btn{width:100%;margin-top:12px}

/* Revenue scans */
.lead-magnets{background:#F4F8FB}
.lead-heading{max-width:900px;margin-bottom:34px}
.scan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.scan-card{display:flex;flex-direction:column;min-height:348px;padding:36px 36px 32px;border:1px solid #D7E3EA;border-radius:24px;background:#fff;box-shadow:0 12px 30px rgba(22,48,75,.07);transition:.22s ease}
.scan-card:hover{transform:translateY(-3px);border-color:#83B8E8;box-shadow:0 18px 38px rgba(22,48,75,.10)}
.scan-card-custom{border-style:dashed;background:rgba(255,255,255,.8)}
.scan-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}
.scan-label{display:inline-flex;align-items:center;min-height:38px;padding:8px 17px;border-radius:999px;background:#F1F6FA;color:#1553C3;font-size:13px;font-weight:800;letter-spacing:.09em;line-height:1}
.scan-open{color:#44566B}
.scan-open .icon{width:24px;height:24px}
.scan-card h3{margin:0 0 14px;color:#101B2E;font-size:25px;line-height:1.2;letter-spacing:-.02em}
.scan-card p{margin:0 0 28px;color:#53637B;font-size:17px;line-height:1.75}
.scan-link{display:inline-flex;align-items:center;gap:14px;margin-top:auto;color:#1258CF;font-size:16px;font-weight:750}
.scan-link span{font-size:24px;transition:transform .2s ease}
.scan-link:hover span{transform:translateX(4px)}

/* Process */
.section-heading{max-width:980px;margin:0 auto 36px;text-align:center}
.process-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.process-row article{text-align:center;padding:0 10px}
.process-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 14px;border:1px solid #D8E5EA;border-radius:14px;background:#fff;color:#08798C}
.process-icon .icon{width:27px;height:27px}
.process-row article>span{display:block;color:var(--teal);font-weight:800}
.process-row h3{margin:4px 0 0;font-size:16px}
.process-row p{margin:6px 0 0;font-size:12px}

/* Results */
.results-section{background:linear-gradient(135deg,#061827,#0B263B);color:#fff}
.results-section h2,.results-section h3{color:#fff}
.results-grid{display:grid;grid-template-columns:1.15fr repeat(4,1fr);gap:18px}
.results-grid>div p{color:#C7D5DD}
.results-grid article{padding:28px 22px;border:1px solid rgba(186,220,227,.18);border-radius:12px;background:rgba(255,255,255,.025)}
.results-grid article>.icon{width:34px;height:34px;color:var(--teal)}
.results-grid article>strong{display:block;margin-top:18px;color:var(--gold);font-size:40px}
.results-grid article h3{font-size:15px}
.results-grid article p{color:#AEBFCA;font-size:12px}

/* Industries */
.industries-section{background:#F8FAFB}
.industries-head{display:flex;align-items:flex-start;justify-content:space-between;gap:50px}
.industries-head blockquote{max-width:420px;margin:0;padding:22px;border:1px solid #93BDC6;border-radius:12px;background:#fff;color:#354757}
.industries-head cite{display:block;margin-top:12px;font-style:normal;font-weight:700;color:var(--navy)}
.industry-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;margin-top:28px}
.industry-grid article{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:112px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:center;font-size:13px;font-weight:700;color:var(--navy)}
.industry-grid .icon{width:31px;height:31px}

/* Closing CTA and footer */
.closing-cta{padding:36px 0;border-bottom:1px solid rgba(255,255,255,.1);background:#061827;color:#fff}
.closing-cta h2{margin:8px 0 0;color:#fff}
.closing-grid{display:flex;align-items:center;justify-content:space-between;gap:30px}
.eyebrow-dark{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--teal)}
.site-footer{padding:58px 0 20px}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:48px}
.footer-brand img{display:block;height:auto;filter:brightness(0) invert(1)}
.footer-grid h3{margin:0 0 13px;color:#fff;font-size:14px}
.footer-grid p{margin:7px 0}
.footer-menu{margin:0;padding:0;list-style:none}
.footer-menu a{display:block;margin:7px 0;font-size:13px}
.social-row{display:flex;gap:9px;margin-top:18px}
.social-row a{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.2);border-radius:50%}
.footer-contact p{display:flex;align-items:flex-start;gap:9px;font-size:13px}
.footer-contact .icon{width:18px;height:18px;margin-top:2px}
.copyright{display:flex;justify-content:space-between;gap:20px;margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);font-size:11px}

/* Video modal */
.gbhq-video-modal[hidden]{display:none}
.gbhq-video-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:28px}
.gbhq-video-backdrop{position:absolute;inset:0;background:rgba(2,12,21,.78);backdrop-filter:blur(5px)}
.gbhq-video-dialog{position:relative;width:min(92vw,980px);max-height:88vh;overflow:auto;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:#071827;box-shadow:0 30px 80px rgba(0,0,0,.38);color:#fff}
.gbhq-video-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.1)}
.gbhq-video-header h2{margin:0;color:#fff;font-size:20px}
.gbhq-video-close{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:26px;line-height:1}
.gbhq-video-stage{position:relative;width:100%;aspect-ratio:16/9;background:#020B12}
.gbhq-video-stage video{display:block;width:100%;height:100%;object-fit:contain;background:#020B12}
.gbhq-video-empty{display:grid;place-items:center;align-content:center;height:100%;gap:14px;padding:30px;text-align:center;color:#C8D5DD}
.gbhq-video-empty .icon{width:58px;height:58px;color:var(--teal)}
.gbhq-video-controls{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:16px 20px 20px}
.gbhq-video-controls button{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:rgba(255,255,255,.08);color:#fff;font-weight:700}
.gbhq-video-controls button:hover{background:var(--teal)}

.reveal{opacity:0;transform:translateY(18px);transition:.55s ease}
.reveal.revealed{opacity:1;transform:none}

@media(max-width:1350px){
  .service-grid-match{grid-template-columns:repeat(3,minmax(0,1fr))}
  .quote-layout{grid-template-columns:1fr}
  .results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .results-grid>div{grid-column:1/-1}
  .industry-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media(max-width:1100px){
  .container{width:min(calc(100% - 40px),var(--max))}
  .main-nav{position:fixed;left:0;right:0;top:var(--header-mobile-top,92px);padding:12px 24px 18px;border-bottom:1px solid var(--line);background:#fff;transform:translateY(-140%);visibility:hidden;transition:.28s ease}
  .main-nav.is-open{transform:none;visibility:visible}
  .main-nav ul{display:block}
  .main-nav li{border-bottom:1px solid #E7EEF2}
  .main-nav a{padding:14px 0}
  .main-nav a::after{display:none}
  .main-nav .sub-menu{position:static;display:block;opacity:1;visibility:visible;transform:none;border:0;box-shadow:none;padding:0 0 0 18px}
  .menu-toggle{display:block;margin-left:0}
  .header-cta{margin-left:auto}
  .hero-grid{grid-template-columns:1fr;min-height:auto;padding-top:34px}
  .hero-copy{max-width:850px}
  .hero-visual-image{justify-content:center}
  .hero-visual-image img{max-width:900px}
  .trade-strip{overflow-x:auto}
  .trade-item{min-width:190px}
  .pair-grid{grid-template-columns:1fr}
  .pair-grid>article:first-child:not(:last-child){border-right:0;border-bottom:1px solid var(--line)}
  .quote-steps-four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quote-steps-four .flow-arrow{display:none}
  .process-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
  .footer-grid{grid-template-columns:1.4fr repeat(2,1fr)}
}

@media(max-width:780px){
  .section{padding:64px 0}
  .site-header{height:auto!important}
  .nav-wrap{min-height:86px!important;gap:12px}
  .brand{width:min(46vw,210px)!important}
  .header-cta{padding:11px 16px;font-size:14px}
  .main-nav{top:86px}
  .hero-copy h1{font-size:clamp(40px,11vw,62px)!important}
  .hero-copy>p{font-size:17px}
  .hero-actions{display:grid}
  .hero-actions .btn{width:100%;min-width:0}
  .hero-visual-image img{width:100%!important;max-width:680px}
  .trade-strip{grid-template-columns:repeat(5,minmax(160px,1fr))}
  .service-grid-match{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quote-steps-four{grid-template-columns:1fr}
  .quote-steps-four .flow-arrow{display:block!important;transform:rotate(90deg);text-align:center}
  .calculator-grid{grid-template-columns:1fr}
  .scan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .industries-head{display:block}
  .industries-head blockquote{margin-top:22px}
  .closing-grid{display:block}
  .closing-grid .btn{margin-top:20px}
  .copyright{display:block}
  .copyright span{display:block;margin:8px 0}
}

@media(max-width:560px){
  .container{width:min(calc(100% - 28px),var(--max))}
  .section{padding:54px 0}
  .nav-wrap{min-height:82px!important}
  .brand{width:155px!important}
  .header-cta{padding:9px 12px;font-size:12px}
  .menu-toggle{padding:4px}
  .menu-toggle span{width:27px;height:3px;margin:5px 0}
  .main-nav{top:82px;padding-inline:16px}
  .hero-grid{gap:20px;padding-top:26px;padding-bottom:22px}
  .hero-copy h1{line-height:1.03}
  .hero-copy>p{font-size:16px}
  .hero-points{gap:11px}
  .hero-points li{font-size:15px}
  .hero-point-icon{width:24px;height:24px}
  .trade-strip{grid-template-columns:repeat(5,minmax(155px,1fr));min-height:72px}
  .trade-item{padding:14px 12px;font-size:12px}
  .trade-item .icon{width:24px;height:24px}
  .section-services-match{padding:22px 0 46px}
  .service-grid-match{grid-template-columns:1fr;gap:14px}
  .service-card-match{min-height:0;padding:22px 18px}
  .pair-grid>article{padding:50px 0}
  .sliders{grid-template-columns:1fr}
  .scan-grid{grid-template-columns:1fr;gap:16px}
  .scan-card{min-height:0;padding:25px 23px;border-radius:18px}
  .scan-card h3{font-size:22px}
  .scan-card p{font-size:15px;line-height:1.65}
  .process-row{grid-template-columns:1fr 1fr}
  .results-grid{grid-template-columns:1fr}
  .industry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:1fr}
  .gbhq-video-modal{padding:10px}
  .gbhq-video-dialog{width:96vw;max-height:86vh;border-radius:14px}
  .gbhq-video-header{padding:12px 14px}
  .gbhq-video-header h2{font-size:16px}
  .gbhq-video-controls{gap:8px;padding:12px}
  .gbhq-video-controls button{flex:1 1 calc(50% - 8px);justify-content:center;padding:9px 10px;font-size:13px}
}

/* v12 refinements */
.nav-wrap{position:relative}

.footer-logo-link{display:inline-block;line-height:0;margin-bottom:20px}
.footer-logo{display:block;width:auto;height:auto;object-fit:contain}
.footer-brand--no-logo .footer-description{margin-top:0}
.footer-contact a{color:inherit;text-decoration:none}
.footer-contact a:hover{color:var(--teal)}

/* Floating scroll progress + booking call */
.gbhq-floating-ui{
  --gbhq-floating-bottom:24px;
  --gbhq-progress-color:#0EA5B7;
  --gbhq-progress-track:#DCE7ED;
  --gbhq-progress-bg:#FFFFFF;
  --gbhq-progress-icon:#1457C5;
  --gbhq-book-bg:#1457C5;
  --gbhq-book-color:#FFFFFF;
  position:relative;
  z-index:9995;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease,visibility .25s ease;
}
.gbhq-floating-ui.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.gbhq-scroll-progress{
  position:fixed;
  left:24px;
  bottom:var(--gbhq-floating-bottom);
  width:72px;
  height:72px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--gbhq-progress-icon);
  cursor:pointer;
  filter:drop-shadow(0 12px 26px rgba(7,24,39,.16));
  transform:translateY(18px) scale(.94);
  transition:transform .25s ease,filter .25s ease;
}
.gbhq-floating-ui.is-visible .gbhq-scroll-progress{transform:none}
.gbhq-scroll-progress:hover,
.gbhq-scroll-progress:focus-visible{
  transform:translateY(-3px) scale(1.02);
  filter:drop-shadow(0 16px 30px rgba(7,24,39,.22));
}
.gbhq-scroll-progress__ring{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  transform:rotate(-90deg);
}
.gbhq-scroll-progress__track,
.gbhq-scroll-progress__value{
  fill:none;
  stroke-width:4;
}
.gbhq-scroll-progress__track{stroke:var(--gbhq-progress-track)}
.gbhq-scroll-progress__value{
  stroke:var(--gbhq-progress-color);
  stroke-linecap:round;
  stroke-dasharray:100;
  stroke-dashoffset:100;
  transition:stroke-dashoffset .12s linear;
}
.gbhq-scroll-progress__inner{
  position:absolute;
  inset:9px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--gbhq-progress-bg);
  border:1px solid rgba(11,29,51,.08);
  box-shadow:inset 0 0 0 5px rgba(220,231,237,.55);
}
.gbhq-scroll-progress__inner svg{width:26px;height:26px}

.gbhq-floating-book{
  position:fixed;
  right:24px;
  bottom:var(--gbhq-floating-bottom);
  min-height:58px;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:0;
  padding:6px;
  border-radius:999px;
  background:var(--gbhq-book-bg);
  color:var(--gbhq-book-color);
  box-shadow:0 15px 36px rgba(20,87,197,.28);
  overflow:visible;
  transform:translateY(18px) scale(.94);
  transition:transform .25s ease,box-shadow .25s ease,padding .25s ease;
}
.gbhq-floating-ui.is-visible .gbhq-floating-book{transform:none}
.gbhq-floating-book::before{
  content:"";
  position:absolute;
  inset:-7px;
  z-index:-1;
  border-radius:999px;
  border:2px solid var(--gbhq-book-bg);
  animation:gbhq-calendar-pulse 2s ease-out infinite;
}
.gbhq-floating-book__icon{
  flex:0 0 auto;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.13);
}
.gbhq-floating-book__icon .icon{width:24px;height:24px}
.gbhq-floating-book__label{
  max-width:0;
  opacity:0;
  overflow:hidden;
  white-space:nowrap;
  font-weight:800;
  line-height:1;
  transform:translateX(8px);
  transition:max-width .28s ease,opacity .2s ease,transform .28s ease,margin .28s ease;
}
@media (hover:hover) and (pointer:fine){
  .gbhq-floating-book:hover,
  .gbhq-floating-book:focus-visible{
    padding-left:18px;
    box-shadow:0 18px 40px rgba(20,87,197,.36);
    transform:translateY(-2px);
  }
  .gbhq-floating-book:hover .gbhq-floating-book__label,
  .gbhq-floating-book:focus-visible .gbhq-floating-book__label{
    max-width:180px;
    opacity:1;
    margin-right:12px;
    transform:none;
  }
}
@keyframes gbhq-calendar-pulse{
  0%{opacity:.72;transform:scale(.9)}
  70%,100%{opacity:0;transform:scale(1.2)}
}
@media (prefers-reduced-motion:reduce){
  .gbhq-floating-book::before{animation:none}
  .gbhq-scroll-progress__value{transition:none}
}

/* Keep the five trade items visible at once on phones. */
@media(max-width:780px){
  .trade-strip{
    width:100%;
    grid-template-columns:repeat(5,minmax(0,1fr));
    overflow:visible;
  }
  .trade-item{
    min-width:0;
    flex-direction:column;
    gap:7px;
    padding:12px 5px;
    font-size:11px;
    line-height:1.2;
    white-space:normal;
  }
  .trade-item .icon{width:22px;height:22px}
}

@media(max-width:560px){
  .trade-strip{grid-template-columns:repeat(5,minmax(0,1fr));min-height:76px}
  .trade-item{min-width:0;padding:10px 3px;font-size:9.5px}
  .trade-item .icon{width:20px;height:20px}
  .gbhq-scroll-progress{left:12px;width:58px;height:58px}
  .gbhq-scroll-progress__inner{inset:7px;box-shadow:inset 0 0 0 4px rgba(220,231,237,.55)}
  .gbhq-scroll-progress__inner svg{width:22px;height:22px}
  .gbhq-floating-book{right:12px;min-height:50px;padding:5px 6px 5px 14px;gap:10px}
  .gbhq-floating-book__icon{width:40px;height:40px}
  .gbhq-floating-book__icon .icon{width:21px;height:21px}
  .gbhq-floating-book__label{max-width:180px;opacity:1;transform:none;font-size:13px;margin-right:0}
  .footer-logo{max-width:180px}
}

/* v13: floating actions behaviour matched to approved reference */
.gbhq-floating-book{
  width:58px;
  min-width:58px;
  height:58px;
  min-height:58px;
  padding:6px;
  justify-content:flex-end;
  transform-origin:right center;
}
.gbhq-floating-book__label{
  display:block;
  max-width:0;
  width:0;
  opacity:0;
  margin:0;
  transform:translateX(10px);
  pointer-events:none;
}
.gbhq-floating-book__icon{
  width:46px;
  height:46px;
}

@media (hover:hover) and (pointer:fine){
  .gbhq-floating-book:hover,
  .gbhq-floating-book:focus-visible{
    width:auto;
    min-width:58px;
    padding:6px 6px 6px 18px;
  }
  .gbhq-floating-book:hover .gbhq-floating-book__label,
  .gbhq-floating-book:focus-visible .gbhq-floating-book__label{
    width:auto;
    max-width:190px;
    opacity:1;
    margin-right:12px;
    transform:none;
  }
}

@media (hover:none), (pointer:coarse){
  .gbhq-floating-book{
    right:12px;
    width:54px;
    min-width:54px;
    height:54px;
    min-height:54px;
    padding:5px;
    gap:0;
  }
  .gbhq-floating-book__icon{
    width:44px;
    height:44px;
  }
  .gbhq-floating-book__icon .icon{
    width:22px;
    height:22px;
  }
  .gbhq-floating-book__label{
    width:0;
    max-width:0;
    opacity:0;
    margin:0;
    font-size:13px;
    transform:translateX(10px);
  }
  .gbhq-floating-book.is-expanded{
    width:auto;
    min-width:54px;
    padding:5px 5px 5px 15px;
  }
  .gbhq-floating-book.is-expanded .gbhq-floating-book__label{
    width:auto;
    max-width:180px;
    opacity:1;
    margin-right:10px;
    transform:none;
  }
}

@media(max-width:560px){
  .gbhq-floating-book{
    width:54px;
    min-width:54px;
    height:54px;
    min-height:54px;
    padding:5px;
    gap:0;
  }
  .gbhq-floating-book__label{
    width:0;
    max-width:0;
    opacity:0;
    margin:0;
    transform:translateX(10px);
  }
  .gbhq-floating-book.is-expanded{
    width:auto;
    padding-left:15px;
  }
  .gbhq-floating-book.is-expanded .gbhq-floating-book__label{
    width:auto;
    max-width:180px;
    opacity:1;
    margin-right:10px;
    transform:none;
  }
}

/* v14: GrowthBrain floating controls matched to the supplied reference */
.floating-cta-widget,
.back-to-top-progress{
  --gbhq-floating-bottom:24px;
  --gbhq-progress-color:#0EA5B7;
  --gbhq-progress-track:#DCE7ED;
  --gbhq-progress-bg:#FFFFFF;
  --gbhq-progress-icon:#1457C5;
  --gbhq-book-bg:#1457C5;
  --gbhq-book-color:#FFFFFF;
}

.floating-cta-widget{
  position:fixed;
  right:-8px;
  bottom:var(--gbhq-floating-bottom);
  z-index:9998;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateX(24px) scale(.94);
  transform-origin:right center;
  transition:opacity .24s ease,visibility .24s ease,transform .28s ease;
}
.floating-cta-widget.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:none;
}
.floating-cta{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:0;
  width:82px;
  min-width:82px;
  height:82px;
  padding:8px 12px 8px 8px;
  border:0;
  border-radius:999px;
  background:var(--gbhq-book-bg);
  color:var(--gbhq-book-color);
  box-shadow:0 14px 32px rgba(20,87,197,.28);
  cursor:pointer;
  overflow:hidden;
  transform-origin:right center;
  transition:width .28s ease,padding .28s ease,box-shadow .24s ease,transform .24s ease;
}
.floating-cta::before{
  content:"";
  position:absolute;
  right:4px;
  top:4px;
  width:66px;
  height:66px;
  border-radius:50%;
  border:2px solid color-mix(in srgb,var(--gbhq-book-color) 48%,transparent);
  animation:gbhq-reference-calendar-pulse 2s ease-out infinite;
  pointer-events:none;
}
.floating-cta__icon{
  position:relative;
  z-index:2;
  flex:0 0 auto;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  color:var(--gbhq-book-color);
}
.floating-cta__icon .icon{
  width:25px;
  height:25px;
  stroke-width:1.8;
}
.floating-cta__label{
  display:block;
  width:0;
  max-width:0;
  opacity:0;
  overflow:hidden;
  white-space:nowrap;
  color:var(--gbhq-book-color);
  font-size:15px;
  font-weight:750;
  line-height:1;
  letter-spacing:-.01em;
  transform:translateX(8px);
  transition:width .28s ease,max-width .28s ease,opacity .18s ease,margin .28s ease,transform .28s ease;
}

@media (hover:hover) and (pointer:fine){
  .floating-cta-widget:hover .floating-cta,
  .floating-cta:focus-visible{
    width:220px;
    padding-left:24px;
    box-shadow:0 18px 40px rgba(20,87,197,.34);
    transform:translateX(-2px);
  }
  .floating-cta-widget:hover .floating-cta__label,
  .floating-cta:focus-visible .floating-cta__label{
    width:auto;
    max-width:145px;
    opacity:1;
    margin-right:14px;
    transform:none;
  }
}

.floating-cta-widget.is-open .floating-cta,
.floating-cta-widget.is-opening .floating-cta{
  width:210px;
  padding-left:22px;
}
.floating-cta-widget.is-open .floating-cta__label,
.floating-cta-widget.is-opening .floating-cta__label{
  width:auto;
  max-width:140px;
  opacity:1;
  margin-right:13px;
  transform:none;
}

.back-to-top-progress{
  position:fixed;
  left:24px;
  bottom:var(--gbhq-floating-bottom);
  z-index:9998;
  width:78px;
  height:78px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--gbhq-progress-icon);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(18px) scale(.94);
  filter:drop-shadow(0 12px 26px rgba(7,24,39,.15));
  transition:opacity .24s ease,visibility .24s ease,transform .24s ease,filter .24s ease;
}
.back-to-top-progress.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:none;
}
.back-to-top-progress:hover,
.back-to-top-progress:focus-visible{
  transform:translateY(-3px) scale(1.02);
  filter:drop-shadow(0 16px 30px rgba(7,24,39,.22));
}
.back-to-top-progress__svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  transform:rotate(-90deg);
}
.back-to-top-progress__track,
.back-to-top-progress__bar{
  fill:none;
  stroke-width:4;
}
.back-to-top-progress__track{
  stroke:var(--gbhq-progress-track);
}
.back-to-top-progress__bar{
  stroke:var(--gbhq-progress-color);
  stroke-width:5;
  stroke-linecap:round;
  transition:stroke-dashoffset .1s linear;
}
.back-to-top-progress__arrow{
  position:absolute;
  inset:9px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--gbhq-progress-bg);
  border:1px solid rgba(11,29,51,.08);
  box-shadow:inset 0 0 0 5px color-mix(in srgb,var(--gbhq-progress-track) 72%,transparent);
}
.back-to-top-progress__arrow svg{
  width:27px;
  height:27px;
}

@keyframes gbhq-reference-calendar-pulse{
  0%{opacity:.68;transform:scale(.82)}
  70%,100%{opacity:0;transform:scale(1.2)}
}

@media(max-width:767px){
  .floating-cta-widget{right:-6px}
  .floating-cta{
    width:66px;
    min-width:66px;
    height:66px;
    padding:6px 9px 6px 6px;
  }
  .floating-cta::before{
    right:3px;
    top:3px;
    width:54px;
    height:54px;
  }
  .floating-cta__icon{
    width:44px;
    height:44px;
  }
  .floating-cta__icon .icon{
    width:22px;
    height:22px;
  }
  .floating-cta__label{font-size:13px}
  .floating-cta-widget.is-open .floating-cta,
  .floating-cta-widget.is-opening .floating-cta{
    width:184px;
    padding-left:18px;
  }
  .floating-cta-widget.is-open .floating-cta__label,
  .floating-cta-widget.is-opening .floating-cta__label{
    max-width:118px;
    margin-right:10px;
  }
  .back-to-top-progress{
    left:12px;
    width:66px;
    height:66px;
  }
  .back-to-top-progress__arrow{inset:8px;box-shadow:inset 0 0 0 4px color-mix(in srgb,var(--gbhq-progress-track) 72%,transparent)}
  .back-to-top-progress__arrow svg{width:23px;height:23px}
}

@media(prefers-reduced-motion:reduce){
  .floating-cta::before{animation:none}
  .floating-cta-widget,
  .floating-cta,
  .floating-cta__label,
  .back-to-top-progress,
  .back-to-top-progress__bar{transition:none}
}

/* v15: GrowthBrainHQ Revenue Scan Manager compatibility */
.gbhq-plugin-lead-magnets .lead-heading{
    max-width:900px;
    margin-bottom:34px;
}
.gbhq-plugin-lead-magnets .lead-heading p{
    max-width:780px;
}
.gbhq-revenue-scan-plugin-output{
    position:relative;
}
.gbhq-revenue-scan-plugin-output .gbhq-scan-grid{
    width:100%;
}
.gbhq-plugin-lead-magnets{
    --gbhq-navy:#071B3A;
    --gbhq-blue:#1F66E5;
    --gbhq-cyan:#26C6DA;
    --gbhq-green:#21C55D;
    --gbhq-surface:#F6FAFF;
    --gbhq-border:#DCE8F5;
    --gbhq-text:#101828;
}
.gbhq-plugin-lead-magnets .gbhq-scan-card{
    font-family:inherit;
}
.gbhq-plugin-lead-magnets .gbhq-scan-card h3{
    font-family:var(--gbhq-heading-font, "Space Grotesk", Inter, sans-serif);
    color:#101828;
}
.gbhq-plugin-required-notice{
    background:#fff;
    border:1px solid #dce8f5;
    border-radius:18px;
    padding:30px;
    box-shadow:0 12px 30px rgba(7,27,58,.07);
    text-align:center;
}
.gbhq-plugin-required-notice strong{
    display:block;
    color:#071B3A;
    font-size:20px;
    margin-bottom:8px;
}
.gbhq-plugin-required-notice p{
    max-width:700px;
    margin:0 auto 20px;
}
.gbhq-revenue-scan-plugin-active .scan-grid,
.gbhq-revenue-scan-plugin-active .scan-card{
    /* Legacy static scan styles remain available for old pages, but the homepage now uses plugin output. */
}
@media(max-width:680px){
    .gbhq-plugin-lead-magnets .lead-heading{margin-bottom:24px}
    .gbhq-plugin-required-notice{padding:24px 18px}
}


/* v17 Revenue Recovery / Vision-Friction-Lift section */
.vfl-section{background:#fff;padding-top:72px;padding-bottom:72px}
.vfl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.vfl-card{position:relative;min-height:260px;padding:34px;border:1px solid #dce7ed;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(11,29,51,.06);overflow:hidden}
.vfl-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--teal)}
.vfl-card-friction:before{background:var(--gold)}
.vfl-card-lift{background:linear-gradient(145deg,#071827,#0b2b42);border-color:#12364f;color:#fff}
.vfl-card-lift:before{background:#21c55d}
.vfl-number{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#eef8fa;color:var(--teal2);font-weight:800;font-size:13px;margin-bottom:22px}
.vfl-card-friction .vfl-number{background:#fff6dd;color:#9a6900}
.vfl-card-lift .vfl-number{background:rgba(255,255,255,.1);color:#7fe4ee}
.vfl-card h3{font-size:25px;margin:0 0 14px}
.vfl-card-lift h3{color:#fff}
.vfl-card p{margin:0;font-size:16px;line-height:1.75;color:#52657a}
.vfl-card-lift p{color:#c7d8e2}
@media(max-width:900px){.vfl-grid{grid-template-columns:1fr}.vfl-card{min-height:0}}
