/* ============================================================
   Milton J. Pirsos, CPA — Main Stylesheet
   Professional CPA design: navy, emerald, clean white
   ============================================================ */

/* ── Google Fonts import ──────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Colors */
  --white:         #FFFFFF;
  --bg-light:      #F4F7FB;
  --bg-dark:       #0D1B2A;
  --primary:       #1B3A6B;
  --primary-dark:  #0D2447;
  --accent:        #0E7C59;
  --accent-dark:   #0A5E43;
  --text:          #1A202C;
  --muted:         #64748B;
  --border:        #E2E8F0;
  --shadow:        0 4px 24px rgba(27, 58, 107, 0.08);
  --shadow-hover:  0 8px 40px rgba(27, 58, 107, 0.16);
  --shadow-card:   0 2px 16px rgba(27, 58, 107, 0.10);

  /* Typography */
  --font-heading:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad:   100px;
  --container:     1200px;
  --radius:        10px;
  --radius-sm:     6px;
  --radius-lg:     16px;

  /* Transitions */
  --transition:    all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--accent); }

ul, ol { list-style: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
}

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

/* ── Section Base ─────────────────────────────────────────── */
.section {
  padding: var(--section-pad) 0;
}

.section--light {
  background: var(--white);
}

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

.section--dark {
  background: var(--bg-dark);
  color: var(--white);
}

/* ── Typography ───────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.heading-serif {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
}

h1.heading-serif { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2.heading-serif { font-size: clamp(2rem, 4vw, 3rem); }
h3.heading-serif { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27, 58, 107, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  transition: var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--primary-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  transition: var(--transition);
  text-decoration: none;
}

.btn-gold:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  text-decoration: none;
}

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

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(27, 58, 107, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}

.navbar-logo .firm-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.navbar-logo .firm-cred {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font-body);
}

.nav-dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-toggle:hover { color: var(--primary); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 24px;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-client-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
}

.btn-client-login:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(27, 58, 107, 0.1);
  z-index: 999;
  padding: 16px 24px 24px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  color: var(--primary);
  padding-left: 8px;
}

.mobile-nav-sub {
  display: block;
  padding: 10px 0 10px 16px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--bg-light);
  transition: var(--transition);
}

.mobile-nav-sub:hover {
  color: var(--primary);
  padding-left: 24px;
}

.mobile-nav-group-label {
  padding: 14px 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.mobile-cta {
  margin-top: 20px;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13, 36, 71, 0.95) 0%, rgba(13, 27, 42, 0.98) 60%, rgba(0,0,0,0.95) 100%);
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(201, 168, 76, 0.8) 40px,
      rgba(201, 168, 76, 0.8) 41px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(201, 168, 76, 0.8) 40px,
      rgba(201, 168, 76, 0.8) 41px
    );
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27, 58, 107, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 140px 0 100px;
}

.hero-content {
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.hero-eyebrow-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-heading .accent-gold {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.hero-trust-badge svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-trust-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
}

/* ── Services Cards ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--accent);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  margin-top: auto;
}

.service-link:hover {
  color: var(--accent);
  gap: 8px;
}

/* ── Why Choose Us ────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

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

.about-photo-wrap {
  position: relative;
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 5 / 6;
  background: linear-gradient(135deg, var(--bg-light) 0%, #dde6f4 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
}

.about-photo-placeholder svg {
  width: 80px;
  height: 80px;
  color: #c8d5e8;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.about-badge .badge-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-badge .badge-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.about-content .section-label { margin-bottom: 12px; }

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-content a.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 8px;
  transition: var(--transition);
}

.about-content a.text-link:hover {
  color: var(--accent);
  gap: 10px;
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--primary);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.825rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Process Steps ────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 36px);
  right: calc(16.67% + 36px);
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  padding: 0 20px;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  fill: var(--accent);
}

.testimonial-text {
  font-size: 0.925rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-light), #dde6f4);
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.author-info .author-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.author-info .author-detail {
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
}

/* ── Contact CTA Banner ───────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #0A5E43 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--primary);
}

.btn-cta-phone:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 36, 71, 0.4);
}

.btn-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: transparent;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.btn-cta-link:hover {
  background: var(--white);
  color: var(--accent-dark);
  border-color: var(--white);
}

/* ── Trust / Credential Badges ────────────────────────────── */
.credentials-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.credential-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.credential-badge-icon {
  width: 44px;
  height: 44px;
  background: rgba(27, 58, 107, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.credential-badge-icon svg {
  width: 22px;
  height: 22px;
}

.credential-badge-text .badge-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.credential-badge-text .badge-sub {
  display: block;
  font-size: 0.73rem;
  color: var(--muted);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}

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

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

.footer-brand .footer-cred {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-hours {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-hours h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal-link:hover {
  color: var(--accent);
}

.footer-built-by {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-built-by a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.footer-built-by a:hover {
  color: #fff;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb-item {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
}

.breadcrumb-current {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Interior page breadcrumb (light version) */
.breadcrumb--light .breadcrumb-item { color: var(--muted); }
.breadcrumb--light .breadcrumb-item:hover { color: var(--primary); }
.breadcrumb--light .breadcrumb-sep { color: var(--border); }
.breadcrumb--light .breadcrumb-current { color: var(--text); }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(201, 168, 76, 0.03) 60px,
    rgba(201, 168, 76, 0.03) 61px
  );
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Chatbot Widget ───────────────────────────────────────── */
#cpa-chat-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(27, 58, 107, 0.5);
  z-index: 9000;
  transition: var(--transition);
}

#cpa-chat-toggle:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(27, 58, 107, 0.6);
}

#cpa-chat-toggle svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

#cpa-chat-toggle .chat-close {
  display: none;
}

#cpa-chat-toggle.open .chat-icon {
  display: none;
}

#cpa-chat-toggle.open .chat-close {
  display: block;
}

.chat-unread {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--white);
  display: none;
}

.chat-unread.show {
  display: block;
}

#cpa-chat-widget {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 360px;
  height: 520px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 60px rgba(27, 58, 107, 0.2);
  z-index: 8999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#cpa-chat-widget.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: var(--primary);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-header-avatar svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.chat-header-info { flex: 1; }

.chat-header-info .chat-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.chat-header-info .chat-status {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
}

.chat-powered {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F8FAFD;
}

.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.chat-message.bot .chat-bubble {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.chat-message.user .chat-bubble {
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-time {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 4px;
  padding: 0 4px;
}

.chat-message.user .chat-time {
  text-align: right;
}

.chat-bubble .chat-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(14, 124, 89, 0.35);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}
.chat-bubble .chat-link:hover {
  text-decoration-color: var(--accent);
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--muted);
  border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-footer {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  background: var(--white);
  flex-shrink: 0;
}

.chat-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0 16px;
  transition: var(--transition);
}

.chat-input-wrap:focus-within {
  border-color: var(--primary);
  background: var(--white);
}

#chat-input {
  flex: 1;
  border: none;
  background: none;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  resize: none;
}

#chat-input::placeholder { color: var(--muted); }

#chat-send {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

#chat-send:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

#chat-send svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

#chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.chat-limit-notice {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  padding: 4px 0;
}

/* ── Service Detail Pages (shared) ───────────────────────── */
.services-detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-detail-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.service-detail-item:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: var(--shadow);
}

.sdi-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.sdi-icon svg { width: 22px; height: 22px; }

.sdi-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.sdi-content p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── FAQ Accordion ────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

details.faq-item {
  border-bottom: 1px solid var(--border);
}

details.faq-item:last-child {
  border-bottom: none;
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  transition: var(--transition);
  list-style: none;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary:hover {
  background: var(--bg-light);
  color: var(--accent-dark);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

details[open] .faq-chevron {
  transform: rotate(180deg);
}

details[open] summary {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.faq-answer {
  padding: 20px 24px;
  background: var(--white);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%2364748B'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--white);
  position: sticky;
  top: 100px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 38px;
  height: 38px;
  background: rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-detail-icon svg { width: 18px; height: 18px; }

.contact-detail-text .cd-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: block;
  margin-bottom: 3px;
}

.contact-detail-text .cd-value {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  line-height: 1.5;
}

.contact-detail-text a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--transition);
}

.contact-detail-text a:hover { color: var(--accent); }

.contact-hours-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hours-block h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.hours-row-detail {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
}

.hours-row-detail .day { color: rgba(255, 255, 255, 0.5); }
.hours-row-detail .time { color: rgba(255, 255, 255, 0.8); }

.contact-portal-link {
  display: block;
  margin-top: 24px;
  padding: 13px 20px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.contact-portal-link:hover {
  background: rgba(201, 168, 76, 0.25);
  color: var(--accent);
}

/* Next Steps */
.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.next-step-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.next-step-num {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 14px;
}

.next-step-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.next-step-item p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Map Placeholder ──────────────────────────────────────── */
.map-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e8eef5 0%, #d1dcea 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.map-placeholder:hover {
  background: linear-gradient(135deg, #dde6f4 0%, #c8d6e8 100%);
}

.map-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  opacity: 0.5;
}

.map-placeholder span {
  font-size: 0.8rem;
  color: var(--primary);
  opacity: 0.6;
  font-weight: 500;
}

/* ── Animations ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Responsive: 1280px ───────────────────────────────────── */
@media (max-width: 1280px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Responsive: 1024px ───────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }

  .navbar-nav,
  .navbar-cta { display: none; }

  .hamburger { display: flex; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo-wrap { max-width: 400px; margin: 0 auto; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-info-card { position: static; }

  .services-detail-list {
    grid-template-columns: 1fr;
  }
}

/* ── Responsive: 768px ────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process-grid::before { display: none; }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .next-steps-grid {
    grid-template-columns: 1fr;
  }

  .credentials-grid {
    gap: 16px;
  }

  #cpa-chat-widget {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 84px;
  }

  #cpa-chat-toggle {
    right: 20px;
    bottom: 20px;
  }

  .about-badge {
    bottom: -10px;
    right: 0;
  }

  .hero-trust {
    gap: 14px;
  }
  .hero-trust-divider { display: none; }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas .btn-gold,
  .hero-ctas .btn-outline-white {
    width: 100%;
    justify-content: center;
  }
}

/* ── Responsive: 480px ────────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); }

  .contact-form-wrap { padding: 24px 20px; }

  .hero-heading { font-size: 2.2rem; }
}
