@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0B1120;
  --navy-mid: #151D2E;
  --navy-lt: #1E293B;
  --gold: #C9A84C;
  --gold-txt: #8B6D1B;
  --gold-h: #B8943F;
  --gold-s: rgba(201,168,76,0.12);
  --wh: #FFFFFF;
  --off: #F7F8FA;
  --txt: #334155;
  --mut: #64748B;
  --bdr: #E2E8F0;
  --input-bg: #FFFFFF;
  --input-bdr: #D1D5DB;
  --input-txt: #111827;
  --fh: 'Outfit', sans-serif;
  --fb: 'Inter', sans-serif;
  --r: 0.75rem;
  --rl: 1.25rem;
  --sh: 0 4px 24px rgba(0,0,0,0.06);
  --shl: 0 12px 40px rgba(0,0,0,0.08);
  --paper: #fdfdfb;
  --paper-bdr: #e1ddd0;
  --paper-shadow: 0 10px 40px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.02);
  --app-sh: 0 20px 50px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  /* FIXED — never swap between themes */
  --navy-solid: #0B1120;
  --wh-solid: #FFFFFF;
  --hdr-bg: rgba(255,255,255,0.97);
  --art-hdr-bg: linear-gradient(180deg, rgba(230,234,239,0.5) 0%, rgba(255,255,255,1) 100%);
  --art-hdr-meta-bdr: rgba(0,0,0,0.1);
  --hero-overlay: linear-gradient(135deg,rgba(11,17,32,.94) 0%,rgba(11,17,32,.75) 50%,rgba(11,17,32,.90) 100%);
  --quote-bg-overlay: linear-gradient(135deg, rgba(247,248,250,0.96) 0%, rgba(255,255,255,0.92) 100%);
  --hero-txt: #FFFFFF;
  /* Card/elevated surfaces */
  --card-bg: #FFFFFF;
  --card-bdr: #E2E8F0;
  /* Interactive element bg */
  --el-bg: #FFFFFF;
}

[data-theme='dark'] {
  --navy: #FFFFFF;
  --wh: #0B1120;
  --off: #151D2E;
  --txt: #E2E8F0;
  --mut: #94A3B8;
  --bdr: #1E293B;
  /* --navy-mid stays dark — used for dark hero sections */
  /* --navy-lt stays dark */
  --gold: #D4AF37;
  --gold-txt: #E5B744;
  --input-bg: #1E293B;
  --input-bdr: #334155;
  --input-txt: #FFFFFF;
  --paper: #0F172A;
  --paper-bdr: #334155;
  /* FIXED — these do NOT swap */
  /* --navy-solid stays #0B1120 */
  /* --wh-solid stays #FFFFFF */
  --hdr-bg: rgba(11,17,32,0.97);
  --art-hdr-bg: linear-gradient(180deg, rgba(15,23,42,0.8) 0%, #0B1120 100%);
  --art-hdr-meta-bdr: rgba(255,255,255,0.1);
  --hero-overlay: linear-gradient(135deg,rgba(11,17,32,.97) 0%,rgba(11,17,32,.88) 50%,rgba(11,17,32,.99) 100%);
  --quote-bg-overlay: linear-gradient(135deg, rgba(6,10,18,0.98) 0%, rgba(15,23,42,0.95) 100%);
  --hero-txt: #FFFFFF;
  /* Elevated surfaces in dark mode */
  --card-bg: #151D2E;
  --card-bdr: #1E293B;
  --el-bg: #1E293B;
  --sh: 0 4px 24px rgba(0,0,0,0.3);
  --shl: 0 12px 40px rgba(0,0,0,0.4);
}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html,body{overflow-x:hidden;width:100%;max-width:100%}
html{scroll-behavior:smooth}
body{font-family:var(--fb);color:var(--txt);background:var(--wh);line-height:1.7;-webkit-font-smoothing:antialiased}
body.no-scroll{overflow:hidden}
h1,h2,h3,h4{font-family:var(--fh);color:var(--navy);line-height:1.15;letter-spacing:-0.03em}
h1{font-size:clamp(1.5rem,5vw,4.2rem);font-weight:800;letter-spacing:-0.04em}
h2{font-size:clamp(1.35rem,4.5vw,2.8rem);font-weight:800;letter-spacing:-0.03em}
h3{font-size:clamp(1.05rem,3vw,1.6rem);font-weight:700}
p{line-height:1.75;color:var(--txt);font-size:clamp(0.88rem,2.5vw,1.05rem)}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{max-width:100%;display:block}

.ctr{max-width:1120px;margin:0 auto;padding:0 1.5rem}
.tc{text-align:center}
.pt-32{padding-top:clamp(4rem,15vw,8rem)}
.mb-12{margin-bottom:clamp(1.5rem,5vw,3rem)}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:clamp(.55rem,1.5vw,.8rem) clamp(1rem,3vw,1.6rem);border-radius:var(--r);font-weight:600;font-family:var(--fb);font-size:clamp(.82rem,2.2vw,.95rem);border:none;cursor:pointer;transition:all .25s}
.btn-gold{background:var(--gold);color:#0B1120 !important}
.btn-gold:hover{background:var(--gold-h);transform:translateY(-2px)}
.btn-out{background:transparent;color:var(--wh-solid);border:2px solid rgba(255,255,255,.4)}
.btn-out:hover{border-color:var(--wh-solid);background:rgba(255,255,255,.08)}
.btn-dk{background:var(--navy-solid);color:var(--wh-solid)}
.btn-dk:hover{background:var(--navy-mid);transform:translateY(-2px)}
.btn-lg{padding:1rem 2rem;font-size:1rem}

/* NAVIGATION BACKDROP OVERLAY & PREMIUM TOGGLER */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 32, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 998;
}
.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* HEADER */
.hdr{position:fixed;top:0;left:0;width:100%;z-index:1000;background:var(--hdr-bg);backdrop-filter:blur(12px);border-bottom:1px solid transparent;transition:all .3s}
.hdr.scrolled{border-color:var(--bdr);box-shadow:0 1px 8px rgba(0,0,0,.04)}
.hdr-in{display:flex;align-items:center;justify-content:space-between;height:68px}
.logo-g{display:flex;align-items:center;gap:.75rem}
.logo-n{font-family:var(--fh);font-weight:500;font-size:.78rem;color:var(--mut);letter-spacing:.4px;line-height:1.2}
.nav{display:flex;align-items:center;gap:2rem}
.nav a{font-weight:500;font-size:.9rem;color:var(--navy);transition:color .2s}
.nav a:hover, .nav a.active{color:var(--gold)}
.mob {
    display: none;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.15);
    color: var(--navy);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}
.mob:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: var(--gold);
    transform: scale(1.05);
}
/* PRELOADER */
.pre {
  position: fixed;
  inset: 0;
  background: var(--navy-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.pre.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.pre-in { text-align: center; }
.pre-l { width: 60px; height: 60px; border: 3px solid var(--gold); border-top-color: transparent; border-radius: 50%; margin: 0 auto 1.5rem; animation: spin 1s linear infinite; }
.pre-t { color: var(--gold); font-family: var(--fh); font-weight: 800; font-size: 1.5rem; letter-spacing: 2px; }

@keyframes spin { to { transform: rotate(360deg); } }

.theme-toggle{background:none;border:none;cursor:pointer;color:var(--navy);display:flex;align-items:center;transition:color .2s}
.theme-toggle:hover{color:var(--gold)}
.mob-theme{display:none}

/* Theme Icon Visibility */
.sun-icon { display: block; }
.moon-icon { display: none; }
[data-theme='dark'] .sun-icon { display: none; }
[data-theme='dark'] .moon-icon { display: block; }



/* HERO */
.hero{min-height:100vh;display:flex;align-items:center;position:relative;overflow:hidden;padding-top:clamp(2rem,5vw,4rem)}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-bg::after{content:'';position:absolute;inset:0;background:var(--hero-overlay)}
.hero-in{position:relative;z-index:2;max-width:680px;margin:0 auto;padding:0 1rem}
.hero h1{font-size:clamp(1.45rem,5vw,3.2rem);font-weight:800;line-height:1.18;letter-spacing:-0.5px;color:var(--hero-txt);margin-bottom:0.75rem}
.hero .hero-sub{font-size:clamp(0.85rem,2.8vw,1.1rem);margin-bottom:1.25rem;line-height:1.6}
.hero-btns{display:flex;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}
.hero-mic{color:rgba(255,255,255,.4);font-size:.82rem;letter-spacing:.3px}

/* SECTIONS */
.sec{padding:clamp(4rem,10vw,7rem) 0}
.sec-alt{background:var(--off)}
.sec-dk{background:var(--navy-solid);color:var(--wh-solid)}
.sec-dk h2,.sec-dk h3,.sec-dk h4{color:var(--wh-solid)}
.sec-dk .st{color:var(--wh-solid)}
.sec-dk .sl{color:rgba(255,255,255,.7)}
.sec-dk .tag{color:var(--gold)}
.sec-dk p{color:rgba(255,255,255,.75)}
.sec-nm{background:var(--navy-mid);color:var(--wh-solid)}
.sec-nm h2,.sec-nm h3,.sec-nm h4{color:var(--wh-solid)}
.sec-nm .st{color:var(--wh-solid)}
.sec-nm .sl{color:rgba(255,255,255,.7)}
.sec-nm .tag{color:var(--gold)}
.jbar .st{color:var(--wh-solid)}
.st{font-size:clamp(1.4rem,4.5vw,3.2rem);font-weight:800;margin-bottom:1.25rem;letter-spacing:-0.04em;color:var(--navy)}
.sl{color:var(--mut);font-size:clamp(0.88rem,2.5vw,1.15rem);max-width:680px;margin:0 auto clamp(2.5rem,5vw,4.5rem);line-height:1.7}
.tag{display:inline-block;font-size:0.75rem;font-weight:800;text-transform:uppercase;letter-spacing:0.2em;color:var(--gold-txt);margin-bottom:1.5rem}

/* TRUST */
.trust{padding:2.25rem 0;background:var(--wh);border-bottom:1px solid var(--bdr)}
.trust-r{display:flex;justify-content:center;flex-wrap:wrap;gap:2.5rem}
.trust-i{display:flex;align-items:center;gap:.5rem;font-weight:600;font-size:.88rem;color:var(--navy)}
.trust-i svg{color:var(--gold);flex-shrink:0;width:17px;height:17px}

/* JOURNEY */
.jbar{padding:4rem 0;background:var(--navy-solid)}
.jsteps{display:grid;grid-template-columns:repeat(3,1fr);position:relative}
.jstep{text-align:center;padding:2.5rem 2rem;position:relative}
.jstep:not(:last-child)::after{content:'→';position:absolute;right:-12px;top:50%;transform:translateY(-50%);color:var(--gold);font-size:1.5rem;font-weight:700;z-index:2}
.jn{width:48px;height:48px;border-radius:50%;border:2px solid var(--gold);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-family:var(--fh);font-size:1.2rem;font-weight:700;color:var(--gold);background:rgba(201,168,76,.08)}
.jstep h3{font-size:1.15rem;margin-bottom:.35rem;color:var(--wh-solid)}
.jstep p{color:rgba(255,255,255,.7);font-size:.88rem}

/* SPLIT */
.spl{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.spl h2{text-align:left}
.spl-img{border-radius:var(--rl);overflow:hidden;aspect-ratio:4/3}
.spl-img img{width:100%;height:100%;object-fit:cover}
.spl-tag{color:var(--gold-txt);font-weight:600;font-size:1.02rem;margin-bottom:1.5rem;line-height:1.6}
.ck{display:flex;flex-direction:column;gap:1rem}
.ck li{display:flex;align-items:flex-start;gap:1rem;font-size:1.05rem;line-height:1.6;font-weight:500}
.ck svg{color:var(--gold);flex-shrink:0;width:22px;height:22px;margin-top:2px}

/* SERVICE CARDS */
.sg{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}
.sc{background:var(--card-bg);border:1px solid var(--card-bdr);border-radius:var(--rl);padding:2.5rem 2rem;transition:all .3s cubic-bezier(0.4, 0, 0.2, 1);box-shadow: 0 4px 12px rgba(0,0,0,0.02)}
.sc:hover{transform:translateY(-8px);box-shadow:var(--shl);border-color:var(--gold)}
.sc svg{color:var(--gold);margin-bottom:1.25rem;width:28px;height:28px}
.sc h3{font-size:1.15rem;margin-bottom:.5rem;letter-spacing:-0.02em;color:var(--navy)}
.sc p{color:var(--mut);font-size:.9rem;line-height:1.6}

/* DARK GRID */
.dg{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:2.5rem}
.dc{text-align:center;padding:1.25rem}
.dc h4{font-size:1.05rem;margin-bottom:.3rem}
.dc p{color:rgba(255,255,255,.6);font-size:.88rem}

/* ADD-ON CARDS */
.ag{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-top:2.5rem}
.ac{background:var(--card-bg);border:1px solid var(--card-bdr);border-radius:var(--rl);padding:2rem;transition:transform .25s,box-shadow .25s}
.ac:hover{transform:translateY(-4px);box-shadow:var(--shl)}
.ac svg{color:var(--gold);margin-bottom:.75rem}
.ac h3{font-size:1.15rem;margin-bottom:.5rem}
.ac p{color:var(--mut);font-size:.9rem;line-height:1.6}

/* TRANSFORMATION POWER SECTION */
.tf-sec{background:var(--navy-solid);position:relative;overflow:hidden}
.tf-sec::before{content:'';position:absolute;top:0;left:0;width:5px;height:100%;background:linear-gradient(180deg,var(--gold) 0%,rgba(201,168,76,.3) 100%)}
.tf-sec::after{content:'';position:absolute;top:0;right:0;width:40%;height:100%;background:radial-gradient(circle at 80% 50%,rgba(201,168,76,.06) 0%,transparent 50%);pointer-events:none}
.tf-intro{max-width:680px;margin:0 auto 3rem;text-align:center}
.tf-sec .st{color:var(--wh-solid)}
.tf-sec .tag{color:var(--gold)}
.tf-intro p{color:rgba(255,255,255,.65);font-size:1rem;line-height:1.7;margin-top:.75rem}
.tf-pills{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-top:1.5rem}
.tf-pill{background:rgba(201,168,76,.1);border:1px solid rgba(201,168,76,.2);padding:.5rem 1.25rem;border-radius:50px;font-size:.82rem;font-weight:600;color:var(--gold)}
.tf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.25rem;position:relative;z-index:1;margin-bottom:2.5rem}
.tf-item{display:flex;align-items:center;gap:.75rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:var(--r);padding:1.1rem 1.25rem;font-size:.92rem;color:rgba(255,255,255,.85);transition:background .2s}
.tf-item:hover{background:rgba(255,255,255,.08)}
.tf-item svg{color:var(--gold);flex-shrink:0}
.tf-note{text-align:center;color:rgba(255,255,255,.5);font-size:.88rem;font-style:italic;max-width:640px;margin:0 auto;padding:1.5rem 2rem;border:1px solid rgba(201,168,76,.15);border-radius:var(--r);background:rgba(201,168,76,.04)}

/* ASSESSMENT SECTION */
.assess{background:var(--off)}
.assess-card{background:var(--card-bg);border:1px solid var(--card-bdr);border-radius:var(--rl);padding:3rem;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.assess-fee{font-family:var(--fh);font-size:2.5rem;font-weight:700;color:var(--gold);margin:1rem 0}
.assess-just{display:flex;flex-direction:column;gap:.6rem;margin-top:1.5rem}
.assess-just li{display:flex;align-items:flex-start;gap:.6rem;font-size:.92rem;color:var(--txt)}
.assess-just svg{color:var(--gold);flex-shrink:0;width:16px;height:16px;margin-top:3px}
.assess-credit{margin-top:1.5rem;padding:1rem 1.25rem;background:var(--gold-s);border-radius:var(--r);font-size:.88rem;font-weight:600;color:var(--navy)}

/* PRICING */
.pg{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem}
.pc{background:var(--card-bg);border:1px solid var(--card-bdr);border-radius:var(--rl);padding:2.5rem 2rem;text-align:center;position:relative;transition:transform .25s}
.pc:hover{transform:translateY(-4px)}
.pc.feat{border-color:var(--gold);box-shadow:0 8px 30px rgba(201,168,76,.12)}
.pcb{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--gold);color:var(--navy);padding:.2rem 1rem;border-radius:20px;font-size:.78rem;font-weight:700}
.pc h3{font-size:1.25rem;margin-bottom:.2rem}
.pcd{color:var(--mut);font-size:.85rem;margin-bottom:1rem}
.pca{font-family:var(--fh);font-size:1.75rem;font-weight:700;color:var(--navy);margin-bottom:.4rem}
.pct{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:var(--gold);margin-bottom:1.5rem}
.pc .btn{width:100%}
.pnote{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:2rem;color:var(--mut);font-size:.85rem}

/* SERVICE LEVELS */
.lg{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2.5rem}
.lc{background:var(--navy-lt);border-radius:var(--rl);padding:2.5rem 2rem;position:relative;border:1px solid rgba(255,255,255,.08);transition:transform .25s}
.lc:hover{transform:translateY(-4px)}
.lc h3{font-size:1.3rem;margin-bottom:1rem;color:var(--wh-solid)}
.lc.pop{background:var(--wh-solid)}
.lc.pop h3{color:var(--navy-solid)}
.lc.pop li{color:var(--navy-solid)}
.lc.prem{border-color:rgba(201,168,76,.4)}
.lbg{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--gold);color:var(--navy-solid);padding:.2rem 1rem;border-radius:20px;font-size:.78rem;font-weight:700}
.ptg{color:var(--gold);font-weight:700;text-transform:uppercase;font-size:.78rem;letter-spacing:1.5px;margin-bottom:1rem}
.ll{display:flex;flex-direction:column;gap:.65rem}
.ll li{padding-left:1.5rem;position:relative;color:rgba(255,255,255,.75);font-size:.92rem}
.ll li::before{content:'✓';position:absolute;left:0;color:var(--gold);font-weight:700}

/* FEATURE SECTIONS */
.feat-sec{padding:5.5rem 0}
.feat-content{max-width:720px;margin:0 auto}
.feat-content .st{margin-bottom:1rem}
.feat-content>p{color:var(--mut);font-size:1rem;line-height:1.7;margin-bottom:2rem}
.feat-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:2rem}
.feat-list li{display:flex;align-items:flex-start;gap:.75rem;font-size:.98rem;line-height:1.5}
.feat-list svg{color:var(--gold);flex-shrink:0;width:18px;height:18px;margin-top:3px}
.feat-close{font-weight:700;color:var(--navy);font-size:1.05rem;font-family:var(--fh)}
.sec-dk .feat-content>p{color:rgba(255,255,255,.7)}
.sec-dk .feat-list li{color:rgba(255,255,255,.8)}
.sec-dk .feat-close{color:var(--gold)}

/* TOOLS */
.tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;margin-top:2.5rem}
.tool-card{background:var(--card-bg);border:1px solid var(--card-bdr);border-radius:var(--rl);padding:2rem;text-align:center;transition:transform .25s,box-shadow .25s}
.tool-card:hover{transform:translateY(-4px);box-shadow:var(--shl)}
.tool-card svg{color:var(--gold);margin-bottom:1rem}
.tool-card h3{font-size:1.1rem;margin-bottom:.5rem}
.tool-card p{color:var(--mut);font-size:.88rem;line-height:1.5}
.tool-badge{display:inline-block;margin-top:.75rem;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:var(--gold);background:var(--gold-s);padding:.3rem .8rem;border-radius:20px}

/* BLOG GRID */
.blog-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-bottom:3rem}
.filter-btn{background:var(--off);border:1px solid var(--bdr);padding:0.6rem 1.25rem;border-radius:30px;font-family:var(--fb);font-weight:600;font-size:0.85rem;color:var(--txt);cursor:pointer;transition:all .25s}
.filter-btn:hover{border-color:var(--gold);color:var(--gold-txt)}
.filter-btn.active{background:var(--gold);color:#0B1120 !important;border-color:var(--gold)}

.blog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem}
.blog-card{background:var(--card-bg);border:1px solid var(--card-bdr);border-radius:var(--rl);overflow:hidden;display:flex;flex-direction:column;transition:all .3s ease;height:100%}
.blog-card:hover{transform:translateY(-8px);box-shadow:var(--shl);border-color:var(--gold)}
.blog-card-img{height:220px;overflow:hidden;background:var(--off)}
.blog-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.blog-card:hover .blog-card-img img{transform:scale(1.05)}
.blog-card-body{padding:2rem;flex:1;display:flex;flex-direction:column}
.blog-card-cat{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:1.5px;color:var(--gold);margin-bottom:.75rem}
.blog-card h3{font-size:1.35rem;margin-bottom:1rem;color:var(--navy);line-height:1.25;flex:1}
.blog-card-meta{display:flex;align-items:center;gap:.75rem;font-size:.82rem;color:var(--mut);font-weight:500}

/* ARTICLE DETAIL */
.art{padding-bottom:6rem}
.art-hdr{position:relative;height:65vh;min-height:450px;display:flex;align-items:flex-end;padding-bottom:5rem;overflow:hidden;margin-bottom:4rem}
.art-bg{position:absolute;inset:0;z-index:0}
.art-bg img{width:100%;height:100%;object-fit:cover}
.art-bg::after{content:'';position:absolute;inset:0;background:linear-gradient(to top, var(--wh) 0%, rgba(11,17,32,0.6) 100%);z-index:1}
.art-hdr-in{position:relative;z-index:2;width:100%}
.art-back{display:inline-block;color:var(--wh-solid);background:rgba(0,0,0,0.3);padding:0.5rem 1rem;border-radius:20px;backdrop-filter:blur(4px);font-size:0.85rem;font-weight:600;margin-bottom:2rem;transition:all .2s}
.art-back:hover{background:var(--gold);color:var(--navy-solid)}
.art-hdr h1{font-size:3.5rem;color:var(--navy);margin-top:1rem;max-width:900px}
.art-meta{display:flex;align-items:center;gap:1.5rem;margin-top:1.5rem;color:var(--mut);font-weight:600}

.art-body{display:grid;grid-template-columns:1fr 340px;gap:4rem;align-items:flex-start}
.art-content{font-size:1.15rem;line-height:1.8;color:var(--txt)}
.art-content p{margin-bottom:2rem}
.art-content h2,.art-content h3{margin:3rem 0 1.5rem;color:var(--navy)}
.art-content ul{margin-bottom:2rem;display:flex;flex-direction:column;gap:1rem}
.art-content li{position:relative;padding-left:1.5rem}
.art-content li::before{content:'';position:absolute;left:0;top:0.75rem;width:8px;height:2px;background:var(--gold)}

.art-cta{background:var(--navy-solid);color:var(--wh-solid);padding:2.25rem 1.5rem;border-radius:24px;position:sticky;top:100px;text-align:center;box-shadow:0 30px 60px rgba(10,37,64,0.25);overflow:hidden;border:1px solid rgba(201,168,76,0.15)}
.art-cta h3{color:var(--wh-solid);font-size:1.4rem;margin-bottom:.75rem;font-family:var(--fh);letter-spacing:-0.01em}
.art-cta p{color:rgba(255,255,255,0.7);margin-bottom:1.5rem;font-size:0.92rem;line-height:1.5}
.art-cta-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;background:rgba(201,168,76,0.1);border-radius:50%;color:var(--gold);margin-bottom:1rem;border:1px solid rgba(201,168,76,0.2)}
.art-cta-footer{font-size:0.8rem;color:rgba(255,255,255,0.4);line-height:1.5;margin-top:1.5rem}
.art-cta-footer a{color:var(--wh-solid);text-decoration:underline;font-weight:600}

@media(max-width: 1000px) {
  .art-body{grid-template-columns:1fr;gap:3rem}
  .art-hdr{height:auto;padding-top:120px;align-items:center}
  .art-hdr h1{font-size:2.5rem}
  .art-cta{position:static;max-width:500px;margin:2rem auto 0}
}

/* PROCESS */
.steps{display:flex;align-items:center;justify-content:center;margin-top:3rem;flex-wrap:wrap}
.step{text-align:center;flex:1;min-width:130px}
.sn{width:52px;height:52px;border-radius:50%;border:2px solid var(--gold);display:flex;align-items:center;justify-content:center;margin:0 auto .75rem;font-family:var(--fh);font-size:1.2rem;font-weight:700;color:var(--gold);background:rgba(201,168,76,.08)}
.step h4{font-size:.9rem;color:var(--wh-solid)}
.sln{flex:1;height:2px;background:rgba(255,255,255,.12);min-width:30px}

/* QUOTE PAGE REDESIGN */
.q-page{background:var(--off);padding-bottom:6rem}
.q-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:5rem;align-items:flex-start}
.q-sticky{position:sticky;top:100px}
.q-context .st{font-size:2.8rem;margin-bottom:1rem;line-height:1.1}
.sl-text{font-size:1.1rem;color:var(--mut);margin-bottom:2.5rem;line-height:1.6}

.q-steps{margin-bottom:2.5rem}
.q-steps h3{font-size:1.1rem;margin-bottom:1.25rem;color:var(--navy)}
.q-step-i{display:flex;align-items:center;gap:.75rem;margin-bottom:.85rem;font-weight:500;font-size:.95rem;color:var(--txt)}
.q-step-i svg{color:var(--gold)}

.q-why{margin-bottom:2.5rem;padding:1.5rem;background:var(--wh);border-radius:var(--r);border-left:4px solid var(--gold);box-shadow:var(--sh)}
.q-why h3{font-size:1rem;margin-bottom:.5rem}
.q-why p{font-size:.9rem;color:var(--mut);line-height:1.6}

.q-assess-box{background:var(--navy-solid);color:var(--wh-solid);padding:2rem;border-radius:var(--rl);box-shadow:var(--shl)}
.q-assess-hdr{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}
.q-assess-hdr h3{color:var(--wh-solid);font-size:1.1rem}
.q-assess-hdr svg{color:var(--gold)}
.q-assess-box p{color:rgba(255,255,255,.7);font-size:.9rem;line-height:1.6;margin-bottom:1.25rem}
.q-assess-list{margin-bottom:2rem}
.q-assess-list li{position:relative;padding-left:1.25rem;font-size:.88rem;color:rgba(255,255,255,.8);margin-bottom:.5rem}
.q-assess-list li::before{content:'•';position:absolute;left:0;color:var(--gold)}

.q-fee-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);padding:1.5rem;border-radius:var(--r);text-align:center}
.q-fee-label{font-size:.75rem;text-transform:uppercase;letter-spacing:1px;color:var(--gold);margin-bottom:.5rem;font-weight:700}
.q-fee-val{font-size:2.2rem;font-family:var(--fh);font-weight:800;margin-bottom:1rem}
.q-fee-benefits{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.25rem}
.q-fee-benefits span{font-size:.8rem;color:rgba(255,255,255,.6)}
.q-fee-note{font-size:.85rem;font-weight:600;color:var(--gold) !important;margin-bottom:0 !important}

/* FORM WRAP */
.q-form-wrap{background:var(--wh);border-radius:var(--rl);box-shadow:var(--shl);border:1px solid var(--bdr);overflow:hidden}
.q-form{padding:3rem}
.q-section{margin-bottom:3rem}
.q-section:last-of-type{margin-bottom:2rem}
.q-section-hdr{display:flex;align-items:center;gap:.75rem;padding-bottom:1rem;border-bottom:1px solid var(--off);margin-bottom:1.5rem}
.q-section-hdr h4{font-size:1.05rem;font-weight:700;color:var(--navy)}
.q-section-hdr svg{color:var(--gold)}
.q-section-body .ftr-brand-col p{white-space:nowrap;font-size:0.85rem;margin-bottom:1rem}
.q-section-body .fr{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.q-section-body label{display:block;font-size:.82rem;font-weight:600;color:var(--navy);margin-bottom:.4rem}
.q-section-body input,.q-section-body select,.q-section-body textarea{width:100%;padding:.75rem 1rem;border:1px solid var(--input-bdr);border-radius:var(--r);font-family:var(--fb);font-size:.92rem;background:var(--input-bg);color:var(--input-txt);transition:all .2s;box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);}
.q-section-body input::placeholder { color: var(--mut); opacity: 0.7; }
.q-section-body input:focus,.q-section-body select:focus,.q-section-body textarea:focus{outline:none;border-color:var(--gold);background:var(--input-bg);box-shadow:0 0 0 4px var(--gold-s), inset 0 1px 2px rgba(0,0,0,0.01);}
.q-section-body textarea{height:100px;resize:none}

.q-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.q-check-label{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:var(--off);border:1px solid var(--bdr);border-radius:var(--r);cursor:pointer;transition:all .2s;font-size:.85rem;font-weight:500}
.q-check-label:hover{background:var(--gold-s);border-color:var(--gold)}
.q-check-label.active{background:var(--gold);color:var(--navy-solid);border-color:var(--gold)}
.q-check-label input{width:16px;height:16px;accent-color:var(--gold)}

.q-section-gold{background:var(--gold-s);padding:1.5rem;border-radius:var(--r);border:1px solid rgba(201,168,76,.2)}
.q-section-gold .q-section-hdr{border-color:rgba(201,168,76,.1)}

.q-submit-wrap{text-align:center;margin-top:2rem;padding-top:2rem;border-top:1px solid var(--off)}
.q-btn{width:100%;padding:1.1rem;font-size:1.1rem}
.q-submit-mic{margin-top:1rem;font-size:.85rem;color:var(--mut);line-height:1.5}

@media(max-width:1100px){
  .q-grid{grid-template-columns:1fr;gap:3rem}
  .q-sticky{position:static}
}

/* DOSSIER & PREMIUM FORMS */
.dossier-card {
  background: var(--paper);
  border: 1px solid var(--paper-bdr);
  border-radius: 8px;
  box-shadow: var(--paper-shadow);
  position: relative;
  padding: 5rem 4rem;
  transition: all 0.3s ease;
  background-image: 
    linear-gradient(var(--paper-bdr) 1px, transparent 1px);
  background-size: 100% 3.2rem;
  background-position: 0 1rem;
}
.dossier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  bottom: 0;
  width: 1px;
  background: rgba(201,168,76,0.2);
  z-index: 1;
}
.dossier-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(225deg, var(--card-bg) 45%, var(--paper-bdr) 50%, var(--paper-bdr) 56%, var(--paper) 80%);
  border-bottom-left-radius: 8px;
  box-shadow: -4px 4px 10px rgba(0,0,0,0.03);
}
.q-nav .btn { padding: 0.85rem 1.5rem; }

.prog-bar {
  height: 4px;
  background: var(--bdr);
  border-radius: 2px;
  margin-bottom: 3rem;
  overflow: hidden;
}
.prog-fill {
  height: 100%;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.q-folder-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: -1px;
  overflow-x: auto;
  scrollbar-width: none;
}
.q-folder-tabs::-webkit-scrollbar { display: none; }
.q-folder-tab {
  padding: 0.75rem 1.25rem;
  background: var(--off);
  border: 1px solid var(--bdr);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mut);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.q-folder-tab.active {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--paper-bdr);
  padding-top: 0.6rem;
  margin-top: -0.15rem;
}

/* UPLOAD UI */
.up-zone {
  border: 2px dashed var(--paper-bdr);
  border-radius: var(--r);
  padding: 4rem 3rem;
  text-align: center;
  background: var(--card-bg);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.up-zone:hover {
  border-color: var(--gold);
  background: var(--gold-s);
  transform: scale(0.99);
}
.up-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.up-prev {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--bdr);
}
.up-prev img { width: 100%; height: 100%; object-fit: cover; }
.up-del {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 10px;
}

/* TOOLS STANDALONE APP UI */
.tools-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.nav-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--bdr);
  border-radius: 30px;
  color: var(--mut);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-tab.active {
  background: var(--navy-solid);
  color: var(--wh-solid);
  border-color: var(--navy-solid);
  box-shadow: var(--sh);
}
.nav-tab:hover:not(.active) { border-color: var(--gold); color: var(--gold); }

.tool-app-card {
  background: var(--card-bg);
  border-radius: var(--rl);
  border: 1px solid var(--bdr);
  box-shadow: var(--app-sh);
  overflow: hidden;
  border-top: 6px solid var(--gold);
  position: relative;
}
.tool-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 3.5rem;
  background: var(--card-bg);
  border-bottom: 1px solid var(--off);
}
.tool-reset-btn {
  background: transparent;
  border: 1px solid var(--bdr);
  color: var(--mut);
  padding: .6rem 1.2rem;
  border-radius: 30px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: all 0.2s;
}
.tool-reset-btn:hover {
  background: rgba(239,68,68,0.06);
  border-color: rgba(239,68,68,0.3);
  color: #ef4444;
}
.tool-app-title-grp { display: flex; align-items: center; gap: 1.25rem; }
.tool-app-icon {
  width: 48px;
  height: 48px;
  background: var(--card-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  box-shadow: var(--sh);
}
.tool-app-header h3 { font-size: 1.4rem; margin-bottom: 0.1rem; }
.tool-app-sub { font-size: 0.85rem; color: var(--mut); }
.tool-app-body { padding: 3rem; min-height: 400px; }
.tool-app-footer {
  padding: 1rem 3rem;
  background: var(--off);
  border-top: 1px solid var(--bdr);
  font-size: 0.8rem;
  color: var(--mut);
}
.tool-app-footer p { display: flex; align-items: center; gap: 0.5rem; }

/* ESTIMATOR APP */
.estimator-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
.est-cat { margin-bottom: 2rem; }
.est-cat-hdr { font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.est-cat-rows { display: flex; flex-direction: column; gap: 0.75rem; }
.est-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; background: var(--off); border-radius: var(--r); }
.est-row span { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.qty-ctrl { display: flex; align-items: center; gap: 1rem; }
.qty-ctrl button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bdr); background: var(--el-bg); cursor: pointer; font-weight: 700; color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: background 0.2s; }
.qty-ctrl button:hover { border-color: var(--gold); color: var(--gold); }
.qty-val { font-weight: 800; width: 20px; text-align: center; }

.est-res-box { background: var(--navy-solid); color: var(--wh-solid); padding: 3rem; border-radius: var(--r); text-align: center; position: sticky; top: 120px; }
.est-res-tag { font-size: 0.7rem; letter-spacing: 2px; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; font-weight: 800; }
.est-res-val { font-size: 4.5rem; font-family: var(--fh); font-weight: 800; color: var(--gold); margin-bottom: 2rem; line-height: 1; }
.est-pkg { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; margin-bottom: 2rem; }
.pkg-tag { font-size: 0.7rem; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.est-pkg h4 { color: var(--wh-solid); font-size: 1.2rem; margin-bottom: 0.5rem; }
.pkg-price { font-weight: 800; color: var(--gold); font-size: 1.1rem; }
.est-note { font-size: 0.75rem; color: rgba(255,255,255,0.4); line-height: 1.5; }

/* PLANNER APP V2 */
.planner-app-v2 { display: flex; flex-direction: column; gap: 3rem; }
.planner-progress-card { background: var(--navy-solid); color: var(--wh-solid); padding: 2.5rem; border-radius: var(--r); box-shadow: var(--sh); }
.pp-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.pp-info h4 { color: var(--wh-solid); font-size: 1.2rem; margin-bottom: 0.25rem; }
.pp-info p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.pp-val { font-size: 2.5rem; font-family: var(--fh); font-weight: 800; color: var(--gold); }
.pp-bar { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.pp-fill { height: 100%; background: var(--gold); transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); }

.planner-cats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.planner-cat-box { background: var(--off); border-radius: var(--r); padding: 1.5rem; border: 1px solid var(--bdr); }
.pcb-hdr { font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 1.5rem; border-bottom: 1px solid var(--bdr); padding-bottom: 0.75rem; }
.pcb-list { display: flex; flex-direction: column; gap: 0.75rem; }
.pcb-item { display: flex; gap: 1rem; padding: 1rem; background: var(--card-bg); border: 1px solid var(--card-bdr); border-radius: var(--r); cursor: pointer; transition: all 0.2s; }
.pcb-item:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.pcb-item.done { opacity: 0.6; }
.pcb-item.done .pcb-text strong { text-decoration: line-through; color: var(--mut); }
.pcb-check { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.pcb-circle { width: 18px; height: 18px; border: 2px solid var(--bdr); border-radius: 50%; }
.pcb-text strong { display: block; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.2rem; }
.pcb-text p { font-size: 0.8rem; color: var(--mut); line-height: 1.4; }

/* ENHANCED PRIORITY APP */
.priority-app-v2 { display: flex; flex-direction: column; gap: 2rem; }
.pri-intro-box { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--gold-s); border-radius: var(--r); color: var(--navy); font-size: 0.9rem; font-weight: 500; }
.pri-intro-box svg { color: var(--gold); flex-shrink: 0; }
.pri-list-v2 { display: flex; flex-direction: column; gap: 1rem; }
.pri-card { background: var(--card-bg); border: 1px solid var(--card-bdr); border-radius: var(--r); padding: 1.25rem 1.5rem; transition: all 0.2s; }
.pri-card-main { display: flex; align-items: center; gap: 1.5rem; }
.pri-rank { width: 40px; height: 40px; background: var(--off); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--gold); font-family: var(--fh); font-size: 1.2rem; }
.pri-details { flex: 1; }
.pri-title { font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.pri-note-input { width: 100%; border: none; background: transparent; border-bottom: 1px solid var(--off); font-size: 0.85rem; color: var(--mut); padding: 0.25rem 0; outline: none; }
.pri-note-input:focus { border-color: var(--gold); }
.pri-actions { display: flex; gap: 0.5rem; }
.pri-actions button { width: 32px; height: 32px; border: 1px solid var(--bdr); border-radius: 6px; background: var(--el-bg); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.pri-actions button:disabled { opacity: 0.3; }

/* BUDGET APP */
.budget-app { display: flex; flex-direction: column; gap: 2rem; }
.budget-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
.budget-inputs { display: flex; flex-direction: column; gap: 1rem; }
.budget-row { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem; background: var(--off); border-radius: var(--r); }
.budget-row label { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.budget-field { display: flex; align-items: center; gap: 0.5rem; background: var(--el-bg); padding: 0.5rem 1rem; border-radius: 8px; border: 1px solid var(--bdr); }
.budget-field span { font-weight: 700; color: var(--gold); }
.budget-field input { border: none; font-weight: 800; font-size: 1.1rem; width: 100px; outline: none; background: transparent; color: var(--navy); }
.bs-card { background: var(--navy-solid); color: var(--wh-solid); padding: 3rem 2rem; border-radius: var(--r); text-align: center; }
.bs-card p { font-size: 0.75rem; letter-spacing: 1.5px; color: rgba(255,255,255,0.5); margin-bottom: 1rem; font-weight: 700; }
.bs-card h3 { font-size: 2.5rem; color: var(--gold); font-family: var(--fh); font-weight: 800; margin-bottom: 2rem; }
.bs-note { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem; background: rgba(255,255,255,0.05); border-radius: 8px; font-size: 0.8rem; text-align: left; color: rgba(255,255,255,0.6); }
.bs-note svg { color: var(--gold); flex-shrink: 0; }

/* INVENTORY APP */
.inventory-app { display: flex; flex-direction: column; gap: 1rem; }
.inv-table-hdr { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 2fr 40px; gap: 1rem; padding: 0 1rem; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--mut); letter-spacing: 1px; }
.inv-list { display: flex; flex-direction: column; gap: 0.75rem; }
.inv-row { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 2fr 40px; gap: 1rem; align-items: center; padding: 0.75rem 1rem; background: var(--off); border-radius: var(--r); }
.inv-row input, .inv-row select { width: 100%; border: 1px solid var(--bdr); padding: 0.5rem 0.75rem; border-radius: 6px; font-size: 0.9rem; font-weight: 600; background: var(--el-bg); color: var(--navy); outline: none; }
.inv-row input:focus, .inv-row select:focus { border-color: var(--gold); }
.inv-del { width: 32px; height: 32px; border: none; background: #fee2e2; color: #ef4444; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: 700; }
/* INVENTORY ENHANCEMENTS */
.inv-summary-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.inv-stat { background: var(--navy-solid); color: var(--wh-solid); padding: 1.25rem; border-radius: var(--r); display: flex; flex-direction: column; gap: 0.25rem; }
.inv-stat-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.inv-stat-val { font-size: 1.25rem; font-weight: 800; color: var(--gold); font-family: var(--fh); }

.inv-suggestions { margin-bottom: 2rem; padding: 1.25rem; background: var(--off); border-radius: var(--r); border: 1px dashed var(--bdr); }
.inv-suggestions p { font-size: 0.8rem; font-weight: 700; color: var(--mut); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.suggestion-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sug-chip { padding: 0.5rem 1rem; background: var(--el-bg); border: 1px solid var(--bdr); border-radius: 30px; font-size: 0.8rem; font-weight: 600; color: var(--navy); cursor: pointer; transition: all 0.2s; }
.sug-chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }

/* BLOG ENHANCEMENTS */
.featured-blog:hover {
  transform: translateY(-8px);
  box-shadow: var(--shl);
}
.featured-blog img {
  transition: transform 0.6s ease;
}
.featured-blog:hover img {
  transform: scale(1.05);
}

.blog-cat {
  font-family: var(--fb);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.blog-cat:hover:not(.active) {
  color: var(--gold) !important;
}

.blog-card:hover img {
  transform: scale(1.1);
}
.blog-card img {
  transition: transform 0.5s ease;
}

@media (max-width: 900px) {
  .featured-blog {
    grid-template-columns: 1fr !important;
  }
  .featured-blog div:first-child {
    height: 250px !important;
  }
}

.inv-add-btn { width: fit-content; margin: 1rem auto 0; padding: 0.75rem 1.5rem; background: var(--el-bg); border: 1px dashed var(--bdr); border-radius: 30px; color: var(--gold); font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; }
.inv-add-btn:hover { background: var(--gold-s); border-color: var(--gold); }

/* CALENDAR APP */
.cal-input-row { margin-bottom: 3rem; display: flex; align-items: center; gap: 1.5rem; }
.cal-input-row label { font-weight: 800; color: var(--navy); }
.cal-input-row input { padding: 0.8rem 1rem; border: 1px solid var(--bdr); border-radius: var(--r); background: var(--input-bg); color: var(--input-txt); }
.cal-timeline { display: flex; flex-direction: column; gap: 2.5rem; position: relative; }
.cal-timeline::before { content: ''; position: absolute; left: 60px; top: 0; bottom: 0; width: 2px; background: var(--off); }
.cal-milestone { display: flex; align-items: center; gap: 3rem; position: relative; }
.cal-date { width: 60px; font-weight: 800; color: var(--mut); font-size: 0.85rem; }
.cal-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bdr); border: 3px solid var(--card-bg); z-index: 1; }
.cal-milestone:nth-child(4) .cal-dot { background: var(--gold); transform: scale(1.5); }
.cal-info strong { display: block; font-size: 1.1rem; color: var(--navy); margin-bottom: 0.2rem; }
.cal-info p { font-size: 0.85rem; color: var(--mut); }

/* PRIORITY APP */
.priority-app { max-width: 600px; margin: 0 auto; }
.pri-row { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem 2rem; background: var(--off); border-radius: var(--r); margin-bottom: 0.75rem; }
.pri-num { font-size: 1.5rem; font-weight: 800; color: var(--gold); width: 40px; }
.pri-txt { flex: 1; font-weight: 700; color: var(--navy); }
.pri-btns { display: flex; gap: 0.5rem; }
.pri-btns button { width: 32px; height: 32px; border: 1px solid var(--bdr); border-radius: 6px; background: var(--el-bg); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.pri-btns button:disabled { opacity: 0.3; }

/* MOBILE ADJUSTMENTS */
@media(max-width: 900px) {
  .tool-app-header { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem 1rem; }
  .tool-app-body { padding: 1.25rem 1rem; }
  .saas-content-area { padding: 1rem !important; }
  .saas-topbar { padding: 1.25rem 1rem !important; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .estimator-grid { grid-template-columns: 1fr !important; }
  .est-res-box { position: static; margin-top: 2rem; }
  .planner-app { grid-template-columns: 1fr !important; }
  .planner-cats-grid { grid-template-columns: 1fr !important; gap: 1rem; }
  .cal-timeline::before { left: 50px; }
  .cal-milestone { gap: 1.5rem; }
  .cal-date { width: 50px; }
}

/* CTA */
.cta{background:var(--gold);padding:4.5rem 0}
.cta h2{color:var(--navy)}
.cta-sub{color:var(--navy-mid);font-weight:600;margin-bottom:2rem;font-size:1.02rem}
.cta-btns{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}

/* FOOTER */
.ftr{background:var(--navy-solid);color:var(--wh-solid);padding:4.5rem 0 2rem}
.ftr-g{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:3rem}
.ftr-b{font-family:var(--fh);font-size:1.2rem;font-weight:700;margin-bottom:.75rem}
.ftr p,.ftr li{color:rgba(255,255,255,.55);font-size:.88rem}
.ftr h4{font-size:.92rem;margin-bottom:.75rem;color:rgba(255,255,255,.85)}
.ftr ul{display:flex;flex-direction:column;gap:.45rem}
.ftr li{display:flex;align-items:center;gap:.45rem}
.ftr li a{color:rgba(255,255,255,.55);transition:color .2s}
.ftr li a:hover{color:var(--gold)}
.ftr-bar{border-top:1px solid rgba(255,255,255,.07);padding-top:1.5rem;text-align:center}
.ftr-bar p{font-size:.78rem}

/* WA */
.wa{position:fixed;bottom:1.5rem;right:1.5rem;z-index:99;width:56px;height:56px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;color:#FFFFFF !important;box-shadow:0 4px 14px rgba(37,211,102,.35);transition:transform .25s}
.wa svg { stroke: #FFFFFF !important; }
.wa:hover{transform:scale(1.1)}

/* RESPONSIVE */
@media(max-width:992px){
  .hdr-in{padding:0 1.5rem !important;height:72px !important}
  .nav{position:fixed;top:0;right:0;width:82%;max-width:320px;height:100vh;background:linear-gradient(160deg,#0B1120 0%,#131d35 60%,#0f1729 100%);flex-direction:column;align-items:flex-start;padding:5rem 2rem 2rem;box-shadow:-12px 0 40px rgba(0,0,0,0.35);transform:translateX(100%);opacity:0;transition:transform .4s cubic-bezier(0.16,1,0.3,1), opacity .4s ease;pointer-events:none;z-index:999;overflow-y:auto;gap:0.25rem;border-left:1px solid rgba(201,168,76,0.15)}
  .nav.open{transform:translateX(0);opacity:1;pointer-events:auto}
  .nav a{display:flex;align-items:center;width:100%;padding:0.9rem 0.75rem;font-size:0.92rem;font-weight:500;color:rgba(255,255,255,0.8);text-decoration:none;transition:all .25s;border-radius:8px;letter-spacing:0.3px}
  .nav a:hover,.nav a.active{color:var(--gold);background:rgba(201,168,76,0.08)}
  .nav a.btn{margin-top:0.75rem;justify-content:center;font-weight:700;font-size:0.88rem;padding:0.7rem 1.2rem}
  .nav .theme-toggle{display:none}
  .mob-theme{display:flex !important}
  .mob{display:flex !important;align-items:center;justify-content:center}
  .ctr{padding:0 1.25rem}
  .spl,.qspl{grid-template-columns:1fr;gap:1.5rem}
  .spl-img{max-height:280px}
  .jsteps{grid-template-columns:1fr}
  .jstep{padding:1.5rem 1rem}
  .jstep:not(:last-child)::after{content:'↓';right:auto;left:50%;top:auto;bottom:-12px;transform:translateX(-50%)}
  .lg{grid-template-columns:1fr}
  .lc.pop{order:-1}
  .dg{grid-template-columns:repeat(2,1fr)}
  .ftr-g{grid-template-columns:1fr 1fr;gap:1.5rem}
  .assess-card{grid-template-columns:1fr;padding:1.5rem}
  .assess-fee{font-size:2rem}
  .tag{font-size:0.68rem;margin-bottom:1rem}
  .sec{padding:clamp(2.5rem,6vw,4rem) 0}
}
@media(max-width:768px){
  .hero{padding-top:6.5rem !important}
  .page-hero{padding-top:6.5rem !important;padding-bottom:3rem !important}
  .hero-btns{flex-direction:column;gap:0.65rem}
  .hero-btns .btn{font-size:0.82rem;padding:0.6rem 1.1rem}
  .steps{flex-direction:column;gap:1rem}
  .sln{display:none}
  .fr{grid-template-columns:1fr}
  .dg{grid-template-columns:1fr}
  .ag{grid-template-columns:1fr}
  .ftr-g{grid-template-columns:1fr;gap:1.5rem}
  .blog-grid{grid-template-columns:1fr}
  .sc{padding:1.25rem 1rem}
  .sc h3{font-size:0.95rem}
  .sc p{font-size:0.82rem}
  .ac{padding:1.25rem}
  .ac h3{font-size:1rem}
  .ac p{font-size:0.85rem}
  .tf-grid{grid-template-columns:1fr}
  .tf-item{font-size:0.85rem;padding:0.9rem 1rem}
}

/* CONVERSATIONAL FORM */
.q-conversational { min-height: calc(100vh - 68px); display: flex; flex-direction: column; justify-content: center; background: var(--off); padding: 1.5rem 0; margin-top: 68px; }
.q-progress-fixed { position: fixed; top: 68px; left: 0; width: 100%; height: 4px; background: rgba(0,0,0,0.05); z-index: 2000; }
.q-progress-bar { height: 100%; background: var(--gold); transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); }

.q-card { background: var(--card-bg); width: 100%; max-width: 580px; margin: 0 auto; padding: clamp(1.25rem, 5vw, 2.25rem); border-radius: var(--rl); box-shadow: var(--shl); border: 1px solid var(--card-bdr); position: relative; }
.q-form-title { font-size: 0.6rem; font-weight: 800; color: var(--mut); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.25rem; opacity: 0.8; }
.q-step-info { font-size: 0.7rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 1rem; display: flex; gap: 0.5rem; }
.q-step-info span:first-child { color: var(--navy); opacity: 0.8; }
.q-icon-wrap { width: 44px; height: 44px; background: var(--gold-s); color: var(--gold); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.q-icon-wrap svg { width: 20px; height: 20px; }
.q-label { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 0.4rem; line-height: 1.2; }
.q-desc { font-size: 0.85rem; color: var(--mut); margin-bottom: 1.25rem; }

.q-input-wrap { margin-bottom: 1.25rem; min-height: 100px; display: flex; flex-direction: column; justify-content: center; }

.q-text-input, .q-area-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--bdr); font-size: 1.1rem; font-family: var(--fh); font-weight: 700; color: var(--navy); outline: none; transition: all 0.3s; padding: 0.5rem 0; }
.q-text-input:focus, .q-area-input:focus { border-color: var(--gold); }
.q-area-input { font-size: 1rem; resize: none; min-height: 80px; }

.q-select-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; }
.q-select-btn { padding: 0.7rem 1rem; background: var(--off); border: 2px solid transparent; border-radius: var(--r); font-weight: 700; color: var(--navy); font-size: 0.9rem; cursor: pointer; transition: all 0.2s; text-align: left; }
.q-select-btn:hover { border-color: var(--gold); background: var(--wh); transform: translateY(-2px); }
.q-select-btn.active { background: var(--navy-solid); color: var(--wh-solid); border-color: var(--navy-solid); }

.q-multi-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.q-multi-btn { padding: 0.6rem 1.1rem; background: var(--off); border: 1.5px solid var(--bdr); border-radius: 50px; font-weight: 700; color: var(--navy); font-size: 0.85rem; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 0.5rem; }
.q-multi-btn:hover { border-color: var(--gold); color: var(--gold); }
.q-multi-btn.active { background: var(--gold-s); color: var(--gold); border-color: var(--gold); }

.q-group { width: 100%; }
.q-min-lbl { display: block; font-size: 0.75rem; font-weight: 700; color: var(--mut); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 1px; }

.q-actions { display: flex; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--bdr); margin-top: 1rem; }

.q-actions .btn { border: 2px solid var(--navy); color: var(--navy); background: transparent; padding: 0.75rem 1.5rem; border-radius: 12px; font-weight: 700; font-size: 0.9rem; transition: all 0.2s; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.q-actions .btn:hover:not(:disabled) { background: var(--navy); color: var(--wh); transform: translateY(-2px); }
.q-actions .btn:disabled { border-color: var(--bdr); color: var(--mut); cursor: not-allowed; opacity: 0.5; }

[data-theme='dark'] .q-actions .btn { border-color: rgba(255,255,255,0.3); color: #fff; }
[data-theme='dark'] .q-actions .btn:hover:not(:disabled) { background: #fff; color: var(--navy-solid); }

.q-actions .btn.btn-gold {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #0B1120 !important;
}
.q-actions .btn.btn-gold:hover:not(:disabled) {
    background: var(--gold-h) !important;
    transform: translateY(-2px);
}

.q-note { font-size: 0.75rem; color: var(--mut); display: flex; align-items: center; gap: 0.4rem; font-style: italic; opacity: 0.8; }

.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.review-sec { background: var(--off); padding: 1rem; border-radius: 12px; border: 1px solid var(--bdr); position: relative; }
.review-sec h4 { font-size: 0.65rem; color: var(--gold); letter-spacing: 1px; margin-bottom: 0.5rem; }
.review-sec p { font-size: 0.9rem; margin: 0; color: var(--navy); line-height: 1.4; }
.review-sec .edit-link { position: absolute; top: 1rem; right: 1rem; }

.edit-link { background: none; border: none; color: var(--gold); font-weight: 700; font-size: 0.8rem; cursor: pointer; text-decoration: underline; padding: 0; }
.edit-link:hover { color: var(--navy); }
[data-theme='dark'] .edit-link:hover { color: #fff; }

@media (max-width: 500px) {
  .review-grid { grid-template-columns: 1fr; }
}

/* FILE UPLOAD */
.q-upload-zone { width: 100%; }
.q-dropzone { position: relative; border: 2px dashed var(--bdr); border-radius: var(--r); padding: 3rem; text-align: center; color: var(--mut); transition: all 0.2s; cursor: pointer; overflow: hidden; }
.q-dropzone:hover { border-color: var(--gold); background: var(--gold-s); }
.q-dropzone span { color: var(--gold); font-weight: 700; text-decoration: underline; }
.q-dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.q-file-previews { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.q-file-chip { background: var(--navy-solid); color: var(--wh-solid); padding: 0.5rem 0.8rem; border-radius: 6px; display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; }
.q-file-chip button { background: none; border: none; color: rgba(255,255,255,0.6); cursor: pointer; display: flex; }
.q-file-chip button:hover { color: #fff; }

/* REVIEW SCREEN */
.review-card { max-width: 840px; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin: 3rem 0; text-align: left; }
.review-sec { background: var(--off); padding: 1.5rem; border-radius: var(--r); position: relative; }
.review-sec h4 { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; margin-bottom: 0.75rem; border-bottom: 1px solid var(--bdr); padding-bottom: 0.5rem; }
.review-sec p { font-size: 0.95rem; color: var(--navy); margin: 0; line-height: 1.5; }
.review-sec button { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 0.7rem; color: var(--gold); cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 4px; }

.q-actions { display: flex; align-items: center; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--bdr); }
.q-note { font-size: 0.8rem; color: var(--mut); text-align: center; margin-top: 2rem; font-weight: 500; }

/* ANIMATIONS */
.animate-slide-up { animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-pulse {
  animation: pulse 0.5s ease-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

@media (max-width: 768px) {
  .q-card { padding: 2rem; }
  .q-label { font-size: 1.6rem; }
  .review-grid { grid-template-columns: 1fr; }
}

/* BLOG POST MINIMAL HEADER */
.art-hdr-minimal {
    padding-top: 8rem;
    background: var(--art-hdr-bg);
    padding-bottom: 3rem;
    transition: background 0.3s ease;
}
.art-meta {
    margin-top: 2rem;
    color: var(--mut);
    border-top: 1px solid var(--art-hdr-meta-bdr);
    padding-top: 1.5rem;
}
.art-body {
    transition: color 0.3s ease;
}

/* PREMIUM UI REFINEMENT PASS */

/* Contrast and Theme Fixes */
.cta h2 { color: var(--navy-solid) !important; }
.cta-sub { color: rgba(11, 17, 32, 0.85) !important; }
.pcb { color: var(--navy-solid) !important; }
.lbg { color: var(--navy-solid) !important; }
[data-theme='dark'] .feat-close { color: var(--gold) !important; }
[data-theme='dark'] .sc h3 { color: var(--wh) !important; }

/* Page Hero System */
.page-hero {
    position: relative;
    padding: 9rem 0 5rem;
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-solid) 100%);
    color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.page-hero-in {
    position: relative;
    z-index: 2;
}
.page-hero h1 {
    color: #ffffff !important;
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.page-hero-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 650px;
    margin-bottom: 1.75rem;
    font-family: var(--fb);
    line-height: 1.6;
}
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 700;
}
.breadcrumbs a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}
.breadcrumbs a:hover {
    color: #ffffff;
}
.breadcrumbs span {
    color: rgba(255, 255, 255, 0.3);
}
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: radial-gradient(circle at 75% 30%, rgba(201, 168, 76, 0.09) 0%, transparent 60%);
    pointer-events: none;
}

/* Operational Credibility (Why Choose CBR Refinements) */
.cred-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.cred-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--rl);
    padding: 2.5rem 2rem;
    text-align: left;
    transition: all 0.3s ease;
}
.cred-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-5px);
}
.cred-num {
    font-family: var(--fh);
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.cred-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #ffffff !important;
}
.cred-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Process Timeline (How It Works Timeline View) */
.timeline-v3 {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}
.timeline-v3::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--navy-mid) 100%);
    transform: translateX(-50%);
}
.timeline-node {
    display: flex;
    align-items: center;
    margin-bottom: 5rem;
    position: relative;
}
.timeline-node:last-child {
    margin-bottom: 0;
}
.timeline-node-in {
    width: 45%;
    background: var(--card-bg);
    border: 1px solid var(--card-bdr);
    border-radius: var(--rl);
    padding: 2.5rem;
    box-shadow: var(--shl);
    transition: all 0.3s ease;
}
.timeline-node-in:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}
.timeline-node:nth-child(even) {
    flex-direction: row-reverse;
}
.timeline-badge {
    width: 56px;
    height: 56px;
    background: var(--navy-solid);
    border: 3px solid var(--gold);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: var(--fh);
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: var(--sh);
    z-index: 5;
}
.timeline-node-in h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}
.timeline-node-in p {
    font-size: 0.92rem;
    color: var(--mut);
    line-height: 1.6;
}
.timeline-node-in ul {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.timeline-node-in li {
    font-size: 0.88rem;
    color: var(--txt);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.timeline-node-in li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 800;
}

/* Cinematic timeline card override for dark ambient sections */
.cinematic-timeline .timeline-node-in {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}
.cinematic-timeline .timeline-node-in h3 {
    color: #ffffff !important;
}
.cinematic-timeline .timeline-node-in p {
    color: rgba(255, 255, 255, 0.7) !important;
}
.cinematic-timeline .timeline-node-in li {
    color: rgba(255, 255, 255, 0.85) !important;
}
[data-theme='dark'] .cinematic-timeline .timeline-node-in {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}


@media(max-width: 768px) {
    .timeline-v3::before {
        left: 28px;
    }
    .timeline-node {
        flex-direction: row !important;
        margin-bottom: 3.5rem;
    }
    .timeline-node-in {
        width: calc(100% - 70px);
        margin-left: 70px;
    }
    .timeline-badge {
        left: 28px;
        transform: translateX(-50%);
    }
    .cred-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Tool styles addition */
.pdf-btn {
    background: var(--gold);
    color: var(--navy-solid) !important;
    border: none;
    padding: 0.65rem 1.35rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.pdf-btn:hover {
    background: var(--gold-h);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 168, 76, 0.35);
}
.pri-status-badge {
    background: var(--off);
    border: 1px solid var(--bdr);
    color: var(--mut);
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}
.pri-status-badge:hover {
    border-color: var(--gold);
    color: var(--gold-txt);
}
.pri-status-badge.ready {
    background: var(--gold-s);
    color: var(--gold-txt);
    border-color: var(--gold);
}
.pri-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}
.pri-title {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.05rem;
}

/* Upload zone fixes */
.q-dropzone-half-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}
@media(max-width: 768px) {
    .q-dropzone-half-container {
        grid-template-columns: 1fr;
    }
}
.q-dropzone-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
}
.q-dropzone-box label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--mut);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 2.5rem;
    display: flex;
    align-items: flex-end;
}
.q-dropzone-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--bdr);
    border-radius: var(--r);
    padding: 2rem;
    text-align: center;
    background: var(--off);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.q-dropzone-wrap:hover {
    border-color: var(--gold);
    background: var(--gold-s);
}
.q-dropzone-wrap span {
    color: var(--gold);
    font-weight: 700;
    text-decoration: underline;
}
.q-dropzone-wrap input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.q-previews-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}
.q-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--bdr);
    background: var(--wh);
}
.q-preview-item img, .q-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.q-preview-del {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    z-index: 2;
}
.q-preview-del:hover {
    background: rgba(239, 68, 68, 0.9);
}

/* Footer layout updates */
.ftr-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4rem 0 3rem;
}
.ftr-b-line {
    font-family: var(--fh);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0.5rem;
    color: #ffffff;
}
.ftr-desc {
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.6;
    max-width: 320px;
}
.ftr h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold) !important;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.ftr li a {
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.2s ease;
}
.ftr li a:hover {
    color: var(--gold) !important;
    padding-left: 4px;
}
.ftr li {
    transition: all 0.2s ease;
}

/* Dark Mode fixes for input tags and text */
[data-theme='dark'] .q-text-input,
[data-theme='dark'] .q-area-input {
    color: #ffffff !important;
}
[data-theme='dark'] .q-select-btn {
    background: var(--navy-mid) !important;
    color: #ffffff !important;
}
[data-theme='dark'] .q-select-btn:hover {
    background: var(--navy-lt) !important;
    border-color: var(--gold) !important;
}
[data-theme='dark'] .q-multi-btn {
    background: var(--navy-mid) !important;
    color: #ffffff !important;
    border-color: var(--navy-lt) !important;
}
[data-theme='dark'] .q-multi-btn:hover {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
}
[data-theme='dark'] .q-multi-btn.active {
    background: rgba(201,168,76,0.15) !important;
    color: var(--gold) !important;
    border-color: var(--gold) !important;
}
[data-theme='dark'] .q-min-lbl {
    color: var(--gold) !important;
}
[data-theme='dark'] .review-sec {
    background: var(--navy-mid) !important;
    border-color: var(--navy-lt) !important;
}
[data-theme='dark'] .review-sec p {
    color: #ffffff !important;
}

/* Micro-animations and polish */
.btn-gold, .btn-dk, .btn-out, .nav-tab, .filter-btn, .pc, .ac, .sc, .cred-card, .timeline-node-in {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sc:hover, .ac:hover, .pc:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
[data-theme='dark'] .sc:hover, [data-theme='dark'] .ac:hover, [data-theme='dark'] .pc:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
/* Scroll Reveal Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* SaaS Tool UI & Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--app-sh);
    border-radius: var(--rl);
}
[data-theme='dark'] .glass-panel {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ambient-glow {
    position: relative;
    z-index: 1;
}
.ambient-glow::before {
    content: '';
    position: absolute;
    top: -20%; left: -10%; right: -10%; bottom: -20%;
    background: radial-gradient(circle at center, rgba(201, 168, 76, 0.12) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}
[data-theme='dark'] .ambient-glow::before {
    background: radial-gradient(circle at center, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
}

.saas-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--rl);
    overflow: hidden;
    position: relative;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--bdr) 1px, transparent 1px), linear-gradient(90deg, var(--bdr) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}
[data-theme='dark'] .grid-overlay {
    opacity: 0.15;
}

/* =========================================================================
   PREMIUM SAAS DASHBOARD UI (TOOLS MODULE)
   ========================================================================= */

.saas-app-shell {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--bdr);
    border-radius: var(--rl);
    overflow: hidden;
    min-height: 700px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}
[data-theme='dark'] .saas-app-shell {
    background: #060a12;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

/* Sidebar */
.saas-sidebar {
    width: 260px;
    background: var(--off);
    border-right: 1px solid var(--bdr);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
    z-index: 2;
}
[data-theme='dark'] .saas-sidebar {
    background: #0a0f18;
}
.saas-sidebar-hdr {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.5rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--navy);
    border-bottom: 1px solid var(--bdr);
    margin-bottom: 1rem;
}
.saas-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1rem;
}
.saas-nav-btn {
    padding: 0.75rem 1rem;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: var(--r);
    color: var(--mut);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.saas-nav-btn:hover {
    background: rgba(0,0,0,0.03);
    color: var(--navy);
}
[data-theme='dark'] .saas-nav-btn:hover {
    background: rgba(255,255,255,0.05);
}
.saas-nav-btn.active {
    background: var(--gold-s);
    color: var(--gold);
}

.saas-sidebar-ftr {
    padding: 1.5rem;
    border-top: 1px solid var(--bdr);
}

/* Main Area */
.saas-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    position: relative;
    overflow-y: auto;
}
.saas-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--bdr);
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}
[data-theme='dark'] .saas-topbar {
    background: rgba(6,10,18,0.8);
}
.saas-title-grp h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}
.saas-title-grp p {
    font-size: 0.9rem;
    color: var(--mut);
}

.saas-content-area {
    padding: 2.5rem;
    flex: 1;
}

/* Split Pane Layout (Estimator) */
.saas-pane-layout {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}
.saas-pane-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.saas-pane-right {
    width: 320px;
    position: sticky;
    top: 2rem;
}

@media (max-width: 900px) {
    .saas-app-shell { flex-direction: column; }
    .saas-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--bdr); padding-bottom: 0; }
    .saas-sidebar-ftr { display: none; }
    .saas-pane-layout { flex-direction: column; }
    .saas-pane-right { width: 100%; position: static; }
    .saas-content-area { padding: 1rem; }
    .saas-topbar { padding: 1rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
    .saas-dashboard-card { padding: 1.25rem; gap: 1rem; }
}

/* Dashboard Card (Logistics Engine Output) */
.saas-dashboard-card {
    background: var(--navy-solid);
    border-radius: var(--rl);
    padding: 2rem;
    color: #fff;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}
.dash-hdr {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.dash-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.dash-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.dash-metric span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}
.dash-metric strong {
    font-size: 1.25rem;
    font-weight: 700;
}
.dash-tier-box {
    text-align: center;
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: var(--r);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 1.5rem;
}
.dash-tier-box h4 {
    font-size: 1.4rem;
    color: #fff;
    margin: 0.5rem 0;
}
.dash-alert {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
    background: rgba(201,168,76,0.1);
    padding: 1rem;
    border-radius: var(--r);
    border: 1px solid rgba(201,168,76,0.2);
}
.dash-alert svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* =========================================================================
   CB ECOSYSTEM & REBRAND UTILITIES
   ========================================================================= */

.cb-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
@media(max-width: 1200px) {
    .cb-ecosystem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media(max-width: 768px) {
    .cb-ecosystem-grid {
        grid-template-columns: 1fr;
    }
}

.cb-service-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--gold);
    color: var(--navy-solid);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid var(--gold);
    white-space: nowrap;
}

.cb-hero-triple-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
@media(max-width: 600px) {
    .cb-hero-triple-cta {
        flex-direction: column;
        width: 100%;
    }
    .cb-hero-triple-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* NEW SAAS TOOLS UI (tools.js) */
.saas-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 2rem;
}
.saas-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.saas-nav-item:hover {
    border-color: rgba(201,168,76,0.5);
    color: var(--wh-solid);
}
.saas-nav-item.active {
    background: var(--gold);
    color: var(--navy-solid);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(201,168,76,0.2);
}
.saas-tool-header {
    display: block;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.saas-tool-header h2 {
    font-size: 2.2rem;
    color: var(--wh-solid);
    margin-bottom: 0.5rem;
}
.saas-tool-header p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
}
.blueprint-tab {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--wh-solid);
    transition: all 0.2s;
}
.blueprint-tab.active {
    background: var(--wh-solid);
    color: var(--navy-solid);
    border-color: var(--wh-solid);
}

/* NEW QUOTE UI V2 */
.q-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start;
}
.q-sidebar-v2 {
    position: sticky;
    top: 8rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media(max-width: 1000px) {
    .q-grid-v2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .q-sidebar-v2 {
        position: static;
    }
}
@media(max-width: 600px) {
    .q-card.review-card {
        padding: 2rem !important;
    }
    .review-grid {
        grid-template-columns: 1fr !important;
    }
}

/* PREMIUM DARK GLASS CLASSES (Forces Dark Mode styling on cards) */
.premium-glass-card {
    background: rgba(11, 17, 32, 0.75) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(201, 168, 76, 0.2) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4) !important;
    color: var(--wh-solid) !important;
}
.premium-glass-card h1, .premium-glass-card h2, .premium-glass-card h3, .premium-glass-card h4 {
    color: var(--wh-solid) !important;
}
.premium-glass-card p {
    color: rgba(255,255,255,0.7) !important;
}
.premium-glass-card .q-min-lbl {
    color: rgba(255,255,255,0.6) !important;
}
.premium-glass-card .q-text-input, .premium-glass-card .q-area-input {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: var(--wh-solid) !important;
}
.premium-glass-card .q-text-input:focus, .premium-glass-card .q-area-input:focus {
    border-color: var(--gold) !important;
    background: rgba(255,255,255,0.1) !important;
}
.premium-glass-card .review-sec {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}
.premium-glass-card .review-sec p {
    color: var(--wh-solid) !important;
}
.premium-glass-card .review-sec p.mut-text {
    color: rgba(255,255,255,0.6) !important;
}

.premium-glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201,168,76,0.4) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* SAAS TOOLS RESPONSIVE */
.saas-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 65vh;
}
@media(max-width: 900px) {
    .saas-layout-grid {
        grid-template-columns: 1fr;
    }
    .saas-nav-sidebar {
        border-right: none !important;
        border-bottom: 1px solid var(--bdr);
    }
    .saas-body {
        padding: 2rem !important;
    }
}
@media(max-width: 600px) {
    .estimator-controls, .estimator-results {
        padding: 1.5rem !important;
    }
    .timeline-input-area {
        flex-direction: column;
        align-items: stretch !important;
    }
    .timeline-input-area > div {
        width: 100%;
    }
    .timeline-input-area input[type="date"] {
        max-width: 100% !important;
    }
}

.q-text-input option {
    background: #0b1120;
    color: #ffffff;
}
.light-mode .q-text-input option, body:not(.dark-mode) .q-text-input option {
    background: #ffffff;
    color: #0b1120;
}
.q-dropzone-wrap {
    background: rgba(255,255,255,0.03) !important;
    border-color: rgba(255,255,255,0.1) !important;
}
.q-dropzone-wrap:hover {
    background: rgba(201,168,76,0.1) !important;
    border-color: var(--gold) !important;
}
