/* ================================================
   ACE Consulting Firm - Main Stylesheet
   Brand: Navy #1B2A4A | Blue #185FA5 | Dark #0C447C
   ================================================ */
:root {
  --navy:      #1B2A4A;
  --blue:      #185FA5;
  --dark-blue: #0C447C;
  --lt-blue:   #E6F1FB;
  --text:      #1B2A4A;
  --muted:     #64748b;
  --border:    #e2e8f0;
  --bg:        #f8fafc;
}

/* ---- RESET ---- */
*  { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--text); line-height:1.7; background:#fff;
}
img { max-width:100%; display:block; }
a  { color:var(--blue); }

/* ---- CONTAINER ---- */
.container { max-width:1140px; margin:0 auto; padding:0 24px; }

/* ---- NAVBAR ---- */
.navbar { background:var(--navy); position:sticky; top:0; z-index:100;
          box-shadow:0 1px 4px rgba(0,0,0,.25); }
.nav-inner { display:flex; align-items:center; height:68px; gap:28px; }
.nav-logo  { color:#fff; font-size:15px; font-weight:700; text-decoration:none; white-space:nowrap; }
.nav-logo span { color:#60A5FA; }
.nav-links { display:flex; gap:24px; flex:1; }
.nav-links a { color:rgba(255,255,255,.75); text-decoration:none; font-size:14px; transition:color .2s; }
.nav-links a:hover, .nav-links a.active { color:#fff; }
.btn-nav {
  background:var(--blue); color:#fff; padding:8px 20px; border-radius:6px;
  text-decoration:none; font-size:14px; font-weight:600; white-space:nowrap; transition:background .2s;
}
.btn-nav:hover { background:#1a6bbf; }
.hamburger { display:none; background:none; border:none; color:#fff; font-size:26px; cursor:pointer; margin-left:auto; }
.mobile-menu { display:none; background:#142038; padding:12px 24px 18px; }
.mobile-menu.open { display:block; }
.mobile-menu a { display:block; color:rgba(255,255,255,.82); text-decoration:none;
                 padding:11px 0; font-size:15px; border-bottom:1px solid rgba(255,255,255,.08); }

/* ---- HERO ---- */
.hero { background:var(--navy); padding:80px 0 72px; }
.hero-badge {
  display:inline-block; background:rgba(24,95,165,.3); color:#93C5FD; font-size:13px;
  padding:6px 14px; border-radius:20px; margin-bottom:20px; border:1px solid rgba(96,165,250,.2);
}
.hero h1 {
  color:#fff; font-size:clamp(26px,4vw,44px); font-weight:700;
  line-height:1.2; margin-bottom:16px; max-width:680px;
}
.hero p {
  color:rgba(255,255,255,.68); font-size:17px; margin-bottom:32px;
  max-width:560px; line-height:1.65;
}
.hero-btns { display:flex; gap:12px; flex-wrap:wrap; }

/* ---- BUTTONS ---- */
.btn-primary {
  background:var(--blue); color:#fff; padding:13px 28px; border-radius:6px;
  text-decoration:none; font-size:15px; font-weight:600; display:inline-block; transition:background .2s;
}
.btn-primary:hover { background:#1a6bbf; }
.btn-outline {
  border:1.5px solid rgba(255,255,255,.4); color:rgba(255,255,255,.88);
  padding:13px 28px; border-radius:6px; text-decoration:none; font-size:15px;
  font-weight:500; display:inline-block; transition:all .2s;
}
.btn-outline:hover { border-color:#fff; color:#fff; background:rgba(255,255,255,.08); }
.btn-white {
  background:#fff; color:var(--dark-blue); padding:13px 28px; border-radius:6px;
  text-decoration:none; font-size:15px; font-weight:700; display:inline-block; transition:opacity .2s;
}
.btn-white:hover { opacity:.9; }
.btn-outline-white {
  border:1.5px solid rgba(255,255,255,.5); color:#fff; padding:13px 28px; border-radius:6px;
  text-decoration:none; font-size:15px; font-weight:500; display:inline-block; transition:all .2s;
}
.btn-outline-white:hover { border-color:#fff; background:rgba(255,255,255,.1); }

/* ---- TRUST BAR ---- */
.trust-bar { background:var(--bg); border-bottom:1px solid var(--border); padding:18px 0; }
.trust-items { display:flex; justify-content:center; flex-wrap:wrap; gap:8px 28px; }
.trust-item  { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:500; color:var(--dark-blue); }
.trust-icon  { width:32px; height:32px; background:var(--lt-blue); border-radius:6px;
               display:flex; align-items:center; justify-content:center; font-size:16px; }

/* ---- SECTIONS ---- */
section { padding:72px 0; }
section.bg-alt { background:var(--bg); }
.section-header { text-align:center; margin-bottom:48px; }
.section-header h2 { font-size:clamp(22px,3vw,34px); font-weight:700; color:var(--text); margin-bottom:12px; }
.section-header p  { font-size:16px; color:var(--muted); max-width:560px; margin:0 auto; }
.section-label {
  display:inline-block; background:var(--lt-blue); color:var(--blue);
  font-size:12px; font-weight:600; letter-spacing:.05em; padding:4px 12px;
  border-radius:20px; margin-bottom:12px; text-transform:uppercase;
}

/* ---- GRIDS ---- */
.grid-4 { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
.grid-3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; }
.grid-2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:24px; }

/* ---- CARDS ---- */
.card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:24px; transition:box-shadow .2s, transform .2s; }
.card:hover { box-shadow:0 8px 24px rgba(0,0,0,.08); transform:translateY(-2px); }
.card-icon { width:48px; height:48px; background:var(--lt-blue); border-radius:10px;
             display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:16px; }
.card h3 { font-size:17px; font-weight:600; color:var(--text); margin-bottom:8px; }
.card p  { font-size:14px; color:var(--muted); line-height:1.65; }

/* ---- STATS BAR ---- */
.stats-bar { background:var(--blue); padding:56px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:24px; text-align:center; }
.stat-num   { font-size:clamp(28px,4vw,44px); font-weight:700; color:#fff; }
.stat-label { font-size:14px; color:rgba(255,255,255,.78); margin-top:4px; }

/* ---- CTA SECTION ---- */
.cta-section { background:var(--dark-blue); padding:72px 0; text-align:center; }
.cta-section h2 { color:#fff; font-size:clamp(22px,3vw,34px); font-weight:700; margin-bottom:14px; }
.cta-section p  { color:rgba(255,255,255,.75); font-size:17px; margin-bottom:32px; max-width:480px; margin-left:auto; margin-right:auto; }
.cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ---- FOOTER ---- */
footer { background:var(--navy); padding:56px 0 28px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.footer-logo { color:#fff; font-size:15px; font-weight:700; margin-bottom:12px; display:block; text-decoration:none; }
.footer-desc { color:rgba(255,255,255,.45); font-size:13px; line-height:1.65; }
.footer-col h4 { color:#fff; font-size:13px; font-weight:600; margin-bottom:14px; }
.footer-col a  { display:block; color:rgba(255,255,255,.45); text-decoration:none; font-size:13px; margin-bottom:8px; transition:color .2s; }
.footer-col a:hover { color:rgba(255,255,255,.85); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding-top:24px;
                 display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-bottom p { color:rgba(255,255,255,.35); font-size:12px; }

/* ---- PROFILE CARD ---- */
.profile-card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:28px;
                display:flex; gap:24px; align-items:flex-start; }
.avatar { width:64px; height:64px; border-radius:50%; background:var(--lt-blue); display:flex;
          align-items:center; justify-content:center; font-size:18px; font-weight:700; color:var(--dark-blue); flex-shrink:0; }
.profile-name  { font-size:20px; font-weight:700; color:var(--text); margin-bottom:4px; }
.profile-title { font-size:14px; color:var(--blue); font-weight:500; margin-bottom:14px; }
.badge-row { display:flex; flex-wrap:wrap; gap:8px; }
.badge { background:var(--lt-blue); color:var(--dark-blue); font-size:12px; font-weight:500; padding:4px 12px; border-radius:20px; }

/* ---- PRICING ---- */
.pricing-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
.pricing-card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:28px;
                display:flex; flex-direction:column; position:relative; transition:box-shadow .2s; }
.pricing-card:hover { box-shadow:0 8px 24px rgba(0,0,0,.08); }
.pricing-card.featured { border:2px solid var(--blue); }
.popular-tag {
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:var(--dark-blue); color:#fff; font-size:11px; font-weight:600;
  padding:4px 16px; border-radius:20px; white-space:nowrap;
}
.tier-name { display:inline-block; background:var(--lt-blue); color:var(--blue);
             font-size:12px; font-weight:600; padding:3px 10px; border-radius:20px; margin-bottom:12px; }
.price-amount { font-size:36px; font-weight:700; color:var(--text); }
.price-period { font-size:13px; color:var(--muted); }
.price-divider { height:1px; background:var(--border); margin:16px 0; }
.features-list { list-style:none; flex:1; }
.features-list li { display:flex; align-items:flex-start; gap:8px; font-size:14px; color:var(--muted); margin-bottom:10px; }
.features-list li::before { content:"✓"; color:var(--blue); font-weight:700; flex-shrink:0; margin-top:2px; }
.price-btn { display:block; text-align:center; padding:11px; border-radius:6px;
             text-decoration:none; font-size:14px; font-weight:600; margin-top:20px; transition:all .2s; }
.price-btn-main  { background:var(--blue); color:#fff; }
.price-btn-main:hover  { background:#1a6bbf; }
.price-btn-ghost { background:var(--bg); color:var(--text); }
.price-btn-ghost:hover { background:var(--border); }

/* ---- FAQ ---- */
.faq-list { max-width:720px; margin:0 auto; }
.faq-item { border:1px solid var(--border); border-radius:8px; margin-bottom:10px; overflow:hidden; }
.faq-btn {
  background:#fff; width:100%; padding:18px 20px; display:flex; justify-content:space-between;
  align-items:center; cursor:pointer; border:none; text-align:left; font-size:15px;
  font-weight:500; color:var(--text); font-family:inherit;
}
.faq-btn:hover { background:var(--bg); }
.faq-answer { padding:0 20px; max-height:0; overflow:hidden; transition:max-height .3s ease, padding .3s ease; }
.faq-answer.open { max-height:200px; padding:0 20px 18px; }
.faq-answer p { font-size:14px; color:var(--muted); line-height:1.7; }
.faq-icon { color:var(--blue); font-size:20px; transition:transform .3s; flex-shrink:0; }
.faq-icon.open { transform:rotate(180deg); }

/* ---- AI METRICS ---- */
.ai-metrics { background:var(--navy); padding:56px 0; }
.ai-grid    { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; text-align:center; }
.ai-num     { font-size:clamp(36px,5vw,56px); font-weight:700; color:#fff; }
.ai-label   { font-size:15px; color:rgba(255,255,255,.68); margin-top:6px; }

/* ---- RESULT TAGS ---- */
.result-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.rtag { background:var(--lt-blue); color:var(--dark-blue); font-size:13px; font-weight:500; padding:5px 12px; border-radius:20px; }

/* ---- CONTACT ---- */
.contact-wrap { display:grid; grid-template-columns:1fr 1.6fr; gap:40px; align-items:start; }
.contact-info-box { background:var(--navy); border-radius:12px; padding:32px; }
.contact-info-box h3 { color:#fff; font-size:20px; font-weight:700; margin-bottom:24px; }
.info-item { display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.info-icon  { width:40px; height:40px; background:rgba(255,255,255,.12); border-radius:8px;
              display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.info-text  { flex:1; }
.info-label { font-size:11px; color:rgba(255,255,255,.45); margin-bottom:3px; }
.info-value { font-size:14px; color:rgba(255,255,255,.9); }
.contact-form-box { background:#fff; border:1px solid var(--border); border-radius:12px; padding:32px; }
.contact-form-box h3 { font-size:20px; font-weight:700; color:var(--text); margin-bottom:24px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:13px; font-weight:500; color:var(--text); margin-bottom:6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:10px 14px; border:1px solid var(--border); border-radius:6px;
  font-size:14px; font-family:inherit; color:var(--text); transition:border-color .2s;
  background:#fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(24,95,165,.1); }
.form-group textarea { height:120px; resize:vertical; }
.btn-submit {
  background:var(--blue); color:#fff; padding:13px; border:none; border-radius:6px;
  font-size:15px; font-weight:600; cursor:pointer; width:100%; font-family:inherit; transition:background .2s;
}
.btn-submit:hover { background:#1a6bbf; }

/* ---- RESPONSIVE ---- */
@media (max-width:768px) {
  .nav-links, .btn-nav { display:none; }
  .hamburger { display:block; }
  .hero { padding:56px 0 48px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
  .contact-wrap { grid-template-columns:1fr; }
  .ai-grid { grid-template-columns:1fr; gap:32px; }
  .form-row { grid-template-columns:1fr; }
  section { padding:48px 0; }
}
@media (max-width:480px) {
  .footer-grid { grid-template-columns:1fr; }
  .pricing-grid { grid-template-columns:1fr; }
  .hero-btns { flex-direction:column; }
  .hero-btns a { text-align:center; }
  .profile-card { flex-direction:column; }
  .cta-btns { flex-direction:column; align-items:center; }
}

/* ================================================
   BRAND LOGO / IDENTITY  (added)
   ================================================ */
.nav-logo { display:flex; align-items:center; gap:11px; letter-spacing:-.01em; }
.nav-mark { height:34px; width:auto; flex-shrink:0; display:block; }
.nav-wordmark { display:flex; flex-direction:column; line-height:1.05; }
.nav-wordmark b { font-size:15px; font-weight:700; color:#fff; }
.nav-wordmark small {
  font-size:8.5px; font-weight:600; letter-spacing:.16em;
  color:rgba(147,197,253,.85); text-transform:uppercase; margin-top:3px;
}
.footer-brand { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-mark  { height:42px; width:auto; display:block; }
.footer-logo  { margin-bottom:0; }
.hero-mark {
  height:64px; width:auto; margin-bottom:22px; display:block;
  filter:drop-shadow(0 6px 16px rgba(0,0,0,.35));
}
.logo-lockup { max-width:420px; width:100%; height:auto; margin:0 auto 8px; }

/* ================================================
   CLIENT ORGANIZATION STRIP  (added)
   ================================================ */
.client-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; }
.client-card {
  background:#fff; border:1px solid var(--border); border-radius:12px;
  padding:28px 24px; text-align:center; transition:box-shadow .2s, transform .2s, border-color .2s;
}
.client-card:hover { box-shadow:0 8px 24px rgba(0,0,0,.07); transform:translateY(-2px); border-color:#c7d9ee; }
.client-mark {
  width:52px; height:52px; margin:0 auto 16px; border-radius:12px;
  background:var(--lt-blue); color:var(--dark-blue);
  display:flex; align-items:center; justify-content:center;
  font-size:15px; font-weight:700; letter-spacing:.02em;
}
.client-name { font-size:16px; font-weight:600; color:var(--text); margin-bottom:5px; line-height:1.35; }
.client-sector {
  font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color:var(--blue); margin-bottom:12px;
}
.client-scope { font-size:13.5px; color:var(--muted); line-height:1.6; }
.client-note {
  text-align:center; font-size:12.5px; color:#94a3b8;
  margin-top:28px; max-width:640px; margin-left:auto; margin-right:auto; line-height:1.6;
}

/* ================================================
   PRICING REFINEMENTS  (added)
   ================================================ */
.pricing-grid { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; row-gap:28px; }
.pricing-card { padding:30px 26px; }
.pricing-card.featured { box-shadow:0 12px 32px rgba(24,95,165,.13); }
.price-annual {
  display:inline-block; margin-top:8px; font-size:12.5px; font-weight:600;
  color:var(--dark-blue); background:var(--lt-blue);
  padding:4px 11px; border-radius:20px;
}
.seat-note {
  display:flex; align-items:center; gap:7px; margin-top:14px;
  font-size:12px; font-weight:600; letter-spacing:.02em; color:var(--dark-blue);
  background:var(--lt-blue); border-radius:7px; padding:8px 11px;
}
.seat-note::before { content:"\1F465"; font-size:13px; }
.tier-scope {
  display:block; font-size:11px; font-weight:600; letter-spacing:.09em;
  text-transform:uppercase; color:#94a3b8; margin-bottom:9px;
}
@media (max-width:1000px) { .pricing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px)  { .pricing-grid { grid-template-columns:1fr; } }

/* ================================================
   GENERAL POLISH  (added)
   ================================================ */
body { -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
.hero h1 { letter-spacing:-.02em; }
.section-header h2 { letter-spacing:-.015em; }
.card h3 { letter-spacing:-.01em; }
.navbar { border-bottom:1px solid rgba(255,255,255,.06); }
.trust-item { white-space:nowrap; }
@media (max-width:768px) {
  .nav-wordmark small { display:none; }
  .nav-mark { height:30px; }
}

/* ---- pill alignment fix (flex-column cards stretch children) ---- */
.tier-name, .tier-scope, .price-annual { align-self:flex-start; }
.pricing-card .tier-name { display:inline-block; width:auto; }
.tier-scope { min-height:16px; }
.hero-mark-tile {
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.96); border-radius:16px; padding:12px;
  margin-bottom:24px; box-shadow:0 8px 24px rgba(0,0,0,.28);
}
.hero-mark-tile img { height:52px; width:auto; display:block; }

/* ================================================
   HERO VIDEO  (added v9)
   ================================================ */
.hero-split { position:relative; overflow:hidden;
  background:radial-gradient(1100px 600px at 78% 40%, rgba(24,95,165,.38), transparent 60%), var(--navy); }
.hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); gap:48px; align-items:center; }
.hero-copy h1, .hero-copy p { max-width:none; }
.hero-media { min-width:0; }
.hero-video-frame {
  position:relative; border-radius:16px; overflow:hidden; aspect-ratio:16/9; background:#050C1A;
  border:1px solid rgba(96,165,250,.28);
  box-shadow:0 24px 60px rgba(0,0,0,.45), 0 0 0 6px rgba(96,165,250,.06), 0 0 60px rgba(96,165,250,.18);
}
.hero-video { width:100%; height:100%; object-fit:cover; display:block; }
.hero-video-controls {
  position:absolute; right:12px; bottom:12px; display:flex; gap:8px;
  opacity:.92; transition:opacity .25s;
}
.hv-btn {
  display:inline-flex; align-items:center; gap:7px; height:36px; min-width:36px; padding:0 11px;
  border-radius:18px; border:1px solid rgba(255,255,255,.22); cursor:pointer;
  background:rgba(5,12,26,.62); color:#fff; font:600 13px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); transition:background .2s, border-color .2s;
}
.hv-btn:hover { background:rgba(24,95,165,.85); border-color:rgba(255,255,255,.45); }
.hv-btn:focus-visible { outline:2px solid #60A5FA; outline-offset:2px; }
.hv-sound { background:rgba(24,95,165,.78); }
.hero-video-caption { margin-top:12px; font-size:13px; color:rgba(191,219,254,.7); text-align:center; }
@media (max-width:980px) {
  .hero-grid { grid-template-columns:1fr; gap:36px; }
  .hero-media { order:-1; }
}
@media (max-width:480px) {
  .hv-lbl { display:none; }
  .hv-btn { height:30px; min-width:30px; padding:0 8px; font-size:12px; }
  .hero-video-controls { right:8px; bottom:8px; gap:6px; }
  .hero-video-frame { border-radius:12px; }
}
