/* Modulab Hero V3.5 — composizione ordinata e preview senza ritagli.
   Caricare dopo i CSS home-v3, v32, v33. */
.ml-hero {
  overflow: clip;
  padding-block: clamp(20px, 3vw, 40px) clamp(36px, 4vw, 64px);
}
.ml-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "content" "visual" "conversion";
  gap: 20px;
  align-items: start;
}
.ml-hero__content {
  grid-area: content;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.ml-hero__intro,
.ml-hero__details {
  display: block;
  min-width: 0;
  grid-area: auto;
}
.ml-hero__details .ml-hero__description {
  margin: 14px 0 0;
  line-height: 1.55;
}
.ml-hero__visual {
  grid-area: visual;
  margin: 0;
  width: 100%;
  min-width: 0;
  min-height: 0;
  align-self: center;
  overflow: visible;
}
.ml-hero__conversion {
  grid-area: conversion;
  min-width: 0;
}
.ml-hero__conversion .ml-hero__microcopy {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.ml-hero__conversion .ml-hero__actions {
  margin-top: 16px;
}
.ml-hero__device-combo {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 740px;
  min-width: 0;
  margin: 0 auto;
  padding: 8px clamp(42px, 10%, 84px) clamp(36px, 8%, 70px) 8px;
  overflow: visible;
}
.ml-hero__desktop {
  position: relative;
  min-width: 0;
}
.ml-hero__desktop-picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.ml-hero__desktop-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.ml-hero__phone {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  right: clamp(8px, 2%, 16px);
  bottom: clamp(8px, 2%, 16px);
  width: clamp(92px, 24%, 176px);
  aspect-ratio: 9 / 18;
  height: auto;
  min-width: 0;
  padding: 5px;
  border: 4px solid #151B27;
  border-radius: clamp(18px, 3vw, 30px);
  overflow: hidden;
  background: #F7F2E9;
  box-shadow: 0 16px 38px rgb(16 24 40 / 19%);
  transform: none;
  pointer-events: none;
}
.ml-hero__phone-picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: clamp(10px, 2vw, 18px);
  background: #F7F2E9;
}
.ml-hero__phone-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.ml-hero__phone-notch {
  top: 5px;
  left: 50%;
  width: 29%;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 0 0 9px 9px;
  background: #151B27;
}
@media (max-width: 1023px) {
  .ml-hero__container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "content" "visual" "conversion";
  }
  .ml-hero__content,
  .ml-hero__visual,
  .ml-hero__conversion { order: initial; }
  .ml-hero__conversion .ml-hero__actions { flex-direction: column; }
  .ml-hero__conversion .ml-hero__button { width: 100%; }
}
@media (max-width: 659px) {
  .ml-hero { padding-block: 16px 36px; }
  .ml-hero__container {
    width: calc(100% - 32px);
    gap: 14px;
  }
  .ml-hero__eyebrow { margin-bottom: 8px; }
  .ml-hero__details .ml-hero__description {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.46;
  }
  .ml-hero__device-combo {
    padding: 6px 36px 30px 6px;
  }
  .ml-hero__phone {
    right: 5px;
    bottom: 5px;
    width: clamp(78px, 24%, 114px);
    border-width: 3px;
    border-radius: 18px;
    padding: 3px;
  }
  .ml-hero__phone-notch { top: 4px; height: 6px; }
  .ml-hero__conversion .ml-hero__microcopy {
    font-size: 12px;
    line-height: 1.45;
  }
  .ml-hero__conversion .ml-hero__actions {
    margin-top: 12px;
    gap: 9px;
  }
}
@media (min-width: 1024px) {
  .ml-hero__container {
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    grid-template-areas:
      "content visual"
      "conversion visual";
    column-gap: clamp(28px, 3.5vw, 58px);
    row-gap: 16px;
    align-items: center;
  }
  .ml-hero__content { align-self: end; }
  .ml-hero__conversion { align-self: start; }
  .ml-hero__visual { align-self: center; }
  .ml-hero__conversion .ml-hero__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
  }
  .ml-hero__conversion .ml-hero__button { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ml-hero__phone { transition: none; animation: none; }
}
