/* ===================================
   Ecogloo Cleaning Theme - Layout CSS
   =================================== */

/* ===================================
   DESKTOP HEADER STYLES
   =================================== */

/* Ensure header is above all other elements */
.site-header { 
  position: relative; 
  z-index: 10000; 
}

/* Ensure mobile menu toggle is above everything */
.mobile-menu-toggle {
  position: relative;
  z-index: 10001;
}

/* Overlays and fixed UI are inert unless explicitly active */
#mobile-menu-overlay,
.reading-progress-bar,
.cookie-bar,
.sticky-cta,
.back-to-top,
[class*="overlay"],
[class*="backdrop"] {
  pointer-events: none;
}

/* Only allow overlay to catch taps when menu is open */
.menu-open #mobile-menu-overlay { 
  pointer-events: auto; 
}

/* Back-to-top remains tappable only when visible */
.back-to-top.visible { 
  pointer-events: auto; 
}

/* iOS viewport quirk fixes */
:root { /* safe-area available if needed */ }
.hero, .viewport-section { 
  min-height: 100dvh; 
} /* not height:100vh */

/* Desktop Header Top Bar */
.header-top {
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.header-phone {
  justify-self: start;
}

.header-phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.header-phone-link:hover {
  color: var(--white);
  opacity: 0.8;
  transform: translateY(-1px);
}

.header-phone-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.header-phone-text {
  font-size: 0.875rem;
  font-weight: 600;
}

.header-top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}



.header-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  color: var(--white);
}

.header-social-link i {
  font-size: 0.875rem;
}

/* Hide top bar on mobile */
@media (max-width: 767px) {
  .header-top {
    display: none;
  }
}

/* Desktop Header Container */
.header {
  background-color: #E5E7EB; 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

/* Desktop Logo */
.logo {
  height: 3rem;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

/* Larger logo on desktop */
@media (min-width: 1024px) {
  .logo {
    height: 7rem; 
  }
}

/* Mobile: make header logo larger on small screens */
@media (max-width: 767px) {
  .logo {
    height: 4rem;
  }
}

/* Desktop Navigation */
.nav {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
  }
}

.nav > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: center;
  flex-direction: row;
  width: auto;
}

.nav-item {
  position: relative;
  border: none;
}

.nav-item:last-child {
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  width: auto;
  box-sizing: border-box;
}

.nav-link:hover {
  color: var(--brand-blue);
  background: linear-gradient(135deg, var(--bg-light), rgba(59, 130, 246, 0.05));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Desktop: add subtle rounding on ALL top-level items hover */
@media (min-width: 768px) {
  .nav > ul > li > a.nav-link:hover {
    border-radius: 0.5rem;
  }
}

.dropdown-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 0.25rem;
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

/* Desktop Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  /* Reset any inherited styles that might interfere */
  display: block;
  flex-direction: unset;
  gap: unset;
  align-items: unset;
  backdrop-filter: blur(10px);
}

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

.dropdown-link {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
  /* Reset any inherited styles that might interfere */
  border-radius: 0.5rem;
  margin: 0;
  box-shadow: none;
  transform: none;
  background-color: transparent;
  border: none;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.dropdown-link:hover {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-sky));
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Desktop CTA Container */
.cta-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Calendly Button Styles */
.calendly-btn {
  background: linear-gradient(135deg, var(--brand-lime), #6BA32F);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(139, 197, 63, 0.2);
}

.calendly-btn:hover {
  background: linear-gradient(135deg, #6BA32F, var(--brand-lime));
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139, 197, 63, 0.3);
  color: var(--white);
  text-decoration: none;
}

.calendly-btn:active {
  transform: translateY(0);
}

/* ===================================
   MOBILE HEADER STYLES
   =================================== */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.mobile-menu-toggle:hover {
  background-color: rgba(59, 130, 246, 0.08);
  border-color: var(--brand-blue);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Hamburger Menu */
.hamburger-menu {
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay & Panel */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-menu-overlay.active,
.mobile-menu-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  max-height: 100vh;
  background-color: var(--white);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 999999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-menu.active,
.mobile-menu-open {
  transform: translateX(0);
}

.mobile-menu-closed {
  transform: translateX(100%);
}

/* Smooth content reveal when menu opens */
.mobile-menu .mobile-menu-header,
.mobile-menu .mobile-menu-content,
.mobile-menu .mobile-menu-footer {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.mobile-menu.mobile-menu-open .mobile-menu-header,
.mobile-menu.mobile-menu-open .mobile-menu-content,
.mobile-menu.mobile-menu-open .mobile-menu-footer {
  opacity: 1;
  transform: translateX(0);
}

/* Subtle stagger for a premium feel */
.mobile-menu.mobile-menu-open .mobile-menu-content { transition-delay: 0.05s; }
.mobile-menu.mobile-menu-open .mobile-menu-footer { transition-delay: 0.1s; }

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-sky));
  color: var(--white);
  flex-shrink: 0;
}

.mobile-menu-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.mobile-menu-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-close i {
  font-size: 1.25rem;
}

.mobile-menu-content {
  padding: 1rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  position: relative;
}

/* Faint divider between nav and footer */
.mobile-menu-content::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.08), rgba(0,0,0,0));
  margin: 1rem -1.5rem 0 -1.5rem;
}

/* Mobile Navigation */
.mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 0;
  list-style: none;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav ul li {
  list-style: none;
}

/* Mobile Navigation Item Wrapper */
.mobile-nav-item-wrapper {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 1rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0;
  margin: 0;
  transition: all 0.3s ease;
  box-shadow: none;
  background-color: transparent;
  border: none;
  width: 100%;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* When mobile-nav-link is also a header (for regular top-level items) */
.mobile-nav-link.mobile-nav-header {
  justify-content: flex-start;
  background-color: rgba(0, 0, 0, 0.02);
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-family: inherit;
}

.mobile-nav-link.mobile-nav-header:hover {
  background-color: rgba(59, 130, 246, 0.08);
  color: var(--brand-blue);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding: 1rem 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  background-color: rgba(0, 0, 0, 0.02);
  border: none;
  border-radius: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.mobile-nav-header:hover {
  background-color: rgba(59, 130, 246, 0.08);
  color: var(--brand-blue);
}

.mobile-nav-header[aria-expanded="true"] {
  background-color: rgba(59, 130, 246, 0.12);
  color: var(--brand-blue);
}

.mobile-nav-header[aria-expanded="true"] .mobile-arrow {
  transform: rotate(90deg);
}



.mobile-nav-link:hover {
  background-color: rgba(59, 130, 246, 0.08);
  color: var(--brand-blue);
  box-shadow: none;
  transform: none;
}

/* More subtle active state when submenu is expanded */
.mobile-nav-link.active {
  background-color: rgba(59, 130, 246, 0.12);
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

/* Keep hover effect but make it work with active state */
.mobile-nav-link.active:hover {
  background-color: rgba(59, 130, 246, 0.16);
}

.mobile-nav-link span {
  flex: 1;
}

.mobile-arrow {
  font-size: 1rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.close-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-submenu {
  padding-left: 1.5rem;
  margin-top: 0.75rem;
  border-left: 2px solid var(--brand-blue);
  display: none;
  list-style: none;
  margin-left: 0;
}

.mobile-submenu.active {
  display: block;
}

.mobile-submenu-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  margin-left: 0;
  list-style: none;
  margin-bottom: 0.5rem;
}

.mobile-submenu-link:hover {
  background-color: var(--bg-light);
  color: var(--brand-blue);
  padding-left: 1.25rem;
}

/* Overview Link Styles */
.mobile-overview-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 0.5rem;
}

.mobile-overview-link {
  display: flex;
  align-items: center;
}

.mobile-overview-link:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--brand-blue);
  padding-left: 1.25rem;
}



/* Mobile Menu CTA */
.mobile-menu-cta {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--bg-light);
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
}

.mobile-cta-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-sky));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(30, 54, 112, 0.2);
}

.mobile-cta-primary:hover {
  background: linear-gradient(135deg, var(--brand-sky), var(--brand-blue));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 54, 112, 0.3);
  color: var(--white);
  text-decoration: none;
}

.mobile-cta-calendly {
  background: linear-gradient(135deg, var(--brand-lime), #6BA32F);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(139, 197, 63, 0.2);
}

.mobile-cta-calendly:hover {
  background: linear-gradient(135deg, #6BA32F, var(--brand-lime));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 197, 63, 0.3);
  color: var(--white);
  text-decoration: none;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
  position: relative;
}

/* Subtle top shading above footer for depth */
.mobile-menu-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.06), rgba(0,0,0,0));
  pointer-events: none;
}

/* Mobile Social Icons */
.mobile-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mobile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--brand-blue);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-social-link:hover {
  background-color: var(--brand-sky);
  transform: translateY(-3px);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.mobile-social-link i {
  font-size: 1.25rem;
}

.mobile-logo {
  max-width: 120px;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.mobile-logo:hover {
  opacity: 1;
}

.mobile-logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  opacity: 0.7;
}

/* WordPress Admin Bar Adjustments */
.admin-bar .mobile-menu {
  top: 32px;
  height: calc(100vh - 32px);
}

@media (max-width: 782px) {
  .admin-bar .mobile-menu {
    top: 46px;
    height: calc(100vh - 46px);
  }
}

/* Main Content */
.main {
  min-height: calc(100vh - 200px);
}

/* Footer */
.footer {
  background: #111827;
  color: var(--white);
  padding: 4rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-address {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.footer-contact-item {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-service-areas {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-hours {
  margin-bottom: 1.5rem;
}

.footer-hour-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-social-link i {
  font-size: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Legal Pages Section */
.legal-pages-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin: 2rem 0;
}

.legal-pages-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.legal-pages-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.legal-page-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.legal-page-link:hover {
  color: var(--white);
}

.legal-page-link:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -1.25rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Sidebar */
.sidebar {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 0.5rem;
}

.sidebar-widget {
  margin-bottom: 2rem;
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

.sidebar-widget h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-size: 1.125rem;
}

/* Content Layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 1024px) {
  .content-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.content-main {
  min-width: 0;
}

.content-sidebar {
  min-width: 0;
}

@media (max-width: 1023px) {
  .content-sidebar {
    order: -1;
  }
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-title {
    font-size: 1.25rem;
  }
  
  .footer-hours {
    margin-bottom: 1rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .legal-pages-links {
    gap: 1rem;
    flex-direction: column;
  }
  
  .legal-page-link:not(:last-child)::after {
    display: none;
  }
}
