
:root {
  --ink: #151513;
  --muted: #6d6b66;
  --paper: #f5f2eb;
  --paper-2: #ebe6dc;
  --white: #fff;
  --gold: #b38a55;
  --gold-dark: #8f6d43;
  --line: rgba(21, 21, 19, .14);
  --shadow: 0 24px 60px rgba(20, 18, 14, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}
.section { padding: 110px 0; }
.eyebrow {
  margin: 0 0 14px;
  color: #d5b98f;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--gold-dark); }
h1, h2, h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.05;
}
h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
h3 { font-size: 1.7rem; }
p { margin-top: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: .3s ease;
}
.site-header.scrolled {
  background: rgba(245, 242, 235, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled .brand,
.site-header.scrolled .main-nav a { color: var(--ink); }
.site-header.scrolled .brand small { color: var(--muted); }
.site-header.scrolled .menu-toggle span { background: var(--ink); }

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 700;
}
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { letter-spacing: .18em; font-size: .92rem; }
.brand small { margin-top: 5px; color: #ded7cc; font-size: .68rem; letter-spacing: .12em; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--white); font-size: .88rem; font-weight: 600; }
.main-nav a:hover { opacity: .7; }

.main-nav .lang-switch {
  min-width: 42px;
  padding: 8px 10px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.5);
  letter-spacing: .12em;
}
.site-header.scrolled .main-nav .lang-switch { border-color: var(--line); }

.main-nav .nav-cta {
  padding: 12px 18px;
  border: 1px solid currentColor;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  display: block;
  margin: 5px 0;
  background: white;
}

.hero {
  min-height: 850px;
  position: relative;
  display: grid;
  align-items: center;
  color: white;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 35%, rgba(205, 184, 148, .18), transparent 30%),
    linear-gradient(120deg, #11110f 0%, #1d1b18 50%, #0c0c0b 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background:
    linear-gradient(120deg, transparent 34%, rgba(255,255,255,.2) 35%, transparent 36%) 0 0 / 420px 420px,
    linear-gradient(65deg, transparent 48%, rgba(255,255,255,.13) 49%, transparent 50%) 0 0 / 320px 300px;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 80px;
  align-items: center;
  padding-top: 80px;
}
.hero-copy { max-width: 760px; }
.hero h1 { margin-bottom: 26px; letter-spacing: -.03em; }
.hero-text { max-width: 680px; color: #d5d1c9; font-size: 1.12rem; }
.hero-actions { display: flex; gap: 14px; margin: 36px 0 50px; }
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: .25s ease;
}
.btn-primary { background: var(--gold); color: white; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-secondary { color: white; border-color: rgba(255,255,255,.45); }
.btn-secondary:hover { background: white; color: var(--ink); }
.btn-dark { color: white; background: var(--ink); }
.btn-dark:hover { background: var(--gold-dark); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { margin-bottom: 7px; font-family: "Cormorant Garamond"; font-size: 1.3rem; }
.hero-facts span { color: #aaa69d; font-size: .78rem; }

.hero-showcase { display: flex; justify-content: flex-end; }
.stone-panel {
  width: min(420px, 100%);
  min-height: 540px;
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
  background:
    linear-gradient(120deg, transparent 36%, rgba(37,37,37,.2) 37%, transparent 38%) 0 0/230px 180px,
    linear-gradient(65deg, transparent 44%, rgba(53,53,53,.17) 45%, transparent 46%) 0 0/180px 240px,
    linear-gradient(140deg, #e9e5df 0%, #bcb7af 48%, #eeeae4 100%);
  color: var(--ink);
}
.panel-label {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 7px 10px;
  background: rgba(255,255,255,.55);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.stone-panel h2 { margin-bottom: 18px; font-size: 3rem; }
.stone-panel p { color: #4d4a45; }
.stone-panel a { margin-top: 12px; font-weight: 700; }

.two-col {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;
}
.intro { background: var(--paper); }
.section-heading h2 { margin-bottom: 0; }
.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-heading.centered p:last-child {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
}
.intro-copy > p { color: var(--muted); font-size: 1.04rem; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-grid article {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.value-grid span { color: var(--gold-dark); font-size: .75rem; font-weight: 700; }
.value-grid h3 { margin: 10px 0 8px; font-size: 1.55rem; }
.value-grid p { color: var(--muted); font-size: .88rem; }

.materials-section { background: #fff; }
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}
.filter-btn.active, .filter-btn:hover {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.material-card {
  background: var(--paper);
  transition: .3s ease;
}
.material-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}
.material-card[hidden] { display: none; }
.card-open {
  width: 100%;
  padding: 0;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
}
.material-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 25px; }
.card-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.card-meta span {
  padding: 5px 8px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.card-body h3 { margin-bottom: 10px; font-size: 2rem; }
.card-body p { min-height: 90px; color: var(--muted); font-size: .9rem; }
.card-body strong { color: var(--gold-dark); font-size: .82rem; }

.catalog-note {
  margin-top: 36px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--paper);
}
.catalog-note h3 { margin-bottom: 0; font-size: 2rem; }

.services { background: var(--ink); color: white; }
.services .section-heading { max-width: 780px; margin-bottom: 52px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.15);
  border-left: 1px solid rgba(255,255,255,.15);
}
.service-card {
  min-height: 310px;
  padding: 30px;
  border-right: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.service-number { color: #a6a196; font-size: .76rem; }
.service-card h3 { margin: 75px 0 14px; }
.service-card p { color: #aaa69d; font-size: .9rem; }

.applications { background: var(--paper-2); }
.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.application-card {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(255,255,255,.88), rgba(220,214,204,.58)),
    linear-gradient(45deg, transparent 48%, rgba(0,0,0,.08) 49%, transparent 50%) 0 0/130px 130px;
}
.application-card span { color: var(--gold-dark); font-weight: 700; }
.application-card h3 { margin: 0; font-size: 2rem; }

.info-strip { background: #9d7b52; color: white; }
.info-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
  align-items: start;
}
.comparison { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.comparison article { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.35); }
.comparison h3 { font-size: 2.1rem; }
.comparison p { color: #f0e8dd; }

.contact { background: white; }
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
}
.contact-copy > p { color: var(--muted); }
.contact-details {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.contact-details a, .contact-details div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.contact-details span, .contact-details strong { display: block; }
.contact-details span { margin-bottom: 6px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-details strong { font-size: .9rem; }

.contact-form {
  padding: 36px;
  background: var(--paper);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
label {
  display: block;
  margin-bottom: 18px;
  font-size: .78rem;
  font-weight: 700;
}
input, textarea, select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
textarea { resize: vertical; }
.contact-form .btn { width: 100%; border: 0; }
.contact-form small { display: block; margin-top: 12px; color: var(--muted); }
.form-status { margin: 14px 0 0; font-weight: 700; }

.site-footer { padding: 70px 0 24px; color: #d7d2ca; background: #0e0e0d; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr;
  gap: 70px;
}
.footer-brand { margin-bottom: 20px; }
.site-footer h3 { color: white; font-size: 1.25rem; }
.site-footer a, .site-footer p { display: block; color: #8e8a82; font-size: .85rem; }
.site-footer a { margin-bottom: 9px; }
.footer-bottom {
  margin-top: 50px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p { margin: 0; }

.material-modal {
  width: min(620px, calc(100% - 32px));
  border: 0;
  padding: 0;
  box-shadow: var(--shadow);
}
.material-modal::backdrop { background: rgba(10,10,9,.72); }
.modal-content { padding: 44px; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 2rem;
}
.modal-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.modal-specs div {
  padding: 14px;
  background: var(--paper);
}
.modal-specs span, .modal-specs strong { display: block; }
.modal-specs span { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.modal-specs strong { margin-top: 5px; font-size: .9rem; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    top: 84px;
    left: 20px;
    right: 20px;
    padding: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { color: var(--ink); }
  .main-nav .lang-switch { border-color: var(--line); }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 80px; }
  .hero-showcase { display: none; }
  .two-col, .contact-grid, .info-grid { grid-template-columns: 1fr; gap: 48px; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 78px 0; }
  .hero { min-height: 760px; }
  .hero-grid { gap: 0; }
  .hero h1 { font-size: 3.45rem; }
  .hero-actions { flex-direction: column; }
  .hero-facts { grid-template-columns: 1fr; gap: 16px; }
  .value-grid, .materials-grid, .services-grid, .application-grid,
  .comparison, .contact-details, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .catalog-note, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .service-card { min-height: 240px; }
  .service-card h3 { margin-top: 42px; }
  .contact-form { padding: 24px; }
  .modal-specs { grid-template-columns: 1fr; }
}

.catalog-loading {
  grid-column: 1 / -1;
  padding: 42px;
  margin: 0;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--paper);
}
