/* OMIEN — production stylesheet
   Implements the "OMIEN Sito v5" design (Claude Design handoff, see /project
   in the repo root for the original prototype + chat transcript). */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Barlow+Condensed:wght@500;600;700&display=swap');

:root {
  --om-accent: #3fd8e4;
  --om-accent-bright: #79ecf4;
  --om-accent-alt: #8b5cf6;
  --om-accent-rgb: 63, 216, 228;
  --om-ground: #0c0d0e;
  --om-ground-rgb: 12, 13, 14;
  --om-surface: #141618;
  --om-paper: #f2f2f3;
  --om-paper-rgb: 242, 242, 243;
  --om-panel: rgba(var(--om-paper-rgb), 0.055);
  --om-panel-strong: rgba(var(--om-paper-rgb), 0.09);
  --om-line: rgba(var(--om-paper-rgb), 0.14);
  --om-muted: #cbd5e1;
  --om-btn-ink: #06181c;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --wrap: 1240px;
  --pad-inline: clamp(20px, 4vw, 56px);
  /* altezza reale di utility-bar + nav impilate (misurata: 48px + 71px),
     usata per far coincidere la hero della home con lo spazio rimanente
     del primo schermo. Sopra 860px il nav e' su una riga (71px); sotto,
     con l'hamburger, sale a 77px (vedi override nel media query nav). */
  --chrome-h: 119px;
}
@media (max-width: 860px) {
  :root { --chrome-h: 125px; }
}

/* Tema chiaro: stessi componenti, token invertiti. Attivato mettendo
   data-theme="light" su <html> (vedi js/main.js, initThemeToggle) — lo
   script inline in ogni <head> lo applica prima del paint per evitare il
   flash del tema scuro di default. Gli accent sono scuriti rispetto al
   tema dark per restare leggibili come testo su fondo bianco. */
:root[data-theme="light"] {
  --om-accent: #0e7490;
  --om-accent-bright: #0b5c73;
  --om-accent-alt: #7c3aed;
  --om-accent-rgb: 14, 116, 144;
  --om-ground: #ffffff;
  --om-ground-rgb: 255, 255, 255;
  --om-surface: #eef1f3;
  --om-paper: #14161a;
  --om-paper-rgb: 20, 22, 26;
  --om-muted: #4b5563;
  --om-btn-ink: #ffffff;
}

/* Utility bar, navbar e hero (tutto ciò che si vede appena si entra, sopra
   e dentro la "prima schermata") restano scuri anche nel tema chiaro: si
   ridichiarano qui i token che leggono, riportandoli ai valori del tema
   dark. Da sotto la hero in giù il resto della pagina resta bianco come da
   tema chiaro. --om-line e --om-panel non vanno ridichiarati: sono già
   espressi in funzione di --om-paper-rgb e si ricalcolano da soli. */
:root[data-theme="light"] .utility-bar,
:root[data-theme="light"] .nav,
:root[data-theme="light"] .hero,
:root[data-theme="light"] .showcase-card {
  --om-ground: #0c0d0e;
  --om-ground-rgb: 12, 13, 14;
  --om-paper: #f2f2f3;
  --om-paper-rgb: 242, 242, 243;
  --om-muted: #cbd5e1;
  --om-accent: #3fd8e4;
  --om-accent-bright: #79ecf4;
  --om-accent-rgb: 63, 216, 228;
  --om-accent-alt: #8b5cf6;
}
body { transition: background-color 0.2s ease, color 0.2s ease; }

* , *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--om-ground);
  color: var(--om-paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  margin: 0;
}

p { margin: 0; }

a { color: var(--om-paper); text-decoration: none; }
a:hover { color: var(--om-accent-bright); }

img { display: block; max-width: 100%; }

::selection { background: var(--om-accent); color: var(--om-btn-ink); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad-inline);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ————————————————————— Utility bar ————————————————————— */
/* stesso sfondo semi-trasparente + blur della navbar (vedi .nav), così i
   due restano identici quando entrambi sono forzati scuri nel tema chiaro */
.utility-bar {
  background: rgba(var(--om-ground-rgb), 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--om-line);
}
.utility-bar__row {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 9px var(--pad-inline);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  flex-wrap: wrap;
}
.utility-bar__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--om-muted);
}
.utility-bar__link:hover { color: var(--om-paper); }
.utility-bar__link[aria-current="page"] { color: var(--om-paper); }

.lang-select {
  appearance: none;
  border: 1px solid var(--om-line);
  background-color: var(--om-ground);
  color: var(--om-paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 26px 5px 10px;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--om-muted) 50%),
    linear-gradient(135deg, var(--om-muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.lang-select:focus-visible { outline: none; border-color: var(--om-accent); }
.lang-select option { background: var(--om-ground); }

.theme-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--om-line);
  background: transparent;
  color: var(--om-paper);
  cursor: pointer;
  padding: 0;
  flex: none;
}
.theme-toggle:hover { border-color: var(--om-accent); }
.theme-toggle:focus-visible { outline: none; border-color: var(--om-accent); }
.theme-toggle__icon { width: 14px; height: 14px; }
.theme-toggle__icon--moon { display: none; }
:root[data-theme="light"] .theme-toggle__icon--sun { display: none; }
:root[data-theme="light"] .theme-toggle__icon--moon { display: block; }

/* ————————————————————— Nav ————————————————————— */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(var(--om-ground-rgb), 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--om-line);
}
.nav__row {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--pad-inline);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap;
}
.nav__brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
}
.nav__wordmark { font-weight: 700; font-size: 21px; letter-spacing: 0.16em; line-height: 1; color: var(--om-paper); }
.nav__link {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--om-muted);
  padding-bottom: 4px;
  transition: color 0.16s ease;
}
.nav__link:hover { color: var(--om-paper); }
.nav__link[aria-current="page"] { color: var(--om-paper); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--om-accent);
}
.nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--om-line);
  color: var(--om-paper);
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav__toggle svg { width: 18px; height: 18px; }

.nav__item { position: relative; display: flex; align-items: center; }
.nav__link--menu {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0 0 4px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--om-muted);
  cursor: pointer;
}
.nav__caret { width: 11px; height: 11px; transition: transform 0.18s ease; }
.nav__item:hover .nav__caret,
.nav__item.is-open .nav__caret { transform: rotate(180deg); }
.nav__menu {
  position: absolute;
  top: 100%;
  left: -18px;
  padding-top: 22px; /* ponte invisibile: tiene l'hover fra voce e pannello */
  display: none;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu,
.nav__item.is-open .nav__menu { display: block; }
.nav__menu-inner {
  min-width: 252px;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  background: rgba(var(--om-ground-rgb), 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--om-line);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}
.nav__menu-link { padding: 9px 20px; font-size: 15px; font-weight: 600; color: var(--om-muted); }
.nav__menu-link:hover { color: var(--om-paper); background: var(--om-panel); }
.nav__menu-sep { height: 1px; background: var(--om-line); margin: 9px 20px; }

.btn {
  display: inline-block;
  padding: 11px 22px;
  background: var(--om-accent);
  color: var(--om-btn-ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.16s ease;
}
.btn:hover { background: var(--om-accent-bright); color: var(--om-btn-ink); }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--om-line);
  color: var(--om-paper);
}
.btn--ghost:hover { border-color: var(--om-accent); color: var(--om-paper); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 14px;
    order: 3;
  }
  .nav__row.is-open .nav__links { display: flex; }
  .nav__item { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav__caret { display: none; }
  .nav__menu { position: static; display: block; padding-top: 12px; left: auto; }
  .nav__menu-inner {
    min-width: 0;
    gap: 12px;
    padding: 0 0 0 16px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-left: 1px solid var(--om-line);
    box-shadow: none;
  }
  .nav__menu-link { padding: 0; }
  .nav__menu-link:hover { background: none; }
  .nav__menu-sep { display: none; }
}

/* ————————————————————— Hero ————————————————————— */
.hero {
  position: relative;
  /* esplicito e non ereditato dal body: in tema chiaro .hero ridichiara
     --om-paper (dark) e senza questa riga il colore del testo (es. il
     claim in h1, che non lo imposta da sé) resterebbe quello già risolto
     sul body, illeggibile sull'immagine scura */
  color: var(--om-paper);
  /* la hero della home riempie tutto lo spazio rimanente del primo
     schermo (sotto utility-bar + nav), cosi' all'apertura della pagina
     si vede solo l'immagine scura a schermo intero: il bianco del resto
     del sito compare scorrendo. 420px di pavimento per viewport molto
     bassi (es. telefono in orizzontale). Le hero delle pagine interne
     (.hero--page, sotto) restano piu' basse: non sono "il primo schermo"
     ma testate editoriali. */
  min-height: max(420px, calc(100vh - var(--chrome-h)));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  display: block;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--om-ground-rgb), 0.92) 0%, rgba(var(--om-ground-rgb), 0.72) 50%, rgba(var(--om-ground-rgb), 0.35) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) var(--pad-inline);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}
.hero__claim { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.2; margin: 0 0 22px; max-width: 20ch; }
.hero__sub { font-size: 19px; line-height: 1.55; max-width: 44ch; margin: 0; color: rgba(var(--om-paper-rgb), 0.86); font-family: var(--font-body); font-weight: 400; }
.hero__teasers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  width: 100%;
  max-width: 440px;
  justify-self: end;
  background: rgba(var(--om-ground-rgb), 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero__teaser {
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 1px solid var(--om-line);
  transition: background 0.16s ease;
}
.hero__teaser:hover { background: rgba(var(--om-accent-rgb), 0.1); color: var(--om-paper); }
.hero__teaser-kicker { font-size: 13px; font-weight: 700; color: var(--om-accent); }
.hero__teaser-title { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; font-family: var(--font-body); }

/* hero delle pagine interne: stessa impaginazione della home, piu' basso e
   senza la colonna dei teaser, quindi il testo prende tutta la larghezza */
.hero--page { min-height: clamp(340px, 46vh, 500px); }
.hero--page .hero__inner { align-items: center; }
.hero--page .hero__claim { font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 18px; }
.hero--page .hero__sub { max-width: 56ch; }
/* la didascalia del segnaposto si sposta dove lo scrim e' piu' chiaro */
.hero--page .ph--hero { align-items: flex-end; justify-content: flex-end; padding: 24px; }

.hero__kicker { display: block; font-size: 14px; font-weight: 700; color: var(--om-accent); margin-bottom: 16px; }

/* subpage header (no full-bleed hero photo) */
.page-header { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--om-line); }
.page-header__kicker { display: block; font-size: 14px; font-weight: 700; color: var(--om-accent); margin-bottom: 16px; }
.page-header__title { font-size: clamp(34px, 5vw, 60px); max-width: 20ch; margin: 0 0 18px; }
.page-header__sub { font-family: var(--font-body); font-weight: 400; font-size: 18px; line-height: 1.6; max-width: 56ch; color: var(--om-muted); }

/* ————————————————————— Image placeholders ————————————————————— */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(var(--om-paper-rgb), 0.05) 0 2px, transparent 2px 14px),
    var(--om-surface);
  border: 1px dashed var(--om-line);
  color: var(--om-muted);
  font-size: 13px;
  line-height: 1.5;
}
.ph--hero { position: absolute; inset: 0; border: 0; }
.ph-box { position: relative; }
.ph-box--4-3 { aspect-ratio: 4 / 3; }
.ph-box--3-2 { aspect-ratio: 3 / 2; }
.ph-box--16-9 { aspect-ratio: 16 / 9; }
.ph-box__img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ————————————————————— Sections (generic) ————————————————————— */
.section { padding: clamp(48px, 6vw, 88px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--bordered-top { border-top: 1px solid var(--om-line); }
.section--bordered-bottom { border-bottom: 1px solid var(--om-line); }
.section__title { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.2; margin: 0 0 clamp(32px, 4vw, 56px); max-width: 26ch; }
.section__title--sm { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; margin-bottom: 12px; max-width: 26ch; }
.section__note { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.6; max-width: 56ch; margin: 0 0 32px; color: var(--om-muted); }

/* ————————————————————— Stats ————————————————————— */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.stats__value { display: block; font-size: clamp(42px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; color: var(--om-accent); font-family: var(--font-heading); font-weight: 700; }
.stats__label { display: block; font-size: 15px; margin-top: 12px; color: var(--om-muted); }

/* ————————————————————— Manifesto / two-col media blocks ————————————————————— */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split__title { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.06; margin: 0 0 22px; max-width: 22ch; }
.split__body { font-family: var(--font-body); font-weight: 400; font-size: 18px; line-height: 1.68; max-width: 52ch; margin: 0 0 30px; color: var(--om-muted); }
.split__link { display: inline-block; font-size: 15px; font-weight: 700; color: var(--om-accent); }
.split__link:hover { color: var(--om-accent-bright); }

/* ————————————————————— Services ————————————————————— */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(28px, 4vw, 56px); }
/* griglie da 4 schede: 2x2, altrimenti auto-fit le manda in 3+1 con la quarta orfana */
@media (min-width: 760px) { .services--pairs { grid-template-columns: repeat(2, 1fr); } }
.service { border-top: 1px solid var(--om-line); padding-top: 22px; }
.service__icon { display: block; font-size: 22px; line-height: 1; margin-bottom: 14px; }
.service__title { font-size: 24px; line-height: 1.2; letter-spacing: 0.03em; margin: 0 0 6px; }
.service__meta { display: block; font-size: 14px; color: var(--om-accent); margin-bottom: 14px; font-family: var(--font-body); font-weight: 600; }
.service__body { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.68; margin: 0; color: var(--om-muted); }

.services-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 40px; }
.services-teaser__item { border-bottom: 1px solid var(--om-line); padding: 16px 0; }
/* la home elenca 6 servizi: auto-fit li spezzerebbe 4+2, qui restano 3+3 */
@media (min-width: 700px) { .services-teaser--trio { grid-template-columns: repeat(3, 1fr); } }
.services-teaser__title { font-size: 18px; font-weight: 700; margin: 0 0 4px; font-family: var(--font-heading); }
.services-teaser__meta { display: block; font-size: 13px; color: var(--om-accent); margin-bottom: 10px; }
.services-teaser__body { font-family: var(--font-body); font-weight: 400; font-size: 15px; line-height: 1.62; margin: 8px 0 0; max-width: 52ch; color: var(--om-muted); }
.services-teaser__body + .services-teaser__link { display: inline-block; margin-top: 14px; }
.services-teaser__link { font-size: 14px; font-weight: 700; color: var(--om-accent); }
.services-teaser__link:hover { color: var(--om-accent-bright); }

/* ————————————————————— Showcase (home: le sei schede con demo) ————————————————————— */
.showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
/* sei schede: auto-fit le spezzerebbe 4+2, qui restano 3+3 */
@media (min-width: 900px) { .showcase--trio { grid-template-columns: repeat(3, 1fr); } }
/* Il video/gif fa da sfondo a tutta la scheda (object-fit: cover), con uno
   scrim scuro in basso per leggere titolo e testo sopra l'immagine. */
.showcase-card {
  position: relative;
  display: block; overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--om-line);
  color: var(--om-paper);
  transition: border-color 0.18s ease;
}
.showcase-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: var(--om-accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.24s ease;
}
.showcase-card:hover { border-color: rgba(var(--om-accent-rgb), 0.5); color: var(--om-paper); }
.showcase-card:hover::before { transform: scaleX(1); }
.showcase-card:focus-visible { outline: 2px solid var(--om-accent); outline-offset: 3px; }
.showcase-card__media { position: absolute; inset: 0; background: var(--om-panel); }
.showcase-card__media .ph { border: 0; }
.showcase-card__video, .showcase-card__img, .showcase-card__media .ph {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.showcase-card__img { opacity: 0.78; }
.showcase-card:hover .showcase-card__video,
.showcase-card:hover .showcase-card__img,
.showcase-card:hover .showcase-card__media .ph { transform: scale(1.05); }
/* Scrim: sfumatura scura in alto, cosi' il testo (ora in cima alla card)
   resta leggibile sopra qualsiasi video/gif senza dover scurire l'intera
   immagine. */
.showcase-card__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(var(--om-ground-rgb), 0.92) 0%, rgba(var(--om-ground-rgb), 0) 45%);
}
.showcase-card__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: clamp(20px, 2.4vw, 28px);
}
.showcase-card__title { font-size: 21px; line-height: 1.2; letter-spacing: 0.03em; margin: 0 0 10px; }
.showcase-card__body {
  font-family: var(--font-body); font-weight: 400;
  font-size: 15px; line-height: 1.6; margin: 0; color: rgba(var(--om-paper-rgb), 0.9);
}
.showcase-card__link {
  display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700;
  background: linear-gradient(90deg, var(--om-accent), var(--om-accent-alt));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: filter 0.18s ease;
}
.showcase-card:hover .showcase-card__link { filter: brightness(1.25); }

/* ————————————————————— Sectors ————————————————————— */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 40px; }
.sectors__link {
  font-size: 17px; font-weight: 600; padding: 12px 0;
  border-bottom: 1px solid var(--om-line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--om-paper);
}
.sectors__link:hover { color: var(--om-accent-bright); }
.sectors__link span { color: var(--om-accent); }

/* ————————————————————— Case study ————————————————————— */
.case { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.case__media { order: 2; }
.case__content { order: 1; }
.case__meta { display: block; font-size: 14px; font-weight: 700; color: var(--om-accent); margin-bottom: 16px; }
.case__title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; margin: 0 0 18px; max-width: 24ch; }
.case__body { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.68; max-width: 52ch; margin: 0 0 28px; color: var(--om-muted); }
.case__kpis { display: flex; flex-wrap: wrap; gap: 36px; margin-bottom: 28px; }
.case__kpi-value { display: block; font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: -0.03em; font-family: var(--font-heading); }
.case__kpi-label { display: block; font-size: 14px; margin-top: 8px; color: var(--om-muted); }
.case__link { font-size: 15px; font-weight: 700; color: var(--om-accent); }
.case__link:hover { color: var(--om-accent-bright); }

@media (max-width: 700px) {
  .case__media { order: 1; }
  .case__content { order: 2; }
}

/* ————————————————————— Process ————————————————————— */
.process__step-n { display: block; font-weight: 700; font-size: 15px; color: var(--om-accent); margin-bottom: 14px; }
.process__step-title { font-size: 21px; line-height: 1.2; letter-spacing: 0.03em; margin: 0 0 10px; }
.process__step-body { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.65; margin: 0; color: var(--om-muted); }

/* ————————————————————— Stack ————————————————————— */
.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.stack__intro-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; margin: 0 0 16px; }
.stack__note { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.65; max-width: 46ch; margin: 0 0 24px; color: var(--om-muted); }
.stack__partner-label { display: block; font-size: 14px; font-weight: 700; color: var(--om-accent); margin-bottom: 10px; }
.stack__partner-line { font-size: 16px; line-height: 1.7; margin: 0; color: var(--om-paper); }
.stack__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px 40px; }
.stack__group-name { display: block; font-size: 15px; font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid var(--om-line); margin-bottom: 12px; font-family: var(--font-heading); }
.stack__group-line { font-size: 15px; line-height: 1.8; margin: 0; color: var(--om-muted); }

/* ————————————————————— Quote ————————————————————— */
.quote { max-width: 960px; margin: 0; }
.quote__text { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.24; letter-spacing: -0.03em; margin: 0 0 24px; font-family: var(--font-heading); font-weight: 700; }
.quote__who { font-size: 15px; color: var(--om-muted); font-style: normal; }

/* single feature panel (used for the "assessment" / "careers" CTA blocks) */
.feature-panel { background: var(--om-panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: stretch; }
.feature-panel__media { position: relative; min-height: 260px; }
.feature-panel__body { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.feature-panel__title { font-size: clamp(28px, 3.4vw, 42px); margin: 0; }
.feature-panel__text { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.65; margin: 0; color: var(--om-muted); max-width: 46ch; }

/* ————————————————————— FAQ ————————————————————— */
.faq { max-width: 900px; }
.faq__item { border-bottom: 1px solid var(--om-line); }
.faq__item summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 19px; letter-spacing: -0.015em;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { font-size: 22px; line-height: 1; color: var(--om-accent); transition: transform 0.2s ease; flex: none; }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__answer { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.7; margin: 0 0 22px; max-width: 66ch; color: var(--om-muted); }

/* ————————————————————— Contact ————————————————————— */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-grid__title { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.04; margin: 0 0 18px; max-width: 20ch; }
.contact-grid__body { font-family: var(--font-body); font-weight: 400; font-size: 18px; line-height: 1.65; max-width: 42ch; margin: 0 0 26px; color: var(--om-muted); }
.contact-info { display: grid; gap: 8px; font-size: 16px; }
.contact-info__email { font-weight: 700; }
.contact-info__meta { color: var(--om-muted); }

.form { display: grid; gap: 16px; background: var(--om-panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: clamp(24px, 3vw, 36px); }
.field { display: grid; gap: 7px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--om-muted); }
.field input, .field textarea {
  padding: 13px 14px; border: 1px solid var(--om-line);
  background: rgba(var(--om-ground-rgb), 0.5);
  font-family: var(--font-body); font-size: 15px; color: var(--om-paper);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--om-accent); }
.form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__sent { font-size: 14px; color: var(--om-accent); }
.form__note { font-family: var(--font-body); font-weight: 400; font-size: 13px; line-height: 1.55; margin: 0; color: var(--om-muted); }

/* ————————————————————— Footer ————————————————————— */
.footer { border-top: 1px solid var(--om-line); background: var(--om-panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.footer__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--pad-inline); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 40px; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__brand-name { font-weight: 700; font-size: 18px; letter-spacing: 0.16em; color: var(--om-paper); font-family: var(--font-body); }
.footer__blurb { font-size: 15px; line-height: 1.6; margin: 0; max-width: 34ch; color: var(--om-muted); }
.footer__col-head { display: block; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer__col-links { display: grid; gap: 9px; }
.footer__col-links a { font-size: 15px; color: var(--om-muted); }
.footer__col-links a:hover { color: var(--om-paper); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between;
  margin-top: clamp(28px, 4vw, 48px); padding-top: 20px; border-top: 1px solid var(--om-line);
  font-size: 13px; color: var(--om-muted);
}

.brand-mark { flex: none; overflow: visible; }
.brand-mark__back { opacity: 0.3; }
.nav__brand:hover .brand-mark__back { opacity: 0.55; }

.service__link { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--om-accent); }
.service__link:hover { color: var(--om-accent-bright); }

/* la nav e' sticky: le ancore devono fermarsi sotto, non dietro */
section[id], .service[id], .services-teaser__item[id] { scroll-margin-top: 96px; }

/* =====================================================================
   PAGINE SERVIZIO — impaginazione editoriale
   Componenti usati dalle sei pagine di "Cosa facciamo" (app, gestionali,
   ai, marketing, consulenza, startup-partnership). Obiettivo: una pagina
   scansionabile per sezioni, con sub-nav ancorata, griglie a filo e
   blocchi di prova, invece di un unico scorrimento indifferenziato.
   ===================================================================== */

:root {
  --nav-h: 71px;      /* .nav__row: 18px + 34px + 18px + 1px di bordo */
}

/* ————— Etichetta e testata di sezione ————— */
.eyebrow {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--om-accent); margin-bottom: 18px;
}
.eyebrow--muted { color: rgba(var(--om-paper-rgb), 0.5); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px); margin-bottom: clamp(36px, 4vw, 56px);
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; }
}
.section-head__title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; letter-spacing: 0.03em; margin: 0; max-width: 22ch; }
.section-head__note {
  font-family: var(--font-body); font-weight: 400;
  font-size: 17px; line-height: 1.68; margin: 0; max-width: 52ch; color: var(--om-muted);
}

/* ————— Griglia capacità (schede a filo) ————— */
.cap-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; align-items: stretch;
}
@media (min-width: 900px) { .cap-grid--trio { grid-template-columns: repeat(3, 1fr); } }
.cap-card {
  position: relative; background: var(--om-ground);
  border: 1px solid var(--om-line);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; height: 100%;
  transition: background 0.18s ease;
}
/* Spazio riservato all'illustrazione isometrica: l'altezza fissa tiene
   allineati numero e titolo delle tre schede anche se un'immagine manca. */
.cap-card__media {
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 24px; padding: 14px;
  min-height: 200px;
  background: var(--om-panel); border: 1px solid var(--om-line);
}
.cap-card__media img { width: 100%; max-height: 200px; object-fit: contain; }
.cap-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--om-accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.24s ease;
}
.cap-card:hover { background: var(--om-panel); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-card__n {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: 14px; letter-spacing: 0.12em;
  color: rgba(var(--om-paper-rgb), 0.62); margin-bottom: 20px;
}
.cap-card__title { font-size: 25px; line-height: 1.2; letter-spacing: 0.03em; margin: 0 0 12px; }
.cap-card__body {
  font-family: var(--font-body); font-weight: 400;
  font-size: 16px; line-height: 1.68; margin: 0 0 20px; color: var(--om-muted);
}
.cap-card__list { list-style: none; margin: 0 0 22px; padding: 0; }
.cap-card__list li {
  position: relative; padding-left: 18px;
  font-size: 15px; line-height: 1.5; margin-bottom: 0.75rem;
  color: var(--om-muted);
}
.cap-card__list li:last-child { margin-bottom: 0; }
.cap-card__list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border: 1px solid var(--om-accent);
}

/* ————— Percorso a fasi (binario numerato) ————— */
/* Sotto i 900px le fasi si impilano: la timeline diventa verticale a sinistra,
   sopra i 900px e' la linea orizzontale che collega il passo 01 al passo 04. */
.rail, .process {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem; padding-left: 28px;
}
.rail::before, .process::before {
  content: ""; position: absolute;
  top: 7px; bottom: 7px; left: 5px;
  border-left: 2px solid var(--om-accent); opacity: 0.5;
}
.rail__step, .process > div { position: relative; }
.rail__step::before, .process > div::before {
  content: ""; position: absolute; top: 1px; left: -28px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--om-ground); border: 2px solid var(--om-accent);
}
@media (min-width: 900px) {
  .rail, .process { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: 0; padding-top: 34px; }
  .rail::before, .process::before {
    top: 5px; bottom: auto; left: 0; right: 0;
    border-left: 0; border-top: 2px solid var(--om-accent);
  }
  .rail__step::before, .process > div::before { top: -34px; left: 0; }
}
.rail__n { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--om-accent); margin-bottom: 12px; }
.rail__title { font-size: 21px; line-height: 1.2; letter-spacing: 0.03em; margin: 0 0 10px; }
.rail__body { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.65; margin: 0; color: var(--om-muted); }

/* ————— Badge: frasi chiave del processo ————— */
.badge {
  display: inline-block;
  margin: 12px 0 0;
  padding: 7px 13px;
  background: rgba(var(--om-accent-rgb), 0.12);
  border: 1px solid rgba(var(--om-accent-rgb), 0.32);
  color: var(--om-accent-bright);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600; line-height: 1.5;
}

/* ————— Tecnologie come etichette ————— */
.tech { display: grid; gap: clamp(28px, 3vw, 44px); }
@media (min-width: 900px) { .tech { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); } }
.tech__groups { display: grid; gap: 30px; }
.tech__group-name {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(var(--om-paper-rgb), 0.55);
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--om-line);
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-block; padding: 8px 15px; border: 1px solid var(--om-line);
  font-size: 14px; font-weight: 500; line-height: 1.2; color: rgba(var(--om-paper-rgb), 0.84);
  transition: border-color 0.16s ease, color 0.16s ease;
}
.chip:hover { border-color: rgba(var(--om-accent-rgb), 0.55); color: var(--om-paper); }

/* la FAQ delle pagine servizio sta in due colonne: domande a destra */
.faq-split { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 900px) { .faq-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); } }
.faq-split .faq { max-width: none; }

@media (prefers-reduced-motion: reduce) {
  .cap-card::before, .showcase-card::before, .faq__plus { transition: none; }
}

/* =====================================================================
   STRISCIA TELEFONI MYFIT — estratta e riadattata da myfit-landing
   (myfit.gransoftware.it, sezione "app dei soci"). Colori e font fissi
   del prodotto, non i token OMIEN. La foto reale del post in bacheca
   dell'originale (un cliente specifico) è sostituita da un riempimento
   generico: qui va mostrato solo il prodotto, non un cliente. Tutto è
   annidato sotto .mf-phones per non toccare classi già in uso altrove.
   ===================================================================== */
.mf-phones {
  --red: #e7152e; --lime: #d4ff3a; --ink: #0a0a0a; --text: #f5f5f5; --text-2: #c8c8c8;
  --dim: #8a8a8a; --faint: #5f5f5f; --orange: #ff7a3a; --gold: #ffb547;
  --surface-3: #232323; --border-2: #333; --hair: #1a1a1a;
  --display: -apple-system, "Segoe UI", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --body: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap;
  gap: 18px; margin: 0 auto;
}
.mf-phones .phone { width: 300px; flex-shrink: 0; zoom: 0.8; }
.mf-phones .device { background: #000; border: 1px solid var(--border-2); border-radius: 36px; padding: 8px; box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.55); position: relative; color: var(--text); }
.mf-phones .device::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 64px; height: 5px; border-radius: 3px; background: #1a1a1a; z-index: 6; }
.mf-phones .screen { background: #0d0d0d; border-radius: 29px; overflow: hidden; height: 600px; position: relative; display: flex; flex-direction: column; font-family: var(--body); }
.mf-phones .sbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 4px; font-size: 11px; color: var(--text); font-weight: 700; }
.mf-phones .sbar .rt { display: flex; gap: 5px; align-items: center; }
.mf-phones .sbar .rt svg { display: block; }
.mf-phones .a-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px; }
.mf-phones .a-head .dd { font-size: 10.5px; color: var(--dim); white-space: nowrap; }
.mf-phones .a-head .hi { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; margin-top: 2px; white-space: nowrap; }
.mf-phones .a-head .sp { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.mf-phones .a-head .bell2 { font-size: 20px; line-height: 1; }
.mf-phones .a-head .uav { width: 34px; height: 34px; border-radius: 50%; background: #242424; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--text); }
.mf-phones .pbody { flex: 1; overflow: hidden; padding: 0 16px 4px; display: flex; flex-direction: column; gap: 10px; -webkit-mask-image: linear-gradient(180deg, #000 92%, transparent); mask-image: linear-gradient(180deg, #000 92%, transparent); }
.mf-phones .tabbar { display: flex; justify-content: space-between; align-items: flex-end; padding: 6px 10px 12px; border-top: 1px solid #1a1a1a; background: #0d0d0d; }
.mf-phones .tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 8.8px; color: #8a8a8a; min-width: 0; }
.mf-phones .tab .tp { width: 40px; height: 26px; border-radius: 999px; display: grid; place-items: center; }
.mf-phones .tab svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mf-phones .tab.on { color: var(--lime); font-weight: 600; }
.mf-phones .tab.on .tp { background: var(--lime); }
.mf-phones .tab.on svg { stroke: var(--ink); }
.mf-phones .cap { width: auto; height: auto; background: none; border: 0; padding: 0; text-align: center; margin-top: 16px; }
.mf-phones .cap b { font-family: var(--display); font-size: 15px; display: block; letter-spacing: -0.01em; color: var(--text); }
.mf-phones .cap span { font-size: 12px; color: var(--dim); }
.mf-phones .goal { background: #161616; border-radius: 20px; padding: 14px 13px; display: flex; align-items: center; gap: 12px; }
.mf-phones .ring { width: 80px; height: 80px; flex-shrink: 0; }
.mf-phones .goal .gtxt { flex: 1; min-width: 0; }
.mf-phones .goal .gl { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--lime); font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; white-space: nowrap; overflow: hidden; }
.mf-phones .goal .gl .md { color: var(--text-2); flex-shrink: 0; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 9.5px; }
.mf-phones .goal .gv { font-family: var(--display); font-weight: 700; font-size: 16.5px; margin: 6px 0 4px; letter-spacing: -0.02em; white-space: nowrap; color: var(--text); }
.mf-phones .goal .gs { font-size: 10px; color: var(--dim); line-height: 1.4; }
.mf-phones .goal-legend { display: flex; gap: 15px; font-size: 11px; padding: 2px 4px 0; }
.mf-phones .goal-legend span { display: flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; white-space: nowrap; }
.mf-phones .goal-legend span em { font-style: normal; color: var(--text-2); font-weight: 500; }
.mf-phones .goal-legend i { width: 9px; height: 9px; border-radius: 50%; }
.mf-phones .rec { border: 1.5px solid var(--lime); border-radius: 20px; padding: 15px; background: #0d0d0d; }
.mf-phones .rec .rl { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.mf-phones .rec .rt { font-family: var(--display); font-weight: 700; font-size: 21px; margin: 9px 0 4px; white-space: nowrap; letter-spacing: -0.02em; color: var(--text); }
.mf-phones .rec .rm { font-size: 10.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-phones .rec .rbtn { background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; font-size: 13.5px; border-radius: 13px; padding: 12px; text-align: center; margin: 12px 0 10px; }
.mf-phones .rec .rv { font-family: var(--display); font-weight: 700; font-size: 12.5px; color: var(--lime); }
.mf-phones .sect-t { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.mf-phones .sect-t b { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--text); }
.mf-phones .sect-t span { margin-left: auto; font-size: 10.5px; color: var(--dim); }
.mf-phones .acts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; }
.mf-phones .act { background: #161616; border-radius: 17px; padding: 12px; min-width: 0; }
.mf-phones .act .ah { display: flex; align-items: flex-start; gap: 8px; }
.mf-phones .act .ai { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.mf-phones .act .an { font-family: var(--display); font-weight: 600; font-size: 11.5px; line-height: 1.2; color: var(--text); }
.mf-phones .act .ar { margin-left: auto; color: var(--faint); font-size: 13px; }
.mf-phones .act .abig { font-family: var(--display); font-weight: 700; font-size: 27px; margin: 8px 0 2px; letter-spacing: -0.02em; color: var(--text); }
.mf-phones .act .abig.lime { color: var(--lime); }
.mf-phones .act .asub { font-size: 9.8px; color: var(--dim); line-height: 1.4; }
.mf-phones .act .aem { font-size: 10px; font-weight: 700; margin-top: 6px; color: var(--text); }
.mf-phones .act .amini-bar { height: 7px; border-radius: 4px; background: var(--surface-3); margin-top: 9px; overflow: hidden; }
.mf-phones .act .amini-bar i { display: block; height: 100%; border-radius: 4px; }
.mf-phones .act .aleg { font-size: 9px; color: var(--text-2); margin-top: 6px; display: flex; align-items: center; gap: 5px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.mf-phones .act .aleg i { width: 7px; height: 7px; border-radius: 50%; }
.mf-phones .wo-h { margin-bottom: 2px; position: relative; padding-left: 38px; }
.mf-phones .wo-h .bk { position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 10px; background: #1c1c1c; display: grid; place-items: center; font-size: 15px; color: var(--text-2); }
.mf-phones .wo-h .wl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.mf-phones .wo-h .wt { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 5px 0 3px; letter-spacing: -0.02em; color: var(--text); }
.mf-phones .wo-h .ws { font-size: 11.5px; color: var(--text-2); }
.mf-phones .wo-seg { display: flex; gap: 6px; }
.mf-phones .wo-seg span { flex: 1; text-align: center; padding: 10px 0; border-radius: 10px; background: #1c1c1c; font-size: 11.5px; color: var(--text-2); font-weight: 700; font-family: var(--display); }
.mf-phones .wo-seg span.on { background: var(--red); color: #fff; }
.mf-phones .wo-seg2 { display: flex; gap: 8px; }
.mf-phones .wo-seg2 span { flex: 1; text-align: center; padding: 11px 0; border-radius: 999px; background: #1c1c1c; font-size: 12.5px; color: var(--text-2); font-weight: 700; font-family: var(--display); }
.mf-phones .wo-seg2 span.on { background: var(--lime); color: var(--ink); }
.mf-phones .wo-title { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--text); }
.mf-phones .wo-chart { background: #141414; border-radius: 16px; padding: 12px 8px 10px 10px; }
.mf-phones .wo-chart .cap { font-size: 10.5px; color: var(--dim); text-align: center; margin-top: 6px; }
.mf-phones .wo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mf-phones .wo-st { background: #161616; border-radius: 14px; padding: 12px 13px; }
.mf-phones .wo-st .l { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.mf-phones .wo-st .v { font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--lime); margin-top: 5px; letter-spacing: -0.02em; }
.mf-phones .wo-st .v.white { color: var(--text); }
.mf-phones .bk-h { display: flex; align-items: center; justify-content: space-between; }
.mf-phones .bk-h .bt { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; color: var(--text); }
.mf-phones .bk-h .mine { font-size: 9.5px; font-weight: 600; background: #1c1c1c; border-radius: 10px; padding: 8px 10px; display: flex; align-items: center; gap: 5px; white-space: nowrap; color: var(--text); }
.mf-phones .bk-lbl { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--text); }
.mf-phones .bk-dates { display: flex; gap: 7px; }
.mf-phones .bk-d { flex: 1; text-align: center; padding: 11px 0 10px; border-radius: 13px; background: #1c1c1c; color: var(--text); }
.mf-phones .bk-d.on { background: var(--lime); color: var(--ink); }
.mf-phones .bk-d .dw { font-family: var(--mono); font-size: 9px; text-transform: uppercase; opacity: 0.75; font-weight: 600; letter-spacing: 0.04em; }
.mf-phones .bk-d .dn { font-family: var(--display); font-weight: 700; font-size: 12.5px; margin-top: 4px; white-space: nowrap; }
.mf-phones .bk-filters { display: flex; gap: 8px; }
.mf-phones .bk-f { flex: 1; background: #1c1c1c; border-radius: 11px; padding: 10px; font-size: 10px; display: flex; align-items: center; gap: 6px; min-width: 0; }
.mf-phones .bk-f .fl { font-family: var(--mono); font-size: 6.8px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.mf-phones .bk-f .fv { font-weight: 600; font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.mf-phones .bk-course { background: #161616; border-radius: 16px; padding: 14px 15px; }
.mf-phones .bk-course .cn { font-family: var(--display); font-weight: 700; font-size: 16.5px; letter-spacing: -0.01em; color: var(--text); }
.mf-phones .bk-course .ct { font-size: 12.5px; color: var(--text); margin: 7px 0 3px; display: flex; align-items: center; gap: 7px; font-weight: 600; }
.mf-phones .bk-course .cl2 { font-size: 11px; color: var(--dim); display: flex; align-items: center; gap: 7px; }
.mf-phones .bk-course .capr { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-2); margin-top: 11px; }
.mf-phones .bk-course .capbar { height: 4px; background: var(--surface-3); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.mf-phones .bk-course .capbar i { display: block; height: 100%; border-radius: 3px; }
.mf-phones .bk-course .avail { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); margin-top: 11px; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.mf-phones .bc-eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.mf-phones .bc-title { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; margin-top: 4px; color: var(--text); }
.mf-phones .bc-head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.mf-phones .bc-av { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.mf-phones .bc-nm { font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--text); }
.mf-phones .bc-when { font-size: 10px; color: var(--dim); margin-top: 1px; }
.mf-phones .bc-h { font-family: var(--display); font-weight: 700; font-size: 16px; margin: 2px 0 6px; color: var(--text); }
.mf-phones .bc-tx, .mf-phones .bc-li { font-size: 11.5px; color: var(--text-2); line-height: 1.5; }
.mf-phones .bc-li { margin-top: 2px; }
.mf-phones .bc-more { color: var(--lime); font-weight: 700; font-size: 12px; margin-top: 8px; }
.mf-phones .bc-photo { position: relative; border-radius: 14px; overflow: hidden; height: 184px; flex-shrink: 0; background: linear-gradient(135deg, #1c2a12, #0d0d0d 60%); display: flex; align-items: center; justify-content: center; }
.mf-phones .bc-photo .ic { font-size: 34px; opacity: 0.7; }
.mf-phones .bc-actions { display: flex; gap: 18px; align-items: center; font-size: 12px; font-weight: 700; padding: 0 2px; }
.mf-phones .bc-actions .like { color: #ff4d5e; }
.mf-phones .bc-actions .cm { color: var(--text-2); font-weight: 600; }
.mf-phones .gear { position: absolute; bottom: 78px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--border-2); display: grid; place-items: center; z-index: 5; }
.mf-phones .gear svg { width: 18px; height: 18px; stroke: var(--dim); fill: none; stroke-width: 1.7; }
@media (max-width: 900px) { .mf-phones .phone { zoom: 0.72; } }
@media (max-width: 560px) { .mf-phones .phone { zoom: 0.68; } }
