/* ============================================================
   index.html — page-specific layout
   ============================================================ */

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* split (chi siamo) */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  color: var(--hero-sub); padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: hsl(40 6% 95% / 0.03);
}

.head-center { max-width: 720px; margin: 0 auto; text-align: center; }
.head-center .eyebrow::before { display: none; }

/* MePA panel */
.mepa { display: grid; grid-template-columns: 1.5fr 0.7fr; gap: 40px; align-items: center; padding: clamp(34px, 4vw, 56px); }
.mepa-r { display: grid; place-items: center; }
.mepa-r svg { width: min(180px, 60%); height: auto; }

/* ODINO teaser */
.odino-teaser {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 1px solid hsl(193 80% 60% / 0.16);
  background:
    radial-gradient(120% 80% at 50% -10%, hsl(193 90% 30% / 0.18), transparent 60%),
    linear-gradient(180deg, hsl(220 60% 6% / 0.7), hsl(260 70% 4% / 0.7));
  padding: clamp(48px, 7vw, 96px) 28px;
}
.odino-glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 60%; pointer-events: none;
  background: radial-gradient(closest-side, hsl(193 90% 55% / 0.22), transparent);
  filter: blur(30px);
}
.odino-t-inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.odino-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.odino-h {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(56px, 9vw, 116px); line-height: 1; letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: 0.18em;
  background: linear-gradient(180deg, #fff, hsl(193 80% 75%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.odino-mark { display: inline-grid; place-items: center; }
.odino-mark svg { width: clamp(46px, 7vw, 92px); height: auto; }
.odino-tag { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.02em; margin-top: 8px; color: var(--fg); }

.odino-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; text-align: left; }
.of { padding: 24px; border-radius: 16px; border: 1px solid hsl(193 70% 60% / 0.14); background: hsl(220 50% 8% / 0.4); }
.of-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--odino-cyan); background: hsl(193 80% 50% / 0.12); margin-bottom: 16px; }
.of-ic svg { width: 21px; }
.of h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.of p { color: var(--hero-sub); font-size: 14px; line-height: 1.55; margin-top: 8px; opacity: .82; }

.btn-odino { background: var(--odino-cyan); color: hsl(200 80% 8%); font-weight: 600; box-shadow: 0 12px 40px -14px var(--odino-cyan); }
.btn-odino:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -14px var(--odino-cyan); }
.btn-odino:hover .ico { transform: translateX(3px); }

/* contatti */
.contact { display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: start; }
.contact-rows { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
.crow { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, transform .25s, background .25s; }
.crow:hover { border-color: var(--line-strong); transform: translateX(4px); background: var(--surface-2); }
.crow-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--g-purple); background: hsl(258 60% 50% / 0.12); }
.crow-ic svg { width: 20px; }
.crow span b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.crow > span:last-child { font-size: 15px; color: var(--fg); }

.contact-form { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 15px; color: var(--fg);
  background: hsl(260 60% 3% / 0.5); border: 1px solid var(--line);
  border-radius: 11px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--g-purple); box-shadow: 0 0 0 3px hsl(270 80% 60% / 0.18); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: hsl(40 6% 95% / 0.32); }
.contact-form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.contact-form .check input { width: 18px; height: 18px; accent-color: var(--g-purple); flex: none; margin-top: 1px; }
.contact-form .check a { color: var(--hero-sub); text-decoration: underline; }

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .mepa { grid-template-columns: 1fr; }
  .mepa-r { display: none; }
  .odino-feats { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
