/* FamaSite: regole aggiunte alla grafica esistente.
   Promo di Natale, piani, FAQ a card, pagine servizi, contatti, Chi siamo, intestazione e piè di pagina. */
html.fs-menu-open { overflow: hidden; }
.fs-logo { display: block; width: auto; overflow: visible; }
.fs-rays { display: block; flex: none; }
.fs-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

/* ---------- Promo di Natale: visibile solo fino al 15 dicembre 2026 ----------
   La classe fs-bf-on la aggiunge lo script nella <head>; dopo la scadenza non c'è più e tutto torna normale. */
html:not(.fs-bf-on) .fs-bf-only, html:not(.fs-bf-on) #promo-natale { display: none !important; }
html.fs-bf-on .fs-std-only { display: none !important; }

.fs-dot { flex: none; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: #00d3fa; box-shadow: 0 0 10px #00d3facc;
  animation: fs-pulse 1.8s ease-in-out infinite; }
@keyframes fs-pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .fs-dot { animation: none; } }

/* ---------- Natale: stelline che cadono e si dissolvono (solo nella sezione della promo) ---------- */
.fs-xmas-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fs-xmas-sky i { position: absolute; opacity: 0; animation: fs-fall-1 10s linear infinite; }
.fs-xmas-sky i.f2 { animation-name: fs-fall-2; }
.fs-xmas-sky i.f3 { animation-name: fs-fall-3; }
.fs-xmas-sky i.f4 { animation-name: fs-fall-4; }
.fs-xmas-sky i::before { content: ""; position: absolute; inset: -110%; border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0, transparent 60%); opacity: calc(var(--o) * 0.32); }
.fs-xmas-sky i::after { content: ""; position: absolute; inset: 0; background: var(--c); opacity: var(--o);
  -webkit-clip-path: polygon(50.0% 4.8%, 62.9% 37.0%, 97.6% 39.3%, 70.9% 61.6%, 79.4% 95.3%, 50.0% 76.8%, 20.6% 95.3%, 29.1% 61.6%, 2.4% 39.3%, 37.1% 37.0%);
  clip-path: polygon(50.0% 4.8%, 62.9% 37.0%, 97.6% 39.3%, 70.9% 61.6%, 79.4% 95.3%, 50.0% 76.8%, 20.6% 95.3%, 29.1% 61.6%, 2.4% 39.3%, 37.1% 37.0%); }
.fs-xmas-sky i.o::before { display: none; }
.fs-xmas-sky i.o::after { -webkit-clip-path: none; clip-path: none; border-radius: 50%; }
@keyframes fs-fall-1 {
  0% { opacity: 0; transform: translate3d(0, -12px, 0) rotate(0deg) scale(0.5); }
  14% { opacity: 1; transform: translate3d(5px, 20px, 0) rotate(17deg) scale(1); }
  55% { opacity: 1; transform: translate3d(14px, 110px, 0) rotate(66deg) scale(0.9); }
  100% { opacity: 0; transform: translate3d(4px, 200px, 0) rotate(120deg) scale(0.55); }
}
@keyframes fs-fall-2 {
  0% { opacity: 0; transform: translate3d(0, -12px, 0) rotate(0deg) scale(0.5); }
  14% { opacity: 1; transform: translate3d(-6px, 28px, 0) rotate(-21deg) scale(1); }
  55% { opacity: 1; transform: translate3d(-18px, 154px, 0) rotate(-82deg) scale(0.9); }
  100% { opacity: 0; transform: translate3d(-5px, 280px, 0) rotate(-150deg) scale(0.55); }
}
@keyframes fs-fall-3 {
  0% { opacity: 0; transform: translate3d(0, -12px, 0) rotate(0deg) scale(0.5); }
  14% { opacity: 1; transform: translate3d(3px, 17px, 0) rotate(-13deg) scale(1); }
  55% { opacity: 1; transform: translate3d(9px, 94px, 0) rotate(-52deg) scale(0.9); }
  100% { opacity: 0; transform: translate3d(3px, 170px, 0) rotate(-95deg) scale(0.55); }
}
@keyframes fs-fall-4 {
  0% { opacity: 0; transform: translate3d(0, -12px, 0) rotate(0deg) scale(0.5); }
  14% { opacity: 1; transform: translate3d(-4px, 33px, 0) rotate(24deg) scale(1); }
  55% { opacity: 1; transform: translate3d(-11px, 182px, 0) rotate(94deg) scale(0.9); }
  100% { opacity: 0; transform: translate3d(-3px, 330px, 0) rotate(170deg) scale(0.55); }
}
@media (max-width: 759px) { .fs-xmas-sky i:nth-child(3n) { display: none; } }

/* Stella che brilla sulla seconda A di NATALE, come la punta dell'albero */
.fs-bf-giant { position: relative; }
.fs-xmas-star { position: absolute; left: 1.975em; top: 0.098em; width: 0.28em; height: 0.28em; overflow: visible;
  pointer-events: none; transform: translate(-50%, -97%); animation: fs-twinkle 3.6s ease-in-out infinite; }
.fs-xmas-glow { animation: fs-glow 3.6s ease-in-out infinite; }
@keyframes fs-twinkle { 0%, 100% { transform: translate(-50%, -97%) rotate(-6deg) scale(0.93); } 50% { transform: translate(-50%, -97%) rotate(6deg) scale(1.05); } }
@keyframes fs-glow { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* Cappellino sul logo: piccolo dondolio quando ci passi sopra */
.fs-xmas-bob { transform-box: fill-box; transform-origin: 30% 90%; }
a:hover .fs-xmas-bob { animation: fs-hat-bob 0.7s ease-in-out; }
@keyframes fs-hat-bob { 30% { transform: rotate(-9deg); } 65% { transform: rotate(5deg); } }

@media (prefers-reduced-motion: reduce) {
  .fs-xmas-sky i { animation-name: none !important; opacity: 0.55; }
  .fs-xmas-star, .fs-xmas-glow, a:hover .fs-xmas-bob { animation: none; }
}

/* Natale sulle altre pagine: striscia centrata, etichetta sui servizi in promo, auguri nel piè di pagina */
.fs-svc-bf.fs-c { margin-left: auto; margin-right: auto; }
.fs-promo-badge { display: inline-flex; width: fit-content; margin-top: 0.55rem; padding: 0.22rem 0.7rem; border-radius: 999px; font-size: 0.72rem;
  line-height: 1.4; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; border: 1px solid transparent;
  background: linear-gradient(#0b0b10, #0b0b10) padding-box, linear-gradient(100deg, #901dfb, #2267fa 50%, #00d3fa) border-box; }
.fs-foot-xmas { color: #e4e4e7; }
.fs-foot-xmas svg { display: inline-block; width: 0.85em; height: 0.85em; margin-left: 0.35em; vertical-align: -0.08em; color: #00d3fa; }

/* Pulsante della promo nell'intestazione (solo computer) */
.fs-nav-bf { display: none; align-items: center; gap: 0.45rem; min-height: 2.5rem; padding: 0 0.95rem; border-radius: 999px;
  border: 1.5px solid transparent; background: linear-gradient(#050508, #050508) padding-box, var(--grad) border-box;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.fs-nav-bf:hover { background: linear-gradient(#111118, #111118) padding-box, var(--grad) border-box; }
@media (min-width: 1100px) { .fs-nav-bf { display: inline-flex; } }

.fs-bf { padding: calc(var(--nav-h) + 2.25rem) 0 4.5rem; background: #000; }
@media (min-width: 1024px) { .fs-bf { padding: calc(var(--nav-h) + 3.5rem) 0 6rem; } }
.fs-bf-glow { position: absolute; z-index: -1; width: 64rem; height: 64rem; right: -26rem; top: -34rem; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgb(34 103 250 / 0.34), rgb(144 29 251 / 0.15) 45%, transparent 70%); }
.fs-bf-inner { position: relative; }
.fs-bf-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.fs-bf-pill { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 1rem; border-radius: 999px; border: 1.5px solid transparent;
  background: linear-gradient(#000, #000) padding-box, var(--grad) border-box; font-size: 0.74rem; line-height: 1.3; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.fs-count { display: flex; gap: 0.45rem; }
.fs-count > span { display: grid; justify-items: center; min-width: 3.5rem; padding: 0.55rem 0.4rem 0.5rem; border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.12); background: rgb(255 255 255 / 0.04); }
.fs-count b { font-family: var(--font-display); font-size: 1.45rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.fs-count small { margin-top: 0.3rem; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-mist); }
.fs-bf-title { margin-top: 2.25rem; font-family: var(--font-display); }
.fs-bf-pre { display: block; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.fs-bf-giant { display: block; margin-top: 0.5rem; font-size: clamp(4.1rem, 27.5vw, 12rem); line-height: 0.86; font-weight: 800;
  letter-spacing: -0.035em; text-transform: uppercase; }
.fs-bf-giant > span { display: block; }
@media (min-width: 760px) {
  .fs-bf-giant { font-size: clamp(5rem, 14.5vw, 9.4rem); }
  .fs-bf-giant > span { display: inline; }
}
@media (min-width: 1024px) { .fs-bf-giant { font-size: clamp(5rem, 12.6vw, 9.4rem); } }
.fs-bf-post { display: block; margin-top: 0.85rem; font-size: clamp(1.9rem, 5.6vw, 3.7rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; }
.fs-bf-spark { display: none; }
@media (min-width: 1024px) {
  .fs-bf-spark { display: block; position: absolute; right: 0; top: 7.6rem; width: 9.5rem; height: auto; }
}
.fs-bf-lead { margin-top: 1.4rem; max-width: 40rem; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; color: #c9cbd6; }
.fs-bf-cards { display: grid; gap: 1.75rem 1.25rem; margin-top: 2.75rem; }
@media (min-width: 760px) { .fs-bf-cards { grid-template-columns: 1fr 1fr; } }
.fs-bf-card { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.6rem 1.4rem 1.4rem; border-radius: 24px;
  background: #0d0d12; border: 1.5px solid rgb(255 255 255 / 0.2); }
@media (min-width: 640px) { .fs-bf-card { padding: 1.9rem 1.9rem 1.7rem; } }
.fs-bf-card--main { border-color: #2267fa; box-shadow: 0 30px 80px -30px rgb(34 103 250 / 0.5); }
.fs-kind { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #c9cbd6; }
.fs-bf-card--main .fs-kind { color: #8fb4ff; }
.fs-bf-price { font-family: var(--font-display); font-size: clamp(3.1rem, 10vw, 4.5rem); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.fs-bf-price small { font-size: 0.32em; font-weight: 600; letter-spacing: 0; margin-right: 0.1em; }
.fs-eur { font-size: 0.62em; margin-left: 0.1em; }
.fs-bf-sub { color: #c9cbd6; line-height: 1.45; }
.fs-bf-card .btn { margin-top: 1.1rem; }
.fs-strike { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.8rem; border-radius: 999px; border: 1.5px solid transparent;
  background: linear-gradient(#000, #000) padding-box, var(--grad) border-box; font-size: 0.8rem; line-height: 1; font-weight: 600;
  letter-spacing: 0.12em; color: #fff; box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.9); white-space: nowrap; }
.fs-strike s { text-decoration-thickness: 1.5px; }
.fs-bf-card .fs-strike { position: absolute; top: -15px; right: 18px; }
.fs-bf-note { margin-top: 1rem; font-size: 0.95rem; color: #c9cbd6; }
.fs-bf-steps { display: grid; gap: 1.25rem; margin-top: 2.75rem; }
@media (min-width: 760px) { .fs-bf-steps { grid-template-columns: repeat(3, 1fr); } }
.fs-bf-steps li { padding-top: 1rem; border-top: 1.5px solid rgb(255 255 255 / 0.18); }
.fs-bf-steps li > span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: #b57cff; }
.fs-bf-steps li:nth-child(2) > span { color: #6e9bff; }
.fs-bf-steps li:nth-child(3) > span { color: #00d3fa; }
.fs-bf-steps strong { display: block; margin-top: 0.45rem; font-size: 1.2rem; font-weight: 700; }
.fs-bf-steps p { margin-top: 0.3rem; line-height: 1.5; color: #c9cbd6; }
.fs-bf .fs-cta-actions { justify-content: flex-start; margin-top: 2.75rem; }

/* L'apertura classica scende al secondo posto durante l'offerta */
html.fs-bf-on #home { padding-top: 4.5rem; }
@media (min-width: 1024px) { html.fs-bf-on #home { padding-top: 6.5rem; } }

/* ---------- Servizi in home ---------- */
.fs-span-all { grid-column: 1 / -1; }
.fs-span-all .fs-wide-text { max-width: 46rem; }
.fs-more-link { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---------- Piani ---------- */
.fs-plans-bf { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 0.6rem; margin: 1.75rem auto 0; padding: 0.5rem 1rem;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.12); background: rgb(255 255 255 / 0.03); font-size: 0.86rem; line-height: 1.4; }
.fs-plans { display: grid; gap: 2rem 1.25rem; margin-top: 3.5rem; }
@media (min-width: 700px) and (max-width: 1023px) {
  .fs-plans { grid-template-columns: 1fr 1fr; }
  .fs-plan--featured { grid-column: 1 / -1; order: -1; }
}
@media (min-width: 1024px) { .fs-plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.fs-plan { display: flex; flex-direction: column; padding: 1.9rem 1.5rem 1.6rem; background: linear-gradient(180deg, #121215, #0a0a0c); }
@media (min-width: 640px) { .fs-plan { padding: 2.2rem 2rem 1.9rem; } }
.fs-plan--featured { box-shadow: 0 30px 80px -30px rgb(34 103 250 / 0.4); }
.fs-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 0.35rem 0.85rem; border-radius: 999px;
  background: var(--grad); font-size: 0.7rem; line-height: 1.2; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
  white-space: nowrap; box-shadow: 0 8px 20px -8px rgb(34 103 250 / 0.9); }
.fs-plan-head { display: flex; align-items: center; gap: 0.9rem; }
.fs-ico { display: grid; flex: none; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; color: #fff;
  border: 1px solid rgb(34 103 250 / 0.4); background: linear-gradient(135deg, rgb(144 29 251 / 0.28), rgb(34 103 250 / 0.22), rgb(0 211 250 / 0.22));
  box-shadow: 0 8px 24px -8px rgb(34 103 250 / 0.7); }
.fs-ico svg { width: 1.3rem; height: 1.3rem; }
.fs-plan-name { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.fs-plan .fs-kind { margin-top: 0.25rem; display: block; color: #8fb4ff; }
.fs-plan-desc { margin-top: 1.1rem; font-size: 0.95rem; line-height: 1.6; color: var(--color-mist); }
.fs-plan-price { margin-top: 1.4rem; padding: 1.4rem 0 1.3rem; border-block: 1px solid rgb(255 255 255 / 0.07); }
.fs-plan-price .fs-strike { margin-bottom: 0.9rem; }
.fs-price-big { font-family: var(--font-display); font-size: clamp(2.3rem, 4.6vw, 2.9rem); line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.fs-price-big small { font-size: 0.42em; font-weight: 500; letter-spacing: 0; color: var(--color-mist); margin-right: 0.1em; }
.fs-price-txt { font-size: clamp(1.9rem, 3.6vw, 2.3rem); }
.fs-pnote { margin-top: 0.6rem; font-size: 0.88rem; line-height: 1.5; color: var(--color-mist); }
.fs-plan-list { flex: 1; display: grid; align-content: start; gap: 0.75rem; margin-top: 1.4rem; }
.fs-note { margin-top: 1.4rem; font-size: 0.86rem; line-height: 1.55; color: var(--color-mist-2); }
.fs-plan-cta { display: grid; gap: 0.4rem; margin-top: 1.6rem; }
.fs-wa-link { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.35rem 0; font-size: 0.875rem;
  color: var(--color-mist); transition: color 0.3s; }
.fs-wa-link:hover { color: #fff; }
.fs-foot-note { margin-top: 2.25rem; text-align: center; color: var(--color-mist); }
.fs-link { color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.3); text-underline-offset: 3px; transition: text-decoration-color 0.3s; }
.fs-link:hover { text-decoration-color: #00d3fa; }

/* ---------- FAQ a card scorrevoli ---------- */
.fs-faq-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.75rem 2rem; }
.fs-faq-head p a { white-space: nowrap; }
.fs-faq-nav { display: flex; gap: 0.6rem; }
.fs-arrow { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 999px; color: #fff; cursor: pointer;
  border: 1px solid rgb(255 255 255 / 0.16); background: rgb(255 255 255 / 0.04); transition: background 0.3s, border-color 0.3s, opacity 0.3s; }
.fs-arrow:hover:not(:disabled) { background: rgb(255 255 255 / 0.1); border-color: rgb(0 211 250 / 0.6); }
.fs-arrow:disabled { opacity: 0.3; cursor: default; }
.fs-arrow svg { width: 1.2rem; height: 1.2rem; }
.fs-faq-track { display: flex; gap: 1.1rem; margin-top: 2.5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 0.75rem max(1.25rem, calc((100% - 1200px) / 2 + 1.25rem)) 1rem;
  scroll-padding-inline: max(1.25rem, calc((100% - 1200px) / 2 + 1.25rem)); }
@media (min-width: 640px) {
  .fs-faq-track { gap: 1.25rem; padding-inline: max(2rem, calc((100% - 1200px) / 2 + 2rem)); scroll-padding-inline: max(2rem, calc((100% - 1200px) / 2 + 2rem)); }
}
.fs-faq-track::-webkit-scrollbar { display: none; }
.fs-faq-track:focus-visible { outline: 2px solid #00d3fa; outline-offset: -2px; border-radius: 12px; }
.fs-faq-card { flex: 0 0 auto; width: min(80vw, 366px); scroll-snap-align: start; display: flex; flex-direction: column; padding: 1.6rem 1.5rem 1.7rem;
  border-radius: 24px; border: 1px solid rgb(255 255 255 / 0.1); background: linear-gradient(180deg, #141417, #0a0a0b);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06); transition: border-color 0.4s, transform 0.5s var(--ease-out-expo); }
.fs-faq-card:hover { border-color: rgb(34 103 250 / 0.45); transform: translateY(-3px); }
.fs-faq-num { align-self: flex-start; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 800; letter-spacing: -0.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fs-faq-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 0.45rem; padding: 0.4rem 0.75rem; border-radius: 999px;
  border: 1.5px solid transparent; background: linear-gradient(#000, #000) padding-box, var(--grad) border-box; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; }
.fs-faq-card h3 { margin-top: 1.1rem; font-size: 1.12rem; line-height: 1.32; font-weight: 600; }
.fs-faq-card p { margin-top: 0.7rem; font-size: 0.95rem; line-height: 1.62; color: #c3c6d1; }
.fs-faq-card--bf { border: 1.5px solid transparent; background: linear-gradient(#0d0d12, #0d0d12) padding-box, var(--grad) border-box; }
.fs-faq-progress { height: 2px; margin-top: 1.1rem; border-radius: 2px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.fs-faq-progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0.3); transition: transform 0.25s; }

/* ---------- Fascia finale e chiamate all'azione ---------- */
.fs-final { position: relative; overflow: hidden; text-align: center; padding: 3.25rem 1.4rem;
  background: radial-gradient(110% 120% at 50% -10%, rgb(34 103 250 / 0.24), transparent 60%), linear-gradient(180deg, #0f0f13, #08080a); }
@media (min-width: 640px) { .fs-final { padding: 4.75rem 3rem; } }
.fs-final-glow { position: absolute; inset: auto 10% -60% 10%; height: 80%; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgb(144 29 251 / 0.22), transparent); }
.fs-final-title { margin-top: 1.25rem; font-size: clamp(2rem, 5.2vw, 3.7rem); line-height: 1.04; font-weight: 600; letter-spacing: -0.025em; }
.fs-final-lead { max-width: 38rem; margin: 1.25rem auto 0; font-size: clamp(1.02rem, 1.8vw, 1.15rem); line-height: 1.65; color: var(--color-mist); }
.fs-cta { text-align: center; }
.fs-cta-actions { display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; margin-top: 2.2rem; }
@media (min-width: 640px) { .fs-cta-actions { flex-direction: row; } }

/* ---------- Pagine servizi ---------- */
.fs-svc-hero { padding: 2rem 0 4.5rem; }
@media (min-width: 1024px) { .fs-svc-hero { padding: 2.75rem 0 6rem; } }
.fs-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--color-mist-2); }
.fs-crumb a { color: var(--color-mist); transition: color 0.3s; }
.fs-crumb a:hover { color: #fff; }
.fs-crumb [aria-current] { color: #fff; }
.fs-svc-grid { display: grid; gap: 3rem; margin-top: 2.25rem; align-items: center; }
@media (min-width: 1024px) { .fs-svc-grid { grid-template-columns: 1fr 1.08fr; gap: 3.5rem; } }
.fs-h1 { font-size: clamp(2.25rem, 5.4vw, 3.9rem); line-height: 1.03; font-weight: 600; letter-spacing: -0.028em; }
.fs-h1-kicker { display: block; margin-bottom: 1rem; font-size: clamp(0.82rem, 1.4vw, 0.95rem); line-height: 1.3; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: #8fb4ff; }
.fs-lead { margin-top: 1.4rem; max-width: 36rem; font-size: 1.06rem; line-height: 1.68; color: var(--color-mist); }
@media (min-width: 640px) { .fs-lead { font-size: 1.14rem; } }
.fs-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .fs-actions { flex-direction: row; flex-wrap: wrap; } }
.fs-svc-bf { display: flex; align-items: center; gap: 0.6rem; width: fit-content; max-width: 100%; margin-top: 1.4rem; padding: 0.55rem 1rem;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.12); background: rgb(255 255 255 / 0.03); font-size: 0.86rem; line-height: 1.4; }
.fs-svc-bf a { color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.3); text-underline-offset: 3px; }
.fs-visual { margin: 0; }
.fs-visual-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; padding: 1rem 1.25rem 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 0.07); font-size: 0.88rem; line-height: 1.5; color: var(--color-mist); }
.fs-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.25rem 0.65rem; font-size: 0.72rem; line-height: 1.3; white-space: nowrap; }
.fs-chip--concept { border: 1px solid rgb(252 211 77 / 0.3); background: rgb(252 211 77 / 0.06); color: rgb(253 230 138 / 0.92); }
.fs-chip--real { border: 1px solid rgb(0 211 250 / 0.3); background: rgb(0 211 250 / 0.07); color: #a8f0ff; }
.fs-chip--type { border: 1px solid rgb(255 255 255 / 0.1); color: var(--color-mist); }

.fs-incl { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 640px) { .fs-incl { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .fs-incl { grid-template-columns: repeat(4, 1fr); } }
.fs-incl-item { padding: 1.5rem 1.35rem; background: linear-gradient(180deg, #121215, #0a0a0c); }
.fs-incl-item .fs-ico { width: 2.4rem; height: 2.4rem; border-radius: 11px; }
.fs-incl-item .fs-ico svg { width: 1rem; height: 1rem; }
.fs-incl-item h3 { margin-top: 1rem; font-size: 1.05rem; line-height: 1.3; font-weight: 600; }
.fs-incl-item p { margin-top: 0.5rem; font-size: 0.93rem; line-height: 1.58; color: var(--color-mist); }

.fs-split { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .fs-split { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; } }
.fs-box { display: flex; flex-direction: column; padding: 2rem 1.5rem; }
@media (min-width: 640px) { .fs-box { padding: 2.4rem 2.2rem; } }
.fs-box-title { font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.fs-list { display: grid; gap: 0.9rem; margin-top: 1.5rem; }
.fs-callout { margin-top: 1.75rem; padding: 1rem 1.2rem; border-radius: 16px; border: 1px solid rgb(255 255 255 / 0.1); background: rgb(255 255 255 / 0.03);
  font-size: 0.92rem; line-height: 1.6; color: #d4d6de; }
.fs-pricebox .fs-plan-price { border-top: 0; padding-top: 0.9rem; }
.fs-pricebox-cta { display: grid; gap: 0.4rem; margin-top: auto; padding-top: 1.75rem; }

.fs-works { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 768px) { .fs-works { grid-template-columns: 1fr 1fr; } }
.fs-proj { display: flex; align-items: center; gap: 1.1rem; padding: 1.5rem; }
.fs-proj h3 { font-size: 1.15rem; font-weight: 600; }
.fs-proj p { margin-top: 0.2rem; font-size: 0.92rem; color: var(--color-mist); }
.fs-proj .fs-chip { margin-top: 0.6rem; }

.fs-more { margin-top: 2.5rem; text-align: center; }
.fs-more-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-mist-2); }
.fs-more ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1rem; }
.fs-more a { display: inline-flex; padding: 0.6rem 1rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.12); background: rgb(255 255 255 / 0.03);
  font-size: 0.9rem; color: #fff; transition: border-color 0.3s, background 0.3s; }
.fs-more a:hover { border-color: rgb(0 211 250 / 0.5); background: rgb(0 211 250 / 0.06); }

/* Prima e dopo (restyling) */
.fs-ba { position: relative; aspect-ratio: 16 / 11; }
.fs-ba-old { position: absolute; left: 0; top: 3%; width: 62%; transform: rotate(-3deg); filter: saturate(0.75); opacity: 0.9; }
.fs-ba-new { position: absolute; right: 0; bottom: 2%; width: 74%; border-radius: 14px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.95); }
.fs-ba-tag { position: absolute; top: -12px; left: 14px; z-index: 2; padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.68rem; line-height: 1.2;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: #27272a; color: #d4d4d8; border: 1px solid rgb(255 255 255 / 0.15); }
.fs-ba-tag--new { background: linear-gradient(#000, #000) padding-box, var(--grad) border-box; border: 1.5px solid transparent; color: #fff; }

/* ---------- Pagina Servizi ---------- */
.fs-hub-list { display: grid; gap: 1rem; margin-top: 3.5rem; }
.fs-hub-row { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem 1.25rem; align-items: start; padding: 1.5rem 1.35rem;
  background: linear-gradient(180deg, #121215, #0a0a0c); transition: transform 0.5s var(--ease-out-expo), border-color 0.4s; }
.fs-hub-row:hover { transform: translateY(-2px); }
@media (min-width: 768px) { .fs-hub-row { grid-template-columns: auto 1fr auto; align-items: center; gap: 1.75rem; padding: 1.75rem 2rem; } }
.fs-hub-num { font-family: var(--font-mono); font-size: 0.75rem; color: rgb(0 211 250 / 0.8); }
.fs-hub-name { margin-top: 0.3rem; font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.2; font-weight: 600; }
.fs-hub-name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fs-hub-desc { margin-top: 0.5rem; font-size: 0.95rem; line-height: 1.6; color: #cfd4e6; }
.fs-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.fs-tags li { border-radius: 999px; border: 1px solid rgb(34 103 250 / 0.3); background: rgb(34 103 250 / 0.1); padding: 0.25rem 0.65rem;
  font-size: 0.74rem; line-height: 1.3; color: #cfe0ff; }
.fs-hub-go { grid-column: 2; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; font-weight: 600; color: #8fb4ff;
  white-space: nowrap; transition: color 0.3s; }
.fs-hub-row:hover .fs-hub-go { color: #00d3fa; }
@media (min-width: 768px) { .fs-hub-go { grid-column: auto; } }

/* ---------- Contatti ---------- */
.fs-offer { padding: 1rem 1.15rem; border-radius: 18px; border: 1.5px solid transparent;
  background: linear-gradient(#0d0d12, #0d0d12) padding-box, var(--grad) border-box; }
.fs-offer strong { color: #fff; }
.fs-err { margin-top: 0.5rem; font-size: 0.82rem; line-height: 1.4; color: #ff8da1; }
.fs-status { margin-top: 1rem; font-size: 0.88rem; color: #ff8da1; text-align: center; }
@media (min-width: 640px) { .fs-status { text-align: right; } }
.fs-form-privacy a { color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.3); text-underline-offset: 2px; }
.fs-form-privacy a:hover { text-decoration-color: #00d3fa; }

/* ---------- Chi siamo ---------- */
.fs-about { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .fs-about { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; } }
.fs-mark { position: relative; display: grid; place-items: center; width: 100%; max-width: 24rem; aspect-ratio: 1; margin-inline: auto;
  border-radius: 36px; border: 1px solid rgb(255 255 255 / 0.1); overflow: hidden;
  background: radial-gradient(60% 60% at 50% 46%, rgb(34 103 250 / 0.28), transparent 72%), #07070a; }
.fs-mark svg { width: 46%; height: auto; filter: drop-shadow(0 18px 40px rgb(34 103 250 / 0.45)); }
.fs-story { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .fs-story { grid-template-columns: 0.95fr 1.05fr; gap: 4rem; align-items: start; } }
.fs-story-text p { font-size: 1.08rem; line-height: 1.72; color: #c9cbd6; }
.fs-story-text p + p { margin-top: 1.1rem; }
.fs-story-text strong { color: #fff; font-weight: 600; }
.fs-name { display: grid; gap: 2rem; padding: 2rem 1.5rem; }
@media (min-width: 900px) { .fs-name { grid-template-columns: auto 1fr 1fr; align-items: center; gap: 3rem; padding: 2.75rem 2.75rem; } }
.fs-name .fs-logo { width: 13rem; height: auto; }
.fs-name h3 { font-size: 1.25rem; font-weight: 600; }
.fs-name p { margin-top: 0.5rem; line-height: 1.65; color: var(--color-mist); }
.fs-values { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 640px) { .fs-values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .fs-values { grid-template-columns: repeat(3, 1fr); } }
.fs-value { padding: 1.6rem 1.5rem; background: linear-gradient(180deg, #121215, #0a0a0c); }
.fs-value h3 { margin-top: 1rem; font-size: 1.12rem; font-weight: 600; }
.fs-value p { margin-top: 0.5rem; font-size: 0.95rem; line-height: 1.6; color: var(--color-mist); }
.fs-duo { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; max-width: 46rem; margin: 0 auto; padding: 1.5rem 1.4rem; text-align: center; }
@media (min-width: 640px) { .fs-duo { flex-direction: row; text-align: left; padding: 1.6rem 1.9rem; } }
.fs-duo-av { display: flex; flex: none; }
.fs-duo-av span { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 999px; border: 3px solid #000; background: var(--grad);
  font-weight: 700; font-size: 1rem; color: #fff; }
.fs-duo-av span + span { margin-left: -0.7rem; }
.fs-duo p { line-height: 1.6; color: var(--color-mist); }
.fs-duo strong { color: #fff; font-weight: 600; }

/* ---------- Piè di pagina ---------- */
.fs-foot { display: grid; gap: 2.75rem 1.5rem; grid-template-columns: 1fr 1fr; }
.fs-foot > :first-child { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .fs-foot { grid-template-columns: 1.4fr 0.9fr 0.9fr 0.8fr; gap: 3rem; }
  .fs-foot > :first-child { grid-column: auto; }
}
.fs-foot-btn { margin-top: 1.75rem; }

/* ---------- Spaziature delle sezioni ---------- */
.fs-pb { padding-bottom: 4rem; }
@media (min-width: 640px) { .fs-pb { padding-bottom: 6rem; } }
@media (min-width: 1024px) { .fs-pb-lg { padding-bottom: 7rem; } }
.fs-pt-s { padding-top: 2rem; }
@media (min-width: 640px) { .fs-pt-s { padding-top: 3rem; } }
.fs-py-contact { padding: 3.5rem 0 4rem; }
@media (min-width: 640px) { .fs-py-contact { padding: 5rem 0 6rem; } }
.fs-box-sub { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgb(255 255 255 / 0.07); font-size: 1.1rem; font-weight: 600; }
.fs-list--dots { gap: 0.7rem; margin-top: 1rem; }
.fs-list--dots li { position: relative; padding-left: 1.4rem; font-size: 0.95rem; line-height: 1.5; color: #c9cbd6; }
.fs-list--dots li::before { content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 0.45rem; height: 0.45rem; border-radius: 999px; background: var(--grad); }
@media (max-width: 639px) {
  .fs-incl-item { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; padding: 1.25rem 1.2rem; }
  .fs-incl-item .fs-ico { grid-row: span 2; }
  .fs-incl-item h3 { margin-top: 0.4rem; }
}

/* ---------- Icona della promo: i raggi si accendono uno dopo l'altro, come un caricamento ---------- */
.fs-bf-spark { overflow: visible; }
.fs-bf-spark .fs-r, .fs-bf-spark .fs-g { animation-duration: 2.8s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.fs-bf-spark .fs-r { opacity: 0.22; }
.fs-bf-spark .fs-g { opacity: 0; }
.fs-bf-spark .fs-r1 { animation-name: fs-r1; }
.fs-bf-spark .fs-r2 { animation-name: fs-r2; }
.fs-bf-spark .fs-r3 { animation-name: fs-r3; }
.fs-bf-spark .fs-r4 { opacity: 1; animation-name: fs-r4; transform-box: fill-box; transform-origin: center; }
.fs-bf-spark .fs-g1 { animation-name: fs-g1; }
.fs-bf-spark .fs-g2 { animation-name: fs-g2; }
.fs-bf-spark .fs-g3 { animation-name: fs-g3; }
.fs-bf-spark .fs-g4 { animation-name: fs-g4; }
@keyframes fs-r1 { 0%, 6% { opacity: 0.22; } 14%, 84% { opacity: 1; } 96%, 100% { opacity: 0.22; } }
@keyframes fs-r2 { 0%, 22% { opacity: 0.22; } 30%, 84% { opacity: 1; } 96%, 100% { opacity: 0.22; } }
@keyframes fs-r3 { 0%, 38% { opacity: 0.22; } 46%, 84% { opacity: 1; } 96%, 100% { opacity: 0.22; } }
@keyframes fs-r4 { 0%, 54% { transform: scale(1); } 62% { transform: scale(1.12); } 72%, 100% { transform: scale(1); } }
@keyframes fs-g1 { 0%, 6% { opacity: 0; } 14% { opacity: 1; } 26%, 58% { opacity: 0.65; } 66% { opacity: 1; } 84% { opacity: 0.7; } 96%, 100% { opacity: 0; } }
@keyframes fs-g2 { 0%, 22% { opacity: 0; } 30% { opacity: 1; } 42%, 58% { opacity: 0.65; } 66% { opacity: 1; } 84% { opacity: 0.7; } 96%, 100% { opacity: 0; } }
@keyframes fs-g3 { 0%, 38% { opacity: 0; } 46% { opacity: 1; } 56%, 58% { opacity: 0.7; } 66% { opacity: 1; } 84% { opacity: 0.7; } 96%, 100% { opacity: 0; } }
@keyframes fs-g4 { 0%, 52% { opacity: 0; } 62% { opacity: 0.9; } 66% { opacity: 1; } 84% { opacity: 0.6; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .fs-bf-spark .fs-r, .fs-bf-spark .fs-g { animation: none; }
  .fs-bf-spark .fs-r { opacity: 1; }
  .fs-bf-spark .fs-g { opacity: 0.6; }
}
