/* ==========================================================================
   Skalio — pagina "Cinemarketing" (caso Eplanet Cinemas)
   Si appoggia a home.css (stessa struttura e animazioni della home) e la porta
   "in sala": fondo buio, luci dei proiettori, schermo, pellicola, biglietti.
   Elementi nuovi con prefisso cx-.
   ========================================================================== */

/* ---- colori: la sala buia ---- */
.skalio-home.skalio-cinema {
	--ink: #f4f6fb;
	--ink2: #a9b3c7;
	--ink3: #7f8ba3;
	--bg: #04070e;
	--bg2: #080e1b;
	--card: #0d1628;
	--card2: #111d34;
	--line: rgba(255, 255, 255, .14);
	--hair: rgba(255, 255, 255, .08);
	--blue: #2d68fb;
	--blue-h: #6f9bff;          /* blu leggibile su fondo scuro */
	--glow: rgba(45, 104, 251, .55);
	--grad: linear-gradient(95deg, #4c86ff 0%, #8a86ff 100%);
	--shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
	--shadow-sm: 0 18px 40px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
	color-scheme: dark;
	background: var(--bg);
	color: var(--ink);
}
.skalio-cinema ::selection { background: rgba(77, 134, 255, .35); }

/* ---- navigazione e logo ---- */
.skalio-cinema .hx-nav { background: rgba(4, 7, 14, .7); border-bottom-color: transparent; }
.skalio-cinema .hx-nav.is-scrolled { background: rgba(4, 7, 14, .86); border-bottom-color: var(--hair); }
.skalio-cinema .hx-nav__links a { color: rgba(244, 246, 251, .72); }
.skalio-cinema .hx-nav__links a:hover, .skalio-cinema .hx-nav__links a.is-current { color: #fff; }
.cx-logo { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.skalio-cinema .cx-logo__mark { width: 34px; height: 30px; }
.cx-logo__txt { display: flex; flex-direction: column; line-height: 1; }
.cx-logo__txt b { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.cx-logo__txt small { margin-top: 3px; font-size: 8.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--blue-h); }

/* etichette in stile insegna di sala */
.skalio-cinema .cx-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

.skalio-cinema .hx-link { color: var(--blue-h); }
.skalio-cinema .hx-link:hover { color: #9dbbff; }
.skalio-cinema .hx-btn { box-shadow: 0 12px 34px -10px var(--glow); }
.skalio-cinema .hx-section--alt, .cx-section--dark2 { background: var(--bg2); }

/* ---- HERO: la sala, le luci, lo schermo, le poltrone ---- */
.cx-hero { position: relative; overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, #0b1733 0%, var(--bg) 62%); padding-bottom: 0; }
.cx-hero__copy { position: relative; z-index: 1; max-width: 1040px; }
.cx-hero .hx-hero__title { font-size: clamp(40px, 6.6vw, 84px); }
.cx-beams { position: absolute; inset: 0; pointer-events: none; }
.cx-beams i { position: absolute; top: -10%; width: 34vw; max-width: 520px; height: 120%; background: linear-gradient(180deg, rgba(110, 150, 255, .26), rgba(110, 150, 255, 0) 78%); filter: blur(28px); transform-origin: top center; }
.cx-beams i:first-child { left: 2%; transform: rotate(-24deg); animation: cx-sway 9s var(--ease-io) infinite alternate; }
.cx-beams i:last-child { right: 2%; transform: rotate(24deg); animation: cx-sway2 11s var(--ease-io) infinite alternate; }
@keyframes cx-sway { to { transform: rotate(-14deg); } }
@keyframes cx-sway2 { to { transform: rotate(15deg); } }

.cx-pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 38px; }
.cx-pillars li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--hair); font-size: 15px; font-weight: 600; }
.skalio-cinema .cx-pillars svg { width: 19px; height: 19px; color: var(--blue-h); }

.cx-theater { position: relative; width: min(1180px, 100% - 44px); margin: clamp(56px, 8vw, 96px) auto 0; perspective: 1400px; }
.cx-screen { position: relative; border-radius: 14px; overflow: hidden; transform: rotateX(4deg); transform-origin: bottom center; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 90px -10px rgba(77, 134, 255, .55), 0 60px 160px -20px rgba(45, 104, 251, .45); }
.cx-screen img { width: 100%; height: auto; }
.cx-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 30%); pointer-events: none; }
/* luce dello schermo che si riflette sulla platea */
.cx-theater::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 40px; height: 160px; background: radial-gradient(50% 100% at 50% 0%, rgba(77, 134, 255, .28), transparent 70%); pointer-events: none; }
.cx-seats { position: relative; z-index: 1; margin-top: -10px; display: grid; gap: 6px; padding-bottom: 0; }
.cx-seats span { display: block; height: 34px; background: linear-gradient(180deg, #1a2a50 0%, #0a1222 55%, #05080f 100%);
	-webkit-mask: radial-gradient(19px 32px at 50% 100%, #000 98%, transparent 100%) 0 0 / 46px 100% repeat-x;
	mask: radial-gradient(19px 32px at 50% 100%, #000 98%, transparent 100%) 0 0 / 46px 100% repeat-x; }
.cx-seats span:nth-child(1) { margin-inline: 4%; opacity: .75; }
.cx-seats span:nth-child(2) { margin-inline: 1%; transform: translateX(23px); }
.cx-seats span:nth-child(3) { height: 40px; }

/* ---- pellicola tra le sezioni ---- */
.cx-strip { height: 38px; background:
	repeating-linear-gradient(90deg, transparent 0 10px, rgba(255, 255, 255, .16) 10px 22px, transparent 22px 30px) 0 7px / 100% 7px no-repeat,
	repeating-linear-gradient(90deg, transparent 0 10px, rgba(255, 255, 255, .16) 10px 22px, transparent 22px 30px) 0 24px / 100% 7px no-repeat,
	#0a0f1c;
	border-block: 1px solid var(--hair);
}

/* ---- manifesto: titoli di testa ---- */
.cx-statement { background: var(--bg); }
.skalio-cinema .hx-statement__text .w { color: #232c40; }
.skalio-cinema .hx-statement__text .w.is-lit { color: var(--ink); }

/* ---- IL CASO ---- */
.cx-section--case { background: radial-gradient(90% 40% at 50% 0%, #0b1733 0%, var(--bg2) 70%); }
.cx-case { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cx-case__logo { background: #000; border-radius: var(--r-xl); padding: clamp(24px, 3.6vw, 44px); box-shadow: 0 0 0 1px var(--hair), 0 30px 80px -30px var(--glow); }
.cx-case__logo img { width: 100%; height: auto; }
.cx-ext { margin-top: 24px; }
.skalio-cinema .cx-ext svg { width: 18px; height: 18px; }

/* biglietti: bordi intagliati e linea di strappo */
.cx-tickets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(48px, 6vw, 72px); }
.cx-ticket { position: relative; padding: 22px 24px 24px; border-radius: 16px; background: linear-gradient(160deg, #13234a 0%, #0c1630 100%);
	-webkit-mask: radial-gradient(circle 11px at 0 58%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 58%, transparent 98%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 11px at 0 58%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 58%, transparent 98%, #000) right / 51% 100% no-repeat; }
.cx-ticket::before { content: ""; position: absolute; left: 18px; right: 18px; top: 58%; border-top: 2px dashed rgba(255, 255, 255, .14); }
.cx-ticket small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-h); }
.cx-ticket strong { display: block; margin-top: 6px; font-size: clamp(38px, 4vw, 52px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.cx-ticket span { display: block; margin-top: 30px; font-size: 15px; line-height: 1.35; color: var(--ink2); }

/* blocchi "Lavoro svolto" */
.cx-work { margin-top: clamp(28px, 3vw, 40px); background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-xl); padding: clamp(24px, 3.6vw, 48px); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); overflow: hidden; }
.cx-tickets + .cx-work { margin-top: clamp(56px, 7vw, 88px); }
.cx-work__n { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-h); }
.cx-work__head h3 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.04; letter-spacing: -0.04em; margin-top: 10px; }
.cx-work__head > p:not(.cx-work__n) { margin-top: 12px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.42; color: var(--ink2); max-width: 680px; }
.cx-work__pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; }
.cx-work__pts li { font-size: 16px; line-height: 1.45; color: var(--ink2); padding-top: 16px; border-top: 2px solid var(--blue); }
.cx-work__pts strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; letter-spacing: -0.02em; }
.cx-work--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
.cx-work--rev .cx-work__head { order: 2; }

/* cornici: browser, telefono, post, ledwall, email */
.cx-browser { border-radius: 14px; overflow: hidden; background: #0f1a2e; box-shadow: var(--shadow); }
.cx-browser__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #16223a; }
.cx-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.cx-browser__bar span { margin-inline: auto; padding: 4px 22px; border-radius: 8px; background: rgba(255, 255, 255, .07); font-size: 12px; color: var(--ink2); }
.cx-browser img { width: 100%; height: auto; }
.cx-phone { position: relative; border-radius: 34px; padding: 9px; background: #1a2134; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.cx-phone img { width: 100%; height: auto; border-radius: 26px; }
.cx-devices { position: relative; padding-right: clamp(60px, 14%, 170px); padding-bottom: clamp(30px, 6%, 70px); }
.cx-phone--over { position: absolute; right: 0; bottom: 0; width: clamp(150px, 24%, 270px); }

.cx-feed { display: grid; grid-template-columns: .82fr 1fr 1fr 1fr; gap: clamp(10px, 1.6vw, 20px); align-items: center; }
.cx-post { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease); }
.cx-post img { width: 100%; height: auto; }
.cx-post:hover { transform: translateY(-6px); }
.cx-feed__story { padding: 7px; border-radius: 26px; }
.cx-feed__story img { border-radius: 20px; }

.cx-led { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(12px, 2vw, 24px); align-items: center; }
.cx-led figure { position: relative; padding: 8px; border-radius: 10px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 90px -20px var(--glow); }
.cx-led img { width: 100%; height: auto; border-radius: 4px; }
.cx-led figure::after { content: ""; position: absolute; inset: 8px; border-radius: 4px; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px); pointer-events: none; }

.cx-dc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.cx-dc > div { background: var(--card2); border-radius: var(--r-md); padding: 22px; }
.cx-dc h4 { font-size: 18px; letter-spacing: -0.02em; }
.cx-dc p { margin-top: 6px; font-size: 15px; color: var(--ink2); line-height: 1.45; }
.cx-mail { width: min(100%, 420px); justify-self: center; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.cx-mail__head { padding: 14px 18px; background: #eef1f6; color: #1d1d1f; font-size: 13px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid #dde2ea; }
.cx-mail__head span { color: #5b6475; }
.cx-mail__body { position: relative; height: clamp(380px, 46vw, 540px); overflow: hidden; }
.cx-mail__body img { width: 100%; height: auto; }
.cx-mail__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #fff); }

.cx-checks { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.cx-checks li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; }
.skalio-cinema .cx-checks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(77, 134, 255, .18); color: var(--blue-h); stroke-width: 2.6; flex: none; }
.cx-chatdemo { width: min(100%, 320px); justify-self: center; }
.cx-chat { position: absolute; left: 18px; right: 18px; bottom: 54px; padding: 14px; border-radius: 18px; background: rgba(250, 251, 255, .97); color: #1d1d1f; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.35; }
.cx-chat__top { display: flex; flex-direction: column; padding-bottom: 8px; border-bottom: 1px solid #e3e7ef; }
.cx-chat__top span { font-size: 11px; color: #1b8a3c; }
.cx-msg { max-width: 84%; padding: 8px 11px; border-radius: 14px 14px 14px 4px; background: #eef1f6; }
.cx-msg--me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--blue); color: #fff; }
.cx-chatdemo figcaption { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; font-size: 12px; color: var(--ink3); }

/* ---- LE 6 LEVE ---- */
.cx-levers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cx-levers li { position: relative; background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 30px 28px 32px; overflow: hidden; }
.cx-levers li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; background: radial-gradient(60% 100% at 20% 0%, rgba(77, 134, 255, .16), transparent 70%); pointer-events: none; }
.cx-levers b { position: absolute; top: 28px; right: 28px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--ink3); }
.cx-levers h3 { margin-top: 22px; font-size: clamp(21px, 1.9vw, 25px); letter-spacing: -0.03em; line-height: 1.15; }
.cx-levers p { margin-top: 10px; font-size: 16px; color: var(--ink2); line-height: 1.45; }
.cx-lev__ico { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(77, 134, 255, .14); color: var(--blue-h); }
.skalio-cinema .cx-lev__ico svg { width: 24px; height: 24px; }

/* ---- LA SETTIMANA: come la griglia orari del sito ---- */
.cx-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cx-steps li { display: flex; gap: 20px; align-items: flex-start; background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 24px; }
.cx-day { flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-content: center; text-align: center; font-size: 22px; font-weight: 700; line-height: 1; border: 1px solid var(--line); color: var(--ink); }
.cx-day small { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.cx-steps h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.03em; line-height: 1.15; }
.cx-steps p { margin-top: 8px; font-size: 16px; color: var(--ink2); line-height: 1.45; }
.cx-steps li.is-today { background: linear-gradient(160deg, #142a5c, #0d1834); border-color: rgba(77, 134, 255, .4); }
.cx-steps li.is-today .cx-day { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -8px var(--glow); }
.cx-steps li.is-today .cx-day small { color: rgba(255, 255, 255, .85); }

/* ---- CHI SONO ---- */
.skalio-cinema .hx-about__photo img { box-shadow: 0 0 0 1px var(--hair), 0 40px 100px -30px var(--glow); }
.skalio-cinema .hx-about__photo figcaption { background: rgba(4, 7, 14, .7); color: #fff; }
.cx-about__p { margin-top: 18px; font-size: 17px; color: var(--ink2); line-height: 1.5; max-width: 620px; }
.cx-quote { margin-top: 28px; padding: 22px 26px; border-left: 3px solid var(--blue); background: var(--card); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 18px; font-style: italic; line-height: 1.45; font-weight: 500; }

/* ---- EVENTI: pass da esercente ---- */
.cx-passes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cx-pass { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--hair); box-shadow: 0 30px 80px -40px var(--glow); }
.cx-pass__top { position: relative; display: flex; align-items: center; justify-content: center; height: 64px; background: var(--grad); font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #fff; }
.cx-pass__hole { position: absolute; top: 12px; left: 50%; width: 46px; height: 9px; margin-left: -23px; border-radius: 9px; background: var(--bg); }
.cx-pass__top span:last-child { margin-top: 14px; }
.cx-pass__body { padding: clamp(24px, 3vw, 36px); flex: 1; }
.cx-pass__city { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.skalio-cinema .cx-pass__city svg { width: .8em; height: .8em; color: var(--blue-h); }
.cx-pass h3 { margin-top: 14px; font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.03em; line-height: 1.2; color: var(--blue-h); }
.cx-pass__body > p:last-child { margin-top: 12px; font-size: 16px; color: var(--ink2); line-height: 1.45; }
.cx-pass__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px clamp(24px, 3vw, 36px); border-top: 2px dashed var(--line); }
.cx-pass__foot span { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--ink3); }
.cx-pass__foot i { width: 140px; height: 30px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 2px, transparent 2px 4px, rgba(255, 255, 255, .55) 4px 5px, transparent 5px 9px, rgba(255, 255, 255, .55) 9px 12px, transparent 12px 14px); opacity: .55; }

/* ---- CONTATTI: lo schermo dei 20 minuti ---- */
.cx-twenty { margin-top: 28px; display: flex; align-items: center; gap: 22px; padding: 22px 26px; border-radius: 18px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px -26px var(--glow); }
.cx-twenty strong { font-size: clamp(64px, 7vw, 92px); line-height: .9; letter-spacing: -0.06em; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx-twenty span { font-size: 17px; line-height: 1.4; color: var(--ink2); }
.skalio-cinema .cx-twenty span svg { display: inline-block; width: 18px; height: 18px; margin: 0 6px -3px 0; color: var(--blue-h); }
.cx-twenty em { font-style: normal; color: var(--blue-h); font-weight: 600; }
.cx-contact__note { margin-top: 18px; font-size: 16px; font-style: italic; color: var(--ink2); }
.skalio-cinema .hx-direct span { background: var(--card2); color: var(--blue-h); }
.skalio-cinema .hx-form-card { background: var(--card); border: 1px solid var(--hair); }
.skalio-cinema.skalio-home .hx-field input, .skalio-cinema.skalio-home .hx-field textarea { background: #0a1222; border-color: var(--line); color: var(--ink); }
.skalio-cinema .hx-form-msg--ok { color: #6ee495; }
.skalio-cinema .hx-form-msg--err { color: #ff8a80; }

/* ---- footer ---- */
.skalio-cinema .hx-footer { background: #020409; }

/* ---- responsive ---- */
@media (max-width: 1068px) {
	.cx-tickets { grid-template-columns: 1fr 1fr; }
	.cx-levers { grid-template-columns: 1fr 1fr; }
	.cx-feed { grid-template-columns: 1fr 1fr 1fr; }
	.cx-feed__story { display: none; }
}
@media (max-width: 900px) {
	.skalio-cinema .hx-nav__links { background: rgba(4, 7, 14, .97); }
	.cx-case, .cx-work--split { grid-template-columns: 1fr; }
	.cx-work--rev .cx-work__head { order: 0; }
	.cx-case__logo { max-width: 340px; }
	.cx-work__pts { grid-template-columns: 1fr; }
	.cx-steps, .cx-passes { grid-template-columns: 1fr; }
	.cx-led { grid-template-columns: 1fr; }
}
@media (max-width: 734px) {
	.cx-levers, .cx-dc { grid-template-columns: 1fr; }
	.cx-feed { grid-template-columns: 1fr 1fr; }
	.cx-feed .cx-post:last-child { display: none; }
	.cx-tickets { gap: 12px; }
	.cx-ticket { padding: 18px 18px 20px; }
	.cx-ticket span { font-size: 14px; }
	.cx-pillars li { padding: 9px 14px; font-size: 14px; }
	.cx-work { border-radius: var(--r-lg); }
	.cx-devices { padding-right: 70px; padding-bottom: 40px; }
	.cx-phone { border-radius: 24px; padding: 6px; }
	.cx-phone img { border-radius: 19px; }
	.cx-seats span { height: 22px; }
	.cx-twenty { flex-direction: column; align-items: flex-start; gap: 10px; }
	.cx-logo__txt b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.cx-beams i { animation: none; }
}
