/* =========================================================
   Shiv Scaffolding Limited — Landmark-inspired site
   ========================================================= */

:root {
    --navy: #11315f;
    --navy-deep: #0b2547;
    --navy-soft: #1d4f9e;
    --orange: #ee5a24;
    --orange-deep: #d94815;
    --text: #1f2937;
    --muted: #5b6473;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --bg-dark: #0b2547;
    --line: #e5e9f0;
    --shadow: 0 12px 40px rgba(11, 37, 71, 0.08);
    --shadow-soft: 0 6px 18px rgba(11, 37, 71, 0.06);
    --radius: 14px;
    --max: 1240px;
    --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, 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(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--navy);
    margin: 0 0 .5em;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .78rem;
    display: inline-block;
    margin-bottom: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(238,90,36,.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); }

/* ===== Header / Nav ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.05rem; line-height: 1.1; }
.brand-text small { display: block; color: var(--orange); font-size: .7rem; letter-spacing: .25em; font-weight: 700; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0; padding: 0;
}
.nav-links a {
    color: var(--navy);
    font-weight: 600;
    font-size: .95rem;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); background: var(--bg-soft); }
.nav-cta { margin-left: 14px; }
.nav-cta .btn { padding: 10px 20px; }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    color: var(--navy);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 92vh;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(11,37,71,.92) 0%, rgba(11,37,71,.7) 45%, rgba(11,37,71,.25) 100%),
                url('assets/hero-scaffold-tower.jpg') center/cover no-repeat;
    z-index: -1;
}
.hero-inner {
    padding: 120px 0 100px;
    max-width: 720px;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--orange); }
.hero p.lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,.85);
    max-width: 560px;
    margin: 18px 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.15);
    max-width: 620px;
}
.hero-meta .stat { color: #fff; }
.hero-meta .stat .num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--orange); display: block; }
.hero-meta .stat .lbl { font-size: .85rem; color: rgba(255,255,255,.75); }

/* ===== Sections ===== */
section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.75); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }

/* ===== Service cards ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .img { height: 220px; background-size: cover; background-position: center; position: relative; }
.service-card .img::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,37,71,0) 50%, rgba(11,37,71,.7) 100%);
}
.service-card .num {
    position: absolute; bottom: 14px; left: 18px;
    color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem;
    z-index: 2;
}
.service-card .body { padding: 24px 24px 28px; }
.service-card ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.service-card ul li { margin: 4px 0; }

/* ===== Feature / About columns ===== */
.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.1fr; }
.split img.fig { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-list li {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 10px 0;
}
.feature-list li::before {
    content: "✓"; flex: 0 0 28px; height: 28px; width: 28px;
    background: var(--orange); color: #fff; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: .8rem;
}
.feature-list li b { color: var(--navy); display: block; margin-bottom: 2px; }
.feature-list li span { color: var(--muted); }

/* ===== Stats strip ===== */
.stats-strip {
    background: var(--orange);
    color: #fff;
    padding: 50px 0;
}
.stats-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stats-strip .num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
}
.stats-strip .lbl { font-size: .95rem; opacity: .9; margin-top: 8px; }

/* ===== Product grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
    display: flex; flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.product-card .ph {
    height: 200px;
    background: #f0f3f8;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.product-card .ph img { max-height: 90%; max-width: 90%; object-fit: contain; }
.product-card .body { padding: 22px 22px 24px; }
.product-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-card p { font-size: .92rem; }
.product-card .tag {
    display: inline-block;
    background: rgba(238,90,36,.1);
    color: var(--orange);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

/* Accessory grid override — denser layout */
.accessory-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}
.accessory-grid .product-card .body { padding: 16px 18px; }
.accessory-grid .product-card h3 { font-size: .95rem; margin: 0; }
@media (max-width: 980px) {
    .accessory-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 720px) {
    .accessory-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Sharper logo rendering */
.brand img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ===== Spec table ===== */
.spec {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: .88rem;
}
.spec th, .spec td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
.spec th { color: var(--navy); font-weight: 700; background: var(--bg-soft); }

/* ===== CTA banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: var(--shadow);
}
.cta-banner h2 { color: #fff; margin: 0; max-width: 600px; }
.cta-banner p { color: rgba(255,255,255,.8); margin: 10px 0 0; }

/* ===== Footer ===== */
.footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,.75);
    padding: 70px 0 30px;
}
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .04em; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid p, .footer-grid li { font-size: .92rem; color: rgba(255,255,255,.7); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin: 8px 0; }
.footer-grid a { color: rgba(255,255,255,.75); }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom {
    padding-top: 26px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
    font-size: .85rem;
    color: rgba(255,255,255,.55);
}
.footer .brand img { height: 60px; }
.footer .brand-text, .footer .brand-text small { color: #fff; }

/* ===== Page hero (small) ===== */
.page-hero {
    background: linear-gradient(120deg, rgba(11,37,71,.92), rgba(11,37,71,.75)),
                url('assets/construction-crane.jpg') center/cover no-repeat;
    color: #fff;
    padding: 110px 0 80px;
    text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 620px; margin: 0 auto; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.crumbs a { color: var(--orange); }

/* ===== Clients strip ===== */
.client-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
}
.client-strip .chip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    font-weight: 700;
    color: var(--navy);
    font-size: .92rem;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}
.contact-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 36px;
}
.contact-info-item {
    display: flex; gap: 16px; padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.contact-info-item:last-child { border-bottom: 0; }
.contact-info-item .icon {
    flex: 0 0 46px; height: 46px; width: 46px;
    background: rgba(238,90,36,.12); color: var(--orange);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.contact-info-item h4 { margin: 0 0 4px; color: var(--navy); font-size: 1rem; }
.contact-info-item p { margin: 0; font-size: .94rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .85rem; color: var(--navy); font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: inherit; font-size: .95rem;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(238,90,36,.15);
}
.form-field textarea { min-height: 130px; resize: vertical; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .services-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .split, .split.reverse { grid-template-columns: 1fr; }
    .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .client-strip { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .hero-inner { padding: 90px 0 70px; }
}
@media (max-width: 720px) {
    .nav-links {
        position: absolute; top: 70px; left: 0; right: 0;
        flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 14px;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-cta { display: none; }
    .nav-toggle { display: inline-flex; }
    .services-grid, .product-grid { grid-template-columns: 1fr; }
    .hero-meta { grid-template-columns: 1fr 1fr; }
    .stats-strip .container { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-banner { padding: 40px 26px; flex-direction: column; align-items: flex-start; }
    .form-row { grid-template-columns: 1fr; }
    .client-strip { grid-template-columns: 1fr 1fr; }
}
