/* plomix_3d — sito vetrina 3d.plomix.net */
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #0b0b0d;
  --bg2: #111114;
  --card: #18181c;
  --line: #2b2b31;
  --txt: #f2f2f2;
  --dim: #b4b4bb;
  --or: #f4801f;
  --or2: #ffad55;
  --or-scuro: #c8600c;
  --r: 14px;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 400 16px/1.5 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Inter Display", "Inter", sans-serif; margin: 0; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.scena { width: 100%; height: auto; stroke: none; }

/* ---------- bottoni ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn svg { width: 22px; height: 22px; }
.btn-or { background: linear-gradient(180deg, var(--or2), var(--or) 60%, var(--or-scuro)); color: #1a0d02; box-shadow: 0 6px 24px -6px rgba(244,128,31,.6); }
.btn-or:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -6px rgba(244,128,31,.75); }
.btn-ghost { border: 1.5px solid #e8e8e8; color: var(--txt); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-sm svg { width: 18px; height: 18px; }
.link-or { color: var(--or); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-or:hover { color: var(--or2); }
:focus-visible { outline: 2px solid var(--or2); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11,11,13,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 50px; width: auto; }
.menu { display: flex; gap: 34px; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 500; font-size: 15px; color: #e6e6e6; }
.menu a:hover { color: var(--or2); }
.azioni { display: flex; align-items: center; gap: 12px; margin-left: 18px; }
.mw { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 9px; border: 1.5px solid #4a4a52; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .15s, background .15s; }
.mw img { width: 24px; height: 24px; border-radius: 6px; background: #fff; }
.mw:hover { border-color: var(--or); background: rgba(244,128,31,.08); }
.hamb { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.hamb span { display: block; width: 24px; height: 2px; background: var(--txt); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 75% 40%, rgba(244,128,31,.13), transparent 60%), linear-gradient(180deg, #0e0e10, var(--bg)); }
.raggi { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 58%, rgba(244,128,31,.0) 58%, rgba(244,128,31,.35) 59.2%, transparent 60.5%),
    linear-gradient(128deg, transparent 90%, rgba(255,160,70,.55) 91%, transparent 92.5%),
    linear-gradient(145deg, transparent 10%, rgba(244,128,31,.08) 10.5%, transparent 30%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 56px 0 40px; }
.kicker { margin: 0 0 18px; font-size: 13px; letter-spacing: .2em; white-space: nowrap; text-transform: uppercase; font-weight: 600; color: #d9d9de; }
.kicker i { font-style: normal; color: #6c6c74; margin: 0 8px; }
h1 { font-size: clamp(34px, 3.5vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -.01em; color: #dcdcdf; }
h1 em { font-style: normal; background: linear-gradient(180deg, #ffb45c, var(--or) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: #e2e2e6; margin: 20px 0 0; max-width: 600px; }
.cta { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-vis { filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }

/* ---------- punti di forza ---------- */
.punti { border-block: 1px solid var(--line); background: rgba(255,255,255,.015); }
.punti-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.punto { display: flex; gap: 18px; align-items: center; padding: 24px 22px; }
.punto + .punto { border-left: 1px solid var(--line); }
.punto svg { width: 46px; height: 46px; color: var(--or); stroke-width: 1.5; }
.punto h3 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.punto p { margin: 0; font-size: 14px; color: var(--dim); line-height: 1.4; }

/* ---------- sezioni ---------- */
.sez { padding: 54px 0 20px; }
.sez-stretta { padding: 40px 0 30px; }
.sez-testa { display: flex; align-items: baseline; gap: 36px; margin-bottom: 26px; }
.sez-testa h2 { font-size: 34px; font-weight: 800; white-space: nowrap; }
.sez-testa p { margin: 0; color: #d4d4d9; flex: 1; }

.servizi { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card { background: linear-gradient(180deg, #1c1c21, #141417); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 28px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(244,128,31,.6); transform: translateY(-2px); }
.card svg { width: 42px; height: 42px; color: var(--or); stroke-width: 1.5; margin-bottom: 14px; filter: drop-shadow(0 0 10px rgba(244,128,31,.35)); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.card p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.4; }

/* ---------- modelli ---------- */
.modelli { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.modello { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: border-color .2s, transform .2s; }
.modello:hover { border-color: var(--or); transform: translateY(-2px); }
.modello img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.modello div { padding: 16px 20px 18px; }
.modello h3 { font-size: 19px; font-weight: 700; }
.modello p { margin: 4px 0 0; color: var(--dim); font-size: 14px; }

/* ---------- processo ---------- */
.processo { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: center; }
.processo-testo h2 { font-size: 30px; font-weight: 800; line-height: 1.12; margin-bottom: 10px; }
.processo-testo p { margin: 0; color: #d4d4d9; }
.passi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: passo; }
.passi li { position: relative; padding: 22px 34px 22px 46px; min-height: 140px; background: linear-gradient(180deg, #1c1c21, #131316); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%, 26px 50%); }
.passi li:first-child { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); padding-left: 30px; }
.passi li::after { content: ""; position: absolute; right: 30px; top: 50%; width: 9px; height: 9px; border: solid var(--or); border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
.passi li:last-child::after { display: none; }
.passi svg { width: 32px; height: 32px; color: var(--or); stroke-width: 1.5; margin-bottom: 8px; }
.passi h3 { font-size: 17px; font-weight: 700; }
.passi p { margin: 4px 0 0; font-size: 14px; color: var(--dim); line-height: 1.35; }

/* ---------- valori ---------- */
.valori { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid rgba(244,128,31,.75); border-radius: 18px; background: linear-gradient(180deg, #151518, #0f0f12); box-shadow: 0 0 28px -6px rgba(244,128,31,.45), inset 0 0 22px -12px rgba(244,128,31,.6); }
.valore { display: flex; gap: 18px; align-items: center; padding: 24px 26px; }
.valore + .valore { border-left: 1px solid var(--line); }
.valore svg { width: 44px; height: 44px; color: var(--or); stroke-width: 1.5; }
.valore h3 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.valore p { margin: 0; font-size: 13.5px; color: var(--dim); line-height: 1.4; }

/* ---------- contatti ---------- */
.contatti { position: relative; overflow: hidden; margin-top: 30px; border-top: 1px solid var(--line); background:
  linear-gradient(135deg, transparent 82%, rgba(244,128,31,.5) 83%, transparent 84.5%), linear-gradient(180deg, #121215, #0b0b0d); }
.contatti-in { display: grid; grid-template-columns: 96px auto 1fr auto; gap: 28px; align-items: center; padding: 18px 0; }
.mascotte { width: 92px; height: auto; }
.contatti h2 { font-size: 24px; font-weight: 800; line-height: 1.15; padding-left: 28px; border-left: 2px solid var(--or); }
.contatti h2 span { color: var(--or); }
.contatti p { margin: 0; color: #d4d4d9; font-size: 14.5px; max-width: 460px; }
.mw-ico { width: 22px; height: 22px; border-radius: 5px; background: #fff; }

.piede { border-top: 1px solid var(--line); color: #7a7a82; font-size: 12.5px; }
.piede-in { display: flex; justify-content: space-between; padding: 10px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .servizi { grid-template-columns: repeat(3, 1fr); }
  .processo { grid-template-columns: 1fr; }
  .menu { gap: 22px; }
}
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-vis { max-width: 620px; }
  .punti-in, .valori { grid-template-columns: repeat(2, 1fr); }
  .punto:nth-child(3), .valore:nth-child(3) { border-left: 0; }
  .punto:nth-child(n+3), .valore:nth-child(n+3) { border-top: 1px solid var(--line); }
  .passi { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .passi li, .passi li:first-child { clip-path: none; border-radius: 12px; padding: 20px 22px; min-height: 0; }
  .passi li::after { display: none; }
  .contatti-in { grid-template-columns: 80px 1fr; gap: 12px 22px; padding: 20px 0; }
  .contatti p, .contatti .btn { grid-column: 2; }
  .mascotte { grid-row: span 3; width: 80px; align-self: center; margin: 0; }
  .contatti h2 { padding-left: 0; border-left: 0; }
  .nascondi-mob { display: none; }
  .menu { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #0f0f12; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .menu.aperto { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hamb { display: block; }
  .azioni { margin-left: auto; }
}
@media (max-width: 640px) {
  .kicker { white-space: normal; }
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 66px; gap: 10px; }
  .brand img { height: 40px; }
  .menu { top: 66px; }
  .mw span { display: none; }
  .mw { padding: 8px; }
  .punti-in, .valori, .servizi, .modelli, .passi { grid-template-columns: 1fr; }
  .punto + .punto, .valore + .valore { border-left: 0; border-top: 1px solid var(--line); }
  .sez-testa { flex-direction: column; gap: 8px; }
  .sez-testa h2 { white-space: normal; }
  .cta .btn { width: 100%; justify-content: center; }
  .contatti-in { grid-template-columns: 1fr; text-align: left; }
  .contatti p, .contatti .btn { grid-column: auto; }
  .mascotte { grid-row: auto; width: 70px; }
  .contatti h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.contatti .btn { padding: 11px 20px; font-size: 15px; }
.sez-testa .btn { white-space: nowrap; }
#models .sez-testa { align-items: center; margin-bottom: 0; }

/* ---------- 404 ---------- */
.e404 { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 40px 0; }
.e404 img { width: 140px; height: auto; }
.e404 h1 { font-size: clamp(30px, 5vw, 48px); }
.e404 p { margin: 0 0 8px; color: var(--dim); }
