customer-riverside/web/modules/custom/riverside_pt/templates/riverside-pt-home.html.twig

137 lines
8.5 KiB
Twig
Raw Normal View History

2026-05-27 21:28:12 -08:00
<div class="bg-[linear-gradient(180deg,#83A1A1_0%,#86AAB6_100%)] pt-px">
<section class="
2026-05-27 22:42:59 -08:00
relative md:mt-[78px] min-h-[480px]
2026-05-27 21:28:12 -08:00
2026-05-27 22:42:59 -08:00
/* This number, 78px is supposed to match the header height (only when header is fixed) */
2026-05-27 21:28:12 -08:00
">
2026-05-16 10:45:33 -08:00
2026-05-27 21:28:12 -08:00
{# Box 1: Image — full-bleed on mobile, offset on sm+ #}
2026-05-27 22:42:59 -08:00
<div class="absolute inset-0 flex sm:pt-8 sm:pb-8">
2026-05-27 21:28:12 -08:00
<div class="hidden sm:block sm:basis-[8%] sm:grow-[2]"></div>
<img
src="/modules/custom/riverside_pt/images/hero.jpg"
alt="A man helps a woman in a wheelchair"
class="basis-full sm:basis-[58%] sm:grow min-w-0 h-full object-cover object-[center_0%]" />
<div class="hidden sm:block sm:basis-[34%] sm:grow-[2]"></div>
</div>
2026-05-16 10:45:33 -08:00
2026-05-27 21:28:12 -08:00
{# Gradient overlay on mobile so text stays readable over the image #}
<div class="absolute inset-0 bg-gradient-to-t from-black/60 via-black/30 to-transparent sm:hidden"></div>
2026-05-16 11:14:44 -08:00
2026-05-27 21:28:12 -08:00
{# Box 2: Text — spacer 50% | text 40% | spacer 10% #}
2026-05-27 22:42:59 -08:00
<div class="relative flex min-h-[480px] pt-0 pb-4">
2026-05-27 21:28:12 -08:00
<div class="hidden sm:block sm:basis-[50%] sm:grow-[2]"></div>
<div class="basis-full sm:basis-[40%] sm:grow flex flex-col justify-end sm:justify-center px-6 sm:px-0 sm:pb-0 gap-[1vw]">
<h1
2026-05-27 22:42:59 -08:00
class="mt-0 mb-[1vw] text-[clamp(1.5rem,3.5vw,3.25rem)] font-serif font-normal text-white leading-none [text-shadow:-56.21px_2.55px_10.22px_#0000001A]"
2026-05-27 21:28:12 -08:00
>
Restore your strength.<br>Reclaim your life.
</h1>
2026-05-27 22:42:59 -08:00
<p class="text-white/80 leading-tight text-[clamp(1rem,2vw,1.5vw)]">Every new patient starts with a comprehensive diagnostic assessment. From there we build a personalized plan that may include sports rehabilitation, pre- or post-surgical recovery, or neurological physical therapy.</p>
2026-05-27 21:28:12 -08:00
<div class="flex gap-4 flex-wrap items-center mt-[2vw]">
<a
href="/schedule"
2026-05-27 22:42:59 -08:00
class="w-full sm:w-auto text-center max-sm:text-sm sm:text-[clamp(0.25rem,1vw,1.25vw)] px-[4em] py-[1em] bg-[#306f8e] text-white font-medium no-underline transition-colors border-2 border-[#306f8e] hover:bg-[#1f5a6e] hover:border-[#1f5a6e]"
2026-05-27 21:28:12 -08:00
>Book An Appointment</a>
<a
href="/services"
2026-05-27 22:42:59 -08:00
class="hidden sm:inline-block text-[clamp(0.25rem,1vw,1.25vw)] px-[4em] py-[1em] bg-[#86AAB6] text-white font-medium no-underline transition-colors border-2 border-white hover:bg-[#6f8f96]"
2026-05-27 21:28:12 -08:00
>View Our Services</a>
</div>
2026-05-16 10:45:33 -08:00
</div>
2026-05-27 21:28:12 -08:00
<div class="hidden sm:block sm:basis-[10%] sm:grow-[2]"></div>
2026-05-16 10:45:33 -08:00
</div>
2026-05-27 21:28:12 -08:00
</section>
</div>
2026-05-16 10:45:33 -08:00
2026-05-24 23:32:23 -08:00
<section class="py-16 px-6 bg-white">
<div class="max-w-[1040px] mx-auto mb-12">
<p class="text-sm tracking-widest uppercase text-[#306f8e] font-semibold text-center mb-2">Bringing Relief</p>
2026-05-27 21:28:12 -08:00
<h2 class="text-[2.25rem] font-serif font-normal text-gray-900 leading-tight text-center">Our Wide Range of Physical Therapy Services</h2>
2026-05-16 10:45:33 -08:00
</div>
2026-05-24 23:32:23 -08:00
<div class="grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-4 gap-6 max-w-[1040px] mx-auto">
<div class="flex flex-col border border-[#b8d4dc] bg-white overflow-hidden">
<img src="/modules/custom/riverside_pt/images/panels/1.jpg" alt="Diagnostic assessment" class="w-full h-48 object-cover" />
<div class="flex flex-col gap-4 p-6 flex-1">
<h3 class="text-2xl font-normal text-gray-900">Diagnostic Assessment</h3>
<p class="text-[15px] text-gray-600 leading-relaxed flex-1">Your recovery starts with clarity. We perform a thorough evaluation of your condition, movement, and goals to create a precise, personalized treatment plan from day one.</p>
2026-05-27 21:28:12 -08:00
<a href="/services" class="inline-flex items-center gap-3 px-5 py-3 bg-[#306f8e] text-white text-[15px] font-medium no-underline hover:bg-[#1f5a6e]">More Info &rarr;</a>
2026-05-24 23:32:23 -08:00
</div>
</div>
<div class="flex flex-col border border-[#b8d4dc] bg-white overflow-hidden">
<img src="/modules/custom/riverside_pt/images/panels/2.jpg" alt="Sports rehabilitation" class="w-full h-48 object-cover" />
<div class="flex flex-col gap-4 p-6 flex-1">
<h3 class="text-2xl font-normal text-gray-900">Sports Rehabilitation</h3>
<p class="text-[15px] text-gray-600 leading-relaxed flex-1">We help athletes recover from injury and return to peak performance with targeted, sport-specific programs built around your body and your goals.</p>
2026-05-27 21:28:12 -08:00
<a href="/services" class="inline-flex items-center gap-3 px-5 py-3 bg-[#306f8e] text-white text-[15px] font-medium no-underline hover:bg-[#1f5a6e]">More Info &rarr;</a>
2026-05-24 23:32:23 -08:00
</div>
</div>
<div class="flex flex-col border border-[#b8d4dc] bg-white overflow-hidden">
<img src="/modules/custom/riverside_pt/images/panels/3.jpg" alt="Pre and post-surgical rehab" class="w-full h-48 object-cover" />
<div class="flex flex-col gap-4 p-6 flex-1">
<h3 class="text-2xl font-normal text-gray-900">Pre/Post-Surgical Rehab</h3>
<p class="text-[15px] text-gray-600 leading-relaxed flex-1">Expert care before and after surgery to reduce recovery time, minimize complications, and restore full strength and function.</p>
2026-05-27 21:28:12 -08:00
<a href="/services" class="inline-flex items-center gap-3 px-5 py-3 bg-[#306f8e] text-white text-[15px] font-medium no-underline hover:bg-[#1f5a6e]">More Info &rarr;</a>
2026-05-24 23:32:23 -08:00
</div>
2026-05-16 10:45:33 -08:00
</div>
2026-05-24 23:32:23 -08:00
<div class="flex flex-col border border-[#b8d4dc] bg-white overflow-hidden">
<img src="/modules/custom/riverside_pt/images/panels/4.jpg" alt="Neurological physical therapy" class="w-full h-48 object-cover" />
<div class="flex flex-col gap-4 p-6 flex-1">
<h3 class="text-2xl font-normal text-gray-900">Neurological Therapy</h3>
<p class="text-[15px] text-gray-600 leading-relaxed flex-1">Specialized therapy for nervous system conditions — helping you rebuild strength, coordination, and independence at every stage of recovery.</p>
2026-05-27 21:28:12 -08:00
<a href="/services" class="inline-flex items-center gap-3 px-5 py-3 bg-[#306f8e] text-white text-[15px] font-medium no-underline hover:bg-[#1f5a6e]">More Info &rarr;</a>
2026-05-24 23:32:23 -08:00
</div>
2026-05-16 10:45:33 -08:00
</div>
2026-05-24 23:32:23 -08:00
</div>
</section>
<section class="bg-[#dde8f0] py-20 px-6 overflow-hidden">
<div class="max-w-[1200px] mx-auto flex flex-col md:flex-row gap-12 md:gap-20 items-center">
<div class="flex-1 flex flex-col gap-8 min-w-0">
2026-05-27 21:28:12 -08:00
<h2 class="text-[clamp(2.75rem,4.5vw,4rem)] font-serif font-light text-gray-900 leading-[1.1]">Our mission is to help you reclaim your body.</h2>
<p class="text-base text-gray-700 font-light leading-relaxed max-w-lg">Every new patient begins with a comprehensive diagnostic assessment. From there, we create a fully personalized treatment plan tailored to your goals — whether that means returning to sport, recovering from surgery, or restoring neurological function.</p>
2026-05-24 23:32:23 -08:00
<div class="flex gap-12 pt-4">
2026-05-27 23:07:02 -08:00
<div class="font-hedvig text-center">
2026-05-27 21:28:12 -08:00
<p class="text-[4.5rem] font-light text-[#306f8e] leading-none">15</p>
2026-05-24 23:32:23 -08:00
<p class="text-xs tracking-widest uppercase text-[#306f8e] font-semibold mt-2">Years Open</p>
</div>
2026-05-27 23:07:02 -08:00
<div class="font-hedvig text-center">
<p class="text-[4.5rem] text-[#306f8e] leading-none">300</p>
2026-05-24 23:32:23 -08:00
<p class="text-xs tracking-widest uppercase text-[#306f8e] font-semibold mt-2">Patients Served</p>
</div>
</div>
2026-05-16 10:45:33 -08:00
</div>
2026-05-24 23:32:23 -08:00
<div class="w-full md:w-[46%] shrink-0">
<img src="/modules/custom/riverside_pt/images/neck.jpg" alt="Patient receiving physical therapy" class="w-full h-[420px] md:h-[520px] object-cover" />
2026-05-16 10:45:33 -08:00
</div>
2026-05-24 23:32:23 -08:00
</div>
</section>
<section class="py-16 bg-white">
<div class="max-w-[1040px] mx-auto px-6 mb-8">
<h2 class="text-3xl font-bold text-blue-900 mb-1.5">Our Facility</h2>
<p class="text-[17px] text-gray-500">A look inside our clinic</p>
</div>
<rpt-carousel class="block"></rpt-carousel>
</section>
<section class="py-24 px-6 bg-white">
2026-05-27 21:28:12 -08:00
<div class="max-w-[420px] mx-auto">
<h2 class="text-[clamp(2.5rem,5vw,4rem)] font-serif font-light text-gray-800 mb-10 text-center">Book An Appointment</h2>
<fieldset class="border border-gray-300 rounded-lg px-4 pb-4 pt-0 mx-auto">
2026-05-24 23:32:23 -08:00
<legend class="text-sm text-gray-400 px-2">Appointment Type</legend>
<select class="w-full text-gray-700 text-base bg-transparent outline-none py-2 cursor-pointer">
<option value="">— Select A Service —</option>
<option value="diagnostic">Diagnostic Assessment</option>
<option value="sports">Sports Rehabilitation</option>
<option value="surgical">Pre/Post-Surgical Rehab</option>
<option value="neuro">Neurological Therapy</option>
</select>
</fieldset>
2026-05-16 10:45:33 -08:00
</div>
</section>