#ai_footer {
            --brand-primary: #c9532f;
            --brand-dark: #71351f;
            --brand-light: #f8e4c5;
            --brand-accent: #b96b12;
            --brand-accent-light: #e7b45f;
            --brand-neutral: #66564a;
            background: #f7e8cf;
            color: var(--brand-dark);
            position: relative;
            overflow: hidden;
        }

        /* Elegant Decorative Pattern - Removed to fix background issues */

        #ai_footer::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(201, 83, 47, 0.4), transparent);
        }

        /* Main Footer Content */
        #ai_footer .footer-main {
            background: #f7e8cf;
            padding: 50px 0 40px;
            position: relative;
            z-index: 1;
        }

        #ai_footer .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 30px;
        }

        #ai_footer .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            margin-bottom: var(--space-2xl);
        }

        /* Centered Newsletter Row */
        #ai_footer .newsletter-row {
            display: flex;
            justify-content: center;
            margin-bottom: var(--space-2xl);
        }

        #ai_footer .newsletter-column {
            width: 100%;
            max-width: 640px;
        }

        /* Footer Brand Section */
        #ai_footer .footer-brand {
            padding-right: var(--space-xl);
        }

        #ai_footer .footer-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: var(--space-md);
        }

        #ai_footer .footer-logo img.spa-logo {
            height: 40px;
            width: auto;
            opacity: 1;
        }

        #ai_footer .footer-title {
            font-family: var(--font-heading);
            font-size: var(--text-2xl);
            color: var(--brand-accent);
            font-weight: 400;
        }

        #ai_footer .footer-description {
            color: var(--brand-neutral);
            line-height: 1.8;
            margin-bottom: var(--space-lg);
            font-size: var(--text-sm);
            max-width: 50%;
            text-align: left;
        }

        @media (max-width: 768px) {
            #ai_footer .footer-description {
                max-width: 100%;
            }
        }

        /* Social Media Icons */
        #ai_footer .social-links {
            display: flex;
            gap: 15px;
        }

        #ai_footer .social-link {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(231, 180, 95, 0.18);
            border: 1px solid var(--brand-accent);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--brand-accent);
            transition: all var(--transition-base);
        }

        #ai_footer .social-link:hover {
            background: var(--brand-accent);
            color: #ffffff;
            transform: translateY(-3px);
        }

        /* Footer Columns */
        #ai_footer .footer-column h3 {
            font-family: var(--font-heading);
            font-size: var(--text-lg);
            color: var(--brand-dark);
            margin-bottom: var(--space-md);
            font-weight: 500;
        }

        #ai_footer .site-secondary-navigation-1 {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        #ai_footer .footer-nav-item {
            margin-bottom: 12px;
        }

        #ai_footer .footer-nav-item a {
            color: var(--brand-neutral);
            font-size: var(--text-sm);
            transition: all var(--transition-base);
            display: inline-block;
            position: relative;
            padding-left: 0;
        }

        #ai_footer .footer-nav-item a::before {
            content: '→';
            position: absolute;
            left: -20px;
            opacity: 0;
            transition: all var(--transition-base);
        }

        #ai_footer .footer-nav-item a:hover {
            color: var(--brand-primary);
            padding-left: 20px;
        }

        #ai_footer .footer-nav-item a:hover::before {
            left: 0;
            opacity: 1;
        }

        /* Contact CTA — sits in the brand column under social links */
        #ai_footer .footer-cta-btn {
            display: inline-block;
            padding: 14px 36px;
            margin-top: var(--space-sm);
            background: var(--brand-primary);
            color: var(--text-inverse);
            font-size: var(--text-sm);
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            text-decoration: none;
            border-radius: 50px;
            border: 2px solid var(--brand-primary);
            transition: all var(--transition-base);
            box-shadow: 0 6px 18px rgba(113, 53, 31, 0.2);
        }

        #ai_footer .footer-cta-btn:hover {
            background: transparent;
            color: var(--brand-primary);
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(113, 53, 31, 0.25);
        }

        /* Newsletter Section */
        #ai_footer .newsletter-section {
            background: linear-gradient(135deg, #f8d9be 0%, #f6e3b9 100%);
            padding: var(--space-2xl) var(--space-xl);
            border-radius: var(--radius-lg);
            border: 2px solid var(--brand-accent);
            box-shadow: 0 12px 32px rgba(113, 53, 31, 0.14);
            text-align: center;
            position: relative;
        }

        #ai_footer .footer-column h3.newsletter-title {
            font-family: var(--font-heading);
            font-size: clamp(1.875rem, 3.5vw, 2.5rem);
            line-height: 1.2;
            color: var(--brand-primary);
            margin-bottom: var(--space-md);
            font-weight: 400;
        }

        #ai_footer .newsletter-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: var(--brand-accent);
            margin: var(--space-sm) auto 0;
            border-radius: 2px;
        }

        #ai_footer .newsletter-text {
            color: var(--brand-neutral);
            font-size: var(--text-base);
            margin-bottom: var(--space-lg);
            max-width: 480px;
            margin-left: auto;
            margin-right: auto;
        }

        #ai_footer .newsletter-form {
            display: flex;
            gap: 10px;
        }

        #ai_footer .newsletter-input {
            flex: 1;
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.72);
            border: 1px solid rgba(185, 107, 18, 0.42);
            border-radius: var(--radius-full);
            color: var(--brand-dark);
            font-size: var(--text-sm);
        }

        #ai_footer .newsletter-input::placeholder {
            color: var(--brand-neutral);
        }

        #ai_footer .newsletter-btn {
            padding: 12px 24px;
            background: var(--brand-accent);
            color: white;
            border: none;
            border-radius: var(--radius-full);
            font-weight: 600;
            font-size: var(--text-sm);
            cursor: pointer;
            transition: all var(--transition-base);
            box-shadow: 0 4px 12px rgba(113, 53, 31, 0.2);
        }

        #ai_footer .newsletter-btn:hover {
            background: var(--brand-primary);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(113, 53, 31, 0.3);
        }

        /* Newsletter Thank-You / Error Message
           Helper renders .faster-newsletter-success (hidden by default via
           its own injected <style>; shown when the form gets class .success).
           These rules just dress it up so it matches the footer brand. */
        #ai_footer .faster-newsletter-form.success .faster-newsletter-success {
            background: rgba(212, 175, 55, 0.15);
            border: 1px solid rgba(212, 175, 55, 0.4);
            border-radius: var(--radius-md, 10px);
            padding: 18px 22px;
            margin-top: var(--space-md);
            text-align: center;
            color: var(--brand-primary);
            font-size: var(--text-sm);
            line-height: 1.5;
            animation: ty-fade-in 0.5s ease-out;
        }

        #ai_footer .faster-newsletter-form.error .faster-newsletter-error {
            background: rgba(192, 80, 80, 0.12);
            border: 1px solid rgba(192, 80, 80, 0.35);
            border-radius: var(--radius-md, 10px);
            padding: 12px 16px;
            margin-top: var(--space-md);
            color: #8a2b2b;
            font-size: var(--text-sm);
            text-align: center;
            display: block;
        }

        @keyframes ty-fade-in {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Awards Section */
        #ai_footer .awards-section {
            margin: 0;
            padding: var(--space-lg) 0;
            border-top: 1px solid rgba(212, 175, 55, 0.2);
        }

        #ai_footer .awards-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: var(--space-2xl);
            flex-wrap: wrap;
        }

        #ai_footer .award-item {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--brand-neutral);
            font-size: var(--text-sm);
        }

        #ai_footer .award-item i {
            color: var(--brand-accent);
            font-size: var(--text-xl);
        }

        /* Spa Tour Action Bar — hidden site-wide (markup retained for future use) */
        #ai_footer .contact-bar {
            display: none;
            background: var(--brand-dark);
            padding: 30px 0;
            border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        }

        #ai_footer .spa-tour-section {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 30px;
            text-align: center;
        }

        #ai_footer .spa-tour-heading {
            font-family: var(--font-heading);
            font-size: var(--text-lg);
            color: #ffffff;
            font-weight: 600;
            letter-spacing: 0.15em;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        #ai_footer .spa-tour-actions {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        #ai_footer .spa-actions-secondary {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        #ai_footer .spa-action-btn {
            padding: 12px 28px;
            background: transparent;
            color: var(--brand-light);
            border: 1px solid rgba(212, 175, 55, 0.4);
            border-radius: 4px;
            font-size: var(--text-sm);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        #ai_footer .spa-action-btn:hover {
            background: var(--brand-accent);
            color: var(--brand-dark);
            border-color: var(--brand-accent);
            transform: translateY(-2px);
        }

        #ai_footer .spa-action-primary {
            background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-light) 100%);
            color: var(--brand-dark);
            border: none;
            font-weight: 600;
            padding: 16px 36px;
            border-radius: 50px;
            box-shadow: 0 8px 24px rgba(113, 53, 31, 0.24);
        }

        #ai_footer .spa-action-primary .arrow {
            display: inline-block;
            margin-left: 8px;
            transition: transform 0.3s ease;
        }

        #ai_footer .spa-action-primary:hover {
            background: linear-gradient(135deg, var(--brand-accent-light) 0%, var(--brand-accent) 100%);
            transform: translateY(-3px);
            box-shadow: 0 12px 28px rgba(113, 53, 31, 0.32);
        }

        #ai_footer .spa-action-primary:hover .arrow {
            transform: translateX(4px);
        }

        /* Bottom Bar */
        #ai_footer .footer-bottom {
            background: #f3d9b7;
            padding: var(--space-lg) 0 var(--space-md);
            text-align: center;
            border-top: 1px solid rgba(201, 83, 47, 0.22);
        }

        #ai_footer .footer-bottom .footer-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 14px;
        }

        #ai_footer .footer-bottom-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 0;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        #ai_footer .footer-bottom-links a {
            color: var(--brand-neutral);
            font-size: var(--text-xs);
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            text-decoration: none;
            padding: 4px 18px;
            transition: color var(--transition-base);
            position: relative;
        }

        #ai_footer .footer-bottom-links a + a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 12px;
            background: rgba(113, 53, 31, 0.25);
        }

        #ai_footer .footer-bottom-links a:hover {
            color: var(--brand-accent);
        }

        #ai_footer .copyright {
            font-size: var(--text-sm);
            color: var(--brand-neutral);
            margin: 0;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            #ai_footer .footer-brand {
                padding-right: 0;
            }
        }

        @media (max-width: 768px) {
            #ai_footer .footer-grid {
                grid-template-columns: 1fr;
            }

            /* Center brand column content on mobile */
            #ai_footer .footer-brand {
                text-align: center;
            }

            #ai_footer .footer-logo {
                justify-content: center;
            }

            #ai_footer .footer-description {
                text-align: center;
            }

            #ai_footer .social-links {
                justify-content: center;
            }

            #ai_footer .footer-brand > div:last-child {
                text-align: center;
            }

            #ai_footer .spa-tour-section {
                padding: 0 20px;
            }

            #ai_footer .spa-tour-heading {
                font-size: var(--text-md);
                margin-bottom: 15px;
            }

            #ai_footer .spa-tour-actions {
                flex-direction: column;
                gap: 15px;
            }

            #ai_footer .spa-actions-secondary {
                flex-direction: column;
                gap: 12px;
                width: 100%;
            }

            #ai_footer .spa-action-btn {
                width: 100%;
                max-width: 300px;
            }

            #ai_footer .spa-action-primary {
                width: 100%;
                max-width: 350px;
                border-radius: 50px;
            }

            #ai_footer .awards-container {
                flex-direction: column;
                align-items: flex-start;
                padding: 0 20px;
                gap: 20px;
            }

            #ai_footer .award-item {
                width: 100%;
                justify-content: flex-start;
            }

            #ai_footer .newsletter-form {
                flex-direction: column;
            }

            #ai_footer .footer-bottom-links {
                flex-direction: column;
                gap: 10px;
            }

            #ai_footer .footer-bottom-links a + a::before {
                display: none;
            }

            #ai_footer .footer-bottom-links a {
                padding: 4px 0;
            }
        }

        /* Small phones — tighten typography and spacing */
        @media (max-width: 480px) {
            #ai_footer .footer-grid {
                gap: var(--space-lg);
            }

            #ai_footer .spa-tour-heading {
                font-size: 0.95rem;
                letter-spacing: 1px;
            }

            #ai_footer .spa-action-btn,
            #ai_footer .spa-action-primary {
                font-size: 0.85rem;
                padding: 12px 18px;
            }

            #ai_footer .footer-brand-name,
            #ai_footer .footer-column-title {
                font-size: 1rem;
            }

            #ai_footer .footer-column a,
            #ai_footer .footer-brand-description {
                font-size: 0.9rem;
            }

            #ai_footer .award-item img {
                max-width: 80px;
                height: auto;
            }

            #ai_footer .footer-bottom-content {
                font-size: 0.8rem;
                text-align: center;
            }
        }
