/* ─────────────────────────────────────────────
   GOODYARDS — Main Stylesheet
   Colors: Navy #0A2540 + Lime #B5E550
   Fonts: DM Sans (body), DM Serif Display (headings)
───────────────────────────────────────────── */

:root {
    --navy: #0A2540;
    --lime: #B5E550;
    --lime-dark: #8ab800;
    --white: #ffffff;
    --off-white: #F7F9FC;
    --gray-100: #F0F4F8;
    --gray-200: #E2E8F0;
    --gray-400: #94A3B8;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --gold: #D4A017;
    --green-badge: #16A34A;
    --red: #DC2626;

    --font-body: 'DM Sans', sans-serif;
    --font-display: 'DM Serif Display', serif;

    --max-width: 1200px;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--gray-800);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ── NAV ── */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10, 37, 64, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(181, 229, 80, 0.15);
}
.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    letter-spacing: 1px;
    text-decoration: none;
}
.nav-logo span { color: var(--lime); }
.nav-logo img { max-height: 40px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-menu { display: flex; align-items: center; gap: 32px; margin: 0; }
.nav-links a,
.nav-menu a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-menu a:hover { color: var(--lime); }
.nav-cta,
.nav-menu a.nav-cta {
    background: var(--lime);
    color: var(--navy) !important;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.2s;
}
.nav-cta:hover,
.nav-menu a.nav-cta:hover {
    background: var(--lime-dark);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 68px;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(181, 229, 80, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(181, 229, 80, 0.05) 0%, transparent 50%);
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(181, 229, 80, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(181, 229, 80, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(181, 229, 80, 0.12);
    border: 1px solid rgba(181, 229, 80, 0.25);
    color: var(--lime);
    font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero-tag span { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; display: inline-block; }

h1, .hero h1 {
    font-family: var(--font-display);
    font-size: 62px; line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px; letter-spacing: -1px;
    font-weight: 400;
}
h1 em { color: var(--lime); font-style: italic; }

.hero-sub {
    font-size: 18px; color: rgba(255, 255, 255, 0.6);
    line-height: 1.7; max-width: 460px; margin-bottom: 36px;
}
.hero-btns { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
    background: var(--lime); color: var(--navy);
    font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: 5px;
    text-decoration: none; transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--lime-dark); color: var(--white); }
.btn-large { font-size: 16px; padding: 16px 36px; }

.btn-ghost {
    color: rgba(255, 255, 255, 0.7); font-size: 15px; font-weight: 500;
    text-decoration: none; display: flex; align-items: center; gap: 8px;
    transition: color 0.2s;
}
.btn-ghost:hover { color: var(--lime); }
.ghost-highlight { color: var(--lime); }

.hero-stats {
    display: flex; gap: 32px; margin-top: 48px; padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); flex-wrap: wrap;
}
.hero-stat-num { font-family: var(--font-display); font-size: 36px; color: var(--lime); }
.hero-stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-top: 2px; }

/* Hero Right — Builder Card Preview */
.hero-card-stack { position: relative; }
.preview-card {
    background: var(--white); border-radius: 16px; padding: 24px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4); position: relative; z-index: 2;
}
.preview-card-back {
    background: rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 24px;
    position: absolute; top: -16px; right: -16px; left: 16px; bottom: 16px;
    z-index: 1; border: 1px solid rgba(255, 255, 255, 0.1);
}
.card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.card-avatar {
    width: 48px; height: 48px; background: var(--navy); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 16px; color: var(--lime); font-weight: 700;
}
.card-company { font-size: 16px; font-weight: 700; color: var(--gray-800); }
.card-location { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.score-badge {
    margin-left: auto; background: var(--lime); color: var(--navy);
    font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 100px;
}
.card-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pill {
    font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px;
    background: var(--gray-100); color: var(--gray-600);
}
.card-rating-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.rating-item { background: var(--off-white); border-radius: 8px; padding: 10px 12px; }
.rating-label { font-size: 11px; color: var(--gray-400); margin-bottom: 4px; }
.rating-stars { font-size: 14px; color: var(--gold); }
.rating-num { font-size: 12px; font-weight: 700; color: var(--gray-800); margin-left: 4px; }
.card-cta {
    width: 100%; background: var(--navy); color: var(--white); border: none; border-radius: 8px;
    padding: 12px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font-body);
    text-align: center; text-decoration: none; display: block;
}
.verified-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #EFF6FF; color: #1D4ED8;
    font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px; margin-bottom: 12px;
}

/* ── TICKER ── */
.ticker { background: var(--lime); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-block; animation: ticker 20s linear infinite; }
.ticker-inner span {
    font-size: 13px; font-weight: 700; color: var(--navy);
    letter-spacing: 2px; text-transform: uppercase; padding: 0 28px;
}
.ticker-inner span.dot { color: rgba(10, 37, 64, 0.4); padding: 0 8px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── SECTION BASE ── */
section { padding: 96px 32px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-tag {
    font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--lime-dark); margin-bottom: 12px;
}
.section-tag--cta { color: rgba(181, 229, 80, 0.7); text-align: center; }
.section-title {
    font-family: var(--font-display); font-size: 44px; color: var(--navy);
    line-height: 1.1; margin-bottom: 16px; font-weight: 400;
}
.section-title--light { color: var(--white); }
.section-sub { font-size: 17px; color: var(--gray-600); line-height: 1.7; max-width: 560px; }
.section-sub--light { color: rgba(255, 255, 255, 0.5); }

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--navy); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 56px; }
.step-item {
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 28px; position: relative; transition: all 0.3s;
}
.step-item:hover { background: rgba(181, 229, 80, 0.06); border-color: rgba(181, 229, 80, 0.2); }
.step-item:first-child { border-radius: 12px 0 0 12px; }
.step-item:last-child { border-radius: 0 12px 12px 0; }
.step-num { font-family: var(--font-display); font-size: 48px; color: rgba(181, 229, 80, 0.2); line-height: 1; margin-bottom: 20px; }
.step-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-body { font-size: 14px; color: rgba(255, 255, 255, 0.5); line-height: 1.7; }
.step-arrow {
    position: absolute; top: 32px; right: -14px; width: 28px; height: 28px;
    background: var(--lime); border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 12px; color: var(--navy); font-weight: 700; z-index: 1;
}
.step-item:last-child .step-arrow { display: none; }

/* ── BUILDERS SECTION ── */
.builders-section { background: var(--off-white); }
.builders-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.view-all-link { font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; }
.builders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.builder-card {
    background: var(--white); border-radius: 16px; padding: 28px; border: 1px solid var(--gray-200);
    transition: all 0.3s; cursor: pointer; display: flex; flex-direction: column;
}
.builder-card:hover { border-color: var(--navy); box-shadow: 0 8px 32px rgba(10, 37, 64, 0.1); transform: translateY(-2px); }
.bc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.bc-avatar {
    width: 52px; height: 52px; background: var(--navy); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 18px; color: var(--lime);
}
.bc-score-gold, .bc-score-green {
    font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 100px;
    display: flex; align-items: center; gap: 5px; white-space: nowrap;
}
.bc-score-gold { background: #FEF3C7; color: #92400E; }
.bc-score-green { background: #DCFCE7; color: #166534; }
.bc-name { font-size: 17px; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.bc-location { font-size: 13px; color: var(--gray-400); }
.bc-divider { height: 1px; background: var(--gray-200); margin: 16px 0; }
.bc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.bc-tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; background: var(--off-white); color: var(--gray-600); }
.bc-price { font-size: 13px; color: var(--gray-600); }
.bc-price strong { color: var(--navy); }
.bc-reviews { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.bc-stars { color: var(--gold); font-size: 14px; }
.bc-review-count { font-size: 12px; color: var(--gray-400); }
.bc-btn {
    width: 100%; margin-top: 16px; padding: 11px; border: 2px solid var(--navy); border-radius: 8px;
    background: transparent; color: var(--navy); font-size: 14px; font-weight: 600; cursor: pointer;
    font-family: var(--font-body); transition: all 0.2s; text-align: center; text-decoration: none;
    display: block; margin-top: auto;
}
.bc-btn:hover { background: var(--navy); color: var(--white); }

/* ── GOOD SCORE SECTION ── */
.score-section { background: var(--white); }
.score-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.score-ui { background: var(--off-white); border-radius: 20px; padding: 32px; border: 1px solid var(--gray-200); }
.score-ui-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 12px; flex-wrap: wrap; }
.score-ui-title { font-size: 14px; font-weight: 700; color: var(--gray-800); }
.score-label { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.score-badge-gold { background: #FEF3C7; color: #92400E; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 100px; white-space: nowrap; }
.score-bars { display: flex; flex-direction: column; gap: 12px; }
.score-bar-row { display: flex; align-items: center; gap: 12px; }
.score-bar-label { font-size: 12px; color: var(--gray-600); width: 140px; flex-shrink: 0; }
.score-bar-track { flex: 1; height: 6px; background: var(--gray-200); border-radius: 100px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 100px; background: var(--navy); }
.score-bar-val { font-size: 12px; font-weight: 700; color: var(--navy); width: 36px; text-align: right; }

.bands { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.band { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--gray-200); }
.band-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.band-dot--gold { background: var(--gold); }
.band-dot--green { background: var(--green-badge); }
.band-dot--gray { background: var(--gray-400); }
.band-dot--red { background: var(--red); }
.band-score { font-size: 13px; font-weight: 700; color: var(--gray-800); width: 80px; }
.band-name { font-size: 13px; font-weight: 600; color: var(--gray-800); }
.band-desc { font-size: 12px; color: var(--gray-400); margin-left: auto; }

/* ── Good Score badge pill (used on profile pages too) ── */
.score-badge-pill {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 100px;
}
.badge-gold { background: #FEF3C7; color: #92400E; }
.badge-green { background: #DCFCE7; color: #166534; }
.badge-listed { background: var(--gray-100); color: var(--gray-600); }
.badge-review { background: #FEE2E2; color: #991B1B; }

/* ── CTA SECTION ── */
.cta-section { background: var(--navy); text-align: center; }
.cta-inner { text-align: center; }
.cta-title { margin: 0 auto 16px; }
.cta-sub { margin: 0 auto 40px; }

/* ── FOOTER ── */
.site-footer { background: #060F1E; padding: 48px 32px 32px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-display); font-size: 20px; color: var(--white); margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: rgba(255, 255, 255, 0.4); line-height: 1.7; }
.footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.3); margin-bottom: 16px; }
.footer-col a {
    display: block; font-size: 14px; color: rgba(255, 255, 255, 0.5);
    text-decoration: none; margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.3); }

/* ── GHL FORM EMBED WRAPPER ── */
.ghl-form-wrap { width: 100%; }

/* ── RESPONSIVE ── */
@media (max-width: 968px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 40px 24px; }
    h1, .hero h1 { font-size: 44px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .step-item:first-child { border-radius: 12px 12px 0 0; }
    .step-item:last-child { border-radius: 0 0 12px 12px; }
    .step-item:nth-child(2) { border-radius: 0; }
    .step-arrow { display: none; }
    .builders-grid { grid-template-columns: 1fr 1fr; }
    .score-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute; top: 68px; left: 0; right: 0;
        background: var(--navy); flex-direction: column; align-items: flex-start;
        padding: 16px 32px; gap: 0; max-height: 0; overflow: hidden;
        transition: max-height 0.3s ease; border-bottom: 1px solid rgba(181, 229, 80, 0.15);
    }
    .nav-links.is-open { max-height: 400px; padding-bottom: 16px; }
    .nav-menu { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
    .nav-menu a, .nav-links a { padding: 12px 0; width: 100%; }
    .nav-menu a.nav-cta, .nav-cta { margin-top: 8px; text-align: center; }
}

@media (max-width: 640px) {
    section { padding: 56px 20px; }
    .section-title { font-size: 32px; }
    h1, .hero h1 { font-size: 36px; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-item, .step-item:nth-child(2), .step-item:nth-child(3) { border-radius: 12px; margin-bottom: 8px; }
    .builders-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; }
    .hero-stats { gap: 20px; }
}
