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

:root {
  --accent: #f97316;
  --accent-dark: #ea580c;
  --bg: #0f0f0f;
  --bg2: #161616;
  --bg3: #1e1e1e;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f0;
  --text-muted: #888;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(15,15,15,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
}
.logo-img { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text strong { color: var(--accent); }

nav { display: flex; align-items: center; gap: 28px; }
nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--text); }

.btn-nav {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--accent-dark) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(249,115,22,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(249,115,22,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 760px; }
.hero-tag {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-sub strong { color: var(--text); }

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); }

.hero-stats {
  position: relative;
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat small { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ── SECTIONS ── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-sub { color: var(--text-muted); font-size: 1rem; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px 280px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg3);
  cursor: pointer;
}
.gallery-item.large {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 20px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 0.9rem; font-weight: 600; }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover {
  border-color: rgba(249,115,22,0.4);
  transform: translateY(-3px);
}
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ── MATERIALS ── */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.material-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.material-card:hover { border-color: rgba(249,115,22,0.35); }

.material-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.material-badge.pla  { background: rgba(34,197,94,0.15);  color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.material-badge.petg { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.material-badge.tpu  { background: rgba(168,85,247,0.15); color: #c084fc; border: 1px solid rgba(168,85,247,0.3); }
.material-badge.abs  { background: rgba(249,115,22,0.15); color: #fb923c; border: 1px solid rgba(249,115,22,0.3); }

.material-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.material-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }

.material-props { list-style: none; margin-bottom: 16px; }
.material-props li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.prop-icon { font-style: normal; font-weight: 700; font-size: 0.75rem; flex-shrink: 0; }
.prop-icon.good { color: #4ade80; }
.prop-icon.warn { color: #facc15; }

.material-use {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.print-volume {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 12px;
}
.pv-icon { font-size: 2rem; flex-shrink: 0; }
.print-volume h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.print-volume p { font-size: 0.88rem; color: var(--text-muted); }
.print-volume strong { color: var(--text); }

/* ── CONTACT ── */
.section-contact { background: var(--bg2); }
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.contact-text .section-tag { display: block; margin-bottom: 12px; }
.contact-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.contact-text > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }

.contact-list { list-style: none; }
.contact-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child { border-bottom: none; }

.contact-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
}
.contact-icon { font-size: 2.5rem; margin-bottom: 16px; }
.contact-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.contact-card > p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px; }

.btn-email {
  display: block;
  background: var(--accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  margin-bottom: 16px;
}
.btn-email:hover { background: var(--accent-dark); transform: translateY(-1px); }
.email-addr { font-size: 0.82rem; color: var(--text-muted); }

/* ── FOOTER ── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner { text-align: center; }
.footer-inner .logo { justify-content: center; margin-bottom: 10px; }
.footer-inner > p { font-size: 0.83rem; color: var(--text-muted); }
.footer-copy { margin-top: 8px; font-size: 0.75rem !important; color: #555 !important; }

/* ── FADE-IN ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav a:not(.btn-nav) { display: none; }
  .hero-stats { gap: 28px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item.large { grid-column: span 2; }
  .services-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .hero-stats { flex-direction: column; gap: 20px; }
}
