/*
Theme Name: Local Reach Media
Theme URI: https://localreachmedia.com
Author: Local Reach Media
Author URI: https://localreachmedia.com
Description: A connected growth system for local and regional service businesses. Pixel-accurate WordPress theme with full Elementor and PRO Elements support.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: localreachmedia
Tags: elementor, business, corporate, responsive-layout, custom-menu, full-width-template
*/

/* 
 * Main theme stylesheet is loaded via functions.php from assets/css/theme.css.
 * All core tokens and component styles reside in assets/css/theme.css.
 */
@import url("assets/css/theme.css");

body {
  background-color: #fbf9f4;
  color: #1b221e;
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
}

/* =========================================================================
 * Rock-Solid Header & Navigation Styles (Unlayered, Maximum Priority)
 * ========================================================================= */
#site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.admin-bar #site-header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar #site-header {
    top: 46px !important;
  }
}

.site-utility-bar {
  background-color: #1b221e !important;
  color: #fbf9f4 !important;
  border-bottom: 1px solid rgba(251, 249, 244, 0.08);
}
.site-utility-bar a {
  color: rgba(251, 249, 244, 0.7) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  font-family: "IBM Plex Mono", ui-monospace, monospace !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}
.site-utility-bar a:hover {
  color: #fbf9f4 !important;
}
.site-utility-bar a[href*="tel:"] {
  color: #d7a858 !important;
}
@media (max-width: 1023px) {
  .site-utility-bar {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  .site-utility-bar {
    display: block !important;
  }
}

.site-navbar {
  position: relative !important;
  background: transparent;
  transition: all 0.5s ease;
  border-bottom: 1px solid transparent;
}
#site-header.is-scrolled .site-navbar,
.site-navbar.navbar-scrolled {
  background: rgba(251, 249, 244, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(27, 34, 30, 0.1) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.site-navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2.5rem;
  padding: 1rem 1.5rem;
}
@media (min-width: 1024px) {
  .site-navbar-inner {
    padding: 1.25rem 2rem;
  }
}

.site-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
.site-brand-logo img {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
  display: block !important;
}

.site-desktop-nav {
  display: none !important;
}
@media (min-width: 1024px) {
  .site-desktop-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.75rem !important;
    flex: 1 !important;
  }
}

.site-desktop-nav a {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  color: rgba(251, 249, 244, 0.85);
  transition: color 0.3s ease;
}
.site-desktop-nav a:hover {
  color: #fbf9f4 !important;
}
#site-header.is-scrolled .site-desktop-nav a,
.site-navbar.navbar-scrolled .site-desktop-nav a {
  color: rgba(27, 34, 30, 0.85) !important;
}
#site-header.is-scrolled .site-desktop-nav a:hover,
.site-navbar.navbar-scrolled .site-desktop-nav a:hover {
  color: #1b221e !important;
}

/* Full-Width Desktop Mega Dropdown (Pixel-Accurate to React Design) */
#growth-system-dropdown {
  display: none;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  width: 100% !important;
  background-color: #fbf9f4 !important;
  background: #fbf9f4 !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(27, 34, 30, 0.12) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.22) !important;
  z-index: 999999 !important;
  color: #1b221e !important;
}

#growth-system-dropdown.is-open {
  display: block !important;
}

#growth-system-dropdown .mega-dropdown-inner {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 2.5rem 2rem !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2.5rem !important;
}

@media (min-width: 1024px) {
  #growth-system-dropdown .mega-dropdown-inner {
    grid-template-columns: 0.85fr 2fr !important;
  }
}

#growth-system-dropdown .mega-dropdown-summary {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

#growth-system-dropdown .mega-dropdown-summary p.label-mono {
  color: #1f4837 !important;
  font-weight: 600 !important;
}

#growth-system-dropdown .mega-dropdown-summary p.font-display {
  font-family: "Fraunces", serif !important;
  font-size: 1.5rem !important;
  line-height: 1.25 !important;
  font-weight: 300 !important;
  color: #1b221e !important;
  margin: 1rem 0 0 !important;
}

#growth-system-dropdown .mega-dropdown-summary a {
  color: rgba(27, 34, 30, 0.75) !important;
}
#growth-system-dropdown .mega-dropdown-summary a:hover {
  color: #1f4837 !important;
}

#growth-system-dropdown .mega-dropdown-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 2rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (min-width: 640px) {
  #growth-system-dropdown .mega-dropdown-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

#growth-system-dropdown .mega-dropdown-grid li {
  margin: 0 !important;
  padding: 0 !important;
}

#growth-system-dropdown a,
#growth-system-dropdown a:visited {
  color: #1b221e !important;
  text-decoration: none !important;
}

#growth-system-dropdown .dropdown-item {
  display: flex !important;
  align-items: baseline !important;
  gap: 1rem !important;
  border-top: 1px solid rgba(27, 34, 30, 0.12) !important;
  padding: 0.875rem 0.5rem !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  background: transparent !important;
}

#growth-system-dropdown .dropdown-item:hover {
  border-color: #1f4837 !important;
  background-color: rgba(31, 72, 55, 0.04) !important;
}

#growth-system-dropdown .dropdown-item .tabular-nums {
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em !important;
  color: rgba(27, 34, 30, 0.4) !important;
  flex-shrink: 0 !important;
  transition: color 0.25s ease !important;
}

#growth-system-dropdown .dropdown-item:hover .tabular-nums {
  color: #1f4837 !important;
  font-weight: 600 !important;
}

#growth-system-dropdown .dropdown-title {
  display: block !important;
  font-family: "Archivo", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #1b221e !important;
  line-height: 1.3 !important;
  transition: color 0.25s ease !important;
}

#growth-system-dropdown .dropdown-item:hover .dropdown-title {
  color: #1f4837 !important;
}

#growth-system-dropdown .dropdown-desc {
  display: block !important;
  font-size: 0.78rem !important;
  color: #5a6b61 !important;
  margin-top: 0.15rem !important;
  line-height: 1.35 !important;
}

.site-header-cta {
  display: none;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .site-header-cta {
    display: block !important;
  }
}
.site-header-cta .cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
#site-header.is-scrolled .site-header-cta .cta-btn,
.site-navbar.navbar-scrolled .site-header-cta .cta-btn {
  border-color: rgba(27, 34, 30, 0.25) !important;
  color: #1b221e !important;
  background-color: transparent !important;
}
#site-header.is-scrolled .site-header-cta .cta-btn:hover,
.site-navbar.navbar-scrolled .site-header-cta .cta-btn:hover {
  border-color: #d7a858 !important;
  color: #d7a858 !important;
}

.site-mobile-toggle {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .site-mobile-toggle {
    display: none !important;
  }
}

.site-mobile-drawer {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  background-color: #1b221e !important;
  color: #fbf9f4 !important;
  z-index: 999999 !important;
  overflow-y: auto !important;
  padding: 5rem 1.5rem 2rem !important;
}
.site-mobile-drawer.is-open {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}
.site-mobile-drawer a {
  color: rgba(251, 249, 244, 0.85) !important;
  text-decoration: none !important;
}
.site-mobile-drawer a:hover {
  color: #d7a858 !important;
}

/* =========================================================================
 * Rock-Solid Footer Styles (Unlayered, Maximum Priority)
 * ========================================================================= */
.site-footer {
  background-color: #1b221e !important;
  color: #fbf9f4 !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
}

.site-prefooter-banner {
  border-bottom: 1px solid rgba(251, 249, 244, 0.12) !important;
  padding: 5rem 0 !important;
}
@media (min-width: 1024px) {
  .site-prefooter-banner {
    padding: 7rem 0 !important;
  }
}

.site-footer-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important;
  padding: 4rem 0 !important;
}
@media (min-width: 640px) {
  .site-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1024px) {
  .site-footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr !important;
    gap: 3.5rem !important;
  }
}

/* Footer Buttons with High-Contrast Legible Colors */
.site-footer .btn-footer-solid,
.site-footer a.btn-footer-solid,
a.btn-footer-solid {
  background-color: #fbf9f4 !important;
  color: #1b221e !important;
  border: 1px solid #fbf9f4 !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  transition: all 0.4s ease !important;
}
.site-footer .btn-footer-solid:hover,
.site-footer a.btn-footer-solid:hover,
a.btn-footer-solid:hover {
  background-color: #d7a858 !important;
  border-color: #d7a858 !important;
  color: #1b221e !important;
}
.site-footer .btn-footer-solid *,
.site-footer a.btn-footer-solid *,
a.btn-footer-solid * {
  color: #1b221e !important;
  font-weight: 600 !important;
}

.site-footer .btn-footer-outline,
.site-footer a.btn-footer-outline,
a.btn-footer-outline {
  background-color: transparent !important;
  color: #fbf9f4 !important;
  border: 1px solid rgba(251, 249, 244, 0.3) !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  transition: all 0.4s ease !important;
}
.site-footer .btn-footer-outline:hover,
.site-footer a.btn-footer-outline:hover,
a.btn-footer-outline:hover {
  border-color: #d7a858 !important;
  color: #d7a858 !important;
}
.site-footer .btn-footer-outline *,
.site-footer a.btn-footer-outline *,
a.btn-footer-outline * {
  color: #fbf9f4 !important;
}
.site-footer .btn-footer-outline:hover *,
.site-footer a.btn-footer-outline:hover *,
a.btn-footer-outline:hover * {
  color: #d7a858 !important;
}

.site-footer a:not(.btn-footer-solid):not(.btn-footer-outline) {
  color: rgba(251, 249, 244, 0.75) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}
.site-footer a:not(.btn-footer-solid):not(.btn-footer-outline):hover {
  color: #d7a858 !important;
}

.site-footer ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 1.25rem 0 0 !important;
}
.site-footer li {
  margin-bottom: 0.65rem !important;
}

.site-footer img {
  max-width: 280px !important;
  height: 64px !important;
  max-height: 64px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* =========================================================================
 * Full Animation Utilities (SVG Rotations, Node Pulses, Scroll Reveals)
 * ========================================================================= */
@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes slow-spin-reverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes node-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.6); }
}
@keyframes marquee-slow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.spin-slow {
  animation: slow-spin 90s linear infinite !important;
  transform-box: fill-box !important;
  transform-origin: center !important;
}
.spin-slow-reverse {
  animation: slow-spin-reverse 140s linear infinite !important;
  transform-box: fill-box !important;
  transform-origin: center !important;
}
.node-pulse {
  animation: node-pulse 3.6s ease-in-out infinite !important;
  transform-box: fill-box !important;
  transform-origin: center !important;
}
.marquee-slow {
  animation: marquee-slow 60s linear infinite !important;
}

/* Reveal on scroll */
.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: opacity, transform;
}
html.js .reveal.is-visible,
html.js .reveal[data-visible="true"] {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.draw-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  pathLength: 1;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.draw-line[data-visible="true"],
.draw-line.is-visible {
  stroke-dashoffset: 0 !important;
}

