/* ================================================
   DITTA di FAMIGLIA — Design System & Styles
   Impresa di Pulizie Professionali · Bologna
   ================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;0,800;1,600;1,700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --blu-navy: #173F8A;
  --blu-royal: #2B7DE9;
  --verde-fresh: #46B52F;
  --bianco: #FFFFFF;
  --grigio-chiaro: #F3F6F8;
  --grigio-scuro: #2E3A46;

  /* Extended Palette */
  --blu-navy-dark: #0F2D66;
  --blu-navy-light: #1E52B0;
  --blu-royal-light: #5B9BEF;
  --blu-royal-dark: #1A5BBF;
  --verde-fresh-light: #6AD054;
  --verde-fresh-dark: #359A22;
  --grigio-medio: #D0D7DD;
  --grigio-text: #6B7B8D;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--blu-navy) 0%, var(--blu-royal) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(23, 63, 138, 0.92) 0%, rgba(43, 125, 233, 0.85) 100%);
  --gradient-verde: linear-gradient(135deg, var(--verde-fresh) 0%, #3DA628 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(23, 63, 138, 0.03) 100%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;

  /* Font Sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.5rem;
  --fs-hero: clamp(2.5rem, 5vw, 4rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(23, 63, 138, 0.08);
  --shadow-md: 0 4px 12px rgba(23, 63, 138, 0.1);
  --shadow-lg: 0 8px 30px rgba(23, 63, 138, 0.12);
  --shadow-xl: 0 16px 50px rgba(23, 63, 138, 0.15);
  --shadow-card: 0 4px 20px rgba(23, 63, 138, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(23, 63, 138, 0.16);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--grigio-scuro);
  background-color: var(--bianco);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ── Utility Classes ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blu-royal);
  margin-bottom: var(--space-md);
}

.section-label .label-icon {
  width: 6px;
  height: 6px;
  background-color: var(--verde-fresh);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, var(--fs-3xl));
  font-weight: 800;
  color: var(--blu-navy);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--grigio-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

.btn-primary {
  background: var(--gradient-verde);
  color: var(--bianco);
  box-shadow: 0 4px 15px rgba(70, 181, 47, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(70, 181, 47, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--bianco);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--bianco);
  transform: translateY(-3px) scale(1.02);
}

.btn-outline {
  background: transparent;
  color: var(--blu-navy);
  border: 2px solid var(--blu-navy);
}

.btn-outline:hover {
  background: var(--blu-navy);
  color: var(--bianco);
  transform: translateY(-3px) scale(1.02);
}

.btn-navy {
  background: var(--gradient-brand);
  color: var(--bianco);
  box-shadow: 0 4px 15px rgba(23, 63, 138, 0.3);
}

.btn-navy:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(23, 63, 138, 0.35);
}

.btn-icon {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: scale(1.15);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  height: 70px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.header-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.header-logo img {
  height: 55px;
  width: auto;
  transition: all var(--transition-base);
  /* Glass pill on dark/video backgrounds for readability */
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.header.scrolled .header-logo img {
  height: 45px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--bianco);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.header.scrolled .nav-link {
  color: var(--grigio-scuro);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--verde-fresh);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--verde-fresh);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta .btn-primary {
  padding: 10px 24px;
  font-size: var(--fs-sm);
  border-radius: var(--radius-sm);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--bianco);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.header.scrolled .mobile-toggle span {
  background: var(--grigio-scuro);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1s ease;
}

.hero-fallback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1s ease;
}

/* Hide fallback when video plays */
.hero-video-bg .hero-video[data-playing="true"] ~ .hero-fallback-img {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(23, 63, 138, 0.88) 0%,
    rgba(23, 63, 138, 0.72) 40%,
    rgba(43, 125, 233, 0.78) 100%
  );
  z-index: 1;
}

/* Subtle animated gradient shimmer on hero overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 25%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0.02) 75%,
    transparent 100%
  );
  animation: heroShimmer 12s ease-in-out infinite;
}

@keyframes heroShimmer {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(50%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: var(--header-height);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--bianco);
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--verde-fresh);
  border-radius: var(--radius-full);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-slogan {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-xl);
  color: var(--verde-fresh-light);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 900;
  color: var(--bianco);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-title .highlight {
  color: var(--verde-fresh-light);
  position: relative;
}

.hero-description {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  animation: fadeInUp 0.8s ease 1s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.8s ease 1.2s both;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--bianco);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-number .verde {
  color: var(--verde-fresh-light);
}

.stat-label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* Decorative Elements */
.hero-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-decor-1 {
  top: 20%;
  right: 5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 181, 47, 0.08) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.hero-decor-2 {
  bottom: 15%;
  right: 15%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 125, 233, 0.08) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite reverse;
}

/* Sparkle dots — clean/bright accents */
.hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 25%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 35%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 45% 80%, rgba(255,255,255,0.15) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 15%, rgba(255,255,255,0.18) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.12) 50%, transparent 50%);
  animation: sparkleFloat 10s ease-in-out infinite alternate;
}

@keyframes sparkleFloat {
  0% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; }
  100% { opacity: 0.6; transform: translateY(-8px); }
}

/* ── Liquid Glass Shapes ── */
.glass-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-shape-1 {
  top: 12%;
  right: 8%;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, rgba(43, 125, 233, 0.05) 0%, rgba(255,255,255,0.03) 100%);
  animation: glassFloat1 14s ease-in-out infinite;
}

.glass-shape-2 {
  bottom: 20%;
  right: 25%;
  width: 120px;
  height: 120px;
  border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
  background: linear-gradient(135deg, rgba(70, 181, 47, 0.04) 0%, rgba(255,255,255,0.02) 100%);
  animation: glassFloat2 18s ease-in-out infinite;
}

.glass-shape-3 {
  top: 55%;
  right: 3%;
  width: 90px;
  height: 90px;
  border-radius: 50% 50% 45% 55% / 60% 40% 55% 45%;
  background: linear-gradient(135deg, rgba(43, 125, 233, 0.03) 0%, rgba(70, 181, 47, 0.02) 100%);
  animation: glassFloat3 11s ease-in-out infinite;
}

@keyframes glassFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-15px, 20px) rotate(5deg); }
  66% { transform: translate(10px, -10px) rotate(-3deg); }
}

@keyframes glassFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -15px) rotate(8deg); }
}

@keyframes glassFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  40% { transform: translate(-10px, 12px) rotate(-6deg); }
  80% { transform: translate(8px, -8px) rotate(4deg); }
}

/* ── Section Dividers (wave curves) ── */
.section-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.section-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

/* ── Services Section ── */
.services {
  background: var(--grigio-chiaro);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 80%, rgba(43, 125, 233, 0.04) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(70, 181, 47, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  perspective: 1200px;
}

.service-card {
  background: var(--bianco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
}

/* 3D tilt effect applied via JS */
.service-card .service-card-content {
  transition: transform var(--transition-base);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.03) 100%
  );
  pointer-events: none;
  transition: opacity var(--transition-base);
  opacity: 0;
  border-radius: var(--radius-lg);
  z-index: 1;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.service-card-image .service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(23, 63, 138, 0.7) 100%);
}

.service-card-icon {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
}

.service-card-content {
  padding: var(--space-xl);
}

.service-card-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--blu-navy);
  margin-bottom: var(--space-sm);
}

.service-card-text {
  font-size: var(--fs-sm);
  color: var(--grigio-text);
  line-height: 1.7;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--blu-royal);
  margin-top: var(--space-md);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-card-link:hover {
  gap: var(--space-sm);
  color: var(--verde-fresh);
}

/* ── Why Us Section ── */
.why-us {
  background: var(--bianco);
  position: relative;
  overflow: hidden;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3xl);
  align-items: center;
}

.why-us-content {
  position: relative;
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.feature-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.feature-item:hover {
  background: var(--grigio-chiaro);
  transform: translateX(8px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(43, 125, 233, 0.08);
  color: var(--blu-royal);
  transition: all var(--transition-base);
}

.feature-icon svg {
  transition: stroke 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--gradient-brand);
  color: var(--bianco);
  transform: scale(1.05);
}

.feature-item:hover .feature-icon svg {
  stroke: var(--bianco);
}

.feature-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--blu-navy);
  margin-bottom: var(--space-xs);
}

.feature-text {
  font-size: var(--fs-sm);
  color: var(--grigio-text);
  line-height: 1.7;
}

.why-us-visual {
  position: relative;
}

.why-us-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.why-us-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.why-us-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bianco);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: float 4s ease-in-out infinite;
}

.float-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-verde);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--bianco);
}

.float-card-text {
  font-weight: 700;
  color: var(--blu-navy);
  font-size: var(--fs-sm);
}

.float-card-number {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--verde-fresh);
  line-height: 1;
}

/* ── About Section ── */
.about {
  background: var(--grigio-chiaro);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-image-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  background: var(--gradient-verde);
  border-radius: var(--radius-lg);
  opacity: 0.15;
  z-index: -1;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: var(--fs-base);
  color: var(--grigio-text);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--grigio-scuro);
}

.value-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(70, 181, 47, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-fresh);
  font-size: 0.8rem;
}

/* ── Area Section ── */
.area {
  position: relative;
  overflow: hidden;
  background: var(--bianco);
}

.area-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.area-content .section-title {
  text-align: left;
}

.area-text {
  font-size: var(--fs-base);
  color: var(--grigio-text);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.area-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.location-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--grigio-scuro);
  padding: var(--space-sm) 0;
}

.location-item svg {
  color: var(--blu-royal);
  min-width: 18px;
}

.area-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.area-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.area-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-xl);
  background: linear-gradient(to top, rgba(23, 63, 138, 0.9) 0%, transparent 100%);
  color: var(--bianco);
}

.area-image-overlay h4 {
  font-size: var(--fs-lg);
  font-weight: 700;
}

.area-image-overlay p {
  font-size: var(--fs-sm);
  opacity: 0.85;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--gradient-brand);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(70, 181, 47, 0.1);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, var(--fs-3xl));
  font-weight: 800;
  color: var(--bianco);
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ── Contact Section ── */
.contact {
  background: var(--grigio-chiaro);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info-header .section-title {
  text-align: left;
  font-size: var(--fs-2xl);
}

.contact-info-text {
  font-size: var(--fs-base);
  color: var(--grigio-text);
  line-height: 1.8;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bianco);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all var(--transition-base);
}

.contact-card-icon.phone {
  background: rgba(70, 181, 47, 0.1);
  color: var(--verde-fresh);
}

.contact-card-icon.phone svg {
  stroke: var(--verde-fresh);
}

.contact-card-icon.email {
  background: rgba(43, 125, 233, 0.1);
  color: var(--blu-royal);
}

.contact-card-icon.email svg {
  stroke: var(--blu-royal);
}

.contact-card-icon.location {
  background: rgba(23, 63, 138, 0.1);
  color: var(--blu-navy);
}

.contact-card-icon.location svg {
  stroke: var(--blu-navy);
}

/* Hover lift on contact cards */
.contact-card:hover .contact-card-icon {
  transform: scale(1.08);
}

.contact-card-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--grigio-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-card-value {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--grigio-scuro);
}

.contact-card-value a {
  color: var(--grigio-scuro);
  transition: color var(--transition-fast);
}

.contact-card-value a:hover {
  color: var(--blu-royal);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bianco);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--blu-navy);
  margin-bottom: var(--space-xs);
}

.contact-form-subtitle {
  font-size: var(--fs-sm);
  color: var(--grigio-text);
  margin-bottom: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--grigio-scuro);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  color: var(--grigio-scuro);
  background: var(--grigio-chiaro);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blu-royal);
  background: var(--bianco);
  box-shadow: 0 0 0 4px rgba(43, 125, 233, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--grigio-medio);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-md);
}

.form-privacy {
  font-size: var(--fs-xs);
  color: var(--grigio-text);
  margin-top: var(--space-md);
  text-align: center;
}

/* ── Footer ── */
.footer {
  background: var(--grigio-scuro);
  color: var(--bianco);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(23, 63, 138, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.footer-main {
  padding: var(--space-4xl) 0 var(--space-2xl);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: var(--space-lg);
}

.footer-brand-text {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.footer-slogan {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-base);
  color: var(--verde-fresh-light);
}

.footer-heading {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-xl);
  color: var(--bianco);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--verde-fresh);
  border-radius: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-link:hover {
  color: var(--verde-fresh-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

.footer-contact-item svg {
  min-width: 16px;
  margin-top: 3px;
  color: var(--verde-fresh);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--verde-fresh-light);
}

.footer-bottom {
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: var(--space-xl);
}

.footer-legal a {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--verde-fresh-light);
}

/* ── Scroll to Top ── */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gradient-brand);
  color: var(--bianco);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 999;
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bianco);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: pulse-wp 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes pulse-wp {
  0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin-icon {
  animation: spin 1s linear infinite;
}

/* SVG icon transitions */
.step-icon svg,
.service-card-icon svg {
  transition: stroke 0.3s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(70, 181, 47, 0); }
  50% { box-shadow: 0 0 20px 4px rgba(70, 181, 47, 0.12); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Icon hover animation for feature/service icons */
.feature-item:hover .feature-icon,
.step-card:hover .step-icon,
.service-card-icon {
  animation: iconBounce 0.5s ease;
}

/* Green glow pulse on CTA buttons */
.btn-primary {
  animation: glowPulse 3s ease-in-out infinite;
}

.btn-primary:hover {
  animation: none;
}

/* Parallax-ready image containers */
.parallax-img {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid,
  .about-grid,
  .area-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .why-us-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  /* Header Mobile */
  .mobile-toggle {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--grigio-scuro);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-3xl);
    gap: var(--space-2xl);
    transition: right var(--transition-base);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .header-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .nav-link {
    font-size: var(--fs-lg);
    color: var(--bianco) !important;
  }

  .header-cta {
    width: 100%;
  }

  .header-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .mobile-overlay.active {
    display: block;
  }

  /* Hero Mobile */
  .hero {
    min-height: 100svh;
  }

  .hero-video {
    object-position: center 40%;
  }

  .hero-fallback-img {
    object-position: center 40%;
  }

  /* Disable heavy hero sparkles on mobile */
  .hero::after {
    display: none;
  }

  /* Disable hero shimmer on mobile */
  .hero-overlay::after {
    display: none;
  }

  .hero-stats {
    gap: var(--space-xl);
  }

  .stat-number {
    font-size: var(--fs-2xl);
  }

  /* Reduce animations on mobile */
  .reveal,
  .reveal-left,
  .reveal-right {
    transition-duration: 0.5s;
  }

  .reveal-left {
    transform: translateY(30px);
  }

  .reveal-right {
    transform: translateY(30px);
  }

  /* Disable 3D tilt on touch devices */
  .service-card {
    transform: none !important;
  }

  /* Bigger touch targets */
  .btn {
    padding: 16px 28px;
    font-size: var(--fs-base);
    min-height: 50px;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Contact Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Area Mobile */
  .area-locations {
    grid-template-columns: 1fr;
  }

  /* About Mobile */
  .about-values {
    grid-template-columns: 1fr;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* CTA Banner */
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Floating elements */
  .whatsapp-float {
    bottom: 80px;
    right: 20px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  .why-us-float-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: var(--space-md);
  }
}

/* ══════════════════════════════════════════════
   TESTIMONIALS SECTION
   ══════════════════════════════════════════════ */

.testimonials {
  background: var(--bianco);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--bianco);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(23, 63, 138, 0.06);
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: var(--font-accent);
  color: rgba(43, 125, 233, 0.08);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(43, 125, 233, 0.12);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-md);
}

.testimonial-stars span {
  color: #F5A623;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: var(--fs-base);
  color: var(--grigio-scuro);
  line-height: 1.8;
  font-style: normal;
  margin-bottom: var(--space-xl);
  flex: 1;
  border: none;
  padding: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(23, 63, 138, 0.08);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bianco);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.testimonial-name {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--blu-navy);
}

.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--grigio-text);
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   HOW WE WORK / COME LAVORIAMO
   ══════════════════════════════════════════════ */

.how-we-work {
  background: var(--grigio-chiaro);
  position: relative;
  overflow: hidden;
}

.how-we-work::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 125, 233, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.step-card {
  background: var(--bianco);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid rgba(23, 63, 138, 0.05);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(43, 125, 233, 0.15);
}

.step-number {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--blu-royal);
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.step-icon-wrapper {
  margin-bottom: var(--space-lg);
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(43, 125, 233, 0.08) 0%, rgba(70, 181, 47, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all var(--transition-base);
}

.step-card:hover .step-icon {
  background: var(--gradient-brand);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(23, 63, 138, 0.2);
}

.step-card:hover .step-icon svg {
  stroke: var(--bianco);
}

.step-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--blu-navy);
  margin-bottom: var(--space-sm);
}

.step-text {
  font-size: var(--fs-sm);
  color: var(--grigio-text);
  line-height: 1.7;
}

/* Connector Line Between Steps */
.step-connector {
  display: none;
}

@media (min-width: 769px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 50%;
    right: -28px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--blu-royal), var(--verde-fresh));
    transform: translateY(-50%);
    opacity: 0.3;
  }

  .step-connector::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--verde-fresh);
    opacity: 0.6;
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — New Sections
   ══════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-connector {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* Video hero mobile: show video but center subject */
  .hero-video {
    object-position: center 40%;
  }

  .hero-fallback-img {
    object-position: center 40%;
  }

  /* Hide glass shapes on mobile */
  .glass-shape {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Very small screens: fallback image only */
@media (max-width: 480px) {
  .hero-video {
    display: none;
  }

  .hero-fallback-img {
    display: block;
    opacity: 1 !important;
  }
}
