:root {
  --red: #c9232b;
  --red-dark: #9f1720;
  --ink: #15171b;
  --muted: #626976;
  --line: #e6e8ed;
  --soft: #f5f6f8;
  --white: #fff;
  --green: #128c4a;
  --shadow: 0 18px 50px rgba(18, 24, 38, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  line-height: 1.55;
  padding-bottom: 74px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 20;
}
.skip-link:focus { top: 12px; }

.top-strip {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.top-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.main-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 186px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #363b45;
}

.nav-links a.active,
.nav-links a:hover {
  background: #fff1f2;
  color: var(--red);
}

.nav-links .nav-cta {
  background: var(--red);
  color: #fff;
}

.nav-links .nav-cta:hover {
  background: var(--red-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 700;
}

.section { padding: 72px 0; }
.soft-bg { background: var(--soft); }

.hero {
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.78) 52%, rgba(255,255,255,.2) 100%),
    url('../images/factory-pvc-pipe-stock.jpg') center/cover no-repeat;
}

.hero-grid,
.split-grid,
.product-detail-grid,
.contact-grid,
.product-info-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(230,232,237,.9);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
}

.eyebrow {
  display: inline-flex;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

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

h1 {
  font-size: clamp(38px, 6vw, 70px);
  line-height: .98;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  margin-bottom: 14px;
}

h3 { font-size: 21px; margin-bottom: 10px; }

.lead {
  color: #373d48;
  font-size: 18px;
  max-width: 660px;
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: #c9ced8; background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--red); }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn.full { width: 100%; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 13px;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 480px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.info-panel,
.highlight-card,
.contact-card,
.enquiry-mini,
.spec-card,
.feature-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(18, 24, 38, .08);
}

.hero-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
}
.hero-card strong,
.hero-card span { display: block; }
.hero-card span { color: var(--muted); margin-top: 4px; }

.stats-band {
  background: var(--ink);
  color: #fff;
  padding: 24px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-item {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 18px;
}

.stat-item strong {
  display: block;
  font-size: 28px;
  color: #fff;
}

.stat-item span { color: #cbd0d8; font-size: 14px; }

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p,
.split-grid p,
.feature-box p,
.product-card p,
.contact-card p,
.small-note,
.form-help {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 24, 38, .07);
}

.product-card a { display: block; height: 100%; }

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1f2f4;
}

.product-card-body { padding: 18px; }
.product-card h3 { font-size: 19px; }
.product-card p { min-height: 74px; }

dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 6px 10px;
  margin: 14px 0;
  font-size: 14px;
}

dt { color: var(--muted); font-weight: 700; }
dd { margin: 0; font-weight: 800; }

.card-link {
  color: var(--red);
  font-weight: 900;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 11px 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--red);
}

.info-panel,
.highlight-card,
.contact-card,
.enquiry-mini,
.spec-card,
.feature-box {
  padding: 24px;
}

.highlight-card {
  background: var(--ink);
  color: #fff;
}

.highlight-card span {
  color: #ffb7bd;
  font-weight: 800;
}

.highlight-card strong {
  display: block;
  font-size: 64px;
  line-height: 1;
  margin: 8px 0 10px;
}

.highlight-card p { color: #dfe3e9; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.page-hero {
  background: linear-gradient(135deg, #fff 0%, #f7f7f8 60%, #ffecee 100%);
  border-bottom: 1px solid var(--line);
  padding: 76px 0;
}

.page-hero.compact h1 {
  max-width: 880px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.product-hero img,
.product-detail-grid img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.certificate-img {
  object-position: top center;
}

.spec-card table,
.clean-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-card th,
.spec-card td,
.clean-table th,
.clean-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 14px 0;
  vertical-align: top;
}

.spec-card th,
.clean-table th {
  width: 30%;
  color: var(--muted);
}

.enquiry-form,
.mini-form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd4dd;
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
}

textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(201,35,43,.16);
  border-color: var(--red);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.contact-grid {
  align-items: start;
}

.contact-line {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  font-weight: 900;
}

.quote-strip {
  background: var(--red);
  color: #fff;
  padding: 28px 0;
}

.quote-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.quote-strip p { margin: 4px 0 0; color: #ffe3e5; }

.site-footer {
  background: #101216;
  color: #d8dce3;
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
}

.footer-logo {
  width: 50%;
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 14px;
}

.site-footer h3 { color: #fff; font-size: 17px; }
.site-footer a { display: block; margin: 8px 0; color: #d8dce3; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #aeb5c1;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 12;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 13px 17px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(18, 140, 74, .28);
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 14;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(18,24,38,.08);
}

.bottom-nav a {
  min-height: 64px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #363b45;
}

.bottom-nav a:nth-child(4) { color: var(--green); }
.bottom-nav a:nth-child(5) { color: var(--red); }

.thank-you { text-align: center; }
.hero-actions.center { justify-content: center; }

@media (max-width: 1040px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid,
  .split-grid,
  .product-detail-grid,
  .contact-grid,
  .product-info-layout {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: 360px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 70px; }
  .container { width: min(100% - 24px, 1160px); }
  .top-strip { display: none; }
  .main-nav { min-height: 66px; }
  .brand img { width: 154px; height: 48px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 6px; }
  .hero {
    min-height: auto;
    padding: 24px 0 36px;
    align-items: stretch;
  }
  .hero-grid { gap: 20px; }
  .hero-copy { padding: 22px; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .lead { font-size: 16px; }
  .section { padding: 48px 0; }
  .stats-grid,
  .feature-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-grid { grid-template-columns: 1fr; }
  .product-card p { min-height: auto; }
  .form-row { grid-template-columns: 1fr; }
  .quote-strip-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .floating-whatsapp {
    right: 12px;
    bottom: 82px;
    padding: 11px 14px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn,
  .quote-actions .btn { width: 100%; }
  .stats-grid,
  .feature-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .page-hero { padding: 50px 0; }
  .highlight-card strong { font-size: 48px; }
  .bottom-nav a { min-height: 60px; font-size: 11px; }
  dl { grid-template-columns: 64px 1fr; }
}
