/* =============================================================
   HOME — front-page.php            (racconto e lusso, 01/10/2026)
   Caricato SOLO sulla home, dopo style.css. Lo stile è quello di /junior
   (contenuti/stile-lusso.md): una sola maison. Nero profondo, rosso del
   marchio come luce, bianco in trasparenza, filetti da 1 px, tipografia
   condensata grande in UN solo peso (700), tanto respiro.
   Regole:
   - si anima solo transform e opacity; prefers-reduced-motion ferma tutto;
   - nessun backdrop-filter (costa sul telefono);
   - testo rosso = --hm-red-hi (#fb3d48), pieni e bordi = --hm-red (#B0111E);
   - mai testo sotto bianco .56 su nero.
   ============================================================= */

.hm {
  --hm-ink:     #0a0a0a;
  --hm-ink-2:   #0f0f0f;
  --hm-red:     var(--accent-red);
  --hm-red-hi:  var(--accent-red-testo);
  --hm-t2:      rgba(255, 255, 255, .72);
  --hm-t3:      rgba(255, 255, 255, .56);
  --hm-line:    rgba(255, 255, 255, .12);
  --hm-line-2:  rgba(255, 255, 255, .07);
  --hm-ease:    cubic-bezier(.16, 1, .3, 1);
  --hm-display: 'Barlow Condensed', sans-serif;
  --hm-gutter:  20px;
  --hm-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background: var(--hm-ink);
  overflow-x: clip;
}
.hm .hm-red { color: var(--hm-red-hi); }
.hm-wrap {
  width: 100%; max-width: 1160px; margin: 0 auto;
  padding-left: max(var(--hm-gutter), env(safe-area-inset-left));
  padding-right: max(var(--hm-gutter), env(safe-area-inset-right));
}
.hm-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--hm-grain); background-size: 180px 180px; opacity: .06;
}
.hm a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.hm-arrow {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s var(--hm-ease);
}

/* ---------- pulsanti: tutti `.bs-cta` di style.css (il pulsante unico dello studio, = .jr-cta).
   Qui solo dove stanno e quanto sono larghi, mai il loro aspetto. ---------- */

/* ---------- occhielli, titoli, testo ---------- */
.hm-kicker {
  display: flex; align-items: center; gap: 12px;
  font: 600 12px/1.3 'Inter', sans-serif; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.hm-kicker__line { width: 30px; height: 1px; background: var(--hm-red-hi); flex: none; }

.hm-idx {   /* «01 ——— NOME» */
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font: 600 12px/1 'Inter', sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--hm-t3);
}
.hm-idx b {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--hm-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--hm-red-hi);
}
.hm-idx b::after { content: ''; width: 36px; height: 1px; background: rgba(255, 255, 255, .28); }

.hm-h2 {
  font-family: var(--hm-display); font-weight: 700; text-transform: uppercase; color: #fff;
  font-size: clamp(34px, 10.4vw, 76px); line-height: .92; letter-spacing: -.005em;
  text-wrap: balance;
}
.hm-h2 > span { display: block; }
.hm-lead { max-width: 34em; margin-top: 18px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .68); }
.hm-note { margin-top: 20px; font-size: 13px; line-height: 1.55; color: var(--hm-t3); }
.hm-head { margin-bottom: 36px; }

.hm-sec { position: relative; padding: 96px 0; }
.hm-sec--deep {
  background:
    radial-gradient(70% 38% at 50% 0%, rgba(176, 17, 30, .10), transparent 70%),
    var(--hm-ink-2);
  border-top: 1px solid var(--hm-line-2); border-bottom: 1px solid var(--hm-line-2);
}

/* =============================================================
   HERO — la foto del funnel /junior (scelta del proprietario), ma con il messaggio
   della home: il marchio, «Един стандарт. Всеки стол.», un pulsante, la prova.
   Telefono: foto intera in alto, il viso resta libero (il testo non sale mai
   sopra il 64% della foto), sfuma nel nero. Dal tablet: foto a SINISTRA (su /junior
   è a destra) e il ragazzo guarda verso il testo.
   ============================================================= */
.hm-hero {
  --hm-ph: min(150vw, 84svh);   /* altezza della foto sul telefono */
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--hm-ph) * .66) 0 30px;
  background: var(--hm-ink);
}
.hm-hero__media {
  position: absolute; left: 0; right: 0; top: 0; z-index: -3; overflow: hidden;
  height: var(--hm-ph);
}
.hm-hero__media::after {
  content: ''; position: absolute; inset: 0;
  /* nessun velo sulla foto: si scurisce SOLO il fondo, dove comincia il testo */
  background: linear-gradient(180deg,
    rgba(10, 10, 10, .35) 0%, rgba(10, 10, 10, 0) 12%, rgba(10, 10, 10, 0) 56%,
    rgba(10, 10, 10, .5) 70%, rgba(10, 10, 10, .9) 86%, var(--hm-ink) 100%);
}
.hm-hero__media picture { display: block; width: 100%; height: 100%; }
/* telefoni bassi (SE, 320×640): foto un po' più corta e testo più compatto, così
   «Запази час» resta nel primo schermo senza che il testo salga sul viso */
@media (max-width: 699px) and (orientation: portrait) and (max-height: 700px) {
  .hm-hero { --hm-ph: min(150vw, 72svh); padding-bottom: 20px; }
  .hm-hero__inner > .hm-kicker { margin-bottom: 10px; }
  .hm-hero__claim { margin-top: 12px; padding-top: 12px; font-size: clamp(28px, 8.6vw, 40px); }
  .hm-hero__sub { margin-top: 10px; font-size: 14.5px; line-height: 1.5; }
  .hm-hero__act { margin-top: 16px; }
}
/* telefono: la foto si stringe sul viso (fuori la mano con la macchinetta a sinistra) */
@media (max-width: 699px) and (orientation: portrait) {
  .hm-hero__media picture { transform: scale(1.22); transform-origin: 70% 36%; }
}
.hm-hero__img {
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 30%;
  transform-origin: 62% 30%;
}
.hm-hero__media--wide { height: 100%; }   /* ripiego: la foto orizzontale di prima, a tutto schermo */
.hm-hero__media--wide .hm-hero__img { object-position: 62% 50%; }
.hm-hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(110% 34% at 50% 104%, rgba(176, 17, 30, .30), transparent 70%);
}
.hm-hero__inner { position: static; }
.hm-hero__inner > .hm-kicker { margin-bottom: 14px; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }

.hm-hero__title {
  margin: 0; font-family: var(--hm-display); font-weight: 700; text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .35);
}
/* 03/10/2026 (il proprietario: «compare subito THE BLADES in bianco e STUDIO dopo 1 secondo»).
   Misurato sul Safari dell'iPhone (simulatore, video fotogramma per fotogramma): con display:inline
   l'animazione d'entrata (.hm-in: opacity + transform) su iOS NON ridisegna il testo a solo contorno
   (-webkit-text-stroke) finché l'animazione non finisce: STUDIO compariva ~0,9 s dopo THE BLADES.
   inline-block dà a ogni parola il suo strato: STUDIO entra insieme a THE BLADES. Sul computer
   (≥ 700 px) resta display:block, più sotto. */
.hm-hero__brand {
  display: inline-block; color: #fff;
  font-size: clamp(34px, 11.2vw, 64px); line-height: .9; letter-spacing: -.005em;
}
.hm-hero__brand--2 { margin-left: .2em; color: var(--hm-red-hi); }
@supports (-webkit-text-stroke: 1px #fff) {
  .hm-hero__brand--2 { color: transparent; -webkit-text-stroke: 1.1px rgba(255, 255, 255, .92); text-shadow: none; }
}
.hm-hero__claim {
  display: block; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: clamp(30px, 9.8vw, 46px); line-height: .94; letter-spacing: 0;
}
.hm-hero__claim > span { display: block; }

.hm-hero__sub {
  margin-top: 14px; max-width: 30em;
  font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .76);
}
.hm-hero__act { display: grid; gap: 10px; margin-top: 22px; max-width: 520px; }

.hm-proof {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin-top: 14px; font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .62);
}
.hm-proof__stars { color: #fff; font-size: 10px; letter-spacing: 3px; }

/* Dal tablet (e telefono in orizzontale): foto alta a SINISTRA, testo sul nero a destra */
@media (min-width: 700px), (orientation: landscape) and (max-height: 500px) and (min-width: 560px) {
  .hm-hero {
    justify-content: center; min-height: min(100svh, 980px);
    padding: calc(var(--header-height) + 56px) 0 72px;
  }
  .hm-hero__media { right: auto; bottom: 0; width: 46%; height: auto;
    /* il bordo destro della foto si scioglie nel fondo: niente taglio netto (01/10/2026) */
    -webkit-mask-image: linear-gradient(90deg, #000 58%, transparent 100%); mask-image: linear-gradient(90deg, #000 58%, transparent 100%); }
  .hm-hero__media--wide { -webkit-mask-image: none; mask-image: none; }
  .hm-hero__media--wide { width: 100%; }
  .hm-hero__media::after {
    background:
      linear-gradient(90deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0) 66%, rgba(10, 10, 10, .42) 80%, rgba(10, 10, 10, .86) 93%, var(--hm-ink) 100%),
      linear-gradient(0deg, var(--hm-ink) 0%, rgba(10, 10, 10, 0) 16%);
  }
  .hm-hero__media--wide::after {
    background: linear-gradient(270deg, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .6) 50%, rgba(10, 10, 10, .2) 100%);
  }
  .hm-hero__shade { background: radial-gradient(45% 55% at 78% 70%, rgba(176, 17, 30, .2), transparent 70%); }
  .hm-hero__inner {
    position: relative;
    /* il testo comincia dopo la foto: 46vw meno il margine del contenitore centrato */
    padding-left: calc(46vw - (100vw - min(100vw, 1160px)) / 2 + 48px);
  }
  .hm-hero__inner > .hm-kicker { margin-bottom: 22px; text-shadow: none; }
  .hm-hero__brand { display: block; font-size: min(7.4vw, 116px); line-height: .86; }
  .hm-hero__brand--2 { margin-left: 0; }
  .hm-hero__claim { margin-top: 24px; padding-top: 20px; font-size: min(4.4vw, 52px); }
  .hm-hero__sub { margin-top: 18px; font-size: 16px; }
  .hm-hero__act { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; margin-top: 30px; }
  .hm-hero__act .bs-cta { width: 100%; }
}
@media (min-width: 600px) and (max-width: 699px) {
  .hm-hero__act { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
  .hm-hero__act .bs-cta { width: 100%; }
}
@media (min-width: 700px) and (max-width: 899px) and (min-height: 501px) {
  .hm-hero__act { grid-template-columns: 1fr; }
  .hm-hero__inner { padding-left: calc(46vw + 32px); }
  .hm-hero .hm-kicker { font-size: 12px; letter-spacing: .05em; }
  .hm-hero .hm-kicker__line { display: none; }
  .hm-hero__brand { font-size: 8.6vw; }
  .hm-hero__claim { font-size: 5vw; }
}
@media (min-width: 900px) {
  .hm-hero__sub { font-size: 17px; }
}
/* telefono in orizzontale: poca altezza → marchio e promessa su una riga, pulsanti affiancati */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 560px) {
  .hm-hero { min-height: 0; padding: calc(var(--header-height) + 16px) 0 20px; }
  .hm-hero__media { width: 40%; }
  .hm-hero__inner { padding-left: calc(40vw + 28px); }
  .hm-hero__inner > .hm-kicker { margin-bottom: 10px; }
  .hm-hero__brand { display: inline; font-size: clamp(34px, 5.6vw, 48px); }
  .hm-hero__brand--2 { margin-left: .2em; }
  .hm-hero__claim { margin-top: 10px; padding-top: 10px; font-size: 26px; }
  .hm-hero__claim > span { display: inline; }
  .hm-hero__claim > span + span { margin-left: .24em; }
  .hm-hero__sub { display: none; }
  .hm-hero__act { margin-top: 14px; grid-template-columns: 1fr 1fr; }
  .hm-proof { margin-top: 10px; }
}

/* =============================================================
   01 · INCLUSO — elenco «menu» a filetti
   ============================================================= */
.hm-menu { border-top: 1px solid var(--hm-line); counter-reset: none; }
.hm-menu li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 70px; padding: 14px 0; border-bottom: 1px solid var(--hm-line);
}
.hm-menu__n { font-family: var(--hm-display); font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--hm-red-hi); }
.hm-menu__name {
  font-family: var(--hm-display); font-weight: 700; text-transform: uppercase; color: #fff;
  font-size: clamp(20px, 6vw, 28px); line-height: 1.05;
}
.hm-menu__ic {
  width: 24px; height: 24px; fill: none; stroke: rgba(255, 255, 255, .5);
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.hm-menu__ic--mask { stroke-width: 5.4; }

/* =============================================================
   NUMERI — grandi e calmi, divisi da filetti
   ============================================================= */
.hm-stats { position: relative; padding: 0 0 8px; }
.hm-stats::before {   /* una luce sola, dietro i numeri */
  content: ''; position: absolute; inset: -40px 0 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 50%, rgba(176, 17, 30, .12), transparent 70%);
}
.hm-stats__list {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hm-line); border-bottom: 1px solid var(--hm-line);
}
.hm-stats__list li {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: 30px 12px 28px 0;
}
.hm-stats__list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--hm-line); }
.hm-stats__list li:nth-child(n+3) { border-top: 1px solid var(--hm-line); }
.hm-stats__list strong {
  display: flex; align-items: flex-start;
  font-family: var(--hm-display); font-weight: 700; color: #fff;
  font-size: clamp(54px, 15.5vw, 104px); line-height: .82; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
/* 03/10: «9 800+» — il «+» piccolo e rosso in alto, come la stella di «5,0»: a 320–360 il segno a
   grandezza piena faceva uscire il numero dalla sua colonna */
.hm-stats__num { letter-spacing: -.045em; }   /* «9 800» + «+» nella colonna da 117 px a 320 */
.hm-stats__piu { font-size: .36em; line-height: 1; margin: .08em 0 0 .04em; color: var(--hm-red-hi); letter-spacing: 0; }
.hm-stats__star { font-size: .3em; line-height: 1; margin: .1em 0 0 .14em; color: var(--hm-red-hi); letter-spacing: 0; }
.hm-stats__list li > span {
  font: 600 12px/1.4 'Inter', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--hm-t3);
}

/* =============================================================
   02 · LO STANDARD — gradi del mestiere + foto della squadra
   ============================================================= */
.hm-team__grid { display: grid; grid-template-areas: "head" "photo" "ranks"; align-items: start; }
.hm-team__head { grid-area: head; }
.hm-team__photo { grid-area: photo; margin: 0 0 44px; }
.hm-team__ranks { grid-area: ranks; }
.hm-ranks { border-top: 1px solid var(--hm-line); margin-bottom: 32px; }
.hm-ranks li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: baseline;
  min-height: 64px; padding: 16px 0; border-bottom: 1px solid var(--hm-line);
}
.hm-ranks__n { grid-row: span 2; font-family: var(--hm-display); font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--hm-red-hi); }
.hm-ranks__lvl {
  font-family: var(--hm-display); font-weight: 700; text-transform: uppercase; color: #fff;
  font-size: clamp(22px, 6.4vw, 30px); line-height: 1; letter-spacing: .02em;
}
.hm-ranks__who { font-size: 13.5px; line-height: 1.45; color: var(--hm-t2); }
.hm-ranks__master .hm-ranks__lvl { font-size: clamp(30px, 9vw, 44px); }

.hm-team__frame {
  position: relative; overflow: hidden; border-radius: 10px;
  border: 1px solid var(--hm-line);
}
.hm-team__frame::after {   /* secondo bordo interno: variante «certificato» */
  content: ''; position: absolute; inset: 5px; border-radius: 6px; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .1);
}
.hm-team__frame img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 40%;
}
.hm-team__cap {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
  margin-top: 16px; font-size: 13px; line-height: 1.4; color: var(--hm-t3);
}
.hm-team__cap-k {
  display: flex; align-items: center; gap: 12px;
  font: 600 12px/1 'Inter', sans-serif; letter-spacing: .26em; text-transform: uppercase; color: #fff;
}
.hm-team__cap-k::before { content: ''; width: 24px; height: 1px; background: var(--hm-red-hi); }

/* =============================================================
   03 · PREZZI — righe a filetti, prezzo grande e calmo
   ============================================================= */
.hm-plist { border-top: 1px solid var(--hm-line); }
.hm-plist li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 84px; padding: 18px 0; border-bottom: 1px solid var(--hm-line);
}
.hm-plist__t { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
/* Audit SEO 02/10/2026: le righe taglio e barba sono un link alla loro pagina (/podstrigvane/, /brada/).
   Il link È la riga: prende il padding della riga (che si azzera), così aspetto e altezza restano uguali e
   tutta la riga si tocca. Il fuoco da tastiera si vede. */
.hm-plist .hm-plist__li--link { padding: 0; }
.hm-plist__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 18px 0; color: inherit;
}
.hm-plist__row:focus-visible { outline: 2px solid var(--hm-red-hi); outline-offset: 2px; }
.hm-plist__name {
  font-family: var(--hm-display); font-weight: 700; text-transform: uppercase; color: #fff;
  font-size: clamp(20px, 6vw, 28px); line-height: 1.05;
}
.hm-plist__min { font: 600 12px/1.4 'Inter', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--hm-t3); }
.hm-plist__p {
  flex: none; display: flex; align-items: flex-start;
  font-family: var(--hm-display); font-weight: 700; color: #fff;
  font-size: clamp(34px, 10vw, 52px); line-height: .82; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.hm-plist__p i { font-style: normal; font-size: .42em; line-height: 1; margin-left: .1em; color: var(--hm-red-hi); letter-spacing: 0; }
.hm-plist__p small {
  align-self: flex-end; margin-right: .4em; margin-bottom: .1em;
  font: 600 12px/1 'Inter', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--hm-t3);
}
.hm-prices__cta { margin-top: 32px; }

.hm-tools { position: relative; margin: 0 0 40px; overflow: hidden; border-radius: 10px; border: 1px solid var(--hm-line); }
.hm-tools picture { display: block; }
.hm-tools__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.hm-tools::after {   /* secondo bordo interno: variante «certificato» */
  content: ''; position: absolute; inset: 5px; border-radius: 6px; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .1);
}
@media (min-width: 700px), (orientation: landscape) {
  .hm-tools__img { aspect-ratio: 3 / 2; }
}

/* =============================================================
   04 · L'ORA JUNIOR — la scheda evidenziata
   ============================================================= */
.hm-jr__card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 10px; border: 1px solid rgba(251, 61, 72, .55);
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(176, 17, 30, .22), transparent 70%),
    #0e0e0e;
  box-shadow: 0 34px 60px -34px rgba(176, 17, 30, .8);
}
.hm-jr__media { position: relative; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; }
.hm-jr__img {
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 66% 40%;
}
.hm-jr__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 14, .25) 0%, rgba(14, 14, 14, 0) 30%, rgba(14, 14, 14, .35) 64%, #0e0e0e 100%);
}
.hm-jr__save {   /* il bollino passa in secondo piano: riga sottile, non pillola rossa */
  position: absolute; z-index: 1; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1.3 'Inter', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}
.hm-jr__save::before { content: ''; width: 24px; height: 1px; background: var(--hm-red-hi); }

.hm-jr__body { position: relative; padding: 30px 20px 34px; }
.hm-flag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  padding: 8px 15px 8px 13px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(10, 10, 10, .42);
  color: #fff; font: 600 12px/1.3 'Inter', sans-serif; letter-spacing: .22em; text-transform: uppercase;
}
.hm-flag__dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--hm-red-hi); flex: none; }
.hm-flag__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--hm-red-hi); }
.hm-jr__title { font-size: clamp(34px, 9.6vw, 64px); }
.hm-jr__title > span:first-child { color: var(--hm-red-hi); }

.hm-jr__price {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px;
  margin-top: 26px; padding: 20px 0; border-top: 1px solid var(--hm-line); border-bottom: 1px solid var(--hm-line);
}
.hm-jr__num {
  display: flex; align-items: flex-start;
  font-family: var(--hm-display); font-weight: 700; color: #fff;
  font-size: clamp(80px, 24vw, 128px); line-height: .78; letter-spacing: -.03em;
  padding-right: 18px; border-right: 1px solid var(--hm-line);
}
.hm-jr__num i { font-style: normal; font-size: .3em; line-height: 1; margin-left: .06em; color: var(--hm-red-hi); letter-spacing: 0; }
.hm-jr__same { font: 600 12px/1.5 'Inter', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--hm-t2); }

.hm-trust { margin: 26px 0 30px; border-top: 1px solid var(--hm-line); }
.hm-trust li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--hm-line);
}
.hm-trust svg {
  width: 22px; height: 22px; flex: none; margin-top: 1px;
  fill: none; stroke: var(--hm-red-hi); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.hm-trust__t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hm-trust__t strong {
  font-family: var(--hm-display); font-weight: 700; text-transform: uppercase; color: #fff;
  font-size: 19px; line-height: 1.1; letter-spacing: .01em;
}
.hm-trust__t span { font-size: 14px; line-height: 1.5; color: var(--hm-t2); }
.hm-jr__limit {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px;
  font: 600 12px/1.4 'Inter', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--hm-t3); text-align: center;
}

/* =============================================================
   05 · DOVE SIAMO — righe a filetti; ogni riga è un gesto
   ============================================================= */
.hm-clist { border-top: 1px solid var(--hm-line); }
.hm-crow {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 22px 0; border-bottom: 1px solid var(--hm-line);
  color: #fff; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
a.hm-crow:hover, a.hm-crow:focus { color: #fff; }
.hm-crow__t { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.hm-crow__k { font: 600 12px/1.3 'Inter', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--hm-t3); }
.hm-crow__v {
  font-family: var(--hm-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 6.2vw, 30px); line-height: 1.05; overflow-wrap: anywhere;
}
.hm-crow__v--num { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.hm-crow__go { font: 600 12px/1.3 'Inter', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--hm-red-hi); }
.hm-crow__arrow {   /* l'azione della riga è rossa, come i pulsanti */
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(180deg, #c3131f 0%, var(--hm-red) 55%, #a00f1b 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 28px -14px rgba(176, 17, 30, .9);
  transition: transform .5s var(--hm-ease);
}
a.hm-crow:hover .hm-arrow { transform: translateX(3px); }
a.hm-crow:active .hm-crow__arrow { transform: scale(.94); }
.hm-hours { display: grid; gap: 2px; margin-top: 2px; }
.hm-crow__note { font-size: 13px; line-height: 1.5; color: var(--hm-t3); max-width: 34em; }   /* 02/10: chi arriva senza prenotazione */
.hm-hours div {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px;
  padding: 6px 0;
}
.hm-hours div + div { border-top: 1px solid var(--hm-line-2); }
.hm-hours dt { font-size: 14px; color: var(--hm-t2); }
.hm-hours dd {
  font-family: var(--hm-display); font-weight: 700; font-size: 24px; line-height: 1.1;
  color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.hm-contacts { padding-bottom: 104px; }

/* =============================================================
   03 · I NOSTRI LAVORI (04/10/2026) — foto vere, tutte quadrate e con lo stesso look.
   Dal 04/10 sera un mazzo a carte come quello dello staff (assets/css/mazzo.css + assets/js/mazzo.js).
   Il visore è un <dialog>: entra con opacity/transform, movimento ridotto = nessun movimento.
   ============================================================= */
.hm-gal { border-top: 1px solid var(--hm-line-2); }
/* le foto sono il mazzo a carte di assets/css/mazzo.css (04/10/2026 sera): fra il titolo e il mazzo, e fra il mazzo e
   «Запази час», lo spazio lo danno .hm-head e .hm-gal__act */
.hm-gal__act { margin-top: 36px; display: grid; gap: 18px; justify-items: stretch; }
.hm-gal__note { font-size: 13px; line-height: 1.55; color: var(--hm-t3); }
/* 04/10/2026: la riga verso /video/ — un link di testo, non un secondo pulsante */
.hm-gal__video { margin: 22px 0 0; }
.hm-gal__video a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--hm-t2); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .3); }
.hm-gal__video a:hover, .hm-gal__video a:focus-visible { color: #fff; text-decoration-color: var(--hm-red-hi); }
.hm-gal__video-a { color: var(--hm-red-hi); text-decoration: none; }

/* visore */
.hm-lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden;
}
.hm-lb[open] { display: grid; place-items: center; }
.hm-lb::backdrop { background: rgba(6, 6, 6, .94); }
html:has(.hm-lb[open]) { overflow: hidden; }
.hm-lb__fig { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 0 16px; }
.hm-lb__img {
  display: block; width: min(92vw, 78svh, 820px); height: auto; aspect-ratio: 1 / 1;
  border-radius: 10px; border: 1px solid var(--hm-line); background: #121212; object-fit: cover;
}
.hm-lb__cap { max-width: min(92vw, 78svh, 820px); text-align: center; font-size: 13px; line-height: 1.5; color: var(--hm-t2); }
.hm-lb__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(10, 10, 10, .62);
  color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .5s var(--hm-ease);
}
.hm-lb__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-lb__btn:active { transform: scale(.94); }
.hm-lb__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hm-lb__close { top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); }
.hm-lb__prev, .hm-lb__next { bottom: max(18px, env(safe-area-inset-bottom)); }
.hm-lb__prev { left: calc(50% - 58px); }
.hm-lb__next { right: calc(50% - 58px); }
@media (min-width: 900px) {
  .hm-lb__prev, .hm-lb__next { bottom: auto; top: calc(50% - 24px); }
  .hm-lb__prev { left: max(24px, calc(50% - 480px)); }
  .hm-lb__next { right: max(24px, calc(50% - 480px)); }
}
@media (prefers-reduced-motion: no-preference) {
  .hm-lb[open] .hm-lb__fig.is-new { animation: hm-lb-in .55s var(--hm-ease) both; }
}
@keyframes hm-lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hm-lb__btn { transition: none; }
}

/* =============================================================
   TABLET (≥ 600)
   ============================================================= */
@media (min-width: 600px) {
  .hm { --hm-gutter: 32px; }
  .hm-sec { padding: 120px 0; }
  .hm-team__cta, .hm-prices__cta, .hm-jr__cta, .hm-gal__cta { display: inline-flex; width: auto; min-width: 300px; }
  .hm-gal__act { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: start; gap: 28px; margin-top: 48px; }
  .hm-gal__cta { grid-column: 1; grid-row: 1; }
  .hm-stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hm-stats__list li { padding: 40px 12px 36px 20px; }
  .hm-stats__list li:first-child { padding-left: 0; }
  .hm-stats__list li + li { border-left: 1px solid var(--hm-line); }
  .hm-stats__list li:nth-child(n+3) { border-top: 0; }
  .hm-stats__list strong { font-size: clamp(54px, 8.4vw, 104px); }
  .hm-jr__media { aspect-ratio: 16 / 9; }
  .hm-jr__body { padding: 40px 40px 44px; }
  .hm-jr__save { left: 40px; bottom: 26px; }
  .hm-head { margin-bottom: 48px; }
}

/* =============================================================
   COMPUTER (≥ 900)
   ============================================================= */
@media (min-width: 900px) {
  .hm-sec { padding: 150px 0; }
  .hm-head { margin-bottom: 56px; }
  .hm-lead { font-size: 17px; }

  /* incluso: quattro colonne a filetti */
  .hm-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--hm-line); }
  .hm-menu li {
    grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; align-items: start; gap: 22px;
    padding: 30px 28px 34px; border-bottom: 0;
  }
  .hm-menu li:first-child { padding-left: 0; }
  .hm-menu li + li { border-left: 1px solid var(--hm-line); }
  .hm-menu__ic { grid-row: 1; width: 30px; height: 30px; }
  .hm-menu__n { grid-row: 2; }
  .hm-menu__name { grid-row: 3; font-size: 28px; }

  /* titoli nelle colonne strette: grandi, ma mai spezzati a metà parola */
  .hm-team .hm-h2, .hm-prices .hm-h2, .hm-contacts .hm-h2 { font-size: clamp(46px, 5vw, 68px); }

  /* standard: titolo e gradi affiancati, la squadra sotto a tutta larghezza */
  .hm-team__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 80px;
    grid-template-areas: "head ranks" "photo photo";
  }
  .hm-team__head { margin-bottom: 0; }
  .hm-team__photo { margin: 88px 0 0; }
  .hm-team__frame img { aspect-ratio: 21 / 9; object-position: 50% 42%; }

  /* prezzi: titolo a sinistra, listino a destra */
  .hm-prices__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 80px; align-items: start; }
  .hm-prices__grid .hm-head { margin-bottom: 0; grid-column: 1; grid-row: 1; }
  .hm-prices__grid .hm-tools { grid-column: 1; grid-row: 2; margin: 48px 0 0; }
  .hm-prices__body { grid-column: 2; grid-row: 1 / span 2; }
  .hm-plist li { min-height: 96px; }

  /* junior: testo a sinistra, foto a destra a tutta altezza */
  .hm-jr__card {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
    /* la foto occupa l'angolo destro: la luce rossa passa in alto a sinistra, dietro il titolo */
    background: radial-gradient(60% 50% at 0% 0%, rgba(176, 17, 30, .2), transparent 70%), #0e0e0e;
  }
  .hm-jr__media { order: 2; aspect-ratio: auto; min-height: 100%; }
  .hm-jr__media::after {
    background: linear-gradient(90deg, #0e0e0e 0%, rgba(14, 14, 14, .55) 24%, rgba(14, 14, 14, 0) 52%),
                linear-gradient(0deg, rgba(14, 14, 14, .55) 0%, rgba(14, 14, 14, 0) 34%);
  }
  .hm-jr__body { order: 1; padding: 64px 56px 60px; }
  .hm-jr__save { left: auto; right: 32px; bottom: 30px; }
  .hm-jr__limit { justify-content: flex-start; text-align: left; }

  /* lavori: mosaico 3×3, la prima foto grande */
  .hm-gal__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 80px; align-items: end; }
  .hm-gal__head .hm-idx { grid-column: 1 / -1; }
  .hm-gal__head .hm-h2 { grid-column: 1; }
  .hm-gal__head .hm-lead { grid-column: 2; margin-top: 0; }
  .hm-gal .hm-h2 { font-size: clamp(46px, 5vw, 68px); }

  /* dove siamo: titolo a sinistra, righe a destra */
  .hm-contacts__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
  .hm-contacts__grid .hm-head { margin-bottom: 0; }
  .hm-contacts { padding-bottom: 150px; }
}

/* Telefono: l'occhiello dell'hero sta su una riga (da 360 in su) senza il tratto rosso */
@media (max-width: 599px) {
  /* collaudo 04/10 (M11): 12 px (era 10,5) e spaziatura più stretta, così l'indirizzo resta su una riga */
  .hm-hero .hm-kicker { font-size: 12px; letter-spacing: .05em; }
  .hm-hero .hm-kicker__line { display: none; }
}

/* Telefoni piccoli (320–359 px) */
@media (max-width: 359px) {
  .hm { --hm-gutter: 16px; }
  .hm-hero .hm-kicker { font-size: 12px; letter-spacing: .02em; }
  .hm-stats__list li:nth-child(even) { padding-left: 14px; }
  .hm-jr__body { padding-inline: 16px; }
  .hm-jr__num { padding-right: 14px; }
  .hm-jr__price { gap: 14px; }
}

/* =============================================================
   MOVIMENTO — solo transform/opacity, solo se il sistema lo vuole
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  .hm-hero__img { animation: hm-kb 3.2s var(--hm-ease) both; }
  .hm-in { animation: hm-up 1s var(--hm-ease) both; animation-delay: calc(var(--d, 0) * 70ms + 50ms); }
  .hm-hero__act .bs-cta--compact::after { animation-delay: 4.6s; }   /* il secondo riflesso passa sfasato */
  .hm-flag__dot::after { animation: hm-ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }

  /* la foto dell'hero scende piano mentre si scorre (solo dove il browser lo fa da sé, senza JS) */
  @supports (animation-timeline: scroll()) {
    @media (max-width: 699px) and (orientation: portrait) {
      .hm-hero__media { animation: hm-par linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    }
  }

  /* Ingresso delle sezioni: .hm-rv la mette lo script SOLO a ciò che è sotto lo schermo */
  .hm-anim .hm-rv {
    opacity: 0; transform: translate3d(0, 30px, 0);
    transition: opacity 1s var(--hm-ease), transform 1.2s var(--hm-ease);
  }
  .hm-anim .hm-rv.is-in { opacity: 1; transform: none; }
  .hm-anim .hm-team__photo.hm-rv { transition-delay: .12s; }
  /* le righe degli elenchi salgono a cascata, 90 ms l'una */
  .hm-anim .hm-rv > li { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s var(--hm-ease), transform 1.1s var(--hm-ease); transition-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .hm-anim .hm-rv.is-in > li { opacity: 1; transform: none; }
  .hm-anim .hm-jr__card.hm-rv .hm-jr__img { transform: scale(1.08); transition: transform 1.4s var(--hm-ease); }
  .hm-anim .hm-jr__card.hm-rv.is-in .hm-jr__img { transform: none; }
}
@keyframes hm-kb { from { transform: scale(1.09); } to { transform: none; } }
@keyframes hm-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes hm-par { to { transform: translateY(14%); } }
@keyframes hm-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after { animation: none !important; transition: none !important; }
}

/* 03/10 (spazzata, m3): sotto 360 px «HOW THE HOUR WORKS» andava su due righe (192 px di posto per
   204 di testo): spaziatura delle lettere un po' più stretta, solo qui e solo sui telefoni più stretti. */
@media (max-width: 359px) {
  .hm-jr__cta { letter-spacing: .06em; padding-left: 18px; }
}
