/* ========================================
   Deep South Bookkeeping — V2 Industry Specialist
   Warm dark + teal + amber accent
   Personal, approachable, credential-forward
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&display=swap');

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

:root {
  --dark: #0f1923;
  --dark-2: #162029;
  --dark-3: #1d2b38;
  --teal: #2ba68a;
  --teal-light: #34c4a2;
  --amber: #e8a838;
  --amber-light: #f0bc5c;
  --white: #ffffff;
  --off-white: #f4f6f8;
  --gray-100: #e2e6ea;
  --gray-200: #c8ced4;
  --text: #374151;
  --text-light: #6b7280;
  --text-dark: #e8ecf0;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --radius: 10px;
  --btn-radius: 6px;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1120px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }

h1,h2,h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; color: var(--dark); }
h4,h5,h6 { font-family: var(--font-body); font-weight: 700; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.35rem); font-family: var(--font-body); font-weight: 700; }

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-light); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.btn { display: inline-block; padding: 13px 28px; font-family: var(--font-body); font-weight: 600; font-size: 15px; border-radius: var(--btn-radius); border: none; cursor: pointer; transition: all 0.2s; text-align: center; }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 2px 4px rgba(43,166,138,0.2); }
.btn-primary:hover { background: var(--teal-light); color: var(--white); transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: var(--amber-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.1); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--teal); color: var(--white); transform: translateY(-1px); }
.btn-outline-dark { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline-dark:hover { background: var(--teal); color: var(--white); }

/* Top Bar */
.top-bar { background: var(--dark); color: var(--text-dark); font-size: 13px; padding: 8px 0; }
.top-bar-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--text-dark); font-weight: 500; }
.top-bar a:hover { color: var(--amber); }
.top-bar .ea-badge { background: rgba(232,168,56,0.15); border: 1px solid rgba(232,168,56,0.3); padding: 3px 10px; border-radius: 4px; font-weight: 600; color: var(--amber); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; max-width: var(--max-width); margin: 0 auto; }
.logo-text { font-family: var(--font-heading); font-size: 1.2rem; color: var(--dark); line-height: 1.1; }
.logo-text span { display: block; font-family: var(--font-body); font-size: 0.65rem; font-weight: 500; color: var(--text-light); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { font-weight: 500; font-size: 15px; color: var(--text); }
.nav a:hover { color: var(--teal); }
.nav a.active { color: var(--teal); }
.nav .btn { padding: 10px 20px; font-size: 14px; }
.mobile-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--dark); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); padding: 110px 24px 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 48px; align-items: center; max-width: var(--max-width); margin: 0 auto; }
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 em { color: var(--amber); font-style: normal; }
.hero p { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 24px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-trust-item { text-align: center; }
.hero-trust-item .number { font-family: var(--font-heading); font-size: 1.8rem; color: var(--amber); }
.hero-trust-item .label { font-size: 0.75rem; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px; }
.hero-image img { border-radius: var(--radius); width: 100%; }

/* Sections */
.section { padding: 72px 0; }
.section-dark { background: var(--dark); color: var(--text-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-gray { background: var(--off-white); }
.section-teal { background: var(--teal); color: var(--white); }
.section-teal h2 { color: var(--white); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p { max-width: 560px; margin: 0 auto; color: var(--text-light); }
.section-label { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--teal); margin-bottom: 6px; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--card-shadow); border: 1px solid var(--gray-100); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.card-icon { width: 44px; height: 44px; background: rgba(43,166,138,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.93rem; color: var(--text-light); line-height: 1.7; }

/* Industry Cards */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.industry-item { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 20px; text-align: center; font-weight: 600; font-size: 0.85rem; transition: all 0.2s; }
.industry-item:hover { border-color: var(--teal); background: rgba(43,166,138,0.04); }
.industry-emoji { font-size: 1.8rem; display: block; margin-bottom: 8px; }

/* Steps */
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--amber); color: var(--white); font-weight: 700; font-size: 1.1rem; border-radius: 50%; margin-bottom: 14px; }

/* Two Col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col-text h2 { margin-bottom: 14px; }
.two-col-text p { margin-bottom: 12px; }
.two-col-img img { border-radius: var(--radius); box-shadow: var(--card-shadow); width: 100%; object-fit: cover; }

/* EA Callout */
.ea-callout { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%); border-radius: var(--radius); padding: 36px; display: flex; gap: 24px; align-items: center; }
.ea-icon { width: 64px; height: 64px; background: rgba(232,168,56,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.ea-callout h3 { color: var(--amber); margin-bottom: 6px; }
.ea-callout p { color: var(--text-dark); font-size: 0.93rem; }

/* Review CTA */
.review-cta { background: var(--off-white); border: 2px dashed var(--gray-200); border-radius: var(--radius); padding: 32px; text-align: center; }
.review-cta h3 { margin-bottom: 8px; }
.review-cta p { color: var(--text-light); margin-bottom: 16px; font-size: 0.93rem; }

/* Services */
.service-detail { background: var(--white); border-radius: var(--radius); padding: 36px; margin-bottom: 20px; box-shadow: var(--card-shadow); border: 1px solid var(--gray-100); border-left: 4px solid var(--teal); }
.service-detail h3 { margin-bottom: 4px; }
.service-detail .subtitle { font-size: 0.9rem; color: var(--text-light); margin-bottom: 14px; }
.service-detail ul { list-style: none; padding: 0; margin: 14px 0; }
.service-detail ul li { padding: 5px 0 5px 22px; position: relative; font-size: 0.93rem; }
.service-detail ul li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--dark); }
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--teal); }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; color: var(--text-light); font-size: 0.93rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--btn-radius); font-family: var(--font-body); font-size: 15px; margin-bottom: 14px; transition: border-color 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43,166,138,0.08); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 0.85rem; color: var(--dark); }
.contact-info-card { background: var(--off-white); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; border: 1px solid var(--gray-100); }
.contact-info-card h3 { margin-bottom: 18px; }
.contact-info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-info-item .icon { width: 36px; height: 36px; background: var(--teal); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; color: var(--white); }

/* CTA */
.cta-banner { text-align: center; padding: 48px 24px; }
.cta-banner h2 { margin-bottom: 10px; }
.cta-banner p { max-width: 520px; margin: 0 auto 24px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Page Header */
.page-header { background: var(--dark); padding: 110px 0 48px; text-align: center; }
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header p { max-width: 520px; margin: 0 auto; color: var(--text-dark); }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 48px 0 20px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer h4 { color: var(--white); margin-bottom: 12px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.footer a { color: rgba(255,255,255,0.6); }
.footer a:hover { color: var(--amber); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.35); }

.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); gap: 14px; border-top: 1px solid var(--gray-100); }
  .mobile-toggle { display: block; }
  .hero { padding: 90px 24px 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { order: -1; }
  .hero-trust { flex-wrap: wrap; gap: 16px; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .ea-callout { flex-direction: column; text-align: center; }
  .hero-buttons, .cta-buttons { flex-direction: column; }
}
