/* ==========================================================================
   ALMA DOULACO — MASTER LUXURY DESIGN SYSTEM & PRODUCTION STYLESHEET
   Unified styling for all 9 pages: seamless PJAX transitions & gapless ambient audio
   ========================================================================== */

/* CSS VARIABLES */
        :root {
            --primary: #2C5346;
            --primary-dark: #1B3B30;
            --primary-light: #EBF3EE;
            --secondary: #BD6E4A;
            --accent: #CFA365;
            --background: #FAF8F5;
            --surface: #FFFFFF;
            --text: #182520;
            --text-secondary: #586B62;
            --border: #DFEAE3;
            --dark: #111F18;
            --dark-surface: #1A2C23;
            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --radius-full: 9999px;
            --shadow-sm: 0 2px 8px rgba(24, 37, 32, 0.04);
            --shadow-md: 0 8px 24px rgba(24, 37, 32, 0.06);
            --shadow-lg: 0 16px 48px rgba(24, 37, 32, 0.08);
            --shadow-xl: 0 24px 64px rgba(24, 37, 32, 0.1);
            --ease: cubic-bezier(0.16, 1, 0.3, 1);
            --transition-fast: 0.2s var(--ease);
            --transition-base: 0.35s var(--ease);
            --transition-slow: 0.6s var(--ease);
            --font-serif: 'Playfair Display', Georgia, serif;
            --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-accent: 'Cormorant Garamond', Georgia, serif;
        }

        /* RESET & BASE */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: var(--font-sans);
            color: var(--text);
            background-color: var(--background);
            line-height: 1.68;
            font-size: 1.0625rem;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
            letter-spacing: -0.01em;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: var(--font-serif);
            font-weight: 400;
            line-height: 1.18;
            color: var(--text);
            margin-bottom: 1.15rem;
            letter-spacing: -0.02em;
        }

        h1 {
            font-size: clamp(2.6rem, 5.5vw, 4.4rem);
        }

        h2 {
            font-size: clamp(2.1rem, 4vw, 3.1rem);
        }

        h3 {
            font-size: clamp(1.4rem, 2.5vw, 1.85rem);
            font-weight: 500;
        }

        h4 {
            font-size: 1.25rem;
            font-weight: 600;
            font-family: var(--font-sans);
            letter-spacing: -0.01em;
        }

        p {
            margin-bottom: 1.5rem;
            color: var(--text-secondary);
            font-weight: 350;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul,
        ol {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button {
            font-family: inherit;
            cursor: pointer;
            border: none;
            background: none;
        }

        /* ACCESSIBILITY FOCUS & SKIP LINK (WCAG 2.1 AA - Principle 13) */
        :focus-visible {
            outline: 2.5px solid var(--primary) !important;
            outline-offset: 3px !important;
        }

        .skip-to-content {
            position: absolute;
            top: -120px;
            left: 1.5rem;
            background: var(--dark);
            color: #FFFFFF !important;
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius-md);
            z-index: 10000;
            font-family: var(--font-sans);
            font-size: 0.9rem;
            font-weight: 600;
            text-decoration: none;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            transition: top 0.25s var(--ease);
        }

        .skip-to-content:focus {
            top: 1.5rem;
            outline: 2.5px solid var(--secondary) !important;
            outline-offset: 3px !important;
        }

        /* UTILITIES */
        .container {
            width: 100%;
            padding-right: 1.5rem;
            padding-left: 1.5rem;
            margin-right: auto;
            margin-left: auto;
        }

        @media (min-width: 640px) {
            .container {
                max-width: 640px;
            }
        }

        @media (min-width: 768px) {
            .container {
                max-width: 768px;
                padding-right: 2.25rem;
                padding-left: 2.25rem;
            }
        }

        @media (min-width: 1024px) {
            .container {
                max-width: 1024px;
                padding-right: 3.5rem;
                padding-left: 3.5rem;
            }
        }

        @media (min-width: 1280px) {
            .container {
                max-width: 1280px;
            }
        }

        .section {
            padding: 5.5rem 0;
        }

        @media (min-width: 768px) {
            .section {
                padding: 8.5rem 0;
            }
        }

        .eyebrow {
            font-family: var(--font-sans);
            font-size: 0.8125rem;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 0.85rem;
            display: inline-block;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3.5rem;
            max-width: 660px;
            margin-left: auto;
            margin-right: auto;
        }

        @media (min-width: 768px) {
            .section-header {
                margin-bottom: 5.5rem;
            }
        }

        .section-header h2 {
            font-size: clamp(2.2rem, 4.2vw, 3.25rem);
            line-height: 1.15;
        }

        .section-header p {
            font-size: 1.1rem;
            line-height: 1.65;
            color: var(--text-secondary);
            margin-top: 0.85rem;
            font-weight: 350;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1.05rem 2.25rem;
            border-radius: var(--radius-full);
            font-family: var(--font-sans);
            font-weight: 600;
            font-size: 0.9375rem;
            letter-spacing: 0.04em;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            text-align: center;
            position: relative;
            cursor: pointer;
            user-select: none;
            overflow: hidden;
        }

        /* HOVER.CSS / ACETERNITY BUTTON DIRECTIONAL SHEEN SWEEP */
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -130%;
            width: 75%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.28),
                transparent
            );
            transform: skewX(-25deg);
            pointer-events: none;
            z-index: 1;
            transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .btn:hover::before {
            left: 150%;
        }

        .btn > * {
            position: relative;
            z-index: 2;
        }

        .btn-primary {
            background: linear-gradient(145deg, #376555, var(--primary));
            color: #FFFFFF;
            border: 1px solid rgba(255, 255, 255, 0.25);
            box-shadow: 0 4px 14px rgba(44, 83, 70, 0.28), 0 1px 3px rgba(0, 0, 0, 0.08);
        }

        .btn-primary:hover {
            background: linear-gradient(145deg, var(--primary), var(--primary-dark));
            transform: translateY(-3px) scale(1.015);
            box-shadow: 0 12px 28px rgba(44, 83, 70, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12);
            color: #FFFFFF;
        }

        .btn-primary:active {
            transform: translateY(-1px) scale(0.99);
            box-shadow: 0 6px 16px rgba(44, 83, 70, 0.3);
        }

        .btn-outline {
            background-color: rgba(255, 255, 255, 0.6);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            color: var(--text);
            border: 1px solid rgba(189, 110, 74, 0.45);
            box-shadow: 0 2px 8px rgba(24, 37, 32, 0.03);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--primary-dark);
            background-color: var(--primary-light);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(44, 83, 70, 0.14);
        }

        .bg-dark {
            background-color: var(--dark);
            color: white;
        }

        .bg-dark h1,
        .bg-dark h2,
        .bg-dark h3,
        .bg-dark h4,
        .bg-dark h5,
        .bg-dark h6 {
            color: white;
        }

        .bg-dark p {
            color: rgba(255, 255, 255, 0.7);
        }

        /* SCROLL PROGRESS BAR */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            width: 0%;
            z-index: 1005;
            transition: width 0.1s ease-out;
        }

        /* HEADER */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 1.5rem 0;
            transition: all var(--transition-base);
        }

        .header.scrolled {
            padding: 1rem 0;
            background-color: rgba(253, 251, 249, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: var(--shadow-sm);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.25rem;
            color: var(--text);
        }

        .logo-serif {
            font-family: var(--font-serif);
            font-weight: 500;
            font-style: italic;
            color: var(--primary);
            font-size: 1.42rem;
            letter-spacing: -0.02em;
        }

        .logo-sans {
            font-family: var(--font-sans);
            font-weight: 700;
            color: var(--secondary);
            font-size: 0.96rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-left: 0.18rem;
        }

        .nav-desktop {
            display: none;
        }

        @media (min-width: 1024px) {
            .nav-desktop {
                display: flex;
                align-items: center;
                gap: 2rem;
            }

            .nav-desktop a {
                font-family: var(--font-sans);
                font-size: 0.9375rem;
                font-weight: 500;
                color: var(--text-secondary);
                transition: color var(--transition-fast);
                position: relative;
            }

            .nav-desktop a:hover {
                color: var(--primary);
            }

            .nav-desktop a::after {
                content: '';
                position: absolute;
                bottom: -4px;
                left: 0;
                width: 0;
                height: 1px;
                background-color: var(--primary);
                transition: width var(--transition-fast);
            }

            .nav-desktop a:hover::after {
                width: 100%;
            }
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .header-actions .btn {
            display: none;
        }

        @media (min-width: 1024px) {
            .header-actions {
                gap: 1rem;
            }

            .header-actions .btn {
                display: inline-flex;
            }
        }

        /* Permanently hide Client Portal action button when on portal page */
        .page-portal .btn-portal,
        .page-portal .header-actions a[href*="portal"],
        body:has(#portal-container) .btn-portal,
        body:has(#portal-container) .header-actions a[href*="portal"],
        body:has(.portal-container) .btn-portal,
        body:has(.portal-container) .header-actions a[href*="portal"],
        body:has(#doc1) .btn-portal,
        body:has(#doc1) .header-actions a[href*="portal"] {
            display: none !important;
        }

        .hamburger {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 5px;
            width: 44px;
            height: 44px;
            background: rgba(44, 83, 70, 0.08);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            cursor: pointer;
            padding: 0;
            z-index: 1001;
            position: relative;
            transition: all var(--transition-fast);
        }

        @media (min-width: 1024px) {
            .hamburger {
                display: none;
            }
        }

        .hamburger:hover,
        .hamburger:active {
            background: rgba(44, 83, 70, 0.16);
        }

        .hamburger {
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }
        .hamburger span {
            pointer-events: none;
            width: 22px;
            height: 2px;
            background: var(--text);
            border-radius: 2px;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
            transform-origin: center;
            display: block;
        }

        .hamburger.open,
        .hamburger.active {
            background: var(--primary);
            border-color: var(--primary);
        }

        .hamburger.open span,
        .hamburger.active span {
            background: #FFFFFF;
        }

        .hamburger.open span:nth-child(1),
        .hamburger.active span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .hamburger.open span:nth-child(2),
        .hamburger.active span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }

        .hamburger.open span:nth-child(3),
        .hamburger.active span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* MOBILE DRAWER & BACKDROP */
        .drawer-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(28, 24, 22, 0.5);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 2000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s ease;
        }

        .drawer-backdrop.open,
        .drawer-backdrop.active {
            opacity: 1;
            pointer-events: auto;
        }

        .mobile-drawer {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            max-width: 380px;
            height: 100vh;
            background-color: var(--surface);
            z-index: 2050;
            padding: 1.5rem 1.75rem 2rem;
            display: flex;
            flex-direction: column;
            transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);
            overflow-y: auto;
            box-shadow: -8px 0 32px rgba(24, 37, 32, 0.15);
        }

        .mobile-drawer.open,
        .mobile-drawer.active {
            right: 0;
        }

        /* HIDE STICKY HEADER WHEN MOBILE DRAWER IS ACTIVE TO PREVENT OVERLAP */
        body.menu-open .header,
        body.menu-open #header {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
            transition: opacity 0.2s ease, visibility 0.2s ease;
        }

        @media (max-width: 480px) {
            .mobile-drawer {
                width: 100% !important;
                max-width: 100% !important;
            }
        }
    

        .mobile-drawer-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 1.25rem;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .drawer-close-btn {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-md);
            background: var(--primary-light);
            color: var(--primary-dark);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all var(--transition-fast);
        }
        .drawer-close-btn svg { pointer-events: none; }

        .drawer-close-btn:hover,
        .drawer-close-btn:active {
            background: var(--primary);
            color: #FFFFFF;
        }

        .mobile-nav {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
            margin-bottom: auto;
        }

        .mobile-nav a {
            font-family: var(--font-serif);
            font-size: 1.65rem;
            color: var(--text);
            text-decoration: none;
            display: block;
            border-bottom: 1px solid var(--border);
            padding-bottom: 0.85rem;
            transition: color var(--transition-fast), padding-left var(--transition-fast);
        }

        .mobile-nav a:hover,
        .mobile-nav a:active {
            color: var(--primary);
            padding-left: 0.5rem;
        }

        .mobile-drawer-footer {
            margin-top: 2rem;
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
        }

        .mobile-drawer-footer .btn {
            width: 100%;
            padding: 0.95rem 1.5rem;
        }

        /* SOUNDSCAPE TOGGLE IN HEADER */
        .sound-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-light);
            color: var(--primary-dark);
            transition: all var(--transition-fast);
            cursor: pointer;
            border: 1px solid rgba(44, 83, 70, 0.2);
        }

        .sound-toggle:hover {
            background-color: var(--border);
            transform: scale(1.05);
        }

        .sound-toggle svg {
            width: 20px;
            height: 20px;
            transition: transform var(--transition-fast);
        }

        .sound-toggle.playing {
            background-color: var(--primary);
            color: #FFFFFF;
            border-color: var(--primary);
            animation: pulse-ring 2s infinite;
        }

        .sound-toggle.playing svg {
            transform: scale(1.08);
        }

        @keyframes pulse-ring {
            0% {
                box-shadow: 0 0 0 0 rgba(44, 83, 70, 0.6);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(44, 83, 70, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(44, 83, 70, 0);
            }
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Non-intrusive clipboard feedback (Principle 1: Visibility of System Status) */
        .btn-copy-success {
            background-color: var(--accent) !important;
            border-color: var(--accent) !important;
            color: #FFFFFF !important;
            transition: all 0.25s ease !important;
            pointer-events: none;
        }
        .reveal-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
        }

        .reveal-on-scroll.revealed {
            opacity: 1;
            transform: translateY(0);
        }

        /* Above-the-fold hero elements must be rock-solid immediately without translateY shift on refresh */
        .hero .reveal-on-scroll,
        .hero-image-wrapper,
        .hero-content {
            opacity: 1 !important;
            transform: none !important;
            transition: none !important;
        }

        /* HERO SECTION */
        .hero {
            padding-top: 8rem;
            padding-bottom: 4.5rem;
            position: relative;
        }

        @media (max-width: 768px) {
            .header {
                padding: 0.85rem 0 !important;
                background-color: rgba(253, 251, 249, 0.96) !important;
                backdrop-filter: blur(12px) !important;
                -webkit-backdrop-filter: blur(12px) !important;
                border-bottom: 1px solid rgba(237, 231, 225, 0.6) !important;
                box-shadow: 0 1px 10px rgba(24, 37, 32, 0.04) !important;
            }
            .hero {
                padding-top: 6.25rem !important;
                padding-bottom: 3.5rem;
            }
        }

        @media (min-width: 769px) and (max-width: 1023px) {
            .hero {
                padding-top: 8.5rem;
                padding-bottom: 5rem;
            }
        }

        @media (min-width: 1024px) {
            .hero {
                padding-top: 9.75rem;
                padding-bottom: 6rem;
            }
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2.5rem;
        }

        @media (min-width: 1024px) {
            .hero-grid {
                grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
                align-items: center;
                gap: 3.5rem;
            }
        }

        @media (min-width: 1280px) {
            .hero-grid {
                grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
                gap: 4.5rem;
            }
        }

        .hero-image-wrapper {
            position: relative;
            width: 100%;
            margin-left: -1.5rem;
            margin-right: -1.5rem;
            width: calc(100% + 3rem);
        }

        @media (min-width: 640px) {
            .hero-image-wrapper {
                margin: 0;
                width: 100%;
                max-width: 100%;
                perspective: 1200px;
                box-sizing: border-box;
            }
        }

        .hero-image {
            width: 100%;
            max-width: 100%;
            aspect-ratio: 4/5;
            object-fit: cover;
            display: block;
            box-sizing: border-box;
            transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
        }

        @media (min-width: 640px) {
            .hero-image-wrapper::before {
                content: '';
                position: absolute;
                inset: -6px;
                background: radial-gradient(circle at 60% 30%, rgba(189, 110, 74, 0.28), rgba(44, 83, 70, 0.08) 70%, transparent);
                filter: blur(20px);
                border-radius: calc(var(--radius-xl) + 6px);
                z-index: 0;
                pointer-events: none;
                transition: opacity 0.6s ease;
            }

            .hero-image {
                position: relative;
                z-index: 1;
                border-radius: var(--radius-xl);
                border: 1px solid rgba(189, 110, 74, 0.45);
                box-shadow: 0 25px 60px -15px rgba(24, 37, 32, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
            }

            .hero-image-wrapper:hover .hero-image {
                transform: scale(1.02);
                box-shadow: 0 35px 75px -15px rgba(24, 37, 32, 0.24), 0 0 0 1px rgba(189, 110, 74, 0.6) inset;
            }
        }

        .hero-content {
            order: 1;
        }

        @media (min-width: 1024px) {
            .hero-image-wrapper {
                order: 2;
            }

            .hero-content {
                order: 1;
            }
        }

        .availability-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background-color: var(--primary-light);
            border-radius: var(--radius-full);
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
        }

        .availability-badge::before {
            content: '';
            width: 8px;
            height: 8px;
            background-color: var(--accent);
            border-radius: 50%;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            white-space: pre-line;
            margin-bottom: 1.5rem;
            letter-spacing: -0.02em;
        }

        .hero p {
            font-size: clamp(1.125rem, 2vw, 1.25rem);
            margin-bottom: 2.5rem;
            max-width: 500px;
        }

        .hero-actions {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        @media (min-width: 640px) {
            .hero-actions {
                flex-direction: row;
            }
        }

        .testimonial-float {
            display: none;
        }

        @media (min-width: 1024px) {
            .testimonial-float {
                display: block;
                position: absolute;
                bottom: -2rem;
                left: -3rem;
                background: rgba(255, 255, 255, 0.94);
                backdrop-filter: blur(16px);
                -webkit-backdrop-filter: blur(16px);
                padding: 1.5rem 1.75rem;
                border-radius: var(--radius-lg);
                border: 1px solid rgba(189, 110, 74, 0.45);
                box-shadow: 0 24px 50px -10px rgba(24, 37, 32, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
                width: 300px;
                z-index: 10;
                transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
            }

            .testimonial-float:hover {
                transform: translateY(-6px);
                border-color: rgba(189, 110, 74, 0.75);
                box-shadow: 0 32px 65px -12px rgba(44, 83, 70, 0.24), 0 0 0 1px rgba(255, 255, 255, 1) inset;
            }

            .testimonial-float p {
                font-family: var(--font-accent);
                font-style: italic;
                font-size: 1.15rem;
                color: var(--text);
                margin-bottom: 0.65rem;
                line-height: 1.45;
            }

            .testimonial-float span {
                font-size: 0.85rem;
                color: var(--primary);
                font-weight: 600;
                letter-spacing: 0.02em;
                display: block;
            }
        }

        /* TRUST STRIP */
        .trust-strip {
            background-color: var(--primary-light);
            padding: 3rem 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .trust-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        @media (min-width: 640px) {
            .trust-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .trust-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .trust-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.15rem;
            padding: 1.5rem 1rem;
            border-radius: var(--radius-lg);
            border: 1px solid transparent;
            transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .trust-item:hover {
            background: rgba(255, 255, 255, 0.7);
            border-color: rgba(189, 110, 74, 0.3);
            transform: translateY(-4px);
            box-shadow: 0 10px 24px rgba(24, 37, 32, 0.05);
        }

        .trust-icon {
            width: 54px;
            height: 54px;
            color: var(--primary);
            background: linear-gradient(135deg, #FFFFFF, var(--primary-light));
            border: 1px solid rgba(189, 110, 74, 0.35);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 14px rgba(24, 37, 32, 0.06);
            transition: all 0.35s ease;
        }

        .trust-item:hover .trust-icon {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #FFFFFF;
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 8px 22px rgba(44, 83, 70, 0.28);
        }

        .trust-item h3 {
            font-family: var(--font-sans);
            font-size: 1.02rem;
            font-weight: 600;
            margin: 0;
        }

        /* ABOUT SECTION — LUXURY REFINED WITH 3D SHADOWS & MULTI-LAYER BORDERS */
        .about-section {
            position: relative;
            background: linear-gradient(180deg, var(--background) 0%, rgba(243, 237, 232, 0.45) 50%, var(--background) 100%);
            overflow: hidden;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            align-items: center;
        }

        @media (min-width: 1024px) {
            .about-grid {
                grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
                gap: 3.5rem;
            }
        }

        @media (min-width: 1280px) {
            .about-grid {
                grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
                gap: 4.5rem;
            }
        }

        /* 3D Luxury Portrait Showcase Container */
        .about-image-showcase {
            position: relative;
            padding: 1rem 0;
            margin: 0 auto;
            max-width: 480px;
            width: 100%;
        }

        .about-image-backdrop-glow {
            position: absolute;
            inset: 10px -10px -15px 15px;
            background: linear-gradient(135deg, rgba(189, 110, 74, 0.35) 0%, rgba(44, 83, 70, 0.22) 50%, rgba(207, 163, 101, 0.25) 100%);
            border-radius: calc(var(--radius-xl) + 4px);
            filter: blur(28px);
            z-index: 0;
            opacity: 0.85;
            transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
            pointer-events: none;
        }

        .about-image-showcase:hover .about-image-backdrop-glow {
            opacity: 1;
            filter: blur(34px);
            transform: scale(1.03) translate(4px, 4px);
        }

        .about-frame {
            position: relative;
            z-index: 1;
            border-radius: var(--radius-xl);
            padding: 9px;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(243, 237, 232, 0.7) 40%, rgba(189, 110, 74, 0.5) 100%);
            border: 1px solid rgba(189, 110, 74, 0.4);
            box-shadow:
                0 2px 4px rgba(24, 37, 32, 0.04),
                0 12px 28px rgba(24, 37, 32, 0.08),
                0 30px 60px -12px rgba(24, 37, 32, 0.2),
                inset 0 1px 2px rgba(255, 255, 255, 0.9);
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease;
            overflow: hidden;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            will-change: transform;
        }

        .about-image-showcase:hover .about-frame {
            transform: translateY(-6px);
            border-color: rgba(189, 110, 74, 0.75);
            box-shadow:
                0 4px 10px rgba(24, 37, 32, 0.06),
                0 22px 45px rgba(24, 37, 32, 0.14),
                0 45px 85px -15px rgba(44, 83, 70, 0.3),
                0 0 25px rgba(189, 110, 74, 0.25),
                inset 0 2px 4px rgba(255, 255, 255, 1);
        }

        .about-image {
            width: 100%;
            aspect-ratio: 4/5;
            object-fit: cover;
            display: block;
            border-radius: calc(var(--radius-xl) - 8px);
            transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
            filter: brightness(0.99) contrast(1.02);
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }

        .about-image-showcase:hover .about-image {
            transform: scale(1.03);
            filter: brightness(1.02) contrast(1.04);
        }

        /* Ambient floating badge over doula frame */
        .doula-experience-pill {
            position: absolute;
            bottom: 2rem;
            right: 1.5rem;
            z-index: 3;
            background: rgba(255, 255, 255, 0.94);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            padding: 0.75rem 1.25rem;
            border-radius: var(--radius-full);
            border: 1px solid rgba(189, 110, 74, 0.5);
            box-shadow: 0 10px 30px rgba(24, 37, 32, 0.15), 0 2px 6px rgba(0, 0, 0, 0.04);
            display: flex;
            align-items: center;
            gap: 0.75rem;
            transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
            pointer-events: none;
            user-select: none;
        }

        .about-image-showcase:hover .doula-experience-pill {
            transform: translateY(-4px) scale(1.03);
            box-shadow: 0 16px 36px rgba(24, 37, 32, 0.22);
            border-color: var(--secondary);
        }

        .exp-num {
            font-family: var(--font-serif);
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--primary-dark);
            line-height: 1;
        }

        .exp-label {
            font-size: 0.74rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-secondary);
            font-weight: 600;
            line-height: 1.2;
        }

        .about-content h2 {
            font-size: clamp(2.15rem, 4.2vw, 3.15rem);
            line-height: 1.15;
            margin-bottom: 1.5rem;
            letter-spacing: -0.015em;
        }

        .about-content p {
            font-size: 1.05rem;
            line-height: 1.75;
            margin-bottom: 1.25rem;
            color: #4A403A;
        }

        .credentials {
            display: flex;
            flex-wrap: wrap;
            gap: 0.85rem;
            margin-top: 2.25rem;
        }

        .credential-badge {
            background-color: var(--surface);
            border: 1px solid rgba(189, 110, 74, 0.35);
            padding: 0.65rem 1.25rem;
            border-radius: var(--radius-full);
            font-size: 0.88rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 0.6rem;
            box-shadow: 0 2px 8px rgba(24, 37, 32, 0.04);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            cursor: default;
        }

        .credential-badge:hover {
            border-color: var(--secondary);
            background: linear-gradient(135deg, #FFFFFF, var(--primary-light));
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(44, 83, 70, 0.15);
            color: var(--primary-dark);
        }

        .credential-badge svg {
            color: var(--accent);
            width: 17px;
            height: 17px;
            stroke-width: 2.2;
            transition: transform 0.3s ease;
        }

        .credential-badge:hover svg {
            transform: scale(1.2);
            color: var(--primary);
        }

        /* SERVICES SECTION — ELEVATED 3D CARDS */
        .services-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2.25rem;
        }

        @media (min-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .service-card {
            background: var(--surface);
            border: 1px solid rgba(237, 231, 225, 0.8);
            border-radius: var(--radius-xl);
            padding: 3rem 2.25rem;
            transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(24, 37, 32, 0.04);
        }

        .service-card:hover {
            transform: translateY(-10px) scale(1.01);
            box-shadow: 0 24px 54px -10px rgba(44, 83, 70, 0.16), 0 0 0 1px rgba(189, 110, 74, 0.5);
            border-color: rgba(189, 110, 74, 0.6);
        }

        .service-icon {
            width: 68px;
            height: 68px;
            background: linear-gradient(135deg, var(--primary-light), #FFFFFF);
            border: 1px solid rgba(189, 110, 74, 0.35);
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            margin-bottom: 2.25rem;
            box-shadow: 0 6px 18px rgba(44, 83, 70, 0.08);
            transition: all 0.35s ease;
        }

        .service-card:hover .service-icon {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #FFFFFF;
            transform: scale(1.08) rotate(3deg);
        }

        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .service-desc {
            font-style: italic;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .service-list {
            margin-top: auto;
        }

        .service-list li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.75rem;
            color: var(--text-secondary);
            font-size: 0.9375rem;
        }

        .service-list li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--primary);
        }

        /* LETTER SECTION */
        .letter-section {
            padding: 8rem 0;
            text-align: center;
        }

        .letter-content {
            max-width: 780px;
            margin: 0 auto;
        }

        .letter-text {
            font-family: var(--font-accent);
            font-size: clamp(1.25rem, 3vw, 1.75rem);
            line-height: 1.8;
            margin-bottom: 3rem;
            text-align: left;
        }

        .signature {
            font-family: var(--font-accent);
            font-style: italic;
            font-size: 3rem;
            color: var(--secondary);
            text-align: right;
            margin-bottom: 3rem;
        }

        /* ENVIRONMENTS SWITCHER */
        .environments {
            background-color: var(--surface);
        }

        .env-tabs {
            display: flex;
            gap: 1rem;
            overflow-x: auto;
            padding-bottom: 1rem;
            margin-bottom: 2rem;
            scrollbar-width: none;
            /* Firefox */
        }

        .env-tabs::-webkit-scrollbar {
            display: none;
            /* Chrome, Safari, Edge */
        }

        @media (min-width: 768px) {
            .env-tabs {
                justify-content: center;
                overflow-x: visible;
                padding-bottom: 0;
                margin-bottom: 4rem;
            }
        }

        .env-tab {
            padding: 0.85rem 1.75rem;
            border-radius: var(--radius-full);
            background-color: var(--surface);
            color: var(--text);
            font-weight: 500;
            font-size: 0.95rem;
            white-space: nowrap;
            border: 1px solid rgba(189, 110, 74, 0.35);
            box-shadow: 0 2px 8px rgba(24, 37, 32, 0.04);
            cursor: pointer;
            transition: all var(--transition-fast);
        }

        .env-tab:hover {
            border-color: var(--secondary);
            color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(44, 83, 70, 0.12);
        }

        .env-tab.active {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: #FFFFFF;
            border-color: var(--primary-dark);
            box-shadow: 0 10px 24px -4px rgba(107, 82, 66, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
            transform: translateY(-1px);
        }

        .env-panel {
            display: none;
            opacity: 0;
            transition: opacity var(--transition-base), transform var(--transition-base);
        }

        .env-panel.active {
            display: block;
            opacity: 1;
            animation: fadeIn 0.4s ease;
        }

        .env-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 1024px) {
            .env-grid {
                grid-template-columns: 1fr 1fr;
                gap: 4rem;
                align-items: center;
            }
        }

        .env-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: var(--radius-xl);
            border: 1px solid rgba(189, 110, 74, 0.4);
            box-shadow: 0 24px 50px -12px rgba(24, 37, 32, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
            transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
        }

        .env-image:hover {
            transform: scale(1.02);
            box-shadow: 0 32px 65px -12px rgba(44, 83, 70, 0.22), 0 0 0 1px rgba(189, 110, 74, 0.6) inset;
        }

        @media (min-width: 1024px) {
            .env-image {
                height: 500px;
            }
        }

        .env-content h3 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
        }

        /* TIMELINE SECTION */
        .timeline-section {
            background-color: var(--primary-light);
        }

        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto 4rem;
        }

        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 24px;
            width: 2px;
            background-color: var(--primary);
            opacity: 0.3;
        }

        @media (min-width: 768px) {
            .timeline::before {
                left: 50%;
                transform: translateX(-50%);
            }
        }

        .timeline-item {
            position: relative;
            margin-bottom: 3rem;
            padding-left: 4rem;
        }

        @media (min-width: 768px) {
            .timeline-item {
                width: 50%;
                padding-left: 0;
                padding-right: 3rem;
                text-align: right;
            }

            .timeline-item:nth-child(even) {
                margin-left: auto;
                padding-right: 0;
                padding-left: 3rem;
                text-align: left;
            }
        }

        .timeline-marker {
            position: absolute;
            left: 0;
            top: 0;
            width: 48px;
            height: 48px;
            background-color: var(--surface);
            border: 2px solid var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-serif);
            font-size: 1.25rem;
            color: var(--primary);
            font-weight: 600;
            z-index: 2;
        }

        @media (min-width: 768px) {
            .timeline-marker {
                left: 100%;
                transform: translateX(-50%);
            }

            .timeline-item:nth-child(even) .timeline-marker {
                left: 0;
            }
        }

        .timeline-content {
            background: var(--surface);
            padding: 1.85rem 1.65rem;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(237, 231, 225, 0.9);
            box-shadow: 0 4px 18px rgba(24, 37, 32, 0.05);
            transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .timeline-content:hover {
            transform: translateY(-4px);
            border-color: rgba(189, 110, 74, 0.6);
            box-shadow: 0 16px 36px rgba(44, 83, 70, 0.12);
        }

        .timeline-content h4 {
            font-family: var(--font-sans);
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .timeline-content p {
            margin-bottom: 0;
            font-size: 0.9375rem;
            line-height: 1.6;
        }

        .pricing-card {
            background: var(--surface);
            max-width: 620px;
            margin: 0 auto;
            padding: 3.5rem 2.5rem;
            border-radius: var(--radius-xl);
            text-align: center;
            box-shadow:
                0 4px 16px rgba(24, 37, 32, 0.06),
                0 20px 48px rgba(44, 83, 70, 0.1);
            border: 1px solid rgba(189, 110, 74, 0.4);
            position: relative;
            overflow: hidden;
            transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .pricing-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
        }

        .pricing-card:hover {
            transform: translateY(-8px);
            box-shadow:
                0 10px 30px rgba(24, 37, 32, 0.08),
                0 32px 70px rgba(44, 83, 70, 0.18),
                0 0 20px rgba(189, 110, 74, 0.2);
            border-color: rgba(189, 110, 74, 0.7);
        }

        .pricing-card > * {
            position: relative;
            z-index: 2;
        }

        /* INSPIRA UI: BORDER BEAM / ROTATING ACCENT BORDER GLOW */
        .border-beam {
            position: absolute;
            inset: 0;
            border-radius: inherit;
            padding: 2.5px;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask-composite: exclude;
            pointer-events: none;
            z-index: 1;
            overflow: hidden;
        }

        .border-beam::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(
                from 0deg,
                transparent 0deg,
                transparent 260deg,
                rgba(189, 110, 74, 0.35) 295deg,
                rgba(224, 196, 160, 0.95) 335deg,
                #FFF7ED 355deg,
                rgba(224, 196, 160, 0.95) 360deg
            );
            animation: borderBeamRotate 6s linear infinite;
        }

        @keyframes borderBeamRotate {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        /* INSPIRA UI: SPOTLIGHT RADIAL AMBIENT GRADIENTS */
        .service-card::after,
        .form-card-preview::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: radial-gradient(
                350px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
                rgba(189, 110, 74, 0.16),
                transparent 75%
            );
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
            z-index: 1;
        }

        .service-card:hover::after,
        .form-card-preview:hover::after {
            opacity: 1;
        }

        .service-card > *,
        .form-card-preview > * {
            position: relative;
            z-index: 2;
        }

        /* INQUIRY CONFIRMED CARD WITH LUXURY BORDER BEAM */
        .inquiry-confirmed-card {
            margin: 1.5rem auto;
            padding: 2.25rem 2rem;
            background: #FFFFFF;
            border-radius: var(--radius-xl);
            border: 1px solid rgba(189, 110, 74, 0.4);
            box-shadow: 0 20px 50px -10px rgba(44, 83, 70, 0.15);
            max-width: 580px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .inquiry-confirmed-card > * {
            position: relative;
            z-index: 2;
        }

        /* REDUCED MOTION PREFERENCES */
        @media (prefers-reduced-motion: reduce) {
            .border-beam::after {
                animation: none;
                background: linear-gradient(135deg, rgba(189, 110, 74, 0.5), rgba(44, 83, 70, 0.3));
            }
            .service-card::after,
            .form-card-preview::after {
                display: none;
            }
        }

        .price-amount {
            font-family: var(--font-serif);
            font-size: 4.25rem;
            color: var(--primary-dark);
            line-height: 1;
            margin: 1.5rem 0;
            font-weight: 600;
            letter-spacing: -0.02em;
        }

        .price-terms {
            font-size: 0.875rem;
            color: var(--text-secondary);
        }

        /* POSTPARTUM CALCULATOR */
        .postpartum-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        @media (min-width: 768px) {
            .postpartum-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        .pp-card {
            background-color: var(--dark-surface);
            padding: 2.5rem 2rem;
            border-radius: var(--radius-xl);
            border: 1px solid rgba(189, 110, 74, 0.2);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .pp-card:hover {
            transform: translateY(-6px);
            border-color: rgba(189, 110, 74, 0.55);
            box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 16px rgba(189, 110, 74, 0.12);
        }

        .calculator {
            background-color: var(--dark-surface);
            padding: 2rem;
            border-radius: var(--radius-lg);
            margin-top: 3rem;
        }

        .calc-row {
            margin-bottom: 2rem;
        }

        .calc-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            color: white;
            font-weight: 500;
        }

        input[type=range] {
            width: 100%;
            -webkit-appearance: none;
            background: transparent;
        }

        input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none;
            height: 24px;
            width: 24px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            margin-top: -10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        }

        input[type=range]::-webkit-slider-runnable-track {
            width: 100%;
            height: 4px;
            cursor: pointer;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
        }

        .calc-result {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 2rem;
        }

        .calc-total {
            font-family: var(--font-serif);
            font-size: 3rem;
            color: var(--secondary);
            display: block;
            margin: 1rem 0;
        }

        /* TESTIMONIALS CAROUSEL - BESPOKE LUXURY SANCTUARY EDITORIAL */
        .testimonials {
            position: relative;
            background: radial-gradient(circle at 50% 0%, #25201c 0%, #151210 100%);
            color: #FDFBF9;
            padding: 7rem 0 8rem 0;
            overflow: hidden;
            border-top: 1px solid rgba(189, 110, 74, 0.2);
            border-bottom: 1px solid rgba(189, 110, 74, 0.15);
        }

        .testimonials::before {
            content: '';
            position: absolute;
            top: -150px;
            left: 50%;
            transform: translateX(-50%);
            width: 750px;
            height: 350px;
            background: radial-gradient(ellipse, rgba(189, 110, 74, 0.12), transparent 70%);
            filter: blur(50px);
            pointer-events: none;
        }

        .testimonials .section-header .eyebrow {
            color: var(--secondary);
            letter-spacing: 0.22em;
        }

        .testimonials .section-header h2 {
            color: #FFFFFF;
            font-family: var(--font-serif);
            font-size: clamp(2rem, 4vw, 2.75rem);
            letter-spacing: -0.01em;
            margin-top: 0.5rem;
        }

        .testimonials .section-header p {
            color: rgba(243, 237, 232, 0.72);
        }

        .carousel-container {
            position: relative;
            max-width: 920px;
            margin: 2.5rem auto 0 auto;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(189, 110, 74, 0.28);
            border-radius: var(--radius-xl);
            padding: 3rem 1.75rem 2.5rem 1.75rem;
            box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }

        @media (min-width: 768px) {
            .carousel-container {
                padding: 4rem 3.5rem 3rem 3.5rem;
            }
        }

        .carousel-track-wrapper {
            overflow: hidden;
            width: 100%;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .carousel-slide {
            min-width: 100%;
            padding: 0 0.5rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .quote-ornament {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: rgba(189, 110, 74, 0.14);
            border: 1px solid rgba(189, 110, 74, 0.35);
            color: var(--secondary);
            margin-bottom: 1.75rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
        }

        .quote-ornament svg {
            width: 22px;
            height: 22px;
            fill: currentColor;
        }

        .quote-stars {
            display: flex;
            gap: 4px;
            color: #E5A93C;
            margin-bottom: 1.25rem;
        }

        .quote-text {
            font-family: var(--font-accent);
            font-size: clamp(1.45rem, 3.2vw, 2.15rem);
            font-style: italic;
            font-weight: 400;
            line-height: 1.5;
            margin-bottom: 2.25rem;
            color: #F8F5F1;
            max-width: 780px;
        }

        .quote-meta-wrapper {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(189, 110, 74, 0.2);
            width: 100%;
            max-width: 520px;
            justify-content: center;
        }

        .quote-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--secondary);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
        }

        .quote-meta-text {
            text-align: left;
        }

        .quote-author {
            font-family: var(--font-sans);
            font-weight: 600;
            color: #FFFFFF;
            letter-spacing: 0.04em;
            font-size: 1rem;
            margin-bottom: 0.15rem;
        }

        .quote-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.76rem;
            font-weight: 500;
            color: var(--secondary);
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .carousel-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1.75rem;
            margin-top: 2.5rem;
        }

        .carousel-btn {
            width: 44px;
            height: 44px;
            border: 1px solid rgba(189, 110, 74, 0.4);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary);
            background: rgba(255, 255, 255, 0.04);
            transition: all var(--transition-fast);
            cursor: pointer;
            backdrop-filter: blur(8px);
        }

        .carousel-btn:hover {
            background-color: var(--secondary);
            color: #1C1816;
            border-color: var(--secondary);
            transform: scale(1.08);
            box-shadow: 0 4px 16px rgba(189, 110, 74, 0.3);
        }

        .carousel-dots {
            display: flex;
            gap: 0.6rem;
            align-items: center;
        }

        .dot {
            width: 8px;
            height: 8px;
            border-radius: var(--radius-full);
            background-color: rgba(255, 255, 255, 0.2);
            cursor: pointer;
            transition: all var(--transition-fast);
            padding: 0;
            border: none;
        }

        .dot.active {
            background-color: var(--secondary);
            width: 24px;
            border-radius: 6px;
        }

        /* BREATHING EXERCISE - SERENE BIOPHILIC SAGE SANCTUARY */
        .breathe-section {
            position: relative;
            background: linear-gradient(165deg, #18201A 0%, #232E25 50%, #141B15 100%);
            color: #F8FBF8;
            text-align: center;
            padding: 8rem 0 9rem 0;
            overflow: hidden;
            border-top: 1px solid rgba(207, 163, 101, 0.22);
            border-bottom: 1px solid rgba(207, 163, 101, 0.2);
        }

        .breathe-section::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 750px;
            height: 750px;
            background: radial-gradient(circle, rgba(163, 191, 165, 0.12) 0%, transparent 65%);
            pointer-events: none;
        }

        .breathe-section .eyebrow {
            color: #B4D4B7;
            letter-spacing: 0.24em;
            font-size: 0.8125rem;
            font-weight: 600;
        }

        .breathe-section h2 {
            color: #FFFFFF;
            font-family: var(--font-serif);
            font-size: clamp(2.3rem, 4.5vw, 3.25rem);
            letter-spacing: -0.015em;
            font-weight: 400;
            margin-top: 0.65rem;
            line-height: 1.15;
        }

        .breathe-section .breathe-lead {
            color: rgba(240, 246, 241, 0.78);
            max-width: 620px;
            margin: 1.15rem auto 0 auto;
            font-size: 1.05rem;
            line-height: 1.7;
            font-weight: 300;
            letter-spacing: 0.01em;
        }

        .breathe-card {
            max-width: 740px;
            margin: 4rem auto 0 auto;
            background: rgba(255, 255, 255, 0.035);
            border: 1px solid rgba(180, 212, 183, 0.22);
            border-radius: var(--radius-xl);
            padding: 4.5rem 3rem 4rem 3rem;
            box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        @media (max-width: 640px) {
            .breathe-card {
                padding: 3rem 1.5rem 2.5rem 1.5rem;
            }
        }

        .breathe-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2.75rem;
            width: 100%;
        }

        .circle-container {
            position: relative;
            width: 290px;
            height: 290px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0.5rem 0;
        }

        /* Concentric rhythmic ripples */
        .breathe-ripple {
            position: absolute;
            border-radius: 50%;
            border: 1px dashed rgba(180, 212, 183, 0.25);
            pointer-events: none;
        }

        .breathe-ripple-1 {
            width: 230px;
            height: 230px;
        }

        .breathe-ripple-2 {
            width: 290px;
            height: 290px;
            border-style: solid;
            border-color: rgba(180, 212, 183, 0.12);
        }

        .breathe-circle {
            position: absolute;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(180, 212, 183, 0.42) 0%, rgba(207, 163, 101, 0.1) 72%);
            box-shadow: 0 0 45px rgba(180, 212, 183, 0.35);
            transition: transform linear;
        }

        .breathe-circle-inner {
            position: absolute;
            width: 106px;
            height: 106px;
            border-radius: 50%;
            background: #FFFFFF;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 2;
            box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.9);
            border: 2px solid rgba(180, 212, 183, 0.45);
        }

        #breathe-text {
            color: #1B291D;
            font-family: var(--font-serif);
            font-weight: 600;
            font-size: 1.35rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            line-height: 1.1;
        }

        .breathe-count {
            font-family: var(--font-sans);
            font-size: 0.72rem;
            color: #4C6A50;
            font-weight: 700;
            letter-spacing: 0.12em;
            margin-top: 4px;
            text-transform: uppercase;
        }

        .breathe-status-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            background: rgba(180, 212, 183, 0.12);
            border: 1px solid rgba(180, 212, 183, 0.32);
            color: #D2E7D4;
            padding: 0.55rem 1.35rem;
            border-radius: var(--radius-full);
            font-size: 0.8125rem;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .affirmation-wrapper {
            min-height: 4rem;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 0 1.5rem;
        }

        .affirmation {
            font-family: var(--font-accent);
            font-size: clamp(1.5rem, 3.4vw, 2rem);
            font-style: italic;
            font-weight: 300;
            line-height: 1.45;
            color: #FFFFFF;
            opacity: 0;
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
            text-align: center;
            max-width: 600px;
        }

        .affirmation.show {
            opacity: 1;
        }

        .breathe-controls {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            margin-top: 0.5rem;
        }

        .breathe-btn {
            background: #FFFFFF;
            color: #141B15;
            padding: 1.05rem 2.8rem;
            border-radius: var(--radius-full);
            font-family: var(--font-sans);
            font-weight: 600;
            font-size: 0.95rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            transition: all var(--transition-base);
            border: none;
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            display: inline-flex;
            align-items: center;
            gap: 0.65rem;
        }

        .breathe-btn:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
            background: #FDFDFD;
            color: #0E130F;
        }

        .breathe-btn svg {
            transition: transform var(--transition-fast);
        }

        .breathe-btn:hover svg {
            transform: scale(1.15);
        }

        .breathe-guide-tip {
            font-size: 0.84rem;
            color: rgba(240, 246, 241, 0.65);
            margin-top: 0.5rem;
            letter-spacing: 0.03em;
            font-weight: 300;
        }

        /* BOOKING WIZARD */
        .booking-section {
            background-color: var(--surface);
            position: relative;
        }

        .wizard-container {
            max-width: 620px;
            margin: 0 auto;
            background: #FFFFFF;
            border-radius: var(--radius-xl);
            padding: 2rem 1.75rem;
            border: 1px solid rgba(189, 110, 74, 0.35);
            box-shadow: 0 25px 65px -15px rgba(24, 37, 32, 0.09), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
            position: relative;
            overflow: hidden;
        }

        .wizard-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #BD6E4A 0%, #2C5346 50%, #BD6E4A 100%);
        }

        @media (min-width: 768px) {
            .wizard-container {
                padding: 3.25rem 3rem;
            }
        }

        .wizard-steps {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1.25rem;
            margin-bottom: 2.5rem;
        }

        .wizard-step-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background-color: var(--border);
            border: 2px solid transparent;
            transition: all var(--transition-base);
        }

        .wizard-step-dot.active {
            background-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(44, 83, 70, 0.22);
            transform: scale(1.18);
        }

        .wizard-step-dot.completed {
            background-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(207, 163, 101, 0.22);
        }

        .wizard-panel {
            display: none;
            animation: fadeIn 0.4s ease;
        }

        .wizard-panel.active {
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            font-size: 0.875rem;
            color: var(--text);
        }

        .form-control {
            width: 100%;
            padding: 0.85rem 1.15rem;
            border: 1.5px solid rgba(237, 231, 225, 0.95);
            border-radius: var(--radius-md);
            font-family: inherit;
            font-size: 0.95rem;
            background-color: var(--background);
            color: var(--text);
            box-shadow: 0 1px 3px rgba(24, 37, 32, 0.02);
            transition: all var(--transition-fast);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            background-color: #FFFFFF;
            box-shadow: 0 0 0 4px rgba(189, 110, 74, 0.18), 0 2px 8px rgba(44, 83, 70, 0.08);
        }

        textarea.form-control {
            min-height: 110px;
            resize: vertical;
        }

        .wizard-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .success-panel {
            text-align: center;
            padding: 2rem 0;
        }

        .success-icon {
            color: var(--accent);
            width: 64px;
            height: 64px;
            margin: 0 auto 1.5rem;
        }

        .calendar-embed-zone {
            background: var(--surface);
            border: 2px dashed var(--border);
            padding: 3rem 1rem;
            margin: 2rem 0;
            border-radius: var(--radius-md);
            color: var(--text-secondary);
        }

        /* FAQ ACCORDION */
        .faq-section {
            background-color: var(--primary-light);
        }

        .faq-list {
            max-width: 700px;
            margin: 0 auto;
        }

        .faq-item {
            border-bottom: 1px solid var(--border);
        }

        .faq-btn {
            width: 100%;
            text-align: left;
            padding: 1.5rem 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: var(--font-sans);
            font-size: 1.125rem;
            font-weight: 500;
            color: var(--text);
        }

        .faq-icon {
            width: 24px;
            height: 24px;
            transition: transform var(--transition-base);
        }

        .faq-btn[aria-expanded="true"] .faq-icon {
            transform: rotate(180deg);
        }

        .faq-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-base);
        }

        .faq-inner {
            padding-bottom: 1.5rem;
            color: var(--text-secondary);
        }

                /* FOOTER */
        .footer {
            background-color: var(--dark);
            color: #FDFBF9;
            padding: 4.5rem 0 2rem;
            border-top: 1px solid rgba(237, 231, 225, 0.1);
            margin-top: 5rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2.5rem;
            margin-bottom: 3.5rem;
        }

        @media (min-width: 768px) {
            .footer-grid {
                grid-template-columns: 2fr 1fr 1fr 1.5fr;
                gap: 2rem;
            }
        }

        .footer .logo {
            color: #FFFFFF;
            margin-bottom: 1rem;
        }

        .footer-tagline {
            color: #A0948C;
            font-size: 0.925rem;
            max-width: 320px;
        }

        .footer-heading {
            font-family: var(--font-serif);
            font-size: 1.15rem;
            margin-bottom: 1.25rem;
            color: #FFFFFF;
        }

        .footer-links ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-links a {
            color: #A0948C;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color var(--transition-fast);
        }

        .footer-links a:hover {
            color: var(--secondary);
        }

        .footer-contact p {
            color: #A0948C;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .footer-phone, .footer-email {
            display: block;
            color: #FFFFFF;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            margin-bottom: 0.4rem;
        }

        .footer-phone:hover, .footer-email:hover {
            color: var(--secondary);
        }

        .footer-bottom {
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-direction: column;
            gap: 1rem;
            font-size: 0.85rem;
            color: #7A6E66;
        }

        @media (min-width: 768px) {
            .footer-bottom {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
        }

        .footer-legal {
            display: flex;
            gap: 1.5rem;
        }

        .footer-legal a {
            color: #7A6E66;
            text-decoration: none;
        }

        .footer-legal a:hover {
            color: #A0948C;
        }

        /* ACETERNITY UI 3D DEPTH-TILT & DIRECTIONAL SLIDE-OVER CARDS */
        .tilt-card,
        .aceternity-card {
            transform-style: preserve-3d;
            perspective: 1200px;
            will-change: transform;
            position: relative;
        }

        /* 3D Elevated child elements (pop out on Z-axis) */
        .service-card .service-icon,
        .service-card h3,
        .form-card-preview .form-card-icon,
        .form-card-preview .form-card-title,
        .pricing-card h3,
        .pricing-card .price-amount,
        .pricing-card .btn,
        .pp-card h3 {
            transform: translateZ(0);
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            transform-style: preserve-3d;
        }

        .tilt-card:hover .service-icon,
        .tilt-card:hover .form-card-icon,
        .aceternity-card:hover .service-icon,
        .aceternity-card:hover .form-card-icon {
            transform: translateZ(28px) scale(1.08) rotate(3deg);
        }

        .tilt-card:hover h3,
        .tilt-card:hover .form-card-title,
        .pricing-card:hover .price-amount,
        .pricing-card:hover .btn,
        .aceternity-card:hover h3 {
            transform: translateZ(22px);
        }

        /* DIRECTIONAL SLIDE-OVER OVERLAY (Hover.css & Aceternity UI) */
        .directional-slide-card {
            position: relative;
            overflow: hidden;
        }

        .directional-slide-card .card-slide-overlay {
            position: absolute;
            top: -60%;
            left: -60%;
            width: 220%;
            height: 220%;
            background: linear-gradient(
                115deg,
                transparent 0%,
                transparent 38%,
                rgba(255, 255, 255, 0.14) 47%,
                rgba(189, 110, 74, 0.28) 52%,
                transparent 60%,
                transparent 100%
            );
            transform: translate3d(-100%, -100%, 0) rotate(22deg);
            pointer-events: none;
            z-index: 2;
            transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
            opacity: 0;
        }

        .directional-slide-card:hover .card-slide-overlay {
            transform: translate3d(50%, 50%, 0) rotate(22deg);
            opacity: 1;
        }

        /* ACETERNITY DYNAMIC SPECULAR GLARE */
        .aceternity-glare {
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: radial-gradient(
                450px circle at var(--glare-x, 50%) var(--glare-y, 50%),
                rgba(255, 255, 255, 0.18),
                transparent 65%
            );
            opacity: var(--glare-opacity, 0);
            transition: opacity 0.35s ease;
            pointer-events: none;
            z-index: 3;
        }

        /* CLIENT FORMS & INTAKE SHOWCASE */
        .client-forms-section {
            background-color: var(--surface);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            position: relative;
        }

        .forms-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin-top: 3rem;
            margin-bottom: 3.5rem;
        }

        @media (min-width: 640px) {
            .forms-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .forms-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 2rem;
            }
        }

        .form-card-preview {
            background: #FFFFFF;
            border: 1px solid rgba(189, 110, 74, 0.3);
            border-radius: var(--radius-xl);
            padding: 2.25rem 2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 6px 20px -4px rgba(24, 37, 32, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
            transition: all var(--transition-base);
            position: relative;
            overflow: hidden;
        }

        .form-card-preview::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, transparent, rgba(189, 110, 74, 0.6), transparent);
            opacity: 0;
            transition: opacity var(--transition-base);
        }

        .form-card-preview:hover {
            transform: translateY(-8px) scale(1.012);
            border-color: rgba(189, 110, 74, 0.7);
            box-shadow: 0 24px 50px -10px rgba(44, 83, 70, 0.18), 0 0 0 1px rgba(189, 110, 74, 0.35);
        }

        .form-card-preview:hover::before {
            opacity: 1;
        }

        .form-card-top {
            margin-bottom: 1.25rem;
        }

        .form-card-icon {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-md);
            background: var(--primary-light);
            color: var(--primary);
            border: 1px solid rgba(189, 110, 74, 0.25);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.25rem;
            transition: all var(--transition-base);
        }

        .form-card-preview:hover .form-card-icon {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: #FFFFFF;
            border-color: var(--primary-dark);
            transform: scale(1.08) rotate(3deg);
            box-shadow: 0 8px 20px rgba(44, 83, 70, 0.28);
        }

        .form-card-icon svg {
            width: 24px;
            height: 24px;
            transition: transform var(--transition-fast);
        }

        .form-card-preview:hover .form-card-icon svg {
            transform: scale(1.08);
        }

        .form-doc-num {
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--primary);
            margin-bottom: 0.5rem;
            display: block;
        }

        .form-card-title {
            font-family: var(--font-serif);
            font-size: 1.38rem;
            font-weight: 500;
            color: var(--text);
            margin-bottom: 0.75rem;
            line-height: 1.25;
            transition: color var(--transition-fast);
        }

        .form-card-preview:hover .form-card-title {
            color: var(--primary-dark);
        }

        .form-card-desc {
            font-size: 0.92rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .form-card-footer {
            border-top: 1px solid var(--border);
            padding-top: 1.15rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .form-pill-status {
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }

        .form-link-action {
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--primary);
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            transition: gap var(--transition-fast), color var(--transition-fast);
        }

        .form-card-preview:hover .form-link-action {
            gap: 0.6rem;
            color: var(--primary-dark);
        }

        /* Forms CTA Master Box */
        .forms-cta-box {
            background: linear-gradient(145deg, #1F1B18 0%, #151210 100%);
            color: white;
            border-radius: var(--radius-xl);
            border: 1px solid rgba(189, 110, 74, 0.3);
            box-shadow: 0 35px 80px -15px rgba(20, 16, 14, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
            padding: clamp(2rem, 5vw, 3.5rem);
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        @media (min-width: 1024px) {
            .forms-cta-box {
                grid-template-columns: 1.3fr 1fr;
                gap: 3rem;
            }
        }

        .forms-cta-box h3 {
            font-family: var(--font-serif);
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            color: white;
            margin-bottom: 1rem;
            font-weight: 400;
        }

        .forms-cta-box p {
            color: rgba(255, 255, 255, 0.75);
            font-size: 1rem;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .forms-features-list {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.65rem;
            margin-bottom: 0.5rem;
        }

        @media (min-width: 640px) {
            .forms-features-list {
                grid-template-columns: 1fr 1fr;
            }
        }

        .forms-feature-item {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.85);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .forms-feature-item svg {
            width: 16px;
            height: 16px;
            color: var(--secondary);
            flex-shrink: 0;
        }

        .forms-cta-actions {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            align-items: stretch;
            justify-content: center;
        }

        .forms-cta-actions .btn {
            width: 100%;
            text-align: center;
        }
    
        /* MULTI-PAGE SUITE: PAGE HERO & BANNER EXTENSIONS */
        .page-hero {
            padding: 7.5rem 1.5rem 3.5rem;
            background: linear-gradient(180deg, var(--primary-light) 0%, var(--background) 100%);
            text-align: center;
            border-bottom: 1px solid var(--border);
            position: relative;
        }
        .page-hero-container {
            max-width: 900px;
            margin: 0 auto;
        }
        .page-hero-title {
            font-family: var(--font-serif);
            font-size: clamp(2.2rem, 5vw, 3.2rem);
            line-height: 1.2;
            color: var(--text);
            margin: 1.25rem 0 1rem;
            letter-spacing: -0.02em;
        }
        .page-hero-subtitle {
            font-size: 1.15rem;
            color: var(--text-secondary);
            line-height: 1.7;
            max-width: 720px;
            margin: 0 auto;
        }
        .badge-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(44, 83, 70, 0.08);
            color: var(--primary-dark);
            padding: 0.4rem 1.1rem;
            border-radius: var(--radius-full);
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            border: 1px solid rgba(44, 83, 70, 0.15);
        }
        .nav-desktop a.active,
        .mobile-nav a.active {
            color: var(--primary) !important;
            font-weight: 600 !important;
        }
        @media (max-width: 768px) {
            .page-hero {
                padding: 5.5rem 1.25rem 2.5rem;
            }
        }

    
        /* ==========================================================================
           UNIVERSAL DEVICE RESPONSIVENESS ENHANCEMENTS (320px - 1440px+)
           ========================================================================== */
        html, body {
            max-width: 100vw;
            overflow-x: hidden;
        }

        img, svg, video, canvas, iframe {
            max-width: 100%;
            box-sizing: border-box;
        }

        /* Narrow mobile phones (320px - 480px) */
        @media (max-width: 480px) {
            .container {
                padding-left: 1rem !important;
                padding-right: 1rem !important;
            }
            .section {
                padding: 3.5rem 0 !important;
            }
            h1, .hero h1 {
                font-size: clamp(2rem, 7.5vw, 2.5rem) !important;
                line-height: 1.18 !important;
                letter-spacing: -0.02em !important;
            }
            h2, .section-header h2 {
                font-size: clamp(1.6rem, 6vw, 2.1rem) !important;
                line-height: 1.22 !important;
            }
            .page-hero {
                padding: 5.5rem 1rem 2.25rem !important;
            }
            .page-hero-title {
                font-size: clamp(1.75rem, 6.5vw, 2.25rem) !important;
                line-height: 1.2 !important;
            }
            .page-hero-subtitle {
                font-size: 1rem !important;
                line-height: 1.6 !important;
            }
            .page-hero-actions {
                flex-direction: column !important;
                align-items: stretch !important;
                width: 100% !important;
            }
            .page-hero-actions .btn {
                width: 100% !important;
            }
            .hero-actions {
                flex-direction: column !important;
                align-items: stretch !important;
                width: 100% !important;
                gap: 0.75rem !important;
            }
            .hero-actions .btn {
                width: 100% !important;
            }
            .banner-actions {
                flex-direction: column !important;
                align-items: stretch !important;
                width: 100% !important;
                gap: 0.75rem !important;
            }
            .banner-actions .btn {
                width: 100% !important;
            }
            .footer-grid {
                grid-template-columns: 1fr !important;
                gap: 2.25rem !important;
            }
            .footer-bottom {
                flex-direction: column !important;
                gap: 1rem !important;
                text-align: center !important;
            }
            .footer-legal-links {
                flex-wrap: wrap !important;
                justify-content: center !important;
                gap: 0.75rem !important;
            }
            .doula-experience-pill {
                bottom: 1rem !important;
                right: 0.75rem !important;
                padding: 0.5rem 0.85rem !important;
            }
            .exp-num {
                font-size: 1.15rem !important;
            }
            .exp-label {
                font-size: 0.68rem !important;
            }
        }

        /* Prevent iOS Safari unwanted auto-zoom on form inputs */
        @media (max-width: 768px) {
            input, select, textarea, .form-control {
                font-size: 16px !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
            }
        }

        /* Header scaling on extra small mobile screens (320px - 380px) */
        @media (max-width: 380px) {
            .logo {
                font-size: 1.15rem !important;
            }
            .sound-toggle {
                width: 36px !important;
                height: 36px !important;
            }
            .hamburger {
                width: 38px !important;
                height: 38px !important;
            }
        }

        /* Breathing circle scaling on ultra-narrow screens */
        @media (max-width: 360px) {
            .circle-container {
                width: 240px !important;
                height: 240px !important;
            }
            .breathe-ripple-1 {
                width: 190px !important;
                height: 190px !important;
            }
            .breathe-ripple-2 {
                width: 240px !important;
                height: 240px !important;
            }
            .breathe-circle {
                width: 100px !important;
                height: 100px !important;
            }
            .breathe-circle-inner {
                width: 88px !important;
                height: 88px !important;
            }
            #breathe-text {
                font-size: 1.1rem !important;
            }
        }

        /* Credentials Grid styling */
        .credentials-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.85rem;
            margin-top: 1.5rem;
        }
        @media (min-width: 480px) {
            .credentials-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        .credential-item {
            background-color: var(--surface);
            border: 1px solid rgba(189, 110, 74, 0.35);
            padding: 0.85rem 1.15rem;
            border-radius: var(--radius-md);
            box-shadow: 0 2px 8px rgba(24, 37, 32, 0.04);
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
            transition: all var(--transition-fast);
        }
        .credential-item:hover {
            border-color: var(--secondary);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(44, 83, 70, 0.1);
        }
        .cred-title {
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--primary-dark);
            letter-spacing: 0.02em;
        }
        .cred-desc {
            font-size: 0.82rem;
            color: var(--text-secondary);
        }

    
        /* SMART MOBILE STICKY CTA - AUTO-HIDES AT FOOTER TO PREVENT OVERLAP */
        .mobile-sticky-cta {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(253, 251, 249, 0.94);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-top: 1px solid var(--border);
            padding: 0.6rem 1.25rem;
            padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
            z-index: 950;
            box-shadow: 0 -4px 20px rgba(24, 37, 32, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translateY(0);
            opacity: 1;
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        }

        .mobile-sticky-cta.hidden,
        .mobile-sticky-cta.cta-hidden {
            transform: translateY(125%) !important;
            opacity: 0 !important;
            pointer-events: none !important;
        }

        @media (min-width: 769px) {
            .mobile-sticky-cta {
                display: none !important;
            }
        }

        body.menu-open .mobile-sticky-cta {
            display: none !important;
        }

        .btn-sticky {
            width: 100%;
            max-width: 440px;
            padding: 0.75rem 1.5rem;
            font-size: 0.92rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            box-shadow: 0 4px 14px rgba(44, 83, 70, 0.3);
        }

        @media (max-width: 768px) {
            .footer, footer {
                padding-bottom: 5.5rem !important;
            }
        }

        /* COOKIE BANNER */
        .cookie-banner {
            position: fixed;
            bottom: 20px;
            right: 20px;
            max-width: 420px;
            background: #FFFFFF;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            box-shadow: 0 12px 36px rgba(24, 37, 32, 0.15);
            padding: 1.25rem 1.5rem;
            z-index: 2500;
            display: none;
            transform: translateY(100px);
            opacity: 0;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
        }

        .cookie-banner.show {
            display: block;
            transform: translateY(0);
            opacity: 1;
        }

        @media (max-width: 480px) {
            .cookie-banner {
                bottom: 80px;
                left: 15px;
                right: 15px;
                max-width: calc(100% - 30px);
            }
        }

        .cookie-text {
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
            line-height: 1.5;
        }

        .cookie-link {
            color: var(--primary);
            text-decoration: underline;
        }

        .cookie-actions {
            display: flex;
            gap: 0.75rem;
        }

        .cookie-btn {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
            font-weight: 600;
            border-radius: var(--radius-full);
            cursor: pointer;
            border: 1px solid transparent;
            transition: all var(--transition-fast);
        }

        .cookie-accept {
            background: var(--primary);
            color: #FFFFFF;
            flex: 1;
        }

        .cookie-accept:hover {
            background: var(--primary-dark);
        }

        .cookie-decline {
            background: transparent;
            border-color: var(--border);
            color: var(--text);
        }

        .cookie-decline:hover {
            background: var(--primary-light);
        }

        /* LOADING SPINNER & ERROR STATES */
        .btn-spinner {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.35);
            border-top-color: #FFFFFF;
            border-radius: 50%;
            animation: btnSpin 0.7s linear infinite;
            vertical-align: middle;
            margin-right: 8px;
        }

        @keyframes btnSpin {
            to { transform: rotate(360deg); }
        }

        .input-error {
            border-color: #C0392B !important;
            background-color: #FDF4F4 !important;
        }

        .field-error-msg {
            color: #C0392B;
            font-size: 0.82rem;
            font-weight: 500;
            margin-top: 4px;
            display: block;
        }

    
        /* ==========================================================================
           LUXURY MOBILE BOTTOM NAVIGATION DOCK (App-Style Tab Bar)
           Replaces finicky hamburger drawer with 100% reliable 1-tap thumb navigation
           ========================================================================== */
        .mobile-bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: auto;
            min-height: 62px;
            z-index: 9999;
            background: rgba(253, 251, 249, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-top: 1px solid rgba(189, 110, 74, 0.35);
            box-shadow: 0 -4px 24px rgba(24, 37, 32, 0.08);
            padding: 0.45rem 0.5rem max(0.45rem, env(safe-area-inset-bottom, 0.45rem));
            display: flex;
            align-items: center;
            justify-content: space-around;
            box-sizing: border-box;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .mobile-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            text-decoration: none;
            color: var(--text-secondary);
            padding: 0.35rem 0.65rem;
            border-radius: var(--radius-md);
            transition: all var(--transition-fast);
            position: relative;
            flex: 1;
            max-width: 72px;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }

        .mobile-nav-item svg {
            width: 20px;
            height: 20px;
            transition: transform var(--transition-fast), stroke var(--transition-fast);
            stroke: var(--text-secondary);
            pointer-events: none;
        }

        .mobile-nav-item span {
            font-family: var(--font-sans);
            font-size: 0.6875rem;
            font-weight: 500;
            line-height: 1;
            letter-spacing: 0.02em;
            transition: color var(--transition-fast);
            pointer-events: none;
        }

        .mobile-nav-item:hover,
        .mobile-nav-item:active {
            color: var(--primary);
        }

        .mobile-nav-item:hover svg,
        .mobile-nav-item:active svg {
            stroke: var(--primary);
            transform: translateY(-2px);
        }

        .mobile-nav-item.active {
            color: var(--primary) !important;
            font-weight: 600 !important;
        }

        .mobile-nav-item.active svg {
            stroke: var(--primary) !important;
            transform: scale(1.08);
        }

        .mobile-nav-item.active span {
            color: var(--primary) !important;
            font-weight: 600 !important;
        }

        .mobile-nav-item.active::after {
            content: '';
            position: absolute;
            top: 2px;
            width: 5px;
            height: 5px;
            background: var(--primary);
            border-radius: 50%;
            box-shadow: 0 0 6px var(--primary);
        }

        /* Distinctive CTA pill for Book Call */
        .mobile-nav-item.nav-item-cta {
            background: linear-gradient(145deg, #376555, var(--primary));
            border-radius: var(--radius-full);
            color: #FFFFFF !important;
            padding: 0.45rem 0.75rem;
            box-shadow: 0 3px 12px rgba(44, 83, 70, 0.35);
            max-width: 82px;
        }

        .mobile-nav-item.nav-item-cta svg {
            stroke: #FFFFFF !important;
            width: 18px;
            height: 18px;
        }

        .mobile-nav-item.nav-item-cta span {
            color: #FFFFFF !important;
            font-weight: 600;
        }

        .mobile-nav-item.nav-item-cta:hover,
        .mobile-nav-item.nav-item-cta:active {
            transform: translateY(-2px) scale(1.03);
            box-shadow: 0 6px 16px rgba(44, 83, 70, 0.45);
        }

        .mobile-nav-item.nav-item-cta.active::after {
            display: none;
        }

        /* Hide bottom dock on desktop (1024px+) where top header handles all navigation */
        @media (min-width: 1024px) {
            .mobile-bottom-nav {
                display: none !important;
            }
        }

        /* Ensure page bottom content has clearance on mobile/tablets */
        @media (max-width: 1023px) {
            body {
                padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
            }
            .main-content {
                padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
            }
            .action-banner {
                padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
            }
            .modal-content {
                padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
                max-height: calc(85vh - env(safe-area-inset-bottom, 0px));
            }
            .footer {
                padding-bottom: calc(3.5rem + 76px + env(safe-area-inset-bottom, 0px)) !important;
            }
        }

/* ==========================================================================
   CLIENT PORTAL & DIGITAL SIGNING SUITE STYLES (portal.html)
   ========================================================================== */
.progress-container {
      margin-top: 86px;
      padding: 1.1rem 0;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
    }

    .progress-text {
      font-size: 0.875rem;
      font-weight: 500;
      margin-bottom: 0.5rem;
      display: flex;
      justify-content: space-between;
    }

    .progress-track {
      width: 100%;
      height: 6px;
      background: var(--border);
      border-radius: var(--radius-full);
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      background: var(--primary);
      width: 0%;
      transition: width var(--transition-base);
    }

    /* Layout */
    .layout {
      display: flex;
      flex-direction: column;
      max-width: 1280px;
      margin: 0 auto;
      padding: 2rem 1.5rem;
      gap: 2rem;
    }

    @media (min-width: 768px) {
      .layout {
        padding: 2.5rem 2.25rem;
      }
    }

    @media (min-width: 1024px) {
      .layout {
        flex-direction: row;
        align-items: flex-start;
        padding: 3rem 3.5rem;
      }

      .sidebar {
        width: 280px;
        flex-shrink: 0;
        position: sticky;
        top: 100px;
      }

      .main-content {
        flex-grow: 1;
        min-width: 0;
      }
    }

    /* Sidebar / Client Info */
    .client-info-card {
      background: var(--surface);
      padding: 1.75rem 1.5rem;
      border-radius: var(--radius-xl);
      box-shadow: 0 10px 30px -5px rgba(24, 37, 32, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
      border: 1px solid rgba(189, 110, 74, 0.35);
      margin-bottom: 1.5rem;
    }

    .client-info-card h3 {
      margin-top: 0;
      font-family: var(--font-sans);
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--primary-dark);
      border-bottom: 1px solid var(--border);
      padding-bottom: 0.75rem;
      margin-bottom: 1.25rem;
      font-weight: 700;
    }

    .form-group {
      margin-bottom: 1.15rem;
    }

    .form-group label {
      display: block;
      font-size: 0.875rem;
      font-weight: 500;
      margin-bottom: 0.35rem;
      color: var(--text);
    }

    .form-control {
      width: 100%;
      padding: 0.75rem 0.95rem;
      border: 1.5px solid rgba(237, 231, 225, 0.95);
      border-radius: var(--radius-md);
      font-family: var(--font-sans);
      font-size: 0.9rem;
      background: var(--background);
      color: var(--text);
      transition: all var(--transition-fast);
      box-shadow: 0 1px 3px rgba(24, 37, 32, 0.02);
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary);
      background: #FFFFFF;
      box-shadow: 0 0 0 3px rgba(189, 110, 74, 0.2);
    }

    textarea.form-control {
      resize: vertical;
      min-height: 85px;
    }

    .checkbox-group,
    .radio-group {
      display: flex;
      align-items: flex-start;
      margin-bottom: 0.75rem;
    }

    .checkbox-group input,
    .radio-group input {
      margin-top: 0.25rem;
      margin-right: 0.5rem;
      accent-color: var(--primary);
    }

    .checkbox-group label,
    .radio-group label {
      font-size: 0.875rem;
      color: var(--text-secondary);
      cursor: pointer;
    }

    /* Tabs */
    .tabs-container {
      overflow-x: auto;
      white-space: nowrap;
      margin-bottom: 1.5rem;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 0.5rem;
    }

    .tabs-container::-webkit-scrollbar {
      height: 4px;
    }

    .tabs-container::-webkit-scrollbar-thumb {
      background: var(--border);
      border-radius: 4px;
    }

    .tabs-list {
      display: flex;
      gap: 0.5rem;
    }

    .tab-btn {
      background: var(--surface);
      border: 1px solid rgba(189, 110, 74, 0.3);
      padding: 0.75rem 1.15rem;
      min-height: 44px;
      touch-action: manipulation;
      border-radius: var(--radius-full);
      font-family: var(--font-sans);
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text-secondary);
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(24, 37, 32, 0.03);
      transition: all var(--transition-fast);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .tab-btn:hover {
      border-color: var(--secondary);
      background: #FFFFFF;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(44, 83, 70, 0.12);
      color: var(--primary-dark);
    }

    .tab-btn.active {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      color: white;
      border-color: var(--primary-dark);
      box-shadow: 0 8px 20px -4px rgba(107, 82, 66, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--warning);
    }

    .tab-btn.active .status-dot {
      background: #FFD54F;
    }

    .tab-btn.signed .status-dot {
      background: var(--success);
    }

    .tab-btn.signed.active .status-dot {
      background: #A5D6A7;
    }

    @media (min-width: 1024px) {
      .tabs-container {
        overflow: visible;
        padding-bottom: 0;
      }

      .tabs-list {
        flex-direction: column;
      }

      .tab-btn {
        border-radius: var(--radius-md);
        justify-content: flex-start;
        padding: 1rem;
      }
    }

    /* Document Pages */
    .doc-page {
      display: none;
      background: #FFFFFF;
      padding: clamp(1.75rem, 4vw, 3rem);
      border-radius: var(--radius-xl);
      box-shadow: 0 20px 50px -12px rgba(24, 37, 32, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
      border: 1px solid rgba(189, 110, 74, 0.35);
      animation: fadeIn 0.3s ease;
      position: relative;
    }

    .doc-page.active {
      display: block;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .doc-header {
      border-bottom: 2px solid var(--border);
      padding-bottom: 1.5rem;
      margin-bottom: 2rem;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .doc-meta {
      font-size: 0.875rem;
      color: var(--primary);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 0.5rem;
      display: block;
    }

    .badge {
      padding: 0.35rem 0.85rem;
      border-radius: var(--radius-full);
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .badge.pending {
      background: var(--warning-bg);
      color: var(--warning);
      border: 1px solid rgba(230, 81, 0, 0.2);
    }

    .badge.signed {
      background: var(--success-bg);
      color: var(--success);
      border: 1px solid rgba(46, 125, 50, 0.2);
    }

    .legal-text {
      font-size: 0.9375rem;
      color: var(--text);
    }

    .legal-text p {
      margin-bottom: 1.25rem;
    }

    .legal-text ul {
      margin-left: 1.5rem;
      margin-bottom: 1.25rem;
      color: var(--text-secondary);
    }

    .legal-text li {
      margin-bottom: 0.5rem;
    }

    /* Signature Area */
    .signature-section {
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px dashed var(--border);
    }

    .sig-pad-wrapper {
      position: relative;
      width: 100%;
      max-width: 520px;
      height: 160px;
      border: 1.5px solid rgba(189, 110, 74, 0.4);
      border-radius: var(--radius-md);
      background: #FAF7F4;
      overflow: hidden;
      margin-bottom: 1rem;
      box-shadow: 0 4px 12px rgba(24, 37, 32, 0.04) inset;
      transition: all var(--transition-fast);
      touch-action: none !important;
      -webkit-user-select: none !important;
      user-select: none !important;
      -webkit-touch-callout: none !important;
      overscroll-behavior: none !important;
    }

    .sig-pad-wrapper:hover,
    .sig-pad-wrapper:focus-within {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(189, 110, 74, 0.15), 0 4px 12px rgba(24, 37, 32, 0.04) inset;
    }

    .sig-canvas {
      width: 100%;
      height: 100%;
      cursor: crosshair;
      touch-action: none !important;
      position: relative;
      z-index: 2;
      -webkit-user-select: none !important;
      user-select: none !important;
      -webkit-touch-callout: none !important;
      overscroll-behavior: none !important;
    }

    .sig-placeholder {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-family: var(--font-accent);
      color: #A89F91;
      font-size: 1.25rem;
      pointer-events: none;
      z-index: 1;
      transition: opacity 0.2s;
      white-space: nowrap;
    }

    .sig-line {
      position: absolute;
      bottom: 30px;
      left: 10%;
      right: 10%;
      height: 1px;
      background: rgba(189, 110, 74, 0.35);
      pointer-events: none;
      z-index: 1;
    }

    .sig-actions {
      display: flex;
      gap: 0.65rem;
      flex-wrap: wrap;
    }

    .btn {
      padding: 0.75rem 1.4rem;
      border-radius: var(--radius-md);
      font-family: var(--font-sans);
      font-size: 0.875rem;
      font-weight: 500;
      cursor: pointer;
      transition: all var(--transition-fast);
      border: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 6px rgba(24, 37, 32, 0.05);
      position: relative;
      overflow: hidden;
    }

    /* BUTTON DIRECTIONAL SLIDE-OVER SHEEN */
    .btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -130%;
      width: 75%;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.28),
        transparent
      );
      transform: skewX(-25deg);
      pointer-events: none;
      z-index: 1;
      transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn:hover::before {
      left: 150%;
    }

    .btn > * {
      position: relative;
      z-index: 2;
    }

    .btn-outline {
      background: #FFFFFF;
      border: 1px solid rgba(189, 110, 74, 0.4);
      color: var(--text);
    }

    .btn-outline:hover {
      background: var(--background);
      border-color: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(44, 83, 70, 0.12);
    }

    .btn-primary {
      background: linear-gradient(145deg, #376555, var(--primary));
      color: #FFFFFF !important;
      border: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: 0 4px 14px rgba(44, 83, 70, 0.28), 0 1px 3px rgba(0, 0, 0, 0.08);
      font-weight: 600;
    }

    .btn-primary:hover,
    a.btn-primary:hover,
    button.btn-primary:hover {
      background: linear-gradient(145deg, var(--primary), var(--primary-dark));
      transform: translateY(-3px) scale(1.015);
      box-shadow: 0 12px 28px rgba(44, 83, 70, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12);
      color: #FFFFFF !important;
      text-decoration: none;
    }

    .btn-primary:active,
    a.btn-primary:active,
    button.btn-primary:active {
      transform: translateY(-1px) scale(0.99);
      box-shadow: 0 6px 16px rgba(44, 83, 70, 0.3);
      color: #FFFFFF !important;
    }

    .btn-dark {
      background: linear-gradient(135deg, #242019 0%, #151210 100%);
      color: white;
      box-shadow: 0 6px 18px -3px rgba(28, 24, 22, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .btn-dark:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 24px -3px rgba(28, 24, 22, 0.5);
    }

    /* ACETERNITY UI 3D DEPTH-TILT & DIRECTIONAL SLIDE-OVER CARDS */
    .aceternity-card,
    .client-info-card,
    .click-option-card {
      transform-style: preserve-3d;
      perspective: 1200px;
      will-change: transform;
      position: relative;
    }

    /* DIRECTIONAL SLIDE-OVER OVERLAY (Hover.css & Aceternity UI) */
    .directional-slide-card {
      position: relative;
      overflow: hidden;
    }

    .directional-slide-card .card-slide-overlay {
      position: absolute;
      top: -60%;
      left: -60%;
      width: 220%;
      height: 220%;
      background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 38%,
        rgba(255, 255, 255, 0.14) 47%,
        rgba(189, 110, 74, 0.26) 52%,
        transparent 60%,
        transparent 100%
      );
      transform: translate3d(-100%, -100%, 0) rotate(22deg);
      pointer-events: none;
      z-index: 2;
      transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
      opacity: 0;
    }

    .directional-slide-card:hover .card-slide-overlay {
      transform: translate3d(50%, 50%, 0) rotate(22deg);
      opacity: 1;
    }

    /* ACETERNITY DYNAMIC SPECULAR GLARE */
    .aceternity-glare {
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(
        450px circle at var(--glare-x, 50%) var(--glare-y, 50%),
        rgba(255, 255, 255, 0.18),
        transparent 65%
      );
      opacity: var(--glare-opacity, 0);
      transition: opacity 0.35s ease;
      pointer-events: none;
      z-index: 3;
    }

    @media (prefers-reduced-motion: reduce) {
      .aceternity-card,
      .client-info-card,
      .click-option-card {
        transform: none !important;
        transition: none !important;
      }
      .card-slide-overlay,
      .aceternity-glare,
      .btn::before {
        display: none !important;
      }
    }

    /* Signed Seal */
    .signed-seal {
      display: none;
      background: linear-gradient(135deg, rgba(253, 251, 249, 0.98), rgba(243, 237, 232, 0.85));
      border: 1.5px solid rgba(189, 110, 74, 0.65);
      border-radius: var(--radius-lg);
      padding: 1.75rem;
      margin-top: 1.25rem;
      position: relative;
      overflow: hidden;
      box-shadow: 0 12px 30px -6px rgba(189, 110, 74, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .signed-seal.active {
      display: block;
      animation: fadeIn 0.4s ease;
    }

    .seal-badge {
      font-family: var(--font-serif);
      font-size: 1.15rem;
      color: var(--success);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.5rem;
    }

    .seal-meta {
      font-family: monospace;
      font-size: 0.78rem;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    .seal-bg {
      position: absolute;
      right: -20px;
      bottom: -20px;
      opacity: 0.06;
      font-size: 8rem;
      color: var(--secondary);
      pointer-events: none;
      user-select: none;
    }

    /* Form Grids */
    .form-grid-2 {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    @media (min-width: 640px) {
      .form-grid-2 {
        grid-template-columns: 1fr 1fr;
      }
    }

    .checkbox-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.6rem;
      margin-bottom: 1.25rem;
    }

    @media (min-width: 640px) {
      .checkbox-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (min-width: 900px) {
      .checkbox-grid {
        grid-template-columns: 1fr 1fr 1fr;
      }
    }

    /* RICH CLICK-BASED CONTROLS (85-90% Click-Only Experience) */
    .form-section-header {
      margin-top: 2.25rem;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid var(--border);
    }

    .form-section-header h3 {
      margin: 0 0 0.25rem 0;
      font-size: 1.15rem;
      font-family: var(--font-serif);
      color: var(--dark);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .form-section-header p {
      font-size: 0.84rem;
      color: var(--text-secondary);
      margin: 0;
    }

    .click-option-card {
      background: var(--surface);
      border: 1px solid rgba(189, 110, 74, 0.3);
      border-radius: var(--radius-md);
      padding: 1rem 1.25rem;
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 0.35rem 0.65rem;
      cursor: pointer;
      transition: all var(--transition-fast);
      position: relative;
      box-shadow: 0 1px 4px rgba(24, 37, 32, 0.02);
    }

    .click-option-card:hover {
      border-color: var(--secondary);
      background: #FFFFFF;
      transform: translateY(-2px);
      box-shadow: 0 8px 18px -4px rgba(44, 83, 70, 0.12);
    }

    .click-option-card:has(input:checked) {
      border-color: var(--primary);
      background: rgba(44, 83, 70, 0.06);
      box-shadow: 0 0 0 1.5px var(--primary), 0 4px 12px rgba(44, 83, 70, 0.08);
    }

    .click-option-card input[type="radio"],
    .click-option-card input[type="checkbox"] {
      margin-top: 0.2rem;
      accent-color: var(--primary);
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      cursor: pointer;
    }

    .click-option-card>strong {
      flex: 1 1 calc(100% - 32px);
      font-weight: 600;
      font-size: 0.92rem;
      color: var(--text);
      line-height: 1.35;
      margin: 0;
    }

    .click-option-card>span {
      width: 100%;
      padding-left: calc(18px + 0.65rem);
      font-size: 0.8rem;
      color: var(--text-secondary);
      line-height: 1.4;
      display: block;
    }

    .click-option-card .opt-content {
      flex: 1;
    }

    .click-option-card .opt-title {
      font-weight: 600;
      font-size: 0.92rem;
      color: var(--text);
      display: block;
      margin-bottom: 0.2rem;
    }

    .click-option-card .opt-desc {
      font-size: 0.8rem;
      color: var(--text-secondary);
      line-height: 1.4;
      margin: 0;
    }

    .cards-grid-2 {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.85rem;
      margin-bottom: 1.25rem;
    }

    @media (min-width: 640px) {
      .cards-grid-2 {
        grid-template-columns: 1fr 1fr;
      }
    }

    .cards-grid-3 {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.85rem;
      margin-bottom: 1.25rem;
    }

    @media (min-width: 768px) {
      .cards-grid-3 {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    /* Clickable Pill / Chip Selectors */
    .chip-selector-group {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.25rem;
    }

    .chip-item {
      display: inline-flex;
      align-items: center;
      cursor: pointer;
    }

    .chip-item input {
      display: none;
    }

    .chip-item span {
      display: inline-block;
      padding: 0.5rem 1.15rem;
      border: 1px solid var(--border);
      border-radius: var(--radius-full);
      font-size: 0.85rem;
      font-weight: 500;
      background: var(--surface);
      color: var(--text);
      transition: all var(--transition-fast);
      user-select: none;
    }

    .chip-item:hover span {
      border-color: var(--primary);
      background: var(--primary-light);
    }

    .chip-item input:checked+span {
      background: var(--primary);
      border-color: var(--primary);
      color: #FFFFFF;
      box-shadow: 0 2px 8px rgba(44, 83, 70, 0.25);
    }

    /* Checkbox Card Pill */
    .check-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 0.75rem 1rem;
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 0.35rem 0.65rem;
      cursor: pointer;
      transition: all var(--transition-fast);
      font-size: 0.86rem;
      color: var(--text);
      line-height: 1.4;
    }

    .check-card:hover {
      border-color: var(--primary);
      background: var(--primary-light);
    }

    .check-card:has(input:checked) {
      border-color: var(--primary);
      background: rgba(44, 83, 70, 0.05);
      box-shadow: 0 0 0 1px var(--primary);
    }

    .check-card input[type="checkbox"],
    .check-card input[type="radio"] {
      margin-top: 0.2rem;
      accent-color: var(--primary);
      flex-shrink: 0;
      width: 16px;
      height: 16px;
      cursor: pointer;
    }

    .check-card>strong {
      flex: 1 1 calc(100% - 30px);
      font-weight: 600;
      font-size: 0.88rem;
      color: var(--text);
      line-height: 1.35;
      margin: 0;
    }

    .check-card>span {
      width: 100%;
      padding-left: calc(16px + 0.65rem);
      font-size: 0.78rem;
      color: var(--text-secondary);
      line-height: 1.35;
      display: block;
    }

    /* Touch Matrix Table */
    .touch-matrix-table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 1.5rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      font-size: 0.86rem;
    }

    .touch-matrix-table th {
      background: var(--primary-light);
      color: var(--primary-dark);
      padding: 0.75rem 1rem;
      font-weight: 600;
      text-align: left;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .touch-matrix-table td {
      padding: 0.75rem 1rem;
      border-bottom: 1px solid var(--border);
      vertical-align: middle;
    }

    .touch-matrix-table tr:last-child td {
      border-bottom: none;
    }

    .touch-matrix-table tr:hover td {
      background: rgba(44, 83, 70, 0.03);
    }

    .matrix-radio-group {
      display: flex;
      gap: 0.85rem;
      flex-wrap: wrap;
    }

    .matrix-radio-label {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      cursor: pointer;
      font-size: 0.8rem;
      color: var(--text);
    }

    .matrix-radio-label input {
      accent-color: var(--primary);
    }

    /* Mobile Responsive Card Layout for Touch Matrix (< 640px) */
    @media (max-width: 640px) {
      .touch-matrix-table {
        display: block;
        border: none;
        background: transparent;
        border-radius: 0;
        overflow: visible;
        margin-bottom: 1.25rem;
      }
      .touch-matrix-table thead {
        display: none;
      }
      .touch-matrix-table tbody {
        display: block;
      }
      .touch-matrix-table tr {
        display: block;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 0.85rem 1rem;
        margin-bottom: 0.75rem;
        box-shadow: 0 2px 6px rgba(24, 37, 32, 0.03);
      }
      .touch-matrix-table td {
        display: block;
        padding: 0;
        border: none;
      }
      .touch-matrix-table td:first-child {
        font-size: 0.85rem;
        line-height: 1.45;
        margin-bottom: 0.65rem;
        color: var(--text);
      }
      .matrix-radio-group {
        display: flex;
        gap: 0.45rem;
        flex-wrap: wrap;
        background: var(--background);
        padding: 0.45rem 0.6rem;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(189, 110, 74, 0.3);
      }
      .matrix-radio-label {
        font-size: 0.76rem;
        padding: 0.25rem 0.45rem;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid var(--border);
        min-height: 30px;
      }
    }

    /* Heirloom Certificate */
    .certificate {
      margin-top: 4rem;
      padding: 3.5rem 2.5rem;
      background: #FFFFFF;
      border: 2px solid rgba(189, 110, 74, 0.55);
      border-radius: var(--radius-xl);
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 25px 60px -15px rgba(24, 37, 32, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    }

    .certificate::before {
      content: '';
      position: absolute;
      top: 14px;
      left: 14px;
      right: 14px;
      bottom: 14px;
      border: 1px solid rgba(189, 110, 74, 0.35);
      pointer-events: none;
      border-radius: calc(var(--radius-xl) - 8px);
    }

    .cert-title {
      font-family: var(--font-serif);
      font-size: 1.85rem;
      color: var(--primary);
      margin-bottom: 1.5rem;
    }

    .cert-body {
      font-family: var(--font-accent);
      font-size: 1.3rem;
      color: var(--text);
      line-height: 1.8;
    }

    .cert-names {
      font-size: 1.6rem;
      font-weight: 600;
      color: var(--dark);
      display: block;
      margin: 1rem 0;
      border-bottom: 1px solid var(--secondary);
      padding-bottom: 0.5rem;
    }

    /* Action Banner */
    .action-banner {
      background: linear-gradient(145deg, #242019 0%, #151210 100%);
      color: white;
      padding: 2.5rem 1.5rem;
      text-align: center;
      margin-top: 3rem;
      border-top: 1px solid rgba(189, 110, 74, 0.3);
    }

    .action-banner h2 {
      color: white;
      margin-bottom: 1.5rem;
      font-family: var(--font-serif);
      font-size: 1.45rem;
      font-weight: 400;
    }

    .banner-actions {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-banner-outline,
    .action-banner .banner-actions .btn-outline {
      background: rgba(255, 255, 255, 0.08);
      border: 1.5px solid rgba(189, 110, 74, 0.6);
      color: #FFFFFF !important;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
      transition: all var(--transition-fast);
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-banner-outline:hover,
    .action-banner .banner-actions .btn-outline:hover {
      background: rgba(189, 110, 74, 0.25);
      border-color: #FFFFFF;
      color: #FFFFFF !important;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    /* Modal */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 3000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      opacity: 0;
      transition: opacity 0.3s ease;
      overscroll-behavior: contain;
    }

    .modal-overlay.active {
      display: flex;
      opacity: 1;
    }

    .modal-content {
      background: #FFFFFF;
      border-radius: var(--radius-xl);
      border: 1px solid rgba(189, 110, 74, 0.4);
      width: 100%;
      max-width: 620px;
      max-height: 88vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y;
      overscroll-behavior: contain;
      padding: 2.25rem;
      box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.35);
      transform: translateY(20px);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .modal-overlay.active .modal-content {
      transform: translateY(0);
    }

    body.modal-open {
      overflow: hidden !important;
    }

    body.modal-open .mobile-sticky-cta,
    body.modal-open .mobile-bottom-nav,
    body.modal-open #mobile-bottom-nav {
      display: none !important;
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
    }

    .modal-title {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      color: var(--dark);
      margin: 0;
    }

    .modal-close {
      background: rgba(0, 0, 0, 0.05);
      border: none;
      font-size: 1.5rem;
      line-height: 1;
      cursor: pointer;
      color: var(--text-secondary);
      width: 44px;
      height: 44px;
      min-width: 44px;
      min-height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, color 0.2s, transform 0.2s;
    }
    .modal-close:hover {
      background: rgba(0, 0, 0, 0.1);
      color: var(--dark);
      transform: scale(1.05);
    }

    .summary-box {
      background: var(--background);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 1rem;
      font-family: monospace;
      font-size: 0.875rem;
      white-space: pre-wrap;
      margin-bottom: 1.5rem;
      max-height: 300px;
      overflow-y: auto;
    }

    .modal-actions {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    /* Soundscape Toggle in Header */
    .sound-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background-color: var(--primary-light);
      color: var(--primary-dark);
      transition: all var(--transition-fast);
      cursor: pointer;
      border: 1px solid rgba(44, 83, 70, 0.2);
    }

    .sound-toggle:hover {
      background-color: var(--border);
      transform: scale(1.05);
    }

    .sound-toggle svg {
      width: 18px;
      height: 18px;
      transition: transform var(--transition-fast);
    }

    .sound-toggle.playing {
      background-color: var(--primary);
      color: #FFFFFF;
      border-color: var(--primary);
      animation: pulse-ring 2s infinite;
    }

    .sound-toggle.playing svg {
      transform: scale(1.08);
    }

    @keyframes pulse-ring {
      0% {
        box-shadow: 0 0 0 0 rgba(44, 83, 70, 0.6);
      }

      70% {
        box-shadow: 0 0 0 10px rgba(44, 83, 70, 0);
      }

      100% {
        box-shadow: 0 0 0 0 rgba(44, 83, 70, 0);
      }
    }

    /* ==========================================================================
       PRINT STYLES — ZERO EXTRA WHITE PAGES GUARANTEED
       ========================================================================== */
    @page {
      margin: 1.2cm 1cm;
      size: A4 portrait;
    }

    @media print {

      /* Reset root & body */
      html,
      body {
        background: #FFFFFF !important;
        color: #1A1614 !important;
        font-size: 11pt !important;
        line-height: 1.5 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
      }

      /* Hide all non-printable components */
      .portal-header,
      .progress-container,
      .sidebar,
      aside,
      .tabs-container,
      .sig-actions,
      .sig-placeholder,
      .action-banner,
      .header,
      .mobile-bottom-nav,
      #mobile-bottom-nav,
      .footer,
      footer,
      audio,
      #ambientAudio,
      .mobile-drawer,
      .drawer-backdrop,
      .scroll-progress-container,
      .modal-overlay,
      .sound-toggle,
      #youtube-audio-host,
      .btn,
      button,
      .no-print {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
      }

      /* Clean page-break prevention for form blocks */
      .form-section,
      .form-section-header,
      .form-row,
      .touch-matrix-table,
      .signature-section,
      .signed-seal {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
      }

      /* Layout reset */
      .layout,
      .main-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
        border: none !important;
      }

      /* Base doc-page in print */
      .doc-page {
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
      }

      /* DEFAULT OR SINGLE-PAGE PRINT: Only show the current active document */
      body:not(.print-all):not(.print-cert) .doc-page {
        display: none !important;
      }

      body:not(.print-all):not(.print-cert) .doc-page.active {
        display: block !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
      }

      body:not(.print-all):not(.print-cert) .certificate {
        display: none !important;
      }

      /* MULTI-PAGE PRINT (when user clicks 'Print All 6 Documents') */
      body.print-all .doc-page {
        display: block !important;
        margin: 0 !important;
        padding: 0 0 1cm 0 !important;
      }

      body.print-all .doc-page+.doc-page {
        page-break-before: always !important;
        break-before: page !important;
      }

      body.print-all .certificate {
        display: block !important;
        page-break-before: always !important;
        break-before: page !important;
      }

      /* CERTIFICATE ONLY PRINT */
      body.print-cert .doc-page {
        display: none !important;
      }

      body.print-cert .certificate {
        display: block !important;
        margin: 0 !important;
        padding: 2cm !important;
      }

      /* Headers & Typography */
      .doc-header {
        margin-bottom: 0.8cm !important;
        padding-bottom: 0.4cm !important;
        border-bottom: 1.5pt solid #2C5346 !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
      }

      h1,
      h2,
      h3,
      h4 {
        color: #1A1614 !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
      }

      .badge {
        border: 1px solid #2C5346 !important;
        padding: 2px 8px !important;
        font-size: 8pt !important;
      }

      /* Form inputs in print */
      .form-control,
      input,
      select,
      textarea {
        border: 1px solid #999 !important;
        background: #FFFFFF !important;
        color: #000000 !important;
        box-shadow: none !important;
        font-size: 10pt !important;
      }

      /* Signatures in print */
      .signature-section {
        margin-top: 1cm !important;
        padding-top: 0.5cm !important;
        border-top: 1pt dashed #CCC !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
      }

      .sig-pad-wrapper {
        border: none !important;
        background: transparent !important;
        height: auto !important;
        max-width: 320px !important;
        margin-bottom: 0.3cm !important;
      }

      .sig-canvas {
        display: block !important;
        width: 280px !important;
        height: 80px !important;
        border-bottom: 1pt solid #1A1614 !important;
      }

      .signed-seal {
        display: block !important;
        border: 1pt solid #BD6E4A !important;
        padding: 0.4cm 0.6cm !important;
        margin-top: 0.3cm !important;
        background: #FAF8F6 !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
      }

      .signed-seal:not(.active) {
        display: none !important;
      }

      /* Certificate */
      .certificate {
        box-shadow: none !important;
        border: 2pt solid #2C5346 !important;
        padding: 1.5cm !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
      }
    }
  
        /* ==========================================================================
           UNIVERSAL DEVICE RESPONSIVENESS ENHANCEMENTS (320px - 1440px+)
           ========================================================================== */
        html, body {
            max-width: 100vw;
            overflow-x: hidden;
        }

        img, svg, video, canvas, iframe {
            max-width: 100%;
            box-sizing: border-box;
        }

        /* Narrow mobile phones (320px - 480px) */
        @media (max-width: 480px) {
            .container {
                padding-left: 1rem !important;
                padding-right: 1rem !important;
            }
            .section {
                padding: 3.5rem 0 !important;
            }
            h1, .hero h1 {
                font-size: clamp(2rem, 7.5vw, 2.5rem) !important;
                line-height: 1.18 !important;
                letter-spacing: -0.02em !important;
            }
            h2, .section-header h2 {
                font-size: clamp(1.6rem, 6vw, 2.1rem) !important;
                line-height: 1.22 !important;
            }
            .page-hero {
                padding: 5.5rem 1rem 2.25rem !important;
            }
            .page-hero-title {
                font-size: clamp(1.75rem, 6.5vw, 2.25rem) !important;
                line-height: 1.2 !important;
            }
            .page-hero-subtitle {
                font-size: 1rem !important;
                line-height: 1.6 !important;
            }
            .page-hero-actions {
                flex-direction: column !important;
                align-items: stretch !important;
                width: 100% !important;
            }
            .page-hero-actions .btn {
                width: 100% !important;
            }
            .hero-actions {
                flex-direction: column !important;
                align-items: stretch !important;
                width: 100% !important;
                gap: 0.75rem !important;
            }
            .hero-actions .btn {
                width: 100% !important;
            }
            .banner-actions {
                flex-direction: column !important;
                align-items: stretch !important;
                width: 100% !important;
                gap: 0.75rem !important;
            }
            .banner-actions .btn {
                width: 100% !important;
            }
            .footer-grid {
                grid-template-columns: 1fr !important;
                gap: 2.25rem !important;
            }
            .footer-bottom {
                flex-direction: column !important;
                gap: 1rem !important;
                text-align: center !important;
            }
            .footer-legal-links {
                flex-wrap: wrap !important;
                justify-content: center !important;
                gap: 0.75rem !important;
            }
            .doula-experience-pill {
                bottom: 1rem !important;
                right: 0.75rem !important;
                padding: 0.5rem 0.85rem !important;
            }
            .exp-num {
                font-size: 1.15rem !important;
            }
            .exp-label {
                font-size: 0.68rem !important;
            }
        }

        /* Prevent iOS Safari unwanted auto-zoom on form inputs */
        @media (max-width: 768px) {
            input, select, textarea, .form-control {
                font-size: 16px !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
            }
        }

        /* Header scaling on extra small mobile screens (320px - 380px) */
        @media (max-width: 380px) {
            .logo {
                font-size: 1.15rem !important;
            }
            .sound-toggle {
                width: 36px !important;
                height: 36px !important;
            }
            .hamburger {
                width: 38px !important;
                height: 38px !important;
            }
        }

        /* Breathing circle scaling on ultra-narrow screens */
        @media (max-width: 360px) {
            .circle-container {
                width: 240px !important;
                height: 240px !important;
            }
            .breathe-ripple-1 {
                width: 190px !important;
                height: 190px !important;
            }
            .breathe-ripple-2 {
                width: 240px !important;
                height: 240px !important;
            }
            .breathe-circle {
                width: 100px !important;
                height: 100px !important;
            }
            .breathe-circle-inner {
                width: 88px !important;
                height: 88px !important;
            }
            #breathe-text {
                font-size: 1.1rem !important;
            }
        }

        /* Credentials Grid styling */
        .credentials-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.85rem;
            margin-top: 1.5rem;
        }
        @media (min-width: 480px) {
            .credentials-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        .credential-item {
            background-color: var(--surface);
            border: 1px solid rgba(189, 110, 74, 0.35);
            padding: 0.85rem 1.15rem;
            border-radius: var(--radius-md);
            box-shadow: 0 2px 8px rgba(24, 37, 32, 0.04);
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
            transition: all var(--transition-fast);
        }
        .credential-item:hover {
            border-color: var(--secondary);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(44, 83, 70, 0.1);
        }
        .cred-title {
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--primary-dark);
            letter-spacing: 0.02em;
        }
        .cred-desc {
            font-size: 0.82rem;
            color: var(--text-secondary);
        }


        /* PORTAL MOBILE OPTIMIZATIONS (Smartphones & Tablets) */
        @media (max-width: 768px) {
            .progress-container {
                padding: 0.75rem 1rem !important;
            }
            .layout {
                padding: 1rem !important;
                gap: 1.5rem !important;
            }
            .client-info-card {
                padding: 1.25rem 1rem !important;
            }
            .doc-header {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 0.75rem !important;
            }
            .legal-text {
                font-size: 0.92rem !important;
                line-height: 1.65 !important;
            }
            .sig-pad-wrapper {
                max-width: 100% !important;
                height: 150px !important;
            }
            .sig-actions {
                flex-direction: column !important;
                gap: 0.5rem !important;
            }
            .sig-actions .btn {
                width: 100% !important;
                text-align: center !important;
            }
            .cert-card {
                padding: 1.5rem 1rem !important;
            }
            .cert-title {
                font-size: 1.4rem !important;
            }
            .cert-names {
                font-size: 1.25rem !important;
                word-break: break-word !important;
            }
            .cert-body {
                font-size: 1.05rem !important;
            }
        }

        /* Transform touch matrix table to responsive cards on mobile */
        @media (max-width: 640px) {
            .touch-matrix-table {
                display: block !important;
                width: 100% !important;
                border: none !important;
                background: transparent !important;
            }
            .touch-matrix-table thead {
                display: none !important;
            }
            .touch-matrix-table tbody {
                display: flex !important;
                flex-direction: column !important;
                gap: 0.85rem !important;
            }
            .touch-matrix-table tr {
                display: flex !important;
                flex-direction: column !important;
                gap: 0.65rem !important;
                background: var(--surface) !important;
                border: 1px solid var(--border) !important;
                border-radius: var(--radius-md) !important;
                padding: 1rem !important;
            }
            .touch-matrix-table td {
                display: block !important;
                padding: 0 !important;
                border: none !important;
            }
            .matrix-radio-group {
                display: flex !important;
                flex-wrap: wrap !important;
                gap: 0.4rem !important;
                justify-content: flex-start !important;
            }
            .modal-content {
                width: 94vw !important;
                padding: 1.25rem 1rem !important;
                max-height: 85vh !important;
            }
            .modal-actions {
                flex-direction: column !important;
            }
            .modal-actions .btn {
                width: 100% !important;
            }
        }

    
        /* SMART MOBILE STICKY CTA - AUTO-HIDES AT FOOTER TO PREVENT OVERLAP */
        .mobile-sticky-cta {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(253, 251, 249, 0.94);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-top: 1px solid var(--border);
            padding: 0.6rem 1.25rem;
            padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
            z-index: 950;
            box-shadow: 0 -4px 20px rgba(24, 37, 32, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translateY(0);
            opacity: 1;
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        }

        .mobile-sticky-cta.hidden,
        .mobile-sticky-cta.cta-hidden {
            transform: translateY(125%) !important;
            opacity: 0 !important;
            pointer-events: none !important;
        }

        @media (min-width: 769px) {
            .mobile-sticky-cta {
                display: none !important;
            }
        }

        body.menu-open .mobile-sticky-cta {
            display: none !important;
        }

        .btn-sticky {
            width: 100%;
            max-width: 440px;
            padding: 0.75rem 1.5rem;
            font-size: 0.92rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            box-shadow: 0 4px 14px rgba(44, 83, 70, 0.3);
        }

        @media (max-width: 768px) {
            .footer, footer {
                padding-bottom: 5.5rem !important;
            }
        }

        /* COOKIE BANNER */
        .cookie-banner {
            position: fixed;
            bottom: 20px;
            right: 20px;
            max-width: 420px;
            background: #FFFFFF;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            box-shadow: 0 12px 36px rgba(24, 37, 32, 0.15);
            padding: 1.25rem 1.5rem;
            z-index: 2500;
            display: none;
            transform: translateY(100px);
            opacity: 0;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
        }

        .cookie-banner.show {
            display: block;
            transform: translateY(0);
            opacity: 1;
        }

        @media (max-width: 480px) {
            .cookie-banner {
                bottom: 80px;
                left: 15px;
                right: 15px;
                max-width: calc(100% - 30px);
            }
        }

        .cookie-text {
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
            line-height: 1.5;
        }

        .cookie-link {
            color: var(--primary);
            text-decoration: underline;
        }

        .cookie-actions {
            display: flex;
            gap: 0.75rem;
        }

        .cookie-btn {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
            font-weight: 600;
            border-radius: var(--radius-full);
            cursor: pointer;
            border: 1px solid transparent;
            transition: all var(--transition-fast);
        }

        .cookie-accept {
            background: var(--primary);
            color: #FFFFFF;
            flex: 1;
        }

        .cookie-accept:hover {
            background: var(--primary-dark);
        }

        .cookie-decline {
            background: transparent;
            border-color: var(--border);
            color: var(--text);
        }

        .cookie-decline:hover {
            background: var(--primary-light);
        }

        /* LOADING SPINNER & ERROR STATES */
        .btn-spinner {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.35);
            border-top-color: #FFFFFF;
            border-radius: 50%;
            animation: btnSpin 0.7s linear infinite;
            vertical-align: middle;
            margin-right: 8px;
        }

        @keyframes btnSpin {
            to { transform: rotate(360deg); }
        }

        .input-error {
            border-color: #C0392B !important;
            background-color: #FDF4F4 !important;
        }

        .field-error-msg {
            color: #C0392B;
            font-size: 0.82rem;
            font-weight: 500;
            margin-top: 4px;
            display: block;
        }

            /* FOOTER */
        .footer {
            background-color: var(--dark);
            color: #FDFBF9;
            padding: 4.5rem 0 2rem;
            border-top: 1px solid rgba(237, 231, 225, 0.1);
            margin-top: 5rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2.5rem;
            margin-bottom: 3.5rem;
        }

        @media (min-width: 768px) {
            .footer-grid {
                grid-template-columns: 2fr 1fr 1fr 1.5fr;
                gap: 2rem;
            }
        }

        .footer .logo {
            color: #FFFFFF;
            margin-bottom: 1rem;
        }

        .footer-tagline {
            color: #A0948C;
            font-size: 0.925rem;
            max-width: 320px;
        }

        .footer-heading {
            font-family: var(--font-serif);
            font-size: 1.15rem;
            margin-bottom: 1.25rem;
            color: #FFFFFF;
        }

        .footer-links ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-links a {
            color: #A0948C;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color var(--transition-fast);
        }

        .footer-links a:hover {
            color: var(--secondary);
        }

        .footer-contact p {
            color: #A0948C;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .footer-phone, .footer-email {
            display: block;
            color: #FFFFFF;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            margin-bottom: 0.4rem;
        }

        .footer-phone:hover, .footer-email:hover {
            color: var(--secondary);
        }

        .footer-bottom {
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-direction: column;
            gap: 1rem;
            font-size: 0.85rem;
            color: #7A6E66;
        }

        @media (min-width: 768px) {
            .footer-bottom {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
        }

        .footer-legal {
            display: flex;
            gap: 1.5rem;
        }

        .footer-legal a {
            color: #7A6E66;
            text-decoration: none;
        }

        .footer-legal a:hover {
            color: #A0948C;
        }

/* ==========================================================================
   LEGAL & EDITORIAL PAGES STYLES (privacy.html & terms.html)
   ========================================================================== */
.legal-hero {
            padding-top: 155px;
            padding-bottom: 60px;
            background: linear-gradient(180deg, rgba(243, 237, 232, 0.7) 0%, var(--background) 100%);
            border-bottom: 1px solid var(--border);
            text-align: center;
        }

        .legal-hero-container {
            max-width: 860px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .badge-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.35rem 1rem;
            border-radius: var(--radius-full);
            font-size: 0.82rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            background: rgba(44, 83, 70, 0.1);
            color: var(--primary-dark);
            margin-bottom: 1.25rem;
            border: 1px solid rgba(189, 110, 74, 0.35);
        }

        .legal-hero h1 {
            font-family: var(--font-serif);
            font-size: clamp(2.2rem, 4vw, 3.2rem);
            font-weight: 400;
            line-height: 1.2;
            color: var(--dark);
            margin-bottom: 1rem;
        }

        .legal-hero p {
            color: var(--text-secondary);
            font-size: 1.08rem;
            max-width: 680px;
            margin: 0 auto 1.5rem auto;
        }

        .meta-strip {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            font-size: 0.88rem;
            color: var(--text-secondary);
        }

        .meta-item {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }

        /* MAIN CONTENT LAYOUT */
        .legal-layout {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 1.5rem 6rem 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 3rem;
        }

        @media (min-width: 1024px) {
            .legal-layout {
                flex-direction: row;
                align-items: flex-start;
            }

            .legal-sidebar {
                width: 320px;
                flex-shrink: 0;
                position: sticky;
                top: 100px;
            }

            .legal-body {
                flex-grow: 1;
                min-width: 0;
            }
        }

        /* TABLE OF CONTENTS SIDEBAR */
        .toc-card {
            background: var(--surface);
            border-radius: var(--radius-xl);
            padding: 2rem 1.75rem;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-md);
        }

        .toc-title {
            font-family: var(--font-sans);
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--primary-dark);
            margin-bottom: 1.25rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--border);
        }

        .toc-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .toc-list a {
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.4;
            transition: color var(--transition-fast), padding-left var(--transition-fast);
            display: block;
        }

        .toc-list a:hover {
            color: var(--primary);
            padding-left: 4px;
        }

        .toc-help-box {
            margin-top: 2rem;
            padding: 1.25rem;
            background: var(--primary-light);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(189, 110, 74, 0.4);
            font-size: 0.85rem;
        }

        .toc-help-box h4 {
            font-family: var(--font-serif);
            color: var(--dark);
            margin-bottom: 0.5rem;
            font-size: 1.05rem;
        }

        .toc-help-box a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
        }

        /* LEGAL BODY STYLING */
        .legal-section {
            background: var(--surface);
            border-radius: var(--radius-xl);
            padding: 2.75rem 2.25rem;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
            margin-bottom: 2rem;
            scroll-margin-top: 100px;
        }

        .legal-section h2 {
            font-family: var(--font-serif);
            font-size: 1.85rem;
            font-weight: 500;
            color: var(--dark);
            margin-bottom: 1.25rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(189, 110, 74, 0.25);
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .legal-section h2 .sec-num {
            font-family: var(--font-sans);
            font-size: 1rem;
            font-weight: 700;
            color: var(--secondary);
            background: rgba(189, 110, 74, 0.15);
            padding: 0.25rem 0.65rem;
            border-radius: var(--radius-sm);
        }

        .legal-section h3 {
            font-family: var(--font-sans);
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--primary-dark);
            margin-top: 1.75rem;
            margin-bottom: 0.75rem;
        }

        .legal-section p {
            margin-bottom: 1.25rem;
            color: var(--text);
            font-size: 0.975rem;
        }

        .legal-section p:last-child {
            margin-bottom: 0;
        }

        .legal-section ul,
        .legal-section ol {
            margin-left: 1.5rem;
            margin-bottom: 1.25rem;
        }

        .legal-section li {
            margin-bottom: 0.65rem;
            font-size: 0.95rem;
        }

        /* CALLOUT BOXES */
        .legal-callout {
            padding: 1.5rem;
            border-radius: var(--radius-lg);
            margin: 1.5rem 0;
            border-left: 4px solid var(--primary);
            background: var(--background);
        }

        .legal-callout.highlight-gold {
            border-left-color: var(--secondary);
            background: rgba(189, 110, 74, 0.08);
            border: 1px solid rgba(189, 110, 74, 0.3);
            border-left-width: 4px;
        }

        .legal-callout.highlight-sage {
            border-left-color: var(--accent);
            background: rgba(207, 163, 101, 0.08);
            border: 1px solid rgba(207, 163, 101, 0.3);
            border-left-width: 4px;
        }

        .legal-callout h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* RIGHTS GRID */
        .rights-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.25rem;
            margin: 1.5rem 0;
        }

        .right-card {
            background: var(--background);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 1.25rem;
            transition: transform var(--transition-fast), border-color var(--transition-fast);
        }

        .right-card:hover {
            border-color: var(--secondary);
            transform: translateY(-2px);
        }

        .right-card h4 {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 0.4rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .right-card p {
            font-size: 0.88rem;
            color: var(--text-secondary);
            margin: 0;
            line-height: 1.5;
        }

        /* COMPLIANCE TABLE */
        .compliance-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 0.9rem;
        }

        .compliance-table th,
        .compliance-table td {
            padding: 0.85rem 1rem;
            border: 1px solid var(--border);
            text-align: left;
        }

        .compliance-table th {
            background: var(--primary-light);
            color: var(--dark);
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .compliance-table tr:nth-child(even) {
            background: rgba(243, 237, 232, 0.3);
        }
