/* Invitty site-wide glass theme (5 Dec 2026), matching the home page (home-glass.css).
   Loaded after site-modern.css on every page except the home page. Visual only: no content, links or layout widths change. */
html{background:#eef5f8}
body.iv-light{background:transparent!important;--g-ink:#0d2a35;--g-ink2:#36525d;--g-mist:#5f7984;--g-teal:#087b8c;
  --g-card:linear-gradient(160deg,rgba(255,255,255,.94),rgba(255,255,255,.66));
  --g-glass:linear-gradient(140deg,rgba(255,255,255,.78),rgba(255,255,255,.45));
  --g-shadow:0 24px 60px -28px rgba(16,72,96,.30),0 2px 6px rgba(16,72,96,.05);
  --g-cshadow:0 12px 26px -18px rgba(16,72,96,.5);
  --g-btn:linear-gradient(120deg,#0a8fa3 0%,#3aa9d8 60%,#8a9cf2 130%)}
body.iv-light::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(900px 600px at 82% -8%,rgba(150,206,230,.5),transparent 60%),
    radial-gradient(700px 520px at -6% 18%,rgba(196,214,247,.6),transparent 62%),
    radial-gradient(800px 640px at 40% 62%,rgba(178,232,236,.4),transparent 65%),
    radial-gradient(700px 500px at 100% 88%,rgba(212,206,248,.4),transparent 60%),
    linear-gradient(180deg,#f4f9fb 0%,#e8f2f6 50%,#eef3fb 100%)}

/* ---------- top strip and header ---------- */
body.iv-light .topbar{background:transparent!important;border-bottom:0!important}
body.iv-light .iv-header{background:transparent!important;border:0!important;box-shadow:none!important;padding:10px clamp(8px,2vw,24px) 0}
body.iv-light .iv-header .iv-nav{border-radius:20px;border:1px solid rgba(255,255,255,.9);background:linear-gradient(140deg,rgba(255,255,255,.88),rgba(255,255,255,.62));
  box-shadow:var(--g-shadow),inset 0 1px 0 #fff;-webkit-backdrop-filter:blur(20px) saturate(140%);backdrop-filter:blur(20px) saturate(140%)}
body.iv-light .iv-header .iv-nav-quote{background:var(--g-btn)!important;border:0!important;border-radius:12px!important;box-shadow:0 10px 24px -12px rgba(10,143,163,.7)!important}
body.iv-light .iv-header .hdr-phone{border-radius:12px}
body.iv-light .iv-mega,body.iv-light .iv-small-menu{border-radius:16px!important;border:1px solid #fff!important;box-shadow:var(--g-shadow)!important;background:rgba(255,255,255,.97)!important}
body.iv-light .crumbs{color:var(--g-mist)}

/* ---------- hero panels ---------- */
body.iv-light :is(.page-hero,.oem-hero,.kb-hero,.hero){width:calc(100% - 2*clamp(10px,2.4vw,28px));max-width:1240px;margin:18px auto 18px!important;border-radius:26px;
  border:1px solid rgba(255,255,255,.9)!important;border-top:1px solid rgba(255,255,255,.9)!important;
  background:var(--g-glass)!important;box-shadow:var(--g-shadow),inset 0 1px 0 rgba(255,255,255,.9);overflow:hidden;
  -webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%)}
body.iv-light .oem-hero{background:linear-gradient(115deg,rgba(255,255,255,.82) 40%,color-mix(in srgb,var(--oem-accent,#087b8c) 12%,rgba(255,255,255,.55)))!important}
body.iv-light :is(.page-hero,.oem-hero,.kb-hero,.hero)>.container{padding-inline:clamp(18px,3vw,40px)}

/* ---------- alternate and boxed sections become glass panels ---------- */
body.iv-light :is(.kb-sec-alt,.newsletter-section),
body.iv-light section[style*="background:#fff"],body.iv-light section[style*="background:var(--bg2)"]{
  width:calc(100% - 2*clamp(10px,2.4vw,28px));max-width:1240px;margin-inline:auto!important;border-radius:26px;
  border:1px solid rgba(255,255,255,.9)!important;background:var(--g-glass)!important;box-shadow:var(--g-shadow)!important}
body.iv-light :is(.kb-sec-alt,.newsletter-section)>.container,
body.iv-light section[style*="background:#fff"]>.container,body.iv-light section[style*="background:var(--bg2)"]>.container{padding-inline:clamp(18px,3vw,40px)}

/* ---------- cards, panels, tables, FAQ ---------- */
body.iv-light :is(.card,.post-card,.kb-card,.brand-tile,.review-card,.city,.form-card,.oem-panel,.sticky-side>div:not(.form-card)){
  background:var(--g-card)!important;border:1px solid #fff!important;border-radius:18px!important;box-shadow:var(--g-cshadow)!important}
body.iv-light :is(.card,.post-card,.kb-card,.brand-tile,.city){transition:transform .25s ease,box-shadow .25s ease}
body.iv-light :is(.card,.post-card,.kb-card,.brand-tile,.city):hover{transform:translateY(-3px);box-shadow:0 26px 40px -24px rgba(16,72,96,.55)!important;border-color:#fff!important}
body.iv-light .card .c-ic{background:#fff!important;border:1px solid #fff!important;border-radius:12px;box-shadow:0 6px 14px -8px rgba(16,72,96,.4)}
body.iv-light .oem-panel-footer{background:rgba(255,255,255,.6)!important}
body.iv-light :is(.buy-table-wrap,.kb-table-wrap,.table-wrap){border:1px solid #fff!important;border-radius:16px!important;background:rgba(255,255,255,.9)!important;box-shadow:var(--g-cshadow)}
body.iv-light :is(.buy-table,.kb-table,.prose table) th{background:#eaf5f6!important}
body.iv-light .faq,body.iv-light .faq[open],body.iv-light #kb-faq details.faq{background:var(--g-card)!important;border:1px solid #fff!important;border-radius:16px!important;box-shadow:var(--g-cshadow)}
body.iv-light .faq summary{color:var(--g-ink)}
body.iv-light :is(.kb-toc a,.kb-tag,.kb-type){border-radius:999px}
body.iv-light .kb-toc{width:calc(100% - 2*clamp(10px,2.4vw,28px));max-width:1240px;margin-inline:auto;border-radius:16px;border:1px solid #fff!important;background:linear-gradient(140deg,rgba(255,255,255,.88),rgba(255,255,255,.62))!important;box-shadow:var(--g-cshadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
body.iv-light .kb-toc a:hover{background:rgba(8,123,140,.08)}

/* ---------- dark bands ---------- */
body.iv-light :is(.band-dark,.cta-banner){border-radius:24px!important;background:radial-gradient(120% 120% at 85% 0%,#1d5a6e 0%,#0f3442 45%,#0b2530 100%)!important;
  box-shadow:0 30px 60px -30px rgba(10,40,55,.6)!important;border:1px solid rgba(255,255,255,.08)!important}

/* ---------- buttons ---------- */
body.iv-light .btn{border-radius:12px!important;transition:transform .2s,box-shadow .2s,filter .2s}
body.iv-light .btn:hover{transform:translateY(-2px)}
body.iv-light .btn-primary:not(.oem-copy .btn-primary){background:var(--g-btn)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 14px 30px -14px rgba(10,143,163,.7)!important}
body.iv-light .btn-primary:not(.oem-copy .btn-primary):hover{filter:brightness(1.05)}
body.iv-light .btn-ghost:not(.oem-copy .btn-ghost){background:rgba(255,255,255,.72)!important;border:1px solid rgba(13,42,53,.12)!important;color:var(--g-ink)!important;box-shadow:inset 0 1px 0 #fff}
body.iv-light .newsletter-section .newsletter-form button{background:var(--g-btn)!important;border-radius:12px}
body.iv-light :is(.field input,.field select,.field textarea,.newsletter-form input[type=email]){border-radius:12px!important}

/* ---------- small screens ---------- */
@media (max-width:640px){
  body.iv-light .iv-header{padding:6px 6px 0}
  body.iv-light .iv-header .iv-nav{border-radius:16px}
  body.iv-light :is(.page-hero,.oem-hero,.kb-hero,.hero),body.iv-light :is(.kb-sec-alt,.newsletter-section){border-radius:20px;width:calc(100% - 16px)}
  body.iv-light :is(.card,.post-card,.kb-card,.form-card,.oem-panel){border-radius:16px!important}
}
@media (prefers-reduced-motion:reduce){body.iv-light :is(.card,.post-card,.kb-card,.brand-tile,.city,.btn){transition:none}}
