/* ============================================================
   A&A Tax and Accounting Group LLC — Main Stylesheet
   Design: Minimal · Business · Contemporary
   ============================================================ */

/* ── 1. Variables & Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #7c2d3e;
  --navy-mid:   #9c3a4e;
  --navy-light: #b84d63;
  --gold:       #c9a080;
  --gold-light: #d4b090;
  --gold-pale:  rgba(201,160,128,0.12);
  --cream:      #faf7f2;
  --white:      #FFFFFF;
  --border:     #e8e0d4;
  --text:       #1a1208;
  --text-mid:   #3d2c1e;
  --text-muted: #6b5b4e;
  --text-light: #a09080;
  --bg-light:   #f3ede4;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --section-pad: 100px;
  --radius:      2px;
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:      0 4px 24px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 40px rgba(0,0,0,0.11);
  --shadow-lg:   0 20px 64px rgba(0,0,0,0.15);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: var(--transition); }
ul  { list-style: none; }
button { font-family: var(--font-sans); }

/* ── 2. Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── 3. Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
}

.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ── 4. Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,160,128,0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg { padding: 17px 42px; font-size: 14px; }

/* ── 5. Navigation ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.logo-mark {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}
.logo-mark .amp { color: var(--gold); }
.navbar.scrolled .logo-mark { color: var(--navy); }

.logo-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.navbar.scrolled .logo-sub { color: var(--text-muted); }

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.navbar.scrolled .nav-link { color: var(--text-muted); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--navy);
  background: var(--bg-light);
}

.nav-cta {
  margin-left: 14px;
  padding: 9px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: var(--radius);
  border: 1px solid transparent;
}
.nav-cta:hover {
  background: transparent !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  transform: translateY(-1px);
}
.navbar.scrolled .nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-color: var(--navy) !important;
}
.navbar.scrolled .nav-cta:hover {
  background: var(--navy-mid) !important;
  border-color: var(--navy-mid) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6. Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 60%, rgba(156,58,78,0.85) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 15%, rgba(201,160,128,0.07) 0%, transparent 55%),
    linear-gradient(140deg, #7c2d3e 0%, #9c3a4e 55%, #7c2d3e 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 130px;
  padding-bottom: 80px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.eyebrow-line {
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 26px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
  gap: 0;
}
.hero-stat {
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { border-right: none; }

.stat-val {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── 7. Sections ─────────────────────────────────────────────── */
.section          { padding: var(--section-pad) 0; }
.section-light    { background: var(--bg-light); }
.section-dark     { background: var(--navy); }
.section-cream    { background: var(--cream); }

/* gold divider line */
.gold-rule {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 28px 0;
}
.gold-rule.center { margin-left: auto; margin-right: auto; }

/* ── 8. Service Cards ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
/* Homepage: 3-col layout, cards wrap naturally to 3+2 */
.services-grid-home {
  grid-template-columns: repeat(3, 1fr);
}

/* Services page panels — fixed columns per card count */
#panel-individuals .services-grid  { grid-template-columns: repeat(2, 1fr); }
#panel-tax .services-grid          { grid-template-columns: repeat(3, 1fr); }
#panel-industries .services-grid   { grid-template-columns: repeat(3, 1fr); }
#panel-quickbooks .services-grid   { grid-template-columns: repeat(3, 1fr); }
#panel-business .services-grid     { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card p { flex: 1; }
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 20px;
}

.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.service-card a.card-link, .service-card span.card-link { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.service-card a.card-link:hover, .service-card span.card-link:hover { color: var(--gold); }

.card-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.card-link .arrow {
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.card-link:hover { color: var(--gold); }
.card-link:hover .arrow { transform: translateX(5px); }

/* ── 9. Features / Why Us ────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 2px solid var(--border);
}

.feature {
  background: var(--cream);
  padding: 52px 40px;
  text-align: center;
}

.feature-num {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 8px;
}

.feature h3 { font-size: 20px; margin-bottom: 14px; }
.feature p  { font-size: 15px; color: var(--text-muted); line-height: 1.72; }

/* ── 10. About Split ─────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}
.about-visual-main {
  aspect-ratio: 4/5;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-visual-main .monogram {
  font-family: var(--font-serif);
  font-size: 160px;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  user-select: none;
  letter-spacing: -8px;
  line-height: 1;
}
.about-badge {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 168px; height: 168px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.about-badge-num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.about-badge-txt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 4px;
  max-width: 100px;
  line-height: 1.4;
}

.about-list { margin: 28px 0 36px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
}
.about-list li .check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold);
}

/* ── 11. Locations ───────────────────────────────────────────── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.location-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.location-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--gold);
}
.location-state {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.location-phone {
  font-size: 13.5px;
  color: rgba(255,255,255,0.62);
  line-height: 1.85;
}

.locations-intl {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.intl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
}
.intl-text {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  line-height: 1.6;
}

/* ── 12. CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 90px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── 13. Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 156px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
}

.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--gold); }

.page-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  color: var(--white);
  margin-bottom: 0;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  line-height: 1.75;
  margin-top: 16px;
}

/* ── 14. Services Page ───────────────────────────────────────── */
.services-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 60px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.services-nav::-webkit-scrollbar { display: none; }
.svc-tab {
  flex-shrink: 0;
  padding: 16px 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.svc-tab:hover { color: var(--navy); background: var(--bg-light); }
.svc-tab.active {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 3px solid var(--gold);
  background: rgba(124, 45, 62, 0.04);
}

.svc-panel { display: none; }
.svc-panel.active { display: block; animation: fadeUp 0.35s ease; }

.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
}
.svc-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.svc-visual {
  aspect-ratio: 1;
  background: linear-gradient(140deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.05);
}
.svc-visual-icon {
  font-family: var(--font-serif);
  font-size: 120px;
  font-weight: 700;
  user-select: none;
  line-height: 1;
}

/* ── Services Hub (Option B) ─────────────────────────────────── */
.svc-hub-header {
  padding: 48px 0 36px;
}
.svc-hub-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 740px;
  margin: 0 auto 36px;
  text-align: center;
}
/* Fixed-column grids: prevent orphan cards */
.svc-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 2px solid var(--border);
}
.svc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 2px solid var(--border);
}
.svc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 2px solid var(--border);
}
/* "Also available" strip */
.svc-more {
  border-top: 1px solid var(--border);
  margin-top: 2px;
  padding: 28px 0 8px;
}
.svc-more-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}
.svc-more-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
}
.svc-more-link {
  font-size: 14px;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.svc-more-link:nth-child(odd) { border-right: 1px solid var(--border); }
.svc-more-link:hover { color: var(--navy); background: var(--bg-light); }
.svc-more-link::before {
  content: '→';
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
}
.svc-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid var(--navy);
  transition: all 0.2s;
  margin-top: 32px;
}
.svc-view-all:hover {
  background: var(--navy);
  color: var(--cream);
}

/* ── 15. Tax Center ──────────────────────────────────────────── */
.tax-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tax-card {
  border: 1px solid var(--border);
  padding: 40px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tax-card p { flex: 1; }
.tax-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.tax-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.tax-card:hover::before { transform: scaleY(1); }

.tax-card-icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 20px; }
.tax-card h3   { font-size: 18px; margin-bottom: 10px; }
.tax-card p    { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.tax-card a    { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.tax-card a:hover { color: var(--gold); }

/* ── 16. Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact-side h2  { font-size: 28px; margin-bottom: 12px; }
.contact-side > p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 44px; }

.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
}
.contact-item-icon {
  width: 42px;
  height: 42px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-item-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-item-val {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.85;
}

/* ── 17. Contact Form ────────────────────────────────────────── */
.contact-form {
  background: var(--white);
  padding: 48px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.form-title { font-size: 22px; margin-bottom: 6px; }
.form-desc  { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group       { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  appearance: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,160,128,0.18);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='none' stroke='%236B7280' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* honeypot — hidden from humans */
.hp { display: none !important; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.form-submit:hover:not(:disabled) {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,45,62,0.28);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.6;
}
.form-msg.success {
  display: block;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.form-msg.error {
  display: block;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* ── 18. Footer ──────────────────────────────────────────────── */
.footer { background: var(--navy); }

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 270px;
  margin-top: 16px;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-item { margin-bottom: 16px; }
.footer-contact-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.footer-contact-val {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-bottom {
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
}
.footer-bottom a:hover { color: var(--gold); }

/* ── 19. Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ── 20. Dropdown Navigation ─────────────────────────────────── */
.dropdown { position: relative; }

.dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  text-decoration: none;
  -webkit-appearance: none;
}

/* Desktop: hover-triggered, fade + slide up */
.dropdown-menu {
  display: flex;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  z-index: 2000;
  padding: 22px 24px;
  gap: 24px;
  min-width: 760px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
/* invisible hover bridge — prevents gap from dismissing menu */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu-sm {
  min-width: 200px;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
}

.dropdown-col { display: flex; flex-direction: column; gap: 0; min-width: 115px; }

.dropdown-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 0 7px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--border);
}

.dropdown-link {
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color 0.14s, padding-left 0.14s;
  display: block;
}
.dropdown-link:hover { color: var(--navy); padding-left: 5px; }

.dropdown-menu-sm .dropdown-link {
  padding: 9px 20px;
  font-size: 13.5px;
}
.dropdown-menu-sm .dropdown-link:hover {
  background: var(--bg-light);
  color: var(--navy);
  padding-left: 20px;
}

/* ── 21. Tax Due Dates ───────────────────────────────────────── */
.due-dates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.due-date-item {
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 24px 28px;
  border-radius: var(--radius);
}
.due-date-month {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.due-date-list {
  list-style: disc;
  padding-left: 18px;
}
.due-date-list li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 3px 0;
}

/* ── 22. Tax Rate Tables ─────────────────────────────────────── */
.rates-grid { gap: 32px; }

.tax-rate-table { background: var(--bg-light); padding: 32px; border-radius: var(--radius); }

.rate-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.rate-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 12px;
  border-bottom: 2px solid var(--border);
}
.rate-table td {
  padding: 10px 12px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.rate-table tr:last-child td { border-bottom: none; }
.rate-table tr:hover td { background: rgba(201,160,128,0.06); }

/* ── 23. Record Retention ────────────────────────────────────── */
.retention-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.retention-card {
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius);
}
.retention-period {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

/* ── 24. Pricing ─────────────────────────────────────────────── */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-featured {
  border-color: var(--gold);
  border-top: 4px solid var(--gold);
}
.pricing-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.pricing-tier {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 52px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price span { font-size: 18px; color: var(--text-muted); }
.pricing-term {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── 25. Map ─────────────────────────────────────────────────── */
.locations-map-legend { margin-top: 20px; }
.map-state-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.map-state-item {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 6px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-state-item::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

/* ── 26. Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .about-split  { grid-template-columns: 1fr; gap: 60px; }
  .svc-detail   { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .about-badge  { width: 148px; height: 148px; }
  .about-badge-num { font-size: 36px; }
  .svc-featured-grid,
  .svc-grid-3 { grid-template-columns: 1fr 1fr; }
  #panel-individuals .services-grid,
  #panel-tax .services-grid,
  #panel-industries .services-grid,
  #panel-quickbooks .services-grid { grid-template-columns: 1fr 1fr; }
  #panel-business .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .container { padding: 0 20px; }

  /* Mobile nav */
  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 1000;
  }
  .nav-menu.open { display: flex; }
  .nav-link {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
  }
  .nav-link:hover { background: none; color: var(--gold); }
  .nav-cta { margin-left: 0; font-size: 14px; padding: 12px 32px; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-title { font-size: clamp(38px, 10vw, 56px); }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-stat  { padding: 0; border: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  /* Grids */
  .services-grid,
  .features-grid,
  .locations-grid,
  .tax-grid { grid-template-columns: 1fr; }
  .svc-featured-grid,
  .svc-grid-3 { grid-template-columns: 1fr; }
  #panel-individuals .services-grid,
  #panel-tax .services-grid,
  #panel-industries .services-grid,
  #panel-quickbooks .services-grid,
  #panel-business .services-grid { grid-template-columns: 1fr; }
  .svc-grid-2 { grid-template-columns: 1fr; }
  .svc-more-links { grid-template-columns: 1fr; }
  .svc-more-link:nth-child(odd) { border-right: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }

  .about-badge { display: none; }

  .page-hero { padding: 120px 0 60px; }
  .hero-stats { padding-top: 32px; }

  /* Dropdowns on mobile — toggle-based */
  .dropdown-menu { display: none !important; position: static; transform: none !important; opacity: 1 !important; pointer-events: auto !important; min-width: unset; box-shadow: none; border: none; border-left: 3px solid var(--gold); margin: 8px 0 8px 16px; padding: 8px 16px; }
  .dropdown.open .dropdown-menu { display: flex !important; flex-direction: column; gap: 4px; }
  .dropdown-col { min-width: unset; }
  .dropdown-label { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.1); }
  .dropdown-link { color: rgba(255,255,255,0.75); padding: 6px 0; }
  .dropdown-link:hover { background: none; color: var(--gold); padding-left: 0; }
  .dropdown-toggle { color: rgba(255,255,255,0.85); background: none; border: none; font-size: 18px; }

  .due-dates-grid { grid-template-columns: 1fr; }
  .retention-grid { grid-template-columns: 1fr; }
  .rates-grid { grid-template-columns: 1fr !important; }
  .pricing-grid { grid-template-columns: 1fr !important; }
}
