/* FC Impianti — site.css
   Editoriale / tecnico: angoli vivi, filetti, Archivo condensato, giallo segnaletica. */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}

:root {
	--ink: #141414;
	--ink-2: #1d1d1b;
	--paper: #efede7;
	--paper-2: #e5e2da;
	--white: #fbfaf7;
	--yellow: #ffc400;
	--grey: #5b5a55;
	--line: rgba(20, 20, 20, .16);
	--line-d: rgba(255, 255, 255, .16);
	--wrap: 1360px;
	--gut: clamp(16px, 4vw, 48px);
	--hdr: 76px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--display: "Archivo", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--display);
	font-stretch: 100%;
	font-size: clamp(16px, 1.05vw + 10px, 18px);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-stretch: 72%; font-weight: 800; line-height: .95; letter-spacing: -.01em; margin: 0 0 .5em; text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
p { margin: 0 0 1em; }
mark { background: linear-gradient(transparent 55%, var(--yellow) 55%); color: inherit; padding: 0; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.fc-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.fc-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fc-skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); padding: 10px 16px; z-index: 100; }
.fc-skip:focus { left: 8px; top: 8px; }

/* progress */
.fc-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.fc-progress span { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(var(--fc-p, 0)); }

/* ---------- Bottoni / link ---------- */
.fc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: .95em 1.5em; border: 2px solid currentColor;
	font: 700 .95rem/1 var(--display); font-stretch: 90%; text-transform: uppercase; letter-spacing: .06em;
	text-decoration: none; cursor: pointer; background: transparent;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.fc-btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.fc-btn--yellow:hover { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.fc-btn--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.fc-btn--dark:hover { background: transparent; color: var(--ink); }
.fc-btn--block { width: 100%; }
.fc-link {
	font-weight: 700; font-stretch: 90%; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem;
	text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px;
}
.fc-link:hover { background: var(--yellow); }

/* ---------- Header ---------- */
.fc-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr);
	background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line);
	transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.fc--home .fc-header:not(.is-solid) { background: transparent; color: var(--white); border-color: transparent; }
.fc-header.is-hidden { transform: translateY(-100%); }
.fc-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; max-width: none; }
.fc-main { padding-top: var(--hdr); }
.fc--home .fc-main { padding-top: 0; }

.fc-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.fc-logo__mark { width: 40px; height: 40px; color: var(--ink); }
.fc--home .fc-header:not(.is-solid) .fc-logo__mark, .fc-logo--light .fc-logo__mark { color: #000; outline: 1px solid rgba(255,255,255,.25); }
.fc-logo__type { display: flex; flex-direction: column; line-height: 1; }
.fc-logo__name { font-weight: 800; font-stretch: 70%; font-size: 1.55rem; text-transform: uppercase; letter-spacing: -.005em; }
.fc-logo__tag { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-top: 4px; }

.fc-nav { margin-left: auto; }
.fc-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.fc-nav__link {
	display: inline-flex; align-items: center; gap: 6px; height: var(--hdr); padding: 0 14px;
	font: 600 .92rem/1 var(--display); font-stretch: 90%; text-transform: uppercase; letter-spacing: .08em;
	text-decoration: none; background: none; border: 0; color: inherit; cursor: pointer; position: relative;
}
.fc-nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.fc-nav__link:hover::after, .is-active > .fc-nav__link::after, .fc-nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.fc-nav__trigger svg { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.fc-nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.fc-nav__mobilefoot { display: none; }

.fc-header__phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-stretch: 85%; letter-spacing: .03em; white-space: nowrap; }
.fc-header__phone svg { width: 16px; height: 16px; color: var(--yellow); }
.fc-header__cta { padding: .8em 1.2em; font-size: .85rem; }

/* Megamenu */
.fc-mega {
	position: fixed; left: 0; right: 0; top: var(--hdr);
	background: var(--ink); color: var(--white); border-top: 1px solid var(--line-d);
	visibility: hidden; opacity: 0; transform: translateY(-8px);
	transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s;
	max-height: calc(100vh - var(--hdr)); overflow: auto;
}
.has-mega.is-open .fc-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.fc-mega__inner { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-top: 40px; padding-bottom: 44px; }
.fc-mega__label { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; }
.fc-mega__claim { font-weight: 800; font-stretch: 65%; font-size: 3rem; line-height: .9; text-transform: uppercase; margin: 0 0 28px; }
.fc-mega__phone { display: block; margin-top: 28px; font-weight: 800; font-stretch: 75%; font-size: 1.6rem; text-decoration: none; }
.fc-mega__phone:hover { color: var(--yellow); }
.fc-mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-left: 1px solid var(--line-d); }
.fc-mega__card { display: flex; flex-direction: column; height: 100%; padding: 0 18px 8px; text-decoration: none; border-right: 1px solid var(--line-d); }
.fc-mega__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 16px; background: #222; }
.fc-mega__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) contrast(1.05); transform: scale(1.04); transition: transform .8s var(--ease), filter .5s; }
.fc-mega__card:hover .fc-mega__img img, .fc-mega__card:focus-visible .fc-mega__img img { filter: none; transform: scale(1.1); }
.fc-mega__n { font-size: .78rem; color: var(--yellow); letter-spacing: .1em; }
.fc-mega__title { font-weight: 800; font-stretch: 72%; font-size: 1.35rem; line-height: 1; text-transform: uppercase; margin: 6px 0 8px; }
.fc-mega__short { font-size: .85rem; opacity: .65; }
.fc-mega__card.is-current .fc-mega__title { color: var(--yellow); }
.fc-mega-veil { position: fixed; inset: var(--hdr) 0 0 0; background: rgba(10,10,10,.5); z-index: 40; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.fc-mega-veil.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }

.fc-burger { display: none; width: 46px; height: 46px; border: 2px solid currentColor; background: none; color: inherit; cursor: pointer; position: relative; margin-left: auto; }
.fc-burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.fc-burger span:nth-child(1) { top: 14px; } .fc-burger span:nth-child(2) { top: 21px; } .fc-burger span:nth-child(3) { top: 28px; }
.fc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.fc-hero { position: relative; height: 100svh; min-height: 620px; color: var(--white); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: #0c1426; }
.fc-hero__bg { position: absolute; inset: 0; }
.fc-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(calc(1.08 + var(--fc-hero, 0) * .12)) translateY(calc(var(--fc-hero, 0) * 6%)); animation: fc-kb 2.4s var(--ease) both; }
@keyframes fc-kb { from { transform: scale(1.22); filter: brightness(.4); } }
.fc-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,16,.55) 0%, rgba(8,10,16,0) 30%, rgba(8,10,16,0) 45%, rgba(8,10,16,.82) 100%); }
.fc-hero__content { position: relative; padding-bottom: 40px; max-width: var(--wrap); }
.fc-hero__title { font-size: clamp(3.2rem, 11.5vw, 11rem); font-stretch: 62%; font-weight: 800; line-height: .84; letter-spacing: -.02em; margin: 0 0 24px; }
.fc-hero__line { display: block; }
.fc-hero__line { animation: fc-up 1.1s var(--ease) both; }
.fc-hero__line + .fc-hero__line { animation-delay: .12s; }
@keyframes fc-up { from { transform: translateY(60%); opacity: 0; clip-path: inset(0 0 100% 0); } to { transform: none; opacity: 1; clip-path: inset(-30% -10% -30% -10%); } }
.fc-hero__bolt { color: var(--yellow); margin-left: .05em; }
.fc-hero__lead { max-width: 34ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); opacity: .9; animation: fc-fade 1.2s .5s both; }
@keyframes fc-fade { from { opacity: 0; } }
.fc-hero__bar { position: relative; border-top: 1px solid rgba(255,255,255,.25); background: rgba(10,12,18,.45); backdrop-filter: blur(6px); }
.fc-hero__bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.fc-hero__bar-inner > * { padding: 18px 20px 18px 0; text-decoration: none; font-weight: 700; font-stretch: 80%; font-size: 1.25rem; border-right: 1px solid rgba(255,255,255,.2); }
.fc-hero__bar-inner > * + * { padding-left: 20px; }
.fc-hero__bar-inner > *:last-child { border-right: 0; }
.fc-hero__bar small { display: block; font-size: .68rem; font-weight: 500; font-stretch: 100%; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-bottom: 4px; }
.fc-hero__bar a:hover { color: var(--yellow); }
.fc-hero__bar-cta { background: var(--yellow); color: var(--ink) !important; padding-left: 20px !important; }
.fc-hero__bar-cta:hover { background: var(--white); }

/* ---------- Intro / manifesto ---------- */
.fc-intro { padding: clamp(72px, 10vw, 150px) 0; border-bottom: 1px solid var(--line); }
.fc-intro__grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.fc-intro__big { font-size: clamp(1.7rem, 3.4vw, 3.1rem); font-weight: 500; font-stretch: 85%; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.fc-intro__side { color: var(--grey); border-top: 2px solid var(--ink); padding-top: 18px; }

/* marquee */
.fc-marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 18px 0; }
.fc-marquee__track { display: flex; width: max-content; animation: fc-marq 38s linear infinite; }
.fc-marquee span { font-weight: 800; font-stretch: 62%; font-size: clamp(3rem, 8vw, 7.5rem); line-height: 1; text-transform: uppercase; padding-right: .5em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); white-space: nowrap; }
.fc-marquee span::after { content: "/"; color: var(--yellow); -webkit-text-stroke: 0; padding-left: .5em; }
@keyframes fc-marq { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.fc-section { padding: clamp(72px, 9vw, 140px) 0; }
.fc-sechead { display: flex; justify-content: space-between; align-items: end; gap: 24px; border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 0; }
.fc-sechead h2 { margin: 0; font-size: clamp(3rem, 8vw, 7rem); font-stretch: 62%; line-height: .85; }
.fc-sechead p { margin: 0; color: var(--grey); max-width: 26ch; text-align: right; }

/* Indice servizi */
.fc-index { list-style: none; margin: 0; padding: 0; }
.fc-index__row { border-bottom: 1px solid var(--line); }
.fc-index__row a { display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr) 40px; gap: 24px; overflow: hidden; align-items: center; padding: 30px 0; text-decoration: none; position: relative; transition: padding .5s var(--ease), color .35s; padding-left: 4px; padding-right: 4px; }
.fc-index__row a::after { content: ""; grid-column: 4; justify-self: end; width: 22px; height: 22px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg) scale(.7); transition: transform .4s var(--ease); }
.fc-index__row a:hover::after { transform: rotate(45deg) scale(.7) translate(4px, -4px); }
.fc-index__n { font-weight: 600; font-size: .95rem; letter-spacing: .1em; color: var(--grey); }
.fc-index__title { font-weight: 800; font-stretch: 68%; font-size: clamp(1.9rem, 4vw, 3.6rem); line-height: .9; text-transform: uppercase; }
.fc-index__text { color: var(--grey); font-size: .98rem; }
.fc-index__n, .fc-index__title, .fc-index__text { position: relative; z-index: 1; transition: color .35s var(--ease); }
.fc-index__row a::after { z-index: 1; }
/* foto che si apre a tutta riga */
.fc-index__img { position: absolute; inset: 0; overflow: hidden; clip-path: inset(50% 0 50% 0); transition: clip-path .6s var(--ease); background: var(--ink); }
.fc-index__img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.15); transition: transform 1.2s var(--ease); }
.fc-index__img::after { content: ""; position: absolute; inset: 0; border-left: 6px solid var(--yellow); }
.fc-index__row a:hover .fc-index__img, .fc-index__row a:focus-visible .fc-index__img { clip-path: inset(0); }
.fc-index__row a:hover .fc-index__img img { transform: scale(1); }
.fc-index__row a:hover { padding-top: 56px; padding-bottom: 56px; color: var(--white); }
.fc-index__row a:hover .fc-index__text, .fc-index__row a:hover .fc-index__n { color: rgba(255,255,255,.85); }
.fc-index__row a:hover .fc-index__n { color: var(--yellow); }
.fc-index__row a:hover::after { color: var(--yellow); }

/* ---------- Stage (sticky) ---------- */
.fc-stage { position: relative; background: #000; color: var(--white); }
.fc-stage__media { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.fc-stage__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1s var(--ease), transform 6s linear; }
.fc-stage__media img.is-on { opacity: .62; transform: scale(1); }
.fc-stage__panels { position: relative; margin-top: -100vh; }
.fc-stage__panel { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gut); max-width: var(--wrap); margin: 0 auto; }
.fc-stage__n { font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.fc-stage__n::before { content: ""; display: inline-block; width: 48px; height: 2px; background: var(--yellow); vertical-align: middle; margin-right: 14px; }
.fc-stage__big { font-weight: 800; font-stretch: 62%; font-size: clamp(3.4rem, 10vw, 10rem); line-height: .84; text-transform: uppercase; margin: 0 0 24px; text-shadow: 0 2px 40px rgba(0,0,0,.35); }
.fc-stage__small { max-width: 38ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); opacity: .9; margin: 0; }
.fc-stage__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.05) 50%, rgba(0,0,0,.55)); }
.fc-stage__panel:nth-child(even) { align-items: flex-end; text-align: right; }

/* ---------- Schema unifilare ---------- */
.fc-schema { background: var(--ink); color: var(--white); padding: clamp(80px, 10vw, 150px) 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; }
.fc-schema__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.fc-schema__text h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.fc-schema__text p { opacity: .8; max-width: 52ch; margin-bottom: 32px; }
.fc-schema__fig { margin: 0; }
.fc-uni { width: 100%; height: auto; overflow: visible; }
.fc-uni text { fill: rgba(255,255,255,.75); font: 600 11px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.fc-uni__box { fill: var(--ink); stroke: var(--white); stroke-width: 1.5; }
.fc-uni__box--y { fill: var(--yellow); stroke: var(--yellow); }
.fc-uni__thin { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1; }
.fc-uni__sym { fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: square; }
.fc-uni__box--y + .fc-uni__sym { stroke: var(--ink); }
.fc-uni__level { fill: var(--yellow); transform-box: fill-box; transform-origin: 0 50%; animation: fc-charge 6s var(--ease) infinite; }
@keyframes fc-charge { 0% { transform: scaleX(.15); } 70%, 100% { transform: scaleX(1); } }
.fc-uni__wires path { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 2; }
.fc-uni__flow path { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 10 22; animation: fc-flow 1.6s linear infinite; }
@keyframes fc-flow { to { stroke-dashoffset: -64; } }

/* ---------- Metodo (tabella) ---------- */
.fc-split { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.fc-split__head { position: sticky; top: calc(var(--hdr) + 32px); }
.fc-split__head h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); font-stretch: 62%; line-height: .86; }
.fc-split__head p { color: var(--grey); max-width: 32ch; }
.fc-table { list-style: none; margin: 0; padding: 0; counter-reset: st; border-top: 2px solid var(--ink); }
.fc-table li { counter-increment: st; display: grid; grid-template-columns: 64px 1fr 1.4fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fc-table li::before { content: counter(st, decimal-leading-zero); font-weight: 800; font-stretch: 62%; font-size: 2.6rem; line-height: .8; color: var(--yellow); -webkit-text-stroke: 1px var(--ink); }
.fc-table strong { font-weight: 800; font-stretch: 72%; font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.fc-table span { color: var(--grey); }

/* ---------- Per chi ---------- */
.fc-who { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--white); }
.fc-who__col { position: relative; overflow: hidden; border-right: 1px solid var(--line-d); }
.fc-who__media { aspect-ratio: 4 / 3; overflow: hidden; }
.fc-who__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.fc-who__col:hover .fc-who__media img { transform: scale(1); }
.fc-who__body { padding: 40px var(--gut) 56px; }
.fc-who__body h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); font-stretch: 62%; color: var(--yellow); }
.fc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.fc-list li { padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 1.05rem; }
.fc-prose .fc-list, .fc-page .fc-list { border-color: var(--line); }
.fc-prose .fc-list li { border-color: var(--line); }

/* ---------- Zona ---------- */
.fc-area { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.fc-area__text h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); font-stretch: 62%; }
.fc-area__text p { color: var(--grey); max-width: 48ch; }
.fc-area__text address { font-style: normal; margin-top: 28px; padding-left: 18px; border-left: 4px solid var(--yellow); font-weight: 600; }
.fc-area__map { margin: 0; border: 1px solid var(--line); background: var(--white); }
.fc-area__map svg { width: 100%; height: auto; display: block; }
.fc-area__grid path { stroke: var(--line); stroke-width: 1; }
.fc-area__rings circle { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 6; }
.fc-area__towns rect { fill: var(--ink); }
.fc-area__towns text { font: 600 11px var(--display); letter-spacing: .08em; text-transform: uppercase; fill: var(--grey); }
.fc-area__pin { fill: var(--yellow); stroke: var(--ink); stroke-width: 2; }
.fc-area__label { font: 800 16px var(--display); font-stretch: 70%; letter-spacing: .06em; fill: var(--ink); }

/* ---------- CTA ---------- */
.fc-cta { background: var(--yellow); color: var(--ink); padding: clamp(72px, 9vw, 130px) 0; }
.fc-cta__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.fc-cta__title { font-size: clamp(3rem, 8.5vw, 8rem); font-stretch: 62%; line-height: .84; margin: 0; }
.fc-cta__phones { list-style: none; margin: 18px 0 28px; padding: 0; border-top: 2px solid var(--ink); }
.fc-cta__phones a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.25); font-weight: 800; font-stretch: 70%; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; text-decoration: none; }
.fc-cta__phones a:hover { padding-left: 10px; transition: padding .3s var(--ease); }

/* ---------- Footer ---------- */
.fc-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 80px 0 28px; font-size: .95rem; }
.fc-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-d); }
.fc-footer .fc-logo { color: var(--white); margin-bottom: 20px; }
.fc-footer .fc-logo__mark { color: #000; outline: 1px solid var(--line-d); }
.fc-footer__brand p { max-width: 36ch; }
.fc-footer h2 { font-size: .78rem; font-stretch: 100%; font-weight: 600; letter-spacing: .22em; color: var(--yellow); margin-bottom: 18px; }
.fc-footer ul { list-style: none; margin: 0; padding: 0; }
.fc-footer li { margin-bottom: 8px; }
.fc-footer a { text-decoration: none; }
.fc-footer a:hover { color: var(--yellow); }
.fc-footer address { font-style: normal; }
.fc-footer__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: .82rem; opacity: .7; }
.fc-footer__legal p { margin: 0; }

.fc-fab { display: none; }

/* ---------- Pagine interne ---------- */
.fc-pagehero { position: relative; color: var(--white); background: var(--ink); min-height: 82vh; display: flex; align-items: flex-end; overflow: hidden; margin-top: calc(var(--hdr) * -1); padding-top: var(--hdr); }
.fc-pagehero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.06 + var(--fc-hero, 0) * .1)); animation: fc-kb 2s var(--ease) both; }
.fc-pagehero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,16,.35), rgba(8,10,16,.1) 40%, rgba(8,10,16,.85)); }
.fc-pagehero__content { position: relative; padding-bottom: clamp(36px, 6vw, 72px); }
.fc-pagehero h1 { font-size: clamp(2.8rem, 8vw, 7.6rem); font-stretch: 62%; line-height: .86; margin: 0 0 20px; max-width: 14ch; animation: fc-up 1s var(--ease) both; }
.fc-pagehero__lead { font-size: clamp(1.05rem, 1.5vw, 1.35rem); max-width: 52ch; opacity: .88; margin: 0; }
.fc-pagehero:not(.fc-pagehero--img) { min-height: 40vh; }

.fc-page__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 96px); padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(56px, 7vw, 110px); }
.fc-prose { max-width: 70ch; }
.fc-prose h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin-top: 1.4em; padding-top: .6em; border-top: 2px solid var(--ink); }
.fc-prose h2:first-child { margin-top: 0; }
.fc-prose h3 { margin-top: 1.4em; }
.fc-prose ul { padding: 0; list-style: none; border-top: 1px solid var(--line); margin: 0 0 1.4em; }
.fc-prose ul li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.fc-prose ul li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 2px; background: var(--ink); }
.fc-prose ol { padding-left: 1.2em; }
.fc-prose a { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fc-prose blockquote { margin: 1.6em 0; padding: 0 0 0 24px; border-left: 4px solid var(--yellow); font-size: 1.3rem; font-stretch: 85%; font-weight: 500; }
.fc-prose .fc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 2px solid var(--ink); margin: 1.6em 0; }
.fc-prose .fc-facts > div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.fc-prose .fc-facts strong { display: block; text-transform: uppercase; font-stretch: 75%; font-size: 1.15rem; }
.fc-prose img { margin: 1.6em 0; }

.fc-page__aside { position: relative; }
.fc-asidecard { position: sticky; top: calc(var(--hdr) + 28px); background: var(--ink); color: var(--white); padding: 32px 28px; border-top: 6px solid var(--yellow); }
.fc-asidecard h2 { font-size: 2rem; font-stretch: 65%; }
.fc-asidecard p { opacity: .75; font-size: .95rem; }
.fc-asidecard__phone { display: block; font-weight: 800; font-stretch: 72%; font-size: 1.8rem; text-decoration: none; padding: 10px 0; border-top: 1px solid var(--line-d); }
.fc-asidecard__phone:last-of-type { border-bottom: 1px solid var(--line-d); margin-bottom: 22px; }
.fc-asidecard__phone:hover { color: var(--yellow); }

/* ---------- Contatti (com_contact) ---------- */
.fc-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(56px, 7vw, 110px); }
.fc-contact__info dl { margin: 0; border-top: 2px solid var(--ink); }
.fc-contact__info dt { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); padding-top: 16px; }
.fc-contact__info dd { margin: 0; padding: 4px 0 16px; border-bottom: 1px solid var(--line); font-weight: 700; font-stretch: 80%; font-size: 1.5rem; line-height: 1.2; }
.fc-contact__info dd a { text-decoration: none; }
.fc-contact__info dd a:hover { background: var(--yellow); }
.fc-form fieldset { border: 0; padding: 0; margin: 0; }
.fc-form legend { display: none; }
.fc-form .control-group { margin-bottom: 22px; }
.fc-form label { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.fc-form .star { color: #b3261e; }
.fc-form input[type=text], .fc-form input[type=email], .fc-form input[type=tel], .fc-form textarea, .fc-form select {
	width: 100%; padding: 14px 0; border: 0; border-bottom: 2px solid var(--ink); background: transparent; font: inherit; color: inherit;
}
.fc-form textarea { min-height: 160px; resize: vertical; border: 2px solid var(--ink); padding: 14px; }
.fc-form input:focus, .fc-form textarea:focus { outline: none; border-color: var(--yellow); background: var(--white); }
.fc-form .form-check, .fc-form .checkboxes { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.fc-form input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 3px; }
.fc-form .invalid { border-color: #b3261e !important; }
.fc-form .form-control-feedback, .fc-form .invalid-feedback { color: #b3261e; font-size: .85rem; }
.fc-form button[type=submit] { display: inline-flex; padding: 1em 1.8em; border: 2px solid var(--ink); background: var(--ink); color: var(--white); font: 700 .95rem/1 var(--display); font-stretch: 90%; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.fc-form button[type=submit]:hover { background: var(--yellow); color: var(--ink); }
.fc-form .spacer, .fc-form .visually-hidden { position: absolute; left: -9999px; }

/* Messaggi di sistema */
#system-message-container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
joomla-alert, .alert { display: block; margin: 20px 0; padding: 16px 20px; border-left: 6px solid var(--yellow); background: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.fc-header__phone { display: none; }
	.fc-mega__grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
	.fc-mega__inner { grid-template-columns: 1fr; }
	.fc-mega__claim { font-size: 2.2rem; }
}
@media (max-width: 960px) {
	:root { --hdr: 64px; }
	.fc-burger { display: block; }
	.fc-header__cta { display: none; }
	.fc-nav {
		position: fixed; inset: var(--hdr) 0 0 0; background: var(--ink); color: var(--white);
		padding: 24px var(--gut) 40px; overflow: auto; margin: 0;
		transform: translateX(100%); transition: transform .45s var(--ease); visibility: hidden;
	}
	.fc-nav.is-open { transform: none; visibility: visible; }
	.fc-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.fc-nav__item { border-bottom: 1px solid var(--line-d); }
	.fc-nav__link { height: auto; width: 100%; justify-content: space-between; padding: 20px 0; font-size: 2rem; font-weight: 800; font-stretch: 65%; letter-spacing: 0; }
	.fc-nav__link::after { display: none; }
	.fc-nav__trigger svg { width: 18px; height: 18px; }
	.fc-mega { position: static; visibility: visible; opacity: 1; transform: none; display: none; border: 0; max-height: none; background: transparent; }
	.has-mega.is-open .fc-mega { display: block; }
	.fc-mega__inner { padding: 0 0 20px; }
	.fc-mega__intro { display: none; }
	.fc-mega__grid { grid-template-columns: 1fr; border: 0; row-gap: 0; }
	.fc-mega__card { flex-direction: row; align-items: center; gap: 14px; padding: 10px 0; border: 0; }
	.fc-mega__img { width: 72px; flex-shrink: 0; aspect-ratio: 1; margin: 0; }
	.fc-mega__img img { filter: none; }
	.fc-mega__n { display: none; }
	.fc-mega__title { font-size: 1.15rem; margin: 0; }
	.fc-mega__short { display: none; }
	.fc-nav__mobilefoot { display: grid; gap: 4px; margin-top: 28px; }
	.fc-nav__mobilefoot a { font-weight: 800; font-stretch: 70%; font-size: 1.8rem; color: var(--yellow); text-decoration: none; }
	.fc-mega-veil { display: none; }

	.fc-hero__bar-inner { grid-template-columns: 1fr 1fr; }
	.fc-hero__bar-inner > * { font-size: 1.05rem; padding: 14px 14px 14px 0 !important; border-bottom: 1px solid rgba(255,255,255,.18); }
	.fc-hero__bar-inner > *:nth-child(2n) { border-right: 0; padding-left: 14px !important; }
	.fc-hero__bar-cta { padding-left: 14px !important; }
	.fc-intro__grid, .fc-schema__grid, .fc-split, .fc-area, .fc-cta__inner, .fc-page__layout, .fc-contact { grid-template-columns: 1fr; }
	.fc-split__head { position: static; }
	.fc-sechead { flex-direction: column; align-items: start; }
	.fc-sechead p { text-align: left; }
	.fc-index__row a { grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 22px 0; }
	.fc-index__row a::after { display: none; }
	.fc-index__text { grid-column: 2; }
	.fc-index__img { position: relative; inset: auto; display: block; grid-column: 1 / -1; margin-top: 14px; aspect-ratio: 16 / 9; clip-path: none; }
	.fc-index__img img { opacity: 1; transform: none; }
	.fc-index__img::after { display: none; }
	.fc-index__row a:hover { padding-top: 22px; padding-bottom: 22px; color: inherit; }
	.fc-index__row a:hover .fc-index__text { color: var(--grey); }
	.fc-who { grid-template-columns: 1fr; }
	.fc-table li { grid-template-columns: 52px 1fr; }
	.fc-table span { grid-column: 2; }
	.fc-footer__grid { grid-template-columns: 1fr 1fr; }
	.fc-footer__brand { grid-column: 1 / -1; }
	.fc-fab { display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 45; width: 58px; height: 58px; align-items: center; justify-content: center; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); }
	.fc-fab svg { width: 24px; height: 24px; }
	.fc-stage__panel:nth-child(even) { align-items: flex-start; text-align: left; }
}
@media (max-width: 560px) {
	.fc-logo__tag { display: none; }
	.fc-logo__name { font-size: 1.3rem; }
	.fc-footer__grid { grid-template-columns: 1fr; }
	.fc-hero__title { font-size: clamp(2.9rem, 15.5vw, 5rem); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.fc-marquee__track { transform: none; }
}
.fc-form__privacy { font-size: .85rem; color: var(--grey); margin-top: 18px; } .fc-form h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); font-stretch: 62%; }

/* Mappa Nord Italia */
.fc-area { grid-template-columns: 1fr 1.5fr; }
.fc-area__links path { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 5; opacity: .45; animation: fc-link 2.4s linear infinite; }
@keyframes fc-link { to { stroke-dashoffset: -32; } }
.fc-area__map svg { overflow: hidden; }
.fc-area__towns rect { fill: var(--ink); }
.fc-area__towns text { font-size: 10px; }
.fc-area__pin-pulse { fill: none; stroke: var(--yellow); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: fc-pulse 2.2s var(--ease) infinite; }
@keyframes fc-pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }

/* ---------- Targa dati (pagine servizio) ---------- */
.fc-prose .fc-facts {
	display: block; position: relative; margin: 2.2em 0; padding: 46px 34px 26px; border: 0;
	color: #e9e7e1;
	background:
		radial-gradient(circle at 14px 14px, #9a978e 0 4px, #3a3a36 4.5px 5.5px, transparent 6px),
		radial-gradient(circle at calc(100% - 14px) 14px, #9a978e 0 4px, #3a3a36 4.5px 5.5px, transparent 6px),
		radial-gradient(circle at 14px calc(100% - 14px), #9a978e 0 4px, #3a3a36 4.5px 5.5px, transparent 6px),
		radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #9a978e 0 4px, #3a3a36 4.5px 5.5px, transparent 6px),
		repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
		linear-gradient(160deg, #2b2b28, #1a1a18 60%, #262623);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 7px #1a1a18, inset 0 0 0 8px rgba(255,196,0,.55), 0 18px 40px rgba(0,0,0,.18);
	max-width: 560px;
}
.fc-prose .fc-facts::before {
	content: "FC Impianti · Dati di targa"; position: absolute; left: 34px; right: 34px; top: 18px;
	font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--yellow);
	padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.fc-prose .fc-facts::after { content: "Sede Corzano (BS) · Nord Italia"; position: absolute; right: 34px; bottom: 10px; font-size: .58rem; letter-spacing: .22em; color: rgba(255,255,255,.35); }
.fc-prose .fc-facts > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.18); font-size: .95rem; }
.fc-prose .fc-facts > div:last-child { border-bottom: 0; margin-bottom: 12px; }
.fc-prose .fc-facts strong { display: block; font-size: .72rem; font-stretch: 100%; font-weight: 600; letter-spacing: .18em; color: rgba(255,255,255,.6); padding-top: 3px; }
@media (max-width: 560px) { .fc-prose .fc-facts > div { grid-template-columns: 1fr; gap: 2px; } }

.fc-fab { transition: opacity .3s, transform .3s var(--ease); }
.fc-fab:not(.is-on) { opacity: 0; transform: translateY(20px); pointer-events: none; }


/* Credit goliardico */
.fc-credit { width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding-top: 14px; margin-top: 4px !important; border-top: 1px dashed rgba(255,255,255,.12); cursor: default; outline: none; }
.fc-credit strong { color: var(--white); font-weight: 700; }
.fc-credit__bolt { display: inline-block; color: var(--yellow); filter: grayscale(1) brightness(.7); transition: filter .2s; }
.fc-credit__warn { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); font-style: italic; }
.fc-credit:hover, .fc-credit:focus { animation: fc-zap .45s steps(2) 2; color: var(--yellow); }
.fc-credit:hover .fc-credit__bolt, .fc-credit:focus .fc-credit__bolt { filter: none; animation: fc-flash .15s steps(2) 6; }
.fc-credit:hover .fc-credit__warn, .fc-credit:focus .fc-credit__warn { opacity: .8; transform: none; }
@keyframes fc-zap {
	0% { transform: translate(0, 0); text-shadow: none; }
	20% { transform: translate(-2px, 1px); text-shadow: 2px 0 var(--yellow), -2px 0 #4fc3ff; }
	40% { transform: translate(2px, -1px); }
	60% { transform: translate(-1px, -2px); text-shadow: -2px 0 var(--yellow), 2px 0 #4fc3ff; }
	80% { transform: translate(1px, 2px); }
	100% { transform: none; text-shadow: none; }
}
@keyframes fc-flash { 50% { opacity: .1; } }

/* ---------- Banner cookie a scossa ---------- */
.fc-ck { position: fixed; left: 0; right: 0; bottom: 24px; z-index: 80; display: flex; justify-content: center; pointer-events: none; }
.fc-ck[hidden] { display: none; }
.fc-ck__box {
	position: relative; pointer-events: auto; width: min(540px, calc(100vw - 120px)); padding: 22px 26px 24px;
	background: #191917; color: rgba(255,255,255,.45); border: 2px solid #33332f;
	box-shadow: 0 30px 60px rgba(0,0,0,.45);
	transition: background .5s, color .5s, border-color .5s, box-shadow .6s;
	animation: fc-ck-in .7s var(--ease) both;
}
@keyframes fc-ck-in { from { transform: translateY(140%); } }
.fc-ck__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; }
.fc-ck__led { width: 10px; height: 10px; background: #4a1d1d; box-shadow: inset 0 0 0 1px rgba(0,0,0,.6); }
.fc-ck__title { margin: 0 0 6px; font-weight: 800; font-stretch: 68%; font-size: 1.7rem; line-height: 1; text-transform: uppercase; color: rgba(255,255,255,.55); transition: color .4s, text-shadow .4s; }
.fc-ck__text { margin: 0 0 16px; font-size: .9rem; line-height: 1.5; }
.fc-ck__text a { color: inherit; text-decoration-color: var(--yellow); }
.fc-ck__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fc-ck__actions .fc-btn { padding: .8em 1.2em; font-size: .82rem; }
.fc-ck__min { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.35); }
.fc-ck__min:hover { color: var(--white); border-color: var(--white); }

/* morsetti sui lati del box */
.fc-ck__term { position: absolute; top: 50%; width: 16px; height: 30px; margin-top: -15px; background: linear-gradient(90deg, #8d8a80, #c9c5b8 50%, #8d8a80); border: 2px solid #33332f; transition: border-color .3s; }
.fc-ck__term::after { content: ""; position: absolute; left: 2px; right: 2px; top: 11px; height: 3px; background: #33332f; }
.fc-ck__term--l { left: -18px; }
.fc-ck__term--r { right: -18px; }

/* fili: partono dai bordi dello schermo, punta in rame verso il box */
.fc-ck__wire { position: absolute; top: 50%; height: 12px; margin-top: -6px; width: 50vw; pointer-events: none; transition: transform .35s cubic-bezier(.5, -0.4, .6, 1.6); }
.fc-ck__wire--l { right: calc(50% + min(270px, (100vw - 120px) / 2) + 34px); transform: translateX(-34px); background: linear-gradient(#a9673a, #7b4520 55%, #5e3315); }
.fc-ck__wire--r { left: calc(50% + min(270px, (100vw - 120px) / 2) + 34px); transform: translateX(34px); background: linear-gradient(#3d78c9, #1f4f96 55%, #163a70); }
.fc-ck__tip { position: absolute; top: 2px; width: 18px; height: 8px; background: repeating-linear-gradient(0deg, #f0a25c 0 1px, #c36b28 1px 2px); }
.fc-ck__wire--l .fc-ck__tip { right: -18px; }
.fc-ck__wire--r .fc-ck__tip { left: -18px; }
/* sfrigolio di attesa */
.fc-ck.is-idle .fc-ck__tip::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: #fff7c2; box-shadow: 0 0 10px 3px var(--yellow); opacity: 0; animation: fc-ck-fizz 3.2s steps(1) infinite; }
.fc-ck__wire--l .fc-ck__tip::after { right: -4px; }
.fc-ck__wire--r .fc-ck__tip::after { left: -4px; animation-delay: 1.3s !important; }
@keyframes fc-ck-fizz { 0%, 86%, 92%, 100% { opacity: 0; } 88%, 95% { opacity: 1; } }
.fc-ck.is-idle .fc-ck__wire { animation: fc-ck-sway 3.2s ease-in-out infinite; }
@keyframes fc-ck-sway { 50% { margin-top: -4px; } }

/* contatto */
.fc-ck.is-plug .fc-ck__wire { transform: none; }
.fc-ck__spark { position: fixed; z-index: 81; width: 4px; height: 4px; background: #fff3b0; box-shadow: 0 0 8px 2px var(--yellow); pointer-events: none; animation: fc-ck-spark .55s ease-out forwards; }
@keyframes fc-ck-spark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.fc-ck.is-flicker .fc-ck__box { animation: fc-ck-flicker .7s steps(1) both; }
@keyframes fc-ck-flicker {
	0% { background: #2a2a20; } 12% { background: #191917; } 22% { background: #3a3315; } 30% { background: #191917; }
	45% { background: #4a3f10; } 52% { background: #191917; } 70%, 100% { background: #191917; }
}
/* acceso */
.fc-ck.is-on .fc-ck__box { color: rgba(255,255,255,.9); border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow), 0 0 40px rgba(255,196,0,.55), 0 0 120px rgba(255,196,0,.3), 0 30px 60px rgba(0,0,0,.45); }
.fc-ck.is-on .fc-ck__title { color: var(--yellow); text-shadow: 0 0 18px rgba(255,196,0,.6); }
.fc-ck.is-on .fc-ck__led { background: #6dff7a; box-shadow: 0 0 10px 2px #3dff57; }
.fc-ck.is-on .fc-ck__status { color: #9dff9f; }
.fc-ck.is-on .fc-ck__term { border-color: var(--yellow); }
/* uscita */
.fc-ck.is-out { transition: opacity .5s .1s, transform .6s var(--ease); opacity: 0; transform: translateY(40px); }
/* "solo necessario": fili ritratti, box spento che cade */
.fc-ck.is-unplug .fc-ck__wire--l { transform: translateX(-140px); }
.fc-ck.is-unplug .fc-ck__wire--r { transform: translateX(140px); }
.fc-ck.is-unplug .fc-ck__box { transition: transform .6s cubic-bezier(.5, 0, .9, .4), opacity .6s; transform: translateY(160%) rotate(4deg); opacity: 0; }

@media (max-width: 560px) {
	.fc-ck { bottom: 12px; }
	.fc-ck__box { width: calc(100vw - 72px); padding: 18px 18px 20px; }
	.fc-ck__wire--l { right: calc(50% + (100vw - 72px) / 2 + 34px); }
	.fc-ck__wire--r { left: calc(50% + (100vw - 72px) / 2 + 34px); }
	.fc-ck__title { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .fc-ck__spark { display: none; } }

.fc-ck__flash { position: fixed; inset: 0; z-index: 79; pointer-events: none; background: radial-gradient(circle at 50% 100%, rgba(255,240,170,.55), rgba(255,196,0,.18) 40%, transparent 75%); animation: fc-ck-flash .5s steps(3) forwards; }
@keyframes fc-ck-flash { 0% { opacity: 1; } 33% { opacity: .2; } 66% { opacity: .8; } 100% { opacity: 0; } }

/* ---------- Presa richiamo cookie (in basso a sinistra) ---------- */
.fc-plug { position: fixed; left: 16px; bottom: 16px; z-index: 44; display: flex; align-items: stretch; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--white); animation: fc-plug-in .5s var(--ease) both; }
.fc-plug[hidden] { display: none; }
@keyframes fc-plug-in { from { transform: translateY(120%); } }
.fc-plug__plate { position: relative; width: 52px; height: 52px; background: linear-gradient(145deg, #f6f5f0, #d9d7cf); border: 2px solid var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,.28); transition: transform .25s var(--ease); }
.fc-plug__plate svg { position: absolute; inset: 4px; width: 40px; height: 40px; }
.fc-plug__frame { fill: none; stroke: #b9b7ae; stroke-width: 1; }
.fc-plug__well { fill: #ecebe5; stroke: #c4c2b9; stroke-width: 1; }
.fc-plug__hole { fill: #1b1b1b; transition: fill .2s; }
.fc-plug__led { position: absolute; right: 6px; top: 6px; width: 5px; height: 5px; background: #8c8a82; }
.fc-plug.is-on .fc-plug__led { background: var(--yellow); box-shadow: 0 0 6px 1px rgba(255,196,0,.9); animation: fc-plug-led 3.6s steps(1) infinite; }
@keyframes fc-plug-led { 0%, 90%, 94%, 100% { opacity: 1; } 92% { opacity: .25; } }
.fc-plug__label { display: flex; flex-direction: column; justify-content: center; max-width: 0; overflow: hidden; white-space: nowrap; background: var(--ink); font-weight: 800; font-stretch: 68%; font-size: 1.15rem; line-height: 1; text-transform: uppercase; padding: 0; border: 2px solid var(--ink); border-left: 0; transition: max-width .35s var(--ease), padding .35s var(--ease); }
.fc-plug__label small { font-size: .58rem; font-weight: 600; font-stretch: 100%; letter-spacing: .2em; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.fc-plug.is-on .fc-plug__label small { color: var(--yellow); }
.fc-plug:hover .fc-plug__label, .fc-plug:focus-visible .fc-plug__label { max-width: 160px; padding: 0 16px; }
.fc-plug:hover .fc-plug__plate, .fc-plug:focus-visible .fc-plug__plate { transform: rotate(-4deg); }
.fc-plug:hover .fc-plug__hole { fill: var(--yellow); }
.fc-plug:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 960px) { .fc-plug { left: 12px; bottom: 12px; } .fc-plug__plate { width: 46px; height: 46px; } .fc-plug__plate svg { inset: 1px; } }
@media (prefers-reduced-motion: reduce) { .fc-plug, .fc-plug.is-on .fc-plug__led { animation: none; } }
