/* Lifted from the live site's city pages; scoped to .apex-city by tools/scope_css.py. */
/* Prevent horizontal scrolling */html, body.apex-city {
            overflow-x: hidden;
            max-width: 100%;
            position: relative;
        }
.apex-city * {
            box-sizing: border-box;
        }
/* Floating Animation Keyframes */@keyframes float {0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }

        }
@keyframes countUp {0% { opacity: 0; transform: translateY(20px); }
100% { opacity: 1; transform: translateY(0); }

        }
/* Enhanced Animation System */@keyframes fadeInUp {0% { opacity: 0; transform: translateY(30px); }
100% { opacity: 1; transform: translateY(0); }

        }
@keyframes fadeInLeft {0% { opacity: 0; transform: translateX(-30px); }
100% { opacity: 1; transform: translateX(0); }

        }
@keyframes fadeInRight {0% { opacity: 0; transform: translateX(30px); }
100% { opacity: 1; transform: translateX(0); }

        }
@keyframes shimmer {0% { background-position: -1000px 0; }
100% { background-position: 1000px 0; }

        }
/* Tempe-specific styling */.apex-city .city-hero {
            background: var(--gradient-overlay-strong);
            min-height: 50vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding: 3rem 0;
        }
/* Enhanced Floating Background Elements */.apex-city .city-hero::after {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 300px;
            height: 300px;
            background: linear-gradient(45deg, rgba(0, 113, 188, 0.1), rgba(48, 156, 107, 0.1));
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
            z-index: 1;
        }
.apex-city .city-hero::before {
            content: '';
            position: absolute;
            bottom: -50px;
            left: -50px;
            width: 200px;
            height: 200px;
            background: linear-gradient(45deg, rgba(48, 156, 107, 0.1), rgba(0, 113, 188, 0.1));
            border-radius: 50%;
            animation: float 8s ease-in-out infinite reverse;
            z-index: 1;
        }
/* Office Location Badge */.apex-city .office-badge {
            display: inline-block;
            background: var(--brand-primary);
            color: var(--wp--preset--color--white);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
/* Enhanced Image Animations */.apex-city img {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
.apex-city img:hover {
            transform: scale(1.05);
            filter: brightness(1.1) contrast(1.1);
        }
/* Enhanced Button Animations */.apex-city .cta-button {
            position: relative;
            overflow: hidden;
            transform: translateY(0);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
.apex-city .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgb(from var(--wp--preset--color--white) r g b / 0.2), transparent);
            transition: left 0.5s;
        }
.apex-city .cta-button:hover::before {
            left: 100%;
        }
.apex-city .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgb(from var(--wp--preset--color--brand-700) r g b / 0.2);
        }
/* Scroll-triggered Animation Classes */.apex-city .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
.apex-city .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }
/* Enhanced Card Hover Effects */.apex-city .animate-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateY(0);
        }
.apex-city .animate-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 113, 188, 0.15);
        }
.apex-city .animate-card:hover img {
            transform: scale(1.08);
        }
.apex-city .neighborhood-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }
.apex-city .neighborhood-card {
            background: var(--wp--preset--color--white);
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgb(from var(--wp--preset--color--brand-700) r g b / 0.08);
            border: 1px solid var(--wp--preset--color--gray-200);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
.apex-city .neighborhood-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
        }
.apex-city .neighborhood-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 25px 50px rgba(0, 113, 188, 0.2);
            border-color: var(--brand-primary);
        }
/* Enhanced Animations */.apex-city .neighborhood-image, .apex-city img {
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
.apex-city .neighborhood-image:hover, .apex-city img:hover {
            transform: scale(1.05);
        }
.apex-city .cta-button {
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
        }
.apex-city .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgb(from var(--wp--preset--color--white) r g b / 0.2), transparent);
            transition: left 0.5s;
        }
.apex-city .cta-button:hover::before {
            left: 100%;
        }
.apex-city .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgb(from var(--wp--preset--color--brand-700) r g b / 0.15);
        }
.apex-city .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
.apex-city .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
.apex-city .local-stats {
            background: linear-gradient(135deg, #f8f9ff 0%, var(--wp--preset--color--white) 100%);
            border-radius: 20px;
            padding: 3rem;
            margin: 3rem 0;
        }
.apex-city .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
.apex-city .stat-item {
            text-align: center;
            padding: 2rem;
            background: var(--wp--preset--color--white);
            border-radius: 15px;
            box-shadow: 0 8px 25px rgb(from var(--wp--preset--color--brand-700) r g b / 0.1);
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }
.apex-city .stat-item:hover {
            border-color: var(--brand-primary);
            transform: translateY(-3px);
        }
.apex-city .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--brand-primary);
            margin-bottom: 0.5rem;
        }
.apex-city .gilbert-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
.apex-city .gilbert-feature {
            background: var(--wp--preset--color--white);
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 8px 25px rgb(from var(--wp--preset--color--brand-700) r g b / 0.1);
            text-align: center;
            transition: all 0.3s ease;
        }
.apex-city .gilbert-feature:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgb(from var(--wp--preset--color--brand-700) r g b / 0.15);
        }
.apex-city .feature-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-blue-diagonal);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: var(--wp--preset--color--white);
        }
.apex-city .testimonial-gilbert {/* background handled by utility class */
            
            color: white;
            padding: 3rem 0;
            border-radius: 20px;
            margin: 3rem 0;
        }
.apex-city .testimonial-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
.apex-city .testimonial-card {
            background: rgb(from var(--wp--preset--color--white) r g b / 0.1);
            border-radius: 15px;
            padding: 2rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgb(from var(--wp--preset--color--white) r g b / 0.2);
        }
.apex-city .customer-photo {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 3px solid rgb(from var(--wp--preset--color--white) r g b / 0.3);
            margin-bottom: 1rem;
        }
.apex-city .service-area-map {
            background: linear-gradient(135deg, #f8f9ff 0%, var(--wp--preset--color--white) 100%);
            border-radius: 20px;
            padding: 3rem;
            margin: 3rem 0;
            text-align: center;
        }
.apex-city .areas-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }
.apex-city .area-item {
            background: var(--wp--preset--color--white);
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            padding: 1.5rem;
            transition: all 0.3s ease;
        }
.apex-city .area-item:hover {
            border-color: var(--brand-primary);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 113, 188, 0.1);
        }
.apex-city .cta-gilbert {/* background handled by utility class */
            
            color: white;
            padding: 3rem 0;
            border-radius: 20px;
            text-align: center;
            margin: 3rem 0;
        }
.apex-city .local-insights {
            margin: 3rem 0;
        }
.apex-city .insight-card {
            background: var(--wp--preset--color--white);
            border-radius: 15px;
            padding: 2rem;
            margin: 2rem 0;
            box-shadow: 0 8px 25px rgb(from var(--wp--preset--color--brand-700) r g b / 0.1);
            border-left: 4px solid var(--brand-primary);
        }
.apex-city .why-gilbert-section {
            background: linear-gradient(135deg, #f8f9ff 0%, var(--wp--preset--color--white) 100%);
            border-radius: 20px;
            padding: 3rem;
            margin: 3rem 0;
        }
.apex-city .gilbert-benefits {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
.apex-city .benefit-card {
            background: var(--wp--preset--color--white);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 8px 25px rgb(from var(--wp--preset--color--brand-700) r g b / 0.1);
            transition: all 0.3s ease;
        }
.apex-city .benefit-card:hover {
            transform: translateY(-5px);
        }
/* Calculator Button Styling */.apex-city .pricing-card .btn {
            width: 100%;
            margin-top: 1rem;
        }
/* Pricing Cards Grid - Desktop Base */.apex-city .pricing-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin: 30px 0 40px 0;
            padding-top: 20px;
        }
@media (max-width: 1400px) and (min-width: 1025px) {.apex-city .pricing-cards {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 15px;
            }
.apex-city .pricing-card {
                padding: 28px 20px;
            }

        }
@media (max-width: 1024px) and (min-width: 769px) {.apex-city .pricing-cards {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 20px;
            }

        }
/* Tablet and iPad breakpoint - Updated for tablets */@media (max-width: 1100px) {/* Hero Section - Stack columns */.apex-city .city-hero {
                min-height: 45vh;
                padding: 2rem 0;
            }
.apex-city .city-hero > div {
                grid-template-columns: 1fr !important;
                gap: 2rem !important;
                padding: 1rem !important;
            }
/* Hero Images - Square with rounded edges */.apex-city .city-hero .hero-images {
                height: auto !important;
                grid-template-columns: 1fr 1fr !important;
            }
.apex-city .city-hero .hero-images > div {
                aspect-ratio: 1 / 1 !important;
                height: auto !important;
            }
.apex-city .city-hero .hero-images > div img {
                width: 100% !important;
                height: 100% !important;
                object-fit: cover !important;
            }
/* Communities We Serve - Stack content */.apex-city .community-content > div[style*="grid-template-columns: 1fr 1fr"] {
                grid-template-columns: 1fr !important;
                gap: 2rem !important;
            }
.apex-city .neighborhood-grid {
                grid-template-columns: 1fr;
            }
.apex-city .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
/* Pricing Calculator Tablet Responsiveness */.apex-city .pricing-cards {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 16px;
            }

        }
/* Smaller mobile phones breakpoint */@media (max-width: 768px) {.apex-city .city-hero {
                padding: 1.5rem 0;
            }
/* Pricing Calculator Mobile Responsiveness */.apex-city .pricing-cards {
                grid-template-columns: 1fr !important;
                gap: 20px;
            }
.apex-city .veterclean-pricing-calculator {
                margin: 20px;
                padding: 20px;
            }
.apex-city .pricing-card:hover {
                transform: translateY(-8px);
            }
.apex-city .pricing-title {
                font-size: 24px;
            }

        }
@media (max-width: 1024px) and (min-width: 769px) {.apex-city .pricing-cards {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 20px;
            }

        }
/* Review Carousel Animations */@keyframes slideLeft {0% {
                transform: translateX(0);
            }
100% {
                transform: translateX(-50%);
            }

        }
@keyframes slideRight {0% {
                transform: translateX(-50%);
            }
100% {
                transform: translateX(0);
            }

        }
/* Carousel container styles */.apex-city .review-carousel-track {
            display: flex;
            width: 200%;
            animation-duration: 40s;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
        }
.apex-city .review-carousel-track.ltr {
            animation-name: slideLeft;
        }
.apex-city .review-carousel-track.rtl {
            animation-name: slideRight;
        }
/* Pause animations on hover */.apex-city .review-carousel-track:hover {
            animation-play-state: paused;
        }
/* Review card styles */.apex-city .review-card {}
.apex-city .review-card .review-card.red-border {
            border-color: var(--brand-accent);
            box-shadow: 0 3px 12px rgba(48, 156, 107, 0.1);
        }
.apex-city .review-card:hover {
            transform: translateY(-3px);
            border-color: var(--brand-accent);
            box-shadow: 0 8px 25px rgba(48, 156, 107, 0.2);
        }
.apex-city .review-card:hover.blue-border {
            border-color: var(--brand-accent);
        }
.apex-city .review-card:hover.red-border {
            border-color: var(--brand-primary);
        }
.apex-city .review-card-bottom {
            border: 2px solid var(--brand-accent);
            box-shadow: 0 3px 12px rgba(48, 156, 107, 0.1);
        }
.apex-city .review-card-bottom:hover {
            border-color: var(--brand-primary);
        }
@media (max-width: 1024px) {.apex-city .service-cards-grid {
                            grid-template-columns: 1fr !important;
                            max-width: 500px !important;
                        }

                    }

                
/* Author name/role inherit the band's white as on the live site (block paragraphs otherwise fall back to the body colour). */
.apex-city .testimonial-card .apex-author p { color: var(--wp--preset--color--white); }
