/* ============================================
   SCOREWIZARDS — MASTER STYLESHEET
   v5.0 — Production
   ============================================ */

/* ============================================
   DESIGN TOKENS
============================================ */
:root {
    --white: #FFFFFF;
    --brand-sage: #65805B;
    --brand-lime: #96C16E;
    --light-mist: #F4F7F2;
    --slate: #1A1A1A;
    --body-text: #4A4A4A;
    --muted: #8A8A8A;
    --border: #EAEAEA;
    --border-light: #F0F0F0;
    --max-width: 1100px;
    --transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--slate);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1 0 auto; }

/* ============================================
   SHARED LAYOUT
============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 30px;
}
.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
}

/* ============================================
   HEADER
============================================ */
header.site-header {
    height: 110px;
    display: flex;
    align-items: center;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo-link { display: block; line-height: 0; }
.logo { height: 85px; width: auto; display: block; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}
.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--body-text);
    text-decoration: none;
    letter-spacing: 1.8px;
    transition: var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--brand-sage); }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: -10px;
    color: var(--slate);
    transition: var(--transition);
}
.nav-toggle svg { display: block; width: 26px; height: 26px; }
.nav-toggle:hover { color: var(--brand-sage); }

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-block;
    padding: 16px 34px;
    background: var(--brand-sage);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    border: 2px solid var(--brand-sage);
    cursor: pointer;
}
.btn:hover {
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    color: var(--slate);
    transform: translateY(-2px);
}
.btn.secondary {
    background: transparent;
    color: var(--slate);
    border-color: var(--slate);
}
.btn.secondary:hover {
    background: var(--slate);
    color: var(--white);
    border-color: var(--slate);
    transform: translateY(-2px);
}
.btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================
   HERO
============================================ */
.hero {
    padding: 110px 0 90px;
    text-align: center;
}
.hero.tight { padding: 70px 0 50px; }
.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 22px;
    color: var(--slate);
    letter-spacing: -0.5px;
}
.hero .tagline {
    font-size: 1.2rem;
    color: var(--body-text);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.5;
}
.hero.tight h1 { font-size: 2.75rem; }
.hero.tight .tagline { margin-bottom: 0; }

.eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--brand-sage);
    font-weight: 700;
    margin-bottom: 16px;
}

/* ============================================
   SECTION BASICS
============================================ */
section.band { padding: 90px 0; }
section.band.mist { background: var(--light-mist); }
section.band.slim { padding: 70px 0; }

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}
.section-head h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--slate);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}
.section-head p {
    font-size: 1.1rem;
    color: var(--body-text);
}

/* ============================================
   STATS
============================================ */
.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.stat { padding: 30px 20px; }
.stat .num {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brand-sage);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.stat .label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--body-text);
    font-weight: 600;
}

/* ============================================
   VALUE PROPS (HOMEPAGE "WHY CUSTOM?")
============================================ */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}
.value-card {
    text-align: center;
    padding: 20px;
}
.value-card .value-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 20px;
    color: var(--brand-sage);
}
.value-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--slate);
    letter-spacing: -0.2px;
}
.value-card p {
    color: var(--body-text);
    font-size: 1rem;
    line-height: 1.65;
}

/* ============================================
   PROCESS STEPS
============================================ */
.steps {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}
.step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    padding: 40px 40px;
    background: var(--white);
    align-items: start;
}
.step .num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--brand-sage);
    opacity: 0.35;
    line-height: 1;
    letter-spacing: -1px;
}
.step h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 10px;
}
.step p {
    color: var(--body-text);
    font-size: 1rem;
    line-height: 1.65;
}
.turnaround {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: var(--body-text);
    font-size: 1.05rem;
}

/* ============================================
   SERVICES PAGE
============================================ */
.offer-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 50px 50px;
    max-width: 780px;
    margin: 0 auto;
}
.offer-card .price-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 10px;
}
.offer-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--slate);
}
.offer-card .price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--brand-sage);
}
.offer-card .price small {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.offer-intro {
    color: var(--body-text);
    margin-bottom: 10px;
}
.feature-list {
    list-style: none;
    margin: 20px 0;
}
.feature-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--body-text);
    font-size: 1rem;
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 14px;
    height: 2px;
    background: var(--brand-sage);
}
.pricing-note {
    font-size: 0.95rem;
    color: var(--body-text);
    padding: 20px 0 0;
    border-top: 1px solid var(--border-light);
    margin-top: 20px;
}
.offer-cta { text-align: center; margin-top: 30px; }

.library-card {
    max-width: 780px;
    margin: 40px auto 0;
    background: var(--light-mist);
    border-radius: var(--radius);
    padding: 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.library-card .text h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--slate);
    margin-bottom: 6px;
}
.library-card .text p {
    color: var(--body-text);
    font-size: 0.95rem;
}

/* ============================================
   FORM (CONTACT PAGE)
============================================ */
.form-wrap {
    max-width: 700px;
    margin: 0 auto;
}
.form-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
}
.form-section:last-of-type { border-bottom: none; }
.form-section .sec-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-sage);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.form-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--slate);
    margin-bottom: 6px;
}
.form-section .opt-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
}
.form-section .req-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-sage);
    font-weight: 700;
    margin-left: 10px;
    vertical-align: middle;
}
.form-section .helper {
    color: var(--body-text);
    font-size: 0.98rem;
    margin-bottom: 24px;
    line-height: 1.5;
}
.form-section .helper em {
    color: var(--muted);
    font-style: italic;
}
.form-section .catalog-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-sage);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 24px;
    transition: var(--transition);
}
.form-section .catalog-cta:hover { color: var(--brand-lime); }

.form-row { margin-bottom: 18px; }
.form-row label.field-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 8px;
    color: var(--slate);
}
.form-row .hint {
    color: var(--muted);
    font-weight: 400;
}
input[type="text"],
input[type="email"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    color: var(--slate);
    background: var(--white);
    transition: var(--transition);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--brand-sage);
    box-shadow: 0 0 0 3px rgba(101, 128, 91, 0.12);
}

.radio-group, .check-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}
.radio-option, .check-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    user-select: none;
}
.radio-option:hover, .check-option:hover { border-color: var(--brand-sage); }
.radio-option input, .check-option input { margin: 0; cursor: pointer; }
.radio-option.selected, .check-option.selected {
    border-color: var(--brand-sage);
    background: rgba(101, 128, 91, 0.05);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.conditional {
    display: none;
    padding: 20px;
    margin-top: 14px;
    background: var(--light-mist);
    border-radius: 6px;
    border-left: 3px solid var(--brand-sage);
}
.conditional.visible { display: block; }
.conditional-title {
    font-weight: 600;
    margin-bottom: 14px;
}

.collapse-toggle {
    background: none;
    border: none;
    color: var(--brand-sage);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}
.collapse-toggle:hover { color: var(--brand-lime); }
.collapsible {
    display: none;
    margin-top: 24px;
}
.collapsible.open { display: block; }

.budget-note {
    background: var(--light-mist);
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 0.92rem;
    color: var(--body-text);
    margin-bottom: 18px;
    line-height: 1.5;
}
.budget-note strong { color: var(--brand-sage); }

.submit-row {
    padding: 40px 0 10px;
    text-align: center;
}

/* Honeypot — visually hidden but accessible to bots */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ============================================
   CTA BLOCK
============================================ */
.cta-block {
    text-align: center;
    padding: 80px 40px;
    background: var(--slate);
    color: var(--white);
    border-radius: var(--radius);
}
.cta-block h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 14px;
    line-height: 1.1;
}
.cta-block p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 32px;
}
.cta-block .btn {
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    color: var(--slate);
}
.cta-block .btn:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--slate);
}

/* ============================================
   FOOTER
============================================ */
footer.site-footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-light);
    margin-top: 80px;
    background: var(--white);
    flex-shrink: 0;
}
.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.social-icons {
    display: flex;
    gap: 18px;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--body-text);
    text-decoration: none;
    transition: var(--transition);
}
.social-icons a:hover {
    color: var(--brand-sage);
    background: var(--light-mist);
}
.social-icons svg {
    width: 18px;
    height: 18px;
}
.footer-email {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--body-text);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}
.footer-email:hover { color: var(--brand-sage); }
.copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ============================================
   THANK-YOU PAGE
============================================ */
.thanks {
    padding: 140px 0;
    text-align: center;
}
.thanks .eyebrow { color: var(--brand-sage); }
.thanks h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--slate);
    max-width: 720px;
    margin: 0 auto 30px;
    letter-spacing: -0.3px;
}
.thanks .btn { margin-top: 10px; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 900px) {
    .container-wide { padding: 0 30px; }
    .hero h1 { font-size: 2.6rem; }
    .hero.tight h1 { font-size: 2.2rem; }
    .section-head h2 { font-size: 1.8rem; }
    .offer-card, .library-card { padding: 30px 28px; }
    .step { grid-template-columns: 1fr; gap: 6px; padding: 30px 28px; }
    .step .num { font-size: 2rem; }
    .value-grid { grid-template-columns: 1fr; gap: 30px; max-width: 420px; }
    section.band { padding: 70px 0; }
    .thanks h1 { font-size: 2rem; }
}
@media (max-width: 640px) {
    header.site-header { height: 90px; }
    .logo { height: 55px; }
    .container-wide { padding: 0 20px; }

    /* Mobile nav: show hamburger, hide full nav (until toggled) */
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        padding: 8px 0 16px;
        z-index: 100;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-link {
        display: block;
        padding: 16px 24px;
        font-size: 0.78rem;
        letter-spacing: 1.5px;
    }

    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 2rem; }
    .hero .tagline { font-size: 1rem; }
    .stats { grid-template-columns: 1fr; }
    .stat .num { font-size: 2.6rem; }
    .two-col { grid-template-columns: 1fr; }
    .cta-block { padding: 50px 25px; }
    .cta-block h2 { font-size: 1.6rem; }
    .offer-card .price-line { flex-direction: column; align-items: flex-start; }
    .library-card { flex-direction: column; text-align: center; padding: 28px; }
    footer.site-footer { margin-top: 40px; }
    .footer-flex { flex-direction: column; text-align: center; }
}
