:root {
  --verde-oscuro: #0F2E1A;
  --verde-bosque: #1B5E20;
  --verde-medio: #2E7D32;
  --verde-claro: #4CAF50;
  --verde-neon: #00E676;
  --blanco: #FFFFFF;
  --gris-claro: #D1D5DB;
  --gris: #88919B;
  --gris-oscuro: #374151;
  --oscuro: #12161A;
  --oscuro-alt: #1A2026;
  --oscuro-card: #1E252D;
  --bg-card: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --scrollbar-width: 6px;
  --aurora-1: rgba(0, 230, 118, 0.12);
  --aurora-2: rgba(0, 150, 80, 0.08);
  --aurora-3: rgba(0, 230, 118, 0.04);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--oscuro);
  color: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background: var(--verde-neon);
  color: var(--oscuro);
}

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

ul { list-style: none; }

/* ===== RESPONSIVE GRID UTILITIES ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-2-sm { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  pointer-events: none;
  position: fixed;
  top: 0; left: 0;
  z-index: 99999;
  width: 8px; height: 8px;
  background: var(--verde-neon);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  pointer-events: none;
  position: fixed;
  top: 0; left: 0;
  z-index: 99998;
  width: 40px; height: 40px;
  border: 1.5px solid var(--verde-neon);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}
.cursor-ring.hover {
  width: 60px; height: 60px;
  border-color: transparent;
  background: rgba(0, 230, 118, 0.1);
}
.cursor-dot.hide, .cursor-ring.hide { display: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: var(--scrollbar-width); }
::-webkit-scrollbar-track { background: var(--oscuro); }
::-webkit-scrollbar-thumb { background: var(--verde-oscuro); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--verde-neon); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--verde-neon);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 100px;
  background: rgba(0, 230, 118, 0.05);
}

.section-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blanco) 0%, var(--verde-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gris);
  max-width: 600px;
  line-height: 1.8;
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.08), transparent);
  transition: var(--transition);
}

.header.scrolled::before {
  left: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.15), transparent);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.header.hidden {
  transform: translateY(-100%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--blanco);
  position: relative;
  z-index: 2;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--verde-neon), var(--verde-claro));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15));
  border-radius: inherit;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gris);
  transition: color 0.3s;
  cursor: pointer;
  position: relative;
  letter-spacing: 0.2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--verde-neon);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--blanco);
}

.nav-link:hover::after {
  width: 60%;
}

.nav-link.active {
  color: var(--verde-neon);
}

.nav-link.active::after {
  width: 60%;
}

.nav-item.has-megamenu {
  position: static;
}

/* ===== MEGA MENU ===== */
.megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  width: 900px;
  max-width: 95vw;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(0, 230, 118, 0.1);
  border-radius: 16px;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  margin-top: 12px;
  pointer-events: none;
}

.nav-item:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.megamenu-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(0, 230, 118, 0.6);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 230, 118, 0.08);
}

.megamenu-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  font-size: 0.82rem;
  color: var(--gris);
  border-radius: 8px;
  transition: all 0.2s;
  margin-bottom: 2px;
}

.megamenu-col a:hover {
  color: var(--verde-neon);
  background: rgba(0, 230, 118, 0.06);
  transform: translateX(4px);
}

.megamenu-col .menu-icon {
  width: 30px;
  height: 30px;
  background: rgba(0, 230, 118, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  gap: 3px;
  margin-left: 12px;
}

.lang-btn {
  padding: 5px 9px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gris);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  border-color: rgba(0, 230, 118, 0.3);
  color: var(--verde-neon);
}

.lang-btn.active {
  background: var(--verde-neon);
  border-color: var(--verde-neon);
  color: var(--oscuro);
}

/* ===== MOBILE TOGGLE ===== */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: transparent;
  border: none;
  z-index: 2;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

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

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

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

/* ===== PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--verde-neon), var(--verde-claro));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--oscuro);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: brightness(0.5) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(15, 46, 26, 0.35) 50%, transparent 80%);
  z-index: 1;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.4;
}
.hero-aurora::before,
.hero-aurora::after {
  content: '';
  position: absolute;
  width: 80vw; height: 80vw;
  border-radius: 50%;
  filter: blur(120px);
  animation: auroraMove 12s ease-in-out infinite alternate;
}
.hero-aurora::before {
  background: var(--aurora-1);
  top: -20%; left: -20%;
  animation-delay: 0s;
}
.hero-aurora::after {
  background: var(--aurora-2);
  bottom: -30%; right: -20%;
  animation-delay: -6s;
}
@keyframes auroraMove {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, 5%) scale(1.1); }
  66% { transform: translate(-5%, -3%) scale(0.9); }
  100% { transform: translate(3%, -5%) scale(1.05); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--verde-neon);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.8; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  margin: 60px auto 0;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--verde-neon);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 0.6s forwards 0.3s;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 25px;
}

.hero-title-line {
  display: inline-block;
  min-height: 1.2em;
}

.hero-title-line .cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--verde-neon);
  margin-left: 4px;
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom;
}

.hero-title-highlight {
  opacity: 0;
  animation: fadeInUp 0.8s forwards 2.5s;
  display: inline-block;
}

.hero-rotating-text {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gris);
  margin-top: -10px;
  margin-bottom: 30px;
  min-height: 2em;
  opacity: 0;
  animation: fadeInUp 0.6s forwards 1.8s;
}
.hero-rotating-text .rotating-word {
  display: inline-block;
  color: var(--verde-neon);
  font-weight: 600;
  position: relative;
}
.hero-rotating-text .rotating-word::after {
  content: '';
  position: absolute;
  right: -4px; top: 2px;
  width: 2px; height: 0.85em;
  background: var(--verde-neon);
  animation: blink 0.8s step-end infinite;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--verde-neon), #69F0AE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gris);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 0.6s forwards 0.7s;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.6s forwards 0.9s;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--verde-neon), var(--verde-claro));
  color: var(--oscuro);
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 230, 118, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--verde-neon);
  color: var(--verde-neon);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gris);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  animation: fadeInUp 0.6s forwards 1.1s;
  opacity: 0;
}

.scroll-arrow {
  width: 20px;
  height: 30px;
  border: 2px solid var(--gris);
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-arrow::after {
  content: '';
  width: 3px;
  height: 8px;
  background: var(--verde-neon);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ===== SERVICES ===== */
.services {
  background: var(--verde-oscuro);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.service-card {
  background: var(--oscuro-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--verde-neon), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 230, 118, 0.2);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(76, 175, 80, 0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--verde-neon), var(--verde-claro));
  transform: scale(1.1) rotate(-5deg);
}

.service-card:hover .service-icon .icon-emoji {
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--blanco);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gris);
  line-height: 1.7;
}

.services-cta {
  text-align: center;
  margin-top: 50px;
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--oscuro);
}

.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--gris);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--verde-neon);
  color: var(--verde-neon);
}

.filter-btn.active {
  background: var(--verde-neon);
  border-color: var(--verde-neon);
  color: var(--oscuro);
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5),
.gallery-item:nth-child(8) {
  aspect-ratio: 3/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.gallery-overlay span {
  font-size: 0.8rem;
  color: var(--verde-neon);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }

.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--verde-oscuro);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
  align-items: center;
}

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

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 230, 118, 0.1);
  border-radius: var(--radius);
}

.about-text p {
  color: var(--gris);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gris);
  margin-top: 4px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--oscuro);
  overflow: hidden;
}

.testimonials-carousel {
  position: relative;
  margin-top: 50px;
}

.testimonials-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: calc(33.333% - 20px);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 30px;
  flex-shrink: 0;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 1rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gris-claro);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde-neon), var(--verde-claro));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--oscuro);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--gris);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--verde-neon);
  width: 30px;
  border-radius: 5px;
}

/* ===== BUDGET / PRESUPUESTO ===== */
.budget {
  background: var(--verde-oscuro);
  position: relative;
}

.budget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

.budget-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--blanco);
}

.budget-info p {
  color: var(--gris);
  line-height: 1.8;
  margin-bottom: 30px;
}

.budget-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.budget-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gris-claro);
}

.budget-feature .check {
  width: 24px;
  height: 24px;
  background: rgba(0, 230, 118, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-neon);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--oscuro);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--blanco);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 230, 118, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.8rem;
  color: var(--verde-neon);
  margin-bottom: 2px;
}

.contact-detail-text span {
  font-size: 0.95rem;
  color: var(--gris-claro);
}

.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.social-link {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gris);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--verde-neon);
  border-color: var(--verde-neon);
  color: var(--oscuro);
  transform: translateY(-3px);
}

/* ===== FORM STYLES ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gris-claro);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--blanco);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--verde-neon);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1);
}

.form-control::placeholder {
  color: var(--gris);
  opacity: 0.7;
}

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

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239E9E9E' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

select.form-control option {
  background: var(--verde-oscuro);
  color: var(--blanco);
}

.form-control.error {
  border-color: #ff4444;
}

.form-control.success {
  border-color: var(--verde-neon);
}

.form-success {
  display: none;
  padding: 20px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius);
  color: var(--verde-neon);
  text-align: center;
  font-weight: 500;
  margin-top: 20px;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s forwards;
}

/* ===== BENTO GRID ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.bento-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 220px;
  background: var(--oscuro-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  cursor: pointer;
}
.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 230, 118, 0.2);
}
.bento-item .bento-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.15;
  transition: transform 0.6s, opacity 0.4s;
}
.bento-item:hover .bento-bg {
  transform: scale(1.08);
  opacity: 0.25;
}
.bento-item .bento-content {
  position: relative; z-index: 2;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento-item .bento-content .bento-icon {
  width: 48px; height: 48px;
  background: rgba(0, 230, 118, 0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: var(--transition);
}
.bento-item:hover .bento-content .bento-icon {
  background: var(--verde-neon);
  transform: scale(1.1);
}
.bento-item .bento-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.bento-item .bento-content p {
  font-size: 0.82rem;
  color: var(--gris);
  line-height: 1.6;
}
.bento-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 360px;
}
.bento-item.featured .bento-content h3 { font-size: 1.3rem; }
.bento-item.wide { grid-column: span 2; }
.bento-item.tall { grid-row: span 2; }

/* ===== MARQUEE ===== */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 30px 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  white-space: nowrap;
  color: var(--gris-claro);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  max-width: 340px;
  white-space: normal;
  flex-direction: column;
  align-items: flex-start;
}
.marquee-item:hover {
  border-color: var(--verde-neon);
  color: var(--verde-neon);
  background: rgba(0, 230, 118, 0.05);
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== TRUST BADGES ===== */
.trust-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 230, 118, 0.06);
  border: 1px solid rgba(0, 230, 118, 0.12);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--gris-claro);
  font-weight: 500;
}
.trust-badge .badge-icon {
  font-size: 1rem;
}

/* ===== MASK REVEAL ===== */
.mask-reveal {
  display: inline;
  background: linear-gradient(135deg, var(--blanco), var(--verde-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.mask-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--oscuro);
  animation: maskReveal 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes maskReveal {
  0% { transform: translateX(0); }
  100% { transform: translateX(101%); }
}

/* ===== MESH GRADIENT CTA ===== */
.mesh-cta {
  position: relative;
  overflow: hidden;
}
.mesh-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 230, 118, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 100, 50, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 230, 118, 0.08) 0%, transparent 40%);
  animation: meshShift 10s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(2deg); }
  100% { transform: scale(1) rotate(-1deg); }
}

/* ===== MAGNETIC BUTTON ===== */
.magnetic-wrap {
  display: inline-flex;
  position: relative;
}

/* ===== SCROLL SNAP ===== */
.scroll-container {
  scroll-snap-type: y proximity;
  overflow-y: scroll;
}
.scroll-section {
  scroll-snap-align: start;
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: var(--oscuro);
  transform: translateY(100%);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-transition.active {
  transform: translateY(0);
}

/* ===== STATS COUNTER ===== */
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--verde-neon);
  font-family: 'Inter', sans-serif;
}

/* ===== SKELETON LOADER ===== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.05) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== WIZARD FORM ===== */
.wizard-step {
  display: none;
  animation: fadeInUp 0.4s forwards;
}
.wizard-step.active { display: block; }
.wizard-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  justify-content: center;
}
.wizard-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}
.wizard-dot.active { background: var(--verde-neon); width: 30px; border-radius: 5px; }
.wizard-dot.done { background: var(--verde-claro); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--gris);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--verde-neon);
  border-color: var(--verde-neon);
  color: var(--oscuro);
  transform: translateY(-4px);
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--verde-neon);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== SPINNER ===== */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: var(--oscuro);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
  animation: pulse-green 2s infinite;
}

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

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

/* ===== MAP ===== */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 50px;
  border: 1px solid var(--border-glass);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--oscuro);
  border-top: 1px solid rgba(0, 230, 118, 0.08);
  padding: 60px 0 30px;
}

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

.footer-brand p {
  color: var(--gris);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 15px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blanco);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--gris);
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--verde-neon);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gris);
}

.footer-bottom a {
  color: var(--verde-neon);
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  padding-top: 160px;
  padding-bottom: 80px;
  background: var(--oscuro);
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(18, 22, 26, 0.5) 100%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .section-title {
  font-size: 3.5rem;
}

.page-header .section-subtitle {
  max-width: 500px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== Page-specific hero image ===== */
.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
