
:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --ink: #151518;
  --muted: #686872;
  --line: #dedee3;
  --accent: #ef4444;
  --accent-dark: #c52727;
  --dark: #111114;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(20,20,25,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; padding: 0 5vw;
  background: rgba(247,247,248,.88);
  border-bottom: 1px solid rgba(222,222,227,.8);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.18rem; font-weight: 850; letter-spacing: -.03em; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  color: white; background: var(--ink); border-radius: 11px;
  font-size: .88rem; letter-spacing: -.03em;
  box-shadow: inset -5px -5px 0 rgba(255,255,255,.08);
}
.accent { color: var(--accent); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: .94rem; font-weight: 700; }
nav a:hover { color: var(--accent); }
.nav-cta { padding: 10px 16px; color: white !important; background: var(--ink); border-radius: 999px; }
.menu-button { display: none; border: 0; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }

.hero {
  min-height: calc(100vh - 74px);
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: 6vw; padding: 70px 7vw 90px;
  overflow: hidden;
}
.eyebrow { margin: 0 0 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(3rem, 6.6vw, 6.8rem); line-height: .93; letter-spacing: -.075em; }
h2 { margin-bottom: 14px; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1; letter-spacing: -.055em; }
h3 { margin-bottom: 8px; font-size: 1.12rem; letter-spacing: -.025em; }
.hero-text { max-width: 670px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 51px; padding: 0 22px; border: 1px solid transparent;
  border-radius: 999px; text-decoration: none; font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(20,20,25,.14); }
.button.primary { color: white; background: var(--accent); }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { background: white; border-color: var(--line); }
.button.whatsapp { color: #082d18; background: #6ee7a0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; color: #42424a; font-weight: 750; font-size: .91rem; }

.hero-art { position: relative; min-height: 590px; display: grid; place-items: center; }
.hero-art::before {
  content:""; position:absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8989, var(--accent) 48%, #991b1b 100%);
  box-shadow: 0 38px 100px rgba(239,68,68,.28);
}
.printer-frame {
  position: relative; z-index: 2; width: min(390px, 75vw); height: 470px;
  padding: 30px 28px 35px; border: 15px solid #1f1f24; border-top-width: 36px;
  border-radius: 34px 34px 30px 30px; background: #29292f;
  box-shadow: 0 38px 90px rgba(0,0,0,.38), inset 0 0 0 2px rgba(255,255,255,.06);
  transform: perspective(1100px) rotateY(-8deg) rotateX(2deg);
}
.printer-top { position:absolute; top:-52px; left:26px; right:26px; height:26px; background:#35353c; border-radius:10px 10px 2px 2px; }
.printer-window { position:relative; height:100%; overflow:hidden; border-radius:10px; background:linear-gradient(135deg,#25252c,#09090b); border:4px solid #555560; }
.print-head { position:absolute; top:45px; left:50%; width:95px; height:58px; transform:translateX(-50%); background:#d8d8dc; border-radius:8px 8px 16px 16px; box-shadow:0 0 30px rgba(255,255,255,.15); }
.print-head::after { content:""; position:absolute; left:42px; top:58px; width:10px; height:75px; background:#b5b5bc; }
.print-bed { position:absolute; left:25px; right:25px; bottom:36px; height:20px; background:#8a8a95; transform:skewX(-8deg); }
.printed-object { position:absolute; left:50%; bottom:56px; width:112px; height:118px; transform:translateX(-50%); background:linear-gradient(135deg,#ff6a6a,#c81e1e); clip-path:polygon(15% 100%,0 32%,22% 0,78% 0,100% 32%,85% 100%); }
.printer-base { position:absolute; left:-9px; right:-9px; bottom:-46px; height:58px; background:#17171b; border-radius:0 0 24px 24px; }
.printer-base span { position:absolute; right:30px; top:18px; width:12px; height:12px; border-radius:50%; background:#55d98b; box-shadow:0 0 16px #55d98b; }
.floating-chip { position:absolute; z-index:4; padding:11px 16px; background:white; border:1px solid rgba(0,0,0,.08); border-radius:999px; font-weight:900; box-shadow:var(--shadow); }
.chip-one { left:2%; top:18%; transform:rotate(-8deg); }
.chip-two { right:0; top:34%; transform:rotate(8deg); }
.chip-three { left:3%; bottom:11%; transform:rotate(4deg); }

.section { padding: 105px 7vw; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:44px; }
.section-heading > p { max-width: 520px; color: var(--muted); }
.filters { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:28px; }
.filter { padding:10px 16px; border:1px solid var(--line); border-radius:999px; background:white; cursor:pointer; font:inherit; font-weight:800; }
.filter.active, .filter:hover { color:white; background:var(--ink); border-color:var(--ink); }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.product-card { overflow:hidden; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 10px 35px rgba(20,20,25,.05); transition:transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform:translateY(-6px); box-shadow:var(--shadow); }
.product-card img { width:100%; aspect-ratio:4/3; object-fit:cover; background:#eee; }
.product-body { padding:20px; }
.card-topline { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:11px; }
.card-label { color:var(--accent); font-size:.74rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.price { font-weight:900; }
.product-body p { min-height:49px; color:var(--muted); font-size:.93rem; }
.card-actions { display:flex; gap:8px; }
.card-actions .button { min-height:43px; flex:1; padding:0 13px; font-size:.86rem; }
.details-btn { border:1px solid var(--line); background:white; cursor:pointer; }

.dark-section { color:white; background:var(--dark); }
.section-heading.light > p { color:#adadb7; }
.material-layout { display:grid; grid-template-columns:1.1fr .9fr; gap:24px; }
.equipment-card { display:grid; grid-template-columns:220px 1fr; align-items:center; gap:25px; padding:22px; background:#1e1e23; border:1px solid #34343d; border-radius:var(--radius); }
.equipment-card img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:16px; background:white; }
.equipment-card p { color:#b7b7c0; }
.material-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.material-card { display:flex; align-items:center; gap:14px; padding:14px; background:#1e1e23; border:1px solid #34343d; border-radius:18px; }
.material-card img { width:74px; height:74px; object-fit:cover; border-radius:12px; background:white; }
.material-card strong, .material-card span { display:block; }
.material-card span { color:#aaaab4; font-size:.85rem; }
.source-note { margin:18px 0 0; color:#85858f; font-size:.78rem; }

.steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.steps article { min-height:230px; padding:25px; background:white; border:1px solid var(--line); border-radius:var(--radius); }
.steps span { display:block; margin-bottom:55px; color:var(--accent); font-weight:950; font-size:1.8rem; letter-spacing:-.06em; }
.steps p { color:var(--muted); }

.cta-section { display:flex; align-items:center; justify-content:space-between; gap:30px; margin:0 7vw 90px; padding:50px; color:white; background:linear-gradient(120deg,#1b1b20,#2c2c33); border-radius:32px; box-shadow:var(--shadow); }
.cta-section h2 { margin-bottom:0; }

footer { display:grid; grid-template-columns:1.2fr 1fr 1fr auto; align-items:center; gap:25px; padding:35px 7vw; border-top:1px solid var(--line); color:var(--muted); font-size:.9rem; }
footer p { margin:0; }
footer a { text-decoration:none; }
.footer-brand { color:var(--ink); }

.floating-whatsapp { position:fixed; right:22px; bottom:22px; z-index:30; display:grid; place-items:center; width:56px; height:56px; border-radius:50%; color:#0b3b20; background:#70e7a3; text-decoration:none; font-weight:950; box-shadow:0 15px 35px rgba(20,20,25,.22); }

dialog { width:min(860px,calc(100vw - 28px)); padding:0; border:0; border-radius:26px; box-shadow:0 30px 100px rgba(0,0,0,.35); overflow:hidden; }
dialog::backdrop { background:rgba(8,8,10,.72); backdrop-filter:blur(7px); }
dialog[open] { display:grid; grid-template-columns:1fr 1fr; }
dialog img { width:100%; height:100%; min-height:470px; object-fit:cover; background:#eee; }
.modal-content { padding:48px 38px; }
.modal-content p { color:var(--muted); }
.modal-content dl { margin:30px 0; }
.modal-content dl div { display:flex; justify-content:space-between; gap:20px; padding:13px 0; border-bottom:1px solid var(--line); }
.modal-content dt { color:var(--muted); }
.modal-content dd { margin:0; font-weight:850; text-align:right; }
.modal-close { position:absolute; top:14px; right:14px; z-index:2; display:grid; place-items:center; width:38px; height:38px; border:0; border-radius:50%; background:white; font-size:1.6rem; cursor:pointer; box-shadow:0 5px 20px rgba(0,0,0,.18); }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero { grid-template-columns:1fr; padding-top:80px; }
  .hero-art { min-height:520px; }
  .steps { grid-template-columns:1fr 1fr; }
  .material-layout { grid-template-columns:1fr; }
  footer { grid-template-columns:1fr 1fr; }
}
@media (max-width: 760px) {
  .site-header { padding:0 20px; }
  .menu-button { display:block; }
  nav { display:none; position:absolute; top:74px; left:14px; right:14px; flex-direction:column; align-items:stretch; gap:0; padding:12px; background:white; border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); }
  nav.open { display:flex; }
  nav a { padding:13px 12px; }
  .nav-cta { margin-top:4px; text-align:center; }
  .hero { min-height:auto; padding:65px 22px 70px; }
  h1 { font-size:clamp(3.4rem,16vw,5.2rem); }
  .hero-art { min-height:460px; }
  .hero-art::before { width:420px; height:420px; }
  .printer-frame { width:280px; height:365px; border-width:11px; border-top-width:30px; padding:20px; }
  .printer-base { bottom:-40px; }
  .section { padding:78px 22px; }
  .section-heading { align-items:start; flex-direction:column; gap:10px; }
  .product-grid { grid-template-columns:1fr; }
  .equipment-card { grid-template-columns:1fr; }
  .equipment-card img { max-height:280px; object-fit:contain; }
  .material-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr; }
  .steps article { min-height:auto; }
  .steps span { margin-bottom:32px; }
  .cta-section { align-items:flex-start; flex-direction:column; margin:0 22px 70px; padding:35px 25px; }
  footer { grid-template-columns:1fr; padding:34px 22px; }
  dialog[open] { display:block; }
  dialog img { min-height:0; aspect-ratio:4/3; }
  .modal-content { padding:32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior:auto !important; transition:none !important; }
}
