/* ============================================================
   RESET & VARIABLES
   ============================================================ */
:root {
  /* Colors */
  --primary: #0066FF;
  --secondary: #00C9A7;
  --accent: #FF6B35;
  --electric: #FFD23F;
  --purple: #7B68EE;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  
  /* Backgrounds */
  --bg-light: #F8FAFB;
  --bg-white: #FFFFFF;
  --bg-soft: #F0F4F8;
  --bg-dark: #1A2332;
  
  /* Text */
  --text-dark: #1A2332;
  --text-gray: #5A6C7D;
  --text-light: #8B98A5;
  
  /* Effects */
  --border-light: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(26,35,50,0.04);
  --shadow: 0 4px 16px rgba(26,35,50,0.08);
  --shadow-lg: 0 8px 32px rgba(26,35,50,0.12);
  --shadow-xl: 0 16px 48px rgba(26,35,50,0.16);
  --glow: 0 0 20px rgba(0,102,255,0.3);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-display: 'Poppins', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  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-main);
  background: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.footer-contacts i {
  font-size: 16px;
  color: var(--primary);
  margin-top: 2px;
  min-width: 18px;
}

.footer-contacts a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contacts a:hover {
  color: var(--primary);
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  /* Sfondo scuro sfumato, non un box nero piatto */
  background: radial-gradient(ellipse at center, #020c24 0%, #010815 60%, #000408 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Togliere il background dalla sezione che contiene il canvas */
#loader-core {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* NESSUN background qui — il canvas ha alpha: true */
  background: transparent;
}

/* Il canvas Three.js: trasparente, non ha bordi o shadow */
#loader-core canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background: transparent !important; /* sicurezza extra */
  border-radius: 0;
  box-shadow: none;
}

/* Testo percentuale sopra il globo */
.loader-status {
  position: absolute;
  bottom: 30px;           /* era nel mezzo, ora sotto il globo */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  width: 100%;
}

#loadPerc {
  font-family: 'Courier New', monospace;
  font-size: 3.2rem;
  font-weight: 900;
  color: #00d4ff;
  line-height: 1;
  margin: 0;
  text-shadow: 0 0 24px rgba(0, 212, 255, 0.7), 0 0 60px rgba(0, 100, 255, 0.3);
}

.loader-bar-bg {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 14px;
  border-radius: 4px;
  overflow: hidden;
}

#progressBar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0055FF, #00d4ff);
  box-shadow: 0 0 12px #00d4ff;
  transition: width 0.2s ease-out;
}

.status-label {
  margin-top: 10px;
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  color: rgba(100, 140, 200, 0.5);
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* hidden state (aggiunto da JS dopo il completamento) */
#loading-screen.hidden {
  pointer-events: none;
}

/* ============================================================
   BACKGROUNDS
   ============================================================ */
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,102,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,201,167,0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,107,53,0.03) 0%, transparent 50%);
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}

header.scrolled {
  padding: 0.8rem 2rem;
  box-shadow: var(--shadow);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo-icon {
  font-size: 1.8rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.logo-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-base);
  position: relative;
  padding: 0.5rem 0;
}

nav a.active,
nav a:hover {
  color: var(--primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

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

.header-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}

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

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

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0052CC 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(0,102,255,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,102,255,0.35);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding: 140px 2rem 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(0,102,255,0.08);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.2s forwards;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  opacity: 0;
  transform: translateY(20px);
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* Floating Cards */
.hero-visual {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.floating-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.float-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.float-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.float-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.float-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-indicator span {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-light);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--text-light);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  position: relative;
  padding: 80px 2rem;
  z-index: 1;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(0,102,255,0.08);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.tag-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.title-line {
  display: block;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   SERVICES 3D CARDS
   ============================================================ */
.services-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-3d-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,102,255,0.1), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-3d-card:hover .service-glow {
  opacity: 1;
}

.service-3d-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-icon-3d {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform var(--transition-base);
}

.service-3d-card:hover .service-icon-3d {
  transform: scale(1.1) rotate(5deg);
}

.service-3d-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-3d-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--transition-base);
}

.service-link:hover {
  gap: 1rem;
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-us {
  background: white;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us-content {
  padding-right: 2rem;
}

.why-description {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.why-features {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.why-feature {
  display: flex;
  gap: 1.5rem;
  align-items: start;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0,102,255,0.1), rgba(0,201,167,0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.feature-content p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* ── WHY US VISUAL ────────────────────────────────────────── */
.why-us-visual {
  position: relative;
  height: 520px;
  /* Sfondo scuro con bordo luminoso — fa da "schermo" per il globo */
  background: linear-gradient(135deg, #010d26 0%, #021840 60%, #010d26 100%);
  border-radius: 28px;
  border: 1px solid rgba(0, 100, 255, 0.25);
  box-shadow:
    0 0 0 1px rgba(0, 200, 255, 0.08),
    0 20px 60px rgba(0, 50, 150, 0.30),
    inset 0 0 80px rgba(0, 30, 100, 0.20);
  overflow: hidden;
}

/* Alone luminoso in alto a destra (decorativo) */
.why-us-visual::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 100, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Alone luminoso in basso a sinistra */
.why-us-visual::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Il canvas dentro .visual-3d occupa tutto il contenitore */
.visual-3d {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  /* NESSUN background — il canvas ha alpha: true */
  background: transparent;
  box-shadow: none;
}

.visual-3d canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
  color: white;
  overflow: hidden;
}

.cta-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2D3E50 100%);
  color: white;
  padding: 60px 2rem 30px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition-base);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: white;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 998;
  cursor: pointer;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-10px);
}

.whatsapp-tooltip {
  position: absolute;
  right: 100%;
  background: var(--bg-dark);
  color: white;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  margin-right: 10px;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--bg-dark);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container,
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
    gap: 1.5rem;
  }
  
  nav ul.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .services-grid-3d {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-info {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-visual {
    display: none;
  }
  
  .scroll-indicator {
    display: none;
  }

  .logo img {
    width: 60%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 1rem 80px;
  }
  
  .section {
    padding: 60px 1rem;
  }
  
  header {
    padding: 0.8rem 1rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}