:root {
  --slate-950: #121a1f;
  --slate-850: #1f2a31;
  --slate-700: #374650;
  --cream-50: #fffdf8;
  --cream-100: #f7f0e6;
  --cream-200: #eadfce;
  --stone: #cfc2ae;
  --gold: #a9824a;
  --green: #667a5b;
  --white: #ffffff;
  --muted: #65727a;
  --shadow: 0 24px 70px rgba(18, 26, 31, 0.18);
}

* {
  box-sizing: border-box;
}

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

html {
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--slate-950);
  background: var(--cream-100);
  font-family: Inter, "Noto Sans SC", Arial, sans-serif;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(18, 26, 31, 0.9);
  backdrop-filter: blur(16px);
}

main {
  width: 100%;
  max-width: 100%;
}

.brand,
.site-nav,
.language-switcher {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  overflow-wrap: anywhere;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.site-nav {
  display: grid;
  grid-template-columns:
    minmax(72px, 0.62fr)
    minmax(160px, 1.18fr)
    minmax(150px, 1.05fr)
    minmax(160px, 1.18fr)
    minmax(78px, 0.7fr);
  align-items: stretch;
  justify-content: stretch;
  gap: clamp(4px, 0.7vw, 10px);
  font-size: 13px;
  font-weight: 700;
}

.site-nav > a,
.nav-dropdown > a {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  line-height: 1.18;
  word-break: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 22px;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  display: grid;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 26, 31, 0.98);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.2s ease 0.12s,
    transform 0.2s ease 0.12s,
    visibility 0s linear 0.32s;
  visibility: hidden;
}

.nav-menu a {
  display: flex;
  width: max-content;
  min-width: 100%;
  max-width: min(420px, calc(100vw - 56px));
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--slate-950);
  background: var(--cream-50);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
  visibility: visible;
}

html[lang="ms"] .site-nav {
  font-size: 12px;
  grid-template-columns:
    minmax(70px, 0.6fr)
    minmax(170px, 1.3fr)
    minmax(140px, 1fr)
    minmax(150px, 1.1fr)
    minmax(84px, 0.72fr);
}

html[lang="zh-Hans"] .site-nav {
  font-size: 14px;
  grid-template-columns:
    minmax(70px, 0.62fr)
    minmax(142px, 1.1fr)
    minmax(128px, 0.95fr)
    minmax(142px, 1.05fr)
    minmax(84px, 0.72fr);
}

.language-switcher {
  gap: 6px;
}

.lang {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 0 10px;
  color: var(--white);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.lang.active,
.lang:hover {
  color: var(--slate-950);
  background: var(--cream-50);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 96vh;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-950);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 26, 31, 0.78) 0%, rgba(18, 26, 31, 0.58) 46%, rgba(18, 26, 31, 0.52) 100%),
    linear-gradient(0deg, rgba(18, 26, 31, 0.78) 0%, rgba(18, 26, 31, 0.2) 54%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 124px;
  text-align: center;
}

.hero-company {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 0 auto 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-divider {
  width: min(520px, 70vw);
  height: 1px;
  margin: 0 auto 18px;
  background: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Playfair Display", "Noto Sans SC", Georgia, serif;
  line-height: 1.04;
}

h1 {
  max-width: 980px;
  margin: 0 auto 28px;
  font-size: clamp(28px, 4.3vw, 58px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.8vw, 58px);
}

h3 {
  margin-bottom: 10px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 920px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 34px 0 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin: 42px auto 0;
  background: rgba(255, 255, 255, 0.2);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(18, 26, 31, 0.58);
  backdrop-filter: blur(8px);
}

.hero-metrics dt {
  color: var(--white);
  font-family: "Playfair Display", "Noto Sans SC", Georgia, serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.button.primary {
  color: var(--white);
  background: var(--gold);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  border-color: rgba(18, 26, 31, 0.16);
  color: var(--white);
  background: var(--slate-950);
}

.section {
  width: 100%;
  padding: clamp(72px, 10vw, 122px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 36px;
}

.contact-section .section-heading,
.disclaimer-section .section-heading {
  max-width: none;
}

.product-structure-lead,
.contact-section .section-heading h2,
.disclaimer-section .section-heading h2 {
  white-space: normal;
}

.product-structure-lead {
  max-width: min(1500px, 100%);
  margin-bottom: 10px;
  color: var(--slate-950);
  font-family: "Playfair Display", "Noto Sans SC", Georgia, serif;
  font-size: clamp(54px, 3.4vw, 64px);
  font-weight: 800;
  line-height: 1.04;
}

.section-heading.row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.category-card span {
  color: var(--gold);
  font-weight: 800;
}

.category-card p {
  margin-bottom: 0;
  color: var(--slate-700);
  line-height: 1.55;
}

.category-section {
  background: var(--cream-200);
}

.category-section .section-heading {
  max-width: none;
}

.category-section .section-heading h2 {
  max-width: 1500px;
  font-size: clamp(34px, 2.3vw, 42px);
  white-space: normal;
}

html[lang="ms"] .category-section .section-heading h2 {
  font-size: clamp(30px, 2vw, 38px);
}

html[lang="ms"] .product-structure-lead,
html[lang="ms"] .category-section .section-heading h2 {
  max-width: min(1380px, calc(100vw - 220px));
}

html[lang="zh-Hans"] .product-structure-lead,
html[lang="zh-Hans"] .category-section .section-heading h2 {
  max-width: min(1380px, calc(100vw - 220px));
}

.category-section .section-heading .eyebrow,
.product-section .section-heading .eyebrow,
.contact-section .section-heading .eyebrow,
.disclaimer-section .section-heading .eyebrow {
  color: var(--gold);
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 900;
}

@media (max-width: 1500px) {
  .product-structure-lead {
    font-size: 54px;
  }

  .category-section .section-heading h2 {
    font-size: 36px;
  }

  html[lang="ms"] .category-section .section-heading h2 {
    font-size: 32px;
  }
}

@media (max-width: 1200px) {
  .product-structure-lead {
    font-size: 42px;
  }

  .category-section .section-heading h2 {
    font-size: 30px;
  }

  html[lang="ms"] .category-section .section-heading h2 {
    font-size: 26px;
  }
}

@media (max-width: 760px) {
  .product-structure-lead {
    font-size: 30px;
  }

  .category-section .section-heading h2 {
    font-size: 23px;
  }

  html[lang="ms"] .category-section .section-heading h2 {
    font-size: 21px;
  }
}

@media (max-width: 560px) {
  .product-structure-lead {
    font-size: 27px;
  }

  .category-section .section-heading h2 {
    font-size: 21px;
  }

  html[lang="ms"] .category-section .section-heading h2 {
    font-size: 19px;
  }

  html[lang="ms"] .product-structure-lead,
  html[lang="zh-Hans"] .product-structure-lead,
  html[lang="ms"] .category-section .section-heading h2,
  html[lang="zh-Hans"] .category-section .section-heading h2 {
    max-width: 100%;
    font-family: Inter, "Noto Sans SC", Arial, sans-serif;
    line-height: 1.22;
  }

  html[lang="ms"] .product-structure-lead {
    font-size: 21px;
  }

  html[lang="ms"] .category-section .section-heading h2 {
    font-size: 17px;
  }

  html[lang="zh-Hans"] .product-structure-lead {
    font-size: 23px;
  }

  html[lang="zh-Hans"] .category-section .section-heading h2 {
    font-size: 19px;
  }
}

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

.category-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  align-items: end;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(31, 42, 49, 0.12);
  background: var(--cream-50);
  box-shadow: 0 12px 34px rgba(18, 26, 31, 0.07);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 26, 31, 0.02) 0%, rgba(18, 26, 31, 0.08) 40%, rgba(18, 26, 31, 0.58) 100%),
    linear-gradient(0deg, rgba(255, 253, 248, 0.18), rgba(255, 253, 248, 0.18));
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card div {
  display: grid;
  align-content: start;
  gap: 7px;
  width: calc(100% - 32px);
  margin: 16px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 16px 38px rgba(18, 26, 31, 0.14);
  backdrop-filter: blur(12px);
}

.category-card h3 {
  margin-bottom: 0;
  color: var(--slate-950);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.product-card,
.contact-card {
  min-width: 0;
  border: 1px solid rgba(31, 42, 49, 0.12);
  background: var(--cream-50);
  box-shadow: 0 12px 34px rgba(18, 26, 31, 0.07);
}

.product-card .category,
.specs strong {
  color: var(--gold);
  font-weight: 800;
}

.feature-band p,
.product-card p,
.site-footer {
  color: var(--muted);
  line-height: 1.65;
}

.feature-band {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(72px, 10vw, 122px) clamp(18px, 5vw, 72px);
  background: var(--slate-950);
  color: var(--white);
}

.feature-band.reverse {
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  background: var(--slate-850);
}

.feature-band.reverse img {
  order: 2;
}

.masonry-feature {
  background: var(--slate-950);
}

.feature-band img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
}

.feature-band .eyebrow {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--white);
  font-family: "Playfair Display", "Noto Sans SC", Georgia, serif;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  text-transform: none;
}

.feature-band h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(25px, 3.2vw, 42px);
}

.feature-band h2 + p {
  font-size: clamp(16px, 1.5vw, 20px);
}

.product-section {
  background: var(--cream-200);
}

.industrial-cards {
  background: #efe9dc;
}

.masonry-cards {
  background: #f4efe6;
}

.section-banner {
  display: block;
  width: 100%;
  max-height: 420px;
  margin-bottom: 24px;
  border: 1px solid rgba(31, 42, 49, 0.12);
  object-fit: cover;
  object-position: center;
  aspect-ratio: 21 / 8;
}

.product-card {
  overflow: hidden;
  scroll-margin-top: 92px;
}

.product-card:target {
  scroll-margin-top: 110px;
}

.detailed-card {
  display: grid;
  grid-template-columns: minmax(380px, 0.46fr) minmax(0, 0.54fr);
  align-items: stretch;
}

.product-image {
  min-height: 260px;
  height: 100%;
  background:
    linear-gradient(115deg, transparent 0 16%, rgba(255,255,255,0.7) 17% 19%, transparent 20% 35%, rgba(169,130,74,0.18) 36% 38%, transparent 39% 100%),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.86), transparent 25%),
    linear-gradient(135deg, var(--tone-a), var(--tone-b));
}

.product-picture {
  display: block;
  min-width: 0;
  height: 100%;
  line-height: 0;
  background: var(--cream-50);
}

.product-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  max-height: none;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: var(--cream-50);
}

#product-plaster-lime .product-photo,
#product-water-treatment .product-photo,
#product-quick-lime .product-photo,
#product-hydrated-lime .product-photo,
#product-raw-calcite .product-photo {
  object-fit: cover;
}

#product-slab-marble .product-photo {
  max-height: none;
  min-height: 100%;
  object-fit: cover;
}

#product-white-pebbles .product-photo,
#product-marble-chippings .product-photo,
#product-house-ridges .product-photo {
  max-height: none;
  min-height: 100%;
  object-fit: cover;
}

.product-body {
  position: relative;
  z-index: 1;
  background: var(--cream-50);
  padding: 30px;
}

.detailed-card .category {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.product-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 8px 12px;
  color: var(--slate-950);
  background: var(--cream-200);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.product-detail {
  padding-top: 18px;
  border-top: 1px solid rgba(31, 42, 49, 0.12);
}

.product-detail + .product-detail {
  margin-top: 18px;
}

.product-detail h3 {
  margin-bottom: 10px;
  color: var(--slate-950);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.product-detail p,
.product-detail ul {
  font-size: 15px;
  overflow-wrap: anywhere;
}

.product-detail ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: var(--slate-700);
  line-height: 1.58;
}

.product-detail p {
  margin-bottom: 0;
  color: var(--slate-700);
  line-height: 1.68;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(31, 42, 49, 0.12);
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(31, 42, 49, 0.1);
}

.product-gallery img:only-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}

.specs {
  color: var(--slate-700);
  font-size: 14px;
}

.contact-section {
  background: var(--slate-950);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.contact-card a {
  overflow-wrap: anywhere;
  color: var(--cream-50);
  font-weight: 800;
}

.contact-service-area {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  line-height: 1.55;
}

.social-qr-list {
  display: grid;
  grid-template-columns: repeat(2, 168px);
  gap: 28px;
  align-items: start;
  margin-top: 10px;
}

.social-qr {
  display: grid;
  width: 168px;
  gap: 10px;
  place-items: center;
  padding: 0;
}

.social-qr:hover,
.social-qr:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 8px;
}

.social-qr img {
  width: 156px;
  height: 156px;
  object-fit: contain;
  background: var(--white);
}

.social-qr span,
.social-qr small {
  color: rgba(255, 255, 255, 0.82);
  max-width: 168px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.social-qr span {
  font-size: 14px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.quote-form .wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

select option {
  color: var(--slate-950);
  background: var(--cream-50);
}

textarea {
  resize: vertical;
}

.disclaimer-section {
  background: var(--cream-50);
}

.disclaimer-content {
  display: grid;
  gap: 16px;
  max-width: none;
}

.disclaimer-content article {
  border-top: 1px solid rgba(31, 42, 49, 0.12);
  padding-top: 18px;
}

.disclaimer-content h3 {
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
}

.disclaimer-content p {
  max-width: min(1520px, calc(100vw - 220px));
  color: var(--slate-700);
  line-height: 1.68;
}

.site-footer {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.68);
  background: #0d1317;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--cream-50);
  font-weight: 800;
}

.site-footer a[data-i18n="footerDisclaimer"] {
  color: #b5945b;
  text-decoration: underline;
}

.site-footer .footer-note {
  flex-basis: 100%;
  margin: 0;
  padding: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 400;
  line-height: 1.75;
  text-align: center;
}

.site-footer .footer-note a {
  color: #b5945b;
  font-weight: 700;
  text-decoration: underline;
}

.floating-contact {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  top: 50%;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  background: var(--slate-950);
  box-shadow: 0 18px 40px rgba(13, 19, 23, 0.28);
  transform: translateY(-50%);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.1;
  text-align: center;
}

.floating-contact:hover,
.floating-contact:focus-visible {
  color: var(--slate-950);
  background: var(--gold);
}

@media (max-width: 1320px) {
  .site-header {
    position: sticky;
    top: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 18px;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0;
  }

  html[lang="ms"] .site-nav,
  html[lang="zh-Hans"] .site-nav {
    display: flex;
    grid-template-columns: none;
  }

  .site-nav > a[href="#products"],
  .site-nav > a[href="#contact"] {
    display: none;
  }

  .site-nav > a,
  .nav-dropdown > a {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.22;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
  }

  html[lang="ms"] .site-nav > a,
  html[lang="ms"] .nav-dropdown > a {
    padding-inline: 4px;
    font-size: 11px;
    line-height: 1.16;
  }

  html[lang="zh-Hans"] .site-nav > a,
  html[lang="zh-Hans"] .nav-dropdown > a {
    padding-inline: 4px;
    font-size: 13px;
    line-height: 1.16;
  }

  .nav-dropdown {
    display: grid;
    flex: 1 1 calc((100% - 16px) / 3);
    min-width: 0;
    max-width: 180px;
    width: 100%;
    align-items: stretch;
    justify-items: stretch;
  }

  .nav-dropdown::after,
  .nav-menu {
    display: none;
  }

  .nav-dropdown.open > a {
    background: rgba(255, 255, 255, 0.18);
  }

  .mobile-submenu-panel {
    flex: 1 0 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(40px, auto);
    gap: 6px;
    width: 100%;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(18, 26, 31, 0.72);
  }

  .mobile-submenu-panel[hidden] {
    display: none;
  }

  .mobile-submenu-panel a {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .language-switcher {
    justify-content: flex-end;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 18px;
  }

  .site-nav {
    display: grid;
  }

  .language-switcher {
    justify-content: flex-end;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 58px;
  }

  .hero-content {
    width: min(100% - 32px, 720px);
    padding-top: 0;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid,
  .detailed-card,
  .feature-band,
  .feature-band.reverse,
  .contact-layout,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .feature-band.reverse img {
    order: 0;
  }

  .category-card {
    min-height: 0;
    height: 340px;
  }

  .contact-section .section-heading h2,
  .disclaimer-section .section-heading h2 {
    white-space: normal;
  }

  .product-structure-lead,
  .category-section .section-heading h2 {
    white-space: normal;
  }

  .product-image {
    min-height: 220px;
  }

  .section-banner {
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .product-photo {
    height: min(360px, calc((100vw - 36px) * 0.56));
    min-height: 220px;
    max-height: 360px;
    aspect-ratio: 16 / 10;
  }

  .product-picture {
    height: auto;
  }

  .product-card,
  .product-card:target {
    scroll-margin-top: 172px;
  }

  #product-slab-marble .product-photo,
  #product-white-pebbles .product-photo,
  #product-marble-chippings .product-photo,
  #product-house-ridges .product-photo {
    min-height: 220px;
    max-height: 360px;
  }

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

  .floating-contact {
    right: 16px;
    top: auto;
    bottom: 74px;
    width: auto;
    height: 42px;
    min-width: 112px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    transform: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 48px 14px;
  }

  .site-header {
    gap: 8px;
    padding: 8px 10px;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  html[lang="ms"] .site-nav,
  html[lang="zh-Hans"] .site-nav {
    display: flex;
    grid-template-columns: none;
  }

  .nav-dropdown {
    flex: 1 1 calc((100% - 12px) / 3);
    max-width: none;
  }

  .site-nav > a,
  .nav-dropdown > a {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 5px 3px;
    font-size: 9px;
  }

  html[lang="ms"] .site-nav > a,
  html[lang="ms"] .nav-dropdown > a {
    padding-inline: 4px;
    font-size: 10px;
    line-height: 1.14;
  }

  html[lang="ms"] .site-nav {
    grid-auto-rows: minmax(46px, auto);
  }

  html[lang="ms"] .nav-dropdown > a {
    min-height: 46px;
  }

  html[lang="zh-Hans"] .site-nav > a,
  html[lang="zh-Hans"] .nav-dropdown > a {
    padding-inline: 4px;
    font-size: 13px;
    line-height: 1.14;
  }

  html[lang="zh-Hans"] .site-nav {
    grid-auto-rows: minmax(46px, auto);
  }

  html[lang="zh-Hans"] .nav-dropdown > a {
    min-height: 46px;
  }

  .mobile-submenu-panel {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(38px, auto);
    padding: 6px;
  }

  .mobile-submenu-panel a {
    min-height: 38px;
    padding: 5px;
    font-size: 11px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .brand strong {
    font-size: 13px;
    line-height: 1.2;
  }

  .brand small {
    font-size: 11px;
  }

  .language-switcher {
    width: auto;
    min-width: 124px;
  }

  .lang {
    min-height: 32px;
    min-width: 38px;
    padding: 0 8px;
  }

  .hero {
    min-height: calc(100svh - 50px);
    padding: 42px 0 38px;
  }

  .hero-content {
    width: calc(100% - 28px);
  }

  .hero-company {
    font-size: 25px;
  }

  .hero-kicker {
    font-size: 11px;
    line-height: 1.45;
  }

  h1 {
    max-width: 18ch;
    margin-bottom: 18px;
    font-size: 30px;
  }

  h2,
  .feature-band .eyebrow {
    font-size: 28px;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
  }

  .mobile-nav-in-hero .hero-actions .site-nav > a[href="#products"],
  .mobile-nav-in-hero .hero-actions .site-nav > a[href="#contact"] {
    display: none;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .hero-metrics {
    margin-top: 28px;
  }

  .hero-metrics div {
    padding: 14px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .category-card {
    height: 280px;
  }

  .category-card div {
    width: calc(100% - 24px);
    margin: 12px;
    padding: 14px;
  }

  .category-card h3 {
    font-size: 16px;
    line-height: 1.18;
  }

  .category-card p {
    font-size: 13px;
    line-height: 1.4;
  }

  .feature-band,
  .feature-band.reverse {
    padding: 48px 14px;
  }

  .feature-band img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .feature-band h2 {
    font-size: 24px;
  }

  .detailed-card {
    display: block;
  }

  .product-photo {
    height: min(240px, calc((100vw - 28px) * 0.58));
    min-height: 0;
    max-height: 240px;
    aspect-ratio: 16 / 11;
  }

  .product-picture {
    height: auto;
  }

  #product-slab-marble .product-photo,
  #product-white-pebbles .product-photo,
  #product-marble-chippings .product-photo,
  #product-house-ridges .product-photo {
    min-height: 0;
    max-height: 240px;
  }

  .social-qr-list {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    gap: 6px;
    margin-top: 18px;
    padding-top: 18px;
  }

  .product-gallery img {
    aspect-ratio: 16 / 10;
  }

  .social-qr,
  .social-qr span,
  .social-qr small {
    width: 100%;
    max-width: 220px;
  }

  .product-body,
  .contact-card {
    padding: 18px;
  }

  .detailed-card .category {
    font-size: 20px;
    line-height: 1.18;
  }

  #product-water-treatment .category {
    font-size: 18px;
    line-height: 1.22;
  }

  #product-water-treatment .product-detail p,
  #product-water-treatment .product-detail ul {
    font-size: 14px;
    line-height: 1.55;
  }

  .disclaimer-content p {
    max-width: none;
  }

  .site-footer {
    padding-bottom: 78px;
  }
}

@media (max-width: 380px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .language-switcher {
    width: 100%;
  }

  .lang {
    flex: 1;
  }

  .brand strong {
    font-size: 13px;
  }

  .hero-company {
    font-size: 24px;
  }

  h1 {
    font-size: 26px;
  }

  h2,
  .feature-band .eyebrow {
    font-size: 26px;
  }
}
