/* ==========================================================================
   ContractorServe website — shared chrome + primitives
   Loaded by every page under ui_kits/website/
   ========================================================================== */

html, body { margin: 0; padding: 0; background: var(--cs-warm-white); font-family: var(--font-body); color: var(--cs-text-dark); -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: var(--cs-navy); min-height: 68px; padding: 0 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav__inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__left { display: flex; align-items: center; gap: 40px; }
.nav__logo { height: 40px; width: 40px; display: block; }
.nav__links { display: flex; gap: 28px; }
.nav__link { color: rgba(255,255,255,0.82); font-size: 14px; font-weight: 500; padding: 6px 0; transition: color 120ms ease; }
.nav__link:hover, .nav__link.is-active { color: var(--cs-gold-light); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 8px; line-height: 1.2; transition: background 120ms ease, color 120ms ease; }
.btn--primary { background: var(--cs-gold); color: var(--cs-navy); box-shadow: 0 2px 0 rgba(27,42,74,0.08); }
.btn--primary:hover { background: var(--cs-gold-light); }
.btn--secondary { background: transparent; color: var(--cs-navy); border: 2px solid var(--cs-gold); padding: 11px 20px; }
.btn--secondary:hover { background: var(--cs-gold); }
.btn--secondary-light { background: transparent; color: #fff; border: 2px solid var(--cs-gold); padding: 11px 20px; }
.btn--secondary-light:hover { background: var(--cs-gold); color: var(--cs-navy); }
.btn--ghost-light { background: transparent; color: rgba(255,255,255,0.85); padding: 11px 20px; font-weight: 600; }
.btn--ghost-light:hover { color: var(--cs-gold-light); }

/* HERO (dark navy) */
.hero { background: var(--cs-navy); color: #fff; padding: 96px 24px 112px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--cs-gold); }
.overline { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cs-gold); margin-bottom: 20px; }

/* SECTIONS */
.sec { padding: 80px 24px; }
.sec--cream { background: var(--cs-cream); }
.sec--navy { background: var(--cs-navy); color: #fff; }
.container { max-width: 1100px; margin: 0 auto; }
.container--narrow { max-width: 820px; margin: 0 auto; }
.sec-overline { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cs-gold); margin-bottom: 16px; }
.sec-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; color: var(--cs-navy); margin: 0 0 16px; text-wrap: balance; max-width: 800px; }
.sec--navy .sec-title { color: #fff; }
.sec-sub { font-size: 18px; line-height: 1.6; color: var(--cs-text-light); max-width: 680px; margin: 0 0 48px; }
.sec--navy .sec-sub { color: rgba(255,255,255,0.75); }

/* FOOTER */
.footer { background: var(--cs-navy); color: rgba(255,255,255,0.7); padding: 56px 24px 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer__grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { height: 28px; display: block; margin-bottom: 18px; }
.footer__about { font-size: 14px; line-height: 1.6; margin: 0; max-width: 340px; }
.footer__colhead { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cs-gold); margin-bottom: 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__list a { color: rgba(255,255,255,0.75); font-size: 14px; transition: color 120ms ease; }
.footer__list a:hover { color: var(--cs-gold-light); }
.footer__bottom { max-width: 1100px; margin: 48px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.5); }

/* TOAST */
.toast { position: fixed; top: 20px; right: 20px; z-index: 100; background: var(--cs-navy); color: #fff; padding: 14px 36px 14px 20px; border-radius: 8px; box-shadow: 0 12px 32px rgba(27,42,74,0.22); font-size: 14px; max-width: 340px; border-left: 3px solid var(--cs-gold); animation: slideIn 200ms cubic-bezier(0.22,0.61,0.36,1); }
.toast__lbl { color: var(--cs-gold); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.toast__close { position: absolute; top: 8px; right: 10px; background: transparent; color: rgba(255,255,255,0.6); font-size: 16px; cursor: pointer; padding: 0; border: none; }
@keyframes slideIn { from { transform: translateY(-8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { padding: 64px 24px 72px; }
  .footer__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .sec { padding: 56px 24px; }
}
