/* ============================================================
   BUSYBEAVER — COMPONENTS V4
   Black + Gold + Gray premium
   Montserrat headings, Nunito body
   ============================================================ */

/* ── NAV ── */
.site-nav {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--nav-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border-light);
    z-index: var(--z-nav);
    transition: all var(--transition-base);
}
.site-nav.is-scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: transparent;
    background: rgba(255,255,255,0.98);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo img { height: 100px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
    font-family: var(--font-heading);
    font-size: 13px; font-weight: var(--fw-semibold); color: var(--color-text-secondary);
    transition: color var(--transition-fast); padding: 4px 0;
    letter-spacing: 0.03em; text-transform: uppercase;
}
.nav-link:hover { color: var(--color-black); }
.nav-link--active { color: var(--color-black); font-weight: var(--fw-bold); }
.nav-cta { font-size: 12px; padding: 10px 22px; }

.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; padding: 4px; }
.hamburger-line { display: block; width: 100%; height: 2px; background: var(--color-black); border-radius: 1px; }

.nav-mobile {
    position: fixed; top: var(--nav-height); left: 0; width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(255,255,255,0.99);
    backdrop-filter: blur(20px);
    display: flex; flex-direction: column; align-items: center;
    padding: 40px 16px; gap: 24px; z-index: var(--z-mobile-menu);
    opacity: 0; pointer-events: none; transition: opacity var(--transition-base);
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile-link {
    font-family: var(--font-heading); font-size: 16px;
    font-weight: var(--fw-semibold); color: var(--color-text-secondary);
    letter-spacing: 0.04em; text-transform: uppercase;
}
.nav-mobile-link--active { color: var(--color-black); }
.nav-mobile-cta { margin-top: 16px; width: 100%; text-align: center; }

@media (max-width: 767px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .nav-mobile[hidden] { display: none; }
    .nav-logo img { height: 90px; }
}

/* ── BADGE ── */
.badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 10px; font-weight: var(--fw-bold);
    padding: 4px 10px; border-radius: var(--radius-sm); line-height: 1.2;
    letter-spacing: 0.06em; text-transform: uppercase;
}
.badge--pill { border-radius: var(--radius-xl); padding: 5px 16px; }
.badge--gold { background: var(--color-gold-10); color: var(--color-gold-dark); }
.badge--teal { background: var(--color-primary-10); color: var(--bb-primary-500); }
.badge--dark { background: var(--color-black); color: var(--color-gold); }
.badge--success { background: rgba(45,138,86,0.10); color: var(--color-success); }
.badge--gray { background: var(--color-background); color: var(--color-muted); }

/* ── CARD BASE ── */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border);
}

/* ── CARD: FEATURE (S3) ── */
.card-feature { padding: 24px; min-height: 135px; }
.card-feature__icon { width: 32px; height: 32px; color: var(--color-gold); margin-bottom: 14px; }
.card-feature__icon svg { width: 32px; height: 32px; }
.card-feature__title {
    font-family: var(--font-heading);
    font-size: 14px; font-weight: var(--fw-bold); color: var(--color-black);
    margin-bottom: 8px; letter-spacing: 0.01em; text-transform: uppercase;
}
.card-feature__desc {
    font-family: var(--font-body);
    font-size: 13px; color: var(--color-muted); line-height: 1.6; font-weight: 500;
}

/* Gold left border accent on hover */
.card-feature:hover { border-left: 3px solid var(--color-gold); }

/* ── CARD: SERVICE (S5) ── */
.card-service { overflow: hidden; }
.card-service__image { width: 100%; height: 155px; object-fit: cover; transition: transform var(--transition-slow); background: var(--color-background-warm); }
.card-service:hover .card-service__image { transform: scale(1.04); }
.card-service__body { padding: 16px 20px 20px; }
.card-service__title {
    font-family: var(--font-heading); font-size: 15px;
    font-weight: var(--fw-extrabold); color: var(--color-black);
    margin-bottom: 4px; letter-spacing: -0.01em; text-transform: uppercase;
}
.card-service__desc { font-family: var(--font-body); font-size: 13px; color: var(--color-muted); line-height: 1.55; font-weight: 500; }
.card-service__cta {
    display: inline-block; font-family: var(--font-heading);
    font-size: 12px; color: var(--color-gold); font-weight: var(--fw-bold);
    margin-top: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}
.card-service__cta:hover { color: var(--color-gold-dark); text-decoration: underline; }

/* ── CARD: PROJECT (S6) ── */
.card-project { overflow: hidden; }
.card-project__image { width: 100%; height: 180px; object-fit: cover; background: var(--color-background-warm); }
.card-project__body { padding: 14px 18px 18px; }
.card-project__badges { display: flex; gap: 6px; margin-bottom: 8px; }
.card-project__metrics {
    font-family: var(--font-heading); font-size: 14px;
    font-weight: var(--fw-bold); color: var(--color-black);
    margin-bottom: 4px; letter-spacing: -0.01em;
}
.card-project__rating {
    display: flex; align-items: center; gap: 5px;
    font-family: var(--font-heading);
    font-size: 13px; font-weight: var(--fw-bold); color: var(--color-gold-dark);
}
.card-project__stars { color: var(--color-gold); display: flex; gap: 1px; font-size: 13px; }

/* ── CARD: GUARANTEE (S7) ── */
.card-guarantee { display: flex; gap: 14px; margin-bottom: 22px; }
.card-guarantee__check {
    flex-shrink: 0; width: 26px; height: 26px;
    background: var(--color-gold-10); border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center; margin-top: 0;
}
.card-guarantee__check svg { width: 13px; height: 13px; color: var(--color-gold); }
.card-guarantee__text {
    font-family: var(--font-heading); font-size: 14px;
    font-weight: var(--fw-bold); color: var(--color-black);
    margin-bottom: 3px; line-height: 1.3;
}
.card-guarantee__sub {
    font-family: var(--font-body);
    font-size: 12px; color: var(--color-muted); line-height: 1.6; font-weight: 500;
}

/* ── METRIC BLOCK (S2) ── */
.metric-block { text-align: center; padding: 6px 0; }
.metric-block__value {
    font-family: var(--font-heading);
    font-size: 28px; font-weight: var(--fw-black);
    background: var(--gradient-gold-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1; margin-bottom: 5px; letter-spacing: -0.03em;
}
.metric-block__label {
    font-family: var(--font-body);
    font-size: 12px; color: var(--color-muted-light);
    letter-spacing: 0.02em; font-weight: var(--fw-normal);
}

/* ── PROGRESS BAR ── */
.progress-bar { width: 100%; height: 4px; background: var(--color-border-light); border-radius: var(--radius-sm); overflow: hidden; }
.progress-bar--md { height: 6px; }
.progress-bar__fill { height: 100%; background: var(--gradient-gold); border-radius: inherit; transition: width 800ms cubic-bezier(0.16,1,0.3,1); width: 0; }

/* ── TIMELINE (S4) ── */
.timeline { position: relative; padding: 0; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-border-light), var(--color-gold), var(--color-gold-dark), var(--color-border-light));
    transform: translateX(-50%); border-radius: 1px;
}
.timeline-step { position: relative; display: flex; align-items: flex-start; margin-bottom: 36px; }
.timeline-step:last-child { margin-bottom: 0; }
.timeline-step:nth-child(odd) { justify-content: flex-start; padding-right: calc(50% + 32px); }
.timeline-step:nth-child(even) { justify-content: flex-end; padding-left: calc(50% + 32px); }

.timeline-step__circle {
    position: absolute; left: 50%; transform: translateX(-50%);
    width: 34px; height: 34px; border-radius: var(--radius-full);
    border: 2px solid var(--color-gold);
    background: var(--color-white);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 13px; font-weight: var(--fw-black); color: var(--color-gold); z-index: 1;
}

.timeline-step__card {
    background: var(--color-white); border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg); padding: 18px 22px;
    max-width: 360px; width: 100%;
    transition: all var(--transition-base);
}
.timeline-step__card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--color-gold);
}
.timeline-step__title {
    font-family: var(--font-heading); font-size: 14px;
    font-weight: var(--fw-bold); color: var(--color-black);
    margin-bottom: 5px; letter-spacing: 0.01em; text-transform: uppercase;
}
.timeline-step__desc {
    font-family: var(--font-body);
    font-size: 13px; color: var(--color-muted); line-height: 1.6; font-weight: 500;
}

@media (max-width: 767px) {
    .timeline::before { left: 16px; }
    .timeline-step, .timeline-step:nth-child(odd), .timeline-step:nth-child(even) {
        justify-content: flex-start; padding-left: 50px; padding-right: 0;
    }
    .timeline-step__circle { left: 16px; }
    .timeline-step__card { max-width: 100%; }
    .timeline-step { margin-bottom: 22px; }
}

/* ── REVIEWS (S8) ── */
.reviews-aggregate { text-align: center; margin-bottom: 28px; }
.reviews-aggregate__score {
    font-family: var(--font-heading);
    font-size: 44px; font-weight: var(--fw-black);
    letter-spacing: -0.04em;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.reviews-aggregate__label {
    font-family: var(--font-body);
    font-size: 13px; color: var(--color-muted); max-width: 400px; margin: 8px auto 0; font-weight: 500;
}

.review-categories { max-width: 440px; margin: 0 auto 28px; }
.review-category { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-category__label { font-family: var(--font-body); font-size: 13px; color: var(--color-muted); width: 140px; text-align: right; flex-shrink: 0; }
.review-category__bar { flex: 1; max-width: 180px; }
.review-category__score { font-family: var(--font-heading); font-size: 13px; font-weight: var(--fw-black); color: var(--color-gold-dark); width: 28px; flex-shrink: 0; }

.testimonial-carousel { position: relative; max-width: 500px; margin: 0 auto; min-height: 100px; }
.testimonial-card {
    background: var(--color-background-cream); border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg); padding: 28px; text-align: center;
    position: absolute; top: 0; left: 0; width: 100%;
    opacity: 0; transition: opacity var(--transition-slow);
}
.testimonial-card.is-active { opacity: 1; position: relative; }
.testimonial-card__text {
    font-family: var(--font-body);
    font-size: 15px; color: var(--color-text-secondary); font-style: italic;
    margin-bottom: 14px; line-height: 1.7; font-weight: 500;
}
.testimonial-card__author {
    font-family: var(--font-heading); font-size: 12px;
    color: var(--color-muted); font-weight: var(--fw-bold);
    letter-spacing: 0.04em; text-transform: uppercase;
}

.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.carousel-dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--color-border); border: none; padding: 0; cursor: pointer; transition: all var(--transition-base); }
.carousel-dot.is-active { background: var(--color-gold); width: 24px; border-radius: 4px; }

.reviews-microcopy {
    font-family: var(--font-body);
    font-size: 12px; color: var(--color-muted-light); text-align: center;
    font-style: italic; margin-top: 24px; max-width: 440px;
    margin-left: auto; margin-right: auto; font-weight: 500;
}

/* ── SCREENSHOT MOCKUP ── */
.screenshot-mockup {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid var(--color-border);
}
.screenshot-mockup__bar {
    background: linear-gradient(180deg, #FAFAFA 0%, #F0F0F0 100%);
    padding: 10px 14px; display: flex; align-items: center; gap: 7px;
    border-bottom: 1px solid var(--color-border-light);
}
.screenshot-mockup__dot { width: 10px; height: 10px; border-radius: var(--radius-full); }
.screenshot-mockup__dot:nth-child(1) { background: #FF5F57; }
.screenshot-mockup__dot:nth-child(2) { background: #FEBC2E; }
.screenshot-mockup__dot:nth-child(3) { background: #28C840; }
.screenshot-mockup__img { width: 100%; display: block; min-height: 200px; background: var(--color-background-warm); }

.screenshot-badge {
    position: absolute; bottom: 14px; left: 14px;
    background: var(--color-black); border: 1.5px solid var(--color-gold);
    border-radius: var(--radius-xl); padding: 8px 18px;
    box-shadow: var(--shadow-dark);
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-heading);
    font-size: 12px; font-weight: var(--fw-black); color: var(--color-gold);
    letter-spacing: 0.02em; text-transform: uppercase;
    animation: badge-pulse-gold 2s infinite ease-in-out;
}

/* Badge tooltip */
.badge-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: var(--color-black);
    color: var(--color-white-80);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: var(--fw-normal);
    text-transform: none;
    letter-spacing: 0;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 200ms ease, transform 200ms ease;
    box-shadow: var(--shadow-dark);
}
.badge-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--color-black);
}
.screenshot-badge:hover .badge-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

@keyframes badge-pulse-gold {
    0%, 100% { box-shadow: var(--shadow-dark); }
    50% { box-shadow: var(--shadow-gold); }
}

/* ── CTA SECTION (S9) ── */
.cta-section { text-align: center; }
.cta-section__title {
    font-family: var(--font-heading);
    font-size: 30px; font-weight: var(--fw-black);
    color: var(--color-white); margin-bottom: 14px;
    letter-spacing: -0.02em; text-transform: uppercase;
}
.cta-section__subtitle {
    font-family: var(--font-body);
    font-size: 15px; color: var(--color-white-80); max-width: 520px;
    margin: 0 auto 30px; line-height: 1.7; font-weight: 500;
}
.cta-section__microcopy {
    font-family: var(--font-body);
    font-size: 13px; color: var(--color-white-40); margin-top: 14px; font-weight: 500;
}

/* ── FOOTER ── */
.site-footer { background: var(--color-black); padding: 48px 0; color: var(--color-white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { height: 100px; width: auto; margin-bottom: 12px; }
.footer-tagline { font-family: var(--font-body); font-size: 13px; color: var(--color-white-40); margin-bottom: 16px; font-weight: 500; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { color: var(--color-white-40); transition: color var(--transition-fast); }
.footer-social a:hover { color: var(--color-gold); }
.footer-heading {
    font-family: var(--font-heading);
    font-size: 11px; font-weight: var(--fw-bold); color: var(--color-gold);
    margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.12em;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-family: var(--font-body); font-size: 13px; color: var(--color-white-40); transition: color var(--transition-fast); font-weight: 500; }
.footer-links a:hover { color: var(--color-white); }
.footer-contact-item { font-family: var(--font-body); font-size: 13px; color: var(--color-white-40); margin-bottom: 7px; font-weight: 500; }
.footer-contact-item strong { color: var(--color-white-60); font-weight: var(--fw-medium); }
.footer-contact-item a { color: var(--color-white-40); }
.footer-contact-item a:hover { color: var(--color-gold); }

.footer-bottom {
    border-top: 1px solid var(--color-white-10); margin-top: 32px; padding-top: 24px;
    display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px;
}
.footer-fiscal { display: flex; flex-wrap: wrap; gap: 16px; font-size: 11px; color: var(--color-white-40); }
.footer-copyright { font-size: 11px; color: var(--color-white-40); }

@media (max-width: 767px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-fiscal { justify-content: center; }
}