/* ============================================================
   RESILIENT CONSULTING GROUP LLC - Complete Stylesheet
   Unified brand palette matching both RCG and RFD logos
   ============================================================ */

/* ===== CSS RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2B2B2B;
  line-height: 1.6;
  background: #FFFFFF;
}

/* ===== BRAND VARIABLES ===== */
:root {
  --brand-brown: #553C2E;
  --brand-sage: #8A9A7B;
  --brand-blue: #A8C5D6;
  --brand-cream: #F3F1EC;
  --brand-warm-cream: #FAF7F0;
  --brand-dark: #2B2B2B;
  --brand-gray: #6B6B6B;
  --brand-light-gray: #E5E5E5;
  --white: #FFFFFF;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  color: var(--brand-brown);
  font-weight: 600;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 1rem; }
h2 { font-size: 2rem; line-height: 1.3; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; line-height: 1.4; margin-bottom: 0.75rem; color: var(--brand-sage); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; color: var(--brand-dark); }
a { color: var(--brand-brown); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--brand-sage); }
ul { list-style: none; }
.tagline {
  font-style: italic;
  color: var(--brand-sage);
  letter-spacing: 1px;
}

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; }
.section-cream { background: var(--brand-cream); }
.section-warm-cream { background: var(--brand-warm-cream); }
.text-center { text-align: center; }

/* ===== HEADER / NAVIGATION ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--brand-light-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.site-logo img { height: 60px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav > li {
  position: relative;
  padding: 0 22px;
}
.main-nav > li:not(:last-child)::after {
  content: "|";
  color: var(--brand-sage);
  opacity: 0.5;
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 300;
}
.main-nav a {
  color: var(--brand-brown);
  font-weight: 500;
  letter-spacing: 0.3px;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.main-nav .has-dropdown::after-arrow {
  content: " ▼";
  font-size: 0.7rem;
  margin-left: 4px;
}
.dropdown-arrow {
  font-size: 0.6rem;
  margin-left: 4px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--brand-light-gray);
  border-radius: 4px;
  min-width: 240px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: none;
  margin-top: 8px;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li { padding: 0; }
.dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
}
.dropdown a:hover { background: var(--brand-cream); }

.btn-header {
  background: var(--brand-brown);
  color: var(--white) !important;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: background 0.2s ease;
  margin-left: 1rem;
}
.btn-header:hover { background: var(--brand-sage); }

/* ===== HERO SECTION ===== */
.hero {
  background: var(--brand-warm-cream);
  padding: 6rem 0 5rem;
  text-align: center;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}
.hero .tagline-large {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--brand-sage);
  margin-bottom: 1.5rem;
  letter-spacing: 1.5px;
}
.hero p {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: var(--brand-dark);
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand-brown);
  color: var(--white) !important;
}
.btn-primary:hover { background: #3F2D22; color: var(--white) !important; }
.btn-secondary {
  background: var(--brand-sage);
  color: var(--white) !important;
}
.btn-secondary:hover { background: #6E7F62; color: var(--white) !important; }
.btn-outline {
  background: transparent;
  color: var(--brand-brown) !important;
  border: 2px solid var(--brand-brown);
}
.btn-outline:hover { background: var(--brand-brown); color: var(--white) !important; }

/* ===== TWO DIVISIONS SECTION ===== */
.divisions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}
.division-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--brand-light-gray);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.division-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(85, 60, 46, 0.1);
}
.division-card h2 {
  color: var(--brand-brown);
  margin-bottom: 0.3rem;
}
.division-card .division-tagline {
  color: var(--brand-sage);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.division-card p { margin-bottom: 1.5rem; }
.division-card .we-serve {
  text-align: left;
  margin: 1.5rem 0;
}
.division-card .we-serve strong {
  color: var(--brand-brown);
  display: block;
  margin-bottom: 0.5rem;
}
.division-card .we-serve ul li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.division-card .we-serve ul li::before {
  content: "✓";
  color: var(--brand-sage);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ===== THREE COLUMN FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.feature-card {
  text-align: center;
  padding: 2rem 1rem;
}
.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--brand-sage);
}
.feature-card h3 {
  color: var(--brand-brown);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* ===== PROMISES SECTION ===== */
.promises-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.promise {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--brand-warm-cream);
  border-left: 4px solid var(--brand-sage);
  border-radius: 4px;
}
.promise-num {
  color: var(--brand-sage);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.promise-text {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brand-brown);
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ===== PRICING TIER CARDS ===== */
.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}
.pricing-card {
  background: var(--brand-cream);
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.pricing-card:hover {
  border-color: var(--brand-sage);
  transform: translateY(-4px);
}
.pricing-card.warm { background: var(--brand-warm-cream); }
.pricing-card .price-tag {
  font-size: 5rem;
  font-weight: 700;
  color: var(--brand-brown);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.pricing-card h2 {
  color: var(--brand-brown);
  margin-bottom: 0.3rem;
}
.pricing-card .price-sub {
  color: var(--brand-sage);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.pricing-card ul {
  text-align: left;
  margin: 1.5rem auto;
  max-width: 280px;
}
.pricing-card ul li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
}
.pricing-card ul li::before {
  content: "✓";
  color: var(--brand-sage);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.comparison-table th {
  background: var(--brand-brown);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--brand-light-gray);
}
.comparison-table tr:last-child td {
  background: var(--brand-sage);
  color: var(--white);
  font-weight: 600;
}
.comparison-table tr:nth-child(even) td {
  background: var(--brand-cream);
}
.comparison-table tr:last-child:nth-child(even) td {
  background: var(--brand-sage);
}

/* ===== FAQ SECTION ===== */
.faq-item {
  background: var(--white);
  border-left: 4px solid var(--brand-sage);
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}
.faq-item h3 {
  color: var(--brand-brown);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

/* ===== ONBOARDING TIMELINE ===== */
.timeline {
  max-width: 800px;
  margin: 3rem auto 0;
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brand-sage);
}
.timeline-step {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 2rem;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 8px;
  width: 18px;
  height: 18px;
  background: var(--brand-sage);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--brand-sage);
}
.timeline-step h3 {
  color: var(--brand-brown);
  margin-bottom: 0.5rem;
}

/* ===== FORM ===== */
.contact-form {
  max-width: 700px;
  margin: 2rem auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--brand-light-gray);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--brand-brown);
  font-weight: 500;
  font-size: 0.95rem;
}
.form-group label .required { color: #C0504D; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid var(--brand-light-gray);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--brand-warm-cream);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-sage);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.radio-group label {
  display: inline-block;
  margin-right: 1.5rem;
  font-weight: normal;
  color: var(--brand-dark);
}
.form-privacy {
  font-size: 0.85rem;
  color: var(--brand-gray);
  font-style: italic;
  margin-top: 1rem;
}

/* ===== CONTACT INFO BOX ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-info-item {
  background: var(--brand-cream);
  padding: 1.5rem;
  text-align: center;
  border-radius: 4px;
}
.contact-info-item strong {
  display: block;
  color: var(--brand-brown);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contact-info-item span { color: var(--brand-dark); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--brand-brown);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: var(--brand-cream);
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.footer-col img { height: 80px; margin-bottom: 1rem; filter: brightness(0) invert(1) opacity(0.9); }
.footer-col p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.footer-col ul li {
  padding: 0.3rem 0;
}
.footer-col ul a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-col ul a:hover { color: var(--brand-cream); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}
.footer-bottom p { color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }

/* ===== PAGE TITLE BANNER ===== */
.page-banner {
  background: var(--brand-warm-cream);
  padding: 4rem 0;
  text-align: center;
}
.page-banner h1 { margin-bottom: 0.5rem; }
.page-banner .tagline-large {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--brand-sage);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== SERVICE CATEGORY BLOCKS ===== */
.service-category {
  margin-bottom: 2.5rem;
}
.service-category h3 {
  color: var(--brand-brown);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand-sage);
}
.service-category ul {
  padding-left: 1.5rem;
}
.service-category ul li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}
.service-category ul li::before {
  content: "→";
  color: var(--brand-sage);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ===== WHO WE SERVE BLOCK ===== */
.audience-block {
  background: var(--white);
  border-left: 4px solid var(--brand-sage);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}
.audience-block h3 {
  color: var(--brand-brown);
  margin-bottom: 0.5rem;
}

/* ===== EXAMPLE MATH BOX ===== */
.scenario-box {
  background: var(--brand-warm-cream);
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid var(--brand-sage);
  margin-bottom: 2rem;
}
.scenario-box h3 { color: var(--brand-brown); margin-bottom: 1rem; }
.scenario-box ul { padding-left: 1rem; }
.scenario-box ul li { padding: 0.3rem 0; }
.scenario-box .savings {
  background: var(--brand-sage);
  color: var(--white);
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  font-style: italic;
  font-weight: 600;
}

/* ===== RESPONSIVE / MOBILE ===== */
@media (max-width: 968px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; }
  .hero h1 { font-size: 2.3rem; }
  .hero .tagline-large { font-size: 1.1rem; }
  .divisions-grid,
  .features-grid,
  .promises-grid,
  .pricing-tiers,
  .contact-info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  section { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }
  .pricing-card .price-tag { font-size: 4rem; }
}

/* ===== UTILITY ===== */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.intro-text {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--brand-dark);
}
