:root {
  --ink: #1c2822;
  --muted: #5e6a62;
  --bg: #f6f4ef;
  --paper: #fffcf8;
  --green: #1b6b45;
  --green-dark: #145438;
  --line: #e3dfd6;
  --shadow: 0 16px 40px rgba(28, 40, 34, 0.08);
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3, .navbar-brand {
  letter-spacing: -0.03em;
}

.navbar {
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  border-bottom-color: var(--line);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-link.active,
.nav-link:hover {
  color: var(--green);
}

.btn-green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-weight: 700;
}

.btn-green:hover,
.btn-green:focus {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.hero {
  padding: 4.5rem 0 1.35rem;
}

.weld-rule {
  margin: 0 0 1.65rem;
  color: var(--green);
}

.weld-rule-inner {
  display: flex;
  align-items: flex-end;
}

.weld-rule-line {
  flex: 1;
  height: 1px;
  margin-bottom: 10.75px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--green));
}

.weld-rule-line-end {
  background: linear-gradient(90deg, var(--green), var(--line) 82%, transparent);
}

.weld-rule-mark {
  width: 72px;
  height: 49.5px;
  flex: 0 0 auto;
}

.eyebrow {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.display-title {
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  font-weight: 800;
}

.rule {
  width: 72px;
  height: 3px;
  background: var(--green);
  border-radius: 99px;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-frame {
  position: relative;
  flex: 0 0 auto;
  width: 450px;
  height: 540px;
  border-radius: 14px;
  overflow: hidden;
  background: #ddd;
}

.hero-frame img,
.hero-frame video,
.about-frame img,
.about-frame video,
.hero-strip img,
.card-photo,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame img,
.hero-frame video,
.about-frame img,
.about-frame video {
  position: absolute;
  inset: 0;
}

.about-frame img,
.about-frame video {
  object-position: center 58%;
}

.hero-frame video,
.about-frame video {
  opacity: 0;
}

.hero-frame.is-playing video,
.about-frame.is-playing video {
  opacity: 1;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 2.75rem;
  height: 132px;
}

.hero-strip a,
.gallery-card {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #ddd;
}

.hero-strip a {
  height: 100%;
}

.icon-pill {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e7f3ec;
  color: var(--green);
  font-size: 1.25rem;
  flex: 0 0 auto;
}

.section-pad {
  padding: 2.5rem 0;
}

.process-steps {
  --process-gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--process-gap);
}

.process-steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.process-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 23px;
  bottom: calc(var(--process-gap) * -1 - 23px);
  width: 2px;
  background: var(--green);
  opacity: 0.35;
  transform: translateX(-50%);
}

.process-steps .icon-pill {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 800;
}

.process-label {
  padding-top: 0.7rem;
  font-weight: 600;
  line-height: 1.35;
}

.process-layout {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
}

.process-layout .process-steps {
  flex: 1 1 auto;
  min-width: 0;
}

.process-art {
  flex: 0 0 232px;
  width: 232px;
}

.process-art svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .process-art {
    display: none;
  }
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.about-frame {
  position: relative;
  min-height: 340px;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: #ddd;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  display: flex;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.service-list li:last-child {
  border-bottom: 0;
}

.service-list i {
  color: var(--green);
  margin-top: 0.15rem;
}

.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.gallery-card {
  position: relative;
  aspect-ratio: 4 / 3;
  color: #fff;
}

.gallery-card span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(20, 32, 26, 0.78);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-band {
  background: #17352a;
  color: #f4f1ea;
}

.contact-band a {
  color: #fff;
  text-decoration: none;
}

.form-control,
.form-select {
  border-color: var(--line);
  background: #fff;
  padding: 0.75rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(27, 107, 69, 0.15);
}

footer {
  background: #10241d;
  color: #c9d2cc;
}

@media (max-width: 991px) {
  .hero-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    align-self: stretch;
  }

  .hero-strip {
    height: 92px;
    gap: 8px;
  }

  .about-frame {
    min-height: 240px;
    height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-frame video,
  .about-frame video {
    display: none;
  }
}
