/*
Theme Name: The Wheel Equalizer
Theme URI: https://thewheelequalizer.com
Author: ConnectWeb SD
Author URI: https://connectwebsd.com
Description: Premium dark theme for The Wheel Equalizer — luxury mobile wheel repair serving Tustin and Orange County, California.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wheel-equalizer
Tags: dark, one-page, custom-logo, custom-menu, featured-images
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d12;
  --card: #14141c;
  --card-hover: #1a1a26;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-glow: rgba(59,130,246,0.25);
  --border: #1f1f2e;
  --text: #fafafa;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --surface: #1a1a26;
  --radius: 0.75rem;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }

.section-padding { padding: 4rem 1rem; }
@media (min-width: 768px) { .section-padding { padding: 6rem 1.5rem; } }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .eyebrow { font-size: 0.875rem; } }

.glow-border {
  box-shadow: 0 0 0 1px var(--border), 0 0 20px -8px var(--primary-glow);
}

.glow-blue {
  box-shadow: 0 0 30px -5px rgba(59,130,246,0.4);
}

.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  box-shadow: 0 0 30px -5px rgba(59,130,246,0.2);
  transform: translateY(-2px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 30px -5px rgba(59,130,246,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: var(--card-hover);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(13,13,18,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 768px) { .header-inner { height: 5rem; } }

.site-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .site-logo { font-size: 1.5rem; } }
.site-logo span { color: var(--primary); }

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .desktop-nav { display: flex; } }

.desktop-nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s;
}
.desktop-nav a:hover, .desktop-nav a.current { color: var(--text); }

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) { .header-actions { display: flex; } }

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.header-phone:hover { color: var(--text); }
.header-phone svg { width: 1rem; height: 1rem; }

.header-cta {
  background: var(--primary);
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.3s;
}
.header-cta:hover { background: var(--primary-hover); }

/* Hamburger */
.hamburger {
  display: flex;
  background: none;
  border: none;
  color: var(--text);
  padding: 0.5rem;
  cursor: pointer;
}
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger svg { width: 1.5rem; height: 1.5rem; }

/* Mobile nav */
.mobile-nav {
  display: none;
  background: rgba(13,13,18,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1rem;
}
.mobile-nav.open { display: block; }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }

.mobile-nav a {
  display: block;
  font-size: 1.125rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--text); }

.mobile-nav .btn {
  width: 100%;
  margin-top: 1rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,18,0.8), rgba(13,13,18,0.7), var(--bg));
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 5rem 1rem 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero h1 span { color: var(--primary); }

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
@media (min-width: 768px) { .hero-sub { font-size: 1.25rem; } }

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; justify-content: center; } }
.hero-buttons .btn { width: 100%; }
@media (min-width: 640px) { .hero-buttons .btn { width: auto; } }

.hero-trust {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

/* ===== TRUST FEATURES ===== */
.trust-section { border-top: 1px solid var(--border); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(5, 1fr); } }

.trust-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.trust-card .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin: 0 auto 0.75rem;
}

.trust-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.trust-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.about-img {
  border-radius: 1rem;
  overflow: hidden;
}

.about-img img { width: 100%; height: auto; object-fit: cover; }

.about-text h2 { font-size: 1.875rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about-text h2 { font-size: 2.25rem; } }

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}

.about-mini-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
}

.about-mini-card .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-mini-card h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.about-mini-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
}

/* Service detail (alternating) */
.service-detail {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .service-detail { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .service-detail-img { order: 1; }
@media (min-width: 768px) { .service-detail.reverse .service-detail-img { order: 2; } }
@media (min-width: 768px) { .service-detail.reverse .service-detail-text { order: 1; } }

.service-detail-img {
  border-radius: 1rem;
  overflow: hidden;
}

.service-detail-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-detail-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .service-detail-text h2 { font-size: 1.875rem; } }

.service-detail-text p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-detail-text ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-detail-text ul li {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
}

.why-card .icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== RESULTS / FEATURED BEFORE-AFTER ===== */
.results-card {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.results-grid .image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.results-grid .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.results-badge {
  position: absolute;
  top: 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.results-badge.before {
  left: 0.75rem;
  background: rgba(13,13,18,0.8);
  backdrop-filter: blur(8px);
}

.results-badge.after {
  right: 0.75rem;
  background: rgba(59,130,246,0.9);
  color: #fff;
}

.results-caption {
  padding: 1.25rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-card {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.gallery-pair .image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-pair .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .image-wrap img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Filter buttons */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== SERVICE AREAS ===== */
.areas-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) { .areas-grid { grid-template-columns: 1fr 1fr; } }

.city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.city-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.city-detail {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.city-detail h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.city-detail p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(4, 1fr); } }

.testimonial-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--primary);
  color: var(--primary);
}

.testimonial-card blockquote {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
  font-style: normal;
}

.testimonial-footer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial-footer .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-footer .vehicle {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ===== CTA PANEL ===== */
.cta-panel {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-panel { padding: 3.5rem; } }

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.05), transparent);
  pointer-events: none;
}

.cta-panel h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  position: relative;
}
@media (min-width: 768px) { .cta-panel h2 { font-size: 2.25rem; } }

.cta-panel p {
  color: var(--text-secondary);
  max-width: 32rem;
  margin: 0 auto 2rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
}
@media (min-width: 640px) { .cta-buttons { flex-direction: row; justify-content: center; } }
.cta-buttons .btn { width: 100%; }
@media (min-width: 640px) { .cta-buttons .btn { width: auto; } }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.contact-info-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-info-card .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-info-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.contact-form {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
}
@media (min-width: 768px) { .contact-form { padding: 2rem; } }

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
  .form-row-3 { grid-template-columns: 1fr; }
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  font-family: var(--font-body);
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group textarea { resize: none; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-method-btns {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-method-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: capitalize;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.contact-method-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 1rem;
}

.form-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius);
  padding: 1rem;
  color: #22c55e;
  text-align: center;
  margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.footer-contact-item:hover { color: var(--text); }
.footer-contact-item svg { width: 1rem; height: 1rem; color: var(--primary); }

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: none;
}
@media (min-width: 768px) { .floating-cta.visible { display: block; } }

.floating-cta .btn {
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* Mobile bottom bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem;
  background: rgba(13,13,18,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: none;
}
@media (max-width: 767px) { .mobile-bottom-bar.visible { display: block; } }

.mobile-bottom-bar .btn { width: 100%; border-radius: var(--radius); }

/* ===== 404 ===== */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.page-404 h1 {
  font-size: 6rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.page-404 p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== SECTION HEADING CENTER ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-header h2 { font-size: 2.25rem; } }

.section-header p {
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 0 auto;
}

/* ===== WORDPRESS SPECIFIC ===== */
.alignleft { float: left; margin: 0 1rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Google maps placeholder */
.map-placeholder {
  background: var(--card);
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  border: 1px solid var(--border);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius);
}

/* ===== BUSINESS HOURS ===== */
.hours-list {
  margin-bottom: 1.5rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child { font-weight: 500; color: var(--text); }
