/* ========================================
   Brad Maple, CPA — Professional CPA Design
   Navy + White + Gold accent
   Clean, authoritative, trust-forward
   ======================================== */

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

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

:root {
  --navy: #1a2e44;
  --navy-light: #243b55;
  --green: #2d6a4f;
  --green-light: #40916c;
  --gold: #c9952d;
  --gold-light: #e0b654;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-50: #f0f2f5;
  --gray-100: #e4e7ec;
  --gray-200: #c5cad3;
  --gray-600: #5a6578;
  --gray-800: #2d3748;
  --text: #374151;
  --text-light: #6b7280;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
  --radius: 8px;
  --radius-lg: 12px;
  --btn-radius: 6px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1140px;
}

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: 700;
  line-height: 1.2;
  color: var(--navy);
}
h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.35rem); }

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green); }

img { max-width: 100%; height: auto; display: block; }

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

/* ── Buttons ── */
.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 ease;
  text-align: center;
  letter-spacing: 0.2px;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(45,106,79,0.2);
}
.btn-primary:hover {
  background: var(--green-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(45,106,79,0.25);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(201,149,45,0.2);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-1px);
}

/* ── Top Bar ── */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  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: rgba(255,255,255,0.9); font-weight: 500; }
.top-bar a:hover { color: var(--gold); }
.top-bar .phone-link { font-weight: 700; font-size: 14px; letter-spacing: 0.3px; }

/* ── Header / Nav ── */
.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);
  transition: box-shadow 0.3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo img { height: 42px; width: auto; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.logo-text span { display: block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; color: var(--text-light); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
}
.nav a:hover { color: var(--green); }
.nav a.active { color: var(--green); font-weight: 600; }
.nav .btn { padding: 10px 22px; font-size: 14px; }
.mobile-toggle {
  display: none;
  background: none; border: none;
  font-size: 26px; cursor: pointer;
  color: var(--navy);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero-text { position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 24px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-credential {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--btn-radius);
  padding: 8px 14px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-photo {
  position: relative;
  z-index: 1;
}
.hero-photo img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}

/* ── Sections ── */
.section { padding: 72px 0; }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.8); }
.section-gray { background: var(--gray-50); }
.section-green { background: var(--green); color: var(--white); }
.section-green h2 { color: var(--white); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p { max-width: 580px; margin: 0 auto; color: var(--text-light); font-size: 1.05rem; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 8px;
}

/* ── Cards Grid ── */
.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);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--gray-100);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}
.card-icon {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--white);
}
.card h3 { margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; }
.card p { font-size: 0.93rem; color: var(--text-light); }

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

/* ── Stats ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.82rem; color: var(--text-light); font-weight: 500; }

/* ── Two Column ── */
.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-lg);
  box-shadow: var(--card-shadow);
  width: 100%;
  object-fit: cover;
}

/* ── Testimonials ── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--gold);
}
.testimonial-card p { font-style: italic; margin-bottom: 14px; font-size: 0.95rem; line-height: 1.7; color: var(--text); }
.testimonial-author { font-weight: 700; font-size: 0.85rem; color: var(--navy); }
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }

/* ── Google Review Badge ── */
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 10px 18px;
  box-shadow: var(--card-shadow);
}
.review-badge .stars { margin: 0; font-size: 1rem; }
.review-badge-text { font-size: 0.85rem; color: var(--text); font-weight: 600; }
.review-badge-sub { font-size: 0.75rem; color: var(--text-light); }

/* ── Services Detail ── */
.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(--green);
}
.service-detail h3 { margin-bottom: 4px; font-family: var(--font-body); }
.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; color: var(--text); }
.service-detail ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); 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(--navy);
}
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--green); transition: transform 0.2s; }
.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(--green);
  box-shadow: 0 0 0 3px rgba(45,106,79,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(--navy); }
.contact-form .checkbox-row { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.contact-form .checkbox-row input { width: auto; margin: 0; }
.contact-info-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
  border: 1px solid var(--gray-100);
}
.contact-info-card h3 { margin-bottom: 18px; font-family: var(--font-body); }
.contact-info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-info-item .icon {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px; color: var(--white);
}

/* ── CTA Banner ── */
.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(--navy);
  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: rgba(255,255,255,0.7); font-size: 1.05rem; }

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  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.9rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 1px; }
.footer a { color: rgba(255,255,255,0.65); }
.footer a:hover { color: var(--gold); }
.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.4);
}

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

/* ── Responsive ── */
@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; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 280px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; margin-top: -32px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .hero-buttons { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
