:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-subtle: #f4efe8;
  --text: #1c1917;
  --text-muted: #6b655e;
  --text-soft: #8a837b;
  --border: #e8e2d9;
  --border-strong: #d6cdc0;
  --accent: #292524;
  --accent-hover: #44403c;
  --gold: #8c6a4a;
  --gold-soft: #f5ede3;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 12px 32px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 24px 64px rgba(28, 25, 23, 0.16);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
}

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

button,
a {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 2px;
}

.nav-filters {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text);
  background: var(--surface-subtle);
}

.filter-btn.is-active {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.filter-count {
  font-size: 11px;
  color: var(--text-soft);
  margin-left: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 11px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--text);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 14px;
}

/* Hero */
.hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--text);
}

.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 560px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text);
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 226, 217, 0.9);
  font-size: 12px;
}

.hero-caption strong {
  font-weight: 600;
  color: var(--text);
}

.hero-caption span {
  color: var(--text-muted);
}

/* Section Header */
.section {
  padding: 68px 0;
}

.section-subtle {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

.section-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  max-width: 420px;
}

/* Catalog Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-subtle);
  overflow: hidden;
  cursor: zoom-in;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .card-media img {
  transform: scale(1.04);
}

.card-code {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(232, 226, 217, 0.85);
}

.card-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(232, 226, 217, 0.85);
}

.product-card:hover .card-zoom {
  opacity: 1;
  transform: scale(1.06);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 5px;
  color: var(--text);
}

.card-material {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.meta-pill {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 999px;
}

.meta-pill-gold {
  color: var(--gold);
  background: var(--gold-soft);
  border-color: rgba(140, 106, 74, 0.2);
}

.card-footer {
  margin-top: auto;
}

.card-cta {
  width: 100%;
  padding: 10px 14px;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
}

/* Process / Why Us */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

.highlights-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.highlight-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.highlight-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.highlight-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Contact CTA Band */
.contact-band {
  background: var(--accent);
  color: #faf8f5;
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-band .section-kicker {
  color: #d6b99b;
}

.contact-band .section-title {
  color: #ffffff;
  margin-bottom: 10px;
}

.contact-band p {
  margin: 0;
  color: rgba(250, 248, 245, 0.78);
  max-width: 520px;
  font-size: 14.5px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-light {
  background: #ffffff;
  color: var(--text);
}

.btn-light:hover {
  background: #f4efe8;
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-ghost-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.site-footer {
  padding: 28px 0 42px;
  font-size: 12.5px;
  color: var(--text-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* Floating Contact Button */
.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.floating-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
}

/* Modal / Lightbox Shared */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 18, 16, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  width: 100%;
  max-width: 780px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.lightbox-media {
  position: relative;
  background: var(--surface-subtle);
  aspect-ratio: 1 / 1;
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s ease;
}

.lightbox-nav:hover {
  background: #ffffff;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-info {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #ffffff;
}

.lightbox-code {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 10px;
}

.lightbox-material {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.lightbox-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.lightbox-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox-info .btn {
  margin-top: auto;
  width: 100%;
}

/* Contact Modal (Email Fallback) */
.contact-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-lg);
}

.contact-dialog h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 6px;
}

.contact-dialog-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.field-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
  display: block;
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 16px;
}

.copy-row code {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  word-break: break-all;
}

.btn-copy {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.btn-copy:hover {
  border-color: var(--text);
}

.inquiry-preview {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

/* Responsive */
@media (max-width: 1080px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .highlights-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 12px;
  }
  .nav-filters {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .hero {
    padding: 36px 0 38px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .lightbox-dialog {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .lightbox-info {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .brand-name {
    font-size: 20px;
  }
  .header-cta {
    padding: 9px 14px;
    font-size: 12px;
  }
  .section {
    padding: 46px 0;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-body {
    padding: 12px;
  }
  .card-title {
    font-size: 16px;
  }
  .card-material {
    font-size: 11.5px;
    margin-bottom: 8px;
  }
  .card-meta {
    margin-bottom: 12px;
  }
  .meta-pill {
    font-size: 10px;
    padding: 2px 7px;
  }
  .card-cta {
    padding: 9px 10px;
    font-size: 11.5px;
  }
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .contact-band {
    padding: 32px 22px;
  }
  .floating-cta {
    right: 14px;
    bottom: 14px;
    padding: 11px 16px;
    font-size: 12.5px;
  }
  .modal-actions {
    grid-template-columns: 1fr;
  }
}
