:root {
  color-scheme: dark;
  --black: #050505;
  --black-soft: #0a0a0b;
  --black-card: #111113;
  --white: #f7f7f7;
  --muted: #c4c4c7;
  --muted-dark: #929296;
  --silver: #b9b9bd;
  --red: #e12b2b;
  --red-deep: #a81717;
  --red-glow: rgba(225, 43, 43, .22);
  --border: rgba(255, 255, 255, .12);
  --border-strong: rgba(255, 255, 255, .2);
  --shadow: 0 28px 80px rgba(0, 0, 0, .46);
  --radius-lg: 28px;
  --radius-md: 20px;
  --max-width: 1200px;
  --header-height: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 22px); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 0%, rgba(225, 43, 43, .17), transparent 27rem),
    radial-gradient(circle at 8% 9%, rgba(255, 255, 255, .07), transparent 23rem),
    var(--black);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: url("../img/backgrounds/red-circuit-watermark-transparent.webp") center 20% / min(1120px, 94vw) auto no-repeat;
  opacity: .08;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid #ff5a5a; outline-offset: 4px; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-160%); padding: 10px 16px; border-radius: 8px; background: var(--white); color: var(--black); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); background: rgba(5, 5, 5, .88); backdrop-filter: blur(18px); }
.nav-shell { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 14px; }
.brand img { width: 64px; flex: 0 0 auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
.brand-copy { min-width: 0; line-height: 1.1; }
.brand-copy strong, .brand-copy span { display: block; text-transform: uppercase; white-space: nowrap; }
.brand-copy strong { font-size: .96rem; letter-spacing: .08em; }
.brand-copy span { margin-top: 5px; color: var(--silver); font-size: .7rem; letter-spacing: .14em; }
.desktop-nav ul, .mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.desktop-nav ul { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: .9rem; font-weight: 650; }
.desktop-nav a { position: relative; padding-block: 9px; white-space: nowrap; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--white); }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--black-card); color: var(--white); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 21px; height: 2px; margin: auto; background: currentColor; content: ""; }
.menu-toggle span::before { transform: translateY(-7px); }
.menu-toggle span::after { transform: translateY(5px); }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: #09090a; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { width: min(calc(100% - 40px), var(--max-width)); margin: auto; padding: 10px 0 18px; }
.mobile-nav a { display: block; min-height: 46px; padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: var(--muted); font-size: .84rem; font-weight: 800; letter-spacing: .08em; }

.hero { position: relative; overflow: hidden; padding: clamp(78px, 9vw, 122px) 0; isolation: isolate; background-image: linear-gradient(90deg, rgba(5, 5, 5, .96), rgba(5, 5, 5, .82) 51%, rgba(5, 5, 5, .6)), url("../img/construction-civil/caterpillar-320-hero-mobile-v1.webp"); background-image: linear-gradient(90deg, rgba(5, 5, 5, .96), rgba(5, 5, 5, .82) 51%, rgba(5, 5, 5, .6)), image-set(url("../img/construction-civil/caterpillar-320-hero-mobile-v1.avif") type("image/avif"), url("../img/construction-civil/caterpillar-320-hero-mobile-v1.webp") type("image/webp")); background-position: center; background-size: cover; }
@media (min-width: 761px) { .hero { background-image: linear-gradient(90deg, rgba(5, 5, 5, .96), rgba(5, 5, 5, .82) 51%, rgba(5, 5, 5, .6)), url("../img/construction-civil/caterpillar-320-hero-desktop-v1.webp"); background-image: linear-gradient(90deg, rgba(5, 5, 5, .96), rgba(5, 5, 5, .82) 51%, rgba(5, 5, 5, .6)), image-set(url("../img/construction-civil/caterpillar-320-hero-desktop-v1.avif") type("image/avif"), url("../img/construction-civil/caterpillar-320-hero-desktop-v1.webp") type("image/webp")); } }
.hero::after { content: ""; position: absolute; right: -10%; bottom: -45%; width: 520px; height: 520px; z-index: -1; border: 1px solid rgba(225, 43, 43, .14); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(225, 43, 43, .025), 0 0 0 8rem rgba(225, 43, 43, .018); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: clamp(28px, 3.5vw, 52px); align-items: center; }
.hero-copy { min-width: 0; overflow: visible; }
.eyebrow, .section-kicker { color: var(--silver); font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(3rem, 5.35vw, 5.1rem); line-height: .94; letter-spacing: -.05em; overflow: visible; overflow-wrap: normal; text-wrap: balance; text-transform: uppercase; word-break: keep-all; }
h1 .accent { color: var(--silver); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.045em; }
.hero-lead { max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.22rem); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; min-width: 150px; min-height: 48px; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid transparent; border-radius: 12px; color: var(--white); font-size: .8rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s ease, filter .2s ease, background .2s ease; }
.btn-primary { background: linear-gradient(135deg, var(--red), var(--red-deep)); box-shadow: 0 14px 34px var(--red-glow); }
.btn-secondary { border-color: var(--border); background: rgba(255, 255, 255, .055); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.hero-card { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 38px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0%, rgba(225, 43, 43, .2), transparent 32%), linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)), var(--black-card); box-shadow: var(--shadow); isolation: isolate; }
.hero-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .055) 50%, transparent 70%); transform: translateX(-100%); animation: sheen 8s ease-in-out infinite; }
@keyframes sheen { 0%, 62% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.hero-logo-wrap { display: grid; min-height: 250px; place-items: center; padding: 8px; }
.hero-logo-wrap img { width: min(100%, 430px); filter: drop-shadow(0 26px 42px rgba(0, 0, 0, .62)); }
.hero-card-copy { padding-top: 22px; border-top: 1px solid var(--border); text-align: center; }
.hero-card-copy strong { display: block; text-transform: uppercase; letter-spacing: .09em; }
.hero-card-copy p { margin: 10px auto 0; max-width: 480px; color: var(--muted); font-size: .9rem; }
.credential-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.credential-bar-two { grid-template-columns: repeat(2, 1fr); }
.credential { display: flex; min-height: 108px; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px 10px; border: 1px solid var(--border); border-radius: 16px; background: rgba(0, 0, 0, .36); color: var(--silver); text-align: center; font-size: .75rem; font-weight: 800; letter-spacing: .055em; line-height: 1.4; text-transform: uppercase; }
.credential img { max-width: 80px; max-height: 44px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55)); }
.credential img.handshake-mini { width: 78px; max-height: 46px; }

.band { padding: clamp(68px, 8vw, 104px) 0; }
.supporting-section { background: radial-gradient(circle at 0% 50%, rgba(225, 43, 43, .1), transparent 32%), var(--black-soft); }
.support-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: clamp(34px, 5vw, 66px); align-items: center; }
.support-copy h2, .section-head h2 { margin-top: 14px; }
.support-copy p { max-width: 650px; margin: 18px 0 0; color: var(--muted); }
.support-images { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; }
.support-images picture { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.support-images img { width: 100%; height: 360px; object-fit: cover; }
.support-images picture:first-child img { object-position: center; }
.support-images picture:last-child img { object-position: 58% center; }

.trust-strip { border-block: 1px solid var(--border); background: rgba(255, 255, 255, .025); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 28px 24px; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { color: var(--white); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.trust-item span { margin-top: 7px; color: var(--muted-dark); font-size: .8rem; }

.faq-section { background: radial-gradient(circle at 90% 15%, rgba(225, 43, 43, .08), transparent 30%); }
.section-head { max-width: 840px; margin-bottom: 38px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: rgba(17, 17, 19, .9); }
.faq-question { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border: 0; background: transparent; color: var(--white); text-align: left; font-weight: 800; cursor: pointer; }
.faq-question::after { content: "+"; flex: 0 0 auto; color: var(--red); font-size: 1.5rem; line-height: 1; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: none; padding: 0 22px 22px; color: var(--muted); }
.faq-answer.is-open { display: block; }
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 15px; }
.final-cta { position: relative; overflow: hidden; text-align: center; background: radial-gradient(circle at center, rgba(225, 43, 43, .2), transparent 42%), var(--black); }
.final-cta::before, .final-cta::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(225, 43, 43, .12); border-radius: 50%; }
.final-cta::before { top: -160px; left: -70px; }
.final-cta::after { right: -70px; bottom: -160px; }
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { max-width: 920px; margin: 14px auto 0; }
.final-cta p { max-width: 720px; margin: 18px auto 0; color: var(--muted); font-size: 1.08rem; }
.final-cta .contact-button-set { justify-content: center; }

footer { padding: 34px 0; border-top: 1px solid var(--border); background: #030303; color: var(--muted-dark); font-size: .88rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 17px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 1180px) {
  .hero-grid, .support-grid { grid-template-columns: 1fr; }
  .hero-grid { max-width: 820px; }
  h1 { font-size: clamp(3rem, 8vw, 4.4rem); }
  .hero-card { max-width: 700px; }
  .support-images { max-width: 820px; }
}

@media (max-width: 760px) {
  :root { --header-height: 72px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .container { width: min(calc(100% - 26px), var(--max-width)); }
  .brand img { width: 53px; }
  .brand-copy strong { font-size: .81rem; }
  .brand-copy span { font-size: .59rem; }
  .hero { padding: 66px 0; background-position: 62% center; }
  h1 { font-size: clamp(2.7rem, 9vw, 4rem); }
  .btn-row { display: grid; }
  .btn { width: 100%; }
  .hero-logo-wrap { min-height: 190px; }
  .credential-bar-two { grid-template-columns: 1fr 1fr; }
  .support-images { grid-template-columns: 1fr; }
  .support-images img { height: 250px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-top: 1px solid var(--border); border-left: 0; }
  .faq-question { padding: 17px; }
  .faq-answer { padding: 0 17px 19px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: 13px; }
}

@media (max-width: 430px) {
  .brand-copy span { display: none; }
  .construction-civil-page h1 { font-size: clamp(2.15rem, 9vw, 2.4rem) !important; }
  .credential-bar-two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
