/*
Theme Name: TrueFixPro
Theme URI: https://truefixpro.ca
Author: TrueFixPro Team
Author URI: https://truefixpro.ca
Description: Custom WordPress theme for TrueFixPro Appliance Repair — Winnipeg & Steinbach. Navy/amber "Industrial Clarity" design, single-page landing layout with service grid, quote form, Google Maps, and review carousel.
Version: 1.0.11
License: MIT
Text Domain: truefixpro
*/

/* ====== ROOT VARIABLES ====== */
:root {
  --navy: #0d1f3c;
  --navy-dark: #071526;
  --amber: #f59e0b;
  --white: #ffffff;
  --gray-light: #f1f5f9;
  --gray-mid: #cbd5e1;
  --gray-text: #64748b;
  --gray-dark: #1a202c;
  --radius: 0.375rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ====== UTILITY CLASSES ====== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

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

.font-condensed {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
}

.text-navy { color: var(--navy); }
.text-amber { color: var(--amber); }
.text-white { color: var(--white); }
.bg-navy { background-color: var(--navy); }
.bg-amber { background-color: var(--amber); }
.bg-white { background-color: var(--white); }
.bg-gray-light { background-color: var(--gray-light); }

/* ====== NAVBAR ====== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-top: 4px;
}

.logo-svg {
  height: 38px;
  width: auto;
}

/* Desktop nav */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

.main-nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-mid);
  padding-bottom: 0.375rem;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--amber);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  border-radius: 999px;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-top: 2px;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.75rem;
  background: transparent;
  z-index: 100;
}

.nav-dropdown-menu-inner {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 0;
  min-width: 240px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-group {
  padding: 0.25rem 0;
}

.nav-dropdown-heading {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.nav-dropdown-group a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--gray-mid);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-group a:hover {
  background: rgba(245,158,11,0.1);
  color: var(--amber);
}

.nav-dropdown-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

.nav-dropdown-footer a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber);
}

.nav-dropdown-footer a:hover {
  color: white;
}

/* Mobile sub-items */
.mobile-sub-item {
  padding-left: 2rem !important;
  font-size: 0.8125rem !important;
  opacity: 0.8;
}

/* Phone CTA */
.phone-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 700;
  transition: filter 0.2s, transform 0.1s;
}

.phone-cta:hover { filter: brightness(1.1); }
.phone-cta:active { transform: scale(0.95); }

@media (min-width: 1024px) {
  .phone-cta { display: inline-flex; }
}

/* Mobile toggle */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: white;
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.375rem;
}

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

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius);
  color: var(--gray-mid);
  transition: color 0.2s, background 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--amber);
  background: rgba(245,158,11,0.08);
}

.mobile-phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 0.75rem;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  min-height: 70vh;
  padding-top: 42px;
}

@media (min-width: 1024px) {
  .hero { padding-top: 42px; }
}

@media (min-width: 1024px) {
  .hero { min-height: auto; }
}

/* Full-bleed carousel */
.hero-carousel {
  position: absolute;
  top: 42px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

@media (min-width: 1024px) {
  .hero-carousel { top: 42px; }
}

.hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.7s;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 1024px) {
  .hero-slide img {
    object-fit: cover;
  }
}

/* Text overlay */
.hero-content {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 80vh;
  min-height: 80dvh;
  padding: 2rem 1.5rem 4rem;
}

@media (min-width: 768px) {
  .hero-content {
    min-height: 70vh;
    min-height: 70dvh;
    padding: 2rem 1.5rem 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    min-height: 650px;
    padding: 2rem 2rem 4rem;
  }
}

/* Text cards — one per slide, overlaid */
.hero-text-card {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 3rem;
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  max-width: 100%;
  transition: opacity 0.7s;
}

@media (min-width: 640px) {
  .hero-text-card {
    left: 1.5rem;
    right: auto;
    padding: 2rem;
    max-width: 500px;
  }
}

@media (min-width: 1024px) {
  .hero-text-card {
    left: 2rem;
    right: auto;
    bottom: 4rem;
    padding: 2.25rem 2.25rem;
    max-width: 540px;
  }
}

.hero-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 7vw, 4rem);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  text-align: left;
  width: 100%;
}

.hero-subtitle {
  color: #f1f5f9;
  font-size: 1.0625rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.375;
  font-weight: 500;
  text-align: left;
  width: 100%;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
  width: 100%;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #f1f5f9;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-features .check-icon {
  color: var(--amber);
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 480px) {
  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 700;
  transition: filter 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .hero-cta {
    padding: 1rem 1.75rem;
    font-size: 1rem;
    gap: 0.75rem;
  }
}

.hero-cta:hover { filter: brightness(1.1); }
.hero-cta:active { transform: scale(0.95); }

.hero-cta .phone-icon-wrap {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-quote-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 2px solid var(--amber);
  color: var(--amber);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

@media (min-width: 480px) {
  .hero-quote-cta {
    padding: 1rem 1.75rem;
    font-size: 1rem;
  }
}

.hero-quote-cta:hover {
  background: rgba(245,158,11,0.15);
}

.hero-quote-cta:active {
  transform: scale(0.95);
}

.hero-service-area {
  color: #94a3b8;
  font-size: 0.8125rem;
  margin-top: 1rem;
  text-align: left;
  width: 100%;
}

.hero-service-area strong {
  color: white;
  font-weight: 600;
}

/* Carousel controls */
.carousel-arrow {
  display: none;
}

@media (min-width: 768px) {
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,31,60,0.6);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: transform 0.2s;
  }
}

.carousel-arrow:hover { transform: translateY(-50%) scale(1.1); }
.carousel-arrow:active { transform: translateY(-50%) scale(0.95); }
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.slide-label {
  position: absolute;
  bottom: 2.5rem;
  right: 1.5rem;
  z-index: 30;
}

.slide-label span {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: opacity 0.5s;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dots button {
  border: none;
  border-radius: 9999px;
  height: 8px;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.carousel-dots .dot-inactive {
  width: 8px;
  background: rgba(255,255,255,0.4);
}

.carousel-dots .dot-active {
  width: 24px;
  background: var(--amber);
}

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

.page-contact .section-header {
  margin-bottom: 0.25rem;
}

.page-contact .quote-card-body {
  padding-top: 0.75rem;
}

@media (max-width: 767px) {
  .page-contact .quote-form {
    gap: 0.5rem;
  }
  .page-contact .quote-form input,
  .page-contact .quote-form select,
  .page-contact .quote-form textarea {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }
  .page-contact .quote-form textarea {
    min-height: 60px;
  }
}

.section-header .label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.section-header .label-row .line {
  height: 1px;
  width: 2.5rem;
  background: var(--amber);
}

.section-header .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.section-header h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--navy);
}

@media (min-width: 1024px) {
  .section-header h2 { font-size: 2.25rem; }
}

/* ====== SERVICES ====== */
.services-section {
  padding: 3rem 0;
  background: var(--white);
}

@media (min-width: 1024px) {
  .services-section { padding: 4rem 0; }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  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); }
}

/* Services archive page - smaller images */
.post-type-archive-tfp_service .service-card-image {
  height: 110px;
}

.service-card {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service-card-image {
  position: relative;
  height: 190px;
  overflow: hidden;
}

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

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

.service-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--amber);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .service-card-overlay {
  opacity: 0.2;
}

.service-card-icon {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service-card:hover .service-card-icon {
  transform: scale(1.1);
}

.service-card-body {
  padding: 1rem 1rem 1.25rem;
}

.service-card-body h3 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.service-card-body p {
  color: var(--gray-text);
  font-size: 0.875rem;
  line-height: 1.5;
}

.service-card-cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber);
  transition: color 0.2s;
}

.service-card-cta:hover {
  color: var(--navy);
}

.services-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.services-cta {
  padding: 0.75rem 2.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--amber);
  color: var(--amber);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}

.services-cta:hover {
  background: rgba(245,158,11,0.05);
}

/* ====== ABOUT US ====== */
.about-section {
  padding: 3rem 0;
  background: var(--white);
}

@media (min-width: 1024px) {
  .about-section { padding: 4rem 0; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.about-image img {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  border: 2px solid rgba(245,158,11,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 50px rgba(0,0,0,0.18);
}

.about-content p {
  color: var(--gray-text);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .about-stats { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: 0.5rem;
}

.stat-number {
  display: block;
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--amber);
  line-height: 1;
}

.stat-number::after {
  content: '+';
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-text);
  font-weight: 500;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ====== SERVICE AREA & QUOTE ====== */
.quote-section {
  padding: 4rem 0;
  background: var(--gray-light);
  scroll-margin-top: 42px;
}

@media (min-width: 1024px) {
  .quote-section { padding: 5rem 0; }
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

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

/* Map card */
.map-card {
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.map-card-accent {
  height: 6px;
  background: var(--amber);
}

.map-card-body {
  padding: 1.5rem;
}

.map-card-body h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .map-card-body h2 { font-size: 1.875rem; }
}

.map-card-body > p {
  color: var(--gray-text);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(13,31,60,0.06);
  color: var(--navy);
}

.trust-badge .badge-icon {
  color: var(--amber);
}

.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  height: 320px;
  background: #e2e8f0;
  position: relative;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--gray-text);
  font-size: 0.875rem;
  text-align: center;
  padding: 2rem;
}

/* Quote form */
.quote-card {
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  scroll-margin-top: 42px;
}

.quote-card-accent {
  height: 6px;
  background: var(--amber);
}

.quote-card-body {
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .quote-card-body { padding: 2rem; }
}

.quote-card-body h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .quote-card-body h2 { font-size: 1.875rem; }
}

.quote-card-body > p {
  color: #cbd5e1;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.97);
  color: var(--gray-dark);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--amber);
}

.quote-form textarea {
  resize: vertical;
  min-height: 80px;
}

.quote-file-upload {
  position: relative;
}

.quote-file-upload input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.quote-file-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07);
  color: #94a3b8;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.quote-file-label:hover {
  border-color: var(--amber);
  color: #cbd5e1;
}

.quote-contact-method {
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  background: transparent;
  color: var(--white);
}

.quote-contact-method legend {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 0.25rem;
  margin-bottom: 0.5rem;
}

.quote-radio-group {
  display: flex;
  gap: 1.25rem;
}

.quote-radio-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--white) !important;
  font-size: 0.875rem;
  cursor: pointer;
}

.quote-radio-label span {
  color: var(--white) !important;
}

.quote-radio-label input[type="radio"] {
  width: auto;
  accent-color: var(--amber);
}

.quote-submit {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s, transform 0.1s;
  margin-top: 0.25rem;
}

.quote-submit:hover { filter: brightness(1.1); }
.quote-submit:active { transform: scale(0.95); }

.quote-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}

.quote-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.quote-success h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.quote-success p {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.quote-success a {
  color: var(--amber);
  font-size: 0.875rem;
  text-decoration: underline;
  margin-top: 1.5rem;
  display: inline-block;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

/* ====== CONTACT ====== */
.contact-section {
  padding: 3.5rem 0;
  background: var(--navy);
  scroll-margin-top: 42px;
}

@media (min-width: 1024px) {
  .contact-section { padding: 4rem 0; }
}

.contact-section h2 {
  text-align: center;
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: white;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-section h2 { font-size: 2.25rem; }
}

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

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

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

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-left: none;
}

@media (min-width: 1024px) {
  .contact-item {
    border-left: 1px solid rgba(255,255,255,0.12);
  }
  .contact-item:first-child { border-left: none; }
}

.contact-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.contact-label {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
}

.contact-value a {
  color: var(--amber);
  transition: text-decoration 0.2s;
}

.contact-value a:hover {
  text-decoration: underline;
}

.contact-sub {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* ====== REVIEWS ====== */
.reviews-section {
  padding: 4rem 0;
  background: var(--gray-light);
}

@media (min-width: 1024px) {
  .reviews-section { padding: 5rem 0; }
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.review-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--navy);
}

.review-quote-bg {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--navy);
  opacity: 0.1;
  font-size: 2.5rem;
  line-height: 1;
}

.star-rating {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0;
}

.star-filled { color: var(--amber); fill: var(--amber); }
.star-empty { color: #d1d5db; }

.review-text {
  color: var(--gray-text);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--navy);
}

.review-location {
  color: #94a3b8;
  font-size: 0.75rem;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.review-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 9999px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.review-dots .dot-inactive {
  background: var(--gray-mid);
}

.review-dots .dot-active {
  background: var(--amber);
  transform: scale(1.25);
}

/* ====== FOOTER ====== */
.site-footer {
  padding: 2.5rem 0;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
}

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

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

.footer-brand p {
  color: var(--gray-text);
  font-size: 0.75rem;
  line-height: 1.5;
  margin-top: 0.25rem;
}

.footer-section h4 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-list a,
.footer-contact-list div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.footer-contact-list a:hover {
  color: white;
}

.footer-contact-list .f-icon {
  color: var(--amber);
  flex-shrink: 0;
}

.footer-hours {
  color: #94a3b8;
  font-size: 0.75rem;
  line-height: 1.6;
}

.footer-hours .hours-note {
  color: var(--gray-text);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: var(--gray-text);
  font-size: 0.75rem;
}

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

/* ====== HEADER SOCIAL & ACTIONS ====== */
.header-actions { display: none; }
@media (min-width: 1024px) {
  .header-actions { display: flex !important; }
}
.header-social { display: flex; gap: 0.5rem; }
.header-social a { color: #94a3b8; transition: color 0.2s; }
.header-social a:hover { color: var(--truefix-amber, #f59e0b); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.footer-social a { color: #64748b; transition: color 0.2s; }
.footer-social a:hover { color: var(--truefix-amber, #f59e0b); }
.footer-widget { margin-bottom: 1rem; }

/* ====== SERVICE FILTER (archive) ====== */
.service-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.service-filter button { padding: 0.5rem 1rem; border: 2px solid var(--truefix-navy, #0d1f3c); border-radius: 9999px; background: transparent; color: var(--truefix-navy, #0d1f3c); font-size: 0.8125rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.service-filter button.active, .service-filter button:hover { background: var(--truefix-amber, #f59e0b); border-color: var(--truefix-amber, #f59e0b); color: var(--truefix-navy, #0d1f3c); }

/* ====== PAGE CONTENT ====== */
.page-content { max-width: 720px; line-height: 1.8; color: #334155; }
.page-content h2, .page-content h3 { font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-weight: 700; color: var(--truefix-navy, #0d1f3c); margin: 2rem 0 0.75rem; }
.page-content p { margin-bottom: 1rem; }

/* ====== CONTACT PAGE LAYOUT ====== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-page-grid { grid-template-columns: 1fr 1fr; }
}

.contact-page-info .map-card-body h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-page-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.contact-page-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: var(--white);
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}

a.contact-page-item:hover {
  background: var(--gray-light);
}

.contact-page-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: var(--amber);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-page-item-label {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.125rem;
}

.contact-page-item-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-page-item-sub {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-top: 0.125rem;
}

/* ====== SINGLE SERVICE PAGE ====== */
.single-service-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .single-service-layout { grid-template-columns: 1fr 1fr; }
}

.single-service-image {
  max-height: 300px;
}

.single-service-image {
  max-height: 350px;
  overflow: hidden;
}

.single-service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .single-service-image {
    max-height: 500px;
  }
}

/* ====== SERVICES ARCHIVE CAROUSEL ====== */
.services-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 54px;
}

@media (min-width: 1024px) {
  .services-hero { padding-top: 42px; }
}

.services-carousel {
  position: absolute;
  top: 54px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

@media (min-width: 1024px) {
  .services-carousel { top: 42px; }
}

.services-carousel .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-slide-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2d4a, #0d1f3c);
}

.services-overlay {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: calc(100vh - 42px);
  min-height: calc(100dvh - 42px);
  padding: 2rem 1.5rem 4rem;
}

@media (min-width: 1024px) {
  .services-overlay {
    min-height: calc(100vh - 57px);
    min-height: calc(100dvh - 57px);
  }
}

.services-text-card {
  max-width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
  border: none;
  background: rgba(13, 31, 60, 0.6);
  padding: 1.5rem 1.5rem 1.5rem;
}

@media (min-width: 640px) {
  .services-text-card {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .services-text-card {
    padding: 2.25rem;
  }
}

/* Single service hero */
.single-tfp_service .services-carousel {
  top: 54px;
}

@media (min-width: 1024px) {
  .single-tfp_service .services-carousel {
    top: 42px;
  }
}
