/* ========================================
   Studio Indaco — Demo 2 — Custom CSS
   Focus: Header + Hero d'impatto
   ======================================== */

/* --- Self-hosted fonts --- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/outfit-v15-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/outfit-v15-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/outfit-v15-latin-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/outfit-v15-latin-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin_latin-ext-600.woff2') format('woff2');
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
}

/* --- Scrollbar hide utility --- */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* --- Skip Navigation --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: #A1E337;
  color: #07324B;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* --- Focus visible --- */
*:focus-visible {
  outline: 3px solid #A1E337;
  outline-offset: 2px;
}

/* --- Placeholder [DA COMPILARE] --- */
.placeholder-content {
  background: #FEF08A;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-style: italic;
  color: #92400E;
}

/* =============================================
   HEADER
   ============================================= */

.header-main {
  transition: box-shadow 0.6s ease;
}

/* Top bar: collapses on scroll — desktop only (mobile keeps logo + hamburger) */
.header-top-bar {
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.4s ease;
}
@media (min-width: 1024px) {
  .header-top-bar {
    max-height: 80px;
  }
  .header-scrolled .header-top-bar {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
  }
}

/* Separator: fades out on scroll */
.header-separator {
  transition: opacity 0.3s ease, height 0.3s ease;
}
.header-scrolled .header-separator {
  opacity: 0;
  height: 0;
}

/* Logo: shrinks on scroll */
.header-logo {
  transition: height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.header-scrolled .header-logo {
  height: 42px;
}

/* Bottom bar inner: tighter padding on scroll */
.header-bottom-bar > div {
  transition: padding 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.header-scrolled .header-bottom-bar > div {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Gradient bg lives in a pseudo-element so we can fade it smoothly via opacity */
.header-main::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(46,95,70,0.92) 0%, rgba(42,90,130,0.94) 50%, rgba(7,50,75,0.96) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
/* Ensure header content sits above the pseudo-element bg */
.header-main > * {
  position: relative;
  z-index: 1;
}
.header-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.18);
}
.header-scrolled::after {
  opacity: 1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Landing highlight pill in sub-menu */
.landing-link {
  position: relative;
  padding: 10px 32px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
}
.landing-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Header separator line with gradient — transition handled above */
.header-separator {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.2) 80%, transparent 100%);
}

/* --- Mobile menu --- */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}

/* Mobile landing cards — prominent pill-cards at top of mobile menu */
.mobile-landing-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(161, 227, 55, 0.2);
  background: rgba(161, 227, 55, 0.06);
  text-decoration: none;
  transition: all 0.3s ease;
}
.mobile-landing-card:active {
  background: rgba(161, 227, 55, 0.15);
  border-color: rgba(161, 227, 55, 0.4);
}
.mobile-landing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #A1E337;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(161, 227, 55, 0.5);
}
.mobile-landing-label {
  flex: 1;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
}
.mobile-landing-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease, transform 0.3s ease;
}
.mobile-landing-card:active .mobile-landing-arrow {
  color: #A1E337;
  transform: translate(2px, -2px);
}

/* =============================================
   HERO
   ============================================= */

/* Hero base — gradient verde → azzurro */
.hero-bg {
  background: linear-gradient(135deg, #A1E337 0%, #6DC84E 25%, #3CB8A0 50%, #39729B 80%, #2E5F8A 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Subtle luminosity wash overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 40%, transparent 70%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Hero landing — gradient for inner pages */
.hero-landing {
  background: linear-gradient(135deg, #2E8B57 0%, #39729B 40%, #07324B 100%);
  position: relative;
  overflow: hidden;
}

/* Inner page hero: verde CTA button instead of white */
.hero-landing .btn-hero.primary {
  background: #A1E337;
  color: #07324B;
}
.hero-landing .btn-hero.primary:hover {
  background: #b5f04a;
  box-shadow: 0 8px 40px rgba(161,227,55,0.35);
}

/* Wireframe-style grid — suggests a website blueprint */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 10%, transparent 65%);
}
/* Denser wireframe zones — suggest layout regions */
.hero-grid-bg::before {
  content: '';
  position: absolute;
  top: 8%; right: 4%; width: 320px; height: 420px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0;
  animation: decoFadeIn 1.5s 1.8s ease forwards;
}
.hero-grid-bg::after {
  content: '';
  position: absolute;
  bottom: 6%; left: 3%; width: 280px; height: 360px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background:
    linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0;
  animation: decoFadeIn 1.5s 2.2s ease forwards;
}

/* Noise texture overlay */
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

/* Floating blurred orbs — luminous white on gradient */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
  z-index: 2;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(30px, -40px) scale(1.05); }
  50%      { transform: translate(-20px, 20px) scale(0.95); }
  75%      { transform: translate(15px, -10px) scale(1.02); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-25px, 30px) scale(1.08); }
  66%      { transform: translate(35px, -15px) scale(0.96); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  40%      { transform: translate(20px, 25px); }
  70%      { transform: translate(-30px, -10px); }
}

.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  top: 5%; left: 5%;
  animation: orbFloat1 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  top: 50%; right: 0%;
  animation: orbFloat2 18s 2s ease-in-out infinite;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  bottom: 5%; left: 35%;
  animation: orbFloat3 20s 4s ease-in-out infinite;
}
.hero-orb-4 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  top: 30%; right: 25%;
  animation: orbFloat1 12s 6s ease-in-out infinite;
}

/* ---- Claim "Si analizza, Si crea, Si vince" ---- */

/* Badge above claim */
.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s ease forwards;
}
.hero-badge-line {
  width: 50px;
  height: 1px;
  flex-shrink: 0;
}
.hero-badge-line:first-child {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
}
.hero-badge-line:last-child {
  background: linear-gradient(90deg, rgba(255,255,255,0.4), transparent);
}
.hero-badge-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}
.hero-badge-text span {
  color: white;
}

/* Claim container */
.hero-claim {
  margin-bottom: 28px;
  position: relative;
}

/* Each claim line */
.claim-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2em;
  overflow: hidden;
  padding: 4px 0;
}

/* "Si" — masked container with light beam (data URI to avoid file:// issues) */
.claim-si-masked {
  height: clamp(48px, 7.5vw, 88px);
  aspect-ratio: 276.35 / 293.15;
  position: relative;
  z-index: 2;
  display: inline-block;
  vertical-align: baseline;
  margin-right: 0.6em;
  background: white;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 276.35 293.15'%3E%3Cpath fill='%23fff' d='M60.59,189.97c-1.09,2.55-2.1,5.19-3,7.92-.91,2.73-1.36,5.55-1.36,8.46,0,7.29,1.91,13.92,5.73,19.92,3.82,6.01,9.91,9.01,18.29,9.01,7.27,0,12.55-2.26,15.83-6.82,3.27-4.55,4.91-9.73,4.91-15.56,0-8-2.73-15.1-8.19-21.29-5.46-6.18-11.56-12.55-18.29-19.1-6.74-6.55-12.83-13.83-18.29-21.84-5.46-8-8.19-17.83-8.19-29.48,0-8,1.64-15.01,4.91-21.02,3.28-6,7.55-11.09,12.83-15.28,5.27-4.18,11.28-7.27,18.01-9.28,6.73-1.99,13.73-3,21.02-3,9.09,0,17.2,1.45,24.29,4.36,7.1,2.92,12.91,6.55,17.47,10.92,4.55,4.37,8,9.2,10.37,14.47,2.36,5.28,3.55,10.47,3.55,15.56,0,6.19-2.1,12.28-6.28,18.29-4.19,6-10.1,9-17.74,9-4.37,0-8.46-1-12.28-3-3.82-2-7.01-5-9.55-9.01-1.09-2.54-.19-4.55,2.73-6,4.73-2.19,7.1-6.36,7.1-12.56,0-4-1.46-8-4.37-12.01-2.92-4-7.1-6-12.55-6-4.01,0-7.46,1.28-10.37,3.82-2.92,2.55-4.37,6.37-4.37,11.46,0,9.47,3.63,17.93,10.92,25.39,7.28,7.46,15.19,15.29,23.75,23.47,8.55,8.19,16.46,17.47,23.75,27.84,7.28,10.37,10.92,23.39,10.92,39.03,0,10.92-2.28,20.47-6.82,28.66-4.55,8.19-10.65,15.01-18.29,20.47-7.65,5.46-16.38,9.65-26.2,12.55-9.83,2.92-19.57,3.82-29.75,3.82s-20.39-.9-30.02-3.82c-9.65-2.91-18.29-7.28-25.93-13.1-7.64-5.82-13.74-13.19-18.29-22.11-4.55-8.91-6.82-19.38-6.82-31.39s3-22.11,9-31.39c6-9.28,14.65-14.65,25.93-16.1,3.27-.73,7.27-.55,12.01.55,4.72,1.09,9.09,3.27,13.1,6.55,2.19,1.46,2.36,4.01.55,7.64Z'/%3E%3Cpath fill='%23fff' d='M203.65,73.36c5.87-1.09,11.55-1,17.07.27,5.51,1.28,10.46,3.55,14.87,6.82,4.4,3.28,7.89,7.64,10.47,13.1,2.57,5.46,3.88,10.53,3.88,17.8,0,9.47-.92,19.57-2.76,30.3-1.84,10.74-3.68,21.11-5.51,31.12-1.84,10.01-3.49,19.2-4.96,27.56-1.47,8.38-1.66,14.93-.55,19.65.74,1.83,1.74,3.55,3.03,5.18,1.28,1.64,3.76,2.46,7.43,2.46,3.31,0,6.06-.91,8.27-2.73,2.2-1.81,3.85-4,4.96-6.55,1.45-2.91,2.36-6.19,2.73-9.83.36-2.55,1.36-4.27,3-5.19,1.64-.9,3.28-1.17,4.91-.82,1.64.37,3.09,1.46,4.37,3.28,1.27,1.83,1.72,4.01,1.36,6.55-2.18,16.02-5.28,29.3-9.28,39.86-4.01,10.55-8.58,18.83-13.72,24.84-5.13,6-10.73,10.19-16.79,12.55-6.05,2.37-12.39,3.55-19,3.55-7.71,0-14.4-1.64-20.06-4.91-5.66-3.28-10.22-7.55-13.68-12.83-3.45-5.27-6-11.37-7.65-18.29-1.64-6.91-2.45-14.01-2.45-21.29,0-12.36,1.46-25.11,4.37-38.21,2.92-13.1,6-26.2,9.28-39.31,3.28-13.1,6.1-25.93,8.47-38.49,2.37-12.55,2.97-23.35,1.87-35-.37-2.91,0-5.36,1.1-7.37,1.1-1.99,2.76-3.36,4.96-4.09ZM200.35,27.84c0-8.37,2.66-15.1,7.99-20.2,5.32-5.09,12.21-7.64,20.67-7.64s15.25,2.55,20.39,7.64c5.14,5.1,7.72,11.83,7.72,20.2s-2.58,15.1-7.72,20.2c-5.15,5.1-11.94,7.64-20.39,7.64s-15.34-2.54-20.67-7.64c-5.33-5.1-7.99-11.83-7.99-20.2Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 276.35 293.15'%3E%3Cpath fill='%23fff' d='M60.59,189.97c-1.09,2.55-2.1,5.19-3,7.92-.91,2.73-1.36,5.55-1.36,8.46,0,7.29,1.91,13.92,5.73,19.92,3.82,6.01,9.91,9.01,18.29,9.01,7.27,0,12.55-2.26,15.83-6.82,3.27-4.55,4.91-9.73,4.91-15.56,0-8-2.73-15.1-8.19-21.29-5.46-6.18-11.56-12.55-18.29-19.1-6.74-6.55-12.83-13.83-18.29-21.84-5.46-8-8.19-17.83-8.19-29.48,0-8,1.64-15.01,4.91-21.02,3.28-6,7.55-11.09,12.83-15.28,5.27-4.18,11.28-7.27,18.01-9.28,6.73-1.99,13.73-3,21.02-3,9.09,0,17.2,1.45,24.29,4.36,7.1,2.92,12.91,6.55,17.47,10.92,4.55,4.37,8,9.2,10.37,14.47,2.36,5.28,3.55,10.47,3.55,15.56,0,6.19-2.1,12.28-6.28,18.29-4.19,6-10.1,9-17.74,9-4.37,0-8.46-1-12.28-3-3.82-2-7.01-5-9.55-9.01-1.09-2.54-.19-4.55,2.73-6,4.73-2.19,7.1-6.36,7.1-12.56,0-4-1.46-8-4.37-12.01-2.92-4-7.1-6-12.55-6-4.01,0-7.46,1.28-10.37,3.82-2.92,2.55-4.37,6.37-4.37,11.46,0,9.47,3.63,17.93,10.92,25.39,7.28,7.46,15.19,15.29,23.75,23.47,8.55,8.19,16.46,17.47,23.75,27.84,7.28,10.37,10.92,23.39,10.92,39.03,0,10.92-2.28,20.47-6.82,28.66-4.55,8.19-10.65,15.01-18.29,20.47-7.65,5.46-16.38,9.65-26.2,12.55-9.83,2.92-19.57,3.82-29.75,3.82s-20.39-.9-30.02-3.82c-9.65-2.91-18.29-7.28-25.93-13.1-7.64-5.82-13.74-13.19-18.29-22.11-4.55-8.91-6.82-19.38-6.82-31.39s3-22.11,9-31.39c6-9.28,14.65-14.65,25.93-16.1,3.27-.73,7.27-.55,12.01.55,4.72,1.09,9.09,3.27,13.1,6.55,2.19,1.46,2.36,4.01.55,7.64Z'/%3E%3Cpath fill='%23fff' d='M203.65,73.36c5.87-1.09,11.55-1,17.07.27,5.51,1.28,10.46,3.55,14.87,6.82,4.4,3.28,7.89,7.64,10.47,13.1,2.57,5.46,3.88,10.53,3.88,17.8,0,9.47-.92,19.57-2.76,30.3-1.84,10.74-3.68,21.11-5.51,31.12-1.84,10.01-3.49,19.2-4.96,27.56-1.47,8.38-1.66,14.93-.55,19.65.74,1.83,1.74,3.55,3.03,5.18,1.28,1.64,3.76,2.46,7.43,2.46,3.31,0,6.06-.91,8.27-2.73,2.2-1.81,3.85-4,4.96-6.55,1.45-2.91,2.36-6.19,2.73-9.83.36-2.55,1.36-4.27,3-5.19,1.64-.9,3.28-1.17,4.91-.82,1.64.37,3.09,1.46,4.37,3.28,1.27,1.83,1.72,4.01,1.36,6.55-2.18,16.02-5.28,29.3-9.28,39.86-4.01,10.55-8.58,18.83-13.72,24.84-5.13,6-10.73,10.19-16.79,12.55-6.05,2.37-12.39,3.55-19,3.55-7.71,0-14.4-1.64-20.06-4.91-5.66-3.28-10.22-7.55-13.68-12.83-3.45-5.27-6-11.37-7.65-18.29-1.64-6.91-2.45-14.01-2.45-21.29,0-12.36,1.46-25.11,4.37-38.21,2.92-13.1,6-26.2,9.28-39.31,3.28-13.1,6.1-25.93,8.47-38.49,2.37-12.55,2.97-23.35,1.87-35-.37-2.91,0-5.36,1.1-7.37,1.1-1.99,2.76-3.36,4.96-4.09ZM200.35,27.84c0-8.37,2.66-15.1,7.99-20.2,5.32-5.09,12.21-7.64,20.67-7.64s15.25,2.55,20.39,7.64c5.14,5.1,7.72,11.83,7.72,20.2s-2.58,15.1-7.72,20.2c-5.15,5.1-11.94,7.64-20.39,7.64s-15.34-2.54-20.67-7.64c-5.33-5.1-7.99-11.83-7.99-20.2Z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(80px) scale(0.85);
}

/* Light beam inside — verde/azzurro shimmer through white Si */
.claim-si-beam {
  position: absolute;
  inset: -20% -60% -20% -60%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 28%,
    rgba(161,227,55,0.35) 35%,
    rgba(161,227,55,0.7) 41%,
    rgba(57,114,155,0.9) 50%,
    rgba(161,227,55,0.7) 59%,
    rgba(161,227,55,0.35) 65%,
    transparent 72%,
    transparent 100%
  );
  mix-blend-mode: multiply;
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}

/* Light beam sweep — staggered per line, starts after entrance */
.claim-line:nth-child(1) .claim-si-beam { animation: siBeamSweep 2.8s 3.5s cubic-bezier(0.4,0,0.2,1) infinite; }
.claim-line:nth-child(2) .claim-si-beam { animation: siBeamSweep 2.8s 3.9s cubic-bezier(0.4,0,0.2,1) infinite; }
.claim-line:nth-child(3) .claim-si-beam { animation: siBeamSweep 2.8s 4.3s cubic-bezier(0.4,0,0.2,1) infinite; }

@keyframes siBeamSweep {
  0%   { opacity: 0; transform: translateX(-100%); }
  10%  { opacity: 1; }
  50%  { opacity: 1; transform: translateX(100%); }
  51%  { opacity: 0; }
  100% { opacity: 0; transform: translateX(100%); }
}

/* Verb — white */
.claim-verb {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 1.1;
  color: white;
  opacity: 0;
  transform: translateY(80px);
  position: relative;
  z-index: 2;
  display: inline-block;
}

/* Staggered CSS entrance for each line */
.claim-line:nth-child(1) .claim-si-masked { animation: claimSiIn   0.9s 0.7s  cubic-bezier(0.16,1,0.3,1) forwards; }
.claim-line:nth-child(1) .claim-verb      { animation: claimVerbIn 0.9s 0.85s cubic-bezier(0.16,1,0.3,1) forwards; }
.claim-line:nth-child(2) .claim-si-masked { animation: claimSiIn   0.9s 1.1s  cubic-bezier(0.16,1,0.3,1) forwards; }
.claim-line:nth-child(2) .claim-verb      { animation: claimVerbIn 0.9s 1.25s cubic-bezier(0.16,1,0.3,1) forwards; }
.claim-line:nth-child(3) .claim-si-masked { animation: claimSiIn   0.9s 1.5s  cubic-bezier(0.16,1,0.3,1) forwards; }
.claim-line:nth-child(3) .claim-verb      { animation: claimVerbIn 0.9s 1.65s cubic-bezier(0.16,1,0.3,1) forwards; }

@keyframes claimSiIn {
  from { opacity: 0; transform: translateY(80px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes claimVerbIn {
  from { opacity: 0; transform: translateY(80px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Sweep beam */
.hero-sweep {
  position: absolute;
  top: -60px;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  overflow: hidden;
  transition: opacity 1.2s ease;
}
.hero-sweep-beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(161,227,55,0.04) 43%,
    rgba(255,255,255,0.08) 50%,
    rgba(57,114,155,0.04) 57%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(100%);
  will-change: transform;
}
/* Sweep beam disabled */
.hero-sweep { display: none; }
@keyframes sweepMove {
  0%  { transform: translateX(100%); }
  35% { transform: translateX(-100%); }
  100%{ transform: translateX(-100%); }
}

/* Accent line under claim */
.claim-accent {
  width: 80px;
  height: 3px;
  margin: 28px auto;
  border-radius: 2px;
  background: rgba(255,255,255,0.5);
  opacity: 0;
  transform: scaleX(0);
  animation: scaleInX 0.7s 2.2s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes scaleInX {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

/* Hero description */
.hero-description {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 0.8s 2.5s ease forwards;
}
.hero-description strong {
  color: white;
  font-weight: 600;
}

/* Hero CTA buttons */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 2.7s ease forwards;
}

/* --- CTA Button: white bg, verde border, blu text, verde circle with arrow --- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 5px 5px 5px 28px;
  border-radius: 100px;
  border: 2px solid #A1E337;
  background: #ffffff;
  color: #07324B;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-cta-label {
  margin-right: 16px;
}
.btn-cta-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #A1E337;
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.btn-cta:hover {
  background: #f8fff0;
  border-color: #b5f04a;
  box-shadow: 0 6px 30px rgba(161,227,55,0.25);
  transform: translateY(-2px);
}
.btn-cta:hover .btn-cta-circle {
  background: #b5f04a;
}

/* --- CTA Button dark variant: blu bg, white text, verde circle with white arrow --- */
.btn-cta-dark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 5px 5px 5px 28px;
  border-radius: 100px;
  border: 2px solid #07324B;
  background: #07324B;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-cta-dark:hover {
  background: #0a3f5e;
  border-color: #0a3f5e;
  box-shadow: 0 6px 30px rgba(7, 50, 75, 0.3);
  transform: translateY(-2px);
}
.btn-cta-dark:hover .btn-cta-circle {
  background: #b5f04a;
}

/* --- CTA Button light variant: white bg/border, blu text — for blu/dark bg sections --- */
.btn-cta-light {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 5px 5px 5px 28px;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.9);
  background: #ffffff;
  color: #07324B;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-cta-light:hover {
  background: #f0f0f0;
  box-shadow: 0 6px 30px rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.btn-cta-light:hover .btn-cta-circle {
  background: #b5f04a;
}

/* --- CTA Button for verde bg sections: blu bg, white text, verde circle --- */
.btn-cta-verde {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 5px 5px 5px 28px;
  border-radius: 100px;
  border: 2px solid #07324B;
  background: #07324B;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-cta-verde:hover {
  background: #0a3f5e;
  border-color: #0a3f5e;
  box-shadow: 0 6px 30px rgba(7, 50, 75, 0.35);
  transform: translateY(-2px);
}
.btn-cta-verde:hover .btn-cta-circle {
  background: #b5f04a;
}

/* --- CTA Button ghost variant: transparent with blu border — secondary on white/verde --- */
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 5px 5px 5px 28px;
  border-radius: 100px;
  border: 2px solid rgba(7, 50, 75, 0.15);
  background: transparent;
  color: #07324B;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-cta-ghost:hover {
  border-color: rgba(7, 50, 75, 0.35);
  background: rgba(7, 50, 75, 0.04);
  transform: translateY(-2px);
}
.btn-cta-ghost .btn-cta-circle {
  background: #07324B;
}
.btn-cta-ghost:hover .btn-cta-circle {
  background: #0a3f5e;
}

/* --- Arrow rotation on hover: white arrow inside verde circle --- */
.btn-cta-circle svg {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-cta:hover .btn-cta-circle svg,
.btn-cta-dark:hover .btn-cta-circle svg,
.btn-cta-light:hover .btn-cta-circle svg,
.btn-cta-verde:hover .btn-cta-circle svg {
  transform: rotate(45deg);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
}
.btn-hero.primary {
  background: white;
  color: #07324B;
}
.btn-hero.primary:hover {
  background: #f0f0f0;
  box-shadow: 0 8px 40px rgba(255,255,255,0.3);
  transform: translateY(-3px);
}
.btn-hero.ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-hero.ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn-hero:hover .btn-arrow { transform: translateX(4px); }
.btn-arrow { transition: transform 0.3s; display: inline-block; }

/* --- Micro-elements: trust badges --- */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 3s ease forwards;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-family: 'Outfit', sans-serif;
}
.hero-trust-icon {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}
.hero-trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

/* --- Contextual micro-icons (e-commerce/agency world) --- */
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.hero-deco-icon {
  opacity: 0;
  animation: decoFadeIn 1.2s ease forwards, decoIconDrift 14s ease-in-out infinite;
}
.hero-deco-icon svg {
  stroke: rgba(255,255,255,0.5);
  fill: none;
  stroke-width: 1.5;
}

/* Ghostly UI fragment — browser window outline */
.hero-ui-fragment {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  background: rgba(255,255,255,0.06);
  animation: decoFadeIn 1.5s ease forwards, decoFragmentDrift 16s ease-in-out infinite;
}
.hero-ui-bar {
  height: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
}
.hero-ui-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.hero-ui-body {
  padding: 14px;
}
/* Mini chart inside a UI fragment */
.hero-ui-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
}
.hero-ui-chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(255,255,255,0.25);
  transition: height 0.3s;
}
/* Mini product grid inside a UI fragment */
.hero-ui-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.hero-ui-grid-item {
  height: 28px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
}
/* Mini text lines inside a UI fragment */
.hero-ui-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-ui-line {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.18);
}
/* Accent line in UI fragment (e.g. a metric highlight) */
.hero-ui-accent-line {
  height: 4px;
  border-radius: 2px;
  background: rgba(161,227,55,0.08);
  margin-top: 8px;
}

/* Richer drift animations — multi-axis, different per type */
@keyframes decoFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes decoIconDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20%      { transform: translate(14px, -22px) rotate(3deg); }
  45%      { transform: translate(-10px, -35px) rotate(-2deg); }
  70%      { transform: translate(18px, -12px) rotate(2deg); }
  90%      { transform: translate(-6px, -28px) rotate(-1deg); }
}
@keyframes decoFragmentDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20%      { transform: translate(-16px, -28px) rotate(-1deg); }
  45%      { transform: translate(12px, -40px) rotate(0.8deg); }
  65%      { transform: translate(-8px, -18px) rotate(-0.5deg); }
  85%      { transform: translate(14px, -32px) rotate(0.6deg); }
}
/* Additional fragment inner details */
.hero-ui-sparkline {
  width: 100%;
  height: 30px;
}
.hero-ui-sparkline polyline {
  fill: none;
  stroke: rgba(161,227,55,0.15);
  stroke-width: 1.5;
}
.hero-ui-sparkline .sparkline-fill {
  fill: rgba(161,227,55,0.03);
  stroke: none;
}
.hero-ui-metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.hero-ui-metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(161,227,55,0.14);
  line-height: 1;
}
.hero-ui-metric-label {
  font-family: 'Poppins', sans-serif;
  font-size: 8px;
  color: rgba(255,255,255,0.08);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-ui-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'Poppins', sans-serif;
  font-size: 7px;
  color: rgba(161,227,55,0.18);
  background: rgba(161,227,55,0.04);
  padding: 2px 6px;
  border-radius: 8px;
}
.hero-ui-progress {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.04);
  margin-top: 6px;
}
.hero-ui-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: rgba(161,227,55,0.1);
}
.hero-ui-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.hero-ui-status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(161,227,55,0.2);
}
.hero-ui-status-text {
  font-family: 'Poppins', sans-serif;
  font-size: 7px;
  color: rgba(255,255,255,0.07);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-ui-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.hero-ui-nav-item {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.04);
}
.hero-ui-nav-item.active {
  background: rgba(161,227,55,0.1);
}

/* Scroll indicator */
.scroll-indicator {
  opacity: 0;
  animation: fadeUp 0.6s 3.2s ease forwards;
}
.scroll-indicator-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%      { opacity: 1; transform: scaleY(1); }
}

/* --- Particles canvas --- */
#hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* --- Shared keyframes --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .claim-line {
    gap: 0.15em;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero {
    width: 100%;
    justify-content: center;
  }
  .hero-trust {
    gap: 20px;
  }
  .hero-deco-icon,
  .hero-ui-fragment {
    display: none;
  }
  .hero-grid-bg::before,
  .hero-grid-bg::after {
    display: none;
  }
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Gradient text utility --- */
.gradient-text {
  background: linear-gradient(135deg, #A1E337, #39729B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   LANDING PREVIEW CARDS
   ============================================= */
.landing-card {
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}
.landing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  border-radius: 4px 0 0 4px;
}
.landing-card:nth-child(1)::before { background: #A1E337; }
.landing-card:nth-child(2)::before { background: #39729B; }
.landing-card:nth-child(3)::before { background: #A1E337; }
.landing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.12);
}
.landing-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.landing-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 20px;
  transition: gap 0.3s;
}
.landing-card-link:hover { gap: 14px; }

/* =============================================
   METHOD — 3 STEPS
   ============================================= */
.method-step {
  position: relative;
  padding-left: 0;
  overflow: hidden;
}
.method-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(60px, 10vw, 120px);
  line-height: 1;
  color: #A1E337;
  opacity: 0.07;
  position: absolute;
  top: -10px;
  right: -5px;
  left: auto;
  text-align: right;
}
@media (max-width: 767px) {
  .method-number {
    font-size: 56px;
    top: -5px;
    right: 0;
  }
}
.method-connector {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(161,227,55,0.3), transparent);
}

/* =============================================
   SERVICES LIST
   ============================================= */
.service-row {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(7,50,75,0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 16px;
}
@media (min-width: 768px) {
  .service-row { padding: 28px 0; gap: 24px; }
}
.service-row:hover {
  padding-left: 16px;
  border-bottom-color: rgba(161,227,55,0.3);
}
.service-row:hover .service-num {
  color: #A1E337;
}
.service-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  color: rgba(161,227,55,0.25);
  min-width: 55px;
  transition: color 0.3s;
}
.service-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #07324B;
  flex: 1;
}
@media (min-width: 768px) {
  .service-num { font-size: 64px; min-width: 90px; }
  .service-name { font-size: 36px; white-space: nowrap; }
}
.service-arrow {
  transition: all 0.3s;
  flex-shrink: 0;
}
.service-arrow svg {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.service-row:hover .service-arrow {
  transform: translateX(6px);
  filter: brightness(1.1);
}
.service-row:hover .service-arrow svg {
  transform: rotate(45deg);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  border-radius: 16px;
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Outfit', sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: rgba(161,227,55,0.15);
  position: absolute;
  top: 16px; left: 24px;
}
.testimonial-stars {
  display: flex; gap: 3px; margin-bottom: 16px;
}

/* =============================================
   PROJECT BANDS (alternating full-width previews)
   ============================================= */

/* Image wrapper — applies automatic blue tint via overlay */
.project-img-wrap {
  position: relative;
  overflow: hidden;
}
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
/* Blue overlay — mix-blend-mode: multiply tints toward brand blu */
.project-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,50,75,0.55) 0%, rgba(57,114,155,0.45) 100%);
  mix-blend-mode: multiply;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}
/* Hover: reduce tint to reveal more of the original image */
.project-band:hover .project-img-wrap::after {
  opacity: 0.5;
}
.project-band:hover .project-img-wrap img {
  transform: scale(1.03);
}

/* Placeholder for images not yet uploaded */
.project-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Featured variant — taller min-height */
.project-band-featured .project-img-wrap {
  min-height: 500px;
}
@media (max-width: 767px) {
  .project-band-featured .project-img-wrap {
    min-height: 300px;
  }
}

/* Coming soon card grid */
.project-soon-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  padding: 2rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.project-soon-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

/* =============================================
   PORTFOLIO CARDS (legacy — kept for compatibility)
   ============================================= */
.portfolio-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.portfolio-card-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.portfolio-card:hover .portfolio-card-bg {
  transform: scale(1.05);
}
.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(57, 114, 155, 0.45);
  mix-blend-mode: multiply;
  transition: background 0.4s ease;
}
.portfolio-card:hover .portfolio-card-overlay {
  background: rgba(57, 114, 155, 0.3);
}
.portfolio-card-logo {
  position: relative;
  z-index: 2;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-card-logo {
  opacity: 1;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-item {
  border-bottom: 1px solid rgba(47,54,60,0.1);
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-trigger:hover .faq-question { color: #A1E337; }
.faq-question {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #07324B;
  transition: color 0.3s;
}
.faq-icon {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #A1E337;
  border: none;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              color 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  color: white;
}
.faq-trigger:hover .faq-icon {
  background: #b5f04a;
  box-shadow: 0 4px 20px rgba(161,227,55,0.3);
}
/* Plus → X transition: hide the inline SVG and reveal two CSS bars
   that explicitly form an "x" when the FAQ is expanded. */
.faq-icon svg {
  transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}
.faq-trigger[aria-expanded="true"] .faq-icon {
  background: #07324B;
  color: white;
}
.faq-trigger[aria-expanded="true"] .faq-icon svg {
  opacity: 0;
  transform: rotate(90deg);
}
.faq-trigger[aria-expanded="true"] .faq-icon::before {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg);
}
.faq-trigger[aria-expanded="true"] .faq-icon::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.faq-panel.open {
  max-height: 300px;
}
.faq-answer {
  padding-bottom: 24px;
  color: rgba(47,54,60,0.55);
  font-size: 16px;
  line-height: 1.7;
}

/* FAQ on dark background variant */
.bg-blu .faq-item { border-bottom-color: rgba(255,255,255,0.08); }
.bg-blu .faq-question { color: white; }
.bg-blu .faq-icon { background: #A1E337; color: white; }
.bg-blu .faq-answer { color: rgba(255,255,255,0.5); }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 20% 50%, rgba(7,50,75,0.15), transparent);
  pointer-events: none;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.08) 70%, transparent);
}
.footer-link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.footer-link:hover { color: #A1E337; }
/* Bare social icons (no circle) — used in footer Col 4 */
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-social svg {
  width: 30px;
  height: 30px;
  display: block;
}
.footer-social:hover {
  color: #A1E337;
  transform: translateY(-2px);
}

/* Certifications strip — three placeholder boxes side by side */
.footer-certifications {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-cert {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 90px;
}
.footer-cert img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.footer-cert-placeholder {
  width: 180px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding: 8px 12px;
}

/* =============================================
   MARQUEE / TICKER
   ============================================= */
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 40px;
}
.marquee-left .marquee-track { animation: marqueeLeft 35s linear infinite; }
.marquee-right .marquee-track { animation: marqueeRight 35s linear infinite; }
@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
/* Solid blu text */
.marquee-text-solid {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 128px;
  line-height: 1;
  white-space: nowrap;
  color: #07324B;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
/* Outline text — blu stroke, white fill */
.marquee-text-outline {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 128px;
  line-height: 1;
  white-space: nowrap;
  color: white;
  -webkit-text-stroke: 2px #07324B;
  text-stroke: 2px #07324B;
  paint-order: stroke fill;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
/* Dot separator — blu border, verde fill */
.marquee-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #07324B;
  background: #A1E337;
  flex-shrink: 0;
}

/* --- Hamburger animation --- */
.hamburger-line {
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   Pain section — Editorial Split variant
   ======================================== */

/* Ticker strip */
.pain-ticker {
  background: rgba(7, 50, 75, 0.015);
}
.pain-ticker-track {
  animation: painTickerScroll 60s linear infinite;
  width: max-content;
}
@keyframes painTickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}
@media (prefers-reduced-motion: reduce) {
  .pain-ticker-track { animation: none; }
}

/* Highlighted word — bar that hugs the actual text per line */
.pain-funziona {
  background-image: linear-gradient(
    to bottom,
    transparent calc(100% - 0.44em),
    rgba(161, 227, 55, 0.85) calc(100% - 0.44em),
    rgba(161, 227, 55, 0.85) calc(100% - 0.12em),
    transparent calc(100% - 0.12em)
  );
  background-repeat: no-repeat;
  padding: 0 2px;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* Inner span kept for compatibility (legacy markup) — no styling needed */
.pain-funziona-text {
  display: inline;
}

/* Editorial list */
.pain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pain-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 0.5rem 1.6rem 0.5rem;
  margin: 0 -0.5rem;
  border-bottom: 1px solid rgba(7, 50, 75, 0.1);
  border-radius: 0.5rem;
  transition: background-color 0.25s ease, padding-left 0.25s ease;
  position: relative;
}
.pain-item:first-child {
  border-top: 1px solid rgba(7, 50, 75, 0.1);
}
.pain-item::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  width: 3px;
  height: 60%;
  background: #A1E337;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .pain-item {
    padding: 1.9rem 0.5rem;
    gap: 2rem;
  }
}

.pain-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: rgba(7, 50, 75, 0.18);
  line-height: 1;
  font-size: clamp(48px, 6.5vw, 92px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.pain-q {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.005em;
  margin: 0;
}
.pain-q-strong {
  color: #07324B;
}
.pain-q-mute {
  color: rgba(7, 50, 75, 0.55);
  font-weight: 500;
}

/* Pull-quote closing */
.pain-pullquote {
  margin-top: 3rem;
  padding-left: 2rem;
  border-left: 2px solid #A1E337;
}
@media (min-width: 768px) {
  .pain-pullquote {
    margin-top: 4rem;
    padding-left: 2.25rem;
  }
}
.pain-pullquote-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #07324B;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: -0.005em;
}
.pain-pullquote-body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: rgba(47, 54, 60, 0.65);
  line-height: 1.65;
  max-width: 36rem;
  margin: 0;
}


/* =============================================
   EDITORIAL SECTIONS — hai-un-e-commerce.html
   (Method §03, Chaos §04, Paths §06, CTA §Fine)
   ============================================= */

/* ---- Shared: faint grid bg for dark editorial sections ---- */
.method-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 8.333% 100%;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}
.method-watermark { display: none; }

/* ---- §03 Method — editorial ledger ---- */
.method-list {
  border-top: 1px solid rgba(255,255,255,0.12);
}
.method-row {
  display: grid;
  grid-template-columns: 80px 1fr 160px;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  align-items: center;
  position: relative;
}

.method-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 0.9;
  color: #A1E337;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.method-num::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(161,227,55,0.4);
  margin-top: 10px;
}
.method-body { position: relative; z-index: 1; }
.method-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: white;
}
.method-title em {
  font-style: italic;
  font-weight: 300;
  color: #A1E337;
}
.method-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 56ch;
}
.method-tag {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.method-tag span {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .method-row {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 24px 0;
  }
  .method-tag {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 56px;
    padding-top: 8px;
  }
}

/* ---- §04 Chaos — split table ---- */
.chaos-table {
  position: relative;
  border-top: 1px solid rgba(7,50,75,0.12);
  border-bottom: 1px solid rgba(7,50,75,0.12);
}
.chaos-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-bottom: 1px solid rgba(7,50,75,0.08);
  position: relative;
}
.chaos-row-last { border-bottom: none; }
.chaos-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(7,50,75,0.10);
}
.chaos-head {
  border-bottom: 2px solid rgba(7,50,75,0.18);
}
.chaos-col {
  padding: 24px 8px;
  display: flex;
  align-items: center;
}
.chaos-col-before {
  padding-right: 60px;
  justify-content: flex-end;
  text-align: right;
}
.chaos-col-after {
  padding-left: 60px;
  justify-content: flex-start;
  text-align: left;
}
.chaos-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(7,50,75,0.4);
  padding: 6px 14px;
  border: 1px solid rgba(7,50,75,0.15);
  border-radius: 999px;
}
.chaos-tag-after {
  background: #07324B;
  color: #A1E337;
  border-color: #07324B;
}
.chaos-strike {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.3;
  color: rgba(47,54,60,0.4);
  text-decoration: line-through;
  text-decoration-color: rgba(47,54,60,0.35);
  text-decoration-thickness: 1.5px;
}
.chaos-strong {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.25;
  color: #07324B;
  letter-spacing: -0.005em;
}
.chaos-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: #FAFAF7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
@media (max-width: 768px) {
  .chaos-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .chaos-row::before { display: none; }
  .chaos-col {
    padding: 16px 8px;
    text-align: left;
    justify-content: flex-start;
  }
  .chaos-col-before {
    padding-right: 8px;
    border-bottom: 1px dashed rgba(7,50,75,0.1);
  }
  .chaos-col-after {
    padding-left: 8px;
  }
  .chaos-arrow { display: none; }
  .chaos-head .chaos-col { padding: 12px 8px; }
}

.chaos-pullquote {
  position: relative;
  padding-left: 28px;
}
.chaos-pullquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #A1E337, transparent);
}

/* ---- §06 Paths — A/B split ---- */
.paths-split {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: stretch;
}
.path-card {
  position: relative;
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.025);
  display: flex;
  flex-direction: column;
  border-radius: 4px;
}
.path-card-featured {
  background: rgba(161,227,55,0.06);
  border-color: rgba(161,227,55,0.25);
}
.path-letter {
  position: absolute;
  top: -32px;
  left: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #07324B;
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: white;
  letter-spacing: -0.02em;
}
.path-letter-featured {
  background: #A1E337;
  color: #07324B;
  border-color: rgba(161,227,55,0.4);
  box-shadow: 0 8px 32px rgba(161,227,55,0.25);
}
.path-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.path-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 5px 12px;
}
.path-badge-featured {
  color: #A1E337;
  border-color: rgba(161,227,55,0.35);
  background: rgba(161,227,55,0.08);
}
.path-time {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.path-time-featured { color: rgba(161,227,55,0.6); }
.path-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  color: white;
}
.path-title em {
  font-style: italic;
  font-weight: 300;
  color: #A1E337;
}
.path-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  flex: 1;
}
.path-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.path-card-featured .path-footer { border-top-color: rgba(161,227,55,0.18); }
.path-note {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

.paths-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}
.paths-divider-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.18), transparent);
  min-height: 60px;
}
.paths-divider-or {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(161,227,55,0.7);
  white-space: nowrap;
  padding: 8px 0;
}

@media (max-width: 768px) {
  .paths-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .paths-divider {
    flex-direction: row;
    width: 100%;
    min-height: 0;
  }
  .paths-divider-line {
    width: auto;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.18), transparent);
    min-height: 0;
    flex: 1;
  }
  .path-card { padding: 32px 24px; }
}

/* ---- §Fine CTA ticker ---- */
.cta-editorial { padding-bottom: 96px; }
@media (max-width: 768px) {
  .cta-editorial { padding-bottom: 80px; }
}
.cta-ticker { z-index: 1; }

/* =============================================
   BENEFITS — editorial ledger (light bg)
   used in vuoi-aprire-un-e-commerce.html §04
   ============================================= */
.benefits-list {
  /* parent provides border-top */
}
.benefits-row {
  display: grid;
  grid-template-columns: 70px 1fr 110px;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(7, 50, 75, 0.1);
  align-items: center;
  position: relative;
}
@media (min-width: 768px) {
  .benefits-row {
    grid-template-columns: 90px 1fr 160px;
    gap: 32px;
    padding: 36px 0;
  }
}
.benefits-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.9;
  color: #A1E337;
  letter-spacing: -0.02em;
}
.benefits-num::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(161, 227, 55, 0.5);
  margin-top: 8px;
}
.benefits-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: #07324B;
}
.benefits-title em {
  font-style: italic;
  font-weight: 300;
  color: #07324B;
}
.benefits-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(47, 54, 60, 0.6);
  max-width: 60ch;
  margin: 0;
}
.benefits-tag {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .benefits-tag { justify-content: flex-end; }
}
.benefits-tag span {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(7, 50, 75, 0.4);
}

/* =============================================
   SERVICES — editorial ledger row (light bg, with arrow)
   used in servizi.html overview
   ============================================= */
.service-row-editorial {
  display: grid;
  grid-template-columns: 70px 1fr 56px;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(7, 50, 75, 0.1);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
@media (min-width: 768px) {
  .service-row-editorial {
    grid-template-columns: 100px 1fr 64px;
    gap: 32px;
    padding: 36px 0;
  }
}
.service-row-editorial:hover {
  padding-left: 12px;
  border-bottom-color: rgba(161, 227, 55, 0.4);
}
.service-num-ed {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 0.9;
  color: rgba(161, 227, 55, 0.4);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
.service-row-editorial:hover .service-num-ed {
  color: #A1E337;
}
.service-body-ed {
  min-width: 0;
}
.service-title-ed {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: #07324B;
  transition: color 0.3s ease;
}
.service-title-ed em {
  font-style: italic;
  font-weight: 300;
  color: rgba(7, 50, 75, 0.6);
}
.service-row-editorial:hover .service-title-ed em {
  color: #A1E337;
}
.service-desc-ed {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(47, 54, 60, 0.6);
  max-width: 62ch;
  margin: 0;
}
.service-arrow-ed {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.service-arrow-ed-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #A1E337;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.service-arrow-ed-circle svg {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.service-row-editorial:hover .service-arrow-ed-circle svg {
  transform: rotate(45deg);
}
.service-row-editorial:hover .service-arrow-ed-circle {
  background: #b5f04a;
}

/* =============================================
   PROJECT CARDS — uniform portrait grid (progetti.html)
   ============================================= */
.project-card-grid {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  background: #07324B;
}
.project-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  z-index: 1;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}
.project-card-grid:hover .project-card-bg {
  transform: scale(1.05);
}
/* Default overlay — blu transparent filter */
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 50, 75, 0.72);
  z-index: 2;
  transition: opacity 0.45s ease;
}
/* Hover overlay — verde → azzurro gradient (same as homepage hero) */
.project-card-overlay-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #A1E337 0%, #6DC84E 25%, #3CB8A0 50%, #39729B 80%, #2E5F8A 100%);
  opacity: 0;
  z-index: 3;
  transition: opacity 0.45s ease;
  mix-blend-mode: normal;
}
.project-card-grid:hover .project-card-overlay {
  opacity: 0;
}
.project-card-grid:hover .project-card-overlay-hover {
  opacity: 0.85;
}
/* Logo centered inside card */
.project-card-logo-wrap {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  pointer-events: none;
}
.project-card-logo {
  max-width: 65%;
  max-height: 40%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Monochrome white silhouette — works on any logo with non-transparent pixels */
  filter: brightness(0) invert(1);
  opacity: 0.96;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.45s ease;
}
.project-card-grid:hover .project-card-logo {
  transform: scale(1.05);
  opacity: 1;
}
/* Focus state for keyboard navigation */
.project-card-grid:focus-visible {
  outline: 2px solid #A1E337;
  outline-offset: 4px;
}
