:root {
  --ink: #171717;
  --coal: #20211f;
  --pine: #2f4635;
  --moss: #687b53;
  --clay: #b8653f;
  --stone: #d8d1c2;
  --paper: #fbfaf6;
  --mist: #eef1eb;
  --line: rgba(23, 23, 23, 0.13);
  --shadow: 0 24px 70px rgba(28, 31, 26, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

.topbar {
  background: #151614;
  color: #f5f1e8;
  font-size: 14px;
}

.topbar-inner,
.nav-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  position: relative;
  min-height: 138px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 18px;
  padding: 6px 0 10px;
}

.language-switcher {
  position: absolute;
  top: 18px;
  right: 0;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: #e9e9e4;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.language-switcher button {
  min-width: 42px;
  height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #565a52;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.active {
  background: #000;
  color: #fff;
}

body.lang-zh {
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
  flex-shrink: 0;
}

.brand img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.brand-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.12;
  letter-spacing: 0;
}

.brand-copy span {
  display: block;
  color: #6f716b;
  font-size: 11px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  order: 3;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  padding: 0 8px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
}

.nav-links a,
.drop-button {
  border: 0;
  background: transparent;
  font: inherit;
  color: rgba(255, 255, 255, 0.9);
  padding: 15px 12px;
  cursor: pointer;
  border-radius: 0;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  border: 0;
  box-shadow: none;
  position: relative;
}

.nav-links > a,
.nav-links > .dropdown {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.nav-links > .dropdown > .drop-button {
  display: block;
  width: 100%;
}

.nav-links > a + a,
.nav-links > a + .dropdown,
.nav-links > .dropdown + a,
.nav-links > .dropdown + .dropdown {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-links a:hover,
.drop-button:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nav-links a.active::after,
.drop-button:hover::after,
.nav-links > a:hover::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 3px;
  background: var(--clay);
  border-radius: 999px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  right: auto;
  width: 250px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: 160ms ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  color: #353730;
  border-radius: 8px;
}

.dropdown-menu a:hover {
  background: var(--mist);
  color: var(--pine);
}

.dropdown-menu a::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(12, 14, 11, 0.76), rgba(12, 14, 11, 0.34) 58%, rgba(12, 14, 11, 0.18));
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #efe5d5;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--clay);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(44px, 8vw, 86px);
  font-weight: 850;
}

.hero p {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  padding: 58px 0 70px;
}

.fence-hero .home-hero-inner {
  grid-template-columns: minmax(0, 760px);
}

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

.home-hero-copy {
  min-width: 0;
}

.home-hero h1 {
  max-width: 590px;
  font-size: clamp(38px, 4.4vw, 52px);
}

.home-hero p {
  max-width: 570px;
  font-size: 18px;
}

.hero-carousel {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 11;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #171a17;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font: 34px/1 Arial, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: #000;
  border-color: #fff;
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
}

.carousel-dots button.active {
  background: #fff;
  transform: scale(1.2);
}

.hero-actions,
.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 160ms ease;
}

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

.button.primary:hover {
  background: #9f5131;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button.dark {
  background: var(--pine);
  color: white;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--mist);
}

.section.dark {
  color: #f8f3ea;
  background: var(--coal);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 680px;
  font-size: clamp(32px, 4vw, 56px);
}

.section-head p {
  max-width: 440px;
  margin: 0;
  color: #666a61;
}

.dark .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 54px;
  align-items: center;
}

.split-image img,
.feature-image img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.intro-list li,
.service-card,
.sub-card,
.process-card,
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intro-list li {
  padding: 22px 24px;
}

.intro-list h3,
.service-card h3,
.sub-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.intro-list p,
.service-card p,
.sub-card p,
.process-card p {
  margin: 0;
  color: #666a61;
}

.sub-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--clay);
  font-weight: 850;
}

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

.service-card {
  overflow: hidden;
  min-height: 100%;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-body {
  padding: 22px;
}

.service-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--clay);
  font-weight: 850;
}

.band {
  position: relative;
  color: white;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 20, 17, 0.66);
}

.band .section-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 40px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.stat-card strong {
  display: block;
  color: var(--pine);
  font-size: 36px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: #5c6258;
}

.page-hero {
  min-height: 430px;
}

.page-hero .hero-inner {
  padding-bottom: 80px;
}

.service-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 104px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-nav strong {
  display: block;
  margin-bottom: 12px;
}

.side-nav .side-title {
  display: block;
  margin-bottom: 12px;
  color: var(--pine);
  font-weight: 850;
}

.side-nav a {
  display: block;
  padding: 12px;
  color: #4d5149;
  border-radius: 8px;
}

.side-nav a:hover {
  background: var(--mist);
  color: var(--pine);
}

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

.sub-card {
  padding: 26px;
}

.sub-card .tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--clay);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 12px;
}

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

.process-card {
  padding: 24px;
}

.process-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: white;
  background: var(--pine);
  border-radius: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

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

.contact-card p,
.contact-card a {
  color: #5f635a;
}

.contact-card a {
  font-weight: 800;
}

.quote-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #5f635a;
}

.stone-detail-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stone-detail-nav a {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  color: var(--pine);
}

.stone-detail-section {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.stone-detail-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.stone-detail-copy {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px 48px;
  align-items: end;
  margin-bottom: 28px;
  padding-left: 24px;
  border-left: 3px solid var(--clay);
}

.stone-detail-copy h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}

.stone-detail-heading {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  grid-row: 1 / span 2;
}

.stone-detail-heading > strong {
  color: #b9b9b2;
  font-size: 42px;
  line-height: 0.9;
}

.stone-detail-heading span {
  display: block;
  margin-bottom: 6px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.stone-detail-intro {
  max-width: 780px;
  margin: 0;
  color: #50544d;
  font-size: 17px;
}

.stone-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4f534c;
}

.stone-points li {
  min-height: 58px;
  padding: 14px 18px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.stone-points li + li {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.project-carousel {
  position: relative;
  padding-bottom: 34px;
}

.project-carousel-viewport {
  overflow: hidden;
}

.project-carousel-track {
  display: flex;
  gap: 12px;
  transition: transform 450ms ease;
}

.project-carousel figure {
  flex: 0 0 calc((100% - 24px) / 3);
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e7e8e3;
}

.project-carousel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-carousel-arrow {
  position: absolute;
  top: calc(50% - 17px);
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font: 32px/1 Arial, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
}

.project-carousel-arrow:hover,
.project-carousel-arrow:focus-visible {
  background: #000;
}

.project-carousel-arrow.previous {
  left: 14px;
}

.project-carousel-arrow.next {
  right: 14px;
}

.project-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.project-carousel-status {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #777a73;
  font-size: 13px;
  font-weight: 800;
}

.project-carousel.project-grid {
  padding-bottom: 0;
}

.project-grid .project-carousel-viewport {
  overflow: visible;
}

.project-grid .project-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  transform: none !important;
}

.project-grid figure {
  width: 100%;
}

.project-grid .project-carousel-arrow,
.project-grid .project-carousel-status {
  display: none;
}

@media (max-width: 900px) {
  .project-grid .project-carousel-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .project-grid .project-carousel-track {
    grid-template-columns: 1fr;
  }
}

.paver-products {
  padding: 68px 0 44px;
  background: #f4f4f4;
}

.paver-products-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.stone-category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto 42px;
  padding: 5px;
  background: #e8e8e2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stone-category-tabs button {
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #42463e;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.stone-category-tabs button:hover {
  background: rgba(255, 255, 255, 0.7);
}

.stone-category-tabs button.active {
  background: #000;
  color: #fff;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.16);
}

.stone-category-panel[hidden] {
  display: none;
}

.paver-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}

.paver-card {
  min-width: 0;
  background: #fff;
}

.paver-card-media {
  position: relative;
  display: block;
  aspect-ratio: 393 / 275;
  overflow: hidden;
  background: #e7e7e7;
}

.paver-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paver-card-media img:not(.paver-card-hover) {
  display: none;
}

.paver-card-hover {
  position: static;
  opacity: 1;
}

.paver-card:hover .paver-card-hover,
.paver-card:focus-visible .paver-card-hover {
  opacity: 1;
}

.paver-card-info {
  display: block;
  min-height: 157px;
  padding: 35px 15px 18px;
}

.paver-card-info strong {
  display: block;
  margin: 0 0 22px;
  color: #515151;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.paver-card-info > span {
  display: block;
  color: #898989;
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.54;
}

.product-page {
  background: var(--paper);
}

.product-intro {
  padding: 44px 0 48px;
  background: var(--pine);
  color: #fff;
}

.product-intro-inner,
.product-content-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.product-back {
  display: inline-block;
  margin-bottom: 58px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-intro-grid {
  display: block;
}

.product-intro h1 {
  margin: 6px 0 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.94;
  overflow-wrap: anywhere;
}

.product-intro p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.6;
}

.product-gallery-section,
.product-colors,
.product-sizes {
  padding: 84px 0;
}

.product-colors {
  background: var(--mist);
}

.product-section-head {
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.16);
  padding-bottom: 16px;
}

.product-section-head h2 {
  color: var(--pine);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.1;
}

.product-gallery-feature {
  aspect-ratio: 1300 / 624;
  margin: 0 0 14px;
  overflow: hidden;
  background: #ddd;
}

.product-gallery-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.product-gallery-thumbs button {
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: #ddd;
  cursor: pointer;
}

.product-gallery-thumbs button.active {
  border-color: var(--clay);
}

.product-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.product-color-grid figure {
  margin: 0;
  background: #f3f3f1;
}

.product-color-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-color-grid figcaption {
  display: grid;
  gap: 7px;
  padding: 20px 16px 22px;
}

.product-color-grid strong {
  letter-spacing: 2px;
}

.product-color-grid span {
  color: #777a73;
  font-size: 12px;
}

.product-size-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-size-groups {
  display: grid;
  gap: 52px;
}

.product-size-group > h3 {
  margin: 0 0 18px;
  color: var(--pine);
  font-size: 22px;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-bundle-note {
  margin: -12px 0 28px;
  color: #696c65;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-size-grid article {
  padding: 28px;
  background: #fff;
}

.product-size-image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  background: #f4f4f1;
}

.product-size-image img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.product-size-grid h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.product-size-grid p,
.product-size-grid span,
.product-size-grid small {
  display: block;
  margin: 0;
  color: #656861;
}

.product-size-grid small {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--pine);
  font-weight: 800;
  text-transform: uppercase;
}

.natural-stone-product .product-size-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.natural-stone-product .product-size-grid article {
  padding: 18px;
}

.natural-stone-product .product-size-image {
  aspect-ratio: 3 / 2;
  margin-bottom: 14px;
}

.natural-stone-product .product-size-image img {
  width: 72%;
  height: 72%;
}

.natural-stone-product .product-size-grid h3 {
  font-size: 19px;
}

.natural-stone-product .product-size-grid span,
.natural-stone-product .product-size-grid small {
  font-size: 13px;
}

.natural-stone-product .product-size-grid small {
  margin-top: 14px;
  padding-top: 10px;
}

@media (max-width: 900px) {
  .product-gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

@media (max-width: 640px) {
  .product-intro {
    padding: 32px 0 36px;
  }

  .product-back {
    margin-bottom: 38px;
  }

  .product-gallery-section,
  .product-colors,
  .product-sizes {
    padding: 58px 0;
  }

  .product-section-head {
    margin-bottom: 26px;
  }

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

  .product-color-grid,
  .product-size-grid {
    grid-template-columns: 1fr;
  }

  .natural-stone-product .product-size-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .paver-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .paver-products {
    padding: 42px 0 26px;
  }

  .stone-category-tabs {
    margin-bottom: 28px;
  }

  .stone-category-tabs button {
    min-height: 44px;
    padding: 8px 6px;
    font-size: 12px;
  }

  .paver-products-inner {
    width: min(100% - 28px, 1240px);
  }

  .paver-products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .paver-card-info {
    min-height: 0;
  }
}

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

.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 160ms ease, filter 160ms ease;
}

.gallery-item:hover img {
  transform: translateY(-3px);
  filter: contrast(1.05);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 13, 11, 0.84);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1040px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 38px;
  color: white;
  background: var(--pine);
  border-radius: 8px;
}

.cta-panel h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.cta-panel p {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  padding: 70px 0 0;
  background: #e2dfd5;
}

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

.footer h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.footer p,
.footer li {
  color: #5d6258;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.copyright {
  margin-top: 54px;
  padding: 20px 0;
  border-top: 1px solid rgba(23, 23, 23, 0.12);
  color: #63665f;
  font-size: 14px;
}

@media (max-width: 980px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-inner {
    min-height: 92px;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0;
  }

  .language-switcher {
    top: 50%;
    right: 58px;
    transform: translateY(-50%);
  }

  .language-switcher button {
    min-width: 36px;
    height: 28px;
    padding: 0 6px;
  }

  .brand {
    justify-content: flex-start;
    width: auto;
  }

  .nav-links {
    position: absolute;
    top: 92px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links > a + a,
  .nav-links > a + .dropdown,
  .nav-links > .dropdown + a,
  .nav-links > .dropdown + .dropdown {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .nav-links a,
  .drop-button {
    color: #353730;
    padding: 12px;
    border-radius: 8px;
  }

  .nav-links > a,
  .nav-links > .dropdown {
    flex: none;
    width: 100%;
    text-align: left;
  }

  .nav-links a:hover,
  .drop-button:hover,
  .nav-links a.active {
    background: var(--mist);
    color: var(--pine);
  }

  .nav-links a.active::after,
  .drop-button:hover::after,
  .nav-links > a:hover::after {
    display: none;
  }

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

  .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    margin: 4px 0 8px;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .drop-button {
    width: 100%;
    text-align: left;
  }

  .hero {
    min-height: 610px;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
    padding: 72px 0 88px;
  }

  .home-hero-copy,
  .home-hero h1,
  .home-hero p {
    max-width: 720px;
  }

  .hero-carousel {
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 10;
  }

  .section-head,
  .split,
  .band .section-inner,
  .service-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .service-grid,
  .stats,
  .process-grid,
  .contact-grid,
  .stone-detail-nav,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stone-detail-copy {
    grid-template-columns: 1fr;
  }

  .stone-detail-copy {
    gap: 18px;
  }

  .stone-detail-heading {
    grid-row: auto;
  }

  .stone-points {
    grid-template-columns: 1fr;
  }

  .stone-points li {
    min-height: 0;
    padding: 12px 0;
  }

  .stone-points li + li {
    padding-left: 0;
    border-left: 0;
  }

  .side-nav {
    position: static;
  }

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

@media (max-width: 640px) {
  .topbar-inner,
  .nav-inner,
  .section-inner,
  .footer-inner,
  .hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .nav-inner {
    min-height: 78px;
  }

  .nav-links {
    top: 78px;
  }

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

  .brand img {
    width: 68px;
    height: 68px;
  }

  .brand-copy strong {
    display: block;
    max-width: 104px;
    font-size: 13px;
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .home-hero-inner {
    gap: 34px;
    padding: 58px 0 66px;
  }

  .home-hero h1 {
    font-size: 38px;
  }

  .home-hero p {
    font-size: 16px;
  }

  .hero-carousel {
    aspect-ratio: 4 / 3;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .project-carousel figure {
    flex-basis: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .split-image img,
  .feature-image img {
    min-height: 320px;
  }

  .service-grid,
  .sub-grid,
  .process-grid,
  .stats,
  .contact-grid,
  .stone-detail-nav,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    gap: 10px;
  }

  .cta-panel {
    padding: 26px;
  }
}
