/* ─── Full-screen hero ───────────────────────────────────── */
header.masthead {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

/* ─── What We Build cards ─────────────────────────────────── */
.what-we-build-card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: .5rem;
    transition: box-shadow .2s ease-in-out, transform .2s ease-in-out;
    background: #fff;
}
.what-we-build-card:hover {
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    transform: translateY(-4px);
}

/* ─── Process steps ───────────────────────────────────────── */
.process-step {
    padding: 2rem 1.5rem;
}
.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #ffc800;
    color: #212529;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* ─── Stat pillars ────────────────────────────────────────── */
.stat-pillar {
    background: #fff;
    border-radius: .5rem;
    border-left: 4px solid #ffc800;
}
.stat-number {
    font-family: "Montserrat", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffc800;
    line-height: 1;
}
.stat-label {
    font-size: .95rem;
    color: #6c757d;
    margin-top: .4rem;
}

/* ─── CTA Band ────────────────────────────────────────────── */
.cta-band {
    background-color: #212529 !important;
}
.cta-band .section-heading {
    color: #fff;
    margin-bottom: 0;
}

/* ─── Contact modal form inputs ───────────────────────────── */
#contactModal .form-control {
    color: #fff;
}
#contactModal .form-control::placeholder {
    color: rgba(255,255,255,.45);
}
#contactModal .form-control:focus {
    background-color: #495057 !important;
    border-color: #ffc800 !important;
    box-shadow: 0 0 0 .2rem rgba(255,200,0,.25);
    color: #fff;
}

/* ─── Clients bar logo sizing ────────────────────────────── */
#clients .logo-item img {
    max-height: 48px;
    width: auto;
    opacity: .6;
    transition: opacity .2s;
}
#clients .logo-item img:hover {
    opacity: 1;
}

/* ─── Navbar discuss button ───────────────────────────────── */
#mainNav .nav-item .nav-link.nav-discuss {
    background-color: #ffc800;
    color: #212529 !important;
    border-radius: .375rem;
    padding: .375rem .85rem;
    font-weight: 700;
    transition: background-color .2s;
}
#mainNav .nav-item .nav-link.nav-discuss:hover {
    background-color: #e6b400;
    color: #212529 !important;
}


/* ── Legal document modals ────────────────────────────────────────────────── */
.legal-doc {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.75;
}

/* Privacy uses plain <h3> tags */
.legal-doc h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    margin-top: 1.75rem;
    margin-bottom: 0.4rem;
}

/* Terms uses div with these generated classes */
.legal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.25rem;
    display: block;
}
.legal-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1.5rem;
    display: block;
}
.legal-heading_1, .legal-h1 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    margin-top: 1.75rem;
    margin-bottom: 0.4rem;
    display: block;
}
.legal-heading_2, .legal-h2 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
    display: block;
}
.legal-body_text, .legal-body {
    margin-bottom: 0.5rem;
    display: block;
}

/* Lists */
.legal-doc ul,
.legal-doc ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-doc li {
    margin-bottom: 0.25rem;
}

/* Links — contact form trigger and internal doc anchors */
.legal-doc a,
.legal-link {
    color: #ffc800 !important;
    word-break: break-word;
}
.legal-doc a:hover,
.legal-link:hover {
    color: #e6b400 !important;
    text-decoration: underline;
}

/* Spacer divs (<div><br></div>) — collapse their height */
.legal-doc div:empty,
.legal-doc div > br:only-child {
    margin: 0;
    line-height: 0.5;
}
