/*
Theme Name: Q-Fix Plumbing
Theme URI: https://qfixplumbing.example
Author: JinnByte
Author URI: https://jinnbyte.com
Description: A modern, responsive one-page theme for Q-Fix Plumbing. Features dark mode, custom post types for Services, Reviews, FAQs, and Gallery, plus custom fields for editable content sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qfix
*/

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

:root {
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  --ink: #0b1220;
  --shadow-card: 0 10px 30px -10px rgba(2, 6, 23, 0.35);
  --shadow-ring: 0 0 0 8px rgb(37 99 235 / 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Dark mode */
html.dark body { background: var(--ink); color: #e2e8f0; }

/* ===== TYPOGRAPHY ===== */
.font-display { font-family: 'Manrope', 'Inter', system-ui, sans-serif; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

/* ===== LAYOUT ===== */
.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp 0.6s ease both; }

/* ===== TOP BAR ===== */
.qfix-topbar {
  position: relative;
  z-index: 40;
  background: rgba(30, 58, 138, 0.9);
  color: #fff;
}
.qfix-topbar .container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
}
.qfix-topbar a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}
.qfix-topbar a:hover { text-decoration-color: #fff; }

/* ===== HEADER / NAVBAR ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}
html.dark .site-header {
  background: rgba(15, 23, 42, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.header-inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-logo .logo-icon {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(37, 99, 235, 0.1);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.3);
}
.site-logo .logo-icon .material-icons-outlined { color: var(--primary-600); }
.site-logo .logo-text {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: 1.125rem;
  line-height: 1.2;
}

.site-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.site-tagline {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary, #2563eb);
  padding-left: 2px; /* subtle optical alignment with the logo text */
  line-height: 1;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}
.desktop-nav a:hover,
.desktop-nav .current-menu-item > a,
.desktop-nav .current_page_item > a { color: var(--primary-500); }

/* WP nav menu reset */
.desktop-nav ul,
.mobile-nav-menu ul { list-style: none; margin: 0; padding: 0; }
.desktop-nav ul { display: flex; align-items: center; gap: 1.5rem; }
.desktop-nav li { margin: 0; }

/* Header buttons */
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.btn-quote {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--primary-600);
  padding: 0.5rem 1rem;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  text-decoration: none;
}
.btn-quote:hover { background: var(--primary-700); }
@media (min-width: 640px) { .btn-quote { display: inline-flex; } }

.icon-btn {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
  background: transparent;
  border: none;
  cursor: pointer;
  color: inherit;
}
html.dark .icon-btn { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.icon-btn:hover { background: rgba(15, 23, 42, 0.05); }
html.dark .icon-btn:hover { background: rgba(255, 255, 255, 0.05); }

#menuBtn { display: inline-flex; }
@media (min-width: 768px) { #menuBtn { display: none; } }

/* Mobile Menu */
.mobile-nav {
  display: none;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}
html.dark .mobile-nav { border-top-color: rgba(255, 255, 255, 0.1); }
.mobile-nav.is-open { display: block; }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }

.mobile-nav-menu { padding: 0.75rem; }
.mobile-nav-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.mobile-nav-menu li { margin: 0; }
.mobile-nav-menu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}
.mobile-nav .btn-quote-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border-radius: 0.75rem;
  background: var(--primary-600);
  padding: 0.5rem 1rem;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
  font-size: 0.875rem;
  text-decoration: none;
}
.mobile-nav .btn-quote-mobile:hover { background: var(--primary-700); }

/* ===== HERO SECTION ===== */
.hero-section { position: relative; overflow: hidden; }
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 10% -20%, rgba(59, 130, 246, 0.25), transparent 60%),
    radial-gradient(800px 400px at 80% 0%, rgba(30, 58, 138, 0.35), transparent 60%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}
html.dark .hero-bg-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}
.hero-inner {
  padding: 5rem 0;
  display: grid;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    padding: 7rem 0;
  }
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-700);
}
html.dark .hero-badge { color: var(--primary-300); }

.hero-title {
  margin-top: 1rem;
  font-size: 2.25rem;
  line-height: 1.1;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-title .text-primary { color: var(--primary-600); }

.hero-subtitle {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: #475569;
  max-width: 36rem;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.125rem; } }
html.dark .hero-subtitle { color: #cbd5e1; }

/* Hero CTA */
.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  background: var(--primary-600);
  padding: 0.75rem 1.5rem;
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}
.btn-primary:hover { background: var(--primary-700); }
.btn-primary:focus-visible { box-shadow: var(--shadow-ring); outline: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: inherit;
  text-decoration: none;
}
html.dark .btn-outline { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.btn-outline:hover { background: rgba(15, 23, 42, 0.05); }
html.dark .btn-outline:hover { background: rgba(255, 255, 255, 0.05); }

/* Hero stats */
.hero-stats {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: #64748b;
}
html.dark .hero-stats { color: #94a3b8; }
.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-stat .material-icons-outlined.star { color: #fbbf24; }

/* Hero image */
.hero-image-wrap { position: relative; }
.hero-image-wrap img {
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.hero-floating-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
html.dark .hero-floating-card {
  background: rgba(15, 23, 42, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.hero-floating-card .material-icons-outlined { color: var(--primary-600); }
.hero-floating-card p { margin: 0; }
.hero-floating-card p:first-of-type { font-weight: 600; }
.hero-floating-card p:last-of-type {
  font-size: 0.875rem;
  color: #475569;
}
html.dark .hero-floating-card p:last-of-type { color: #94a3b8; }

/* ===== SECTION COMMON ===== */
.section { padding: 5rem 0; }
.section-alt { background: #f8fafc; }
html.dark .section-alt { background: rgba(15, 23, 42, 0.3); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.section-header-center {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}
.section-title { font-size: 1.875rem; }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.section-subtitle {
  margin-top: 0.5rem;
  color: #475569;
}
html.dark .section-subtitle { color: #cbd5e1; }

.section-link {
  display: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-600);
  white-space: nowrap;
}
.section-link:hover { color: var(--primary-700); }
@media (min-width: 640px) { .section-link { display: block; } }

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text { color: #475569; margin-top: 1rem; }
html.dark .about-text { color: #cbd5e1; }

.about-features {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  list-style: none;
}
@media (min-width: 640px) { .about-features { grid-template-columns: 1fr 1fr; } }
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.about-features .material-icons-outlined { color: var(--primary-600); }

.about-image {
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

/* ===== SERVICES CARDS ===== */
.services-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@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 {
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
  background: #fff;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}
html.dark .service-card {
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.service-card:hover { box-shadow: var(--shadow-card); }

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-card .material-icons-outlined.service-icon {
  font-size: 1.875rem;
  color: var(--primary-600);
}
.service-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-700);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.2);
}
html.dark .service-badge { color: var(--primary-300); }

.service-card h3 { margin-top: 1rem; font-size: 1.125rem; font-weight: 600; }
.service-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
}
html.dark .service-card p { color: #cbd5e1; }

/* ===== WHY US ===== */
.whyus-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .whyus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .whyus-grid { grid-template-columns: repeat(4, 1fr); } }

.whyus-card {
  border-radius: 1rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
  padding: 1.5rem;
}
html.dark .whyus-card {
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.whyus-card .material-icons-outlined {
  color: var(--primary-600);
  font-size: 1.875rem;
}
.whyus-card h3 { margin-top: 0.75rem; font-weight: 600; }
.whyus-card p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #475569;
}
html.dark .whyus-card p { color: #cbd5e1; }

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

.pricing-features { margin-top: 1.5rem; list-style: none; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.pricing-features .material-icons-outlined { color: var(--primary-600); }

.pricing-cards {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .pricing-cards { grid-template-columns: repeat(2, 1fr); } }

.pricing-card {
  border-radius: 1rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
  padding: 1.5rem;
}
html.dark .pricing-card {
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.pricing-card .price-label {
  font-size: 0.875rem;
  color: #64748b;
}
html.dark .pricing-card .price-label { color: #94a3b8; }
.pricing-card .price {
  margin-top: 0.25rem;
  font-size: 1.875rem;
  font-weight: 800;
}
.pricing-card .price-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

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

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s;
}
.gallery-grid img:hover { opacity: 0.9; }

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  border-radius: 1rem;
  background: linear-gradient(to right, var(--primary-800), var(--primary-600));
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) {
  .cta-banner {
    flex-direction: row;
    padding: 2.5rem;
  }
}
.cta-banner h3 { font-size: 1.5rem; }
@media (min-width: 768px) { .cta-banner h3 { font-size: 1.875rem; } }
.cta-banner p { margin-top: 0.5rem; color: rgba(255, 255, 255, 0.9); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  background: #fff;
  color: var(--primary-700);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.btn-white:hover { background: rgba(255, 255, 255, 0.9); }

/* ===== REVIEWS ===== */
.reviews-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  border-radius: 1rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
  padding: 1.5rem;
}
html.dark .review-card {
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.review-stars { display: flex; color: #fbbf24; }
.review-card blockquote {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #334155;
}
html.dark .review-card blockquote { color: #cbd5e1; }
.review-card figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ===== FAQ ===== */
.faq-contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .faq-contact-grid { grid-template-columns: 1fr 1fr; } }

.faq-list { margin-top: 1.5rem; display: grid; gap: 1rem; }

.faq-item {
  border-radius: 1rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
  padding: 1.25rem;
}
html.dark .faq-item {
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.faq-item summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .material-icons-outlined {
  transition: transform 0.2s;
}
.faq-item[open] summary .material-icons-outlined { transform: rotate(180deg); }
.faq-item p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
}
html.dark .faq-item p { color: #cbd5e1; }

/* ===== CONTACT FORM (CF7 compatible) ===== */
.contact-card {
  border-radius: 1rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
  padding: 1.5rem;
}
html.dark .contact-card {
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.contact-card h3 { font-size: 1.5rem; }
.contact-card > p {
  margin-top: 0.5rem;
  color: #475569;
}
html.dark .contact-card > p { color: #cbd5e1; }

/* CF7 form styling */
.contact-card .wpcf7 { margin-top: 1.5rem; }
.contact-card .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .contact-card .wpcf7-form { grid-template-columns: 1fr 1fr; }
}

.contact-card .form-field { }
.contact-card .form-field-full { grid-column: 1 / -1; }

.contact-card .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: inherit;
  outline: none;
  transition: border-color 0.15s;
}
html.dark .contact-card .wpcf7-form-control:not(.wpcf7-submit) {
  border-color: #334155;
  background: #020617;
}
.contact-card .wpcf7-form-control:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.contact-card textarea.wpcf7-form-control { resize: vertical; min-height: 6rem; }

.contact-card .wpcf7-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  background: var(--primary-600);
  padding: 0.75rem 1.5rem;
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.contact-card .wpcf7-submit:hover { background: var(--primary-700); }

/* CF7 validation */
.wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.wpcf7-response-output {
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  margin-top: 1rem;
  grid-column: 1 / -1;
}

/* ===== MAP SECTION ===== */
.map-section { padding-top: 5rem; }
.map-frame {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1), var(--shadow-card);
}
html.dark .map-frame { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), var(--shadow-card); }
.map-frame iframe { width: 100%; height: 380px; display: block; border: 0; }
.map-tip {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #64748b;
}
html.dark .map-tip { color: #94a3b8; }

/* ===== MOBILE CTA BAR (sticky below header) ===== */
.mobile-cta {
  display: none;
  position: sticky;
  top: 4rem; /* matches header height */
  z-index: 39;
  width: 100%;
}
@media (max-width: 767px) { .mobile-cta { display: block; } }

.mobile-cta-inner {
  display: flex;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.25);
}
html.dark .mobile-cta-inner {
  background: #020617;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.5);
}

.mobile-cta-inner > a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  color: #fff;
}
.mobile-cta-inner > a:first-child {
  background: var(--primary-600);
}
.mobile-cta-inner > a:first-child:hover {
  background: var(--primary-700);
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}
html.dark .site-footer { border-top-color: rgba(255, 255, 255, 0.1); }

.footer-inner {
  padding: 3rem 0;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #475569;
  max-width: 28rem;
}
html.dark .footer-brand p { color: #94a3b8; }

.footer-nav h4,
.footer-contact h4 { font-weight: 600; }
.footer-nav ul {
  list-style: none;
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer-nav a:hover { color: var(--primary-600); }

.footer-contact ul {
  list-style: none;
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-contact .material-icons-outlined { font-size: 1rem; }

.footer-bottom {
  padding: 1rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}
html.dark .footer-bottom {
  color: #94a3b8;
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* ===== UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Material Icons sizing helpers */
.material-icons-outlined.text-sm { font-size: 0.875rem; }
.material-icons-outlined.text-base { font-size: 1rem; }

@media (max-width: 767px) { 
    .site-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    section#home {
        padding-left: 16px;
        padding-right: 16px;
    }
    .site-logo .logo-text {
        font-size: 1.7rem;
    }
 	.site-tagline {
    	font-size: 0.8rem;
	}
    .hero-inner {
        padding: 2.5rem 0;
    }
    .section {
        padding: 3rem 0;
    }
    .map-section {
        padding-top: 3rem;
    }
	.ti-reviews-container{
    	margin-bottom: 0px !important
	}
}