/**
 * Homepage (marketing-home) — loaded without Vite so `php artisan serve` stays styled
 * when public/build is stale. Uses tokens from the main marketing bundle (body.site-shell).
 */
body.marketing-home .reveal-on-scroll,
body.marketing-home .reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: none !important;
}

body.marketing-home .home-landing {
    overflow-x: clip;
}

body.marketing-home main.flex-grow-1 {
    background-color: var(--lp-bg);
}

body.marketing-home .ref-landing-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(var(--lp-accent-rgb), 0.18), transparent 55%),
        linear-gradient(165deg, #0f1117 0%, #1a1d28 45%, #12141c 100%);
    color: #f4f4f5;
    padding-top: clamp(2rem, 5vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

body.marketing-home .ref-landing-hero__title {
    font-family: var(--lp-font-serif);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.02em;
    color: #fff;
}

body.marketing-home .ref-landing-hero__accent {
    color: #ffb347;
    text-shadow: 0 0 40px rgba(255, 179, 71, 0.35);
}

body.marketing-home .ref-landing-hero__lead {
    color: rgba(244, 244, 245, 0.82);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 36rem;
}

body.marketing-home .ref-landing-hero__tagline {
    color: #ffb347;
    font-weight: 600;
    font-size: 1.05rem;
}

body.marketing-home .ref-landing-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
}

body.marketing-home .ref-landing-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    border: 2px solid transparent;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

body.marketing-home .ref-landing-hero-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

body.marketing-home .ref-landing-hero-cta--primary {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff6b00 50%, #e85d00 100%);
    color: #111 !important;
    box-shadow: 0 0.35rem 1.25rem rgba(255, 120, 0, 0.45);
}

body.marketing-home .ref-landing-hero-cta--primary:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(255, 140, 0, 0.55);
    color: #111 !important;
}

body.marketing-home .ref-landing-hero-cta--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

body.marketing-home .ref-landing-hero-cta--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff !important;
}

body.marketing-home .ref-landing-hero-banner-wrap {
    position: relative;
    border-radius: var(--lp-radius-lg);
    overflow: hidden;
    box-shadow:
        0 1.5rem 3rem rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 179, 71, 0.22);
    background: rgba(0, 0, 0, 0.2);
}

body.marketing-home .ref-landing-hero-banner {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(52vh, 440px);
    object-fit: cover;
    object-position: center top;
    vertical-align: middle;
}

body.marketing-home .ref-landing-why {
    background: var(--lp-surface);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

body.marketing-home .ref-landing-why__icon {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

body.marketing-home .ref-landing-why .landing-card h3 {
    color: var(--lp-text);
}

body.marketing-home .ref-landing-steps {
    background: linear-gradient(180deg, var(--lp-surface-2) 0%, var(--lp-surface) 100%);
}

body.marketing-home .ref-landing-steps .ref-landing-step-card h3 {
    color: var(--lp-text);
}

body.marketing-home .ref-landing-steps .ref-landing-step-card p {
    color: var(--lp-muted) !important;
}

body.marketing-home .ref-landing-steps .text-secondary {
    color: var(--lp-muted) !important;
}

body.marketing-home .ref-landing-step-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 1.5rem 1.25rem;
    height: 100%;
    text-align: center;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body.marketing-home .ref-landing-step-card:hover {
    border-color: rgba(var(--lp-accent-rgb), 0.35);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.08);
}

html[data-bs-theme='dark'] body.marketing-home .ref-landing-step-card:hover {
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.45);
}

body.marketing-home .ref-landing-step-card img {
    width: 4.5rem;
    height: auto;
    margin-bottom: 1rem;
}

body.marketing-home .ref-landing-services .ref-svc-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--lp-radius);
}

body.marketing-home .ref-landing-testimonial {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 1.5rem;
    height: 100%;
}

body.marketing-home .ref-landing-testimonial__avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--lp-accent-rgb), 0.35);
}

body.marketing-home .ref-landing-wave-wrap {
    line-height: 0;
    overflow: hidden;
    max-height: 72px;
    background: var(--lp-surface);
}

body.marketing-home .ref-landing-wave {
    display: block;
    width: 100%;
    height: 72px;
    object-fit: cover;
    object-position: center center;
    opacity: 0.85;
}

body.marketing-home .ref-landing-contact-strip {
    background: var(--lp-surface-2);
    border-top: 1px solid var(--lp-border);
}

body.marketing-home .ref-landing-contact-strip a {
    color: var(--lp-text);
}

body.marketing-home .ref-landing-contact-strip a:hover {
    color: var(--lp-accent);
}

body.marketing-home .ref-landing-contact-strip img {
    width: 2.25rem;
    height: auto;
    opacity: 0.9;
    flex-shrink: 0;
}

body.marketing-home .ref-landing-services .landing-card .fw-semibold {
    color: var(--lp-text);
}

body.marketing-home .ref-landing-testimonial .fw-semibold {
    color: var(--lp-text);
}
