/* CALBOOK full-site visual refresh */
:root{--ink:#0b1220;--ink2:#58677c;--bg:#f5f7fb;--card:#fff;--line:#e5eaf1;--ac:#3498DB;--onac:#0b1220;--soft:#eaf5fc;--deep:#0f1c35;color-scheme:light}
html,body{color:#0b1220;background:#fff}body{font-family:Heebo,'Arial',sans-serif;letter-spacing:.005em}header, .atop{background:rgba(255,255,255,.95);border-bottom:1px solid #e7ebf2;box-shadow:0 8px 24px rgba(15,23,42,.035)}header{position:sticky;top:0;z-index:40;backdrop-filter:blur(14px)}
.w{max-width:1280px}.logo{letter-spacing:-.04em;font-size:1.8rem}.logo i{font-style:normal;color:#3498DB}.bk{font-style:normal;color:#1E3A8A}nav a{color:#526176;border-radius:10px}nav a[aria-current]{color:#2276AA;border-bottom:0;background:#eaf5fc;border-radius:10px}
.hero{position:relative;overflow:hidden;padding:clamp(60px,8vw,120px) 0;background:radial-gradient(ellipse at 85% 20%,#e8f1ff 0,transparent 44%),linear-gradient(135deg,#fff 60%,#f6f9ff)}.hero .w{grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,80px)}.hero h1{font-size:clamp(2.6rem,5vw,4.5rem);letter-spacing:-.045em;line-height:1.13}.hero p{font-size:1.2rem;line-height:1.8}.hero figure{border-radius:28px;overflow:hidden;padding:20px;background:rgba(255,255,255,.78);border:1px solid #dfe8f8;box-shadow:0 30px 80px rgba(52,152,219,.12)}
.btn{background:#3498DB;color:#0b1220;border-color:#3498DB;border-radius:13px;box-shadow:0 10px 24px rgba(52,152,219,.20);font-weight:700}.btn.alt{background:white;color:#2276AA;border-color:#b9dff4}.btn.ghost{border-color:#e2e8f0}section{padding:clamp(44px,6vw,86px) 0}section.alt{background:#f6f8fc;border-block:1px solid #edf0f5}section h2{font-size:clamp(1.75rem,3vw,2.5rem);margin-bottom:22px;letter-spacing:-.035em}section .lead{max-width:48em}
.grid{gap:20px}.grid>div,.box,.two .box{background:#fff;border:1px solid #e4eaf2;border-radius:20px;box-shadow:0 8px 28px rgba(15,23,42,.04)}.grid>div{padding:25px}.grid h3{border:0;padding:0}.grid h3:before{content:'✦';display:inline-grid;place-items:center;color:#2276AA;background:#eaf5fc;border-radius:10px;width:36px;height:36px;margin-inline-end:10px;font-size:16px}.grid p{line-height:1.8}.shots figure{border:1px solid #e4eaf2;border-radius:22px;background:white;padding:18px;box-shadow:0 12px 32px rgba(15,23,42,.045)}.tags a{background:#fff;border-color:#e2e8f0;border-radius:12px;padding:10px 16px}.tags a:hover{background:#edf3ff;border-color:#c9dafb}.steps{counter-reset:steps}.steps li{margin-block:16px;padding:14px 18px;border-radius:14px;background:white;border:1px solid #e5eaf1}.steps b{color:#0f172a}details{border-bottom:1px solid #e3e9f1;padding:16px 0}summary{padding:6px;font-size:1.05rem}.cta{background:radial-gradient(ellipse at 20% 20%,#e7efff,transparent 55%),#f7f9fd;color:#0f172a;border-block:1px solid #e5eaf1}.cta p{color:#64748b}.cta .alt{color:#2276AA;border-color:#b9dff4}footer{background:#fff;border-top:1px solid #e5eaf1;padding:42px 0}
/* dashboard/app and forms */
.app{background:#f5f7fb}.app .atop{background:#fff}.app .shell{background:#f5f7fb}.app .side{background:#fff;border-inline-end:1px solid #e5eaf1}.app .panel,.app .stat,.app .authbox{background:#fff;border:1px solid #e4eaf2;border-radius:18px;box-shadow:0 6px 24px rgba(15,23,42,.035)}.app .stat{padding:18px}.app .panel{padding:20px}.app .fab{background:#3498DB;color:#0b1220;box-shadow:0 10px 25px rgba(52,152,219,.24)}.app .nbar{background:white;border-top:1px solid #e5eaf1}.app input,.app textarea,.app select{background:white;border:1px solid #dce4ef;border-radius:12px}.app button,.app .btn{border-radius:12px}.app .tabsv{border-color:#e5eaf1}.app .cal,.app .s,.app .h{border-color:#e5eaf1}.app .note{background:#edf3ff;color:#1e40af}.app .err{background:#fff1f2;color:#9f1239}
@media(max-width:760px){.hero .w{grid-template-columns:1fr}.hero{padding:48px 0}.hero figure{padding:10px}.grid>div{padding:20px}header{position:relative}.hero h1{font-size:2.5rem}.cta{padding:42px 0}}
@media(hover:hover){.grid>div:hover,.box:hover,.shots figure:hover,.app .panel:hover,.app .stat:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(15,23,42,.08);border-color:#d3dff3}.btn:hover{transform:translateY(-2px)}}

/* keep CALBOOK refresh active on pages with specialty/demo styling */
:root{color-scheme:light;--ac:#3498DB;--onac:#0b1220;--soft:#eaf5fc}

/* CALBOOK responsive + fluid width refinement */
*,*::before,*::after{box-sizing:border-box}html{overflow-x:hidden}body{overflow-x:hidden;width:100%;max-width:100%}.w{width:min(96%,1600px);max-width:1600px;margin-inline:auto;padding-inline:clamp(16px,2.4vw,40px)}main,section,footer,header{max-width:100%}img,svg,video,iframe{max-width:100%}.grid,.two,.hero .w{min-width:0}.grid>* , .two>*{min-width:0}button,.btn,a{touch-action:manipulation}
@media(min-width:1440px){.w{width:min(97%,1720px);max-width:1720px}.hero .w{gap:clamp(36px,4vw,88px)}section{padding-block:clamp(56px,5.5vw,100px)}}
@media(min-width:761px) and (max-width:1100px){.w{width:96%;padding-inline:24px}.hero .w{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}.grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}.hero h1{font-size:clamp(2.2rem,4vw,3.6rem)}}
@media(max-width:760px){.w{width:100%;max-width:100%;padding-inline:18px}.hero .w{grid-template-columns:1fr!important}.hero h1{font-size:clamp(2rem,8vw,2.65rem);line-height:1.18}.hero p{font-size:1.05rem}.grid{grid-template-columns:1fr!important;gap:14px}.grid>div{padding:18px}section{padding-block:42px}.hero figure{max-width:100%;margin-inline:auto}table{display:block;max-width:100%;overflow-x:auto}input,select,textarea{max-width:100%;font-size:16px}footer .w{gap:20px}header .w{padding-inline:16px}}
@media(max-width:420px){.w{padding-inline:14px}.btn,button{max-width:100%;white-space:normal}.hero h1{font-size:2rem}.grid>div{border-radius:16px}}

/* CALBOOK: true wide-screen layout override */
@media (min-width: 761px){
  .w, header .w, footer .w, section>.w, main>.w { width:100% !important; max-width:none !important; padding-inline:clamp(24px,3.2vw,72px) !important; margin-inline:auto !important; }
  main, section, footer { width:100%; }
  .hero .w { width:100% !important; max-width:none !important; }
}
@media (min-width: 1800px){
  .w, header .w, footer .w, section>.w, main>.w { padding-inline:clamp(48px,4vw,100px) !important; }
}
@media(max-width:760px){
  .w, header .w, footer .w, section>.w, main>.w {width:100% !important;max-width:100% !important;padding-inline:16px !important;margin-inline:auto !important;}
}


/* CALBOOK v68: viewport-wide marketing layout + consistent CTA spacing */
@media (min-width: 761px) {
  html, body { width:100%; max-width:100%; }
  body > header .w, body > main .w, body > footer .w, section > .w, header > .w, footer > .w {
    width:100% !important; max-width:none !important;
    margin-inline:0 !important;
    padding-inline:clamp(32px, 4.5vw, 104px) !important;
  }
  .hero > .w {
    display:grid !important;
    width:100% !important; max-width:none !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:clamp(40px,5vw,104px) !important;
    align-items:center;
  }
  .hero > .w > * { min-width:0; }
  .hero figure { width:100%; max-width:none; }
  .hero .pm { margin-inline:auto; }
}
@media (min-width: 1500px) {
  body > header .w, body > main .w, body > footer .w, section > .w, header > .w, footer > .w { padding-inline:clamp(64px,5vw,120px) !important; }
  .hero > .w { gap:clamp(72px,6vw,140px) !important; }
}
/* Keep primary and secondary calls-to-action visually separated */
.hero a.btn, .cta a.btn { display:flex; align-items:center; justify-content:center; width:min(100%,360px); min-height:48px; margin:0 0 14px !important; }
.hero a.btn + a.btn, .cta a.btn + a.btn { margin-top:0 !important; margin-bottom:0 !important; }
@media (max-width:760px) {
  .hero > .w { width:100% !important; max-width:100% !important; grid-template-columns:minmax(0,1fr) !important; gap:28px !important; }
  .hero a.btn, .cta a.btn { width:100%; max-width:420px; margin:0 0 12px !important; }
}

/* FAQ question readability */
main details > summary{font-size:1.15rem;}

/* CALBOOK SEO release: keep the site header visible while scrolling. */
body:not(.app) > header{position:sticky;top:0;z-index:1000;backdrop-filter:blur(14px);}


/* Calbook brand refresh — Modern Blue #3498DB.
   Scoped to Calbook-owned pages; customer booking/demo themes remain business-controlled. */
html.calbook-brand-theme{
  --ac:#3498DB;
  --onac:#0b1220;
  --soft:#eaf5fc;
}
.calbook-brand-theme .btn:not(.phone .btn){
  background:#3498DB;
  color:#0b1220;
  border-color:#3498DB;
  box-shadow:0 8px 22px rgba(52,152,219,.18);
}
.calbook-brand-theme .btn.alt:not(.phone .btn),
.calbook-brand-theme .btn.ghost:not(.phone .btn){
  background:#fff;
  color:#2276AA;
  border-color:#b9dff4;
}
.calbook-brand-theme .btn:hover:not(.phone .btn),
.calbook-brand-theme button.primary:hover{
  filter:brightness(.96);
  box-shadow:0 8px 22px rgba(52,152,219,.24);
}
.calbook-brand-theme a:not(.btn):focus-visible,
.calbook-brand-theme button:focus-visible{
  outline-color:#2276AA;
}
.calbook-brand-theme .logo i{color:#3498DB}
.calbook-brand-theme .app-loading-wordmark span{color:#3498DB}
.calbook-brand-theme .cb-language-switch button[aria-pressed="true"]{
  background:#3498DB;color:#0b1220;
}
.calbook-brand-theme #cb-access-toggle{
  background:#3498DB;color:#0b1220;
}

/* Sticky public header: overflow:hidden on body creates a non-scrolling sticky ancestor. */
html:has(body:not(.app):not(.customer-app)>header),body:not(.app):not(.customer-app):has(>header){overflow-x:clip;overflow-y:visible}
body:not(.app):not(.customer-app)>header{position:sticky!important;top:0!important;z-index:1000}

.calbook-brand-theme #app-loading .app-loading-wordmark span:first-child{color:#0b1220!important}.calbook-brand-theme #app-loading .app-loading-wordmark span:last-child{color:#3498DB!important}
