<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Smart Water Monitor Installation | Prevent Costly Leaks | Otter Squad</title>
    <link rel="stylesheet" href="/assets/tailwind.min.css">
    <link rel="stylesheet" href="/assets/all.min.css">
    <!-- Google Tag Manager -->
    <script>(function (w, d, s, l, i) {
            w[l] = w[l] || []; w[l].push({
                'gtm.start':
                    new Date().getTime(), event: 'gtm.js'
            }); var f = d.getElementsByTagName(s)[0],
                j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
                    'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
        })(window, document, 'script', 'dataLayer', 'GTM-WH4GDC79');</script>
    <!-- End Google Tag Manager -->

    <script type="text/javascript">
        (function (c, l, a, r, i, t, y) {
            c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
            t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
            y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
        })(window, document, "clarity", "script", "r0v18yl68b");
    </script>
    <style>
        /* Phone overlay for tel: links */
        #phone-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(255, 255, 255, 0.7);
            /* Lighten effect */
            z-index: 9999;
            transition: opacity 0.3s;
        }

        #phone-overlay[hidden],
        #phone-overlay.hide {
            display: none;
            opacity: 0;
        }

        #phone-overlay.show {
            display: block;
            opacity: 1;
        }

        /* Responsive logo for mobile */
        @media (max-width: 640px) {
            .logo-responsive {
                height: 56px !important;
                /* h-14 */
            }
        }

        /* Phone button mobile tweaks */
        @media (max-width: 640px) {
            .phone-btn {
                font-size: 1.15rem !important;
                padding: 0.85rem 1.2rem !important;
                min-width: 44px;
                min-height: 44px;
            }
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
            width: 100%;
            position: relative;
        }

        html {
            overflow-x: hidden;
            width: 100%;
        }

        .container {
            width: 100%;
            max-width: 100%;
            padding-left: 1rem;
            padding-right: 1rem;
        }

        @media (min-width: 640px) {
            .container {
                max-width: 640px;
            }
        }

        @media (min-width: 768px) {
            .container {
                max-width: 768px;
            }
        }

        @media (min-width: 1024px) {
            .container {
                max-width: 1024px;
            }
        }

        @media (min-width: 1280px) {
            .container {
                max-width: 1280px;
            }
        }

        .hero-gradient {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
        }

        .btn-primary {
            background-color: #1e40af;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background-color: #1e3a8a;
            transform: translateY(-2px);
        }

        .feature-card {
            transition: all 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .testimonial-card {
            transition: all 0.3s ease;
        }

        .testimonial-card:hover {
            transform: scale(1.02);
        }

        .highlight-text {
            color: #1e40af;
            font-weight: bold;
        }

        .section-divider {
            height: 5px;
            background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 100%);
            width: 150px;
            margin: 0 auto;
            border-radius: 5px;
        }

        .count-box {
            background-color: #1e40af;
            color: white;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-right: 15px;
        }
    </style>
  <script type="module" crossorigin src="/assets/main-DSdDrcT3.js"></script>
  <link rel="stylesheet" crossorigin href="/assets/main-SWYaYeWS.css">
</head>

<body class="bg-gray-50">
    <style>
        /* Sticky header for mobile */
        @media (max-width: 768px) {
            header.bg-white.shadow-md.sticky-mobile {
                position: fixed;
                top: 0;
                left: 0;
                width: 100vw;
                z-index: 1000;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            }

            main,
            .main-content,
            .hero-gradient,
            section.hero-gradient {
                margin-top: 96px !important;
            }
        }
    </style>
    <!-- Phone Overlay -->
    <div id="phone-overlay" style="display:none;"></div>
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WH4GDC79" height="0" width="0"
            style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->
    <!-- Header -->
    <header class="bg-white shadow-md py-4 sticky-mobile">
        <div class="container mx-auto px-4">
            <div class="flex items-center justify-between">
                <div class="flex items-center">
                    <img src="/assets/logo.png" alt="Otter Squad Plumbing Logo"
                        class="h-24 sm:h-24 md:h-28 lg:h-32 w-auto logo-responsive object-contain" width="168"
                        height="96">
                </div>
                <div>
                    <a href="tel:+19258923358"
                        class="text-blue-800 font-bold text-lg sm:text-xl hover:text-blue-600 transition px-6 py-3 rounded-lg shadow-md bg-blue-100 active:bg-blue-200 focus:outline-none focus:ring-2 focus:ring-blue-400 phone-btn"
                        style="display: inline-flex; align-items: center; gap: 0.5rem; min-width: 44px; min-height: 44px;">

                        <i class="fas fa-phone-alt mr-2"></i>(925) 892-3358
                    </a>
                </div>
            </div>
        </div>
    </header>

    <!-- Hero Section -->
    <section class="hero-gradient text-white py-16">
        <div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
            <div class="md:w-1/2 mb-10 md:mb-0">
                <div class="bg-blue-800 bg-opacity-70 p-6 rounded-lg shadow-lg">
                    <span class="inline-block bg-yellow-500 text-blue-900 font-bold px-4 py-1 rounded-full mb-4">LIMITED
                        TIME OFFER</span>
                    <h1 class="text-4xl md:text-5xl font-bold leading-tight mb-4">Smart Water Monitor &amp; Automatic
                        Shut-Off Valve</h1>
                    <h2 class="text-2xl md:text-3xl mb-6">Prevent Water Damage Before It Happens</h2>
                    <p class="text-xl mb-8">Professional installation by Pleasanton's trusted plumbing experts</p>
                    <div class="flex flex-col sm:flex-row gap-4">
                        <a href="#request-quote"
                            class="btn-primary text-white font-bold py-3 px-8 rounded-lg text-center text-lg shadow-lg">
                            Get Protected Today
                        </a>
                        <a href="#special-offer"
                            class="bg-white text-blue-800 font-bold py-3 px-8 rounded-lg text-center text-lg shadow-lg hover:bg-gray-100 transition">
                            View Special Offer
                        </a>
                    </div>
                </div>
            </div>
            <div class="md:w-1/2 flex justify-center">
                <div class="relative">
                    <div class="absolute inset-0 bg-white bg-opacity-20 rounded-lg transform rotate-3"></div>
                    <img src="/assets/risk-of-water-damage.webp" alt="Flo by Moen Smart Water Monitor"
                        class="relative z-10 rounded-lg shadow-2xl max-w-md w-full h-auto object-cover">
                </div>
            </div>
        </div>
    </section>

    <!-- Trust Indicators -->
    <section class="bg-white py-6 shadow-md">
        <div class="container mx-auto px-4">
            <div class="flex flex-wrap justify-center items-center text-center gap-8">
                <div class="flex items-center">
                    <i class="fas fa-shield-alt text-blue-800 text-3xl mr-3"></i>
                    <span class="text-gray-700">Licensed &amp; Insured</span>
                </div>
                <div class="flex items-center">
                    <i class="fas fa-clock text-blue-800 text-3xl mr-3"></i>
                    <span class="text-gray-700">Same-Day Installation Available</span>
                </div>
                <div class="flex items-center">
                    <i class="fas fa-star text-blue-800 text-3xl mr-3"></i>
                    <span class="text-gray-700">5-Star Rated Service</span>
                </div>
                <div class="flex items-center">
                    <i class="fas fa-map-marker-alt text-blue-800 text-3xl mr-3"></i>
                    <span class="text-gray-700">Serving Pleasanton &amp; East Bay</span>
                </div>
            </div>
        </div>
    </section>

    <!-- Alert Banner -->
    <div class="bg-red-100 border-l-4 border-red-500 text-red-700 p-4 my-6 mx-auto max-w-5xl">
        <div class="flex items-center">
            <div class="py-1">
                <i class="fas fa-exclamation-circle text-red-500 text-2xl mr-4"></i>
            </div>
            <div>
                <p class="font-bold">Did you know? Water damage is the #1 cause of preventable homeowner insurance
                    claims.</p>
                <p>The average cost of water damage repair in California is $3,000 - $5,000, but can exceed $10,000 for
                    severe cases.</p>
            </div>
        </div>
    </div>

    <!-- Main Benefits -->
    <section class="py-12">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center text-blue-900 mb-3">Why Install the Flo by Moen Smart Water
                Monitor?</h2>
            <div class="section-divider mb-10"></div>

            <div class="grid md:grid-cols-3 gap-8 mt-10">
                <div class="feature-card bg-white p-6 rounded-lg shadow-lg border-t-4 border-blue-600">
                    <div class="text-blue-600 text-4xl mb-4">
                        <i class="fas fa-tint-slash"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">24/7 Leak Detection</h3>
                    <p>Detects leaks as small as a single drop per
                        minute anywhere in your home's water system. When a leak is detected,
                        the system automatically shuts off water to prevent damage.</p>
                </div>

                <div class="feature-card bg-white p-6 rounded-lg shadow-lg border-t-4 border-blue-600">
                    <div class="text-blue-600 text-4xl mb-4">
                        <i class="fas fa-mobile-alt"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">Remote Monitoring</h3>
                    <p>Check your water usage and receive alerts from
                        anywhere via smartphone app. Get notified immediately when potential
                        issues are detected, even when you're away from home.</p>
                </div>

                <div class="feature-card bg-white p-6 rounded-lg shadow-lg border-t-4 border-blue-600">
                    <div class="text-blue-600 text-4xl mb-4">
                        <i class="fas fa-piggy-bank"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">Insurance Savings</h3>
                    <p>Many insurance companies offer premium discounts
                        up to 5-15% when you install a smart water shut-off valve, potentially
                        saving hundreds of dollars annually.</p>
                </div>
            </div>
        </div>
    </section>

    <!-- How It Works -->
    <section class="bg-gray-100 py-12">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center text-blue-900 mb-3">How the Smart Water Monitor Works</h2>
            <div class="section-divider mb-10"></div>

            <div class="max-w-4xl mx-auto">
                <div class="flex flex-col md:flex-row items-center bg-white rounded-lg shadow-lg overflow-hidden mb-8">
                    <div class="md:w-1/2 p-8">
                        <div class="flex items-center mb-4">
                            <div class="count-box">1</div>
                            <h3 class="text-xl font-bold">Professional Installation</h3>
                        </div>
                        <p>Our licensed plumbers install the Flo by Moen
                            device on your home's main water line, ensuring perfect integration
                            with your existing plumbing system.</p>
                    </div>
                    <div class="md:w-1/2 bg-blue-50 p-8">
                        <img src="/assets/profession-install.webp" alt="Installation"
                            class="rounded-lg shadow w-full h-auto object-cover">
                    </div>
                </div>

                <div
                    class="flex flex-col md:flex-row-reverse items-center bg-white rounded-lg shadow-lg overflow-hidden mb-8">
                    <div class="md:w-1/2 p-8">
                        <div class="flex items-center mb-4">
                            <div class="count-box">2</div>
                            <h3 class="text-xl font-bold">Intelligent Monitoring</h3>
                        </div>
                        <p>The system learns your home's typical water
                            usage patterns and continuously monitors pressure, flow rate, and
                            temperature to detect anomalies that could indicate leaks.</p>
                    </div>
                    <div class="md:w-1/2 bg-blue-50 p-8">
                        <img src="/assets/monitor-your-water.webp" alt="Monitoring"
                            class="rounded-lg shadow w-full h-auto object-cover">
                    </div>
                </div>

                <div class="flex flex-col md:flex-row items-center bg-white rounded-lg shadow-lg overflow-hidden">
                    <div class="md:w-1/2 p-8">
                        <div class="flex items-center mb-4">
                            <div class="count-box">3</div>
                            <h3 class="text-xl font-bold">Automatic Protection</h3>
                        </div>
                        <p>When a potential leak or pipe freeze is
                            detected, you'll receive an instant alert. For serious issues, the
                            system automatically shuts off your water supply to prevent damage.</p>
                    </div>
                    <div class="md:w-1/2 bg-blue-50 p-8">
                        <div class="bg-white p-4 rounded-lg shadow-md">
                            <img src="/assets/real-time-alert.webp" alt="Real Time Alert"
                                class="w-full h-auto object-cover mt-4 rounded-lg">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Special Offer -->
    <section id="special-offer" class="py-12 bg-gradient-to-r from-blue-900 to-blue-700 text-white">
        <div class="container mx-auto px-4">
            <div class="max-w-4xl mx-auto text-center">
                <span class="inline-block bg-yellow-500 text-blue-900 font-bold px-4 py-1 rounded-full mb-4">LIMITED
                    TIME OFFER</span>
                <h2 class="text-3xl font-bold mb-6">Special Offer for Pleasanton &amp; Surrounding Areas</h2>
                <div class="bg-white text-gray-800 rounded-lg shadow-xl p-8 mb-8">
                    <h3 class="text-3xl font-extrabold text-red-600 mb-4">$100 OFF Any Plumbing Service!</h3>
                    <p class="text-lg font-semibold mb-2">T&amp;Cs apply. Minimum service amount required.</p>
                    <div class="flex items-center justify-center gap-6 mb-6">
                        <div>
                            <div class="bg-red-100 text-red-800 px-4 py-2 rounded-lg inline-block font-bold">
                                <i class="far fa-clock mr-2"></i>Offer Expires in 7 Days
                            </div>
                        </div>
                    </div>
                    <a href="#request-quote"
                        class="btn-primary text-white font-bold py-3 px-8 rounded-lg inline-block text-lg shadow-lg">
                        Claim This Offer Now
                    </a>
                </div>
            </div>
        </div>
    </section>

    <!-- Testimonials -->
    <section class="py-12 bg-gray-50">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center text-blue-900 mb-3">What Our Customers Say</h2>
            <div class="section-divider mb-10"></div>

            <div class="grid md:grid-cols-3 gap-8 max-w-5xl mx-auto">
                <div class="testimonial-card bg-white p-6 rounded-lg shadow-md">
                    <div class="flex items-center mb-4">
                        <div class="text-yellow-500">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                        </div>
                        <span class="ml-2 text-gray-500">5.0</span>
                    </div>
                    <p class="italic mb-4">"The smart water monitor
                        alerted us to a small leak under our kitchen sink that we would have
                        never discovered until it was too late. Installation was quick and the
                        tech was extremely knowledgeable!"</p>
                    <div class="font-bold">Michael R.</div>
                    <div class="text-gray-500 text-sm">Pleasanton Homeowner</div>
                </div>

                <div class="testimonial-card bg-white p-6 rounded-lg shadow-md">
                    <div class="flex items-center mb-4">
                        <div class="text-yellow-500">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                        </div>
                        <span class="ml-2 text-gray-500">5.0</span>
                    </div>
                    <p class="italic mb-4">"Best investment we've made
                        for our home! The app is so easy to use and our insurance company gave
                        us a 10% discount on our premium. The Otter Squad team made installation
                        completely hassle-free."</p>
                    <div class="font-bold">Jennifer T.</div>
                    <div class="text-gray-500 text-sm">Dublin Resident</div>
                </div>

                <div class="testimonial-card bg-white p-6 rounded-lg shadow-md">
                    <div class="flex items-center mb-4">
                        <div class="text-yellow-500">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                        </div>
                        <span class="ml-2 text-gray-500">5.0</span>
                    </div>
                    <p class="italic mb-4">"The system detected a major
                        pipe burst while we were on vacation and automatically shut off the
                        water. We came home to a small puddle instead of a flooded house. Worth
                        every penny!"</p>
                    <div class="font-bold">David K.</div>
                    <div class="text-gray-500 text-sm">Livermore Homeowner</div>
                </div>
            </div>
        </div>
    </section>

    <!-- FAQ -->
    <section class="py-12 bg-white">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center text-blue-900 mb-3">Frequently Asked Questions</h2>
            <div class="section-divider mb-10"></div>

            <div class="max-w-3xl mx-auto space-y-6">
                <div class="bg-gray-50 rounded-lg p-6 shadow-md">
                    <h3 class="text-xl font-bold mb-2">How does the Flo by Moen system detect leaks?</h3>
                    <p>The system uses advanced sensors to monitor water
                        pressure, flow rate, and temperature throughout your home's plumbing.
                        It can detect microscopic leaks as small as a drop per minute by
                        analyzing patterns and anomalies in your water usage.</p>
                </div>

                <div class="bg-gray-50 rounded-lg p-6 shadow-md">
                    <h3 class="text-xl font-bold mb-2">Will this work with my existing plumbing?</h3>
                    <p>Yes, the Flo by Moen device is compatible with
                        most residential plumbing systems. Our licensed technicians will
                        evaluate your setup during installation to ensure proper fit and
                        function.</p>
                </div>

                <div class="bg-gray-50 rounded-lg p-6 shadow-md">
                    <h3 class="text-xl font-bold mb-2">How much can I save on my insurance premium?</h3>
                    <p>Many homeowners report insurance discounts
                        between 5-15% after installing a smart water shut-off valve. We'll
                        provide documentation you can submit to your insurance provider to
                        inquire about potential savings.</p>
                </div>

                <div class="bg-gray-50 rounded-lg p-6 shadow-md">
                    <h3 class="text-xl font-bold mb-2">What happens if the power goes out?</h3>
                    <p>The Flo by Moen has a fail-safe design. If power
                        is lost, the valve remains in its current state. Once power is restored,
                        the system automatically resumes monitoring.</p>
                </div>

                <div class="bg-gray-50 rounded-lg p-6 shadow-md">
                    <h3 class="text-xl font-bold mb-2">How long does installation take?</h3>
                    <p>A typical installation takes 2-3 hours, depending
                        on your plumbing configuration. Our technicians handle everything,
                        including setting up the smartphone app and walking you through the
                        features.</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Contact Form -->
    <section id="request-quote" class="py-12 bg-blue-50">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center text-blue-900 mb-3">Get Protected Today</h2>
            <div class="section-divider mb-10"></div>

            <div class="max-w-4xl mx-auto bg-white rounded-lg shadow-xl overflow-hidden">
                <div class="flex flex-col md:flex-row">
                    <div class="md:w-1/2 p-8">
                        <h3 class="text-2xl font-bold mb-6">Request Your Installation</h3>
                        <form action='/thank-you' id='leads' method='POST' name='Leads' onsubmit='return validateForm(event)'>
                            <input type="hidden" name="form-name" value="Leads" />
                            <div class="mb-4">
                                <label class="block text-gray-700 font-bold mb-2" for="name">Full Name</label>
                                <input
                                    class="appearance-none border rounded w-full py-3 px-4 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
                                    id="name" name="name" type="text" placeholder="Your Name" required minlength="2"
                                    pattern="[A-Za-z ]{2,}"
                                    title="Please enter a valid name (minimum 2 characters, letters only)">
                                <p class="text-red-500 text-sm mt-1 hidden" id="nameError"></p>
                            </div>
                            <div class="mb-4">
                                <label class="block text-gray-700 font-bold mb-2" for="phone">Phone Number</label>
                                <input
                                    class="appearance-none border rounded w-full py-3 px-4 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
                                    id="phone" name="phone" type="tel" placeholder="(925) 555-1234" required
                                    pattern="[\(]\d{3}[\)] \d{3}[\-]\d{4}"
                                    title="Please enter a valid phone number in format: (925) 555-1234"
                                    oninput="formatPhoneNumber(this)">
                                <p class="text-red-500 text-sm mt-1 hidden" id="phoneError"></p>
                            </div>
                            <div class="mb-4">
                                <label class="block text-gray-700 font-bold mb-2" for="email">Email Address</label>
                                <input
                                    class="appearance-none border rounded w-full py-3 px-4 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
                                    id="email" name="email" type="email" placeholder="you@example.com" required
                                    pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$"
                                    title="Please enter a valid email address">
                                <p class="text-red-500 text-sm mt-1 hidden" id="emailError"></p>
                            </div>
                            <div class="mb-6">
                                <label class="block text-gray-700 font-bold mb-2" for="message">Additional
                                    Information</label>
                                <textarea
                                    class="appearance-none border rounded w-full py-3 px-4 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
                                    id="message" name="message" rows="3" maxlength="500"
                                    placeholder="Tell us about your home's plumbing setup or any specific concerns..."></textarea>
                                <p class="text-gray-500 text-sm mt-1"><span id="charCount">0</span>/500 characters</p>
                            </div>
                            <div class="mb-6">
                                <label class="flex items-center">
                                    <input type="checkbox" name="terms"
                                        class="form-checkbox h-5 w-5 text-blue-600 rounded focus:ring-blue-500">
                                    <span class="ml-2 text-gray-700">I agree to be contacted via text message.</span>
                                </label>
                            </div>
                            <div class="flex items-center">
                                <button type="submit"
                                    class="btn-primary text-white font-bold py-3 px-8 rounded-lg text-center text-lg shadow-lg w-full">
                                    Schedule My Installation
                                </button>
                            </div>
                        </form>

                        <script>
                            function formatPhoneNumber(input) {
                                // Remove all non-digit characters
                                let value = input.value.replace(/\D/g, '');

                                // Format the number
                                if (value.length >= 6) {
                                    value = `(${value.slice(0, 3)}) ${value.slice(3, 6)}-${value.slice(6, 10)}`;
                                } else if (value.length >= 3) {
                                    value = `(${value.slice(0, 3)}) ${value.slice(3)}`;
                                } else if (value.length > 0) {
                                    value = `(${value}`;
                                }

                                input.value = value;
                            }

                            // Character counter for message
                            document.getElementById('message').addEventListener('input', function () {
                                document.getElementById('charCount').textContent = this.value.length;
                            });

                            function validateForm(event) {
                                let isValid = true;
                                const form = event.target;

                                // Reset all error messages
                                document.querySelectorAll('.text-red-500').forEach(el => el.classList.add('hidden'));

                                // Name validation
                                const name = form.name.value;
                                if (!/^[A-Za-z ]{2,}$/.test(name)) {
                                    document.getElementById('nameError').textContent = 'Please enter a valid name (minimum 2 characters, letters only)';
                                    document.getElementById('nameError').classList.remove('hidden');
                                    isValid = false;
                                }

                                // Phone validation
                                const phone = form.phone.value;
                                if (!/^\(\d{3}\) \d{3}-\d{4}$/.test(phone)) {
                                    document.getElementById('phoneError').textContent = 'Please enter a valid phone number in format: (925) 555-1234';
                                    document.getElementById('phoneError').classList.remove('hidden');
                                    isValid = false;
                                }

                                // Email validation
                                const email = form.email.value;
                                if (!/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(email)) {
                                    document.getElementById('emailError').textContent = 'Please enter a valid email address';
                                    document.getElementById('emailError').classList.remove('hidden');
                                    isValid = false;
                                }

                                return isValid;
                            }
                        </script>
                    </div>

                    <div class="md:w-1/2 bg-gradient-to-br from-blue-800 to-blue-600 text-white p-8">

                        <script>
                            // Phone overlay for tel: links
                            (function () {
                                var overlay = document.getElementById('phone-overlay');
                                if (!overlay) return;
                                function showOverlay() {
                                    overlay.classList.add('show');
                                    overlay.classList.remove('hide');
                                    overlay.style.display = 'block';
                                    setTimeout(function () {
                                        overlay.classList.remove('show');
                                        overlay.classList.add('hide');
                                        overlay.style.display = 'none';
                                    }, 5000);
                                }
                                document.querySelectorAll('a[href^="tel:"]').forEach(function (link) {
                                    link.addEventListener('click', showOverlay);
                                });
                            })();
                        </script>

                        <h3 class="text-2xl font-bold mb-6">Contact Us Directly</h3>
                        <div class="space-y-6">
                            <div class="flex items-start">
                                <i class="fas fa-phone-alt text-2xl mr-4 mt-1"></i>
                                <div>
                                    <h4 class="font-bold text-lg">Call Us</h4>
                                    <p class="text-xl">(925) 892-3358</p>
                                    <p class="text-sm opacity-75">Available 7 days a week, 7AM-7PM</p>
                                </div>
                            </div>

                            <div class="flex items-start">
                                <i class="fas fa-map-marker-alt text-2xl mr-4 mt-1"></i>
                                <div>
                                    <h4 class="font-bold text-lg">Service Area</h4>
                                    <p>Pleasanton, Dublin, Livermore, San Ramon, and surrounding East Bay communities
                                    </p>
                                </div>
                            </div>

                            <div class="flex items-start">
                                <i class="fas fa-shield-alt text-2xl mr-4 mt-1"></i>
                                <div>
                                    <h4 class="font-bold text-lg">Our Guarantee</h4>
                                    <p>We stand behind our work with a 100% satisfaction guarantee and 1-year warranty
                                        on all installations.</p>
                                </div>
                            </div>

                            <div class="pt-4">
                                <h4 class="font-bold text-lg mb-2">We Accept</h4>
                                <div class="flex space-x-3">
                                    <i class="fab fa-cc-visa text-2xl"></i>
                                    <i class="fab fa-cc-mastercard text-2xl"></i>
                                    <i class="fab fa-cc-amex text-2xl"></i>
                                    <i class="fab fa-cc-discover text-2xl"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Final CTA -->
    <section class="py-10 bg-gray-800 text-white">
        <div class="container mx-auto px-4 text-center">
            <h2 class="text-2xl font-bold mb-6">Don't Wait Until It's Too Late - Protect Your Home Today</h2>
            <p class="max-w-2xl mx-auto mb-8 text-lg">Water damage can
                happen at any time. Install the Flo by Moen Smart Water Monitor now and
                gain peace of mind knowing your home is protected 24/7.</p>
            <a href="#request-quote"
                class="bg-yellow-500 hover:bg-yellow-600 transition text-blue-900 font-bold py-3 px-8 rounded-lg text-lg shadow-lg inline-block">
                Get Your Smart Water Monitor
            </a>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-10">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-6 md:mb-0">
                    <h2 class="text-xl font-bold text-white">Otter Squad</h2>
                    <p>Licensed &amp; Insured Plumbing Experts</p>
                    <p>CA- C-36 #1053855</p>
                </div>

                <div>
                    <a href="tel:+19258923358"
                        class="text-white font-bold text-xl hover:text-blue-400 transition px-6 py-3 rounded-lg shadow-md bg-blue-700 active:bg-blue-800 focus:outline-none focus:ring-2 focus:ring-blue-400 phone-btn"
                        style="display: inline-flex; align-items: center; gap: 0.5rem; min-width: 44px; min-height: 44px;">
                        <i class="fas fa-phone-alt mr-2"></i>(925) 892-3358
                    </a>
                </div>
            </div>

            <div class="border-t border-gray-800 mt-8 pt-8 text-center text-sm">
                <p>© 2025 Otter Squad Plumbing and Drain Cleaning. All rights reserved. | <a
                        href="https://ottersquad.com/privacy-policy/" class="text-gray-300 hover:text-blue-400">Privacy
                        Policy</a></p>
            </div>
        </div>
    </footer>
    <!-- 100% privacy-first analytics -->
    <script async src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
</body>

</html>