:root {
  --ink: #17201d;
  --muted: #66716d;
  --paper: #f5f2eb;
  --white: #ffffff;
  --line: #dfe6e1;
  --green: #2d6b57;
  --green-dark: #184b3c;
  --copper: #b87945;
  --charcoal: #202624;
  --soft: #eef2ef;
  --shadow: 0 24px 70px rgba(23, 32, 29, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(18px, 3.5vw, 48px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 38px rgba(23, 32, 29, 0.08);
  backdrop-filter: blur(18px);
}
.site-header.solid {
  position: sticky;
  top: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 38px rgba(23, 32, 29, 0.08);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.brand-logo {
  display: block;
  width: min(100%, 244px);
  height: auto;
  max-height: 60px;
  object-fit: contain;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.site-header.solid .brand-logo {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  width: min(100%, 244px);
  max-height: 60px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 760;
}
.nav a { opacity: .78; }
.nav a:hover, .nav a.active { opacity: 1; color: var(--copper); }
.header-action {
  justify-self: end;
  padding: 9px 15px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(610px, calc(100vh - 140px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.hero > img, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero > img {
  z-index: -2;
  object-fit: cover;
}
.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 20, 17, .9), rgba(12, 20, 17, .58) 44%, rgba(12, 20, 17, .14)),
    linear-gradient(0deg, rgba(12, 20, 17, .76), rgba(12, 20, 17, 0) 48%);
}
.hero-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 0 48px clamp(20px, 6vw, 92px);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}
h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.16;
}
.hero-content p:not(.eyebrow), .page-hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-weight: 850;
  cursor: pointer;
}
.button.primary { color: var(--white); background: var(--green); }
.button.primary:hover { background: var(--green-dark); }
.button.ghost { color: var(--white); border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.hero-metrics {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  max-width: 790px;
  background: rgba(255,255,255,.22);
}
.hero-metrics div {
  padding: 20px;
  background: rgba(20, 29, 26, .72);
  border-left: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
}
.hero-metrics strong { display: block; font-size: 29px; line-height: 1; }
.hero-metrics span { display: block; margin-top: 8px; color: rgba(255,255,255,.72); font-size: 13px; }

.section {
  padding: clamp(70px, 8vw, 124px) clamp(20px, 5vw, 72px);
}
.hero + .section {
  padding-top: clamp(28px, 3vw, 44px);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  background: var(--white);
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}
.showcase {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  gap: 18px;
  padding: 18px;
  background: var(--white);
}
.image-card {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: 28px;
  color: var(--white);
  background: var(--charcoal);
}
.image-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(10,18,15,.82), rgba(10,18,15,.08) 66%);
}
.image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.image-card:hover img { transform: scale(1.04); }
.image-card div { position: relative; z-index: 1; }
.image-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.image-card p { max-width: 620px; margin: 12px 0 0; color: rgba(255,255,255,.76); }
.showcase-large { grid-row: span 2; min-height: 858px; }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  background: var(--charcoal);
}
.cta-band h2 { max-width: 940px; }

.page-hero {
  padding: 150px clamp(20px, 5vw, 72px) 86px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(23,32,29,.96), rgba(45,107,87,.86)), url("assets/project-home-theater.jpg") center / cover;
}
.page-hero.compact { background: linear-gradient(135deg, #17201d, #2d6b57); }
.page-hero.product-landing {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .62fr);
  gap: clamp(22px, 5vw, 68px);
  align-items: end;
  min-height: auto;
  padding: 26px clamp(20px, 5vw, 72px) 24px;
  background: linear-gradient(135deg, #17201d, #2d6b57);
}
.page-hero.product-landing h1 {
  max-width: 900px;
  font-size: clamp(30px, 3.4vw, 44px);
}
.page-hero.product-landing p { max-width: 760px; }
.factory-hero {
  min-height: 650px;
  display: grid;
  align-content: end;
  background-image:
    linear-gradient(90deg, rgba(14, 22, 19, .92), rgba(14, 22, 19, .60) 52%, rgba(14, 22, 19, .16)),
    linear-gradient(0deg, rgba(14, 22, 19, .62), transparent 58%),
    url("assets/factory/large-motorized-screen.jpg");
  background-position: center 44%;
  background-size: cover;
}
.factory-hero h1 { max-width: 900px; }
.factory-hero p:not(.eyebrow) { max-width: 760px; }
.page-hero h1 { max-width: 980px; }
.page-hero p { margin-top: 22px; }

.product-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: var(--soft);
}
.product-listing {
  padding-top: clamp(24px, 3vw, 42px);
}
.product-card {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23,32,29,.06);
}
.product-link {
  display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(23, 32, 29, .12);
}
.product-card img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  background: #ffffff;
}
.product-card h3, .product-card h2, .product-card p, .product-card ul, .product-card .eyebrow {
  margin-left: 24px;
  margin-right: 24px;
}
.product-card h3, .product-card h2 { margin-top: 24px; }
.product-card p { color: var(--muted); }
.product-card .text-link {
  display: inline-block;
  margin: 2px 24px 26px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}
.product-card ul {
  padding-left: 20px;
  color: var(--muted);
  margin-bottom: 28px;
}
.product-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}
.product-card.featured img { height: 100%; aspect-ratio: auto; min-height: 520px; }

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 5vw, 70px) clamp(20px, 5vw, 72px);
  background: var(--white);
}
.product-detail-copy p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}
.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}
.check-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 26px 0 0;
  color: var(--ink);
  list-style: none;
}
.check-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--copper);
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button.dark {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}
.product-detail-media {
  background: var(--soft);
  box-shadow: var(--shadow);
}
.product-detail-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}
.product-detail-section {
  background: var(--white);
}
.product-detail-section.alt-section {
  background: var(--soft);
}
.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}
.compact-heading h2 {
  font-size: clamp(30px, 3.6vw, 46px);
}
.compact-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
}
.spec-grid div {
  min-height: 128px;
  padding: 22px;
  background: #fbfcfb;
}
.spec-grid dt {
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.spec-grid dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.38;
}
.application-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .62fr);
  gap: 1px;
  background: var(--line);
}
.application-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: var(--white);
}
.application-panel div {
  display: grid;
  align-content: end;
  padding: clamp(26px, 4vw, 46px);
  background: var(--white);
}
.application-panel p, .application-panel li {
  color: var(--muted);
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product-gallery figure {
  margin: 0;
  background: var(--soft);
}
.product-gallery img {
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: cover;
  background: var(--white);
}
.product-gallery figcaption {
  padding: 12px 14px 15px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  background: var(--white);
}
.project-grid article {
  display: grid;
  grid-template-columns: .95fr 1fr;
  background: var(--paper);
}
.project-grid img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}
.project-grid div { padding: 30px; align-self: end; }
.project-grid p { color: var(--muted); }

.factory-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .62fr);
  gap: clamp(28px, 6vw, 86px);
  background: var(--white);
}
.factory-layout img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.factory-layout p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.factory-intro { align-items: center; }
.factory-feature-image { position: relative; margin: 0; }
.factory-feature-image img { min-height: 560px; }
.factory-feature-image figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 14px 16px;
  color: rgba(255,255,255,.86);
  background: rgba(18, 24, 22, .82);
  font-size: 13px;
  font-weight: 750;
  backdrop-filter: blur(10px);
}
.factory-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}
.factory-facts div { padding: 20px; background: var(--soft); }
.factory-facts strong { display: block; color: var(--green-dark); font-size: 28px; line-height: 1; }
.factory-facts span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 760; }
.factory-floor { background: var(--soft); }
.factory-section-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .5fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: 44px;
}
.factory-section-heading > p { margin: 0; color: var(--muted); font-size: 17px; }
.factory-gallery {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 18px;
}
.factory-card { margin: 0; background: var(--white); box-shadow: 0 16px 42px rgba(23,32,29,.08); }
.factory-card img { width: 100%; height: 390px; object-fit: cover; }
.factory-card-wide img { object-position: 48% center; }
.factory-card figcaption { padding: 24px; }
.factory-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.factory-card strong { display: block; font-size: 20px; line-height: 1.25; }
.factory-card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.factory-test {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr);
  gap: 0;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--charcoal);
}
.factory-test-media { margin-left: calc(clamp(20px, 5vw, 72px) * -1); }
.factory-test-media img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; }
.factory-test-copy { display: grid; align-content: center; padding: clamp(48px, 6vw, 88px); color: var(--white); }
.factory-test-copy p:not(.eyebrow) { color: rgba(255,255,255,.68); font-size: 17px; }
.factory-checks { display: grid; gap: 13px; margin: 25px 0 0; padding: 0; list-style: none; }
.factory-checks li { color: rgba(255,255,255,.84); font-weight: 700; }
.factory-checks li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px; background: var(--copper); }
.factory-process { padding-top: clamp(64px, 7vw, 100px); padding-bottom: clamp(64px, 7vw, 100px); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.18);
  color: var(--white);
  background-color: var(--charcoal);
}
.process-grid article {
  padding: 30px;
  background: #27302d;
}
.process-grid span {
  display: block;
  margin-bottom: 52px;
  color: var(--copper);
  font-weight: 850;
}
.process-grid p { color: rgba(255,255,255,.68); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(340px, .56fr);
  gap: clamp(28px, 6vw, 86px);
  background: #e7ddd2;
}
.contact-panel {
  padding: clamp(26px, 4vw, 46px);
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-panel a { color: var(--green-dark); font-weight: 800; }
.quote-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
label {
  display: grid;
  gap: 7px;
  color: #4d5a55;
  font-size: 13px;
  font-weight: 800;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 12px;
  color: var(--ink);
  background: #fbfcfb;
  font: inherit;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(45,107,87,.26);
  border-color: var(--green);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  background: var(--soft);
}
.blog-grid article {
  background: var(--white);
}
.blog-grid img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
}
.blog-grid h2, .blog-grid p { margin-left: 24px; margin-right: 24px; }
.blog-grid h2 { margin-top: 12px; font-size: 27px; }
.blog-grid p { color: var(--muted); }
.blog-grid .eyebrow { margin-top: 24px; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: rgba(255,255,255,.72);
  background: #121816;
  font-size: 14px;
}
.footer p { margin: 0; }
.footer a { color: var(--white); font-weight: 800; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 16px 36px rgba(18, 24, 22, .24);
  font-size: 14px;
  font-weight: 850;
}
.whatsapp-float::before {
  content: "WA";
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #25d366;
  background: #ffffff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; order: 3; }
  .header-action { display: none; }
  .split, .factory-layout, .contact-layout, .product-detail-hero, .application-panel, .page-hero.product-landing { grid-template-columns: 1fr; }
  .showcase, .product-page-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .showcase-large { grid-column: 1 / -1; min-height: 560px; }
  .product-card.featured, .project-grid article { grid-template-columns: 1fr; }
  .project-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid, .product-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-media img, .application-panel img { min-height: 360px; }
  .factory-gallery { grid-template-columns: 1fr 1fr; }
  .factory-card-wide { grid-column: 1 / -1; }
  .factory-test { grid-template-columns: 1fr; }
  .factory-test-media { margin-right: calc(clamp(20px, 5vw, 72px) * -1); }
}

@media (max-width: 1320px) {
  .hero-metrics { display: none; }
}

@media (max-width: 680px) {
  .site-header { position: sticky; padding: 14px 16px; }
  .site-header.solid { position: sticky; }
  .brand-logo {
    width: 190px;
    max-height: 48px;
    padding: 0;
  }
  .site-header.solid .brand-logo {
    padding: 0;
    max-height: 38px;
  }
  .nav { gap: 13px; font-size: 13px; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .hero { min-height: 720px; }
  .hero-content { width: calc(100% - 32px); margin: 0 16px 250px; }
  h1 { font-size: 42px; }
  .hero-content p:not(.eyebrow) { font-size: 16px; }
  .hero-metrics {
    right: 16px;
    bottom: 18px;
    left: 16px;
    grid-template-columns: 1fr;
  }
  .hero-metrics div { padding: 15px; }
  .section { padding: 62px 18px; }
  .hero + .section { padding-top: 32px; }
  .page-hero.product-landing { padding: 26px 18px 20px; }
  .page-hero { padding: 170px 18px 62px; }
  .showcase, .product-page-grid, .project-grid, .process-grid, .blog-grid { grid-template-columns: 1fr; }
  .product-listing { padding-top: 18px; }
  .image-card, .showcase-large { min-height: 430px; padding: 22px; }
  .product-card.featured img { min-height: 360px; }
  .product-detail-hero { padding: 32px 18px; }
  .product-detail-media img, .application-panel img { min-height: 300px; }
  .spec-grid, .product-gallery { grid-template-columns: 1fr; }
  .spec-grid div { min-height: auto; }
  .factory-hero { min-height: 610px; padding-top: 94px; background-position: 58% center; }
  .factory-feature-image img { min-height: 420px; }
  .factory-facts { grid-template-columns: 1fr; }
  .factory-section-heading, .factory-gallery { grid-template-columns: 1fr; }
  .factory-card-wide { grid-column: auto; }
  .factory-card img { height: 330px; }
  .factory-test-media { margin-left: -18px; margin-right: -18px; }
  .factory-test-media img { min-height: 420px; }
  .factory-test-copy { padding: 50px 0; }
  .quote-form { padding: 18px; }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 46px;
    padding: 0 14px;
  }
  .footer { display: grid; }
}
