/* ==========================================
   Boghean & Company Chartered Accountant
   Premium CPA Firm Website Styles
   Navy & Gold Professional Theme
   ========================================== */

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

/* === CSS VARIABLES === */
:root {
  /* Navy & Gold Professional Palette */
  --accent: #1B3A5C;
  --accent-bright: #C5A55A;
  --accent-muted: rgba(27, 58, 92, 0.15);
  --accent-bg: rgba(27, 58, 92, 0.08);
  --accent-glow: rgba(27, 58, 92, 0.3);
  --gold: #C5A55A;
  --gold-light: rgba(197, 165, 90, 0.15);
  
  --text: #0F1D2B;
  --text-light: #546579;
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --border: #D8DEE5;
  
  --font-display: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --section-pad: clamp(60px, 10vw, 120px);
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.nav.scrolled .nav-logo { color: var(--text); }

.nav-links { display: flex; gap: 32px; align-items: center; }

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.nav.scrolled .nav-link { color: var(--text-light); }

.nav-link:hover { color: var(--gold); }

.nav-phone {
  background: var(--gold);
  color: white !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.nav-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(197, 165, 90, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: var(--transition);
}

.nav.scrolled .mobile-menu-btn span { background: var(--text); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 25, 41, 0.75) 0%, rgba(15, 29, 43, 0.88) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(197, 165, 90, 0.3);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: white;
  box-shadow: 0 4px 20px rgba(197, 165, 90, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(197, 165, 90, 0.5);
  background: #B8994E;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}

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

/* === SECTIONS === */
.section { padding: var(--section-pad) 0; }

.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 80px);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 44px 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* === TRUST / STATS === */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.trust-stat .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-stat .stat-label {
  font-size: 0.9375rem;
  color: var(--text-light);
  font-weight: 500;
}

/* === REVIEWS === */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #C5A55A;
  font-size: 1.125rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent);
}

.review-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}

.review-location {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* === ABOUT / SPLIT === */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.split-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text);
}

.split-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  background: var(--gold-light);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(197, 165, 90, 0.2);
}

/* === CTA SECTION === */
.cta-section {
  position: relative;
  padding: calc(var(--section-pad) * 0.85) 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img { width: 100%; height: 100%; object-fit: cover; }

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 25, 41, 0.92) 0%, rgba(15, 29, 43, 0.82) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  line-height: 1.65;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-item span {
  font-size: 0.9375rem;
  color: var(--text-light);
}

.contact-item a {
  color: var(--accent);
  font-weight: 500;
  transition: var(--transition);
}

.contact-item a:hover { color: var(--gold); }

/* === FORMS === */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: var(--transition);
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.2);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* === FOOTER === */
.footer {
  background: var(--accent);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  font-size: 0.875rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.72);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.7s ease forwards; }
.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.25s; }
.fade-in-3 { animation-delay: 0.4s; }

/* === STICKY CALL BAR (MOBILE) === */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 999;
  gap: 12px;
}

.sticky-call .btn {
  flex: 1;
  padding: 14px;
  font-size: 0.875rem;
  justify-content: center;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { 
    display: none; 
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
  
  .nav-links.active .nav-link { color: var(--text); }
  
  .mobile-menu-btn { display: block; }
  
  .hero { min-height: 90vh; }
  
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  
  .split { grid-template-columns: 1fr; }
  
  .split-img { order: -1; }
  
  .split-img img { min-height: 260px; }
  
  .contact-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  
  .sticky-call { display: flex; }
  
  body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  
  .hero-btns { flex-direction: column; width: 100%; }
  
  .hero-btns .btn { width: 100%; justify-content: center; }
  
  .trust-grid { grid-template-columns: 1fr; }
  
  .services-grid { grid-template-columns: 1fr; }
}
