/* ═══════════════════════════════════════════════════════════════
   SAPPHIRE DIGITAL — "Viaggio nella galassia dello zaffiro"
   Design system: deep-space ink + sapphire + ice + comet gold
   Type: Clash Display (display) · Satoshi (body)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink: #04060f;
  --ink-2: #080c1c;
  --sapphire: #2e5cff;
  --sapphire-soft: #3a7bff;
  --ice: #9fd8ff;
  --gold: #ffc861;
  --text: #e9efff;
  --text-dim: rgba(233, 239, 255, 0.62);
  --text-faint: rgba(233, 239, 255, 0.38);
  --line: rgba(159, 216, 255, 0.14);
  --card: rgba(11, 16, 36, 0.82);
  --card-hover: rgba(17, 26, 56, 0.9);
  --radius: 22px;
  --font-display: "Clash Display", "Segoe UI", sans-serif;
  --font-body: "Satoshi", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html.lenis {
  scroll-behavior: auto;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: var(--sapphire);
  color: #fff;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

em {
  font-style: normal;
}

/* ── scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--sapphire), #142a66);
  border-radius: 99px;
  border: 2px solid var(--ink);
}

/* ═══ GALAXY CANVAS & GRAIN ═══════════════════════════════ */
#galaxy {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

main,
.nav-wrap,
.footer {
  position: relative;
  z-index: 2;
}

/* ═══ LOADER ═══════════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
}

.loader-core {
  text-align: center;
}

.loader-gem {
  color: var(--sapphire-soft);
  margin: 0 auto 22px;
  animation: gem-spin 2.4s var(--ease-out) infinite;
  filter: drop-shadow(0 0 18px rgba(46, 92, 255, 0.6));
}

@keyframes gem-spin {
  0% {
    transform: rotateY(0deg);
  }

  60%,
  100% {
    transform: rotateY(360deg);
  }
}

.loader-label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.loader-dots i {
  animation: dot-blink 1.2s infinite;
  font-style: normal;
}

.loader-dots i:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dots i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot-blink {

  0%,
  60%,
  100% {
    opacity: 0.2;
  }

  30% {
    opacity: 1;
  }
}

.loader-bar {
  width: 220px;
  height: 2px;
  margin: 20px auto 10px;
  background: rgba(159, 216, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sapphire), var(--ice));
  box-shadow: 0 0 12px var(--sapphire);
  transition: width 0.25s var(--ease-out);
}

.loader-pct {
  font-size: 12px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

/* ═══ CURSOR ═══════════════════════════════════════════════ */
.cursor {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--ice);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), opacity 0.3s, background 0.25s;
  opacity: 0;
}

.cursor.on {
  opacity: 0.85;
}

.cursor.hot {
  width: 52px;
  height: 52px;
  background: rgba(46, 92, 255, 0.18);
  border-color: var(--sapphire-soft);
}

@media (hover: none) {
  .cursor {
    display: none;
  }
}

/* ═══ NAVBAR ═══════════════════════════════════════════════ */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 18px 20px 0;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  width: min(1120px, 100%);
  padding: 13px 22px;
  border-radius: 99px;
  border: 1px solid transparent;
  transition: background 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s, padding 0.45s var(--ease-out), width 0.6s var(--ease-out);
}

.nav.scrolled {
  width: min(1000px, 100%);
  background: rgba(8, 12, 28, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 44px rgba(2, 4, 12, 0.55), inset 0 1px 0 rgba(159, 216, 255, 0.08);
  padding: 9px 18px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--text);
}

.nav-brand svg {
  color: var(--sapphire-soft);
  filter: drop-shadow(0 0 8px rgba(46, 92, 255, 0.55));
}

.nav-brand em {
  color: var(--ice);
  font-weight: 400;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-links>a {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 99px;
  transition: color 0.3s, background 0.3s;
}

.nav-links>a:hover {
  color: var(--text);
  background: rgba(159, 216, 255, 0.07);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--sapphire), #1d3fd1) !important;
  box-shadow: 0 0 0 1px rgba(159, 216, 255, 0.25) inset, 0 6px 22px rgba(46, 92, 255, 0.35);
  margin-left: 6px;
}

.nav-cta i {
  font-style: normal;
  transition: transform 0.3s var(--ease-spring);
}

.nav-cta:hover i {
  transform: translateX(4px);
}

.nav-cta.active {
  box-shadow: 0 0 0 1.5px var(--ice) inset, 0 6px 22px rgba(46, 92, 255, 0.45);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: border-color 0.3s, background 0.3s;
}

.lang-switch:hover {
  border-color: rgba(159, 216, 255, 0.4);
  background: rgba(159, 216, 255, 0.06);
}

.lang-switch .lang-divider {
  width: 1px;
  height: 12px;
  background: var(--line);
}

.lang-switch span {
  color: var(--text-faint);
  transition: color 0.3s, text-shadow 0.3s;
}

html[lang="it"] .lang-switch .lang-it,
html[lang="en"] .lang-switch .lang-en {
  color: var(--ice);
  text-shadow: 0 0 12px rgba(159, 216, 255, 0.8);
}

.nav-toggle {
  display: none;
}

/* ═══ BUTTONS ══════════════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, background 0.35s, border-color 0.35s;
  overflow: hidden;
  will-change: transform;
}

.btn i {
  font-style: normal;
  transition: transform 0.3s var(--ease-spring);
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--sapphire) 0%, #1d3fd1 100%);
  box-shadow: 0 0 0 1px rgba(159, 216, 255, 0.3) inset, 0 10px 36px rgba(46, 92, 255, 0.4);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(159, 216, 255, 0.45) inset, 0 18px 48px rgba(46, 92, 255, 0.55);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(13, 19, 41, 0.35);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 216, 255, 0.45);
  background: rgba(20, 30, 64, 0.5);
}

/* ═══ REVEAL ANIMATIONS ════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotate(2deg);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
}

.in .reveal-word,
.reveal-word.in {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.grad {
  background: linear-gradient(100deg, var(--sapphire-soft) 0%, var(--ice) 55%, var(--gold) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blink-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: blink 1.6s infinite;
  flex: none;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

/* ═══ HERO ═════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(8, 12, 28, 0.45);
  margin-bottom: 34px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(46px, 9.2vw, 110px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-sub {
  max-width: 600px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
  margin-bottom: 42px;
  transition-delay: 0.25s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  transition-delay: 0.4s;
}

.hero-meta {
  display: flex;
  gap: clamp(28px, 6vw, 72px);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 72px;
  transition-delay: 0.55s;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.hero-meta strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ice);
}

.hero-meta strong i {
  font-style: normal;
  color: var(--text-faint);
  margin: 0 2px;
}

.hero-meta span {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* ═══ TRANSMISSIONS (dialoghi di navigazione) ═══════════════ */
.transmission {
  display: flex;
  justify-content: center;
  padding: clamp(60px, 10vh, 130px) 24px;
}

.tx {
  width: min(640px, 100%);
  padding: 26px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13, 19, 41, 0.65), rgba(8, 12, 28, 0.4));
  box-shadow: 0 24px 60px rgba(2, 4, 12, 0.45), inset 0 1px 0 rgba(159, 216, 255, 0.08);
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.tx.in {
  opacity: 1;
  transform: none;
}

.tx::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice), transparent);
  opacity: 0.5;
}

.tx-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.tx-line {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.tx-line+.tx-line {
  margin-top: 12px;
  color: var(--ice);
}

.tx.in .tx-line {
  opacity: 1;
  transform: none;
}

.tx.in .tx-line:nth-of-type(2) {
  transition-delay: 0.5s;
}

.tx.in .tx-line:nth-of-type(3) {
  transition-delay: 1s;
}

/* ═══ SECTIONS ═════════════════════════════════════════════ */
.section {
  padding: clamp(70px, 12vh, 150px) 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(48px, 7vw, 80px);
}

.section-kicker {
  font-size: 12.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.6vw, 60px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.section-sub {
  margin-top: 22px;
  color: var(--text-dim);
  font-size: clamp(15.5px, 1.7vw, 18px);
}

/* ═══ CREW (chi siamo) ═════════════════════════════════════ */
.crew {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.crew-card {
  position: relative;
  padding: 44px 36px 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.crew-card:hover {
  border-color: rgba(159, 216, 255, 0.32);
  background: var(--card-hover);
  box-shadow: 0 30px 80px rgba(2, 4, 12, 0.5);
}

.crew-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 92, 255, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.crew-card:hover .crew-shine {
  opacity: 1;
}

.crew-orbit {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border: 1px dashed rgba(159, 216, 255, 0.2);
  border-radius: 50%;
  animation: orbit-rot 14s linear infinite;
}

.crew-orbit.alt {
  animation-duration: 19s;
  animation-direction: reverse;
}

.crew-orbit span {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

@keyframes orbit-rot {
  to {
    transform: rotate(360deg);
  }
}

.crew-avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--sapphire), #14257a);
  box-shadow: 0 0 0 1px rgba(159, 216, 255, 0.3) inset, 0 14px 34px rgba(46, 92, 255, 0.4);
  margin-bottom: 24px;
  transform: rotate(-4deg);
  transition: transform 0.4s var(--ease-spring);
}

.crew-avatar.alt {
  background: linear-gradient(135deg, #1d77c4, #0e3a66);
}

.crew-card:hover .crew-avatar {
  transform: rotate(2deg) scale(1.06);
}

.crew-card h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 6px;
}

.crew-role {
  color: var(--ice);
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.crew-bio {
  color: var(--text-dim);
  font-size: 15.5px;
  margin-bottom: 22px;
}

.crew-mail {
  font-size: 14px;
  color: var(--gold);
  border-bottom: 1px dashed rgba(255, 200, 97, 0.4);
  transition: border-color 0.3s;
}

.crew-mail:hover {
  border-color: var(--gold);
}

.crew-mail.muted {
  color: var(--text-faint);
  border: 0;
}

.crew-actions {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* ═══ SERVICES ═════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.svc-card {
  position: relative;
  padding: 38px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, background 0.45s, box-shadow 0.45s;
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(159, 216, 255, 0.5), transparent 35%, transparent 70%, rgba(255, 200, 97, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}

.svc-card:hover {
  background: var(--card-hover);
  box-shadow: 0 34px 80px rgba(2, 4, 12, 0.55);
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

.svc-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--ice);
  background: rgba(46, 92, 255, 0.14);
  border: 1px solid rgba(159, 216, 255, 0.2);
  margin-bottom: 24px;
  transition: transform 0.4s var(--ease-spring), background 0.4s, color 0.4s;
}

.svc-icon svg {
  width: 25px;
  height: 25px;
}

.svc-card:hover .svc-icon {
  transform: translateY(-4px) rotate(-5deg);
  background: rgba(46, 92, 255, 0.28);
  color: #fff;
}

.svc-card h3 {
  font-family: var(--font-display);
  font-size: 21.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.svc-card p {
  color: var(--text-dim);
  font-size: 15.5px;
  margin-bottom: 22px;
}

.svc-tagline {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 13px;
  border: 1px solid rgba(255, 200, 97, 0.25);
  border-radius: 99px;
  background: rgba(255, 200, 97, 0.06);
}

.svc-card-cta {
  background: linear-gradient(150deg, rgba(46, 92, 255, 0.22), rgba(13, 19, 41, 0.6));
  border-color: rgba(46, 92, 255, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.svc-card-cta h3 {
  font-size: 25px;
}

.svc-card-cta .btn {
  margin-top: 4px;
}

/* ═══ LAVORI / PORTFOLIO ═══════════════════════════════════ */
.work-grid {
  display: flex;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 10px;
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.work-grid::-webkit-scrollbar {
  display: none;
}

.work-grid.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.work-grid.dragging .work-card {
  pointer-events: none;
}

.work-card {
  flex: 0 0 min(460px, 85vw);
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(159, 216, 255, 0.4);
  box-shadow: 0 34px 80px rgba(2, 4, 12, 0.6);
}

.work-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(8, 12, 28, 0.6);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.work-img img,
.work-img iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: top center;
  transition: object-position var(--scroll-dur, 4s) ease-in-out, transform 0.6s var(--ease-out);
}

.work-card:hover .work-img img.scroll-hover {
  object-position: bottom center;
  transform: none;
}

.work-img iframe {
  width: calc(100% + 24px);
  scrollbar-width: none;
  pointer-events: auto;
}

.work-img iframe::-webkit-scrollbar {
  display: none;
}

.work-card:hover .work-img img {
  transform: scale(1.05);
}

.work-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-tag {
  display: inline-block;
  width: fit-content;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 10px;
  border: 1px solid rgba(255, 200, 97, 0.25);
  border-radius: 99px;
  background: rgba(255, 200, 97, 0.06);
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s;
}

.work-card h3 a {
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 10;
}

.work-card h3 a:hover {
  color: var(--ice);
}

.work-card:hover h3 {
  color: var(--ice);
}

.work-card p {
  color: var(--text-dim);
  font-size: 15.5px;
}

.work-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 92, 255, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.work-card:hover .work-shine {
  opacity: 1;
}

/* ═══ ROUTE / PROCESS CAROUSEL ═════════════════════════════ */
.route-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.route-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 26px;
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.route-track::-webkit-scrollbar {
  display: none;
}

.route-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.route-track.dragging .route-card {
  pointer-events: none;
}

.route-card {
  flex: 0 0 min(360px, 82vw);
  scroll-snap-align: start;
  position: relative;
  padding: 40px 32px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color 0.4s, transform 0.4s var(--ease-out), background 0.4s;
}

.route-card:hover {
  border-color: rgba(159, 216, 255, 0.32);
  transform: translateY(-6px);
  background: var(--card-hover);
}

.route-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.route-card:last-child::after {
  display: none;
}

.route-step {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding: 6px 13px;
  border: 1px solid rgba(255, 200, 97, 0.3);
  border-radius: 99px;
  margin-bottom: 22px;
}

.route-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.route-card p {
  color: var(--text-dim);
  font-size: 15.5px;
  margin-bottom: 20px;
}

.route-time {
  font-size: 13px;
  color: var(--ice);
  letter-spacing: 0.06em;
}

.route-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.route-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(13, 19, 41, 0.5);
  font-size: 17px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-spring);
}

.route-btn:hover {
  border-color: rgba(159, 216, 255, 0.45);
  background: rgba(46, 92, 255, 0.2);
  transform: scale(1.08);
}

.route-progress {
  flex: 1;
  height: 2px;
  background: rgba(159, 216, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.route-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sapphire), var(--ice));
  box-shadow: 0 0 10px var(--sapphire);
  transition: width 0.3s var(--ease-out);
}

/* ═══ WHY ══════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(13, 19, 41, 0.4);
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease-out);
}

.why-item:hover {
  border-color: rgba(255, 200, 97, 0.3);
  background: rgba(20, 30, 64, 0.55);
  transform: translateX(6px);
}

.why-x {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 14px;
  color: var(--gold);
  background: rgba(255, 200, 97, 0.1);
  border: 1px solid rgba(255, 200, 97, 0.25);
}

.why-item p {
  color: var(--text-dim);
  font-size: 15.5px;
}

.why-item b {
  color: var(--text);
  font-weight: 700;
}

/* ═══ FINAL CTA ════════════════════════════════════════════ */
.final-cta {
  padding: clamp(80px, 14vh, 170px) 24px;
}

.final-cta-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(60px, 8vw, 96px) clamp(28px, 6vw, 80px);
  border-radius: 34px;
  border: 1px solid rgba(159, 216, 255, 0.18);
  background: linear-gradient(165deg, rgba(46, 92, 255, 0.16), rgba(8, 12, 28, 0.6) 55%);
  box-shadow: 0 40px 110px rgba(2, 4, 12, 0.6), inset 0 1px 0 rgba(159, 216, 255, 0.12);
  overflow: hidden;
}

.planet {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #4d86ff, #16245e 58%, #080c1c 100%);
  box-shadow: inset -18px -14px 50px rgba(0, 0, 0, 0.6), 0 0 80px rgba(46, 92, 255, 0.35);
  animation: planet-float 9s ease-in-out infinite;
}

.planet-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 38%;
  border: 1.5px solid rgba(159, 216, 255, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

@keyframes planet-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(16px);
  }
}

.final-cta .hero-actions {
  margin-top: 36px;
}

.cta-mail {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

/* ═══ FOOTER ═══════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(rgba(8, 12, 28, 0.75), rgba(4, 6, 15, 0.95));
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice), transparent);
  opacity: 0.4;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 80px) 24px 44px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr;
  gap: 44px;
}

.footer-brand p {
  margin-top: 18px;
  color: var(--text-faint);
  font-size: 14.5px;
  max-width: 280px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 8px;
}

.footer-col a,
.footer-col span {
  font-size: 14.5px;
  color: var(--text-dim);
  width: fit-content;
}

.footer-col a {
  position: relative;
  transition: color 0.3s;
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-col a:hover::after {
  width: 100%;
}

.footer-base {
  border-top: 1px solid rgba(159, 216, 255, 0.08);
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-base p {
  font-size: 13.5px;
  color: var(--text-faint);
}

/* ═══ QUOTE PAGE ═══════════════════════════════════════════ */
.quote-main {
  padding: 150px 24px 100px;
  max-width: 1180px;
  margin: 0 auto;
}

.quote-head {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr);
  gap: 32px;
  align-items: start;
}

.q-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 30px 30px 28px;
  margin-bottom: 22px;
}

.q-block legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.q-step {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
  border: 1px solid rgba(255, 200, 97, 0.3);
  padding: 4px 10px;
  border-radius: 99px;
}

.q-radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.q-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.q-radio-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 22px 20px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 28, 0.5);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.q-radio-card:hover {
  border-color: rgba(159, 216, 255, 0.35);
  transform: translateY(-3px);
}

.q-radio input:checked+.q-radio-card {
  border-color: var(--sapphire-soft);
  background: rgba(46, 92, 255, 0.16);
  box-shadow: 0 0 0 1px var(--sapphire-soft) inset, 0 14px 40px rgba(46, 92, 255, 0.25);
}

.q-radio input:focus-visible+.q-radio-card {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

.q-radio-card strong {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
}

.q-radio-card small {
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
}

.q-radio-card em {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.q-slider-row {
  margin-top: 22px;
}

.q-slider-row label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 14px;
}

.q-slider-row output {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ice);
  font-variant-numeric: tabular-nums;
}

.q-hint {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 10px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sapphire) var(--fill, 0%), rgba(159, 216, 255, 0.14) var(--fill, 0%));
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--ice) 40%, var(--sapphire));
  box-shadow: 0 0 16px rgba(46, 92, 255, 0.8), 0 0 0 4px rgba(46, 92, 255, 0.2);
  transition: transform 0.2s var(--ease-spring);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--ice) 40%, var(--sapphire));
  box-shadow: 0 0 16px rgba(46, 92, 255, 0.8);
}

.q-toggles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.q-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border-radius: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.q-toggle:hover {
  background: rgba(159, 216, 255, 0.05);
  border-color: var(--line);
}

.q-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.q-switch {
  flex: none;
  width: 44px;
  height: 25px;
  border-radius: 99px;
  background: rgba(159, 216, 255, 0.14);
  border: 1px solid var(--line);
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}

.q-switch::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: transform 0.3s var(--ease-spring), background 0.3s, box-shadow 0.3s;
}

.q-toggle input:checked~.q-switch {
  background: var(--sapphire);
  border-color: var(--sapphire-soft);
}

.q-toggle input:checked~.q-switch::after {
  transform: translateX(19px);
  background: #fff;
  box-shadow: 0 0 12px rgba(159, 216, 255, 0.9);
}

.q-toggle input:focus-visible~.q-switch {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

.q-toggle-txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.q-toggle-txt strong {
  font-size: 15px;
  font-weight: 700;
}

.q-toggle-txt small {
  color: var(--text-faint);
  font-size: 13px;
}

.q-toggle>em {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gold);
  white-space: nowrap;
}

.q-input {
  width: 100%;
  margin-top: 16px;
  padding: 15px 18px;
  font: inherit;
  color: var(--text);
  background: rgba(8, 12, 28, 0.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.q-input:focus {
  border-color: var(--sapphire-soft);
  box-shadow: 0 0 0 4px rgba(46, 92, 255, 0.18);
}

.q-input::placeholder {
  color: var(--text-faint);
}

/* ── quote panel ─────────────────────────────────────────── */
.quote-panel {
  position: sticky;
  top: 100px;
}

.qp-inner {
  padding: 34px 32px 30px;
  border-radius: 26px;
  border: 1px solid rgba(46, 92, 255, 0.4);
  background: linear-gradient(170deg, rgba(46, 92, 255, 0.18), rgba(8, 12, 28, 0.78) 55%);
  box-shadow: 0 36px 90px rgba(2, 4, 12, 0.6), inset 0 1px 0 rgba(159, 216, 255, 0.14);
}

.qp-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.qp-total {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 68px);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 34px rgba(46, 92, 255, 0.6);
}

.qp-cur {
  font-size: 0.55em;
  color: var(--ice);
  margin-left: 6px;
}

.qp-monthly {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-dim);
}

.qp-monthly strong {
  color: var(--gold);
}

.qp-gauge {
  margin: 26px 0 8px;
}

.qp-gauge-track {
  position: relative;
  height: 10px;
  border-radius: 99px;
  background: rgba(159, 216, 255, 0.1);
  border: 1px solid rgba(159, 216, 255, 0.12);
  overflow: visible;
}

.qp-gauge-fill {
  display: block;
  position: absolute;
  inset: 1px auto 1px 1px;
  width: 20%;
  border-radius: 99px;
  background: linear-gradient(90deg, #1d3fd1, var(--sapphire-soft) 60%, var(--ice));
  box-shadow: 0 0 18px rgba(46, 92, 255, 0.7);
  transition: width 0.7s var(--ease-out);
}

.qp-gauge-comet {
  position: absolute;
  top: 50%;
  left: 20%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--ice) 45%, transparent 75%);
  box-shadow: 0 0 20px var(--ice), 0 0 44px rgba(159, 216, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: left 0.7s var(--ease-out);
  pointer-events: none;
}

.qp-gauge-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

.qp-lines {
  list-style: none;
  margin: 22px 0 0;
  border-top: 1px solid rgba(159, 216, 255, 0.1);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 240px;
  overflow-y: auto;
}

.qp-lines li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-dim);
  animation: line-in 0.4s var(--ease-out);
}

@keyframes line-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
}

.qp-lines li b {
  color: var(--ice);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.qp-note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-faint);
  line-height: 1.6;
}

.qp-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.qp-actions .btn {
  justify-content: center;
}

.qp-inner.pulse {
  animation: panel-pulse 0.5s var(--ease-out);
}

@keyframes panel-pulse {
  0% {
    box-shadow: 0 36px 90px rgba(2, 4, 12, 0.6), 0 0 0 0 rgba(46, 92, 255, 0.55);
  }

  100% {
    box-shadow: 0 36px 90px rgba(2, 4, 12, 0.6), 0 0 0 26px rgba(46, 92, 255, 0);
  }
}

/* print-doc nascosto a schermo */
.print-doc {
  display: none;
}

/* ═══ LEGAL PAGE ═══════════════════════════════════════════ */
.legal-main {
  padding: 150px 24px 100px;
  max-width: 820px;
  margin: 0 auto;
}

.legal-body {
  margin-top: 30px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ice);
  margin: 34px 0 12px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  color: var(--text-dim);
  font-size: 15.5px;
}

.legal-body a {
  color: var(--gold);
  border-bottom: 1px dashed rgba(255, 200, 97, 0.4);
}

/* ═══ RESPONSIVE ═══════════════════════════════════════════ */
@media (max-width: 1020px) {
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-panel {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .nav {
    padding: 11px 18px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    align-items: center;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.35s var(--ease-out), opacity 0.3s;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: rgba(6, 9, 22, 0.94);
    backdrop-filter: blur(22px);
    box-shadow: 0 30px 80px rgba(2, 4, 12, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links>a {
    padding: 13px 16px;
    font-size: 16px;
  }

  .nav-cta {
    justify-content: center;
    margin: 8px 0 0;
  }

  .lang-switch {
    margin: 12px auto 0;
  }

  .hero-meta {
    gap: 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .tx {
    padding: 22px 22px;
  }

  .q-block {
    padding: 24px 20px;
  }

  .q-toggle>em {
    font-size: 13px;
  }
}

/* ═══ ACCESSIBILITY ════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-word,
  .tx {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 4px;
}