/* =====================================================================
   B-Line Concrete Services — stylesheet
   Palette pulled from the business card: black, royal blue, lime green.
   Edit the tokens below to retheme the whole site.
   ===================================================================== */

:root {
    /* Brand colors */
    --blue:        #2a6df0;
    --blue-bright: #3d82ff;
    --green:       #8cc63f;
    --green-bright:#a4d65e;

    /* Neutrals */
    --black:    #0e0f12;
    --charcoal: #16181d;
    --panel:    #1c1f26;
    --panel-2:  #23272f;
    --line:     #2e333d;
    --text:     #e8eaed;
    --muted:    #a3a9b3;
    --white:    #ffffff;

    --maxw: 1180px;
    --radius: 10px;
    --shadow: 0 18px 40px rgba(0,0,0,.45);
    --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--black);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-bright); text-decoration: none; }
a:hover { color: var(--green-bright); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.05;
    letter-spacing: .5px;
    margin: 0 0 .4em;
    text-transform: uppercase;
}

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--blue); color: #fff; padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Layout helpers ---------- */
.section { padding: 88px 24px; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-dark   { background: var(--black); }
.section-panel  { background: var(--charcoal); }
.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    font-size: .8rem;
    margin-bottom: 10px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; color: var(--white); }
.section-title .accent { color: var(--green); }
.section-lead { color: var(--muted); max-width: 640px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-head);
    font-weight: 600; font-size: 1.05rem;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 14px 28px; border-radius: 6px;
    border: 2px solid transparent; cursor: pointer;
    transition: transform .12s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-bright); color: #fff; }
.btn-green { background: var(--green); color: #0e0f12; }
.btn-green:hover { background: var(--green-bright); color: #0e0f12; }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-bright); }

/* ---------- Top bar ---------- */
.topbar {
    background: #0a0b0d;
    border-bottom: 1px solid var(--line);
    font-size: .85rem;
}
.topbar-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 8px 24px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.topbar-motto { color: var(--muted); font-style: italic; letter-spacing: .3px; }
.topbar-contact a { color: var(--text); display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.topbar-contact svg { width: 15px; height: 15px; color: var(--green); }
.topbar-contact a:hover { color: var(--green-bright); }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(14,15,18,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark svg { width: 46px; height: 31px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-b {
    font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
    color: var(--green); letter-spacing: 1px;
}
.brand-sub {
    font-family: var(--font-head); font-weight: 600; font-size: .72rem;
    color: var(--blue-bright); letter-spacing: 3px;
}

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a {
    font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--text); padding: 4px 0; position: relative;
}
.nav-menu a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0; bottom: -3px;
    width: 0; height: 2px; background: var(--green); transition: width .2s ease;
}
.nav-menu a:not(.nav-cta):hover::after,
.nav-menu a.active:not(.nav-cta)::after { width: 100%; }
.nav-menu a.active { color: var(--green); }
.nav-cta {
    background: var(--blue); color: #fff !important;
    padding: 10px 18px !important; border-radius: 6px;
}
.nav-cta:hover { background: var(--blue-bright); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        linear-gradient(rgba(10,11,13,.82), rgba(10,11,13,.92)),
        repeating-linear-gradient(135deg, #14161b 0 22px, #111317 22px 44px);
    border-bottom: 3px solid var(--blue);
    padding: 110px 24px 96px;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(42,109,240,.18), transparent 45%),
        radial-gradient(circle at 82% 80%, rgba(140,198,63,.15), transparent 45%);
    pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.hero-eyebrow {
    font-family: var(--font-head); font-weight: 600; letter-spacing: 4px;
    text-transform: uppercase; color: var(--green); font-size: .95rem;
}
.hero-badge {
    display: inline-block;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: #0e0f12; background: var(--green);
    padding: 8px 20px; border-radius: 40px; margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(140,198,63,.3);
}
.hero h1 {
    font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; color: #fff;
    margin: 14px 0 10px; line-height: .98;
}
.hero h1 .accent { color: var(--green); }
.hero-tagline { font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--text); font-weight: 500; margin-bottom: 8px; }
.hero-sub { color: var(--muted); max-width: 620px; margin: 0 auto 32px; font-size: 1.08rem; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Trust strip ---------- */
.trust-strip {
    background: var(--blue);
    padding: 22px 24px;
}
.trust-strip-inner {
    max-width: var(--maxw); margin: 0 auto;
    display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap;
    text-align: center;
}
.trust-item {
    font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: #fff; font-size: 1.05rem;
    display: flex; align-items: center; gap: 10px;
}
.trust-item svg { width: 22px; height: 22px; color: #fff; }

/* ---------- Free quote band ---------- */
.quote-band {
    background: linear-gradient(135deg, var(--blue) 0%, #1f56c4 100%);
    padding: 40px 24px;
}
.quote-band-inner {
    max-width: var(--maxw); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
}
.quote-band-text { flex: 1 1 460px; }
.quote-band-text .eyebrow { color: #cfe0ff; }
.quote-band-text h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.quote-band-text p { color: #eaf1ff; margin: 0; max-width: 620px; }
.quote-band-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.quote-band-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.quote-band-cta .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }

/* ---------- Services grid ---------- */
.cards {
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 44px;
}
.service-card {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px 26px;
    transition: transform .15s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--green); }
.service-icon {
    width: 56px; height: 56px; border-radius: 10px;
    background: rgba(42,109,240,.14); color: var(--blue-bright);
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.service-card:hover .service-icon { background: rgba(140,198,63,.16); color: var(--green-bright); }
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { color: #fff; font-size: 1.35rem; }
.service-card p { color: var(--muted); margin: 0; }

/* ---------- Features / why us ---------- */
.feature-grid {
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-top: 44px;
}
.feature {
    border-left: 3px solid var(--green); padding: 6px 0 6px 20px;
}
.feature h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Process ---------- */
.process-grid {
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 44px;
}
.process-step { text-align: center; padding: 8px; }
.process-num {
    width: 60px; height: 60px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1.8rem;
    color: #0e0f12; background: var(--green); border-radius: 50%;
}
.process-step h3 { color: #fff; font-size: 1.25rem; }
.process-step p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        linear-gradient(135deg, rgba(42,109,240,.18), rgba(140,198,63,.14)),
        var(--charcoal);
    border-top: 3px solid var(--green); border-bottom: 3px solid var(--blue);
    padding: 70px 24px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; }
.cta-band p { color: var(--text); max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-phone {
    font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
    color: var(--green); letter-spacing: 1px;
}

/* ---------- Testimonials ---------- */
.testi-grid {
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 44px;
}
.testi {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px;
}
.testi-stars { color: var(--green); letter-spacing: 2px; margin-bottom: 12px; }
.testi-quote { color: var(--text); font-style: italic; margin: 0 0 16px; }
.testi-name { font-family: var(--font-head); font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.testi-loc { color: var(--muted); font-size: .9rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
    background:
        linear-gradient(rgba(10,11,13,.86), rgba(10,11,13,.94)),
        repeating-linear-gradient(135deg, #14161b 0 22px, #111317 22px 44px);
    border-bottom: 3px solid var(--blue);
    padding: 70px 24px; text-align: center;
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); color: #fff; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 6px auto 0; }

/* ---------- About ---------- */
.about-grid {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start;
}
.about-grid p { color: var(--muted); }
.about-card {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px;
}
.about-card h3 { color: var(--green); font-size: 1.3rem; }
.about-stat { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.about-stat:last-child { border-bottom: 0; }
.about-stat b { font-family: var(--font-head); color: #fff; font-size: 1.4rem; }
.about-stat span { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-info .contact-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .contact-row:last-child { border-bottom: 0; }
.contact-ico {
    flex: none; width: 46px; height: 46px; border-radius: 9px;
    background: rgba(42,109,240,.14); color: var(--blue-bright);
    display: flex; align-items: center; justify-content: center;
}
.contact-ico svg { width: 24px; height: 24px; }
.contact-row .label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-size: .85rem; }
.contact-row .value { color: #fff; font-size: 1.15rem; font-weight: 600; }
.contact-row .value a { color: #fff; }
.contact-row .value a:hover { color: var(--green-bright); }

.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-form h3 { color: #fff; font-size: 1.5rem; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%; padding: 12px 14px; border-radius: 6px;
    background: var(--black); border: 1px solid var(--line); color: var(--text);
    font-family: var(--font-body); font-size: 1rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
    outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42,109,240,.2);
}
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0b0d; border-top: 3px solid var(--blue); padding: 56px 24px 0; }
.footer-inner {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px;
}
.footer-col h4 { color: var(--green); font-size: 1.05rem; letter-spacing: 1.5px; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--green-bright); }
.footer-brand .brand-b { font-size: 1.6rem; }
.footer-brand .brand-sub { font-size: .72rem; }
.footer-motto { color: var(--muted); font-style: italic; margin-top: 12px; }
.footer-license { color: var(--muted); font-size: .85rem; }
.footer-contact li { color: var(--muted); }
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-bottom {
    max-width: var(--maxw); margin: 40px auto 0; padding: 20px 0;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    color: var(--muted); font-size: .88rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .topbar-motto { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: var(--charcoal); border-bottom: 1px solid var(--line);
        padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .nav-menu.open { max-height: 420px; padding: 12px 24px 20px; }
    .nav-menu a { width: 100%; padding: 12px 0; }
    .nav-cta { width: 100%; text-align: center; margin-top: 8px; }
}
@media (max-width: 540px) {
    .footer-inner { grid-template-columns: 1fr; }
    .section { padding: 60px 20px; }
    .topbar-inner { justify-content: center; }
}

/* ---------- Hero with background photo ---------- */
.hero.hero-photo {
    background:
        linear-gradient(rgba(10,11,13,.78), rgba(10,11,13,.90)),
        var(--hero-img, none);
    background-size: cover;
    background-position: center;
}

/* ---------- Featured work strip (homepage) ---------- */
.featured-grid {
    display: grid; gap: 16px; margin-top: 44px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.featured-item {
    position: relative; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 4/3; border: 1px solid var(--line);
}
.featured-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.featured-item:hover img { transform: scale(1.05); }
.featured-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(10,11,13,.9));
    color: #fff; font-family: var(--font-head); text-transform: uppercase;
    letter-spacing: .5px; font-size: .95rem; padding: 24px 14px 12px;
}

/* ---------- Gallery grid ---------- */
.gallery-grid {
    display: grid; gap: 16px; margin-top: 36px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.gallery-item {
    margin: 0; position: relative; cursor: pointer;
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); background: var(--panel);
    aspect-ratio: 4/3;
}
.gallery-item:focus { outline: 3px solid var(--green); outline-offset: 2px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(10,11,13,.92));
    color: #fff; font-family: var(--font-head); text-transform: uppercase;
    letter-spacing: .5px; font-size: .9rem; padding: 28px 14px 12px;
    opacity: 0; transition: opacity .25s ease;
}
.gallery-item:hover figcaption, .gallery-item:focus figcaption { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(8,9,11,.94);
    display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-figure { margin: 0; max-width: 92vw; max-height: 90vh; text-align: center; }
.lightbox-figure img { max-width: 100%; max-height: 80vh; border-radius: 8px; box-shadow: var(--shadow); }
.lightbox-figure figcaption {
    color: #fff; font-family: var(--font-head); text-transform: uppercase;
    letter-spacing: 1px; margin-top: 16px; font-size: 1.1rem;
}
.lightbox-close {
    position: absolute; top: 18px; right: 26px;
    background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1;
    cursor: pointer; padding: 8px;
}
.lightbox-close:hover { color: var(--green); }
