/* ==========================================================================
   Copy Shop Putney — Global Site Styles (unified branding, strong override)
   Loaded after inline <style> so source order wins; !important where needed.
   ========================================================================== */

:root {
  --brand-green-dark: #022c22;
  --brand-green-mid:  #047857;
  --brand-green-95:   rgba(2, 44, 34, 0.95);
  --brand-green-90:   rgba(4, 120, 87, 0.9);
  --brand-gold:       #fbbf24;
  --brand-cream:      #e8dfa8;
  --text-light:       #ecfdf5;
  --text-mint:        #d1fae5;
  --font-primary:     'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base body (force consistent dark green across all pages) ---------- */
html { scroll-behavior: smooth; }
html, body {
  font-family: var(--font-primary) !important;
  background: var(--brand-green-dark) !important;
  color: var(--text-light) !important;
  line-height: 1.7 !important;
  margin: 0;
  padding: 0;
}

/* ---------- HERO: unified across ALL pages ---------- */
.hero,
div.hero,
section.hero {
  background: linear-gradient(135deg, var(--brand-green-95) 0%, var(--brand-green-90) 100%) !important;
  color: #ffffff !important;
  padding: 100px 20px !important;
  text-align: center !important;
  position: relative;
  overflow: hidden;
  animation: fadeInDown 0.6s ease;
  border-bottom: 1px solid rgba(242, 237, 194, 0.2);
}

.hero h1 {
  font-size: 2.8em !important;
  line-height: 1.2 !important;
  margin: 0 0 15px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-cream) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-family: var(--font-primary) !important;
}

.hero p,
.hero .hero-content p {
  font-size: 1.2em !important;
  color: var(--text-mint) !important;
  opacity: 1 !important;
  max-width: 800px;
  margin: 0 auto !important;
  font-family: var(--font-primary) !important;
  font-weight: 400 !important;
}

@media (max-width: 768px) {
  .hero { padding: 60px 20px !important; }
  .hero h1 { font-size: 1.9em !important; }
  .hero p { font-size: 1em !important; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  font-size: 0.9em;
  color: var(--text-light) !important;
  font-family: var(--font-primary) !important;
}
.breadcrumb a { color: var(--brand-gold) !important; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Header / Nav ---------- */
header {
  background: rgba(6, 78, 59, 0.95) !important;
  backdrop-filter: blur(12px);
}
header h1 {
  font-family: var(--font-primary) !important;
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-cream) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.logo-text-main { color: var(--brand-gold) !important; }
.logo-text-sub { color: var(--text-light) !important; }

nav a { color: #ffffff !important; font-family: var(--font-primary) !important; }
nav a:hover { color: var(--brand-gold) !important; }

/* ---------- Headings / body text ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary) !important;
  color: var(--text-light);
  letter-spacing: -0.01em;
}
.section-title {
  color: var(--brand-gold) !important;
  text-align: center;
}
p, li, span, div { font-family: var(--font-primary); }

/* ---------- Links in body text ---------- */
a { color: var(--brand-gold); }
a:hover { color: var(--brand-cream); }

/* ---------- CTA buttons ---------- */
.cta-button, a.cta-button, .btn-primary {
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-cream) 100%) !important;
  color: var(--brand-green-dark) !important;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700 !important;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary) !important;
}
.cta-button:hover, a.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.35);
}

/* ---------- Footer ---------- */
footer {
  background: var(--brand-green-dark) !important;
  color: var(--text-mint) !important;
  font-family: var(--font-primary) !important;
}
footer a { color: var(--brand-gold) !important; }
footer h3 { color: var(--brand-gold) !important; }

/* ---------- Cards unified (service-card, feature-box, stat-card, value-card) ---------- */
.service-card, .feature-box, .stat-card, .value-card, .highlight-box, .price-card {
  font-family: var(--font-primary) !important;
}
.service-card h3, .feature-box h3, .feature-box h4, .value-card h3 {
  color: var(--brand-gold) !important;
}

/* ---------- Contact-section / bottom CTA ---------- */
.contact-section {
  background: linear-gradient(135deg, var(--brand-green-95) 0%, var(--brand-green-90) 100%) !important;
}

/* ==========================================================================
   PAGE-SPECIFIC READABILITY FIXES (text/bg contrast)
   ========================================================================== */

/* Pricing page: force white cards so the dark green text is readable */
.pricing-section,
.quote-section {
  background: #ffffff !important;
  color: #022c22 !important;
  border: 1px solid rgba(251, 191, 36, 0.35) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}
.pricing-section h2,
.pricing-section h3,
.pricing-section p,
.pricing-section li,
.quote-section h2,
.quote-section p {
  color: #022c22 !important;
}
.pricing-section h2 {
  border-bottom: 3px solid var(--brand-gold) !important;
}
.pricing-table th {
  background: linear-gradient(135deg, var(--brand-green-dark) 0%, var(--brand-green-mid) 100%) !important;
  color: var(--brand-gold) !important;
}
.pricing-table td {
  color: #022c22 !important;
  border-bottom: 1px solid rgba(4, 120, 87, 0.15) !important;
}
.price {
  color: var(--brand-green-mid) !important;
  font-weight: 700 !important;
  font-size: 1.15em;
}
.discount-badge {
  background: var(--brand-gold) !important;
  color: var(--brand-green-dark) !important;
}
.highlight-box {
  background: rgba(251, 191, 36, 0.08) !important;
  border-left: 5px solid var(--brand-gold) !important;
  color: var(--text-light) !important;
}
.highlight-box h3 {
  color: var(--brand-gold) !important;
}
.highlight-box p, .highlight-box li {
  color: var(--text-light) !important;
}

/* FAQ page — answers/questions */
.faq-item {
  background: #ffffff !important;
  color: #022c22 !important;
}
.faq-item h3, .faq-item .question, .faq-item p, .faq-item li {
  color: #022c22 !important;
}

/* About / services pages — unify .section + .value-card to white cards */
.section {
  background: #ffffff !important;
  color: #022c22 !important;
  border: 1px solid rgba(251, 191, 36, 0.2) !important;
}
.section h2, .section h3, .section h4, .section p, .section li, .section strong {
  color: #022c22 !important;
}
.section h2 {
  color: #022c22 !important;
  border-bottom: 2px solid var(--brand-gold) !important;
  padding-bottom: 8px;
}
.section a { color: var(--brand-green-mid) !important; }
.section a:hover { color: var(--brand-gold) !important; }

.value-card {
  background: #ffffff !important;
  color: #022c22 !important;
  border: 1px solid rgba(251, 191, 36, 0.15) !important;
}
.value-card h3 { color: var(--brand-green-mid) !important; }
.value-card p, .value-card li { color: #022c22 !important; }

/* About page .highlight-box (different from pricing page one) */
.about-page .highlight-box,
body.page-about .highlight-box {
  background: #ffffff !important;
  color: #022c22 !important;
}

/* Generic .highlight-box text readability on dark bg */
.highlight-box h3 {
  color: var(--brand-gold) !important;
}

/* Policy pages (privacy/data): white content blocks */
.policy-section {
  background: #ffffff !important;
  color: #022c22 !important;
}
.policy-section h2, .policy-section h3, .policy-section p, .policy-section li {
  color: #022c22 !important;
}

/* ---------- STICKY SIDEBAR (service pages) ---------- */
@media (min-width: 900px) {
  .content-wrapper {
    align-items: start !important;
  }
  .content-wrapper > .sidebar,
  .content-wrapper .sidebar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 100px !important;
    align-self: start !important;
    height: fit-content !important;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-gold) transparent;
    z-index: 10;
  }
  .content-wrapper .sidebar::-webkit-scrollbar { width: 6px; }
  .content-wrapper .sidebar::-webkit-scrollbar-track { background: transparent; }
  .content-wrapper .sidebar::-webkit-scrollbar-thumb {
    background: var(--brand-gold);
    border-radius: 3px;
  }
}

/* Contact page form */
.contact-card, .form-card {
  background: #ffffff !important;
  color: #022c22 !important;
}
.contact-card h2, .contact-card h3, .contact-card p, .contact-card label {
  color: #022c22 !important;
}
input, textarea, select {
  color: #022c22 !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(4, 120, 87, 0.3) !important;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-gold) !important;
}
