/*
 * Theme Name: Immediately Locksmith
 * Theme URI: https://immediatelylocksmiths.com
 * Description: Modern, professional locksmith theme with deep teal and amber accents. Built for the locksmith-developer-plugin.
 * Version: 1.1.0
 * Author: Rleads
 * Author URI: https://rleads.co
 * License: GPL v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: immediately-locksmiths
 * Domain Path: /languages
 * Requires at least: 5.9
 * Requires PHP: 7.4
 */

/* ============================================================
   DESIGN SYSTEM — Tokens + Brand Overrides
   Fonts: Outfit (headlines) + Inter (body)
   ============================================================ */

:root {
  /* Primary palette — orange */
  --primary: #f46d16;
  --primary-dark: #d85e0e;
  --primary-light: #ff8a3d;

  /* Secondary palette — dark navy */
  --secondary: #041628;
  --secondary-dark: #000000;

  /* Accent — same orange for consistency */
  --accent: #f46d16;
  --accent-dark: #d85e0e;

  /* Surfaces */
  --surface: #FFFFFF;
  --surface-alt: #f5f7fa;
  --surface-warm: #fff8f0;

  /* Text */
  --text-primary: #041628;
  --text-secondary: #334155;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Borders */
  --border-soft: #E2E8F0;

  /* States */
  --success: #10B981;
  --danger: #EF4444;

  /* Overlay */
  --overlay-dark: rgba(4, 22, 40, 0.65);

  /* Fonts */
  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --max-w: 1280px;
  --px: 1.5rem;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);

  /* Z-index */
  --z-sticky: 100;
  --z-modal: 1000;
}

/* ============================================================
   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: 16px;
  line-height: 1.625;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
::selection { background: rgba(244,109,22,0.15); color: var(--text-primary); }

/* ============================================================
   SVG ICONS — .ldt-icon
   ============================================================ */
.ldt-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
  fill: currentColor;
  flex-shrink: 0;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding-left: var(--px); padding-right: var(--px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.125rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin-bottom: 1rem; margin-left: 1.5rem; }
li { margin-bottom: 0.5rem; }
strong { font-weight: 600; }

/* ============================================================
   BUTTONS
   ============================================================ */
button, .btn,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary, button[type="submit"], input[type="submit"] {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 2px 8px rgba(244,109,22,0.25);
}
.btn-primary:hover, button[type="submit"]:hover, input[type="submit"]:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(244,109,22,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: rgba(244,109,22,0.1);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(245,158,11,0.25);
}
.btn-accent:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 12px rgba(217,119,6,0.35);
  transform: translateY(-1px);
}

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER — .site-header (from header.php)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: var(--z-sticky);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1.5rem;
}

/* Header logo */
.header-logo {
  flex-shrink: 0;
}
.header-logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-logo img,
.header-logo .custom-logo {
  max-height: 45px;
  width: auto;
}
.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

/* Desktop nav — .header-nav */
.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .header-nav { display: flex; }
}
.header-nav > a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.header-nav > a:hover {
  color: var(--primary);
  opacity: 1;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  opacity: 0.85;
}
.nav-dropdown:hover > a { color: var(--primary); opacity: 1; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  padding-top: 0.75rem;
  z-index: 20;
}
/* Invisible bridge so mouse can travel from trigger to menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  height: 1rem;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: background 0.15s;
}
.nav-dropdown-menu a:hover {
  background: var(--surface-alt);
  color: var(--primary);
}
.nav-dropdown-menu a .ldt-icon {
  font-size: 1.125rem;
  color: var(--primary);
}
.nav-dropdown-menu .emergency-link {
  color: var(--danger);
}
.nav-dropdown-menu .emergency-link .ldt-icon {
  color: var(--danger);
}

/* Header search — .header-search */
.header-search {
  display: none;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .header-search { display: flex; }
}
.header-search > .ldt-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--text-muted);
  font-size: 1.125rem;
  pointer-events: none;
  z-index: 1;
}
.header-search .ldt-search-input {
  width: 200px;
  padding: 0.5rem 1rem 0.5rem 2.25rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-family: var(--font-body);
  background: var(--surface-alt);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header-search .ldt-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(244,109,22,0.12);
  background: var(--surface);
}

/* Search results dropdown — .ldt-search-results */
.ldt-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  min-width: 280px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 30;
  display: none;
  border-radius: var(--radius-md);
}

/* Header phone CTA — .header-phone */
.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.header-phone .ldt-icon {
  font-size: 1.25rem;
  color: var(--primary);
}
@media (min-width: 768px) {
  .header-phone { display: flex; }
}
/* Ensure phone number SVG is always visible */
.header-phone svg,
.fb-phone svg,
.mbn-call svg,
.mobile-menu-cta svg { color: currentColor; fill: currentColor; }

/* Hamburger — .header-hamburger */
.header-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.5rem;
}
.header-hamburger .ldt-icon {
  font-size: 1.75rem;
}
@media (min-width: 1024px) {
  .header-hamburger { display: none; }
}

/* ============================================================
   MOBILE FULL-SCREEN MENU — .mobile-menu-overlay
   ============================================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--secondary);
  z-index: var(--z-modal);
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* When JS shows it (display:flex) */
.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mm-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-light);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text-inverse);
  cursor: pointer;
  padding: 0.25rem;
}
.mobile-menu-close .ldt-icon {
  font-size: 1.5rem;
}

/* Mobile search */
.mobile-menu-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
}
.mobile-menu-search > .ldt-icon {
  color: var(--text-muted);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.mobile-menu-search .ldt-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-inverse);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  outline: none;
}
.mobile-menu-search .ldt-search-input::placeholder {
  color: var(--text-muted);
}
.mobile-menu-search .ldt-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 1.5rem;
  right: 1.5rem;
  z-index: 10;
}

/* Mobile nav links */
.mobile-menu-nav {
  flex: 1;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
}
.mm-section {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 1.25rem 0 0.5rem;
}
.mobile-menu-nav > a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 0;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-menu-nav > a:hover {
  color: var(--primary-light);
}
.mobile-menu-nav > a .ldt-icon {
  font-size: 1.25rem;
  color: var(--primary-light);
  width: 1.5rem;
  text-align: center;
}
.mobile-menu-nav .emergency-link {
  color: var(--accent);
}
.mobile-menu-nav .emergency-link .ldt-icon {
  color: var(--accent);
}

/* Mobile CTA */
.mobile-menu-cta {
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.mobile-menu-cta a:hover {
  background: var(--accent-dark);
}

/* ============================================================
   MOBILE BOTTOM NAV — .mobile-bottom-nav
   ============================================================ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 98;
  background: rgba(30,41,59,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 767px) {
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 70px; }
}

.mbn-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.mbn-inner > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.625rem 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s;
  flex: 1;
}
.mbn-inner > a .ldt-icon {
  font-size: 1.375rem;
}
.mbn-inner > a:hover,
.mbn-inner > a.active {
  color: var(--primary-light);
}
.mbn-inner > a.mbn-emergency {
  color: var(--accent);
}
.mbn-inner > a.mbn-call {
  color: var(--success);
}

/* ============================================================
   AVAILABILITY BADGE
   ============================================================ */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(244,109,22,0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.pulse-dot {
  position: relative;
  display: inline-flex;
  width: 0.75rem;
  height: 0.75rem;
}
.pulse-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--dot-color, var(--success));
  opacity: 0.75;
  animation: pulse-ring 2s infinite;
}
.pulse-dot::after {
  content: '';
  position: relative;
  display: inline-flex;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--dot-color, var(--success));
}
@keyframes pulse-ring {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 10px rgba(0,0,0,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
.badge-text {
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--text-inverse);
  padding: 4rem 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: 4.5rem 0; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}
@media (max-width: 767px) {
  .hero {
    padding: 1.5rem 0 !important;
  }
  .hero .container {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .hero .container h1 {
    font-size: 1.4rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
  }
  .hero .container p,
  .hero .container .hero-text p {
    font-size: 0.9rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
  }
  .hero-bg {
    background-size: cover !important;
    background-position: center center !important;
  }
  .hero-cta {
    gap: 0.5rem !important;
  }
  .hero-cta .btn {
    font-size: 0.85rem !important;
    padding: 0.6rem 1rem !important;
  }
}
@media (min-width: 1200px) {
  .hero-bg { background-size: 100% auto; }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}

/* Decorative pattern fallback when no featured image */
.hero-bg-pattern {
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(244,109,22,0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(244,109,22,0.3) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L55 30L30 55L5 30Z' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px;
}
.hero-bg-pattern::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-content { grid-template-columns: 1fr 1fr; }
}

.hero-text h1 {
  color: var(--text-inverse);
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero service cards (right side) */
.hero-services {
  display: none;
}
@media (min-width: 768px) {
  .hero-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.hero-service-card {
  background: rgba(255,255,255,0.95);
  color: var(--text-primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  border-left: 3px solid var(--primary);
}
.hero-service-card:hover {
  background: #fff;
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.hero-service-card .ldt-icon {
  color: var(--primary);
  font-size: 1.25rem;
}

/* ============================================================
   TRUST / STATS BAR
   ============================================================ */
.trust-bar {
  background: var(--secondary);
  color: var(--text-inverse);
  padding: 2rem 0;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.trust-item-stat {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.trust-item-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   SECTIONS & LAYOUT
   ============================================================ */
.section { padding: 5rem 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--secondary); color: var(--text-inverse); }
.section-dark p { color: rgba(255,255,255,0.7); }
@media (max-width: 640px) {
  .section { padding: 3rem 0; }
}

.grid { display: grid; gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  /* Force inline style grids to 1 col on mobile */
  .container > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.card-hover:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Service tiles */
.service-tile {
  display: block;
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
}
.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary-light);
}
.service-tile-icon {
  margin-bottom: 1rem;
  color: var(--primary);
}
.service-tile-icon .ldt-icon {
  font-size: 2rem;
}
.service-tile h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}
.service-tile p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  padding: 4rem 0;
}
.cta-strip h2 { color: var(--text-inverse); }

/* ============================================================
   FAQ FILTER BUTTONS
   ============================================================ */
.faq-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  min-width: max-content;
}
.faq-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.faq-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.faq-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.faq-filter-btn .ldt-icon {
  width: 16px;
  height: 16px;
}

/* ============================================================
   FAQ ACCORDION CARDS
   ============================================================ */
.faq-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--bg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.faq-card-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.125rem 1.25rem;
  border: none;
  background: none;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
}
.faq-card-toggle:hover { color: var(--primary); }
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-open .faq-chevron { transform: rotate(180deg); }
.faq-card-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: max-height 0.35s ease, padding-top 0.35s ease;
}
.faq-card-answer p { margin-bottom: 1rem; }
.faq-card-answer p:last-child { margin-bottom: 1.25rem; }
.faq-open .faq-card-answer {
  padding-top: 0;
}

/* Legacy faq-item support (location pages) */
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-item:first-child {
  border-top: 1px solid var(--border-soft);
}
.faq-item summary,
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover,
.faq-question:hover { color: var(--primary); }
.faq-answer {
  padding: 0 0 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-answer p { margin-bottom: 1rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-open .faq-answer { max-height: 300px !important; padding-top: 1rem !important; }
.faq-open .ldt-icon { transform: rotate(180deg); }

/* ============================================================
   FORMS
   ============================================================ */
.ldp-form input,
.ldp-form select,
.ldp-form textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: var(--surface);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(244,109,22,0.12);
}
input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

/* Form modal trigger */
.open-form-modal { cursor: pointer; }

/* ============================================================
   FOOTER — .site-footer (from footer.php)
   ============================================================ */
.site-footer {
  background: var(--secondary-dark);
  color: var(--text-inverse);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Footer brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-logo-wrap {
  margin-bottom: 0.5rem;
}
.footer-logo-wrap img,
.footer-logo-wrap .custom-logo {
  max-height: 70px;
  width: auto;
}
.fb-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-light);
}
.fb-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.fb-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  margin-top: 0.25rem;
}
.fb-phone:hover { color: var(--accent-dark); }
.fb-phone .ldt-icon { font-size: 1.25rem; }

.footer-trust {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.footer-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
}
.footer-trust .ldt-icon {
  font-size: 1rem;
  color: var(--primary-light);
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Footer columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.footer-col h4 {
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.footer-col a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  padding: 0.35rem 0;
  display: block;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-col a:hover {
  color: #fff;
}

/* Footer 2-col section */
.footer-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 640px) {
  .footer-2col { grid-template-columns: 1fr; }
}

/* Footer service category icons */
.footer-service-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
}
.footer-service-categories a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-service-categories a:hover {
  color: var(--primary-light);
}
.footer-service-categories .ldt-icon {
  font-size: 1.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #fff;
}

/* ============================================================
   FORM MODAL
   ============================================================ */
.form-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: var(--z-modal);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.form-modal-overlay.active {
  display: flex;
}
.form-modal {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

/* ============================================================
   NEARBY PILLS (locations)
   ============================================================ */
.nearby-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.nearby-pill {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  border: 1px solid var(--border-soft);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
}
.nearby-pill:hover {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
}

/* ============================================================
   PROSE / CONTENT
   ============================================================ */
.prose { max-width: 65ch; margin: 0 auto; }
.prose h2, .prose h3, .prose h4 { margin-top: 2rem; }
.prose blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(244,109,22,0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.hidden { display: none; }
.text-muted { color: var(--text-muted); }
.text-inverse { color: var(--text-inverse); }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 639px) {
  .hide-mobile { display: none; }
}
@media (min-width: 768px) {
  .show-mobile { display: none; }
}

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

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .mobile-menu-overlay, .mobile-bottom-nav, .cta-strip { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
}
