:root {
  --ink: #181a1f;
  --ink-soft: #2e323b;
  --body: #52565e;
  --muted: #767b85;
  --accent: #8a6d43;
  --bg: #f4f3ef;
  --surface: #fbfaf7;
  --surface-2: #ebe9e2;
  --footer-bg: #22252a;
  --line: #e2dfd6;
  --radius: 10px;
  --shadow: 0 10px 28px rgba(24, 26, 31, 0.05);
  --shadow-lg: 0 18px 46px rgba(24, 26, 31, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--footer-bg); overscroll-behavior-y: none; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
main#app { flex: 1; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* Topbar (Unified soft warm stone — zero harsh contrast) */
.topbar {
  background: var(--surface-2);
  color: var(--body);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 16px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px;
}
.topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar-right a { color: var(--ink-soft); }
.topbar-right a:hover { color: var(--ink); text-decoration: underline; }
.topbar .sep { opacity: 0.35; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 243, 239, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; object-fit: contain; }
.brand-divider { width: 1px; height: 22px; background: #cfcbb8; }
.brand-sub { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; color: var(--muted); white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 11px; font-size: 13.5px; font-weight: 500; color: var(--body);
  border-radius: 6px; transition: color 0.15s, background 0.15s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--ink); background: var(--surface-2); }
.nav-cta { margin-left: 10px; white-space: nowrap; flex-shrink: 0; }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all 0.18s; z-index: 120;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 9px 12px; font-size: 13.5px; color: var(--body); border-radius: 5px;
}
.dropdown-menu a:hover { background: var(--surface-2); color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 7px; font-weight: 600; font-size: 14px;
  cursor: pointer; border: 1.5px solid transparent; transition: all 0.18s;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-primary { background: var(--ink); color: #fbfaf7; }
.btn-primary:hover { background: var(--ink-soft); }
.btn-outline, .btn-outline-light { background: transparent; border-color: #c8c4b8; color: var(--ink); }
.btn-outline:hover, .btn-outline-light:hover { border-color: var(--ink); background: var(--surface); }

/* Unified Architectural Light Hero (Zero luminance shock, zero text overlap) */
.hero-split-wrap {
  background: var(--bg);
  color: var(--ink);
  padding: 56px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.hero-split h1 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.14; font-weight: 700; letter-spacing: -0.6px; margin-bottom: 20px; color: var(--ink);
}
.hero-split p {
  font-size: 16.5px; color: var(--body); line-height: 1.72; margin-bottom: 32px; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-metrics strong { display: block; font-size: 22px; font-weight: 700; color: var(--ink); }
.hero-metrics span { font-size: 12.5px; color: var(--muted); }

.hero-stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #181a1f;
  aspect-ratio: 1 / 1;
  max-height: 540px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-frame { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.hero-frame.active { opacity: 1; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame-cap {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(24, 26, 31, 0.84); backdrop-filter: blur(8px);
  color: #f4f3ef; padding: 7px 14px; border-radius: 6px;
  font-size: 12.5px; border: 1px solid rgba(255,255,255,0.12);
}
.hero-stage-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 28px; height: 4px; border-radius: 99px; border: 0; cursor: pointer;
  background: #d5d1c6; transition: all 0.2s;
}
.hero-dot.active { width: 48px; background: var(--ink); }
.hero-pause {
  background: var(--surface); border: 1px solid var(--line); color: var(--body);
  border-radius: 6px; padding: 4px 12px; font-size: 12px; cursor: pointer;
}
.hero-pause:hover { border-color: var(--ink); color: var(--ink); }

/* Sections (Gentle alternating warm stone & soft off-white — zero glare) */
.section { padding: 80px 0; background: var(--bg); }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: 42px; flex-wrap: wrap;
}
.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; font-weight: 700; letter-spacing: -0.4px; color: var(--ink); }
.section-sub { color: var(--body); margin-top: 10px; font-size: 15.5px; max-width: 640px; }

/* Unified Light Subpage Header (No harsh black slab) */
.page-hero {
  background: var(--surface-2); color: var(--ink); padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.page-hero p { color: var(--body); max-width: 680px; font-size: 15.5px; }

/* Grids & 1:1 Uncropped Cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column;
}
.section-alt .card { background: var(--bg); }
.card:hover { box-shadow: var(--shadow); border-color: #c8c4b8; }
.card-media {
  width: 100%; aspect-ratio: 1 / 1; background: #181a1f; overflow: hidden; cursor: pointer;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-cat { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; }
.card-title { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
.card-text { font-size: 13.5px; color: var(--body); flex: 1; }
.card-link {
  margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 4px;
}
.card-link:hover { color: var(--accent); }

.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
}
.section-alt .feature-card { background: var(--bg); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--surface-2);
  border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.feature-card p { font-size: 14px; color: var(--body); }

/* Split Content */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.split-media { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #181a1f; }
.split-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.check-list { margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--body); }
.check-list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  margin-top: 9px; flex-shrink: 0;
}

/* Catalog Controls */
.catalog-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 8px 15px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--surface); color: var(--body); font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all 0.15s;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.active { background: var(--ink); color: #fbfaf7; border-color: var(--ink); }
.search-input {
  padding: 9px 14px; border: 1px solid #d5d1c6; border-radius: 6px;
  font: inherit; font-size: 13.5px; width: 320px; max-width: 100%; background: var(--surface);
  flex-shrink: 0;
}
.search-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(24,26,31,0.08); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 13.5px; cursor: pointer;
}
.page-btn.active { background: var(--ink); color: #fbfaf7; border-color: var(--ink); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Spec Table */
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 14px; }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 34%; background: var(--surface-2); color: var(--ink); font-weight: 600; }

/* Process Steps */
.steps-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.step-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px;
}
.step-num { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--accent); margin-bottom: 10px; }
.step-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--body); }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px;
  font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-a { padding: 0 22px 18px; font-size: 14px; color: var(--body); display: none; }
.faq-item.open .faq-a { display: block; }
.faq-q span { color: var(--accent); font-size: 18px; }

/* Soft Architectural CTA Banner (No harsh black slab) */
.cta-banner {
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--line);
  border-radius: 14px; padding: 48px 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { color: var(--ink); }
.cta-banner p { color: var(--body); max-width: 560px; margin-top: 8px; }

/* Contact Form */
.contact-layout {
  display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 32px; align-items: start;
}
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 32px;
}
.form-group-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent); margin: 22px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.form-group-title:first-child { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d5d1c6; border-radius: 6px;
  font: inherit; font-size: 14px; color: var(--ink); background: #fff;
}
.field input:not([type="file"]), .field select { height: 44px; }
.field input[type="file"] {
  padding: 10px 12px; border: 1.5px dashed #cfcbb8; background: var(--bg);
  font-size: 13px; color: var(--body); cursor: pointer;
}
.field input[type="file"]:hover { border-color: var(--accent); }
.field-hint { font-size: 12px; color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(24,26,31,0.08);
}
.direct-link {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 3px; font-weight: 500;
}
.direct-link:hover { color: var(--accent); }
.spec-list { margin: 12px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--body); }
.spec-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-list strong { color: var(--ink); font-weight: 600; text-align: right; }
.form-feedback {
  margin-top: 16px; padding: 14px 16px; border-radius: 8px;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-size: 14px; display: none;
}

/* Lightbox Modal */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(18, 20, 24, 0.92);
  display: none; flex-direction: column; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 8px; object-fit: contain; }
.lightbox-caption { color: #e2e8f0; margin-top: 14px; font-size: 14px; }
.lightbox-close {
  position: absolute; top: 20px; right: 28px; background: none; border: 0;
  color: #fff; font-size: 36px; cursor: pointer; line-height: 1;
}

/* Product Spec Modal & Article Typography */
.card-link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.spec-modal {
  position: fixed; inset: 0; z-index: 210; background: rgba(18, 20, 24, 0.72);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.spec-modal.open { display: flex; }
.spec-modal-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  max-width: 960px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 32px; position: relative; box-shadow: var(--shadow-lg);
}
.spec-modal-close {
  position: absolute; top: 16px; right: 20px; background: none; border: 0;
  font-size: 28px; color: var(--muted); cursor: pointer; line-height: 1;
}
.spec-modal-close:hover { color: var(--ink); }
.article-wrap { max-width: 820px; }
.article-cover {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  margin-bottom: 32px; max-height: 440px; background: var(--surface-2);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; display: flex; gap: 12px; align-items: center; }
.article-body h2 { font-size: 22px; margin: 32px 0 12px; }
.article-body h3 { font-size: 18px; margin: 24px 0 10px; }
.article-body p { color: var(--body); margin-bottom: 16px; font-size: 15.5px; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 0 0 18px 20px; list-style: disc; color: var(--body); }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; font-size: 15px; line-height: 1.75; }
.article-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.article-body code { background: var(--surface-2); padding: 2px 6px; border-radius: 4px; font-size: 13.5px; }

.video-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.video-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 10; background: #14161a; overflow: hidden;
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(24, 26, 31, 0.78); backdrop-filter: blur(6px);
  color: #f4f3ef; font-size: 11px; font-weight: 600; letter-spacing: 0.6px;
  padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(255,255,255,0.14);
}
.wall-banner {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  margin-bottom: 40px; background: var(--surface);
}
.wall-banner img { width: 100%; height: auto; display: block; }

/* Grounded Slate Footer */
.site-footer { background: var(--footer-bg); color: #a1a6b0; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 48px; }
.footer-logo-wrap { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; }
.site-footer h4 { color: #f4f3ef; font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }
.site-footer li { margin-bottom: 9px; font-size: 13.5px; }
.site-footer a:hover { color: #fff; }
.contact-list .addr { font-size: 12.5px; margin-top: 8px; opacity: 0.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; font-size: 12.5px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Single Floating WhatsApp Button */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: #16a34a; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.3);
  transition: transform 0.2s, background 0.2s;
}
.wa-fab:hover { transform: translateY(-2px); background: #15803d; }

@media (max-width: 1180px) {
  .nav-link { padding: 8px 8px; font-size: 13px; }
  .brand-divider, .brand-sub { display: none; }
}
@media (max-width: 920px) {
  .hero-split, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; background: var(--surface);
    flex-direction: column; align-items: stretch; padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none;
  }
  .main-nav.open { display: flex; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .nav-cta { margin: 10px 0 0; }
}
@media (max-width: 760px) {
  .grid-3, .grid-2, .grid-4, .split, .form-grid, .footer-grid, .steps-grid { grid-template-columns: 1fr; }
  .search-input { width: 100%; }
  .cta-banner { padding: 36px 24px; }
}
