/* ============================================
   Commander Spectacular Consulting Corp.
   ============================================ */

:root{
  --dark: #0c0d10;
  --dark-2: #131519;
  --gold: #c9a25c;
  --gold-light: #e2c78c;
  --gold-deep: #a9803f;
  --cream: #ffffff;
  --off-white: #f8f7f4;
  --text-body: #59595c;
  --text-dark: #17181b;
  --border-soft: #e7e4dd;
  --maple: #b5442e;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--serif); color: var(--text-dark); margin:0; font-weight:600; }

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn .arrow{ transition: transform 0.25s ease; }
.btn:hover .arrow{ transform: translateX(4px); }

.btn-gold{
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  color: #241a05;
}
.btn-gold:hover{ filter: brightness(1.08); }

.btn-outline-white{
  border-color: rgba(255,255,255,0.6);
  color:#fff;
}
.btn-outline-white:hover{ background: rgba(255,255,255,0.08); }

.btn-outline-gold{
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline-gold:hover{ background: rgba(201,162,92,0.1); }

.btn-small{ padding: 10px 20px; font-size: 0.7rem; }

/* ---------- Eyebrow / titles ---------- */
.eyebrow{
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 14px;
}
.eyebrow-center{ text-align:center; }
.section-title{ font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 50px; }
.section-title.center{ text-align:center; }
.section-title.light{ color:#fff; }

/* ============ HEADER ============ */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(201,162,92,0.25);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-shrink:0;
}
.logo-mark{ display:flex; }
.logo-text{ display:flex; flex-direction:column; line-height:1.15; }
.logo-line1{
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color:#fff;
  font-weight:600;
}
.logo-line2{
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight:500;
  margin-top:2px;
}

.main-nav ul{
  display:flex;
  align-items:center;
  gap: 34px;
}
.main-nav a{
  color: #d9d9dc;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  display:flex;
  align-items:center;
  gap:6px;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a:hover, .main-nav .current a{ color: var(--gold); }
.main-nav .current a{ border-bottom: 2px solid var(--gold); }
.main-nav .has-dropdown{ position: relative; }
.dropdown{
  position:absolute;
  top: calc(100% + 14px);
  left:0;
  background: var(--dark-2);
  min-width: 240px;
  border: 1px solid rgba(201,162,92,0.2);
  padding: 10px 0;
  opacity:0;
  visibility:hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
}
.has-dropdown:hover .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a{ padding: 10px 22px; text-transform:none; letter-spacing:0.02em; }
.dropdown a:hover{ background: rgba(201,162,92,0.08); }

.nav-toggle{ display:none; background:none; border:none; flex-direction:column; gap:5px; cursor:pointer; padding:6px; }
.nav-toggle span{ width:24px; height:2px; background:var(--gold); display:block; }

/* ============ HERO ============ */
.hero{
  position: relative;
  background: radial-gradient(ellipse at 70% 30%, #1a1d24 0%, #0c0d10 60%);
  overflow: hidden;
  padding: 120px 0 130px;
}
.hero-bg{ position:absolute; inset:0; }
.compass-watermark{
  position:absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}
.skyline{
  position:absolute;
  right:0;
  bottom:0;
  width:55%;
  height: 70%;
  opacity: 0.9;
}
.hero-inner{ position:relative; z-index:2; max-width: 640px; }
.hero .eyebrow{ color: var(--gold-light); }
.hero h1{
  color:#fff;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero-rule{ width:70px; height:2px; background: var(--gold); margin-bottom: 26px; }
.hero-copy{
  color: #c7c8cd;
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions{ display:flex; gap:18px; flex-wrap:wrap; }

/* ============ SERVICES ============ */
.services{ padding: 110px 0; background: var(--cream); }
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.service-card{
  border: 1px solid var(--border-soft);
  background:#fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,15,20,0.08); }
.service-media{
  position: relative;
  height: 180px;
}
.service-icon{
  position:absolute;
  left:26px;
  bottom:-28px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:#fff;
  border: 1px solid var(--gold);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.service-body{ padding: 46px 30px 34px; }
.service-body h3{ font-size: 1.35rem; margin-bottom: 16px; line-height:1.3; }
.service-body .divider{ display:block; width: 36px; height:2px; background: var(--gold); margin-bottom:18px; }
.service-body p{ font-size: 0.92rem; margin-bottom: 22px; }
.learn-more{
  color: var(--gold-deep);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.learn-more:hover{ color: var(--maple); }
.learn-more .arrow{ transition: transform 0.2s ease; }
.learn-more:hover .arrow{ transform: translateX(4px); }

/* ============ WHY CHOOSE US ============ */
.why-us{
  background: var(--dark);
  padding: 100px 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(201,162,92,0.06), transparent 40%),
                     radial-gradient(circle at 85% 80%, rgba(201,162,92,0.05), transparent 40%);
}
.why-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}
.why-item{
  text-align:center;
  padding: 0 12px;
  border-left: 1px solid rgba(201,162,92,0.18);
}
.why-item:first-child{ border-left:none; }
.why-item svg{ margin-bottom: 20px; }
.why-item h3{
  color:#fff;
  font-size: 1rem;
  font-family: var(--sans);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.why-item p{ color:#a9aab0; font-size: 0.85rem; margin:0; }

/* ============ PROCESS ============ */
.process{ padding: 110px 0 100px; background: var(--cream); }
.process-track{
  position: relative;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.process-line{
  position:absolute;
  top:24px;
  left: 10%;
  right:10%;
  height:1px;
  background: repeating-linear-gradient(to right, var(--gold) 0, var(--gold) 6px, transparent 6px, transparent 12px);
  z-index:0;
}
.process-step{ position:relative; z-index:1; text-align:center; padding: 0 10px; }
.step-num{
  width: 48px;
  height:48px;
  border-radius:50%;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 0 auto 22px;
  background:#fff;
}
.process-step h3{ font-size: 1.1rem; margin-bottom: 12px; }
.process-step p{ font-size: 0.85rem; }

/* ============ CTA BAND ============ */
.cta-band{
  background: var(--dark);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  position: relative;
  overflow:hidden;
}
.cta-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr 1.2fr auto;
  align-items:center;
  gap: 40px;
  padding: 60px 40px;
}
.cta-star{ position:absolute; right: 30px; top:50%; transform: translateY(-50%); opacity:0.7; }
.cta-text h2{ color:#fff; font-size: clamp(1.6rem,2.6vw,2.1rem); border-left: 3px solid var(--gold); padding-left: 22px; }
.cta-copy{ color:#c7c8cd; font-size: 0.95rem; margin:0; }
.cta-inner .btn{ justify-self: start; }

/* ============ FOOTER ============ */
.site-footer{ background: var(--dark); padding-top: 60px; }
.footer-inner{
  display:flex;
  flex-wrap:wrap;
  justify-content: space-between;
  align-items:center;
  gap: 30px;
  padding-bottom: 40px;
}
.footer-logo .logo-line1{ color:#fff; }
.footer-contact{
  display:flex;
  align-items:center;
  gap: 34px;
  flex-wrap:wrap;
}
.footer-item{
  display:flex;
  align-items:center;
  gap:10px;
  color:#c7c8cd;
  font-size: 0.85rem;
}
.footer-item a:hover{ color: var(--gold); }
.social-icon{
  width:34px; height:34px;
  border:1px solid var(--gold);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.footer-bottom{ border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom-inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  font-size: 0.78rem;
  color: #83848a;
}
.footer-bottom-inner a:hover{ color: var(--gold); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px){
  .main-nav{ display:none; width:100%; order:3; }
  .main-nav.nav-open{
    display:block;
    background: var(--dark-2);
    border-top: 1px solid rgba(201,162,92,0.2);
    margin-top: 14px;
  }
  .main-nav.nav-open ul{ flex-direction:column; align-items:flex-start; gap:0; padding: 10px 0; }
  .main-nav.nav-open ul > li{ width:100%; }
  .main-nav.nav-open a{ padding: 12px 6px; width:100%; }
  .main-nav.nav-open .dropdown{ position:static; opacity:1; visibility:visible; transform:none; border:none; padding-left:14px; background:transparent; }
  .header-inner{ flex-wrap:wrap; }
  .nav-toggle{ display:flex; }
  .header-inner .btn-small{ display:none; }
  .services-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-item{ border-left:none; border-top:1px solid rgba(201,162,92,0.18); padding-top: 26px; }
  .why-item:first-child{ border-top:none; }
  .process-track{ grid-template-columns: 1fr; gap: 40px; }
  .process-line{ display:none; }
  .cta-inner{ grid-template-columns: 1fr; text-align:left; }
  .cta-inner .btn{ justify-self:start; }
}

@media (max-width: 640px){
  .container{ padding: 0 22px; }
  .hero{ padding: 90px 0 90px; }
  .hero-actions{ flex-direction:column; align-items:flex-start; }
  .footer-inner{ flex-direction:column; align-items:flex-start; }
  .footer-contact{ flex-direction:column; align-items:flex-start; gap:16px; }
  .footer-bottom-inner{ flex-direction:column; align-items:flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
