/*
Theme Name: City Sprinkler Solutions
Theme URI: https://example.com/city-sprinkler-theme
Author: City Sprinkler Solutions
Author URI: https://example.com
Description: Professional WordPress theme for sprinkler repair service businesses. Features customizable business information, mobile-friendly design with slide-out menu, click-to-call functionality, and comprehensive SEO optimization for local sprinkler repair services.
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: city-sprinkler
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, theme-options, translation-ready
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --background: hsl(140, 20%, 97%);
    --foreground: hsl(160, 30%, 12%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(160, 30%, 12%);
    --primary: hsl(152, 55%, 32%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(200, 60%, 94%);
    --secondary-foreground: hsl(200, 50%, 25%);
    --muted: hsl(140, 15%, 93%);
    --muted-foreground: hsl(160, 10%, 45%);
    --accent: hsl(38, 85%, 55%);
    --accent-foreground: hsl(38, 90%, 15%);
    --border: hsl(140, 15%, 88%);
    --water: hsl(200, 65%, 50%);
    --grass: hsl(120, 40%, 45%);
    --earth: hsl(30, 35%, 40%);
    --star-gold: hsl(45, 93%, 47%);
    --radius: 0.75rem;
    --font-sans: 'DM Sans', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

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

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

ul, ol {
    list-style: none;
}

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

.section {
    padding: 5rem 0;
}

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

.section-lg {
    padding: 7rem 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */
.font-display {
    font-family: var(--font-display);
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 1.1;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 1.2;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 1.3;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.4;
}

.text-lg {
    font-size: 1.125rem;
}

.text-base {
    font-size: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-extrabold {
    font-weight: 800;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

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

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

/* ==========================================================================
   Colors
   ========================================================================== */
.text-foreground {
    color: var(--foreground);
}

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

.text-primary {
    color: var(--primary);
}

.text-primary-foreground {
    color: var(--primary-foreground);
}

.text-accent {
    color: var(--accent);
}

.text-accent-foreground {
    color: var(--accent-foreground);
}

.bg-background {
    background-color: var(--background);
}

.bg-card {
    background-color: var(--card);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-muted {
    background-color: var(--muted);
}

.bg-accent {
    background-color: var(--accent);
}

/* ==========================================================================
   Gradients
   ========================================================================== */
.bg-gradient-hero {
    background: linear-gradient(165deg, var(--primary) 0%, hsl(152, 55%, 26%) 50%, hsla(200, 65%, 50%, 0.85) 100%);
}

.bg-gradient-section {
    background: linear-gradient(180deg, var(--background) 0%, var(--secondary) 100%);
}

/* ==========================================================================
   Shadows
   ========================================================================== */
.shadow-soft {
    box-shadow: 0 4px 24px -4px hsla(152, 55%, 32%, 0.12);
}

.shadow-card {
    box-shadow: 0 2px 16px -2px hsla(160, 30%, 12%, 0.08);
}

.shadow-lg {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Border Radius
   ========================================================================== */
.rounded-lg {
    border-radius: var(--radius);
}

.rounded-xl {
    border-radius: calc(var(--radius) + 4px);
}

.rounded-2xl {
    border-radius: calc(var(--radius) + 8px);
}

.rounded-full {
    border-radius: 9999px;
}

/* ==========================================================================
   Flexbox & Grid
   ========================================================================== */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.items-start {
    align-items: flex-start;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

.grid {
    display: grid;
}

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

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

/* ==========================================================================
   Spacing
   ========================================================================== */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }

.pt-8 { padding-top: 2rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* ==========================================================================
   Width & Height
   ========================================================================== */
.w-full { width: 100%; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.shrink-0 { flex-shrink: 0; }

/* ==========================================================================
   Icons
   ========================================================================== */
.icon {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-lg {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background-color: hsla(152, 55%, 32%, 0.1);
    color: var(--primary);
}

.icon-box-lg {
    width: 2.75rem;
    height: 2.75rem;
}

.icon-box-xl {
    width: 4rem;
    height: 4rem;
    border-radius: calc(var(--radius) + 4px);
}

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

.btn:hover {
    transform: scale(1.02);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: hsl(152, 55%, 28%);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
    font-weight: 700;
}

.btn-accent:hover {
    background-color: hsl(38, 85%, 50%);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid hsla(0, 0%, 100%, 0.3);
    color: var(--primary-foreground);
}

.btn-outline:hover {
    background-color: hsla(0, 0%, 100%, 0.1);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: calc(var(--radius) + 8px);
}

.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: calc(var(--radius) + 8px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: hsla(0, 0%, 100%, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.site-logo .logo-image {
    max-height: 50px;
    width: auto;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    border-radius: var(--radius);
    color: var(--primary-foreground);
}

.logo-text {
    line-height: 1.2;
}

.logo-text .city-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    display: block;
}

.logo-text .business-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    display: block;
}

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

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    color: var(--foreground);
}

.main-nav a:hover {
    background-color: var(--muted);
}

.main-nav a.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.header-cta {
    display: none;
}

.header-cta .btn {
    border-radius: var(--radius);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-toggle button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    color: var(--foreground);
}

.menu-toggle button:hover {
    background-color: var(--muted);
}

/* ==========================================================================
   Mobile Slide-Out Menu
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background-color: hsla(160, 30%, 12%, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 18rem;
    background-color: var(--card);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 51;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-header span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.mobile-menu-close:hover {
    background-color: var(--muted);
}

.mobile-nav {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.mobile-nav a:hover {
    background-color: var(--muted);
}

.mobile-nav a.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.mobile-menu-cta {
    padding: 1rem;
    margin-top: auto;
}

.mobile-menu-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem;
    font-size: 1rem;
    border-radius: var(--radius);
}

/* ==========================================================================
   Click to Call Bar (Mobile)
   ========================================================================== */
.click-to-call {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    display: flex;
}

.click-to-call a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.click-to-call svg {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--foreground);
    color: var(--background);
    padding-bottom: 5rem;
}

.footer-content {
    padding: 4rem 0;
}

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

.footer-logo-wrap {
    display: flex;
    align-items: center;
}

.footer-logo-image {
    max-height: 45px;
    width: auto;
}

.footer-text-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.footer-brand .logo-icon {
    background-color: var(--primary);
}

.footer-brand .brand-text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-brand .brand-sub {
    font-size: 0.75rem;
    opacity: 0.7;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-areas h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact a:hover {
    opacity: 1;
}

.footer-areas p {
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    font-size: 0.875rem;
    opacity: 0.5;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a:hover {
    opacity: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    padding: 6rem 0;
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: hsla(38, 85%, 55%, 0.2);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-foreground);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    color: hsla(0, 0%, 100%, 0.85);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 32rem;
}

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

.hero-ratings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background-color: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(8px);
    border-radius: calc(var(--radius) + 8px);
}

.rating-badge .stars {
    display: flex;
    gap: 0.125rem;
}

.rating-badge .star {
    color: var(--star-gold);
    fill: var(--star-gold);
}

.rating-badge .rating-text {
    font-size: 0.75rem;
    color: hsla(0, 0%, 100%, 0.7);
    font-weight: 500;
}

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

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-item h3 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.benefit-item p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    gap: 2rem;
}

.service-card {
    background-color: var(--card);
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    box-shadow: 0 2px 16px -2px hsla(160, 30%, 12%, 0.08);
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 24px -4px hsla(152, 55%, 32%, 0.12);
}

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

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

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

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

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.service-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ==========================================================================
   Common Problems Section
   ========================================================================== */
.problems-grid {
    display: grid;
    gap: 2rem;
}

.problem-card {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 8px);
    padding: 1.5rem;
    box-shadow: 0 2px 16px -2px hsla(160, 30%, 12%, 0.08);
    transition: box-shadow 0.3s ease;
}

.problem-card:hover {
    box-shadow: 0 4px 24px -4px hsla(152, 55%, 32%, 0.12);
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.problem-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-grid {
    display: grid;
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--primary);
    border-radius: calc(var(--radius) + 8px);
    margin: 0 auto 1.25rem;
}

.step-number span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-foreground);
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-us-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: calc(var(--radius) + 8px);
    box-shadow: 0 4px 24px -4px hsla(152, 55%, 32%, 0.12);
}

.years-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background-color: var(--primary);
    border-radius: calc(var(--radius) + 8px);
    padding: 1.25rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
    display: none;
}

.years-badge .number {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--primary-foreground);
}

.years-badge .text {
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.8);
}

.why-us-content .check-list {
    margin-top: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.check-list svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--primary);
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-grid {
    display: grid;
    gap: 2rem;
}

.review-card {
    background-color: var(--card);
    border-radius: calc(var(--radius) + 8px);
    padding: 1.5rem;
    box-shadow: 0 2px 16px -2px hsla(160, 30%, 12%, 0.08);
}

.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.review-stars {
    display: flex;
    gap: 0.125rem;
    margin-bottom: 0.25rem;
}

.review-stars svg {
    color: var(--accent);
    fill: var(--accent);
}

.review-name {
    font-weight: 600;
    color: var(--foreground);
}

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

.review-quote {
    color: hsla(152, 55%, 32%, 0.15);
}

.review-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

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

.faq-category {
    margin-bottom: 4rem;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.faq-item {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 8px);
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 16px -2px hsla(160, 30%, 12%, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-question:hover {
    background-color: hsla(152, 55%, 32%, 0.05);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-answer-content {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 5rem 0;
}

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

.cta-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1rem;
}

.cta-section p {
    color: hsla(0, 0%, 100%, 0.8);
    max-width: 32rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* ==========================================================================
   Service Areas
   ========================================================================== */
.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 48rem;
    margin: 0 auto;
}

.service-area-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--card);
    border-radius: var(--radius);
    font-size: 0.875rem;
    box-shadow: 0 2px 16px -2px hsla(160, 30%, 12%, 0.08);
}

.service-area-item svg {
    flex-shrink: 0;
    color: var(--primary);
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item .value {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--primary);
}

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

/* ==========================================================================
   Page Headers
   ========================================================================== */
.page-header {
    padding: 5rem 0;
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.125rem;
    color: hsla(0, 0%, 100%, 0.85);
    max-width: 42rem;
    line-height: 1.6;
}

.page-header .label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Service Detail Page
   ========================================================================== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail.reverse .service-detail-image {
    order: 1;
}

.service-detail.reverse .service-detail-content {
    order: 2;
}

.service-detail-image {
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    box-shadow: 0 4px 24px -4px hsla(152, 55%, 32%, 0.12);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.service-detail-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.service-detail-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.service-features svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--primary);
}

/* ==========================================================================
   Additional Services Grid
   ========================================================================== */
.additional-services-grid {
    display: grid;
    gap: 1.5rem;
}

.additional-service-card {
    background-color: var(--card);
    border-radius: calc(var(--radius) + 8px);
    padding: 1.5rem;
    box-shadow: 0 2px 16px -2px hsla(160, 30%, 12%, 0.08);
    transition: box-shadow 0.3s ease;
}

.additional-service-card:hover {
    box-shadow: 0 4px 24px -4px hsla(152, 55%, 32%, 0.12);
}

.additional-service-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.additional-service-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ==========================================================================
   About Page Local Info
   ========================================================================== */
.local-info-section {
    display: grid;
    gap: 3rem;
}

.local-info-image {
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    box-shadow: 0 4px 24px -4px hsla(152, 55%, 32%, 0.12);
}

.local-info-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.local-info-item h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.local-info-item p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ==========================================================================
   Legal Pages (Privacy, Terms, Accessibility)
   ========================================================================== */
.legal-content {
    max-width: 48rem;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-content li {
    position: relative;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.legal-content li::before {
    content: "•";
    position: absolute;
    left: -1rem;
    color: var(--primary);
}

.legal-content strong {
    color: var(--foreground);
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* ==========================================================================
   Seasonal Tips Card
   ========================================================================== */
.seasonal-tips-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 8px);
    padding: 1.5rem;
    box-shadow: 0 2px 16px -2px hsla(160, 30%, 12%, 0.08);
}

.seasonal-tips-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.seasonal-tips-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.seasonal-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.seasonal-tip .season {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    background-color: hsla(152, 55%, 32%, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}

.seasonal-tip .tip {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ==========================================================================
   Did You Know Card
   ========================================================================== */
.did-you-know-card {
    background-color: var(--primary);
    border-radius: calc(var(--radius) + 8px);
    padding: 1.5rem;
}

.did-you-know-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 0.5rem;
}

.did-you-know-card p {
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.85);
    line-height: 1.6;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-grid {
    display: grid;
    gap: 2rem;
}

.blog-card {
    background-color: var(--card);
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    box-shadow: 0 2px 16px -2px hsla(160, 30%, 12%, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 4px 24px -4px hsla(152, 55%, 32%, 0.12);
    transform: translateY(-4px);
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

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

.blog-card-meta {
    margin-bottom: 0.75rem;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.blog-card-title a {
    color: var(--foreground);
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

.blog-category {
    font-size: 0.75rem;
    color: var(--primary);
    margin-left: 0.5rem;
}

.blog-category a {
    color: var(--primary);
}

/* ==========================================================================
   Article/Single Post
   ========================================================================== */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.article-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--foreground);
}

.article-body h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--foreground);
}

.article-body h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--foreground);
}

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

.article-body ul,
.article-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

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

.article-body a {
    color: var(--primary);
    text-decoration: underline;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--muted-foreground);
}

.article-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.article-categories,
.article-tags {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.article-categories a,
.article-tags a {
    color: var(--primary);
}

.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.related-posts h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination a {
    background-color: var(--card);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.pagination a:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.pagination .current {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.pagination .dots {
    background: transparent;
    border: none;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (min-width: 640px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero-ratings {
        flex-direction: row;
    }

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

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

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

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

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

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

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

    .text-4xl {
        font-size: 2.75rem;
    }

    .main-nav {
        display: flex;
    }

    .header-cta {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .menu-toggle {
        display: none;
    }

    .click-to-call {
        display: none;
    }

    .site-footer {
        padding-bottom: 0;
    }

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

    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .hero-content {
        padding: 9rem 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

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

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

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

    .years-badge {
        display: block;
    }

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

    .page-header h1 {
        font-size: 3rem;
    }

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

    .service-detail.reverse .service-detail-image {
        order: 2;
    }

    .service-detail.reverse .service-detail-content {
        order: 1;
    }

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

    .cta-section h2 {
        font-size: 2.25rem;
    }
}

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

    .hero-content {
        padding: 11rem 0;
    }

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

    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

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

    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
