:root {
    --red: #b8212a;
    --dark: #171a1b;
    --charcoal: #303638;
    --muted: #667079;
    --light: #f3f4f4
}

* {
    box-sizing: border-box
}

body {
    font-family: system-ui, -apple-system, Segoe UI, sans-serif;
    color: #222;
    margin: 0
}

a {
    text-decoration: none
}

.topline {
    background: #0f1011;
    color: #e3e3e3;
    font-size: .83rem;
    padding: .55rem 0
}

.navbar {
    background: #1b1e1f !important
}

.navbar-brand img {
    width: 220px;
    max-width: 52vw;
    height: auto
}

.navbar .nav-link {
    color: #e6e6e6 !important;
    font-weight: 600
}

.navbar .nav-link:hover {
    color: #ff777d !important
}

.btn-pinnacle {
    background: var(--red);
    color: white;
    border: 2px solid var(--red);
    font-weight: 700;
    padding: .75rem 1.35rem
}

.btn-pinnacle:hover {
    background: #8e1921;
    color: white;
    border-color: #8e1921
}

.btn-outline-light {
    font-weight: 700;
    padding: .75rem 1.35rem
}


.hero {
    position: relative;

    background:
        /* Dark smoky overlay */
        linear-gradient(
            115deg,
            rgba(12, 15, 16, 0.92) 0%,
            rgba(18, 23, 24, 0.75) 15%,
            rgba(18, 23, 24, 0.45) 60%
        ),

        /* Construction hero image */
        url("/assets/img/Golden-Hour\ Curb\ Construction\ Crew.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    color: #ffffff;
    padding: 7rem 0 6rem;
    overflow: hidden;
    isolation: isolate;
}

/* Additional smoke / atmospheric overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at 15% 45%,
            rgba(55, 60, 62, 0.45),
            transparent 65%
        ),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.18),
            rgba(0, 0, 0, 0.45)
        );

    pointer-events: none;
    z-index: -1;
}

/* Keep text and buttons above the overlay */
.hero > * {
    position: relative;
    z-index: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 4rem;
        background-position: 60% center;
    }
}


.eyebrow {
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #ed777d;
    font-weight: 800;
    font-size: .8rem
}

.hero h1 {
    font-size: clamp(2.7rem, 5.8vw, 5rem);
    line-height: 1.06;
    font-weight: 900;
    max-width: 860px;
    letter-spacing: -.04em
}

.hero p {
    font-size: 1.18rem;
    color: #d3d6d7;
    max-width: 690px
}

.section-pad {
    padding: 5rem 0
}

.section-heading {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 850;
    letter-spacing: -.035em
}

.accent {
    width: 65px;
    height: 5px;
    background: var(--red);
    margin: 1.2rem 0
}

.service-card,
.feature-card,
.project-card {
    height: 100%;
    border: 1px solid #dfe2e3;
    background: white;
    border-radius: 5px;
    padding: 1.7rem;
    transition: transform .2s, border-color .2s
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--red)
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 750
}

.service-card .num {
    font-weight: 900;
    color: var(--red);
    font-size: 1.5rem
}

.service-card p,
.feature-card p {
    color: #5b646a
}

.service-card a {
    color: var(--red);
    font-weight: 750
}

.dark-section {
    background: #1e2324;
    color: #fff
}

.dark-section p {
    color: #c8cdce
}

.light-section {
    background: #f4f5f5
}

.cta-band {
    background: var(--red);
    color: #fff;
    padding: 3rem 0
}

.cta-band .btn {
    background: white;
    color: #161616;
    font-weight: 800
}

.page-head {
    background: #202526;
    color: #fff;
    padding: 4rem 0
}

.page-head h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 850
}

.badge-soft {
    background: #f9e6e7;
    color: #8c2026;
    padding: .45rem .75rem;
    border-radius: 3px;
    font-weight: 700;
    font-size: .78rem
}

.project-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #414b4e, #202526);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfd4d5;
    font-size: .9rem;
    text-align: center;
    padding: 1rem
}

.project-card {
    padding: 0;
    overflow: hidden
}

.project-card .content {
    padding: 1.5rem
}

.form-shell {
    border: 1px solid #dde1e2;
    border-radius: 7px;
    background: white;
    padding: clamp(1.25rem, 3vw, 2.4rem);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .045)
}

.form-label {
    font-weight: 700;
    font-size: .93rem
}

.form-control,
.form-select {
    min-height: 46px;
    border-color: #cbd1d3
}

.form-control:focus,
.form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 .2rem rgba(184, 33, 42, .12)
}

.required:after {
    content: ' *';
    color: var(--red)
}

.step-head {
    font-weight: 850;
    border-left: 5px solid var(--red);
    padding-left: 12px;
    margin: 1.8rem 0 1.2rem
}

.form-help {
    font-size: .84rem;
    color: #667079
}

.footer {
    background: #121516;
    color: #cdd0d1;
    padding: 3.5rem 0 1.5rem
}

.footer a {
    color: #d9d9d9
}

.footer a:hover {
    color: white
}

.footer h5 {
    color: white;
    font-weight: 800
}

.footer img {
    width: 230px;
    max-width: 100%
}

.sticky-bid {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 99;
    box-shadow: 0 8px 22px #0005
}

@media(max-width:767px) {
    .section-pad {
        padding: 3.3rem 0
    }

    .hero {
        padding: 4.8rem 0
    }

    .navbar-brand img {
        width: 180px
    }

    .sticky-bid {
        bottom: 10px;
        right: 10px;
        font-size: .83rem;
        padding: .65rem .8rem
    }
}
