/* ============================================================
   TC Appliance Repair — Design System
   Premium local service business website
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary palette */
  --navy-900: #0a1628;
  --navy-800: #111d35;
  --navy-700: #172442;
  --navy-600: #1e2d52;
  --navy-500: #2a3f6e;

  /* Accent — Electric Blue */
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;

  /* Accent — Warm Amber */
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-300: #fcd34d;

  /* Accent — Success Green */
  --green-500: #22c55e;
  --green-400: #4ade80;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Semantic */
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-light: var(--gray-400);
  --text-white: var(--white);
  --bg-primary: var(--white);
  --bg-secondary: var(--gray-50);
  --bg-dark: var(--navy-900);
  --border-color: var(--gray-200);
  --shadow-color: rgba(10, 22, 40, 0.08);

  /* Typography scale */
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Borders & Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px var(--shadow-color);
  --shadow-md: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -2px var(--shadow-color);
  --shadow-lg: 0 10px 15px -3px var(--shadow-color), 0 4px 6px -4px var(--shadow-color);
  --shadow-xl: 0 20px 25px -5px var(--shadow-color), 0 8px 10px -6px var(--shadow-color);
  --shadow-2xl: 0 25px 50px -12px rgba(10, 22, 40, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --header-height: 80px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-20) 0;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.section--alt {
  background: var(--gray-50);
}

.text-center {
  text-align: center;
}

.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;
}

/* ---------- Typography ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-600);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--blue-600);
  border-radius: var(--radius-full);
}

.section--dark .section-label {
  color: var(--blue-400);
}

.section--dark .section-label::before {
  background: var(--blue-400);
}

.section-title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.section--dark .section-subtitle {
  color: var(--gray-400);
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn--primary:hover {
  background: var(--blue-500);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--white);
  color: var(--navy-900);
  border: 2px solid var(--gray-200);
}

.btn--secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  transform: translateY(-2px);
}

.btn--phone {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn--phone:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-lg);
  border-radius: var(--radius-xl);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
}

/* Shimmer effect on primary buttons */
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn--primary:hover::after {
  left: 100%;
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  background: transparent;
}

.header--scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  height: 70px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 1001;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: var(--fs-xs);
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-img {
  height: 54px;
  width: auto;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.header--scrolled .logo-img {
  height: 46px;
}

.footer-logo-img {
  height: 64px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gray-300);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link--active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link--dropdown {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link--dropdown::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--transition-fast);
}

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

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-100);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-sm);
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-dropdown-menu a:hover {
  background: var(--blue-100);
  color: var(--blue-600);
}

.nav-dropdown-menu a .dropdown-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-sm);
}

.header-phone .phone-icon {
  width: 36px;
  height: 36px;
  background: var(--green-500);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  animation: phone-ring 2s ease-in-out infinite;
}

@keyframes phone-ring {
  0%, 100% { transform: rotate(0deg); }
  5% { transform: rotate(15deg); }
  10% { transform: rotate(-13deg); }
  15% { transform: rotate(10deg); }
  20% { transform: rotate(-8deg); }
  25% { transform: rotate(0deg); }
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.95) 0%,
    rgba(10, 22, 40, 0.75) 50%,
    rgba(10, 22, 40, 0.85) 100%
  );
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
}

.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: var(--blue-600);
  top: -10%;
  right: -5%;
  animation: float-orb 8s ease-in-out infinite;
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: var(--blue-400);
  bottom: -15%;
  left: -10%;
  animation: float-orb 10s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--blue-400);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: var(--fs-6xl);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--fs-xl);
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.trust-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-300);
  line-height: 1.3;
}

.trust-label span {
  display: block;
  font-weight: 400;
  color: var(--gray-500);
  font-size: var(--fs-xs);
}

/* Hero visual side — rating card */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  width: 100%;
  max-width: 440px;
}

.hero-card-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.hero-card-stars {
  font-size: 2rem;
  color: var(--amber-400);
  margin-bottom: var(--space-2);
  letter-spacing: 4px;
}

.hero-card-rating {
  font-size: var(--fs-5xl);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero-card-count {
  font-size: var(--fs-sm);
  color: var(--gray-400);
}

.hero-card-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: var(--space-6) 0;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.hero-stat {
  text-align: center;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
}

.hero-stat-value {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--blue-400);
  margin-bottom: var(--space-1);
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Services Section ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--space-5);
  transition: all var(--transition-base);
}

.service-card:hover .service-card-icon {
  background: var(--blue-600);
  transform: scale(1.1);
}

.service-card:hover .service-card-icon span {
  filter: brightness(10);
}

.service-card-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--gray-900);
}

.service-card-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--blue-600);
  transition: gap var(--transition-fast);
}

.service-card-link:hover {
  gap: var(--space-3);
}

.service-card-link .arrow {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link .arrow {
  transform: translateX(4px);
}

/* ---------- Why Choose Us Section ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-10);
}

.feature-card {
  text-align: center;
  padding: var(--space-8);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: rgba(37, 99, 235, 0.1);
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all var(--transition-spring);
}

.feature-card:hover .feature-icon {
  background: var(--blue-600);
  border-color: var(--blue-600);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.section--dark .feature-icon {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.2);
}

.feature-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.feature-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.section--dark .feature-desc {
  color: var(--gray-400);
}

/* ---------- Service Areas Section ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.area-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: all var(--transition-base);
}

.area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-600);
}

.area-card .area-pin {
  font-size: 1.3rem;
}

.area-card .area-name {
  font-weight: 600;
  font-size: var(--fs-base);
}

.area-card .area-arrow {
  margin-left: auto;
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.area-card:hover .area-arrow {
  color: var(--blue-600);
  transform: translateX(4px);
}

/* ---------- Reviews / Testimonials Section ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--transition-base);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-stars {
  color: var(--amber-400);
  font-size: 1.1rem;
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}

.review-text {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--white);
}

.review-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--gray-900);
}

.review-source {
  font-size: var(--fs-xs);
  color: var(--gray-500);
}

.review-google-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  opacity: 0.2;
}

/* ---------- FAQ Section ---------- */
.faq-list {
  max-width: 800px;
  margin: var(--space-10) auto 0;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--blue-300);
}

.faq-item.active {
  border-color: var(--blue-600);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) var(--space-6);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  background: var(--white);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question {
  color: var(--blue-600);
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  font-size: 1.2rem;
  color: var(--gray-500);
}

.faq-item.active .faq-toggle {
  background: var(--blue-600);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--gray-600);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: var(--blue-600);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-subtitle {
  font-size: var(--fs-lg);
  color: var(--gray-400);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.cta-phone {
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.cta-phone:hover {
  color: var(--blue-400);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: var(--fs-sm);
  line-height: 1.8;
  margin-top: var(--space-4);
}

.footer-heading {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: var(--gray-500);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--blue-400);
  transform: translateX(4px);
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-hours .day {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--gray-500);
}

.footer-hours .day-name {
  font-weight: 500;
  color: var(--gray-400);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: var(--fs-sm);
  color: var(--gray-600);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: var(--fs-sm);
  color: var(--gray-600);
}

.footer-legal a:hover {
  color: var(--gray-400);
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 100ms; }
.animate-on-scroll.delay-2 { transition-delay: 200ms; }
.animate-on-scroll.delay-3 { transition-delay: 300ms; }
.animate-on-scroll.delay-4 { transition-delay: 400ms; }
.animate-on-scroll.delay-5 { transition-delay: 500ms; }

/* ---------- Sticky Mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: var(--space-3) var(--space-4);
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-cta-inner {
  display: flex;
  gap: var(--space-3);
}

.mobile-cta .btn {
  flex: 1;
  justify-content: center;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: var(--space-4) 0;
  font-size: var(--fs-sm);
  color: var(--gray-500);
}

.breadcrumbs a {
  color: var(--blue-600);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 var(--space-2);
  color: var(--gray-400);
}

/* ---------- Page Header (for inner pages) ---------- */
.page-header {
  background: var(--navy-900);
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: var(--blue-600);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-header p {
  font-size: var(--fs-lg);
  color: var(--gray-400);
  max-width: 640px;
}


/* ---------- Contact Form ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--fs-base);
  color: var(--gray-900);
  background: var(--white);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}


/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet landscape */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: var(--fs-5xl);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root {
    --fs-6xl: 2.5rem;
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.875rem;
    --fs-3xl: 1.5rem;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    background: var(--navy-900);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: var(--fs-xl);
    padding: var(--space-3) var(--space-6);
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    padding: var(--space-2);
    margin-top: var(--space-2);
    border-radius: var(--radius-md);
  }

  .nav-dropdown-menu a {
    color: var(--gray-300);
    justify-content: center;
  }

  .nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta .btn {
    display: none;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .cta-phone {
    font-size: var(--fs-2xl);
  }

  .mobile-cta {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Add bottom padding for fixed mobile CTA */
  body {
    padding-bottom: 72px;
  }
}

/* Mobile small */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: var(--space-4);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- Page Header (Inner Pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--blue-600);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  top: -100px;
  right: -100px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--gray-500);
  margin-bottom: var(--space-6);
}

.breadcrumbs a {
  color: var(--blue-400);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.page-header-content h1 {
  font-size: var(--fs-5xl);
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.page-header-content p {
  font-size: var(--fs-xl);
  color: var(--gray-400);
  max-width: 650px;
  line-height: 1.7;
}

/* ---------- Container Narrow ---------- */
.container--narrow {
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Contact Form Styles ---------- */
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

.form-group label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--fs-base);
  font-family: inherit;
  background: var(--white);
  transition: all var(--transition-fast);
  color: var(--gray-900);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--space-10);
}

/* ---------- Responsive - Inner Pages ---------- */
@media (max-width: 768px) {
  .page-header-content h1 {
    font-size: var(--fs-3xl);
  }

  .page-header-content p {
    font-size: var(--fs-base);
  }

  .container--narrow {
    padding: 0 var(--space-5);
  }

  /* Contact page 2-col → 1-col */
  .section .container > div[style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column;
  }
}

/* ---------- Dropdown SVG Icons ---------- */
.dropdown-icon-img {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  opacity: 0.7;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.nav-dropdown-menu a:hover .dropdown-icon-img {
  opacity: 1;
}

/* ---------- Animated Phone Icon ---------- */
.phone-icon-svg {
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: middle;
  animation: phoneRing 2s infinite;
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  5% { transform: rotate(12deg); }
  10% { transform: rotate(-12deg); }
  15% { transform: rotate(10deg); }
  20% { transform: rotate(-8deg); }
  25% { transform: rotate(0deg); }
}

/* ---------- Trust Badge Icons ---------- */
.trust-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.trust-badge-icon .trust-grade {
  font-size: 1.1rem;
  font-weight: 900;
  color: #60a5fa;
}

.trust-badge--thumbtack {
  font-size: 1.2rem !important;
}

.trust-badge--nextdoor {
  font-size: 1.2rem !important;
}

.trust-badge--angies {
  font-size: 1.2rem !important;
  background: rgba(218, 165, 32, 0.15) !important;
  border-color: rgba(218, 165, 32, 0.3) !important;
}

/* ---------- CTA Button (non-green) ---------- */
.btn--cta {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: var(--white);
  border: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
}

.btn--cta:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}
