/* ═══════════════════════════════════════════
   BEEVOIP 2026 — Chi siamo / il team (classi h26t-), sopra home-2026.css e h26-prodotto.css
   L'alveare delle persone: celle esagonali con la foto scontornata. Al passaggio la testa esce dalla cella.
   I colori dei reparti sono quelli delle famiglie della homepage.
   ═══════════════════════════════════════════ */
.h26t {
    --dir: linear-gradient(150deg, #cf1d15, #f2622e);
    --rs: linear-gradient(150deg, #0b8466, #19b98c);
    --sup: linear-gradient(150deg, #1847c4, #3a8dff);
    --ammi: linear-gradient(150deg, #f29a0e, #ffc53d);
    --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ── hero ── */
.h26t-hero { position: relative; padding: 56px 0 72px; overflow: hidden; background: radial-gradient(60% 55% at 50% 62%, rgba(255, 178, 62, 0.13), transparent 70%), #fff; }
.h26t-hero__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 28px 64px; align-items: end; }
.h26 .h26t-eyebrow { margin: 0 0 18px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; color: var(--muted); }
.h26 .h26t-h1 { margin: 0; font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; }
.h26 .h26t-h1 span, .h26 .h26t-h1 em { display: block; font-size: clamp(38px, 5vw, 72px); }
.h26 .h26t-h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.h26 .h26t-hero__lead { margin: 0 0 8px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--body); }
.h26 .h26t-hero__lead b { color: var(--ink); }

/* ── l'alveare: posizioni calcolate da --x/--y (righe sfalsate di mezza cella) ── */
.h26t-stage { container-type: inline-size; margin-top: clamp(28px, 4vw, 52px); }
.h26t-hive {
    --cols: 5; --rows: 3; --gap: 10px;
    --w: min(184px, calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols)));
    --h: calc(var(--w) * 1.1547);
    --step: calc(var(--h) * 0.75 + var(--gap) * 0.866);
    position: relative; margin: 0 auto; padding-top: calc(var(--h) * 0.16);
    width: calc(var(--cols) * var(--w) + (var(--cols) - 1) * var(--gap));
    height: calc(var(--h) * 1.16 + (var(--rows) - 1) * var(--step));
}
.h26t-cell { --x: var(--xd); --y: var(--yd); }
.h26 .h26t-cell, .h26 .h26t-cell:active, .h26 .h26t-cell:focus {
    position: absolute; left: 0; top: calc(var(--h) * 0.16) !important; width: var(--w); height: var(--h);
    translate: calc(var(--x) * (var(--w) + var(--gap))) calc(var(--y) * var(--step));
    display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; outline-offset: 2px;
    font: inherit; color: #fff; text-transform: none; letter-spacing: normal; line-height: 1.2; cursor: pointer;
    transition: opacity 0.35s ease, filter 0.35s ease, transform 0.6s var(--ease);
}
.h26t-cell__bg { position: absolute; inset: 0; clip-path: var(--hex); background: var(--g, #12141c); transition: filter 0.3s ease; }
.h26t-cell__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(48% 36% at 50% 34%, rgba(255, 255, 255, 0.3), transparent 72%); }
.h26t-cell--dir { --g: var(--dir); }
.h26t-cell--rs { --g: var(--rs); }
.h26t-cell--sup { --g: var(--sup); }
.h26t-cell--ammi { --g: var(--ammi); }

/* la foto: sotto segue l'esagono, sopra è aperta, così la testa può uscire dalla cella */
.h26t-cell__pic { position: absolute; inset: 0; clip-path: polygon(0 -60%, 100% -60%, 100% 75%, 50% 100%, 0 75%); pointer-events: none; }
.h26t-cell__pic img { position: absolute; left: -14%; bottom: -24%; width: 128%; height: auto; max-width: none; transform-origin: 50% 100%; transition: transform 0.45s var(--ease); }
.h26t-cell__pic::after { content: ""; position: absolute; inset: 0; clip-path: var(--hex); background: linear-gradient(180deg, transparent 52%, rgba(8, 10, 16, 0.78) 82%); }
.h26t-cell__mono {
    position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 22%;
    font-family: var(--display); font-size: calc(var(--w) * 0.3); font-weight: 700; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.92);
    transition: transform 0.45s var(--ease);
}
.h26t-cell__txt { position: absolute; left: 10%; right: 10%; bottom: 15%; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; pointer-events: none; }
.h26t-cell__txt b { font-family: var(--display); font-size: clamp(12px, calc(var(--w) * 0.078), 16px); font-weight: 650; line-height: 1.1; letter-spacing: -0.01em; color: #fff; }
.h26t-cell__txt i { font-family: var(--mono); font-style: normal; font-size: clamp(9px, calc(var(--w) * 0.05), 11px); line-height: 1.25; color: rgba(255, 255, 255, 0.78); max-width: 15ch; }
.h26t-cell--logo .h26t-cell__bg { background: radial-gradient(70% 60% at 50% 30%, #262a36, #0d0f16); }
.h26t-cell--logo .h26t-cell__bg::after { display: none; }
.h26 .h26t-cell--logo { cursor: default; }
.h26t-cell--logo img { position: absolute; left: 50%; top: 50%; width: 74%; max-width: none; height: auto; transform: translate(-50%, -50%); }

.h26t-cell:is(:hover, :focus-visible, .is-on) { z-index: 3; }
.h26t-cell:is(:hover, :focus-visible, .is-on) .h26t-cell__bg { filter: brightness(1.1) saturate(1.1); }
.h26t-cell:is(:hover, :focus-visible, .is-on) .h26t-cell__pic img { transform: translateY(-20%) scale(1.14); }
.h26t-cell:is(:hover, :focus-visible, .is-on) .h26t-cell__mono { transform: scale(1.12); }
.h26t-hive[data-on] .h26t-cell:not(.h26t-cell--logo) { opacity: 0.32; filter: grayscale(0.9); }
.h26t-hive[data-on="dir"] .h26t-cell[data-rep="dir"], .h26t-hive[data-on="rs"] .h26t-cell[data-rep="rs"],
.h26t-hive[data-on="sup"] .h26t-cell[data-rep="sup"], .h26t-hive[data-on="ammi"] .h26t-cell[data-rep="ammi"] { opacity: 1; filter: none; }

/* entrata: le celle si accendono dal logo verso l'esterno */
.h26-js .h26t-hive:not(.is-in) .h26t-cell { opacity: 0; transform: scale(0.6); }
.h26-js .h26t-hive.is-in .h26t-cell { transition-delay: calc(var(--d) * 70ms), 0s, calc(var(--d) * 70ms); }
.h26-js .h26t-hive.is-in.is-done .h26t-cell { transition-delay: 0s; }
.h26-js .h26t-hive.h26p-rv { opacity: 1; transform: none; }

/* legenda e lettura sotto l'alveare */
.h26 .h26t-bar { padding-top: 26px; animation: none; }
.h26t-legend [data-rep="dir"] i { background: var(--dir); }
.h26t-legend [data-rep="rs"] i { background: var(--rs); }
.h26t-legend [data-rep="sup"] i { background: var(--sup); }
.h26t-legend [data-rep="ammi"] i { background: var(--ammi); }
.h26 .h26t-legend button[aria-pressed="true"] { border-color: var(--ink); box-shadow: var(--shadow); }
.h26 .h26t-legend button, .h26 .h26t-legend button:active { top: 0 !important; }
.h26 .h26t-proof { margin-top: 36px; animation: none; }
.h26 .h26t-proof b { white-space: nowrap; }

/* ── fondatori ── */
.h26t-origin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.h26 .h26t-origin .h26-lead { margin-top: 24px; }
.h26 .h26t-origin .h26-lead b { color: var(--ink); }
.h26t-founders { display: grid; gap: 18px; }
.h26 .h26t-founder { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: start; padding: 26px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.h26t-founder__hex { position: relative; display: block; width: 112px; height: 129px; clip-path: var(--hex); background: var(--g); }
.h26t-founder__hex img { position: absolute; left: -14%; bottom: -24%; width: 128%; height: auto; max-width: none; }
.h26 .h26t-founder h3 { font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; }
.h26 .h26t-founder__role { margin-top: 4px; font-family: var(--mono); font-size: 13px; color: var(--red-ink); }
.h26 .h26t-founder p:not(.h26t-founder__role) { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--body); }
.h26 .h26t-in { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 600; color: #0a66c2; }
.h26 .h26t-in:hover { color: var(--ink); }
.h26t-in svg { width: 18px; height: 18px; fill: currentColor; }

/* titoli con testo sotto */
.h26.h26t .h26-titled > .h26-lead { margin-top: 22px; }

/* ── perché ── */
.h26 #perche .h26-why { margin-top: 56px; }

/* ── esperienza VoIP (scura) ── */
.h26t-dark {
    --ink: #f4f5f8; --body: #c3c7d2; --muted: #a9adba; --line: rgba(255, 255, 255, 0.12); --soft: rgba(255, 255, 255, 0.06);
    background: radial-gradient(60% 70% at 88% 0%, rgba(255, 178, 62, 0.14), transparent 65%), radial-gradient(50% 60% at 0% 100%, rgba(226, 36, 28, 0.1), transparent 65%), #12141c;
    color: var(--ink);
}
.h26 .h26t-dark .h26-kicker { color: #ffb23e; }
.h26 .h26t-dark .h26-lead b { color: #fff; }
.h26t-honey { background: linear-gradient(100deg, #ffb23e, #ffd36e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h26t-net { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px 72px; align-items: end; }
.h26 .h26t-net .h26-lead { margin-top: 24px; }
.h26t-flags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.h26 .h26t-flags li { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; color: var(--body); }
.h26t-flags b { display: grid; place-items: center; width: 34px; height: 30px; clip-path: var(--hex); background: linear-gradient(150deg, #f29a0e, #ffc53d); font-family: var(--mono); font-size: 11px; color: #2b1700; }
.h26 .h26t-count { padding: 34px 34px 30px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); }
.h26 .h26t-count__lab { font-family: var(--mono); font-size: 13px; color: #ffb23e; }
.h26 .h26t-count__num { margin-top: 10px; font-family: var(--display); font-size: clamp(48px, 6vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.h26 .h26t-count__when { margin-top: 14px; font-size: 16px; color: var(--body); }
.h26 .h26t-count__when b { color: #fff; }
.h26t-count__bar { display: block; height: 6px; margin-top: 24px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.h26t-count__bar i { display: block; height: 100%; width: calc(var(--k, 1) * 100%); border-radius: inherit; background: linear-gradient(90deg, #e2241c, #ff9a3d, #ffd36e); }
.h26t-tasks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.h26 .h26t-tasks li { padding: 24px 24px 26px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.h26 .h26t-tasks b { display: block; font-family: var(--display); font-size: 22px; font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.h26 .h26t-tasks span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--body); }
.h26 .h26t-net__foot { margin-top: 36px; font-size: 18px; line-height: 1.55; color: var(--body); max-width: 62ch; }
.h26 .h26t-net__foot a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.h26 .h26t-net__foot a:hover { border-color: #ffb23e; color: #ffd36e; }

/* ── esperienza AI ── */
.h26 .h26t-timeline { margin-top: 56px; }
.h26 .h26t-timeline a { color: var(--ink); font-weight: 600; border-bottom: 1px solid rgba(13, 15, 22, 0.25); }
.h26 .h26t-timeline a:hover { color: var(--red-ink); border-color: var(--red); }

/* ── come lavoriamo ── */
.h26 .h26t-photo { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 2 / 1; background: var(--soft); }
.h26t-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.h26t-work { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px 72px; margin-top: 64px; align-items: start; }
.h26t-work__goals { display: grid; gap: 0; border-top: 1px solid var(--line); }
.h26 .h26t-goal { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.h26 .h26t-goal b { font-family: var(--display); font-size: 22px; font-weight: 650; line-height: 1.2; letter-spacing: -0.02em; }
.h26 .h26t-goal span { font-size: 17px; line-height: 1.55; color: var(--body); }
.h26 .h26t-goal a { color: var(--ink); font-weight: 600; border-bottom: 1px solid rgba(13, 15, 22, 0.25); }
.h26 .h26t-goal a:hover { color: var(--red-ink); border-color: var(--red); }

/* ── chiusura ── */
.h26t-end { display: flex; align-items: end; justify-content: space-between; gap: 32px 56px; flex-wrap: wrap; }
.h26 .h26t-end .h26-lead { margin-top: 18px; }
.h26t-end__acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── misure ── */
@media (max-width: 1023px) {
    .h26t-hero__head, .h26t-origin, .h26t-net, .h26t-work { grid-template-columns: 1fr; }
    .h26t-tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
    .h26t-hero { padding: 36px 0 56px; }
    .h26t-hive { --cols: 3; --rows: 5; --gap: 7px; }
    .h26t-cell { --x: var(--xm); --y: var(--ym); }
    .h26t-cell__txt { bottom: 17%; }
    .h26t-cell__txt i { display: none; }
    .h26 .h26t-bar .h26-hive__readout { order: -1; flex-basis: 100%; height: auto; min-height: 60px; }
    .h26 .h26t-founder { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 22px 20px; }
    .h26t-founder__hex { width: 84px; height: 97px; }
    .h26 .h26t-count { padding: 26px 22px 24px; }
    .h26t-tasks { grid-template-columns: 1fr; }
    .h26 .h26t-goal { grid-template-columns: 1fr; }
    .h26t-end__acts, .h26t-end__acts .h26-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .h26t-cell, .h26t-cell__pic img, .h26t-cell__mono { transition: none !important; }
    .h26-js .h26t-hive:not(.is-in) .h26t-cell { opacity: 1; transform: none; }
}
