/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8; /* Increased for better senior readability */
    color: #1d1d1f;
    background: #fff;
    overflow-x: hidden;
    font-size: 18px; /* Larger base font for senior readability */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    /* Prevent text size adjustment on iOS */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Skip to content link for keyboard accessibility */
.skip-link {
    position: absolute;
    top: -100px; /* Move further up to ensure it's completely hidden */
    left: 0;
    background: #C9A55E;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10001;
    border-radius: 0 0 8px 0;
    transition: top 0.3s;
    opacity: 0; /* Make it invisible when not focused */
    pointer-events: none; /* Prevent any interaction when hidden */
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #1d1d1f;
    outline-offset: 3px;
    opacity: 1; /* Make it visible when focused */
    pointer-events: auto; /* Re-enable interaction when focused */
}

/* iOS Safari specific optimizations */
@supports (-webkit-touch-callout: none) {
    body {
        /* iOS Safari smooth scrolling */
        -webkit-overflow-scrolling: touch;
    }
}

/* Performance Optimizations */
img {
    content-visibility: auto;
    /* Prevent layout shift */
    height: auto;
    max-width: 100%;
    /* Lazy loading optimization */
    loading: lazy;
    /* Decode images async for better performance */
    decoding: async;
}

/* Reduce motion for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Scroll Animation Base Styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile performance - simpler animations */
@media (max-width: 768px) {
    .scroll-animate,
    .scroll-animate-left,
    .scroll-animate-right {
        transition-duration: 0.4s;
    }

    .hero::before,
    .hero::after {
        display: none; /* Completely hide decorative circles on mobile */
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* Optimize navbar on mobile */
@media (max-width: 768px) {
    .navbar {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* iOS Safari specific fix for logo flickering */
    .logo {
        -webkit-perspective: 1000;
        perspective: 1000;
        image-rendering: -webkit-optimize-contrast;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    margin-right: 0;
}

.logo {
    max-height: 3rem;
    width: auto;
    height: auto;
    border-radius: 22%;
    /* Prevent logo flicker on mobile */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-font-smoothing: subpixel-antialiased;
}

.brand-name {
    font-size: 18px;
    font-weight: 600;
    color: #C9A55E;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu a {
    text-decoration: none;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #C9A55E;
}

.cta-button {
    background: #C9A55E;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    margin-left: 0;
    min-height: 48px; /* Larger touch target for seniors - WCAG AAA compliant */
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Better tap target for seniors */
    -webkit-tap-highlight-color: rgba(201, 165, 94, 0.3);
    position: relative;
}

.cta-button:hover {
    background: #B89440;
    transform: scale(1.05);
}

/* Keyboard focus for accessibility - important for seniors */
.cta-button:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid #C9A55E;
    outline-offset: 3px;
}

/* Remove default outline but keep for keyboard users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Phone CTA Button - Prominent for seniors */
.phone-cta {
    transition: all 0.3s ease;
}

.phone-cta:hover {
    background: #45a049 !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.phone-number {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE8B3 50%, #FFEAC5 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Decorative circles */
.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 165, 94, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 165, 94, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 220px;
    max-width: 90%;
    height: auto;
    margin-bottom: 24px;
    border-radius: 22%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    /* Prevent logo flicker on mobile */
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.hero-logo:hover {
    transform: scale(1.02);
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1d1d1f;
    margin-bottom: 16px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-title-main {
    font-size: 56px;
    font-weight: 700;
    display: block;
    letter-spacing: -0.015em;
}

.hero-title-location {
    font-size: 56px;
    font-weight: 700;
    display: block;
    color: #C9A55E;
    letter-spacing: -0.015em;
}

.hero-subtitle {
    font-size: 24px;
    color: #1d1d1f;
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.hero-service-area {
    font-size: 19px;
    color: #666;
    margin-bottom: 36px;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #C9A55E 0%, #B89440 100%);
    color: white;
    padding: 18px 52px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(201, 165, 94, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(201, 165, 94, 0.4);
}

/* Section Styles */
section {
    padding: 100px 20px;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 52px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #C9A55E, #B89440);
    border-radius: 2px;
}

/* Services Overview */
.services-overview {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    border-top: 4px solid #C9A55E;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 165, 94, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(201, 165, 94, 0.2);
}

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

.service-icon {
    font-size: 64px;
    margin-bottom: 24px;
    display: inline-block;
    padding: 20px;
    background: linear-gradient(135deg, rgba(201, 165, 94, 0.1), rgba(201, 165, 94, 0.05));
    border-radius: 20px;
    position: relative;
    z-index: 1;
    color: #C9A55E;
}

.service-icon i {
    display: block;
}

.service-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.secondary-cta {
    display: inline-block;
    color: #C9A55E;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid #C9A55E;
    padding: 12px 36px;
    border-radius: 24px;
    transition: all 0.3s;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.secondary-cta:hover {
    background: #C9A55E;
    color: white;
}

/* Why Choose Us */
.why-choose {
    background: #F5F5F7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 32px 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 165, 94, 0.1);
}

.feature:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    margin-bottom: 12px;
    color: #1d1d1f;
    font-weight: 700;
    white-space: nowrap;
}

.feature h3 i {
    color: #C9A55E;
    margin-right: 8px;
}

.feature p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Process */
.process {
    background: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #C9A55E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.step p {
    font-size: 16px;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #C9A55E 0%, #B89440 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .hero-cta {
    background: white;
    color: #C9A55E;
}

.cta-section .hero-cta:hover {
    background: #f5f5f5;
    color: #B89440;
}

/* Footer */
.footer {
    background: #1d1d1f;
    color: #f5f5f7;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-height: 5rem;
    width: auto;
    height: auto;
    margin-bottom: 16px;
    border-radius: 22%;
    /* Prevent logo flicker on mobile */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #C9A55E;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #f5f5f7;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-section p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1d1d1f;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active {
    transform: rotate(90deg);
}

/* Sticky Mobile Call Button - Apple Style */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white; /* Solid background to prevent content showing through */
    backdrop-filter: none; /* Remove blur to prevent transparency */
    -webkit-backdrop-filter: none;
    padding: 12px 16px; /* Remove extra bottom padding */
    padding-bottom: calc(12px + env(safe-area-inset-bottom)); /* Respect iOS safe area */
    box-shadow: none;
    z-index: 10000; /* Higher than everything else */
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    animation: slideUpBottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-sticky-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.2s ease;
    min-height: 56px;
    box-shadow: none;
}

.mobile-sticky-cta a:active {
    transform: scale(0.98);
    box-shadow: none;
}

.mobile-sticky-cta i {
    font-size: 20px;
}

@media (max-width: 968px) {
    .mobile-sticky-cta {
        display: block;
    }
}

/* Medium screens - adjust gap */
@media (max-width: 1200px) {
    .nav-container {
        padding: 20px 30px;
        gap: 20px;
    }

    .logo-link {
        margin-right: 0;
    }

    .cta-button {
        margin-left: 0;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-container {
        padding: 12px 16px;
        justify-content: space-between;
        gap: 12px;
        position: relative;
    }

    .logo-link {
        margin: 0;
        flex: 0 0 auto;
        order: 1; /* Keep logo on left */
    }

    /* Container for CTA buttons on mobile - positions them together on right */
    .nav-container > div {
        display: flex !important;
        gap: 8px;
        align-items: center;
        order: 2; /* Position button group on right */
        flex-direction: row-reverse; /* Hamburger on far right, Book Now to its left */
    }

    /* Hide phone call button completely on mobile */
    .phone-cta {
        display: none !important;
    }

    /* Mobile CTA buttons - larger and next to hamburger */
    .cta-button {
        padding: 10px 24px !important;
        font-size: 15px !important;
        min-height: 46px !important;
        white-space: nowrap;
    }

    .cta-button i {
        font-size: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        right: 0;
        min-width: 44px;
        min-height: 44px;
        flex-shrink: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 280px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 24px;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto; /* Allow scrolling if content overflows */
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        align-items: center;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        font-size: 18px;
        font-weight: 500;
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
    }

    /* Overlay for mobile menu */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height */
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        position: fixed;
        width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        padding-bottom: 80px; /* Space for sticky bottom button */
        font-size: 19px; /* Even larger font on mobile for senior readability */
    }

    /* Remove all shadows on mobile */
    .service-card,
    .service-card:hover,
    .feature,
    .feature:hover,
    .hero-logo,
    .hero-cta,
    .hero-cta:hover,
    .phone-cta:hover,
    .popup-content,
    .popup-submit:hover,
    .testimonial-card,
    .testimonial-card:hover {
        box-shadow: none !important;
    }

    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 12px 16px;
        justify-content: space-between;
        position: relative;
        gap: 12px;
    }

    .logo-link {
        margin: 0;
        flex: 0 0 auto;
        order: 1; /* Keep logo on left */
    }

    /* Container for CTA buttons on mobile */
    .nav-container > div {
        display: flex !important;
        gap: 8px;
        align-items: center;
        order: 2;
        flex-direction: row-reverse; /* Hamburger on far right, Book Now to its left */
    }

    .mobile-menu-toggle {
        position: relative;
        right: 0;
        min-width: 44px;
        min-height: 44px;
    }

    /* Ensure logo border-radius is consistent on mobile */
    .logo {
        max-height: 2.5rem;
        border-radius: 22%;
    }

    .footer-logo {
        max-height: 4rem;
        border-radius: 22%;
    }

    .brand-name {
        font-size: 15px;
        letter-spacing: 0.3px;
    }

    .hero {
        min-height: auto;
        padding: 120px 20px 60px;
    }

    .hero-logo {
        width: 140px;
        margin-bottom: 24px;
    }

    .hero-title-main,
    .hero-title-location {
        font-size: 36px;
        line-height: 1.1;
        letter-spacing: -0.02em;
    }

    .hero-title {
        margin-bottom: 16px;
        gap: 6px;
    }

    .hero-subtitle {
        font-size: 21px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .hero-service-area {
        font-size: 17px;
        margin-bottom: 32px;
        line-height: 1.5;
    }

    .hero-cta {
        padding: 16px 44px;
        font-size: 17px;
        min-height: 54px;
        border-radius: 27px;
    }

    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 34px;
        margin-bottom: 44px;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .services-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card {
        padding: 36px 28px;
        border-radius: 18px;
    }

    .service-icon {
        font-size: 56px;
        padding: 18px;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .service-card p {
        font-size: 16px;
        line-height: 1.6;
    }

    .secondary-cta {
        min-height: 52px;
        font-size: 17px;
        padding: 14px 40px;
        margin-top: 20px;
    }

    .feature {
        padding: 28px 24px;
    }

    .feature h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .feature p {
        font-size: 16px;
        line-height: 1.6;
    }

    .cta-section h2 {
        font-size: 34px;
        line-height: 1.2;
    }

    .cta-section p {
        font-size: 19px;
        line-height: 1.4;
        margin-bottom: 28px;
    }

    .cta-section .hero-cta {
        min-height: 54px;
        font-size: 17px;
    }

    .footer {
        padding: 50px 20px 28px;
        margin-bottom: 0;
    }

    .footer-content {
        gap: 32px;
    }
}

/* Additional iPhone/Small Mobile optimizations */
@media (max-width: 480px) {
    body {
        padding-bottom: 76px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 10px 14px;
    }

    .logo {
        max-height: 2.2rem;
    }

    .brand-name {
        font-size: 14px;
    }

    /* Extra small mobile - keep buttons visible and accessible */
    .cta-button {
        padding: 9px 20px !important;
        font-size: 14px !important;
        gap: 4px !important;
    }

    /* Tighter gap on very small screens */
    .nav-container > div {
        gap: 6px !important;
    }

    .hero {
        padding: 110px 16px 50px;
    }

    .hero-logo {
        width: 120px;
        margin-bottom: 20px;
    }

    .hero-title-main,
    .hero-title-location {
        font-size: 32px;
        line-height: 1.12;
    }

    .hero-subtitle {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .hero-service-area {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .hero-cta {
        padding: 15px 38px;
        font-size: 16px;
        min-height: 52px;
    }

    section {
        padding: 50px 16px;
    }

    .section-title {
        font-size: 30px;
        margin-bottom: 36px;
    }

    .service-card {
        padding: 30px 22px;
    }

    .service-icon {
        font-size: 52px;
        padding: 16px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .service-card p {
        font-size: 15px;
    }

    .secondary-cta {
        font-size: 16px;
        padding: 12px 34px;
        min-height: 50px;
    }

    .feature {
        padding: 24px 20px;
    }

    .feature h3 {
        font-size: 20px;
    }

    .feature p {
        font-size: 15px;
    }

    .cta-section h2 {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .cta-section p {
        font-size: 17px;
        margin-bottom: 24px;
    }

    .mobile-sticky-cta {
        padding: 10px 14px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .mobile-sticky-cta a {
        min-height: 52px;
        font-size: 16px;
        padding: 14px 20px;
    }
}

/* Email Popup Modal */
.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-modal.show {
    display: flex;
}

.popup-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 5px 10px;
    transition: color 0.3s;
}

.popup-close:hover {
    color: #333;
}

.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
    line-height: 1.2;
}

.popup-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popup-form input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.popup-form input[type="email"]:focus {
    border-color: #C9A55E;
    box-shadow: 0 0 0 4px rgba(201, 165, 94, 0.1);
}

.popup-submit {
    width: 100%;
    padding: 16px 20px;
    background: #C9A55E;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.popup-submit:hover {
    background: #B89440;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 165, 94, 0.3);
}

.popup-submit:active {
    transform: translateY(0);
}

.popup-disclaimer {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

/* Success message styling */
.popup-success {
    text-align: center;
    padding: 20px;
}

.popup-success h3 {
    font-size: 28px;
    color: #4CAF50;
    margin-bottom: 12px;
}

.popup-success p {
    font-size: 16px;
    color: #666;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive popup */
@media (max-width: 768px) {
    .popup-content {
        padding: 30px 20px;
        max-width: 95%;
    }

    .popup-header h2 {
        font-size: 24px;
    }

    .popup-header p {
        font-size: 14px;
    }

    .popup-form input[type="email"] {
        padding: 14px 18px;
        font-size: 14px;
    }

    .popup-submit {
        padding: 14px 18px;
        font-size: 16px;
    }
}

/* ========================================
   SENIOR-FRIENDLY ENHANCEMENTS
   ======================================== */

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        color: #000;
    }

    .cta-button,
    .hero-cta {
        background: #B89440;
        border: 2px solid #000;
    }

    .nav-menu a {
        color: #000;
    }
}

/* Increase click/tap area for all interactive elements */
a, button, input[type="radio"], input[type="checkbox"], select {
    min-height: 44px; /* WCAG AAA touch target */
    display: inline-flex;
    align-items: center;
}

/* Remove underlines from all links */
a {
    text-decoration: none;
}

/* Improve form input visibility */
input, textarea, select {
    font-size: 18px !important; /* Larger text in forms */
    line-height: 1.6;
}

/* Better hover states for touch devices */
@media (hover: none) {
    .cta-button:active,
    .hero-cta:active,
    .phone-cta:active {
        transform: scale(0.97);
        transition: transform 0.1s;
    }
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFBF0 100%);
    padding: 100px 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid #C9A55E;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-rating {
    color: #C9A55E;
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C9A55E 0%, #B89440 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.author-info h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: #999;
}

/* Mobile Responsiveness for New Elements */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    /* Hide non-essential elements */
    .navbar,
    .mobile-menu-toggle,
    .mobile-menu-overlay,
    .mobile-sticky-cta,
    .popup-modal,
    .hero-cta,
    .cta-button,
    .secondary-cta,
    .phone-cta,
    .skip-link {
        display: none !important;
    }

    /* Optimize for print */
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    /* Remove shadows and gradients for print */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* Ensure links are visible */
    a {
        color: #000;
        text-decoration: underline;
    }

    /* Print URLs after links */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 90%;
    }

    /* Don't print URLs for internal links */
    a[href^="#"]:after,
    a[href^="tel:"]:after,
    a[href^="mailto:"]:after {
        content: "";
    }

    /* Page breaks */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    img, table, figure {
        page-break-inside: avoid;
    }

    /* Expand collapsed content */
    details {
        display: block;
    }

    summary {
        display: list-item;
    }

    /* Ensure form fields are visible */
    input, textarea, select {
        border: 1px solid #000 !important;
    }
}
