/*
Theme Name: EnviroFlow
Theme URI: https://enviroflow.net
Author: EnviroFlow
Author URI: https://enviroflow.net
Description: Professional sewer and drain services theme for East Ohio. Features responsive design, blog with infinite scroll, and service pages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enviroflow
Tags: business, blog, custom-menu, featured-images, responsive-layout
*/

/* EnviroFlow - WordPress Theme Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap');

/* CSS Variables */
:root {
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(215, 35%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(215, 35%, 15%);
  --primary: hsl(210, 60%, 25%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(145, 65%, 42%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(210, 15%, 92%);
  --muted-foreground: hsl(215, 15%, 45%);
  --border: hsl(210, 20%, 88%);
  --input: hsl(210, 20%, 88%);
  --navy: hsl(210, 60%, 20%);
  --navy-light: hsl(210, 50%, 30%);
  --green: hsl(145, 65%, 42%);
  --green-light: hsl(145, 55%, 55%);
  --green-dark: hsl(145, 70%, 32%);
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.text-secondary {
    color: hsl(var(--secondary));
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

@media (min-width: 768px) {
  .header-content {
    height: 80px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

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

.logo-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  color: var(--foreground);
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  display: none;
}

@media (min-width: 640px) {
  .logo-text span {
    display: block;
  }
}

/* Navigation */
.nav {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active,
.nav-link.current-menu-item a,
.current-menu-item .nav-link {
  color: var(--secondary);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .header-cta {
    display: flex;
  }
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s;
}

.phone-link:hover {
  color: var(--secondary);
}

.phone-link svg {
  width: 16px;
  height: 16px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: var(--background);
}

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

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(89, 202, 239, 0.1);
  color: var(--secondary);
}

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

.mobile-nav-footer .phone-link {
  padding: 0.75rem 1rem;
  color: var(--secondary);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(34, 197, 94, 0.4);
}


.btn-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.btn-hero:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-hero-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-cta {
  background: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* Hero Sections */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5rem 0 8rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wMyI+PHBhdGggZD0iTTM2IDM0djItSDI0di0yaDEyem0wLTRWMjhIMjR2Mmgxem0tOCAxMmgtMnYtMmgydjJ6bTAtNGgtMnYtMmgydjJ6bTAtNGgtMnYtMmgydjJ6bTAtNGgtMnYtMmgydjJ6bTAgLTRoLTJ2LTJoMnYyem0wLTRoLTJ2LTJoMnYyem0wLTRoLTJWNmgydjJ6Ii8+PC9nPjwvZz48L3N2Zz4=");
  opacity: 0.5;
  z-index: 1;
}

/* Video Hero */
.hero-video {
  position: relative;
  min-height: 600px;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video-bg video,
.hero-video-bg .hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 46, 66, 0.85) 0%, rgba(30, 64, 91, 0.8) 100%);
}

/* Image Hero */
.hero-image {
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 46, 66, 0.88) 0%, rgba(30, 64, 91, 0.82) 100%);
}

.hero-image .container,
.hero-video .container {
  position: relative;
  z-index: 2;
}

.hero-sm {
  padding: 4rem 0;
}

.hero-content {
  position: relative;
  max-width: 48rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(34, 197, 94, 0.2);
  color: white;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero h1 span {
  color: var(--secondary);
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 42rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-features svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
}

/* Stats Bar */
.stats-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

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

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

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

.section-muted {
  background: var(--muted);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

.section-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(
  135deg, rgba(89, 202, 239, 0.1),rgba(89, 202, 239, 0.2));
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

/* Services Grid */
.services-grid {
  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);
  }
}

.services-grid-4 {
  grid-template-columns: repeat(1, 1fr);
}

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

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

/* Card with Image */
.card-with-image {
  padding: 0;
  overflow: hidden;
}

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

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

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

.card-body {
  padding: 1.5rem;
}

.card-features {
  list-style: none;
  margin: 1rem 0;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.card-features svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* Trust Section */
.grid-2 {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
}

.trust-item span {
  font-weight: 500;
}

/* Trust Image with Overlay */
.trust-image-wrapper {
  position: relative;
}

.trust-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.testimonial-overlay {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  max-width: 380px;
  margin: 0;
}

@media (max-width: 1023px) {
  .testimonial-overlay {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1.5rem;
    max-width: 100%;
  }
}

/* Testimonial Card */
.testimonial-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

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

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: #facc15;
  stroke: #facc15;
}

.testimonial-card blockquote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.testimonial-author strong {
  display: block;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* City Tags */
.city-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.city-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.2s;
}

.city-tag:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.city-tag svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
}

/* FAQ */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Accordion */
.accordion-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.accordion-trigger svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 0 1.5rem 1rem;
  color: var(--muted-foreground);
}

.accordion-item.open .accordion-content {
  display: block;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 2.5rem;
  }
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

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

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

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
}

.footer-brand .logo-icon svg {
  width: 20px;
  height: 20px;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--secondary);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact a {
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--secondary);
}

.footer-contact small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Contact Page */
.contact-grid {
  display: grid;
  gap: 3rem;
}

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

.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.contact-card:hover {
  border-color: var(--secondary);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
   background: linear-gradient(
  135deg, rgba(89, 202, 239, 0.1),rgba(89, 202, 239, 0.2));
  border-radius: var(--radius);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

.contact-card strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.contact-card .highlight {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(89, 202, 239, 0.1);
  color: var(--secondary);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Forms */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-card > p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

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

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

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

.form-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--secondary);
}

.form-note svg {
  width: 16px;
  height: 16px;
}

/* City Pills */
.city-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.city-pill {
  padding: 0.5rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.875rem;
}

/* Blog */
.blog-categories {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.categories-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.category-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.category-btn:hover,
.category-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
}

/* Blog Card */
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-image span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--secondary);
  color: white;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.blog-card-meta svg {
  width: 14px;
  height: 14px;
}

.blog-card h2 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.blog-card-author svg {
  width: 16px;
  height: 16px;
}

.blog-card-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  transition: gap 0.2s;
}

.blog-card-link:hover {
  gap: 0.625rem;
}

.blog-card-link svg {
  width: 16px;
  height: 16px;
}

/* Blog Article */
.breadcrumb-nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.875rem;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--muted-foreground);
}

.breadcrumb a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb li:last-child {
  color: var(--foreground);
  font-weight: 500;
}

.blog-article {
  padding: 3rem 0;
}

.article-grid {
  display: grid;
  gap: 3rem;
}

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

.article-header {
  margin-bottom: 2rem;
}

.article-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--secondary);
  color: white;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.article-header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .article-header h1 {
    font-size: 2.5rem;
  }
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta svg {
  width: 16px;
  height: 16px;
}

.article-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: auto;
}

.image-placeholder {
  height: 300px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder svg {
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.3);
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body .lead {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-callout {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.article-callout h3 {
  margin-bottom: 1rem;
}

.article-callout p {
  margin-bottom: 1rem;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2rem 0;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--muted);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.share-btn:hover {
  background: var(--secondary);
  color: white;
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

.article-author {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.author-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar svg {
  width: 32px;
  height: 32px;
  color: white;
}

.author-info h4 {
  margin-bottom: 0.5rem;
}

.author-info p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.related-posts {
  list-style: none;
}

.related-posts li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.related-posts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-posts a {
  display: block;
}

.related-title {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

.related-posts a:hover .related-title {
  color: var(--secondary);
}

.related-date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.category-list {
  list-style: none;
}

.category-list li {
  border-bottom: 1px solid var(--border);
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  transition: color 0.2s;
}

.category-list a:hover {
  color: var(--secondary);
}

.category-list span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Legal Pages */
.legal-content {
  max-width: 48rem;
  margin: 0 auto;
}

.legal-intro {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.75rem;
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-section ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Quote Page */
.trust-badges-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.trust-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-badge-item svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
}

.quote-layout {
  display: grid;
  gap: 2rem;
}

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

.quote-form-container .form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.quote-form-container .form-section h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

.quote-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.sidebar-card-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
  border: none;
}

.sidebar-card-cta h3 {
  color: white;
}

.sidebar-card-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.sidebar-note {
  text-align: center;
  font-size: 0.75rem;
  margin-top: 0.75rem;
  opacity: 0.8;
}

.sidebar-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.steps-list {
  list-style: none;
}

.steps-list li {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.steps-list li:last-child {
  border-bottom: none;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.steps-list strong {
  display: block;
  font-size: 0.9375rem;
}

.steps-list span {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.checklist {
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
}

.checklist svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* Timeline */
.timeline {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.timeline h3 {
  margin-bottom: 1.5rem;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-left: 2px solid var(--border);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 1rem;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

.timeline-year {
  font-weight: 700;
  color: var(--secondary);
  min-width: 50px;
}

.timeline-event {
  color: var(--muted-foreground);
}

/* Award Badge */
.award-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius);
  margin-top: 2rem;
}

.award-badge svg {
  width: 32px;
  height: 32px;
  color: var(--secondary);
}

.award-badge strong {
  display: block;
}

.award-badge span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Team Section */
.team-section {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .team-section {
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: center;
  }
}

.team-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.team-content p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.team-highlights {
  list-style: none;
}

.team-highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.team-highlights svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
}

/* Credentials */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.credential {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.credential svg {
  width: 32px;
  height: 32px;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.credential span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-8 {
  margin-top: 2rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* WordPress Specific */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Blog Load More */
#load-more-posts {
  display: block;
  margin: 2rem auto 0;
}

#load-more-posts:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* No posts message */
.no-posts {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted-foreground);
}

.no-posts h2 {
  margin-bottom: 1rem;
}

img.site-logo {
    width: 100%;
    height: 50px;
}

/* ================================
   Service Request Modal
   ================================ */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.service-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.service-modal-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  margin: 1rem;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

.service-modal.is-open .service-modal-container {
  transform: translateY(0) scale(1);
}

.service-modal-content {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.service-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.service-modal-close:hover {
  background: var(--secondary);
  transform: scale(1.1);
}

.service-modal-close svg {
  width: 20px;
  height: 20px;
  color: var(--foreground);
  transition: color 0.2s;
}

.service-modal-close:hover svg {
  color: var(--secondary-foreground);
}

.service-modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.service-modal-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.service-modal-header p {
  color: var(--muted-foreground);
  margin: 0;
}

.service-modal-body {
  padding: 1.5rem 2rem 2rem;
  overflow-y: auto;
  flex: 1;
}

/* FluentForms Styling inside Modal */
.service-modal-body .fluentform {
  margin: 0;
}

.service-modal-body .fluentform .ff-el-group {
  margin-bottom: 1.25rem;
}

.service-modal-body .fluentform label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.service-modal-body .fluentform input[type="text"],
.service-modal-body .fluentform input[type="email"],
.service-modal-body .fluentform input[type="tel"],
.service-modal-body .fluentform textarea,
.service-modal-body .fluentform select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--input);
  color: var(--foreground);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-modal-body .fluentform input:focus,
.service-modal-body .fluentform textarea:focus,
.service-modal-body .fluentform select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px hsla(142, 71%, 45%, 0.2);
}

.service-modal-body .fluentform textarea {
  min-height: 100px;
  resize: vertical;
}

.service-modal-body .fluentform select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.service-modal-body .fluentform button[type="submit"] {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-modal-body .fluentform button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px hsla(142, 71%, 45%, 0.4);
}

/* FluentForms Error Styling */
.service-modal-body .fluentform .ff-el-is-error input,
.service-modal-body .fluentform .ff-el-is-error textarea,
.service-modal-body .fluentform .ff-el-is-error select {
  border-color: #ef4444;
}

.service-modal-body .fluentform .error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* FluentForms Success Message */
.service-modal-body .ff-message-success {
  text-align: center;
  padding: 2rem;
}

.service-modal-body .ff-message-success h3,
.service-modal-body .ff-message-success p {
  color: var(--secondary);
}

/* Mobile Responsive Modal */
@media (max-width: 640px) {
  .service-modal-container {
    margin: 0;
    max-height: 100vh;
    height: 100%;
  }

  .service-modal-content {
    border-radius: 0;
    max-height: 100vh;
    height: 100%;
  }

  .service-modal-header {
    padding: 1.5rem 1rem 1rem;
  }

  .service-modal-header h2 {
    font-size: 1.25rem;
  }

  .service-modal-body {
    padding: 1rem;
  }

  .service-modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
  }
}

/* Prevent body scroll when modal open */
body.modal-open {
  overflow: hidden;
}