:root {
  --bg: #f4f4f4;
  --bg-alt: #ffffff;
  --panel: #ffffff;
  --panel-2: #f7f6f2;
  --text: #1e1b1b;
  --muted: #4f4a4a;
  --purple: #1e195f;
  --yellow: #fceb00;
  --red: #e71d26;
  --outline: rgba(30, 25, 95, 0.2);
  --card-shadow: 0 16px 32px rgba(17, 24, 39, 0.12);
  --radius: 16px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

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

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
}

.brand img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(30, 25, 95, 0.08);
}

.nav-link.active {
  color: var(--text);
  background: rgba(30, 25, 95, 0.15);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.btn-link {
  padding: 10px 16px;
  border: 1px solid var(--purple);
  color: var(--purple);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  justify-self: end;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

main {
  padding: 40px 0 80px;
}

.hero {
  padding: 32px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-stack {
  display: grid;
  gap: 16px;
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: var(--card-shadow);
}

.slideshow {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.slideshow-track {
  position: relative;
  height: 100%;
  min-height: 240px;
}

.hero-media .slideshow {
  height: clamp(220px, 34vw, 360px);
  min-height: 0;
}

.hero-media .slideshow-track {
  height: 100%;
  min-height: 0;
}

.slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slideshow .slide.active {
  opacity: 1;
}

.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow-dots {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: rgba(30, 25, 95, 0.15);
  cursor: pointer;
  padding: 0;
}

.slideshow-dot.active {
  background: var(--purple);
  border-color: var(--purple);
}

.slideshow-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.slideshow-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(30, 25, 95, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.pill span.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.headline {
  font-size: clamp(28px, 5vw, 44px);
  margin: 14px 0;
  line-height: 1.15;
  color: var(--text);
}

.headline strong {
  color: var(--purple);
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4);
  background: var(--red);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--text);
}

.accent-line {
  height: 6px;
  width: 100%;
  border-radius: 99px;
  background: var(--red);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
  margin: 20px 0 8px;
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--card-shadow);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 25, 95, 0.04);
  opacity: 0.6;
  pointer-events: none;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(30, 25, 95, 0.08);
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.section-title .bar {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--purple);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(30, 25, 95, 0.06);
}

.list li .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
}

.cta-strip {
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: center;
  background: rgba(30, 25, 95, 0.12);
  color: var(--text);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--card-shadow);
}

.cta-strip h3 {
  margin: 0 0 6px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.contact-card h4 {
  margin: 0 0 4px;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
}

form.contact-form {
  display: grid;
  gap: 12px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.3em;
  font-weight: 600;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  color: var(--text);
  font-weight: 600;
}

.field input,
.field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--outline);
  box-shadow: 0 0 0 3px var(--outline);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 24px 0 28px;
  background: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  color: var(--muted);
}

.footer-grid h4 {
  margin: 0 0 10px;
  color: var(--text);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--red);
}

.tiny {
  font-size: 0.9rem;
  color: var(--muted);
}

.badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(30, 25, 95, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text);
  font-weight: 600;
}

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.process-step {
  border-left: 3px solid var(--purple);
  padding-left: 12px;
}

.process-step h4 {
  margin: 0 0 6px;
}

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

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.stat-card {
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(30, 25, 95, 0.05);
  border-radius: var(--radius);
  padding: 16px;
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  color: var(--purple);
}

/* Product selectors */
.selector-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: start;
}

.selector-block {
  display: grid;
  gap: 10px;
}

.selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.selector-row label {
  font-weight: 600;
}

.selector-row select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: var(--text);
  min-width: 180px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.selector-row select:focus {
  outline: none;
  border-color: var(--outline);
  box-shadow: 0 0 0 3px var(--outline);
}

.selector-row select option {
  background: #fff;
  color: var(--text);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch {
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(30, 25, 95, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.swatch.active {
  border-color: var(--purple);
  background: rgba(30, 25, 95, 0.12);
}

.swatch:hover {
  transform: translateY(-1px);
}

.preview {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.preview img {
  width: 100%;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.installation-grid .gallery-card img {
  height: 220px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: var(--card-shadow);
}

.gallery-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.gallery-card .meta {
  padding: 12px;
  font-weight: 600;
}

.gallery-empty {
  padding: 16px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.category-card {
  display: grid;
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(17, 24, 39, 0.18);
}

.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card .meta {
  padding: 14px;
  display: grid;
  gap: 6px;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card .meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.download-card {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.download-card strong {
  color: var(--text);
}

.download-card a {
  color: var(--purple);
  font-weight: 700;
}

.map-embed {
  width: 100%;
  min-height: 280px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  background: #fff;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(30, 25, 95, 0.12);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: var(--radius);
}

.hero-visual .line {
  height: 8px;
  border-radius: 999px;
  background: var(--purple);
  margin: 10px 0;
}

.hero-visual h4 {
  margin: 0 0 6px;
  color: var(--text);
}

.hero-visual p {
  margin: 0;
  color: rgba(28, 31, 36, 0.8);
  font-weight: 600;
}

.accent {
  color: var(--yellow);
}

.noweld-logo {
  max-width: 220px;
  margin: 12px 0 18px;
}

@media (max-width: 900px) {
  .nav-container {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 10px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-link,
  .btn-link {
    width: 100%;
    text-align: center;
  }

  .cta-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 20px;
  }

  main {
    padding-top: 24px;
  }

  .panel {
    padding: 16px;
  }

  .slideshow,
  .slideshow-track {
    min-height: 200px;
  }
}
