/* Primary Inspection LLC: site stylesheet.
   Palette sampled from the logo (blue #002898, silver #C0C0C0) and the service catalog. */


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

:root {
    --navy: #0b1e4f;          /* dark backgrounds, footer, top bar */
    --navy-deep: #061233;     /* gradients */
    --blue: #0a2a96;          /* logo blue: headings, primary buttons */
    --blue-hover: #071f73;
    --blue-bright: #1f4bd8;   /* links, hover */
    --sky: #3ba7e8;           /* eyebrows, highlighted words (catalog subheads) */
    --silver: #c0c0c0;        /* logo silver */
    --steel: #6b7590;         /* muted body text */
    --accent: #f5b400;        /* safety yellow CTA (crane/rigging hardware) */
    --accent-hover: #d99f00;
    --ink: #1c2238;
    --white: #ffffff;
    --off-white: #f3f5f9;
    --line: #dde2ec;
    --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Barlow', system-ui, sans-serif;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(11, 30, 79, 0.10);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.6; background: var(--white); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPE ===== */
.display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; }
.eyebrow { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.85rem; color: var(--sky); margin-bottom: 12px; }
.eyebrow::before { content: ''; display: inline-block; width: 28px; height: 3px; background: var(--accent); vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 2.6rem; color: var(--blue); margin-bottom: 14px; }
.section-head p { color: var(--steel); font-size: 1.08rem; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.05rem; padding: 14px 28px; border-radius: 6px; transition: all 0.2s; cursor: pointer; border: 2px solid transparent; }
.btn-accent { background: var(--accent); color: var(--navy); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 180, 0, 0.35); }
.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-hover); border-color: var(--blue-hover); transform: translateY(-2px); }
.btn-outline-light { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.5); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: rgba(255,255,255,0.18); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* ===== TOP BAR ===== */
.top-bar { background: var(--navy); color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; flex-wrap: wrap; }
.top-bar a, .top-bar span { display: inline-flex; align-items: center; gap: 8px; }
.top-bar i { color: var(--accent); }
.top-bar a:hover { color: var(--white); }
.top-bar .left, .top-bar .right { display: flex; gap: 24px; align-items: center; }
.top-bar .login { background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 4px; font-weight: 600; }

/* ===== HEADER ===== */
.header { background: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 14px rgba(11,30,79,0.10); }
.header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 64px; width: auto; }
.brand .wordmark { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 0.95; color: var(--blue); font-size: 1.55rem; }
.brand .wordmark small { display: block; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--steel); font-weight: 600; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .has-menu > a { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.05rem; padding: 10px 14px; color: var(--navy); border-radius: 6px; transition: all 0.15s; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav .has-menu:hover > a { color: var(--blue-bright); background: var(--off-white); }
.nav > a.active { color: var(--blue); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav .has-menu { position: relative; }
.nav .has-menu > a::after { content: '\25BE'; font-size: 0.8em; }
.menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 40px rgba(11,30,79,0.16); padding: 8px; min-width: 300px; z-index: 200; }
.has-menu:hover .menu { display: grid; }
.menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.menu a i { width: 20px; text-align: center; color: var(--blue); }
.menu a:hover { background: var(--off-white); color: var(--blue); }
.nav .cta { margin-left: 10px; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--blue); cursor: pointer; width: 44px; height: 44px; }
.mobile-nav { display: none; background: var(--white); border-top: 1px solid var(--line); }
.mobile-nav.show { display: block; }
.mobile-nav a { display: block; padding: 12px 24px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.1rem; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-nav a.sub { padding-left: 44px; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 0.95rem; font-weight: 500; }

/* ===== HERO ===== */
.hero { position: relative; color: var(--white); background: var(--navy-deep); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background: url('/images/mobile-load-testing.jpg') center 55% / cover no-repeat; }
.hero .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,18,51,0.96) 0%, rgba(11,30,79,0.88) 40%, rgba(11,30,79,0.45) 70%, rgba(11,30,79,0.25) 100%); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: end; padding-top: 110px; padding-bottom: 110px; }
.hero .eyebrow { color: var(--accent); }
.hero .eyebrow::before { background: var(--sky); }
.hero h1 { font-size: clamp(2.8rem, 5.2vw, 4.6rem); margin-bottom: 22px; }
.hero h1 span { color: var(--sky); }
.hero p { font-size: 1.18rem; color: rgba(255,255,255,0.86); max-width: 600px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card { background: rgba(6,18,51,0.82); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.14); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 24px 26px; justify-self: end; max-width: 340px; }
.hero-card .title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; margin-bottom: 10px; }
.hero-card .title i { color: var(--accent); font-size: 1.6rem; }
.hero-card ul li { padding: 4px 0 4px 20px; position: relative; font-size: 0.98rem; color: rgba(255,255,255,0.9); }
.hero-card ul li::before { content: ''; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.hero-card a { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; }

/* ===== TRUST STRIP ===== */
.trust { background: var(--blue); color: var(--white); }
.trust ul { display: grid; grid-template-columns: repeat(7, 1fr); }
.trust li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px 10px; border-right: 1px solid rgba(255,255,255,0.12); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; line-height: 1.15; }
.trust li:last-child { border-right: 0; }
.trust li i { font-size: 1.5rem; color: var(--accent); }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s; position: relative; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .photo { height: 190px; background: var(--navy) center / cover no-repeat; position: relative; }
.service-card .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,30,79,0) 40%, rgba(11,30,79,0.65) 100%); }
.service-card .icon { position: absolute; left: 22px; bottom: -26px; width: 56px; height: 56px; border-radius: 10px; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; z-index: 2; box-shadow: 0 6px 16px rgba(10,42,150,0.35); border: 3px solid var(--white); }
.service-card .body { padding: 40px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h2, .service-card h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; color: var(--blue); line-height: 1.05; margin-bottom: 10px; }
.service-card p { color: var(--steel); font-size: 0.95rem; margin-bottom: 12px; }
.service-card ul { margin-bottom: 18px; columns: 1; }
.service-card ul li { font-size: 0.93rem; padding: 3px 0 3px 20px; position: relative; }
.service-card ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 5px; font-size: 0.7rem; color: var(--sky); }
.service-card .more { margin-top: auto; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.service-card .more i { transition: transform 0.2s; }
.service-card:hover .more i { transform: translateX(4px); }
.service-card.two-col ul { columns: 2; column-gap: 16px; }

/* ===== ABOUT / WHY ===== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about h2 { font-size: 2.6rem; color: var(--blue); margin-bottom: 18px; }
.about h2 span { color: var(--sky); }
.about p { font-size: 1.08rem; color: var(--steel); margin-bottom: 18px; }
.about .checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 22px 0 30px; }
.about .checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.about .checks li i { color: var(--white); background: var(--blue); width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; }
.about-visual { position: relative; }
.about-visual .main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: url('/images/mobile-load-testing.jpg') center 60% / cover; }
.about-visual .badge { position: absolute; left: -24px; bottom: 32px; background: var(--navy); color: var(--white); border-left: 5px solid var(--accent); padding: 18px 22px; border-radius: 8px; box-shadow: var(--shadow); max-width: 300px; }
.about-visual .badge strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; }
.about-visual .badge strong span { color: var(--sky); }
.about-visual .badge small { color: rgba(255,255,255,0.75); }

/* ===== HARDWARE BAND ===== */
.hardware { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hardware::before { content: ''; position: absolute; inset: 0; background: url('/images/chain.jpg') left center / auto 100% no-repeat; opacity: 0.18; mask-image: linear-gradient(90deg, #000 0%, transparent 45%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 45%); }
.hardware .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hardware h2 { font-size: 2.6rem; margin-bottom: 10px; }
.hardware h2 span { color: var(--accent); }
.hardware p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 20px; }
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brand-card { background: var(--white); color: var(--navy); border-radius: 8px; padding: 20px; display: flex; align-items: center; gap: 16px; }
.brand-card .mark { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--blue); border: 3px solid var(--blue); border-radius: 6px; padding: 2px 10px; line-height: 1; }
.brand-card .mark.green { color: #1a7f3c; border-color: #1a7f3c; }
.brand-card strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; }
.brand-card small { color: var(--steel); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
.hardware .note { margin-top: 16px; background: var(--blue); border-radius: 6px; padding: 12px 18px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 1rem; }
.hardware .shackle { justify-self: end; width: 100%; max-width: 380px; aspect-ratio: 1; border-radius: var(--radius); background: url('/images/shackle.jpg') center / cover; box-shadow: 0 20px 50px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15); }

/* ===== INDUSTRIES ===== */
.industries { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: stretch; }
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.industry { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; color: var(--navy); transition: all 0.2s; }
.industry i { width: 44px; height: 44px; border-radius: 8px; background: var(--off-white); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.industry:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.industries .photo { border-radius: var(--radius); background: url('/images/offshore-rig.jpg') center / cover; min-height: 380px; position: relative; overflow: hidden; }
.industries .photo .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: linear-gradient(180deg, transparent, rgba(6,18,51,0.9)); color: var(--white); font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; line-height: 1.1; }
.industries .photo .cap span { color: var(--sky); }

/* ===== CTA BAND ===== */
.cta-band { background: linear-gradient(100deg, var(--blue) 0%, var(--navy) 100%); color: var(--white); }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { font-size: 2.4rem; }
.cta-band h2 span { color: var(--accent); }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 6px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); font-size: 1.2rem; margin-bottom: 16px; }
.footer .brand img { height: 56px; }
.footer .brand .wordmark { color: var(--white); }
.footer .brand .wordmark small { color: var(--silver); }
.footer .tagline { font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; color: var(--white); margin: 18px 0 8px; line-height: 1.1; }
.footer .tagline span { color: var(--sky); }
.footer li { padding: 5px 0; }
.footer li a:hover { color: var(--white); }
.footer li i { color: var(--accent); width: 20px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer .bottom a { color: var(--silver); }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header { position: relative; color: var(--white); background: var(--navy-deep); overflow: hidden; }
.page-header .bg { position: absolute; inset: 0; background: url('/images/rigging-inspection.jpg') center / cover no-repeat; }
.page-header .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,18,51,0.95) 0%, rgba(11,30,79,0.85) 50%, rgba(11,30,79,0.55) 100%); }
.page-header .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.breadcrumb { display: flex; gap: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span::before { content: '/'; margin-right: 10px; color: var(--sky); }
.page-header h1 { font-size: clamp(2.6rem, 4.5vw, 3.8rem); margin-bottom: 14px; }
.page-header h1 span { color: var(--sky); }
.page-header p { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 680px; }
.page-header .tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.page-header .tags span { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; font-weight: 600; }
.page-header .tags span::before { content: none; }

/* ===== SERVICE PAGE LAYOUT ===== */
.service-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.service-main h2 { font-size: 2.2rem; color: var(--blue); margin-bottom: 14px; }
.service-main h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; color: var(--navy); margin: 32px 0 12px; }
.service-main p { color: var(--steel); font-size: 1.05rem; margin-bottom: 16px; }
.service-main .intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-bottom: 40px; }
.service-main .intro-grid .photo { border-radius: var(--radius); aspect-ratio: 4 / 3; background: url('/images/rigging-inspection.jpg') center / cover; box-shadow: var(--shadow); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 8px; }
.feature { background: var(--off-white); border-left: 4px solid var(--blue); border-radius: 6px; padding: 16px 18px; }
.feature strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; color: var(--navy); margin-bottom: 4px; }
.feature span { font-size: 0.93rem; color: var(--steel); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--sky); line-height: 1; display: block; margin-bottom: 8px; }
.step strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; color: var(--navy); margin-bottom: 4px; }
.step span { font-size: 0.9rem; color: var(--steel); }
.callout { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 26px 28px; display: flex; gap: 20px; align-items: center; margin: 36px 0; }
.callout i { font-size: 2.2rem; color: var(--accent); }
.callout strong { font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; display: block; line-height: 1.05; }
.callout p { color: rgba(255,255,255,0.8); margin: 4px 0 0; font-size: 0.98rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.gallery div { aspect-ratio: 4 / 3; border-radius: 8px; background: var(--navy) center / cover; }

.sidebar > * + * { margin-top: 24px; }
.quote-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.quote-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; color: var(--blue); line-height: 1.05; margin-bottom: 6px; }
.quote-card p { color: var(--steel); font-size: 0.93rem; margin-bottom: 16px; }
.quote-card label { display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel); margin: 12px 0 4px; }
.quote-card input, .quote-card textarea, .quote-card select { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font: inherit; font-size: 0.95rem; background: var(--off-white); }
.quote-card textarea { min-height: 90px; resize: vertical; }
.quote-card .btn { width: 100%; justify-content: center; margin-top: 18px; }
.contact-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 26px; }
.contact-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; margin-bottom: 12px; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; color: rgba(255,255,255,0.85); }
.contact-card li i { color: var(--accent); margin-top: 5px; width: 18px; }
.contact-card li a:hover { color: var(--white); }
.related-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.related-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }
.related-card li a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.related-card li:last-child a { border-bottom: 0; }
.related-card li a i { color: var(--blue); width: 18px; text-align: center; }
.related-card li a:hover { color: var(--blue); }
.related-card li.current a { color: var(--blue); font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .trust ul { grid-template-columns: repeat(4, 1fr); }
    .trust li:nth-child(4) { border-right: 0; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
    .nav { display: none; }
    .mobile-toggle { display: block; }
    .hero .container { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; }
    .hero-card { justify-self: start; }
    .about, .hardware .container, .industries, .service-layout { grid-template-columns: 1fr; }
    .about-visual .badge { left: 16px; }
    .hardware .shackle { display: none; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .section { padding: 56px 0; }
    .trust ul { grid-template-columns: repeat(2, 1fr); }
    .trust li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
    .services-grid, .brands, .industry-grid, .feature-list, .steps, .footer .cols, .service-main .intro-grid, .gallery { grid-template-columns: 1fr; }
    .about .checks { grid-template-columns: 1fr; }
    .brand .wordmark { display: none; }
    .top-bar .left span.hide-sm { display: none; }
    .hero h1 { font-size: 2.6rem; }
    .section-head h2, .about h2, .hardware h2 { font-size: 2.1rem; }
}

/* Small-screen top bar: phone + Client Login only */
@media (max-width: 640px) {
    .top-bar .left, .top-bar .right { flex-wrap: wrap; gap: 8px 16px; }
    .top-bar .left a.email { display: none; }
    .top-bar { font-size: 0.85rem; }
}

/* ===== ACCESSIBILITY HELPERS ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 10000; background: var(--white); color: var(--blue); padding: 10px 16px; border-radius: 6px; box-shadow: var(--shadow); font-weight: 700; }
.skip-link:focus { left: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.brand .wordmark .llc { font-size: 0.7em; }
.mobile-cta { padding: 16px 24px; }
.mobile-cta .btn { width: 100%; justify-content: center; }
.footer .indent { padding-left: 26px; display: inline-block; }
.footer .small { font-size: 0.93rem; }
.footer h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); font-size: 1.2rem; margin-bottom: 16px; }

/* ===== SERVICES OVERVIEW PAGE ===== */
.page-header.plain .bg { background-image: url('/images/hero-load-test.jpg'); }
.page-header.about .bg { background-image: url('/images/project-management.jpg'); }
.page-header.contact .bg { background-image: url('/images/rigging-box-closed.jpg'); background-position: center 40%; }
.page-header.svc .bg { background-image: var(--svc-bg); }
.service-main .intro-grid .photo { background-image: var(--svc-bg); }

/* ===== CONTACT PAGE ===== */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-card h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; color: var(--blue); line-height: 1.05; margin-bottom: 6px; }
.form-card > p { color: var(--steel); margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-card label { display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel); margin: 14px 0 5px; }
.form-card label .req { color: #c0392b; }
.form-card input, .form-card textarea, .form-card select { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; font: inherit; font-size: 1rem; background: var(--off-white); color: var(--ink); }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: var(--blue); background: var(--white); outline: none; box-shadow: 0 0 0 3px rgba(10,42,150,0.15); }
.form-card textarea { min-height: 140px; resize: vertical; }
.form-card .btn { margin-top: 20px; }
.cf-turnstile { margin-top: 18px; }
.form-message { margin-top: 16px; padding: 12px 16px; border-radius: 6px; border: 1px solid; font-weight: 500; }
.form-message.success { background: #e8f7ee; border-color: #8fd3a7; color: #1b6b3a; }
.form-message.error { background: #fdecea; border-color: #f1a9a0; color: #a2321f; }
.form-message.warn { background: #fff7d6; border-color: #f1dc8a; color: #6b5500; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.7rem; color: var(--blue); margin-bottom: 18px; }
.info-card address { font-style: normal; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { width: 44px; height: 44px; border-radius: 8px; background: var(--off-white); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.info-row strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; color: var(--navy); }
.info-row a { color: var(--blue-bright); font-weight: 500; }
.info-row a:hover { text-decoration: underline; }
.info-row p { color: var(--steel); }
.map-wrap { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--off-white); height: 320px; }
.map-wrap iframe { display: block; width: 100%; height: 100%; }

/* ===== ABOUT PAGE ===== */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.value i { font-size: 1.6rem; color: var(--accent); background: var(--navy); width: 52px; height: 52px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.value strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; color: var(--navy); margin-bottom: 4px; }
.value span { font-size: 0.93rem; color: var(--steel); }
.prose p { color: var(--steel); font-size: 1.08rem; margin-bottom: 18px; }
.prose p strong { color: var(--ink); }
.brands-inline { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.brands-inline .brand-card { border: 1px solid var(--line); flex: 1 1 260px; }

/* ===== 404 ===== */
.notfound { text-align: center; padding: 100px 0; }
.notfound .code { font-family: var(--font-display); font-weight: 700; font-size: 6rem; line-height: 1; color: var(--sky); }
.notfound h1 { font-size: 2.6rem; color: var(--blue); margin: 8px 0 12px; }
.notfound p { color: var(--steel); margin-bottom: 24px; }

@media (max-width: 980px) {
    .contact-layout { grid-template-columns: 1fr; }
    .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .form-grid, .values { grid-template-columns: 1fr; }
}
