/* Trust marquee — scrolls left to right */
.trust-marquee {
    position: relative;
}

.trust-marquee-track {
    display: flex;
    width: max-content;
    animation: trust-marquee-ltr 35s linear infinite;
}

.trust-marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 1.75rem;
    padding-right: 1.75rem;
    white-space: nowrap;
}

.trust-dot {
    color: #94a3b8;
}

@keyframes trust-marquee-ltr {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.trust-marquee:hover .trust-marquee-track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .trust-marquee-track {
        animation: none;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .trust-marquee-group[aria-hidden="true"] {
        display: none;
    }

    .trust-marquee-group {
        flex-wrap: wrap;
        justify-content: center;
        white-space: normal;
        padding: 0 1rem;
    }
}


html {
    scroll-behavior: smooth;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

@keyframes float-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-soft {
    animation: float-soft 6s ease-in-out infinite;
}

.freelance-card {
    box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.65);
}

.freelance-card:hover {
    box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.85);
}

@media (prefers-reduced-motion: reduce) {
    .freelance-card,
    .freelance-card:hover {
        transition: none !important;
        transform: none !important;
    }
}


.testimonials-viewport.is-dragging {
    cursor: grabbing;
}

.testimonials-track {
    display: flex;
    gap: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        cursor: auto;
    }

    .testimonials-track {
        transform: none !important;
        width: max-content;
    }

    .testimonials-track .testimonial-card[aria-hidden="true"] {
        display: none;
    }
}


.site-nav--overlay {
    width: 100%;
}

/* Hero */
.hero-section {
    isolation: isolate;
}

.hero-image {
    transform: scale(1.06);
    animation: hero-zoom 18s ease-out forwards;
}

@keyframes hero-zoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero-anim {
    opacity: 0;
    will-change: transform, opacity;
}

.hero-anim-from-left {
    transform: translateX(-100vw);
}

.hero-anim-from-right {
    transform: translateX(100vw);
}

.hero-anim-from-bottom {
    transform: translateY(80px);
}

.hero-section.is-ready .hero-anim-from-left,
.hero-section.is-ready .hero-anim-from-right,
.hero-section.is-ready .hero-anim-from-bottom {
    animation: hero-slide-in 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-anim-1 { animation-delay: 0.1s; }
.hero-anim-2 { animation-delay: 0.28s; }
.hero-anim-3 { animation-delay: 0.42s; }
.hero-anim-4 { animation-delay: 0.56s; }
.hero-anim-5 { animation-delay: 0.7s; }

@keyframes hero-slide-in {
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image,
    .hero-section.is-ready .hero-anim-from-left,
    .hero-section.is-ready .hero-anim-from-right,
    .hero-section.is-ready .hero-anim-from-bottom {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@keyframes icon-bob {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.05); }
}

/* Services — one-line horizontal marquee */
.services-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.services-marquee-track {
    display: flex;
    width: max-content;
    animation: services-marquee-ltr 45s linear infinite;
}

.services-marquee-group {
    display: flex;
    flex-shrink: 0;
    gap: 1.25rem;
    padding-right: 1.25rem;
}

.services-marquee:hover .services-marquee-track {
    animation-play-state: paused;
}

@keyframes services-marquee-ltr {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.service-card {
    position: relative;
    background: #ffffff;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        border-color 0.35s ease,
        background 0.4s ease;
}

.service-card .service-icon,
.service-card .service-title,
.service-card .service-desc,
.service-card .service-price,
.service-card .service-price-note,
.service-card .service-cta,
.service-card .service-num,
.service-card .service-cta-arrow {
    transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(251, 176, 59, 0.45);
    background: linear-gradient(165deg, #101820 0%, #1a2833 100%);
    box-shadow: 0 28px 50px -22px rgba(16, 24, 32, 0.55);
}

.service-card:hover .service-title,
.service-card:hover .service-cta {
    color: #ffffff;
}

.service-card:hover .service-desc {
    color: rgba(255, 255, 255, 0.72);
}

.service-card:hover .service-price {
    color: #ffffff;
}

.service-card:hover .service-price-note {
    color: rgba(251, 176, 59, 0.85);
}

.service-card:hover .service-num {
    color: #FBB03B;
}

.service-card:hover .service-icon {
    animation: icon-bob 1.1s ease-in-out infinite;
    background: rgba(251, 176, 59, 0.16);
    color: #FBB03B;
    box-shadow: none;
}

.service-card:hover .service-cta-arrow {
    background: #FBB03B;
    color: #101820;
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    .services-marquee-track {
        animation: none;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 1rem 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .services-marquee-group[aria-hidden="true"] {
        display: none;
    }

    .services-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .reveal,
    .service-card,
    .float-soft,
    .service-card:hover .service-icon {
        animation: none !important;
        transition: background-color 0.2s ease, color 0.2s ease !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Blog card featured images — consistent crop */
.blog-card-media {
    position: relative;
    width: 100%;
    height: 14rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .blog-card-media {
        height: 15rem;
    }
}

.blog-card-media img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.prose-blog {
    font-size: 1.0625rem;
}

.prose-blog > p:first-of-type {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1e293b;
}

.prose-blog > p:first-of-type::first-letter {
    float: left;
    margin: 0.12em 0.12em 0 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: 3.25rem;
    font-weight: 600;
    line-height: 0.85;
    color: #FBB03B;
}

.prose-blog h2 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    color: #101820;
}

.prose-blog h3 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
    color: #101820;
}

.prose-blog p {
    margin-bottom: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.prose-blog ul,
.prose-blog ol {
    padding-left: 1.35rem;
    margin-bottom: 1.15rem;
    color: #334155;
}

.prose-blog ul {
    list-style: disc;
}

.prose-blog ol {
    list-style: decimal;
}

.prose-blog li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.prose-blog a {
    color: #0f766e;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose-blog a:hover {
    color: #FBB03B;
}

.prose-blog blockquote {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    border-left: 3px solid #FBB03B;
    background: #FFF8EE;
    border-radius: 0 1rem 1rem 0;
    color: #1e293b;
    font-style: italic;
}

.prose-blog img {
    display: block;
    width: 100%;
    max-height: 26rem;
    margin: 1.75rem 0;
    object-fit: cover;
    object-position: center;
    border-radius: 1.25rem;
}

.admin-sidebar-link.active {
    background: rgba(20, 184, 166, 0.15);
    color: #5eead4;
}

/* Footer back-to-top */
.back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* FAQ accordion */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary {
    list-style: none;
}

.faq-item[open] .faq-answer {
    color: rgba(16, 24, 32, 0.78);
}

/* About stats — outlined numbers */
.about-stat-number {
    color: transparent;
    -webkit-text-stroke: 1.5px #101820;
    paint-order: stroke fill;
}
