/* ═══════════════════════════════════════════
   BEEVOIP 2026 — VOIP ARCO A CONTRATTO (voip-arco.php): alveare petrolio.
   Si appoggia a css/home-2026.css e css/h26-prodotto.css (stessa impostazione di voip-company.php).
   Colori: abisso #052c36 · petrolio #0b5563 · ottanio #0f7f8c · acqua #2fb8b8 · schiuma #7fdcd6 · miele #ffc53d
   ═══════════════════════════════════════════ */
.h26p--petrolio { --pet: #0b5563; --pet-2: #0f7f8c; --pet-grad: linear-gradient(100deg, #083f4c 0%, #0f7f8c 50%, #2fb8b8 100%); }
.h26-grad.h26p-petrolio { background: var(--pet-grad); -webkit-background-clip: text; background-clip: text; }
.h26p--petrolio .h26-wg.h26p-petrolio, .h26p--petrolio .h26p-petrolio { color: transparent; }

/* ═══ HERO: "Enterprise" = le chiamate in corso; il righello = i canali della linea ═══ */
.h26p-jar--arco .h26p-jar__t { font-size: 220px; }
/* il bordo si disegna sotto il vetro (paint-order): così non si vedono le linee interne del carattere variabile, come nella "E" */
.h26p-jar--arco .h26p-jar__glass { stroke: var(--ink); stroke-width: 4px; paint-order: stroke; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.h26p-jar--arco .h26p-jar__edge { display: none; }
@media (max-width: 639px) { .h26p-jar--arco .h26p-jar__glass { stroke-width: 2.8px; } }
.h26p-jar__ruler { opacity: 1; transition: transform 1.1s cubic-bezier(0.3, 0.8, 0.3, 1); pointer-events: none; }
.h26p-jar__ruler path { stroke: var(--pet); stroke-width: 1.8px; stroke-dasharray: 7 6; vector-effect: non-scaling-stroke; transition: stroke 0.3s ease; }
.h26p-jar.is-full .h26p-jar__ruler path { stroke: var(--red); animation: h26arco-dash 0.6s linear infinite; }
@keyframes h26arco-dash { to { stroke-dashoffset: -26; } }
.h26p-jar.is-full .h26p-jar__w1 { stroke: #ff8a6a; }

.h26 .h26p-live--arco .h26p-live__t { font-size: 15px; font-weight: 700; color: var(--muted); transition: color 0.3s ease; }
.h26 .h26p-live--arco.is-busy .h26p-live__t { color: var(--red); }
.h26 .h26p-live--arco .h26p-live__c { color: var(--pet); }
.h26 .h26p-arco-key { margin: 10px 0 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.h26 .h26p-hero__say em { color: var(--pet-2); }

/* i selettori: canali e A consumo / FLAT */
.h26.h26p--petrolio .h26p-modo button[data-modo="flat"][aria-pressed="true"],
.h26p--petrolio .h26p-modo button[data-ch][aria-pressed="true"] { background: var(--pet); color: #fff; }
.h26 .h26p-modo button:disabled { opacity: 0.45; cursor: not-allowed; background: transparent; color: var(--muted); }
.h26p-arco-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 34px; }
.h26 .h26p-arco-pick .h26p-modo--big { margin-top: 0; }

/* ═══ L'ALVEARE PETROLIO: 4 celle, una per quanti numeri ═══ */
.h26p-arco-lines .h26p-comb { --w: 300px; }
.h26p-arco-lines[data-sel="4"] .h26p-hex:not([data-g="4"]),
.h26p-arco-lines[data-sel="10"] .h26p-hex:not([data-g="10"]),
.h26p-arco-lines[data-sel="25"] .h26p-hex:not([data-g="25"]) { display: none; }
.h26p-arco-lines.is-swap .h26p-hex { animation: h26arco-pop 0.55s var(--ease) both; }
.h26p-arco-lines.is-swap .h26p-hex--n2 { animation-delay: 0.06s; }
.h26p-arco-lines.is-swap .h26p-hex--n3 { animation-delay: 0.12s; }
.h26p-arco-lines.is-swap .h26p-hex--n4 { animation-delay: 0.18s; }
@keyframes h26arco-pop { from { opacity: 0; scale: 0.9; } }

.h26p--petrolio .h26p-hex { filter: drop-shadow(0 26px 30px rgba(5, 44, 54, 0.3)); }
.h26p--petrolio .h26p-hex:hover { filter: drop-shadow(0 40px 36px rgba(5, 44, 54, 0.42)); }
.h26p--petrolio .h26p-hex--n1 { --face: linear-gradient(155deg, #26a6ab, #0f8290); }
.h26p--petrolio .h26p-hex--n1::before { background: #0a5f6b; }
.h26p--petrolio .h26p-hex--n2 { --face: linear-gradient(155deg, #1b919c, #0c6c7b); }
.h26p--petrolio .h26p-hex--n2::before { background: #084b57; }
.h26p--petrolio .h26p-hex--n3 { --face: linear-gradient(155deg, #13798a, #0a5666); }
.h26p--petrolio .h26p-hex--n3::before { background: #063a46; }
.h26p--petrolio .h26p-hex--n4 { --face: linear-gradient(155deg, #0e6273, #06394a); }
.h26p--petrolio .h26p-hex--n4::before { background: #03222c; }
/* la cella vuota (25 + 25 parte da 25 numeri): cera, non miele */
.h26p--petrolio .h26p-hex--vuota { filter: none; }
.h26p--petrolio .h26p-hex--vuota::before { background: #e3dcc9; }
.h26p--petrolio .h26p-hex--vuota .h26p-hex__face { --face: linear-gradient(155deg, #fbf8f0, #efe8d6); color: var(--ink); }
.h26 .h26p-hex--vuota .h26p-hex__kick, .h26 .h26p-hex--vuota .h26p-hex__act { color: var(--muted); }
.h26 .h26p-hex--vuota .h26p-hex__name { color: #8a8270; }
.h26 .h26p-hex--vuota .h26p-hex__act { margin-top: 10px; line-height: 1.5; }
.h26 .h26p-hex--vuota:hover { transform: none; }
.h26p-hex--vuota:hover::before { transform: translateY(14px); }

.h26p--petrolio .h26p-hex__cta { color: #0d0f16; }
.h26p--petrolio .h26p-hex__price { margin-top: 6px; }
.h26 .h26p--petrolio .h26p-hex__price b { font-size: clamp(34px, 3vw, 42px); }
.h26 .h26p--petrolio .h26p-hex__name { margin-top: 2px; font-size: clamp(22px, 1.9vw, 26px); }
.h26p--petrolio .h26p-hex__mode { margin-top: 2px; color: #ffd977; font-weight: 700; }
.h26p--petrolio .h26p-hex__act + .h26p-hex__act { margin-top: 1px; }
.h26p--petrolio .h26p-hex__cta { margin-top: 10px; }
.h26p--petrolio .h26p-hex__info { margin-top: 3px; }

/* l'arco: un esagono piccolo per ogni numero, che ogni tanto squilla */
.h26p-arco-nums { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; max-width: 173px; margin-top: 7px; }
.h26p-arco-nums i {
    width: 5px; height: 6px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: rgba(255, 255, 255, 0.26); animation: h26arco-num 6.4s ease-in-out infinite; animation-delay: var(--t, 0s);
}
@keyframes h26arco-num { 0%, 9%, 100% { background: rgba(255, 255, 255, 0.26); } 3%, 5% { background: #ffc53d; } }

/* ═══ COME LA USI: la selezione passante ═══ */
.h26p-did { background: radial-gradient(60% 70% at 85% 0%, rgba(47, 184, 184, 0.2), transparent 65%), radial-gradient(50% 60% at 0% 100%, rgba(255, 178, 62, 0.12), transparent 65%), #0a1417; }
.h26p-did__box {
    display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; margin-top: 56px;
    padding: 30px 34px; border-radius: 28px; background: linear-gradient(170deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.1);
}
.h26 .h26p-did__map { display: block; width: 100%; height: auto; overflow: visible; }
.h26p-did__arco > rect { fill: rgba(127, 220, 214, 0.05); stroke: rgba(127, 220, 214, 0.35); stroke-width: 1.5; stroke-dasharray: 4 5; }
.h26p-did__cap { font-family: var(--mono); font-size: 12px; fill: #7fdcd6; }
.h26p-did__n rect { fill: rgba(0, 0, 0, 0.35); stroke: rgba(255, 255, 255, 0.12); stroke-width: 1.2; animation: h26arco-hl 6.4s ease infinite; animation-delay: calc(var(--i) * 1.6s); }
.h26p-did__n text { font-family: var(--mono); font-size: 15px; fill: #dfe4ee; }
.h26p-did__n tspan { font-weight: 700; fill: #7fdcd6; }
@keyframes h26arco-hl { 0%, 20% { fill: rgba(255, 197, 61, 0.2); stroke: #ffc53d; } 26%, 100% { fill: rgba(0, 0, 0, 0.35); stroke: rgba(255, 255, 255, 0.12); } }
.h26p-did__gap { font-family: var(--mono); font-size: 16px; fill: #4f5a66; text-anchor: middle; }
.h26p-did__wires path { fill: none; stroke: rgba(127, 220, 214, 0.38); stroke-width: 2; stroke-dasharray: 5 7; animation: h26p-dash 1.2s linear infinite; }
.h26p-did__wires .h26p-did__trunk { stroke: #ffb23e; stroke-width: 8; stroke-dasharray: none; opacity: 0.6; animation: none; }
.h26p-did .h26p-map__pbx rect { stroke: #7fdcd6; }
.h26p-did .h26p-map__pbx path { stroke: rgba(127, 220, 214, 0.4); }
.h26p-did .h26p-map__lbl { fill: #7fdcd6; }
.h26p-did__ph rect, .h26p-did__ph path { fill: rgba(255, 255, 255, 0.04); stroke: #dfe4ee; stroke-width: 2.2; stroke-linecap: round; }
.h26p-did__glow { fill: rgba(255, 197, 61, 0.14); stroke: rgba(255, 197, 61, 0.6); stroke-width: 1.2; opacity: 0; animation: h26arco-ring 6.4s ease infinite; animation-delay: calc(var(--i) * 1.6s + 1.2s); }
@keyframes h26arco-ring { 0%, 22% { opacity: 1; } 30%, 100% { opacity: 0; } }
.h26p-did__desk .h26p-did__ph { transform-box: fill-box; transform-origin: center; animation: h26arco-shake 6.4s ease infinite; animation-delay: calc(var(--i) * 1.6s + 1.2s); }
@keyframes h26arco-shake { 0%, 18% { transform: none; } 2%, 6%, 10%, 14% { transform: rotate(-6deg); } 4%, 8%, 12%, 16% { transform: rotate(6deg); } }
.h26p-did__who { font-family: var(--display); font-size: 17px; font-weight: 700; fill: #fff; }
.h26p-did__num { font-family: var(--mono); font-size: 12.5px; fill: #a9adba; }
.h26p-did__points { display: grid; gap: 18px; margin: 0 !important; }
.h26 .h26p-did__points li { padding-left: 22px; position: relative; font-size: 16.5px; line-height: 1.55; color: var(--body); }
.h26p-did__points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 12px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: #ffc53d; }
.h26 .h26p-did__points b { display: block; color: #fff; font-family: var(--display); font-size: 18px; }
.h26 .h26p-arco-ex { margin: 12px 0 0; font-family: var(--mono); font-size: 12.5px; color: #6f7688; }
.h26 .h26p-did .h26-lead b { color: #fff; }
.h26p-did .h26p-sipcard { border-color: rgba(127, 220, 214, 0.4); background: rgba(47, 184, 184, 0.06); }
.h26p-did .h26p-sipcard__fields b i { background: linear-gradient(90deg, transparent, rgba(127, 220, 214, 0.7), transparent); }
@media (prefers-reduced-motion: reduce) {
    .h26p-did__n rect, .h26p-did__glow, .h26p-did__desk .h26p-did__ph, .h26p-did__wires path, .h26p-arco-nums i, .h26p-jar.is-full .h26p-jar__ruler path { animation: none; }
}

/* ═══ CONFRONTO E PORTABILITÀ ═══ */
.h26 .h26p-arco-calcnote { margin-top: 6px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.h26p--petrolio .h26p-calc__lines { margin-top: 12px; }
.h26p--petrolio .h26p-calc__f input[data-c="mobili"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--pet-2) var(--p), #e6e8ee var(--p)); }
.h26p--petrolio .h26p-calc__f input[data-c="mobili"]::-moz-range-track { background: linear-gradient(90deg, var(--pet-2) var(--p), #e6e8ee var(--p)); }
.h26p--petrolio .h26p-vs__row[data-v="flat"] em { background: linear-gradient(90deg, #0f7f8c, #7fdcd6); }
.h26p--petrolio .h26p-calc__out { background: radial-gradient(70% 60% at 100% 0%, rgba(255, 154, 61, 0.32), transparent 60%), radial-gradient(70% 70% at 0% 100%, rgba(47, 184, 184, 0.3), transparent 60%), #0d0f16; }

.h26p-port {
    display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 28px 56px; align-items: center; margin-top: 72px;
    padding: 40px 44px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.h26 .h26p-port__head p { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: var(--body); }
.h26p-port .h26p-iva { grid-column: 1 / -1; margin-top: 0; }
.h26p-port__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 !important; }
.h26 .h26p-port__list li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px 20px; border-radius: 22px; background: var(--soft); border: 1px solid var(--line); text-align: center; transition: transform 0.25s var(--ease); }
.h26 .h26p-port__list li:hover { transform: translateY(-4px); }
.h26p-port__n {
    display: grid; place-content: center; width: 78px; height: 86px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(150deg, #13798a, #06394a); color: #fff; font-family: var(--mono); font-size: 11px; line-height: 1.1;
}
.h26 .h26p-port__n b { display: block; font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.h26 .h26p-port__list li:nth-child(1) .h26p-port__n { background: linear-gradient(150deg, #26a6ab, #0f8290); }
.h26 .h26p-port__list li:nth-child(2) .h26p-port__n { background: linear-gradient(150deg, #1b919c, #0c6c7b); }
.h26 .h26p-port__list li:nth-child(4) .h26p-port__n { background: linear-gradient(150deg, #0e6273, #03222c); }
.h26 .h26p-port__v { font-size: 13.5px; color: var(--muted); }
.h26 .h26p-port__v b { display: block; font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--ink); }

.h26p-pay__ico--sepa { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 6.5A7 7 0 1017 17.5M4 10.5h9M4 13.5h9'/%3E%3Cpath d='M19 3v4h-4'/%3E%3C/svg%3E"), linear-gradient(150deg, #083f4c, #2fb8b8); }

/* ═══ Tablet: due celle sopra, due sotto, sempre ad alveare ═══ */
@media (max-width: 1180px) and (min-width: 901px) {
    .h26p-arco-lines { padding-bottom: 80px; }
    .h26p-arco-lines .h26p-comb { --w: 300px; margin-bottom: 0; }
    .h26p-arco-lines .h26p-comb__row--deco, .h26p-arco-lines .h26p-deco { display: none; }
    .h26p-arco-lines .h26p-comb__row { flex-wrap: wrap; justify-content: flex-start; width: calc(var(--w) * 2.5 + var(--g) * 1.5); margin: 0 auto !important; column-gap: var(--g); row-gap: 0; }
    .h26p-arco-lines .h26p-hex--n3 { margin-left: calc(var(--w) * 0.5 + var(--g) * 0.5); }
    .h26p-arco-lines .h26p-hex--n3, .h26p-arco-lines .h26p-hex--n4 { margin-top: calc(var(--h) * -0.25 + var(--g) * 0.87); }
    .h26p-port { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
    .h26p-did__box { grid-template-columns: 1fr; }
}
/* ═══ Telefono e tablet stretto: colonna a zig-zag ═══ */
@media (max-width: 900px) {
    .h26p-arco-lines .h26p-hex { margin-top: calc(var(--h) * -0.12 + var(--g)); }
    .h26p-arco-lines .h26p-hex--n1, .h26p-arco-lines[data-sel="25"] .h26p-hex--n2 { margin-top: 0; }
    .h26p-arco-lines .h26p-hex--vuota { display: none !important; }   /* in colonna la cella vuota sarebbe solo spazio */
    .h26p-arco-lines .h26p-hex--n1, .h26p-arco-lines .h26p-hex--n3 { transform: translateX(calc(var(--w) * -0.2)); }
    .h26p-arco-lines .h26p-hex--n2, .h26p-arco-lines .h26p-hex--n4 { transform: translateX(calc(var(--w) * 0.2)); }
    .h26 .h26p-arco-lines .h26p-hex--n1:hover, .h26 .h26p-arco-lines .h26p-hex--n3:hover { transform: translateX(calc(var(--w) * -0.2)) translateY(-10px); }
    .h26 .h26p-arco-lines .h26p-hex--n2:hover, .h26 .h26p-arco-lines .h26p-hex--n4:hover { transform: translateX(calc(var(--w) * 0.2)) translateY(-10px); }
    .h26p-port { grid-template-columns: 1fr; }
    .h26p-port__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    .h26p-arco-lines .h26p-hex--n1, .h26p-arco-lines .h26p-hex--n3,
    .h26 .h26p-arco-lines .h26p-hex--n1:hover, .h26 .h26p-arco-lines .h26p-hex--n3:hover { transform: translateX(calc(var(--w) * -0.06)); }
    .h26p-arco-lines .h26p-hex--n2, .h26p-arco-lines .h26p-hex--n4,
    .h26 .h26p-arco-lines .h26p-hex--n2:hover, .h26 .h26p-arco-lines .h26p-hex--n4:hover { transform: translateX(calc(var(--w) * 0.06)); }
    .h26p-arco-pick { flex-direction: column; align-items: stretch; }
    .h26 .h26p-arco-pick .h26p-modo--big button small { font-size: 12px; }
    .h26 .h26p-arco-pick .h26p-modo--ch button { padding: 10px 6px; white-space: nowrap; text-align: center; }
    .h26p-did__box { padding: 18px 14px; border-radius: 22px; }
    .h26p-port { padding: 28px 18px; border-radius: 24px; margin-top: 56px; }
    .h26p-live--arco .h26p-modo--ch { grid-column: 1 / -1; justify-self: start; }
}

/* lo schema della selezione passante: orizzontale da computer, verticale sul telefono */
.h26 .h26p-did__map--v { display: none; }
.h26p-did__map--v .h26p-did__n text { font-size: 15px; }
.h26p-did__map--v .h26p-map__pbx text { text-anchor: start; }
@media (max-width: 639px) {
    .h26 .h26p-did__map { display: none; }
    .h26 .h26p-did__map--v { display: block; max-width: 400px; margin-inline: auto; }
}
