/* ===== 3D Print Model Services — stylesheet ===== */
:root {
  --blue: #3a87fe;
  --blue-dark: #1f6be0;
  --blue-deep: #0a3d8f;
  --blue-soft: #eaf2ff;
  --ink: #0d1b2a;
  --ink-soft: #445567;
  --line: #e5eaf0;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(13, 27, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 27, 42, 0.10);
  --shadow-blue: 0 10px 30px rgba(58, 135, 254, 0.35);
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, [contenteditable] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
img { max-width: 100%; display: block; pointer-events: auto; -webkit-user-drag: none; user-drag: none; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); }

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

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; color: var(--ink); font-size: 18px;
  letter-spacing: 0.2px;
}
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: #fff; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-text small { color: var(--ink-soft); font-weight: 500; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--ink); font-weight: 600; font-size: 15px;
  position: relative; padding: 8px 2px;
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blue); border-radius: 2px;
}
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-primary::after { display: none !important; }
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0;
  transition: transform .25s, opacity .25s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: #fff; box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 18px 28px; font-size: 17px; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(58,135,254,0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(58,135,254,0.12), transparent 60%),
    var(--bg);
  padding: 90px 0 80px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft); color: var(--blue-dark);
  padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.4px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .7; } }

.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px); font-weight: 900;
  line-height: 1.02; letter-spacing: -0.02em; margin: 18px 0 18px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--blue) 0%, #7bb0ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 19px; color: var(--ink-soft); max-width: 540px; margin-bottom: 30px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof {
  display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap;
}
.hero-proof .stat { display: flex; flex-direction: column; }
.hero-proof .stat strong { font-size: 26px; color: var(--ink); font-weight: 900; }
.hero-proof .stat span { color: var(--ink-soft); font-size: 13px; }

.hero-card {
  position: relative;
  background: #fff; border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.hero-card .logo-wrap {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, rgba(58,135,254,0.25), transparent 55%),
    linear-gradient(135deg, #eaf2ff, #fff);
  padding: 40px;
}
.hero-card .logo-wrap img { width: 100%; height: auto; }
.hero-card .floaty {
  position: absolute; background: #fff; padding: 12px 16px;
  border-radius: 999px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px;
}
.hero-card .floaty-1 { top: 14px; left: -20px; color: var(--blue-dark); }
.hero-card .floaty-2 { bottom: 18px; right: -20px; color: #16a34a; }

/* ===== Sections ===== */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px); font-weight: 900;
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px;
}
.section-head p { color: var(--ink-soft); font-size: 18px; }

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

/* ===== Feature grid ===== */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(58,135,254,0.4); }
.feature .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-soft); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature h3 { font-size: 20px; margin-bottom: 8px; font-weight: 800; }
.feature p { color: var(--ink-soft); font-size: 15.5px; }

/* ===== Services ===== */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service {
  background: #fff; border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.service::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 200px at 100% 0%, rgba(58,135,254,0.10), transparent 60%);
}
.service h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; position: relative; }
.service p { color: var(--ink-soft); margin-bottom: 18px; position: relative; }
.service ul { list-style: none; position: relative; }
.service li {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  color: var(--ink); font-weight: 500; border-bottom: 1px dashed var(--line);
}
.service li:last-child { border-bottom: 0; }
.service li::before {
  content: ''; width: 7px; height: 7px; background: var(--blue);
  border-radius: 50%; flex-shrink: 0;
}

/* ===== Process steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; position: relative;
}
.step .num {
  position: absolute; top: -20px; left: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-blue);
}
.step h4 { font-size: 18px; font-weight: 800; margin: 10px 0 6px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ===== Service rows (gallery column) ===== */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: none; }
.service-row-text .eyebrow { display: inline-block; }
.service-row-text h3 {
  font-size: 30px; font-weight: 800; margin: 10px 0 12px; line-height: 1.2;
}
.service-row-text p {
  color: var(--ink-soft); font-size: 16px; max-width: 520px;
}
.service-row-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 800px) {
  .service-row { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .service-row-text h3 { font-size: 24px; }
}

/* ===== Category sections (full gallery page) ===== */
.cat-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.cat-section:last-child { border-bottom: none; }
.cat-head {
  max-width: 780px;
  margin: 0 auto 26px;
  text-align: center;
}
.cat-head h3 {
  font-size: 30px; font-weight: 800; margin: 10px 0 12px; line-height: 1.2;
}
.cat-head p {
  color: var(--ink-soft); font-size: 16px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1000px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-head h3 { font-size: 24px; }
}

/* ===== Gallery ===== */
.gallery-nav {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 0 auto 30px; max-width: 900px;
}
.gallery-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px;
  border: 1px solid var(--line); text-decoration: none;
  transition: all .2s ease;
}
.gallery-nav a:hover {
  background: var(--blue); color: #fff; border-color: var(--blue);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gallery-item {
  position: relative; aspect-ratio: 1; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; background: var(--bg-alt);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,27,42,0.85));
  display: flex; align-items: flex-end; padding: 18px;
  color: #fff; font-weight: 700;
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.95); color: var(--blue-dark);
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.3px;
  text-transform: uppercase;
}

.gallery-filters {
  display: flex; justify-content: center; gap: 10px;
  margin-bottom: 30px; flex-wrap: wrap;
}
.gallery-filters button {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 14px;
  transition: all .2s;
}
.gallery-filters button.active,
.gallery-filters button:hover {
  background: var(--blue); color: #fff; border-color: var(--blue);
}

/* ===== Testimonial strip ===== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial {
  background: #fff; border-radius: var(--radius-lg); padding: 30px;
  border: 1px solid var(--line); position: relative;
}
.testimonial .quote {
  color: var(--ink); font-size: 16px; line-height: 1.65; margin-bottom: 18px;
  font-style: italic;
}
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #7bb0ff);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.testimonial .who strong { display: block; font-size: 14px; }
.testimonial .who span { color: var(--ink-soft); font-size: 13px; }
.stars { color: #f59e0b; margin-bottom: 10px; font-size: 15px; letter-spacing: 2px; }

/* ===== CTA band ===== */
.cta-band {
  background:
    radial-gradient(800px 400px at 20% 20%, rgba(123,176,255,0.35), transparent 60%),
    radial-gradient(600px 300px at 80% 80%, rgba(10,61,143,0.45), transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 900; margin-bottom: 12px; }
.cta-band p { font-size: 18px; opacity: 0.92; margin-bottom: 26px; }
.cta-band .btn-primary { background: #fff; color: var(--blue-dark); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.cta-band .btn-primary:hover { background: #eaf2ff; color: var(--blue-dark); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.cta-band .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,0.1); }

/* ===== Contact page ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
}
.contact-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card h4 { font-weight: 800; margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--ink-soft); font-weight: 500; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(58,135,254,0.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { color: var(--ink-soft); font-size: 12.5px; margin-top: 4px; }

.form-success {
  display: none; padding: 16px; border-radius: 12px;
  background: #ecfdf5; color: #065f46; font-weight: 700; margin-bottom: 18px;
  border: 1px solid #a7f3d0;
}

/* ===== Footer ===== */
footer {
  background: #0a1624; color: #cbd5e1; padding: 60px 0 30px; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
footer .brand { color: #fff; }
footer .brand small { color: #94a3b8; }
footer p { color: #94a3b8; margin-top: 14px; font-size: 15px; max-width: 320px; }
footer h5 { color: #fff; font-weight: 800; margin-bottom: 16px; letter-spacing: 0.2px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a { color: #cbd5e1; font-size: 15px; }
footer ul a:hover { color: var(--blue); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--blue); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 14px; color: #64748b;
}

/* ===== Floating contact buttons ===== */
.wa-float, .ig-float {
  position: fixed; bottom: 22px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.wa-float { right: 22px; background: #25D366; box-shadow: 0 10px 30px rgba(37,211,102,0.45); }
.ig-float {
  right: 94px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 10px 30px rgba(214,36,159,0.45);
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 14px 34px rgba(37,211,102,0.55); }
.ig-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 14px 34px rgba(214,36,159,0.55); }
.wa-float::before, .ig-float::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  opacity: 0.6;
  animation: waRing 2.2s ease-out infinite;
}
.wa-float::before { border: 2px solid #25D366; }
.ig-float::before { border: 2px solid #d6249f; animation-delay: 1.1s; }
@keyframes waRing { 0% { transform: scale(0.85); opacity: .6 } 100% { transform: scale(1.4); opacity: 0 } }

/* ===== Lightbox ===== */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(8,15,26,0.92); align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.lightbox .close {
  position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.1);
  color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; font-size: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero { padding: 60px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 440px; margin: 0 auto; }
  .features, .services, .steps, .testimonials, .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 72px; right: 0; left: 0;
    background: #fff; flex-direction: column; padding: 20px;
    gap: 14px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links .nav-cta { margin: 10px 0 0; width: 100%; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .nav-toggle { display: block; }
  section { padding: 60px 0; }
  .features, .services, .steps, .testimonials, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
  .hero-proof { gap: 20px; }
  .hero-card { display: none; }
  .hero { padding: 40px 0 30px; }
  .hero-grid { gap: 0; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
  .brand .brand-text small { display: none; }
}
