/* ================================================================
   VMA Tax and Business Services — Shared Stylesheet
   Fonts: Playfair Display (headings) + DM Sans (body)
   Palette: Navy #1e3a5f + Gold #c79a4b
   ================================================================ */

/* ----------------------------------------------------------------
   CUSTOM PROPERTIES
---------------------------------------------------------------- */
:root {
  /* ── Brand palette ── */
  /* #687864 olive  |  #31708E dark teal  |  #5085A5 mid blue  |  #8FC1E3 sky blue  |  #F7F9FB near-white */
  --navy:        #31708E;   /* primary — nav, hero, dark sections  */
  --navy-dark:   #687864;   /* olive — footer, deepest backgrounds */
  --navy-light:  #5085A5;   /* mid blue — hover states, sub-headers */
  --gold:        #8FC1E3;   /* sky blue — accent, highlights, badges */
  --gold-light:  #B8D9EE;   /* lighter sky — hover on accent elements */
  --gold-dark:   #5085A5;   /* mid blue — text on light, darker accents */
  --white:       #FFFFFF;
  --off-white:   #F7F9FB;   /* brand near-white — page backgrounds */
  --light-gray:  #EBF4FB;   /* light blue tint — card backgrounds */
  --mid-gray:    #7A9BAD;   /* muted blue-gray — secondary text */
  --text-body:   #3D5A6A;   /* dark teal-gray — body text */
  --text-dark:   #1E3A47;   /* deepest text — headings on light BG */
  --border:      #C8DEE9;   /* soft blue border */
  --shadow-sm:   0 2px 8px rgba(49,112,142,0.08);
  --shadow:      0 4px 24px rgba(49,112,142,0.10);
  --shadow-md:   0 8px 40px rgba(49,112,142,0.14);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  0.25s ease;
  --font-display:'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:   'Inter', system-ui, sans-serif;
}

/* ----------------------------------------------------------------
   RESET
---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ----------------------------------------------------------------
   NAV
---------------------------------------------------------------- */
nav {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 9999 !important;
  height: 88px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 63px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}
.nav-logo img:hover { opacity: 0.85; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  z-index: 10000;
}
.nav-links li > a,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
}
.nav-links li > a:hover,
.nav-dropdown-toggle:hover {
  color: var(--white);
  background: rgba(255,255,255,0.09);
}

.nav-phone > a { color: var(--gold) !important; font-weight: 600 !important; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 9px 22px !important;
  border-radius: var(--radius) !important;
  margin-left: 6px;
}
.nav-cta:hover {
  background: #687864 !important;
  color: var(--white) !important;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 230px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: var(--transition);
  list-style: none;
  z-index: 10000;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown-menu li > a {
  display: block;
  padding: 10px 20px;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border-radius: 0;
  background: none;
}
.nav-dropdown-menu li > a:hover { background: var(--off-white); color: var(--navy); }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }
.dropdown-highlight { color: var(--navy) !important; font-weight: 600 !important; }

/* ----------------------------------------------------------------
   IMAGE GALLERY / CAROUSEL
---------------------------------------------------------------- */
.image-gallery {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  max-height: 820px;
  margin-top: 88px;
  overflow: hidden;
  background: var(--navy-dark);
}
.gallery-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease;
}
.gallery-slide.active img { transform: scale(1.04); }
.gallery-slide-overlay {
  position: absolute;
  inset: 0;
  /* Minimal overlay — just enough for caption text legibility at bottom */
  background: linear-gradient(
    to top,
    rgba(10,30,50,0.55) 0%,
    rgba(10,30,50,0.15) 25%,
    rgba(0,0,0,0.0) 50%
  );
}
.gallery-slide-caption {
  position: absolute;
  bottom: 80px;
  left: 64px;
  max-width: 640px;
  color: var(--white);
}
.caption-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.gallery-slide-caption h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

/* Arrows */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.gallery-arrow:hover { background: rgba(255,255,255,0.26); }
.gallery-arrow.prev { left: 24px; }
.gallery-arrow.next { right: 24px; }

/* Dots */
.gallery-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.38);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-dot.active {
  background: var(--gold);
  width: 26px;
  border-radius: 4px;
}

/* ----------------------------------------------------------------
   HERO
---------------------------------------------------------------- */
#hero {
  position: relative;
  padding: 100px 40px 80px;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2A5F79 0%, #31708E 60%, #5085A5 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-accent {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,154,75,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
}
.hero-title span {
  display: block;
  color: var(--gold);
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 50px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 32px auto 0;
  display: flex;
  gap: 0;
}
.stat-card {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.stat-card:first-child { border-left: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-top: 6px;
  display: block;
}

/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline:hover { background: #687864; border-color: #687864; color: var(--white); }

/* ----------------------------------------------------------------
   GOLD DIVIDER
---------------------------------------------------------------- */
.gold-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

/* ----------------------------------------------------------------
   SHARED SECTION LABELS / TITLES
---------------------------------------------------------------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 16px;
  color: var(--mid-gray);
  max-width: 580px;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   SERVICES OVERVIEW
---------------------------------------------------------------- */
#services {
  padding: 56px 40px;
  background: var(--off-white);
}
.services-header {
  max-width: 1200px;
  margin: 0 auto 36px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.services-header .section-sub { max-width: 480px; }

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-icon { font-size: 34px; margin-bottom: 14px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card p { font-size: 13px; color: var(--mid-gray); line-height: 1.6; margin-bottom: 16px; }
.service-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark);
  transition: var(--transition);
}
.service-more:hover { color: var(--navy); }

/* ----------------------------------------------------------------
   DETAIL SECTIONS
---------------------------------------------------------------- */
.detail-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.detail-section.reverse { grid-template-columns: 1fr 320px; }
.detail-section.reverse .detail-left  { order: 1; }
.detail-section.reverse .detail-right { order: 2; }

.detail-sidebar { padding-top: 8px; }
.detail-icon-wrap {
  font-size: 42px;
  margin-bottom: 20px;
}
.detail-tagline {
  font-size: 16px;
  color: var(--mid-gray);
  line-height: 1.6;
  margin-top: 10px;
}

.detail-items { display: flex; flex-direction: column; gap: 20px; }
.detail-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.dark-section .detail-item {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  border-left-color: var(--gold);
}
.detail-item h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.dark-section .detail-item h4 { color: var(--white); }
.detail-item p { font-size: 14px; color: var(--text-body); line-height: 1.65; }
.dark-section .detail-item p { color: rgba(255,255,255,0.72); }

/* ----------------------------------------------------------------
   DARK SECTION
---------------------------------------------------------------- */
.dark-section {
  background: #31708E;
  padding: 80px 0;
}
.dark-section .section-label { color: var(--gold); }
.dark-section .section-label::before { background: var(--gold); }
.dark-section .section-title { color: var(--white); }
.dark-section .section-sub { color: rgba(255,255,255,0.68); }
.dark-section .detail-tagline { color: rgba(255,255,255,0.65); }

/* ----------------------------------------------------------------
   TWO-COLUMN SERVICES (Business Management + Tax Overview)
---------------------------------------------------------------- */
.two-col-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.service-col h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.service-sub-items { display: flex; flex-direction: column; gap: 20px; }
.service-sub-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.sub-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}
.service-sub-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.service-sub-item p { font-size: 14px; color: rgba(255,255,255,0.68); line-height: 1.6; }

/* ----------------------------------------------------------------
   TAX SERVICES
---------------------------------------------------------------- */
#tax {
  padding: 56px 40px;
  background: var(--white);
}
.tax-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  text-align: center;
}
.tax-tracks {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.tax-track {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tax-track-header {
  background: var(--navy);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tax-track-icon { font-size: 30px; }
.tax-track-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.tax-track-header p { font-size: 14px; color: rgba(255,255,255,0.68); line-height: 1.6; }
.tax-track-body { padding: 28px 32px; }
.tax-services-list { display: flex; flex-direction: column; gap: 0; }
.tax-services-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.tax-services-list li:last-child { border-bottom: none; padding-bottom: 0; }
.tax-check {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}
.tax-service-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.tax-service-text p { font-size: 13px; color: var(--text-body); line-height: 1.6; }

/* Tax CTA Strip */
.tax-cta-strip {
  max-width: 1200px;
  margin: 48px auto 0;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.tax-cta-strip h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.tax-cta-strip p { font-size: 15px; color: rgba(255,255,255,0.68); }

/* ----------------------------------------------------------------
   QUALITY STANDARDS
---------------------------------------------------------------- */
#quality {
  padding: 48px 40px;
  background: var(--navy);
}
.quality-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  text-align: center;
}
.quality-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quality-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
}
.quality-icon { font-size: 32px; margin-bottom: 14px; }
.quality-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.quality-checks { text-align: left; display: inline-block; }
.quality-checks li {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.quality-checks li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   CTA / GET STARTED
---------------------------------------------------------------- */
#cta {
  padding: 56px 40px;
  background: var(--navy);
  text-align: center;
}
.cta-content {
  max-width: 900px;
  margin: 0 auto;
}
.cta-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 48px 0;
  flex-wrap: wrap;
}
.cta-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  font-size: 15px;
  color: var(--text-body);
  font-weight: 500;
  position: relative;
}
.cta-step + .cta-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  width: 1px;
  background: var(--border);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-footer-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--mid-gray);
}

/* ----------------------------------------------------------------
   FOOTER — 3-column layout
---------------------------------------------------------------- */
.footer-main {
  background: #0d1b2a;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
}
.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 18px;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 300px;
}
.footer-lang {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 8px;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}
.footer-contact-list a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
}
.footer-contact-list a:hover { color: var(--gold); }
.footer-hours {
  font-size: 12px !important;
  color: rgba(255,255,255,0.5) !important;
  line-height: 1.7 !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 10px;
  margin-top: 4px;
}
.footer-hours strong {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links-list a {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links-list a:hover { color: var(--gold); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 40px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* Footer img filter (logo inversion) handled by .footer-logo */

/* Tawk.to — positioned bottom LEFT via API to avoid Contact button on right */
/* CSS backup selectors */
.tawk-min-container,
.tawk-chat-container,
.tawk-button-container,
#tawk-bubble-container,
[data-id="tawk"] { left: 15px !important; right: auto !important; bottom: 20px !important; }

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 28px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

/* ----------------------------------------------------------------
   FLOATING CONTACT BUTTON
---------------------------------------------------------------- */
.contact-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(199,154,75,0.4);
  transition: var(--transition);
}
.contact-trigger:hover { background: var(--gold-light); transform: translateY(-2px); }
.trigger-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   CONTACT MODAL
---------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,40,70,0.72);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(18px);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal { transform: translateY(0); }

.modal-header {
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--mid-gray);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  line-height: 1;
}
.modal-close:hover { background: var(--light-gray); color: var(--navy); }
.modal-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.modal-header p { font-size: 14px; color: var(--mid-gray); }

.modal-body { padding: 28px 36px 36px; }

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}
.success-icon { font-size: 52px; margin-bottom: 16px; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-success p { font-size: 15px; color: var(--mid-gray); }

/* Form Fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.required { color: var(--gold-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }

/* SMS Consent */
.sms-consent {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.sms-consent-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  margin-bottom: 10px;
}
.sms-consent-label input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.sms-consent-text { font-size: 13px; color: var(--text-body); line-height: 1.55; }
.sms-consent-text strong { color: var(--navy); display: block; margin-bottom: 4px; }
.sms-legal { font-size: 11px; color: var(--mid-gray); line-height: 1.55; }

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover { background: #687864; }

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .tax-tracks    { grid-template-columns: 1fr; }
  .detail-section,
  .detail-section.reverse { grid-template-columns: 1fr; gap: 32px; }
  .detail-section.reverse .detail-left,
  .detail-section.reverse .detail-right { order: unset; }
}
@media (max-width: 860px) {
  nav { padding: 0 20px; }
  .services-header { flex-direction: column; gap: 16px; }
  .two-col-services { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .tax-cta-strip { flex-direction: column; text-align: center; }
  .hero-stats { flex-direction: column; gap: 0; }
  .stat-card { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
  .stat-card:first-child { border-top: none; }
  .gallery-slide-caption { left: 32px; right: 32px; bottom: 64px; }
  .cta-steps { flex-direction: column; align-items: center; gap: 16px; }
  .cta-step + .cta-step::before { display: none; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 640px) {
  nav { padding: 0 16px; }
  .nav-phone { display: none; }
  #hero { padding: 72px 20px 56px; }
  #services, #tax, #quality, #cta { padding: 56px 20px; }
  .detail-section, .detail-section.reverse { padding: 56px 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal-header, .modal-body { padding-left: 24px; padding-right: 24px; }
  .contact-trigger { bottom: 16px; right: 16px; }
}
@media (max-width: 420px) {
  .services-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
}

/* ----------------------------------------------------------------
   SCROLL FADE-IN (applied via JS)
---------------------------------------------------------------- */
.fade-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ---- Nav Contact Link ---- */
.nav-links #nav-contact-btn {
  background: var(--gold);
  border: none;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: var(--radius);
  padding: 8px 20px !important;
  transition: var(--transition);
}
.nav-links #nav-contact-btn:hover {
  background: #687864 !important;
  color: var(--white) !important;
}

/* ---- Logo on dark backgrounds (nav + footer) ---- */


/* footer logo filter handled by .footer-logo class */

/* ── Solid section backgrounds — block watermark bleed-through ── */
.dark-section,
#bookkeeping,
#business,
#quality,
#cta,
footer,
.tax-cta-strip,
.tax-track-header,
.sidebar-box {
  isolation: isolate;
  background-clip: padding-box;
}

/* ── Solid sections sit ABOVE the fixed watermark (z-index:1) ── */
/* nav and header excluded — nav must stay position:fixed */
.image-gallery,
#hero,
footer,
#bookkeeping,
.dark-section,
#quality,
#cta {
  position: relative;
  z-index: 2;
}

/* Header: zero height, never clips dropdown */
header {
  display: block;
  height: 0 !important;
  overflow: visible !important;
  position: static !important;
}
#nav-placeholder {
  height: 0 !important;
  overflow: visible !important;
  display: block;
}

/* ================================================================
   EDGE / CROSS-BROWSER COMPATIBILITY FIXES
================================================================ */

/* Force GPU compositing on nav to prevent Edge z-index glitches */
nav {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

/* Backdrop-filter with webkit prefix for broader support */
.modal-overlay {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Ensure gallery images render in Edge */
.gallery-slide img {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Fix filter on pseudo-elements for Edge */
.section-title::before,
.svc-title::before,
.page-hero h1::before {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* ================================================================
   GALLERY SLIDE FULL-CONTENT LAYOUT
   Replaces the simple caption with a full-width two-column layout
================================================================ */

.gallery-slide-full {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 72px;
  gap: 56px;
  z-index: 2;
}

.gallery-slide-full h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 46px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}
.gallery-slide-full h3 em {
  font-style: normal;
  color: var(--gold);
}

.gsf-left { flex: 1.2; }
.gsf-right { flex-shrink: 0; min-width: 220px; display: flex; flex-direction: column; gap: 10px; }

.gsf-sub {
  font-size: clamp(12px, 1.3vw, 16px);
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin-top: 4px;
}

/* Bullets */
.gsf-bullet {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 11px 15px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.88);
}
.gsf-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Check marks */
.gsf-check { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.gsf-ck { width: 20px; height: 20px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; flex-shrink: 0; }

/* Stats row */
.gsf-stats { flex-direction: row !important; gap: 12px; min-width: auto; }
.gsf-stat { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); border-radius: 10px; padding: 16px 18px; text-align: center; }
.gsf-stat-val { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: #fff; }
.gsf-stat-lbl { font-size: 10px; color: rgba(255,255,255,0.55); margin-top: 3px; }

/* Pills */
.gsf-pill { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.14); border-radius: 50px; padding: 9px 14px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.82); }

/* Deductions */
.gsf-ded { display: flex; align-items: center; gap: 8px; background: #EBF4FB; border-left: 3px solid var(--navy); border-radius: 6px; padding: 8px 12px; font-size: 12px; font-weight: 600; color: #2A5F7A; }

/* Big number */
.gsf-bignum { font-family: var(--font-display); font-size: clamp(64px, 8vw, 110px); font-weight: 800; color: var(--navy); line-height: 1; }
.gsf-numsub { font-family: var(--font-display); font-size: clamp(13px, 1.6vw, 20px); font-weight: 700; color: var(--navy-light); margin-top: -6px; }

/* Timeline */
.gsf-tl { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.gsf-tl:last-child { border-bottom: none; }
.gsf-tl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.gsf-tl-b4 { background: rgba(255,255,255,0.25); }
.gsf-tl-aft { background: var(--gold); }
.gsf-tl-txt { font-size: 12px; color: rgba(255,255,255,0.78); line-height: 1.4; }
.gsf-tl-txt strong { color: #fff; }

/* Promise cards */
.gsf-promise { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.15); border-radius: 9px; padding: 12px 15px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.82); font-weight: 500; line-height: 1.45; }
.gsf-promise span { font-size: 18px; flex-shrink: 0; }

/* Service grid */
.gsf-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; min-width: 200px; }
.gsf-svc { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.15); border-radius: 9px; padding: 12px 10px; text-align: center; }
.gsf-svc-icon { font-size: 18px; margin-bottom: 5px; }
.gsf-svc-name { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.3; }

/* Caption tag in new slides */
.gallery-slide-full .caption-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 4px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}

@media (max-width: 860px) {
  .gallery-slide-full { padding: 0 32px; gap: 28px; }
  .gsf-right { display: none; }
  .gallery-slide-full h3 { font-size: clamp(20px, 4vw, 36px); }
}
