/* ═══════════════════════════════════════════
   BEEVOIP 2026 — FOOTER (classi f26-). Markup: _include_footer.php · comportamento: js/h26-footer.js
   Funziona da solo su qualsiasi pagina (nuova o vecchia): variabili e reset sono qui dentro.
   ═══════════════════════════════════════════ */
.f26 {
    --ink: #f4f5f8; --body: #b8bdcb; --muted: #858b9c; --line: rgba(255, 255, 255, 0.1);
    --night: #0b0d13; --night-2: #12151e; --red: #e2241c; --honey: #ffb23e;
    --grad: linear-gradient(100deg, #e2241c 0%, #f5612e 55%, #ff9a3d 100%);
    --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
    --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
    --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    position: relative; font-family: var(--text); font-size: 16px; line-height: 1.5; color: var(--body); text-align: left; -webkit-font-smoothing: antialiased;
}
.f26 *, .f26 *::before, .f26 *::after { box-sizing: border-box; }
.f26 :where(p, ul, li, h2, h3, nav) { margin: 0; padding: 0; }
.f26 ul { list-style: none; }
.f26 a { color: inherit; text-decoration: none; }
.f26 a:hover, .f26 a:focus { text-decoration: none; }
.f26 svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.f26 :focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
.f26 button, .f26 button:where(:hover, :focus, :active) { margin: 0; border: 0; box-shadow: none; font: inherit; text-transform: none; letter-spacing: normal; cursor: pointer; }
.f26 button:active { position: relative; top: 0 !important; }
.f26-in { width: min(100% - 160px, 1280px); margin-inline: auto; }

/* ── 1. prova / diventa partner ── */
.f26-cta { padding: 96px 0 0; background: linear-gradient(var(--page-bg, #f5f6f9) 0 50%, var(--night) 50% 100%); }
.f26-cta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.f26 .f26-cta__card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 340px; padding: 44px 44px 40px; border-radius: 32px; transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.f26 .f26-cta__card:hover { transform: translateY(-6px); }
.f26 .f26-cta__card--try { background: var(--grad); color: #fff; box-shadow: 0 40px 70px -40px rgba(226, 36, 28, 0.9); }
.f26 .f26-cta__card--partner { background: #171a24; color: #fff; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.9); }
.f26 .f26-cta__k { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; opacity: 0.85; }
.f26 .f26-cta__card--partner .f26-cta__k { color: var(--honey); opacity: 1; }
.f26 .f26-cta__t { max-width: 18ch; font-family: var(--display); font-size: clamp(30px, 3vw, 44px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
.f26 .f26-cta__p { max-width: 44ch; font-size: 17px; line-height: 1.55; opacity: 0.92; }
.f26 .f26-cta__card--partner .f26-cta__p { color: var(--body); opacity: 1; }
.f26 .f26-cta__go { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: auto; height: 52px; padding: 0 24px; border-radius: 999px; background: #fff; color: #0b0d13; font-weight: 700; font-size: 16px; }
.f26 .f26-cta__card--partner .f26-cta__go { background: rgba(255, 178, 62, 0.14); color: var(--honey); }
.f26-cta__go svg { width: 16px; height: 16px; stroke-width: 2.2; transition: transform 0.2s ease; }
.f26 .f26-cta__card:hover .f26-cta__go svg { transform: translateX(4px); }
.f26-cta__comb { position: absolute; right: -40px; bottom: -50px; width: 260px; height: 260px; opacity: 0.22; pointer-events: none; }
.f26-cta__comb i { position: absolute; width: 74px; height: 85px; clip-path: var(--hex); background: #fff; }
.f26-cta__comb i:nth-child(1) { left: 92px; top: 20px; } .f26-cta__comb i:nth-child(2) { left: 170px; top: 20px; } .f26-cta__comb i:nth-child(3) { left: 53px; top: 87px; }
.f26-cta__comb i:nth-child(4) { left: 131px; top: 87px; opacity: 0.4; } .f26-cta__comb i:nth-child(5) { left: 209px; top: 87px; } .f26-cta__comb i:nth-child(6) { left: 92px; top: 154px; } .f26-cta__comb i:nth-child(7) { left: 170px; top: 154px; }

/* ── 2. clienti ── */
.f26-clients { padding: 72px 0 8px; background: var(--night); }
.f26 .f26-clients__k { margin-bottom: 22px; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.f26-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.f26-marquee__track { display: flex; gap: 14px; width: max-content; animation: f26-scroll 60s linear infinite; }
.f26-marquee:hover .f26-marquee__track { animation-play-state: paused; }
@keyframes f26-scroll { to { transform: translateX(-33.3333%); } }
.f26 .f26-logo { display: grid; place-items: center; flex: none; width: 168px; height: 80px; padding: 14px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.95); }
.f26-logo img { max-width: 100%; max-height: 48px; width: auto; height: auto; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s ease, opacity 0.3s ease; }
.f26-logo:hover img { filter: none; opacity: 1; }

/* ── 3. il fondo dell'alveare ── */
.f26-main { position: relative; overflow: hidden; padding-top: 80px; background: radial-gradient(60% 50% at 85% 0%, rgba(226, 36, 28, 0.1), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(255, 178, 62, 0.08), transparent 70%), var(--night); border-top: 1px solid rgba(255, 255, 255, 0.04); }
.f26-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px 80px; align-items: start; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.f26-brand img:first-child { display: block; width: 210px; height: auto; }
.f26 .f26-brand p { margin-top: 18px; max-width: 46ch; font-size: 17px; line-height: 1.6; color: var(--body); }
.f26-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.f26 .f26-facts li { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--body); }
.f26 .f26-facts b { font-family: var(--display); font-size: 16px; font-weight: 800; color: #fff; }
.f26-agcom { display: block; height: 34px; width: auto; margin-top: 20px; opacity: 0.8; }
.f26-live { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 28px 26px; border-radius: 26px; background: var(--night-2); border: 1px solid var(--line); }
.f26 .f26-live__st { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--body); }
.f26-live__st i { width: 9px; height: 9px; border-radius: 50%; background: #6b7080; }
.f26-live__st.is-open i { background: #2fd08f; animation: f26-ping 1.8s ease-out infinite; }
.f26 .f26-live__st.is-open { color: #fff; }
@keyframes f26-ping { 0% { box-shadow: 0 0 0 0 rgba(47, 208, 143, 0.6); } 100% { box-shadow: 0 0 0 9px rgba(47, 208, 143, 0); } }
.f26 .f26-live__big { display: flex; flex-direction: column; gap: 2px; font-family: var(--display); font-size: clamp(34px, 3.4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.f26 .f26-live__big span { font-family: var(--mono); font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: var(--honey); }
.f26 .f26-live__big:hover { color: var(--honey); }
.f26 .f26-live__mail { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: #fff; }
.f26 .f26-live__mail:hover { color: var(--honey); }
.f26 .f26-live__btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; margin-top: 4px; padding: 0 22px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: 15.5px; box-shadow: 0 12px 26px -14px rgba(226, 36, 28, 0.9); transition: transform 0.2s ease; }
.f26 .f26-live__btn:hover { transform: translateY(-2px); }
.f26-live__btn svg { width: 16px; height: 16px; stroke-width: 2.2; }

/* la mappa del sito, per famiglie (colori della homepage) */
.f26-map { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.f26 .f26-map__t { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--display); font-size: 16px; font-weight: 700; color: #fff; }
.f26-map__t i { width: 14px; height: 16px; flex: none; clip-path: var(--hex); }
.f26-map__col--ai .f26-map__t i { background: linear-gradient(150deg, #cf1d15, #f2622e); }
.f26-map__col--app .f26-map__t i { background: linear-gradient(150deg, #0b8466, #19b98c); }
.f26-map__col--voip .f26-map__t i { background: linear-gradient(150deg, #1847c4, #3a8dff); }
.f26-map__col--pro .f26-map__t i { background: linear-gradient(150deg, #4b5469, #9aa1b3); }
.f26-map__col--honey .f26-map__t i { background: linear-gradient(150deg, #f29a0e, #ffc53d); }
.f26-map ul { display: grid; gap: 2px; }
.f26 .f26-map a { position: relative; display: inline-block; padding: 5px 0; font-size: 15px; color: var(--body); transition: color 0.2s ease, transform 0.2s ease; }
.f26 .f26-map a::before { content: ""; position: absolute; left: -16px; top: 50%; width: 8px; height: 9px; margin-top: -4.5px; clip-path: var(--hex); background: var(--honey); opacity: 0; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.2s ease; }
.f26 .f26-map a:hover { color: #fff; transform: translateX(4px); }
.f26 .f26-map a:hover::before { opacity: 1; transform: none; }

.f26-contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 28px 0 8px; }
.f26 .f26-contacts p { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--body); }
.f26 .f26-contacts p svg { color: var(--honey); }
.f26 .f26-contacts b { color: #fff; }
.f26 .f26-contacts a:hover { color: #fff; }
.f26-social { display: flex; gap: 8px; margin-left: auto; }
.f26 .f26-social a { display: grid; place-items: center; width: 42px; height: 46px; clip-path: var(--hex); background: rgba(255, 255, 255, 0.08); color: #fff; transition: background-color 0.2s ease, transform 0.2s ease; }
.f26 .f26-social a:hover { background: var(--red); transform: translateY(-2px); }
.f26-social svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* la scritta BEEVOIP fatta di celle */
.f26-hive { position: relative; margin-top: 24px; height: clamp(120px, 21vw, 300px); }
.f26-hive canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.f26 .f26-hive__fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: clamp(80px, 19vw, 280px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: rgba(255, 178, 62, 0.08); pointer-events: none; }
.f26-hive.is-ready .f26-hive__fallback { display: none; }

.f26-legal { position: relative; z-index: 1; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); }
.f26-legal__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 18px 0 20px; }
.f26 .f26-legal p { font-size: 13.5px; color: var(--muted); }
.f26-legal nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.f26 .f26-legal a { font-size: 13.5px; color: var(--muted); }
.f26 .f26-legal a:hover { color: #fff; }

/* ── misure ── */
@media (max-width: 1199px) {
    .f26-in { width: min(100% - 96px, 1280px); }
    .f26-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
    .f26-cta__grid, .f26-top { grid-template-columns: 1fr; }
    .f26-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .f26-social { margin-left: 0; }
}
@media (max-width: 639px) {
    .f26-in { width: calc(100% - 44px); }
    .f26-cta { padding-top: 64px; }
    .f26 .f26-cta__card { min-height: 0; padding: 30px 24px 26px; border-radius: 24px; }
    .f26 .f26-cta__go { width: 100%; justify-content: center; }
    .f26-main { padding-top: 56px; }
    .f26 .f26-logo { width: 130px; height: 64px; padding: 10px 14px; }
    .f26-map { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
    .f26 .f26-map a { font-size: 14px; }
    .f26-contacts { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .f26 *, .f26 *::before { animation: none !important; transition: none !important; } }
