:root {
  --apex-navy: #0F2A4A;
  --apex-gold: #D4AF37;
  --apex-slate: #2C3E50;
  --apex-light: #F4F7F6;
  --apex-white: #FFFFFF;
  --apex-gray: #E2E8F0;
  --apex-font: 'Nunito', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--apex-font);
  color: var(--apex-slate);
  background-color: var(--apex-light);
  line-height: 1.6;
}

img { width: 100%; height: auto; object-fit: cover; display: block; }
a { color: var(--apex-gold); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--apex-navy); }

/* Typography */
h1, h2, h3, h4 { color: var(--apex-navy); font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
p { margin-bottom: 1rem; }

/* Header */
.apex-nav-wrapper {
  position: sticky; top: 0;
  background-color: var(--apex-navy);
  padding: 1rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.apex-brand-mark {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--apex-white); font-weight: 800; font-size: 1.25rem;
}
.apex-brand-mark svg { color: var(--apex-gold); }
.apex-menu-list { display: flex; gap: 2rem; align-items: center; }
.apex-menu-list a { color: var(--apex-white); font-weight: 600; font-size: 0.95rem; }
.apex-menu-list a:hover { color: var(--apex-gold); }
.apex-btn-outline {
  border: 2px solid var(--apex-gold);
  padding: 0.5rem 1rem; border-radius: 4px;
}
.apex-btn-outline:hover { background: var(--apex-gold); color: var(--apex-navy) !important; }

/* Hero */
.apex-hero-canvas { position: relative; min-height: 80vh; display: flex; align-items: center; }
.apex-hero-bg { position: absolute; top:0; left:0; width:100%; height:100%; z-index: 1; }
.apex-hero-overlay {
  position: relative; z-index: 2; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(15,42,74,0.95) 0%, rgba(15,42,74,0.7) 60%, rgba(15,42,74,0) 100%);
  padding: 6rem 5%; display: flex; align-items: center;
}
.apex-hero-content { max-width: 600px; color: var(--apex-white); }
.apex-hero-badge {
  display: inline-block; background: var(--apex-gold); color: var(--apex-navy);
  padding: 0.25rem 0.75rem; border-radius: 20px; font-weight: 800; font-size: 0.8rem;
  margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px;
}
.apex-headline-txt { color: var(--apex-white); font-size: 3rem; margin-bottom: 1.5rem; }
.apex-subhead-txt { font-size: 1.2rem; margin-bottom: 2.5rem; opacity: 0.9; }
.apex-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.apex-primary-act, .apex-sec-act, .apex-submit-btn {
  padding: 0.8rem 1.5rem; border-radius: 4px; font-weight: 800; text-align: center;
  cursor: pointer; border: none; font-family: var(--apex-font); font-size: 1rem;
}
.apex-primary-act, .apex-submit-btn { background: var(--apex-gold); color: var(--apex-navy); }
.apex-primary-act:hover, .apex-submit-btn:hover { background: var(--apex-white); }
.apex-sec-act { background: transparent; border: 2px solid var(--apex-white); color: var(--apex-white); }
.apex-sec-act:hover { background: var(--apex-white); color: var(--apex-navy); }

/* About */
.apex-story-block { padding: 6rem 5%; background: var(--apex-white); }
.apex-story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.apex-story-text h2 { font-size: 2.5rem; }
.apex-story-text p { font-size: 1.1rem; margin-bottom: 1.5rem; }
.apex-stat-ribbon { display: flex; gap: 3rem; margin-top: 2rem; border-top: 1px solid var(--apex-gray); padding-top: 2rem; }
.apex-stat-num { display: block; font-size: 2.5rem; font-weight: 800; color: var(--apex-gold); }
.apex-stat-label { font-size: 0.9rem; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; }
.apex-story-visual img { border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); height: 500px; }

/* Services */
.apex-sol-section { padding: 8rem 5%; background: var(--apex-light); }
.apex-sol-header { text-align: center; max-width: 700px; margin: 0 auto 4rem auto; }
.apex-sol-header h2 { font-size: 2.5rem; }
.apex-sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.apex-sol-card { background: var(--apex-white); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.apex-sol-card:hover { transform: translateY(-5px); }
.apex-sol-card img { height: 220px; }
.apex-sol-card-body { padding: 2rem; }
.card-offset { transform: translateY(2rem); }
.card-offset:hover { transform: translateY(calc(2rem - 5px)); }

/* Testimonials */
.apex-feedback-zone { padding: 6rem 5%; background: var(--apex-navy); color: var(--apex-white); }
.apex-feedback-zone h2 { color: var(--apex-white); text-align: center; font-size: 2.5rem; margin-bottom: 4rem; }
.apex-client-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.apex-client-voice { background: rgba(255,255,255,0.05); padding: 2rem; border-radius: 8px; flex: 1 1 300px; max-width: 400px; border: 1px solid rgba(255,255,255,0.1); }
.voice-highlight { background: var(--apex-gold); color: var(--apex-navy); border: none; transform: scale(1.05); }
.voice-highlight p { font-weight: 600; }
.voice-offset { margin-top: 2rem; }
.apex-client-voice p { font-style: italic; margin-bottom: 1.5rem; font-size: 1.05rem; }
.apex-client-meta { display: flex; align-items: center; gap: 1rem; }
.apex-client-meta img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.apex-client-meta div { display: flex; flex-direction: column; }
.apex-client-meta strong { font-size: 1.1rem; }
.apex-client-meta span { font-size: 0.85rem; opacity: 0.8; }

/* Contact */
.apex-reach-panel { padding: 6rem 5%; background: var(--apex-white); }
.apex-reach-container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.apex-reach-info h2 { font-size: 2.5rem; }
.apex-micro-detail { margin-top: 2rem; padding: 1rem; background: var(--apex-light); border-left: 4px solid var(--apex-gold); }
.apex-reach-form { display: flex; flex-direction: column; gap: 1.5rem; }
.apex-form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.apex-form-group label { font-weight: 600; font-size: 0.9rem; }
.apex-form-group input, .apex-form-group textarea { padding: 0.8rem; border: 1px solid var(--apex-gray); border-radius: 4px; font-family: var(--apex-font); font-size: 1rem; }
.apex-form-group input:focus, .apex-form-group textarea:focus { outline: none; border-color: var(--apex-navy); }

/* Footer */
.apex-footer-base { background: #081627; color: var(--apex-white); padding: 4rem 5% 2rem 5%; }
.apex-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 3rem; }
.apex-footer-brand h3 { color: var(--apex-white); margin-bottom: 1rem; }
.apex-footer-contact h4, .apex-footer-links h4 { color: var(--apex-gold); margin-bottom: 1.5rem; font-size: 1.1rem; }
.apex-footer-contact p { margin-bottom: 0.5rem; opacity: 0.8; font-size: 0.9rem; }
.apex-footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
.apex-footer-links a { color: var(--apex-white); opacity: 0.8; font-size: 0.9rem; }
.apex-footer-links a:hover { opacity: 1; color: var(--apex-gold); }
.apex-unsub { font-size: 0.8rem !important; opacity: 0.5 !important; margin-top: 1rem; }
.apex-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; opacity: 0.6; }
.apex-tiny-disclaimer { max-width: 400px; text-align: right; }

@media (max-width: 900px) {
  .apex-story-inner, .apex-reach-container, .apex-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .apex-menu-list { display: none; }
  .apex-hero-overlay { background: rgba(15,42,74,0.85); justify-content: center; text-align: center; }
  .apex-hero-actions { justify-content: center; }
  .card-offset { transform: none; }
  .voice-offset { margin-top: 0; }
  .apex-footer-bottom { flex-direction: column; text-align: center; }
  .apex-tiny-disclaimer { text-align: center; }
}