/*
Theme Name: Ample Room
Theme URI: https://ampleroom.space
Description: A calm, refined theme for Ample Room professional organizing services.
Version: 2.1.0
Author: Han Creative Studio
Text Domain: ampleroom
*/

:root {
    --ar-white: #FDFCFA;
    --ar-warm-white: #F9F7F4;
    --ar-oat: #F3EEE8;
    --ar-linen: #EBE5DD;
    --ar-warm-stone: #C9BFB2;
    --ar-sage: #B8C4B2;
    --ar-muted-sage: #9AAE92;
    --ar-eucalyptus: #A3B5A0;
    --ar-deep-olive: #5C6B56;
    --ar-charcoal: #3D3D3D;
    --ar-soft-charcoal: #5A5A5A;
    --ar-font-serif: 'Cormorant Garamond', Georgia, serif;
    --ar-font-sans: 'Nunito Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ar-font-sans); font-size: 1.0625rem; line-height: 1.7; color: var(--ar-charcoal); background: var(--ar-warm-white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--ar-font-serif); font-weight: 400; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: clamp(2.5rem, 2rem + 3vw, 4rem); }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
p { margin-bottom: 1rem; color: var(--ar-soft-charcoal); }
a { color: var(--ar-deep-olive); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--ar-muted-sage); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.ar-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.ar-section { padding: 4rem 0; }
.ar-section--alt { background: var(--ar-oat); }

/* Header */
.ar-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; background: transparent; transition: all 0.4s; }
.ar-header.is-scrolled { background: var(--ar-deep-olive); padding: 0.75rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.ar-header__inner { display: flex; align-items: center; justify-content: space-between; }
.ar-header__logo img { height: 52px; width: auto; transition: all 0.4s; filter: invert(1) brightness(0); }
.ar-header.is-scrolled .ar-header__logo img { height: 44px; filter: none; }
.ar-nav { display: flex; align-items: center; gap: 2.5rem; }
.ar-nav__list { display: flex; align-items: center; gap: 0.5rem; position: relative; }
.ar-nav__item { position: relative; }
.ar-nav__link { 
    font-family: var(--ar-font-serif); 
    font-size: 1.35rem; 
    font-weight: 600; 
    color: var(--ar-charcoal); 
    text-transform: lowercase; 
    padding: 0.5rem 1rem; 
    position: relative; 
    transition: color 0.3s; 
    border-radius: 50px;
    z-index: 1;
}
.ar-header.is-scrolled .ar-nav__link { color: var(--ar-white); }

/* Bubble background */
.ar-nav__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ar-oat);
    border-radius: 50px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: -1;
}
.ar-nav__link:hover::before,
.ar-nav__link.is-active::before {
    opacity: 1;
    transform: scale(1);
}
.ar-header.is-scrolled .ar-nav__link::before {
    background: rgba(255,255,255,0.15);
}
.ar-nav__link:hover { color: var(--ar-deep-olive); }
.ar-header.is-scrolled .ar-nav__link:hover { color: var(--ar-white); }

/* Book consultation button */
.ar-nav .ar-btn--primary {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.ar-nav__item--mobile-cta { display: none; }

/* Dropdown */
.ar-nav__item--has-dropdown { position: relative; }
.ar-nav__dropdown { 
    position: absolute !important; 
    top: calc(100% + 10px) !important; 
    left: 50% !important; 
    transform: translateX(-50%) translateY(10px); 
    min-width: 240px; 
    background: var(--ar-white); 
    border-radius: 12px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.12); 
    padding: 0.75rem 0; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s; 
    z-index: 1000;
    list-style: none;
    display: block;
}
.ar-nav__item--has-dropdown:hover .ar-nav__dropdown { 
    opacity: 1; 
    visibility: visible; 
    transform: translateX(-50%) translateY(0); 
}
.ar-nav__dropdown::before { 
    content: ''; 
    position: absolute; 
    top: -8px; 
    left: 50%; 
    transform: translateX(-50%); 
    border-left: 8px solid transparent; 
    border-right: 8px solid transparent; 
    border-bottom: 8px solid var(--ar-white); 
}
.ar-nav__dropdown a { 
    display: block !important; 
    padding: 0.75rem 1.5rem !important; 
    font-family: var(--ar-font-sans) !important; 
    font-size: 0.9375rem !important; 
    color: var(--ar-charcoal) !important; 
    text-transform: none !important; 
    letter-spacing: 0 !important; 
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.ar-nav__dropdown a:hover { 
    background: var(--ar-oat) !important; 
    color: var(--ar-deep-olive) !important; 
}

.ar-nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; background: none; border: none; cursor: pointer; z-index: 1001; }
.ar-nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ar-charcoal); transition: all 0.3s ease; }
.ar-header.is-scrolled .ar-nav-toggle span { background: var(--ar-white); }

/* Mobile menu toggle animation */
.ar-nav-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ar-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.ar-nav-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
    .ar-nav-toggle { display: flex; }
    .ar-nav__list { 
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--ar-white);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 5rem 0 2rem;
        gap: 0;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    .ar-nav__list.is-open { right: 0; }
    .ar-nav__item { width: 100%; border-bottom: 1px solid var(--ar-linen); }
    .ar-nav__link { 
        display: block; 
        padding: 1.25rem 2rem; 
        font-size: 1.35rem; 
        color: var(--ar-charcoal) !important;
    }
    .ar-nav__link::before { display: none; }
    
    /* Mobile dropdown - collapsible */
    .ar-nav__item--has-dropdown {
        position: relative;
    }
    .ar-nav__item--has-dropdown .ar-nav__link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .ar-nav__item--has-dropdown .ar-nav__link::after {
        content: '';
        width: 10px;
        height: 10px;
        border-right: 2px solid var(--ar-charcoal);
        border-bottom: 2px solid var(--ar-charcoal);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-left: 1rem;
        flex-shrink: 0;
    }
    .ar-nav__item--has-dropdown.is-open .ar-nav__link::after {
        transform: rotate(-135deg);
    }
    .ar-nav__item--has-dropdown .ar-nav__dropdown {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        padding: 0;
        margin: 0;
        min-width: auto;
        background: var(--ar-warm-white);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .ar-nav__item--has-dropdown.is-open .ar-nav__dropdown {
        max-height: 400px;
    }
    .ar-nav__dropdown::before { display: none; }
    .ar-nav__dropdown a { 
        padding: 0.875rem 2rem 0.875rem 3rem !important; 
        font-size: 1.1rem !important;
        color: var(--ar-soft-charcoal) !important;
        border-bottom: 1px solid var(--ar-linen);
    }
    .ar-nav__dropdown a:last-child {
        border-bottom: none;
    }
    .ar-nav__dropdown a:hover {
        background: var(--ar-oat) !important;
    }
    
    /* Hide desktop button, show mobile button */
    .ar-nav > .ar-btn { display: none; }
    
    /* Mobile CTA button in menu */
    .ar-nav__item--mobile-cta {
        display: block;
        border-bottom: none;
        padding: 1.5rem 2rem;
    }
    .ar-nav__mobile-cta {
        display: block;
        text-align: center;
        padding: 1rem 2rem;
        background: var(--ar-deep-olive);
        color: var(--ar-white) !important;
        border-radius: 50px;
        font-family: var(--ar-font-sans);
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    
    /* Mobile menu overlay */
    .ar-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s, visibility 0.4s;
        z-index: 999;
    }
    .ar-nav-overlay.is-active {
        opacity: 1;
        visibility: visible;
    }
}

/* Buttons */
.ar-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; font-family: var(--ar-font-sans); font-size: 0.9375rem; font-weight: 500; border: none; border-radius: 50px; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.ar-btn--primary { background: var(--ar-deep-olive); color: var(--ar-white); }
.ar-btn--primary:hover { background: var(--ar-muted-sage); color: var(--ar-white); transform: translateY(-2px); }
.ar-header.is-scrolled .ar-btn--primary { background: var(--ar-white); color: var(--ar-deep-olive); }
.ar-header.is-scrolled .ar-btn--primary:hover { background: var(--ar-oat); color: var(--ar-deep-olive); }
.ar-btn--secondary { background: transparent; color: var(--ar-deep-olive); border: 1px solid var(--ar-deep-olive); }
.ar-btn--secondary:hover { background: var(--ar-deep-olive); color: var(--ar-white); }
.ar-btn--white { background: var(--ar-white); color: var(--ar-deep-olive); }
.ar-btn--white:hover { background: var(--ar-oat); color: var(--ar-deep-olive); }
.ar-btn--large { padding: 1rem 2.5rem; font-size: 1.0625rem; }

/* Preloader */
.ar-preloader {
    position: fixed;
    inset: 0;
    background: var(--ar-warm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.ar-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
}
.ar-preloader__logo {
    width: 80px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}

/* Hero with fade-in background */
.ar-hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; position: relative; overflow: hidden; }
.ar-hero--image { background-color: var(--ar-warm-white); }
.ar-hero--image::after { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background-image: url('https://ampleroom.space/wp-content/uploads/2025/04/longisland-02339.jpeg'); 
    background-size: cover; 
    background-position: center top; 
    opacity: 0;
    animation: fadeInBg 1.2s ease-out 0.3s forwards;
    z-index: 0;
}
.ar-hero--image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(253,252,250,0.95) 0%, rgba(253,252,250,0.85) 40%, rgba(253,252,250,0.4) 70%, transparent 100%); z-index: 1; }
@keyframes fadeInBg {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.ar-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ar-hero__bg::before { content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 150%; background: radial-gradient(ellipse at center, var(--ar-oat) 0%, transparent 70%); opacity: 0.8; }
.ar-hero__bg::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 60%; height: 100%; background: radial-gradient(ellipse at center, var(--ar-sage) 0%, transparent 70%); opacity: 0.15; }
.ar-hero--image .ar-hero__bg { display: none; }
.ar-hero__content { position: relative; z-index: 2; max-width: 600px; }
.ar-hero__tagline { font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ar-muted-sage); margin-bottom: 1rem; }
.ar-hero__title { margin-bottom: 1.5rem; }
.ar-hero__title em { font-style: italic; color: var(--ar-deep-olive); }
.ar-hero__desc { font-size: 1.1875rem; line-height: 1.8; margin-bottom: 2.5rem; }
.ar-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Intro */
.ar-intro { text-align: center; max-width: 720px; margin: 0 auto; }
.ar-eyebrow { font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ar-muted-sage); margin-bottom: 1rem; }

/* Services */
.ar-services__header { text-align: center; margin-bottom: 2.5rem; }
.ar-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.ar-service-card { background: var(--ar-white); padding: 2.5rem; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); transition: transform 0.3s, box-shadow 0.3s; }
.ar-service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.ar-service-card__icon { width: 48px; height: 48px; margin-bottom: 1rem; color: var(--ar-muted-sage); }
.ar-service-card__icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.5; fill: none; }
.ar-service-card__title { font-size: 1.375rem; margin-bottom: 0.75rem; }
.ar-service-card__link { font-size: 0.9375rem; font-weight: 500; display: inline-flex; align-items: center; gap: 0.5rem; }
.ar-service-card__link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; transition: transform 0.2s; }
.ar-service-card__link:hover svg { transform: translateX(4px); }

/* Quote */
.ar-quote { padding: 6rem 0; text-align: center; background: linear-gradient(135deg, var(--ar-sage) 0%, var(--ar-eucalyptus) 100%); }
.ar-quote blockquote { font-family: var(--ar-font-serif); font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.25rem); font-style: italic; line-height: 1.4; color: var(--ar-white); max-width: 700px; margin: 0 auto; }

/* Feature */
.ar-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ar-feature--reverse { direction: rtl; }
.ar-feature--reverse > * { direction: ltr; }
.ar-feature__content { max-width: 500px; }
.ar-feature__text { font-size: 1.125rem; line-height: 1.8; margin-bottom: 1.5rem; }
.ar-feature__visual { display: flex; align-items: center; justify-content: center; min-height: 350px; background: linear-gradient(135deg, var(--ar-oat) 0%, var(--ar-linen) 100%); border-radius: 16px; }
.ar-feature__placeholder { font-family: var(--ar-font-serif); font-size: 1.5rem; font-style: italic; color: var(--ar-warm-stone); }
@media (max-width: 900px) { .ar-feature { grid-template-columns: 1fr; gap: 2.5rem; } .ar-feature--reverse { direction: ltr; } }

/* Process */
.ar-process__header { text-align: center; margin-bottom: 2.5rem; }
.ar-process__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.ar-step { text-align: center; padding: 1.5rem; }
.ar-step__number { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--ar-white); border-radius: 50%; font-family: var(--ar-font-serif); font-size: 1.375rem; color: var(--ar-deep-olive); margin-bottom: 1rem; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.ar-step__title { font-size: 1.1875rem; margin-bottom: 0.5rem; }

/* Promises */
.ar-promises { text-align: center; }
.ar-promises__quote { font-family: var(--ar-font-serif); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-style: italic; line-height: 1.4; margin-bottom: 2.5rem; }
.ar-promises__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.ar-promise { display: flex; align-items: center; gap: 0.75rem; }
.ar-promise__icon { width: 24px; height: 24px; color: var(--ar-muted-sage); }
.ar-promise__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }

/* CTA */
.ar-cta { text-align: center; padding: 6rem 0; background: linear-gradient(135deg, var(--ar-sage) 0%, var(--ar-eucalyptus) 100%); }
.ar-cta__content { max-width: 600px; margin: 0 auto; }
.ar-cta__title { color: var(--ar-white); margin-bottom: 1rem; }
.ar-cta__text { font-size: 1.1875rem; color: rgba(255,255,255,0.95); margin-bottom: 2.5rem; }

/* Page Header */
.ar-page-header { padding: 12rem 0 4rem; background: var(--ar-oat); text-align: center; }
.ar-page-header__desc { font-size: 1.1875rem; max-width: 600px; margin: 0 auto; }

/* Goal List */
.ar-goal-list { list-style: none; margin: 1.5rem 0; padding: 0; }
.ar-goal-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; font-family: var(--ar-font-serif); font-size: 1.125rem; font-style: italic; color: var(--ar-deep-olive); }
.ar-goal-list li::before { content: '"'; position: absolute; left: 0; color: var(--ar-muted-sage); }

/* Contact */
.ar-contact { max-width: 600px; }
.ar-contact__info h2 { margin-bottom: 1rem; }
.ar-contact__details { margin: 2rem 0; }

/* Intake Form */
.ar-form-wrapper { max-width: 800px; margin: 0 auto; }
.ar-intake-form { background: var(--ar-white); border-radius: 16px; padding: 2.5rem; padding-bottom: 0; box-shadow: 0 2px 20px rgba(0,0,0,0.06); overflow: hidden; }
.ar-form-section { margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--ar-linen); }
.ar-form-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.ar-form-section.ar-form-submit { border-bottom: none !important; margin-bottom: 0 !important; padding-bottom: 2.5rem !important; }
.ar-form-section__title { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--ar-deep-olive); }
.ar-form-section__desc { color: var(--ar-soft-charcoal); margin-bottom: 1.5rem; }
.ar-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .ar-form-row { grid-template-columns: 1fr; } }
.ar-form-field { margin-bottom: 1.5rem; }
.ar-form-field:last-child { margin-bottom: 0; }
.ar-form-field label { display: block; font-weight: 500; margin-bottom: 0.5rem; color: var(--ar-charcoal); }
.ar-form-field label .required { color: var(--ar-muted-sage); }
.ar-form-field input[type="text"],
.ar-form-field input[type="email"],
.ar-form-field input[type="tel"],
.ar-form-field select,
.ar-form-field textarea { width: 100%; padding: 0.875rem 1rem; font-family: var(--ar-font-sans); font-size: 1rem; border: 1px solid var(--ar-linen); border-radius: 8px; background: var(--ar-warm-white); transition: border-color 0.3s, box-shadow 0.3s; }
.ar-form-field input:focus,
.ar-form-field select:focus,
.ar-form-field textarea:focus { outline: none; border-color: var(--ar-muted-sage); box-shadow: 0 0 0 3px rgba(154, 174, 146, 0.15); }
.ar-form-field textarea { resize: vertical; min-height: 100px; }
.ar-form-field input::placeholder,
.ar-form-field textarea::placeholder { color: var(--ar-warm-stone); }

/* Checkbox & Radio Groups */
.ar-checkbox-group, .ar-radio-group { display: flex; flex-direction: column; gap: 0.75rem; }
.ar-checkbox, .ar-radio { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; padding: 0.75rem 1rem; background: var(--ar-warm-white); border-radius: 8px; border: 1px solid transparent; transition: all 0.2s; }
.ar-checkbox:hover, .ar-radio:hover { border-color: var(--ar-linen); background: var(--ar-oat); }
.ar-checkbox input, .ar-radio input { margin-top: 0.2rem; accent-color: var(--ar-deep-olive); width: 18px; height: 18px; cursor: pointer; }
.ar-checkbox span, .ar-radio span { font-weight: 400; color: var(--ar-charcoal); line-height: 1.4; }

/* Form Submit */
.ar-form-submit { 
    text-align: center; 
    background: var(--ar-oat); 
    margin: 2.5rem -2.5rem 0 !important; 
    padding: 2.5rem !important; 
    border-radius: 0 0 16px 16px; 
    border-bottom: none !important;
}
.ar-form-note { font-size: 1rem; color: var(--ar-soft-charcoal); margin-bottom: 1.5rem; }
.ar-form-promise { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.9375rem; color: var(--ar-muted-sage); }
.ar-form-promise svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* Scroll Animations */
.ar-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.ar-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.ar-animate--delay-1 { transition-delay: 0.1s; }
.ar-animate--delay-2 { transition-delay: 0.2s; }
.ar-animate--delay-3 { transition-delay: 0.3s; }
.ar-animate--delay-4 { transition-delay: 0.4s; }

.ar-animate--fade {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.ar-animate--fade.is-visible { opacity: 1; }

.ar-animate--scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.ar-animate--scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

.ar-animate--left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.ar-animate--left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.ar-animate--right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.ar-animate--right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered card animations */
.ar-services__grid .ar-service-card,
.ar-process__steps .ar-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s ease;
}
.ar-services__grid .ar-service-card.is-visible,
.ar-process__steps .ar-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.ar-services__grid .ar-service-card:nth-child(1) { transition-delay: 0s; }
.ar-services__grid .ar-service-card:nth-child(2) { transition-delay: 0.1s; }
.ar-services__grid .ar-service-card:nth-child(3) { transition-delay: 0.2s; }
.ar-services__grid .ar-service-card:nth-child(4) { transition-delay: 0.3s; }
.ar-process__steps .ar-step:nth-child(1) { transition-delay: 0s; }
.ar-process__steps .ar-step:nth-child(2) { transition-delay: 0.15s; }
.ar-process__steps .ar-step:nth-child(3) { transition-delay: 0.3s; }
.ar-process__steps .ar-step:nth-child(4) { transition-delay: 0.45s; }

/* Parallax-like subtle movement */
.ar-parallax {
    transition: transform 0.1s ease-out;
}

/* Footer */
.ar-footer { background: var(--ar-charcoal); color: var(--ar-linen); padding: 4rem 0 2rem; }
.ar-footer__main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.ar-footer__brand { max-width: 320px; }
.ar-footer__logo { height: 44px; width: auto; margin-bottom: 1rem; }
.ar-footer__tagline { 
    font-family: var(--ar-font-serif); 
    font-weight: 600; 
    font-style: italic; 
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--ar-white); 
    margin-bottom: 1.5rem; 
}
.ar-footer__badges { display: flex; align-items: center; gap: 1.5rem; }
.ar-footer__badge img { height: 45px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; transition: opacity 0.3s; }
.ar-footer__badge:first-child img { height: 55px; }
.ar-footer__badge:hover img { opacity: 1; }
.ar-footer__heading { font-family: var(--ar-font-sans); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.ar-footer__links li { margin-bottom: 0.75rem; }
.ar-footer__links a { color: var(--ar-warm-stone); }
.ar-footer__links a:hover { color: var(--ar-linen); }
.ar-footer__contact-item { display: flex; align-items: center; gap: 0.75rem; color: var(--ar-warm-stone); margin-bottom: 0.75rem; }
.ar-footer__contact-item svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; fill: none; }
.ar-footer__contact-item a { color: var(--ar-warm-stone); }
.ar-footer__contact-item a:hover { color: var(--ar-linen); }
.ar-footer__bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.ar-footer__copy { font-size: 0.875rem; color: var(--ar-warm-stone); }
.ar-footer__legal { display: flex; gap: 1.5rem; }
.ar-footer__legal a { font-size: 0.875rem; color: var(--ar-warm-stone); }
@media (max-width: 900px) { .ar-footer__main { grid-template-columns: 1fr 1fr; } .ar-footer__brand { grid-column: span 2; } }
@media (max-width: 600px) { .ar-footer__main { grid-template-columns: 1fr; } .ar-footer__brand { grid-column: span 1; } .ar-footer__bottom { flex-direction: column; text-align: center; } }
