/* ============================================
   Forgecrafts 3D — shared stylesheet
   Change --accent below to reskin the whole site.
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e7e5e0;
  --accent: #d9622b; /* warm orange accent, PLA-filament vibe */
  --accent-dark: #b84f1f;
  --radius: 10px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

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

/* ---------- Header ---------- */

header.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--accent-dark); }

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 80px;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero p.lead {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--text); }

/* ---------- Sections ---------- */

section { padding: 72px 0; }

.section-heading {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-heading h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.section-heading p {
  color: var(--text-muted);
  margin: 0;
}

.alt-bg { background: var(--bg-soft); }

/* ---------- Category / feature grid ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.card .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ---------- Model / product cards ---------- */

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.model-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.model-thumb {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #efece6, #e2ddd3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}

.model-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.model-body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.model-body .desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 16px;
  flex: 1;
}

.model-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.price {
  font-weight: 700;
  font-size: 1.15rem;
}

.price .note {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.model-cta {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.model-cta:hover { background: var(--accent); }

.pricing-notice {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 32px auto 0;
  max-width: 520px;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.contact-info li {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.contact-info li strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-soft);
}

form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

form.contact-form textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
  nav.main-nav ul { gap: 18px; }
  .grid-3, .model-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .site-header .wrap { height: 64px; }
  nav.main-nav ul { gap: 12px; }
  .grid-3, .model-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
}
