
/* A crisp, original phone graphic identifies the callback action at every size. */
header .callback-trigger{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;flex-shrink:0;padding:8px 14px 8px 8px;border:1px solid #a9c7ff99;border-radius:18px;background:linear-gradient(115deg,#1556c3,#5840c9 65%,#7d3fc4);color:#fff!important;text-decoration:none;font-size:16px;font-weight:700;line-height:1.2;white-space:nowrap;box-shadow:0 4px 18px #173abd35;transition:transform .2s ease,box-shadow .2s ease}
header .callback-trigger:hover{transform:translateY(-1px);box-shadow:0 6px 22px #7355de55}header .callback-trigger:focus-visible{outline:3px solid #bdeaff;outline-offset:4px}
.callback-trigger img{display:block;width:36px;height:36px;flex:0 0 36px}.callback-label-short{display:none}
.callback-dialog{position:fixed;inset:0;margin:auto;padding:0;width:min(1100px,calc(100vw - 32px));height:min(860px,calc(100dvh - 28px));max-width:none;max-height:none;overflow:hidden;background:#112443;color:#fff;border:1px solid #a79aff;border-radius:22px;box-shadow:0 25px 100px #0008;z-index:2000}
.callback-dialog:not([open]){display:none}.callback-dialog[open]{display:flex;flex-direction:column}.callback-dialog::backdrop{background:#071227d9}
.callback-dialog-head{display:flex;align-items:center;gap:14px;padding:17px 22px;border-bottom:1px solid #9d97f744;background:linear-gradient(115deg,#123b75,#402c72)}
.callback-dialog-head>img{width:44px;height:44px;flex:0 0 44px}.callback-dialog-heading{flex:1;min-width:0}.callback-dialog h2{font-size:24px;line-height:1.2;margin:0 0 5px;color:#fff}.callback-dialog p{font-size:16px;line-height:1.4;margin:0;color:#e0edff}
.callback-close{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:1px solid #b8c9ff99;background:#172c52;border-radius:50%;color:#fff;cursor:pointer}.callback-close svg{width:20px;height:20px}.callback-close:focus-visible,.callback-dialog a:focus-visible{outline:3px solid #a9eaff;outline-offset:3px}
.callback-calendar-area{position:relative;flex:1;min-height:0;background:#112443}.callback-calendar-area iframe{display:block;position:relative;width:100%;height:100%;min-width:0;border:0;background:#112443}.callback-loading{position:absolute;inset:24px;display:flex;align-items:center;justify-content:center;pointer-events:none;color:#e6ecff;font-size:17px}.callback-loading[hidden]{display:none}
.callback-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 22px;border-top:1px solid #9d97f744;background:#15294a;font-size:15px;line-height:1.4}.callback-dialog-foot a{color:#c8d9ff;text-decoration:underline;text-underline-offset:3px}.callback-open{overflow:hidden}
@media(max-width:1550px){header .header-actions>.btn{display:none}header{padding-inline:3%}}
@media(max-width:1280px){header .expanded-nav{display:none}header #menu-toggle{display:block}#mobile-nav{top:94px}}
@media(max-width:1080px){#mobile-nav{top:80px}}
@media(max-width:760px){header .callback-trigger{flex-direction:column;gap:2px;padding:4px 8px;border-radius:13px;min-width:70px;font-size:14px;line-height:1.1}.callback-trigger img{width:27px;height:27px;flex-basis:27px}.callback-label-wide{display:none}.callback-label-short{display:inline}#mobile-nav{top:76px}.callback-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:16px}.callback-dialog-head{padding:12px;gap:10px}.callback-dialog-head>img{width:34px;height:34px;flex-basis:34px}.callback-dialog h2{font-size:20px}.callback-dialog p{font-size:15px}.callback-dialog-foot{padding:10px 12px;font-size:14px;gap:8px;flex-wrap:wrap}}
@media(max-width:380px){header .brand.new-brand{width:118px;flex-basis:118px}header .header-actions{gap:5px}header{gap:8px;padding-inline:4%}header .callback-trigger{padding-inline:6px;min-width:66px}}
@media(max-width:335px){header .brand.new-brand{width:100px;flex-basis:100px}header .language-switch button{width:25px}}
@media(prefers-reduced-motion:reduce){header .callback-trigger{transition:none}header .callback-trigger:hover{transform:none}}
/* Clear bilingual segmented control, with comfortable tap targets. */
header .language-switch{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #879deb80;border-radius:999px;background:#102445;flex-shrink:0}
header .language-switch button{display:grid;place-items:center;width:42px;height:36px;padding:0;border:0;border-radius:999px;background:transparent;color:#d7e6ff;font:700 15px/1 var(--font,sans-serif);letter-spacing:.02em;cursor:pointer;box-shadow:none}
header .language-switch button[aria-pressed=true]{background:linear-gradient(115deg,#376aff,#824add);color:#fff;box-shadow:0 2px 8px #080f2c55}
header .language-switch button:hover{color:#fff;background-color:#263d68}
header .language-switch button:focus-visible{outline:2px solid #79e4ff;outline-offset:2px}
@media(max-width:760px){header .language-switch{padding:3px;gap:2px}header .language-switch button{width:34px;height:34px;font-size:14px}}
@media(max-width:380px){header .language-switch button{width:29px}header .brand.new-brand{width:110px;flex-basis:110px}}
@media(max-width:335px){header{padding-inline:3%;gap:5px}header .brand.new-brand{width:90px;flex-basis:90px}header .header-actions{gap:3px}header .callback-trigger{min-width:60px;padding-inline:4px}header #menu-toggle{padding-inline:7px}}
/* A slimmer navigation bar with compact actions. */
header{height:76px!important;gap:18px}header .brand.new-brand{width:145px;flex-basis:145px}header .brand.new-brand img{max-height:66px;object-fit:contain}header .nav-group>summary{padding-block:15px}header .header-actions{gap:10px}header .callback-trigger{padding:6px 11px 6px 6px;font-size:15px;border-radius:14px}header .callback-trigger img{width:30px;height:30px;flex-basis:30px}header .header-actions>.btn{padding:12px 18px;font-size:15px}#mobile-nav{top:76px!important}
.callback-dialog{width:min(760px,calc(100vw - 24px))}.callback-dialog-head{padding:12px 16px}.callback-dialog h2{font-size:21px}.callback-dialog-foot{padding:10px 16px}
@media(max-width:760px){header{height:70px!important;gap:8px}header .brand.new-brand{width:110px;flex-basis:110px}header .callback-trigger{padding:4px 6px;font-size:13px;min-width:62px}header .callback-trigger img{width:24px;height:24px;flex-basis:24px}header .header-actions{gap:4px}#mobile-nav{top:70px!important}.callback-dialog{width:calc(100vw - 12px)}}
@media(max-width:335px){header .brand.new-brand{width:88px;flex-basis:88px}header .header-actions{gap:3px}}
.callback-dialog{width:min(700px,calc(100vw - 24px))}
@media(max-width:760px){.callback-dialog{width:min(700px,calc(100vw - 12px))}}
header .header-invoice{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:42px;padding:9px 13px;border:1px solid #97b7ff;border-radius:13px;color:#fff;background:linear-gradient(115deg,#245ee5,#7736bb);font-size:15px;line-height:1.2;font-weight:700;text-decoration:none;white-space:nowrap}
header .header-invoice:focus-visible{outline:3px solid #82e6ff;outline-offset:3px}
@media(max-width:1450px){header .expanded-nav{display:none}header #menu-toggle{display:block}}
@media(max-width:760px){header .header-actions{flex-wrap:wrap;justify-content:flex-end;gap:4px}header .header-invoice{font-size:12px;padding:6px 8px;min-height:30px}header .callback-trigger{flex-direction:row;gap:4px;min-width:0;font-size:12px}header .callback-trigger img{width:20px;height:20px;flex-basis:20px}header .language-switch{padding:2px}header .language-switch button{height:28px;width:27px;font-size:12px}header .brand.new-brand{width:95px;flex-basis:95px}header #menu-toggle{padding:5px}header #menu-toggle span{width:19px}header{gap:5px;padding-inline:3%}header .header-actions{max-width:calc(100% - 100px)}}
@media(max-width:420px){header .header-invoice{order:-1;flex-basis:100%;min-height:25px;padding-block:4px}header .callback-trigger{padding:3px 5px}header .header-actions{column-gap:5px;row-gap:3px}}
/* Branded assistant points directly from the popup header toward its calendar. */
.callback-dialog{height:min(960px,calc(100dvh - 24px))}
.callback-dialog-head{position:relative;min-height:196px;padding:24px 270px 24px 24px;display:flex;align-items:center;overflow:hidden}
.callback-dialog-head>.callback-assistant{position:absolute;right:42px;bottom:-24px;width:244px;height:auto;max-width:none;flex:none;object-fit:contain;pointer-events:none}
.callback-dialog .callback-dialog-heading{position:relative;z-index:1;flex:auto}
.callback-dialog .callback-close{position:absolute;right:12px;top:12px;z-index:2}
.callback-dialog .callback-dialog-heading h2{font-size:27px;line-height:1.15}
.callback-dialog .callback-dialog-heading p{font-size:16px;line-height:1.5;margin-top:10px}
@media(max-width:600px){.callback-dialog-head{min-height:152px;padding:22px 150px 18px 16px}.callback-dialog-head>.callback-assistant{width:170px;right:22px;bottom:-18px}.callback-dialog .callback-dialog-heading h2{font-size:22px}.callback-dialog .callback-dialog-heading p{font-size:14px;margin-top:8px}.callback-dialog .callback-close{width:34px;height:34px;right:8px;top:8px;min-height:34px;flex-basis:34px}}
@media(max-width:360px){.callback-dialog-head{padding-right:130px}.callback-dialog-head>.callback-assistant{width:145px;right:18px}.callback-dialog .callback-dialog-heading h2{font-size:20px}}
/* Clip only Calendly's empty white embed gutters, not calendar content. */
.callback-calendar-area{overflow:hidden}.callback-calendar-area iframe{width:calc(100% + 20px)!important;max-width:none;margin-left:-10px;border:0!important}
/* Calendly centres a fixed-width card; cover only its empty outer gutters. */
.callback-calendar-area iframe{width:100%!important;margin-left:0}
.callback-calendar-area:before,.callback-calendar-area:after{content:'';position:absolute;top:0;bottom:0;width:10px;background:#112443;pointer-events:none;z-index:3}
.callback-calendar-area:before{left:0}.callback-calendar-area:after{right:0}

/* Keep the expanded action row balanced with the partner entry. */
header .header-actions>.btn.small{white-space:nowrap;flex-shrink:0}
@media(min-width:1100px) and (max-width:1750px){header .header-actions>.btn.small{display:none}}
@media(max-width:420px){header .header-invoice.header-partner{flex-basis:auto;min-width:0}header .header-invoice:not(.header-partner){flex-basis:auto;min-width:0}}
