/* ============================================================
   BEST ALL MANAGEMENT LLC
   Luxury Editorial Corporate Website — Pure HTML5 & CSS3
   
   ANIMATION ARCHITECTURE:
   
   Layer 1 — Page Load (hero only):
     Staggered cascade via animation-delay
   
   Layer 2 — Scroll Entrance (single-class elements):
     animation-timeline: view()
     animation-range: entry 0% → entry ~30%
     Classes: .anim-up .anim-left .anim-right .anim-scale
              .anim-clip .anim-line
   
   Layer 3 — Combined Entrance + Continuous (dual-effect elements):
     animation-timeline: view()
     animation-range: entry 0% → exit 0%  (full visibility)
     Classes: .anim-up-float .anim-clip-float
              .anim-scale-glow .anim-right-glow
     These solve the CSS conflict where two separate animation
     classes on one element caused opacity:0 to persist.
   
   Layer 4 — Viewport-Locked Continuous (child-targeted):
     animation-timeline: view()
     animation-range: entry 100% → exit 0%
     Classes: .anim-float-slow .anim-glow-bar (targets child)
   
   Layer 5 — Hero Parallax:
     animation-timeline: scroll()
   
   NOTE: No element ever has two animation classes that both
   set the `animation` shorthand. Combined classes merge both
   effects into a single keyframe to avoid property override.
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
    --charcoal:        #1a1a1a;
    --charcoal-dark:   #0d0d0d;
    --charcoal-darker: #0a0a0a;
    --charcoal-light:  #2a2a2a;
    --charcoal-card:   #1e1e1e;

    --gold:            #c9a84c;
    --gold-hover:      #d4b965;
    --gold-muted:      rgba(201, 168, 76, 0.15);
    --gold-border:     rgba(201, 168, 76, 0.25);

    --off-white:       #f0ebe3;
    --off-white-dark:  #e8e0d4;
    --warm-gray:       #8a8a8a;
    --warm-gray-light: #b0a99f;
    --warm-gray-dark:  #6b6b6b;
    --text-dark:       #3a3a3a;
    --text-light:      #a09a90;

    --font-serif: 'Georgia', 'Times New Roman', 'Palatino Linotype', 'Book Antiqua', serif;
    --font-sans:  'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;

    --section-padding:  120px;
    --container-max:    1320px;
    --container-pad:    48px;
    --header-height:    80px;

    --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --dur:   0.4s;
    --dur-f: 0.25s;
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
    font-family: var(--font-sans);
    background-color: var(--charcoal-dark);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    animation: bodyReveal 0.6s var(--ease) both;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
section { scroll-margin-top: var(--header-height); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

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

/* ---------- SHARED TYPOGRAPHY ---------- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.8vw, 3.1rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.section-heading-light { color: var(--off-white); }

/* ---------- BUTTONS ---------- */
.btn-primary {
    display: inline-block;
    padding: 16px 44px;
    background-color: var(--gold);
    color: var(--charcoal-dark);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.2);
}

.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(201, 168, 76, 0.15); }

.btn-outline {
    display: inline-block;
    padding: 16px 44px;
    background-color: transparent;
    color: var(--off-white);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid var(--gold-border);
    cursor: pointer;
    transition: border-color var(--dur) var(--ease),
                color var(--dur) var(--ease),
                transform var(--dur) var(--ease);
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0); }


/* ============================================================
   HEADER
   ============================================================ */
.nav-toggle { display: none; }

.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.88);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.06);
    animation: headerSlideDown 0.7s var(--ease) 0.1s both;
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--off-white);
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: color var(--dur-f) var(--ease);
}

.logo:hover { color: var(--gold); }
.logo-accent { color: var(--gold); font-weight: 700; }

.nav-list { display: flex; align-items: center; gap: 2.4rem; }

.nav-list a {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
    transition: color var(--dur-f) var(--ease);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 1px;
    background-color: var(--gold);
    transition: width var(--dur) var(--ease);
}

.nav-list a:hover { color: var(--off-white); }
.nav-list a:hover::after { width: 100%; }

.nav-cta {
    padding: 10px 24px !important;
    border: 1px solid var(--gold-border) !important;
    color: var(--gold) !important;
    transition: background-color var(--dur) var(--ease),
                color var(--dur) var(--ease),
                border-color var(--dur) var(--ease) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background-color: var(--gold) !important;
    color: var(--charcoal-dark) !important;
    border-color: var(--gold) !important;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 28px; height: 28px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle-label span {
    display: block;
    width: 100%; height: 1.5px;
    background-color: var(--off-white);
    transition: transform var(--dur-f) var(--ease), opacity var(--dur-f) var(--ease);
    transform-origin: center;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 40%;
    z-index: 0;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg,
        rgba(10, 10, 10, 0.94) 0%,
        rgba(13, 13, 13, 0.88) 35%,
        rgba(26, 26, 26, 0.78) 70%,
        rgba(26, 26, 26, 0.70) 100%
    );
    z-index: 1;
    animation: overlayBreathe 10s ease-in-out infinite alternate;
}

.hero-content {
    position: relative; z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 140px var(--container-pad) 100px;
    width: 100%;
}

.hero-label {
    font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 2.5rem;
    animation: heroFadeUp 0.8s var(--ease) 0.4s both;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 400; line-height: 1.02;
    color: var(--off-white);
}

.hero-title-line {
    display: block;
    font-size: clamp(3.2rem, 8.5vw, 8.5rem);
    position: relative; overflow: hidden;
}

.hero-title-line:first-child { animation: heroFadeUp 1s var(--ease) 0.6s both; }

.hero-title-secondary {
    font-size: clamp(1.8rem, 4.2vw, 5rem);
    letter-spacing: 0.22em;
    color: var(--warm-gray-light);
    margin-top: 0.15em;
    animation: heroFadeUp 1s var(--ease) 0.8s both;
}

.hero-title-line:first-child::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg,
        transparent 0%, rgba(201, 168, 76, 0.06) 35%,
        rgba(201, 168, 76, 0.1) 50%,
        rgba(201, 168, 76, 0.06) 65%, transparent 100%
    );
    animation: titleShimmer 6s ease-in-out 3s infinite;
    pointer-events: none;
}

.hero-llc {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-top: 2rem; padding: 10px 0;
    border-top: 1px solid var(--gold-border);
    border-bottom: 1px solid var(--gold-border);
    animation: heroFadeUp 0.8s var(--ease) 1s both;
}

.hero-line {
    width: 0; height: 1px;
    background-color: var(--gold);
    margin: 2.8rem 0;
    animation: heroExpandLine 0.7s var(--ease) 1.2s both;
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--warm-gray);
    max-width: 500px; line-height: 1.85;
    animation: heroFadeUp 0.8s var(--ease) 1.35s both;
}

.hero-cta {
    display: flex; gap: 1rem;
    margin-top: 3.5rem; flex-wrap: wrap;
    animation: heroFadeUp 0.8s var(--ease) 1.55s both;
}

.hero-scroll {
    position: absolute;
    bottom: 44px; right: var(--container-pad);
    z-index: 2;
    display: flex; flex-direction: column;
    align-items: center; gap: 14px;
    animation: heroFadeIn 1s var(--ease) 2.2s both;
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--warm-gray-dark);
    writing-mode: vertical-rl;
}

.hero-scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
    background-color: var(--off-white);
    padding: var(--section-padding) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 5rem; align-items: start;
}

.about-text p { color: var(--text-dark); margin-bottom: 1.15rem; font-size: 0.93rem; }

.about-lead {
    font-size: 1.12rem !important;
    color: var(--warm-gray-dark) !important;
    line-height: 1.85 !important;
    font-family: var(--font-serif);
}

.about-accent { position: relative; padding-top: 2.5rem; }

.about-location-block {
    padding: 2.5rem;
    border: 1px solid var(--gold-border);
    background-color: var(--charcoal);
    margin-bottom: 2.5rem;
    transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.about-location-block:hover {
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.06);
}

.about-location-label {
    display: block; font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.2rem;
}

.about-location-address {
    display: block; font-family: var(--font-serif);
    font-size: 1.25rem; font-weight: 400;
    color: var(--off-white); line-height: 1.5; margin-bottom: 0.6rem;
}

.about-location-country {
    display: block; font-size: 0.78rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--warm-gray);
}

.about-quote {
    padding: 1.8rem 0 1.8rem 2rem;
    border-left: 2px solid var(--gold);
}

.about-quote p {
    font-family: var(--font-serif);
    font-size: 1.12rem; font-style: italic;
    color: var(--charcoal) !important; line-height: 1.75;
}

.about-gold-line {
    width: 100%; height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-top: 2.5rem;
    transform-origin: left center;
}


/* ============================================================
   SERVICES
   ============================================================ */
.services {
    background-color: var(--charcoal);
    padding: var(--section-padding) 0;
}

.services-header { max-width: 660px; margin-bottom: 4.5rem; }

.services-intro { color: var(--text-light); font-size: 0.95rem; line-height: 1.85; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: rgba(201, 168, 76, 0.06);
}

.service-card {
    background-color: var(--charcoal);
    padding: 2.8rem 2.5rem;
    position: relative; overflow: hidden;
    transition: background-color var(--dur) var(--ease),
                transform var(--dur) var(--ease);
}

.service-card:hover { background-color: var(--charcoal-card); transform: translateY(-3px); }

.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 2px; height: 0;
    background-color: var(--gold);
    transition: height 0.5s var(--ease);
    z-index: 2;
}

.service-card:hover::before { height: 100%; }

.service-card-wide { grid-column: span 2; }
.service-card-full { grid-column: span 3; }

.service-number {
    display: block; font-family: var(--font-serif);
    font-size: 0.82rem; color: var(--gold);
    margin-bottom: 1.5rem; opacity: 0.6;
    transition: opacity var(--dur) var(--ease);
}

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

.service-title {
    font-family: var(--font-serif);
    font-size: 1.3rem; font-weight: 400;
    color: var(--off-white); margin-bottom: 1rem;
    transition: color var(--dur-f) var(--ease);
}

.service-card:hover .service-title { color: var(--gold); }

.service-desc { font-size: 0.86rem; color: var(--text-light); line-height: 1.8; }

.service-line {
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background-color: var(--gold);
    transition: width var(--dur) var(--ease);
}

.service-card:hover .service-line { width: 100%; }


/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us {
    background-color: var(--off-white-dark);
    padding: var(--section-padding) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 5rem; align-items: start;
}

.why-heading-block { position: sticky; top: calc(var(--header-height) + 40px); }

.why-intro { color: var(--warm-gray-dark); font-size: 0.93rem; line-height: 1.85; }

.why-features { display: flex; flex-direction: column; }

.why-feature {
    display: grid;
    grid-template-columns: 3px 1fr;
    gap: 0; padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.5s var(--ease);
}

.why-feature:first-child { border-top: 1px solid rgba(0, 0, 0, 0.05); }
.why-feature:hover { background-color: rgba(201, 168, 76, 0.02); }

.why-feature-accent {
    width: 3px;
    background-color: var(--gold-muted);
    transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.why-feature:hover .why-feature-accent {
    background-color: var(--gold);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.2);
}

.why-feature-content { padding-left: 1.5rem; }

.why-feature-content h3 {
    font-family: var(--font-serif);
    font-size: 1.18rem; font-weight: 400;
    color: var(--charcoal); margin-bottom: 0.5rem;
    transition: color var(--dur-f) var(--ease);
}

.why-feature:hover .why-feature-content h3 { color: #a68a3a; }

.why-feature-content p { font-size: 0.86rem; color: var(--warm-gray-dark); line-height: 1.75; }


/* ============================================================
   PROCESS
   ============================================================ */
.process {
    background-color: var(--charcoal-dark);
    padding: var(--section-padding) 0;
}

.process .section-heading {
    text-align: center;
    max-width: 580px;
    margin-left: auto; margin-right: auto; margin-bottom: 5rem;
}

.process .section-label { display: block; text-align: center; }

.timeline { position: relative; max-width: 880px; margin: 0 auto; }

.timeline-line {
    position: absolute; left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent, var(--gold-border) 8%,
        var(--gold) 50%, var(--gold-border) 92%, transparent
    );
    transform: translateX(-50%);
}

.timeline-item {
    position: relative; display: flex;
    margin-bottom: 3.5rem;
    transition: transform var(--dur) var(--ease);
}

.timeline-item:last-child { margin-bottom: 0; }
.timeline-item:hover { transform: translateY(-2px); }

.timeline-left  { justify-content: flex-end; padding-right: calc(50% + 44px); }
.timeline-right { justify-content: flex-start; padding-left: calc(50% + 44px); }

.timeline-dot {
    position: absolute; left: 50%; top: 10px;
    width: 13px; height: 13px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background-color: var(--charcoal-dark);
    transform: translateX(-50%);
    transition: background-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                transform var(--dur) var(--ease);
    z-index: 1;
    animation: dotPulse 3.5s ease-in-out infinite;
}

.timeline-item:hover .timeline-dot {
    background-color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.35);
    transform: translateX(-50%) scale(1.2);
}

.timeline-content { max-width: 330px; }

.timeline-number {
    display: block; font-family: var(--font-serif);
    font-size: 0.78rem; color: var(--gold);
    margin-bottom: 0.7rem; opacity: 0.6;
    transition: opacity var(--dur-f) var(--ease);
}

.timeline-item:hover .timeline-number { opacity: 1; }

.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem; font-weight: 400;
    color: var(--off-white); margin-bottom: 0.6rem;
    transition: color var(--dur-f) var(--ease);
}

.timeline-item:hover .timeline-content h3 { color: var(--gold); }

.timeline-content p { font-size: 0.84rem; color: var(--text-light); line-height: 1.8; }


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    background-color: var(--off-white);
    padding: var(--section-padding) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem; align-items: start;
}

.testimonial {
    position: relative; padding: 3rem;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.testimonial:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15); }

.testimonial-main { background-color: var(--charcoal); color: var(--off-white); }

.testimonial-secondary {
    border: 1px solid var(--gold-border);
    background-color: var(--charcoal); color: var(--off-white);
    margin-top: 3rem;
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease), border-color 0.6s var(--ease);
}

.testimonial-secondary:hover {
    border-color: rgba(201, 168, 76, 0.45);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem; line-height: 0.8;
    color: var(--gold); opacity: 0.2;
    position: absolute; top: 1.5rem; left: 2rem;
    pointer-events: none;
    transition: opacity 0.6s var(--ease);
    animation: quoteGlow 4s ease-in-out infinite;
}

.testimonial:hover .testimonial-quote-mark { opacity: 0.35; }
.testimonial-secondary .testimonial-quote-mark { font-size: 4rem; }

.testimonial blockquote p {
    font-family: var(--font-serif);
    font-size: 1.12rem; line-height: 1.85;
    color: var(--warm-gray-light);
}

.testimonial-secondary blockquote p { font-size: 0.98rem; }

.testimonial-author {
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.testimonial-name {
    display: block; font-family: var(--font-sans);
    font-size: 0.82rem; font-weight: 600;
    color: var(--gold); letter-spacing: 0.04em;
}

.testimonial-role {
    display: block; font-size: 0.75rem;
    color: var(--warm-gray); margin-top: 0.35rem;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background-color: var(--charcoal);
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 5rem; align-items: start;
}

.contact-intro { color: var(--text-light); font-size: 0.93rem; line-height: 1.85; margin-bottom: 3rem; }

.contact-details { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { transition: transform var(--dur-f) var(--ease); }
.contact-item:hover { transform: translateX(6px); }

.contact-item-label {
    display: block; font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.4rem;
}

.contact-item-value { font-size: 0.93rem; color: var(--warm-gray-light); line-height: 1.7; }
.contact-link { transition: color var(--dur-f) var(--ease); }
.contact-link:hover { color: var(--gold); }

.contact-gold-line {
    width: 60px; height: 1px;
    background-color: var(--gold);
    margin-top: 2.5rem;
    transform-origin: left center;
    position: relative; overflow: hidden;
}

.contact-gold-line::after {
    content: '';
    position: absolute; top: -2px; left: -40px;
    width: 30px; height: 5px;
    background: linear-gradient(90deg, transparent, var(--gold-hover), transparent);
    border-radius: 50%;
    animation: lineShimmer 3.5s ease-in-out 1s infinite;
    pointer-events: none;
}

.contact-form-wrapper {
    background-color: var(--charcoal-card);
    padding: 3rem;
    border: 1px solid rgba(201, 168, 76, 0.06);
    transition: border-color 0.6s var(--ease);
}

.contact-form-wrapper:hover { border-color: rgba(201, 168, 76, 0.12); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block; font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--warm-gray); margin-bottom: 0.6rem;
    transition: color var(--dur-f) var(--ease);
}

.form-group:focus-within label { color: var(--gold); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--off-white);
    font-family: var(--font-sans); font-size: 0.88rem; line-height: 1.5;
    transition: border-color var(--dur-f) var(--ease),
                background-color var(--dur-f) var(--ease),
                box-shadow var(--dur-f) var(--ease);
    outline: none; border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background-color: rgba(201, 168, 76, 0.03);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--warm-gray-dark); }

.form-group select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a8a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px; cursor: pointer;
}

.form-group select option { background-color: var(--charcoal-card); color: var(--off-white); }

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

.contact-form .btn-primary { width: 100%; text-align: center; margin-top: 0.5rem; }


/* ============================================================
   NAV ACTIVE STATE
   ============================================================ */
.nav-active {
    color: var(--gold) !important;
}

.nav-active::after {
    width: 100% !important;
    background-color: var(--gold) !important;
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    position: relative;
    padding: 100px 0;
    background-color: var(--charcoal-dark);
    overflow: hidden;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.90) 50%, rgba(10, 10, 10, 0.95) 100%);
    pointer-events: none;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-banner-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--off-white);
    margin-bottom: 1.5rem;
}

.cta-banner-text {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.cta-banner-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}


/* ============================================================
   VENDOR PAGE — HERO
   ============================================================ */
.vendor-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--charcoal-dark);
    overflow: hidden;
}

.vendor-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(201, 168, 76, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 30%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.85) 100%);
    pointer-events: none;
}

.vendor-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: calc(var(--header-height) + 60px) var(--container-pad) 60px;
}

.vendor-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--off-white);
    line-height: 1.1;
    margin-bottom: 0;
    animation: heroFadeUp 1s var(--ease) 0.5s both;
}

.vendor-hero-accent {
    color: var(--gold);
    display: inline-block;
    position: relative;
}

.vendor-hero-line {
    width: 0;
    height: 1px;
    background-color: var(--gold);
    margin: 2.2rem auto;
    animation: heroExpandLine 0.7s var(--ease) 1s both;
}

.vendor-hero-subtitle {
    font-size: 1.05rem;
    color: var(--warm-gray);
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.85;
    animation: heroFadeUp 0.8s var(--ease) 1.3s both;
}


/* ============================================================
   VENDOR PAGE — INTRO
   ============================================================ */
.vendor-intro {
    background-color: var(--off-white);
    padding: var(--section-padding) 0;
}

.vendor-intro-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 5rem;
    align-items: start;
}

.vendor-intro-text p {
    color: var(--text-dark);
    margin-bottom: 1.15rem;
    font-size: 0.93rem;
}

.vendor-lead {
    font-size: 1.12rem !important;
    color: var(--warm-gray-dark) !important;
    line-height: 1.85 !important;
    font-family: var(--font-serif);
}

.vendor-intro-accent {
    position: relative;
    padding-top: 2.5rem;
}

.vendor-stat-block {
    padding: 2.5rem;
    border: 1px solid var(--gold-border);
    background-color: var(--charcoal);
    margin-bottom: 2.5rem;
    text-align: center;
    transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.vendor-stat-block:hover {
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.06);
}

.vendor-stat-icon {
    display: block;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    line-height: 1;
}

.vendor-stat-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--off-white);
    margin-bottom: 0.6rem;
}

.vendor-stat-desc {
    display: block;
    font-size: 0.84rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.vendor-quote {
    padding: 1.8rem 0 1.8rem 2rem;
    border-left: 2px solid var(--gold);
}

.vendor-quote p {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-style: italic;
    color: var(--charcoal) !important;
    line-height: 1.75;
}

.vendor-gold-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-top: 2.5rem;
    transform-origin: left center;
}


/* ============================================================
   VENDOR PAGE — BENEFITS
   ============================================================ */
.vendor-benefits {
    background-color: var(--charcoal);
    padding: var(--section-padding) 0;
}

.vendor-benefits-header {
    max-width: 660px;
    margin-bottom: 4.5rem;
}

.vendor-benefits-intro {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.85;
}

.vendor-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: rgba(201, 168, 76, 0.06);
}

.vendor-benefit-card {
    background-color: var(--charcoal);
    padding: 2.8rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background-color var(--dur) var(--ease),
                transform var(--dur) var(--ease);
}

.vendor-benefit-card:hover {
    background-color: var(--charcoal-card);
    transform: translateY(-3px);
}

.vendor-benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 2px; height: 0;
    background-color: var(--gold);
    transition: height 0.5s var(--ease);
    z-index: 2;
}

.vendor-benefit-card:hover::before { height: 100%; }

.vendor-benefit-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.82rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0.6;
    transition: opacity var(--dur) var(--ease);
}

.vendor-benefit-card:hover .vendor-benefit-number { opacity: 1; }

.vendor-benefit-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--off-white);
    margin-bottom: 1rem;
    transition: color var(--dur-f) var(--ease);
}

.vendor-benefit-card:hover .vendor-benefit-title { color: var(--gold); }

.vendor-benefit-desc {
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.8;
}

.vendor-benefit-line {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background-color: var(--gold);
    transition: width var(--dur) var(--ease);
}

.vendor-benefit-card:hover .vendor-benefit-line { width: 100%; }


/* ============================================================
   VENDOR PAGE — APPLICATION FORM
   ============================================================ */
.vendor-apply {
    background-color: var(--off-white);
    padding: var(--section-padding) 0;
}

.vendor-apply-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 5rem;
    align-items: start;
}

.vendor-apply-intro {
    color: var(--warm-gray-dark);
    font-size: 0.93rem;
    line-height: 1.85;
    margin-bottom: 3rem;
}

.vendor-contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.vendor-apply-form-wrapper {
    background-color: var(--charcoal-card);
    padding: 3rem;
    border: 1px solid rgba(201, 168, 76, 0.06);
    transition: border-color 0.6s var(--ease);
}

.vendor-apply-form-wrapper:hover {
    border-color: rgba(201, 168, 76, 0.12);
}

.vendor-form-heading {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--off-white);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gold-border);
}

.vendor-form .btn-primary {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

/* Vendor page contact items on light background */
.vendor-apply .contact-item-label {
    color: var(--gold);
}

.vendor-apply .contact-item-value {
    color: var(--text-dark);
}

.vendor-apply .contact-link:hover {
    color: var(--gold);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: var(--charcoal-darker);
    border-top: 1px solid rgba(201, 168, 76, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem; padding: 5rem 0 4rem;
}

.footer-logo {
    font-family: var(--font-serif); font-size: 1.05rem;
    color: var(--off-white); letter-spacing: 0.04em;
    display: inline-block; margin-bottom: 1.2rem;
    transition: color var(--dur-f) var(--ease);
}

.footer-logo:hover { color: var(--gold); }

.footer-tagline { font-size: 0.84rem; color: var(--warm-gray-dark); line-height: 1.75; max-width: 280px; }

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.5rem;
}

.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links a {
    font-size: 0.84rem; color: var(--warm-gray);
    transition: color var(--dur-f) var(--ease), transform var(--dur-f) var(--ease);
    display: inline-block;
}

.footer-links a:hover { color: var(--off-white); transform: translateX(5px); }

.footer-contact p,
.footer-contact a {
    font-size: 0.84rem; color: var(--warm-gray);
    line-height: 1.8; display: block;
}

.footer-contact a {
    transition: color var(--dur-f) var(--ease), transform var(--dur-f) var(--ease);
}

.footer-contact a:hover { color: var(--gold); transform: translateX(4px); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.6rem 0;
}

.footer-bottom p { font-size: 0.72rem; color: var(--warm-gray-dark); letter-spacing: 0.04em; }


/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
    :root { --section-padding: 90px; --container-pad: 32px; }
    .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card-wide { grid-column: span 2; }
    .service-card-full { grid-column: span 2; }
    .why-grid { grid-template-columns: 1fr; gap: 3rem; }
    .why-heading-block { position: static; max-width: 500px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-secondary { margin-top: 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

    /* Vendor page tablet */
    .vendor-intro-grid { grid-template-columns: 1fr; gap: 3.5rem; }
    .vendor-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .vendor-apply-grid { grid-template-columns: 1fr; gap: 3rem; }
}


/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
    :root { --section-padding: 72px; --container-pad: 20px; --header-height: 64px; }

    .nav-toggle-label { display: flex; }

    .nav {
        position: fixed; top: 0; right: 0;
        width: 100%; height: 100vh; height: 100dvh;
        background-color: rgba(10, 10, 10, 0.97);
        -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
        display: flex; align-items: center; justify-content: center;
        opacity: 0; visibility: hidden;
        transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
        z-index: 999;
    }

    .nav-list { flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
    .nav-list a { font-size: 1rem; letter-spacing: 0.15em; }
    .nav-cta { margin-top: 1rem; padding: 14px 36px !important; }

    .nav-toggle:checked ~ .header .nav { opacity: 1; visibility: visible; }
    .nav-toggle:checked ~ .header .nav-toggle-label span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .nav-toggle:checked ~ .header .nav-toggle-label span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .header .nav-toggle-label span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    .hero-content { padding: 120px var(--container-pad) 80px; }
    .hero-tagline { font-size: 0.92rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn-primary, .hero-cta .btn-outline { text-align: center; }
    .hero-scroll { display: none; }

    .about-location-block { padding: 2rem; }
    .about-location-address { font-size: 1.1rem; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card-wide, .service-card-full { grid-column: span 1; }
    .service-card { padding: 2rem 1.5rem; }

    .why-feature { padding: 1.5rem 0; }

    .timeline-line { left: 0; }
    .timeline-item { padding-left: 36px; padding-right: 0; }
    .timeline-left, .timeline-right { justify-content: flex-start; padding-left: 36px; padding-right: 0; }
    .timeline-dot { left: 0; transform: none; }
    .timeline-item:hover .timeline-dot { transform: scale(1.2); }
    .timeline-content { max-width: 100%; }

    .testimonial { padding: 2rem 1.5rem; }
    .testimonial-quote-mark { font-size: 4rem; top: 1rem; left: 1.2rem; }
    .testimonial-secondary .testimonial-quote-mark { font-size: 3rem; }
    .testimonial blockquote p { font-size: 0.96rem; }

    .contact-form-wrapper { padding: 2rem 1.5rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .footer-top { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2.5rem; }
    .footer-tagline { max-width: 100%; }

    /* CTA banner mobile */
    .cta-banner { padding: 72px 0; }
    .cta-banner-actions { flex-direction: column; align-items: center; }
    .cta-banner-actions .btn-primary,
    .cta-banner-actions .btn-outline { width: 100%; text-align: center; }

    /* Vendor page mobile */
    .vendor-hero { min-height: 44vh; }
    .vendor-hero-content { padding: calc(var(--header-height) + 48px) var(--container-pad) 48px; }
    .vendor-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
    .vendor-benefits-grid { grid-template-columns: 1fr; }
    .vendor-benefit-card { padding: 2rem 1.5rem; }
    .vendor-apply-grid { grid-template-columns: 1fr; gap: 3rem; }
    .vendor-apply-form-wrapper { padding: 2rem 1.5rem; }
    .vendor-stat-block { padding: 2rem; }
}


/* ============================================================
   RESPONSIVE — Small Mobile
   ============================================================ */
@media (max-width: 480px) {
    :root { --section-padding: 56px; }
    .hero-label { letter-spacing: 0.18em; margin-bottom: 1.8rem; }
    .hero-title-secondary { letter-spacing: 0.14em; }
    .hero-llc { letter-spacing: 0.28em; font-size: 0.72rem; }
    .about-location-address { font-size: 1rem; }
    .about-quote p { font-size: 1rem; }
    .section-heading { font-size: 1.7rem; }
    .testimonial blockquote p { font-size: 0.9rem; }
    .testimonial-secondary blockquote p { font-size: 0.85rem; }
    .btn-primary, .btn-outline { padding: 14px 28px; font-size: 0.72rem; }

    /* Vendor page small mobile */
    .vendor-hero-subtitle { font-size: 0.92rem; }
    .vendor-quote p { font-size: 1rem; }
}


/* ============================================================
   KEYFRAMES
   ============================================================ */

/* Page load */
@keyframes bodyReveal      { from { opacity: 0; } to { opacity: 1; } }
@keyframes headerSlideDown { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFadeUp      { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroExpandLine  { from { width: 0; } to { width: 60px; } }
@keyframes heroFadeIn      { from { opacity: 0; } to { opacity: 1; } }

/* Continuous ambient */
@keyframes scrollPulse    { 0%, 100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.15); } }
@keyframes titleShimmer   { 0%, 100% { left: -100%; } 45%, 55% { left: 140%; } }
@keyframes overlayBreathe { 0% { opacity: 1; } 50% { opacity: 0.93; } 100% { opacity: 1; } }
@keyframes dotPulse       { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); } 50% { box-shadow: 0 0 0 5px rgba(201, 168, 76, 0.08); } }
@keyframes quoteGlow      { 0%, 100% { text-shadow: 0 0 0 transparent; } 50% { text-shadow: 0 0 20px rgba(201, 168, 76, 0.08); } }
@keyframes lineShimmer    { 0% { left: -40px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 80px; opacity: 0; } }

/* Scroll entrances — single effect */
@keyframes scrollRevealUp    { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollRevealLeft  { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scrollRevealRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scrollRevealScale { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
@keyframes scrollRevealClip  { from { clip-path: inset(100% 0 0 0); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes scrollRevealLine  { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Viewport-locked continuous — single effect (child-targeted) */
@keyframes viewFloatSlow { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-4px) rotate(1deg); } }
@keyframes viewGlowBar    { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* COMBINED keyframes — entrance + continuous in one animation
   Range: entry 0% → exit 0% (full viewport lifecycle)
   0-12%  = entrance phase (opacity 0→1, position reset)
   14-78% = float oscillation while visible
   100%   = hold final state through exit */
@keyframes revealUpFloat {
    0%    { opacity: 0; transform: translateY(70px); }
    12%   { opacity: 1; transform: translateY(0); }
    20%   { transform: translateY(-6px); }
    28%   { transform: translateY(0); }
    36%   { transform: translateY(-6px); }
    44%   { transform: translateY(0); }
    52%   { transform: translateY(-6px); }
    60%   { transform: translateY(0); }
    68%   { transform: translateY(-6px); }
    76%   { transform: translateY(0); }
    100%  { opacity: 1; transform: translateY(0); }
}

@keyframes revealClipFloat {
    0%    { clip-path: inset(100% 0 0 0); opacity: 0; transform: translateY(0); }
    12%   { clip-path: inset(0 0 0 0); opacity: 1; transform: translateY(0); }
    20%   { transform: translateY(-6px); }
    28%   { transform: translateY(0); }
    36%   { transform: translateY(-6px); }
    44%   { transform: translateY(0); }
    52%   { transform: translateY(-6px); }
    60%   { transform: translateY(0); }
    68%   { transform: translateY(-6px); }
    76%   { transform: translateY(0); }
    100%  { clip-path: inset(0 0 0 0); opacity: 1; transform: translateY(0); }
}

@keyframes revealScaleGlow {
    0%    { opacity: 0; transform: scale(0.85); box-shadow: 0 0 0 0 transparent; }
    12%   { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 transparent; }
    22%   { box-shadow: 0 0 20px rgba(201, 168, 76, 0.08); }
    36%   { box-shadow: 0 0 0 0 transparent; }
    50%   { box-shadow: 0 0 20px rgba(201, 168, 76, 0.08); }
    64%   { box-shadow: 0 0 0 0 transparent; }
    78%   { box-shadow: 0 0 20px rgba(201, 168, 76, 0.08); }
    100%  { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 transparent; }
}

@keyframes revealRightGlow {
    0%    { opacity: 0; transform: translateX(60px); box-shadow: 0 0 0 0 transparent; }
    12%   { opacity: 1; transform: translateX(0); box-shadow: 0 0 0 0 transparent; }
    22%   { box-shadow: 0 0 20px rgba(201, 168, 76, 0.08); }
    36%   { box-shadow: 0 0 0 0 transparent; }
    50%   { box-shadow: 0 0 20px rgba(201, 168, 76, 0.08); }
    64%   { box-shadow: 0 0 0 0 transparent; }
    78%   { box-shadow: 0 0 20px rgba(201, 168, 76, 0.08); }
    100%  { opacity: 1; transform: translateX(0); box-shadow: 0 0 0 0 transparent; }
}

/* Hero parallax */
@keyframes heroParallax {
    from { transform: translateY(0); }
    to   { transform: translateY(60px); }
}


/* ============================================================
   SCROLL-DRIVEN ANIMATION SYSTEM
   
   RULE: No element ever has two classes that both declare
   the `animation` shorthand. Combined classes handle dual
   effects (entrance + continuous) in a single keyframe.
   
   Single-effect classes:  .anim-up .anim-left .anim-right
                           .anim-scale .anim-clip .anim-line
   Combined classes:       .anim-up-float .anim-clip-float
                           .anim-scale-glow .anim-right-glow
   Child-targeted:         .anim-float-slow .anim-glow-bar
   ============================================================ */
@supports (animation-timeline: view()) {

    /* ===========================
       SINGLE-EFFECT ENTRANCE
       =========================== */

    .anim-up {
        opacity: 0;
        transform: translateY(70px);
        animation: scrollRevealUp ease-out both;
        animation-timeline: view();
        animation-range: entry 0% entry 28%;
    }

    .anim-left {
        opacity: 0;
        transform: translateX(-60px);
        animation: scrollRevealLeft ease-out both;
        animation-timeline: view();
        animation-range: entry 0% entry 32%;
    }

    .anim-right {
        opacity: 0;
        transform: translateX(60px);
        animation: scrollRevealRight ease-out both;
        animation-timeline: view();
        animation-range: entry 0% entry 32%;
    }

    .anim-scale {
        opacity: 0;
        transform: scale(0.85);
        animation: scrollRevealScale ease-out both;
        animation-timeline: view();
        animation-range: entry 5% entry 30%;
    }

    .anim-clip {
        clip-path: inset(100% 0 0 0);
        opacity: 0;
        animation: scrollRevealClip ease-out both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }

    .anim-line {
        animation: scrollRevealLine linear both;
        animation-timeline: view();
        animation-range: entry 10% entry 45%;
        transform-origin: left center;
    }


    /* ===========================
       COMBINED ENTRANCE + CONTINUOUS
       Single animation, full view range
       =========================== */

    .anim-up-float {
        animation: revealUpFloat ease-out both;
        animation-timeline: view();
        animation-range: entry 0% exit 0%;
    }

    .anim-clip-float {
        animation: revealClipFloat ease-out both;
        animation-timeline: view();
        animation-range: entry 0% exit 0%;
    }

    .anim-scale-glow {
        animation: revealScaleGlow ease-out both;
        animation-timeline: view();
        animation-range: entry 0% exit 0%;
    }

    .anim-right-glow {
        animation: revealRightGlow ease-out both;
        animation-timeline: view();
        animation-range: entry 0% exit 0%;
    }


    /* ===========================
       CHILD-TARGETED CONTINUOUS
       These target child elements, not self,
       so they never conflict with parent classes
       =========================== */

    .anim-float-slow {
        animation: viewFloatSlow 8s ease-in-out infinite;
        animation-timeline: view();
        animation-range: entry 100% exit 0%;
    }

    .anim-glow-bar .why-feature-accent {
        animation: viewGlowBar 3.5s ease-in-out infinite;
        animation-timeline: view();
        animation-range: entry 100% exit 0%;
    }


    /* ===========================
       HERO PARALLAX
       =========================== */

    .hero-bg-img {
        animation: heroParallax linear;
        animation-timeline: scroll();
        animation-range: 0px 800px;
    }


    /* ===========================
       STAGGER OVERRIDES
       Single-effect elements use entry-only ranges.
       Combined elements use shifted full ranges.
       =========================== */

    /* About children (single-effect, parent is .anim-left) */
    .about .anim-up:nth-child(1) { animation-range: entry 4%  entry 32%; }
    .about .anim-up:nth-child(2) { animation-range: entry 8%  entry 36%; }
    .about-accent .anim-up     { animation-range: entry 10% entry 38%; }
    .about-accent .anim-line   { animation-range: entry 14% entry 48%; }

    /* Services grid — stagger via shifted full range */
    .services-grid > :nth-child(1) { animation-range: entry 0%   exit 0%; }
    .services-grid > :nth-child(2) { animation-range: entry 2%   exit 2%; }
    .services-grid > :nth-child(3) { animation-range: entry 4%   exit 4%; }
    .services-grid > :nth-child(4) { animation-range: entry 6%   exit 6%; }
    .services-grid > :nth-child(5) { animation-range: entry 8%   exit 8%; }
    .services-grid > :nth-child(6) { animation-range: entry 10%  exit 10%; }
    .services-grid > :nth-child(7) { animation-range: entry 12%  exit 12%; }
    .services-grid > :nth-child(8) { animation-range: entry 14%  exit 14%; }

    /* Why features (single-effect, alternating) */
    .why-features > :nth-child(1) { animation-range: entry 0%  entry 28%; }
    .why-features > :nth-child(2) { animation-range: entry 4%  entry 32%; }
    .why-features > :nth-child(3) { animation-range: entry 8%  entry 36%; }
    .why-features > :nth-child(4) { animation-range: entry 12% entry 40%; }
    .why-features > :nth-child(5) { animation-range: entry 16% entry 44%; }

    /* Timeline (single-effect, alternating left/right) */
    .timeline > :nth-child(2) { animation-range: entry 5%  entry 35%; }
    .timeline > :nth-child(3) { animation-range: entry 10% entry 40%; }
    .timeline > :nth-child(4) { animation-range: entry 15% entry 45%; }
    .timeline > :nth-child(5) { animation-range: entry 20% entry 50%; }
    .timeline > :nth-child(6) { animation-range: entry 25% entry 55%; }

    /* Testimonials — second card shifted */
    .testimonials-grid > :nth-child(2) { animation-range: entry 3% exit 3%; }

    /* Contact items (single-effect, cascading) */
    .contact-details > :nth-child(1) { animation-range: entry 12% entry 40%; }
    .contact-details > :nth-child(2) { animation-range: entry 16% entry 44%; }
    .contact-details > :nth-child(3) { animation-range: entry 20% entry 48%; }
    .contact .anim-line             { animation-range: entry 18% entry 52%; }

    /* Glow bar stagger (child-targeted, safe) */
    .why-features > :nth-child(1) .anim-glow-bar .why-feature-accent { animation-delay: 0s; }
    .why-features > :nth-child(2) .anim-glow-bar .why-feature-accent { animation-delay: -0.7s; }
    .why-features > :nth-child(3) .anim-glow-bar .why-feature-accent { animation-delay: -1.4s; }
    .why-features > :nth-child(4) .anim-glow-bar .why-feature-accent { animation-delay: -2.1s; }
    .why-features > :nth-child(5) .anim-glow-bar .why-feature-accent { animation-delay: -2.8s; }
}