:root {
  color-scheme: dark;
  --black: #050505;
  --panel: #101010;
  --panel-2: #171717;
  --orange: #ff8c1a;
  --red: #ff3218;
  --white: #fff;
  --muted: #b8b8b8;
  --line: #333;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: #e7e7e7;
  font: 400 16px/1.65 "Roboto", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 50, 24, 0.09), transparent 30%),
    radial-gradient(circle at 84% 64%, rgba(255, 140, 26, 0.06), transparent 34%);
}

h1,
h2,
h3,
h4,
.brand,
.btn,
nav a,
.eyebrow,
.contract-label {
  font-family: "Rajdhani", Arial, sans-serif;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

a {
  color: var(--orange);
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: #050505;
  background: #ffd166;
  font-weight: 800;
  text-decoration: none;
  border-radius: 4px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 3px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 9px 0;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 2px solid var(--orange);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 0.86;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  animation: brandPulse 2.6s infinite ease-in-out;
}

.brand span span {
  color: var(--red);
  text-shadow: 0 0 18px rgba(255, 50, 24, 0.76);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: #ddd;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--orange);
}

.lang {
  padding: 6px 10px;
  border: 1px solid #555;
  border-radius: 4px;
}

@keyframes brandPulse {
  0%, 100% {
    filter: drop-shadow(0 0 7px rgba(255, 34, 0, 0.5));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 34, 0, 0.95)) drop-shadow(0 0 35px rgba(255, 140, 26, 0.48));
    transform: scale(1.045);
  }
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.48) 58%, rgba(0, 0, 0, 0.82)),
    url("pbw-mobile-welding-rig.webp") center / cover no-repeat;
  border-bottom: 1px solid #2d2d2d;
}

.hero-inner {
  padding-block: 92px;
}

.breadcrumbs {
  margin-bottom: 20px;
  color: #ccc;
  font-size: 14px;
}

.breadcrumbs a {
  color: #fff;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero h1 {
  max-width: 1080px;
  margin: 0 auto 22px;
  color: #fff;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 800;
  line-height: 0.95;
  text-shadow: 0 4px 22px #000;
}

.hero h1 span {
  color: var(--orange);
}

.hero-copy {
  max-width: 880px;
  margin: 0 auto 30px;
  color: #eee;
  font-size: clamp(18px, 2vw, 22px);
  text-shadow: 0 2px 10px #000;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  color: var(--orange);
  background: rgba(0, 0, 0, 0.58);
  border: 2px solid var(--orange);
  border-radius: 4px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: 180ms ease;
}

.btn:hover {
  color: #050505;
  background: var(--orange);
  box-shadow: 0 0 24px rgba(255, 140, 26, 0.42);
}

.btn.primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.btn.primary:hover {
  color: #fff;
  background: #ff4c34;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.trust span {
  padding: 8px 12px;
  color: #eee;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid #555;
  font-weight: 700;
}

.section {
  padding: 82px 0;
  border-bottom: 1px solid #242424;
}

.section.alt {
  background: #0b0b0b;
}

.section h2 {
  max-width: 900px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.02;
}

.lead {
  max-width: 900px;
  color: #c8c8c8;
  font-size: 19px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 28px;
  background: linear-gradient(145deg, var(--panel-2), #0d0d0d);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 4px;
}

.card h3 {
  margin-bottom: 9px;
  color: #fff;
  font-size: 25px;
  line-height: 1.12;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card ul,
.work-list {
  margin-bottom: 0;
  padding-left: 20px;
}

.card li,
.work-list li {
  margin: 8px 0;
}

.contract-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border: 1px solid var(--line);
}

.contract-step {
  padding: 30px;
  background: #0f0f0f;
  border-right: 1px solid var(--line);
}

.contract-step:last-child {
  border-right: 0;
}

.contract-label {
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.contract-step h3 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 25px;
}

.contract-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.photo-band {
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.5)),
    url("gate-fence-repair.webp") center / cover no-repeat;
}

.photo-band .lead {
  color: #eee;
}

.area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.area-links a {
  padding: 9px 13px;
  color: #eee;
  background: #151515;
  border: 1px solid #3b3b3b;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
}

.area-links a:hover {
  color: #fff;
  border-color: var(--orange);
}

/* Internal-link button network, matching the main PBW pages. */
.coverage-network {
  padding: 64px 0;
  background: linear-gradient(180deg, #090909, #111);
  border-top: 1px solid #292929;
  border-bottom: 1px solid #292929;
}

.coverage-inner {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.coverage-network h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
}

.coverage-network p {
  max-width: 760px;
  margin: 0 0 24px;
  color: #bdbdbd;
}

.coverage-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-links a {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 11px 14px;
  color: #f2f2f2;
  background: #151515;
  border: 1px solid #303030;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.coverage-links a:hover,
.coverage-links a[aria-current="page"] {
  color: #fff;
  background: #21150c;
  border-color: var(--orange);
}

.coverage-subhead {
  margin: 30px 0 12px;
  color: var(--orange);
  font-size: 18px;
  line-height: 1.2;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

details {
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
}

summary {
  color: #fff;
  cursor: pointer;
  font: 800 20px/1.25 "Rajdhani", Arial, sans-serif;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
}

.contact-card {
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}

.contact-card a {
  font-size: 19px;
  font-weight: 700;
}

.contact-form {
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  color: #eee;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  color: #fff;
  background: #070707;
  border: 1px solid #484848;
  border-radius: 3px;
  font: inherit;
}

.contact-form textarea {
  min-height: 135px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.fine {
  color: #919191;
  font-size: 13px;
}

.footer {
  padding: 52px 0;
  background: #030303;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 34px;
}

.footer h3 {
  color: #fff;
  font-size: 20px;
}

.footer a:not(.brand) {
  display: block;
  margin: 7px 0;
  color: #aaa;
  text-decoration: none;
}

.callbar {
  display: none;
}

@media (max-width: 900px) {
  nav a:not(.lang) {
    display: none;
  }

  .grid,
  .grid.two,
  .contract-grid,
  .contact,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contract-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contract-step:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 620px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    font-size: 22px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .hero-inner,
  .section,
  .photo-band {
    padding-block: 62px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: auto;
  }

  .callbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: block;
    padding: 13px;
    color: #fff;
    background: var(--red);
    font: 800 18px/1.2 "Rajdhani", Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }

  body {
    padding-bottom: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand img {
    animation: none;
  }
}
