* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #0f1c2e;
  --muted: #44566c;
  --accent: #0f6e8c;
  --accent-dark: #0a4f66;
  --surface: #f6f7f9;
  --surface-strong: #e6ecf2;
  --border: #d7dee8;
  --warning: #e0a800;
}

body {
  font-family: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
button:hover {
  filter: brightness(0.95);
}

main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.nav {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background-color: #ffffff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.ad-label {
  background: var(--surface-strong);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.split {
  display: flex;
  gap: 32px;
  align-items: stretch;
  flex-wrap: wrap;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split > * {
  flex: 1 1 320px;
}

.hero {
  padding: 36px 0 12px;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  border: none;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.button.secondary {
  background: #ffffff;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-strong);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.image-frame {
  background-color: #e3e9f0;
  border-radius: 14px;
  overflow: hidden;
}

.panel {
  background: var(--surface);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
}

.section {
  padding: 24px 0;
}

.section-dark {
  background: var(--surface-strong);
  padding: 36px 0;
}

.section-dark .panel {
  background: #ffffff;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 240px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price {
  font-size: 20px;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.sticky-cta {
  position: sticky;
  top: 18px;
  align-self: flex-start;
}

.form-wrap {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.form-box {
  flex: 2 1 320px;
}

.form-aside {
  flex: 1 1 220px;
}

label {
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  left: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: none;
  z-index: 10;
  box-shadow: 0 12px 24px rgba(15, 28, 46, 0.08);
}

.banner.visible {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  background: #ffffff;
}

.footer-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-grid > * {
  flex: 1 1 220px;
}

.legal {
  font-size: 13px;
  color: var(--muted);
}

.notice {
  background: #fff6da;
  border: 1px solid #f1d08a;
  padding: 12px 14px;
  border-radius: 10px;
  color: #7a5b10;
}

.bg-pipes-hero {
  background-image: url("https://images.unsplash.com/photo-1682540963112-facad29c3fa2?w=1400&q=80");
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

.bg-pipes-secondary {
  background-image: url("https://images.unsplash.com/photo-1768321902691-082df3e874cf?w=800&q=80");
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

.bg-valves {
  background-image: url("https://images.unsplash.com/photo-1743580886673-812abb5acf3a?w=800&q=80");
  background-size: cover;
  background-position: center;
  min-height: 240px;
}

.bg-wall-pipes {
  background-image: url("https://images.unsplash.com/photo-1683727610732-26b7b56aeec8?w=800&q=80");
  background-size: cover;
  background-position: center;
  min-height: 240px;
}

.bg-industrial {
  background-image: url("https://images.unsplash.com/photo-1773517458766-82ddcbeef548?w=800&q=80");
  background-size: cover;
  background-position: center;
  min-height: 240px;
}

.tag-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.map-frame {
  border-radius: 14px;
  overflow: hidden;
  background-color: #e6edf4;
}

.map-frame img {
  width: 100%;
  height: 260px;
}

.cta-band {
  background: var(--ink);
  color: #ffffff;
  padding: 28px;
  border-radius: 16px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-band .button {
  background: #ffffff;
  color: var(--ink);
}

.service-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-button {
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
}

.service-button.active {
  border-color: var(--accent);
  background: #eef6f8;
}

.small {
  font-size: 14px;
}

@media (max-width: 720px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
