/*
 * jw2026.css — J.Wavro Associates shared design system
 * Navy/steel palette, type, buttons, nav, footer, section/card styles.
 * Extracted from homepage-mock.php (approved 2026-09-28).
 * Include AFTER bootstrap and modern-style.css.
 * Do NOT use on live pages until Step 2 cutover is approved.
 */

/* ── Reset / base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Georgia', serif; color: #1a1a1a; background: #fff; }
a { color: #455878; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Site nav ────────────────────────────────────────────────────────────── */
.site-nav {
  background: #111827; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.site-nav .nav-logo img {
  width: auto !important;
  height: 44px !important;
  max-height: 44px !important;
}
.site-nav .nav-links {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
}
.site-nav .nav-links a { color: #d1d5db; font-size: 14px; font-family: sans-serif; }
.site-nav .nav-links a:hover { color: #fff; text-decoration: none; }
.site-nav .nav-phone { color: #9ca3af; font-size: 14px; font-family: sans-serif; white-space: nowrap; }
.site-nav .nav-phone a { color: #9ca3af; }
.site-nav .nav-phone a:hover { color: #fff; }
@media (max-width: 768px) {
  .site-nav .nav-links { display: none; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; width: 100%;
  min-height: 360px; height: 45vh; max-height: 540px;
  display: flex; align-items: flex-start;
  background-size: cover; background-repeat: no-repeat;
  background-position: center bottom;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.18) 40%,
    rgba(0,0,0,0.52) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding: 32px 48px 32px;
  max-width: 700px;
}
.hero-eyebrow {
  font-family: sans-serif; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.82);
  margin-bottom: 16px;
}
.hero-headline {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700; color: #fff; line-height: 1.1;
  margin: 0 0 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.88);
  line-height: 1.65; max-width: 520px;
  margin-bottom: 32px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .hero-content { padding: 36px 24px 32px; }
  .hero-eyebrow { font-size: 12px; }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-jw-primary {
  display: inline-block;
  background: #455878; color: #fff;
  padding: 13px 28px; border-radius: 4px;
  font-family: sans-serif; font-size: 15px; font-weight: 600;
}
.btn-jw-primary:hover { background: #374863; color: #fff; text-decoration: none; }

.btn-jw-ghost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.75); color: #fff;
  padding: 11px 26px; border-radius: 4px;
  font-family: sans-serif; font-size: 15px; font-weight: 600;
}
.btn-jw-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }

.btn-jw-outline {
  display: inline-block;
  border: 2px solid #455878; color: #455878;
  padding: 12px 28px; border-radius: 4px;
  font-family: sans-serif; font-size: 15px; font-weight: 600;
}
.btn-jw-outline:hover { background: #455878; color: #fff; text-decoration: none; }

/* Legacy mock aliases (keep so homepage-mock.php aliases still work) */
.btn-primary-mock { display: inline-block; background: #455878; color: #fff; padding: 13px 28px; border-radius: 4px; font-family: sans-serif; font-size: 15px; font-weight: 600; }
.btn-primary-mock:hover { background: #374863; color: #fff; text-decoration: none; }
.btn-ghost-mock { display: inline-block; border: 2px solid rgba(255,255,255,0.75); color: #fff; padding: 11px 26px; border-radius: 4px; font-family: sans-serif; font-size: 15px; font-weight: 600; }
.btn-ghost-mock:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }
.btn-secondary-mock { display: inline-block; border: 2px solid #455878; color: #455878; padding: 12px 28px; border-radius: 4px; font-family: sans-serif; font-size: 15px; font-weight: 600; }
.btn-secondary-mock:hover { background: #455878; color: #fff; text-decoration: none; }

/* ── Service-area strip ──────────────────────────────────────────────────── */
.area-strip {
  background: #111827; color: #9ca3af;
  text-align: center; padding: 14px 24px;
  font-family: sans-serif; font-size: 13px; letter-spacing: 0.04em;
}
.area-strip .areas { color: #d1d5db; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.area-sep { margin: 0 10px; opacity: 0.4; }

/* ── Section shared ──────────────────────────────────────────────────────── */
.section { padding: 48px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: sans-serif; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #455878; margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(22px, 3.2vw, 32px); font-weight: 700;
  color: #111827; line-height: 1.2; margin: 0 0 16px;
}
.section-sub {
  font-size: 17px; color: #4b5563; line-height: 1.7;
  max-width: 640px; margin-bottom: 40px;
}

/* ── Service cards ───────────────────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-bottom: 0;
}
.service-card {
  border: 1px solid #e5e7eb; border-radius: 6px;
  padding: 32px 28px;
}
.service-card-tag {
  font-family: sans-serif; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #455878; margin-bottom: 10px;
}
.service-card h3 { font-size: 20px; color: #111827; margin: 0 0 12px; }
.service-card p { font-size: 15px; color: #4b5563; line-height: 1.65; margin: 0 0 24px; }
.service-card a.card-cta {
  font-family: sans-serif; font-size: 14px; font-weight: 600;
  color: #455878; display: inline-flex; align-items: center; gap: 6px;
}
.service-card a.card-cta::after { content: '\2192'; }
a.card-cta {
  font-family: sans-serif; font-size: 14px; font-weight: 600;
  color: #455878; display: inline-flex; align-items: center; gap: 6px;
}
a.card-cta::after { content: '\2192'; }

.secondary-links {
  font-family: sans-serif; font-size: 14px; color: #6b7280; margin: 8px 0 0;
}
.secondary-links a { color: #455878; margin-right: 20px; }

/* ── Team section ────────────────────────────────────────────────────────── */
.section-services { padding-bottom: 12px; }
.team-section { background: #f9fafb; padding-top: 28px; padding-bottom: 28px; }
.team-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.team-inner .section-heading { font-size: clamp(22px, 3.5vw, 34px); }
.team-inner .section-sub { max-width: 560px; margin: 0 auto 32px; }

/* ── Contact section ─────────────────────────────────────────────────────── */
.contact-section { background: #111827; padding-top: 40px; padding-bottom: 40px; }
.contact-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-inner .section-heading { color: #f9fafb; }
.contact-inner .section-sub { color: #9ca3af; max-width: none; }
.contact-phone {
  font-size: clamp(32px, 6vw, 56px); font-weight: 700;
  color: #fff; letter-spacing: -0.02em; margin: 0 0 12px;
  display: block;
}
.contact-phone a { color: #fff; }
.contact-phone a:hover { color: #d1d5db; text-decoration: none; }
.contact-address { font-family: sans-serif; font-size: 15px; color: #9ca3af; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.jw-footer {
  background: #0d1117; color: #6b7280;
  padding: 48px 24px 28px;
  font-family: sans-serif; font-size: 13px;
}
/* Legacy alias */
.mock-footer { background: #0d1117; color: #6b7280; padding: 48px 24px 28px; font-family: sans-serif; font-size: 13px; }

.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand { margin-bottom: 6px; }
.footer-brand a { display: inline-block; max-width: 220px; }
.footer-brand img {
  display: block;
  width: auto !important;
  height: 32px !important;
  max-width: 220px !important;
  max-height: 32px !important;
  margin-bottom: 10px;
}
.footer-legal { color: #4b5563; margin-bottom: 20px; line-height: 1.7; }
.footer-links { margin-bottom: 24px; }
.footer-links a { color: #6b7280; margin-right: 18px; }
.footer-links a:hover { color: #d1d5db; }
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 16px; color: #374151; }
.footer-eho { display: inline-block; margin-right: 16px; vertical-align: middle; }
.footer-eho img { height: 28px; vertical-align: middle; }

@media (max-width: 768px) {
  .section { padding: 32px 20px; }
  .section-services { padding-bottom: 8px; }
  .team-section { padding-top: 20px; padding-bottom: 20px; }
  .team-inner .section-sub { margin: 0 auto 20px; }
  .contact-section { padding-top: 28px; padding-bottom: 28px; }
  .jw-footer { padding: 28px 20px 20px; }
  .footer-brand a { max-width: 160px; }
  .footer-brand img {
    height: 26px !important;
    max-height: 26px !important;
    max-width: 160px !important;
  }
  .site-nav .nav-logo img {
    height: 36px !important;
    max-height: 36px !important;
  }
}

/* -- Mobile nav toggle -- */
.site-nav { position: relative; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  margin-left: auto;
  margin-right: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #d1d5db;
  margin: 5px 0;
}
.nav-phone-item { display: none; list-style: none; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav > .nav-phone { display: none; }
  .nav-phone-item { display: list-item; }
  .site-nav .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 64px;
    background: #111827;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    border-top: 1px solid #1f2937;
    z-index: 50;
  }
  .site-nav.is-open .nav-links { display: flex; }
  .site-nav .nav-links li { border-bottom: 1px solid #1f2937; }
  .site-nav .nav-links a {
    display: block;
    padding: 12px 24px;
    color: #e5e7eb;
  }
}
