/* Animation: Only hide content AFTER JavaScript is ready
   This ensures browser translation can see the content first */
[data-animate] {
  transition:
    opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Only apply hidden state after JS adds the class */
.animations-ready [data-animate]:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px) scale(0.96);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}


/* Scroll Progress Bar */
#scroll-progress {
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-hover) 100%);
  height: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stagger-children>* {
  transition-delay: calc(0.12s * var(--index, 0));
}

/* Desktop: animazione sottile fade-in + scale */
.btn-primary[data-animate].is-visible,
.btn-secondary[data-animate].is-visible,
.btn-ghost[data-animate].is-visible {
  animation: subtleFadeIn 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes subtleFadeIn {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-highlight[data-animate].is-visible {
  animation: subtleFadeIn 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Mobile: animazione bouncing più evidente */
@media (max-width: 768px) {

  .btn-primary[data-animate].is-visible,
  .btn-secondary[data-animate].is-visible,
  .btn-ghost[data-animate].is-visible {
    animation: bounceIn 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  }

  @keyframes bounceIn {
    0% {
      transform: scale(0.85);
      opacity: 0;
    }

    60% {
      transform: scale(1.08);
      opacity: 1;
    }

    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .hero-highlight[data-animate].is-visible {
    animation: pulseIn 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  }

  @keyframes pulseIn {
    0% {
      transform: scale(0.8);
      opacity: 0;
    }

    50% {
      transform: scale(1.1);
      opacity: 1;
    }

    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
}

.glass-effect:hover,
.hero-visual-frame:hover {
  /* Desktop: hover sottile e elegante */
  transform: translateY(-6px) scale(1.01);
}

/* Mobile: mantieni il tilt animato */
@media (max-width: 768px) {

  .glass-effect:hover,
  .hero-visual-frame:hover {
    animation: tiltAnim 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    transform: rotate(-2deg) scale(1.03);
  }

  @keyframes tiltAnim {
    0% {
      transform: rotate(0deg) scale(1);
    }

    60% {
      transform: rotate(-4deg) scale(1.07);
    }

    100% {
      transform: rotate(-2deg) scale(1.03);
    }
  }
}

/* --- Beautiful Modern Effects --- */
body {
  background: linear-gradient(120deg, #e6f2ff 0%, #f0f8ff 60%, #3FBFFF 100%);
  position: relative;
}

.section-padding {
  position: relative;
  overflow: hidden;
}

.section-padding::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(63, 191, 255, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.section-padding::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(28, 175, 255, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(63, 191, 255, 0.2);
  border-bottom: 2px solid rgba(63, 191, 255, 0.15);
  box-shadow:
    0 4px 24px -1px rgba(63, 191, 255, 0.1),
    0 0 1px 0 rgba(63, 191, 255, 0.2);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-radius: 1.2rem;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-effect:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 20px 40px -8px rgba(63, 191, 255, 0.25),
    0 12px 20px -8px rgba(0, 0, 0, 0.1);
  border-color: rgba(63, 191, 255, 0.5);
  transform: translateY(-4px) scale(1.01);
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  box-shadow: 0 2px 12px rgba(63, 191, 255, 0.18);
  border-radius: 0.7rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, background 0.3s, color 0.3s, transform 0.3s;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  box-shadow: 0 8px 32px #3FBFFF44;
  background: linear-gradient(90deg, #3FBFFF 60%, #1CAFFF 100%);
  color: #fff;
  transform: scale(1.06) translateY(-2px);
}

.hero-title {
  background: linear-gradient(90deg, #3FBFFF 20%, #1CAFFF 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hero-visual-frame {
  box-shadow: 0 12px 48px #3FBFFF33, 0 2px 8px #1CAFFF22;
  border: 2px solid #3FBFFF33;
  border-radius: 1.5rem;
  transition: box-shadow 0.4s, border-color 0.4s, transform 0.4s;
}

.hero-visual-frame:hover {
  box-shadow: 0 24px 64px #3FBFFF55, 0 4px 16px #1CAFFF33;
  border-color: #3FBFFF;
  transform: scale(1.04) rotate(-2deg);
}

.client-logo {
  box-shadow: 0 2px 12px #3FBFFF22;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid #3FBFFF22;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.client-logo:hover {
  box-shadow: 0 8px 32px #3FBFFF44;
  border-color: #3FBFFF;
  transform: scale(1.07);
}

@media (max-width: 600px) {
  .section-padding {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .max-w-7xl {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .grid,
  .grid-cols-1,
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-5 {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }

  .glass-effect {
    padding: 1.2rem !important;
    border-radius: 0.7rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .hero-title {
    font-size: 1.5rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  .btn-primary,
  .btn-secondary,
  .btn-ghost {
    padding: 0.8rem 1.2rem !important;
    font-size: 1rem !important;
  }

  .client-logo {
    height: 85px !important;
    padding: 0.5rem !important;
  }

  .hero-visual-frame {
    padding: 0.3rem !important;
    border-radius: 1rem !important;
  }

  .hero-visual-card {
    width: 100% !important;
    padding: 1rem !important;
    border-radius: 0.7rem !important;
  }

  .scroll-indicator {
    display: none !important;
  }
}

/* Animation: Only hide when JS is ready (duplicate block - same logic) */
.animations-ready [data-animate]:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger effect for children */
.stagger-children>* {
  transition-delay: calc(0.12s * var(--index, 0));
}

/* Scale-in for buttons and highlights */
.btn-primary[data-animate].is-visible,
.btn-secondary[data-animate].is-visible,
.btn-ghost[data-animate].is-visible,
.hero-highlight[data-animate].is-visible {
  animation: scaleIn 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes scaleIn {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }

  60% {
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Tilt/bounce for hero images */
.hero-visual-frame[data-animate].is-visible {
  animation: tiltBounce 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes tiltBounce {
  0% {
    transform: rotate(-4deg) scale(0.96);
    opacity: 0;
  }

  60% {
    transform: rotate(3deg) scale(1.04);
    opacity: 1;
  }

  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
}

/* Google Fonts loaded via tailwind-input.css */

:root {
  --c-bg-primary: #f0f8ff;
  /* Main background */
  --c-bg-secondary: #e6f2ff;
  /* Slightly darker background */
  --c-text-primary: #1f2937;
  /* Dark gray for primary text */
  --c-text-secondary: #4b5563;
  /* Medium gray for secondary text */
  --c-text-muted: #6b7280;
  /* Muted gray text */
  --c-accent: #3FBFFF;
  /* Brand accent */
  --c-accent-hover: #1CAFFF;
  /* Accent hover */
  --c-accent-light: rgba(63, 191, 255, 0.12);
  /* Light overlay */
  --c-border: #e6f2ff;
  /* Border color */
  --c-border-accent: rgba(63, 191, 255, 0.35);
  /* Accent border */
  --c-glow-1: rgba(63, 191, 255, 0.35);
  --c-glow-2: rgba(28, 175, 255, 0.25);
  --c-bg-drift: linear-gradient(125deg, rgba(63, 191, 255, 0.25), rgba(255, 255, 255, 0.2) 45%, rgba(63, 191, 255, 0.35));
  --transition-base: 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition-fast: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --blur-light: blur(12px);
  --blur-strong: blur(28px);
  --shadow-floating: 0 24px 45px rgba(15, 29, 42, 0.16);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--c-bg-primary);
  color: var(--c-text-primary);
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.85;
  will-change: transform, opacity, filter;
}

body::before {
  background: radial-gradient(circle at 12% 18%, rgba(63, 191, 255, 0.28), transparent 38%),
    radial-gradient(circle at 82% 6%, rgba(28, 175, 255, 0.28), transparent 35%),
    radial-gradient(circle at 50% 92%, rgba(63, 191, 255, 0.18), transparent 40%),
    #f4f9ff;
  transform: translate3d(0, 0, 0);
  animation: gradientDrift 16s ease-in-out infinite;
}

body::after {
  mask-image: radial-gradient(circle at top, rgba(0, 0, 0, 0.8), transparent 70%);
  background: var(--c-bg-drift);
  background-size: 220% 220%;
  filter: blur(30px);
  opacity: 0.28;
  z-index: -3;
  animation: shimmerGlow 22s ease-in-out infinite alternate;
}

@media (max-width: 1024px) {

  body::before,
  body::after {
    animation: none;
  }

  body::after {
    filter: blur(18px);
    opacity: 0.18;
  }
}

@keyframes gradientDrift {
  0% {
    transform: translate3d(-1%, -1%, 0) scale(1.02);
  }

  45% {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }

  100% {
    transform: translate3d(-1%, -0.5%, 0) scale(1.02);
  }
}

@keyframes shimmerGlow {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1.02);
    opacity: 0.34;
    background-position: 0% 50%;
  }

  50% {
    transform: translate3d(1.5%, 0.5%, 0) scale(1.06);
    opacity: 0.5;
    background-position: 50% 48%;
  }

  100% {
    transform: translate3d(-1%, 1%, 0) scale(1.02);
    opacity: 0.34;
    background-position: 100% 52%;
  }
}

@keyframes floatSoft {

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

  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes floatSoftReverse {

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

  50% {
    transform: translate3d(0, 12px, 0);
  }
}

@keyframes pulseSoft {

  0%,
  100% {
    box-shadow: 0 0 0 rgba(63, 191, 255, 0);
  }

  50% {
    box-shadow: 0 18px 45px rgba(63, 191, 255, 0.32);
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(8px) rotate(0deg);
  }

  50% {
    transform: rotate(180deg) translateX(8px) rotate(-180deg);
  }

  100% {
    transform: rotate(360deg) translateX(8px) rotate(-360deg);
  }
}

@keyframes buttonShine {
  0% {
    transform: translateX(-120%) skewX(-15deg);
    opacity: 0.0;
  }

  55% {
    opacity: 0.6;
  }

  100% {
    transform: translateX(160%) skewX(-15deg);
    opacity: 0.0;
  }
}

/* Typography */
.text-5xl {
  font-size: 3.5rem;
  line-height: 1.1;
}

.text-4xl {
  font-size: 2.5rem;
  line-height: 1.2;
}

.text-3xl {
  font-size: 2rem;
  line-height: 1.25;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 1.3;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.4;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.5;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-primary {
  color: var(--c-text-primary);
}

.text-secondary {
  color: var(--c-text-secondary);
}

.text-muted {
  color: var(--c-text-muted);
}

/* Buttons */
.btn-primary {
  background: var(--c-accent);
  color: #FFFFFF;
  padding: 14px 28px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--c-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--c-accent);
  padding: 14px 28px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--c-accent);
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--c-accent);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary::after,
.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 40%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.2) 60%,
      transparent 100%);
  transform: skewX(-20deg);
  animation: shine 6s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% {
    left: -150%;
  }

  20% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.98);
}

/* Glass Effect - Legacy Override if needed */
.glass-effect.legacy {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Hover Effects */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: translateY(-5px);
}

/* Service Icons */
.service-icon {
  font-size: 2.5rem;
  color: var(--c-accent);
}

/* Layout */
.max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

/* Smooth Transitions */
.content-section {
  position: relative;
  background: var(--c-bg-primary);
  z-index: 2;
  margin-top: -100px;
  padding-top: 100px;
  content-visibility: auto;
  contain-intrinsic-size: 640px;
}

/* Mobile Navigation Drawer */
.mobileMenu {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(31, 41, 55, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 90;
}

.mobileMenu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobileMenu .menu-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: min(320px, 85%);
  height: 100%;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  transform: translateX(110%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.mobileMenu.open .menu-container {
  transform: translateX(0);
}

.mobileMenu .close-btn {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.25rem;
  color: var(--c-text-primary);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.mobileMenu a {
  font-weight: 600;
  color: var(--c-text-secondary);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(173, 216, 230, 0.3);
  transition: color 0.2s ease;
}

.mobileMenu a:hover {
  color: var(--c-accent-hover);
}

.mobileMenu a:last-of-type {
  border-bottom: none;
}

/* Hero Section Updates */
.fullscreen-hero {
  position: relative;
  overflow: hidden;
  padding: 8.5rem 1.5rem 8rem;
  background: radial-gradient(circle at top right, rgba(63, 191, 255, 0.25), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f0f8ff 45%, #e6f2ff 100%);
}

.fullscreen-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(63, 191, 255, 0.28) 0%, rgba(63, 191, 255, 0) 70%);
  filter: blur(4px);
  z-index: 0;
}

.hero-shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-accent);
  background: rgba(63, 191, 255, 0.12);
  border: 1px solid rgba(63, 191, 255, 0.35);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.6rem, 4.5vw, 3.65rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  color: var(--c-text-primary);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--c-text-secondary);
  margin: 0;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-ghost:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(63, 191, 255, 0.28);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0.9rem 1.8rem;
  border: 1px solid rgba(63, 191, 255, 0.6);
  border-radius: 0.75rem;
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 600;
  background: rgba(63, 191, 255, 0.08);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  inset: -10%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.05));
  transform: translateX(-120%) skewX(-18deg);
  z-index: -1;
  mix-blend-mode: screen;
  animation: buttonShine 3.8s ease-in-out infinite;
}

.btn-ghost:hover {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}

.btn-ghost:hover::after {
  animation-duration: 2.2s;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--c-border-accent);
  color: var(--c-text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 12px 24px rgba(15, 29, 42, 0.12);
  animation: pulseSoft 7.5s ease-in-out infinite;
}

.hero-visual {
  flex: 0.85;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-self: stretch;
  position: relative;
}

.hero-visual-frame {
  position: relative;
  border-radius: 1.5rem;
  background: #ffffff;
  padding: 0.75rem;
  box-shadow: 0 25px 45px rgba(4, 27, 43, 0.18);
  overflow: hidden;
  border: 1px solid rgba(63, 191, 255, 0.25);
  animation: floatSoft 7.6s ease-in-out infinite;
}

.hero-visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(63, 191, 255, 0.1) 0%, rgba(63, 191, 255, 0) 60%);
}

.hero-visual-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  object-fit: cover;
}

.hero-visual-card {
  align-self: flex-end;
  width: min(280px, 100%);
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid var(--c-border-accent);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 18px 40px rgba(4, 27, 43, 0.12);
  animation: floatSoftReverse 9s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(63, 191, 255, 0.12), transparent 60%);
  opacity: 0.75;
  pointer-events: none;
}

.hero-visual-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--c-text-primary);
}

.hero-visual-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-visual-card li {
  font-size: 0.95rem;
  color: var(--c-text-secondary);
  position: relative;
  padding-left: 1rem;
}

.hero-visual-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--c-accent);
  border-radius: 999px;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(31, 41, 55, 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.scroll-indicator span {
  animation: pulseSoft 6s ease-in-out infinite;
}

.scroll-indicator svg {
  animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {

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

  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* Projects Carousel 3D */
#projects-carousel-3d {
  position: relative;
  max-width: min(960px, 95vw);
  margin: 0 auto;
  padding: 0 3.25rem;
  height: clamp(360px, 50vw, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  overflow: visible;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

#projects-carousel-3d:active {
  cursor: grabbing;
}

#projects-carousel-3d::after {
  content: '';
  position: absolute;
  inset: auto 12% -18% 12%;
  height: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 191, 255, 0.22) 0%, rgba(63, 191, 255, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.slide-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(55%, 440px);
  aspect-ratio: 3 / 4;
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  transition: transform 0.55s ease, opacity 0.45s ease, filter 0.45s ease;
  filter: blur(1.5px) saturate(0.75);
  z-index: 0;
  pointer-events: none;
  will-change: transform, opacity, filter;
  touch-action: pan-y;
}

.slide-3d img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 1.35rem;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(4, 27, 43, 0.2);
  background: var(--c-bg-primary);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.slide-3d.center,
.slide-3d.left,
.slide-3d.right {
  pointer-events: auto;
}

.slide-3d.center {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: none;
  z-index: 3;
}

.slide-3d.left {
  opacity: 0.75;
  transform: translate(calc(-50% - 190px), -50%) scale(0.85) rotateY(16deg);
  z-index: 2;
}

.slide-3d.right {
  opacity: 0.75;
  transform: translate(calc(-50% + 190px), -50%) scale(0.85) rotateY(-16deg);
  z-index: 2;
}

.carousel-3d-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
  pointer-events: none;
  z-index: 4;
}

.carousel-3d-nav .nav-button {
  pointer-events: auto;
  position: static;
  transform: none;
}

/* Client Logos */
.client-logo {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--c-border-accent);
  border-radius: 1.25rem;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.client-logo picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.client-logo img {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(1);
  mix-blend-mode: multiply;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

/* Ioom and Fincimec logos are naturally large — reduce on all screens */
#logo-ioom img,
#logo-fincimec img {
  max-width: 65%;
  max-height: 65%;
}

.client-logo::after {
  content: '';
  position: absolute;
  inset: -30% 10% auto 10%;
  height: 140%;
  background: radial-gradient(circle, rgba(63, 191, 255, 0.22), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.client-logo:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(4, 27, 43, 0.18);
  border-color: var(--c-accent);
}

.client-logo:hover::after {
  opacity: 1;
}

.client-logo:hover img {
  transform: scale(1.05);
  filter: saturate(1.25);
}

/* Responsive */
@media (max-width: 1024px) {
  .text-5xl {
    font-size: 3rem;
  }

  .text-4xl {
    font-size: 2.5rem;
  }

  .text-3xl {
    font-size: 2rem;
  }

  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 900px) {
  .hero-shell {
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
  }

  .hero-visual {
    flex-direction: row;
    align-items: flex-end;
    gap: 1.5rem;
  }

  .hero-visual-frame {
    flex: 1;
  }

  .hero-visual-card {
    align-self: flex-end;
    width: min(260px, 45%);
  }
}

@media (max-width: 768px) {
  .fullscreen-hero {
    padding: 7.5rem 1.25rem 5rem;
  }

  .hero-shell {
    gap: 2rem;
  }

  .content-section {
    margin-top: 0;
    padding-top: 3rem;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-visual {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual-card {
    width: 100%;
    align-self: stretch;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1 1 220px;
    justify-content: center;
  }

  .hero-highlights {
    gap: 0.6rem;
  }

  .hero-highlight {
    justify-content: center;
  }

  .carousel-modal {
    width: 96vw;
    height: 82vh;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 2rem;
  }

  .image-counter {
    top: 1rem;
    font-size: 0.875rem;
    padding: 0.6rem 1.2rem;
  }

  .carousel-dots {
    bottom: 2rem;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
  }

  .nav-button.left {
    left: 1rem;
  }

  .nav-button.right {
    right: 1rem;
  }

  .hero-visual-frame {
    padding: 0.6rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  /* Nascondi i pulsanti di navigazione del carousel su mobile */
  .carousel-3d-nav,
  .carousel-3d-nav .nav-button {
    display: none !important;
  }

  #projects-carousel-3d {
    height: clamp(320px, 65vw, 520px);
    padding: 0 2.5rem;
    cursor: grab;
  }

  #projects-carousel-3d:active {
    cursor: grabbing;
  }

  /* Indicatore swipe su mobile */
  #projects-carousel-3d::before {
    content: '← Swipe →';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: rgba(63, 191, 255, 0.6);
    font-weight: 600;
    letter-spacing: 0.1em;
    pointer-events: none;
    z-index: 10;
    animation: fadeInOut 3s ease-in-out infinite;
  }




  @keyframes fadeInOut {

    0%,
    100% {
      opacity: 0.3;
    }

    50% {
      opacity: 1;
    }
  }

  .slide-3d {
    width: min(70%, 340px);
  }

  .slide-3d.left {
    transform: translate(calc(-50% - 140px), -50%) scale(0.82) rotateY(14deg);
  }

  .slide-3d.right {
    transform: translate(calc(-50% + 140px), -50%) scale(0.82) rotateY(-14deg);
  }
}

@media (max-width: 480px) {
  .fullscreen-hero {
    padding: 6.5rem 1.25rem 5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-tag {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1 1 100%;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual-card {
    width: 100%;
  }

  .hero-visual-frame {
    padding: 0.45rem;
  }

  .scroll-indicator {
    bottom: 1.75rem;
  }



  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    font-size: 1.75rem;
  }

  .image-counter {
    top: 0.75rem;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .carousel-dots {
    bottom: 1.5rem;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
  }

  .dot {
    width: 6px;
    height: 6px;
  }

  .dot.active {
    transform: scale(1.5);
  }

  /* Nascondi anche i pulsanti del modale su mobile */
  .nav-button {
    display: none !important;
  }

  #projects-carousel-3d {
    height: clamp(320px, 95vw, 480px);
    padding: 0 1.5rem;
  }

  .slide-3d {
    width: 85%;
  }

  .slide-3d.left {
    transform: translate(calc(-50% - 90px), -50%) scale(0.8) rotateY(10deg);
  }

  .slide-3d.right {
    transform: translate(calc(-50% + 90px), -50%) scale(0.8) rotateY(-10deg);
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dot.active {
  background: #3FBFFF;
  border-color: #3FBFFF;
  transform: scale(1.4);
  box-shadow: 0 4px 16px rgba(63, 191, 255, 0.6);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip to main content link for accessibility */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  background: var(--c-accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 0.5rem 0;
  transition: top 0.3s ease;
}

.skip-to-main:focus {
  top: 0;
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* Form validation styles */
.form-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

input.error,
textarea.error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.form-success {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

nav {
  background-color: rgba(240, 248, 255, 0.94) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 1px 0 rgba(63, 191, 255, 0.08);
  transform: translate3d(0, 0, 0);
  will-change: transform, background-color, box-shadow;
  backface-visibility: hidden;
}

nav::after {
  content: '';
  position: absolute;
  inset: auto 12% -14px 12%;
  height: 28px;
  background: radial-gradient(circle, rgba(63, 191, 255, 0.28), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

nav.scrolled {
  background-color: rgba(240, 248, 255, 0.94) !important;
  box-shadow: 0 12px 40px rgba(15, 29, 42, 0.16);
}

nav.scrolled::after {
  opacity: 1;
}

.bg-white,
.bg-gray-100,
.bg-\[\#f8fafc\],
.bg-white\/50 {
  background-color: var(--c-bg-primary) !important;
}

footer {
  background-color: var(--c-bg-secondary) !important;
  border-color: rgba(0, 0, 0, 0.1);
}

.text-gray-900 {
  color: var(--c-text-primary);
}

.text-gray-600 {
  color: var(--c-text-secondary);
}

.text-gray-400 {
  color: var(--c-text-muted);
}

.hover\:text-\[\#3FBFFF\]:hover {
  color: var(--c-accent-hover);
}

.text-\[\#3FBFFF\] {
  color: var(--c-accent);
}

.border-\[\#3FBFFF\] {
  border-color: var(--c-accent);
}

.border-\[\#3FBFFF\]\/20 {
  border-color: var(--c-border-accent);
}

.border-\[\#3FBFFF\]\/30 {
  border-color: var(--c-border-accent);
}

.bg-\[\#f8fafc\] {
  background-color: var(--c-bg-secondary) !important;
}

.bg-gray-100 {
  background-color: var(--c-bg-secondary) !important;
}

.bg-white {
  background-color: var(--c-bg-primary) !important;
}

.border-gray-200 {
  border-color: var(--c-border);
}

.hover\:text-gray-900:hover {
  color: var(--c-text-primary);
}

.text-accent {
  color: var(--c-accent);
}

.bg-accent {
  background-color: var(--c-accent);
}

.border-accent {
  border-color: var(--c-accent);
}

.hover\:text-accent-hover:hover {
  color: var(--c-accent-hover);
}

.bg-secondary {
  background-color: var(--c-bg-secondary);
}

.border-accent-light {
  border-color: var(--c-border-accent);
}

/* Modal Styles - Design Moderno */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.modal-open {
  overflow: hidden;
}

.modal-content {
  position: relative;
  width: 92vw;
  height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  padding: 0;
}

.modal-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 300;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 110;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg) scale(1.1);
  color: #3FBFFF;
  border-color: #3FBFFF;
}

.image-counter {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  z-index: 110;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.05em;
}

.carousel-modal {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.carousel-modal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  background: transparent;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: none;
}

.carousel-modal img:hover {
  transform: scale(1.01);
}

.carousel-dots {
  position: fixed;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 110;
  background: rgba(15, 23, 42, 0.5);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-button {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
}

.nav-button.left {
  left: 2rem;
}

.nav-button.right {
  right: 2rem;
}

.nav-button:hover {
  background: rgba(63, 191, 255, 0.9);
  border-color: rgba(63, 191, 255, 1);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 40px rgba(63, 191, 255, 0.4);
  opacity: 1;
}

.nav-button:active {
  transform: translateY(-50%) scale(1.05);
}

.nav-button:hover {
  background: var(--c-accent);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 15px 30px rgba(4, 27, 43, 0.22);
}

/* Scroll reveal utility */
/* Lightweight fade-in animation on load, no JS observer */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1), transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

[data-animate="fade-up"] {
  transform: translate3d(0, 32px, 0);
}

[data-animate="fade-down"] {
  transform: translate3d(0, -32px, 0);
}

[data-animate="fade-left"] {
  transform: translate3d(-48px, 0, 0);
}

[data-animate="fade-right"] {
  transform: translate3d(48px, 0, 0);
}

[data-animate="scale-in"] {
  transform: scale(0.92);
}

[data-animate="rotate-in"] {
  transform: rotate(-3deg) scale(0.96);
  transform-origin: center;
}

[data-animate="scale-in"].is-visible {
  transform: scale(1);
}

[data-animate="rotate-in"].is-visible {
  transform: rotate(0deg) scale(1);
}

.stagger-children>* {
  transition-delay: calc(var(--stagger, 0.12s) * var(--index));
}

[data-parallax] {
  will-change: transform;
  transition: transform 0.8s ease;
}

.animated-divider {
  position: relative;
  height: 2px;
  width: 120px;
  margin: 1.5rem auto;
  background: linear-gradient(90deg, transparent, rgba(63, 191, 255, 0.8), transparent);
  overflow: hidden;
}

.animated-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  animation: shimmer 2.8s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.glow-orbit {
  position: absolute;
  inset: auto 8% -32px 8%;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 191, 255, 0.22), transparent 65%);
  pointer-events: none;
  filter: blur(28px);
}

.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.sparkles::before,
.sparkles::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(63, 191, 255, 0.55);
  top: 18%;
  left: 22%;
  animation: orbit 6s linear infinite;
  box-shadow:
    0 0 12px rgba(63, 191, 255, 0.8),
    18px 32px 0 -4px rgba(63, 191, 255, 0.25),
    -22px 28px 0 -6px rgba(63, 191, 255, 0.12);
}

.sparkles::after {
  top: 68%;
  left: 68%;
  animation-duration: 8s;
  animation-direction: reverse;
}

.hover-tilt {
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.45s ease;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg)) translateZ(0);
  will-change: transform, box-shadow;
}

.hover-tilt.is-hovered {
  box-shadow: 0 28px 50px rgba(4, 27, 43, 0.18);
}

.hover-tilt[data-tilt-reset="true"] {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {

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

  body::before,
  body::after {
    animation: none;
    opacity: 0.12;
  }

  [data-animate],
  [data-animate].is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}