/* ============================================================
   BUSYBEAVER — SITE GLOBAL V4
   Montserrat headings + Nunito body
   Black + Gold + Light Gray premium
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--body-md);
    /*font-weight: var(--fw-normal);*/
    font-weight: 500;
    line-height: var(--lh-relaxed);
    color: var(--color-text-secondary);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; border: none; background: none; }
button { cursor: pointer; }

/* ── CONTAINER ── */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: var(--container-narrow); }
.container--text { max-width: var(--container-text); }

/* ── SECTIONS ── */
.section { padding: 72px 0; width: 100%; }
.section--compact { padding: 24px 0; }
.section--hero { padding: 72px 0 56px; display: flex; align-items: center; }
.section--white { background: var(--color-white); }
.section--cream { background: var(--color-background-cream); }
.section--warm { background: var(--color-background-warm); }
.section--gray { background: var(--color-background); }
.section--dark { background: var(--gradient-cta); }
.section--gold { background: var(--color-black); }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 44px; }

.section-header__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    background: var(--color-gold-10);
    color: var(--color-gold);
    font-size: 11px;
    font-weight: var(--fw-bold);
    padding: 5px 18px;
    border-radius: var(--radius-xl);
    margin-bottom: 18px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: var(--heading-lg);
    font-weight: var(--fw-black);
    line-height: var(--lh-tight);
    letter-spacing: -0.03em;
    color: var(--color-black);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.section-header__subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: var(--lh-relaxed);
    font-weight: 500;
}

/* ── GRID ── */
.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--halves { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid--hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: var(--fw-black);
    line-height: var(--lh-tight);
    color: var(--color-black);
    letter-spacing: -0.03em;
}
h1 { font-size: var(--display-lg); text-transform: uppercase; }
h2 { font-size: var(--heading-lg); text-transform: uppercase; }
h3 { font-size: var(--heading-xs); }
p { margin-bottom: 10px; }
p:last-child { margin-bottom: 0; }

/* ── TEXT UTILITIES ── */
.text-gold {
    color: var(--color-gold);
}
.text-gradient-gold {
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-light {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ── LINKS ── */
.link-gold {
    color: var(--color-gold);
    font-weight: var(--fw-semibold);
    font-size: 15px;
    transition: color var(--transition-fast);
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
}
.link-gold:hover { color: var(--color-gold-dark); text-decoration: underline; }

.link-teal {
    color: var(--bb-primary-500);
    font-weight: var(--fw-semibold);
    font-size: 15px;
    transition: color var(--transition-fast);
}
.link-teal:hover { color: var(--color-primary-dark); text-decoration: underline; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: var(--fw-bold); font-size: 14px;
    padding: 14px 30px; border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap; text-decoration: none; line-height: 1;
    letter-spacing: 0.02em; text-transform: uppercase;
}
.btn-primary {
    background: var(--color-black);
    color: var(--color-gold);
    border: 1px solid var(--color-charcoal);
}
.btn-primary:hover {
    background: var(--color-charcoal);
    transform: translateY(-1px);
    box-shadow: var(--shadow-dark);
}
.btn-gold {
    background: var(--gradient-gold);
    color: var(--color-black);
    border: none;
}
.btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
    filter: brightness(1.1);
}
.btn-secondary {
    background: transparent;
    color: var(--color-black);
    border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
    background: var(--color-background);
    border-color: var(--color-muted-light);
}
.btn-white {
    background: var(--color-white);
    color: var(--color-black);
    font-weight: var(--fw-extrabold);
}
.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}
.btn--sm { font-size: 12px; padding: 10px 20px; }
.btn--lg { font-size: 15px; padding: 16px 36px; }

/* ── DIVIDER ── */
.divider-gold {
    width: 48px; height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
    margin: 0 auto 20px;
}

/* ── BREADCRUMBS ── */
.breadcrumbs { padding: 10px 0; font-size: var(--caption); color: var(--color-muted); }
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-gold); }
.breadcrumb-separator { margin: 0 6px; }
.breadcrumb-current { color: var(--color-text); }

/* ── ANIMATIONS ── */
.animate-on-scroll {
    opacity: 0; transform: translateY(16px);
    transition: opacity var(--transition-entrance), transform var(--transition-entrance);
}
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0ms; }
.animate-delay-2 { transition-delay: 80ms; }
.animate-delay-3 { transition-delay: 160ms; }
.animate-delay-4 { transition-delay: 240ms; }
.animate-delay-5 { transition-delay: 320ms; }
.animate-delay-6 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .animate-on-scroll { opacity: 1; transform: none; }
}

.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }

/* Force readable weight on all body text */
p, .card-feature__desc, .card-guarantee__sub, .timeline-step__desc, 
.card-service__desc, .hero__subtitle, .section-header__subtitle,
.testimonial-card__text, .reviews-microcopy, .footer-tagline,
.footer-links a, .footer-contact-item, .metric-block__label,
.reviews-aggregate__label, .review-category__label {
    font-weight: 500 !important;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── TESTIMONIAL CAROUSEL ── */
.testimonial-carousel { max-width: 520px; margin: 28px auto 0; }
.testimonial-card {
    display: none;
    min-height: 150px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px 28px 16px;
}
.testimonial-card.is-active { display: block; }
.testimonial-card__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    font-style: italic;
    text-align: center;
}
.testimonial-card__text--empty { font-style: normal; color: var(--color-muted); font-size: 13px; }
.testimonial-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}
.testimonial-card__author {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700 !important;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.testimonial-card__date { font-size: 11px; color: var(--color-muted); }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--color-border);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.carousel-dot.is-active { background: var(--color-gold); }
.carousel-dot:hover { background: var(--color-gold-light); }
.reviews-microcopy { font-size: 12px; color: var(--color-muted); text-align: center; font-style: italic; margin-top: 16px; }

/* ── TABLET ── */
@media (max-width: 1199px) {
    :root { --display-lg: 36px; --heading-lg: 28px; }
    .container { padding: 0 24px; }
    .section { padding: 52px 0; }
    .section--hero { padding: 44px 0 36px; }
    .grid--hero { grid-template-columns: 1fr; gap: 36px; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--halves { grid-template-columns: 1fr; gap: 28px; }
}

/* ── MOBILE ── */
@media (max-width: 767px) {
    :root { --display-lg: 28px; --heading-lg: 22px; --heading-xs: 17px; }
    .container { padding: 0 16px; }
    .section { padding: 40px 0; }
    .section--hero { padding: 32px 0 24px; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .btn { width: 100%; justify-content: center; }
    .section-header__title { font-size: 22px; }
    .section-header { margin-bottom: 28px; }
}