:root {
  --ink: #17211c;
  --muted: #5f6f67;
  --line: #dfe7e2;
  --paper: #f6f8f4;
  --white: #ffffff;
  --green: #1c6b4f;
  --green-dark: #0f4433;
  --mint: #cdebdc;
  --steel: #233330;
  --amber: #d6a94b;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Aptos", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

.topbar {
  background: var(--steel);
  color: #d8e6df;
  font-size: 13px;
}

.topbar-inner,
.nav-inner,
.section-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--green);
}

.quote-link,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 700;
  border: 1px solid transparent;
}

.quote-link,
.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--line);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
}

.hero {
  background:
    linear-gradient(90deg, rgba(15, 68, 51, 0.9), rgba(23, 33, 28, 0.58)),
    url("images/looya-waterproof-bathroom-system-hero.webp") center / cover;
  color: var(--white);
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  align-content: center;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.hero-copy {
  max-width: 690px;
  color: #e4eee9;
  font-size: 18px;
  line-height: 1.7;
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 64px;
}

.proof-strip div {
  padding: 20px 18px 20px 0;
}

.proof-strip strong {
  display: block;
  font-size: 24px;
}

.proof-strip span {
  color: #d6e2dc;
  font-size: 13px;
}

.section {
  padding: 84px 0;
}

.section.white {
  background: var(--white);
}

.section.dark {
  background: var(--steel);
  color: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.section-head p,
.lead {
  color: var(--muted);
  line-height: 1.75;
}

.dark .section-head p,
.dark .lead {
  color: #cbd8d2;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}

.dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: contain;
  background: #f7faf8;
  margin: -24px -24px 22px;
  max-width: calc(100% + 48px);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.dark .card p,
.dark .card li {
  color: #d0ddd6;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  background: #f7faf8;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.spec-table th {
  color: var(--green-dark);
  width: 32%;
}

.page-hero {
  background: var(--steel);
  color: var(--white);
  padding: 86px 0;
}

.page-hero p {
  max-width: 760px;
  color: #d5e2dc;
  line-height: 1.75;
  font-size: 18px;
}

.breadcrumb {
  color: var(--mint);
  font-size: 13px;
  margin-bottom: 22px;
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
}

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

.footer {
  background: #101a17;
  color: #dce8e2;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
}

.footer a,
.footer p {
  color: #b7c8c0;
  line-height: 1.8;
}

.footer h3 {
  color: var(--white);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 34px;
  padding-top: 22px;
  color: #9db0a8;
  font-size: 13px;
}

@media (max-width: 860px) {
  .topbar-inner {
    flex-direction: column;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 22px 50px rgba(16, 26, 23, 0.18);
  }

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

  .nav-links a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }

  .quote-link {
    margin: 12px;
  }

  .hero-inner {
    min-height: 560px;
  }

  .proof-strip,
  .section-head,
  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}
