<?php
session_start();

$errors = $_SESSION['errors'] ?? [];
$old    = $_SESSION['old'] ?? [];
$success = $_SESSION['success'] ?? '';

unset($_SESSION['errors']);
unset($_SESSION['old']);
unset($_SESSION['success']);

require_once __DIR__."/header.php";
?>
    <main id="main-content position-relative">
     
      <!-- HERO -->
 <section class="hero">
        <div class="video_wrapper">
          <video autoplay loop muted playsinline>
            <source src="./videos/bannervid.webm" type="video/webm"/>
          </video>
        </div>
        <div class="video_overlay"></div>

        <div class="container">
          <div class="row align-items-center gy-5">
            <div class="col-lg-8">
              <span class="hero-eyebrow"
                >Geriatric &amp; Senior Pet Medicine</span
              >
              <h1>Care that grows <em>gentler</em> as your pet grows older.</h1>
              <p class="hero-sub">
                Market Hill Animal Hospital runs a dedicated senior wellness and
                pain-management program for aging dogs and cats &mdash; because
                the golden years deserve their own plan, not just a slower
                version of the old one.
              </p>
              <div class="hero-actions">
                <a href="#contact" class="btn-amber">
                  Request a Senior Wellness Visit
                  <svg
                    width="16"
                    height="16"
                    viewBox="0 0 24 24"
                    fill="none"
                    aria-hidden="true"
                  >
                    <path
                      d="M5 12h14M13 6l6 6-6 6"
                      stroke="currentColor"
                      stroke-width="2"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                    />
                  </svg>
                </a>
                <a href="tel:+1604-569-1993" class="btn-outline-pine">
                  <svg
                    width="16"
                    height="16"
                    viewBox="0 0 24 24"
                    fill="none"
                    aria-hidden="true"
                  >
                    <path
                      d="M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.9 21 3 13.1 3 3.9c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8z"
                      fill="currentColor"
                    />
                  </svg>
                  Call the Care Team
                </a>
              </div>
              <div class="hero-trust">
                <span
                  ><svg
                    width="16"
                    height="16"
                    viewBox="0 0 24 24"
                    fill="none"
                    aria-hidden="true"
                  >
                    <path
                      d="M12 2l7 4v6c0 5-3.5 8.5-7 10-3.5-1.5-7-5-7-10V6l7-4z"
                      stroke="currentColor"
                      stroke-width="1.6"
                      fill="none"
                    />
                  </svg>
                  15 years in Market Hill</span
                >
                <span
                  ><svg
                    width="16"
                    height="16"
                    viewBox="0 0 24 24"
                    fill="none"
                    aria-hidden="true"
                  >
                    <circle
                      cx="12"
                      cy="12"
                      r="9"
                      stroke="currentColor"
                      stroke-width="1.6"
                    />
                    <path
                      d="M8.5 12.5l2.3 2.3L16 10"
                      stroke="currentColor"
                      stroke-width="1.6"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                    />
                  </svg>
                  Fear-free handling for stiff, anxious pets</span
                >
                <span
                  ><svg
                    width="16"
                    height="16"
                    viewBox="0 0 24 24"
                    fill="none"
                    aria-hidden="true"
                  >
                    <path
                      d="M4 12h4l2-7 4 14 2-7h4"
                      stroke="currentColor"
                      stroke-width="1.6"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      fill="none"
                    />
                  </svg>
                  On-site senior bloodwork &amp; imaging</span
                >
              </div>
            </div>
          </div>
        </div>
      </section>

      <div class="container">
        <div class="path-divider" aria-hidden="true">
          <span class="line"></span>
          <svg width="18" height="18" viewBox="0 0 24 24" fill="none">
            <path
              d="M12 2l7 4v6c0 5-3.5 8.5-7 10-3.5-1.5-7-5-7-10V6l7-4z"
              stroke="currentColor"
              stroke-width="1.6"
            />
          </svg>
          <span class="line"></span>
        </div>
      </div>

      <!-- SIGNS SECTION -->
      <section class="section" id="signs">
        <div class="container">
          <div class="row gy-5">
            <div class="col-lg-4">
              <span class="section-eyebrow">Recognizing the Shift</span>
              <h2 class="section-title">
                Signs it may be time for senior-focused care
              </h2>
              <p class="section-lede">
                Aging changes are gradual, which makes them easy to miss day to
                day. If two or more of these sound familiar, a geriatric
                wellness visit is a good next step.
              </p>
              
            </div>
            <div class="col-lg-8 reveal">
              <div class="signs-grid">
                <div class="sign-item">
                  <span class="mark"
                    ><svg
                      width="14"
                      height="14"
                      viewBox="0 0 24 24"
                      fill="none"
                    >
                      <path
                        d="M5 12l5 5L20 7"
                        stroke="currentColor"
                        stroke-width="2.4"
                        stroke-linecap="round"
                        stroke-linejoin="round"
                      /></svg></span>
                  <p>
                    <strong>Slower to rise</strong> or hesitant on stairs and
                    slick floors
                  </p>
                </div>
                <div class="sign-item">
                  <span class="mark"
                    ><svg
                      width="14"
                      height="14"
                      viewBox="0 0 24 24"
                      fill="none"
                    >
                      <path
                        d="M5 12l5 5L20 7"
                        stroke="currentColor"
                        stroke-width="2.4"
                        stroke-linecap="round"
                        stroke-linejoin="round"
                      /></svg></span>
                  <p>
                    <strong>Less interest</strong> in walks, play, or greeting
                    you at the door
                  </p>
                </div>
                <div class="sign-item">
                  <span class="mark"
                    ><svg
                      width="14"
                      height="14"
                      viewBox="0 0 24 24"
                      fill="none"
                    >
                      <path
                        d="M5 12l5 5L20 7"
                        stroke="currentColor"
                        stroke-width="2.4"
                        stroke-linecap="round"
                        stroke-linejoin="round"
                      /></svg></span>
                  <p>
                    <strong>Restless nights</strong> or pacing, panting, or
                    vocalizing after dark
                  </p>
                </div>
                <div class="sign-item">
                  <span class="mark"
                    ><svg
                      width="14"
                      height="14"
                      viewBox="0 0 24 24"
                      fill="none"
                    >
                      <path
                        d="M5 12l5 5L20 7"
                        stroke="currentColor"
                        stroke-width="2.4"
                        stroke-linecap="round"
                        stroke-linejoin="round"
                      /></svg></span>
                  <p>
                    <strong>Weight change</strong> in either direction, or a
                    duller coat
                  </p>
                </div>
                <div class="sign-item">
                  <span class="mark"
                    ><svg
                      width="14"
                      height="14"
                      viewBox="0 0 24 24"
                      fill="none"
                    >
                      <path
                        d="M5 12l5 5L20 7"
                        stroke="currentColor"
                        stroke-width="2.4"
                        stroke-linecap="round"
                        stroke-linejoin="round"
                      /></svg></span>
                  <p>
                    <strong>Confusion</strong>, staring at walls, or forgetting
                    familiar routines
                  </p>
                </div>
                <div class="sign-item">
                  <span class="mark"
                    ><svg
                      width="14"
                      height="14"
                      viewBox="0 0 24 24"
                      fill="none"
                    >
                      <path
                        d="M5 12l5 5L20 7"
                        stroke="currentColor"
                        stroke-width="2.4"
                        stroke-linecap="round"
                        stroke-linejoin="round"
                      /></svg></span>
                  <p>
                    <strong>Stiffness after rest</strong> that eases once they
                    get moving
                  </p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- SERVICES -->
      <section class="section section-alt" id="services">
        <div class="container">
          <div class="text-center mx-auto mb-5" style="max-width: 640px">
            <span class="section-eyebrow d-flex justify-content-center"
              >Our Senior Care Program</span
            >
            <h2 class="section-title">
              Pain and wellness management, built around your pet
            </h2>
            <p class="section-lede mx-auto">
              Every senior plan starts with a real conversation about how your
              pet is living at home, then draws from the services below as
              needed &mdash; never more than what helps.
            </p>
          </div>

          <div class="row g-4">
            <div class="col-md-6 col-lg-4 reveal">
              <div class="service-card">
                <div class="service-icon">
                  <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
                    <path
                      d="M12 21s-7-4.4-9.5-8.6C.8 8.8 2.5 5 6 5c2 0 3.4 1.2 4 2.3C10.6 6.2 12 5 14 5c3.5 0 5.2 3.8 3.5 7.4C15 16.6 12 21 12 21z"
                      stroke="currentColor"
                      stroke-width="1.6"
                      stroke-linejoin="round"
                    />
                  </svg>
                </div>
                <h3>Arthritis &amp; Pain Management</h3>
                <p>
                  Mobility exams, joint injections, laser therapy, and
                  medication plans that ease chronic pain without clouding your
                  pet's personality.
                </p>
              </div>
            </div>
            <div class="col-md-6 col-lg-4 reveal">
              <div class="service-card">
                <div class="service-icon">
                  <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
                    <path
                      d="M4 12h4l2-7 4 14 2-7h4"
                      stroke="currentColor"
                      stroke-width="1.8"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      fill="none"
                    />
                  </svg>
                </div>
                <h3>Senior Wellness Screening</h3>
                <p>
                  Twice-yearly bloodwork, blood pressure, and organ-function
                  panels that catch kidney, thyroid, and heart changes early.
                </p>
              </div>
            </div>
            <div class="col-md-6 col-lg-4 reveal">
              <div class="service-card">
                <div class="service-icon">
                  <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
                    <circle
                      cx="12"
                      cy="12"
                      r="9"
                      stroke="currentColor"
                      stroke-width="1.6"
                    />
                    <path
                      d="M12 7v5l3.5 2"
                      stroke="currentColor"
                      stroke-width="1.6"
                      stroke-linecap="round"
                    />
                  </svg>
                </div>
                <h3>Nutrition &amp; Weight Care</h3>
                <p>
                  Body-condition scoring and diet plans that protect joints and
                  organs, since extra weight is the single biggest driver of
                  senior pain.
                </p>
              </div>
            </div>
            <div class="col-md-6 col-lg-4 reveal">
              <div class="service-card">
                <div class="service-icon">
                  <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
                    <path
                      d="M12 3a5 5 0 015 5c0 2-1 3-1 5v2H8v-2c0-2-1-3-1-5a5 5 0 015-5z"
                      stroke="currentColor"
                      stroke-width="1.6"
                      stroke-linejoin="round"
                    />
                    <path
                      d="M9 19h6M10 21.5h4"
                      stroke="currentColor"
                      stroke-width="1.6"
                      stroke-linecap="round"
                    />
                  </svg>
                </div>
                <h3>Cognitive &amp; Behavioral Support</h3>
                <p>
                  Support for pacing, night-waking, and disorientation linked to
                  canine and feline cognitive decline, with home-routine
                  coaching.
                </p>
              </div>
            </div>
            <div class="col-md-6 col-lg-4 reveal">
              <div class="service-card">
                <div class="service-icon">
                  <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
                    <path
                      d="M4 10c0-4 3.5-7 8-7s8 3 8 7-3.5 9-8 9-8-5-8-9z"
                      stroke="currentColor"
                      stroke-width="1.6"
                      stroke-linejoin="round"
                    />
                  </svg>
                </div>
                <h3>Dental Care for Seniors</h3>
                <p>
                  Anesthesia-risk screening and gentle periodontal care, because
                  dental pain is a common and overlooked source of senior
                  discomfort.
                </p>
              </div>
            </div>
            <div class="col-md-6 col-lg-4 reveal">
              <div class="service-card">
                <div class="service-icon">
                  <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
                    <path
                      d="M12 21s-7-4.4-9.5-8.6C.8 8.8 2.5 5 6 5c2 0 3.4 1.2 4 2.3C10.6 6.2 12 5 14 5c3.5 0 5.2 3.8 3.5 7.4C15 16.6 12 21 12 21z"
                      stroke="currentColor"
                      stroke-width="1.6"
                      stroke-linejoin="round"
                    />
                  </svg>
                </div>
                <h3>Palliative &amp; Hospice Comfort Care</h3>
                <p>
                  Honest guidance and comfort-first support for pets with a
                  serious diagnosis, centered on appetite, pain, and quality
                  time together.
                </p>
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- APPROACH / STATS -->
      <section class="section section-pine">
        <div class="container">
          <div class="row gy-5 align-items-center">
            <div class="col-lg-5">
              <span class="section-eyebrow" style="color: #c77b3b"
                >Our Approach</span
              >
              <h2 class="section-title">
                Slower visits. Fewer surprises. A plan you understand.
              </h2>
              <p style="color: #cfd9d1">
                Senior pets do better with unhurried handling and consistent
                faces. Our geriatric appointments run longer than a standard
                exam on purpose, so nothing feels rushed for your pet &mdash; or
                for you.
              </p>
            </div>
            <div class="col-lg-7">
              <div class="row g-4">
                <div class="col-sm-6">
                  <div
                    class="display-serif"
                    style="font-size: 2.4rem; color: #f6f2e9"
                  >
                    30&ndash;45<span style="font-size: 1.1rem; color: #fde428">
                      min</span
                    >
                  </div>
                  <p style="color: #fff; margin-bottom: 0">
                    Unhurried senior wellness visits, not a rushed 10-minute
                    checkup
                  </p>
                </div>
                <div class="col-sm-6">
                  <div
                    class="display-serif"
                    style="font-size: 2.4rem; color: #f6f2e9"
                  >
                    2x<span style="font-size: 1.1rem; color: #fde428">
                      /year</span
                    >
                  </div>
                  <p style="color: #fff; margin-bottom: 0">
                    Recommended bloodwork cadence once a pet reaches senior age
                  </p>
                </div>
                <div class="col-sm-6">
                  <div
                    class="display-serif"
                    style="font-size: 2.4rem; color: #f6f2e9"
                  >
                    Same&#8209;week
                  </div>
                  <p style="color: #fff; margin-bottom: 0">
                    Availability for new pain-management and mobility concerns
                  </p>
                </div>
                <div class="col-sm-6">
                  <div
                    class="display-serif"
                    style="font-size: 2.4rem; color: #f6f2e9"
                  >
                    15 yrs
                  </div>
                  <p style="color: #fff; margin-bottom: 0">
                    Serving senior pets and families across Market Hill and
                    Dutchess County
                  </p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- WHAT TO EXPECT -->
      <section class="section section-alt" id="expect">
        <div class="container">
          <div class="row gy-5">
            <div class="col-lg-4">
              <span class="section-eyebrow">What to Expect</span>
              <h2 class="section-title">Your first senior wellness visit</h2>
              <p class="section-lede">
                A real sequence, so you know what's coming before you walk in.
              </p>
              <figure class="expect-img">
                <img src="./images/expect.jpg" alt="" />
              </figure>
            </div>
            <div class="col-lg-8">
              <div class="visit-steps">
                <div class="visit-step reveal">
                  <div class="num">01</div>
                  <div>
                    <h3>Home-life conversation</h3>
                    <p>
                      We start by asking how your pet is moving, eating, and
                      sleeping at home &mdash; the details you notice matter
                      more than any single exam finding.
                    </p>
                  </div>
                </div>
                <div class="visit-step reveal">
                  <div class="num">02</div>
                  <div>
                    <h3>Full physical &amp; mobility exam</h3>
                    <p>
                      A gentle, joint-by-joint mobility check alongside a
                      standard physical exam, done at your pet's pace on a
                      non-slip surface.
                    </p>
                  </div>
                </div>
                <div class="visit-step reveal">
                  <div class="num">03</div>
                  <div>
                    <h3>Bloodwork &amp; screening</h3>
                    <p>
                      In-house labs check kidney, liver, and thyroid function,
                      blood pressure, and urinalysis, with most results
                      available same-visit.
                    </p>
                  </div>
                </div>
                <div class="visit-step reveal">
                  <div class="num">04</div>
                  <div>
                    <h3>A plan you leave with</h3>
                    <p>
                      We build a written pain, nutrition, and monitoring plan
                      together before you go, with clear next steps and
                      follow-up timing.
                    </p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- TESTIMONIALS -->
      <section class="reviewsreviews" id="reviews">

        <div class="container">
          <div class="text-center mx-auto mb-5" style="max-width: 600px">
            <span class="section-eyebrow d-flex justify-content-center"
              >Families We've Cared For</span
            >
            <h2 class="section-title">
              What pet parents say about senior care here
            </h2>
          </div>
          <div class="row g-4">
            <div class="col-md-4 reveal">
              <div class="testimonial-card">
                <div class="stars" aria-label="5 out of 5 stars">
                  &#9733;&#9733;&#9733;&#9733;&#9733;
                </div>
                <p class="quote">
                  We've been seeing Dr Reza for a number of years now with our elderly chihuahua and continue to be so impressed with the time and care that he gives to Kya. The staff at Market Hill are always so lovely to interact with and pricing is fair and transparent.
                </p>
                <div class="attrib"> Emma Kimbell</div>
              </div>
            </div>
            <div class="col-md-4 reveal">
              <div class="testimonial-card">
                <div class="stars" aria-label="5 out of 5 stars">
                  &#9733;&#9733;&#9733;&#9733;&#9733;
                </div>
                <p class="quote">
                  I cannot say enough good things about this clinic. Over the three years I’ve been bringing my cats here, the service has been consistent and outstanding. Dr Reza and his newer colleague (I forgot her name, apologies) are incredibly welcoming and provide a warm, stress-free environment for my babies.
They are so accommodating and their responsiveness is top-tier.
Whenever a time-sensitive issue has come up, they’ve gone above and beyond to get us in for a same-day appointment and resolve the problem. A wonderful team that truly cares!
                </p>
                <div class="attrib"> Christina Mclaughlin</div>
              </div>
            </div>
            <div class="col-md-4 reveal">
              <div class="testimonial-card">
                <div class="stars" aria-label="5 out of 5 stars">
                  &#9733;&#9733;&#9733;&#9733;&#9733;
                </div>
                <p class="quote">
                  Dr. Reza and the team at Markethill Animal Hospital have been exceptional in caring for my Toy Fox Terrier, Rocco. From routine visits to more challenging health concerns, Dr. Reza consistently takes the time to listen, explain options clearly, and provide compassionate, thorough care.

Rocco is always treated with patience and attention, and I leave every appointment feeling confident that he is receiving the best possible care. I highly recommend Markethill to anyone looking for a veterinarian who truly cares about the health and well-being of their pets.
                </p>
                <div class="attrib">Maryam Schneider</div>
              </div>
            </div>
            <div class="col-md-4 reveal">
              <div class="testimonial-card">
                <div class="stars" aria-label="5 out of 5 stars">
                  &#9733;&#9733;&#9733;&#9733;&#9733;
                </div>
                <p class="quote">
                  I have been taking my 2 dogs for over 5 years now. One big and one small, Dr Reza is very good with handling both of them. I usually get nervous with my bigger dog but he knows how to handle him well and always give us good guidance. The staff is friendly and always follow up after our visits
                </p>
                <div class="attrib">Nilou Safa</div>
              </div>
            </div>
            <div class="col-md-4 reveal">
              <div class="testimonial-card">
                <div class="stars" aria-label="5 out of 5 stars">
                  &#9733;&#9733;&#9733;&#9733;&#9733;
                </div>
                <p class="quote">
                  DR Reza took such good care of our little leo, he went above and beyond to look after him and help him even though he’s a very nervous puppy! Can’t thank them enough here for how well they’ve helped us!
                </p>
                <div class="attrib">Saba Behnia</div>
              </div>
            </div>
            <div class="col-md-4 reveal">
              <div class="testimonial-card">
                <div class="stars" aria-label="5 out of 5 stars">
                  &#9733;&#9733;&#9733;&#9733;&#9733;
                </div>
                <p class="quote">
                  Dear Doctor Reza,
Thank you so much for the incredible care you’ve given our dog. When she was struggling with her weight and movement issues, we were truly worried. Thanks to your guidance, the right food plan, proper medication, and the series of laser therapy, she is now slim, healthy, and active again.
We’re so grateful for your expertise, patience, and genuine care. You and your team have made such a positive difference in her life — and ours.
With heartfelt thanks,
Haleh Setayesh
                </p>
                <div class="attrib">Haleh Setayesh</div>
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- FAQ -->
      <section class="section section-alt" id="faq">
        <div class="container">
          <div class="row gy-5">
            <div class="col-lg-8">
              <div class="accordion" id="faqAccordion">
                <div class="accordion-item">
                  <h3 class="accordion-header" id="faqH1">
                    <button
                      class="accordion-button"
                      type="button"
                      data-bs-toggle="collapse"
                      data-bs-target="#faqC1"
                      aria-expanded="true"
                      aria-controls="faqC1"
                    >
                      At what age is a dog or cat considered a senior?
                    </button>
                  </h3>
                  <div
                    id="faqC1"
                    class="accordion-collapse collapse show"
                    aria-labelledby="faqH1"
                    data-bs-parent="#faqAccordion"
                  >
                    <div class="accordion-body">
                      Most cats and small-breed dogs are considered senior
                      around age 10&ndash;11, medium breeds around 8&ndash;9,
                      and large or giant breeds as early as 6&ndash;7. Because
                      larger dogs age faster, we tailor senior screening
                      schedules to breed and size rather than a single number.
                    </div>
                  </div>
                </div>

                <div class="accordion-item">
                  <h3 class="accordion-header" id="faqH2">
                    <button
                      class="accordion-button collapsed"
                      type="button"
                      data-bs-toggle="collapse"
                      data-bs-target="#faqC2"
                      aria-expanded="false"
                      aria-controls="faqC2"
                    >
                      How do I know if my older pet is in pain?
                    </button>
                  </h3>
                  <div
                    id="faqC2"
                    class="accordion-collapse collapse"
                    aria-labelledby="faqH2"
                    data-bs-parent="#faqAccordion"
                  >
                    <div class="accordion-body">
                      Pets rarely cry out from chronic pain. Watch for slower
                      rising, reluctance on stairs, less interest in walks or
                      play, restlessness at night, or a change in appetite or
                      grooming. Any of these is a reason to schedule a pain
                      assessment.
                    </div>
                  </div>
                </div>

                <div class="accordion-item">
                  <h3 class="accordion-header" id="faqH3">
                    <button
                      class="accordion-button collapsed"
                      type="button"
                      data-bs-toggle="collapse"
                      data-bs-target="#faqC3"
                      aria-expanded="false"
                      aria-controls="faqC3"
                    >
                      What happens during a senior wellness exam?
                    </button>
                  </h3>
                  <div
                    id="faqC3"
                    class="accordion-collapse collapse"
                    aria-labelledby="faqH3"
                    data-bs-parent="#faqAccordion"
                  >
                    <div class="accordion-body">
                      A senior wellness visit includes a full physical and
                      mobility exam, bloodwork and urinalysis, blood pressure
                      screening, and a conversation about diet, cognition, and
                      comfort at home. Most visits run 30&ndash;45 minutes and
                      we build a plan together before you leave.
                    </div>
                  </div>
                </div>

                <div class="accordion-item">
                  <h3 class="accordion-header" id="faqH4">
                    <button
                      class="accordion-button collapsed"
                      type="button"
                      data-bs-toggle="collapse"
                      data-bs-target="#faqC4"
                      aria-expanded="false"
                      aria-controls="faqC4"
                    >
                      Do you offer pain management beyond medication?
                    </button>
                  </h3>
                  <div
                    id="faqC4"
                    class="accordion-collapse collapse"
                    aria-labelledby="faqH4"
                    data-bs-parent="#faqAccordion"
                  >
                    <div class="accordion-body">
                      Yes. Depending on your pet, a pain and mobility plan may
                      combine anti-inflammatory or nerve-pain medication with
                      weight management, joint supplements, laser therapy, and
                      simple home changes like ramps and traction rugs.
                    </div>
                  </div>
                </div>

                <div class="accordion-item">
                  <h3 class="accordion-header" id="faqH5">
                    <button
                      class="accordion-button collapsed"
                      type="button"
                      data-bs-toggle="collapse"
                      data-bs-target="#faqC5"
                      aria-expanded="false"
                      aria-controls="faqC5"
                    >
                      Do you provide hospice or end-of-life support?
                    </button>
                  </h3>
                  <div
                    id="faqC5"
                    class="accordion-collapse collapse"
                    aria-labelledby="faqH5"
                    data-bs-parent="#faqAccordion"
                  >
                    <div class="accordion-body">
                      Yes. Our palliative and hospice care focuses on comfort,
                      appetite, and dignity for pets with a serious or terminal
                      diagnosis, with honest guidance for your family at every
                      step, including in-home options where appropriate.
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div class="col-lg-4">
              <span class="section-eyebrow">Common Questions</span>
              <h2 class="section-title">
                Senior &amp; geriatric care, answered
              </h2>
              <p class="section-lede">
                Still have a question?
                <a href="tel:+1604-569-1993"> Call the care team</a> &mdash; we're
                glad to talk it through.
              </p>
              <figure class="cat-img">
                <img src="./images/cat.png" alt="">
              </figure>
            </div>
          </div>
        </div>
      </section>

      <!-- CTA BAND -->
      <section class="section">
        <div class="container">
          <div class="cta-band reveal">
            <div class="row align-items-center gy-4">
              <div class="col-lg-7">
                <h2>Let's build your pet's senior care plan.</h2>
                <p>
                  Same-week openings for new pain and mobility concerns. Call
                  now or send a request and we'll follow up within one business
                  day.
                </p>
              </div>
              <div
                class="col-lg-5 d-flex flex-column flex-sm-row gap-3 justify-content-lg-end"
              >
                <a
                  href="tel:+1604-569-1993"
                  class="btn-amber justify-content-center"
                  >Call 604-569-1993</a
                >
                <a
                  href="#contact"
                  class="btn-outline-pine justify-content-center"
                  style="border-color: #cfd9d1; color: #f6f2e9"
                  >Request a Visit</a
                >
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- CONTACT -->
      <section class="section section-alt" id="contact">
        <div class="container">
          <div class="row gy-5">
            <div class="col-lg-6">
              <span class="section-eyebrow">Get Started</span>
              <h2 class="section-title mb-4">
                Request a senior wellness visit
              </h2>

                 <!-- Success Message -->
                  <?php if($success): ?>
                      <div class="alert alert-success">
                          <?= htmlspecialchars($success); ?>
                      </div>
                  <?php endif; ?>

                  <!-- Mail Error -->
                  <?php if(isset($errors['mail'])): ?>
                      <div class="alert alert-danger">
                          <?= htmlspecialchars($errors['mail']); ?>
                      </div>
                  <?php endif; ?>

              <form  action="sendmail.php" method="POST" class="lead-form" id="leadForm" >
                <div class="row g-3">
                  <div class="col-sm-6">
                    <label for="ownerName" class="form-label d-block"
                      >Your name</label
                    >
                   <input
                      type="text"
                      name="ownerName"
                      class="form-control"
                      value="<?= htmlspecialchars($old['ownerName'] ?? '') ?>"
                      required
                    />
                    <?php if(isset($errors['ownerName'])): ?>
                        <div class="text-danger small mt-1">
                            <?= $errors['ownerName']; ?>
                        </div>
                    <?php endif; ?>
                  </div>
                  <div class="col-sm-6">
                    <label for="petName" class="form-label d-block"
                      >Pet's name &amp; age</label
                    >
                   <input
                      type="text"
                      name="petName"
                      class="form-control"
                      value="<?= htmlspecialchars($old['petName'] ?? '') ?>"
                       required
                    />
                     <?php if(isset($errors['petName'])): ?>
                        <div class="text-danger small mt-1">
                            <?= $errors['petName']; ?>
                        </div>
                    <?php endif; ?>
                  </div>
                  <div class="col-sm-6">
                    <label for="phoneNum" class="form-label d-block"
                      >Phone</label
                    >
                    <input
                      type="text"
                      name="phoneNum"
                      class="form-control"
                     value="<?= htmlspecialchars($old['phoneNum'] ?? '') ?>"
                      required
                    />
                   <?php if(isset($errors['phoneNum'])): ?>
                  <div class="text-danger small mt-1">
                  <?= $errors['phoneNum']; ?>
                  </div>
                  <?php endif; ?>
                  </div>
                  <div class="col-sm-6">
                    <label for="concernType" class="form-label d-block"
                      >Main concern</label
                    >
                    <select class="form-select" id="concernType" name="concernType"  required>
                      <option value="">Choose one</option>

                      <option value="Pain or mobility"
                      <?= (($old['concernType'] ?? '')=="Pain or mobility")?'selected':'' ?>>
                      Pain or mobility
                      </option>

                      <option value="General senior wellness"
                      <?= (($old['concernType'] ?? '')=="General senior wellness")?'selected':'' ?>>
                      General senior wellness
                      </option>

                      <option value="Nutrition or weight"
                      <?= (($old['concernType'] ?? '')=="Nutrition or weight")?'selected':'' ?>>
                      Nutrition or weight
                      </option>

                      <option value="Cognitive or behavior change"
                      <?= (($old['concernType'] ?? '')=="Cognitive or behavior change")?'selected':'' ?>>
                      Cognitive or behavior change
                      </option>

                      <option value="Hospice / end-of-life support"
                      <?= (($old['concernType'] ?? '')=="Hospice / end-of-life support")?'selected':'' ?>>
                      Hospice / end-of-life support
                      </option>
                    </select>
                    <?php if(isset($errors['concernType'])): ?>
                    <div class="text-danger small mt-1">
                    <?= $errors['concernType']; ?>
                    </div>
                    <?php endif; ?>
                  </div>
                  <div class="col-12">
                    <label for="notes" class="form-label d-block"
                      >Anything we should know?</label
                    >
                    <textarea
                      class="form-control"
                      id="notes"
                      name="notes"
                      rows="3"
                      placeholder="Optional"
                    ><?= htmlspecialchars($old['notes'] ?? '') ?></textarea>
                  </div>

                  <?php if(isset($errors['notes'])): ?>
                  <div class="text-danger small mt-1">
                  <?= $errors['notes']; ?>
                  </div>
                  <?php endif; ?>
                  <div class="col-12">
                    <button
                      type="submit"
                      class="btn-amber w-100 justify-content-center"
                    >
                      Request This Visit
                    </button>
                  </div>
                </div>
              </form>

               <div id="formConfirm" class="lead-form d-none" tabindex="-1">
                <h3 class="mb-2" style="font-size: 1.2rem">Request received</h3>
                <p class="mb-0" style="color: var(--pine-soft)">
                  Thank you &mdash; our care team will call you back within one
                  business day. For anything urgent, please call us directly at
                  <a href="tel:+15553162847">(555) 316-2847</a>.
                </p>
              </div> 
            </div>

            <div class="col-lg-6">
              <span class="section-eyebrow">Visit Us</span>
              <h2 class="section-title mb-4">Market Hill Animal Hospital</h2>
              <iframe
                src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2603.500202662566!2d-123.11955549999999!3d49.266918399999994!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x548673db9b1caee5%3A0x5a5cea6ba78579ee!2sMarket%20Hill%20Animal%20Hospital!5e0!3m2!1sen!2sin!4v1783372757523!5m2!1sen!2sin"
                width="100%"
                height="440"
                style="border: 0"
                allowfullscreen=""
                loading="lazy"
                referrerpolicy="strict-origin-when-cross-origin"
                class="location-box"
              ></iframe>
              <ul class="list-unstyled" p-3 style="color: var(--pine-soft)" >
                <li class="mb-2">
                  <strong style="color: var(--pine)">Address:</strong> 665C
                  Market Hill, Vancouver, BC V5Z 4B5
                </li>
                <li class="mb-2">
                  <strong style="color: var(--pine)">Phone:</strong>
                  <a href="tel:+1604-569-1993">604-569-1993</a>
                </li>
                <li class="mb-2">
                  <strong style="color: var(--pine)">Hours:</strong>
                  <!-- Mon&ndash;Fri 8am&ndash;6pm, Sat 9am&ndash;1pm -->
                  Mon 10am&ndash;5pm,Tue&ndash;Fri 8.30am&ndash;6pm, Sat 10am&ndash;6pm

                </li>
                <li>
                  <strong style="color: var(--pine)">Serving:</strong>
                  Vancouver & Surrounding Areas
                </li>
              </ul>
            </div>
          </div>
        </div>
      </section>
    </main>

<?php require_once __DIR__ ."/footer.php";?>