/* ═══════════════════════════════════════════════════════════════
   CULLIS AI - Shared Stylesheet
   Brand: Navy primary, green accent (from logo), DM Serif Display + DM Sans
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand colors */
  --navy: #1B2A4A;
  --navy-deep: #111D35;
  --navy-light: #253A5E;

  /* Green palette (replaces gold; matched to new logo flame) */
  --green: #5BA831;
  --green-light: #7BC44D;
  --green-pale: #E8F5DC;
  --green-deep: #3D7821;

  /* Neutrals */
  --cream: #FAF8F3;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-300: #D5D5D5;
  --gray-400: #999999;
  --gray-600: #666666;
  --gray-800: #333333;
  --text-dark: #1A1A1A;

  /* Service accent palette (preserved from original site) */
  --accent-cle: #2E7D6B;
  --accent-cle-bg: rgba(46, 125, 107, 0.08);
  --accent-ew: #8B4D6B;
  --accent-ew-bg: rgba(139, 77, 107, 0.08);
  --accent-consult: var(--green-deep);
  --accent-consult-bg: rgba(61, 120, 33, 0.08);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --section-pad: 80px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── ANIMATIONS ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-fade-up { opacity: 0; animation: fadeUp 0.8s ease-out forwards; }
.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.30s; }
.anim-delay-3 { animation-delay: 0.45s; }
.anim-delay-4 { animation-delay: 0.60s; }
.anim-delay-5 { animation-delay: 0.75s; }

/* ── NAV BAR ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(27, 42, 74, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91, 168, 49, 0.18);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.01em;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green-light); }
.nav-contact-btn {
  background: var(--green);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, transform 0.2s ease;
}
.nav-contact-btn:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 168, 49, 0.28);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
}
.btn-on-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.25s, transform 0.2s;
}
.btn-on-light:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-arrow { transition: transform 0.25s; }
.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow,
.btn-on-light:hover .btn-arrow { transform: translateX(3px); }

/* ── SECTION TAGS / TITLES ─────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 16px;
}
.section-tag::before,
.section-tag::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--green);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Green divider strip */
.green-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--green), var(--navy));
}

/* ── HERO (shared) ─────────────────────────────────── */
.hero {
  padding-top: 72px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(91, 168, 49, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(91, 168, 49, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, rgba(17, 29, 53, 0.3) 0%, transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 100px; right: -80px;
  width: 400px; height: 400px;
  border: 1px solid rgba(91, 168, 49, 0.10);
  border-radius: 50%;
  pointer-events: none;
}

/* Standard page hero (interior pages) */
.page-hero {
  padding: 132px 0 72px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(91, 168, 49, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, rgba(17, 29, 53, 0.3) 0%, transparent 40%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
}
.page-hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--green-light);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 800px;
}
.page-hero-title em { font-style: italic; color: var(--green-light); }
.page-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 720px;
}

/* ── VETERAN OWNED BADGE ───────────────────────────── */
.vosb-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(91, 168, 49, 0.12);
  border: 1px solid rgba(91, 168, 49, 0.35);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--green-light);
  text-transform: uppercase;
}
.vosb-badge svg {
  width: 16px; height: 16px;
  stroke: var(--green-light);
  fill: none;
  stroke-width: 2;
}
.vosb-badge.on-light {
  background: var(--green-pale);
  border-color: rgba(91, 168, 49, 0.45);
  color: var(--green-deep);
}
.vosb-badge.on-light svg { stroke: var(--green-deep); }

/* Full VOSB callout block (for home page section) */
.vosb-callout {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.vosb-callout::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(91, 168, 49, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.vosb-callout-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.vosb-icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(91, 168, 49, 0.15);
  border: 2px solid rgba(91, 168, 49, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vosb-icon svg {
  width: 44px; height: 44px;
  stroke: var(--green-light);
  fill: none;
  stroke-width: 1.8;
}
.vosb-text-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 10px;
}
.vosb-text-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.vosb-text-body {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

/* ── SERVICE CARDS (homepage) ──────────────────────── */
.services { padding: var(--section-pad) 0; background: var(--cream); }
.services-header { text-align: center; margin-bottom: 56px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px 36px;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(27, 42, 74, 0.10), 0 4px 12px rgba(27, 42, 74, 0.06);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--card-bg, var(--green-pale));
}
.card-icon svg {
  width: 28px; height: 28px;
  stroke: var(--card-accent, var(--green));
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.card-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}
.card-highlights { list-style: none; margin-bottom: 28px; }
.card-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.card-highlights li svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  stroke: var(--card-accent, var(--green));
  fill: none;
  stroke-width: 2.5;
  margin-top: 2px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  transition: color 0.25s, gap 0.25s;
}
.card-link svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.25s;
}
.service-card:hover .card-link { color: var(--card-accent, var(--green)); }
.service-card:hover .card-link svg { transform: translateX(4px); }

.service-card.card-cle    { --card-accent: var(--accent-cle);    --card-bg: var(--accent-cle-bg); }
.service-card.card-ew     { --card-accent: var(--accent-ew);     --card-bg: var(--accent-ew-bg); }
.service-card.card-consult { --card-accent: var(--accent-consult); --card-bg: var(--accent-consult-bg); }

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 28px;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--green-light); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img { height: 48px; width: auto; background: var(--white); padding: 4px; border-radius: 6px; }
.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 340px;
}
.footer-vosb { margin-bottom: 8px; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color 0.25s; }
.footer-bottom a:hover { color: var(--green-light); }
.footer-legal-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ── PROSE PAGES (Terms / Privacy) ─────────────────── */
.prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 24px;
}
.prose h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.prose .updated {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 14px;
}
.prose h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 10px;
}
.prose p {
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.75;
  margin-bottom: 16px;
}
.prose ul, .prose ol {
  margin: 12px 0 20px 24px;
  color: var(--gray-800);
}
.prose li { margin-bottom: 8px; line-height: 1.7; }
.prose strong { color: var(--navy); }
.prose a { color: var(--green-deep); border-bottom: 1px solid var(--green-pale); transition: border-color 0.25s; }
.prose a:hover { border-bottom-color: var(--green); }
.prose .callout {
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}
.prose .callout p { margin-bottom: 0; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .vosb-callout-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .vosb-icon { margin: 0 auto; }
}
@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy-deep);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(91, 168, 49, 0.18);
  }
  .nav-logo-text { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 110px 0 56px; }
}
@media (max-width: 480px) {
  .btn-primary, .btn-secondary, .btn-on-light { width: 100%; justify-content: center; }
}
