/* ========================================
   FOOTER MOBILE-ONLY STYLES
   Only applies to mobile devices (max-width: 767px)
   Desktop styles remain unchanged
   ======================================== */

@media (max-width: 767px) {
  /* Footer Container Mobile */
  .footer {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .page-footer {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-container,
  .container-fluid.footer-container {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 2rem 1rem !important;
    margin: 0 auto !important;
    overflow-x: hidden !important;
  }

  /* Primary Footer Mobile */
  .page-primary-footer {
    padding: 2rem 0 1.5rem !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .region-primary-footer {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* SEO Footer Grid Mobile */
  .seo-footer {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .seo-footer__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Brand Section Mobile */
  .seo-footer__brand {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .seo-footer__brand img {
    max-width: 180px !important;
    height: auto !important;
    margin: 0 auto 1rem !important;
  }

  .seo-footer__description {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
  }

  .seo-footer__contact-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: center !important;
    margin-bottom: 1.5rem !important;
  }

  .seo-footer__contact-links a {
    color: #60a5fa !important;
    text-decoration: none !important;
    font-size: 0.9375rem !important;
    padding: 0.5rem 1rem !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s !important;
  }

  .seo-footer__contact-links a:hover {
    color: #93c5fd !important;
    text-decoration: underline !important;
  }

  .seo-footer__address {
    text-align: center !important;
    font-style: normal !important;
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.8 !important;
    margin-bottom: 1rem !important;
  }

  .seo-footer__address span {
    display: block !important;
    margin-bottom: 0.25rem !important;
  }

  .seo-footer__service-area {
    text-align: center !important;
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 1.5rem !important;
  }

  /* Hours Section Mobile */
  .seo-footer__hours {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
  }

  .seo-footer__hours > div {
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .seo-footer__hours > div:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .seo-footer__hours-day {
    display: block !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.25rem !important;
  }

  .seo-footer__hours-time {
    display: block !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.875rem !important;
  }

  /* Footer Navigation Groups Mobile */
  .seo-footer__group {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .seo-footer__group:last-of-type {
    border-bottom: none !important;
  }

  .seo-footer__group h3 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
  }

  .seo-footer__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .seo-footer__list li {
    width: 100% !important;
    max-width: 100% !important;
  }

  .seo-footer__list a {
    display: block !important;
    padding: 0.75rem 1rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-size: 0.9375rem !important;
    min-height: 44px !important;
    text-align: center !important;
    border-radius: 6px !important;
    transition: background 0.2s, color 0.2s !important;
  }

  .seo-footer__list a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
  }

  .seo-footer__list--columns {
    display: flex !important;
    flex-direction: column !important;
  }

  .seo-footer__service-areas-link {
    display: block !important;
    margin-top: 1rem !important;
    padding: 0.75rem 1rem !important;
    text-align: center !important;
    color: #60a5fa !important;
    text-decoration: none !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    min-height: 44px !important;
    border: 1px solid rgba(96, 165, 250, 0.3) !important;
    border-radius: 6px !important;
    transition: all 0.2s !important;
  }

  .seo-footer__service-areas-link:hover {
    background: rgba(96, 165, 250, 0.1) !important;
    border-color: rgba(96, 165, 250, 0.5) !important;
  }

  /* CTA Section Mobile */
  .seo-footer__cta {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 2rem 1rem !important;
    text-align: center !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 12px !important;
    margin: 2rem 0 !important;
  }

  .seo-footer__cta h3 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 0.75rem !important;
  }

  .seo-footer__cta p {
    font-size: 0.9375rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.6 !important;
  }

  .seo-footer__cta-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .seo-footer__cta-primary,
  .seo-footer__cta-secondary {
    display: block !important;
    width: 100% !important;
    padding: 0.875rem 1.5rem !important;
    min-height: 48px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s !important;
    text-align: center !important;
  }

  .seo-footer__cta-primary {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border: 1px solid #3b82f6 !important;
  }

  .seo-footer__cta-primary:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
  }

  .seo-footer__cta-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }

  .seo-footer__cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
  }

  /* Bottom Footer Mobile */
  .seo-footer__bottom {
    width: 100% !important;
    max-width: 100vw !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-align: center !important;
  }

  .seo-footer__bottom p {
    font-size: 0.8125rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 1rem !important;
    line-height: 1.6 !important;
  }

  .seo-footer__bottom-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: center !important;
  }

  .seo-footer__bottom-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    padding: 0.5rem 1rem !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s !important;
  }

  .seo-footer__bottom-links a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
  }
}

/* Extra small phones (320px and below) */
@media (max-width: 320px) {
  .footer-container,
  .container-fluid.footer-container {
    padding: 1.5rem 0.75rem !important;
  }

  .seo-footer__brand img {
    max-width: 150px !important;
  }

  .seo-footer__cta {
    padding: 1.5rem 0.75rem !important;
  }

  .seo-footer__cta h3 {
    font-size: 1.125rem !important;
  }
}

