/* Stili delle pagine: portati dal sito Nuxt (02-website). Classi prefissate per non scontrarsi con Elementor/WordPress. */

/* ---------------- Container Elementor usati come righe/griglie ---------------- */
body.microbees .e-con.mb-wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

body.microbees .e-con.pg-grid {
  display: grid;
}

/* ---------------- Copertine articolo (PostCover) ---------------- */
.pcover {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 160px;
  overflow: hidden;
  background: var(--fondo);
  container-type: inline-size;
}

.pcover__motivo {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}

.pcover--righe .pcover__motivo {
  background: repeating-linear-gradient(-45deg, var(--forma) 0 6px, transparent 6px 22px);
}

.pcover--punti .pcover__motivo {
  background: radial-gradient(circle, var(--forma) 3px, transparent 3.5px) 0 0 / 22px 22px;
}

.pcover--griglia .pcover__motivo {
  background:
    linear-gradient(var(--forma) 2px, transparent 2px) 0 0 / 34px 34px,
    linear-gradient(90deg, var(--forma) 2px, transparent 2px) 0 0 / 34px 34px;
}

.pcover__icona {
  position: absolute;
  top: 50%;
  left: 12%;
  display: grid;
  place-items: center;
  width: min(38cqw, 210px);
  aspect-ratio: 1;
  border-radius: 22%;
  background: var(--forma);
  color: var(--accento);
  font-size: min(22cqw, 120px);
  transform: translateY(-50%) rotate(var(--tilt));
  box-shadow: 0 18px 30px -18px rgb(7 5 32 / 0.6);
}

.pcover__icona svg {
  width: 1em;
  height: 1em;
}

.pcover--large .pcover__icona {
  left: 18%;
}

.pcover--large .pcover__docs {
  right: 18%;
}

.pcover--large.pcover--destra .pcover__docs {
  right: auto;
  left: 18%;
}

.pcover--destra .pcover__icona {
  left: auto;
  right: 12%;
}

.pcover--large.pcover--destra .pcover__icona {
  right: 18%;
}

.pcover__docs {
  position: absolute;
  top: 18%;
  right: 10%;
  width: min(30cqw, 170px);
}

.pcover--destra .pcover__docs {
  right: auto;
  left: 10%;
}

.pcover__doc {
  position: absolute;
  display: grid;
  gap: 6%;
  align-content: start;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 14% 12%;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 24px -16px rgb(7 5 32 / 0.6);
  transform: translate(calc(var(--k) * 16%), calc(var(--k) * 12%)) rotate(calc(-4deg + var(--k) * 7deg));
  transition: transform 0.6s var(--ease-out);
}

.pcover__doc i {
  display: block;
  height: 7px;
  width: 55%;
  border-radius: 4px;
  background: #171151;
}

.pcover__doc b {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #c6d6e6;
}

.pcover__doc b:nth-child(3) {
  width: 80%;
}

.pcover__tema {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: #171151;
  font: 700 0.78rem var(--font-body);
}

.pcover--large .pcover__tema {
  font-size: 0.95rem;
  left: 22px;
  bottom: 22px;
}

a:hover .pcover__doc {
  transform: translate(calc(var(--k) * 16%), calc(var(--k) * 12% - 4%)) rotate(calc(-4deg + var(--k) * 7deg));
}

/* ---------------- Sezione "Dal blog" della home ---------------- */
.blog-home__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mb-post {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
}

.mb-post__cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cyan);
}

.mb-post__cover .pcover {
  transition: transform 0.6s var(--ease-out);
}

.mb-post:hover .mb-post__cover .pcover {
  transform: scale(1.04);
}

.mb-post time {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.mb-post h3 {
  font-size: 1.3rem;
}

.mb-post:hover h3 {
  color: #1c8fb3;
}

@media (max-width: 860px) {
  .blog-home__list {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Intestazione di pagina (PageHead) ---------------- */
.pg-head,
body.microbees .e-con.pg-head {
  position: relative;
  padding-block: calc(var(--nav-space) + clamp(28px, 4vw, 56px)) clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.pg-head::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--navy);
}

.pg-head__grid,
body.microbees .e-con.pg-head__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.pg-head__grid:has(> :only-child) {
  grid-template-columns: 1fr;
}

.pg-head h1,
.pg-head .elementor-heading-title {
  font-size: var(--h1-hero);
  line-height: 1.1;
  max-width: 20ch;
}

body.microbees main body.microbees .pg-head h1.pg-head__lines {
  max-width: none;
}

@media (min-width: 1100px) {
  body.microbees .pg-head h1.pg-head__lines {
    white-space: nowrap;
  }
}

.pg-head__lead {
  margin-top: 22px;
  max-width: 42ch;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  color: var(--on-cyan-soft);
}

.pg-head__art {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.pg-head__crumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 0.95rem;
}

.pg-head__crumbs a {
  text-decoration: none;
  opacity: 0.85;
}

.pg-head__crumbs a:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  opacity: 0.5;
}

@media (prefers-reduced-motion: no-preference) {
  .pg-head__copy > * {
    animation: pg-in 0.9s var(--ease-out) both;
  }

  .pg-head__copy > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .pg-head__copy > :nth-child(3) {
    animation-delay: 0.16s;
  }
}

@keyframes pg-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@media (max-width: 900px) {
  .pg-head__grid {
    grid-template-columns: 1fr;
  }

  .pg-head__art {
    justify-self: center;
    max-width: 440px;
  }
}

/* ---------------- Blog: elenco ---------------- */
.bl-list {
  padding-block: 56px var(--section);
}

.bl-item {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: 28px;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}

.bl-item__cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
}

.bl-item__cover .pcover {
  transition: transform 0.8s var(--ease-out);
}

.bl-item:hover .bl-item__cover .pcover {
  transform: scale(1.05);
}

.bl-item__meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.bl-item h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin: 10px 0 12px;
}

.bl-item p {
  color: var(--ink-soft);
  max-width: 58ch;
}

.bl-item__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
}

.bl-item__go svg {
  transition: transform 0.3s var(--ease-out);
}

.bl-item:hover .bl-item__go svg {
  transform: translateX(6px);
}

.bl-item:hover h2 {
  color: #1c8fb3;
}

@media (max-width: 760px) {
  .bl-item {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Articolo singolo ---------------- */
.art-head {
  padding-block: calc(var(--nav-space) + clamp(24px, 4vw, 48px)) clamp(110px, 13vw, 170px);
}

.art-head__inner {
  max-width: 980px;
}

.art-head__tema {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--on-navy);
  font-weight: 700;
  font-size: 0.92rem;
}

.art-head__tema svg {
  color: var(--honey);
}

.art-head h1 {
  margin-top: 20px;
  font-size: var(--h1-hero);
  max-width: 22ch;
}

.art-head__lead {
  margin-top: 20px;
  max-width: 58ch;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  color: var(--on-cyan-soft);
}

.art-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px solid var(--navy);
  font-weight: 600;
}

.art-cover {
  margin-top: calc(clamp(110px, 13vw, 170px) * -0.72);
}

.art-cover__box {
  aspect-ratio: 21 / 8;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -36px rgb(23 17 81 / 0.6);
}

.art-body {
  max-width: 760px;
  padding-block: clamp(48px, 6vw, 80px) var(--section);
  font-size: 1.1rem;
}

.art-body > * + * {
  margin-top: 1.2em;
}

.art-body :is(h2, h3) {
  margin-top: 1.9em;
}

.art-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.art-body h3 {
  font-size: 1.35rem;
}

.art-body ul,
.art-body ol {
  padding-left: 1.3em;
}

.art-body li + li {
  margin-top: 0.4em;
}

.art-body a {
  color: #1c8fb3;
  font-weight: 600;
}

/* display:block permette lo scroll orizzontale della sola tabella su mobile */
.art-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  border-spacing: 0;
  font-size: 0.97rem;
  line-height: 1.45;
}

.art-body th,
.art-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.art-body thead th {
  background: var(--paper-2);
  font-weight: 800;
  white-space: nowrap;
}

.art-body tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------------- Metodo ---------------- */
.pg-passi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  padding-block: var(--section);
}

.pg-passi__foto {
  position: relative;
}

.pg-passi__frame {
  position: sticky;
  top: calc(var(--nav-space) + 24px);
  aspect-ratio: 4 / 5;
  max-height: calc(100vh - var(--nav-space) - 48px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}

body.microbees .pg-passi__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  clip-path: inset(100% 0 0 0 round var(--radius));
  transition:
    opacity 0.6s var(--ease-out),
    transform 1.2s var(--ease-out),
    clip-path 0.9s var(--ease-out);
}

body.microbees .pg-passi__img.is-on {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0 round var(--radius));
}

.pg-passi__tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--on-navy);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.pg-passi__tag span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--honey);
  color: var(--navy);
}

.pg-passo {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.microbees .pg-passo__foto-mobile {
  display: none;
}

.pg-passo__n {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.6rem;
  transition: background-color 0.4s var(--ease-out);
}

.pg-passo.is-on .pg-passo__n {
  background: var(--honey);
}

.pg-passo h2 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin: 18px 0;
}

.pg-passo__testo {
  font-size: 1.2rem;
  max-width: 46ch;
}

.pg-passo ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pg-passo li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.pg-passo li svg {
  color: var(--cyan);
  flex: none;
}

.pg-academy,
body.microbees .e-con.pg-academy {
  padding-block: var(--section);
}

.pg-academy__head,
body.microbees .e-con.pg-academy__head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: 56px;
}

.pg-academy h2,
.pg-academy .elementor-heading-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

body.microbees main .pg-academy .elementor-heading-title {
  color: var(--cyan);
}

body.microbees main .pg-academy .lead,
body.microbees main .pg-academy .lead p {
  color: var(--on-navy-soft);
}

.pg-galleria {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  grid-template-rows: 260px 260px;
  grid-template-areas:
    'a b'
    'a c';
  gap: 14px;
}

.pg-galleria .g0 {
  grid-area: a;
}

.pg-galleria .g1 {
  grid-area: b;
}

.pg-galleria .g2 {
  grid-area: c;
}

.pg-galleria figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

body.microbees .pg-galleria img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(0.4);
  transition:
    transform 0.8s var(--ease-out),
    filter 0.5s var(--ease-out);
}

body.microbees .pg-galleria figure:hover img {
  transform: scale(1.06);
  filter: none;
}

@media (max-width: 860px) {
  .pg-passi {
    grid-template-columns: 1fr;
  }

  .pg-passi__foto {
    display: none;
  }

  .pg-passo {
    min-height: 0;
    padding-block: 32px;
    border-top: 1px solid var(--rule);
  }

  body.microbees .pg-passo__foto-mobile {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 24px;
  }

  .pg-academy__head {
    grid-template-columns: 1fr;
  }

  .pg-galleria {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 160px;
  }
}

/* Illustrazione del metodo (ArtMetodo) */
.ma {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ma__st,
.ma__doc {
  transform-box: fill-box;
  transform-origin: center;
}

.ma .navy {
  fill: var(--navy);
}

.ma .honey {
  fill: var(--honey);
}

.ma .paper {
  fill: #ffffff;
}

.ma .cyan-fill {
  fill: var(--cyan);
}

.ma .line {
  fill: #c6d6e6;
}

.ma__rail {
  fill: var(--navy);
}

.ma .ring {
  fill: none;
  stroke: var(--navy);
  stroke-width: 4;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
}

.ma .trend,
.ma .tick {
  fill: none;
  stroke: var(--navy);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ma .drop {
  stroke: var(--navy);
  stroke-width: 3;
  stroke-dasharray: 4 6;
}

.ma__n {
  font: 400 30px var(--font-display);
  fill: var(--navy);
  text-anchor: middle;
}

.ma__lbl {
  font: 800 19px var(--font-body);
  fill: var(--navy);
  text-anchor: middle;
}

.ma__link:hover .ma__lbl,
.ma__link:focus-visible .ma__lbl {
  text-decoration: underline;
}

/* ---------------- Chi siamo ---------------- */
.pg-intro,
body.microbees .e-con.pg-intro {
  padding-block: calc(var(--nav-space) + clamp(32px, 5vw, 72px)) clamp(56px, 8vw, 112px);
}

.pg-intro__grid,
body.microbees .e-con.pg-intro__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.pg-intro h1,
.pg-intro .elementor-heading-title {
  font-size: var(--h1-hero);
  margin-bottom: 24px;
}

body.microbees main .pg-intro .lead,
body.microbees main .pg-intro .lead p {
  color: var(--on-cyan-soft);
}

.pg-intro__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 2px solid var(--navy);
}

.pg-intro__facts div {
  padding: 18px 0;
  border-bottom: 1px solid rgb(23 17 81 / 0.25);
}

.pg-intro__facts dt {
  font-size: 0.9rem;
  font-weight: 600;
}

.pg-intro__facts dd {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.pg-storia,
body.microbees .e-con.pg-storia {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
  padding-block: var(--section);
}

.pg-storia h2,
.pg-storia .elementor-heading-title,
.pg-team h2,
.pg-team .elementor-heading-title,
.pg-missione h2,
.pg-missione .elementor-heading-title,
.pg-evo h2,
.pg-evo .elementor-heading-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.pg-storia__text .elementor-widget-container {
  display: grid;
  gap: 20px;
  font-size: 1.12rem;
  max-width: 62ch;
}

.pg-storia__text p:first-child {
  font-size: 1.3rem;
}

.pg-evo,
body.microbees .e-con.pg-evo {
  padding-block: var(--section);
}

.pg-evo__grid,
body.microbees .e-con.pg-evo__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
}

body.microbees main .pg-evo .elementor-heading-title {
  color: var(--cyan);
}

body.microbees main .pg-evo .lead {
  margin-bottom: 20px;
}

.pg-evo p:not(.lead) {
  color: var(--on-navy-soft);
  max-width: 60ch;
}

.pg-team,
body.microbees .e-con.pg-team {
  padding-block: var(--section);
}

.pg-team h2,
.pg-team .elementor-heading-title {
  margin-bottom: 48px;
}

.pg-team__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 42%), 1fr));
  gap: 40px clamp(12px, 2vw, 24px);
}

.pg-team__grid li {
  text-align: center;
}

body.microbees .pg-team__grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 100 / 112;
  object-fit: cover;
  object-position: center 18%;
  background: var(--paper-2);
  margin-bottom: 16px;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask: var(--hex-mask) center / 100% 100% no-repeat;
  mask: var(--hex-mask) center / 100% 100% no-repeat;
  filter: grayscale(1) contrast(1.05);
  transition:
    filter 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

body.microbees .pg-team__grid li:hover img {
  filter: none;
  transform: translateY(-6px);
}

.pg-team__grid h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
  transition: color 0.3s var(--ease-out);
}

.pg-team__grid li:hover h3 {
  color: var(--cyan);
}

.pg-team__grid p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Nome e ruolo compaiono insieme al colore (sui dispositivi senza mouse restano sempre visibili) */
@media (hover: hover) {
  .pg-team__grid h3,
  .pg-team__grid p {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.4s var(--ease-out),
      transform 0.4s var(--ease-out),
      color 0.3s var(--ease-out);
  }

  .pg-team__grid li:hover h3,
  .pg-team__grid li:hover p {
    opacity: 1;
    transform: none;
  }
}

.pg-missione,
body.microbees .e-con.pg-missione {
  padding-block: var(--section);
}

.pg-missione__grid,
body.microbees .e-con.pg-missione__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
}

.pg-missione__text {
  max-width: 62ch;
}

.pg-missione__text .elementor-widget-text-editor .elementor-widget-container {
  display: grid;
  gap: 20px;
}

.pg-missione__text .pg-missione__list {
  margin-top: 28px;
}

.pg-missione__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pg-missione__list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}

.pg-missione__list svg {
  color: var(--cyan);
  flex: none;
}

.pg-cta,
body.microbees .e-con.pg-cta {
  padding-block: clamp(56px, 7vw, 96px);
}

.pg-cta__inner,
body.microbees .e-con.pg-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.pg-cta h2,
.pg-cta .elementor-heading-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  max-width: 22ch;
}

@media (max-width: 860px) {
  .pg-intro__grid,
  .pg-storia,
  .pg-evo__grid,
  .pg-missione__grid {
    grid-template-columns: 1fr;
  }

  .pg-missione__list {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Modulo "Raccontaci un flow" (FlowForm) ---------------- */
.flow__sentence {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.7;
  color: var(--on-navy);
}

.flow__inline {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}

.flow__inline .wpcf7-form-control-wrap {
  display: inline-block;
}

.flow__inline input {
  width: 11.2em;
  max-width: 100%;
  padding: 0.05em 0.45em;
  border: 2px solid rgb(238 246 251 / 0.28);
  border-radius: 12px;
  background: rgb(238 246 251 / 0.08);
  color: var(--cyan);
  font: inherit;
  transition:
    border-color 0.25s var(--ease-out),
    background-color 0.25s var(--ease-out);
}

.flow__inline--wide {
  white-space: nowrap;
}

.flow__inline--wide input {
  width: 10.6em;
}

.flow__dot {
  margin-left: 2px;
}

.flow__inline input::placeholder {
  color: #7d86b8;
}

.flow__inline input:hover {
  border-color: rgb(238 246 251 / 0.55);
}

.flow__inline input:focus-visible {
  outline: none;
  border-color: var(--honey);
  background: rgb(238 246 251 / 0.14);
}

.flow__inline input.wpcf7-not-valid {
  border-color: #ff9c8a;
}

.flow .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.35;
  color: #ffb3a6;
}

.flow__card {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid rgb(238 246 251 / 0.22);
  transition: border-color 0.25s var(--ease-out);
}

.flow__card:focus-within {
  border-top-color: var(--honey);
}

.flow__label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem) !important;
  font-weight: 400 !important;
  color: var(--on-navy);
}

.flow__label svg {
  color: var(--honey);
  flex: none;
}

.flow__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 16px;
}

.flow__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgb(238 246 251 / 0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--on-navy);
  font: 600 0.9rem var(--font-body);
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.flow__chip svg {
  color: var(--cyan);
  transition: color 0.2s var(--ease-out);
}

.flow__chip:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
  transform: translateY(-2px);
}

.flow__chip:hover svg {
  color: var(--navy);
}

.flow__chip:active {
  transform: scale(0.96);
}

.flow__card .wpcf7-form-control-wrap {
  display: block;
}

.flow__card textarea {
  display: block;
  width: 100%;
  min-height: 150px;
  padding: 16px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  background: rgb(7 5 32 / 0.35);
  color: var(--on-navy);
  font: inherit;
  font-size: 1.08rem;
  line-height: 1.6;
  resize: vertical;
}

.flow__card textarea::placeholder {
  color: #8c95c4;
}

.flow__card textarea:focus-visible {
  outline: none;
  border-color: var(--honey);
}

.flow__card textarea.wpcf7-not-valid {
  border-color: #ff9c8a;
}

.flow__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--on-navy-soft);
}

.flow__count {
  font-variant-numeric: tabular-nums;
}

.flow__submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
}

.flow__note {
  color: var(--on-navy-soft);
}

.flow .wpcf7-spinner {
  margin: 0;
}

.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  border: 2px solid var(--honey);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #6ee7a8;
  color: #6ee7a8;
}

@media (max-width: 640px) {
  .flow__inline {
    display: block;
    margin-block: 4px;
  }

  .flow__inline input,
  .flow__inline--wide input {
    width: calc(100% - 12px);
  }
}

/* ---------------- Home ---------------- */
/* Spazio fra testo e campo nell'hero: Elementor azzera i margini dei widget nei container */
body.microbees .mb-hero .mb-lead {
  margin-bottom: 32px;
}

/* Hero: didascalie delle due colonne (ingressi / azioni compiute) */
body.microbees .sys__cap {
  position: absolute;
  top: 0;
  font: 800 clamp(10px, 2cqw, 12px) var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-cyan-soft);
}

body.microbees .sys__cap--in {
  left: 0;
}

body.microbees .sys__cap--out {
  right: 0;
}

/* Segui un documento: la linea con le icone sta staccata dal testo sopra */
body.microbees .mb-viaggio .journey__track {
  margin-top: clamp(40px, 5vw, 64px);
}

.pg-head__extra {
  margin-top: 32px;
}

/* Hero: titolo su due righe senza tagli */
body.microbees .mb-hero h1.elementor-heading-title {
  font-size: var(--h1-hero);
}

/* Hero: un solo segno di focus per tutto il blocco (campo e pulsante), uguale al resto del sito */
body.microbees .ask__pill:focus-within {
  border-color: transparent;
}

body.microbees .ask__pill:has(:focus-visible) {
  outline: 3px solid var(--honey);
  outline-offset: 3px;
}

body.microbees .ask__pill input:focus-visible,
body.microbees .ask__pill .btn:focus-visible {
  outline: none;
}

/* Hero: a fine animazione il form non resta ritagliato (tagliava l'anello di focus) */
body.microbees .mb-hero .ask {
  animation-fill-mode: backwards;
}

/* Home, le persone: esagoni in bianco e nero, nome e ruolo all'hover */
body.microbees .mb .faces li {
  text-align: center;
}

body.microbees .mb .faces img {
  aspect-ratio: 100 / 112;
  object-position: center 18%;
  border-radius: 0;
  -webkit-mask: var(--hex-mask) center / 100% 100% no-repeat;
  mask: var(--hex-mask) center / 100% 100% no-repeat;
}

body.microbees .mb .faces span {
  display: block;
}

@media (hover: hover) {
  body.microbees .mb .faces strong,
  body.microbees .mb .faces span {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.4s var(--ease-out),
      transform 0.4s var(--ease-out);
  }

  body.microbees .mb .faces li:hover strong,
  body.microbees .mb .faces li:hover span {
    opacity: 1;
    transform: none;
  }
}

/* Hero della home: spazio sotto la navbar (stesso del sito Nuxt; Elementor ignora il padding della home) */
body.microbees .e-con.mb-hero {
  padding-top: calc(var(--nav-space) - 24px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
