/* =========================================================
   Studio Tecnico EG – one-pager  v2
   Tutte le regole sono confinate nel contenitore .steg:
   non toccano il tema né le altre pagine.
   ========================================================= */

/* ---------- Token ---------- */
.steg {
  /* Terne RGB per le trasparenze: rgb(var(--steg-x-rgb) / .5). Cambiando qui cambia tutto. */
  --steg-ink-rgb: 26 34 43;
  --steg-paper-rgb: 247 246 242;
  --steg-action-rgb: 31 116 184;
  --steg-light-action-rgb: 108 184 236;
  --steg-on-night-rgb: 238 242 245;

  --steg-ink: rgb(var(--steg-ink-rgb));
  --steg-ink-2: #4a5460;
  --steg-paper: rgb(var(--steg-paper-rgb));
  --steg-surface: #ffffff;
  --steg-rule: #d9d7cf;
  --steg-field-line: #7d8590;
  --steg-action: rgb(
    var(--steg-action-rgb)
  ); /* azzurro principale: 4.9:1 con testo bianco */
  --steg-action-hover: #185f98;
  --steg-tint: #e6f0f8;
  --steg-tint-line: #a9c8e2;
  --steg-deep: #123a5c; /* fascia "Come si avvia un incarico" */
  --steg-on-deep-2: #c3d4e3;
  --steg-night: #141c24;
  --steg-footer: #0f151b;
  --steg-on-night: rgb(var(--steg-on-night-rgb));
  --steg-on-night-2: #b3c0cc;
  --steg-on-dark-muted: #c5ced6;
  --steg-light-action: rgb(var(--steg-light-action-rgb));
  --steg-light-action-hover: #8fcaf2;
  --steg-light-accent: #9fd0f2;
  --steg-selection: #cde2f3;
  --steg-error: #a3271f;

  --steg-font-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --steg-font-body: 'IBM Plex Sans', 'Segoe UI', Roboto, Arial, sans-serif;

  --steg-wrap: 1200px;
  --steg-gutter: clamp(1rem, 4vw, 2.5rem);
  --steg-section-y: clamp(3.75rem, 7.5vw, 6.5rem);
  --steg-header-h: 72px;
  --steg-radius: 4px;
  --steg-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --steg-q: var(--steg-action); /* colore del segno di quota */
}

/* Comportamenti di pagina: si attivano solo dove esiste il markup .steg */
html:has(.steg) {
  scroll-padding-top: calc(var(--steg-header-h, 72px) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.steg) {
    scroll-behavior: smooth;
  }
}
body:has(.steg) {
  margin: 0;
  background: rgb(247 246 242);
} /* = --steg-paper: il token non è visibile fuori da .steg. margin: prima lo azzerava il tema */

/* ---------- Base e reset locale (difesa dagli stili del tema) ---------- */
.steg {
  position: relative;
  isolation: isolate;
  background: var(--steg-paper);
  color: var(--steg-ink);
  font-family: var(--steg-font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
  overflow-x: clip; /* nessun elemento può allargare la pagina oltre lo schermo (clip, non hidden: lo sticky dell'header resta) */
}
.steg *,
.steg *::before,
.steg *::after {
  box-sizing: border-box;
}
/* Hello Elementor mette white-space: nowrap su tutti i <button>: i testi lunghi uscirebbero dallo schermo */
.steg button {
  white-space: normal;
}
.steg
  :where(
    h1,
    h2,
    h3,
    h4,
    p,
    ul,
    ol,
    dl,
    dd,
    figure,
    figcaption,
    blockquote,
    details,
    summary
  ) {
  margin: 0;
  padding: 0;
}
.steg :where(ul, ol) {
  list-style: none;
}
.steg img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.steg .steg-cap,
.steg .steg-portrait,
.steg .steg-portrait__tag {
  margin: 0;
  font-style: normal;
}
.steg ::selection {
  background: var(--steg-selection);
  color: var(--steg-ink);
}
.steg :focus-visible {
  outline: 2px solid var(--steg-action);
  outline-offset: 3px;
}
.steg .steg-contact :focus-visible,
.steg .steg-footer :focus-visible,
.steg .steg-steps :focus-visible {
  outline-color: var(--steg-light-action);
}

.steg .steg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.steg .steg-fill {
  fill: currentColor;
  stroke: none;
}
.steg .steg-icon.steg-icon--fill {
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
}
.steg .steg-icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.steg .steg-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.steg .steg-skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--steg-ink);
  color: #fff;
  padding: 0.75rem 1rem;
  text-decoration: none;
}
.steg .steg-skip:focus {
  top: 1rem;
}

.steg .steg-wrap {
  width: 100%;
  max-width: calc(var(--steg-wrap) + 2 * var(--steg-gutter));
  margin-inline: auto;
  padding-inline: var(--steg-gutter);
}
.steg .steg-section {
  padding-block: var(--steg-section-y);
}

/* ---------- Tipografia ---------- */
.steg .steg-h1,
.steg .steg-h2,
.steg .steg-h3,
.steg .steg-h4 {
  font-family: var(--steg-font-display);
  font-style: normal;
  color: inherit;
  text-transform: none;
  text-wrap: balance;
}
.steg .steg-h1 {
  font-size: clamp(2.3rem, 1.35rem + 3.9vw, 4.1rem);
  font-weight: 700;
  font-stretch: 84%;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 17ch;
}
.steg .steg-h2 {
  font-size: clamp(1.8rem, 1.25rem + 2.2vw, 2.8rem);
  font-weight: 700;
  font-stretch: 86%;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
/* Segno di quota sopra i titoli di sezione: linea con tacche, dal disegno tecnico */
.steg .steg-h2::before {
  content: '';
  display: block;
  width: 3.25rem;
  height: 0.7rem;
  margin-bottom: 1.1rem;
  border-left: 2px solid var(--steg-q);
  border-right: 2px solid var(--steg-q);
  background: linear-gradient(var(--steg-q), var(--steg-q)) center / 100% 2px
    no-repeat;
}
.steg .steg-h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem);
  font-weight: 650;
  font-stretch: 94%;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.steg .steg-h4 {
  font-size: 0.95rem;
  font-weight: 650;
  font-stretch: 100%;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.steg .steg-lead {
  font-size: clamp(1.075rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--steg-ink-2);
  max-width: 58ch;
}
.steg .steg-body {
  color: var(--steg-ink-2);
  max-width: 68ch;
}
.steg .steg-body + .steg-body {
  margin-top: 1em;
}
.steg .steg-body strong {
  font-weight: 600;
  color: var(--steg-ink);
}

.steg .steg-link {
  color: var(--steg-action);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  font-weight: 500;
}
.steg .steg-link:hover {
  color: var(--steg-action-hover);
  text-decoration-thickness: 2px;
}

/* Elenco con marcatore a quota */
.steg .steg-quota-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.65rem;
  color: var(--steg-ink-2);
}
.steg .steg-quota-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(0.4rem + 0.5em);
  width: 0.95rem;
  height: 0.6rem;
  border-left: 1.5px solid var(--steg-action);
  border-right: 1.5px solid var(--steg-action);
  background: linear-gradient(var(--steg-action), var(--steg-action)) center /
    100% 1.5px no-repeat;
}

/* ---------- Bottoni ---------- */
.steg .steg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  font-family: var(--steg-font-body);
  font-size: 1rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  border: 1.5px solid transparent;
  border-radius: var(--steg-radius);
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 0.15s var(--steg-ease),
    color 0.15s var(--steg-ease),
    border-color 0.15s var(--steg-ease),
    transform 0.15s var(--steg-ease);
}
.steg .steg-btn:active {
  transform: translateY(1px);
}
.steg .steg-btn--sm {
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}
.steg .steg-btn .steg-icon {
  transition: transform 0.15s var(--steg-ease);
}
.steg .steg-btn--primary {
  background: var(--steg-action);
  border-color: var(--steg-action);
  color: #fff;
}
.steg .steg-btn--primary:hover {
  background: var(--steg-action-hover);
  border-color: var(--steg-action-hover);
  color: #fff;
}
.steg .steg-btn--ghost {
  background: transparent;
  border-color: var(--steg-ink);
  color: var(--steg-ink);
}
.steg .steg-btn--ghost:hover {
  background: var(--steg-ink);
  color: var(--steg-paper);
}
.steg .steg-btn--light {
  background: var(--steg-light-action);
  border-color: var(--steg-light-action);
  color: var(--steg-ink);
}
.steg .steg-btn--light:hover {
  background: var(--steg-light-action-hover);
  border-color: var(--steg-light-action-hover);
  color: var(--steg-ink);
}
.steg .steg-btn:hover .steg-icon--go {
  transform: translateX(3px);
}
.steg .steg-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.steg .steg-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--steg-surface);
  color: var(--steg-ink);
  border: 1.5px solid var(--steg-ink);
  border-radius: var(--steg-radius);
  cursor: pointer;
  transition:
    background-color 0.15s var(--steg-ease),
    color 0.15s var(--steg-ease),
    opacity 0.15s;
}
.steg .steg-iconbtn:hover:not([disabled]) {
  background: var(--steg-ink);
  color: var(--steg-paper);
}
.steg .steg-iconbtn[disabled] {
  opacity: 0.35;
  cursor: default;
}
.steg .steg-iconbtn .steg-icon {
  width: 22px;
  height: 22px;
}

/* ---------- Header ---------- */
.steg .steg-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 50;
  background: rgb(var(--steg-paper-rgb) / 0.96);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s var(--steg-ease),
    box-shadow 0.2s var(--steg-ease);
}
@supports (backdrop-filter: blur(8px)) {
  .steg .steg-header {
    background: rgb(var(--steg-paper-rgb) / 0.88);
    backdrop-filter: saturate(1.2) blur(8px);
  }
}
.steg .steg-header.is-scrolled {
  border-bottom-color: var(--steg-rule);
  box-shadow: 0 6px 18px -14px rgb(var(--steg-ink-rgb) / 0.35);
}
.steg .steg-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--steg-header-h);
}
.steg .steg-header__logo {
  display: block;
  flex: none;
}
/* Logo 989×137 (≈7.2:1): altezza fluida 36→48px, cresce con lo spazio disponibile accanto al menu */
.steg .steg-header__logo img {
  height: clamp(45px, 3.8vw, 55px);
  width: auto;
}
.steg .steg-nav {
  margin-left: auto;
}
.steg .steg-nav__list {
  display: flex;
  gap: 0.15rem;
}
.steg .steg-nav__link {
  position: relative;
  display: block;
  padding: 0.6rem 0.65rem;
  color: var(--steg-ink);
  font-size: 0.975rem;
  font-weight: 500;
  text-decoration: none;
}
.steg .steg-nav__link::after {
  content: '';
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--steg-action);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--steg-ease);
}
.steg .steg-nav__link:hover::after,
.steg .steg-nav__link[aria-current='true']::after {
  transform: scaleX(1);
}
.steg .steg-nav__link[aria-current='true'] {
  color: var(--steg-action);
}
.steg .steg-nav__mobile-extra {
  display: none;
}
.steg .steg-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.steg .steg-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--steg-ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.steg .steg-header__phone:hover {
  color: var(--steg-action);
}
.steg .steg-header__toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -0.6rem;
  padding: 0;
  background: transparent;
  color: var(--steg-ink);
  border: 0;
  border-radius: var(--steg-radius);
  cursor: pointer;
}
.steg .steg-header__toggle .steg-icon {
  width: 26px;
  height: 26px;
}
.steg .steg-header__toggle .steg-icon--close {
  display: none;
}
.steg .steg-header__toggle[aria-expanded='true'] .steg-icon--open {
  display: none;
}
.steg .steg-header__toggle[aria-expanded='true'] .steg-icon--close {
  display: block;
}
.steg .steg-link-plain {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--steg-ink);
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 1239px) {
  .steg .steg-header__phone {
    display: none;
  }
}
/* Menu a tendina sotto i 1024px: con il logo più grande le 6 voci non stanno più accanto */
@media (max-width: 1023px) {
  .steg .steg-header__toggle {
    display: inline-grid;
  }
  .steg .steg-header__actions {
    margin-left: auto;
  }
  .steg .steg-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 0.5rem var(--steg-gutter) 1.5rem;
    background: var(--steg-paper);
    border-bottom: 1px solid var(--steg-rule);
    box-shadow: 0 18px 30px -24px rgb(var(--steg-ink-rgb) / 0.5);
    display: none;
  }
  .steg .steg-nav.is-open {
    display: block;
  }
  .steg .steg-nav__list {
    flex-direction: column;
    gap: 0;
  }
  .steg .steg-nav__list li + li {
    border-top: 1px solid var(--steg-rule);
  }
  .steg .steg-nav__link {
    padding: 0.95rem 0;
    font-size: 1.1rem;
  }
  .steg .steg-nav__link::after {
    display: none;
  }
  .steg .steg-nav__mobile-extra {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 0.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--steg-ink);
  }
}
@media (max-width: 899px) {
  .steg {
    --steg-header-h: 68px;
  }
  /* 30px a 320px di schermo, 40px da ~420px: lascia sempre spazio al pulsante menu */
  .steg .steg-header__logo img {
    height: clamp(30px, 9.5vw, 40px);
  }
  .steg .steg-header__actions .steg-btn {
    display: none;
  } /* sostituito dalla barra azioni in basso */
}

/* ---------- Hero ---------- */
.steg .steg-hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
/* Carta millimetrata: maglia da 12px e da 60px, sfumata verso il testo */
.steg .steg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(
      to right,
      rgb(var(--steg-ink-rgb) / 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgb(var(--steg-ink-rgb) / 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(
      to right,
      rgb(var(--steg-action-rgb) / 0.12) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgb(var(--steg-action-rgb) / 0.12) 1px,
      transparent 1px
    );
  background-size:
    12px 12px,
    12px 12px,
    60px 60px,
    60px 60px;
  -webkit-mask-image: linear-gradient(100deg, transparent 22%, #000 72%);
  mask-image: linear-gradient(100deg, transparent 22%, #000 72%);
  pointer-events: none;
}
@media (max-width: 959px) {
  .steg .steg-hero::before {
    -webkit-mask-image: linear-gradient(to bottom, transparent 38%, #000 70%);
    mask-image: linear-gradient(to bottom, transparent 38%, #000 70%);
  }
}
.steg .steg-hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 960px) {
  .steg .steg-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }
  .steg .steg-hero__text {
    padding-top: clamp(0.5rem, 2vw, 1.75rem);
  }
}
.steg .steg-hero__text .steg-lead {
  margin-top: 1.5rem;
}
/* Elenco servizi con trattino; le parole chiave in maiuscoletto come nel testo del cliente */
.steg .steg-hero__list {
  margin-top: 1rem;
  max-width: 58ch;
}
.steg .steg-hero__list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.35em;
  color: var(--steg-ink-2);
  line-height: 1.45;
}
.steg .steg-hero__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--steg-action);
  font-weight: 600;
}
.steg .steg-hero__for {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--steg-ink-2);
  max-width: 58ch;
}
.steg .steg-hero__list strong,
.steg .steg-hero__for strong {
  font-weight: 600;
  color: var(--steg-ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.92em;
}
.steg .steg-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.steg .steg-hero__sheet {
  position: relative;
}
.steg .steg-hero__photo {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--steg-rule);
}
.steg .steg-hero__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 38% 50%;
}
.steg .steg-hero__photocap {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--steg-ink);
  background: rgb(var(--steg-paper-rgb) / 0.92);
}

/* Cartiglio: il riquadro dati delle tavole tecniche, appoggiato sulla foto */
.steg .steg-cartiglio {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  margin: -7.5rem 0 0 -3rem;
  background: var(--steg-surface);
  border: 1.5px solid var(--steg-ink);
  font-size: 0.925rem;
  box-shadow: 0 22px 44px -28px rgb(var(--steg-ink-rgb) / 0.55);
}
@media (max-width: 959px) {
  .steg .steg-cartiglio {
    margin: -3.5rem auto 0;
    width: calc(100% - 1.5rem);
  }
}
.steg .steg-cartiglio__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--steg-ink);
  color: var(--steg-paper);
}
.steg .steg-cartiglio__name {
  font-family: var(--steg-font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.steg .steg-cartiglio__place {
  font-size: 0.82rem;
  color: var(--steg-on-dark-muted);
}
.steg .steg-cartiglio__rows {
  margin: 0;
}
.steg .steg-cartiglio__row {
  position: relative;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
}
.steg .steg-cartiglio__row::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--steg-ink);
  transform-origin: left center;
}
.steg .steg-cartiglio__row:first-child::before {
  display: none;
}
.steg .steg-cartiglio dt,
.steg .steg-cartiglio dd {
  display: flex;
  align-items: center;
  margin: 0;
}
.steg .steg-cartiglio dt {
  position: relative;
  padding: 0.62rem 0.8rem 0.62rem 1rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steg-ink-2);
}
.steg .steg-cartiglio__row > dt::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: var(--steg-rule);
  transform-origin: center top;
}
.steg .steg-cartiglio dd {
  padding: 0.62rem 1rem 0.62rem 0.85rem;
  font-weight: 500;
  color: var(--steg-ink);
}
.steg .steg-cartiglio__row--split {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}
.steg .steg-cartiglio__row--split > div {
  display: block;
  position: relative;
}
.steg .steg-cartiglio__row--split > div + div::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--steg-ink);
  transform-origin: center top;
}
.steg .steg-cartiglio__row--split dt {
  display: block;
  padding-bottom: 0;
}
.steg .steg-cartiglio__row--split dd {
  display: block;
  padding: 0.15rem 1rem 0.7rem;
}
@media (max-width: 420px) {
  .steg .steg-cartiglio__row {
    grid-template-columns: 6.4rem minmax(0, 1fr);
  }
  .steg .steg-cartiglio dt {
    padding-left: 0.8rem;
    padding-right: 0.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }
}

/* Unico momento animato: il cartiglio si traccia come al plotter.
   Il testo è visibile da subito; si disegnano solo le linee. */
@media (prefers-reduced-motion: no-preference) {
  .steg .steg-cartiglio__head {
    animation: steg-wipe 0.6s var(--steg-ease) 0.1s both;
  }
  .steg .steg-cartiglio__row::before {
    animation: steg-draw-x 0.5s var(--steg-ease) both;
    animation-delay: calc(0.2s + var(--i, 0) * 0.08s);
  }
  .steg .steg-cartiglio__row > dt::after,
  .steg .steg-cartiglio__row--split > div + div::before {
    animation: steg-draw-y 0.45s var(--steg-ease) both;
    animation-delay: calc(0.35s + var(--i, 0) * 0.08s);
  }
}
@keyframes steg-wipe {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes steg-draw-x {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes steg-draw-y {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* ---------- Servizi ---------- */
.steg .steg-services {
  border-top: 1px solid var(--steg-rule);
}
.steg .steg-services__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 960px) {
  .steg .steg-services__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .steg .steg-services__intro {
    position: sticky;
    top: calc(
      var(--steg-header-h) + var(--wp-admin--admin-bar--height, 0px) + 2rem
    );
    align-self: start;
  }
}
.steg .steg-services__intro .steg-body {
  margin-top: 1.25rem;
}
.steg .steg-services__intro .steg-h4 {
  margin-top: 2.25rem;
}
.steg .steg-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.steg .steg-clients li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--steg-ink);
  background: var(--steg-surface);
  border: 1px solid var(--steg-rule);
  border-radius: var(--steg-radius);
}
.steg .steg-clients .steg-icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--steg-action);
  stroke-width: 1.75;
}
.steg .steg-services__list {
  border-top: 1.5px solid var(--steg-ink);
}
.steg .steg-svc {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--steg-rule);
  scroll-margin-top: calc(var(--steg-header-h) + 24px);
}
.steg .steg-svc__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--steg-action);
  background: var(--steg-tint);
  border-radius: var(--steg-radius);
}
.steg .steg-svc__icon .steg-icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.75;
}
.steg .steg-svc .steg-body {
  margin-top: 0.55rem;
}
.steg .steg-svc__terms {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--steg-action);
  font-weight: 500;
}
/* Pulsante della fisarmonica: lo inserisce il JS solo su mobile */
.steg .steg-svc__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  text-transform: none;
  letter-spacing: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}
.steg .steg-svc__toggle .steg-icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--steg-action);
  transition: transform 0.2s var(--steg-ease);
}
.steg .steg-svc__toggle[aria-expanded='true'] .steg-icon {
  transform: rotate(45deg);
}

/* ---------- Incarico (fascia blu) ---------- */
.steg .steg-steps {
  --steg-q: var(--steg-light-accent);
  background: var(--steg-deep);
  color: var(--steg-on-night);
}
.steg .steg-steps__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.steg .steg-steps .steg-body {
  color: var(--steg-on-deep-2);
}
.steg .steg-steps__list {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.steg .steg-step {
  padding-block: 1.5rem;
  border-top: 1px solid rgb(var(--steg-on-night-rgb) / 0.22);
}
.steg .steg-step:first-child {
  border-top: 1.5px solid rgb(var(--steg-on-night-rgb) / 0.7);
}
@media (min-width: 900px) {
  .steg .steg-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1.5px solid rgb(var(--steg-on-night-rgb) / 0.7);
  }
  .steg .steg-step,
  .steg .steg-step:first-child {
    border-top: 0;
    padding-inline: clamp(1.25rem, 2.5vw, 2rem);
    padding-top: 1.75rem;
  }
  .steg .steg-step:first-child {
    padding-left: 0;
  }
  .steg .steg-step + .steg-step {
    border-left: 1px solid rgb(var(--steg-on-night-rgb) / 0.22);
  }
}
.steg .steg-step__n {
  display: block;
  font-family: var(--steg-font-display);
  font-stretch: 80%;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--steg-light-accent);
  margin-bottom: 1rem;
}
.steg .steg-step .steg-body {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* ---------- Studio ---------- */
.steg .steg-about__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 900px) {
  .steg .steg-about__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}
.steg .steg-portrait {
  max-width: 290px;
}
.steg .steg-portrait__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--steg-rule);
  border: 1.5px solid var(--steg-ink);
  border-bottom: 0;
}
.steg .steg-portrait__frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 20%;
}
.steg .steg-portrait__tag {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--steg-ink);
  color: var(--steg-paper);
}
.steg .steg-portrait__name {
  display: block;
  font-family: var(--steg-font-display);
  font-weight: 650;
  font-size: 1.05rem;
}
.steg .steg-portrait__role {
  display: block;
  font-size: 0.85rem;
  color: var(--steg-on-dark-muted);
}
.steg .steg-about__text .steg-h2 {
  margin-bottom: 1.5rem;
}
.steg .steg-about__text .steg-h4 {
  margin-top: 2rem;
  margin-bottom: 0.35rem;
}
.steg .steg-about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Timeline come linea di quota */
.steg .steg-timeline {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.steg .steg-timeline li {
  color: var(--steg-ink-2);
}
.steg .steg-timeline__y {
  display: block;
  font-family: var(--steg-font-display);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--steg-ink);
}
/* Solo da desktop: su mobile è nascosta (vedi "Mobile compatto") */
.steg .steg-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.steg .steg-timeline__y {
  padding-bottom: 0.9rem;
}
.steg .steg-timeline__t {
  position: relative;
  display: block;
  padding: 1.1rem 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  border-top: 1.5px solid var(--steg-ink);
}
.steg .steg-timeline__t::before {
  content: '';
  position: absolute;
  left: 0;
  top: -0.55rem;
  width: 2px;
  height: 1.1rem;
  background: var(--steg-action);
}
.steg .steg-timeline li:last-child .steg-timeline__t::after {
  content: '';
  position: absolute;
  right: 0;
  top: -0.55rem;
  width: 2px;
  height: 1.1rem;
  background: var(--steg-ink);
}

/* ---------- Cantieri ---------- */
.steg .steg-works {
  background: var(--steg-surface);
  border-block: 1px solid var(--steg-rule);
}
.steg .steg-works__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.steg .steg-works__head .steg-body {
  margin-top: 1rem;
  max-width: 56ch;
}
.steg .steg-works__controls {
  display: flex;
  gap: 0.5rem;
}
.steg .steg-works__viewport {
  margin-top: clamp(2rem, 4vw, 3rem);
}
.steg .steg-track {
  --steg-card: min(370px, 82vw);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--steg-card);
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(
    var(--steg-gutter),
    calc((100% - var(--steg-wrap)) / 2)
  );
  padding-inline: max(var(--steg-gutter), calc((100% - var(--steg-wrap)) / 2));
  padding-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--steg-ink-2) var(--steg-rule);
}
.steg .steg-track::-webkit-scrollbar {
  height: 6px;
}
.steg .steg-track::-webkit-scrollbar-track {
  background: var(--steg-rule);
}
.steg .steg-track::-webkit-scrollbar-thumb {
  background: var(--steg-ink-2);
}
.steg .steg-track:focus-visible {
  outline-offset: -2px;
}
.steg .steg-card {
  scroll-snap-align: start;
}
.steg .steg-card figure {
  margin: 0;
}
.steg .steg-card img {
  width: 100%;
  aspect-ratio: 370 / 280;
  object-fit: cover;
  background: var(--steg-rule);
}
/* Scheda con due foto affiancate (stessa altezza della scheda singola) */
.steg .steg-card__duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.steg .steg-card__duo img {
  aspect-ratio: 183 / 280;
}
.steg .steg-card .steg-cap {
  display: block;
  padding-top: 0.85rem;
}
.steg .steg-card__title {
  display: block;
  font-weight: 600;
  color: var(--steg-ink);
  line-height: 1.35;
}
.steg .steg-card__meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  color: var(--steg-ink-2);
}
.steg .steg-works__note {
  margin-top: 1.25rem;
}

/* ---------- FAQ ---------- */
.steg .steg-faq__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 960px) {
  .steg .steg-faq__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .steg .steg-faq__intro {
    position: sticky;
    top: calc(
      var(--steg-header-h) + var(--wp-admin--admin-bar--height, 0px) + 2rem
    );
    align-self: start;
  }
}
.steg .steg-faq__intro .steg-body {
  margin-top: 1.25rem;
}
.steg .steg-faq__more {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--steg-ink-2);
}
.steg .steg-faq__list {
  border-top: 1.5px solid var(--steg-ink);
}
.steg .steg-faq__item {
  border-bottom: 1px solid var(--steg-rule);
}
.steg .steg-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--steg-font-display);
  font-stretch: 94%;
  font-weight: 650;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.3;
  color: var(--steg-ink);
}
.steg .steg-faq__q::-webkit-details-marker {
  display: none;
}
.steg .steg-faq__q::marker {
  content: '';
}
.steg .steg-faq__q:hover {
  color: var(--steg-action);
}
.steg .steg-faq__q .steg-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--steg-action);
  transition: transform 0.2s var(--steg-ease);
}
.steg .steg-faq__item[open] .steg-faq__q .steg-icon {
  transform: rotate(45deg);
}
.steg .steg-faq__a {
  padding: 0 2.75rem 1.4rem 0;
}
.steg .steg-faq__a p {
  color: var(--steg-ink-2);
  max-width: 64ch;
}

/* ---------- Dove si trova (solo mobile; da desktop la mappa è nei contatti) ---------- */
.steg .steg-where {
  border-top: 1px solid var(--steg-rule);
}
@media (min-width: 900px) {
  .steg .steg-where {
    display: none;
  }
}
.steg .steg-where__map {
  margin-top: 2rem;
}
.steg .steg-where__addr {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.5rem 0 1.75rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--steg-ink-2);
}
.steg .steg-where__addr strong {
  color: var(--steg-ink);
  font-weight: 600;
}
.steg .steg-where__addr .steg-icon {
  margin-top: 0.2rem;
  color: var(--steg-action);
}

/* Mappa: la carta millimetrata fa da sfondo mentre l'iframe carica o finché iubenda lo blocca */
.steg .steg-map {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--steg-surface);
  background-image:
    linear-gradient(
      to right,
      rgb(var(--steg-ink-rgb) / 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgb(var(--steg-ink-rgb) / 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(
      to right,
      rgb(var(--steg-action-rgb) / 0.14) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgb(var(--steg-action-rgb) / 0.14) 1px,
      transparent 1px
    );
  background-size:
    12px 12px,
    12px 12px,
    60px 60px,
    60px 60px;
  border: 1.5px solid var(--steg-ink);
}
.steg .steg-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Contatti ---------- */
.steg .steg-contact {
  --steg-q: var(--steg-light-accent);
  position: relative;
  isolation: isolate;
  background: var(--steg-night);
  color: var(--steg-on-night);
}
.steg .steg-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(
      to right,
      rgb(var(--steg-on-night-rgb) / 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgb(var(--steg-on-night-rgb) / 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      to right,
      rgb(var(--steg-light-action-rgb) / 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgb(var(--steg-light-action-rgb) / 0.1) 1px,
      transparent 1px
    );
  background-size:
    12px 12px,
    12px 12px,
    60px 60px,
    60px 60px;
  -webkit-mask-image: linear-gradient(80deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(80deg, #000 0%, transparent 55%);
  pointer-events: none;
}
.steg .steg-contact .steg-body {
  color: var(--steg-on-night-2);
  margin-top: 1.25rem;
}
.steg .steg-contact__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 960px) {
  .steg .steg-contact__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}
.steg .steg-contact__map {
  margin-top: 1.75rem;
  border-color: rgb(var(--steg-on-night-rgb) / 0.35);
}
.steg .steg-contact__list {
  margin: 2rem 0 2.25rem;
  border-top: 1px solid rgb(var(--steg-on-night-rgb) / 0.18);
}
.steg .steg-contact__list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding-block: 0.9rem;
  border-bottom: 1px solid rgb(var(--steg-on-night-rgb) / 0.18);
}
.steg .steg-contact__list .steg-icon {
  margin-top: 0.2rem;
  color: var(--steg-light-action);
}
.steg .steg-contact__label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steg-on-night-2);
}
.steg .steg-contact__value {
  color: var(--steg-on-night);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.steg .steg-contact__value:hover {
  color: var(--steg-light-action);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Form (statico in anteprima, Contact Form 7 in produzione) */
.steg .steg-form {
  background: var(--steg-surface);
  color: var(--steg-ink);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: var(--steg-radius);
}
.steg .steg-form form {
  margin: 0;
}
.steg .steg-form__grid {
  display: grid;
  gap: 1.1rem 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 600px) {
  .steg .steg-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steg .steg-field--full {
    grid-column: 1 / -1;
  }
}
.steg .steg-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
}
.steg .steg-field label,
.steg .steg-field > span > label {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--steg-ink);
}
.steg .steg-field .wpcf7-form-control-wrap {
  display: block;
}
.steg .steg-field input:not([type='checkbox']),
.steg .steg-field select,
.steg .steg-field textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0.7rem 0.85rem;
  font: 400 1rem/1.4 var(--steg-font-body);
  color: var(--steg-ink);
  background: var(--steg-surface);
  border: 1px solid var(--steg-field-line);
  border-radius: var(--steg-radius);
  box-shadow: none;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.steg .steg-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a222b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 18px;
  padding-right: 2.5rem;
}
.steg .steg-field textarea {
  min-height: 8.5rem;
  resize: vertical;
}
.steg .steg-field input:not([type='checkbox']):hover,
.steg .steg-field select:hover,
.steg .steg-field textarea:hover {
  border-color: var(--steg-ink);
}
.steg .steg-field input:not([type='checkbox']):focus,
.steg .steg-field select:focus,
.steg .steg-field textarea:focus {
  border-color: var(--steg-action);
  box-shadow: 0 0 0 3px rgb(var(--steg-action-rgb) / 0.22);
}
.steg .steg-field__hint {
  font-size: 0.85rem;
  color: var(--steg-ink-2);
}
.steg .steg-field [aria-invalid='true'],
.steg .steg-field .wpcf7-not-valid {
  border-color: var(--steg-error) !important;
}

.steg .steg-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
}
.steg .steg-check input[type='checkbox'],
.steg .steg-check .wpcf7-list-item input[type='checkbox'] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0.15rem 0 0;
  accent-color: var(--steg-action);
}
.steg .steg-check label {
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--steg-ink-2);
}
.steg .steg-check .wpcf7-list-item {
  margin: 0;
}
.steg .steg-check .wpcf7-list-item label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.steg .steg-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.6rem;
}
.steg .steg-form__foot .wpcf7-spinner {
  margin: 0;
}
.steg .steg-form__req {
  font-size: 0.85rem;
  color: var(--steg-ink-2);
}
.steg .steg-form__status:empty {
  display: none;
}
.steg .steg-form__status,
.steg .steg-form .wpcf7 form .wpcf7-response-output {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--steg-ink);
  background: var(--steg-tint);
  border: 1px solid var(--steg-tint-line);
  border-radius: var(--steg-radius);
}
.steg .steg-form .wpcf7 form.invalid .wpcf7-response-output,
.steg .steg-form .wpcf7 form.failed .wpcf7-response-output,
.steg .steg-form__status.is-error {
  background: #fbeceb;
  border-color: #e3b3ae;
  color: var(--steg-error);
}
.steg .steg-form .wpcf7-not-valid-tip {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--steg-error);
}

/* ---------- Footer ---------- */
.steg .steg-footer {
  background: var(--steg-footer);
  color: var(--steg-on-night-2);
  padding-block: 2.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.steg .steg-footer__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 820px) {
  .steg .steg-footer__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
  .steg .steg-footer__copy {
    grid-column: 1 / -1;
  }
}
.steg .steg-footer__name {
  color: var(--steg-on-night);
  font-weight: 600;
}
.steg .steg-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.steg .steg-footer a {
  color: var(--steg-on-night);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgb(var(--steg-on-night-rgb) / 0.4);
}
.steg .steg-footer a:hover {
  text-decoration-color: currentColor;
}
.steg .steg-footer__copy {
  padding-top: 1.25rem;
  border-top: 1px solid rgb(var(--steg-on-night-rgb) / 0.14);
}

/* ---------- Mobile compatto (≤899px, dove compare la barra azioni) ----------
   Regole indipendenti: per ripristinare un elemento su mobile basta togliere la sua riga. */
.steg .steg-svc__body[hidden] {
  display: none;
}
@media (max-width: 899px) {
  .steg {
    --steg-section-y: 3rem;
  }

  /* Hero: i pulsanti sono già nella barra in basso; sede e P.IVA sono in contatti e footer */
  .steg .steg-hero__cta,
  .steg .steg-cartiglio__row--split {
    display: none;
  }
  .steg .steg-hero__photo {
    aspect-ratio: 16 / 9;
  }

  /* Servizi: "Per chi lavora" ripete la riga "Per:" della hero; schede a fisarmonica */
  .steg .steg-services__intro .steg-h4 {
    display: none;
  }
  .steg .steg-services__grid {
    gap: 2rem;
  }
  .steg .steg-svc {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 1rem;
    padding-block: 0.6rem;
  }
  .steg .steg-svc__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 0.25rem;
  }
  .steg .steg-svc__icon .steg-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  .steg .steg-svc__toggle {
    padding-block: 0.35rem;
  }
  .steg .steg-svc__body {
    padding-bottom: 0.9rem;
  }

  /* Incarico: sezione e voce di menu nascoste */
  .steg .steg-steps,
  .steg .steg-nav__incarico {
    display: none;
  }

  /* Studio: solo ritratto (in orizzontale) e pulsanti CV / LinkedIn */
  .steg .steg-about__text > :not(.steg-about__links),
  .steg .steg-timeline {
    display: none;
  }
  .steg .steg-about__grid {
    gap: 1.25rem;
  }
  .steg .steg-about__links {
    flex-direction: column;
    gap: 0.5rem;
    max-width: 22rem;
    margin-top: 0;
  }
  .steg .steg-portrait {
    display: flex;
    max-width: 22rem;
  }
  .steg .steg-portrait__frame {
    flex: none;
    width: 6.5rem;
    border-bottom: 1.5px solid var(--steg-ink);
  }
  .steg .steg-portrait__tag {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Cantieri: si scorre col dito, la scheda successiva che spunta fa da indizio */
  .steg .steg-works__controls {
    display: none;
  }

  /* Dove si trova: la mappa sta qui e non nei contatti; più alta, più comoda da usare col dito */
  .steg .steg-map {
    aspect-ratio: 4 / 3;
  }
  .steg .steg-contact__map {
    display: none;
  }

  /* FAQ dopo i contatti (anche nel menu): chi arriva in fondo trova prima il preventivo */
  .steg main {
    display: flex;
    flex-direction: column;
  }
  .steg .steg-faq,
  .steg .steg-nav__faq {
    order: 1;
  }

  /* Contatti: WhatsApp è già nella barra in basso, sempre visibile */
  .steg .steg-contact__info > .steg-btn {
    display: none;
  }
}

/* ---------- Barra azioni mobile ---------- */
.steg .steg-actionbar {
  display: none;
}
@media (max-width: 899px) {
  .steg .steg-footer {
    padding-bottom: calc(2.5rem + 64px + env(safe-area-inset-bottom, 0px));
  }
  .steg .steg-actionbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    /* minmax(0, …): le colonne non si allargano oltre lo schermo anche con testi più larghi del previsto */
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 0.5rem;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: var(--steg-surface);
    border-top: 1px solid var(--steg-rule);
    box-shadow: 0 -10px 24px -18px rgb(var(--steg-ink-rgb) / 0.45);
  }
  .steg .steg-actionbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    min-height: 48px;
    padding: 0.5rem 0.3rem;
    font-size: clamp(0.8rem, 3.6vw, 0.95rem);
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    color: var(--steg-ink);
    border: 1.5px solid var(--steg-ink);
    border-radius: var(--steg-radius);
  }
  .steg .steg-actionbar .steg-actionbar__main {
    background: var(--steg-action);
    border-color: var(--steg-action);
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steg *,
  .steg *::before,
  .steg *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }
}
@media print {
  .steg .steg-header,
  .steg .steg-actionbar,
  .steg .steg-works__controls {
    display: none;
  }
}
