/**
 * Amy's Eden Senior Care — Unified Theme Stylesheet
 * =================================================
 * Combined and optimized from all page designs.
 * Organized by component for maintainability.
 *
 * Table of Contents:
 *  1. CSS Custom Properties
 *  2. Reset & Base
 *  3. Typography
 *  4. Layout & Containers
 *  5. Buttons
 *  6. Navigation
 *  7. Announcement / Top Bar
 *  8. Hero
 *  9. Trust Bar
 * 10. Section Headers & Dividers
 * 11. Two-Column Layouts (difference, overview, philosophy, deep-dive)
 * 12. Card Components (care, service, USP, included, comparison)
 * 13. Photo Gallery & Lightbox
 * 14. Tabs
 * 15. Comparison Table
 * 16. Testimonials
 * 17. Process / Steps
 * 18. Video Section
 * 19. FAQ Accordion
 * 20. Contact Form
 * 21. Final CTA
 * 22. Footer
 * 23. Scroll Animations (.reveal)
 * 24. Keyframe Animations
 * 25. Responsive — 1024px
 * 26. Responsive — 768px
 * 27. Responsive — 480px
 * 28. Print Styles
 * 29. Page-Specific Overrides
 */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
    /* Brand colors */
    --coral: #EE5F3D;
    --magenta: #C12787;
    --gradient: linear-gradient(135deg, #EE5F3D, #C12787);
    --gradient-hover: linear-gradient(135deg, #d9522f, #a82075);
    --gradient-soft: linear-gradient(135deg, rgba(238, 95, 61, 0.08), rgba(193, 39, 135, 0.08));

    /* Backgrounds */
    --bg-primary: #FDFAF7;
    --bg-white: #FFFFFF;
    --bg-warm: #FBF5F0;
    --bg-footer: #2A2A3C;

    /* Text */
    --text-primary: #2A2A3C;
    --text-secondary: #5C5C6F;
    --text-muted: #8A8A9A;

    /* Accent */
    --gold: #B8935A;
    --gold-light: #C9A86E;

    /* Borders & Shadows */
    --border-color: #E8E3DD;
    --border-light: #F0EBE5;
    --card-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.10);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing & Sizing */
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --container-width: 1200px;
    --nav-height: 80px;
    --section-padding: clamp(80px, 10vw, 140px);

    /* Easing */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Focus-visible for keyboard accessibility */
:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ==========================================================================
   4. LAYOUT & CONTAINERS
   ========================================================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 5%;
    position: relative;
}

.section--white { background: var(--bg-white); }
.section--warm  { background: var(--bg-primary); }
.section--peach { background: var(--bg-warm); }


/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(238, 95, 61, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(238, 95, 61, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--coral);
    color: var(--coral);
    background: rgba(238, 95, 61, 0.04);
    transform: translateY(-2px);
}

.btn-outline--light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
}

.btn-outline--light:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline-dark:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--gold);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-primary);
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--coral);
    color: var(--coral);
    background: rgba(238, 95, 61, 0.04);
}


/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */

/* --- Variant A: Fixed nav (homepage / assisted-living) --- */
.nav {
    position: fixed;
    top: var(--announcement-offset, 0px);
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: top 0.3s var(--ease-smooth), background 0.4s var(--ease-smooth),
                box-shadow 0.4s var(--ease-smooth);
}

/* Account for WP Admin Bar */
.admin-bar .nav {
    top: calc(var(--announcement-offset, 0px) + 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .nav {
        top: calc(var(--announcement-offset, 0px) + 46px);
    }
}

.nav--scrolled,
.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.97);
}

/* --- Variant B: Sticky nav (home-care / comparison pages) --- */
.nav--sticky {
    position: sticky;
    height: auto;
    padding: 16px 5%;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

/* Inner layout */
.nav .container,
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.nav__logo,
.nav-logo {
    flex-shrink: 0;
}

.nav__logo img,
.nav-logo img,
.nav-logo {
    height: 44px;
    width: auto;
}

/* Nav links */
.nav__links,
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link,
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav__link:hover,
.nav-links a:hover {
    color: var(--coral);
}

/* Assisted-living dark-hero nav: white links by default, dark when scrolled */
.nav--dark .nav-links a { color: #fff; }
.nav--dark.scrolled .nav-links a { color: var(--text-secondary); }

/* Nav CTA */
.nav__cta {
    flex-shrink: 0;
}

.nav__cta .btn {
    padding: 12px 28px;
    font-size: 0.85rem;
}

.nav-cta {
    background: var(--gradient);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(238, 95, 61, 0.3);
    transform: translateY(-2px);
}

/* Hamburger / mobile toggle */
.nav__hamburger,
.hamburger,
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

.nav__hamburger span,
.hamburger span,
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav--dark .hamburger span { background: #fff; }
.nav--dark.scrolled .hamburger span { background: var(--text-primary); }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.nav__mobile,
.mobile-menu {
    display: none;
    position: fixed;
    top: calc(var(--nav-height) + var(--announcement-offset, 0px));
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
}

/* Mobile menu accounts for admin bar */
.admin-bar .mobile-menu {
    top: calc(var(--nav-height) + var(--announcement-offset, 0px) + 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .mobile-menu {
        top: calc(var(--nav-height) + var(--announcement-offset, 0px) + 46px);
    }
}

.nav__mobile.active,
.mobile-menu.open {
    display: flex;
}

.nav__mobile a,
.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--coral); }

/* Dropdown nav-links for inner pages (mobile) */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* ==========================================================================
   7. ANNOUNCEMENT / TOP BAR
   ========================================================================== */

.announcement-bar,
.top-bar {
    background: var(--gradient);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1001;
}

/* Hero clears both announcement bar and fixed nav */
body:has(.announcement-bar) .hero {
    padding-top: calc(var(--nav-height, 80px) + var(--announcement-bar-height, 40px) + 20px);
}

.announcement-bar a,
.top-bar a {
    color: #fff;
    font-weight: 700;
    margin-left: 8px;
    text-decoration: none;
}

.top-bar a {
    padding: 4px 16px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    transition: all 0.3s;
    display: inline-block;
}

.top-bar a:hover {
    background: #fff;
    color: var(--coral);
}

.announcement-bar a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.announcement-bar a:hover {
    text-decoration-thickness: 2px;
}


/* ==========================================================================
   8. HERO
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: calc(var(--nav-height, 80px) + 20px);
}

/* Background image layer */
.hero__bg,
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay (homepage, assisted-living) */
.hero__bg::after,
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
}

.hero__bg::after {
    background: linear-gradient(180deg,
        rgba(42, 42, 60, 0.25) 0%,
        rgba(42, 42, 60, 0.35) 40%,
        rgba(42, 42, 60, 0.65) 100%);
}

/* Light overlay variant (home-care, comparison) */
.hero-bg--light::after,
.hero-overlay {
    background: linear-gradient(135deg,
        rgba(253, 250, 247, 0.92) 0%,
        rgba(253, 250, 247, 0.7) 40%,
        rgba(253, 250, 247, 0.3) 70%,
        transparent 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Hero content */
.hero__content,
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero__content {
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    margin: 0 auto;
}

.hero-content {
    max-width: 720px;
    padding: 120px 5% 100px;
}

/* Hero badge */
.hero__badge,
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero__badge {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: #fff;
    animation: fadeInDown 1s ease 0.2s both;
}

.hero__badge svg {
    width: 16px;
    height: 16px;
    fill: var(--gold, #D4A853);
    flex-shrink: 0;
}

.hero-badge--gold {
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2.5px;
    animation: fadeDown 0.8s ease both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* Hero heading */
.hero__heading,
.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero__heading {
    color: #fff;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3), 0 4px 60px rgba(0, 0, 0, 0.15);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero__heading em {
    font-style: italic;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(193, 39, 135, 0.3));
}

/* Hero subtitle */
.hero__subtext,
.hero-subtitle,
.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 36px;
}

.hero__subtext {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.6s both;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* Hero buttons */
.hero__ctas,
.hero-buttons,
.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__ctas {
    justify-content: center;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-ctas {
    animation: fadeDown 0.8s 0.45s ease both;
}

/* Hero location line */
.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 36px;
}

/* Hero stats row */
.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

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

.hero-stat-value,
.hero-stat h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.hero-stat h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.hero-stat-label,
.hero-stat p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 1.2s both;
}

.hero__scroll span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--gradient);
    animation: scrollLine 2s ease infinite;
}


/* ==========================================================================
   9. TRUST BAR
   ========================================================================== */

.trust-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 48px 0;
}

.trust-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Flex variant for inner pages */
.trust-bar--flex {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 52px 5%;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    position: relative;
}

.trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--border-color), transparent);
}

.trust-item__number,
.trust-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.trust-item__label,
.trust-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ==========================================================================
   10. SECTION HEADERS & DIVIDERS
   ========================================================================== */

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
}

.section-label--gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.section-label--gold {
    color: var(--gold);
}

.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-label--no-line::before {
    display: none;
}

.section-heading,
.section-title {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-subtext,
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-header .section-subtitle,
.section-header .section-subtext {
    margin: 0 auto;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: var(--gradient);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-divider {
    height: 2px;
    background: var(--gradient);
    opacity: 0.2;
    border: none;
    margin: 0;
}


/* ==========================================================================
   11. TWO-COLUMN LAYOUTS
   ========================================================================== */

/* --- Difference section (homepage) --- */
.difference {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.difference__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.difference__text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.difference__features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gradient-soft);
    border: 1px solid rgba(238, 95, 61, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--coral);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-item__content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-item__content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

.difference__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.difference__image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
}

.difference__image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    pointer-events: none;
}

.difference__image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    padding: 16px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.difference__image-badge span {
    display: block;
}

.difference__image-badge span:first-child {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.difference__image-badge span:last-child {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* --- Overview section (home-care) --- */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-image-stack {
    position: relative;
    padding: 20px;
}

.overview-image-stack .img-main {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    display: block;
    position: relative;
    z-index: 2;
}

.overview-image-stack .img-accent {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 45%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 4px solid var(--bg-white);
    z-index: 3;
}

.overview-content h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.25;
}

.overview-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* --- Philosophy section (comparison page) --- */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: center;
}

.philosophy-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.philosophy-img-main {
    grid-column: 1 / -1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 280px;
}

.philosophy-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.philosophy-img-sm {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 180px;
}

.philosophy-img-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.philosophy-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 500;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 24px;
    position: relative;
    padding-left: 28px;
    border-left: 3px solid;
    border-image: linear-gradient(135deg, var(--coral), var(--magenta)) 1;
}

.philosophy-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Deep-dive sections (comparison page) --- */
.deep-dive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: center;
}

.deep-dive-grid.reverse { direction: rtl; }
.deep-dive-grid.reverse > * { direction: ltr; }

.deep-dive-photo {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
}

.deep-dive-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.deep-dive-photo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.deep-dive-photo-badge strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.deep-dive-photo-badge span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.deep-dive-text h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.deep-dive-text > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.deep-dive-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.deep-dive-feature {
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s;
}

.deep-dive-feature:hover { transform: translateY(-2px); }

.deep-dive-feature-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.deep-dive-feature h4 {
    font-size: 0.875rem;
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-weight: 700;
}

.deep-dive-feature p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Why section (assisted-living) --- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow-hover);
}

.why-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.why-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 24px;
}

.why-text p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.why-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}


/* ==========================================================================
   12. CARD COMPONENTS
   ========================================================================== */

/* --- Care option cards (homepage) --- */
.care-options {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.care-options__header {
    text-align: center;
    margin-bottom: 60px;
}

.care-options__header .section-subtext { margin: 0 auto; }

.care-options__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.care-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.5s var(--ease);
}

.care-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.care-card__image {
    height: 280px;
    overflow: hidden;
}

.care-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.care-card:hover .care-card__image img {
    transform: scale(1.04);
}

.care-card__body {
    padding: 36px;
}

.care-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.care-card__title {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.care-card__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.care-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: gap 0.3s ease;
}

.care-card__link svg {
    width: 18px;
    height: 18px;
    stroke: var(--coral);
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.care-card:hover .care-card__link { gap: 14px; }
.care-card:hover .care-card__link svg { transform: translateX(4px); }

/* --- Comparison card / eden vs facility (assisted-living) --- */
.comparison-card {
    padding: 28px;
    border-radius: var(--radius);
    text-align: center;
}

.comparison-card.eden {
    background: var(--gradient-soft);
    border: 2px solid rgba(238, 95, 61, 0.15);
}

.comparison-card.facility {
    background: #f5f5f7;
    border: 2px solid #e8e8ea;
}

.comparison-card h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-card .number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.comparison-card.eden .number { color: var(--coral); }
.comparison-card.facility .number { color: var(--text-muted); }

.comparison-card .label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Included cards (assisted-living) --- */
.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.included-card {
    background: var(--bg-white);
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s var(--ease-smooth);
    border: 1px solid transparent;
}

.included-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(238, 95, 61, 0.15);
}

.included-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.included-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 700;
}

.included-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- USP cards (home-care) --- */
.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 120px;
}

.why-us-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.usp-card {
    background: var(--bg-white);
    padding: 36px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.usp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.usp-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-warm);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px;
    font-size: 1.75rem;
}

.usp-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.usp-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Service cards (home-care) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Services feature (top row with photo) --- */
.services-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
    align-items: stretch;
}

.services-feature-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    min-height: 340px;
}

.services-feature-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.services-feature-text h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.services-feature-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Compare cards (comparison page) --- */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    max-width: 1140px;
    margin: 0 auto;
}

.compare-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}

.compare-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.compare-card-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

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

.compare-card:hover .compare-card-image img {
    transform: scale(1.04);
}

.compare-card-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.compare-card-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 12px 0;
}

.compare-card-thumb {
    flex: 1;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}

.compare-card-thumb:hover {
    border-color: var(--coral);
    transform: scale(1.03);
}

.compare-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-card-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.compare-card-body h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.compare-card-subtitle {
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 20px;
}

.compare-benefits {
    list-style: none;
    margin-bottom: 24px;
}

.compare-benefits li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare-benefits li::before {
    content: '\2713';
    font-weight: 700;
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    background: var(--gradient-soft);
    color: var(--coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.compare-best-for {
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.compare-best-for h4 {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 700;
}

.compare-best-for p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.compare-pricing {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.compare-pricing strong {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.compare-card-cta { margin-top: auto; }
.compare-card-cta .btn-primary,
.compare-card-cta .btn-secondary { width: 100%; justify-content: center; }

/* --- Pricing card (assisted-living) --- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pricing-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow-hover);
}

.pricing-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.pricing-features {
    list-style: none;
    margin-top: 32px;
}

.pricing-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- Cross-sell section (home-care) --- */
.cross-sell-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cross-sell-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
}

.cross-sell-gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.cross-sell-gallery img:hover { transform: scale(1.03); }
.cross-sell-gallery img.cs-wide { grid-column: span 2; height: 200px; }
.cross-sell-gallery img.cs-tall { grid-row: span 2; height: 100%; }

.cross-sell-content .badge-outline {
    display: inline-block;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.cross-sell-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cross-sell-content > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.cross-sell-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    padding: 28px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.cross-sell-stat { text-align: center; }

.cross-sell-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.cross-sell-stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}


/* ==========================================================================
   13. PHOTO GALLERY & LIGHTBOX
   ========================================================================== */

/* --- Scrolling gallery (homepage) --- */
.gallery {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
    overflow: hidden;
}

.gallery__header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery__header .section-subtext { margin: 0 auto; }

.gallery__track {
    display: flex;
    gap: 20px;
    animation: galleryScroll 60s linear infinite;
    width: max-content;
}

.gallery__track:hover {
    animation-play-state: paused;
}

.gallery__item {
    flex-shrink: 0;
    width: 340px;
    height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery__item:hover img { transform: scale(1.05); }

.gallery__track--reverse {
    animation-direction: reverse;
    margin-top: 20px;
}

/* --- Grid gallery (assisted-living) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after { opacity: 1; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* --- Photo strip (home-care) --- */
.photo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    overflow: hidden;
    max-height: 340px;
}

.photo-strip img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.photo-strip img:hover { transform: scale(1.04); }

/* --- Carousel gallery (home-care) --- */
.gallery-track-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 0 20px;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.gallery-card .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 16px;
    background: linear-gradient(transparent, rgba(42, 42, 60, 0.7));
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.gallery-nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    background: var(--bg-white);
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav button:hover {
    border-color: var(--coral);
    color: var(--coral);
    background: rgba(238, 95, 61, 0.04);
}

/* --- Gallery strip (comparison page) --- */
.gallery-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 5% 8px;
    max-width: 1240px;
    margin: -32px auto 0;
    scrollbar-width: none;
}

.gallery-strip::-webkit-scrollbar { display: none; }

.gallery-strip-item {
    flex: 0 0 240px;
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.gallery-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-strip-item:hover img { transform: scale(1.06); }

/* --- Photo gallery grid (comparison page) --- */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.photo-gallery-item {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.photo-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.photo-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-gallery-item:hover img { transform: scale(1.05); }
.photo-gallery-item.tall { grid-row: span 2; }
.photo-gallery-item.wide { grid-column: span 2; }

.photo-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 20px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

/* --- Homes showcase grid (comparison page) --- */
.homes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.homes-grid-item {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    aspect-ratio: 4/3;
}

.homes-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.homes-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.homes-grid-item:hover img { transform: scale(1.05); }

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   14. TABS (assisted-living)
   ========================================================================== */

.tab-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.tab-btn:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.tab-btn.active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

.tab-panel {
    display: none;
}

.tab-panel.active { display: block; }

.tab-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.tab-image {
    height: 100%;
    min-height: 400px;
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-info {
    padding: 48px 48px 48px 0;
}

.tab-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.tab-info p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.tab-features {
    list-style: none;
    margin-top: 24px;
}

.tab-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
}

.tab-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: 700;
}


/* ==========================================================================
   15. COMPARISON TABLE
   ========================================================================== */

/* --- Homepage table --- */
.comparison {
    padding: var(--section-padding) 0;
    background: var(--bg-warm);
}

.comparison__header {
    text-align: center;
    margin-bottom: 60px;
}

.comparison__header .section-subtext { margin: 0 auto; }

.comparison__table {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
    background: var(--bg-white);
}

.comparison__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #fff;
}

.comparison__row--header {
    background: var(--text-primary);
}

.comparison__row:not(.comparison__row--header):not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison__cell {
    padding: 20px 28px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.comparison__cell--label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.88rem;
    background: rgba(0, 0, 0, 0.01);
}

.comparison__cell--eden {
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    background: rgba(238, 95, 61, 0.04);
}

.comparison__cell--eden::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Checkmark SVG indicator for Eden cells */
.comparison__cell--eden::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* X indicator for facility cells */
.comparison__cell--facility {
    color: var(--text-muted);
}

.comparison__cell--facility::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.comparison__row--header .comparison__cell {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 18px 28px;
}

.comparison__row--header .comparison__cell--eden {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.comparison__row--header .comparison__cell--eden::before {
    display: none;
}

.comparison__row--header .comparison__cell--eden::after,
.comparison__row--header .comparison__cell--facility::after {
    display: none;
}

/* --- Assisted-living compare table --- */
.compare-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.compare-table thead th {
    padding: 24px 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-align: left;
    background: var(--bg-warm);
    border-bottom: 2px solid var(--border-color);
}

.compare-table thead th:nth-child(2) {
    background: var(--gradient);
    color: #fff;
}

.compare-table tbody td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
    vertical-align: top;
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.compare-table tbody td:nth-child(2) {
    background: rgba(238, 95, 61, 0.03);
    color: var(--text-primary);
}

.compare-table .check { color: var(--coral); font-weight: 700; }
.compare-table .x { color: var(--text-muted); }

/* --- Comparison-page detailed table --- */
.comparison-table-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    background: var(--bg-white);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead th {
    padding: 24px 28px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.comparison-table thead th:first-child {
    color: var(--text-muted);
    background: var(--bg-primary);
}

.comparison-table thead th:nth-child(2) {
    color: var(--gold);
    background: rgba(184, 147, 90, 0.05);
}

.comparison-table thead th:nth-child(3) {
    background: var(--gradient-soft);
    color: var(--coral);
}

.comparison-table tbody td {
    padding: 18px 28px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
    line-height: 1.6;
}

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-primary);
}

.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td { background: var(--bg-warm); }

.table-check { color: var(--coral); font-weight: 700; }

/* Table side layout */
.table-section-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.table-side-photos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.table-side-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table-side-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.table-side-cta {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.table-side-cta h4 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.table-side-cta p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* --- Decision guide (comparison page) --- */
.decision-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: start;
}

.decision-grid {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
}

.decision-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s;
}

.decision-row:last-child { border-bottom: none; }
.decision-row:hover { background: var(--bg-warm); }

.decision-question {
    padding: 24px 28px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.decision-arrow {
    font-size: 1.25rem;
    padding: 24px 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.decision-answer {
    padding: 24px 28px;
    text-align: right;
}

.decision-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tag-home-care {
    background: rgba(184, 147, 90, 0.1);
    color: var(--gold);
    border: 1px solid rgba(184, 147, 90, 0.2);
}

.tag-two-resident {
    background: var(--gradient-soft);
    color: var(--coral);
    border: 1px solid rgba(238, 95, 61, 0.15);
}

.decision-photo {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 100%;
    min-height: 480px;
}

.decision-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================================================
   16. TESTIMONIALS
   ========================================================================== */

.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-warm);
}

.testimonials__header,
.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials__header .section-subtext { margin: 0 auto; }

.testimonials__grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 36px;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.testimonial-card__stars,
.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
}

.testimonial-card__stars svg {
    width: 18px;
    height: 18px;
    fill: var(--gold);
}

.testimonial-stars span,
.testimonial-stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-card__quote,
.testimonial-quote,
.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__divider {
    width: 40px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    margin-bottom: 20px;
}

.testimonial-card__author,
.testimonial-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.testimonial-card__role,
.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.testimonial-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    border-radius: var(--radius) var(--radius) 0 0;
}

/* --- Testimonial with photo (comparison page) --- */
.testimonial-photo {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(253, 250, 247, 0.9) 100%);
}

.testimonial-body {
    padding: 28px;
}

/* --- Layout: photo + testimonials (home-care) --- */
.testimonials-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.testimonial-photo-col {
    position: sticky;
    top: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.testimonial-photo-col img {
    width: 100%;
    display: block;
    border-radius: var(--radius);
}


/* ==========================================================================
   17. PROCESS / STEPS
   ========================================================================== */

/* --- Homepage 3-step process --- */
.process {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.process__header {
    text-align: center;
    margin-bottom: 60px;
}

.process__header .section-subtext { margin: 0 auto; }

.process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.process__grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16.67%;
    right: 16.67%;
    height: 2px;
    background: var(--gradient);
    opacity: 0.15;
}

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

.process-step__number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    color: #fff;
    -webkit-text-fill-color: #fff;
    border: none;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(238, 95, 61, 0.25);
}

.process-step__title {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.process-step__desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   HOMES SHOWCASE (Homepage)
   ========================================================================== */
.homes-showcase {
    padding: 100px 0;
    background: #fff;
}

.homes-showcase__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.homes-showcase__photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.homes-showcase__photo {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.homes-showcase__photo:first-child {
    grid-column: 1 / -1;
}

.homes-showcase__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.homes-showcase__photo:first-child img {
    height: 280px;
}

.homes-showcase__photo:not(:first-child) img {
    height: 200px;
}

.homes-showcase__photo:hover img {
    transform: scale(1.03);
}

.homes-showcase__content {
    padding: 20px 0;
}

.homes-showcase__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
    padding: 32px;
    background: var(--bg-primary, #FDFAF7);
    border-radius: 16px;
}

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

.homes-showcase__stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.homes-showcase__stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* ==========================================================================
   VIDEO SECTION (Homepage)
   ========================================================================== */
.video-section {
    padding: 100px 0;
    background: var(--bg-primary, #FDFAF7);
}

.video-section__header {
    text-align: center;
    margin-bottom: 48px;
}

.video-section__embed {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
    position: relative;
    background: #1a1a2e;
}

.video-section__embed iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}

.video-section__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    gap: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-section__placeholder:hover {
    color: rgba(255, 255, 255, 0.9);
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(238, 95, 61, 0.3);
}

.video-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(238, 95, 61, 0.4);
}

.video-play-btn svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: 4px;
}

/* --- Home-care vertical process with photos --- */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.process-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.process-photos img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    display: block;
}

.process-photos img:first-child {
    grid-column: 1 / -1;
    height: 280px;
    object-fit: cover;
}

.process-photos img:not(:first-child) {
    height: 200px;
    object-fit: cover;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-steps .process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 36px;
    text-align: left;
}

.process-steps .process-step:last-child { padding-bottom: 0; }

.process-steps .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 31px;
    top: 68px;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.step-number {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--bg-warm);
    border: 2px solid var(--border-color);
    z-index: -1;
}

.process-steps .process-step h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
}

.process-steps .process-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Transition steps (comparison page) --- */
.transition-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
    max-width: 800px;
    margin: 40px auto 0;
}

.transition-step {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.transition-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.transition-step-icon {
    font-size: 2.25rem;
    margin-bottom: 12px;
    display: block;
}

.transition-step h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.transition-step p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.transition-arrow {
    font-size: 1.5rem;
    padding: 0 8px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ==========================================================================
   18. VIDEO SECTION (homepage)
   ========================================================================== */

.video-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.video-section__header {
    text-align: center;
    margin-bottom: 50px;
}

.video-section__header .section-subtext { margin: 0 auto; }

.video-section__embed {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg-warm);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.video-section__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.video-section__placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(42, 42, 60, 0.45);
}

.video-play-btn {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(238, 95, 61, 0.4);
    border: none;
}

.video-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(238, 95, 61, 0.5);
}

.video-play-btn svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: 4px;
}

.video-section__placeholder span {
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* YouTube custom overlay (click-to-play) */
.video-section__overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-section__overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-section__overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(42, 42, 60, 0.35);
    transition: background 0.3s ease;
}

.video-section__overlay:hover::after {
    background: rgba(42, 42, 60, 0.2);
}

.video-section__overlay .video-play-btn {
    position: absolute;
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-section__overlay:hover .video-play-btn {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(238, 95, 61, 0.5);
}

.video-section__overlay .video-play-label {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

/* --- Virtual tour (assisted-living) --- */
.tour-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.tour-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.tour-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(42, 42, 60, 0.85), rgba(42, 42, 60, 0.75));
}

.tour-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.tour-content h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.tour-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.tour-photos {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.tour-photos img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.tour-photos img:hover {
    border-color: #fff;
    transform: scale(1.05);
}


/* ==========================================================================
   19. FAQ ACCORDION
   ========================================================================== */

.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-warm);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header .section-subtitle { margin: 0 auto; }

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s var(--ease-smooth);
    margin-bottom: 14px;
}

.faq-item:hover {
    border-color: rgba(238, 95, 61, 0.2);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 16px;
    background: none;
    border: none;
    font-family: var(--font-body);
    text-align: left;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--coral); }

.faq-question h3,
.faq-question h4 {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

.faq-toggle,
.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--coral);
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.faq-item.open .faq-toggle,
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--gradient);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-smooth);
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer-inner,
.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* --- FAQ with photo sidebar (home-care) --- */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.faq-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 120px;
}

.faq-photo img {
    width: 100%;
    display: block;
    border-radius: var(--radius);
}


/* ==========================================================================
   20. CONTACT FORM
   ========================================================================== */

.contact-section {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow-hover);
}

.contact-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.contact-form-card {
    background: var(--bg-warm);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.contact-form-card h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.form-row,
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    background: var(--bg-white);
    color: var(--text-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(238, 95, 61, 0.08);
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 1px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 16px;
    margin-top: 8px;
}

.contact-info {
    display: flex;
    gap: 24px;
    margin-top: 28px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact detail items (home-care / comparison) */
.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-detail-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-detail-text strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

.contact-detail-text a {
    color: var(--coral);
    text-decoration: none;
}

.contact-detail-text a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   21. FINAL CTA
   ========================================================================== */

.final-cta {
    padding: var(--section-padding) 0;
    background: var(--bg-warm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(238, 95, 61, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(193, 39, 135, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta .container,
.final-cta-content {
    position: relative;
    z-index: 1;
}

.final-cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    z-index: 0;
}

.final-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.final-cta__heading,
.final-cta h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.2;
}

.final-cta__subtext,
.final-cta p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 16px;
    line-height: 1.7;
}

.final-cta__tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 40px;
}

.final-cta__phone {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 32px;
    transition: color 0.3s ease;
}

.final-cta__phone:hover {
    color: var(--coral);
}

.final-cta__buttons,
.final-cta .hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Home-care inner CTA variant */
.final-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 72px 48px;
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.final-cta-inner > * { position: relative; z-index: 1; }

.final-cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    z-index: 2;
}


/* ==========================================================================
   22. FOOTER
   ========================================================================== */

.footer {
    background: var(--bg-footer);
    padding: 72px 0 40px;
    color: rgba(255, 255, 255, 0.6);
}

/* Homepage footer */
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}

/* Inner-page footer */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* Footer branding */
.footer__brand p,
.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer__brand img,
.footer-logo img {
    height: 40px;
    filter: brightness(10);
}

/* Footer column headings */
.footer__heading,
.footer-col h4,
.footer-col h5 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer__heading { color: var(--gold); }
.footer-col h4,
.footer-col h5 { color: #fff; }

/* Footer links */
.footer__links li,
.footer-col li {
    margin-bottom: 12px;
}

.footer__links a,
.footer-col a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.3s ease;
    display: block;
}

.footer__links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-col a:hover {
    color: #fff;
}

/* Footer contact items */
.footer__contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.footer__contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--coral);
    fill: none;
    stroke-width: 1.8;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer__contact-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.footer__contact-item a {
    color: rgba(255, 255, 255, 0.55);
}

.footer__contact-item a:hover { color: #fff; }

/* Social links */
.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer__social a:hover {
    border-color: var(--coral);
    background: rgba(238, 95, 61, 0.1);
}

.footer__social svg {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.55);
    transition: fill 0.3s ease;
}

.footer__social a:hover svg { fill: var(--coral); }

/* Footer bottom bar */
.footer__bottom,
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__copy { font-size: 0.8rem; color: rgba(255, 255, 255, 0.3); }
.footer__legal { font-size: 0.8rem; color: rgba(255, 255, 255, 0.2); }


/* ==========================================================================
   23. SCROLL ANIMATIONS (.reveal)
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease),
                transform 0.8s var(--ease);
    pointer-events: none;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Directional variants (comparison page) */
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}


/* ==========================================================================
   24. KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 150%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

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


/* ==========================================================================
   25. RESPONSIVE — 1024px
   ========================================================================== */

@media (max-width: 1024px) {

    .difference__grid { gap: 48px; }
    .homes-showcase__grid,
    .homes-showcase__grid { gap: 40px; }
    .comparison__table { overflow-x: auto; }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }

    .overview-grid { grid-template-columns: 1fr; }

    .why-us-layout { grid-template-columns: 1fr; }
    .why-us-photo { position: static; max-width: 500px; margin: 0 auto 32px; }

    .services-top-row { grid-template-columns: 1fr; }

    .testimonials-layout { grid-template-columns: 1fr; }
    .testimonial-photo-col { position: static; max-width: 400px; margin: 0 auto 32px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

    .cross-sell-wrapper { grid-template-columns: 1fr; }
    .cross-sell-gallery { order: -1; }

    .process-grid { grid-template-columns: 1fr; }
    .process-photos { max-width: 600px; margin: 0 auto 32px; }

    .faq-layout { grid-template-columns: 1fr; }
    .faq-photo { position: static; max-width: 400px; margin: 0 auto 32px; }

    .comparison-grid { grid-template-columns: 1fr 1fr; }
    .table-section-layout { grid-template-columns: 1fr; }
    .table-side-photos { display: grid; grid-template-columns: 1fr 1fr 1fr; }
    .decision-layout { grid-template-columns: 1fr; }
    .decision-photo { min-height: 300px; }
    .photo-gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .homes-grid { grid-template-columns: repeat(2, 1fr); }

    .footer__grid,
    .footer-grid,
    .footer-top { grid-template-columns: 1fr 1fr; }
}


/* ==========================================================================
   26. RESPONSIVE — 768px
   ========================================================================== */

@media (max-width: 768px) {

    /* Navigation */
    .nav__links,
    .nav__cta,
    .nav-links { display: none; }

    .nav__hamburger,
    .hamburger,
    .mobile-menu-btn { display: flex; }

    /* Hero */
    .hero h1 { font-size: 2.2rem; }
    .hero { min-height: 70vh; }
    .hero-content { max-width: 100%; padding: 48px 5%; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero__heading { font-size: 2rem; }

    /* Hero background mobile horizontal position (Customizer-controlled) */
    .hero__bg {
        background-position: var(--hero-bg-mobile-x, center) center;
    }

    .hero-bg--light::after {
        background: linear-gradient(180deg,
            rgba(253, 250, 247, 0.93) 0%,
            rgba(253, 250, 247, 0.75) 60%,
            rgba(253, 250, 247, 0.5) 100%);
    }

    /* Two-column grids go single */
    .difference__grid,
    .why-grid,
    .pricing-grid,
    .contact-grid,
    .care-options__grid,
    .homes-showcase__grid { grid-template-columns: 1fr; }

    .difference__image { order: -1; }
    .difference__image img { height: 360px; }
    .why-image img { height: 320px; }

    /* Tabs */
    .tab-content { grid-template-columns: 1fr; }
    .tab-image { min-height: 280px; }
    .tab-info { padding: 32px 24px; }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .gallery-item.wide { grid-column: span 1; }
    .gallery-item.tall { grid-row: span 1; }
    .gallery__item { width: 280px; height: 210px; }
    .gallery-card { flex: 0 0 280px; }

    /* Testimonials */
    .testimonials__grid,
    .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

    /* FAQ */
    .faq-grid { grid-template-columns: 1fr; }

    /* Compare table */
    .compare-table { font-size: 0.85rem; }
    .comparison-table-wrapper { overflow-x: auto; }
    .comparison-table { min-width: 600px; }

    /* Tour */
    .tour-photos { flex-wrap: wrap; }
    .tour-photos img { width: 100px; height: 75px; }

    /* Services */
    .usp-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }

    /* Contact */
    .form-row,
    .form-grid { grid-template-columns: 1fr; }

    /* Comparison page */
    .comparison-grid { grid-template-columns: 1fr; }
    .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
    .deep-dive-grid { grid-template-columns: 1fr; gap: 32px; }
    .deep-dive-grid.reverse { direction: ltr; }
    .deep-dive-photo img { height: 300px; }
    .deep-dive-features { grid-template-columns: 1fr; }
    .decision-row { grid-template-columns: 1fr; text-align: center; }
    .transition-steps { grid-template-columns: 1fr; gap: 16px; }
    .transition-arrow { transform: rotate(90deg); text-align: center; }
    .photo-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-gallery-item.tall { grid-row: span 1; }
    .photo-gallery-item.wide { grid-column: span 1; }
    .homes-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .gallery-strip-item { flex: 0 0 200px; height: 140px; }
    .table-side-photos { grid-template-columns: 1fr 1fr; }
    .compare-card-thumbs { display: none; }
    .testimonial-photo { height: 140px; }

    /* Photo strip */
    .photo-strip { grid-template-columns: 1fr; max-height: 260px; }
    .photo-strip img:nth-child(2),
    .photo-strip img:nth-child(3) { display: none; }

    /* Process */
    .process-photos { grid-template-columns: 1fr; }
    .process-photos img:first-child { height: 220px; }
    .process-photos img:not(:first-child) { height: 180px; }

    /* Section padding */
    .section { padding: 72px 5%; }
    .final-cta-inner { padding: 48px 24px; }

    /* Footer */
    .footer__grid,
    .footer-grid,
    .footer-top { grid-template-columns: 1fr; }

    .footer__bottom,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}


/* ==========================================================================
   27. RESPONSIVE — 480px
   ========================================================================== */

@media (max-width: 480px) {

    .hero__ctas,
    .hero-buttons,
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero__ctas .btn,
    .btn { width: 100%; justify-content: center; }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .trust-bar .container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .trust-item:not(:last-child)::after { display: none; }

    .form-row,
    .form-grid { grid-template-columns: 1fr; }

    .contact-info { flex-direction: column; }
    .pricing-image img { height: 280px; }

    .announcement-bar {
        font-size: 0.78rem;
        padding: 8px 16px;
    }

    .homes-showcase__photos { grid-template-columns: 1fr; }
    .homes-showcase__photos .homes-showcase__photo:not(:first-child) img { height: 180px; }
    .homes-showcase__stats { grid-template-columns: 1fr; }

    .process__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .process__grid::before { display: none; }

    .comparison__row { grid-template-columns: 1fr; }
    .comparison__row--header { display: none; }

    .comparison__row {
        padding: 20px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        background: #fff;
        border-radius: 12px;
        margin-bottom: 12px;
        padding: 20px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    }

    .comparison__cell { padding: 6px 0; }

    .comparison__cell--label {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--text-muted);
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        margin-bottom: 4px;
        font-weight: 700;
    }

    .comparison__cell--eden {
        color: var(--coral);
        font-weight: 700;
        font-size: 0.95rem;
        background: rgba(238, 95, 61, 0.06);
        padding: 10px 14px;
        border-radius: 8px;
        margin: 4px 0;
    }

    .comparison__cell--eden::before { display: none; }

    .comparison__cell--facility {
        color: var(--text-muted);
        font-size: 0.85rem;
        padding: 6px 0 4px;
        text-decoration: line-through;
        opacity: 0.6;
    }

    .comparison__cell--facility::after {
        width: 14px;
        height: 14px;
    }

    .final-cta__buttons {
        flex-direction: column;
    }

    .final-cta__buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .gallery__item { width: 240px; height: 180px; }

    .homes-grid { grid-template-columns: 1fr; }
    .photo-gallery-grid { grid-template-columns: 1fr; }

    .cross-sell-stats { grid-template-columns: repeat(3, 1fr); }
    .cross-sell-gallery { grid-template-columns: 1fr 1fr; }
    .cross-sell-gallery img.cs-wide { grid-column: span 2; }
    .cross-sell-gallery img.cs-tall { grid-row: span 1; height: 160px; }

    /* Video section mobile */
    .video-section { padding: 64px 0; }
    .video-section__embed { border-radius: 12px; }
    .video-play-btn { width: 60px; height: 60px; }
    .video-play-btn svg { width: 22px; height: 22px; }

    /* Homes showcase mobile */
    .homes-showcase { padding: 64px 0; }
    .homes-showcase__photo:first-child img { height: 220px; }
    .homes-showcase__photo:not(:first-child) img { height: 160px; }
    .homes-showcase__stats { padding: 24px 16px; gap: 20px; }
    .homes-showcase__stat-number { font-size: 1.6rem; }

    /* Section headings mobile */
    .section-heading { font-size: 1.6rem; }
    .section-label { font-size: 0.7rem; }

    /* Nav mobile fix */
    .nav .container { padding: 0 16px; }
    .nav-logo img, .nav__logo img { max-width: 160px; }
}


/* ==========================================================================
   28. PRINT STYLES
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .nav,
    .nav__mobile,
    .mobile-menu,
    .announcement-bar,
    .top-bar,
    .hero__scroll,
    .lightbox,
    .gallery__track,
    .footer__social,
    .btn { display: none !important; }

    .hero {
        min-height: auto;
        page-break-after: always;
    }

    .hero__content,
    .hero-content {
        position: static;
        text-align: left;
    }

    img { max-width: 100% !important; }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
    }

    .footer { page-break-inside: avoid; }
}


/* ==========================================================================
   29. PAGE-SPECIFIC OVERRIDES
   ========================================================================== */

/* --- Homepage --- */
/* Hero background set via inline style in front-page.php (Customizer-controlled) */

/* --- Assisted Living --- */
/* Hero background set via inline style in page-assisted-living.php (Customizer-controlled) */

.page-assisted-living .hero-bg::after {
    background: linear-gradient(180deg,
        rgba(20, 20, 35, 0.55) 0%,
        rgba(20, 20, 35, 0.7) 100%);
}

/* --- Home Care --- */
.page-home-care .hero {
    min-height: 88vh;
}

.page-home-care .hero-bg::after {
    background: linear-gradient(135deg,
        rgba(253, 250, 247, 0.92) 0%,
        rgba(253, 250, 247, 0.7) 40%,
        rgba(253, 250, 247, 0.3) 70%,
        transparent 100%);
}

/* --- Comparison Page --- */
.page-comparison .hero {
    min-height: 680px;
}

.page-comparison .hero-overlay {
    background: linear-gradient(135deg,
        rgba(253, 250, 247, 0.88) 0%,
        rgba(251, 245, 240, 0.8) 50%,
        rgba(253, 250, 247, 0.6) 100%);
}
