/* Eclipse Works — customer-facing umbrella site v2
   Brand: Dark Green #22543D · Navy #1A202C · Lime #A3E635 · Safety Orange #F97316 · White · Steel Gray #6B7280 */

:root {
  --green: #22543D;
  --green-deep: #1A4030;
  --navy: #1A202C;
  --lime: #A3E635;
  --orange: #F97316;
  --gray: #6B7280;
  --cream: #F6F1E6;
  --sand: #EDE2CB;
  --ink: #23201A;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #FBF8F2;
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Archivo', system-ui, sans-serif; line-height: 1.15; color: var(--navy); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,242,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { height: 34px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--green); }
.nav-cta { background: var(--green); color: #fff !important; padding: 9px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--green-deep); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero { background: var(--green); color: #fff; padding: 100px 0 84px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.5vw, 58px); font-weight: 800; letter-spacing: -0.02em; max-width: 780px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 16px;
}
.section .eyebrow { color: var(--green); }
.lede {
  font-size: clamp(17px, 2.2vw, 20px); max-width: 640px;
  color: rgba(255,255,255,.88); margin: 22px 0 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: var(--navy); }
.btn-primary:hover { background: #B8F04B; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--cream); }
.section h2 { font-size: clamp(26px, 3.8vw, 38px); font-weight: 800; letter-spacing: -0.01em; max-width: 720px; }
.section h2 + .service-grid, .section h2 + .why-grid, .section h2 + .areas-grid { margin-top: 44px; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service-card {
  background: #fff; border: 1px solid var(--sand); border-radius: 14px; padding: 28px;
  text-decoration: none; display: block; transition: box-shadow .2s ease, transform .2s ease;
}
a.service-card:hover { box-shadow: 0 10px 30px rgba(26,32,44,.10); transform: translateY(-2px); }
.service-card.soon { opacity: .85; background: #FDFBF6; }
.service-card h3 { font-size: 21px; margin: 14px 0 10px; }
.service-card p { font-size: 15px; color: #4B453C; min-height: 96px; }
.status {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 12px;
}
.status-live { background: #E9F7D8; color: #3F6212; }
.status-soon { background: #FDEEDC; color: #B45309; }
.card-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--green); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.why-item h3 { font-size: 18px; margin-bottom: 10px; color: var(--green); }
.why-item p { font-size: 15px; color: #4B453C; }

/* ---------- Areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.area-card { background: #fff; border: 1px solid var(--sand); border-radius: 14px; padding: 28px; }
.area-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--green); }
.area-card p { font-size: 15px; color: #4B453C; }

/* ---------- Contact ---------- */
.section-dark { background: var(--navy); }
.section-dark h2 { color: #fff; max-width: none; }
.section-dark .section-lede { color: rgba(255,255,255,.75); }
.section-lede { font-size: 17px; max-width: 640px; margin: 16px 0 40px; }
.contact-inner { text-align: center; }
.contact-inner h2, .contact-inner .section-lede { margin-left: auto; margin-right: auto; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); padding: 36px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.wordmark-footer { height: 28px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 6px; }
.site-footer p { color: rgba(255,255,255,.6); font-size: 14px; }
.footer-markets { font-size: 13px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #FBF8F2; border-bottom: 1px solid var(--sand);
    padding: 16px 24px 20px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; }
  .nav-cta { margin-top: 8px; }
  .nav-toggle { display: block; }
  .hero { padding: 72px 0 60px; }
  .section { padding: 60px 0; }
  .service-card p { min-height: 0; }
}
