/* ============================================
   TBM COVERALL-INSPIRED THEME
   Shared styles across all pages
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --cv-green: #00a651;
  --cv-green-dark: #008a43;
  --cv-green-light: #e8f5ee;
  --cv-navy: #0f1b2d;
  --cv-navy-light: #1a2a42;
  --cv-text: #4a5568;
  --cv-heading: #1a202c;
  --cv-gray-bg: #f7fafc;
  --cv-border: #e2e8f0;
}

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--cv-text); overflow-x: hidden; }

/* --- TOP BAR --- */
.top-bar { background: var(--cv-navy); color: rgba(255,255,255,0.85); padding: 0.625rem 0; font-size: 0.8125rem; font-weight: 500; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.top-bar a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.2s; }
.top-bar a:hover { color: #fff; }
.top-bar-left, .top-bar-right { display: flex; gap: 1.5rem; align-items: center; }
@media (max-width: 640px) {
  .top-bar .container { justify-content: center; text-align: center; }
  .top-bar-left, .top-bar-right { gap: 0.75rem; font-size: 0.75rem; }
}

/* --- PAGE HERO (internal pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--cv-navy) 0%, var(--cv-navy-light) 50%, #0d2137 100%);
  padding: 5rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(0,166,81,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}
.page-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-hero .breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: white; }

/* --- SECTION STYLES --- */
.cv-section { padding: 5rem 0; }
.cv-section.bg-gray { background: var(--cv-gray-bg); }
.cv-section-header { text-align: center; margin-bottom: 3.5rem; }
.cv-section-header .overline {
  display: inline-block;
  background: var(--cv-green-light);
  color: var(--cv-green);
  padding: 0.375rem 1rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.cv-section-header h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--cv-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.cv-section-header p {
  font-size: 1.125rem;
  color: var(--cv-text);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- CARDS --- */
.cv-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--cv-border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cv-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); border-color: transparent; }
.cv-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--cv-heading); margin-bottom: 0.75rem; }
.cv-card p { color: var(--cv-text); line-height: 1.7; font-size: 0.9375rem; }

/* --- ICON BOX --- */
.cv-icon { width: 56px; height: 56px; background: var(--cv-green-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.cv-icon svg { width: 28px; height: 28px; color: var(--cv-green); }

/* --- BUTTONS --- */
.cv-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: 8px; font-size: 1rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer; transition: all 0.3s;
}
.cv-btn-primary { background: var(--cv-green); color: white; box-shadow: 0 4px 14px rgba(0,166,81,0.35); }
.cv-btn-primary:hover { background: var(--cv-green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,166,81,0.45); color: white; }
.cv-btn-secondary { background: transparent; color: var(--cv-green); border: 2px solid var(--cv-green); }
.cv-btn-secondary:hover { background: var(--cv-green); color: white; }
.cv-btn-white { background: white; color: var(--cv-green); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.cv-btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); color: var(--cv-green-dark); }
.cv-btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.cv-btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; color: white; }

/* --- CTA BANNER --- */
.cv-cta {
  background: linear-gradient(135deg, var(--cv-green) 0%, var(--cv-green-dark) 100%);
  padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
}
.cv-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%); pointer-events: none; }
.cv-cta .container { position: relative; z-index: 1; }
.cv-cta h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 800; color: white; margin-bottom: 1rem; }
.cv-cta p { font-size: 1.125rem; color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; }
.cv-cta .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- FOOTER --- */
.footer-cv { background: var(--cv-navy); color: rgba(255,255,255,0.8); padding: 4rem 0 0; }
.footer-cv-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1400px; margin: 0 auto; padding: 0 2rem 3rem; }
.footer-cv-brand p { margin-top: 1rem; font-size: 0.9375rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-cv-brand .logo-text { font-size: 1.375rem; font-weight: 800; color: white; }
.footer-cv-brand .logo-text span { color: var(--cv-green); }
.footer-cv-col h4 { color: white; font-size: 0.9375rem; font-weight: 700; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-cv-col ul { list-style: none; padding: 0; margin: 0; }
.footer-cv-col li { margin-bottom: 0.625rem; }
.footer-cv-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9375rem; transition: color 0.2s; }
.footer-cv-col a:hover { color: white; }
.footer-cv-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 2rem; text-align: center; font-size: 0.8125rem; color: rgba(255,255,255,0.45); max-width: 1400px; margin: 0 auto; }
@media (max-width: 900px) { .footer-cv-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) { .footer-cv-grid { grid-template-columns: 1fr; } }

/* --- FORMS --- */
.cv-form { max-width: 700px; margin: 0 auto; }
.cv-form-group { margin-bottom: 1.5rem; }
.cv-form-label { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--cv-heading); margin-bottom: 0.5rem; }
.cv-form-input, .cv-form-select, .cv-form-textarea {
  width: 100%; padding: 0.875rem 1rem; font-size: 1rem; font-family: inherit;
  color: var(--cv-text); background: white; border: 2px solid var(--cv-border);
  border-radius: 8px; transition: all 0.2s; min-height: 48px;
}
.cv-form-input:focus, .cv-form-select:focus, .cv-form-textarea:focus {
  outline: none; border-color: var(--cv-green); box-shadow: 0 0 0 3px rgba(0,166,81,0.1);
}
.cv-form-textarea { min-height: 140px; resize: vertical; }
.cv-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .cv-form-row { grid-template-columns: 1fr; } }

/* --- FAQ ACCORDION --- */
.cv-faq-item { background: white; border: 1px solid var(--cv-border); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; transition: box-shadow 0.3s; }
.cv-faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.cv-faq-question {
  width: 100%; padding: 1.25rem 1.5rem; background: none; border: none;
  font-size: 1.0625rem; font-weight: 700; color: var(--cv-heading); text-align: left;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: inherit; transition: color 0.2s;
}
.cv-faq-question:hover { color: var(--cv-green); }
.cv-faq-question .arrow { transition: transform 0.3s; font-size: 1.25rem; color: var(--cv-green); flex-shrink: 0; margin-left: 1rem; }
.cv-faq-item.open .cv-faq-question .arrow { transform: rotate(180deg); }
.cv-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.cv-faq-item.open .cv-faq-answer { max-height: 600px; }
.cv-faq-answer-inner { padding: 0 1.5rem 1.5rem; color: var(--cv-text); line-height: 1.7; }

/* --- PRICING CARDS --- */
.cv-pricing-card {
  background: white; border-radius: 12px; padding: 2.5rem 2rem;
  border: 1px solid var(--cv-border); text-align: center; transition: all 0.35s;
  position: relative;
}
.cv-pricing-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); border-color: transparent; }
.cv-pricing-card.featured { border: 2px solid var(--cv-green); }
.cv-pricing-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--cv-green); color: white; padding: 0.375rem 1.25rem;
  border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; white-space: nowrap;
}
.cv-pricing-card .price { font-size: 2.25rem; font-weight: 800; color: var(--cv-green); margin: 1rem 0 0.25rem; }
.cv-pricing-card .price-note { font-size: 0.875rem; color: var(--cv-text); margin-bottom: 1.5rem; }
.cv-pricing-card ul { list-style: none; padding: 0; margin: 0 0 2rem; text-align: left; }
.cv-pricing-card li { padding: 0.5rem 0; border-bottom: 1px solid var(--cv-border); color: var(--cv-text); font-size: 0.9375rem; display: flex; align-items: center; gap: 0.5rem; }
.cv-pricing-card li svg { width: 16px; height: 16px; color: var(--cv-green); flex-shrink: 0; }

/* --- GRID HELPERS --- */
.cv-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.cv-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cv-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 900px) { .cv-grid-3, .cv-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cv-grid-2, .cv-grid-3, .cv-grid-4 { grid-template-columns: 1fr; } }

/* --- REVEAL ANIMATION --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- MISC --- */
.cv-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.cv-container-narrow { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
.cv-text-center { text-align: center; }
.cv-mt-4 { margin-top: 2.5rem; }
.cv-mb-4 { margin-bottom: 2.5rem; }
.navbar { position: sticky; top: 0; z-index: 100; }
