/* LEGACY RISK — Premium Corporate Design System */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#030712;--bg2:#0a0f1e;--card:rgba(15,23,42,.55);
  --border:rgba(255,255,255,.07);--border-h:rgba(255,255,255,.14);
  --blue:#3b82f6;--blue-h:#2563eb;--blue-glow:rgba(59,130,246,.2);
  --cyan:#06b6d4;--purple:#8b5cf6;--amber:#f59e0b;--green:#10b981;
  --text:#f1f5f9;--muted:#94a3b8;--dim:#64748b;
  --grad:linear-gradient(135deg,#3b82f6,#06b6d4);
  --r:12px;--rl:20px;--tr:.3s cubic-bezier(.4,0,.2,1);
}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{font-family:'Inter',-apple-system,sans-serif;background:var(--bg);color:var(--text);line-height:1.65;overflow-x:hidden;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:'Outfit','Inter',sans-serif;line-height:1.15;font-weight:700}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}

/* Utilities */
.highlight{background:var(--grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.pill{display:inline-block;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.14em;color:var(--cyan);border:1px solid rgba(6,182,212,.3);padding:.35rem 1.1rem;border-radius:100px;margin-bottom:1.2rem}
.section-head{text-align:center;max-width:700px;margin:0 auto 3.5rem}
.section-head h2{font-size:clamp(1.8rem,4vw,2.6rem);margin-bottom:.8rem}
.section-head p{color:var(--muted);font-size:1.05rem}

/* Buttons */
.btn-primary,.btn-ghost{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;font-size:.9rem;border-radius:var(--r);transition:var(--tr);cursor:pointer;border:none;white-space:nowrap}
.btn-primary{background:var(--grad);color:#fff;padding:.85rem 1.8rem;box-shadow:0 4px 24px var(--blue-glow)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 32px var(--blue-glow)}
.btn-ghost{background:0 0;color:var(--text);padding:.85rem 1.8rem;border:1px solid var(--border)}
.btn-ghost:hover{border-color:var(--blue);background:rgba(59,130,246,.06)}
.btn-sm{padding:.55rem 1.25rem;font-size:.85rem}
.btn-lg{padding:1rem 2.25rem;font-size:1rem}

/* Header */
header{position:fixed;top:0;left:0;right:0;z-index:100;padding:.9rem 0;transition:var(--tr)}
header.scrolled{background:rgba(3,7,18,.88);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--border);padding:.55rem 0}
.header-inner{display:flex;align-items:center;justify-content:space-between}
.header-right{display:flex;align-items:center;gap:3rem}
.logo-link{display:flex;align-items:center;gap:.8rem}
.logo-mark{width:42px;height:42px;background:var(--grad);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 4px 12px var(--blue-glow)}
.logo-text{font-family:'Outfit',sans-serif;font-size:1.45rem;font-weight:700;color:#fff;letter-spacing:-0.02em}
.logo-accent{color:var(--blue)}
.nav-links{display:flex;list-style:none;gap:2.2rem;align-items:center}
.nav-links a{font-size:.88rem;font-weight:500;color:var(--muted);transition:var(--tr)}
.nav-links a:hover{color:#fff}
.nav-highlight{color:var(--cyan)!important;font-weight:600!important}
.mobile-toggle{display:none;flex-direction:column;gap:5px;background:0 0;border:none;cursor:pointer;padding:4px}
.mobile-toggle span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;transition:var(--tr)}
.mobile-toggle.active span:nth-child(1){transform:rotate(45deg) translateY(7px)}
.mobile-toggle.active span:nth-child(2){opacity:0}
.mobile-toggle.active span:nth-child(3){transform:rotate(-45deg) translateY(-7px)}
.mobile-nav{display:none;position:fixed;inset:0;background:rgba(3,7,18,.97);z-index:99;padding:5.5rem 2rem 2rem}
.mobile-nav.open{display:block}
.mobile-nav ul{list-style:none}
.mobile-nav li{margin-bottom:1.5rem}
.mobile-nav a{font-size:1.2rem;font-weight:600;color:var(--text)}

/* Hero */
.hero{position:relative;padding:9rem 0 5rem;overflow:hidden}
.hero-bg{position:absolute;inset:0;background:radial-gradient(ellipse 70% 50% at 70% 40%,rgba(59,130,246,.1),transparent),radial-gradient(ellipse 50% 60% at 20% 80%,rgba(139,92,246,.08),transparent);pointer-events:none}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;position:relative}
.hero-content{z-index:1}
.hero h1{font-size:clamp(2.2rem,4.5vw,3.2rem);font-weight:800;margin-bottom:1.4rem}
.hero-sub{font-size:1.05rem;color:var(--muted);max-width:520px;margin-bottom:2rem;line-height:1.75}
.hero-sub strong{color:var(--text);font-weight:600}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}
.hero-proof{display:flex;align-items:center;gap:.75rem;font-size:.85rem;color:var(--dim)}
.hero-proof strong{color:var(--text)}
.proof-avatars{display:flex}
.avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;color:#fff;border:2px solid var(--bg);margin-left:-8px}
.avatar:first-child{margin-left:0}
.hero-image-wrap{position:relative;z-index:1}
.hero-img{border-radius:var(--rl);border:1px solid var(--border);box-shadow:0 30px 80px rgba(0,0,0,.5)}
.hero-float-card{position:absolute;display:flex;align-items:center;gap:.6rem;background:var(--card);backdrop-filter:blur(12px);border:1px solid var(--border);border-radius:var(--r);padding:.7rem 1.1rem;font-size:.8rem;font-weight:600;animation:floatUp .6s ease forwards;opacity:0;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.float-1{bottom:20%;left:-1.5rem;animation-delay:.4s}
.float-2{top:15%;right:-1rem;animation-delay:.7s}
@keyframes floatUp{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}

/* Trust Bar */
.trust-bar{padding:2.5rem 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--bg2)}
.trust-inner{display:flex;justify-content:space-around;flex-wrap:wrap;gap:2rem}
.trust-stat{text-align:center}
.trust-num{font-family:'Outfit',sans-serif;font-size:2rem;font-weight:800;background:var(--grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.trust-label{font-size:.78rem;color:var(--dim);font-weight:500;margin-top:.15rem}

/* Services */
.services-section{padding:6rem 0}
.services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.svc-card{background:var(--card);border:1px solid var(--border);border-radius:var(--rl);padding:2.5rem;transition:var(--tr);position:relative;overflow:hidden}
.svc-card:hover{border-color:var(--border-h);transform:translateY(-4px);box-shadow:0 20px 50px rgba(0,0,0,.35)}
.svc-featured{grid-column:1/-1;background:linear-gradient(135deg,rgba(59,130,246,.07),rgba(6,182,212,.04));border-color:rgba(59,130,246,.18)}
.svc-featured:hover{border-color:rgba(59,130,246,.35)}
.svc-badge{position:absolute;top:1.5rem;right:1.5rem;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--blue);background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.2);padding:.3rem .75rem;border-radius:100px}
.svc-icon{width:56px;height:56px;border-radius:14px;background:rgba(59,130,246,.1);display:flex;align-items:center;justify-content:center;color:var(--blue);margin-bottom:1.5rem}
.svc-icon.icon-cyan{background:rgba(6,182,212,.1);color:var(--cyan)}
.svc-icon.icon-purple{background:rgba(139,92,246,.1);color:var(--purple)}
.svc-icon.icon-amber{background:rgba(245,158,11,.1);color:var(--amber)}
.svc-card h3{font-size:1.3rem;margin-bottom:.5rem}
.svc-card p{color:var(--muted);font-size:.92rem;line-height:1.7}
.svc-link{display:inline-flex;align-items:center;gap:.4rem;margin-top:1.2rem;font-weight:600;font-size:.9rem;color:var(--blue);transition:var(--tr)}
.svc-link:hover{gap:.65rem}

/* Why Us */
.why-section{padding:6rem 0;background:var(--bg2)}
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.why-img{border-radius:var(--rl);border:1px solid var(--border);box-shadow:0 20px 60px rgba(0,0,0,.4)}
.why-content h2{font-size:clamp(1.7rem,3.5vw,2.4rem);margin-bottom:1rem}
.why-content>p{color:var(--muted);margin-bottom:1.5rem;font-size:.95rem}
.check-list{list-style:none;margin-bottom:2rem}
.check-list li{display:flex;align-items:center;gap:.7rem;padding:.6rem 0;font-size:.95rem;color:var(--muted);border-bottom:1px solid rgba(255,255,255,.04)}
.check-list li:last-child{border-bottom:none}

/* Steps */
.steps-section{padding:6rem 0}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-bottom:3rem}
.step-card{background:var(--card);border:1px solid var(--border);border-radius:var(--rl);padding:2.5rem 2rem;text-align:center;transition:var(--tr)}
.step-card:hover{border-color:var(--border-h);transform:translateY(-3px)}
.step-num{width:48px;height:48px;border-radius:50%;background:var(--grad);display:flex;align-items:center;justify-content:center;font-family:'Outfit',sans-serif;font-weight:800;font-size:1.1rem;color:#fff;margin:0 auto 1.2rem}
.step-card h3{font-size:1.1rem;margin-bottom:.6rem}
.step-card p{color:var(--muted);font-size:.88rem;line-height:1.6}
.steps-cta{text-align:center}

/* Heritage */
.heritage-section{padding:6rem 0;background:var(--bg2)}
.heritage-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.heritage-content h2{font-size:clamp(1.7rem,3.5vw,2.4rem);margin-bottom:1rem}
.heritage-content p{color:var(--muted);font-size:.95rem;margin-bottom:1rem;line-height:1.7}
.heritage-content .btn-ghost{margin-top:.5rem}
.heritage-img{border-radius:var(--rl);border:1px solid var(--border);box-shadow:0 20px 60px rgba(0,0,0,.4)}

/* FAQ */
.faq-section{padding:6rem 0}
.faq-list{max-width:780px;margin:0 auto}
.faq-item{border:1px solid var(--border);border-radius:var(--r);margin-bottom:.75rem;overflow:hidden;transition:var(--tr)}
.faq-item:hover{border-color:var(--border-h)}
.faq-item summary{padding:1.2rem 1.5rem;font-weight:600;font-size:.95rem;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq-item summary::after{content:'+';font-size:1.3rem;color:var(--blue);transition:var(--tr)}
.faq-item[open] summary::after{content:'-'}
.faq-item[open]{border-color:rgba(59,130,246,.25);background:rgba(59,130,246,.03)}
.faq-body{padding:0 1.5rem 1.2rem}
.faq-body p{color:var(--muted);font-size:.9rem;line-height:1.7}

/* Final CTA */
.final-cta{padding:6rem 0;background:linear-gradient(180deg,var(--bg),var(--bg2))}
.final-cta-inner{text-align:center;max-width:680px;margin:0 auto}
.final-cta h2{font-size:clamp(1.8rem,4vw,2.6rem);margin-bottom:1rem}
.final-cta p{color:var(--muted);font-size:1.1rem;margin-bottom:2rem}
.cta-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* Footer */
footer{border-top:1px solid var(--border)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;padding:4rem 1.5rem 3rem}
.footer-brand p{color:var(--dim);font-size:.85rem;margin-top:1rem;line-height:1.5}
.footer-col h4{font-size:.8rem;font-weight:600;margin-bottom:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:.5rem;font-size:.88rem;color:var(--dim)}
.footer-col a{color:var(--dim);transition:var(--tr)}
.footer-col a:hover{color:var(--blue)}
.footer-bottom{border-top:1px solid var(--border);padding:1.3rem 0;font-size:.78rem;color:var(--dim);text-align:center}

/* Animations */
.anim{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease}
.anim.visible{opacity:1;transform:translateY(0)}

/* Responsive */
@media(max-width:900px){
  .hero-grid,.why-grid,.heritage-grid{grid-template-columns:1fr}
  .hero{padding:7.5rem 0 3.5rem}
  .hero-image-wrap{order:-1;max-width:500px;margin:0 auto}
  .services-grid{grid-template-columns:1fr}
  .svc-featured{grid-column:auto}
  .steps-grid{grid-template-columns:1fr}
  nav,.header-right{display:none}
  .mobile-toggle{display:flex}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .why-image-wrap{order:-1;max-width:400px;margin:0 auto}
}
@media(max-width:500px){
  .hero h1{font-size:1.9rem}
  .hero-actions,.cta-btns{flex-direction:column}
  .hero-actions .btn-primary,.hero-actions .btn-ghost,.cta-btns .btn-primary,.cta-btns .btn-ghost{width:100%;justify-content:center}
  .trust-inner{flex-direction:column;gap:1.5rem}
  .footer-grid{grid-template-columns:1fr}
}

/* Hero Audit Lead Capture Form */
.hero-audit-form {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 580px;
}
.hero-audit-form .input-group {
  display: flex;
  background: #212452; /* Navy primary */
  border: 2px solid #bdc9df; /* Light Blue accent border */
  border-radius: var(--r);
  padding: 4px;
  box-shadow: 0 10px 30px rgba(33, 36, 82, 0.4);
  transition: var(--tr);
  align-items: center;
}
.hero-audit-form .input-group:focus-within {
  border-color: var(--blue);
  box-shadow: 0 10px 30px var(--blue-glow);
}
.hero-audit-form .audit-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1.2rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
}
.hero-audit-form .audit-input::placeholder {
  color: #bdc9df; /* Light Blue placeholder */
  opacity: 0.65;
}
.hero-audit-form .btn-audit-submit {
  background: var(--grad); /* Matching site primary gradient */
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--blue-glow);
}
.hero-audit-form .btn-audit-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--blue-glow);
}

@media (max-width: 600px) {
  .hero-audit-form .input-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 0.8rem;
    box-shadow: none;
  }
  .hero-audit-form .audit-input {
    background: #212452;
    border: 2px solid #bdc9df;
    border-radius: var(--r);
    padding: 1rem 1.2rem;
    width: 100%;
  }
  .hero-audit-form .audit-input:focus {
    border-color: var(--blue);
  }
  .hero-audit-form .btn-audit-submit {
    width: 100%;
    padding: 1rem;
    border-radius: var(--r);
    text-align: center;
  }
}

