/* SMARTSETUP SURGICAL FINAL FIX — loaded last. Focus: spacing, header, hero, icons, login, forms. */
:root{--ss-green:#064c39;--ss-green-dark:#10251e;--ss-gold:#c5a059;--ss-ink:#1a2e25;--ss-muted:#647067;--ss-border:#dde8e2;--ss-bg:#f4f8f6;--ss-nav-h:64px}
*{box-sizing:border-box}html{scroll-padding-top:var(--ss-nav-h);overflow-x:hidden}body{overflow-x:hidden!important;background:var(--ss-bg);}
/* remove the repeated blank band caused by old spacers/fixed nav combinations */
body:not(.ss-portal-page){padding-top:var(--ss-nav-h)!important}body:not(.ss-portal-page)>div[style*="height:64px"],body:not(.ss-portal-page)>.nav-spacer{display:none!important;height:0!important}.ss-final-nav+*,.ss-final-backdrop+*,.ss-mobile-panel+*{margin-top:0!important}.page{padding-top:0!important}.page>.hero:first-child,.page>section.hero:first-child,.page>.page-hero:first-child{margin-top:0!important}.ss-final-nav~.page{padding-top:0!important}
/* Header: centered, stable, services near end on desktop, hamburger only mobile */
.ss-final-nav{position:fixed!important;top:0!important;left:0!important;right:0!important;height:64px!important;background:#fff!important;border-bottom:1px solid rgba(6,76,57,.1)!important;box-shadow:0 1px 12px rgba(6,76,57,.06)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 5%!important;z-index:2147483600!important;font-family:Inter,Arial,sans-serif!important}.ss-final-nav-inner{width:100%;max-width:1480px;display:flex;align-items:center;justify-content:space-between;gap:22px}.ss-final-brand{display:flex!important;align-items:center!important;gap:10px!important;min-width:max-content;text-decoration:none!important;color:var(--ss-ink)!important;font-size:15px!important;font-weight:900!important}.ss-final-brand b{color:var(--ss-gold)!important}.ss-final-logo{width:34px!important;height:34px!important;background:var(--ss-green)!important;border-radius:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important}.ss-final-links{display:flex!important;align-items:center!important;justify-content:center!important;gap:24px!important;margin-left:auto!important}.ss-final-links>a,.ss-final-service-trigger{font-size:14px!important;font-weight:700!important;color:#374151!important;text-decoration:none!important;white-space:nowrap!important;background:transparent!important;border:none!important;padding:8px 0!important;line-height:1!important}.ss-final-links>a:hover,.ss-final-service-trigger:hover{color:var(--ss-green)!important}.ss-final-login{background:var(--ss-green-dark)!important;color:#fff!important;padding:13px 24px!important;border-radius:8px!important;margin-left:0!important}.ss-final-login:hover{background:var(--ss-green)!important;color:#fff!important}.ss-final-services{position:relative!important;order:50!important}.ss-final-login{order:60!important}.ss-final-services-menu{position:absolute!important;top:calc(100% + 12px)!important;right:0!important;min-width:260px!important;background:#fff!important;border:1px solid var(--ss-border)!important;border-radius:14px!important;box-shadow:0 24px 60px rgba(0,0,0,.16)!important;padding:10px!important;display:none!important;z-index:2147483601!important}.ss-final-services:hover .ss-final-services-menu,.ss-final-services:focus-within .ss-final-services-menu{display:grid!important;grid-template-columns:1fr!important}.ss-final-services-menu a{padding:11px 12px!important;border-radius:9px!important;color:#33443e!important;text-decoration:none!important;font-weight:700!important;font-size:13px!important}.ss-final-services-menu a:hover{background:#eef8f3!important;color:var(--ss-green)!important}.ss-final-hamb{display:none!important;width:42px!important;height:42px!important;border:1px solid var(--ss-border)!important;background:#fff!important;border-radius:10px!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:5px!important}.ss-final-hamb span{width:20px;height:2px;background:var(--ss-green);display:block;border-radius:4px}.ss-mobile-panel{position:fixed!important;top:64px!important;left:0!important;right:0!important;max-height:calc(100vh - 64px)!important;overflow:auto!important;background:#fff!important;border-bottom:1px solid var(--ss-border)!important;box-shadow:0 20px 45px rgba(0,0,0,.16)!important;z-index:2147483599!important;display:none!important;padding:14px 18px 22px!important}.ss-mobile-panel.open{display:block!important}.ss-mobile-panel a,.ss-mobile-panel button{display:block!important;width:100%!important;text-align:left!important;padding:13px 12px!important;border-radius:10px!important;border:none!important;background:#fff!important;color:var(--ss-ink)!important;text-decoration:none!important;font-weight:800!important;font-size:14px!important}.ss-mobile-panel a:hover,.ss-mobile-panel button:hover{background:#eef8f3!important}.ss-mobile-sub{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:2px 0 8px!important}.ss-mobile-sub a{font-size:12.5px!important;background:#f7faf9!important;padding:10px!important}.ss-final-backdrop{position:fixed!important;inset:64px 0 0 0!important;background:rgba(0,0,0,.28)!important;z-index:2147483598!important;display:none!important}.ss-final-backdrop.open{display:block!important}@media(max-width:1120px){.ss-final-links{gap:14px!important}.ss-final-links>a,.ss-final-service-trigger{font-size:13px!important}.ss-final-login{padding:11px 18px!important}}@media(max-width:920px){.ss-final-nav{padding:0 16px!important}.ss-final-links{display:none!important}.ss-final-hamb{display:flex!important}.ss-final-nav-inner{gap:10px}.ss-final-brand{font-size:14px!important}.ss-mobile-sub{grid-template-columns:1fr!important}}@media(min-width:921px){.ss-mobile-panel,.ss-final-backdrop{display:none!important}.ss-final-hamb{display:none!important}}
/* hero and page spacing: keep original type scale but stop oversized blocks and blank white bands */
body:not(.ss-portal-page) .hero,body:not(.ss-portal-page) .page-hero,body:not(.ss-portal-page) .fz-hero,body:not(.ss-portal-page) .hero-ml,body:not(.ss-portal-page) section.hero{margin-top:0!important;min-height:auto!important}.page{max-width:1240px!important;margin:0 auto!important;padding-left:5%!important;padding-right:5%!important;padding-bottom:42px!important}.page>.hero:first-child{padding:42px clamp(22px,4vw,52px)!important;margin-bottom:32px!important;border-radius:16px!important;max-width:1100px!important;margin-left:auto!important;margin-right:auto!important}.page>.hero:first-child h1{font-size:clamp(32px,4vw,52px)!important;line-height:1.04!important;margin-bottom:14px!important}.page>.hero:first-child p{font-size:clamp(14px,1.3vw,16px)!important;line-height:1.6!important;margin-bottom:16px!important}.hero-ml{min-height:300px!important;align-items:flex-end!important;padding:42px 5%!important}.hero-ml h1{font-size:clamp(32px,4.2vw,58px)!important}.hero-ml p{font-size:clamp(14px,1.25vw,16px)!important;line-height:1.55!important}.hero-ml+section,.hero-ml+div{margin-top:0!important}.sec,.section{padding-top:46px!important;padding-bottom:46px!important}.container{max-width:1180px!important}.ss-knowledge{padding-top:46px!important;padding-bottom:46px!important;margin-top:0!important}.ss-k-wrap{max-width:1180px!important}.ss-k-title{font-size:clamp(24px,3vw,40px)!important;line-height:1.1!important}.ss-k-lead{font-size:15px!important;line-height:1.65!important}.ss-k-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}.ss-k-card{padding:20px!important}.ss-k-card h3{font-size:18px!important}.ss-k-card li,.ss-k-card p{font-size:14px!important;line-height:1.55!important}.ss-k-flow{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important;gap:12px!important}.ss-k-step{padding:16px!important}.ss-k-step h4{font-size:15px!important}.ss-k-table{overflow-x:auto!important}.ss-k-table table{min-width:680px!important}.ss-k-faq{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}.ss-k-faq details{margin:0!important}.ss-k-cta{padding:24px!important}
/* Visa service/golden visa exact desktop fixes */
body[data-page="visa-services"] .page,body:has(.hero h1) .page{padding-top:0!important}.hero[style*="linear-gradient"],.page .hero{box-shadow:0 20px 50px rgba(6,76,57,.10)!important}.page .hero>div[style*="display:flex"]{align-items:center!important}.page .hero a{min-height:44px!important}.page .hero br{display:none!important}
/* freezone detail: best suited horizontal, not vertical; enquiry compact */
.ss-fz-detail .section{padding-top:42px!important;padding-bottom:42px!important}.ss-fz-detail .section .container>div[style*="grid-template-columns:1fr 1fr"]{grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr)!important;gap:28px!important}.ss-fz-detail .section .container>div[style*="grid-template-columns:1fr 1fr"]>div:first-child>div[style*="display:flex"]{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;margin-bottom:10px!important}.ss-fz-detail .section .container>div[style*="grid-template-columns:1fr 1fr"]>div:first-child p{margin:0!important;line-height:1.5!important}.ss-fz-detail .ss-k-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ss-fz-detail input,.ss-fz-detail select{font-size:14px!important}.ss-fz-detail .card{padding:22px!important}.info-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.info-item{padding:14px!important}.info-val{font-size:clamp(18px,2vw,24px)!important}
/* phone/country code: no double select, compact code with full phone input */
.ss-phone-row{display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;gap:0!important;border:1.5px solid var(--ss-border)!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important;align-items:stretch!important}.ss-phone-row select,.ss-phone-row input{border:none!important;border-radius:0!important;height:46px!important;min-height:46px!important}.ss-phone-row select{background:#f5faf8!important;border-right:1.5px solid var(--ss-border)!important;font-size:13px!important;font-weight:800!important;color:var(--ss-green)!important;padding:0 8px!important;width:108px!important;min-width:108px!important}.ss-phone-row input{font-size:15px!important;padding:0 14px!important;width:100%!important;min-width:0!important}.ss-phone-row .ss-old-select-hidden{display:none!important}.ss-phone-row select+select{display:none!important}.ss-phone-row:has(select+select) select:first-child{display:none!important}.ss-phone-row:has(select+select){grid-template-columns:108px minmax(0,1fr)!important}
/* Popups/modals: fit within screen, no giant desktop box */
[role="dialog"],.modal,.lead-modal,.ai-modal,.popup,.consult-modal,#leadModal,#aiLeadModal,#consultModal{max-width:min(540px,calc(100vw - 28px))!important;max-height:calc(100svh - 92px)!important;overflow:auto!important;border-radius:18px!important}.modal input,.modal select,.popup input,.popup select,[role="dialog"] input,[role="dialog"] select{font-size:15px!important;min-height:44px!important}.modal h2,.popup h2,[role="dialog"] h2{font-size:clamp(20px,2vw,26px)!important;line-height:1.15!important}.modal p,.popup p,[role="dialog"] p{font-size:14px!important;line-height:1.5!important}
/* Floating WhatsApp/chatbot: centered, not covering buttons. */
#cb-cluster{position:fixed!important;right:20px!important;bottom:22px!important;z-index:2147483550!important;display:flex!important;align-items:center!important;gap:12px!important}.ss-final-footer~#cb-cluster{bottom:22px!important}#cb-wa-btn{height:52px!important;min-width:52px!important;border-radius:999px!important;padding:0 18px 0 14px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important}#cb-wa-btn svg,#cb-wa-btn img{display:block!important;margin:0!important;width:22px!important;height:22px!important;object-fit:contain!important;flex:0 0 22px!important}#cb-launcher{width:52px!important;height:52px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important}#cb-tip{right:22px!important;bottom:90px!important;z-index:2147483549!important}#cb-panel{right:20px!important;bottom:90px!important;z-index:2147483549!important}.wa-fab,.whatsapp-float,.chatbot-float{display:none!important}
/* Footer: legal links always visible */
.ss-final-footer{margin-top:0!important;background:#10251e!important;color:#fff!important}.ss-final-footer a{color:#d8bb76!important}
/* Client login: remove inner scroll, compact card, no cut-off header */
body.ss-portal-page{min-height:100svh!important;height:auto!important;overflow-x:hidden!important;overflow-y:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important}.ss-portal-page .wrap{max-width:430px!important;width:100%!important;margin:auto!important}.ss-portal-page .brand{margin:0 auto 12px!important}.ss-portal-page .card{max-height:none!important;overflow:visible!important;padding:22px 24px!important;border-radius:18px!important}.ss-portal-page h1{font-size:24px!important;line-height:1.08!important;margin:0 0 8px!important}.ss-portal-page .lead{font-size:13.5px!important;line-height:1.42!important;margin-bottom:12px!important}.ss-portal-page input,.ss-portal-page select,.ss-portal-page button{min-height:42px!important}.ss-portal-page .social{height:42px!important}.ss-portal-page .divider{margin:12px 0!important}.ss-portal-page .form-group{margin-bottom:10px!important}.ss-portal-page .back{display:block!important;text-align:center!important;margin-top:12px!important;color:var(--ss-gold)!important;font-weight:800!important}.ss-portal-page .phone-row{grid-template-columns:96px minmax(0,1fr)!important}
@media(max-width:920px){body:not(.ss-portal-page){padding-top:64px!important}.page{padding-left:14px!important;padding-right:14px!important}.page>.hero:first-child{padding:28px 22px!important;border-radius:14px!important;margin-bottom:22px!important}.page>.hero:first-child h1{font-size:clamp(28px,9vw,40px)!important}.hero-ml{padding:34px 18px!important;min-height:250px!important}.sec,.section{padding:34px 16px!important}.ss-k-grid,.ss-fz-detail .ss-k-grid{grid-template-columns:1fr!important}.ss-k-faq{grid-template-columns:1fr!important}.ss-fz-detail .section .container>div[style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr!important;gap:22px!important}.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ss-phone-row{grid-template-columns:96px minmax(0,1fr)!important}.ss-phone-row select{width:96px!important;min-width:96px!important;font-size:12px!important}.ss-phone-row input{font-size:14px!important;padding:0 10px!important}#cb-cluster{right:12px!important;bottom:12px!important;gap:8px!important}#cb-wa-btn{width:52px!important;height:52px!important;padding:0!important;border-radius:50%!important}#cb-wa-label{display:none!important}#cb-tip{right:12px!important;bottom:74px!important;max-width:calc(100vw - 24px)!important}#cb-panel{right:10px!important;left:10px!important;width:auto!important;bottom:76px!important;max-height:calc(100svh - 96px)!important}}
@media(max-width:560px){.ss-final-brand span{font-size:13px!important}.ss-final-logo{width:32px!important;height:32px!important;flex-basis:32px!important}.ss-mobile-panel{padding-left:12px!important;padding-right:12px!important}.page>.hero:first-child{padding:24px 18px!important}.page>.hero:first-child h1{font-size:clamp(26px,10vw,34px)!important}.info-grid{grid-template-columns:1fr!important}.ss-k-card{padding:16px!important}.ss-portal-page{align-items:flex-start!important;padding:10px!important}.ss-portal-page .card{padding:18px!important}.ss-portal-page h1{font-size:22px!important}.ss-portal-page .brand{margin-top:4px!important}}
/* Hide older header-only navigation bars after final nav is injected */
body:not(.ss-portal-page)>header{display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important}

/* SURGICAL REVERIFY PATCH — spacing, services order, duplicate country code, login fit */
body:not(.ss-portal-page){padding-top:64px!important;}
body:not(.ss-portal-page) main,
body:not(.ss-portal-page) .page{padding-top:0!important;margin-top:0!important;}
body:not(.ss-portal-page)>main:first-of-type,
body:not(.ss-portal-page)>.page:first-of-type,
body:not(.ss-portal-page)>section:first-of-type{margin-top:0!important;}
body:not(.ss-portal-page) .page>.hero:first-child,
body:not(.ss-portal-page) .page>section.hero:first-child,
body:not(.ss-portal-page) main>.hero:first-child,
body:not(.ss-portal-page) main>section.hero:first-child{margin-top:0!important;}
/* compact service-page hero blocks without changing the original h1 scale */
body:not(.ss-portal-page) .page>.hero:first-child{min-height:auto!important;height:auto!important;padding:34px clamp(22px,3.4vw,44px)!important;display:block!important;}
body:not(.ss-portal-page) .page>.hero:first-child [style*="height:120px"],
body:not(.ss-portal-page) .page>.hero:first-child [style*="min-height"]{min-height:auto!important;height:auto!important;}
body:not(.ss-portal-page) .page>.hero:first-child h1{margin-top:0!important;margin-bottom:12px!important;}
body:not(.ss-portal-page) .page>.hero:first-child p{margin-bottom:14px!important;max-width:760px!important;}
/* keep desktop nav centered; services before About Us */
.ss-final-links{flex:1 1 auto!important;justify-content:flex-end!important;gap:clamp(14px,1.65vw,24px)!important;}
.ss-final-services{order:45!important}.ss-final-links>a[href$="about.html"]{order:50!important}.ss-final-login{order:60!important}.ss-final-links>a[href*="ai-search"]{order:10!important}.ss-final-links>a[href*="compare"]{order:20!important}.ss-final-links>a[href*="freezones"]{order:30!important}.ss-final-links>a[href*="mainland"]{order:40!important}
/* phone rows: only one country-code selector and enough room for the number */
.ss-phone-row{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:0!important;align-items:stretch!important;border:1.5px solid var(--ss-border)!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important;}
.ss-phone-row>select{width:96px!important;min-width:96px!important;max-width:96px!important;height:44px!important;border:0!important;border-right:1.5px solid var(--ss-border)!important;border-radius:0!important;background:#f7faf9!important;color:var(--ss-green)!important;font-size:12px!important;font-weight:900!important;padding:0 6px!important;}
.ss-phone-row>input{min-width:0!important;width:100%!important;height:44px!important;border:0!important;border-radius:0!important;padding:0 12px!important;font-size:14px!important;background:#fff!important;}
.ss-phone-row .ss-phone-row{display:contents!important;border:0!important;}
/* floating icons reduced so they do not cover forms */
#cb-cluster{right:20px!important;bottom:18px!important;z-index:2147483500!important;}#cb-wa-btn{height:52px!important;min-width:52px!important;padding:0 18px!important;display:flex!important;align-items:center!important;justify-content:center!important;}#cb-wa-btn svg{margin:0!important;}
@media(max-width:920px){#cb-cluster{right:12px!important;bottom:12px!important}.page>.hero:first-child{padding:24px 18px!important}.ss-final-links{display:none!important}}
/* freezone and mainland grids should read horizontally first, not stacked text */
.ss-fz-detail .section .container>div[style*="grid-template-columns:1fr 1fr"]>div:first-child>div[style*="display:flex"]{display:flex!important;align-items:flex-start!important;gap:10px!important;}
.ss-fz-detail .section .container>div[style*="grid-template-columns:1fr 1fr"]>div:first-child>div[style*="display:flex"] p{display:block!important;writing-mode:horizontal-tb!important;word-break:normal!important;overflow-wrap:anywhere!important;}
/* portal login: no inner scroll; compact card */
.ss-portal-page{min-height:100svh!important;height:auto!important;overflow:auto!important;align-items:center!important;padding:10px!important;}
.ss-portal-page .wrap{max-width:410px!important;}
.ss-portal-page .card{max-height:none!important;overflow:visible!important;padding:18px!important;}
.ss-portal-page .brand{margin-bottom:10px!important;}
.ss-portal-page .social{height:38px!important;margin-bottom:7px!important}.ss-portal-page .field input,.ss-portal-page .phone-row input,.ss-portal-page .phone-row select{height:38px!important}.ss-portal-page .btn{height:40px!important}.ss-portal-page .helper{margin-top:8px!important;font-size:10.5px!important}.ss-portal-page .divider{margin:10px 0!important}.ss-portal-page h1{font-size:21px!important}.ss-portal-page .lead{font-size:12.5px!important;margin-bottom:10px!important}
@media(max-height:760px){.ss-portal-page{align-items:flex-start!important}.ss-portal-page .brand{margin-top:0!important}.ss-portal-page .card{padding:14px!important}.ss-portal-page h1{font-size:19px!important}.ss-portal-page .lead{line-height:1.35!important}.ss-portal-page .social{height:34px!important}.ss-portal-page .tabs button{height:34px!important}.ss-portal-page .field{margin-bottom:8px!important}.ss-portal-page .field input,.ss-portal-page .phone-row input,.ss-portal-page .phone-row select{height:36px!important}.ss-portal-page .btn{height:38px!important}.ss-portal-page .helper{display:none!important}}
/* footer must always expose legal + data deletion links */
.ss-final-footer a[href*="data-deletion"]{font-weight:900!important;color:#d7ba72!important;}
