/* ════════════════════════════════════════════════════════
   NV ACCOUNTANTS — Shared Stylesheet
   ════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────── */
:root {
  --navy:        #0C1B3A;
  --navy-mid:    #142248;
  --navy-light:  #1E3060;
  --gold:        #C9963A;
  --gold-light:  #E2B55A;
  --gold-pale:   #F5E9D3;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --text-body:   #3A3A3A;
  --text-muted:  #7A7A7A;
  --border:      rgba(201,150,58,0.2);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --transition:   0.35s cubic-bezier(0.4,0,0.2,1);
  --shadow-card:  0 8px 40px rgba(12,27,58,0.1);
  --shadow-hover: 0 20px 60px rgba(12,27,58,0.18);
  --max-w:        1200px;
}

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

/* ── Layout ────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }

/* ── Typography helpers ─────────────────────────────── */
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.section-tag::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500; line-height: 1.15; color: var(--navy);
}
.section-heading span { color: var(--gold); font-style: italic; }
.section-heading.light { color: var(--white); }
.section-sub {
  font-size: 1rem; line-height: 1.75; color: var(--text-muted);
  max-width: 560px; margin-top: 18px;
}
.section-sub.light { color: rgba(255,255,255,0.55); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 36px; font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer; transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: var(--navy); transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--gold); }
.btn svg { transition: transform 0.3s; }
.btn:hover svg { transform: translateX(4px); }

/* ── Scroll animations ──────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; } .d6 { transition-delay: 0.6s; }

/* ════════════════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════════════════ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s, box-shadow 0.35s;
}
#header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 30px rgba(12,27,58,0.35);
}
#header nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px; max-width: 1340px; margin: 0 auto;
}
.nav-logo img { height: 80px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  transition: color 0.25s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.72rem !important;
  background: var(--gold); color: var(--white) !important;
  letter-spacing: 0.1em;
}
.nav-cta:hover { background: var(--white); color: var(--navy) !important; }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--navy);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2.2rem;
  font-weight: 500; color: rgba(255,255,255,0.85);
  transition: color 0.25s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute; top: 24px; right: 36px;
  font-size: 1.8rem; color: var(--white);
  background: none; border: none; cursor: pointer;
}

/* ════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--navy); padding: 160px 0 90px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 75% 40%, rgba(201,150,58,0.07) 0%, transparent 55%),
    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: 100% 100%, 80px 80px, 80px 80px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400; color: var(--white); line-height: 1.1;
  margin-bottom: 20px;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.6);
  max-width: 520px; line-height: 1.75;
}
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.2); }

/* ════════════════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════════════════ */
.marquee-bar { background: var(--gold); padding: 14px 0; overflow: hidden; }
.marquee-track {
  display: flex; gap: 60px; white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy);
}
.marquee-item::before { content: '◆'; font-size: 0.4rem; opacity: 0.5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
footer {
  background: #07101F; border-top: 1px solid rgba(201,150,58,0.15);
}
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding: 72px 0 56px;
}
.footer-brand img { height: 56px; margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
  line-height: 1.7; max-width: 280px; margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 0.75rem;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  margin-bottom: 12px; line-height: 1.5;
}
.footer-contact-item a { color: rgba(255,255,255,0.4); transition: color 0.25s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-size: 0.73rem; color: rgba(255,255,255,0.25);
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.25s; }
.footer-bottom a:hover { color: var(--gold); }

/* ════════════════════════════════════════════════════════
   FORM STYLES (shared)
   ════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 8px;
}
.form-group label.dark { color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); font-family: var(--font-body); font-size: 0.9rem;
  outline: none; transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none; border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold); background: rgba(201,150,58,0.06);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.22); }
.form-group select option { background: var(--navy); color: var(--white); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Light form variant */
.form-light .form-group input,
.form-light .form-group select,
.form-light .form-group textarea {
  background: var(--white); border-color: #DDD;
  color: var(--text-body);
}
.form-light .form-group input:focus,
.form-light .form-group select:focus,
.form-light .form-group textarea:focus {
  border-color: var(--gold); background: var(--white);
}
.form-light .form-group input::placeholder,
.form-light .form-group textarea::placeholder { color: #AAA; }
.form-light .form-group label { color: var(--text-muted); }
.form-light .form-group select { color: var(--text-body); background: var(--white); }
.form-light .form-group select option { background: var(--white); color: var(--text-body); }

/* Success/error states */
.form-success {
  background: rgba(201,150,58,0.1); border: 1px solid rgba(201,150,58,0.3);
  padding: 20px 24px; color: var(--gold); font-size: 0.9rem;
  margin-top: 20px; display: none;
}
.form-success.show { display: block; }

/* ════════════════════════════════════════════════════════
   BACK TO TOP
   ════════════════════════════════════════════════════════ */
#btt {
  position: fixed; bottom: 32px; right: 32px; z-index: 50;
  width: 44px; height: 44px; background: var(--gold); color: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, background 0.25s;
  pointer-events: none;
}
#btt.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
#btt:hover { background: var(--navy); }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  #header nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 72px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .nav-logo img { height: 40px; }
}

/* ════════════════════════════════════════════════════════
   DROPDOWN NAV
   ════════════════════════════════════════════════════════ */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex !important; align-items: center; gap: 5px;
  cursor: pointer;
}
.nav-dropdown-toggle svg { transition: transform 0.3s; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  border: 1px solid rgba(201,150,58,0.2);
  border-top: 3px solid var(--gold);
  min-width: 260px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(12,27,58,0.35);
}
.nav-dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.dropdown-menu li:last-child { border-bottom: none; }
.dropdown-menu li a {
  display: flex !important; align-items: center; gap: 12px;
  padding: 14px 20px !important;
  font-size: 0.82rem !important; font-weight: 500 !important;
  letter-spacing: 0.05em !important; text-transform: none !important;
  color: rgba(255,255,255,0.7) !important;
  transition: background 0.2s, color 0.2s, padding-left 0.2s !important;
  white-space: nowrap;
}
.dropdown-menu li a::after { display: none !important; }
.dropdown-menu li a:hover {
  background: rgba(201,150,58,0.1) !important;
  color: var(--gold) !important;
  padding-left: 26px !important;
}
.dropdown-menu li a.active {
  color: var(--gold) !important;
  background: rgba(201,150,58,0.07) !important;
}
.dm-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(201,150,58,0.1); border: 1px solid rgba(201,150,58,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}

/* Mobile services group */
.mobile-group { text-align: center; }
.mobile-group-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px; margin-top: 4px;
}
.mobile-menu .mobile-sub {
  font-family: var(--font-body) !important;
  font-size: 1.1rem !important;
  color: rgba(255,255,255,0.6) !important;
  display: block;
  padding: 6px 0;
}
.mobile-menu .mobile-sub:hover { color: var(--gold) !important; }
